aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Small code clean up. Simplified some logic.avenjamin2009-08-241-25/+6
|
* • finalized first approach to save/open SPF (⇧⌘S/⌘O)Bibiko2009-08-244-68/+452
| | | | | | | - 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-245-31/+224
| | | | | | | | | | - 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-233-2/+534
| | | | | | | | | | | - 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-222-5/+5
|
* • 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-229-313/+268
| | | | | | - 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-226-25/+414
|
* • 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-214-8/+118
| | | | | • 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-213-92/+353
| | | | 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-213-0/+196
| | | | 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
|
* • activated "Save Query…" menu item (⌘S)Bibiko2009-08-202-12/+41
| | | | - saves the Custom Query editor content by using a selected encoding to a SQL file
* • Main Menu > FileBibiko2009-08-204-22/+87
| | | | | | | | - renamed "Open" into "Open…" plus tooltip - added "Save Query…" (enabled if a query is in the editor and rename 'Query' to 'Queries' dynamically) [still hidden] - added "Save Connection…" [still hidden] • added method numberOfQueries to CustomQuery • 'Save Query…" and "Save Connection…" are bound to the same connector distinguished via their tags
* Place the field label on the editor sheet at the top to make it more obvious ↵stuconnolly2009-08-201-94/+27
| | | | (originally added by Hans-Jörg Bibiko). Fixes #360.
* • fixed in FieldEditorSheet:Bibiko2009-08-201-0/+4
| | | | - ensure that all changes made in editTextView are returned (eg for the case one enters as last character a 'ü' which was typed via ⌥uu and presses OK - the last typed u was ignored)
* • bug fixed for _downloadAllDataBibiko2009-08-201-183/+177
| | | | | - do not check "if (rowDataLength)" due to the fact that a row could have the length 0 ( if all columns are set to NULL ), otherwise the entire row will be set to NULL and this causes a mismatch in the number of columns for that row later on • minor code cleaning (indentions)
* - Change MCPStreamingResult to use a safer streaming mode by default - ↵rowanbeentje2009-08-209-175/+483
| | | | | | | download all results as fast as possible from the server, to avoid blocking, but do so in a background thread to allow results processing to start as soon as data is available. Many thanks to Hans-Jörg Bibiko for assistance with this. - Add an option to the SQL export dialog to allow selection of the full-streaming method, with a warning that it may block table UPDATES/INSERTS.
* Issue 351: Export CSV pipebamse162009-08-181-16/+8
| | | | | | I had to cheat and name the file %@.csv, so the suggested filetype is csv, but you can change it to something else.
* Missing SVN keyword properties.stuconnolly2009-08-180-0/+0
|
* Fix a memory leak when loading a table's content. When setting the column ↵stuconnolly2009-08-181-1/+4
| | | | definitions in CMCopyTable, the array wasn't being released on subsequent allocations.
* - The add, rename and copy table sheets should not block the main thread ↵stuconnolly2009-08-185-539/+588
| | | | | | | | (part of issue #357). - Improve the consistency of destructive confirmation dialogs by making the remove field and index dialogs default button 'Cancel' with a key equivalent of return. - Disable the remove field button when the currently selected table only has one field, removing the need for the extra check (and subsequent dialog) when the user attempts to remove a field.
* • SPTooltip: added type "image"Bibiko2009-08-183-33/+76
| | | | | - show images directly as a NSImage in a NSImageView (this decreases the memory usage enormously) • applied new tooltip invocation for image blob data in Content Pane and Custom Query table
* - Fix very end of exported SQL for tabel content with new export coderowanbeentje2009-08-171-1/+1
|
* - Fix field names in new import following classic last-minute change...rowanbeentje2009-08-171-1/+1
|
* - Add a note to warn about use of MCPStreamingResultrowanbeentje2009-08-171-0/+8
|
* Rework SQL export:rowanbeentje2009-08-177-31/+344
| | | | | | | - Added an MCPStreamingResult class to MCPKit, to allow streaming results from the server including fast array access of each row - Tweak SQL export to use the streaming result class and to keep memory usage lower End result is generally faster exports, more accurate progress bars, and much much lower (and consistent) memory usage.
* - Make result sets 1.5x faster to process by using 10.4+ native ↵rowanbeentje2009-08-161-15/+4
| | | | stringWithCString:encoding: instead of old NSData-based functions. Speeds up large table loading significantly.
* • added SPTooltip to CustomQuery result table to display the cell's ↵Bibiko2009-08-151-0/+42
| | | | content as text with line breaks and tabs or as image
* User manager tweaks:rowanbeentje2009-08-154-36/+86
| | | | | | | - Don't select the mysql database - make selections directly from the table where appropriate - Tweak REVOKE syntax to use FROM instead of TO - Rename "create temporary table" permission to "create temporary tables" so it saves correctly
* • added SPTooltips for cell content in Content TableBibiko2009-08-143-1/+50
| | | | | | | | | - text strings are display with line breaks and tabs - if cell content represents image data display that image as transparent thumbnail (by using base64 encoded HTML img tag) Notes: - SPTooltip implementation to show an image via a NSImageView will be implemented soon (the HTML way needs too much memory due to base64 encoded string) - to discuss: Should we add a preference setting to display these tooltips?
* • improved SPTooltipBibiko2009-08-141-2/+4
| | | | - type "text" now displays \n and \t correctly
* • improved the closing behaviour of the SPTooltipBibiko2009-08-141-3/+7
|
* • further improvement to SPFieldEditor's undo managerBibiko2009-08-143-23/+36
| | | | - try to trap the speed of typing better to create larger undo groups
* • minor changes to SPTooltipBibiko2009-08-144-24/+55
| | | | • some work on the SPFieldEditor's undo manager (has to be continued)
* • added to the SPFieldEditorController's text editor view its own ↵Bibiko2009-08-145-9/+106
| | | | | | | | | undoManager which runs in the same modal run loop - RETURN or a ' ' forms a undo group - undo groups will be formed after 5 run loops (to form longer block while writing quickly) Note: Has to be tested and fine-tuned if necessary
* small changemltownsend2009-08-141-2/+0
|
* small changemltownsend2009-08-141-9/+1
|
* Change SPUserManager to a subclass of NSWindowController which actually ↵mltownsend2009-08-133-13/+13
| | | | fixed some memory issues.