aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
Commit message (Collapse)AuthorAgeFilesLines
* • control the separator menu item above the "Open ... in new Tab" in ↵Bibiko2011-05-071-0/+10
| | | | TablesList's context and gear menu to avoid having two separators one after another
* Small tidy up, mainly the addition of constants.stuconnolly2011-05-051-96/+44
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-0/+8
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-4/+135
| | | | UI code from functional code
* - When creating a new table, switch to the Structure tab to allow further ↵rowanbeentje2011-04-101-0/+2
| | | | setup of the table directly after creation
* - Add support in SPTableView to disable edit-on-tab behaviourrowanbeentje2011-04-101-2/+7
| | | | | - Use this new support in SPTablesList to prevent the tab key entering rename mode when focus is on the table list - this addresses Issue #1028
* - Fix more compiler warningsrowanbeentje2011-03-151-64/+64
| | | | | - Tweak README
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-21/+28
|
* - Fix more compiler warningsrowanbeentje2011-03-041-1/+2
|
* fixed compiler warningssqlprodev2011-03-011-1/+0
|
* - Preserve the current filter string when refreshing the table list if one ↵rowanbeentje2011-02-201-5/+15
| | | | is set. This also fixes the filter text being reset when performing a SQL export.
* • some code improvements for willDisplayCell:Bibiko2011-01-251-23/+41
|
* - Add a new -engineTypeQueryName method to SPServerSupport, with a correct ↵rowanbeentje2011-01-131-1/+1
| | | | | | | split between TYPE or ENGINE depending on database version. - Update CREATE TABLE and ALERT TABLE queries to use this, fixing custom-type table creation on MySQL <4 and table type changes on MySQL >= 5.5. This addresses Issue #947.
* • fixed issue to be able to cancel via ESC the in-cell editing of the ↵Bibiko2010-12-151-1/+2
| | | | tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
* • fix table name encoding problem (return name can be NSNull) which can ↵Bibiko2010-12-111-1/+8
| | | | | | arise while SPTablesList updateTables method, • added [theView breakUndoCoalescing]; before inserting the grey completion suggestion due to possible undo exceptions
* - Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )rowanbeentje2010-11-271-0/+3
| | | | | | | - Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 ) - Fix a possible crash when updating database lists - Update localisable strings
* - Fix interface updates when multiple tables are selectedrowanbeentje2010-11-251-1/+4
|
* - When adding multiple new tables, ensure the keyboard focus is set to the ↵rowanbeentje2010-11-241-0/+3
| | | | name field on subsequent invocations of the sheet
* - Abstract SPDatabaseDocument's Connection/.spf saving/loading ↵rowanbeentje2010-11-231-12/+57
| | | | | | | | | | functionality into state setting and getting functions, and refactor old commands to use them - Fix restoring of content sort column order and selected indexes - Add menu items for duplicating current tab (as an alternate), opening selected table in a new tab, or opening selected database in a new tab - Clean up file menu by making Connection/Session "Save as..." menu items alternates - Update localisable strings
* • renamed some shell variables for Bundle commandsBibiko2010-11-221-0/+40
| | | | • added sequelpro scheme commands: SelectTables, ReloadTablesList, ReloadContentTable
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-317/+26
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-5/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Remove use of multiple comments for localized strings.stuconnolly2010-10-191-1/+1
|
* Various improvements to server capability/version checking, including:stuconnolly2010-10-071-18/+24
| | | | | | | | | | | | | - Add a new ServerSupport class, for which an instance is created upon each new connection and is then subsequently accessible via SPDatabaseDocument. - Replace the majority of manual version checking with calls to properties in the above new class. - Improve the user manager's compatibility with MySQL 3 and 4 servers. Fixes issue #811 Other changes include: - Disable the encoding popup button when adding a new table or database to servers running pre MySQL 4.1 as it only contains one option, 'Default'. - Fix various potential memory leaks discovered during static analysis. - General tidy up and comments.
* • Filter TableBibiko2010-09-291-3/+0
| | | | | - fixed thread issue while loading a new table - fixed DBView.xib warnings
* • Filter TableBibiko2010-09-291-0/+3
| | | | | | | - added "Search while Typing" - added some keyboard short-cuts - fixed some minor issues - Filter Table is now a normal NSWindow
* • fixed issue 834 for filtering table list if TablesListView doesn't have ↵Bibiko2010-09-221-1/+1
| | | | | | the focus - corrected in tableViewSelectionDidChange: the check whether the selection was changed or not
* • only some minor code cosmeticsBibiko2010-09-171-358/+362
|
* • finished the first implementation of CSV Import into new tableBibiko2010-09-031-1/+1
| | | | note:What else is needed for such an import? table encoding settings? ... has to be discussed
* • Show/Copy Create Syntax now come up with all create syntaxes of selected ↵Bibiko2010-09-011-4/+8
| | | | | | | items • if Create Syntax is a PROC wrap the output by DELIMITER ;; etc. to simplify a copy&paste • merged code for copyCreateTableSyntax into showCreateTableSyntax distinguished by the sender (if sender == self) then copy otherwise show
* Encoding changes and improvements, particularly to increase compatibility ↵rowanbeentje2010-08-251-10/+37
| | | | | | | | | | | with extended characters in MySQL identifiers (names of dbs/tables/cols): - Move encoding queries and control into MCPKit, with newly cleaned-up methods, and switch a number of locations to using the new code. - Use UTF8 connections for many identifier-based queries (selecting and listing databases, tables, stored procs, table information). This fixes selection and creation of table and database names containing extended characters, also fixing exceptions and errors. - Improve UTF8 over Latin1 to correctly set the client character set encoding as well, fixing custom queries and edits; remove custom code in SPTableContent achieving the same thing in a single location. - Fix database encoding detection routines - Update localisable strings
* • moved changes done in r 2566 to tableViewSelectionDidChange: if no item ↵Bibiko2010-08-221-4/+12
| | | | in tablesList is selected to reset SP
* • after deleting of items in tablesList set selectedTableType to ↵Bibiko2010-08-221-2/+7
| | | | | | SPTableTypeNone and selectedTableName since the table will be deselectAll - fixes various updates like title bar etc. and avoid crashes/exceptions
* • forgotten to commit missing changes to commit 2534Bibiko2010-08-151-0/+14
|
* • made SP more robust against issues which are caused by different table ↵Bibiko2010-08-151-9/+34
| | | | name encodings
* • fixed bug while closing a tab to remove the connection from NavigatorBibiko2010-08-131-1/+40
| | | | • FIRST implementation to allow to drag a table from the Navigator to the connection window's table list to copy this table with content (it works but needs to be improved!)
* - Further tweak new table encodings to improve default-utf8 behaviourrowanbeentje2010-07-181-1/+2
|
* - Fix table creation to use the selected encoding instead of always using ↵rowanbeentje2010-07-181-1/+2
| | | | utf8 (broken in r2325)
* - Don't localize table types when duplicating tables - used as part of ↵rowanbeentje2010-07-151-4/+6
| | | | queries. This addresses Issue #762.
* - Roll back most of r2430, replacing it with an at-source fix to the manual ↵rowanbeentje2010-07-071-9/+2
| | | | | | | collapse via code which was originally causing the problem. Also apply the same fix to SPCustomQuery.m. (Note that this also identifies a probable cause of views going slightly out-of-view if views are collapsed and expanded a lot - the autoResizesSubviews property is disabled and re-enabled in BWToolKit surrounding a collapse, but this is done using a timer with the exact time interval as the corresponding collapse/expand frame resize. This sets up a race condition, where if the timer fires before the animation completes, the internal view will be slightly clipped. May require a BWToolKit fix)
* • fixed issue if connection window is opened with collapsed Table ↵Bibiko2010-07-071-0/+10
| | | | | | Information that the view wasn't displayed correctly after opening - the point is here probably a bug in BWToolkit that the collapsable subview forgets its setting for "setAutoresizesSubviews:YES" after collapsing
* Rename TableDump to SPDataImport and fix export selected tables functionality.stuconnolly2010-07-061-1/+1
|
* • localisation issuesBibiko2010-07-051-4/+5
| | | | | | - made "This table currently does not support relations..." localisable - resized some nib elements for longer translations - replaced [[NSApp mainMenu] itemWithTitle:@"Table"] by [[NSApp mainMenu] itemWithTag:SPMainMenuTable] for dynamic title changes
* - Convert connection encoding menus to be menu tag based to fix ↵rowanbeentje2010-06-141-2/+31
| | | | | | | | | | localisation errors - Add database encoding retrieval support for MySQL 4.1 - Convert the add table and add database sheets to use encoding menus derived from server supported encodings - Re-layout preferences with larger labels to aid localisation - Fix preference resizing in non-Favorite tabs
* - Ensure start/end query notifications are sent on the main thread to avoid ↵rowanbeentje2010-06-011-2/+2
| | | | | | | the interface being updated from the wrong thread on listeners - Add a "Support Files" folder to MCPKit, containing NSNotificationAdditions to support main thread notifications from within MCPKit
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-2/+2
|
* Rename TableContent to SPTableContent.stuconnolly2010-05-281-1/+1
|
* Rename TableSource to SPTableStructure.stuconnolly2010-05-271-1/+1
|
* Rename TablesList to SPTablesList.stuconnolly2010-05-271-0/+2433