aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • implemented filter content type 'spatial' with general spatial operators ↵Bibiko2010-10-151-0/+4
| | | | for usage as filter of spatial fields
* • implemented for TableStructure's source table the possibility to ↵Bibiko2010-10-152-0/+60
| | | | | | hide/unhide the columns: Key, encoding, collation, comment by adding a gear menu 'View Columns'; the hide status will be saved inside the Pref key: 'NSTableView Hidden Columns SPTableStructureSource' - this implements the feature request issue 868
* Split out AppleScript support into a category of SPAppController.stuconnolly2010-10-144-104/+170
|
* • fixed cursor position correction for autoHelpBibiko2010-10-121-3/+4
| | | | - should fix among other issues i862
* Fix a bug when adding a PRIMARY KEY index, introduced in r2742. Fixes issue ↵stuconnolly2010-10-121-2/+2
| | | | #863.
* 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-095-4/+34
| | | | | - 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-091-0/+53
| | | | 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-082-52/+63
|
* • some further work on displaying geometry fields as imageBibiko2010-10-083-4/+136
| | | | - 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-083-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-084-170/+1007
| | | | into SPDatabaseCharacterSets. The struct is now returned by calling SPGetDatabaseCharacterSets().
* • improved issues for tooltip in Content and Custom tablesBibiko2010-10-085-20/+126
| | | | | | | - 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
* • fixed issue for editing spatial wkt data in field editor sheetBibiko2010-10-082-2/+8
|
* • spatial field supportBibiko2010-10-071-1/+1
| | | | | - 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-072-6/+16
| | | | | - 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-071-2/+12
| | | | Also, don't include the tables indexes table if there are none.
* 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.