33 Commits

Author SHA1 Message Date
a50c21a383 * unify context menu of various sql editors, by supporting all contained editors instead of searching for one with the name "SynMemoBody"
* disable actions which need to modify the contents on readonly editors
* add "save to textfile" and "un/comment" actions to the unified context menu
2017-05-18 13:10:59 +00:00
f56c34abec Reasonably increase and unify design time dimensions of object editors to 700x500 pixels 2016-12-11 10:45:20 +00:00
ac8d6bb560 Add splitter on procedure editor. See http://www.heidisql.com/forum.php?t=21106 2016-04-13 17:27:40 +00:00
8c3775fe0f Add "Save as textfile" action, and include that in routine editor > "CREATE code" tab > context menu. Fixes issue #3486. 2014-05-08 04:50:59 +00:00
17e4db7829 * Automatic additions by new SynEdit properties.
* Overtake renamed SynEdit properties
2013-10-16 18:24:01 +00:00
bd077ce413 Adjust width of various controls so they fit to the translated captions (at least in German). Related to issue #557. 2012-12-02 09:33:41 +00:00
a9ce7eb5b9 Autofit first '#' column in routine editor, which has not enough width in some cases. Fixes issue #2993. 2012-10-19 06:14:13 +00:00
f36f54b0b8 Disable editing routines if user has no privilege to select from mysql.proc or if he's not the owner of that routine. See http://www.heidisql.com/forum.php?t=10231 2012-03-07 20:57:46 +00:00
b93106a6fe Update VirtualTree component to r320 2011-11-01 09:32:34 +00:00
0de7a50216 Add buttons for moving routine parameters up and down, on routine editor 2010-10-26 19:08:16 +00:00
c3d14f914a Remove "R" hotkey from "Routine body" label, so the pulldown grid editor in the parameter list is not unfocused when pressing "R". Fixes issue #2214. 2010-10-21 22:19:16 +00:00
6c2a100945 Implement combo box for definer in routine + view + trigger editor. Fixes issue #2189. Some related changes here:
- Remove ensureValidIdentifier() and its partly uncatched exceptions. Instead, disable "OK" buttons for empty table/view/proc name.
- QuoteIdent and DeQuoteIdent now take the glue char instead of a "HasMultiSegments" boolean param, so they're more exact when "user@host" or "db.name" come in.
2010-10-12 22:13:08 +00:00
45ba97b13f Add button and global action for executing selected functions and/or procedures by click. Fixes issue #1818. This requires some parsing code to be moved to helpers unit so it's also available in ListTables' context menu. Also, to avoid new AVs, any db object editor now focuses the edited object in the tree, which is important for creating new ones which were neither existant nor focused. 2010-04-04 22:33:12 +00:00
b96349f929 Remove Esc shortcut from "Discard" buttons, to avoid accidentally undoing complex changes to routines or views. Fixes issue #1824. 2010-04-02 10:27:04 +00:00
a9cf0fd3b2 Organize controls on routine editor into 3 tabs (options, parameters, create code). Fixes issue #1708. 2010-02-20 18:44:36 +00:00
e045cb3d76 Delphi 2010 has PNG + alpha channel support in TImageList, so we don't need PNGcomponents any longer. 2010-02-08 00:36:17 +00:00
fc6d4c2a48 Try to fix most DPI related glitches. Especially TFrames need a ScaleBy() call, which is done automatically on TForms. Fixes issue #1656. 2010-02-04 23:50:47 +00:00
91d53bbbcc Replace default value in object editors by ghosted hint text 2010-02-03 22:18:28 +00:00
7d401ffde8 Upgrade to Delphi 2010:
* Removes TNT Unicode controls, which are no longer required. All VCL controls now have native Unicode support.
* Remove Delphi 11 packages, otherwise we would either need to keep TNT or break Unicode
* PngComponents update from Uwe Raabe on http://cc.embarcadero.com/Item/26127
* Adjust auto build process
* Since Delphi 2009, Strings are now UnicodeStrings, not AnsiStrings any longer. Fix a bunch of compiler errors which came along with this change.
TODO: Project should compile but give tons of compiler warnings.
2010-01-05 23:14:33 +00:00
dd398bb101 * Factor more code out of each database object editors into parent TDBObjectEditor.
* Use this chance to add a confirmation dialog when leaving the editors, to ask the user if he wants to save modifications. Fixes issue #1524.
* Also, enhance Mainform.RefreshTreeDB in a way that it does not trigger the OnFocusChange event. Important for the editors when saving changes.
2009-12-14 23:55:36 +00:00
6d7935ce63 Same as r2621 - remove relevant height constraints from object editors. Finally fixes issue #1348. 2009-09-09 20:23:45 +00:00
33501d1a56 Minor graphical fix: Minimize gutter width in all TSynMemo's, tell them to auto-size themselves when more digits come. 2009-06-15 06:31:26 +00:00
f01893d08a Experimental: Reintroduce table tab, this time by placing the existing editors for tables, views and routines as TFrames onto that tab. Unfortunately a whole bunch of GUI changes involved here which makes the diff unreadable. Should solve issue #1149 . 2009-06-04 12:56:55 +00:00
2acd0170e8 Fix one-click-editing in trees and grids, broken in recent VirtualTree update, r2416 2009-05-17 16:11:09 +00:00
7791176be5 Fix rfe #1061. 2009-03-17 16:56:48 +00:00
0312eee98d Fix issue #1060: Ctrl+Y shortcut in SynMemo's for "Redo" action 2009-03-16 21:50:30 +00:00
f5bdc0e79b Fix issue #1059 2009-03-16 18:16:21 +00:00
814b4ee14b Ban vertical line from all TSynMemo's. Never heard of anyone using it, and fixes issue #1051. 2009-03-12 19:50:42 +00:00
e312915fd5 Automatic property adjustments by IDE after VirtualTree update 2009-03-10 23:11:59 +00:00
81ad0d4397 Activate Vista theming in trees and lists 2009-03-10 23:04:24 +00:00
05bd9eff61 Remove useless coFixed option from first column of routine parameter list. Works around an AV in the new VirtualTree version. 2009-03-10 22:46:27 +00:00
6d8834b540 Fix issue #1025 and friends: Wrong tabindex in stored routine editor. 2009-03-03 19:18:03 +00:00
f20dad8adb Implement stored routine editor, see issue #420
Todo: make routines visible in the database tab so they can be edited.
2009-02-28 22:57:55 +00:00