aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* - Enable Sparkle anonymous stat collectionrowanbeentje2010-03-171-0/+2
|
* • initial commit to support a connection/schema navigator (not yet active ↵Bibiko2010-03-176-0/+1544
| | | | - to try see line 1134 in TableDocument.m)
* Add the running of genstrings(1) at the start of the general build script to ↵stuconnolly2010-03-171-2/+18
| | | | update Localizable.strings to ensure it is always up to date. This addresses the second point of issue #593. Also, add a bunch of status messages to the script to provide feedback on the current operation.
* Consolidate all localizable content in the Resources/ directory and only use ↵stuconnolly2010-03-1727-100/+85
| | | | Interfaces/ for XIBs. This addresses the first point on issue #593.
* • changed NSDictionary structure for [MCPConnection queryDbStructure]Bibiko2010-03-172-8/+14
| | | | | | - 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-162-15/+72
| | | | | - 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-163-22/+225
|
* • 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-1614-36/+48
| | | | | | | | | 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-1515-25/+48
| | | | 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-142-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.
* Uppercase menu items.stuconnolly2010-03-141-14/+805
|
* • 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
* - Update feedback reporting framework to no longer submit crash logs on ↵rowanbeentje2010-03-131-0/+0
| | | | first launch of a version containing the framework. This will make the first-launch 0.9.8 experience much nicer, and avoid submitting lots of out of date reports.
* 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-133-0/+17
| | | | - Add table triggers toolbar icon
* - Fix some leaks and autoreleases after checking static analysisrowanbeentje2010-03-135-26/+16
|
* 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
* Complete the Sparkle update, re-adding the updated nibsrowanbeentje2010-03-1325-0/+0
|
* Apply a number of updates to the Sparkle autoupdate framework from the ↵rowanbeentje2010-03-1381-1916/+4
| | | | | | | | | | | | | | | | github master: - Fix crashes in NSURLConnection (9d260f9b0e330adae01ca3255af194f46c7809b7) - Fix bad NSStrings caused by non-terminated [cleanedAgent bytes] (d1c54608f77146e9b3a4c2ade5bbd5f5addfdf45) - Fix for Sparkle Bug #393388: Leaking NSFileManager errors (afe8afc41f414af3234426a7406fe486f75e8485) - Fix dictionary leak in system version fetch (f259b5e825098e8695713e16a39cf9d9b4d90edc) - Fix NSMethodSignature leak (2d47989616547cde6cccb36ff4a33370b1b1f01c) - Fix scheduleNextUpdateCheck crasher (9b5b541c8266cd009ee6fc779156c1a1207e8661) - Fix appcast download crash on 10.5 if download fails (bd80144c7b67b7a66c215e40174dfb9310843573) - Fix additional permission prompt autorelease crash (96ea09e44f018c9e10f9a1911b2104e164301876) - Fix fr_CA.lproj symlink and generation (10bcc69c80cf58c831a411a7abf5012f3614fb10 and 0904ec151c242bc9a7a9976ed56a32e5a3b93951) To be followed by a second part, restoring deleted nibs to be replaced by flattened 10.5+ nibs
* Add support for printing a table's create syntax with syntax highlighting.stuconnolly2010-03-132-7/+24
|
* 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-133-35/+54
| | | | | - regardless of focus it prints the table info sheet - only if user selects something then the create syntax will be printed
* Lots more printing support enhancements, including:stuconnolly2010-03-1311-97/+353
| | | | | | | | | - The ability to print the extended table information view using a new template. - The inclusion of NULL values diaplyed as the user's NULL value placeholder when printing a table's sturcture and indexes. - If enabled in the user's preferences, the inclusion of vertical gridlines in the table views. - Dynamic calculation of page margins based on the paper size of the selected printer as opposed to using hard coded values. - Lots of other little style enhancements.
* • fixed completion strings for DELIMITERBibiko2010-03-121-2/+4
|
* Rework the running of custom queries, improving thread safety by splitting ↵rowanbeentje2010-03-122-114/+149
| | | | out table drawing and status/error drawing onto their own methods. This should address http://log.sequelpro.com/view/28 , http://log.sequelpro.com/view/45 and http://log.sequelpro.com/view/48
* Various printing support enhancements, including:stuconnolly2010-03-1214-238/+488
| | | | | | | | | - Splitting out all printing methods to SPPrintController which is category of TableDocument. - The ability to print table relations. - If present the inclusion of table indexes when printing a table's source. - If the user has use monospaced fonts enables, then the print out's tabular data will be in a monospaced font. - Lots of other style enhancements, including page headings and sections headings.
* • append () after completion of a stored procedureBibiko2010-03-111-2/+2
|
* - Improve SPTextAndLinkCell by not following links when the starting click ↵rowanbeentje2010-03-111-0/+3
| | | | was outside the link cell. Thanks to Brian Dunagan for this improvement ( http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/ )
* - Use a modified connection timeout for the keepalive ping timeout, topping ↵rowanbeentje2010-03-111-5/+13
| | | | | | | out at 30 seconds to prevent sleeping threads - Improve keepalive timer interaction
* Include the current table name in printing support. Fixes issue #501.stuconnolly2010-03-102-87/+104
|
* Fix the enabling/disabling of the 'Table' menu items as a result of adding ↵stuconnolly2010-03-101-50/+52
| | | | the 'Filter Tables...' item. Note, that should ideally be moved to the menu item validation method to prevent future problems.
* Add a 'Keyboard Shortcuts' menu item to the 'Help' menu which opens the page ↵stuconnolly2010-03-105-239/+62
| | | | http://www.sequelpro.com/docs/Keyboard_Shortcuts.
* • auto-completionBibiko2010-03-101-0/+7
| | | | | - suppress completion window if only one item is found and the typed word is equal to it (case-insensitively) - fixed memory leak