Commit Graph

2561 Commits

Author SHA1 Message Date
Ansgar Becker
c54bfca964 Tag 5.0 release 5.0 2010-03-26 22:25:58 +00:00
Ansgar Becker
f787b08659 Fix old remaining SourceForge URL in license.txt 2010-03-26 22:03:16 +00:00
Ansgar Becker
bcd2215858 Installer: Fix wrong URLs 2010-03-26 21:58:39 +00:00
Ansgar Becker
1614508c62 Installer: Prepare version numbers for coming release 2010-03-26 21:30:11 +00:00
Ansgar Becker
dd7efd3ea6 Installer: Ensure readme file can be used in the last step when user checks "View readme" 2010-03-26 21:28:50 +00:00
Ansgar Becker
d8949f8569 Installer: Admin privs are required as we write to c:\program files, and the installer should ensure that it runs with appropriate privs. 2010-03-26 21:25:16 +00:00
Ansgar Becker
42fae0ebd6 In portable mode, auto delete left behind registry keys from earlier instances which didn't do that themselves, because they were closed unclean or terminated by user. 2010-03-26 21:08:48 +00:00
Ansgar Becker
11523c3bc2 SQL exporter: Don't trust a cached TDBObject if a table says it has 0 rows. There may be rows inserted from outside since the database cache was filled. See http://www.heidisql.com/forum.php?t=5367 2010-03-26 20:15:10 +00:00
Ansgar Becker
d0d015339b Add dummy GET parameter holding current time, to force loading that file, even after the VCL internals have that file cached somewhere. Fixes issue #1806. 2010-03-26 18:53:35 +00:00
Ansgar Becker
61ad785e6b Enable "Export" button after selecting "Clipboard" target. Fixes issue #1804. 2010-03-26 14:50:02 +00:00
Ansgar Becker
1b869e43ac Slightly decrease maximum width of colored bars in lists, so their right edge doesn't display as if cut off. Fixes issue #1803. 2010-03-26 14:41:41 +00:00
Ansgar Becker
254c156964 Use id of current process in registry key, not the thread id. 2010-03-25 22:26:19 +00:00
Ansgar Becker
954b32b0df Display "HeidiSQL Portable" in window title 2010-03-25 22:13:18 +00:00
Ansgar Becker
9acec6dfe1 Code cosmetic: Remove last XYZWindow() function 2010-03-25 21:42:18 +00:00
Ansgar Becker
aa9525e527 Unify default sorting of database objects in tree and lists. Fixes issue #1799. 2010-03-25 21:03:37 +00:00
Ansgar Becker
e47a7c6158 Fix unsaved output setting when "Database" was selected. Also, fix disabled pulldown holding databases in such cases. 2010-03-25 06:48:03 +00:00
Ansgar Becker
c0d33af4fd Move menu item "Find text on server" from "Tools" main menu to "Search", and find a better icon for it. 2010-03-24 23:23:38 +00:00
Ansgar Becker
61e4ff0603 Add option to export SQL to clipboard. Fixes issue #1798 and issue #506. 2010-03-24 22:22:21 +00:00
Ansgar Becker
1ef9ebf07b Fix wrong ALTER code when changing a column name more than one time. Fixes issue #1792. 2010-03-24 17:18:48 +00:00
Ansgar Becker
1ffea39756 Validate user + host name input in OnExit, not OnChange, which is too early when one of them gets reset. Fixes issue #1794. 2010-03-24 17:05:21 +00:00
Ansgar Becker
92fdcbb481 Set focus on query editor after double click on db tree or query helpers box. Fixes issue #1796. 2010-03-24 16:36:13 +00:00
Ansgar Becker
d67f746de8 Fix AV on application exit while datagrid has pending changes. Fixes issue #1780. 2010-03-24 13:45:48 +00:00
Ansgar Becker
ed5ec1e122 Rethink portable releases:
* Remove complicated and unreadable NSIS stuff. No need to have a installer for a developer application. ZIP file is fine.
* On startup, if a portable_settings.txt exists in the application folder, heidisql.exe will read its contents into a unique registry key.
* In MainForm.OnDestroy, settings are written to that file again, and the reg key gets deleted.
* Avoid using Microsoft's .reg file syntax, as you need admin privileges to store and restore such files, even when using the appropriate Windows API functions.
2010-03-22 21:10:38 +00:00
Ansgar Becker
4724d660eb Apply a nicer installer image 2010-03-21 23:08:19 +00:00
Ansgar Becker
be645ac79b Unify code for refreshing Virtual Trees in a new helper method InvalidateVT. Fixes issue #1789 and issue #1790.
* Don't try to access a passed tree if it has been destroyed by some earlier event.
* Don't try to access registry in DoDisconnect after key has been closed.
* Now that DoDisconnect lives in FormDestroy it is save to call it slightly earlier, before registry has been closed. There should be no later paint events which will trigger random database queries.
2010-03-21 10:43:16 +00:00
Ansgar Becker
3168a3e277 Fix flicker and crappy text display in status bar after explicit repaint. 2010-03-21 07:40:27 +00:00
Ansgar Becker
067036c7ef Make regular expression safe against huge length/set attributes of column types. Fixes issue #1786. 2010-03-20 22:32:57 +00:00
Ansgar Becker
3ef86ccdb3 Remove nonsense from old MDI days, where OnActivate needed to update its child windows. 2010-03-20 21:54:28 +00:00
Ansgar Becker
d62e3a138b Related to issue #1780: Move code from Main.OnClose to Main.OnDestroy, where visible controls do not process painting any longer, which makes it more safe against AVs after destroying critical objects. Now, saveWindowConfig is not able to set WindowState to wsNormal in OnDestroy, which was required in order to store correct registry settings. Solution: Only save dimensions if WindowState was wsNormal. This change finally removes an annoying animation effect when closing the main window. 2010-03-20 21:38:41 +00:00
Ansgar Becker
63557fe852 Disconnect from server must be the last thing to do in FormClose, as other (repaint) actions can implicitly trigger some database query. Fixes issue #1780. 2010-03-20 21:08:32 +00:00
Ansgar Becker
b57153c956 For DROP TRIGGER there is no IF EXISTS clause, so we just ignore errors. Important if trigger was dropped before, tried to recreate for the second or later time. Fixes issue #1788. 2010-03-20 16:05:58 +00:00
Ansgar Becker
678807335a Start over creating portable setup file. This is the original NSIS template taken from http://www.loncarek.de/downloads/ApplicationPortableTemplate.nsi 2010-03-20 00:42:22 +00:00
Ansgar Becker
03cc9d632a Attempt to fix issue #1780 - AV on closing main window. Free the cached list of db object lists, instead of making it empty, so a call to Assigned() returns false. 2010-03-20 00:18:17 +00:00
Ansgar Becker
939425dc19 Do cell text formatting for decimal and binary columns, also in DataGridEnsureFullRow(). Fixes issue #1784. 2010-03-20 00:03:34 +00:00
Ansgar Becker
63bb7ae022 Fix wrong column name in SELECT when one or more columns are deselected. 2010-03-19 18:25:18 +00:00
Ansgar Becker
13302d5b2f Remove empty and useless procedure 2010-03-19 07:09:30 +00:00
Ansgar Becker
d7d65e1015 Add submenu in "Quick filter" menu: "More values", with subitems displaying first 30 distinct values and their frequency in the focused column. Fixes issue #1098. 2010-03-19 00:02:44 +00:00
Ansgar Becker
a96ccdfdb2 Fix wrong enabled/disabled status of "Clear filter" menu item. 2010-03-18 22:28:45 +00:00
Ansgar Becker
78f0838c6d Do not steel focus or change cursor position on filter editor while pressing F9 or "Apply filter". 2010-03-18 22:19:19 +00:00
Ansgar Becker
89774dbe44 Fix minor memory leak 2010-03-18 22:11:42 +00:00
Ansgar Becker
f86a0ee692 Clear table structure cache after modifying columns. Fixes issue #1774. 2010-03-18 07:00:23 +00:00
Ansgar Becker
862fbf9b5f Optimize setting column widths in data grid. 2010-03-18 06:59:26 +00:00
Ansgar Becker
37a05196ae Add useful hint for new password generator button in user manager dialog 2010-03-17 20:11:43 +00:00
Ansgar Becker
52328ada0c Pass double clicks on dbtree and queryhelpers over to ActiveQueryMemo.DragDrop, which does the same. So all actions behave consistently wrt to shift pressed. Fixes issue #1661. 2010-03-17 13:55:16 +00:00
Ansgar Becker
bf2d8591f4 Missing file for r3176 2010-03-17 09:09:12 +00:00
Ansgar Becker
0ffef111af Allow to drop column names vertically when holding the Shift key while mouse drops cols. Fixes issue #1331. 2010-03-17 00:19:10 +00:00
Ansgar Becker
256a921563 Do not mandate the user to save a entered or modified password with a popup dialog. Fixes issue #1371. 2010-03-17 00:10:16 +00:00
Ansgar Becker
860390e986 User manager: Add button to generate a random password. Fixes issue #1460. 2010-03-16 23:50:40 +00:00
Ansgar Becker
9d18bd433e Don't touch X() SQL function from being uppercased and detected as keyword in pretty formatter, so that hex values like "0x0101" don't break. Fixes issue #1736. 2010-03-16 23:04:01 +00:00
Ansgar Becker
f411f36f32 Force repainting columns list after modifying some index. Ensures key icons on column nodes are displayed immediately. 2010-03-16 18:20:38 +00:00