aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge further revisions from trunk back to the 1.0.x release branch:rowanbeentje2013-05-064-68/+117
| | | | | | | | - r4090: Issue #1536: Add the option to force delete a table, which will disable then re-enable foreign checks. Also, provide a more helpful error message when a table cannot be deleted because of foreign key constraints - r4091: Update localisation comment - r4092: Include Spanish translators in Credits - r4093: Fix truncation of table content BINARY values which are being edited in-place, addressing Issue #1702; Ensure that truncation of data values includes an ellipsis to make it clear when performance-based truncation is occurring
* Merge further revisions back from trunk to the 1.0.x release branch, ↵rowanbeentje2013-04-2822-314/+473
| | | | | | | | | | | | | | | | | | | | | | potentially comprising the last of 1.0.2: - r4066: Fix query status and error message title to not always suggest an error has occurred, addressing Issue #1670 - r4067: Fix validation of the "Add to Favorites" File menu item when editing past favorites; Fix the action of the "Add to Favorites" File menu item to correctly create the new favorite; These address Issue #1666 - r4068: Move the SPBeginWaitingAlertSheet function to a beginWaitingAlertSheetWithTitle:... class method on a new SPAlertSheets class, allowing us to use invocation forwarding to ensure the entire function is executing on the main thread. This allows runloop processing to happen on the main thread, addressing Issue #1676 - r4069: Fix newline warnings - r4070: Issue #1601: Fix menu items not being validated properly once a connection is established - r4071: Split the process list controller's table view data source and delegate methods into their own category - r4072: Fix process list kill query/connection actions not using the correct ID if the list was filtered - r4074: Correctly link the SSH name field, fixing issues editing and automatically filling in connection names on the SSH tab, addressing Issue #1686 - r4075: Specify the NULL status of fields when creating view placeholders on export, fixing problems with invalid timestamp NULL defaults, addressing Issue #1688 - r4076: Add a spotlight comment to allow easy location of Sequel Pro with other search terms than the name - r4077: Fix string type detection, addressing errors when converting string types to blob or binary fields (addressing Issue #1453) - r4078: Composite Foreign Keys will now show all columns in Relation view (workaround) - r4079: Changed a query (addressing issue #1687); Make some strings localizable - r4087: Fix another issue causing ALTER statements to error for binary column types being edited, further addressing Issue #1265 - r4088: Update version number to 1.0.2
* Merge further revisions back from trunk to 1.0.x release branch:rowanbeentje2013-04-287-71/+512
| | | | | | | | - r4062: Fix build warning - r4064: Combine the "Run All" and "Run Current/Previous/Selection" buttons into a single button with dropdown menu with ability to change the default action: Create a new SPComboPopupButton class; this subclasses NSPopupButton to retain the ability to show the popup menu, but only when the right-hand side of the button is pressed, allowing the rest of the button to perform the click action; Combine the previous two "Run" buttons on the Custom Query view into a new SPComboPopupButton; Move the Run menu items from the gear menu into the Run button popup menu so they can be discovered more easily (and the shortcuts seen more easily) ; Add a menu item to switch the button's default action, which also swaps all associated shortcuts; Clean up associated logic. This implements Issue #1569 - r4065: Alter the SPComboPopupButton to ignore clicks started in the left-hand part of the button but ended in the right-hand part of the button; Change the button to use "Run All" instead of "Run All Queries" to avoid localisation issues
* Merge further revisions from trunk back to the 1.0.x release branch:rowanbeentje2013-04-2825-172/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - r4034: End editing for deleting content filter or query favourites, addressing exceptions and Issue #1648 - r4035: Apply schlabberdog's fix for log #3969, addressing Issue #1647 - r4036: Fix an error parsing SQL inside an unterminated delimiter statement causing an off-by-one error in positioning, addressing Issue #1643 - r4037: If date-type fields are cleared, and allow NULLs, save the cell value as NULL; this implements Issue #1638 - r4038: Alter the content filter manager and the query favourite manager to import items from a file into the Global group if the document is untitled, improving import UX and addressing Issue #1616 and Issue #1645. Also select and scroll to the newly imported items for clarity. - r4039: Fix crashes in the User Manager when fields don't validate but a save/cancel/tab switch is still triggered, addressing Issue #1627 - r4041: Tweak and improve the User Manager: Rework how data to populate the user manager is retrieved from the server, speeding up display of lots of users by a large factor; Fix support for schema permissions for the Anonymous user, and add support for '%' and '' hostnames (only showing if already set once), fixing Issue #1620; Highlight databases in the user manager that have permissions set for the selected user; Switch to using the centrally provided database list to reduce queries and remove the information_schema and performance_schema "databases"; Speed up a number of operations by tweaking the logic and queries used - r4042: Fix release builds after r4041; Update localizable strings - r4043: Set Sequel Pro to always run on Integrated Graphics on machines with both integrated and discrete, improving power consumption if nothing else is triggering the discrete GPU. This addresses Issue #1609 - r4044: Make the theme background apply to the query favourites editor - r4045: If the Custom Query editor view is active on window open, correctly set the focus in it, addressing Issue #1590 - r4046: Add support for querying the server default charset and collation; Move a bit of redundant code into a method - r4047: Restore tab bar label when cancelling a connection - r4048: Fix format string error in QueryKit - r4049: Alter the preferences favourite minimum version to avoid issues with previous runs of nightlies, which may partially address Issue #1588; Remove the old favourites key from the preferences now imports have succeeded - r4050: Allow Favorites import to read favorites from an old preferences .plist file, further addressing Issue #1588 - r4051: Change the string '=' and '!=' to be case- and collation-insensitive by default, using the Shift key (as documented in the tooltip) to trigger a BINARY exact match. This addresses Issue #1578 - r4052: When adding a database the servers default charset is now shown - r4053: Adjust keywords list to fix auto capitalisation of "ON" - r4054: Add a new SPMySQLEmptyResult class to SPMySQLFramework, returning it instead of nil if a query produces no result set. This allows per-result-set properties to be preserved, fixing issues where information like query execution time was lost - addressing Issue #1577 - r4056: Improve startup when loading from file, preventing overwrite of details read from a spf/spfs during startup. This addresses Issue #1619 - r4057: Correctly reset document state for setting it from file/when duplicating tab, further addressing Issue #1619 - r4058: Add a stub override to fix exceptions when code receiving a SPMySQLEmptyResult expects a SPMySQLStreamingResult/SPMySQLFastStreamingResult (Exception #3988) - r4060: Make some small tweaks to string BINARY handling: Correctly send the binary state/collation when reordering fields, addressing Issue #1265; Allow unticking of the binary box to save correctly, allowing conversion of fields to non-binary collations again - r4061: Fix errors when editing or moving columns on server vesions which do not support character sets/collations, addressing Issue #1629; Fix needless collation queries on those servers; Disable field enums and table encoding dropdown on those servers
* Merge a number of revisions from trunk back to the 1.0.x release branch:rowanbeentje2013-04-2819-92/+232
| | | | | | | | | | | | | | | - r4021: Add a check for SPNotLoaded values when automatically generating new tables when importing CSVs, fixing Issue #1621 (SPNotLoaded values are generated when rows shorter than the header row are seen) - r4022: Fix crashes when importing favorites on the connection view, addressing Issue #1556; Select and scroll to newly created favorites after import - r4023: Default to disabling SSH multiplexing to avoid connection issues as per Issue #1457; leave multiplexing code present, but behind a preference. Run `defaults write com.sequelpro.SequelPro SSHMultiplexingEnabled -boolean YES` to re-enable - r4024: Fix handling of double-dash style comments within field names, addressing Issue #1554 - r4025: When favorites in the connection view gave no password, no longer set the focus to the password field as soon as they're selected; instead, make the password field the next responder for tab keys. This addresses Issue #1555 - r4028: Fix escaping of backlsashes in non-LIKE clauses, addressing string matching with the = and RegExp operators - addresses Issue #1563 - r4029: Fix handling of primary keys listing multiple fields of which an early field has a specified length, addressing Issue #1641 - r4030: Alter the database creation sheet to correctly use the selected new database encoding; Clean up the database creation logic and remove redundant selection logic; Correctly reset and detect the database encoding when creating and switching databases - r4031: Fix blurry text in a number of text views in 1.0.x (Possibly caused by IB mangling; recreated new text views with the same settings to address). This fixes Issue #1560 - r4032: Detect deleted or non-writable folders for export targets and give appropriate errors (particularly for saved paths), addressing Issue #1566 - r4033: Add support for export path tokens containing non-alphanumeric characters, automatically grouping and tokenising as required for both dragged and typed tokens. This addresses Issue #1567
* - Fix warnings and logic bugs; thanks to Steven Frank for highlighting theserowanbeentje2013-02-122-3/+16
|
* - Allow all filenames/types in SSH and SSL key/cert selection dialogs, to ↵release-1.0.1rowanbeentje2013-01-291-11/+2
| | | | fix naming issues; addresses Issue #1544 and Issue #1493
* - Fix a bounds check causing the preferences upgrade routine to fail in ↵rowanbeentje2013-01-291-2/+2
| | | | | | | edge cases, addressing Issue #1547 - Bump the version number to 1.0.1
* Tidy up custom query header.stuconnolly2013-01-231-23/+20
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-2251-443/+340
|
* Tidy up.stuconnolly2013-01-221-1/+5
|
* Fix Issue #1527, weird display artifacts when reordering custom query ↵rowanbeentje2013-01-221-2/+2
| | | | | | | | results, in two different ways: - Preserve the existing scroll rectangle if reloading the view - Update the scroll rect on the main thread when not reloading the view
* - Fix trigger edit failures not restoring the interface correctly, ↵rowanbeentje2013-01-211-35/+48
| | | | | | | | | | | preventing the correct saving of the edited trigger thereafter (Issue #1534) - Clean up interface resetting and validation to fix edge cases where the interface was not reset correctly or carried state incorrectly across multiple selections - Fix a small memory leak when editing multiple triggers - Clean up code - Remove the table name column in the triggers interface as it will always display the selected table - Display NULL values in the triggers interface using the preference setting, and in grey
* Window controller tidy up.stuconnolly2013-01-211-89/+132
|
* - Fix a problem where the row count for InnoDB would not be displayed as an ↵rowanbeentje2013-01-219-52/+106
| | | | | | | | accurate value, whatever the Preferences setting, if the Content table was not selected - Clean up code slightly - Remove an unneccessary query being used for the table information view, speeding up display slightly
* Fix broken documentation links.stuconnolly2013-01-201-2/+2
|
* Small table info tidy up.stuconnolly2013-01-172-51/+80
|
* Issue #1422: Update the user manager's resource limit formatters to have a ↵stuconnolly2013-01-171-3/+10
| | | | minumum value of zero.
* - Move the old com.google.code.sequel-pro.plist preference list to the ↵rowanbeentje2013-01-161-0/+12
| | | | trash now that migration to com.sequelpro.SequelPro.plist has completed.
* Small tweak to the bundle identifier migration function to prevent releasing ↵stuconnolly2013-01-121-9/+13
| | | | a null reference. Fixes http://spbug.com/l/3714.
* - Fix toggleFullScreen: errors on <= 10.6, addressing Log #3759. (It ↵rowanbeentje2013-01-111-2/+2
| | | | appears that an NSWindow subclass which checks whether super respondsToSelector:@selector(toggleFullScreen:) returns YES on 10.6; changing this to an +[NSWindow instancesRespondToSelector:] check works correctly). Thanks to schlabberdog for identifying the problem!
* Minor tidy up.stuconnolly2013-01-111-10/+7
|
* - Enable translation of the Show/Hide Toolbar menu item by taking over ↵rowanbeentje2013-01-081-2/+19
| | | | title changes ourselves, fixing the last part of Issue #1521
* Increase the minimum size of the connection view's split view so we don't ↵stuconnolly2013-01-071-1/+1
| | | | force the quick connect heading to be wrapped.
* - Fix problems editing the connection name when editing has just begun, ↵rowanbeentje2013-01-061-2/+2
| | | | addressing Issue #1518
* - Call the NSWindow super implementation of validateMenuItem: in SPWindow, ↵rowanbeentje2013-01-056-4/+94
| | | | | | | | fixing Show Toolbar/Hide Toolbar menu item title not being updated correctly - addresses Issue #1521 - When the toolbar is hidden, draw a line in the window to cover up the bottom border of the window's title bar, improving appearance - Improve tab appearance when toolbar is hidden
* Enable the removal of the old favorites data in the preferences plist now ↵stuconnolly2013-01-031-4/+2
| | | | that we know it's stable.
* - Prevent Groups from being created as a child of the Quick Connection ↵rowanbeentje2012-12-301-4/+2
| | | | item, instead creating them at the bottom of the favourites list to prevent favourite loss
* Make some improvements to the Table Content Filter, particularly for text ↵rowanbeentje2012-12-232-4/+18
| | | | | | | | | fields: - Rename all "IS" entries to "=", to make the intended purpose clearer, and switch the underlying command to use "= BINARY" instead of "LIKE", producing an exact match instead of replicating LIKE functionality. Move LIKE p to just below the = options. This addresses Issue #1441. - Add entries for "matches RegExp" and "does not match RegExp", implementing Issue #1508. - When adding custom filters, add them by default to the Global group if the favourite isn't an on-disk document, addressing filter loss between sessions; this addresses Issue #1381
* - Correctly draw/update the selection highlight within the SPTextView used ↵rowanbeentje2012-12-231-0/+23
| | | | in the Custom Query Editor (among others) as the selection is changed with the mouse
* - Add trigger button to the default toolbar viewrowanbeentje2012-12-211-0/+1
|
* - Convert all old .tiff resource images to .png formatrowanbeentje2012-12-213-14/+14
| | | | | | | - Recompress all pngs losslessly to reduce disk use slightly - Remove old unused images - Switch some code over to imageNamed: to allow easier Retina additions in future
* - Tweak SPTextView background drawing, moving custom drawing into a ↵rowanbeentje2012-12-191-4/+2
| | | | different function, to allow "Highlight current query" to function again
* Issue #1495: Fix crash on export after the table list is refreshed due to ↵stuconnolly2012-12-171-1/+2
| | | | the selection not being preserved correctly.
* - If the favourite is not an on-disk document, add any new query favourites ↵rowanbeentje2012-12-171-5/+18
| | | | to the bottom of the Global list if a selection is not active, to address query favorite loss (Issue #1417)
* - Disable connection muxing on OS X versions lower than 10.7, to speed up ↵rowanbeentje2012-12-173-3/+8
| | | | | | | connections, improving Issue #1457 - Fix a warning left over from changes in r3931
* - Rearrange some menu shortcuts: ⌘F is now used on the Content tab to set ↵rowanbeentje2012-12-177-59/+107
| | | | the focus to the Filter Content tab bar. ⇧⌘F is used to show the advanced content filter table. This allows ^⌘F to be used for the standard OS X fullscreen window command, addressing Issue #1513.
* - Display startup release notes (eg post-r3921) to not block startup, ↵rowanbeentje2012-12-162-4/+5
| | | | preventing duplicate "Help" menus - with thanks to Michaël Gallego and schlabberdog
* - Fix favourite editing on the connection interface being unable to delete ↵rowanbeentje2012-12-141-3/+25
| | | | some properties
* Replace 1x .tiff graphics with 1x and 2x png Retina graphics.mattlangtree2012-12-121-1/+1
|
* - Add final versions of the new icon designed by Kenichi Yoshida (with many ↵rowanbeentje2012-12-122-2/+2
| | | | | | | | | thanks to Panic, Inc), recompressed for smaller file size and 10.5 compatibility - Add document icons to match - Amend the Info.plist to fix Sequel Pro being able to edit old .spf files etc - Add .mysql file support (Issue #1366)
* - Swap around the Custom Query "Run All" and "Run ↵rowanbeentje2012-12-012-0/+58
| | | | | | | | Current/Previous/Selection" shortcuts and positions (Issue #1094) - Tweak the designated requirement to correctly sign the tunnel assistant (Issue #1503) - Add support for important release notes in the version upgrade routines to highlight important issues, and add notes for the button swap and signing change to alert users
* - Improve connection testing to use edited passwords on a connection with ↵rowanbeentje2012-11-282-32/+17
| | | | | | | keychain entries - Clean up connection error handling slightly
* - Tweak handling of tables which have been deleted while they were being ↵rowanbeentje2012-11-221-4/+6
| | | | used, preventing hangs (Issue #1429)
* - Allow table content pagination to preserve the current filter type, ↵rowanbeentje2012-11-212-5/+15
| | | | including URL schemes and advanced table-based filters, addressing Issue #1492. (The filter code in question probably needs refactoring to allow it to be simplified in future, but does currently function)
* - Fix exceptions when using the content filter table clear buttonrowanbeentje2012-11-201-1/+1
|
* - Improve use of the table content filter, no longer removing focus from it ↵rowanbeentje2012-11-201-5/+14
| | | | when a filter is triggered by deleting the contents (Issue #1496)
* - When the connection interface is restored as a result of a connection ↵rowanbeentje2012-11-201-1/+9
| | | | attempt cancellation or failure, restore the passwords from their bulleted-out state. This addresses Issue #1497.
* - When a table content sort is cancelled because a row save operation ↵rowanbeentje2012-11-201-2/+5
| | | | fails, end the task to prevent the window from ending up in a non-responsive state. This addresses Issue #1499.
* - Fix exceptions when filtering the table process list on high-load servers ↵rowanbeentje2012-11-191-1/+1
| | | | where the time can sometimes still be NULL as the thread is setting up