aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug when adding a PRIMARY KEY index, introduced in r2742. Fixes issue ↵stuconnolly2010-10-121-2/+2
| | | | #863.
* Forgot to update Localizable.strings for previous commit.stuconnolly2010-10-101-0/+0
|
* User manager fixes:stuconnolly2010-10-101-80/+71
| | | | | | | - When adding a new host specify 'PASSWORD' after 'IDENTIFIED BY' to indicate to the server that the password has already been hashed. Fixes issue #856. - Localize and replace a few modal error dialogs with use of SPBeginAlertSheet(). - Fix an error when specifying empty passwords for users.
* Remove NSLog() that was once DLog() to prevent spewing lots of info to the ↵stuconnolly2010-10-101-2/+1
| | | | console.
* • fixed issue of unnecessary string escaping for importing spatial data ↵Bibiko2010-10-105-6/+6
| | | | | | via GeomFromText() • minor code cosmetics
* • enabled SRID editing of spatial fields via WKT stringBibiko2010-10-096-16/+55
| | | | | - the SRID value will be appended at the WKT string like POINT(1 1),101 which will be transformed to GeomFromText('POINT(1 1)',101) on the fly - otherwise the SRID information will be deleted after editing a geometry field
* • some code cleaning, speed improvements, commenting stuffBibiko2010-10-093-60/+115
|
* • CSV Import (incl. import from clipboard)Bibiko2010-10-092-33/+45
| | | | | - if mapped target table field is of type GEOMETRY import csv data via GeomFromText() - replaced succeeding appendString lines by appendFormat since tests have shown that allocating memory once is faster than do it several times
* • for each export/copy/drag method other than SQL pass any spatial fields ↵Bibiko2010-10-094-2/+26
| | | | as WKT string; for SQL pass them as X'…' binary data
* • improved field editor sheet to support geometry fieldsBibiko2010-10-096-24/+93
| | | | | - additionally it shows the image - image can be saved as pdf if image is displayed via Save button; if text is selected the wkt string will be saved
* • implemented geometrycollection thumbnail images as tooltips for spatial ↵Bibiko2010-10-092-123/+201
| | | | fields
* • enabled thumbnail images of spatial geometry fields as tooltipsBibiko2010-10-094-25/+67
| | | | - note: geometrycollection support will follow soon
* • display SPA in the Key column if a field has a spatial keyBibiko2010-10-091-1/+4
| | | | Question: Is it possible to assign an index to a geometry field other than SPATIAL?
* • some further work on displaying geometry fields as imageBibiko2010-10-083-111/+153
|
* • some further work on displaying geometry fields as imageBibiko2010-10-085-4/+435
| | | | - to enable the very first approach simply uncomment code in SPTableContent tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: for MCPGeometryData class
* Add support for adding SPATIAL indexes on MyISAM tables. Also, update ↵stuconnolly2010-10-084-6/+29
| | | | Localizable.strings.
* Fix constant assignment.stuconnolly2010-10-081-1/+1
|
* Tidy up SPDatabaseData by splitting out the hardcoded list of charcater sets ↵stuconnolly2010-10-085-170/+1014
| | | | into SPDatabaseCharacterSets. The struct is now returned by calling SPGetDatabaseCharacterSets().
* • improved issues for tooltip in Content and Custom tablesBibiko2010-10-086-21/+132
| | | | | | | - added not yet supported MCPGeometryData view - removed @try clauses, instead make usage of pthread_mutex_lock etc. approach • adjusted autodetectWidthForColumnDefinition: for SPCopyTable to calculate the width by taking the WKT string of MCPGeometryData • added SPGeometryDataView class which will be used for displaying GEOMETRY data as image (for tooltips, inside field editor sheet) [not yet implemented]
* • added spatial field types to field list suggestionsBibiko2010-10-081-3/+26
| | | | • adjusted gui validation for geometry field types
* • finished spatial field supportBibiko2010-10-082-11/+213
| | | | | - added missing MULTIPOLYGON and GEOMETRYCOLLECTION support
* • fixed issue for editing spatial wkt data in field editor sheetBibiko2010-10-082-2/+8
|
* • spatial field supportBibiko2010-10-072-30/+65
| | | | | - fixed issue while editing geometry data in Content View; once a geometry field was edited it will be stored as NSString, if not it keeps a MCPGeometryData - some code cosmetics and commenting
* • enhanced spatial supportBibiko2010-10-076-16/+161
| | | | | - implemented native routine to immediate AsText() [MULTIPOLYGON and GEOMETRYCOLLECTION are not yet ready] - enabled editing of spatial data in Content View for tables and views and in Custom Query via wkt strings which will be saved automatically as wkb by using GeomFromText()
* Remove unused constant.stuconnolly2010-10-072-9/+1
|
* 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
|