aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
Commit message (Collapse)AuthorAgeFilesLines
* Move table content filter logic to it's own file.stuconnolly2012-08-151-208/+29
|
* Filter window should observe use table view gridlines preference.stuconnolly2012-08-141-10/+23
|
* - Add linebreak display in the database processes list, preventing display ↵rowanbeentje2012-08-061-0/+1
| | | | | | | of truncated queries for clarity (Issue #1407) - If SHOW FULL PROCESSLIST isn't on, and the query appears to be truncated (length == 100), add a trailing ellipsis to suggest more content
* - Alter table content Advanced Table Filter query preview area to use ↵rowanbeentje2012-08-011-2/+2
| | | | | | | standard textview backgrounds, getting rid of the surrounding border box. This fixes issues with dark colour schemes. - Fix Advanced Table Filter column sizing to be uniform
* - Remove the last BWToolKit view items from the main nib (DBView) by ↵rowanbeentje2012-07-291-10/+15
| | | | | | | | redesigning the advanced Content Filter window - Tweak SPTextView to support translucent views, or views which are set not to draw their background - Fix Lion compatibility for advanced content filter default operator (Issue #1255)
* * Restore filter window functionalitydmoagx2012-07-251-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-16/+23
|
* - Fix use of the pagination jump-to-page functions, addressing Issue #1376rowanbeentje2012-06-201-3/+5
|
* * Fixes the case of the curious @"es"'sdmoagx2012-05-171-3/+3
|
* - Manually allocate memory for table selection restoration processing ↵rowanbeentje2012-05-131-3/+7
| | | | instead of relying on the stack; this should address exceptions on background threads when loading tables
* - Alter table filtering to reset pagination when filters are entered; ↵rowanbeentje2012-05-081-4/+9
| | | | pagination should still be correctly preserved in all other cases
* - Manually handle some SPFileHandle memory management to significantly ↵rowanbeentje2012-04-121-0/+3
| | | | | | | improve memory usage during large exports, particularly improving memory which appeared to never be reclaimed - Fix some minor memory leaks throughout the application
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+2
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-3/+1
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-2/+9
|
* - Fix an exception when attempting to preserve the selection in a table ↵rowanbeentje2012-03-241-3/+12
| | | | | | | | with a primary key with multiple columns of which the first of which is a blob or binary type - Clean up NSNull comparisons and add comments - Clear the selection when filtering a table, allowing reselection to look a little more consistent
* - Rework SPTableData PRIMARY KEY and UNIQUE KEY parsing to use SPSQLParser ↵rowanbeentje2012-03-221-19/+141
| | | | | | | | | | instead of regexes - Support multiple primary keys in the SPTableData parse - If possible, use primary keys to preserve table content selection instead of row indexes - Improve SPTableData primary keys method to use cached value instead of using another query - Preserve selection when filtering tables if appropriate
* Update error message.stuconnolly2012-03-201-1/+1
|
* - When exporting a query result or filtered table view make sure we're ↵stuconnolly2012-03-201-897/+122
| | | | | | | | including the entire content of BLOBs, not just what we display. Fixes issue #1124. - Move SPTableContent's table view datasource and delegate methods to separate categories in order to reduce it's size.
* - When cancelling a sort on the table content view, don't display an error ↵rowanbeentje2012-03-201-1/+1
| | | | message
* - When refreshing the table content view, preserve column widths for ↵rowanbeentje2012-03-201-0/+12
| | | | columns which keep the same name, fixing flickering when refreshing (addresses issue #1279)
* - Add a base64Encoding method for convenience when the result should be all ↵rowanbeentje2012-03-181-2/+2
| | | | on one line, and use it in SPTableContent
* - Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category ↵rowanbeentje2012-03-171-24/+1
| | | | from the project, and replace with an MIT-licensed TCMPortMapper sources NSNotificationCenterThreadingAdditions category. This should fix method clashes in the SP_REFACTOR project, so remove behavioural/namespacing switches.
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-85/+76
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-10/+10
|
* - Expicitly cast parameters before passing into NSString formatters ↵rowanbeentje2012-01-091-2/+2
| | | | assuming 64-bit lengths; this addresses exceptions and hangs viewing table contents on 32-bit machines, many thanks to stuart02 for identifying and tracking down this issue
* - Fix two incorrect initialisations; thanks to sqlprodev for spotting theserowanbeentje2011-10-201-1/+1
|
* - Update code to use NSStrings for NSTableColumn identifiers, as per 10.7 SDKrowanbeentje2011-10-171-38/+28
| | | | | - Update localizable strings
* - Rework table data saving to ensure that cells that should be edited via ↵rowanbeentje2011-10-051-178/+146
| | | | | | | the edit sheet aren't then overwritten by the cell value, potentially causing data truncation in 10.5. This addresses Issue 1196. - Consolidate field editing in sheet logic
* - Fix editing of binary string values, a regression in r3428; addresses log ↵rowanbeentje2011-09-221-0/+3
| | | | 2665
* Rework linebreak handling in content and custom query result views, as ↵rowanbeentje2011-09-211-11/+29
| | | | | | | | | | | triggered by Issue #1184: - Display table cells on a single line for preview purposes - Display gray pilcrow/reverse pilcrow placeholders instead of linebreaks - If a cell contains linebreaks, automatically trigger sheet editing mode - Handle newly displayed linebreaks in column width detection - If using the up/down arrow keys in a field editor, allow them to select the previous/next line within an editor if appropriat (instead of always moving to the previous/next row)
* - Require there to be at least 50 rows to be in the table before using the ↵rowanbeentje2011-09-071-1/+1
| | | | "DELETE FROM foo" remove all rows code path. This improves the chance that the user actually intends to delete all the rows in the table, addressing Issue #1166.
* Tidy up console/query controller.stuconnolly2011-09-031-0/+1
|
* Tidy up.stuconnolly2011-08-271-0/+8
|
* * Fixes some strings that were not really localizable the way they were ↵dmoagx2011-08-261-11/+21
| | | | constructed.
* Rework editable row checks in views and custom query results:rowanbeentje2011-08-241-28/+23
| | | | | | | | - Only include columns from the same database, even if they share the same table name - If a primary key was found that can be checked, use all the columns specified in the primary key - Correctly escape and format values in primary key columns - Clean up logic and string generation
* Tidy up.stuconnolly2011-08-131-20/+22
|
* Re-add default new table's id field to AUTO_INCREMENT added in r3331, but ↵stuconnolly2011-08-121-36/+43
| | | | knocked out in r3376.
* merged latest SP_REFACTOR changessqlprodev2011-08-021-0/+2
|
* Fix for NULL values in CSV export (same as last commit, but this one ↵stuconnolly2011-07-241-14/+36
| | | | actually works).
* - Fix exceptions editing non-unique-keyed views or custom query results ↵rowanbeentje2011-07-101-14/+18
| | | | | | | with some kinds of binary data, fixing http://spbug.com/l/1412 . - Clean up logic and code
* • re-fixed ignoring first character event for editing sheetBibiko2011-06-191-0/+4
| | | | - it was accidentally deleted in r3309
* - Add support for use of table relation "link" arrows on binary/blob data, ↵rowanbeentje2011-06-121-2/+7
| | | | fixing exceptions (eg log 3321)
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-42/+178
|
* Fix bug introduced in the previous commit.stuconnolly2011-05-101-1/+0
|
* During a table data refresh within SPTableContent's loadTable: remember to ↵stuconnolly2011-05-101-2/+4
| | | | ensure that endTask is called before bailing in the event of error occurring (e.g. corrupt table) in order to re-enable various interface controls. Fixes issue #1046.
* • send current event after displaying field editor sheet for editing table ↵Bibiko2011-05-081-0/+4
| | | | | | cells - fixes i1022
* Add an 'Add New Row' menu item to the table content context menu. Completes ↵stuconnolly2011-05-071-4/+11
| | | | the implementation of issue #939.
* Small tidy up, mainly the addition of constants.stuconnolly2011-05-051-1/+3
|
* • improve BIT field type supportBibiko2011-05-051-1/+5
| | | | | | | | - caught some more exceptional cases - re-factored byte to bit conversion (really do not know why the old code wasn't working anymore); this should fix i1042 - disabled unisgned/zerofill check boxes in Structure for BIT - insert correct default BIT field default value if any after adding a new row -- this works for 5.5 but for MySQL 5.0.x it seems that providing a default value is a MySQL bug (further checks are needed)