| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- 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)
|
|
|
|
| |
confirmation dialogs, but change the cancel button to the have key equivalent of return.
|
|
|
|
| |
available storage engines instead of the information_schema.engines table, which doesn't exist in versions other than MySQL 5.
|
|
|
|
|
|
| |
- SPTableData's columnWithName: now updates caches as necessary to avoid issues
- Mark the extended table info view (particularly the CREATE TABLE syntax) as requiring update following table structure changes
|
|
|
|
|
|
| |
- it's used for the contextual menu for the Table List
• fixed: contextual menu in Table List
|
|
|
|
|
|
| |
- All menu items which show a panel of some kind before completing the action need to have "..." after the menu item name.
- All menu items which do something destructive (drop table, truncate table) need to default to the CANCEL button in their alert message.
|
|
|
|
|
|
|
|
| |
into sheets)
• changed the alert for "Truncate table"
- "Are you sure you want to delete ALL table records in the..."
• added BWToolkitFramework copyright notice to credits.rtf
|
|
|
|
|
|
|
|
|
| |
- id o = NSArrayObjectAtIndex(anArray, index) :== id o = [anArray objectAtIndex:index]
- this speed up it ~3µs per call
- replaced that inline function for such calls within loops to speed up them
• used IMP function pointers for keepAlive calls within queryString:
• set -O3 (Fastest) compiler option
• allow in preference pane "Tables" to set the Limit up to 50000
|
|
|
|
|
|
|
|
| |
and for resetting it (a bit more transparent info)
- now also check the delegate if queryGaveError: method is implemented
• while adding/updating a row to the db Table Content's pane now indicates that process better via spinning wheel
• after TRUNCATE TABLE reload that table content
|
|
|
|
| |
clicking.
|
|
|
|
|
|
|
|
|
| |
MySQL error while retrieving data
- [SPTableData tableEncoding] returns nil if no encoding can be found
- [TableList tableViewSelectionDidChange:] checks in beforehand for a valid table encoding; this avoids to get the same MySQL error message twice and cleaned the structure view
• if a MySQL error occurred while retrieving table data for the content view set the content view to a defined and clean status
• bound TableContent's filterButton to DBView.xib to disable it if an error occurred (otherwise the status bar shows unexplainable results )
|
|
|
|
|
|
|
|
|
| |
statements in the Custom Query editor if necessary
- if statement begins with: use, create, alter, rename, drop
• reload table list, database pull-down menu according to imported statements
• sped up "Import MySQL Dump"
• fixed some tiny issues of the last commit
|
| |
|
|
|
|
|
|
| |
table list if it was already opened
• commented out the NSLog "not parsed" in SPTableData.m
|
| |
|
|
|
|
|
|
| |
table sheet" via delegate method controlTextDidEndEditing:
• improved controlTextDidEndEditing: to recognize only the RETURN/ENTER key
|
|
|
|
| |
via delegate method controlTextDidEndEditing:
|
| |
|
| |
|
|
|
|
| |
table sheet.
|
|
|
|
| |
- in renameTable: AND in tableView:setObjectValue:forTableColumn:row:; i.e. the user can simply double-click at a table item to rename func/proc as well
|
|
|
|
| |
crash if one changes the database
|
|
|
|
|
|
|
|
|
|
|
|
| |
- support for renaming a view
- sheet listens to RETURN key
- sheet text field is set the selected name as default
- if name == selected name disables Rename button
- sheet message according to table type
• cleaned action menu
- if more than one item is selected hide non-relevant menu items
• delete file references for SPScriptEngine.* from Xcode project due to the fact that these files are not found since the last commit
|
|
|
|
| |
- added methods to CMMCPConnection to determine server major,minor,release version
|
|
|
|
| |
things rolling
|
|
|
|
| |
allowing renaming views, which is supported as of MySQL version 5.0.14, but requires some version detection to take place.
|
|
|
|
|
|
| |
"Import" => SP crashed due to the labeling of the gear menu items based on no selected table; this should be fixed now
• some code cosmetics
|
|
|
|
| |
- localize relations view dialogs
|
|
|
|
| |
tables/views/procs/funcs according to the selected table items
|
| |
|
|
|
|
|
|
| |
Implementation of copy with column names menu item
Removal of copy column names
|
|
|
|
|
|
| |
- tablesListView has no method tableType instead using:
[self tableType]
in the TabView delegate method didSelectTabViewItem:
|
|
|
|
| |
input same via the editor
|
|
|
|
|
|
| |
Also replaced some NSLog with DLog/ALog
|
|
|
|
|
|
| |
to table types (table/view)
• moved code for validation of the gear menu items to validateMenuItem:
|
| |
|
|
|
|
|
|
| |
selected table/view types
• disable/enable gear menu item "Duplicate table/view" according to the number of selected tables/views => for > 1 selected items disable the menu item
|
|
|
|
| |
- todo: change the gear menu item title "Remove table" accordingly
|
|
|
|
|
|
|
|
| |
(issue #192).
- Also make these messages have a style of critical to indicate the potential loss of data as a result of performing the operation.
- Updated Localizable.strings to accommodate new dialog messages.
|
|
|
|
|
|
|
|
| |
the + and - buttons, and re-enable double-click to connect. This addresses the majority of Issue #232, although the "Edit" button is not yet functioning.
- Fix a bug where if an autoconnection failed, connection was automatically reattempted
- Add a name field to the connection sheet, and display the name in the window title in place of user@host if set
|
|
|
|
| |
- committing Source
|
|
|
|
|
|
|
|
|
|
| |
creating a new database by presenting a sheet, allowing the user to specify the table name and encoding.
- Allowing the user to specify the table encoding partially addresses issue #161.
- Implementing interface validation in the form of not allowing table creation without a name also removes the need for lots of error checking and presenting these errors to the user.
- In addition to the above the ability to specify the initial field name, type and length (if applicable) of a new table can now be done on the same sheet, but is yet to be implemented.
- Also did a general tidy up of TablesList.[hm].
|
|
|
|
|
|
|
|
| |
- added a backtickQuotedString: method to SPStringAdditions
- created the file SPArrayAdditions for a componentsJoinedAndBacktickQuoted: method
In the future, we should use backtickQuotedString: to quote identifiers like this:
[NSString stringWithFormat:@"SELECT * FROM %@", [tableName backtickQuotedString]]
|
| |
|
|
|
|
| |
- Removed refresh tables menu item - refresh button right beside it.
|
| |
|
|
|
|
| |
deselected, and automatically reselecting the row for re-edit on error - resolves Issue #74.
|
|
|
|
|
|
|
|
|
| |
Issue #155)
- Added basic support for viewing, filtering, and editing BIT columns (resolves Issue #127 in basic form)
- Rewrites selection/save handling. Rows are now only written to database if their content has changed, resolving a long-standing complaint; row selection and editing has also been improved, improving edit/save interaction (fixes Issue #157) and allowing re-editing of the row on failure (fixes Issue #115). Hopefully also addresses #Issue 131, and improves Issue #172.
- Hides the console window when the associated document window closes
|
| |
|
|
|
|
| |
the damage caused by r333, making views viewable again, and extends support by preventing errors in the info pane, by drawing views with a different icon to easily differentiate them, by making all source/index information non-editable to match GUI to behaviour, and to tweak the interface slightly to match.
|