1700 Commits

Author SHA1 Message Date
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
3088490954 After selecting a valid export filename, the export button should be active. Fixes issue #1641. 2010-02-02 00:18:36 +00:00
81a7596bc1 When foreign key tab is active with a MyISAM table, switching to a InnoDB table did not activate the controls. Fixes issue #1642. 2010-02-02 00:15:04 +00:00
02d29ea976 Implement a home brown find + replace dialog, supporting regular expressions, and using all stuff SynEdit gives us. Add main menu item "Search" next to "Edit". Fixes issue #1069. 2010-02-01 23:55:44 +00:00
ec6f467a18 Don't use the calculated percentage of processed row count after exporting each table. Just display a hard coded "100%" so InnoDB tables display the right percentage (at least when table data is at eof). Fixes issue #1628. 2010-01-30 18:00:01 +00:00
fda4aa631f If the specified filename in SQL export dialog is empty, disable the execute button. If the file cannot be created for some reason, do not pop up a message dialog. Instead, log the error message into the result list. Fixes issue #1627. 2010-01-30 17:50:26 +00:00
30e40ac897 Automatic dfm changes by IDE: Removed ComboBox.ItemHeight property and auto-adjusted dimensions of various buttons and other controls. 2010-01-30 08:15:31 +00:00
c5699171f9 Silence compiler warning 2010-01-30 08:05:25 +00:00
efbf7a0b98 Add a toolbar button which, when pressed, allows BLOBs to be displayed as text. Explicitly ignoring weird effects in grid updates/inserts. Fixes issue #1624. 2010-01-30 07:57:07 +00:00
020bdd07f2 Suppress access violation caused by VCL bug. Fixes issue #1622. 2010-01-29 20:38:04 +00:00
61a08ad653 Remove workaround from r2338 - no need to force the taskbar button active now that the "Retry connection" logic was removed. Could probably fix issue #1622. 2010-01-27 23:59:54 +00:00
49b9d9014b Minor code simplification, old TNT StringList workaround. 2010-01-27 23:45:55 +00:00
9f139029b7 Enhance command line processing:
* Rewrite parameter parser
* Remove support for "-C" option (compressed). Anyway switched on by default.
* Add support for loading multiple SQL files at once instead of only one: "fileA.sql fileB.sql ..."
* Also process connection parameters when "Allow multiple application instances" is disabled
* If a session name is specified with -dXYZ, load params from registry, but allow the user to override these by passing e.g. a different user name "-uOtherUser"
Fixes issue #1332.
2010-01-27 23:39:34 +00:00
99a4580be0 Work around a possible timing issue, when the db tree is painted with more nodes than the database has objects. Guess that occurs on a reconnection. Fixes issue #1621. 2010-01-26 20:00:13 +00:00
b0ccbaadbd Minor code simplification 2010-01-24 15:15:46 +00:00
798cc36b99 Remove TMySQLConnection.Capabilities , which should have brought some light into the feature set of the server. Still doing that per version comparison which is nice enough. 2010-01-24 15:07:03 +00:00
5d7b25d7e9 Add preference option to restrict number of application instances to 1. If the executable is open and called a second time, it's brought to foreground. Plus, if a filename was passed, a new tab is opened. Should fix a part of what is described in issue #1332. 2010-01-24 00:14:23 +00:00