aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a "tooltip" when picking a column type in structure view, explaining ↵Max2015-11-101-1/+18
| | | | | | basic properties of the type (part of #1090) This is mostly to help users understand what "Length" actually does for *INT types.
* Setting large auto_increment values (> 1000) could be misinterpreted as ↵Max2015-06-091-1/+2
| | | | decimal values in some cases (fixes #2130)
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-7/+9
| | | | dropped relationship. Fixes issue #1591.
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-7/+7
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+29
|
* Move the table structure's loading logic into it's own category.stuconnolly2012-07-041-5/+0
|
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-9/+5
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-3/+3
|
* - Review changes made in r3376 and revert a number of regressionsrowanbeentje2011-08-141-3/+2
|
* merged latest SP_REFACTOR changessqlprodev2011-08-021-2/+3
|
* - Rework a number of protocol defintions when refactoring to fix IB ↵rowanbeentje2011-06-211-3/+2
| | | | compilation warnings
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-2/+24
|
* - Add the ability to double-click in empty areas of the main tableviews to ↵rowanbeentje2011-04-251-3/+3
| | | | add new rows/records
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-2/+0
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-6/+17
| | | | UI code from functional code
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-3/+6
|
* • TableStructure sheet to ask for the to be used index of an ↵Bibiko2010-11-011-3/+1
| | | | | | auto_increment field now runs doc-modal not app-modal - the used strategy is to ask the user for an index whenever the user set the Extra field to 'auto_increment' and not as part of the 'addRowToDb' method
* • improved Structure editing logic to allow to choose auto_increment for ↵Bibiko2010-11-011-1/+3
| | | | | | Extra only if table has no auto_increment field set since MySQL allows only one auto column - the user has still the chance to type 'auto_increment' into the Extra manually
* Tidy up SPTableStructure including moving all the private field type ↵stuconnolly2010-10-281-1/+5
| | | | validation methods to their own class, SPTableFieldValidation.
* Add SPDefaultPasteboardDragType constant.stuconnolly2010-10-281-7/+6
|
* Tidy up.stuconnolly2010-10-191-2/+0
|
* • implemented for TableStructure's source table the possibility to ↵Bibiko2010-10-151-0/+3
| | | | | | hide/unhide the columns: Key, encoding, collation, comment by adding a gear menu 'View Columns'; the hide status will be saved inside the Pref key: 'NSTableView Hidden Columns SPTableStructureSource' - this implements the feature request issue 868
* - Consolidate structure and content row editing cancellation code into a ↵rowanbeentje2010-09-161-0/+1
| | | | | | | | | | single function in each class - Tweak NSTableView subclasses to catch presses of the Escape key and ask the class to abort row editing. This makes Esc key behaviour much more consistent, and allows cancelling/reverting edits made via the mouse (eg checkboxes, dropdowns, enums), or after the cell editing has finished but the row is still selected. - Remove debug - Update localisable strings
* • added to Structure source table's context menu item: "Show optimized ↵Bibiko2010-09-121-0/+1
| | | | field type" which will come up with a suggested field type calculated by PROCEDURE ANALYSE(0,8192)
* • TableStructureBibiko2010-09-101-0/+2
| | | | | | - moved field type suggestions for combobox as data source to SPTableStructure - applied type combobox lowercased completion while typing - improved DEFAULT handling for any numeric, date, time fields if DEFAULT was set to an empty string '' - if so skip it to avoid unnecessary error messages
* • Structure editingBibiko2010-09-091-0/+2
| | | | | | | - fixed issue while drag&drop an auto_inc field > ignore DEFAULT - fixed several keyboard navigation issues - further code improvements - fixed encoding editing
* • TableStructureBibiko2010-09-091-1/+4
| | | | | | | - changed: field information are retrieved via [SPTableData columns]; mainly to get all infos like comment, encoding, and collation - added the chance to edit encoding, collation, and comment for each field Note: This is work is progress - not yet optimized but fully workable. Due to GUI I simply added these three columns - improvements will follow
* Tweak structure view index collapsing:rowanbeentje2010-07-171-0/+5
| | | | | | | - Make the minimum index view size a little smaller - Add a button to reveal the indexes subview when it is collapsed. This button is hidden when te index view is not collapsed. This addresses Issue #746
* Split the management of a table's indexes (adding and removing) to its own ↵stuconnolly2010-06-141-14/+7
| | | | controller and XIB in preparation for the UI redesign.
* Rename TableSource to SPTableStructure.stuconnolly2010-05-271-0/+109