aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
Commit message (Collapse)AuthorAgeFilesLines
* Replace all non-cyclic NSAutoreleasepools with @autoreleasepoolMax2018-05-031-83/+87
|
* Merge SPDatabaseDocument (part of #2789)Max2018-01-201-1/+0
|
* Merge SPAppController (part of #2789)Max2018-01-201-1/+0
|
* * Moved `-[SPHistoryController currentlySelectedView]` to SPDatabaseDocument ↵Max2017-12-021-1/+4
| | | | | | | (was completely out of place there) * Removed some redundant code in the process * Remove a few cross-thread UI calls Xcode 9.2 complains about (but there are just so many...)
* Fix an error where Sequel Pro would crash when loading the list of Stored ↵Max Lohrmann2017-06-101-1/+2
| | | | Procs/Funcs (probably related to MySQL 5.8/8.0)
* * Fix a case of "background thread updating UI" (may affect some crashes ↵Max Lohrmann2017-04-221-1/+3
| | | | when importing CSVs)
* Fix an issue where the wrong table could be deleted when switching tables ↵Max2017-03-261-7/+5
| | | | | | (by key press) fast enough after confirming deletion (#2742) This was caused by the delete code being called via a `performSelector:…` timer event instead of directly, which gave the run loop a chance to handle the key event between confirming the delete and actually executing it.
* - #1235: Prevent renaming a database which contains any non-table objects as ↵Stuart Connolly2017-03-231-67/+105
| | | | | | | | it's currently not supported. - #1235: Inform the user when duplicating a database than any non-table objects won't be copied. - Add missing high resolution images to project. - Fix a potential memory leak inside SPCreateDatabaseInfo
* Replace some legacy NSIndexSet enumeration with 10.6+ style ↵Max Lohrmann2017-03-121-36/+23
| | | | -enumerateIndexesUsingBlock:
* Some changes suggested in PR #2606 to improve MySQL 5.8 handlingMax2016-11-011-0/+1
|
* Fix a potential memory management / multi threading issue (#2513)Max2016-07-121-2/+7
|
* * Add the possibility to navigate table list by arrow keys when using table ↵Max Lohrmann2016-04-161-16/+35
| | | | filter (#2468)
* fix various compile warningsAbhi Beckert2016-04-031-2/+2
|
* Fix the charset/collation selection when creating a new db/table (minor ↵Max2015-11-031-0/+1
| | | | leftover from #2237)
* Wrap a repeated call in a simpler methodMax2015-10-251-12/+6
|
* Fix bundle commands no longer working in popup field editor (and possibly ↵Max2015-10-211-1/+1
| | | | | | other cases) (#2299) Replacing some [NSApp mainWindow] with their actually intended calls [NSApp keyWindow] and [view window]
* Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-201-22/+32
| | | | This should also eliminate a few use-after-free crashes
* Add some info which might help a bit with debugging threading issuesMax2015-07-021-7/+7
|
* Fix some minor compiler warningsMax2015-02-031-1/+1
|
* Somehow a "}" got dropped in 56949ac7Max2015-01-101-0/+1
|
* Addition to previous commit. Attention:Max2015-01-061-122/+123
| | | | Depening on your diff tool (Kaleidoscope and Tower are pretty bad, AppCode works well) this change might look big, but all I did was remove two levels of else { } by using return; instead.
* Change some code formattingMax2015-01-061-55/+55
|
* Addition to commit 2735e15bMax2015-01-041-10/+8
|
* Formalize [x release], x = nil; conventionMax2015-01-041-4/+4
| | | | | 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.
* Some internal addtions for mysql event supportMax2015-01-021-25/+16
| | | | (Also deduplicated some code)
* Replace some NSDictionaries with literalsMax2014-12-131-17/+17
| | | | | | * [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).
* Add cast for [NSApp delegate]Max2014-12-131-3/+3
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Reformatting code for modern ObjCMax2014-12-131-14/+14
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Add a "Open Table in New Window" menu actionMax2014-11-231-13/+46
| | | | This is implemented as an alternate menu item, ie. it will appear when holding down the Option (alt) key instead of the normal "Open Table in new Tab" item. Fixes #2015
* 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
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-4/+4
|
* For the CSV storage engine, don't allow adding nullable fields as well as ↵stuconnolly2013-10-281-2/+4
| | | | disabling the add index option. Fixes issue #1546.
* - Fix an exception on 10.6 when clicking below the table list rows ↵rowanbeentje2013-08-251-6/+17
| | | | (http://spbug.com/l/1726)
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-0/+1
| | | | enable some more
* Update localisation comment.stuconnolly2013-04-291-1/+1
|
* Issue #1536: Add the option to force delete a table, which will disable then ↵stuconnolly2013-04-291-62/+108
| | | | re-enable foreign checks. Also, provide a more helpful error message when a table cannot be deleted because of foreign key constraints.
* * Move some duplicate code for charset/collation to it's own classdmoagx2013-04-261-49/+24
|
* * Add support for specifying a collation when creating a tabledmoagx2013-03-201-4/+87
|
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-94/+94
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-2/+0
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-26/+17
|
* - Rearrange some menu shortcuts: ⌘F is now used on the Content tab to set ↵rowanbeentje2012-12-171-49/+49
| | | | the focus to the Filter Content tab bar. ⇧⌘F is used to show the advanced content filter table. This allows ^⌘F to be used for the standard OS X fullscreen window command, addressing Issue #1513.
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-11/+11
|
* Fix r3857 regression. There is no table name when more than one item is ↵stuconnolly2012-09-241-3/+9
| | | | selected.
* Tidy up menu validation.stuconnolly2012-09-241-40/+40
|
* - Fix the SPSplitView helper to correctly restore focus to focussed ↵rowanbeentje2012-08-301-23/+18
| | | | | | | | | responders in an expanding view at the end of the animation - On initial launch, and when changing database, ensure that the window focus is set to the table list or the table list filter or the table list as appropriate. This addresses Issue #1437. - Clean up some logic
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+22
|
* - Add a new SPSplitView class, intended to replace all BWSplitViews and so ↵rowanbeentje2012-07-231-27/+44
| | | | | | | | allow us to remove BWToolKit. Supports constraints and animated collapsible subviews configured in code, fixes crashes and exceptions if a window is closed while animations are taking place or scheduled to take place. - Replace the two vertical splitters in the table list (the filter splitter, and the table info splitter) with SPSplitView implementations as a test - Add a helper method in the new SPDateAdditions
* Improvements to the New Table sheet:rowanbeentje2012-06-181-1/+1
| | | | | | | | | - Make the default sheet width wider - Change "Default" encoding to "Inherit from database" to clarify the action of the menu item - Fix retrieval of default table type on recent MySQL versions - Fix retain of default server table type This should address Issue #1377.