aboutsummaryrefslogtreecommitdiffstats
path: root/Interfaces
Commit message (Collapse)AuthorAgeFilesLines
* • CSV Import Field MapperBibiko2010-02-191-9/+29
| | | | | | | - 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
* • CSV Import Field MapperBibiko2010-02-181-28/+97
| | | | | - 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-83/+57
| | | | | | | | | - 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-60/+124
| | | | | - 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-171-15/+74
| | | | | | | | - 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-171-18/+584
| | | | | | | | | | | | • 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-171-4/+62
| | | | | | - 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-161-20/+51
| | | | | - 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-161-15/+39
| | | | | | - added target table field primary key info - added to align the csv fields by 'file order' and 'reversed file order'
* • csv field mapperBibiko2010-02-161-25/+80
| | | | | | - added target table field type and default info - disable Import button if no target table fields are available
* • removed arrowsBibiko2010-02-161-35/+11
| | | | • fixed spellings
* • improved csv field mapper GUI a bitBibiko2010-02-161-22/+153
|
* • field mapper controllerBibiko2010-02-161-24/+494
| | | | | | | | | | - 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-162-1157/+296
| | | | | | | | | | | | | | | | | | - 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-151-75/+73
|
* Made Available Privs table not enabled unless a schema is selected.mltownsend2010-02-141-9/+8
|
* Fix bug where adding a user, setting name and password, then immediately ↵mltownsend2010-02-081-1/+11
| | | | hitting Apply didn't end editing in the password field.
* 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-061-49/+54
| | | | 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-061-0/+0
| | | | use of multiple keys.
* Complete the implementation of the management of table triggers (accessible ↵stuconnolly2010-02-061-104/+922
| | | | 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
* • some further work at the new field mapper sheetBibiko2010-02-051-134/+145
|
* • fixed endless loop if user selects a table whose name contains chars ↵Bibiko2010-02-051-16/+14
| | | | | | which are not support by the current set encoding • added DataMigrationDialog.xib to Xcode project
* • refactored the entire history logic in Custom QueryBibiko2010-02-051-17/+229
| | | | | | - 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
* • 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-041-73/+77
| | | | initial problem.
* • field mapping sheet is now document-modal instead of blocking SP entirelyBibiko2010-02-031-24/+198
| | | | | | | • 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
* Moved the schema priv tab over and selected first host if user is selected ↵mltownsend2010-02-021-271/+271
| | | | when tab is selected.
* Refresh function added to user manager.mltownsend2010-02-021-4/+4
|
* • further work on SPFieldMapperControllerBibiko2010-02-021-24/+206
|
* • CMTextViewBibiko2010-02-021-7/+7
| | | | | | - 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
* • added key-shortcut ⌘= to make the textview size largerBibiko2010-02-021-85/+54
| | | | | | | | • ⌘-, ⌘+, ⌘= 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-021-14/+1154
| | | | on non Production servers
* • CMTextView: switch off syntax highlighting if text buffer size is larger ↵Bibiko2010-02-011-46/+87
| | | | | | than SP_SYNTAX_HILITE_BIAS (has to be improved) • added SPFieldMapperController
* • Added basic print support for each CMTextViewBibiko2010-02-011-53/+1107
| | | | • first steps to renew the field mapper sheet for CSV Import
* Added preliminary support for triggers. You can access the tab via the bamse162010-01-312-116/+1187
| | | | | | | | | | | | | | | | | | | | 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-301-35/+316
| | | | | | | | 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)
* Fix bugs introduced by last commit.avenjamin2010-01-302-257/+291
| | | | | - SplitView divider now thin - Search Box appears again
* - removed two occurances of runModalForWindow: when asking questions for the ↵jakob2010-01-281-37/+104
| | | | SSH-helper (see #357)
* * renaming a table/view/proc/func now doesn't open a sheet anymorejakob2010-01-281-443/+101
| | | | | * table name checks now correctly consider only functions when working with functions * when an empty table name is entered, the change is ignored (like in finder)
* • improved the graphical representation of text macro snippetsBibiko2010-01-271-67/+5
|
* • tiny GUI corrections like autosave split view size, table locationBibiko2010-01-251-16/+23
|
* • added possibility to add a query favorite by user-definable alphanumeric ↵Bibiko2010-01-241-44/+273
| | | | | | | | | tab trigger; eg if tab trigger is set to "sel" sel⇥ will insert the first query which has the defined the tab trigger • preparations to insert programmable query favorites - eg "SELECT ${*} FROM ${Table}" -- after insertion "SELECT * FROM Table" the '*' is highlighted to change, press ⇥ to select the next snippet 'Table'; ⇧⇥ selects the previous snippet; the snippet selection follows the user input - Note: not yet active
* • User Manager SheetBibiko2010-01-131-11/+11
| | | | - bound ESC to Cancel button
* Menu item label.stuconnolly2010-01-061-0/+0
|
* • first trial to improve the search field behaviour for Query Favorites ↵Bibiko2010-01-051-39/+76
| | | | | | | | and Query History popup menus - the keys ↑ or ↓ inside an activated search field abort the current text field editor to allow to navigate through the result menu items by using the keyboard - up to now one has to press ↑ or ↓ twice to select - still work in progress
* • added Save/Copy History List to "Query History"'s popup menuBibiko2010-01-051-45/+172
| | | | | | | | • moved "Clear History" from gear menu to "Query History"'s popup menu and added a confirmation sheet to it • "Clear History" now distinguishes between Untitled and SPF doc - if Untitled: clear global history list stored in the Prefs - if SPF doc: clear the document-based history list only
* • changed the alternating key to ⌥ instead of ⌘ for "Query Favorites" ↵Bibiko2010-01-041-4/+5
| | | | > "Save All/Query to Favorites" to be consistent with other Mac apps