aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • CSV Import Field MapperBibiko2010-03-223-44/+71
| | | | | - added the chance to mark a global value as SQL statement in the sheet to allow to use a calculated value like LENGTH(`foo`) or NOW() while inserting/replacing/updating • added ^⌥⌘N short-cut Navigator (still hidden)
* When adding an index, after splitting the list of supplied columns strip ↵stuconnolly2010-03-221-16/+10
| | | | leading and trailing whitespace rather than checking whether the first character is empty. This accommodates lists of fields which have more than one leading and trailing empty characters and fixes the following exception: http://log.sequelpro.com/view/70.
* • CSV ImportBibiko2010-03-225-21/+39
| | | | | | | | - if a parsed row in the csv file doesn't have the same number of columns as the first row fill the missing columns with SPNotLoaded to allow while importing that these missing data can be replaced by the table column's DEFAULT value - fixed tiny issue for field mapper sheet to display the correct tooltip for default values • SPTableData - ATTENTION: changed the object for returned key 'default': if its value is NULL now it returns a [NSNull null] object - changed instances to handle this [NSNull null] object (must be checked)
* • fixed bug while CSV importBibiko2010-03-224-7/+31
| | | | - calculate correctly whether global variables are used or not to avoid a crash if the number of columns in the csv file differs
* • NavigatorBibiko2010-03-215-2/+222
| | | | | | | | | | - added 'sync' mode - the navigator follows the active window db/table selection if navigator has not multiple selected items - added drag support of selected items -- as comma separated and backtick quoted string for external apps -- as array of schema paths for SP • CMTextView - added drop support for selected items coming from the Navigator - insert them as comma list relative to current selected db/table
* • NavigatorBibiko2010-03-213-40/+161
| | | | | - preserve selection; if generally possible check if selected item still exists if not select parent if still exists on so forth - a reload should only occurs if structure was changed
* Fix memory leak upon connection window close.stuconnolly2010-03-201-0/+1
|
* - Add a new SPMainThreadTrampoline NSObject category, allowing all ↵rowanbeentje2010-03-205-151/+349
| | | | | | | | | | | | | | | NSObjects to easily proxy commands onto the main thread with any number and type of arguments. - Use the new trampoline and other thread safety tweaks to hopefully address a number of what appear to be threading issues: http://log.sequelpro.com/view/20 http://log.sequelpro.com/view/32 http://log.sequelpro.com/view/41 http://log.sequelpro.com/view/42 http://log.sequelpro.com/view/55 http://log.sequelpro.com/view/64 http://log.sequelpro.com/view/65 http://log.sequelpro.com/view/66
* • Navigator progressBibiko2010-03-202-17/+190
| | | | | | | | - made expand status persistent for current SP session - added draft to display additional information about selected fields - tried the minimize the jittering while resizing outline views (test) Note: to test it simply unhide menu item in MainMenu.xib
* Allow arbitrary questions from SSH. This is necessary to support the ↵jakob2010-03-201-0/+29
| | | | keyboard-interactive authentication method, as used by eg. RSA SecurID
* - Alter historyItemsHaveBeenUpdated: call on startup to be performed on ↵rowanbeentje2010-03-201-1/+1
| | | | main thread without a delay to fix http://log.sequelpro.com/view/33
* (no commit message)Bibiko2010-03-201-6/+1
|
* • some improvements for navigatorBibiko2010-03-192-40/+66
|
* • further work on Navigator (not yet active but workable -> unHide menu item)Bibiko2010-03-199-75/+202
|
* • some progress re NavigatorBibiko2010-03-191-18/+12
|
* • fixed "Clear global history" really removes the global history list in ↵Bibiko2010-03-181-0/+4
| | | | the Prefs
* • further progress for navigatorBibiko2010-03-183-20/+45
|
* • some progress of the navigator approach (not yet active - hidden main ↵Bibiko2010-03-183-50/+59
| | | | menu item)
* - Fix a couple of calls which crashed if the window had already been ↵rowanbeentje2010-03-185-2/+27
| | | | | | | closed, fixing window close on query startup or after queries; this fixes http://log.sequelpro.com/view/9 - Fix an exception caused in the NavigatorController if the dbstructure has not been fetched yet
* Present a warning to the user when attempting to print the current table's ↵stuconnolly2010-03-185-14/+74
| | | | content view which exceeds a set number of rows. This number is currently set to 1000 which can be changed via the hidden preference key 'PrintWarningRowLimit'. The approach to cancelling the print HTML generation thread may also need to be re-implemented to ensure that it is killed straight away, something that is currently not possible using NSThread. Rowan suggested using pthreads instead, but this should be discussed in terms of potential memory leaks and stability.
* • initial commit to support a connection/schema navigator (not yet active ↵Bibiko2010-03-174-0/+355
| | | | - to try see line 1134 in TableDocument.m)
* • changed NSDictionary structure for [MCPConnection queryDbStructure]Bibiko2010-03-171-2/+4
| | | | | | - added key, extra, privileges information to it - changed object type for 'field_name' to an array containing the values type, charset, key, extra, priv - completion for fields now also shows PRI, MUL, etc. keys
* - fixed bug for nested snippets if a nested snippet is located at the very ↵Bibiko2010-03-172-1/+14
| | | | | | end of the text buffer and has no default value - added a range sanity check for completion before insertion of the chosen item
* • Connection Controller ViewBibiko2010-03-161-0/+17
| | | | | - set favorite table's next key view in ConnectionView to tab view (standard,socket,ssh) to allow to navigate via ⇥ - if password field of the current selected connection in the ConnectionView is empty set first responder to it since it's very likely that user wants to fill it; otherwise favorite table is first responder
* • fixed bug while presetting the mirrored snippets to their counterparts; ↵Bibiko2010-03-161-5/+5
| | | | take into account the relative position of the insertion point (tab trigger)
* • added help button to Query Favorites EditorBibiko2010-03-162-0/+6
|
* • Query FavoritesBibiko2010-03-164-7/+200
| | | | | | | | | - added support for mirrored snippets $x x:= to be mirrored snippet index - example: SELECT $1.${2:} FROM ${1:¦$SP_ASLIST_ALL_TABLES¦} WHERE $1.${3:} = ${4:value} AND $1.$2 = • CMTextView - fixed completion issue for fuzzy search - added {} chars as auto-pair for connivence
* Modify our current implementation of all singleton instances to be inline ↵stuconnolly2010-03-165-32/+23
| | | | with Apple's recommendations detailed at http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/CocoaObjects.html#//apple_ref/doc/uid/TP40002974-CH4-SW32 This also fixes the associated static analysis warnings of potentially leaked objects.
* - Make a number of changes to attempt to improve disconnection/quit ↵rowanbeentje2010-03-1610-28/+26
| | | | | | | | | crashes: prevent multiple disconnects, add more checks, cancel current queries, and add a tiny delay to allow mysql cleanup. - Alter MCPStreamingResult to no longer return a retained instance, setting up correct result disposal on autorelease but changing callers to retain as soon as they receive. - Review and change a number of local variables shadowing/shielding other local or global variables.
* Fix a couple more potential issues found during static analysis.stuconnolly2010-03-153-5/+6
|
* Fix some potential issues found during static analysis.stuconnolly2010-03-155-10/+24
|
* Following a manual code review, fix some local variables overriding global ↵rowanbeentje2010-03-1512-18/+40
| | | | variables, a few leaks, and additional nil setting/checking to prevent overreleases or releases of random areas of memory.
* Peform the removal of table fields on a background thread with the option to ↵stuconnolly2010-03-141-17/+43
| | | | cancel the operation to prevent locking up the main thread.
* • CSV Import Field MapperBibiko2010-03-141-0/+15
| | | | - added to table target popup menu "Refresh List" menu item, since the user can add/change a table in an other connection window
* - Review copyWithZone: implementations and standardise on best practice ↵rowanbeentje2010-03-143-4/+10
| | | | recommendations
* Update Localizable.strings by running genstrings and remove the use of ↵stuconnolly2010-03-141-2/+2
| | | | multiple comments for the same string.
* Peform the addition and removal of table indexes on a background thread with ↵stuconnolly2010-03-142-22/+54
| | | | the option to cancel the operation to prevent locking up the main thread. Fixes issue #591.
* • fixed printDocument validation if Custom Query is activeBibiko2010-03-131-5/+5
| | | | - allow to print the Custom Query result table even if no database/table is selected
* Don't attempt to release the print thread at the beginning of a print operation.stuconnolly2010-03-131-4/+5
|
* Add additional thread cancellation checking when generating HTML for ↵stuconnolly2010-03-131-6/+4
| | | | printing to ensure the current thread is not the main thread.
* - Fix an exception when following a foreign key relationship to a null ↵rowanbeentje2010-03-131-4/+10
| | | | | | | value in another table (this addresses http://log.sequelpro.com/view/53 ) - Fix filtering within the same table when following foreign key relationships
* Allowing printing of empty table views to prevent crashes.stuconnolly2010-03-131-54/+39
|
* Perform HTML generation for printing on a background thread, displaying the ↵stuconnolly2010-03-134-11/+84
| | | | usual progress indicator with the ability to cancel it. Still need to add warnings when attempting to print a table content with a large number of rows or a lot of data.
* - Add toolbar item for Triggers interfaceavenjamin2010-03-131-0/+13
| | | | - Add table triggers toolbar icon
* - Fix some leaks and autoreleases after checking static analysisrowanbeentje2010-03-134-26/+13
|
* tiny improvement for printDocument: menu item validationBibiko2010-03-131-2/+7
|
* • Extended Table Info printingBibiko2010-03-131-0/+16
| | | | | - set create table syntax string temporarily to 10pt for printing - before gathering print data set focus to createTableSyntaxView to update possible pending comment changes
* Add support for printing a table's create syntax with syntax highlighting.stuconnolly2010-03-131-6/+21
|
* Add support for printing the table triggers view as well some HTML ↵stuconnolly2010-03-134-13/+89
| | | | generation performance improvements.
* • fixed printing of Extended Table Info if Create Table Syntax view has focusBibiko2010-03-132-1/+11
| | | | | - regardless of focus it prints the table info sheet - only if user selects something then the create syntax will be printed