| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- by clicking a the same table header the sort will changed to desc, asc, no sort order, desc, asc, etc.
• fixed sorting issue for Custom Query table
- reset sort order status before executing a new custom query
• code cosmetics: reduced file size for SPCustomQuery.m
|
|
|
|
| |
- If enum field is edited RETURN selects the new value instead of saving the entire row
|
|
|
|
|
|
|
|
|
|
| |
shortStringRepresentationUsingEncoding] after simplifying the code
• fixed NSAutoreleaseNoPool(): SPMainThreadTrampoline autoreleased with no pool in place - leak while canceling a print job
- call [self endTask] BEFORE [pool drain]
• in SPTableContent set the focus to table after editing a cell by the field editor sheet on main thread
- this could fix exception 1481
• some code cosmetics: reduced file sizes
|
|
|
|
|
| |
- disable ↑ and ↓ for jumping the next table cell if current cell is a enum field to allow to use the arrow keys for selecting an item from the list
- Note: ?\018↩ handling has to be improved here! (coming soon)
|
|
|
|
|
|
|
| |
- now it selects any field (if it's editable for views) regardless whether the field is a blob
- if user tries to edit a blob field the field editor sheet will occur for editing
• after cancellation of cell editing in the Content Window table preserve the focus on the table
• minor code cosmetics for editing of data coming from a view in Content Window
|
|
|
|
|
|
|
|
|
|
| |
active)
• view data editing
- disable add/duplicate/remove row for views
- first improvements for editing navigation via keyboard
- after editing avoid relaodTable instead use loadTableValues
- outsourced: (NSInteger)fieldEditStatusForRow:andColumn: since it will be used for keyboard editing navigation
|
|
|
|
| |
in tablesList is selected to reset SP
|
|
|
|
|
|
| |
SPTableTypeNone and selectedTableName since the table will be deselectAll
- fixes various updates like title bar etc. and avoid crashes/exceptions
|
|
|
|
| |
- if multipleLineEditingButton is set to on or field is a blob field allow to show the field data as non-editable fieldEditorSheet if field is not editable
|
|
|
|
|
| |
- fixed: call endTask for the current progress spinner if while editing a field the data were changed meanwhile
- fixed line breaking of some long tooltips
|
|
|
|
|
|
| |
- the editing is field based as for Custom Query editing
- shouldEditRow checks if the clicked field can be identified unambiguously
- CAUTION: This must be tested heavily before releasing!! Esp. any kind of threading issues and progress spinner stuff for slower connections
|
|
|
|
|
|
|
|
|
| |
[aString appendString:[NSString stringWithFormat:]] by
[aString appendFormat:]
since it's much more faster
• first look at loop where several [aStr appendString:] occur to try to combine them into one appendString or appendFormat since the allocation of memory takes really time
Note: I tested all my changes but we should test it further to be sure that I didn't a mistake!
|
|
|
|
| |
static analysis.
|
|
|
|
|
|
|
| |
readability of that spf file
• suppress if a window with one tab will be closed that [... parentTabShouldClose] method will be called twice via closeTab:
- this issue could be the reason for recent crashes/exception esp. of the NSNavigator (should be investigated further)
|
|
|
|
|
|
| |
display an alert sheet which waits for the change in the didEndSelector method of a passed class NSInteger variable
• applied the SPBeginWaitingAlertSheet routine to Pref > Editor's check for unsaved color themes and in SPCustomQuery's sheet about Stop/Continue/Run All if a query failed after executing "Run All"
|
|
|
|
|
|
|
|
| |
- [(NSString*)applicationSupportDirectoryForSubDirectory:error:]
Return the application support folder of the current application for 'subDirectory'. If this folder doesn't exist it will be created. If 'subDirectory' == nil it only returns the application support folder of the current application.
• added SPThemesSupportFolder constant
|
| |
|
|
|
|
| |
removed while SP's Editor Preferences window is open
|
|
|
|
|
|
| |
support folder
• fixed opening of other file types by checking lower cased strings
|
| |
|
|
|
|
|
|
|
|
| |
themes
• fixed some issues for saving a theme
note: since it isn't a frequently used feature this should be enough
|
| |
|
|
|
|
|
|
| |
- themes can be saved/loaded in/from ~/Library/Application Support/Sequel Pro/Themes by using the gear menu items in the Editor Pref
- rearrange the GUI
- Edit Theme List follows soon
|
|
|
|
|
|
|
| |
Editor's font
- added some logic for closing the NSColorPanel
- some GUI tweaks
|
|
|
|
| |
selected tables. We'll need to find another way to fix the original issue of not showing procs and functions in CSV and XML exports as well as preserving the user's selection when switching between export types.
|
|
|
|
|
|
| |
- supports the displaying of colors with alpha values (as triangles)
- size is set via parent frame with inset 0.5
- modified the border to match the NSColorWell look (not yet finished)
|
|
|
|
|
|
| |
containing SPColorWellCells
- further improvements will follow soon
|
|
|
|
|
| |
• re-enabled autoHelp
|
| |
|
|
|
|
| |
quotes or not in order to come up with the correct suggestions
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Prefs > Editor > Gear menu as normal plist file
- file extension is spTheme
- can also import TextMate theme tmTheme files directly
• added the chance to set the selection color in the Query Editor
• fixed code for setting the insertion point color
• changed the way how the query highlight color will be drawn
- now it also supports colors with an alpha value
|
|
|
|
|
|
|
|
| |
- Move Table Content progress tracking onto the main thread's load timer
- Improve thread safety when autosizing
- Improve autosize to not contrain wide columns as much in tables where all columns can be shown, or if the column is double-clicked to size.
(This completes work on Issue #271 and Issue #272)
|
|
|
|
| |
export types to ensure procs and functions are only included for SQL exports.
|
| |
|
|
|
|
| |
only multiple procs and/or functions are selected
|
|
|
|
| |
either a proc or function is selected.
|
|
|
|
| |
name encodings
|
|
|
|
| |
the current filtered result.
|
|
|
|
| |
XML export. Caused by the incorrect implementation of XML export delegate methods as well as a missing call to one of them during the export process.
|
|
|
|
| |
within loops to prevent locking up the main thread. These operations ideally should also be threaded.
|
|
|
|
| |
• FIRST implementation to allow to drag a table from the Navigator to the connection window's table list to copy this table with content (it works but needs to be improved!)
|
|
|
|
|
| |
- speed up tree display by caching the sort order of dictionary keys (only for more than 50) - this speeds up the entire Navigator GUI response enormously
- fix the fighting refresh calls in sync mode if user double-clicked at an item in the Navigator which ended up in an unstable tree display
|
|
|
|
|
|
|
| |
- make usage of only one tree
- fixed "Button"-dummy
- fixed refreshing of the tree data for first invocation
- fixed tiny bits for possible crashes/exceptions due to threading
|
|
|
|
|
| |
- this should fix recent crashes/execeptions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- A new SPExportFile class, providing an abstract interface to the handling and creation of export files.
- Enables the centralisation of all file/file handle creation logic as well as better support for handling situations where files fail to be created, including files that already exist at the export location.
- New SPExportFileHandleStatus constants to support the reporting of file handle creation.
- Update SPExporter to use the new file class instead of directly using an instance of SPFileHandle.
- Add the necessary logic to deal with files that already exist on disk, by providing the user with 3 options: cancel the export, ignore the files in question or overwrite them. We might want to enhance this to make new files sequential in name to prevent overwriting. Fixes issue #742.
- New SPExportFileUtilities category, which centralises all the logic relating to writing export type headers as well as dealing with problems occurred during file/file handle creation.
- Improve feedback given on the export progress sheet during export initialisation.
- Tidy up and improve comments.
|
|
|
|
|
|
| |
- Handle "(not loaded)" placeholders; this addresses http://spbug.com/l/1420
- Fix row inspection of widely-spaced rows for large, fast-loading tables, ensuring up to maxRows rows are inspected
|
|
|
|
|
|
|
| |
- searches only for pattern length greater than 1
- improved connection detection for search if connection itself is selected
- improved exceptions handling
- improved first display refresh
|
|
|
|
| |
connection structure data used by the Navigator/Completion List to avoid exceptions or crashes
|