1716 Commits

Author SHA1 Message Date
5de3fc1d57 Display parameters of stored routines in "Cols" tab of query helpers when a procedure or function is selected. Fixes issue #1702. 2010-02-17 23:16:26 +00:00
4ef7238ab9 Load full cell content before applying quick filters on larger text columns. Fixes issue #1703. 2010-02-17 19:41:36 +00:00
2159472f93 Avoid AV when registry value for connection port is fucked up. Fixes issue #1700. 2010-02-17 18:25:31 +00:00
4e5468f709 GetParentForm() returns the parent form of a frame. So, list layouts were saved with potential naming conflicts in registry since table editor and friends are TFrame, not TForm. Solve that by implementing GetParentFormOrFrame() and add that control's name to all relevant registry names in SaveListSetup() and RestoreListSetup(). This resets everyone's favorite list layout once, using this new build, but that should not be a problem. 2010-02-17 09:20:26 +00:00
aadb5c42d1 Save and restore layout of procedure parameter tree. 2010-02-17 08:42:48 +00:00
526a4c5424 Add default length/set in parentheses when user selects a datatype for a procedure parameter. Fixes issue #1698. 2010-02-17 08:36:59 +00:00
787005186d For datatypes which require a length/set parameter in parentheses, we should provide a default length. 2010-02-17 08:35:41 +00:00
14e03d9647 Also don't quote default values of a float type column, same as for integers. 2010-02-17 00:23:38 +00:00
a43edc883f Implement a new external updater tool, stick that updater.exe as resource to the main executable, release and run it when the user clicks "Download build xyz". The updater itself posts WM_CLOSE messages to all Heidi instances, waits until all instances are gone, and then replaces the .exe with the downloaded one, after having copied a backup file to your temp directory. 2010-02-16 23:58:48 +00:00
08c947bfd1 Disable horizontal scrollbar on SQL log for the benefit of having one more free line there. Seems more important than being able to scroll to the right to see the end of large sql queries. 2010-02-15 23:38:35 +00:00
f44d19cb56 Consistently update SQL viewer for selected process node, in "Processes" tab. Also, make it more clear if no process is selected. Fixes issue #1693. 2010-02-14 16:58:56 +00:00
b8477602fd Seems ForceDirectories does not create all subdirectories if we have two slashes between dirnames. Happens when the user appends a slash to the end of the output directory. 2010-02-13 07:23:30 +00:00
c95ae5fa10 Silence compiler warning 2010-02-13 07:10:30 +00:00
b642194ada Create subdirectories for each involved database in SQL export. Fixes issue #1690. 2010-02-13 07:09:47 +00:00
d10929dbe8 Fix broken ALTER TABLE code when dropping primary key. Fixes issue #1688. 2010-02-12 19:19:48 +00:00
0e77bba9e4 Decrease pre calculated number of rows per INSERT, to make that safer against exceeding the popular 1MB max_allowed_packet default setting. Fixes issue #1682. 2010-02-12 00:25:01 +00:00
8694e49ddc Warn user via log panel when a customized shortcut conflicts with another one. Do not crash the whole app in that case, a log message saying how to fix that should be nice enough. Fixes issue #1683. 2010-02-12 00:11:35 +00:00
07308d66c9 Fix wrong PageIndex of data tab in printer implementation. Plus: Enable printing columns list on table editor. Fixes issue #1684. 2010-02-11 23:46:46 +00:00
f22fa996ba Bulk table editor: No comma between charset + collation clause. Fixes issue #1685 2010-02-11 23:26:37 +00:00
5aa9b33cbd When pressing Tab key in grids and the next column does not allow editing, just focus it, instead of jumping to the next editable cell. Fixes most situations described in issue #1677. 2010-02-11 13:53:06 +00:00
1a25cd629d Ensure we have full grid cells in source row when user clicks "Duplicate row". Fixes issue #1678. 2010-02-11 09:10:45 +00:00
639dbe5e14 Fix old row count in data grid header when rows were deleted from outside. Fixes issue #1227. 2010-02-08 23:17:37 +00:00
dc4e6c980a Prefer VT.FocusedNode over VT.GetFirstSelected in various places. Clicking a node twice deselects it and subsequent actions have an access violation. Fixes issue #1674. 2010-02-08 20:57:07 +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
3c34bc5e29 Surround TRIGGER creation export with custom DELIMITER, so readers (including HeidiSQL itself) are able to detect query end positions. Fixes issue #1672. 2010-02-07 16:59:03 +00:00
a0ba865f66 Remove pink foreign key icon - we already had another one. Use that consistently in both foreign key list and columns list. 2010-02-07 14:23:27 +00:00
17c27c8b58 Add pink icon for foreign key columns. Fixes issue #1669. 2010-02-07 12:31:09 +00:00
9192543d8c Auto create pretty foreign key name "FK_thistable_reftable" if it was not customized yet. Fixes issue #1671. 2010-02-07 12:14:22 +00:00
788cbf565f End editing with home brown editors when the underlying tree scrolls, to avoid a misplaced cell editor. Fixes issue #1670. 2010-02-07 11:59:36 +00:00
3195b25e8f Only display tables in reference table pulldown of foreign key editor. Stored procedures or triggers cannot be applied here. Fixes issue #1668. 2010-02-07 11:37:01 +00:00
6410aae590 Also quote column names when doubleclicking or dragging from a query helpers column list. Fixes issue #1666. 2010-02-07 11:32:24 +00:00
9d9f2bd68a Same as r3053, this time for doubleclicking a tree node: Prepend database name, and use backticks. Fixes issue #1666. 2010-02-07 11:20:37 +00:00
64d3d1447e Foreign key editor needs to be repainted when selecting another table. Fixes issue #1667. 2010-02-07 10:45:43 +00:00
c06dd0d8bf Fix mysterious endless loop in user manager, after having focused the password editor once. Make use of Delphi's new TextHint property to display the old hashed password, instead of assigning and removing OnChange handlers all the time. Fixes issue #1658. 2010-02-06 13:48:39 +00:00
ae3f8d2f39 Include database name when dropping a db tree node onto a query editor. Fixes issue #1661. 2010-02-05 21:18:14 +00:00
d8deb18a7f Issue #1656: Upscale status bar panels in non-96-DPI mode, so text is not cut off. 2010-02-05 17:18:38 +00:00
6c0fd612dc Avoid desktop flickering on WinXP at the cost of minor flickering on the main tabs. Seems LockWindowUpdate() should be used with caution. Fixes issue #1659. 2010-02-05 17:08:00 +00:00
c2a3dd02d2 Fix invisible "New query tab" button, broken in r3049. 2010-02-05 17:02:54 +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
7629b132cf Do not reset remove AUTO_INCREMENT clause from CREATE TABLE when no data gets exported. Fixes issue #1110. 2010-02-04 18:56:30 +00:00
95e12a0bd1 Introduce new log category lcUserFiredSQL, and make log level customizable via preferences. Fixes issue #1652. 2010-02-04 00:39:29 +00:00
ea9f2aa170 Work around non working SynEdit.OnSearchNotFound event, when search text could not be found in query memo. 2010-02-03 23:27:16 +00:00
d165f2fe3c Force multi line hint tool tips in grids.
* Fixes issue #1649
* Fixes issue #1567
2010-02-03 23:07:42 +00:00
91d53bbbcc Replace default value in object editors by ghosted hint text 2010-02-03 22:18:28 +00:00
58857e5348 Fill default content of trigger body with a BEGIN END block. Fixes issue #1653. 2010-02-03 22:12:11 +00:00
96b3f2faec Display ghosted hint text on combobox for database filter 2010-02-02 21:28:04 +00:00
100d2d1f9c Highlight matching brackets in all SQL editors. Use code from the SynEdit Demo "OnPaintTransient". Fixes issue #1630. 2010-02-02 19:55:46 +00:00
ea7b9f0132 Cosmetic: Avoid jumping column headers when many notices go into the result log. 2010-02-02 19:23:51 +00:00
478b6fdc4f Fix broken r3034: "100%" was displayed in between on large tables, after each loop of 100MB loading. Fixes issue #1628. 2010-02-02 19:13:55 +00:00
fb09ac1aa7 Fix unresponsive query memo on large "replace all" actions. Also, move redundant code to DoSearchReplace. 2010-02-02 07:18:26 +00:00