| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- Improve SQL parser streaming improvements for significant speedups and some very important bugfixes
|
|
|
|
|
|
|
| |
- Add defaults for fine-grained logging preferences
- Add a method to TableDocument to allow setting the query mode, and use the query mode to control logging
- Set import/export and custom query to set the appropriate query modes
|
|
|
|
| |
comments for a single string.
|
| |
|
|
|
|
|
|
|
|
|
| |
• 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
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
• added to NSDataAdditions the methods 'compress' and 'decompress'
• added libz.dylib to xcode project
|
|
|
|
| |
• 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
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
visible otherwise set focus to Table List view for selecting a table quickly
|
| |
|
| |
|
|
|
|
|
|
|
| |
addresses Issue #354)
- Improve favorites saving including names with anonymous users
|
| |
|
|
|
|
|
|
| |
- Fix a memory leak in MCPResult.m's stringFromCString:
- Display the number of server variables being display when a filter is being applied
|
|
|
|
| |
of return to be same as remove/truncate table.
|
|
|
|
|
| |
- lastSqlFileEncoding will be stored in the Preference.plist
- to open SPF files not yet supported
|
|
|
|
|
| |
- renamed menu item to Open
- if sql file is selected encoding popup list is enabled otherwise not since spf will be encoded in UTF-8
|
|
|
|
| |
Query editor after opening a SQL file if the user does not connect to a server
|
|
|
|
|
|
|
| |
app for sql files) will insert the file content into the Custom Query editor of the current active doc
- this action starts SP and asks for a connection if it is not running
- same for drag&drop a SQL file onto SP's dock icon
|
|
|
|
|
| |
- Fix the history navigation to correctly switch across databases without invalid history states
|
|
|
|
|
|
|
|
|
| |
- Open/Save menu items are hidden
• initial support for drag&drop files *.spf and *.sql to SP's icon or double-click at *.sql or *.spf files in Finder
- SP starts if not already running
- sql files will be executed in the Custom Query if at least one connection is open
- spf files not yet supported
-
|
|
|
|
| |
- it sets the focus to table list filter field only if it's visible, otherwise it sets the focus to the Table List view directly
|
|
|
|
|
| |
- set focus to Table List filter field after selecting a database
- TAB key in Table List filter field sets focus to Table List for selection/navigation
|
|
|
|
| |
when filtering is not taking place, fixes a crash. Also, if the panel is opened and the search field contains a value that was previously filter using, perform the filtering using this value before the sheet is displayed.
|
|
|
|
|
|
| |
- Update the save variables button to save the current filtered variables if necessary
- Remove old/unused NSSplitView code
|
|
|
|
|
|
|
| |
- Change the "[Show/Hide] Console" button in the toolbar to a "Console" button, which shows or brings the console window to the front
- Update the default toolbar state to reflect recent additions
- Reset everyone's toolbars to ensure that normal users will have the new icons available and visible
|
|
|
|
|
|
| |
- Improve and make consistent state saving in TableContent; now saves filters and scroll position mor reliably on refresh/edit, and supports remembering and restoring which rows were selected
- Significantly improve table history - only create entries for tables switches or filters, only remember 50 items, and save view/filters/scroll position/selections in table content view
|
|
|
|
| |
toolbar item to navigate backwards and forwards. TBC!
|
|
|
|
|
|
|
| |
subview size directly instead of the contents of the scrollview (which incorrectly doesn't measure presence of the scrollbar)
- Remove the connection view entirely once a window has connected, fixing resize events following document splitview resize
|
|
|
|
|
|
|
|
| |
- If there are twenty or more tables, show a table quicksearch/filter at the top of the list, and update the rest of the code to match. This addresses issue #178.
- Select tables and views alphabetically by user's current locale (instead of default MySQL "A B C a b c")
- When adding or duplicating tables, insert them at the correct point
- Fix a number of minor display bugs caused by incorrect interaction with the tables list caches
|
|
|
|
|
|
|
|
| |
position that would hide content
- Store collapse state of table information panel in preferences
- Apply a double fix for BWSplitView/NSSplitView+BWAnchoredButtonBar not informing delegates of resizes - correctly inform original BWSplitView delegates of resizes, and allow BWAnchoredButtonBar registered delegates to recieve the original split view resize notifications. This fixes database menu resizing in synch with splitview resizing for improved/consistent look and feel.
|
|
|
|
| |
them with more generic delegate methods.
|
|
|
|
|
|
|
| |
than "Disconnect" is selected
- Fix tunnel restarts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project.
- All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information.
- All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult.
- Framework includes MySQL 5.1.36 client libraries and source headers.
- Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary.
- All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>.
- New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage.
Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes.
Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
|
|
|
|
|
|
|
|
|
|
| |
be closed when the window is closed, freeing the document's memory
- Update a number of dealloc methods to include more retained memory, and to avoid releasing non-retained memory
- Remove notification observers and delegates where appropriate to avoid issues after document closing
- Fix a couple of memory leaks
- Support window cascading for all windows past the first, using the first window as the autosave window
|