aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* - When working with the storage arrays for CustomQuery and TableContent, ↵rowanbeentje2009-11-284-48/+134
| | | | use thread locking to ensure data safety while the table is loading. This should fix intermittent loading and reload issues, including part of #463 and should address Issue #482
* • fixed bug while reading "ssh_port" and "port" from SPF fileBibiko2009-11-261-2/+2
| | | | - now the SPF's integer value will be converted to a string correctly
* Fix an occasional crasher by checking the size of the custom query result ↵stuconnolly2009-11-241-36/+36
| | | | set is not zero before attempting to get an object from it. As far as I'm aware this crash only seemed to occur when executing the second out of 2 queries that both contained multiple OUTER JOINS.
* - Fix a couple of thread safety issues in TableContent, and attempt to fix ↵rowanbeentje2009-11-241-6/+12
| | | | | | | an occasional crasher when getting table cells by adding a retain - Alter MCPStreamingResult to use pthread mutexes in a further attempt to address Issue #463
* Implement the same logic as implemented in r1548 except for the removal of ↵stuconnolly2009-11-241-62/+119
| | | | indexes. As foreign keys have a dependency on the presence of indexes to prevent table scans, offer the user the ability to drop the relationship before the index, which would otherwise result in an error if not dropped first.
* - Tweak pagination to fix click-through of pagination popup, fix next page ↵rowanbeentje2009-11-231-1/+3
| | | | | | | button mouseover text, display no text when 0 or 1 pages of results for clarity - No longer include the old app icon in the built product (but leave it in the project)
* - Replace the LIMIT interface on the content view with a pagination control ↵rowanbeentje2009-11-234-112/+242
| | | | | | | | at the bottom. This addresses the last of Issue #49 and implements Issue #133; jump-to and two prefs affecting loading are available in a popup when clicking the pagination interface. - Format row counts at the bottom of the content pane - Increase the MCPStreamingResult buffer for a stronger workaround for #463
* • fixed: backtick the database name in an UPDATE statement executed in the ↵Bibiko2009-11-221-2/+2
| | | | | | Query Editor - fix for i478
* - Improve upon r1560 by removing a couple of race conditions triggered on ↵rowanbeentje2009-11-222-14/+17
| | | | | | | encoding changes, status requests, or blob/text lookups on slower connections - Restore first responder in TableContent loads on the main thread to fix a potential crasher
* During a session restore, before bailing because there is no matching table ↵stuconnolly2009-11-221-0/+1
| | | | between those in the current database and that stored in the session data, remember to end the current task, otherwise the progress bezel will be displayed indefinitely while locking up the interface.
* - Relocate the table changed notification, allowing table info pane to ↵rowanbeentje2009-11-217-9/+136
| | | | | | | update early in the change process, but ensure the change notification occurs on the main thread for stability. Added NSNotificationAdditions from the Colloquy project for this. - Change the design of the progress indicator layer, and tweak task progress for improved feedback and less flickering by correctly updating interface as appropriate, and delaying status changes for a short time. This partially addresses Issue #455.
* - Rather than overriding SSH_AUTH_SOCK, allow the OS (or any user-supplied ↵rowanbeentje2009-11-211-2/+0
| | | | agent) to handle public/private key authentication. This addresses Issue #407.
* - Fix a nested loop using same same variable, fixing Issue #473rowanbeentje2009-11-211-4/+4
|
* Delay the releasing of the createTableSyntax variable in SPTableData until ↵stuconnolly2009-11-202-21/+27
| | | | we are about the replace it to prevent threading issues. Also, in fieldListForQuery check that dataColumns array is not empty before constructing the field list as well as only obtaining the table's columns if the field list is going to be built in the first place.
* Remember to release the about controller.stuconnolly2009-11-191-0/+1
|
* The result of being bored. Add a nicer looking about panel based on Adium's.stuconnolly2009-11-194-2/+140
|
* • remember the spell checker status in the blob field editorBibiko2009-11-194-1/+9
| | | | | | - status can be toggled by right-click in the text view and go to submenu "Spelling and Grammar" > "Check Spelling while Typing" Note: up to now "Check Spelling while Typing" wont' be checked in the GUI if it's enabled → TODO (maybe related to the "sheet issue")
* Update Localizable.strings and remove multiple keys for a single item.stuconnolly2009-11-181-1/+1
|
* When attempting to delete a field that is part of a foreign key ↵stuconnolly2009-11-185-14/+71
| | | | | | | | | relationship, remove the key before the field to prevent an error. Obviously warn the user that the key is being dropped as well. Fixes issue #462. This check also needs to be implemented when removing indexes as foreign keys depend on the presence of indexes to prevent table scans. Something to be discussed, the display of foreign keys that are made up of multiple fields in the relations table and link arrows in the content table.
* When clearning the query history drop down only remove items from index 3 ↵stuconnolly2009-11-181-2/+2
| | | | onwards to prevent removing the separator.
* Query history drop down index should start at 3, not 2 to avoid adding items ↵stuconnolly2009-11-181-2/+2
| | | | before the separator.
* - Fix table list filter show/hide on database change by calling the toggle ↵rowanbeentje2009-11-181-2/+2
| | | | on the main thread
* - Make some thread safety improvements to improve on Issue #460rowanbeentje2009-11-182-6/+22
| | | | | - Add some NSTextView editing notifications to maintain state correctly in an attempt to fix issue in crash log on comment 9 on #460
* Manually set the delegate of the anchored button bars in the content filter ↵stuconnolly2009-11-184-12/+22
| | | | editor and query favorites editor as you can't do it in IB.
* New separator in query favorites dropdown.stuconnolly2009-11-171-3/+8
|
* Change the placeholder value of a few search fields to simply 'Filter' to ↵stuconnolly2009-11-172-8/+18
| | | | make them look less cramped.
* Various user manager changes. Fixes issue #437.stuconnolly2009-11-173-45/+52
|
* - Correctly report errors triggered *during* result download for streaming ↵rowanbeentje2009-11-161-1/+1
| | | | results. This improves partial content displays (using the new code as of r1530) and also improves custom query error reporting.
* - Make some thread safety improvements to try to address Issue #460rowanbeentje2009-11-162-4/+5
|
* Implement query cancellation support within MCPKit, and add it to the task ↵rowanbeentje2009-11-156-39/+168
| | | | | | | | | | functionality: - MCPKit now supports cancelling the active query; for MySQL servers >= 5.0.0 a query kill is attempted from a new connection, and if that fails or for MySQL < 5 a reconnect is triggered. - TableDocument now supports enabling a cancel task button on the task interface, including an optional callback - Implement query cancellation for custom queries. This addresses Issue #86. - Implement query cancellation for table content loads, filters, and sorts.
* Move connection type constants to SPConstants.stuconnolly2009-11-155-55/+55
|
* When viewing the information_schema database, disable all controls on the ↵stuconnolly2009-11-152-9/+13
| | | | table information view as all table in this database are not modifiable by anyone.
* Make the relations table view observe the use monospaced font preference.stuconnolly2009-11-151-0/+26
|
* If SP is already running, but there are no documents open, clicking the dock ↵stuconnolly2009-11-141-12/+36
| | | | icon (casuing a reopen call) shouldn't cause the auto-connect to kick in.
* This should be Monaco, not Courier (we should probably add a preference for ↵stuconnolly2009-11-141-1/+1
| | | | this).
* Updates to the 'use monospaced font' preference, making it a lot more ↵stuconnolly2009-11-1412-164/+194
| | | | consistent across all table views. Also includes live updating when the preference is changed as well as its implementation in the query console, process list and variables table views.
* Bunch of improvements to the query console, including:stuconnolly2009-11-1412-122/+182
| | | | | | | | | | | | | - New connection column (been meaning to add this for a while) - Display table view column headers - Enable table view text cell line truncating - Allow table view columns to be re-ordered - The table view now respects the display table view vertical grid lines preference - Support for including the connection when saving messages to a file - Support for showing/hiding the connection column - Increase table view row height to match that of all others - Display message time stamps using the user's system wide medium time format
* Add SPConnectionDelegate as a category of TableDocument to split out all ↵stuconnolly2009-11-133-93/+161
| | | | connection delegate methods into a single file.
* Tidy up and forgot to commit project file.stuconnolly2009-11-132-38/+45
|
* This class is not actually used anymore.stuconnolly2009-11-132-74/+0
|
* Move query mode constants to SPConstants.h.stuconnolly2009-11-135-26/+26
|
* In an aid to split up the functionality of the TableDocument class as well ↵stuconnolly2009-11-135-250/+470
| | | | as reducing the overall size of DBView, split out the server variables sheet into it's own controller and XIB in the same way as the new server processes sheet is implemented.
* - New server processes panel, accessible via the 'Database' menu and ↵stuconnolly2009-11-126-6/+598
| | | | | | | | alt+cmd+P. Includes the ability to kill queries and connections as well as live filtering support and the ability to save all processes or the current filtered set to a file. Implements issue #458. - Reorganise 'Database' menu. - Give 'Flush Privileges' key equivalent of shift+cmd+F.
* - Enforce display of a number of interface elements while the main thread ↵rowanbeentje2009-11-121-0/+5
| | | | is blocked - this should address Issue #457
* Make the 'insufficient connection details' dialogs sheets.stuconnolly2009-11-112-3/+2
|
* Change the main window's non-connected/connecting state title to 'Sequel ↵stuconnolly2009-11-113-5/+53
| | | | Pro' and only change it to 'Connecting...' when we are actually trying to establish a connection. Fixes issue #456.
* The framework shouldn't be displaying dialogs, get the delegate to do it.stuconnolly2009-11-111-0/+9
|
* - Rewrite field mapping table selection logic - simplified logic, no longer ↵rowanbeentje2009-11-113-48/+61
| | | | | | | | | | tied to table list selection. Much faster selection of table to import into if, eg, content view is selected. Fixes weird crashes. - No longer display views as import targets - When one import has been cancelled, still allow new imports - Improve error reporting - No longer re-sort table/view/etc names returned by TablesList as preferred order is being used for display and the default compare: reverts this
* During an import, before entering the loop to execute the current batch of ↵stuconnolly2009-11-112-4/+9
| | | | queries, check that the current connection is active and if not bail from the method.
* - Add safeguards to ensure sequential runs when holding down run all/run ↵rowanbeentje2009-11-101-0/+6
| | | | | | | selected keys in Custom Query, preventing NSLock deadlocks - Revery MCPConnection to locking on the *current* thread when running non-streaming queries, fixing deadlocks in some situations on background threads where the main thread is locked up via a modal loop - eg CSV import windows