aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When printing a table/view's structure, change the heading accordingly. ↵stuconnolly2010-10-072-3/+13
| | | | Also, don't include the tables indexes table if there are none.
* Remove unnecessary line break from print template.stuconnolly2010-10-071-1/+1
|
* Various improvements to server capability/version checking, including:stuconnolly2010-10-0718-286/+1002
| | | | | | | | | | | | | - 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-079-196/+319
| | | | | | | 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-066-45/+44
| | | | | | | | 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-014-8/+64
| | | | | | - 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
|
* - Make the initial maximum packet fetch fail silently if it fails, ↵rowanbeentje2010-09-301-10/+4
| | | | defaulting to the default MySQL max packet size (1MB). This improves compatibility with MySQL-like systems like sphinx, addressing Issue #844.
* • 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-293-109/+148
| | | | | - 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-296-31/+679
| | | | - added the chance to define the unmarked default operator
* • Filter TableBibiko2010-09-293-76/+18
| | | | | - fixed thread issue while loading a new table - fixed DBView.xib warnings
* • Filter TableBibiko2010-09-294-157/+409
| | | | | | | - 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-283-36/+140
|
* • some progress on the filter table approachBibiko2010-09-283-20/+820
|
* • 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
* - Make further improvements to 10.5.8 crashes by catching another ↵rowanbeentje2010-09-271-1/+8
| | | | release-on-close after mulitple windows were opened, improving http://spbug.com/728 .
* - 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-273-33/+79
|
* 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.
* Correctly uppercase menu item. Also, update strings files.stuconnolly2010-09-273-423/+122
|
* • initial sketch approach to allow to write complex WHERE clauses by ↵Bibiko2010-09-273-326/+1705
| | | | | | 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-265-145/+2376
| | | | * 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-265-146/+81
| | | | | | | and preferences view. Fixes issue #807. - Remove the default favourite indicator from the preferences view.
* - Remove "Release when closed" from three panels; this was causing ↵rowanbeentje2010-09-252-34/+145
| | | | conflicts with manual memory management on 10.5.8 on quit. This addresses http://spbug.com/728 , together with a number of recorded crashes ( http://spbug.com/l/190, http://spbug.com/l/1522 )
* Fix for exception http://spbug.com/l/1638 caused by the result of comment ↵stuconnolly2010-09-251-1/+1
| | | | changes in r2682.
* Consolidate and improve ping code:rowanbeentje2010-09-254-171/+153
| | | | | | | | - Foreground and keepalive pings now use the same code, which has been tidied and improved - Global variables are no longer incorrectly shared across multiple instances - If a ping thread blocks in a state where pthread_cancel no longer functions, the connection is assumed to have failed (network issues etc) This should further improve MySQL crashes linked to pings, and will hopefully address Issue #830. Also update localizable strings
* 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
* Fix add index sheet height.stuconnolly2010-09-231-23/+23
|
* Add support in the new index sheet for specifying an index's key block size ↵stuconnolly2010-09-223-42/+245
| | | | (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-2125-130/+74
|
* • 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-212-27/+131
| | | | | | - 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