aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • CSV Import Field MapperBibiko2010-02-191-7/+45
| | | | | | | - added to csv field popup menu: "Ignore all fields", "Import all fields" - if user changed a matching pair field change the "Align fields by:" to "custom order" to make it more transparent - if user inserts a just added global var to a field which was set to "Ignore field" set it to "Import field" - unified some messages
* - Fix a data storage incorrect reassignment after a realloc - cause of ↵rowanbeentje2010-02-191-5/+4
| | | | source view changes/content view update crashes, and almost certainly memory leaks and other crashes
* • fixed threading issue if user performs query in Custom Query all the ↵Bibiko2010-02-182-9/+3
| | | | | | | time by holding down ⌘R for a long time caused by updating the history - removed unnecessary updating of the historyButton - updating of all docs is now performedOnMainThread:waitUntilDone:NO
* • CSV Import Field MapperBibiko2010-02-182-16/+22
| | | | | - some tiny improvements like "Add global value…" adds a new value automatically; if checkbox "Use current value" is ticked use that value in mapping array automatically to speed up defining global vars - some code cosmetics
* • CSV Import Field MapperBibiko2010-02-181-2/+27
| | | | | | | | | - added the csv source field popu: "Ignore field" to set the current field to doNotImport "Add global value…" which opens the global value sheet - removed "Add global value" button Note: still not the optimal solution - further work is needed. esp. avoid jittering if user selects "Ignore field" or "Add value…"
* • CSV Import Field MapperBibiko2010-02-181-1/+1
| | | | - fixed bug, detect if csvimportarray contains global vars correctly
* • CSV Import Field MapperBibiko2010-02-184-3/+61
| | | | | - allow to define a list of global variables (incl. a true NULL value) - such a global variable will be inserted into the mapped table target field for all rows imported
* • TableDumpBibiko2010-02-172-25/+18
| | | | | | | | - introduced new method: - (void)showErrorSheetWithMessage:(NSString*)message to unify it and made all error sheets doc-modal (not app-modal) - Close button of the errorSheet now also listens at ESC
* • further progress for 'add global source value'Bibiko2010-02-174-95/+255
| | | | | | | | | | | | • 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
* • csv file import mapperBibiko2010-02-174-11/+28
| | | | | | - added button "Go Back" ⌥← to go back to the file chooser (mainly for correcting delimiter etc.) - improved selecting csv file columns for the case that column was set as 'Do not import'; now if set to 'Do not import' the value is hidden, click the user on it the popup menu appears and the operator is set to 'Do import' automatically • TableDump now remembers the last chosen csv file name
* • csv field mapperBibiko2010-02-162-5/+53
| | | | | - added chance to align the csv field and table field names via 'matching names' which uses the Levenshtein distance [first approach] if csv file's first line is an header
* • csv field mapperBibiko2010-02-162-3/+34
| | | | | | - added target table field primary key info - added to align the csv fields by 'file order' and 'reversed file order'
* • csv field mapperBibiko2010-02-162-6/+45
| | | | | | - added target table field type and default info - disable Import button if no target table fields are available
* • removed arrowsBibiko2010-02-162-7/+19
| | | | • fixed spellings
* • field mapper controllerBibiko2010-02-163-9/+19
| | | | | | | | | | - fixed precocious releasing of mapper settings - fixed boolean binding for displaying "1 of first 100 records" - added further gui elements (not yet activated) - sheet dimensions are now auto-saved - bound keystroke ⇢ and ⇠ to row stepper - renamed some stuff - added clarification notes
* • re-factored and outsourced the entire CSV import field mapper sheetBibiko2010-02-164-281/+376
| | | | | | | | | | | | | | | | | | - changed the way to choose whether a source field should be imported or not by introducing a new table column 'operators' - clicking at the 'operator's header toggles all operators to 'Import' or 'Do not import' - added tooltips for each table cell; if file's first line are the headers show them in the tooltips as well - added checkbox "First line contains fields names" since it'll be clear in this pane whether a file has a header line or not (will be sync with prefs) - added the possibility to choose the import method: INSERT INTO or REPLACE INTO • deleted all old field mapper stuff from TableDump and DBView.xib Notes: - tests are needed to be sure that this change does not cause mismatches while importing - symbols for Do (not) import are tendative - maybe use images - a further import method UPDATE plus an operator '=' will be added soon - chance to add a new global source variable will come soon - displaying of source field types will come soon - semi-automatically matching of source field names and header names will come soon - the GUI needs some improvements afterwards
* • some further progress for the new csv import field mapper sheetBibiko2010-02-152-6/+45
|
* • corrected regexp for parsing text macro snippetsBibiko2010-02-151-3/+3
|
* Made Available Privs table not enabled unless a schema is selected.mltownsend2010-02-141-1/+5
|
* • improved text macro snippet behaviourBibiko2010-02-134-48/+90
| | | | | | • improved the ability to run bash commands inside of snippets • ignore most of the syntax highlighting inside snippet declarations • fixed issue in CMTextView to use obj class variables only to generalise this object
* - Implement result view saving in a more general way within CustomQuery; ↵rowanbeentje2010-02-112-20/+102
| | | | now when editing custom query results *and* sorting custom query results, scroll position and selection index are preserved
* - Tweak SPFavoriteTextFieldCell, releasing the hostname on dealloc and ↵rowanbeentje2010-02-111-1/+4
| | | | retaining on copyWithZone: to avoid issues
* 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-1010-19/+30
| | | | 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-082-15/+32
| | | | 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.
* - Trigger a full table reload when the table type is changed; makes ↵rowanbeentje2010-02-062-2/+4
| | | | 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-062-3/+3
| | | | use of multiple keys.
* Complete the implementation of the management of table triggers (accessible ↵stuconnolly2010-02-065-186/+104
| | | | 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.
* • 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-054-12/+38
|
* (no commit message)Bibiko2010-02-051-5/+7
|
* • fixed endless loop if user selects a table whose name contains chars ↵Bibiko2010-02-052-2/+6
| | | | | | 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-054-31/+107
| | | | | | - 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-058-369/+313
| | | | | | | | | | | 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)
* Fix for issue #560. Still needs validation on hitting Apply, but fixes the ↵mltownsend2010-02-042-4/+59
| | | | 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-034-11/+71
| | | | | | | • 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-021-1/+2
| | | | when tab is selected.
* Fix weird issue with lines not compiling in release mode.mltownsend2010-02-021-4/+4
|