aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.m
Commit message (Collapse)AuthorAgeFilesLines
* Formalize [x release], x = nil; conventionMax2015-01-041-5/+5
| | | | | 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-1/+1
| | | | | | * [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-2/+2
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Add a hidden preference to control the size of the UI's monospaced font.Stuart Connolly2014-05-261-4/+6
|
* 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
|
* Updated Save Process List panel sheet to 10.6+ SDKMarius Ursache2013-11-111-31/+26
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-2/+2
|
* - Fix process list kill query/connection actions not using the correct ID ↵rowanbeentje2013-04-031-3/+3
| | | | if the list was filtered
* Split the process list controller's table view data source and delegate ↵stuconnolly2013-04-031-64/+0
| | | | methods into their own category.
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-25/+16
|
* - Fix exceptions when filtering the table process list on high-load servers ↵rowanbeentje2012-11-191-1/+1
| | | | where the time can sometimes still be NULL as the thread is setting up
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-1/+2
|
* - Add linebreak display in the database processes list, preventing display ↵rowanbeentje2012-08-061-2/+16
| | | | | | | 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
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* - Change process ID tracking in the Server Processes list from using ints ↵rowanbeentje2012-05-041-19/+19
| | | | to using long longs, ensuring 64 bit ID support even on 32 bit systems. This addresses Issue #1335.
* Merge outline view branch into trunk.stuconnolly2012-05-021-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for managing and grouping favorites into folders in the connection view and removes the associated favorites management from the preferences window. NOTE: On first launch your connection favorites will be migrated from Sequel Pro's preference file to a new file in ~/Application Support/Sequel Pro/Data. Your old favorites will remain in the preference file until removed in a future version. Outstanding known issues: - Removing a group node with no child favorites presents a warning about also removing the non-existent favorites. - Starting the application with no favorites, creating a group node then selecting, hides the connection details input. Doesn't support emoty selection. - Setting the name of a connection, adding it to the favorites and then swicthing to a different connection type, screws with the favorite name. - The preservation between launches of whether group nodes are collapsed or not is currently not supported.
| * Bring outline view branch up to date with trunk.stuconnolly2012-04-161-3/+3
| |
| * Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-13/+12
| |
| * Bring outline view branch up to date with trunk (r3471:r3481).stuconnolly2012-02-191-1/+1
| |
| * Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-2/+23
| |
| * Bring outline view branch up to date with trunk (r3279:r3306).stuconnolly2011-05-141-2/+14
| |
| * Bring outline view branch up to date with trunk (r3235:r3245), which should ↵stuconnolly2011-03-191-5/+5
| | | | | | | | resolve all warnings.
| * Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-2/+3
| |
| * Apply new favorites outline view patch.stuconnolly2010-12-051-0/+3
| |
* | - Fix process list filtering to handle new NSNumber id/time formatting ↵rowanbeentje2012-04-071-2/+2
| | | | | | | | (change mode for sorting, iirc). This addresses Issue #1315.
* | - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-1/+1
| | | | | | | | | | | | | | fix nightly builds - Fix warnings
* | Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| |
* | * Fixes some localization spacing issues reported by Frédéric Latourdmoagx2011-09-021-1/+1
| |
* | * Fixes sorting of integer values in server process list (issue #1159)dmoagx2011-08-241-1/+22
| |
* | - Reorder process list initialisation to ensure FULL processlist preference ↵rowanbeentje2011-06-131-2/+2
| | | | | | | | is correctly read
* | Re-add the ability the show the full process list in the server processes ↵stuconnolly2011-05-071-2/+14
| | | | | | | | panel. Fixes issue #1036.
* | Fix more compiler warnings.stuconnolly2011-03-141-2/+2
| |
* | fixed compiler warningssqlprodev2011-03-011-2/+3
|/
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-1/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Tidy up.stuconnolly2010-10-191-3/+3
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Remember the width of the server process list tableview columns between ↵stuconnolly2010-09-261-0/+28
| | | | application launches. Implements issue #814.
* Enable column sorting in the server processes window. Implements issue #816.stuconnolly2010-09-151-0/+14
|
* Remove debug.stuconnolly2010-05-301-3/+1
|
* Prevent spawning multiple threads for refreshing the server process list by ↵stuconnolly2010-05-281-0/+11
| | | | tracking the threads running state. Fixes log http://spbug.com/l/563.
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-2/+2
|
* Initial implementation of tabs:rowanbeentje2010-05-231-2/+2
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Rework alert sheets:rowanbeentje2010-05-091-2/+2
| | | | | | | - Change MCPConnection.m to no longer use a reference to tableWindow to attach sheets - instead use a delate error display method if available - Rework TableSource and TableContent sheetDidEnd methods into per-task methods rather than overloading contextInfo - Rework SPAlertSheets to perform actions on the main thread, with the loss of (unused) support for a didDismissSelector. This addresses a number of crashes logged by the crash reporter
* Add extra connection checking at multiple stages of getting the server's ↵stuconnolly2010-04-271-11/+14
| | | | process list. Fixes http://spbug.com/l/152.
* Bunch of improvements to the serve processes panel, including:stuconnolly2010-04-241-51/+226
| | | | | | | | | | - MCPKit's listProcesses (mysql_list_processes) method is now used, instead of running the query ourselves. - The ability to set whether or not the list is auto refreshed. - The ability to set the autorefresh interval, either via the presets or by entering a custom value (the interface for this might need updating). - Get the process list is now performed on a background thread. This completes the implementation of issue #607.
* Perform bounds checking in the process list controller's table view data ↵stuconnolly2010-04-231-2/+2
| | | | source method. Fixes exception http://spbug.com/l/146.
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-2/+0
| | | | favorites (Thanks Hans).
* Until it can be moved to it's own connection don't allow refreshing of the ↵stuconnolly2010-03-261-10/+5
| | | | processes list whilst the document is performing a task to prevent connection lock errors. Related to issue #607.