121 Commits

Author SHA1 Message Date
c53af6144e Always show the "Copy" tooltip when dragging sessions elsewhere, as we always copy by drag'n drop, never move. See http://www.heidisql.com/forum.php?t=13419 2013-09-22 12:00:36 +00:00
d16f19da91 Disallow to drag a session folder somewhere below itself, which would end up in an infinite folder structure, theoretically. Fixes issue #3086. 2013-01-15 09:09:44 +00:00
cf87ae63d6 Fix file open dialog file filter, so it gets translated like its similar dialogs. 2012-12-28 20:15:20 +00:00
2b5b69cc4d Preparation for issue #3002: Move startup script and local time zone options together with SSL settings to a new "Advanced" tab. 2012-12-28 20:09:28 +00:00
f5f6910ae6 Support creation of root sessions + folders when tree has 0 root sessions, by providing explicit menu items for that purpose. Fixes issue #3050. 2012-12-09 10:43:11 +00:00
80d41dcc9e Fix typos and optimize a bunch of translations. Technical stuff such as variable names and version numbers should not be subject of translations. 2012-11-27 21:26:59 +00:00
f96288fce9 Translate string variables and literals in .pas files. TODO: translate constants. 2012-11-26 05:44:01 +00:00
ca1d94c87b Issue #557: Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future. 2012-11-10 14:28:44 +00:00
dcb3c5e6b4 Pass missing plink executable setting. Fixes issue #2931. 2012-08-19 13:44:45 +00:00
90ab0b6cf1 Refactor logic for reading and writing application and session settings:
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
44782e5129 Avoid usage of ExtractFilename for session registry keys, as this cuts strings at characters which are not allowed in filenames, but allowed in registry keys. Fixes issue #2909. 2012-07-31 07:39:27 +00:00
56e0d8b445 Implement session folders. Fixes issue #1228. 2012-07-27 06:54:56 +00:00
82668cca67 Issue #1228: Introduce new columns in session managers list of sessions: "Last connect" and "Counter". 2012-07-19 09:08:42 +00:00
c489504bc8 Fix non-stored checkbox state for local timezone feature, missing in r4152 2012-05-31 15:18:22 +00:00
e2f09b0d8d Make local timezone feature a per session option. See http://www.heidisql.com/forum.php?t=10635 2012-05-25 17:46:57 +00:00
5e8bf8306a Remove unused unit inclusions, detected by CNPack/Uses cleaner 2012-05-01 08:34:12 +00:00
a9260a49d6 Fix black tree background, broken in previous commit. 2012-04-22 12:10:06 +00:00
64433d0095 Add an "import settings" button onto the empty default session manager. Fixes issue #2749. 2012-03-29 21:37:51 +00:00
6703f20711 Move global LoadConnectionParams() to class function TDBConnection.ReadFromRegistry() 2012-03-26 18:34:33 +00:00
ba66b5fbf5 Remove unused variable. 2012-03-13 22:14:01 +00:00
1c76c2ecc0 Do not pass TCP port to MS SQL if named instance in host name present. Fixes issue #2767. 2012-03-13 20:06:39 +00:00
d6ddd59e39 Ignore current session name when checking if renaming can be done. Fixes issue #2737. 2012-02-24 20:40:13 +00:00
a86650d10b Introduce a checkbox for explicit activation of SSL. Any combination is passed to the server now, while SHOW STATUS LIKE 'ssl_cipher' is used to find out if the connection is indeed SSL secured. Pops up a warning when SSL settings were ignored by the server. Fixes issue #2672. 2012-01-22 10:17:24 +00:00
8fbd4df5cf Show up new session after "Save as" action. Fixes issue #2686. 2012-01-18 21:08:15 +00:00
7ccf8fde9f Fix empty tabSettings when creating very first session. Do less what flickers in ValidateControls, move pagecontrol related stuff in ListSessions.FocusChanged. Also, call FocusChanged event explicitly in SelectNode() when focus did not effectively change. 2012-01-02 23:57:17 +00:00
e87e17ff4a Fix unfocused active control after modifications. Introduces a new bug unfortunately, when creating the very first session. 2012-01-02 08:01:02 +00:00
0eaccc3938 Make session list and details pagecontrol custom resizable via splitter. Also, do not auto-adjust column width in session list, which has funny effects in some cases. 2012-01-02 07:53:24 +00:00
53122fe2b1 Place "Preferences" item in system menu of session manager, so users are able to configure stuff without the need to connect first. 2011-11-27 14:45:51 +00:00
e2bcf0d723 Fix unresponsive updownPort + editPort when modifying its value. Broken in r3972. 2011-11-20 06:40:47 +00:00
23fd559c38 Ignore different column in ListSessions.FocusChanged event, so modifications do not get discarded silently when user clicks the "wrong" area. 2011-11-20 06:08:51 +00:00
f6588fb1fc Add support for integrated Windows authentication on SQL Server. See http://www.heidisql.com/forum.php?t=8856 2011-11-19 08:43:10 +00:00
3170702b5b Unify usage of log prefix in db connection. 2011-08-20 05:31:02 +00:00
133b2a265c Refactor code for Host subtabs: Remove TVTreeData structure, use TDBQueryList instead. Use same code for most grid events. 2011-07-03 08:44:20 +00:00
e96fa77cbd Do not cache dialog instances any longer. OnCreate code is mostly very quick, and caching them adds quite some pitfalls into the code. Not to mention 30 lines less code in main.pas now :) 2011-06-26 20:01:42 +00:00
a71cbe9a0c Allow displaying additional columns in session list: Host, user and server version. By default all invisible, must be rightclicked to get activated. 2011-06-13 14:37:55 +00:00
ed577e4482 Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree. 2011-06-10 22:26:13 +00:00
2d548b5ef6 Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425. 2011-05-27 04:48:21 +00:00
478c0306c7 Use modern TaskMessageDlg as a replacement for MessageDlg where appropriate. 2011-05-26 06:08:19 +00:00
c8b25c75fa Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list. 2011-04-17 23:21:05 +00:00
06e78d9d95 Code cosmetic: make handling of MySQL client flags more compact, remove unused options from published property. 2011-04-13 20:22:46 +00:00
049e4bb526 Group network types in fewer dbms names, to have less code. Also, support other MS SQL network types: tcp/ip, spx/ipx, vines and rpc. 2011-04-04 06:12:56 +00:00
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
49a97584e6 Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008. 2011-03-17 23:03:54 +00:00
24adc029b2 Ensure we fetch all available database names without passing a custom list, in session managers database selector. 2011-03-14 19:27:00 +00:00
56595d6df6 Let the session manager benefit from the additional fall back in TMySQLConnection.GetAllDatabases(), if SHOW DATABASES fails when db pulldown is triggered. 2011-03-13 22:24:19 +00:00
199d7c6e0f Make plink.exe wait timeout configurable in session manager. Fixes issue #2236. 2010-11-28 12:47:00 +00:00
0fa6c15c9d Implement multiple connections per window. DBtree and friends now have their nodes bound to TDBObject instances. Fixes issue #2144. 2010-10-05 23:06:29 +00:00
8c34a9e15a Session manager: Add checkbox option for users who want to be prompted for username + password rather than saving that to registry. Prompt window itself is called from within TMySQLConnection.SetActive. 2010-07-19 20:06:09 +00:00
30a0b22770 Remove no longer required workaround for smallint's in TUpDown for connection port. Seems that value was turned to integer in some recent Delphi version. 2010-04-22 16:38:39 +00:00
97f01a175b Move database filter again from mainform to session manager, so people without privilege to run SHOW DATABASE are not stuck. Fixes issue #1485. Also, allow to see available databases when user does a dropdown. Also, simplify logic for refreshing database list in mainform. 2010-04-22 15:16:27 +00:00