My favorites | Sign in
Project Home Issues Source
Checkout   Browse   Changes  
Revision: r4171
Author:  ansgar.becker
Date:  Aug 19, 2012
 

Log message

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

Affected files

    expand all   collapse all
Modify/trunk/packages/delphiXE/heidisql.dprdiff
Modify/trunk/source/bineditor.pasdiff
Modify/trunk/source/column_selection.pasdiff
Modify/trunk/source/connections.pasdiff
Modify/trunk/source/const.incdiff
Modify/trunk/source/copytable.pasdiff
Modify/trunk/source/createdatabase.pasdiff
Modify/trunk/source/dbconnection.pasdiff
Modify/trunk/source/editvar.pasdiff
Modify/trunk/source/exportgrid.pasdiff
Modify/trunk/source/grideditlinks.pasdiff
Modify/trunk/source/helpers.pasdiff
Modify/trunk/source/insertfiles.pasdiff
Modify/trunk/source/loaddata.pasdiff
Modify/trunk/source/main.pasdiff
Modify/trunk/source/options.pasdiff
Modify/trunk/source/routine_editor.pasdiff
Modify/trunk/source/searchreplace.pasdiff
Modify/trunk/source/selectdbobject.pasdiff
Modify/trunk/source/sqlhelp.pasdiff
Modify/trunk/source/syncdb.pasdiff
Modify/trunk/source/table_editor.pasdiff
Modify/trunk/source/tabletools.pasdiff
Modify/trunk/source/texteditor.pasdiff
Modify/trunk/source/updatecheck.pasdiff
Modify/trunk/source/usermanager.pasdiff

Powered by Google Project Hosting