aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.m
Commit message (Collapse)AuthorAgeFilesLines
* fix various compile warningsAbhi Beckert2016-04-031-1/+1
|
* Clarify some texts in the table column type quick helpMax2016-02-051-5/+5
|
* Add basic support for JSON type (part of #2199)Max2015-11-151-8/+19
|
* Add a "tooltip" when picking a column type in structure view, explaining ↵Max2015-11-101-0/+328
| | | | | | basic properties of the type (part of #1090) This is mostly to help users understand what "Length" actually does for *INT types.
* Add support for CURRENT_TIMESTAMP(n) in default/on update column of ↵Max2015-11-041-3/+7
| | | | DATETIME/TIMESTAMP fields (part of #2315)
* Remove duplicate code for ALTER statement when reordering columns via ↵Max2015-11-031-134/+133
| | | | drag&drop in table structure view
* Support fractional seconds for CURRENT_TIMESTAMP in the default column (part ↵Max2015-11-031-3/+8
| | | | of #2315)
* Change the internal handling of charset/collation from offset-based to ↵Max2015-11-011-20/+16
| | | | | | | name-based in structure view This is a major change to the charset/collation code. Please watch out for issues! (part of #2237)
* Wrap a repeated call in a simpler methodMax2015-10-251-1/+1
|
* Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-201-15/+13
| | | | This should also eliminate a few use-after-free crashes
* Add some info which might help a bit with debugging threading issuesMax2015-07-021-2/+2
|
* Setting large auto_increment values (> 1000) could be misinterpreted as ↵Max2015-06-091-10/+16
| | | | decimal values in some cases (fixes #2130)
* Minimal refactoringMax2015-03-091-1/+1
| | | | Replaced some (range.location + range.length) with NSMaxRange(range)
* Addition to commit 2735e15bMax2015-01-041-7/+7
|
* Formalize [x release], x = nil; conventionMax2015-01-041-1/+1
| | | | | Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it. Feel free to revert this commit if you see issues with the approch or implementation.
* Replace some NSDictionaries with literalsMax2014-12-131-8/+7
| | | | | | * [NSDictionary dictionary] → @{} * [NSDictionary dictionaryWithObject:forKey:] can safely be replaced. object==nil would have already thrown a NPE in the past. * Also replaced some (hopefully safe) NSArray initializers (ie. their objects should always exist).
* Replace boxed integers in code with @ literalsMax2014-12-131-2/+2
|
* Reformatting code for modern ObjCMax2014-12-131-2/+2
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Add a hidden preference to control the size of the UI's monospaced font.Stuart Connolly2014-05-261-9/+13
|
* Add basic support for CURRENT_TIMESTAMP in DATETIME columns (MySQL 5.6.5)Max2014-03-191-2/+2
| | | | See #1867
* 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
|
* Use data type constants.Stuart Connolly2014-01-141-47/+46
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-3/+3
|
* For the CSV storage engine, don't allow adding nullable fields as well as ↵stuconnolly2013-10-281-8/+15
| | | | disabling the add index option. Fixes issue #1546.
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-11/+31
| | | | dropped relationship. Fixes issue #1591.
* - Fix occasional exceptions when saves of new fields in the table structure ↵rowanbeentje2013-08-261-7/+6
| | | | fail (http://spbug.com/l/2500, http://spbug.com/l/2281, http://spbug.com/l/2046)
* * Fixes validation of "Show Optimized Field Type" item (issue #1729)dmoagx2013-05-241-0/+5
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-0/+1
| | | | enable some more
* - Fix another issue causing ALTER statements to error for binary column ↵rowanbeentje2013-04-281-1/+1
| | | | types being edited, further addressing Issue #1265
* Fix build warning.stuconnolly2013-03-191-0/+1
|
* - Fix errors when editing or moving columns on server vesions which do not ↵rowanbeentje2013-03-191-1/+1
| | | | | | | | support character sets/collations, addressing Issue #1629 - Fix needless collation queries on those servers - Disable field enums and table encoding dropdown on those servers
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-33/+33
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-10/+1
|
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-2/+3
|
* Filter window should observe use table view gridlines preference.stuconnolly2012-08-141-1/+0
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* Move the table structure's loading logic into it's own category.stuconnolly2012-07-041-306/+2
|
* If available display the columns default encoding and collation in the ↵stuconnolly2012-07-041-26/+69
| | | | structure view. Implements issue #1355.
* - 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/+9
|
* - Fix a possible race condition exception when switching between tables ↵rowanbeentje2012-03-211-3/+7
| | | | when th structure view was active, the collation column was visible, and fields had custom collations
* - Fix exceptions when using Show Optimized Field Type in the Structure pane ↵rowanbeentje2012-03-201-0/+1
| | | | contextual menu
* - Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category ↵rowanbeentje2012-03-171-8/+0
| | | | 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.
* More bugfixes to the SPMySQL integration branch:rowanbeentje2012-03-141-2/+2
| | | | | | - Fix background database structure checks throwing exceptions at the end of certain table operations - Fix incorrect timer access/overrelease when closing a SPNarrowDownCompletion window when database structure fetching is active
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-53/+45
| | | | | | | | | | | | 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-7/+7
|
* Fix the indexes view not restoring the use vertical table view gridlines ↵stuconnolly2012-01-091-0/+1
| | | | preference.
* - Prevent export and indexes controller awakeFromNib: routines from being ↵rowanbeentje2011-08-251-0/+3
| | | | | | | run multiple times - Fix crashes and exceptions when using "Use monospaced fonts" or "Display vertical grid lines" preferences after closing at least one window
* - Fix thread-safety issues creating the encoding popupbuttoncell on the ↵rowanbeentje2011-07-111-4/+4
| | | | Structure view (addresses http://spbug.com/l/2123 )