aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
Commit message (Collapse)AuthorAgeFilesLines
* • removed unnecessary space inside the WHERE clause generation for ↵Bibiko2010-11-071-1/+1
| | | | filtered table content
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-4/+4
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* • Custom and Content table in-cell editingBibiko2010-10-301-0/+14
| | | | - a possible given selection done inside the edited cell will be passed to the field editor sheet for convenience since one often forgets that the field editor sheet mode is active
* • fixed tiny issues for field editing in Content and Custom tableBibiko2010-10-301-0/+3
| | | | - note: for Custom table the re-entering into the edit mode was removed since for a slow reload it doesn't work, ie we've to look for a better way
* • after the field editor sheet was closed enter into the edit mode of the ↵Bibiko2010-10-301-2/+11
| | | | current table cell; this makes it rather convenient to navigate and edit cells via keyboard or mouse for each mode (field editor or incell); the sheet will be ordered out if user tries to modify the current cell if set or blob
* • enabled enter/return/tab enters the edit mode for Content and Custom ↵Bibiko2010-10-301-1/+1
| | | | | | Query table - it will call [self editColumn:0 row:[self selectedRow] withEvent:nil select:YES]; to invoke the incell edit mode, if user tries to modify it the sheet will be displayed if set; further improvements will follow
* • Custom Query and Content table editingBibiko2010-10-291-3/+0
| | | | | - fixed issue for tab navigating if the table is already in the edit mode - !! FOR SAFETY reasons disabled enter/return/tab enters the edit mode !! to avoid crashes until we found a better solution due to the non-waiting field editor sheets
* • convert the Field Editor Sheet into a document-modal sheet, i.e. now the ↵Bibiko2010-10-291-40/+56
| | | | | | | | sheet doesn't block the entire app - fixed various layout issues - fixed some tiny memory leaks • fixed tiny memory leak in MCPStreamingResult
* • added tooltip for header cell of Content and Custom Query table ↵Bibiko2010-10-271-0/+1
| | | | | | displaying the column name and field type - fixes issue 875
* • removed memory leakBibiko2010-10-261-1/+1
|
* • improved the TableStructure handling of GEOMETRY fields and their ↵Bibiko2010-10-251-3/+3
| | | | validations against non-valid WKT notations - return NULL if no header
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-6/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* • fixed bug while editing views if a filter is in usageBibiko2010-10-221-2/+1
| | | | - make sure that setTableDetails will always called for the current selected table even if edited field origin is another table
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Remove use of multiple comments for localized strings.stuconnolly2010-10-191-2/+2
|
* • fixed issue to show/hide the Quicklook GUI item in the Field Editor SheetBibiko2010-10-161-0/+2
| | | | | • 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
* • implemented filter content type 'spatial' with general spatial operators ↵Bibiko2010-10-151-0/+4
| | | | for usage as filter of spatial fields
* • fixed issue of unnecessary string escaping for importing spatial data ↵Bibiko2010-10-101-2/+2
| | | | | | via GeomFromText() • minor code cosmetics
* • enabled SRID editing of spatial fields via WKT stringBibiko2010-10-091-2/+3
| | | | | - 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
* • improved field editor sheet to support geometry fieldsBibiko2010-10-091-2/+0
| | | | | - 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
* • enabled thumbnail images of spatial geometry fields as tooltipsBibiko2010-10-091-8/+8
| | | | - note: geometrycollection support will follow soon
* • some further work on displaying geometry fields as imageBibiko2010-10-081-1/+9
| | | | - to enable the very first approach simply uncomment code in SPTableContent tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: for MCPGeometryData class
* • improved issues for tooltip in Content and Custom tablesBibiko2010-10-081-10/+21
| | | | | | | - 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]
* • fixed issue for editing spatial wkt data in field editor sheetBibiko2010-10-081-1/+4
|
* • 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-071-5/+10
| | | | | - 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()
* • removed approach to query spatial data by using AsText() since it breaks ↵Bibiko2010-10-071-29/+16
| | | | | | | 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
* • added basic support for spatial dataBibiko2010-10-011-8/+30
| | | | | | - 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-011-4/+31
|
* • some very minor code, commenting, and tiny speed improvement stuffBibiko2010-09-301-23/+51
|
* • Filter TableBibiko2010-09-291-3/+8
| | | | | - minor GUI improvements - try to fix issue 1654
* • Filter TableBibiko2010-09-291-1/+4
| | | | - improved operator parsing for >= <= <> ≠ ≤ ≥
* • Filter Table - Set Default OperatorBibiko2010-09-291-11/+86
| | | | - added the chance to define the unmarked default operator
* • Filter TableBibiko2010-09-291-0/+10
| | | | | - fixed thread issue while loading a new table - fixed DBView.xib warnings
* • Filter TableBibiko2010-09-291-20/+83
| | | | | | | - 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-281-11/+47
|
* • some progress on the filter table approachBibiko2010-09-281-5/+63
|
* - 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-271-17/+57
|
* • initial sketch approach to allow to write complex WHERE clauses by ↵Bibiko2010-09-271-212/+359
| | | | | | using a table approach - not yet activated
* Update Localizable.strings and resolve the use of multiple comments for the ↵stuconnolly2010-09-211-1/+1
| | | | same string.
* • 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-201-2/+11
| | | | | | | | | | | - 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-201-20/+32
| | | | | - avoid replacing of % by %% for user-defined content filters if no argument is required • minor commenting stuff and code cleaning
* - Prevent the table content from being filtered or pages through if a row ↵rowanbeentje2010-09-181-0/+2
| | | | is currently being edited and can't been saved cleanly. Addresses at least http://spbug.com/l/735 .
* - Remove a number of invalid [NSTableView makeFirstResponder] calls that ↵rowanbeentje2010-09-181-2/+2
| | | | | | | had crept into the source, replacing with the correct [NSWindow makeFirstResponder:NSTableView]. This fixes a number of exceptions. - Update localisable strings.
* • BIT Field Sheet Editor now can handle NULL valuesBibiko2010-09-161-0/+5
| | | | • Field Editor Sheet field name label also displays NOT NULL if set
* - Consolidate structure and content row editing cancellation code into a ↵rowanbeentje2010-09-161-55/+35
| | | | | | | | | | single function in each class - Tweak NSTableView subclasses to catch presses of the Escape key and ask the class to abort row editing. This makes Esc key behaviour much more consistent, and allows cancelling/reverting edits made via the mouse (eg checkboxes, dropdowns, enums), or after the cell editing has finished but the row is still selected. - Remove debug - Update localisable strings
* • some further bit field editing preparationsBibiko2010-09-151-11/+32
| | | | | | • re-enabled length checking while editing in FieldEditorSheet • FieldEditorSheet now shows field type declaration • some preparations for BINARY editing in FieldEditorSheet
* - Fix row count tracking when deleting table rows; this fixes Issue #819rowanbeentje2010-09-141-5/+5
|