| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
issue #357.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
and unify it
• fixed: avoid opening of more than NSOpenPanel windows
• if conncetionController is active do not allow a NSOpenPanel
• minor code cleaning
|
|
|
|
|
|
| |
- added SPEncodingPopupAccessory class and nib
- it returns an accessory view containing a popup menu with predefined encodings
- removed that view from DBView
|
| |
|
|
|
|
| |
windows
|
|
|
|
| |
a dialog to user, suggesting the repair their Keychain or contact us if the problem persists.
|
|
|
|
|
| |
• added to NSDataAdditions the methods 'compress' and 'decompress'
• added libz.dylib to xcode project
|
|
|
|
| |
Implements issue #361. Note the sizing of the new controls still needs fine tuned.
|
|
|
|
| |
• 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
|
|
|
|
| |
pinpoint the cause of specific user issues; see SPLogger.m for very brief usage notes
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
- catch exceptions while retrieving the original table data while/before reloading/changing the table source data
- 'image' is now set to autorelease
|
|
|
|
| |
display an appropriate error message including a possible cause of the error.
|
| |
|
|
|
|
| |
- saves the Custom Query editor content by using a selected encoding to a SQL file
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- 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)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
I had to cheat and name the file %@.csv, so the suggested filetype is csv, but you can change it to something else.
|
|
|
|
| |
definitions in CMCopyTable, the array wasn't being released on subsequent allocations.
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
content as text with line breaks and tabs or as image
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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?
|
|
|
|
| |
- type "text" now displays \n and \t correctly
|
| |
|
|
|
|
| |
- try to trap the speed of typing better to create larger undo groups
|
|
|
|
| |
• some work on the SPFieldEditor's undo manager (has to be continued)
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
fixed some memory issues.
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
by right-click and context menu
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- not yet finished
• added svn property "Id"
|
|
|
|
|
|
| |
- 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
|