aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* For some reason table creation on MySQL 4.0 servers doesn't like the ↵stuconnolly2011-10-094-33/+44
| | | | engine/type being quoted.
* * Move key of a hidden pref to the same place as the othersdmoagx2011-10-092-2/+2
|
* Add a hidden preference for specifying the long running query notification ↵stuconnolly2011-10-084-8/+10
| | | | time (currently in milliseconds). Implements issue #944
* Ensure the that table constraints are cleared in [SPTableData ↵stuconnolly2011-10-082-33/+34
| | | | informationForTable:] to prevent the inclusion of them in subsequent calls for different tables. Fixes issue 1206.
* - Rework table data saving to ensure that cells that should be edited via ↵rowanbeentje2011-10-056-324/+307
| | | | | | | the edit sheet aren't then overwritten by the cell value, potentially causing data truncation in 10.5. This addresses Issue 1196. - Consolidate field editing in sheet logic
* - Update database encoding routines to cache the database encoding, ↵rowanbeentje2011-09-292-6/+25
| | | | | | | preventing repeated calls when navigating tables using "default" encoding, or views - Ensure the database encoding is correctly updated when new databases are selected. This addresses Issue #1201
* Set the previously used export filename and path when the export dialog is ↵stuconnolly2011-09-291-23/+43
| | | | opened not in awakeFromNib. Fixes issue #1198.
* Fix test.stuconnolly2011-09-261-2/+2
|
* - Fix editing of binary string values, a regression in r3428; addresses log ↵rowanbeentje2011-09-222-0/+6
| | | | 2665
* Rework linebreak handling in content and custom query result views, as ↵rowanbeentje2011-09-215-37/+141
| | | | | | | | | | | triggered by Issue #1184: - Display table cells on a single line for preview purposes - Display gray pilcrow/reverse pilcrow placeholders instead of linebreaks - If a cell contains linebreaks, automatically trigger sheet editing mode - Handle newly displayed linebreaks in column width detection - If using the up/down arrow keys in a field editor, allow them to select the previous/next line within an editor if appropriat (instead of always moving to the previous/next row)
* * Add "Copy CREATE *" to context and gear menu, fixes #1190 (updated ↵dmoagx2011-09-152-0/+22
| | | | .strings files)
* Improve custom query result export menu item validation to prevent ↵stuconnolly2011-09-131-1/+1
| | | | triggering an export whilst a query is being performed.
* - Speculative fix for Issue #1154 (problems using some field separators ↵rowanbeentje2011-09-121-0/+3
| | | | during CSV import)
* - Add the ability to view hidden files in SSH/SSL key selection dialogs; ↵rowanbeentje2011-09-106-24/+57
| | | | this addresses Issue #1176
* - Make add relation error detail intro localisablerowanbeentje2011-09-091-1/+7
| | | | | | - If the add relation error strongly appears to be a name-already-taken error, add the name to the takenNames list to prevent it being used again and to highlight the error - Update localisable strings
* - Require there to be at least 50 rows to be in the table before using the ↵rowanbeentje2011-09-071-1/+1
| | | | "DELETE FROM foo" remove all rows code path. This improves the chance that the user actually intends to delete all the rows in the table, addressing Issue #1166.
* Rework relation addition and name lookups following testing and research:rowanbeentje2011-09-073-96/+56
| | | | | | | | - Remove the background lookup of table constraint names for the current database. This prevented connection use while the query was running, and the query cannot be optimised and severely taxes servers with many databases. Revert to checking names against names in the current database - Repurpose the activity spinner for adding relation query execution - When an error is encountered adding a relation, re-open the sheet with the submitted values after displaying the error - Add use of 'SHOW InnoDB STATUS' command and text extraction to show more explicit errors for the most common constraint errors
* Replace use of string literals with constants in SPTableRelations.mstuconnolly2011-09-041-15/+22
|
* Fix for issue 1168. Whenever the database is changed load all of the ↵stuconnolly2011-09-045-87/+160
| | | | currently used relation names in a backgroud thread. In the event that the user opens the add new relation sheet during this process, the ability to enter a relation name and confirm the addition is disabled until the retrieval process is complete. There is also a new progress indicator on the add sheet to indicate this.
* Tidy up console/query controller.stuconnolly2011-09-0315-620/+855
|
* * Fixes some localization spacing issues reported by Frédéric Latourdmoagx2011-09-022-2/+2
|
* - Attempt to detect SSH master use correctly, to improve Issue #1095rowanbeentje2011-09-011-1/+3
|
* - Reorder window instantiation process to ensure window has had its size ↵rowanbeentje2011-08-312-2/+3
| | | | | | | set before adding the main views, fixing resize issues including Issue #1141 on 10.6 - Remove accidentally committed log line
* - Clean up undo manager handlingrowanbeentje2011-08-316-1/+37
| | | | | - Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
* - Cancel and clear autocomplete if a keyboard combo is being run - this ↵rowanbeentje2011-08-301-0/+3
| | | | fixes Issue #1119
* - Move table creation to a threaded task, avoiding race conditions caused ↵rowanbeentje2011-08-291-4/+16
| | | | by loading the new table and loading the structure tab on different threads (log #2266)
* - Disable and re-enable table view double click actions when opening and ↵rowanbeentje2011-08-281-0/+38
| | | | closing sheets for a window; this addresses beeping when editing cells using the field editor sheet.
* Tidy up.stuconnolly2011-08-273-0/+10
|
* - Fix issues undoing past an autocompletion type-through, addressing ↵rowanbeentje2011-08-261-0/+2
| | | | exceptions (log #1847)
* * Fixes some strings that were not really localizable the way they were ↵dmoagx2011-08-261-11/+21
| | | | constructed.
* - If the field mapper was cancelled, abort the CSV import at once to avoid ↵rowanbeentje2011-08-252-5/+17
| | | | crashes if a new table name to create was entered
* - Prevent export and indexes controller awakeFromNib: routines from being ↵rowanbeentje2011-08-255-2/+28
| | | | | | | run multiple times - Fix crashes and exceptions when using "Use monospaced fonts" or "Display vertical grid lines" preferences after closing at least one window
* * Fixes sorting of integer values in server process list (issue #1159)dmoagx2011-08-241-1/+22
|
* Tidy up.stuconnolly2011-08-242-11/+26
|
* Rework editable row checks in views and custom query results:rowanbeentje2011-08-242-59/+44
| | | | | | | | - Only include columns from the same database, even if they share the same table name - If a primary key was found that can be checked, use all the columns specified in the primary key - Correctly escape and format values in primary key columns - Clean up logic and string generation
* Fix for Bundle Editor Group names not showing up in Lion.mattlangtree2011-08-231-2/+2
|
* During an SQL export, if the structure is disabled also uncheck the include ↵stuconnolly2011-08-171-0/+5
| | | | DROP sytax option.
* - Lion compatibility improvement: add support for fullscreen windows, on ↵rowanbeentje2011-08-165-20/+86
| | | | | | | | | | | the main window only; hide SSH/SSL status when entering fullscreen mode, to prevent drawing issues - Lion compatibility improvement: update tab colours under 10.7 to match system styles - Lion compatibility improvement: fix issues dragging tabs out of windows and into other tab bars - Lion compatibility improvement: fix QuickLook issues under 10.7, including windows which couldn't be closed, fullscreened, or crashes - Fix exceptions in the bundle controller when using tab switching keys - Lion compatibility improvement: use overlay scrollers where possible
* - Review changes made in r3376 and revert a number of regressionsrowanbeentje2011-08-149-38/+28
|
* Tidy up.stuconnolly2011-08-132-24/+24
|
* Re-add default new table's id field to AUTO_INCREMENT added in r3331, but ↵stuconnolly2011-08-122-37/+44
| | | | knocked out in r3376.
* When moving a field in the structure view, only use the default value if it ↵stuconnolly2011-08-091-34/+48
| | | | actually has one. Fixes issue #1140.
* Fix encoding issues, particularly giving errors when selecting tables and ↵rowanbeentje2011-08-071-1/+5
| | | | | | | | | | | displaying NULLs within tables when the connection encoding is incorrectly detected (Issue #1100): - No longer rely on a combination of mysql_options(..., MYSQL_SET_CHARSET_NAME, ...utf8...) and mysql_character_set_name() to detect the connection encoding; this incorrectly misses init_connect commands; instead use SHOW_VARIABLES a$ - Combine initial version check/timezone check/encoding check on startup, reducing connection queries and thus improving connection speed - Add support for abbreviated MySQL timezone definitions - Combine MCPKit's -connect and -connectWithLogin:password:host:port:socket: methods to reduce code duplication and fix argument handling for the latter method
* Fix an exception when removing the only content filter. Fixes exceptions ↵stuconnolly2011-08-073-29/+32
| | | | http://spbug.com/l/2360 and http://spbug.com/l/2453
* merged latest SP_REFACTOR changessqlprodev2011-08-0217-99/+284
|
* Small tidy up.stuconnolly2011-07-313-86/+74
|
* - Prevent error bell when using the enter key to initiate a connection when ↵rowanbeentje2011-07-273-2/+13
| | | | | | | | keyboard focus is on the favorites outline view (Issue #1072) - Don't initiate a connection when the currently selected favorite is clicked again slowly - Match compiler #ifdef around braces to imrpove Xcode 3 file parsing
* SQL export: Disable the 'include drop syntax option' when the structure ↵stuconnolly2011-07-261-0/+2
| | | | option is not enabled.
* Tidy up.stuconnolly2011-07-251-5/+13
|
* Fix for NULL values in CSV export (same as last commit, but this one ↵stuconnolly2011-07-245-25/+42
| | | | actually works).