aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* Replace all calls to deprecated method ↵Max2018-01-131-28/+37
| | | | +propertyListFromData:mutabilityOption:format:errorDescription:
* Update source code compatibilityMax2017-03-311-2/+1
| | | | | | * Remove forward SDK declaration for 10.8 and below (since that is the minimum required development SDK) * Fix one case where a method unconditionally required a 10.9+ runtime * Move all of the forward/backward hacks into their own file
* fix warningsAbhi Beckert2016-04-101-1/+1
|
* Allow import of saved export settings (in export dialog)Max2015-11-071-1/+1
|
* Fix bundle commands no longer working in popup field editor (and possibly ↵Max2015-10-211-2/+2
| | | | | | other cases) (#2299) Replacing some [NSApp mainWindow] with their actually intended calls [NSApp keyWindow] and [view window]
* Fix exporting Bundles not working (#2261)Max2015-10-031-36/+45
|
* Fix a rare crash when SSH connections failed (caused by a race condition) ↵Max2015-06-111-1/+1
| | | | (fixes #2132)
* Addition to commit 2735e15bMax2015-01-041-29/+27
|
* Formalize [x release], x = nil; conventionMax2015-01-041-9/+9
| | | | | 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.
* Roll some duplicate code into a loopMax2014-12-141-59/+33
| | | | (so the compiler can unroll it again)
* Fix an exception when opening Bundle EditorMax2014-12-141-4/+3
| | | | Caused by an earlier commit of mine.
* Replace some NSDictionaries with literalsMax2014-12-131-122/+119
| | | | | | * [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).
* Change [NSArray arrayWithObject:] to @[] literalMax2014-12-131-3/+3
| | | | Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
* Add cast for [NSApp delegate]Max2014-12-131-2/+3
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Reformatting code for modern ObjCMax2014-12-131-3/+3
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* 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
|
* Fix remaining deprecation warnings.Stuart Connolly2014-01-171-6/+9
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-1/+1
|
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-2/+2
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-41/+40
|
* * Make two strings localizable in Bundle Editordmoagx2012-09-091-1/+1
|
* - Tweak SPSplitView to no longer treat non-resizable split view children as ↵rowanbeentje2012-07-301-15/+0
| | | | | | | max/min constraints when dragging the splitview divider. This improves default behaviour and also allow use of the non-resizable split view children to control relative autoresizing when resizing a parent view - Tweak Bundle Editor to no longer require split view delegate controls to control resizing, instead making the first split view child non-resizable in IB
* - Remove all BWToolKit views from the Bundle Editor window, replacing with ↵rowanbeentje2012-07-291-8/+26
| | | | | | | normal equivalents and a SPSplitView - Remove the ShortcutRecorder instance defined in Interface Builder from the Bundle Editor window, replacing with an instance set up from code. This removes the only dependency on the Shortcut Recorder .ibplugin, making it no longer necessary for building the project.
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+22
|
* - Use a per-user temporary directory for SSH tunnels (and bundle dragged ↵rowanbeentje2012-06-281-1/+1
| | | | temporary files)
* More gcc warning fixes.stuconnolly2012-05-091-12/+10
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-071-2/+4
| | | | dependency on SP specific code and all the tests to build successfully.
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-2/+2
|
* - Clean up undo manager handlingrowanbeentje2011-08-311-0/+1
| | | | | - Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
* Fix for Bundle Editor Group names not showing up in Lion.mattlangtree2011-08-231-2/+2
|
* - Add a bundle meta summary to the top of the bundle editorrowanbeentje2011-06-271-18/+59
| | | | | | | - Rearrange the bundle editor interface further, building on Stuart's work in r3330; particularly focussing on logically grouping fields together. - Move the "Disable" checkbox to the bottom of the window, rename it to "Disable bundle" to make the intent clear, and update the interface when it is in NSOnState
* Tidy up bundle editor UI.stuconnolly2011-06-151-59/+27
|
* - Fix more compiler warningsrowanbeentje2011-03-151-20/+16
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-5/+0
|
* - Manually restore autosave value for bundle editor splitview width, as ↵rowanbeentje2011-01-221-22/+11
| | | | | | | this doesn't appear to be restored automatically - Remove unused delegate methods
* • tried to fix in BundleEditor to auto-save the splitview settings in ↵Bibiko2011-01-171-0/+22
| | | | prefs (but up to now no success - help is needed)
* • improved remove Bundle logicBibiko2011-01-171-1/+4
| | | | • tried to fix setting the content of the treecontroller - maybe related to crash report 1931
* • fixed issue to highlight the correct current query after undoing, i.e. ↵Bibiko2011-01-141-0/+1
| | | | | | | do not using the cache • added SP_SELECTED_TEXT_RANGE shell variable for Bundle support of scope Input Text • added 'insertText', 'setText', 'setSelectedTextRange' JavaScript functions to window.system bridge
* • fixed issue while updating a Bundle by identifying it via UUID but ↵Bibiko2011-01-131-2/+2
| | | | different spBundle file name
* • added Default Bundle: Copy as JSONBibiko2011-01-071-1/+1
| | | | • after selecting a Bundle in the Bundle Editor jump to the beginning of the command in order to avoid unstable display issue inside the command textview
* * Provide more context for Bundle Editor localizable messages (leaves one ↵dmoagx2010-12-261-82/+87
| | | | issue with genstrings, might need to set "-q")
* • implemented undeletion of default BundlesBibiko2010-12-221-8/+76
| | | | • made usage of constants
* • fixed issue form redirecting output actions via exit codes if Bundle's ↵Bibiko2010-12-211-3/+3
| | | | | | default output action was None • renamed constants to avoid confusing
* • fixed issue for duplicating a Bundle (the new UUID will be saved ↵Bibiko2010-12-211-0/+2
| | | | | | | | immediately) • finished default Bundle update handling: - default Bundles will be copied into AppSupport/SP/Bundles if they don't exist - if a default Bundle was updated - then we have to add the corresponding UUID into the Prefs for key updatedDefaultBundles - while launching SP checks for possible updates - if so the Bundle will be overwritten if the user didn't changed - if user changed it then the user's version will be duplicated as "(user)" with a different UUID and the default tag will be removed - and the new Bundle will replace the old one - i.e. the user can decide whether to incorporate its changes or not - if such user-modified Bundles are found the user will be informed about it otherwise an update works quietly
* • further preparations for default Bundles managementBibiko2010-12-201-0/+2
|
* • preparations for managing default Bundles which will ship with SPBibiko2010-12-201-0/+32
| | | | • improved Bundle Editor to store only modified Bundles
* • fixed issue to be able to cancel via ESC the in-cell editing of the ↵Bibiko2010-12-151-1/+1
| | | | tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
* • made usage of more constants to avoid double-storing stringsBibiko2010-12-121-42/+43
| | | | • fixed JavaScript alert and confirm window in HTML output window
* • HTML output window's JavaScript supportBibiko2010-12-121-0/+1
| | | | | | - changed the approach to make the HTML output window the key window; now it could be done directly via a JavaScript command: window.system.makeHTMLOutputWindowKeyWindow() - added the chance to ask Sequel Pro via JavaScript for run-time shell variables via window.system.getShellEnvironmentForName('shell_var_name') • more usage of constants