aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExtendedTableInfo.m
Commit message (Collapse)AuthorAgeFilesLines
* Merge in a range of bugfixes from trunk:rowanbeentje2010-08-011-27/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r2201, r2470 (Table trigger improvements, and fixes for MySQL <3.23.5x) r2211, r2214, r2232, r2245, r2247, r2265, r2266, r2267, r2280 (User manager fixes) r2213 (Incorrect count display) r2215, r2270, r2283, r2285, r2471 (Thread-safety fixes) r2216 (Task progress indicator fixes) r2217 (CSV import field mapping fix) r2218, r2219 (Custom queries fixes) r2222 (Fix issues when opening files) r2223 (Fixes problems copying binary data as tab-delimited strings) r2224 (Fixes 10.5 not appending correct extension on export) r2225, r2324 (Fixes to background database structure querying, extend structure querying to MySQL 3 & 4) r2227 (Fixes to table saving on right-clicking) r2228 (Memory use fixes) r2272, r2279, r2286, r2398, r2399, r2420 (Favourites sorting) r2275 (Improved handling of corrupt tables, disabled storage engines etc) r2278 (Custom query autocomplete tab snippets not working under 10.5) r2297 (Fix structure editing errors) r2307 (Make return key behaviour in structure view consistent with content view) r2335 (Fix crashes when cancelling/stopping queries on MySQL 3 & 4) r2345 (Import from clipboard improvements) r2362 (Improve robustness when closing windows quickly) r2384 (Respect "Reload after editing" preference when editing custom query results) r2385 (Prevent custom query uppercasing of reserved keywords which are quoted) r2396 (Improve reordering of TIMESTAMP fields) r2411, r2444, r2446 (Improve Xcode 3.2.3 project compatibility) r2438 (Fix exceptions printing extended table info) r2441 (Fix resizing table information after initial collapsed state) r2445 (Improve default socket search paths) r2463 (Fix custom query capturing up/down arrow when autocomplete finds no matches) r2479, r2482 (Replace Core Animation with custom code to fix hangs) r2486 (Improve data storage exceptions)
* - Merge in fixes from trunk for final release - incoporates r2175, r2177, ↵rowanbeentje2010-05-031-1/+2
| | | | r2184, r2198, r2200, r2203, r2205 and r2206.
* Merge in a number of fixes from trunk (r2065, r2066, r2067, r2068, r2069, ↵rowanbeentje2010-04-241-2/+4
| | | | r2074, r2075, r2076, r2078, r2079, r2081, r2083, r2084, r2085, r2089, r2090, r2100, r2110, r2117, r2118, r2119, r2120, r2128, r2132, r2133, r2134, r2137, r2138, r2139, r2140, r2142, r2150, r2152, r2153, r2154, r2155, r2158, and r2160)
* - Improve error checking for various actions, particularly permissions ↵rowanbeentje2010-03-311-5/+6
| | | | errors (NULL data returned) for views and stored procedures. This should fix http://log.sequelpro.com/view/27 , http://log.sequelpro.com/view/57 , and the last of http://log.sequelpro.com/view/53
* • 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
* Add support for printing a table's create syntax with syntax highlighting.stuconnolly2010-03-131-6/+21
|
* Lots more printing support enhancements, including:stuconnolly2010-03-131-19/+47
| | | | | | | | | - 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.
* Localise SPExtendedTableInfo.m and remove use of multiple comments for ↵stuconnolly2010-03-031-24/+25
| | | | localised strings.
* In the extended table information view, hide rather than disable the 'reset ↵stuconnolly2010-03-011-2/+2
| | | | auto increment' button when no auto increment field is present.
* • Reset AUTO_INCREMENT in Table Info Pane uses inline entering of the new ↵Bibiko2010-02-231-4/+31
| | | | | | | | | | value (no sheet) • "Delete all records" confirmation sheet shows a checkbox "Reset AUTO_INCREMENT after deletion" if PRI key is given for that table • minimized table data querying for auto_inc • optimized auto_inc change notification • if user changes tabVIew to Table Info Pane update data in beforehand • TRUNCATE query updates auto_inc value as well in TABLE INFORMATION
* • implemented chance to reset AUTO_INCREMENT of the PRIMARY KEY field in ↵Bibiko2010-02-221-3/+15
| | | | | | | | Table Info Pane via Advanced popup button and sheet (not yet optimal GUI solution) • SPAlertSheets - ensure that this sheet becomes the keyWindow
* - Trigger a full table reload when the table type is changed; makes ↵rowanbeentje2010-02-061-1/+2
| | | | relations etc immeadiately available on changes to InnoDB, and updates a number of status variables
* Address Issue #546 (format string bugs):rowanbeentje2010-01-201-4/+5
| | | | | | - Fix incorrect uses of [NSString stringWithFormat:] with preconstructed strings and no arguments in SPUserManager - To fix display issues, replace NSBeginAlertSheet (which includes automatic sprintf expansion of the message) with a safely-escaped SPBeginAlertSheet in many files
* • fixed: escape new entered comments in the Table Info Pane before ↵Bibiko2010-01-121-1/+1
| | | | applying changes to the db
* Replace the main toolbar's #define'd identifier constants with extern's. ↵stuconnolly2009-12-121-3/+3
| | | | This completes the conversion of all constants in SPConstants to extern's.
* - Make some thread safety improvements to improve on Issue #460rowanbeentje2009-11-181-4/+20
| | | | | - Add some NSTextView editing notifications to maintain state correctly in an attempt to fix issue in crash log on comment 9 on #460
* - Make some thread safety improvements to try to address Issue #460rowanbeentje2009-11-161-0/+1
|
* When viewing the information_schema database, disable all controls on the ↵stuconnolly2009-11-151-8/+13
| | | | table information view as all table in this database are not modifiable by anyone.
* Tidy up.stuconnolly2009-11-071-2/+2
|
* - Add task support to all the main interface viewsrowanbeentje2009-11-041-5/+72
| | | | | | | | - Improve task support on previously supported views - Use a threaded task load for all initial table loads - Support threaded task loads for table content loads, reloads, sorts, and filters - Improve upon previous threaded task loads by minimising view updates and supporting updates of the existing data arrays where valid
* - Use long longs instead of ints when looking at table sizes, free space, ↵rowanbeentje2009-09-011-4/+14
| | | | | | | | and row counts for display, fixing overflow issues (this addresses Issue #394) - Tweak the byte size formatter to also show TBs for very large numbers - Improve row count and auto increment value formatting by using a number formatter (enhancements for Issue #394)
* - Rework TableContent row count fetching, loading it in the correct ↵rowanbeentje2009-08-131-2/+2
| | | | | | | | locations, and correcting the logic for fetching the count of rows so that the query is not used where not necessary. - Update the Table Info pane and tab with a new row count if one is known - this addresses Issue #141 - This reverts r1090, and so needs to be discussed with stuart02 - the rest of the row logic changes may have fixed the 'larger issue' described there?
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-1/+0
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* Remove the dependency on information_schema for table encodings.stuconnolly2009-07-201-4/+4
|
* Include a hard coded list of encodings and collations in SPDatabaseData to ↵stuconnolly2009-07-201-5/+13
| | | | remove the depdendency on the information_schema database when its not available or accessible.
* MyISAM tables report the exact number of rows in a table in the output of ↵stuconnolly2009-07-071-0/+4
| | | | SHOW TABLE STATUS so don't prefix the row count with '~'.
* Accommodate all MySQL versions when getting the list of storage engines.stuconnolly2009-06-191-1/+1
|
* • Table InfoBibiko2009-05-281-4/+13
| | | | | - show create syntax for views - fixed editing behaviour of the Comments field (esp. for views)
* Bind the table create syntax text view's backgroud colour upon awakeFromNib.stuconnolly2009-05-271-0/+17
|
* We don't need to manually set the create syntax text view font because of ↵stuconnolly2009-05-271-8/+0
| | | | the binding.
* Redesigned table information pane.stuconnolly2009-05-271-0/+358