| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- now fields are also identified via the database which the field belongs to in order to allow to select/join/etc. fields coming from different databases and to improve the unambiguity of the field origin
- sped up editing check for fields with no table or database origin (then no "select count(*)" is needed)
|
|
|
|
|
|
|
|
| |
- Remove hidden, non-implemented menu in create table relation add dialog to improve tabbing through fields in the popup
- Add cancel shortcut in the table relation add dialog
- Prevent table relations table cells from being edited, as edit support isn't present yet
- clean up tooltips to fix references to Indexes
|
|
|
|
|
|
|
|
| |
position that would hide content
- Store collapse state of table information panel in preferences
- Apply a double fix for BWSplitView/NSSplitView+BWAnchoredButtonBar not informing delegates of resizes - correctly inform original BWSplitView delegates of resizes, and allow BWAnchoredButtonBar registered delegates to recieve the original split view resize notifications. This fixes database menu resizing in synch with splitview resizing for improved/consistent look and feel.
|
|
|
|
|
|
|
| |
width memory to set column widths
- Save custom query result columns back to the master column width store for columns witch map to SQL fields
|
|
|
|
|
| |
- Enable custom query result editing
|
|
|
|
| |
upon connection initialization as well as setting the value based on the user's preferences during initiateMySQLConnection in SPConnectionController. Also, initialize delegateResponseToWillQueryString when the connection's delegate is set and revert back to simply calling the delegate method willQueryString:connection: as opposed to using the selector cache as its currently not working. Might need to look into restoring this if we incur a big performance hit after this revision.
|
|
|
|
| |
them with more generic delegate methods.
|
|
|
|
|
|
|
| |
than "Disconnect" is selected
- Fix tunnel restarts
|
|
|
|
| |
cache within getNumberOfRows after the discovery of much larger issue.
|
|
|
|
|
|
|
| |
clarity (sorry nightly testers)
- Improve assistant copy from being in a script to resources copy phase
|
|
|
|
| |
trackMouse:inRect:ofView:untilMouseUp: instead of hitTestForEvent:.
|
|
|
|
| |
behave like proper buttons, allowing clicking and dragging out to cancel the click, and highlight states
|
|
|
|
| |
autoreleased; this addresses Issue #341
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project.
- All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information.
- All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult.
- Framework includes MySQL 5.1.36 client libraries and source headers.
- Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary.
- All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>.
- New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage.
Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes.
Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
|
|
|
|
| |
- remove all comments before changing/adding the ORDER clause (it can happen that the original ORDER clause was commented out and the table sorter wouldn't work)
|
|
|
|
|
|
| |
- SP tried to select the erroneous part in customQueryView which could lead to an range exception
- now it shows a proper error message
- it suppresses column highlighting and setting of the NSSortIndicator
|
|
|
|
| |
- object for key 'Rows' should be a NSString not a NSNumber
|
| |
|
|
|
|
| |
for information_schema for instance) then try to get the number of rows via "SELECT COUNT(*) FROM table" in order to be able to load the Content Tab
|
| |
|
|
|
|
| |
remove the depdendency on the information_schema database when its not available or accessible.
|
|
|
|
| |
insensitive match if a full match fails, as MySQL can return foreign key references as lowercase rather than actual case
|
|
|
|
|
| |
• added: spinning wheel background image
• removed warning in TableContent (unused 'j')
|
|
|
|
| |
than LIKE, so the quote methods were incorrect. We now use standard escaping without additional LIKE preparation. This resolves Issue #338
|
|
|
|
|
|
|
|
|
| |
addressing the first part of #209:
- For the first column linked by each foreign key, display a link arrow within the table cell
- When clicking on the link arrow, select the reference table and set the table filters to select the clicked value
- Also uses the table cell subclass to allow the entire cell to be editable, not just the contained text (addresses #250)
|
|
|
|
|
|
|
| |
- added editing of blob data
- (editing not yet enabled)
TODO: progress bar while checking if field is editable and writing large blob data
|
|
|
|
|
| |
- make usage of SPFieldEditor for displaying result data field (incl. blob data)
- set to non-editable yet
|
|
|
|
|
|
| |
- added the feature to set "isEditable"; according to "isEditable" GUI elements will be hidden or renamed
- if no blob data reduce the minimal sheet size since no segment or quicklook control is needed
|
|
|
|
| |
by alternating the temporary file name
|
|
|
|
| |
- if textView was changed update hexView (if demanded) according to the correct data type
|
|
|
|
| |
• deleted in DBVview.xib Field Editor Sheet (out-sourced)
|
|
|
|
| |
and Custom Query Tab
|
|
|
|
| |
Custom Query Tab
|
|
|
|
| |
- esp. for (un)commenting a selection if it ends with a \n
|
| |
|
|
|
|
| |
title to "Comment Selection" if a selection is given
|
|
|
|
|
|
|
|
|
|
|
| |
- ⌘/ (un)comment current line only if no selection is given (by using "-- ")
-- caret jumps to the next line to (un)comment lines quickly
-- # sign will be recognized for uncommenting as well as if the entire line is wrapped into /* */
- ⌘/ (un)comment current selection (by wrapping it into /* */)
-- it (un)escapes present */ into *\/ automatically
- ⌥⌘/ (un)comment the current query (by wrapping it into /* */)
-- the GUI element will be found in the Gear Menu by pressing ⌥
• added shortcut ⌫ to Table Content's "Delete selected row(s)" tooltip
|
|
|
|
|
| |
Thanks to Rowan for suggestion where to actually look.
|
|
|
|
|
|
|
| |
- changed comment string to "-- "
- fixed bug in uncomment
- added gear menu item
-- TODO: change menu item title according to selection/current query (coming soon)
|
|
|
|
|
|
| |
current query or selection by inserting "# " at the begin of each line
- Note: not yet finished completely
|
|
|
|
| |
ordering out the contextual menu if not more than one row is selected
|
|
|
|
|
| |
• deleted (void)paste hook from CMTextView (not needed anymore)
• decreased iteration cycles for 'normal' completion (ESC) by getting only the unique words from the current textView
|
|
|
|
|
| |
- added view icon for Views
- improved some tiny code snippets
|
| |
|
|
|
|
|
|
|
|
|
|
| |
be closed when the window is closed, freeing the document's memory
- Update a number of dealloc methods to include more retained memory, and to avoid releasing non-retained memory
- Remove notification observers and delegates where appropriate to avoid issues after document closing
- Fix a couple of memory leaks
- Support window cascading for all windows past the first, using the first window as the autosave window
|
|
|
|
|
|
|
| |
- now the gathering of suggestions does not query the MySQL connection, instead it uses the TableList/TableDocument tableView data as a kind of cache
- this approach should improve the speed for slow server connections
TODO: auto-update for TableList and Database List resp. (it could happen that an other user changed the name of a table/db meanwhile)
|
|
|
|
| |
query editor buffer
|
|
|
|
|
|
|
|
|
|
|
|
| |
arrays, and make some editable CustomQuery improvements:
- Switch to using arrays for row storage rather than dictionaries. Use the data column index for table column identifiers.
- This fixes Issue #316 and also allows sorting by all custom query result columns using a column index rather than the name
- Offers significant speed and memory advantages: result building is now 2x-3x faster, memory used for results storage is 30-40% lower, and result access is slightly faster. (Note full 2x-3x speed results won't be seen - result fetching and mysql binary work isn't included in the timing)
- No longer need to fetch the first column of data for tables containing only blob types
- Correctly escape strings when editing CustomQuery results
- Rewrite NSArrayObjectAtIndex to use the native CFArrayGetValueAtIndex rather than cached selectors - neater code and I think slightly faster
|
|
|
|
|
| |
- will be used mainly for auto-matching column names while csv import
• fixed bug for in/decreasing the font size by using the two-finger gesture on a trackpad if a textView has a selection
|
|
|
|
| |
quotes in queries like SHOW TABLE STATUS LIKE 'I\'m';
|