35 Commits

Author SHA1 Message Date
c0d5b47e4a Resize both list of sessions and groupbox with details on FormResize, so both benefit from more space, not only the details box. See http://www.heidisql.com/forum/viewtopic.php?p=3482 2009-08-31 21:36:04 +00:00
a2ef629b81 Move "Databases" filter from session manager to an editable combobox below the database tree. Keeps session manager free from connection unrelated stuff, provides more comfort, adds a "recently used list" of old filters which is kept over session connects, and supports regular expressions now. Fixes issue #776 2009-08-27 22:18:50 +00:00
f4ee88f11f Allow higher TCP ports above 32767 in session manager. Was limited by TUpDown component which makes use of older 16 bit messages. Add a hack to work around that. Fixes issue #1307. 2009-08-23 10:03:06 +00:00
3c4293a9a8 Work around weird effect with shortcuts on session manager. The inplace editor looses focus + ends editing when user types "p" because the password field label has "p" as shortcut. A better solution would be the inplace editor would avoid loosing focus in such cases but I don't know how to achieve that, so the shortcuts have to leave for now. 2009-08-18 17:28:07 +00:00
0eb09779e0 VirtualTree's internal text edit link has the bad habit of passing keyboard actions to its parent tree. Use our own editor instead which doesn't do that. Fixes issue #1297. 2009-08-17 17:42:42 +00:00
3fdad1fd9d Activate incremental search in sessions list. Fixes issue #1298. 2009-08-17 17:35:47 +00:00
d7d1e71c4c Gather various button.enabled:=true/false calls in one ValidateControls() method. Also, display a help message if there are 0 sessions. 2009-08-12 20:01:18 +00:00
771a147733 Fix enabled "Open" button with no focused session. 2009-08-12 18:46:14 +00:00
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
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
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
47563b8292 Fulfill rfe #887 : Do not close connection dialog on connection error 2008-11-25 17:50:41 +00:00
159c175375 Add 5 pixels more margin to all 4 edges of the connection screen, hopefully makes it a bit more looking like the pretty startup screen and less like a normal dialog. 2008-09-17 19:21:16 +00:00
ff5480682a Fix bug #706 Unintuitive connection buttons. At least the buttons are completely visible now in all DPI modes. 2008-09-02 17:44:34 +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
79d8db08b3 Support Unicode in list of wanted database names. 2008-08-19 21:35:04 +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
1cc757ba73 Delphi insists on moving these TPngSpeedButtons somewhere else in the DFM files. Properties are all kept, only the positions in the files have changed.
I have a slight feeling that this change fixes at least one access violation in the last nightly builds which I cannot reproduce when I compile these changed files.
2008-03-10 20:24:14 +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
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
c13318714e Upgrade old forms to use Tahoma font. Adjust widths of various TLabel's to make their captions fit with the new font. 2007-09-26 19:36:19 +00:00
ceb914a3dd Bugfix: Anchor buttons in connection window to bottom instead of top, so they do not interfer visually with bottom-anchored elements placed vertically above the buttons (specifically "Bevel1"). 2007-08-21 14:40:43 +00:00
36d9603f3c Remove all remaining ExplicitXYZ properties.
Wrote a small console app which removes these properties automatically in a given directory. Feel free to download it at http://www.heidisql.com/files/explicit_sucks.exe and use it before committing *.dfm files.
2007-06-28 21:55:57 +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