| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
locations, and correcting the logic for fetching the count of rows so that the query is not used where not necessary.
- Update the Table Info pane and tab with a new row count if one is known - this addresses Issue #141
- This reverts r1090, and so needs to be discussed with stuart02 - the rest of the row logic changes may have fixed the 'larger issue' described there?
|
|
|
|
|
|
|
|
|
|
|
| |
execution of code in NSDefaultRunLoopMode (including showing Tooltips)
- improved max text length checking while inserting a text chunk if a selection is given (now it truncates it correctly)
- instead of using NSBeep() while text length checking a Tooltip will be shown
• fine-tuned SPTooltip:
• max text validation in TableContent (cell editing) shows now a tooltip if text too long
Note: Tooltip messages are tentative so far
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usage:
#import "SPTooltip.h"
[SPTooltip showWithObject:@"<h1>Hello</h1>I am a <b>tooltip</b>" ofType:@"html"
displayOptions:[NSDictionary dictionaryWithObjectsAndKeys:
@"Monaco", @"fontname",
@"#EEEEEE", @"backgroundcolor",
@"20", @"fontsize",
@"transparent", @"transparent", nil]];
[SPTooltip showWithObject:(id)content
atLocation:(NSPoint)point
ofType:(NSString *)type
displayOptions:(NSDictionary *)displayOptions]
content: a NSString with the actual content
point: n NSPoint where the tooltip should be shown
if not given it will be shown under the current caret position or
if no caret could be found in the upper left corner of the current window
type: a NSString of: "text", or "html"; no type - 'text' is default
displayOptions: a NSDictionary with the following keys (all values must be of type NSString):
fontname, fontsize, backgroundcolor (as #RRGGBB), transparent (any value)
if no displayOptions are passed or if a key doesn't exist the following default
are taken:
"Lucida Grande", "10", "#F9FBC5", NO
See more possible syntaxa in SPTooltip to init a tooltip
|
|
|
|
| |
by right-click and context menu
|
|
|
|
|
|
|
| |
by checking a keychain item is present before trying to load it
- Also make keychain checks more robust when supplying nil values as some of the parameters
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- not yet finished
• added svn property "Id"
|
|
|
|
|
|
| |
- initial setup
- display a text or HTML tooltip for general messages under the caret position or located somewhere via initializing
• fixed naming issue in SPNarrowDownCompletion
|
|
|
|
| |
visible otherwise set focus to Table List view for selecting a table quickly
|
|
|
|
|
|
|
|
|
| |
will be saved in the Prefs
• font settings in the Field Editor Sheet will be saved in the Prefs
• improved max text length checking while using other InputManager (eg Japanese etc.) - still a bit under construction
Note: each Beep() wil be replaced by a tooltip soon.
|
|
|
|
|
| |
- first try to found a primary key for the to be edited field in the result set
- fixed some backtick quotings
|
|
|
|
|
|
|
|
|
| |
- Data loading now only occurs in one place in the code. This improves consistency and fixes a number of actions which used to trigger a full table reload followed instantly by a filter when the action was performed
- If "Reload data after..." prefs are unticked, no longer load the data (ie the preference now works)
- Make table count text more consistent and useful
- Fix a number of small position-saving type problems with filters and limits active. This fixes Issue #200.
- Clean up and standardise the code dealing with data storage - only one data storage array is now used.
|
|
|
|
|
| |
• SPFieldEditorController:
- improved textViewDidChangeSelection: to eg saves to correct rendered glyph after inserting a non-base char + base char if this combination was typed as last glyph before pressing the OK button (otherwise foo¨ will be saved instead of fooü)
|
|
|
|
|
|
| |
• added the max text length validation for the TableContent while editing in the FieldEditorSheet
• reinvoked the validation of the max text length for TableContent editing while editing in a cell
• fixed in TableContent: prevent the editing of data cells in gray if the cell displays the gray NULL value
|
|
|
|
|
|
| |
- initial support (not yet finished)
Note: maybe add information about field type, max length as attributed string
|
|
|
|
| |
already had it's content loaded, only load the data for the selected cell and not the entire row. Fixes issue #288.
|
| |
|
|
|
|
| |
upgrade changes
|
| |
|
|
|
|
|
|
|
| |
addresses Issue #354)
- Improve favorites saving including names with anonymous users
|
| |
|
| |
|
|
|
|
|
|
| |
- Fix a memory leak in MCPResult.m's stringFromCString:
- Display the number of server variables being display when a filter is being applied
|
|
|
|
| |
of return to be same as remove/truncate table.
|
|
|
|
| |
entire main thread until it is dismissed. Note that is not only sheet that is being run using runModalForWindow, which is subsequently causing the same issue. Fixes issue #357.
|
| |
|
|
|
|
|
|
|
| |
- Shift+Cmd+A to add the current connection to your favourites if it doesn't already exist
- Shift+Cmd+I to invoke importing
- Shift+Cmd+S to display the create table syntax panel
|
|
|
|
|
| |
- lastSqlFileEncoding will be stored in the Preference.plist
- to open SPF files not yet supported
|
|
|
|
|
| |
- renamed menu item to Open
- if sql file is selected encoding popup list is enabled otherwise not since spf will be encoded in UTF-8
|
| |
|
|
|
|
| |
navigation; click and hold buttons to view navigation menu
|
|
|
|
| |
Query editor after opening a SQL file if the user does not connect to a server
|
|
|
|
|
|
|
| |
app for sql files) will insert the file content into the Custom Query editor of the current active doc
- this action starts SP and asks for a connection if it is not running
- same for drag&drop a SQL file onto SP's dock icon
|
| |
|
|
|
|
| |
key equivalent cmd+return. Implements #321.
|
|
|
|
|
| |
- Fix the history navigation to correctly switch across databases without invalid history states
|
|
|
|
|
|
|
|
|
| |
- Open/Save menu items are hidden
• initial support for drag&drop files *.spf and *.sql to SP's icon or double-click at *.sql or *.spf files in Finder
- SP starts if not already running
- sql files will be executed in the Custom Query if at least one connection is open
- spf files not yet supported
-
|
| |
|
|
|
|
| |
- it sets the focus to table list filter field only if it's visible, otherwise it sets the focus to the Table List view directly
|
|
|
|
|
| |
- set focus to Table List filter field after selecting a database
- TAB key in Table List filter field sets focus to Table List for selection/navigation
|
|
|
|
|
|
| |
- fixed issue if caret is inside `` for the narrow-down completion
- fixed issue to add all 'Functions' for the "normal" completion
- some minor code cleaning
|
|
|
|
| |
NULLs are allowed is correct and we can color it if it also matches the user's NULL placeholder.
|
|
|
|
|
|
|
| |
- it inserts the value set in the preferences
• a NULL value will be displayed greyed in the Custom Query result
• make usage of NSArrayObjectAtIndex() in TableContent for tableView:willDisplayCell
- and negated the NULL checking for column (is NULL allowed)
|
|
|
|
| |
they are actually NULL.
|
|
|
|
| |
that aren't loaded.
|
|
|
|
| |
when filtering is not taking place, fixes a crash. Also, if the panel is opened and the search field contains a value that was previously filter using, perform the filtering using this value before the sheet is displayed.
|