aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Give the connection view's split view maximum and minimum sizes.stuconnolly2009-08-281-2/+15
|
* Update Localizable.strings by running genstrings and remove use of multiple ↵stuconnolly2009-08-284-7/+7
| | | | comments for a single string.
* If the SSH tunnel is unable to bind to the local port because there is ↵stuconnolly2009-08-283-13/+40
| | | | already an existing tunnel, give the user the option of using a standard connection to localhost on the port that is in use in order to use the existing tunnel. Fixes issue #371.
* • moved "Replace Editor Content" (Favorites/History) settings from popup ↵Bibiko2009-08-281-22/+55
| | | | | | | | lists to gear menu since these are settings • revert the actual behaviour for "Save ... to Favorite" to "Save All to Favorite" since this was the default behaviour in previous releases - to restrict what should be save as favorite press ⌘ to toggle "Save All to Favorite" into "Save current query/selection to Favorite" • while choosing a favorite or history item each modifier key ⇧,^,⌥, or ⌘ inverts the current setting for "Replace Editor Content"
* • simplified code for inserting the seach fieldes (fav/hisotry) - now set ↵Bibiko2009-08-281-30/+1
| | | | | | in DBView • added keyboard short-cut ⌥⌘F and ⌥⌘H for open Favorites and History (for testing)
* • Custom Query:Bibiko2009-08-282-14/+74
| | | | | | | - added to History list "Replace Editor Content" (stored in the prefs) and a search field - "Save ... to Favorites" menu title changes according to selection in the textView Problem: How can we allow if the user hits RETURN in a search field (fav/history) to select the next menu item if any and to change the first responder to popup button menu list?
* • tiny improvements for loading SQL files and syntax highlightingBibiko2009-08-283-9/+17
|
* Fixed keyDown editing of SPTableView and CMCopyTablemltownsend2009-08-282-3/+18
|
* When creating a new relation, the ON UPDATE and ON DELETE drop downs should ↵stuconnolly2009-08-271-5/+11
| | | | only contain valid MySQL options. Fixes issue #388.
* • fixed bug while uppercasing keywordsBibiko2009-08-271-6/+13
| | | | - inserting a char within an already marked keyword doesn't end up in inserting a uppercase char if resulting word won't be a new keyword
* When editing blob/text fields and the LoadBlobsAsNeeded option is enabled, ↵stuconnolly2009-08-272-19/+18
| | | | load a blob/text's field content even if we are still editing the row. This prevents the placeholder value '(not loaded)' being displayed, giving the impression that it is the field's value. Fixes issue #385.
* • SPFieldEditorSheetBibiko2009-08-273-3/+5
| | | | | | - ESC and ENTER will close a non-editable sheet * SPTooltip - first check if tooltip should be closed and then forward the current event (this fixes an issue if a tooltip is shown while a modal window appears which could block the closing of the tooltip
* • improvement for hitting RETURN or ENTER to invoke the row edit modeBibiko2009-08-272-13/+20
| | | | | | - fixed that the table is selectable again - hitting ENTER/RETURN are enabled only for TableContent and ask the delegate's tableView:shouldEditTableColumn: method for validation (by doing so a RETURN/ENTER is the same event as a double-click into a table cell for column 0 if table is in non-editing mode)
* Fix for not editing in CMCopyTable when hitting enter or return which is ↵mltownsend2009-08-261-0/+5
| | | | used in CustomQuery
* Fix favorite length when favorite name is under 32 charsmltownsend2009-08-261-1/+1
|
* • fixed bug for remembering the Query Editor font after restart and new ↵Bibiko2009-08-261-2/+4
| | | | | | | doc resp. - delegate textViewDidChangeTypingAttributes: should only save the textView font if it is not (null) which occurs while awaking from nib - removed a setFont: command since the editor's font is already bound to the pref's setting
* • added to "Query Favorite" popup menu:Bibiko2009-08-262-8/+35
| | | | | | - "Replace Editor Content" check box menu item; if checked the chosen query will replace the editor's content if not it will insert it (setting will be saved in the prefs) - Search Text Field to filter the list of names (by using a regular expressions) - added a tooltip to each menu item displaying the query behind the name
* • fixed/improved several things for the SPQueryFavoriteManager:Bibiko2009-08-262-17/+56
| | | | | | | | - allow favorites with the same name (it's the user's responsibility) - fixed removing of all menu items (beginning from the end) - "Save Query to Favorites" will save the selected text, or if no selection the CURRENT query, or if no current query can be detected the entire textView string (since the tooltip says '...or save the current query...) - ensure after editing the favorites ALL changes will be saved first before closing the sheet
* • bug fixed for providing an auto-generated name for favorites after redesignBibiko2009-08-261-1/+2
| | | | - not every favorite query is longer than 32 characters thus check length in beforehand to avoid raising an exception which causes that SP doesn't start
* Remove unused methods.stuconnolly2009-08-262-68/+0
|
* Completely redesigned query favorite manager, including:stuconnolly2009-08-265-274/+636
| | | | | | | | | | | - The ability to name query favorites - The ability to edit query favorites using the same editor in the cutom query view - The ability to save your query favorites to a file Note that any already saved query favorites will be upgraded to accommodate the new format, that is including a name associated with the query. The default name is the first 32 chars of the query with '...' appended. Also, added menu item validation to the 'Save Query to Favorites' menu item.
* Alter CustomQuery to use StreamingResult to download and process result sets:rowanbeentje2009-08-262-54/+59
| | | | | | | - Significantly improve memory usage - Minor speedup (1.1x faster?) to overall query/display times - Improvements to MCPStreamingResult and MCPConnection to accurately report affected row count
* Made it so that SPTableView and SPOutlineView will respond to enter or ↵mltownsend2009-08-254-3/+104
| | | | return being hit when a row is selected and go into edit mode.
* • some tiny fixes to Open/Save SPF file proceduresBibiko2009-08-251-31/+61
|
* • outsourced Save SPF accessory xibBibiko2009-08-252-32/+32
| | | | | | | | | • updated save SPF accessory xib due to SPF structure changes NOTES: - The view in DBView.xib will be deleted after stuart02's commit. - Still after clicking at the encrypt text field a warning will be shown in the Console: NSSecureTextFieldCell detected a field editor that is not a NSTextView subclass... WHY?
* • re-factored the SPF file structureBibiko2009-08-252-227/+325
| | | | | | | | - now it's an open format XML plist file with either encrypted <data> key or plain text <data> dict - (if option "Save Passords") the passwords will be readable if no encryption! - queries can be saved as plain text; whereby SP will compress the text chunk if length > 50k automatically NOTE: Basically it's working but the Save SPF file accessory is now a bit out of sync - waiting for stuart02
* - Fix NSLock console linesrowanbeentje2009-08-253-69/+76
| | | | | | | - Speed up table content processing a bit - Make the table content download/processing determinate where an approximate row count is available - Clean up table content source, assuming MCPStreamingResult will remain in use
* - Small code clean up. Simplified some logic.avenjamin2009-08-241-25/+6
|
* • finalized first approach to save/open SPF (⇧⌘S/⌘O)Bibiko2009-08-242-55/+116
| | | | | | | - ask for encryption password in a sheet - fixed retrieving password Note: further tests are needed esp. for slow connections, connections via SSH and all combination of saving passwords Y/N, encrypt passwords Y/N.
* • further improvements for open/save spf filesBibiko2009-08-243-30/+207
| | | | | | | | | | - added encryption code routine - if encrypted ask for password • added to SPDataAdditions dataEn/DecryptedWithPassword: • tiny fixes for cascading new doc windows - never decrease win size less than minSize - large win width detection now gets rid of all connected monitors • updated credits.rtf
* • add accessory view for Save ConnectionBibiko2009-08-232-1/+44
| | | | | | | | | | | - options: -- Include session data (selected table, queries, status, etc.) -- Save passwords + Encrypt SPF file with password for safety reasons Note: SP gives this warning in the Console: NSSecureTextFieldCell detected a field editor (_NSSavePanelTextView) that is not a NSTextView subclass designed to work with the cell. Ignoring... Why?
* • further improvements to open/save spf filesBibiko2009-08-233-47/+118
| | | | | - rearrange invoking procedure for spf data if SP asks for passwords • fine-tuned and fixed table history for BETWEEN operator
* • corrected table history entries for operator BETWEEN (misunderstood ↵Bibiko2009-08-232-8/+17
| | | | logic firstly)
* • modified SPHistoryController to handle the new BETWEEN operatorBibiko2009-08-232-4/+15
| | | | • after changing the operator in TableContent set focus to first argument field
* The query favorite manager shouldn't be blocking the main thread. Part of ↵stuconnolly2009-08-232-30/+35
| | | | issue #357.
* • further improvements to restore a SP session from spf fileBibiko2009-08-233-10/+81
|
* • changed DocTypes for sql and spf filesBibiko2009-08-221-3/+3
|
* • moved NSOpenPanel stuff from TableDocument to SPAppControler to simplify ↵Bibiko2009-08-223-155/+83
| | | | | | | | and unify it • fixed: avoid opening of more than NSOpenPanel windows • if conncetionController is active do not allow a NSOpenPanel • minor code cleaning
* • outsourced SPEncodingPopupAccessoryBibiko2009-08-226-90/+212
| | | | | | - added SPEncodingPopupAccessory class and nib - it returns an accessory view containing a popup menu with predefined encodings - removed that view from DBView
* • further improvements for open/save SQL/SPF filesBibiko2009-08-224-25/+77
|
* • an attempt to improve the cascading of new connection windows for large ↵Bibiko2009-08-211-0/+17
| | | | windows
* When an error occurs whilst trying to add a password to the Keychain present ↵stuconnolly2009-08-211-0/+6
| | | | a dialog to user, suggesting the repair their Keychain or contact us if the problem persists.
* • further work for open/save connection files (spf)Bibiko2009-08-213-8/+116
| | | | | • added to NSDataAdditions the methods 'compress' and 'decompress' • added libz.dylib to xcode project
* Add support for the BETWEEN operator when filtering a table's content. ↵stuconnolly2009-08-212-79/+112
| | | | Implements issue #361. Note the sizing of the new controls still needs fine tuned.
* • first preparations to save the current connection window as SPF fileBibiko2009-08-212-1/+70
| | | | • added to TableContent's method filterSettings the dict key 'filterComparisonTag' in order to be able to rely on menu item tags instead on the title strings
* - Add a "SPLogger" class to allow easy debug builds when attempting to ↵rowanbeentje2009-08-212-0/+182
| | | | pinpoint the cause of specific user issues; see SPLogger.m for very brief usage notes
* Experimental change to make table content browsing much faster:rowanbeentje2009-08-201-2/+39
| | | | | | - Use the new MCPStreamingResult in TableContent, replacing the old standard query/fetchResultAsArray. This appears to be much faster (and lower memory use) but I've left the old fetchResultAsArray in place for the time being until we see how we feel about it.
* • re-implemented tooltips for Content and Query tablesBibiko2009-08-202-61/+69
| | | | | - catch exceptions while retrieving the original table data while/before reloading/changing the table source data - 'image' is now set to autorelease
* When SSH is unable to bind to the local port because its already use, ↵stuconnolly2009-08-201-4/+12
| | | | display an appropriate error message including a possible cause of the error.
* • quick fix - disabled tooltips in Content and Query tables due to crashesBibiko2009-08-202-61/+61
|