aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
* • Bundle command supportBibiko2010-12-101-1/+2
| | | | | - fix issue for shortcut recorder for Asian language input - finished JavaScript support inside the HTML output window to run BASH system commands via "var returnValue = window.system.run(cmd)" whereby cmd is either a normal string or an array of the dimension of 2 (command, processID)
* • Bundle command supportBibiko2010-12-101-12/+0
| | | | | - renamed menu item - minor code cleaning
* • Bundle CommandsBibiko2010-12-091-0/+3
| | | | | | - added shell vars SP_CURRENT_EDITED_COLUMN_NAME, SP_CURRENT_EDITED_TABLE for Input Field scoped commands if invoked from a table cell field editor - added shell var SP_TABLE_DATA_SOURCE (content or query) - fixed table row change trigger for custom query tableView
* • Bundel EditorBibiko2010-12-081-1/+1
| | | | | - improved undo behaviour - fix issue for non-US keyboard layouts
* • Bundle EditorBibiko2010-12-081-0/+57
| | | | | - added completion support for shell variables via ESC or F5 or ⌘. - added chance to select something and wrap it into corresponding closing char for ( ' " ` {
* • re-init the Bundle tree after not saving (close) the Bundle Editor ↵Bibiko2010-12-071-0/+6
| | | | window in order to remove all not stored data
* • aborting editing of the bundle name outlineView cell before removing the ↵Bibiko2010-12-071-0/+3
| | | | selected bundle in order to avoid a crash
* • improved Bundle key equivalent handling and enabled to display all ↵Bibiko2010-12-031-0/+10
| | | | short-cuts in menuItem even there're same short-cuts are assigned
* • Bundle CommandBibiko2010-12-021-1/+61
| | | | - for Data Table scope added the chance to specify the handling of BLOB fields (if underlying data are kind of NSData or GEOMETRY) as 'Exclude', 'Include', 'save as image file - the data will be saved as tif file and the path will appear in the table', 'save as file - the data will be saved as raw dat file and the path will appear in the table'; for GEOMETRY fields if set to 'save as {image} file' the representation will be saved as PDF file otherwise the WKT string appears