| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- SQL import now reads and processes files in full streaming mode, running queries as they are encountered
- Memory usage during import is significantly reduced, and should stay within a few megabytes; the significant memory use remaining is for query logging
- The progress bar more accurately represents progress and is shown at once (this addresses Issue #320)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the top of SPExporter.h for more information.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- tableView is now a SPTableView for right-click selects item first
- corrected tooltips for all buttons and menu items
- added short-cut ⌘D for duplicate, ⌫ for remove, and ⌥⎋ for gear menu (which could be the standard for all gear menus?)
- remove selected favorite(s) asks the user first
- added chance to select and remove more than one favorite
- added chance to export selected favorites as SPF file
The file structure (format 'query favorites') goes conform with the SPF 'connection' format.
To be discussed: Should we add a separate Import Favorites menu or should we do that via the general "Open…" menu item since the SPF format tells SP what to do with that file?
|
| |
|
|
|
|
| |
comments for a single string.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
|
|
| |
in DBView
• added keyboard short-cut ⌥⌘F and ⌥⌘H for open Favorites and History (for testing)
|
|
|
|
|
|
|
| |
- 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?
|
| |
|
| |
|
|
|
|
| |
only contain valid MySQL options. Fixes issue #388.
|
|
|
|
| |
- 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
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- 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)
|
|
|
|
| |
used in CustomQuery
|
| |
|
|
|
|
| |
data types.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
- "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
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
return being hit when a row is selected and go into edit mode.
|
|
|
|
| |
return being hit when a row is selected and go into edit mode.
|
| |
|
|
|
|
|
|
|
|
|
| |
• 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?
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
- 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?
|
|
|
|
|
| |
- rearrange invoking procedure for spf data if SP asks for passwords
• fine-tuned and fixed table history for BETWEEN operator
|
|
|
|
| |
logic firstly)
|
|
|
|
| |
• after changing the operator in TableContent set focus to first argument field
|
|
|
|
| |
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
|