aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'Clear Console' menu item, which was disabled because of missing ↵stuconnolly2009-03-302-5/+11
| | | | 'clearConsole:' method in TableDocument.m.
* - When exporting to an SQL file, disable foreign key checks, change SQL ↵rowanbeentje2009-03-281-11/+41
| | | | | | | mode, and alter notes setting, and disable unique checks if appropriate. Dumps generated by Sequel Pro will now be able to be imported even if foreign keys etc are present, without throwing errors and aborting import. - When exporting to an SQL file, wrap the data import commands with table locking and key disabling commands - improves import speeds.
* - set the delegate for the index-NSTableView to TableSource (necessary for ↵jakob2009-03-281-4/+24
| | | | automatic enabling/disabling of the remove-index-button)
* Restore the ability to reorder columns in the Content view, as a temporary ↵rowanbeentje2009-03-281-1/+27
| | | | way of altering the displayed information for display purposes only (addresses Issue #153). I've reviewed code which works with the table columns and we're still correctly using identifers rather than indices everywhere (even in new code!). Filtering and paginating keeps the columns as reordered, refreshing restores them - seems reasonable.
* - The status tab now no longer crashes when viewing Views. (Resolves Issue ↵rowanbeentje2009-03-282-25/+43
| | | | | | | #212) - SQL dump now correctly exports the CREATE ALGORITHM statement for views, and no longer attempts to output data for views. Databases with views can now be exported/imported without errors.
* - Add a preference (currently with no UI) for connection timeoutrowanbeentje2009-03-285-52/+54
| | | | | | | - Improve connection error messages slightly. - Avoid reading prefs for every keepalive check - now sets connection timeout and keepalive interval on connection setup - Fix and extend connection checks to avoid showing extra errors when the connection has been closed
* Improve interaction with connection favorites to prevent issues saving ↵rowanbeentje2009-03-282-4/+9
| | | | | | | | favorite changes: - Favorites are no longer resaved on document window close - instead they're saved on connect. Prevents the oldest window open from saving its favorites when closed, overwriting any changes since. - Explicitly synchs changes to disk to ensure prefs window/connection sheets see each other's changes faster.
* Fixed bug when using the IN filter. removed inclusion of single quotes at ↵avenjamin2009-03-271-1/+1
| | | | start and end
* Fixed bug where exporting current table would use the field terminator, ↵avenjamin2009-03-272-14/+27
| | | | enclosure, escape and line ending characters from the "export multiple tables" dialog instead.
* - Fix exceptions and so saving table column width changes in databases or ↵rowanbeentje2009-03-271-6/+2
| | | | tables which have already seen a column resized in the past. Looks like r389 incorrectly used arrays instead of dictionaries when cleaning up a memory leak.
* - Fix buttons in table selection views to use new refresh button image, ↵rowanbeentje2009-03-271-62/+18
| | | | fixing console errors about missing images on run
* improve labels of toolbar iconsabhibeckert2009-03-261-7/+7
| | | | | | change default toolbar set to have a separator instead of a flexible space between select database and switch pane items closes issue #159
* Completely redesigned query console that now uses a table view instead of a ↵stuconnolly2009-03-2613-527/+1572
| | | | | | | | | | | | | text view. This should significantly improve import speed, but most importantly resolves the crashes caused by the drawing that was being performed by the text view. Fixes issue #87 and implements #167. New console provides the following: - Live filtering - Ability to hide message time stamps - Ability to hide SELECT/SHOW statement messages - Ability to copy messages to pasteboard, including multiple messages - Ability to save the current filtered content to a file, with the option to include the message time stamps
* Project file to clean missing / renamed filesavenjamin2009-03-261-6/+6
|
* Rename tokens.h to SPEditorTokens.h and tokens.l to SPEditorTokens.l.stuconnolly2009-03-264-6/+6
|
* Fixed layering issue. Row count text was hidden by bottom baravenjamin2009-03-261-24/+27
|
* - when loading texts/blobs is disabled, the table view now shows "(not ↵jakob2009-03-262-19/+114
| | | | | | loaded)" in a gray color rather than " - text or blob -" -the remove and duplicate buttons in table and browse view are now disabled when nothing is selected
* Scale print image horizontallybamse162009-03-261-1/+1
|
* - fixed the duplicate field button in the table view (the delete button was ↵jakob2009-03-261-3/+3
| | | | too large and overlapped)
* - updated the backtickQuotedString method to be 10.4 compatible (and to ↵jakob2009-03-261-1/+1
| | | | compile as well. thanks marius!)
* Reset print settings, so we're not prompted about saving thembamse162009-03-261-0/+3
|
* - updated the backtickQuotedString method to be 10.4 compatiblejakob2009-03-261-1/+16
|
* Enabled Page Setup for printing, so now you can print landscape toobamse162009-03-262-14/+5
| | | | | | Enabled auto pagination, so we print everything for now
* Added Marius Ursache to current developers and credited Jakob Egger for his ↵avenjamin2009-03-261-4/+13
| | | | syntax colouring code contributions.
* Trivial commit to test the new nightly build sparkle functionality. mattlangtree2009-03-261-1/+1
|
* - Update Sparkle to 1.5b6 (from 1.5b1). This should address Issue #197 as ↵rowanbeentje2009-03-26103-1/+2496
| | | | | | | | soon as the new framework is used (ie before 0.9.6) - Add a public key to the project and add a link to it in Info.plist for use by Sparkle when verifying future updates - Add a new build configuration (Distribution), and add a new script for use with only that configuration - constructs a basic disk image, asks for the private key file, and signs it.
* - Remove the old Sparkle framework version prior to updatingrowanbeentje2009-03-2663-1875/+0
|
* Fixed tooltip on delete button on table structure.avenjamin2009-03-251-10/+19
| | | | Now says "Delete selected field(s)" - Added (s)
* - Refactor custom query results redrawing code and reset view position to ↵rowanbeentje2009-03-251-23/+17
| | | | avoid out-of-range assertions when switching from a larger dataset to a smaller dataset; this fixes Issue #189
* - Restores the "Zoom" button to the window menu, for conistency with the ↵rowanbeentje2009-03-251-14/+30
| | | | platform. Thanks to "samsouder" for the original patch; this resolves Issue #196.
* - Update the help text for the "Run all" button following r402rowanbeentje2009-03-251-61/+15
| | | | | - Add help text and a keyboard shortvut (alt-cmd-R) for the Run Current/Run Selection button
* Fix a reproducible sort-sort-refresh-sort crash bug by explicitly managing ↵rowanbeentje2009-03-251-3/+7
| | | | sortField and not referencing possibly deallocated column identifiers directly
* Set the default edit-in-sheets button toggle state to no, and add a ↵rowanbeentje2009-03-253-27/+88
| | | | highlighted image state to show when it's set to on
* Added hidden preference to automatically select the last favorite you used.bamse162009-03-241-0/+6
| | | | | | To enable this feature write in Terminal: bash $ defaults write com.google.code.sequel-pro selectLastFavoriteUsed YES
* - fixed issue #203 (backticks in identifiers not supported)jakob2009-03-2411-101/+223
| | | | | | | | - 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]]
* Issue 201: Duplicating a row resets values of text/blob fields in the new rowbamse162009-03-231-4/+4
| | | | | Changes after code review: renamed variable, replaced @"NULL" with [prefs objectForKey:@"nullValue"]
* Issue 201: Duplicating a row resets values of text/blob fields in the new rowbamse162009-03-231-4/+14
| | | | | | | | | | Fixed - If you attempt to duplicate a row in tables where blob/text data is present but hidden and there are no keys, SP correctly pops up the dialog but then continues execution, and so crashes. Fixed - If the row being duplicated contains NULL data, exceptions triggered by [NSNull length] are thrown, and SP stops responding. Thanks to Rowan for code review
* Issue 194: reload table list deselects tablesbamse162009-03-231-1/+13
|
* Linked refresh tables button to TablesList.updatedTablesbamse162009-03-231-23/+24
|
* Issue 202: NULL is prefilled in a non-NULL text fieldbamse162009-03-221-1/+6
| | | | | | | Now, if a field has NOT NULL, the default value is '' (empty string), unless the field is autoincrement, when we can keep the NULL value.
* Issue #201 Duplicating a row resets values of text/blob fields in the new rowbamse162009-03-223-48/+65
|
* - Added missing keyboard shortcuts for new interface buttons.avenjamin2009-03-223-820/+705
| | | | - Preliminary work on new ConnectionView
* - Added tooltips to action button menu itemsavenjamin2009-03-223-162/+199
| | | | - Removed refresh tables menu item - refresh button right beside it.
* - Resaved images to reduce filesize.avenjamin2009-03-2120-164/+24
| | | | - Renamed to have consistent file extensions
* - Removed old no longer used images.avenjamin2009-03-2136-1/+6
|
* - Restyled the bottom bars in the Sidebar, Structure, Indexes, and Content viewsavenjamin2009-03-216-1305/+1324
| | | | | - Added new images - Cleaned up tooltips for the new buttons
* - changed the status message after executing a custom query to read "1 row ↵jakob2009-03-201-11/+27
| | | | affected" / "6 rows affected" rather than "1 row(s) affected"
* SPSQLParser changes:rowanbeentje2009-03-1911-239/+748
| | | | | | | | | | | | | | | | | | - Use method caches for oft-called functions, and support caching of chunks of the underlying string for string walking, resulting in an overall 1.3x-1.4x parsing speedup. - Improve handling of multi-character comment starts (eg / or -) at the very end of strings - When running splitString... methods return even empty strings for consistency. - Update TableDump and TableData to match new usage SPStringAddition changes: - Add a formatter for time intervals. CMMCPConnection changes: - Add support for timing queries CustomQuery and nib changes: - Change the "Run Queries" button to "Run All". - Add a "Run Current" button, which runs the query the text caret is currently positioned inside; if text is actually selected, this changes to "Run Selection". This addresses Issue #43. - Amend the "rows affected" string to better reflect the actual number of rows altered by several queries, show the query count if > 1, and display the overall execution time of the queries. This addresses Issue #142. - No longer execute blank strings as part of the custom query, preventing errors.
* As Rowan's suggestion, I've replaced older/younger with after/beforebamse162009-03-191-1/+1
| | | | | | #198 Older-Younger swapped meaning
* - Moved connection tabview from DBView nib into its own xib fileavenjamin2009-03-193-5115/+5375
|