7 Commits

Author SHA1 Message Date
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
56e0d8b445 Implement session folders. Fixes issue #1228. 2012-07-27 06:54:56 +00:00
6703f20711 Move global LoadConnectionParams() to class function TDBConnection.ReadFromRegistry() 2012-03-26 18:34:33 +00:00
4ccb6391df Issue #1289: Add some basic code to the "analyze" button, which detects missing tables in target database. 2011-08-26 06:57:31 +00:00
284c3410dc * disable controls as long as no session is selected.
* check all option check boxes by default
2011-08-23 06:22:12 +00:00
d3087c1172 Add checkboxes to tree nodes in sync dialog, and ensure only table nodes of the same db are clicked at one time. 2011-08-23 05:54:49 +00:00
01ac4b40e3 Introduce new dialog "Synchronize database", see issue #1289. Complex code behind "Analyze" and "Apply" buttons is missing yet. 2011-08-22 05:57:57 +00:00