aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - Add an initial barebones version of the history controller, with a basic ↵rowanbeentje2009-07-308-28/+508
| | | | toolbar item to navigate backwards and forwards. TBC!
* - don't add an empty query to historyBibiko2009-07-291-8/+9
| | | | | - suppress "error highlighting" for an empty query - this also fixes the issue for inserting an history/favorite item after executing an empty query (due to an exception it wasn't possible) - removed several test NSLogs
* - Added Splitview delegate method to hide the drag handle on the Table Info ↵avenjamin2009-07-292-5/+32
| | | | pane and Filter view.
* - Fix "endSheet:returnCode: requires a non-nil sheet" log lines during importsrowanbeentje2009-07-282-12/+12
| | | | | | - Enable threaded animation for import/export progress bars as it has minimal overhead and looks nicer - Fix exceptions caused by tablesList drawing during imports
* - Clear selection if user is filtering table list with multiple tables ↵rowanbeentje2009-07-281-4/+7
| | | | selected, to avoid issues
* - When getting splitview sizes to resize database menu, correctly use the ↵rowanbeentje2009-07-282-3/+3
| | | | | | | subview size directly instead of the contents of the scrollview (which incorrectly doesn't measure presence of the scrollbar) - Remove the connection view entirely once a window has connected, fixing resize events following document splitview resize
* - Remove compression option in mysql_options (already set as part of ↵rowanbeentje2009-07-281-4/+1
| | | | | | | connection flags) - Add CLIENT_REMEMBER_OPTIONS to connection flags
* • fixed and improved several issues for sorting the Custom Query result table:Bibiko2009-07-281-8/+59
| | | | | | - better ORDER BY detection - (try to) insert ORDER BY clause at the correct position (e.g. "SELECT * FROM A LIMIT 10 - ORDER clause has to be inserted before LIMIT) - preserve the sort order after editing a field
* Improve TablesList significantly:rowanbeentje2009-07-2810-657/+1309
| | | | | | | | - If there are twenty or more tables, show a table quicksearch/filter at the top of the list, and update the rest of the code to match. This addresses issue #178. - Select tables and views alphabetically by user's current locale (instead of default MySQL "A B C a b c") - When adding or duplicating tables, insert them at the correct point - Fix a number of minor display bugs caused by incorrect interaction with the tables list caches
* • Editing in Custom Query:Bibiko2009-07-262-29/+49
| | | | | - 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)
* - Add keyboard shortcuts for Add and Delete buttons in Table Relations panerowanbeentje2009-07-262-160/+90
| | | | | | | | - 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
* - Tweak table information panel to show scrollbars if it's resized to a ↵rowanbeentje2009-07-2611-29/+164
| | | | | | | | 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.
* Order some files alphabetically in XCode... (is it possible to do this ↵bamse162009-07-241-29/+29
| | | | automatically?)
* - For custom query result columns which map to SQL fields, check the column ↵rowanbeentje2009-07-243-187/+105
| | | | | | | 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
* - Fix editing of results including decimalsrowanbeentje2009-07-232-5/+6
| | | | | - Enable custom query result editing
* To fix query logging not working, initialize delegateQueryLogging to YES ↵stuconnolly2009-07-233-5/+38
| | | | 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.
* - Fix a large memory leak in [MCPConnection prepareString]rowanbeentje2009-07-231-1/+1
|
* Remove delegate calls asking for SP specific TableDocument ivars, replacing ↵stuconnolly2009-07-223-9/+29
| | | | them with more generic delegate methods.
* - Allow the reconnection dialogs to function correctly if anything other ↵rowanbeentje2009-07-222-7/+9
| | | | | | | than "Disconnect" is selected - Fix tunnel restarts
* - Restore MySQL 3.x compatibilityrowanbeentje2009-07-221-3/+3
|
* Disable updating the number of rows in the selected table in the table data ↵stuconnolly2009-07-212-4/+4
| | | | cache within getNumberOfRows after the discovery of much larger issue.
* - Rename "TunnelPassphraseRequester" to "SequelProTunnelAssistant" for ↵rowanbeentje2009-07-214-21/+23
| | | | | | | clarity (sorry nightly testers) - Improve assistant copy from being in a script to resources copy phase
* - Clean up logic flow, moving column and row capture to within ↵rowanbeentje2009-07-211-6/+6
| | | | trackMouse:inRect:ofView:untilMouseUp: instead of hitTestForEvent:.
* - Improve the TextAndLinkCell (foreign key link arrows) to make the arrows ↵rowanbeentje2009-07-215-10/+78
| | | | behave like proper buttons, allowing clicking and dragging out to cancel the click, and highlight states
* - Fix a reproducible crash when exporting tables caused by a string being ↵rowanbeentje2009-07-211-3/+5
| | | | autoreleased; this addresses Issue #341
* To prevent a deadlock situation in fetchMaxAllowedPacket, query lock must be ↵stuconnolly2009-07-211-1/+1
| | | | unlocked as serverMajorVersion performs a query and thus attempts to obtain the lock.
* Incorrect installation path for framework config setting. Should be ↵stuconnolly2009-07-211-12/+6
| | | | @executable_path/../Frameworks not my hard coded path, oops.
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-21133-4259/+9897
| | | | | | | | | | | | | | | - 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.
* • fixed bug for table sorter in Custom Query:Bibiko2009-07-211-0/+3
| | | | - 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)
* • fixed bug if the table sorting query in Custom Query gave an errorBibiko2009-07-212-12/+20
| | | | | | - 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
* • bug fixed for the case that table status returns NULL for number of rows:Bibiko2009-07-211-1/+1
| | | | - object for key 'Rows' should be a NSString not a NSNumber
* Improvements to reporting the correct row count for tables. See issue #141.stuconnolly2009-07-213-10/+20
|
* • fixed: if SPTableData returns for dict: tableStatus key:Rows = NULL (as ↵Bibiko2009-07-201-0/+9
| | | | 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 dependency on information_schema for table encodings.stuconnolly2009-07-202-5/+23
|
* Include a hard coded list of encodings and collations in SPDatabaseData to ↵stuconnolly2009-07-203-11/+220
| | | | remove the depdendency on the information_schema database when its not available or accessible.
* - When selecting tables - eg from a foreign key link - fall back to a case ↵rowanbeentje2009-07-181-1/+10
| | | | insensitive match if a full match fails, as MySQL can return foreign key references as lowercase rather than actual case
* • added: AMIndeterminateProgressIndicatorCell for global spinning wheelBibiko2009-07-185-1/+258
| | | | | • added: spinning wheel background image • removed warning in TableContent (unused 'j')
* - Update WHERE string buildup - the code now uses equals comparisons rather ↵rowanbeentje2009-07-181-22/+3
| | | | than LIKE, so the quote methods were incorrect. We now use standard escaping without additional LIKE preparation. This resolves Issue #338
* Add the ability to navigate between tables via foreign key relationships, ↵rowanbeentje2009-07-1811-56/+419
| | | | | | | | | 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)
* • fixed: FieldEditorSheet remembers the last sheet size for 'normal' text ↵Bibiko2009-07-181-3/+1
| | | | fields and blob data field variably
* Update copyright year.stuconnolly2009-07-181-2/+1
|
* • finial preparation to make Custom Query's result table editableBibiko2009-07-171-17/+36
| | | | | | | - added editing of blob data - (editing not yet enabled) TODO: progress bar while checking if field is editable and writing large blob data
* • changed in Custom Query:Bibiko2009-07-173-86/+57
| | | | | - make usage of SPFieldEditor for displaying result data field (incl. blob data) - set to non-editable yet
* • Field Editor Sheet classBibiko2009-07-174-9/+66
| | | | | | - 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
* • fixed: caching of QuickLook preview in Field Editor sheet is suppressed ↵Bibiko2009-07-172-17/+28
| | | | by alternating the temporary file name
* Remove old SSH tunnel password prompt script.stuconnolly2009-07-172-16/+0
|
* • fixed inField Editor Sheet:Bibiko2009-07-171-2/+6
| | | | - if textView was changed update hexView (if demanded) according to the correct data type
* • applied the new class SPFieldEditorController to TableContentBibiko2009-07-176-1828/+121
| | | | • deleted in DBVview.xib Field Editor Sheet (out-sourced)
* • some further progress on outsourcing the Field Editor sheet for Content ↵Bibiko2009-07-165-238/+449
| | | | and Custom Query Tab
* • some further work on outsourcing the Field Editor sheet for Content and ↵Bibiko2009-07-164-44/+1348
| | | | Custom Query Tab