aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Replace boxed integers in code with @ literalsMax2014-12-1318-65/+65
|
* Reformatting code for modern ObjCMax2014-12-1323-133/+130
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Mark issue for s.o. to look atMax2014-12-131-2/+3
|
* Changed a few typedef enums to Apples new methodMax2014-12-132-32/+19
|
* Add stub for SPTableContentFilterControllerMax2014-12-052-0/+15
| | | | And with that we are back to a build that should not spam your Console upon launch. (Sorry for the future merge conflict) :)
* Remove a private API in PSMTabBarCellXu Jie2014-12-011-1/+1
| | | | | | Directly assigning to _controlView of a NSActionCell is private and not allowed by Mac App Store. An _customControlView is used to replace _controlView in PSMTabBarCell to avoid direct assigning to _controlView. This should be the last private API to remove before going to Mac App Store.
* Include tab color when duplicating tab.Max2014-11-291-0/+4
| | | | Fixes #2029
* Change some split view width calculations.Max2014-11-293-7/+35
| | | | | | * Attempt to fix the "<SPSplitView: ...>: the delegate <SPSplitView: ...> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state:" message that has been plaguing my console for some time. * This commit also adds a minimum width on the main area to prevent some strange UI bugs.
* Change pagination popover to native typeMax2014-11-282-21/+73
| | | | | | This commit switches our pagination popover to use native NSPopover on 10.7+ making it look more polished and modern. On 10.6 the old style will be used, *however* that one might still suffer from a bug caused by undefined overlapping view drawing behaviour.
* Add a "Open Table in New Window" menu actionMax2014-11-232-13/+49
| | | | 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
* Attempt to fix #1961Max2014-11-114-13/+38
| | | | | | | | | | | | | Namely this commit changes two things: 1) In the past the user manager window technically was closed after it was released (SPUserManager.m:491): [NSApp endSheet:[self window] returnCode:0]; //-> calls delegate, which calls release [[self window] orderOut:self]; This call order has now been swapped. 2) Because the delegate is invoked directly by NSApp, the release was called before other UI elements had finished their cleanup from orderOut:. The delegate callback is now put on the runloop to give other stuff priority. Requesting QA on this commit.
* Merge branch 'master' of https://github.com/sequelpro/sequelproMax2014-10-263-34/+72
|\ | | | | | | | | Conflicts: Source/SPGotoDatabaseController.m
| * Fix error building on 10.8.Stuart Connolly2014-10-262-4/+6
| |
| * Fix error building on 10.8.Stuart Connolly2014-10-262-27/+65
| |
| * Fix button alignment and warning.Stuart Connolly2014-10-261-1/+1
| |
* | Tweak "Go to Database"Max2014-10-162-6/+22
|/ | | | | * Possibility to double-click an item to go there * Search is case-insensitive
* Add a "Go to Database" dialogMax2014-10-124-0/+331
| | | | | | | | The dialog enables * searching for a database by name (substring matching), * using C&P to select databases * navigating to databases not in the database dropdown * faster keyboard-based navigation
* Disable Smart quotes in Bundle EditorMax2014-09-181-0/+4
|
* Merge branch 'disable_smartquotes' of https://github.com/uxp/sequelpro into ↵Max2014-09-182-1/+4
|\ | | | | | | uxp-disable_smartquotes
| * Fix spelling errors on method commentHoward P. Logsdon2014-09-172-3/+3
| |
| * Disable "Smart Quotes" in the query editor, among others.Howard P. Logsdon2014-09-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It might be useful to keep this setting on globally, but smart quotes break SQL, resulting in the requirement of having to do an undo-type-undo dance to force the editor to not replace the single (') and double (") quote characters with the ‘, ’ and “, ” characters, respectively. Since we can presume that no one will want to use these non-SQL quotation marks within SQL unless they explicitly decide to do so (in matching a varchar field, for instance), they should be off by default. Additionally, the double-dash (--) is used in SQL for inline comments, which gets substituted for the em-dash (—). Disabling this seems to be a good idea on the same argument. More info about text substitution: http://support.apple.com/kb/PH14294
* | Disable ID generation during duplicate databaseMax2014-09-181-0/+14
| | | | | | | | Should fix #1978
* | Fix #1983 (bz2 import breaks)Max2014-09-181-7/+4
|/ | | | | * Avoid a malloc(4) / free() and let the compiler figure that out * sizeof(pointer) != sizeof(memory area pointed to by pointer)
* really disable ControlMasterJulien Ammous2014-09-101-0/+1
|
* Add pref to disable backticks in completionsAbhi Beckert2014-09-063-1/+7
| | | | | | | Add a checkbox to the Editor preferences to disable placing backticks around attributes when completing in the custom query pane. Resolves #764
* Resolve #1974: Allow un-mapping of Ctrl-HAbhi Beckert2014-09-061-10/+7
| | | | | | Add menu item "MySQL help for Word/Selection", with Control-H as the default key equivalent Delete SPTextView's built in handling of Control-H key presses
* Resolve #1938: In the query console display the database the query was ↵Stuart Connolly2014-08-2810-46/+112
| | | | executed in.
* Fix warnings.Stuart Connolly2014-08-211-4/+7
|
* Attempt to fix localization on 10.8 SDK (#1896)Max2014-08-091-6/+45
| | | | This is mostly from https://github.com/incbee/DMLocalizedNibBundle (retaining Wil Shipleys original license)
* Replace a few other instances with objectOrNilAtIndex:Max2014-08-034-3/+4
|
* Fix for exception on export (#1968)Max2014-08-013-1/+20
| | | | | | | This fixes an exception that would happen if three conditions were met: 1) No database was selected or it was empty 2) A custom export filename was set 3) You tried to export the result of a custom query
* Fix a error that prevents building in Xcode6b4Max2014-07-281-4/+4
|
* Don't force relation clear on table update, as it now uses notifications to ↵rowanbeentje2014-06-231-1/+2
| | | | update itself; this will improve table switching speed significantly on laggy connections due to a forced information re-fetch
* Move console button and entry generation to occurring non-synchronously when ↵rowanbeentje2014-06-231-9/+15
| | | | calling back to the main thread, fixing a potential spinlock situation when a background thread is querying and the main thread is waiting on the result
* Always use the shortStringRepresentationUsingEncoding: code path when ↵rowanbeentje2014-06-231-8/+5
| | | | displaying table contents, as it saves a lot of shouldUseFieldEditorForRow: checks; shortStringRepresentationUsingEncoding: should return the same values for short strings
* Add a safety check within [SPCopyTable shouldUseFieldEditorForRow:column:] ↵rowanbeentje2014-06-165-11/+35
| | | | for use when loading tables, which may improve Issue #1925 and Issue #1902.
* Fix file opening due to my own stupid mistake!. Fixes #1909.Stuart Connolly2014-05-291-55/+100
|
* Fix memory leaks.Stuart Connolly2014-05-282-5/+9
|
* Add a hidden preference to control the size of the UI's monospaced font.Stuart Connolly2014-05-2617-50/+83
|
* Fix a loss-of-precision implicit conversion warningrowanbeentje2014-05-041-1/+1
|
* Fix string formatting warnings in NSRunAlertPanel by using the additional ↵rowanbeentje2014-05-041-1/+1
| | | | arguments
* Rework CSV field mapping loops for clarity and to theoretically address Log ↵rowanbeentje2014-04-261-74/+56
| | | | #1596; also address two compiler warnings about unused variables
* Fix an issue where CSV imports could not be started if a zero-length field ↵rowanbeentje2014-04-261-6/+6
| | | | was set to not be imported
* Tweak some connection controller animation orders for better interactions ↵rowanbeentje2014-04-252-5/+5
| | | | when toggling SSL/switching tabs to start an edit
* Add favorite name as export filename tokenMax2014-03-281-0/+4
|
* Add basic support for CURRENT_TIMESTAMP in DATETIME columns (MySQL 5.6.5)Max2014-03-194-6/+7
| | | | See #1867
* Fix whitespace so it is consistent.Howard P. Logsdon2014-03-071-3/+3
|
* Enable SSL over SSH connection configuration.Howard P. Logsdon2014-03-072-6/+11
| | | | This appears to work, as I’m able to connect to mysql instances through an ssh tunnel, with ssl configuration, but I probably should wireshark the connection to determine actual network traffic.
* Inverse shift+click sorting for custom queriesMiroslav Zoricak2014-03-052-9/+25
| | | | | Add inverse sorting for custom queries Keep the inverse order while shift+clicking after the first click
* Shift-click to reverse sort order of table columnsMiroslav Zoricak2014-03-041-1/+7
|