aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/PreferenceDefaults.plist
Commit message (Collapse)AuthorAgeFilesLines
* Add a new SPFileHandle class to support gzip compression and writing on a ↵rowanbeentje2010-04-121-0/+2
| | | | | | | | | | | background thread, and integrate for SQL import: - Implement streaming reading of gzip-compressed files for SQL import - Support exporting SQL dumps into a gzip-compressed file - SPFileHandle supports the most-used subset of NSFileHandle commands for easy integration - Integrate zlib 1.2.4 for improved gzip streaming performance (and support for custom buffer sizes and file offset positions) This implements Issue #571 .
* - By default, export SQL dumps without the UTF-8 BOM, restoring ↵rowanbeentje2010-04-021-0/+2
| | | | compatibility with older versions of MySQL (http://code.google.com/p/sequel-pro/issues/detail?id=610 is tracking an interface for this in future)
* Add the ability to sort the connection favorites table view in the ↵stuconnolly2010-03-271-0/+8
| | | | preferences. Sort options are by name, host or type as well as the option to be sorted in reverse order. This implements issue #490.
* Consolidate all localizable content in the Resources/ directory and only use ↵stuconnolly2010-03-171-0/+2
| | | | Interfaces/ for XIBs. This addresses the first point on issue #593.
* • added possibility to define a snippet via ¦a¦b¦ – such a snippet ↵Bibiko2010-03-081-1/+1
| | | | | | | | will be shown as completion list with the items “a” and “b” • set auto-completion default Pref setting to true • fixed some auto-completion issues like do not insert common prefix automatically and some others • applied ¦a¦b¦ template to CompletionTokens.plist and some tiny corrections and improvements
* • outsourced keyword completion and function completion lists to ↵Bibiko2010-03-081-0/+2
| | | | | | | | | | | CompletionTokens.plist • SPQueryController manages keyword and function completion lists now; this reduces the memory usage a bit and the list is easier to edit • added pre-defined function argument snippets to CompletionTokens.plist (auto-generated from mysql's HELP) • added Preference option for Editor whether a function completion should insert () and if found the function argument snippets automatically or not - last ) will be linked as autopaired then • changed behaviour for wrapping a selection into `"'() etc. - now it re-selects the original selection after wrapping and in addition last wrap character is now marked as autopair-linked • improved logic for popping up the auto-completion list
* • added to CustomQuery's CMTextView the option to set auto-completion ↵Bibiko2010-03-071-0/+4
| | | | | | on/off, settable in Prefs and gear menu - if inserted completion is marked as function it inserts snippet (${}1:) so far; function parameters as snippets follows soon
* Add a hidden preference to display or hide the MySQL server version in the ↵stuconnolly2010-03-071-0/+2
| | | | window title.
* • CSV Import Field MapperBibiko2010-03-061-0/+2
| | | | | - fixed some issues for displaying the default values for auto_increment and time_stamp • added possibility to change the tab stop width in each CMTextView via Preference setting in Editor window
* • further progress for 'add global source value'Bibiko2010-02-171-0/+2
| | | | | | | | | | | | • remember last chosen field alignment in csv field mapper in the prefs • improved 'matching names' algorithm; now it can handle this: csv: a b c table: c d a b → c - c d a - a b - b
* • CMTextView's colours are set via observer, live changed in editable ↵Bibiko2010-01-301-0/+2
| | | | | | | | textviews • added Preference setting "Table font" in "Table" pane to set the table font/size for all result tables (Content, Custom Query) • added to SPTableView the method setFont: • fixed the initialisation of vars in CMTextView (fixes the displaying of create syntax)
* - With the improved row count support and behaviour, replace the old "Fetch ↵rowanbeentje2010-01-021-2/+4
| | | | correct row count" preference with a new Table row counts query level (never, only for small tables, always), defaulting to only for small tables - boundary currently set to 5MB. This addresses Issue #500
* • remember the spell checker status in the blob field editorBibiko2009-11-191-0/+2
| | | | | | - status can be toggled by right-click in the text view and go to submenu "Spelling and Grammar" > "Check Spelling while Typing" Note: up to now "Check Spelling while Typing" wont' be checked in the GUI if it's enabled → TODO (maybe related to the "sheet issue")
* Bunch of improvements to the query console, including:stuconnolly2009-11-141-0/+2
| | | | | | | | | | | | | - New connection column (been meaning to add this for a while) - Display table view column headers - Enable table view text cell line truncating - Allow table view columns to be re-ordered - The table view now respects the display table view vertical grid lines preference - Support for including the connection when saving messages to a file - Support for showing/hiding the connection column - Increase table view row height to match that of all others - Display message time stamps using the user's system wide medium time format
* • Finish off implementation to set the default selection view mode. Issue #249avenjamin2009-11-021-1/+5
|
* • outsourced ImportCSV accessory view to fix the disappearing of combobox ↵Bibiko2009-10-071-0/+10
| | | | | | values after re-invoking it - store the accessory settings in SP's preferences
* • rewrote the content filter logic:Bibiko2009-09-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* • marked 'sequel-pro-print-template.html' as localizableBibiko2009-09-271-82/+3
| | | | | | | | | | | | • outsourced default QuickLook types into a localizable plist - prepared SP preferences and SP code to allow the user to add own QL types • prepared a localizable 'ContentFilter.plist' [not yet implemented fully] - this plist will held the default filter operators - this approach will give the user the chance to add own filters • removed three tiny memory leaks Note: In MCPResult.m variable 'MCPYear0000' was stored retained. Why? I removed it and couldn't encounter any problems.
* • re-enabled field editor's QuickLook for 10.6Bibiko2009-09-251-0/+83
| | | | | | | | | - 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)
* - Re-enable the fine-grained query logging preferencesrowanbeentje2009-08-311-0/+8
| | | | | | | - 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
* • Custom Query:Bibiko2009-08-281-0/+2
| | | | | | | - 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?
* • added to "Query Favorite" popup menu:Bibiko2009-08-261-0/+2
| | | | | | - "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
* • in Table Content the button status of "edit spreadsheet or sheet-like" ↵Bibiko2009-08-111-0/+2
| | | | | | | | | 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.
* • enabled "Open" menu item to open SQL filesBibiko2009-08-061-0/+2
| | | | | - lastSqlFileEncoding will be stored in the Preference.plist - to open SPF files not yet supported
* - Tweak table information panel to show scrollbars if it's resized to a ↵rowanbeentje2009-07-261-0/+2
| | | | | | | | 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.
* - Revert r844, making background printing draw from the print accessory ↵rowanbeentje2009-06-251-0/+4
| | | | view again. Improve by setting background printing to on by default, read on startup.
* Add a very basic preference to disable all query logging. This can be ↵stuconnolly2009-06-111-0/+2
| | | | expanded upon to disable different types of queries.
* • added to Editor Preferences:Bibiko2009-06-051-0/+4
| | | | | - "Query Background" color - checkbox "Highlight Current Query"
* • activate Preference setting for caret colorBibiko2009-05-241-0/+2
| | | | | | | | • added prototype for new completion (ESC -> Cocoa, F5 -> new completion) - not yet finished - TODO: -- support for NSSpellChecker items -- images for different types of suggestions like proc/func/tabkle/view/sql statement, db name, etc.
* - Few Changes to Query Editor Preferenceavenjamin2009-05-221-5/+5
| | | | | - Cleaned up a few preference keys - Added Caret Color to Query Editor Prefs - disabled for now.
* New preference to allow the displaying of vertical grid lines in table views.stuconnolly2009-05-191-1/+3
|
* Implementation of enhancement #28: Allow customizing default value of NULL ↵stuconnolly2009-05-111-0/+2
| | | | property when adding new table fields.
* • added "Query Editor" preference pane for setting colors, font, and modes ↵Bibiko2009-05-071-0/+18
| | | | | | | | | | | | | | | | | (from the CQ's action gear which are still customizable there) - in addition to the syntax colors it's now possible to change the fore/background color as well • added "Update Help while typing" feature in the Custom Query editor • first trial to improve syntax highlighting for large text in the Custom Query editor - if the text is larger than 10k the highlighting is performed only for the visible text area ±bias (3.5k) - if the user changes the visible area the highlighting follows time-delayed 500ms) to assure user interaction - a test with a 45MB SQL dump worked (of course a tick slowier) -- todo: improve prev/current query detection (mainly the SQLParser) - if the text size is > 6MB the completion list won't show words from the text due to parsing time - if the text size is > 6MB the line numbering will be disabled due to performance issue (improvements should follow) • some tiny clarification changes in the syntax highlighting code • some minor code cosmetics
* • changed context menu item in CQ's textview to support "MySQL Help"Bibiko2009-04-301-0/+2
| | | | | • prepared code to work with autoHelp • improved getRangeForCurrentWord (fix for " |a")
* • added ConsoleShowHelps key (TRUE) to the default plistBibiko2009-04-281-0/+2
|
* - Save the state of the "Show timestamps" and "Show SELECT/SHOW statements" ↵rowanbeentje2009-04-201-0/+4
| | | | options for the console in the user preferences
* - Add defaults for the SelectLastFavoriteUsed and LastFavoriteIndex keysrowanbeentje2009-04-171-0/+6
| | | | | | - Add the ability to configure the maximum number of items in the query history - Added appropriate minumums (0) and maximums in prefs for max history items, LIMIT count, connection timeout value
* - Correctly set default editor font to Monaco 10rowanbeentje2009-04-121-1/+1
| | | | | | - Restore pref upgrade methods, make compatibible with both lastUsedVersion and LastUsedVersion keys - Add upgrade method to map old pref keys to new pref keys, delete old keys
* - Tweak code to use the new UseKeepAlive preference valuerowanbeentje2009-04-111-14/+22
| | | | | | | - Update a few pref checks which were using the old pref values still - Resort preference defaults to match layout in prefs, restore old default values for some keys - Restore missing defaults for new editor properties
* - part 3 of merge from 'avenjamin' branch into trunk.avenjamin2009-04-101-0/+36
- commiting Resources