aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* - 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).
* Fix CSV exporter not using the user supplied NULL string.stuconnolly2011-07-231-2/+4
|
* Tidy up.stuconnolly2011-07-231-15/+14
|
* - Support regex within the table filter list to match tables, falling back ↵rowanbeentje2011-07-121-2/+7
| | | | to plain text matching; thanks to Emma Persky for the original patch
* Minor tidy up.stuconnolly2011-07-1111-83/+82
|
* - Fix thread-safety issues creating the encoding popupbuttoncell on the ↵rowanbeentje2011-07-111-4/+4
| | | | Structure view (addresses http://spbug.com/l/2123 )
* - Fix thread-safety issue in blocking/waiting alert sheets, addressing ↵rowanbeentje2011-07-111-2/+2
| | | | crashes ( http://spbug.com/l/2035 ), particularly under Lion
* - Fix exceptions editing non-unique-keyed views or custom query results ↵rowanbeentje2011-07-102-29/+41
| | | | | | | with some kinds of binary data, fixing http://spbug.com/l/1412 . - Clean up logic and code
* Add Sparkle to credits.stuconnolly2011-07-103-20/+19
|
* - Abort editing when cancelling the user manager sheet; this addresses ↵rowanbeentje2011-07-101-3/+7
| | | | exceptions redrawing the offscreen outline rows, addressing http://spbug.com/l/1406 .
* Add the option to the SQL export view as to whether or not the ↵stuconnolly2011-07-106-7/+23
| | | | AUTO_INCREMENT value on a table's structure is included. Defaults to not included. Implements issue #1064.
* * Fixes a spacing issue in Duplicate DB Sheetdmoagx2011-07-064-18/+49
| | | | | * Fixes a case were for string == NULL was checked instead of [string length] == 0 (fixes #1103) * Fixes a logic error while copying databases and adds ability to copy InnoDB tables with foreign key checks (fixes #1111)
* * Fixes a spacing issue and an issue where MySQL keywords could be ↵dmoagx2011-07-042-9/+73
| | | | | | translated (fixes #1105) * Adds support for naming relations (fixes #948, #1085)
* Fixes for issue #1098:stuconnolly2011-07-041-3/+4
| | | | | | - Fix logic for enabling/disabling the index storage type popup button when changing the index type. - Add a number formatter to the index length field.
* - Add a bundle meta summary to the top of the bundle editorrowanbeentje2011-06-272-18/+60
| | | | | | | - Rearrange the bundle editor interface further, building on Stuart's work in r3330; particularly focussing on logically grouping fields together. - Move the "Disable" checkbox to the bottom of the window, rename it to "Disable bundle" to make the intent clear, and update the interface when it is in NSOnState