aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Dump leaks logs to the user's desktop, falling back to /tmp if not possible.stuconnolly2010-04-251-12/+40
|
* Enhance SPLogger by adding the ability to run leaks() against the ↵stuconnolly2010-04-243-42/+162
| | | | | | | | | application upon termination with the result being written to /tmp. To enable call setDumpLeaksOnTermination on SPLogger. Note, that SPLogger has been restructed to accommodate calling this method without writing the additional log file to the user's desktop. Could probably be enhanced a bit by someone with better C skills than me.
* Bunch of improvements to the serve processes panel, including:stuconnolly2010-04-244-54/+241
| | | | | | | | | | - MCPKit's listProcesses (mysql_list_processes) method is now used, instead of running the query ourselves. - The ability to set whether or not the list is auto refreshed. - The ability to set the autorefresh interval, either via the presets or by entering a custom value (the interface for this might need updating). - Get the process list is now performed on a background thread. This completes the implementation of issue #607.
* Merge in minor fixes from 0.9.8 RC merge review:rowanbeentje2010-04-242-2/+4
| | | | | | - Make a tiny fix to narrow down completion to avoid memory overrelease issues - Unhide the "Show create view syntax" menu and contextual menu items when selecting a view
* - Ensure that Growl notifications are made from the main thread. This ↵rowanbeentje2010-04-231-0/+8
| | | | addresses http://spbug.com/643 , and should also fix race condition crashes caused by the timer firing on a closed thread.
* Perform bounds checking in the process list controller's table view data ↵stuconnolly2010-04-231-2/+2
| | | | source method. Fixes exception http://spbug.com/l/146.
* Only attempt to check or set the max allowed packet if there is an active ↵stuconnolly2010-04-232-13/+20
| | | | connection as well as only displaying dialogs when there is a window visible. Fixes http://spbug.com/l/113.
* - SPNarrowDownCompletion: Pass NSApp certain events *after* processing ↵rowanbeentje2010-04-231-2/+3
| | | | locally, to fix further crashes like http://spbug.com/l/139 .
* - Allow CMTextView to track SPNarrowDownCompletion state, ensuring old ↵rowanbeentje2010-04-224-35/+50
| | | | | | | windows are closed. This also allows SPNarrowDownCompletion to be closed when CMTextView is deallocated; this should fix http://spbug.com/l/139 . - Fix some minor memory leaks
* Ensure that table change selection notifications are posted to the main thread.stuconnolly2010-04-221-1/+1
|
* changed many occurrences of "REMOVE" to "DELETE", eg. "DELETE DATABASE"jakob2010-04-227-42/+42
|
* fix for #642 (deleting more than 3 rows failed on MySQL before 5.0.3)jakob2010-04-221-5/+9
|
* Speed up SPDatabaseData by obtaining the server version when the connection ↵stuconnolly2010-04-212-17/+29
| | | | is set to prevent multiple calls everytime the list of available storange engines, etc. is requested.
* When saving an SPF only save the socket if it's present. Fixes ↵stuconnolly2010-04-201-1/+1
| | | | http://spbug.com/l/137
* Localize 'Edit Favorites...' popup button menu item.stuconnolly2010-04-201-3/+3
|
* Fix an issue whereby choosing to edit the selected favourite in the ↵stuconnolly2010-04-203-13/+2
| | | | connection view would select the wrong favourite in the preferences because sorting has been applied to the table view.
* - Fix exceptions when right-clicking on the query favourites list. This ↵rowanbeentje2010-04-201-1/+2
| | | | addresses http://spbug.com/l/133 .
* - more fixing of issue 641. I forgot to consider the case of deleting the ↵jakob2010-04-191-2/+11
| | | | last row in the table
* - fix for #641 with regard to deleting rows (duplicating still doesnt work)jakob2010-04-191-4/+46
| | | | | - update row count after pressing escape when editing a new row
* - Tweak autocompletion on-delay-after-typing to no longer trigger on ↵rowanbeentje2010-04-191-7/+10
| | | | whitespace (as before) or brackets, semicolons, mathematical symbols, or commas
* - Add a new couldCommitCurrentViewActions method to TableDocument, and ↵rowanbeentje2010-04-187-61/+62
| | | | | | | | standardise current view-commit-checks to use that - Add checking of that status to history navigation (fixing http://spbug.com/l/127 ) and window closing (fixing http://spbug.com/lr/263 ) - Improve thread safety/deferred actions in TableContent
* - Fix a bug in 10.5.8 where a background connection window would ↵rowanbeentje2010-04-171-1/+2
| | | | overrelease on crash, by moving from automatic/inherited window management for the task spinner to fully managed. This addresses http://spbug.com/l/4 .
* - Fix .sql.gz extension when exporting databases to SQL when the ↵rowanbeentje2010-04-171-2/+2
| | | | compression setting has been saved as on
* Improved index checking when using arrow key navigation. Potential fix for ↵jakob2010-04-161-6/+14
| | | | http://spbugs.com/l/120
* - changed the query locking mechanism for MCPConnection to be more thread ↵jakob2010-04-161-7/+3
| | | | | | | | safe. From now on, always use [self lockConnection] rather than [queryLock lock], independent of what thread you are running on - A warning is written to the console when the connection is unlocked multiple times (to identify potential race conditions) - modified MCPStreamingResult to ensure it only closes the connection once - added a check to prevent arrow key navigation past the last row
* Fix for Title #118 on log.sequelpro.commltownsend2010-04-152-0/+0
|
* - Tweak the history controller to track the toolbar item visibility, and ↵rowanbeentje2010-04-153-3/+72
| | | | only update it when visible - this fixes crashes after the toolbar item is removed from the toolbar and then updated (eg http://spbug.com/l/114 )
* - Add locking for SSH debug message processing - this addresses ↵rowanbeentje2010-04-152-2/+13
| | | | http://spbug.com/l/117
* Clicking the duplicate row button now correctly sets auto_increment fields ↵jakob2010-04-141-2/+4
| | | | to NULL and loads blobs
* - Wrap TableContent's loadTableValues in an autorelease pool; this fixes ↵rowanbeentje2010-04-131-0/+5
| | | | connection locking issues, addressing Issue #634
* - enabled up/down arrow key navigation (see #633)jakob2010-04-131-11/+45
| | | | | - enter key ends editing and saves row now rather than going to the next cell - fixed a bug that occured when clicking the delete/duplicate button while editing a cell
* Review usage of notifications, afterDelay: and waitUntilDone:NO calls:rowanbeentje2010-04-1210-45/+51
| | | | | | | - Add more calls to deregister watchers to fix crashes to closing threads or objects - Fix a couple of memory leaks - Alter a few calls to be performed on main thread (afterDelay: operates on the thread is is called on) - this fixed database reloading after import and field/index deletion error sheets
* preserve path name selection only if user ticks the 'compress dump' checkbox ↵Bibiko2010-04-121-0/+11
| | | | in mysql dump save panel (thanks to rowan)
* • renamed 'Open' button in 'Import from Clipboard' to 'Next'Bibiko2010-04-121-1/+1
| | | | • fixed 'Import from Clipboard' menu item validation to be disabled if no database is selected (thanks to avenjamin for pointing it out)
* • Export compressed mysql dumpBibiko2010-04-121-2/+14
| | | | - first fixes to support sql.gz extension better in the NSSavePanel
* - Add SVN id property to SPFileHandle, correct headers, and add more ↵rowanbeentje2010-04-122-15/+73
| | | | | | | function documentation - Tweak subfolder ordering
* Add a new SPFileHandle class to support gzip compression and writing on a ↵rowanbeentje2010-04-127-46/+452
| | | | | | | | | | | background thread, and integrate for SQL import: - Implement streaming reading of gzip-compressed files for SQL import - Support exporting SQL dumps into a gzip-compressed file - SPFileHandle supports the most-used subset of NSFileHandle commands for easy integration - Integrate zlib 1.2.4 for improved gzip streaming performance (and support for custom buffer sizes and file offset positions) This implements Issue #571 .
* Forgot to update Localizable.strings for previous commit.stuconnolly2010-04-112-4/+4
|
* Add a 'Show Create Syntax...' menu item to the tables list context menu and ↵stuconnolly2010-04-112-22/+57
| | | | 'gear' menu.
* • Import from ClipboardBibiko2010-04-101-0/+2
| | | | - forgotten to remove the temp file after importSQL successfully
* • added "Import from Clipboard" ⌥⇧⌘IBibiko2010-04-107-18/+159
| | | | | | - sheet showing the first 4kB of pasteboard content and the SQL/CSV accessory view - pasteboard content will be saved as temp file and read by using the current table/connection encoding
* When displaying a table/view's create syntax in the extended table ↵stuconnolly2010-04-092-5/+7
| | | | information view or create syntax sheet remember to append a semi-colon. Fixes issue #629.
* • improved querying db structure handlingBibiko2010-04-071-1/+6
| | | | - distinguish between any update tables list invoked by SP which causes a weak and quick refresh if nothing was changed and if the user pressed Table List Refresh button explicitly which will cancel any current db querying and pending ones
* Tried to fine-tune the auto-completion behaviour esp. for automatically ↵Bibiko2010-04-073-3/+57
| | | | | | inserted suggestions and increased the minimum auto-complete delay to 0.5s since below that a fight between computer speed and user typing speed could occur. This addresses i625.
* - Improve .spf handling of blank passwords; allow empty passwords to be ↵rowanbeentje2010-04-061-4/+4
| | | | saved (this addresses http://spbug/l/75), and correctly restore empty passwords
* File header typo.stuconnolly2010-04-061-1/+1
|
* • overlapping of completion windows after refreshing its content if db ↵Bibiko2010-04-063-4/+22
| | | | | | structure fetching was finished - for some reasons it could happen that the timer? fires twice, to avoid this changed the re-invocation strategy
* fix for referential action not showing in relations view in certain ↵mtvee2010-04-061-2/+2
| | | | circumstances
* • CSV ImportBibiko2010-04-061-8/+45
| | | | | - ensure that if the connection is lost while importing all relevant allocated objects are released including the import pool - any error which cancels the import process will also release all retained global variables coming from the field mapper
* in Preferences > Favorite ask for confirmation before removing the selected ↵Bibiko2010-04-061-30/+61
| | | | favorite