aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Made it so that the host can't be null. Goes to '%' by default.mltownsend2010-02-103-1/+13
|
* Fix a number of memory leaks, and over-releases, as both a result of manual ↵rowanbeentje2010-02-1013-42/+55
| | | | inspection of leaks and Clang static analysis.
* Fixed some issues with the drop user/drop host commands in the user managermltownsend2010-02-094-7/+28
|
* - Save and restore content table sorting, filter criteria, scroll position ↵rowanbeentje2010-02-093-1/+57
| | | | | | | and selection when switching tables and databases. This implements Issue #469. - Fix history bug causing column sorts to always be restored ascending
* Fix bug where adding a user, setting name and password, then immediately ↵mltownsend2010-02-083-16/+43
| | | | hitting Apply didn't end editing in the password field.
* Disable the addition of triggers on versions of MySQL less than 5.0.2 when ↵stuconnolly2010-02-072-14/+40
| | | | support for them was initially added.
* Make the add new trigger sheet resizable to accommodate complex trigger ↵stuconnolly2010-02-071-37/+44
| | | | statements.
* - Trigger a full table reload when the table type is changed; makes ↵rowanbeentje2010-02-063-51/+58
| | | | relations etc immeadiately available on changes to InnoDB, and updates a number of status variables
* Localize delete relation context menu item, update Localizable.strings and ↵stuconnolly2010-02-063-3/+3
| | | | use of multiple keys.
* Complete the implementation of the management of table triggers (accessible ↵stuconnolly2010-02-066-290/+1026
| | | | via Cmd+6). Note, that better support for entering the trigger statement in terms of escaping and delimiter support most likely needs to be added.
* - Tweak the background colours of the NSTableView behind the table filter ↵rowanbeentje2010-02-061-15/+20
| | | | so that background windows have a uniform background colour
* - Restore a missing link between TableDocument and TableRelationsInstance. ↵rowanbeentje2010-02-061-362/+77
| | | | Resolves #559 and #562
* • initial implementation of bash execution inside ${x:…} snippetsBibiko2010-02-061-25/+52
| | | | | | - eg SELECT "${2:$(curl 'http://www.sequelpro.com/index.html' | perl -pe 's/\"/\\"/g')}" - testing phase! - each bash task can be interrupted by ⌘.
* • further preparations to allow to run any bash command(s) incl. any ↵Bibiko2010-02-062-0/+59
| | | | | | | | | scripts like Perl, Ruby, AppleScript etc inside the text macro snippets of the query favorites and insert the result for such a bash command as snippet à la: SELECT ${1:$(cat ~/Desktop/foo.txt)} or ${1:$(open 'http://www.sequelpro.com')} - such a task can be interrupted by pressing ⌘ + . anytime - if the task doesn't exit successfully the error will be written into the the standard Console log - not yet activate
* • improved completion behaviour of suggestions containing spaces; a second ↵Bibiko2010-02-052-5/+12
| | | | space will cancel the list to allow a more natural typing
* • some further work at the new field mapper sheetBibiko2010-02-055-146/+183
|
* (no commit message)Bibiko2010-02-051-5/+7
|
* • fixed endless loop if user selects a table whose name contains chars ↵Bibiko2010-02-054-18/+32
| | | | | | which are not support by the current set encoding • added DataMigrationDialog.xib to Xcode project
* • fixed synchronisation of history lists if more than one instance of the ↵Bibiko2010-02-053-32/+25
| | | | | | same SPF file is open - simplified code a bit
* • forgotten to remove debug logsBibiko2010-02-051-2/+0
|
* • refactored the entire history logic in Custom QueryBibiko2010-02-055-48/+336
| | | | | | - queries which are longer than then 64 chars are truncated in title and queries which are longer than then 256 chars are truncated in tooltip to avoid processing time to load very long queries from history; this also decreases the memory usage - added "Insert Next/Previous History Query" logic bound to ^↑ and ^↓ - fixed tiny GUI spacing problem in Custom Query
* - Rework SPSQLParser, extending DELIMITER support into all the original ↵rowanbeentje2010-02-059-370/+314
| | | | | | | | | | | functions (off by default). Remove the forked "...Sql..." functions, as they're now duplicates, and switch CustomQuery to using the original methods. - TableDump imports can now process DELIMITERs correctly as a result. - Alter the TableDump display of tables etc to use TablesList as the source of information, and used cached lists where appropriate for a small speedup. Also means we gain consistent sorting. - Display procedures and functions in the toggleable list when exporting as SQL - Tweak the procedure and function export to only export selected items, and also to respect the "export drop syntax" and "export create syntax" checkboxes - Fix a crash when removing items from the TablesList resulted in an errorneous selection by deselecting all rows before deleting (and preemptively applying the same fix to TableContent)
* • bound ⌥⌘H to Mac's default "Hide others"; fixes i561Bibiko2010-02-042-47/+38
| | | | •rebound ⌥⌘Y to open the "Query History"
* Fix for issue #560. Still needs validation on hitting Apply, but fixes the ↵mltownsend2010-02-043-77/+136
| | | | initial problem.
* • fixed undo behaviour of insertion of history/query favsBibiko2010-02-042-5/+17
| | | | • improved text macro/query favs insertion logic
* Patch to filter available privs by what the server supportsmltownsend2010-02-031-2/+1
|
* • improved error handling in Structure View for adding/renaming/removing a ↵Bibiko2010-02-033-4/+37
| | | | | | | field if the actual underlying table doesn't exit anymore; now it informs the user, clean the view, and reloads the Table List • improved error handling in Content View for refreshing data for the current table if the table doesn't exist anymore - this fix and the fix in [TableContent setCompareTypes:] to check for valid table data removes some NSPlaceholderString and NSScanner warnings
* • field mapping sheet is now document-modal instead of blocking SP entirelyBibiko2010-02-035-35/+269
| | | | | | | • if an error occurred while retrieving column or index data in Structure pane reset Structure pane to a stable status, display the error message, and reload Tables List table due to the fact the it's very likely that SP tries to retrieve data from a table which doesn't exist anymore • fixed spelling of "occurred" Note: NOT YET DONE: if in Structure view the actual underlying table was deleted or renamed by an other mysql event and the user tries to add/change a field do suppress this attempt safely
* Fixed refresh problem on the schema privsmltownsend2010-02-031-0/+3
|
* - When copying (as TSV) or dragging rows, copy BLOBs and binary TEXTs as ↵rowanbeentje2010-02-031-6/+21
| | | | | | | they are shown - as strings. This addresses Issue #558. - Remove some unused variables
* Moved the schema priv tab over and selected first host if user is selected ↵mltownsend2010-02-022-272/+273
| | | | when tab is selected.
* Fix weird issue with lines not compiling in release mode.mltownsend2010-02-021-4/+4
|
* Refresh function added to user manager.mltownsend2010-02-022-10/+11
|
* • further work on SPFieldMapperControllerBibiko2010-02-023-26/+342
|
* • CMTextViewBibiko2010-02-022-8/+11
| | | | | | - suppress current query/syntax highlighting for text buffer size > 20MB to allow at least editing and performing queries • Main Menu - set hidden new Export menu item to key ⇧⌘E and reset "Use selection for searching" to ⌘E since it's a standard Mac binding
* • fixed partially syntax highlighting for very very long linesBibiko2010-02-021-7/+25
| | | | • fixed some NSUInteger checks à la while(NSUInterger >= 0) since it's always > 0
* • added key-shortcut ⌘= to make the textview size largerBibiko2010-02-023-112/+100
| | | | | | | | • ⌘-, ⌘+, ⌘= changes the font size temporarily (Mac app conform) • added key-shortcut ⌘0 to reset the font to pref default • fixed search field background for Tables List • fixed NSUInteger for completion parsing; interrupt completion if parsed string length is larger than 100000 since it doesn't make sense and leads to warnings
* First stab at Schema Privileges. A UI redesign is on its way. Please test ↵mltownsend2010-02-026-24/+1529
| | | | on non Production servers
* • fixed in CMTextView several NSInteger which has to be NSUInteger; this ↵Bibiko2010-02-021-21/+21
| | | | | | led to an issue that SP crashed for very very long lines/queries - this has to be investigate further!
* • sped up Query Editor for larger textBibiko2010-02-013-109/+123
| | | | - rewrote [NoodleLineNumber requiredThickness] completely to avoid stack overflow for larger text due to [NSMutableString string] plus appendString all the time without releasing it in time
* - Check whether super implement awakeFromNib before calling to fix 10.5 ↵rowanbeentje2010-02-011-1/+3
| | | | compatibility
* • CMTextView: switch off syntax highlighting if text buffer size is larger ↵Bibiko2010-02-015-52/+180
| | | | | | than SP_SYNTAX_HILITE_BIAS (has to be improved) • added SPFieldMapperController
* • re-enabled possibility to change the font size of non-editable ↵Bibiko2010-02-011-2/+2
| | | | CMTextViews via ⌘+, ⌘-, or trackpad pinch in/out gesture
* • Added basic print support for each CMTextViewBibiko2010-02-013-92/+1170
| | | | • first steps to renew the field mapper sheet for CSV Import
* • improved text macro snippet logicBibiko2010-02-011-17/+19
|
* • Content Table and Query Editor table's tooltip are displayed by using ↵Bibiko2010-01-313-98/+26
| | | | | | the same font/size as the table cells • CMTextView: make sure that some methods are never called if the CMTextView is set to 'not ediable'
* Added preliminary support for triggers. You can access the tab via the bamse162010-01-3111-116/+1839
| | | | | | | | | | | | | | | | | | | | menu item View > Table Triggers (apple-6). Heavily copied from Relations tab, lots of functionality missing. Just lists the triggers for the table now. M Source/SPTableData.m M Source/SPConstants.h M Source/SPConstants.m A Source/SPTableTriggers.h A Source/SPTableTriggers.m M Source/TableDocument.h M Source/TableDocument.m M Source/SPTableData.h M Interfaces/English.lproj/MainMenu.xib M Interfaces/English.lproj/DBView.xib M sequel-pro.xcodeproj/project.pbxproj
* • CMTextView's colours are set via observer, live changed in editable ↵Bibiko2010-01-3011-120/+448
| | | | | | | | 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)
* Rework CMCopyTable copy functionality and related code:rowanbeentje2010-01-304-200/+211
| | | | | | | | | | - Reverse the effects of the r1664/r1690 combination, restoring the original link from CMCopyTable to the underlying data source - Adapt the code to retrieve information from the new SPDataStorage; update SPDataStorage as necessary if underlying data changes - Refactor and speed up various checks and loops for speed and logic improvements - Ensure the binary-encoded TEXT data is hex encoded rather than retrieved as "<123ABC 123ABC...>" NSData representations - Fix some memory leaks This resolves Issue #533 and the original "Copy as SQL" issue
* • suppress the display of table cell tooltips if TableDocument isWorking ↵Bibiko2010-01-302-2/+2
| | | | to avoid unstable tooltip status