aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Changed the refresh method so that it creates a new persistentstore as well ↵mltownsend2010-05-282-14/+19
| | | | and clearing out the outlineview.
* Changed the SPUserManager instance to an allocated instance when the ↵mltownsend2010-05-282-3/+14
| | | | SPUserManager is selected. SPUserManager is released when the user his cancel or apply. This forces the UI to refresh itself.
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-2842-98/+98
|
* Rename TableContent to SPTableContent.stuconnolly2010-05-2811-16/+16
|
* Remove unsed try/catch exception blocks in all data exporters.stuconnolly2010-05-275-569/+553
|
* Remove multiple occurrences of accessing the same array element, improving ↵stuconnolly2010-05-271-6/+8
| | | | the overall performance of SQL dumps.
* Rename TableSource to SPTableStructure.stuconnolly2010-05-278-13/+13
|
* Rename TablesList to SPTablesList.stuconnolly2010-05-2723-37/+37
|
* Rename CMImageView to SPImageView.stuconnolly2010-05-274-8/+8
|
* Rename CMTextView to SPTextView.stuconnolly2010-05-279-20/+19
|
* Perform interface validation on the new export window on a background thread ↵stuconnolly2010-05-271-31/+69
| | | | to prevent locking up the main thread when dealing with databases with a large number (>100) of tables.
* - Fix SQL export progress displayrowanbeentje2010-05-276-536/+532
| | | | | - When compression is enabled, use .sql.gz as file extension instead of .gz
* Data export fixes:stuconnolly2010-05-262-9/+6
| | | | | | | - Fix the same potential autorelease pool memory leak found in the CSV exporter in the XML exporter. - When performing an XML export to a single file don't write the header twice. - Remember to append the .xml extension when performing an XML export to a single file.
* Fix an overreleased dictionary crash and always ensure both autorelease ↵stuconnolly2010-05-261-7/+8
| | | | pools are released to prevent potential memory leaks. Fixes log http://spbug.com/l/584.
* - Fix Connection splitview resizing to affect the underlying view (and so ↵rowanbeentje2010-05-251-2/+5
| | | | correctly save). Fixes Issue #705
* Update Growl controller notify method selector when an export finishes. ↵stuconnolly2010-05-251-1/+1
| | | | Fixes logs http://spbug.com/l/521 and http://spbug.com/522.
* More tweaks in regards to issue#699mltownsend2010-05-241-7/+13
|
* Addition fix for issue#699mltownsend2010-05-241-1/+3
|
* Merge export redesign branch back into trunk.stuconnolly2010-05-2444-509/+4640
| | | | | | | | | | | | | | | | | | | | | Includes a completely redesign approach to all export data types based on the use of NSOperation subclasses. CSV, SQL, XML and dot export types are currently functional, while the source files for PDF and HTML export types exist they are to be implemented, but are currently hidden from the interface. Also includes the following: - Completely redesigned export interface. - The ability to customize CSV NULL values. - The ability to specify whether the UTF-8 BOM should be used in SQL dumps. - The ability to specify whether BLOB fields are output as hex or plain text during SQL dumps. Defaults to hex. - Exporting currently selected tables via the tables list context menu. Outstanding issues: - Not all progress indicators for all export types are functional (or functioning correctly). - A few issues related to the introduction of only exporting the content and create and drop syntax of specific tables during SQL dumps. Needs some serious testing and benchmarking to ensure it replicates the current export functionality.
* - Add support for progress indicator in tabsrowanbeentje2010-05-245-18/+51
| | | | | | - Hide Navigator menu option again - Remove accidentally committed debug
* Initial implementation of tabs:rowanbeentje2010-05-2347-624/+1433
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Add missing space to auto increment value field on extended information view.stuconnolly2010-05-231-1/+1
|
* Fix for issue#699mltownsend2010-05-231-3/+7
|
* - Fix an issue when truncating tables using the right-click menu, by ↵rowanbeentje2010-05-225-42/+46
| | | | | | | | improving the truncation reload code and by removing a problem in TableContent tracking the active table name. This addresses Issue #700 and a number of crash reports. - Rename SPHistoryView* constants to SPTableView* constants and use them more widely rather than hard-coded tab indexes - Fix a problem preventing history navigation if a triggers view was the previous item in the history
* Fields in Resources tab of User Manager actually will persist now.mltownsend2010-05-214-4/+30
|
* - Fix a singleton proprty release in SPGrowlController's -release method; ↵rowanbeentje2010-05-191-4/+1
| | | | avoids overrelease and memory trampling. Thanks to Towny for spotting this; addresses Issue #692 and http://spbug.com/l/411
* - Ensure any table changes are applied before switching tables as a result ↵rowanbeentje2010-05-191-0/+5
| | | | of a right-click. This should address much of Issue #691, and a number of crashes logged since 0.9.8
* Change filesize units to base 2 rather than base 10. Fixes issue #690. Patch ↵stuconnolly2010-05-184-10/+10
| | | | provided by Max Lohrmann, thanks Max!.
* Review queryDbStructureWithUserInfo:rowanbeentje2010-05-151-3/+0
| | | | | | | | - Remove extra call when changing databases, avoiding double calls - Fix an error if the document has had no encoding set yet (addresses http://spbug.com/l/200) - Tweak db struture querying to work on MySQL 3 and 4.0 - Rework function to remove duplicated logic, and to address a number of valueForUndefinedKey: exceptions logged via the bug tracker
* Fix for Issue#656. The setExtensionHidden: method should not be called and ↵mltownsend2010-05-111-1/+2
| | | | setCanSelectedHiddenExtension:should be set to YES.
* - Correctly append tabs to binary/data cells when copying as tab-separated ↵rowanbeentje2010-05-111-1/+3
| | | | rows. This addresses Issue #681
* - Turn off app open panel setAllowMultipleSelection: changes, defaulting to ↵rowanbeentje2010-05-111-8/+3
| | | | | | | NO. This disallows opening multiple .spfs at one time, but fixes file deselection on .sql/non-.sql changes and possible crashes (logs 235, 242, and 310) - Fix label overlapping encoding menu in open panel accessory view, preventing half the menu from being clicked
* - Corrected reloading of list of databases and list of tables; formerly, ↵drx7772010-05-101-4/+2
| | | | only the db list was reloaded, keeping the list of tables from the previously selected database
* - A database with views caused copy DB to crash. Thus, views are for the ↵drx7772010-05-101-28/+21
| | | | | | | | time being not copied, until handling them gets implemented. It is logged to the console for the users convenience. - Only copy content if the table could be recreated successfully - Corrected selector from [self getTableWindow] to messageWindow. - Removed disabled code section
* - Fix a problem caused when trying to run custom queries terminated by a ↵rowanbeentje2010-05-091-0/+4
| | | | partial letterform, eg an unapplied accent. (Addresses http://spbug.com/l/260)
* - In the CSV import field mapper controller, retain the primary key field ↵rowanbeentje2010-05-091-1/+3
| | | | to fix an autorelease crash. (Addresses http://spbug.com/l/266 )
* - Update task progress spinner to draw on the main thread rather than a ↵rowanbeentje2010-05-093-30/+106
| | | | | | | | background thread; should fix a number of issues logged by the crash reporter - Update indicator code to merged master incorporating our changes, reworked and improved
* Rework alert sheets:rowanbeentje2010-05-0925-516/+588
| | | | | | | - Change MCPConnection.m to no longer use a reference to tableWindow to attach sheets - instead use a delate error display method if available - Rework TableSource and TableContent sheetDidEnd methods into per-task methods rather than overloading contextInfo - Rework SPAlertSheets to perform actions on the main thread, with the loss of (unused) support for a didDismissSelector. This addresses a number of crashes logged by the crash reporter
* Fix for Issue#667mltownsend2010-05-081-5/+20
|
* - Don't update table row count if table content is limited AND filtered; ↵rowanbeentje2010-05-041-1/+1
| | | | this addresses Issue #666
* Added 'Add Host' to Locazable.stringsmltownsend2010-05-041-1/+1
|
* Fixed crash issue #181 on log.sequelpro.commltownsend2010-05-041-10/+41
|
* • fixed formatting issues for entering a new auto_increment value in ↵Bibiko2010-05-041-10/+24
| | | | | | Table Info tab (this fixes i663) • improved behaviour if setting of the auto_increment value failed for some reasons
* Trim whitespace and newline characters from a table's comment returned by ↵stuconnolly2010-05-031-1/+2
| | | | SPTableData to ensure that it erroneously changed because of a failed string comparison.
* - Fix quoting of various fields, including usernames and passwordsrowanbeentje2010-05-033-22/+62
| | | | | | | | - Restore ability to edit passwords - Fix the "Refresh" gear menu item not being connected to the action - Add support in code for renaming users - previously interface changes weren't saved - Fix user deletion support, including non-existant hosts. This addresses Issue #653.
* Prefill duplicate database name field with current database name.stuconnolly2010-05-031-1/+1
|
* Fix errors count calculation when removing multiple table rows. Caused by ↵stuconnolly2010-05-031-9/+13
| | | | [MCPConnection affectedRows] returning -1. Fixes issue #654.
* Review trigger fetching and storage:rowanbeentje2010-05-018-144/+172
| | | | | | | - Trigger queries are no longer made for MySQL < 5.0.2 - Trigger loading has been deferred until the trigger tab is active, reducing queries when switching tables and thus increasing overall responsiveness - Export triggers in MySQL dumps even if the Table Content switch is unchecked
* Perform additional index bounds checking before attempting to remove a table ↵stuconnolly2010-04-301-1/+5
| | | | field. Fixes exception http://spbug.com/l/100.
* Changed a couple of 'int' to NSIntegermltownsend2010-04-291-2/+2
|