aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
Commit message (Collapse)AuthorAgeFilesLines
* • 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
* Remove the word 'Table' from the copy create syntax Growl notification name ↵stuconnolly2009-10-011-2/+2
| | | | to be the same of the name thats actually been used, thus making the notification work again.
* • further progress on the Content Filter EditorBibiko2009-09-301-15/+3
| | | | | • fixed issue for "Add" a new favorite in SPQueryFavoriteManager: - save pending changes in the query textView in beforehand
* • fixed an issue of double-loading user-defined filtersBibiko2009-09-281-9/+23
| | | | | | • introduce a new placeholder $BINARY to the filter definition - if user presses ⇧ while invoking the table filter and a filter had defined that placeholder the search will be case-sensitive; otherwise the placeholder $BINARY will be simply removed to search case-insensitive - added tooltip for these string filters in ContentFilters.plist
* • improved and fixes escaping of filter argumentsBibiko2009-09-281-4/+20
| | | | | | | | - 'is (not)' and 'contains (not)' are now defined as: take the argument literally, ie % and _ will be escaped automatically - in string fields one can look for \n , \r , \t - added LIKE and NOT LIKE operators to strings to be more transparent - a routine detects automatically whether a placeholder was wrapped into ' or " and if so ' or " will be escaped
* • rewrote the content filter logic:Bibiko2009-09-282-5/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-274-82/+99
| | | | | | | | | | | | • 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
* • changed DocTypes for sql and spf filesBibiko2009-08-221-2/+2
|
* • 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
* • initial support for open/save connection files (*.spf)Bibiko2009-08-041-2/+21
| | | | | | | | | - 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 -
* - Upgrade version string to 0.9.6rowanbeentje2009-08-021-2/+2
|
* - 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.
* - Improve the TextAndLinkCell (foreign key link arrows) to make the arrows ↵rowanbeentje2009-07-212-0/+0
| | | | behave like proper buttons, allowing clicking and dragging out to cancel the click, and highlight states
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-0/+28
| | | | | | | | | | | | | | | - 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.
* • added: AMIndeterminateProgressIndicatorCell for global spinning wheelBibiko2009-07-181-0/+0
| | | | | • added: spinning wheel background image • removed warning in TableContent (unused 'j')
* Add the ability to navigate between tables via foreign key relationships, ↵rowanbeentje2009-07-183-0/+0
| | | | | | | | | addressing the first part of #209: - For the first column linked by each foreign key, display a link arrow within the table cell - When clicking on the link arrow, select the reference table and set the table filters to select the clicked value - Also uses the table cell subclass to allow the entire cell to be editable, not just the contained text (addresses #250)
* Remove old SSH tunnel password prompt script.stuconnolly2009-07-171-12/+0
|
* • narrow-down completion (F5)Bibiko2009-07-151-0/+0
| | | | | - added view icon for Views - improved some tiny code snippets
* - 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.
* - Interface cleanup of various sheets and windowsavenjamin2009-06-243-0/+0
| | | | | | - Fix scroll bar bug in Create Table Syntax HUD window - Convert button bar on LHS to use BWToolkit button bar - Add some new smaller images to replace images previously used on LHS button bar
* Add support for titlebar connection status images, and use for SSH tunnels.rowanbeentje2009-06-143-0/+0
| | | | | | | - Add view and code to support drawing a connection status icon at the left of the titlebar - Use for SSH tunnels; completes Issue #114. - Remove reference to an image resource "j" in the DBView - fixes console log errors.
* 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"
* - Added toolbar icon for table relations.avenjamin2009-06-051-0/+0
| | | | - some TableDocument code cleanup
* Added print accesory view with option to Print Backgroundsbamse162009-06-041-2/+11
|
* • improved narrow-down completionBibiko2009-05-253-0/+0
| | | | | - first trial to use images for suggestions (up to now supported: tables/views, funcs, procs, dbs, otherwise show a transparent dummy)
* • 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.
* - Fixed NSFontPanel issue. Now showing font collections in Font Panelavenjamin2009-05-2110-0/+0
| | | | | | - Replaced some toolbar icons with new ones - Edited some toolbar icons. - Added keyboard shortcut section to preferences (Disabled for now)
* New preference to allow the displaying of vertical grid lines in table views.stuconnolly2009-05-191-1/+3
|
* Move unit tests info plist to resources directory and remove space from unit ↵stuconnolly2009-05-181-0/+20
| | | | tests directory.
* - added ability to view function and procedures and preliminary ability to ↵mtvee2009-05-132-0/+0
| | | | input same via the editor
* Implementation of enhancement #28: Allow customizing default value of NULL ↵stuconnolly2009-05-111-0/+2
| | | | property when adding new table fields.
* Update appcast to use full www.sequelpro.com address.mattlangtree2009-05-091-1/+1
|
* • 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")
* • MySQL Help refactoringBibiko2009-04-291-0/+36
|
* • added ConsoleShowHelps key (TRUE) to the default plistBibiko2009-04-281-0/+2
|
* Clean up print cssbamse162009-04-221-9/+1
|
* - Increment version numbers to 0.9.5rowanbeentje2009-04-211-2/+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
* - Changed console window to match style of main window.avenjamin2009-04-201-0/+0
| | | | | | - New bottom bar. - Both checkboxes moved into gear button with menu. - Clear Console button has new custom image
* - Replaced Favorites image in prefs with our own custom one.avenjamin2009-04-201-0/+0
|
* - New network icon for preferences toolbar avenjamin2009-04-201-0/+0
|
* - Cleaned up connection sheet "Edit" buttonavenjamin2009-04-171-0/+0
| | | | - Added new button_edit image