334465a028
Implement connection counting on session manager.
2009-08-11 20:30:32 +00:00
22854433b0
Continuously update statistics labels on session manager, so they don't lie when the form is open for various minutes or closed + reopened some minutes later.
2009-08-11 18:15:52 +00:00
57d9d76bd5
Remember window dimensions of session manager for the next call.
2009-08-10 20:53:55 +00:00
3010c9e4ea
Session manager: Widen the group box with details instead of the session list when the form gets resized. Plus - now the session list never gets wider - display hints on long session names.
2009-08-10 20:45:25 +00:00
2421c615c5
Remove crap, accidentally included in previous commit.
2009-08-10 20:23:37 +00:00
9f0c70a866
Don't try to, just do it.
2009-08-10 20:21:20 +00:00
da1e2e5892
Avoid implicit firing component state updates when loading session parameters
2009-08-10 17:37:59 +00:00
2216c630ce
Try to fix a sporadic DateTime conversion error, showing up after locale settings have been touched.
2009-08-10 16:59:58 +00:00
4ff1acf408
Refactor session manager:
...
* Replace the pulldown by a list to get a better overview
* Display last connected and created date in details
* Prompt user on form closing if modifications should be saved
* Remove moreorless useless image
* Remove options "timeout" and "sort database"
TODO: Display some help text on the right side when no session at all is existant to help new users.
2009-08-09 23:57:52 +00:00
0e341f19cb
Implement connecting via named pipe. Code contributed by gabylastar, minor modifications by me. Fixes issue #520 .
2009-08-08 19:06:41 +00:00
4c65ccc86f
Fix issue #1193 : Rename button is enabled if no session is selected in session manager
2009-06-06 05:48:39 +00:00
1980f92cb1
Bugfix: fix issue #1055 .
2009-03-12 21:32:28 +00:00
362c327b81
Naming convention: Consequently use "session", not "description", and retitle connections.dfm to "Session manager"
2009-02-15 20:11:14 +00:00
2e1894b7e1
Normalize component names and procedures in session manager
2009-02-15 19:32:40 +00:00
549abf9441
Implement "Save as" action in session manager. See issue #951 . Optimizes some redundant code away.
2009-02-15 14:32:58 +00:00
54c7eca938
Fix bug #970 : Auto connect at startup not working any longer. Brings most startup connection logic into a proper order again. Also removes a TTimer workaround on the session manager in autoconnect mode.
2009-02-02 21:45:28 +00:00
d6e40bef96
Use Main.SessionName as a replacement for FConn.Description.
2009-01-03 19:22:22 +00:00
909d31fd64
Simplify writing settings to registry:
...
* Keep only one TRegistry object in memory instead of creating a new one in each routine.
* Move out relevant functions and TRegistry object from main to helpers to make them usable globally.
2009-01-03 17:16:11 +00:00
f1b3f5501f
Remove last traces of MDI (issue #513 ). Merges code, controls and events from childwin into main.
2009-01-01 23:24:36 +00:00
47563b8292
Fulfill rfe #887 : Do not close connection dialog on connection error
2008-11-25 17:50:41 +00:00
b4d7135b30
Remember previously tried session even if it didn't connect for some reason.
2008-11-25 17:41:05 +00:00
4c47dc04e1
Clean up connection dialog by making it a bit more compact, gathering all top buttons on a toolbar. Removes a workaround for loading images on a TPNGSpeedbutton and fixes some too wide labels using the Vista font.
2008-08-31 20:46:31 +00:00
9a52593dc2
Use Vista's Segeo font for all forms by using the SetVistaFonts() in mainform plus the new routine InheritFont() which simply overtakes fontname and size from the mainform to all other forms.
2008-08-29 18:20:14 +00:00
e2b67b5831
Cosmetic: Replace old style SQL wait mouse cursor with system default wait cursor. Especially prettier when running Vista.
2008-08-26 08:36:06 +00:00
79d8db08b3
Support Unicode in list of wanted database names.
2008-08-19 21:35:04 +00:00
bcf26b1c98
Bugfix: get rid of another Close() call which lead to a spurious mrCancel. Fixes issue #665 .
2008-08-11 15:23:52 +00:00
4c4387c155
* Close() yields mrCancel, remove the Close() call. The dialog closes anyway when a button is clicked, now with the correct modal result.
...
* Return an integer from ConnectionWindow() rather than Booolean, makes the code in caller easier to read.
* Close HeidiSQL if the user chooses not to connect to a server.
2008-08-08 10:17:50 +00:00
ffc58c022b
Revert broken r1561. Worse than before - more AVs, even when pressing a speedbutton which has loaded its icon correctly. Weird.
2008-07-02 22:33:05 +00:00
94822c33fa
Fix one critical AV, part of bug #580 . Loading a PNGImage from a TPNGImagelist onto a TSpeedbuttons seems buggy. Instead, assign icons at designtime. Ugly fix as we now have redundant icons, anyway, we should look after not using TPNGSpeedbutton in too many places.
2008-07-02 22:21:04 +00:00
f296b1730c
Move heading panels from above grids to tab captions (hostname, database, table) and status bar (uptime, MySQL version). Makes space for coming GUI changes.
2008-06-26 09:49:17 +00:00
38caa4cd99
Make most "btnCancelClick" procedures superflous by assigning the correct ModalResult (mrCancel) to the relevant cancel buttons.
2008-03-09 20:27:12 +00:00
e53db0a9b7
PngIcons:
...
- Ban glyph data of all TSpeedButton's + TBitBtn's out of dfm files by converting them to TPngSpeedButtons and assign an image from PngImageListMain at runtime.
- Add "highlight" versions of "database" and "table" icons and use these on selected DBtree nodes.
- Remove no longer used BMP icons
Todo: Fill PngImageListMain at runtime.
Note 1: TBitBtn's are not Windows-theme-aware, even with a manifest in place, so we should avoid using them anywhere.
Note 2: T(Png)SpeedButton lacks a TabOrder property, so some of the other TabOrder's are automatically changed here.
2008-03-09 19:56:52 +00:00
1edb5b3edc
2nd followup to rev 1234: Accidently forgotten part of commit. Fixes a compiler error.
2008-03-04 00:53:13 +00:00
bd597d0c1d
Use a PNGImageList and find replacements for nearly all icons in the application.
...
Sources:
- Mark James' Silk icons
- Everaldo's Crystal icons
Todo: Load icons at runtime
2008-03-04 00:20:38 +00:00
4e23728aa2
- Move all hardcoded preferences names (registry) plus their default values to const.inc to fix inconsistencies like the one described here: http://www.heidisql.com/forum/viewtopic.php?p=1739
...
- Consequently use Mainform.GetRegValue() to read these values, an overloaded method with either Boolean, String or Integer result. These methods keep a global TRegistry object (regMain) open while the application runs, rather than creating a new one for each caller.
- Remove Mainform.SaveRegValue() which was used in one or two callers. Rather use a TRegistry object and do that by hand. There's no significant advantage in using a SaveRegValue method currently.
2008-02-06 00:00:52 +00:00
85faa5ffc3
Implement parser for connection parameters on commandline.
...
Code snippets by Nemanja, see discussion: http://www.heidisql.com/forum/viewtopic.php?t=252
2007-11-30 21:34:41 +00:00
e7bcbdf293
* Bugfix: plug the most obvious memory leaks.
...
* Clear some unused code and wrong comments.
2007-11-09 09:51:31 +00:00
3c8f123a81
Move *.pas, *.dfm and *.inc files from root directory to a new "source" subdirectory. Leaving just the readme in the root to give all newbies a very clear and unique starting point.
2007-06-28 20:00:04 +00:00