aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge further revisions back from trunk to the 1.0.x release branch, ↵rowanbeentje2013-04-2830-10057/+10201
| | | | | | | | | | | | | | | | | | | | | | 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-2812-445/+827
| | | | | | | | - 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-2840-15562/+16001
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-2821-805/+1067
| | | | | | | | | | | | | | | - 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-293-4/+4
| | | | | | | edge cases, addressing Issue #1547 - Bump the version number to 1.0.1
* Tag 1.0 release.release-1.0.0stuconnolly2013-01-230-0/+0
|
* Tidy up custom query header.stuconnolly2013-01-231-23/+20
|
* * Add some color themesdmoagx2013-01-234-0/+312
|
* PostgresKit: Revert previous change.stuconnolly2013-01-221-3/+3
|
* PostgresKit: Fix tests, take 2.stuconnolly2013-01-221-4/+4
|
* PostgresKit: Fix tests.stuconnolly2013-01-221-1/+1
|
* PostgresKit: Add a better test failure message.stuconnolly2013-01-221-1/+1
|
* PostgresKit: Fix tests intermittently failing due to connection not being ↵stuconnolly2013-01-221-4/+9
| | | | established.
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-2251-443/+340
|
* Tidy up.stuconnolly2013-01-221-1/+5
|
* Don't need to set the test delegate.stuconnolly2013-01-221-3/+1
|
* 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-212-32613/+32618
| | | | | | | | | | | 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-172-29/+50
| | | | minumum value of zero.
* PostgresKit: Fix the integration tests as well as some issues that they ↵stuconnolly2013-01-164-29/+21
| | | | highlighted.
* PostgresKit: When extracting an error field check it's not null before ↵stuconnolly2013-01-161-1/+3
| | | | returning it.
* - 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.
* - When requesting the server vesion with no current connection, return -1 ↵stuconnolly2013-01-152-3/+9
| | | | | | | instead of zero. - When executing a query, perform the query checks before the connection check to avoid performing unnecessary library calls.
* Fix debug optimization level.stuconnolly2013-01-151-0/+1
|
* Tidy up.stuconnolly2013-01-151-3/+3
|
* Make sure the test script exits with the correct code based on the success ↵stuconnolly2013-01-142-10/+4
| | | | of the tests.
* Fix typo in test data script.stuconnolly2013-01-141-2/+2
|
* Fix typos.stuconnolly2013-01-143-2/+4
|
* 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.
* Update QueryKit bundle identifier.stuconnolly2013-01-122-2/+2
|
* - 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!
* Update PostgresKit bundle identifiers.stuconnolly2013-01-112-2/+2
|
* Minor tidy up.stuconnolly2013-01-111-10/+7
|
* - Enable translation of the Show/Hide Toolbar menu item by taking over ↵rowanbeentje2013-01-082-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-057-6/+102
| | | | | | | | 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
* Ditch the extra zero from the version number.stuconnolly2013-01-042-2/+2
|
* * Fixes some UI spacing issues with localizationsdmoagx2013-01-044-39244/+39141
|
* Enable the removal of the old favorites data in the preferences plist now ↵stuconnolly2013-01-031-4/+2
| | | | that we know it's stable.
* Tidy up build scripts.stuconnolly2013-01-032-17/+14
|
* Issue #1519: Fix auto-sizing of export filename and truncate it when it ↵stuconnolly2013-01-032-18/+42
| | | | becomes too big.
* Fix IB warnings.stuconnolly2013-01-032-11364/+11333
|
* - Tweak the width of the Custom Query run buttons to fit French stringsrowanbeentje2012-12-301-8/+31
|