aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Various improvements to server capability/version checking, including:stuconnolly2010-10-0716-265/+929
| | | | | | | | | | | | | - 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.
* • removed approach to query spatial data by using AsText() since it breaks ↵Bibiko2010-10-073-30/+24
| | | | | | | some column definition approaches - instead introduced a new MCPKit class MCPGeometryData - up to now the spatial data will be displayed as hex bytes - work on it will come soon
* - Update SSH connections to pick up custom ports configured in SSH config ↵rowanbeentje2010-10-062-4/+6
| | | | | | | | files; thanks to Stefan Schüßer for this patch. - Tweak SSH Master Mode to use the "ControlMaster auto" setting instead of -M - Update localizable strings
* When the user cancels a conenction attempt, which subsequently results in an ↵stuconnolly2010-10-061-4/+12
| | | | error, don't bother displaying the error sheet. Also, disable the 'cancel' connection button once pressed.
* • added basic support for spatial dataBibiko2010-10-013-8/+60
| | | | | | - while querying and writing back make usage of AsText() and GeomFromText() to allow to edit each GEOMETRY field as text simple string - works only in Content Tab so far - the spatial data are not yet editable inside views
* • some further work on Filter TableBibiko2010-10-012-4/+32
|
* • some very minor code, commenting, and tiny speed improvement stuffBibiko2010-09-302-23/+54
|
* • simplified generation of the list of all available encodingsBibiko2010-09-301-108/+50
| | | | - added automatic sorting due to human (loacalized) readable encoding names
* Remove use of now non-existent DLog macro.stuconnolly2010-09-291-5/+1
|
* • Filter TableBibiko2010-09-292-4/+9
| | | | | - minor GUI improvements - try to fix issue 1654
* Remove unused macros as well as macros that were only used in a single place ↵stuconnolly2010-09-292-20/+6
| | | | from the precompiled header.
* • added more encodings for the open a file and import resp.Bibiko2010-09-291-11/+80
|
* • Filter TableBibiko2010-09-291-1/+4
| | | | - improved operator parsing for >= <= <> ≠ ≤ ≥
* • Filter Table - Set Default OperatorBibiko2010-09-294-12/+95
| | | | - added the chance to define the unmarked default operator
* • Filter TableBibiko2010-09-292-3/+10
| | | | | - fixed thread issue while loading a new table - fixed DBView.xib warnings
* • Filter TableBibiko2010-09-293-23/+89
| | | | | | | - added "Search while Typing" - added some keyboard short-cuts - fixed some minor issues - Filter Table is now a normal NSWindow
* • enabled Filter Table approach (Content View > ⌘F) for testingBibiko2010-09-282-12/+49
|
* • some progress on the filter table approachBibiko2010-09-282-6/+77
|
* • fixed exception while length checking for import into new table if ↵Bibiko2010-09-281-2/+2
| | | | | | checked value is not a NSString - fixes issue 1649
* - Fix missing tableContentView references, which are required following the ↵rowanbeentje2010-09-271-26/+18
| | | | | | | content filter changes. This addresses http://spbug.com/l/1648 . - Clean up code a little
* • some progress on the filter table approachBibiko2010-09-272-18/+58
|
* When checking for DB changes during an export, don't refresh the table list, ↵stuconnolly2010-09-271-59/+51
| | | | which results in wiping the user's selection. Fix for issue #832.
* • initial sketch approach to allow to write complex WHERE clauses by ↵Bibiko2010-09-272-214/+375
| | | | | | using a table approach - not yet activated
* • made SPCopyTable more independent against missing 'tableStorage' objectBibiko2010-09-271-2/+2
|
* - Fix support for delimiters at the very end of a query string/filerowanbeentje2010-09-271-2/+2
|
* Improve delimiter support in imported SQL files:rowanbeentje2010-09-271-7/+13
| | | | | | - Retain the delimiter if one is found, to avoid autorelease issues. This fixes http://spbug.com/l/124 . - Improve delimiter support in a few functions, particularly SPSQLParser's trimAndReturnStringToCharacter:trimmingInclusively:returningInclusively:ignoringQuotedStrings, to improve compatibility
* * One label was too short in Content Filter Managerdmoagx2010-09-264-39/+42
| | | | * Changed some NSLocalizedString() comments to be more descriptive - keep in mind that the comment is the only thing that can provide context here.
* Tweak favourites sorting from r2696, fixing exceptions when no sort type is ↵rowanbeentje2010-09-262-4/+4
| | | | selected
* Implement threading locking when modifying the query console/controller's ↵stuconnolly2010-09-262-0/+13
| | | | log data storage to prevent race conditions. Should fix crash: http://spbug.com/l/1644
* Remember the width of the server process list tableview columns between ↵stuconnolly2010-09-263-0/+30
| | | | application launches. Implements issue #814.
* Remove 10.4 related code and associated macros.stuconnolly2010-09-265-68/+11
|
* - Correctly sort connection favourites upon startup for both the connection ↵stuconnolly2010-09-262-56/+31
| | | | | | | and preferences view. Fixes issue #807. - Remove the default favourite indicator from the preferences view.
* Fix for exception http://spbug.com/l/1638 caused by the result of comment ↵stuconnolly2010-09-251-1/+1
| | | | changes in r2682.
* Change the comment fomat used when displaying and copying the create ↵stuconnolly2010-09-241-8/+5
| | | | syntaxes for multiple tables to '--' from '#'. Implements issue #842.
* • corrected switch() {} syntaxBibiko2010-09-231-3/+8
| | | | - this fixes issue 841
* Add support in the new index sheet for specifying an index's key block size ↵stuconnolly2010-09-222-8/+31
| | | | (in the advanced view) which was added in MySQL 5.1.10.
* • fixed issue836 by avoiding the fact that while selecting a new table ↵Bibiko2010-09-223-103/+213
| | | | | | | | the CREATE SYNTAX will be parsed twice under certain circumstances which led to this issue - introduced a isWorking mechanism to SPTableData; while SPTableData is updating its cache (ie the CREATE SYNTAX is being parsed) each request for values will return nil or an empty array; the caller is responsible to decide what to do • various commenting stuff • various speed improvements
* Fix an issue where by an export would fail to begin when the check for ↵stuconnolly2010-09-221-2/+6
| | | | database changes was not required (functionality introduced in r2670). Fixes issue #835.
* • 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
* Add missing SVN properties and general comments tidy up.stuconnolly2010-09-2124-130/+67
|
* • do not use title strings of NSPopupButtons for creating the CREATE ↵Bibiko2010-09-211-105/+110
| | | | | | | TRIGGER query due to possible localizations, instead make usage of selected indices - fixes i829 - some code cleaning and commenting stuff
* • TableStructureBibiko2010-09-211-25/+126
| | | | | | - started general cell editing validation due to currently set type and other parameters to help user while setting up/changing fields (must be tested) - set BINARY checked if collation ends with _bin since string fields stores that information in that way for convenience - added TINYTEXT as type suggestion
* Update Localizable.strings and resolve the use of multiple comments for the ↵stuconnolly2010-09-215-19/+18
| | | | same string.
* • 'doPerformQueryService' set toolbar to Custom QueryBibiko2010-09-211-5/+6
| | | | - minor commenting stuff
* • reverted to rev 2630 which removed an 'unnecessary' [table reloadData]; ↵Bibiko2010-09-211-0/+1
| | | | there're instances where one has to reload the table explicitly
* Very minor tidy up.stuconnolly2010-09-201-3/+2
|
* • avoid exceptions etc. if content filter clause is emptyBibiko2010-09-201-10/+22
| | | | - in addition alert the user that this clause was empty to avoid confusion of filtered result set
* • SPTableContentBibiko2010-09-202-137/+200
| | | | | | | | | | | - added at the end of [self loadTableValues] an alert if loading failed • SPContentFilterManager - removed any key bindings for hopefully getting rid of some "mutating method sent to immutable object" exceptions/crashes [1479, 1372, 1310, 295, 1227, 692, 149] - better handling of ESC to cancel the name in-cell editing in table - improved validations - some general code improvements - added/changed comments
* • SPTableContentBibiko2010-09-203-184/+235
| | | | | - avoid replacing of % by %% for user-defined content filters if no argument is required • minor commenting stuff and code cleaning
* • fixed in [_addIndexUsingDetails:]: do not release supportsLength and ↵Bibiko2010-09-201-187/+208
| | | | | | | | | | | requiresLength since they are still in use • fixed: if new field was added store the the underlying NSDictionary not only the field name • fixed in [addIndex:]: init indexedFields with a mutable copy - this fixes all issue for "mutating method sent to immutable object" of SPIndexController like i1609 • fixed "Add" Button validation • fixed display of "Size" column validation • code cosmetics