aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • added sequelpro URL scheme commands passToDoc/SetText/<text>, ↵Bibiko2011-01-141-0/+40
| | | | passToDoc/InsertText/<text> and passToDoc/SetSelectedTextRange/<range> which work on the first responder of the called SPDatabaseDocument regardless of the NSApp first responder for long running scripts
* • added 'suppressExceptionAlert' JavaScript function for window.system ↵Bibiko2011-01-142-0/+24
| | | | bridge; if called JS exceptions won't be alerted instead written to Console
* • fixed issue to highlight the correct current query after undoing, i.e. ↵Bibiko2011-01-148-2/+87
| | | | | | | do not using the cache • added SP_SELECTED_TEXT_RANGE shell variable for Bundle support of scope Input Text • added 'insertText', 'setText', 'setSelectedTextRange' JavaScript functions to window.system bridge
* - Fix problems correctly resetting state when a query affects no rows on ↵rowanbeentje2011-01-141-2/+11
| | | | | | | creating new tables; this could be responsible for -release errors in SPDataStorage, as well as out-of-bounds errors in SPDataStorage or SPTableContent. - Fix incorrect reporting of affected rows in MCPKit due to the use of meta/status queries; only track affected rows for framework-usage queries (already largely implemented in previous revisions)
* • improved error handling for sequelpro URL scheme commandsBibiko2011-01-131-0/+21
|
* • fixed issue while updating a Bundle by identifying it via UUID but ↵Bibiko2011-01-132-4/+5
| | | | different spBundle file name
* - Add a new -engineTypeQueryName method to SPServerSupport, with a correct ↵rowanbeentje2011-01-134-3/+14
| | | | | | | split between TYPE or ENGINE depending on database version. - Update CREATE TABLE and ALERT TABLE queries to use this, fixing custom-type table creation on MySQL <4 and table type changes on MySQL >= 5.5. This addresses Issue #947.
* • fixed issue for installing a Bundle if Sequel Pro didn't run, i.e. e.g. ↵Bibiko2011-01-121-0/+5
| | | | double-click in Finder at a spBundle file
* - Fix errors creating indexes, addressing Issue #946rowanbeentje2011-01-111-8/+8
| | | | | | - Move index type query part before the column list to fix advanced use errors - Correct spelling of -_removeIndexUsingDetails:
* • fixed several issues for validation and other stuff while editing of ↵Bibiko2011-01-115-10/+20
| | | | MySQL data tables if user re-ordered columns
* • improved error handling while writing SP_BUNDLE_TABLE_META_DATA esp. ↵Bibiko2011-01-111-20/+22
| | | | while switching databases
* - When resetting AUTO_INCREMENT for a table, always use the selected table ↵rowanbeentje2011-01-111-7/+1
| | | | name sourced from SPTablesList rather than a SPTableStructure cached value, which may not have been updated. This addresses Issue #945.
* - Fix default population for NOT NULL numeric fields when adding rowsrowanbeentje2011-01-111-3/+11
| | | | | - When saving rows, convert empty strings for NOT NULL numeric fields to 0 rather than NULL to prevent errors
* • disabled in [SPTextView boundsDidChangeNotification] the view update to ↵Bibiko2011-01-102-2/+3
| | | | | | avoid incorrect line number rendering while scrolling until the problem is found why it causes some crashes • fixed missing free() in [SPCopyTable executeBundleItemForDataTable]
* • changed sequelpro URL command SyntaxHighlighting to be connection ↵Bibiko2011-01-102-137/+137
| | | | independent - added example BASH script at http://www.sequelpro.com/docs/URL_scheme_sequelpro://_Usage#Use_Sequel_Pro_to_do_a_syntax_highlighting_of_a_given_SQL_query_HTML_formatted
* - Fix exceptions right-clicking in empty parts of the query favourites ↵rowanbeentje2011-01-101-0/+1
| | | | manager; fixes http://spbug.com/l/1907
* - Track the keychain ID of the favourite in the connection controller, ↵rowanbeentje2011-01-102-3/+7
| | | | fixing errors when amending favourites in the connection view and thereafter saving as .spf or duplicating connections
* • fixed bug for setting SP_BUNDLE_INPUT_TABLE_METADATA if user changed ↵Bibiko2011-01-091-2/+13
| | | | column order in Content and Query Editor table
* Improve column autosizing:rowanbeentje2011-01-081-2/+6
| | | | | | - Use the parent scrollview width rather than the table width to calculate available space; fixes issues with the table width reflecting the previous selected table - Take account of cell spacing and scrollbar width to avoid horizontal scrolling where possible
* • added Default Bundle: Copy as JSONBibiko2011-01-071-1/+1
| | | | • after selecting a Bundle in the Bundle Editor jump to the beginning of the command in order to avoid unstable display issue inside the command textview
* • minor code cleaningBibiko2011-01-072-15/+18
|
* • added internal JavaScript function window.system.closeHTMLOutputWindow() Bibiko2011-01-071-0/+15
|
* • improved installation routine for Default BundlesBibiko2011-01-071-75/+67
| | | | • added missing key isDefaultBundle to Default Bundles
* • trial to fix boundsDidChangeNotification for logs 1894, 1900, 1901Bibiko2011-01-062-6/+6
|
* - Now the connection process is threaded, remove manual display calls when ↵rowanbeentje2011-01-061-5/+0
| | | | updating interface details to prevent glitch drawing
* - Improve on r3070 by also adding .crt extension support in the favouritesrowanbeentje2011-01-051-2/+2
|
* • some minor code cleaningBibiko2011-01-052-7/+5
|
* • improved Default Bundle management for installation, updating, undeletionBibiko2011-01-052-108/+117
| | | | • if current NSTextView is not set to NSLeftTextAlignment show a SPTooltip at mouse location until we found a way the calculate the caret position correctly since [NSLayoutManager glyphRangeForCharacterRange:] returns a wrong NSRect
* • fixed bug for re-copying default bundles after launching SPBibiko2011-01-051-2/+2
|
* • further fix for updating default Bundles after SP updateBibiko2011-01-051-0/+3
|
* • fixed bug for copying default bundles after SP updateBibiko2011-01-051-2/+0
|
* • fixed bug for Bundle commands to detect if current textview is the Query ↵Bibiko2011-01-051-1/+1
| | | | | | Editor • added some more Default Bundles
* • enabled Bundle main menuBibiko2011-01-052-0/+12
| | | | • improved rendering of line number display in Query Editor and Bundle command text view after scrolling to avoid displaying them unreadable
* - Add .crt to certificate/SSL certificate extension listrowanbeentje2011-01-051-2/+2
|
* - Fix SSH tunnels for connections with non-Latin characters in their namerowanbeentje2011-01-043-21/+17
| | | | | | - If SSH tunnel password lookups fail, fall back to asking the user for the password - Don't reset keychain IDs across documents if not set; this fixes problems re-saving .spfs or duplicating chains of tabs
* - Rework the Add Index indexes menu and the auto_increment index required ↵rowanbeentje2011-01-044-17/+67
| | | | | | | | | | | | | menu to use tag-based values when generating queries, allowing localisation of menu contents without using those localised values in queries. This addresses I$ - Remove the ability to specify a FULLTEXT auto_increment index, as I believe this isn't possible. - Prevent sheet reuse from specifying invalid storage types for PRIMARY KEYs - Fix exceptions when adding indexes to a table where every field is already indexed - Fix initialField/indexedFieldNames check to improve on r3061 - Fix toggling advanced index view after closing the sheet with the view open - Update localisable strings
* - Alter bundle search paths to no longer add a blank location as the first ↵rowanbeentje2011-01-031-4/+5
| | | | option if the Application support bundles folder does not exist; addresses issues where default bundles are updated in the hard disk root
* • cleaned code for NSPropertyListSerialization while reloadBundles (thanks ↵Bibiko2011-01-031-17/+9
| | | | to emixam for pointing it out)
* • forgot to remove debug logs of previous commitBibiko2011-01-031-77/+75
|
* • changed the way to check for available update of Default BundlesBibiko2011-01-034-17/+14
| | | | - perform a check only if the revision number is greater as the last recorded one, in other words if an updated version of Sequel Pro was installed and runs for the very first time
* • fixed by mistake setting of initialField to nil instead of ↵Bibiko2011-01-031-1/+1
| | | | | | initialFiledNames if initialField is not nil - this should fix i933
* Protect against potentially over-releasing.stuconnolly2010-12-281-1/+1
|
* When opening the add index sheet, the initial suggested field should be one ↵stuconnolly2010-12-271-1/+23
| | | | that is not already indexed. This completes the implementation of issue #928.
* • added first Default Bundle and procedure to copy them into ↵Bibiko2010-12-271-1/+1
| | | | BUILD_PRODUCT/Contents/SharedSupport done in build.sh while compiling
* When adding a new index, exclude fields that have already been added from ↵stuconnolly2010-12-261-2/+6
| | | | the drop down list. Part of issue #928.
* * Provide more context for Bundle Editor localizable messages (leaves one ↵dmoagx2010-12-263-94/+100
| | | | issue with genstrings, might need to set "-q")
* When adding a new index, as well as checking for an existing primary key ↵stuconnolly2010-12-251-4/+18
| | | | also check for a composite primary key. Part of issue #928.
* • implemented undeletion of default BundlesBibiko2010-12-225-15/+102
| | | | • made usage of constants
* - Fix issues with user management and GRANT OPTION - when applying all ↵rowanbeentje2010-12-221-42/+72
| | | | | | | privileges (or removing all privileges) at once, the server treated the list of all options as 'GRANT ALL', instead of GRANT ALL WITH GRANT OPTION. - Update localisable strings files
* • fixed issue form redirecting output actions via exit codes if Bundle's ↵Bibiko2010-12-217-21/+24
| | | | | | default output action was None • renamed constants to avoid confusing