| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
other cases) (#2299)
Replacing some [NSApp mainWindow] with their actually intended calls [NSApp keyWindow] and [view window]
|
| |
|
|
|
|
| |
(fixes #2132)
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
(so the compiler can unroll it again)
|
|
|
|
| |
Caused by an earlier commit of mine.
|
|
|
|
|
|
| |
* [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).
|
|
|
|
| |
Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
|
|
|
|
|
| |
* (Also changed some outdated URLs)
* Replaced [NSApplication sharedApplication] with NSApp
|
|
|
|
|
| |
Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals.
Also replaced some TRUE/FALSE with their YES/NO counterparts.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
temporary files)
|
| |
|
|
|
|
| |
dependency on SP specific code and all the tests to build successfully.
|
| |
|
|
|
|
|
| |
- Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- Tweak README
|
| |
|
|
|
|
|
|
|
| |
this doesn't appear to be restored automatically
- Remove unused delegate methods
|
|
|
|
| |
prefs (but up to now no success - help is needed)
|
|
|
|
| |
• tried to fix setting the content of the treecontroller - maybe related to crash report 1931
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
different spBundle file name
|
|
|
|
| |
• 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
|
|
|
|
| |
issue with genstrings, might need to set "-q")
|
|
|
|
| |
• made usage of constants
|
|
|
|
|
|
| |
default output action was None
• renamed constants to avoid confusing
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
• improved Bundle Editor to store only modified Bundles
|
|
|
|
| |
tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
|
|
|
|
| |
• fixed JavaScript alert and confirm window in HTML output window
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
- renamed menu item
- minor code cleaning
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- improved undo behaviour
- fix issue for non-US keyboard layouts
|