aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added "New Connection" to dock menu.avenjamin2009-08-131-5/+53
|
* - Rework TableContent row count fetching, loading it in the correct ↵rowanbeentje2009-08-137-60/+105
| | | | | | | | locations, and correcting the logic for fetching the count of rows so that the query is not used where not necessary. - Update the Table Info pane and tab with a new row count if one is known - this addresses Issue #141 - This reverts r1090, and so needs to be discussed with stuart02 - the rest of the row logic changes may have fixed the 'larger issue' described there?
* • SPFieldEditor sheet now runs in a NSModalSession run loop to allow the ↵Bibiko2009-08-124-25/+45
| | | | | | | | | | | execution of code in NSDefaultRunLoopMode (including showing Tooltips) - improved max text length checking while inserting a text chunk if a selection is given (now it truncates it correctly) - instead of using NSBeep() while text length checking a Tooltip will be shown • fine-tuned SPTooltip: • max text validation in TableContent (cell editing) shows now a tooltip if text too long Note: Tooltip messages are tentative so far
* • finished implementation of SPTooltipBibiko2009-08-122-68/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: #import "SPTooltip.h" [SPTooltip showWithObject:@"<h1>Hello</h1>I am a <b>tooltip</b>" ofType:@"html" displayOptions:[NSDictionary dictionaryWithObjectsAndKeys: @"Monaco", @"fontname", @"#EEEEEE", @"backgroundcolor", @"20", @"fontsize", @"transparent", @"transparent", nil]]; [SPTooltip showWithObject:(id)content atLocation:(NSPoint)point ofType:(NSString *)type displayOptions:(NSDictionary *)displayOptions] content: a NSString with the actual content point: n NSPoint where the tooltip should be shown if not given it will be shown under the current caret position or if no caret could be found in the upper left corner of the current window type: a NSString of: "text", or "html"; no type - 'text' is default displayOptions: a NSDictionary with the following keys (all values must be of type NSString): fontname, fontsize, backgroundcolor (as #RRGGBB), transparent (any value) if no displayOptions are passed or if a key doesn't exist the following default are taken: "Lucida Grande", "10", "#F9FBC5", NO See more possible syntaxa in SPTooltip to init a tooltip
* • bug fix for issue 363: suppress selecting a table header in TablesList ↵Bibiko2009-08-121-0/+8
| | | | by right-click and context menu
* - Merge in r1191 from SP0.9.6 branch, fixing a crasher for blank passwords ↵rowanbeentje2009-08-112-8/+28
| | | | | | | by checking a keychain item is present before trying to load it - Also make keychain checks more robust when supplying nil values as some of the parameters
* Fix problem with opening and reopening connectionsmltownsend2009-08-114-13/+21
|
* - Fix table content sorting, broken in r1183 - this addresses Issue #364rowanbeentje2009-08-111-1/+1
|
* Fix some MainMenu references by index.mltownsend2009-08-113-9/+17
|
* • bug quick-fixBibiko2009-08-111-27/+27
| | | | | | - the new menu item "Tools" was inserted in between "Database" and "Table"; this cause some assertion errors since we change the menu "Table" according to the settings of TableList TODO The identification inside the MainMenu should be done via using Tags instead of counting!
* Minor tweaks.mltownsend2009-08-111-15/+19
|
* Stupid Interface Builder and menusmltownsend2009-08-111-3/+3
|
* User Manager featuremltownsend2009-08-1115-4/+4832
|
* • implemented the first working copy of SPTooltipBibiko2009-08-112-1/+295
| | | | | - not yet finished • added svn property "Id"
* • added SPTooltip classBibiko2009-08-114-1/+78
| | | | | | - initial setup - display a text or HTML tooltip for general messages under the caret position or located somewhere via initializing • fixed naming issue in SPNarrowDownCompletion
* • after connecting to a server set focus to table list filter field if ↵Bibiko2009-08-111-0/+7
| | | | visible otherwise set focus to Table List view for selecting a table quickly
* • in Table Content the button status of "edit spreadsheet or sheet-like" ↵Bibiko2009-08-116-73/+110
| | | | | | | | | will be saved in the Prefs • font settings in the Field Editor Sheet will be saved in the Prefs • improved max text length checking while using other InputManager (eg Japanese etc.) - still a bit under construction Note: each Beep() wil be replaced by a tooltip soon.
* • improved identification of the field origin for editing in Custom QueryBibiko2009-08-111-5/+33
| | | | | - first try to found a primary key for the to be edited field in the result set - fixed some backtick quotings
* Rework data loading in TableContent:rowanbeentje2009-08-113-491/+364
| | | | | | | | | - Data loading now only occurs in one place in the code. This improves consistency and fixes a number of actions which used to trigger a full table reload followed instantly by a filter when the action was performed - If "Reload data after..." prefs are unticked, no longer load the data (ie the preference now works) - Make table count text more consistent and useful - Fix a number of small position-saving type problems with filters and limits active. This fixes Issue #200. - Clean up and standardise the code dealing with data storage - only one data storage array is now used.
* • added to Custom Query table editing max text length validationBibiko2009-08-103-2/+18
| | | | | • SPFieldEditorController: - improved textViewDidChangeSelection: to eg saves to correct rendered glyph after inserting a non-base char + base char if this combination was typed as last glyph before pressing the OK button (otherwise foo¨ will be saved instead of fooü)
* • added to the FieldEditorSheet a max text length validationBibiko2009-08-103-6/+63
| | | | | | • added the max text length validation for the TableContent while editing in the FieldEditorSheet • reinvoked the validation of the max text length for TableContent editing while editing in a cell • fixed in TableContent: prevent the editing of data cells in gray if the cell displays the gray NULL value
* • added field name to Field Editor SheetBibiko2009-08-085-26/+180
| | | | | | - initial support (not yet finished) Note: maybe add information about field type, max length as attributed string
* Missing SVN properties.stuconnolly2009-08-0835-35/+35
|
* When selecting a cell to edit that is either a blob or text field and hasn't ↵stuconnolly2009-08-081-28/+29
| | | | already had it's content loaded, only load the data for the selected cell and not the entire row. Fixes issue #288.
* Rename MainController to SPAppController.stuconnolly2009-08-087-56/+47
|
* - Fix SSH tunnel support for private/public keys following framework ↵rowanbeentje2009-08-083-6/+13
| | | | upgrade changes
* Rename print accessory XIB.stuconnolly2009-08-074-8/+8
|
* - Fix "Add to favorites" behaviour when the user has no favourites (This ↵rowanbeentje2009-08-073-23/+22
| | | | | | | addresses Issue #354) - Improve favorites saving including names with anonymous users
* Forgot to commit project file.stuconnolly2009-08-071-8/+8
|