aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a 'Refresh Tables' menu item to the 'Database' menu. It currently has ↵stuconnolly2010-10-193-195/+914
| | | | the shortcut Ctrl+Cmd+R, but this can always be remapped in system preferences. Implemented issue #845.
* - Fix relative paths for SPQLPluginConnectionTemplate.html , addressing ↵rowanbeentje2010-10-171-3/+1
| | | | broken builds
* Tidy up the project's logical structure in Xcode.stuconnolly2010-10-175-94/+147
|
* Add CFBundleShortVersionString property to MCPKit Info.plist.stuconnolly2010-10-161-0/+2
|
* Rename HTML print templates.stuconnolly2010-10-165-22/+23
|
* Fix an exception caused by the changes introduced in r2764.stuconnolly2010-10-161-2/+3
|
* • fixed issue to show/hide the Quicklook GUI item in the Field Editor SheetBibiko2010-10-162-1/+3
| | | | | • attempt to solve the issue of storing ENUM fields in Content View correctly if the user interacts with the mouse on the comboxes for different rows - this addresses the issues 865 and 833
* Tidy up linker flags across all targets, specifically remove linking against ↵stuconnolly2010-10-162-19/+4
| | | | stdc++, which was introduced in r2444 as a workaround for a bug in Clang 1.5 that failed to compile RegexKitLite. Take the approach suggested by the developer of RegexKitLite, which is to disable the macro that uses __attribute__((cleanup)), which trips the bug. Apparently it is only used for debugging purposes. See http://llvm.org/viewvc/llvm-project?view=rev&revision=103938 for the Clang fix.
* Change the connection view's table view to be of type SPTableView so ↵stuconnolly2010-10-153-65/+78
| | | | right-clicking a row results in it being selected first. Also, update SPTableView to prevent right-clicking of table view group headings. Fixes issue #867.
* • implemented filter content type 'spatial' with general spatial operators ↵Bibiko2010-10-152-0/+93
| | | | for usage as filter of spatial fields
* • placed the TableStructure's source table gear menu to the right hand ↵Bibiko2010-10-151-6/+6
| | | | side next to the edit button
* • implemented for TableStructure's source table the possibility to ↵Bibiko2010-10-153-52/+634
| | | | | | 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-145-104/+176
|
* Tidy up build settings, by ensuring they are consistent across all targets, ↵stuconnolly2010-10-144-46/+195
| | | | specifically the compiler used. Also add a very basic Makefile to ease builds from the command line during build testing.
* • 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.
* 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
|