aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Ensure blank passwords for MySQL connections are passed in as NULL ↵rowanbeentje2011-05-294-12/+9
| | | | instead of an empty string; the MySQL manual suggests that maybe we should be doing this, and it may address Issue #1065.
* - Ensure export files are closed before deleting them; when in ↵rowanbeentje2011-05-291-1/+4
| | | | full-streaming memory mode, this prevents cancelled exports from having their file-writing thread block waiting for more input indefinitely, causing a hang. This addresses Issue #1066
* • sped up line range calculation a bitBibiko2011-05-272-16/+19
|
* • changed the MySQL web search pathBibiko2011-05-202-5/+6
| | | | | - since Oracle provides the search engine we lost the chance to search for a given language and MySQL version; due to that fact we assume that the search term by itself is the name of a valid HTML file within the dev.mysql.com domain, if not it falls back to Oracle's search engine but unfortunately with the extension ".html" which leads sometimes to no hits - it's needed to find a better way
* fix accidental code regression in r3309sqlprodev2011-05-191-1/+1
|
* merging SP_REFACTOR branch with trunksqlprodev2011-05-1924-156/+626
|
* • added URL scheme command ↵Bibiko2011-05-111-0/+14
| | | | sequelpro://SP_PROCESS_ID@passToDoc/RunQueryInQueryEditor/ which executes a passed SQL query and displays the result if any in the data table of the query editor
* Fix bug introduced in the previous commit.stuconnolly2011-05-101-1/+0
|
* During a table data refresh within SPTableContent's loadTable: remember to ↵stuconnolly2011-05-101-2/+4
| | | | ensure that endTask is called before bailing in the event of error occurring (e.g. corrupt table) in order to re-enable various interface controls. Fixes issue #1046.
* * Fixes most parts of #1006 (Translation of file names)dmoagx2011-05-1010-72/+36
| | | | * Update strings files
* Add the ability to double click a tab to duplicate the connection in a new ↵stuconnolly2011-05-095-46/+83
| | | | tab (equivalent to the 'Open Database in New Tab' menu item). Implements issue #1040.
* - When importing CSVs, or editing custom query results, set numeric fields ↵rowanbeentje2011-05-093-6/+34
| | | | to NULL instead of 0 if an empty string is entered. This matches TableContent behaviour and addresses Issue #1034.
* - Fix progress bar accuracy when importing gzipped or bzipped CSVsrowanbeentje2011-05-081-11/+35
|
* • send current event after displaying field editor sheet for editing table ↵Bibiko2011-05-082-0/+8
| | | | | | cells - fixes i1022
* - Fix a number of warnings for DBView.xib by moving some 10.6-only code ↵rowanbeentje2011-05-089-56/+835
| | | | | | | from a #ifndef SP_REFACTOR/#else/#endif to just a #ifdef SP_REFACTOR/<protocol declaration>/#endif, and remarking a few items as IBOutlets - Update localisable strings
* Add tab context menu.stuconnolly2011-05-081-2/+16
|
* Minor tidy up.stuconnolly2011-05-081-9/+12
|
* Re-add the ability the show the full process list in the server processes ↵stuconnolly2011-05-076-18/+95
| | | | panel. Fixes issue #1036.
* Add an 'Add New Row' menu item to the table content context menu. Completes ↵stuconnolly2011-05-072-1309/+128
| | | | the implementation of issue #939.
* When refreshing the export dialog's table list, preserve the user's current ↵stuconnolly2011-05-071-2/+38
| | | | selection. Fixes issue #1000.
* Fix slight interface alignment issue.stuconnolly2011-05-071-17/+12
|
* • control the separator menu item above the "Open ... in new Tab" in ↵Bibiko2011-05-073-37/+543
| | | | TablesList's context and gear menu to avoid having two separators one after another
* Implement a large number of minor fixes and improvements to export ↵rowanbeentje2011-05-0716-130/+718
| | | | | | | | | | | | | | | | | | | | | | functionality, including an overhaul of filename NSTokenField functionality: - Improve the NSTokenField used for export filenames: only tokenise reserved tokens, don't tokenise reserved words which are parts of other words, allow the comma to be used, update tokenisation during typing, and prevent whitespace triming. - Save the last selected export path, and make the path selection button open a dialog to the selected directory - Save the export filename and restore on future uses of the export dialog (only if the name contains placeholder tokens, so one-off export names aren't saved) - If the advanced options are collapsed, display a summary of the selected options next to the disclosure triangle - Display a small warning in the corner of the window if the export file cannot be imported into Sequel Pro, to warn those people attempting to back up their databases in XML - Clarify and improve the export warning dialog if files already exist or could not be created; make the simpler file-exists cases reflect OS-style dialogs, alter wording based on the number of files that failed and how they failed, and only show the "replace" or "skip" type buttons if it makes sense to do so. - Fix a mutation-during-enumeration error when skipping files - If "Cancel" is chosen in the export file creation replace/error dialog, redisplay the export sheet with the previous selection still active - Add support for year, month and day tokens in the filename token list - Don't allow blank custom filenames, before or after tokenisation, as this can cause problems - instead fall back to default filenames in those cases - Only append the extension if one hasn't been set - on all export formats, extending r3284 - If exporting to multiple files option is enabled but only one table is selected, supply that table name for filename table tokens - Update the progress bar to reflect update progress when exporting CSV data - Fix a bug causing exports to hang if the low-memory advanced option was set and content was selected to export and any empty tables were encountered - Save memory use and compression advanced export settings across sessions - Update localisable strings
* Small tidy up, mainly the addition of constants.stuconnolly2011-05-056-108/+57
|
* • improve BIT field type supportBibiko2011-05-054-7/+21
| | | | | | | | - caught some more exceptional cases - re-factored byte to bit conversion (really do not know why the old code wasn't working anymore); this should fix i1042 - disabled unisgned/zerofill check boxes in Structure for BIT - insert correct default BIT field default value if any after adding a new row -- this works for 5.5 but for MySQL 5.0.x it seems that providing a default value is a MySQL bug (further checks are needed)
* • fixed bug for exporting data as CSV if no header row should be exportedBibiko2011-05-031-2/+1
| | | | - fixes issue 1041
* Add some constants.stuconnolly2011-04-291-6/+10
|
* * Allow table names to be sorted in lists via "AlphabeticalTableSorting" ↵dmoagx2011-04-295-10/+14
| | | | | | hidden pref key * Change some [[NSPopupButton selectedItem] title] to [NSPopupButton titleOfSelectedItem]
* When performing an SQL export only append the file extension if necessary. ↵stuconnolly2011-04-291-2/+5
| | | | Fixes issue #1035.
* Fix warnings and comments.stuconnolly2011-04-292-3/+3
|
* - Add the ability to double-click in empty areas of the main tableviews to ↵rowanbeentje2011-04-2512-7/+99
| | | | add new rows/records
* - Update the favourites text fields to use SPFavoritesPreferencePane as ↵rowanbeentje2011-04-231-103/+196
| | | | their controller instead of SPPreferencesController; this fixes issues such as the favourite name not being generated correctly, or the password being lost when a username or database field is changed.
* Alter result string processing to use returned string length and not ↵rowanbeentje2011-04-232-15/+5
| | | | | | | | | | null-terminated string processing: - This fixes issues caused by null characters in strings - addressing Issue 1029 - Also appears to be a few percent faster than the old approach when processing lots of short strings - Allows significant simplification of MCPResult and low-memory MCPStreamingResult code, avoiding a memory copy; this also gives a significant speedup and can actually make full streaming in MCPStreamingResult faster than "fast streaming". The code will be reviewed further in future to improve on the gains seen here.
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-143-7/+6
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-141-5/+5
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-141-25/+25
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-148-75/+75
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-1425-363/+242
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* Make some minor changes after reviewing r3271:rowanbeentje2011-04-149-92/+92
| | | | | | - Fix a few encoding issues - Recode a few [NSApp keyWindow] uses back to [SPDatabaseDocument parentWindow] following discussion; possibly for later refactoring into use of an error method
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-1144-326/+1847
| | | | UI code from functional code
* - Add Command-0 as the shortcut to restore the default font size in the ↵rowanbeentje2011-04-115-2/+32
| | | | HTML output window and bundle and field editors, adding commands for the equivalent functionality. This standardises text views with the custom query view and other applications
* - When creating a new table, switch to the Structure tab to allow further ↵rowanbeentje2011-04-101-0/+2
| | | | setup of the table directly after creation
* - Fix a bug when standardising line endings, addressing multiple CRLFs - ↵rowanbeentje2011-04-101-3/+5
| | | | this fixes Issue #1024
* - Add support in SPTableView to disable edit-on-tab behaviourrowanbeentje2011-04-104-4/+40
| | | | | - Use this new support in SPTablesList to prevent the tab key entering rename mode when focus is on the table list - this addresses Issue #1028
* - When restoring connections and sessions, correctly clear and restore ↵rowanbeentje2011-04-041-1/+18
| | | | keychain names and accounts. This addresses incorrect password use, fixing Issue #1020
* Fix Issue #1019 (Sidebar width not remembered):rowanbeentje2011-04-015-98/+73
| | | | | | | - This may be due to an Apple bug. I tracked it down to purely SPDatabaseDocument having a reference outlet to the activity scroll view. - Removing the reference worked as a fix; removing all code that used that reference did not. - Renaming the reference, and removing SPTableInfo's use of a reference, appears to act as a workaround. If the reference is not renamed, the bug still mainfests (!!!)
* - Fix .spfs files not being added to the Recent Documents menu, addressing ↵rowanbeentje2011-03-312-3/+3
| | | | Issue #1011
* - Fix selection after adding a new favourite, particularly to an empty ↵rowanbeentje2011-03-221-1/+1
| | | | favourites list
* - Fix exceptions importing CSVs, caused by incorrect warnings cleanup in r3240rowanbeentje2011-03-221-3/+3
|
* - Fix exception on startup if no favourites present - I think the previous ↵rowanbeentje2011-03-223-8/+7
| | | | | | | first-item preservation dates back to when the title had to be included in the favorites array, so removed - Fix favorites sorting and preservation of unsorted status