aboutsummaryrefslogtreecommitdiffstats
path: root/Interfaces
Commit message (Collapse)AuthorAgeFilesLines
* • cleaned and improved AppleScript supportBibiko2009-10-141-1/+9
| | | | | | - now 'activate' & 'quit' works due to that fact that if an app is scriptable the Dock's "Quit" command calls handleQuitScriptCommand: which has to be implemened - fixed issue that SPAppController has to be the delegate for NSApp to support AS - added support for AS à la: "get name of first document" or "close every window" etc.
* • changed Error Detail HUD window for the connection manager slightly:Bibiko2009-10-131-139/+185
| | | | | | | - suppress spell checking - set left alignment - set a minimum window size - set font size to 12pt (to make it easier to read)
* • fixed truncating issue of Pref's Favorite List table viewBibiko2009-10-121-342/+437
| | | | | - now favorite name/host will be truncated correctly - added tooltip for truncated favorites
* - Make the custom query error text selectable - this addresses Issue #425rowanbeentje2009-10-101-31/+37
|
* Yet more export redesign work. Export is now currently working for single ↵stuconnolly2009-10-091-153/+874
| | | | tables, but produces deadlock errors when attempting to export multiple tables as a result of the initial streaming request for the tables' data all being done from the same thread. To resolve this each of the streaming requests will be made concurrently in separate operations and once the data is available a new concurrent operation (SPExporter subclass instance) will be spawned to perform the data conversion process.
* • outsourced ImportCSV accessory view to fix the disappearing of combobox ↵Bibiko2009-10-072-954/+1341
| | | | | | values after re-invoking it - store the accessory settings in SP's preferences
* Move 'Close' menu item.stuconnolly2009-10-061-240/+35
|
* • added main menu item: "Open “<file>” in New Window" ⌥⌘O as ↵Bibiko2009-10-061-11/+256
| | | | | | alternated menu item bound to "Open…" - this action opens the current file-based connection in a new window by reading <file> again
* • changed routine for opening SPF filesBibiko2009-10-061-290/+51
| | | | | | | | | - if no passwords are stored inside the SPF file try to retrieve the passwords from the KeyChain - for that purpose store the key 'kcid' in the SPF file if available - changed the accessory view: 'auto_connect' is always enabled (even no pw will be saved due to new routine) • fixed issue for Open Recent of SQL files • add a saved SPF file to Open Recent list if the user saved an Untitled doc or saved an open SPF file under an other name
* More export redesign work. CSV data generation is currently working using ↵stuconnolly2009-10-061-26/+44
| | | | the old non-streaming code, but does not yet write to any files. Please note that this is still very much a work in progress.
* Remove the (single item) 'Tools' menu and move the 'User Manager' menu item ↵stuconnolly2009-10-041-74/+61
| | | | to the 'Database' menu renaming it to 'User Accounts'.
* Add the ability to copy the selected server variable(s), either as name = ↵stuconnolly2009-10-041-19/+128
| | | | value pairs, just the variable or just the variable value.
* • corrected tooltips for 'Add' and 'Remove' buttonBibiko2009-10-021-16/+49
|
* • first implementation of a Content Filter EditorBibiko2009-10-011-6/+2
| | | | | | | | | | | | | | - user-defined content filter can be saved globally (Prefs) or in SPF files - BETA - further tests are needed due to complexity - SPQueryController now handles the local user-defined content filters - tooltips are now generated automatically if not defined explicitly (incl. if $BINARY placeholder was used) • if user added local query favorites or content filters to an Untitled document and s/he wants to close it the standard sheet will be displayed (Don't Save - Cancel - Save) - due to that changed old [TableDocument displayName] to 'displaySPName' to be conform with Cocoa • changed behavior while importing query favorites - now they will append at the list (not inserted after selected row - makes more sense) • introduced to history filter dict the key 'menuLabel' which will be set to [TableContent tableFilterString] for displaying the history menu title and simplified the SPHistoryController logic for that • minor code changes
* - Add copy create syntax button to the create syntax sheet.stuconnolly2009-10-012-5/+74
| | | | | | - Fix the Growl notification prefs message as well as making the dialog a sheet. - Re-run genstrings to update localizable.strings and also remove use of multiple comments for a single string.
* - Replace the create syntax transparent HUD panel with a standard sheet, ↵stuconnolly2009-10-012-526/+419
| | | | | | | | | which displays the create syntax in the same non-editable version of the custom query editor. Addresses issue #411. - Add the ability to save the displayed create syntax to a file on disk. - Change the 'Show Create Syntax' shortcut from shift+cmd+S (its already in use) to alt+cmd+S. - Make both the create syntax and server variables sheets not run application modally and thus prevent them from blocking the main thread. Part of issue #351.
* - Add an empty tableview behind the table filter box, with the same ↵rowanbeentje2009-09-301-222/+377
| | | | | | | background settings as the tables list tableview; this makes background colours consistent, addressing Issue #395 - Set the image scaling property on five checkboxes to "None" to silence Interface Builder warnings
* • further progress on the Content Filter EditorBibiko2009-09-301-473/+786
| | | | | • fixed issue for "Add" a new favorite in SPQueryFavoriteManager: - save pending changes in the query textView in beforehand
* • preparation for GUI support to manage user-defined content filtersBibiko2009-09-291-0/+2774
|
* • rewrote the content filter logic:Bibiko2009-09-281-40/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - all default filters come from "ContentFilters.plist" which can be localized main structure: <plist> <dict> <key>number</key> <array/> <key>string</key> <array/> <key>date</key> <array/> </dict> </plist> filter item structure: [ ${} is a place holder for an argument ] <dict> <key>MenuLabel</key> <string>BETWEEN</string> <key>Tooltip> <string>a tooltip</string> <key>NumberOfArguments</key> <integer>2</integer> <key>ConjunctionLabels</key> <array> <string>AND</string> </array> <key>Clause</key> <string>BETWEEN '${}' AND '${}'</string> </dict> - if NumberOfArguments == 0 then start filtering automatically - now one can save his/her own filters in SP's preferences.plist (GUI follows soon) - fixed issue for filters requiring two arguments that pressing RETURN if one is in the second argument input field invokes "Filter" - added string operators: "IS EMPTY" and "IS NOT EMPTY" - fixed issue that now one is able to look for eg \n in string fields
* • re-enabled field editor's QuickLook for 10.6Bibiko2009-09-251-359/+98
| | | | | | | | | - This is up to now a kind of a 'hack' since SP will be compiled against SDK10.5 but if SP runs on 10.6 it'll use code from a 10.6 framework. - Under 10.6 full screen mode is available and QL does run in its own run loop ie now it's non-modal - Changed the way of removing temp files; now all files will be deleted while closing the sheet to fix issues if the user double-click at the QL item and the called app was too slow - this ended up in getting the message 'File not found' - Changed default container extension for images since 'pict' isn't support under 64bit 10.6; now SP makes usage of 'icns' • outsourced QuickLook types (show as pull down menu) to SP's preference plist. (up to now only 'power users' can change that type list via a Property List editor) • enhanced the caching behaviour of the sheet editor in terms of triggering a refresh if the text content was changed (this fixes the issue that it could happen that binary data were interpreted as text data)
* • changed short-cuts for table history to ^⌥⇠/⇢ to avoid ↵Bibiko2009-09-241-2/+2
| | | | interfering with cocoa short-cuts
* Rename (currently unused) help folder.stuconnolly2009-09-2321-0/+0
|
* Change the size of the checkboxes in the structure view to resolve the ↵stuconnolly2009-09-231-219/+139
| | | | strange blurriness on Snow Leopard.
* Change the back/forward in history menu item shortcuts to command + arrows ↵stuconnolly2009-09-141-3/+3
| | | | as the current shortcuts are already in use by the query editor for indentation.
* Significantly improve export:rowanbeentje2009-09-141-1558/+2469
| | | | | | | | - Rework CSV export to stream data, significantly reducing memory consumption and so increasing speed and stability when exporting large tables. By default safe/fast streaming is used, but a checkbox is available to select "low memory mode" full streaming, allowing export of any size table in theory. This addresses Issue #224. - Rework XML export to stream data in the same way, also significantly reducing memory usage and providing the option of using low memory mode. - Make SQL, CSV and XML export progress bars update more smoothly - When exporting the current browse view or custom query result, show an indeterminate progress bar when copying large resultsets to avoid the app appearing to hang
* Forgot to assign the back/forward history menu item's tags resulting in ↵stuconnolly2009-09-121-0/+1
| | | | incorrect navigation and menu item validation.
* Add back/forward history menu items to the view menu with the assigned ↵stuconnolly2009-09-121-26/+90
| | | | shortcuts of cmd+[ and cmd+].
* File menu separator.stuconnolly2009-09-111-176/+949
|
* • Query Favorite ManagerBibiko2009-09-071-30/+45
| | | | | - disabled sorting by clicking at table headers - added drag&drop support of multiple selected items
* • updated SPQueryFavoriteManager to mange document-based and global query ↵Bibiko2009-09-071-35/+129
| | | | | | | favorites • disabled "Select Active Query" in CMTextView if shown in the favorite manager • code cleaning and simplifications
* • improved behavior while closing a document windowBibiko2009-09-041-62/+12
| | | | | | | - if not connected close it without any checks - if an Untitled document contains stored query favorites - What should be done? - up to now it saves them to the global prefs • header in query favorites list keep visible while filtering • code cleaning
* • first steps to support global/document-based query favoritesBibiko2009-09-041-3/+86
| | | | - not yet fully implemented but workable
* • prepared Query Name Sheet for choosing the target of the to be saved ↵Bibiko2009-09-041-17/+77
| | | | query favorite (global or not)
* Replace deprecated stringWithCString:length: and update Console.xib after ↵stuconnolly2009-09-031-68/+784
| | | | SPQueryConsole rename.
* • added "Recent Open" menu item to Main Menu > FileBibiko2009-09-021-2/+67
|
* • next polish up of the QueryFavoriteManager GUIBibiko2009-09-021-562/+565
|
* • simplified and unified the issue to set the title of a tableWindowBibiko2009-09-023-356/+345
| | | | | | | | | | | | | | - everything will be configured in [TableDocument displayName] - to update the title call [TableDocument setTitle:[TableDocument displayName]] - this removes dozens of lines • first steps to support more the document-based approach ( a document is nothing else than a connection with view properties and preferences ) - renamed/added/changed in Main Menu items into "New", "Open", "Save", and "Save As" - if user opened a spf file -> fileURL will be set - "Save" will save the current connection/view data according to the "Save As" setting - ie if one saved a doc with do not "Remember window state" - "Save" won't save the window state; to enable this hit "Save As" [this works for encrypted file data as well] - if the current doc was opened from file and the user closes it or quits the entire app all connection/document-based preferences (up to now query favs and history) will be updated silently [not yet implemented fully in CustomQuery] [works for encrypted file as well] • delete saveSPFAccessory view from DBView since it was outsourced • fixed some issues for the NSSecureTextField in the Save accessory panel (but still a warning appears)
* • recreated "Secure Text Input Sheet" which was deleted accidentallyBibiko2009-09-021-3/+543
|
* • fixes for Query Favorite Manager:Bibiko2009-09-011-7/+62
| | | | | | - renamed "Save" button to "Apply Changes" to make it clear what will be done by clicking at it - suppress context menu and selection while right-clicking at a header - while in cell editing ESC will abort the editing (not close the sheet)
* • query favorite managerBibiko2009-09-011-253/+214
| | | | | | | | - first step to allow to manage global favs (stored in the prefs) and connection-based (not yet implemented - will be stored in ApplicationSupport/SequelPro) - fav table is now a grouped table à la Table List - second column in fav table will be used soon ;) - now the sheet has two buttons "Save" and "Cancel" in order to be able to dismiss changes - enabled table view inline editing of query names
* - Re-enable the fine-grained query logging preferencesrowanbeentje2009-08-311-191/+144
| | | | | | | - 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
* Forgot the project file and the export XIB.stuconnolly2009-08-291-27/+538
|
* • due to new minimum size of the connection pane rearranged help buttonBibiko2009-08-281-30/+132
|
* • improved Query Favorite ManagerBibiko2009-08-281-16/+269
| | | | | | | | | | | | - 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?
* Update Localizable.strings by running genstrings and remove use of multiple ↵stuconnolly2009-08-281-0/+0
| | | | comments for a single string.
* • set maximum to 50000 for the Preference setting "Limit result to:"Bibiko2009-08-281-44/+8
|
* If the SSH tunnel is unable to bind to the local port because there is ↵stuconnolly2009-08-281-3/+10
| | | | 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.
* • moved "Replace Editor Content" (Favorites/History) settings from popup ↵Bibiko2009-08-281-126/+151
| | | | | | | | 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"
* • simplified code for inserting the seach fieldes (fav/hisotry) - now set ↵Bibiko2009-08-281-15/+70
| | | | | | in DBView • added keyboard short-cut ⌥⌘F and ⌥⌘H for open Favorites and History (for testing)