aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructureDelegate.m
Commit message (Collapse)AuthorAgeFilesLines
* Add basic support for JSON type (part of #2199)Max2015-11-151-7/+11
|
* Fix an issue where changing a table collation could cause an exception ↵Max2015-11-111-7/+7
| | | | | | | | (fixes #2320) This issue probably was introduced in f02fb787063caabe246a0ee420394f5676c55a9c The empty item at the top of the collation list will now no longer have a selection mark, though.
* buildbot didn't like that...Max2015-11-101-1/+1
|
* Add a "tooltip" when picking a column type in structure view, explaining ↵Max2015-11-101-0/+102
| | | | | | basic properties of the type (part of #1090) This is mostly to help users understand what "Length" actually does for *INT types.
* Changed my mind about something, to make it safer for localizationMax2015-11-031-2/+4
|
* Remove duplicate code for ALTER statement when reordering columns via ↵Max2015-11-031-76/+8
| | | | drag&drop in table structure view
* Add a visual indication for the defaults in the encoding/collation menus in ↵Max2015-11-021-0/+126
| | | | table structure view (final part of #2237)
* Change the internal handling of charset/collation from offset-based to ↵Max2015-11-011-80/+84
| | | | | | | name-based in structure view This is a major change to the charset/collation code. Please watch out for issues! (part of #2237)
* Minimal refactoringMax2015-10-311-14/+11
|
* Improve the way Sequel Pro inferrs the collation of a column. (#2237)Max2015-10-251-11/+26
| | | | This does not entirely fix the bug of SP sometimes displaying the wrong collation, but should work in >= 99% of cases.
* Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-201-2/+5
| | | | This should also eliminate a few use-after-free crashes
* Change [NSArray arrayWithObject:] to @[] literalMax2014-12-131-2/+2
| | | | Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
* Replace boxed integers in code with @ literalsMax2014-12-131-3/+3
|
* Add a hidden preference to control the size of the UI's monospaced font.Stuart Connolly2014-05-261-1/+4
|
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* For the CSV storage engine, don't allow adding nullable fields as well as ↵stuconnolly2013-10-281-46/+51
| | | | disabling the add index option. Fixes issue #1546.
* - Fix exceptions when shift-tabbing back from a very early cell in the ↵rowanbeentje2013-08-261-2/+2
| | | | Structure view to the last cell (http://spbug.com/l/2122)
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-0/+6
| | | | enable some more
* Issue #1515: Add support for fractional seconds in date/time data types on ↵stuconnolly2013-05-121-11/+14
| | | | server versions (>5.6.3) that support them.
* - Fix string type detection, addressing errors when converting string types ↵rowanbeentje2013-04-161-2/+2
| | | | to blob or binary fields (addressing Issue #1453)
* - Fix errors when editing or moving columns on server vesions which do not ↵rowanbeentje2013-03-191-3/+4
| | | | | | | | support character sets/collations, addressing Issue #1629 - Fix needless collation queries on those servers - Disable field enums and table encoding dropdown on those servers
* Make some small tweaks to string BINARY handling:rowanbeentje2013-03-171-5/+3
| | | | | | - Correctly send the binary state/collation when reordering fields, addressing Issue #1265 - Allow unticking of the binary box to save correctly, allowing conversion of fields to non-binary collations again
* Fix some 10.8 warnings.stuconnolly2013-02-171-1/+1
|
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-27/+27
|
* Default grayed out column encodings should use monospaced fonts if enabled.stuconnolly2012-08-131-31/+47
|
* - Fix table structure issues with default collations on non-default ↵rowanbeentje2012-08-051-2/+15
| | | | | | | | encodings, fixing a number of exceptions with various actions (Issue #1416) - Fix which item is selected after reordering columns in the structure view - Display enodings and collations which match the table settings in gray
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+20
|
* Fix the display of the encoding and collation of fields that don't support ↵stuconnolly2012-07-161-25/+23
| | | | them (introduced in r3708). This also fixes the issue of re-ordering non-string fields failing due to the encoding and collaction being included.
* Move the table structure's loading logic into it's own category.stuconnolly2012-07-041-0/+2
|
* More tidy up.stuconnolly2012-06-041-16/+19
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-4/+0
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+4
|
* - Fix a possible race condition exception when switching between tables ↵rowanbeentje2012-03-211-1/+1
| | | | when th structure view was active, the collation column was visible, and fields had custom collations
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-3/+4
| | | | | | | | | | | | 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-2/+2
|
* Rework linebreak handling in content and custom query result views, as ↵rowanbeentje2011-09-211-1/+1
| | | | | | | | | | | 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)
* When moving a field in the structure view, only use the default value if it ↵stuconnolly2011-08-091-34/+48
| | | | actually has one. Fixes issue #1140.
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-0/+2
|
* • improve BIT field type supportBibiko2011-05-051-1/+1
| | | | | | | | - 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)
* - Add the ability to double-click in empty areas of the main tableviews to ↵rowanbeentje2011-04-251-0/+1
| | | | add new rows/records
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-8/+0
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* Make some minor changes after reviewing r3271:rowanbeentje2011-04-141-3/+3
| | | | | | - Fix a few encoding issues - Recode a few [NSApp keyWindow] uses back to [SPDatabaseDocument parentWindow] following discussion; possibly for later refactoring into use of an error method
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-3/+13
| | | | UI code from functional code
* - Fix more compiler warningsrowanbeentje2011-03-151-1/+1
| | | | | - Tweak README
* Fix more compiler warnings.stuconnolly2011-03-141-2/+2
|
* Fix more compiler warnings.stuconnolly2011-03-041-1/+1
|
* fixed compiler warningssqlprodev2011-03-011-1/+5
|
* - Revert r3187, which only masked an underlying bug and caused double ↵rowanbeentje2011-02-111-1/+4
| | | | | | | | | columns in views - In SPTableStructureDelete, don't request the encoding if the table is reloading; this prevents multithreaded data fetches and race conditions causing Issue #974. - Alter SPTableData to use thread mutexes instead of a boolean to prevent threading issues, which also fixes Issue #974 in a different way. Alter race condition checks to block their threads instead of returning bogus information to prevent state issues. - Alter table loading to no longer load trigger information until required, speeding up use of other views and cleaning up the console log.
* - Rework the Add Index indexes menu and the auto_increment index required ↵rowanbeentje2011-01-041-1/+2
| | | | | | | | | | | | | menu to use tag-based values when generating queries, allowing localisation of menu contents without using those localised values in queries. This addresses I$ - Remove the ability to specify a FULLTEXT auto_increment index, as I believe this isn't possible. - Prevent sheet reuse from specifying invalid storage types for PRIMARY KEYs - Fix exceptions when adding indexes to a table where every field is already indexed - Fix initialField/indexedFieldNames check to improve on r3061 - Fix toggling advanced index view after closing the sheet with the view open - Update localisable strings