| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
• 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
|
|
|
|
| |
for usage as filter of spatial fields
|
|
|
|
|
|
| |
via GeomFromText()
• minor code cosmetics
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- note: geometrycollection support will follow soon
|
|
|
|
| |
- to enable the very first approach simply uncomment code in SPTableContent tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: for MCPGeometryData class
|
|
|
|
|
|
|
| |
- 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 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
|
|
|
|
|
| |
- 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()
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
|
| |
- minor GUI improvements
- try to fix issue 1654
|
|
|
|
| |
- improved operator parsing for >= <= <> ≠ ≤ ≥
|
|
|
|
| |
- added the chance to define the unmarked default operator
|
|
|
|
|
| |
- fixed thread issue while loading a new table
- fixed DBView.xib warnings
|
|
|
|
|
|
|
| |
- added "Search while Typing"
- added some keyboard short-cuts
- fixed some minor issues
- Filter Table is now a normal NSWindow
|
| |
|
| |
|
|
|
|
|
|
|
| |
content filter changes. This addresses http://spbug.com/l/1648 .
- Clean up code a little
|
| |
|
|
|
|
|
|
| |
using a table approach
- not yet activated
|
|
|
|
| |
same string.
|
|
|
|
| |
- in addition alert the user that this clause was empty to avoid confusion of filtered result set
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- avoid replacing of % by %% for user-defined content filters if no argument is required
• minor commenting stuff and code cleaning
|
|
|
|
| |
is currently being edited and can't been saved cleanly. Addresses at least http://spbug.com/l/735 .
|
|
|
|
|
|
|
| |
had crept into the source, replacing with the correct [NSWindow makeFirstResponder:NSTableView]. This fixes a number of exceptions.
- Update localisable strings.
|
|
|
|
| |
• Field Editor Sheet field name label also displays NOT NULL if set
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
• re-enabled length checking while editing in FieldEditorSheet
• FieldEditorSheet now shows field type declaration
• some preparations for BINARY editing in FieldEditorSheet
|
| |
|
|
|
|
|
|
|
| |
BIT(63) since the old _int2bin routine didn't work because we're dealing with a char* containing bytes if BIT(>8)
- also for views and CustomQuery editing
• started to clean up (VAR)BINARY editing (work in progress)
|
|
|
|
|
|
|
| |
tables as well; this fixes caching of table row count in certain combinations of table sizes and preference values, and should fix Issue #673.
- Add a missing Errors.strings localisable strings table
|
|
|
|
|
|
|
|
| |
(now rolled into argumentForRow: for centralised logic), addressing Issue #791
- Update table row count at bottom of window when deleting rows in the content view
- Update localisable strings
|
|
|
|
| |
avoid calls on released objects; this addresses http://spbug.com/l/1408, http://spbug.com/l/254 and http://spbug.com/l/781
|
| |
|
|
|
|
| |
of the first page, the previous row count was not correctly reset, thus sometimes triggering an exception. This correctly resets the count, addressing http://spbug.com/l/558
|
|
|
|
|
|
|
| |
- simplified code
- reduced number of queries for edit status
- WHERE argument to identify first try to avoid using blob data for speed, if field is not identified with ignoring blob data then use blob data as well
|
|
|
|
|
|
|
|
| |
- simplified code
- reduced number of queries for edit status
- WHERE argument to identify first try to avoid using blob data for speed, if field is not identified with ignoring blob data then use blob data as well
• for TableContent fixed tooltip display
- note: improvements as for CustomQuery follow soon
|
| |
|
|
|
|
|
|
|
|
|
| |
avoid the trampoline exceptions
• unified error message while cell editing
• in Custom Query table cell editing errors are displayed as tooltips and added these message if edit event comes from the keyboard
• fixed: check edit status in Content Tables only for views to avoid unnecessary queries
• used [SPCustomQuery fieldEditStatusForRow:andColumn:] consequently to simplify code
|
|
|
|
|
|
|
|
|
|
|
| |
with extended characters in MySQL identifiers (names of dbs/tables/cols):
- Move encoding queries and control into MCPKit, with newly cleaned-up methods, and switch a number of locations to using the new code.
- Use UTF8 connections for many identifier-based queries (selecting and listing databases, tables, stored procs, table information). This fixes selection and creation of table and database names containing extended characters, also fixing exceptions and errors.
- Improve UTF8 over Latin1 to correctly set the client character set encoding as well, fixing custom queries and edits; remove custom code in SPTableContent achieving the same thing in a single location.
- Fix database encoding detection routines
- Update localisable strings
|
|
|
|
|
|
| |
modify a cell
• in Custom Query table after field editor sheet dismissing preserve the the edited field selection
|
|
|
|
|
|
|
|
| |
data in Content tables
- now each cell can be selected via keyboard navigation regardless whether it's editable or not; only if the user tries to modify it then it will be checked if it's editable or not - for speed while navigation
- fixed issue for view data editing to show blobs in editor sheet if user wants to modify it
- Note: still work on progress
|