Make regex in ParseViewStructure even more loose, this time due to dots in the view's name. See http://www.heidisql.com/forum.php?t=13191

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4483 560a3889-bb33-0410-9f33-43a8a102dc09
Fix regex in TDBConnection.ParseViewStructure which matches on IS.COLUMNS.COLUMN_TYPE but just finds empty matches, because all expression groups are optionally. Also, ZEROFILL attribute for numeric columns never gets detected. Fixes issue #3311.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4484 560a3889-bb33-0410-9f33-43a8a102dc09
* Remove "Run file" dialog, and use a standard Windows IProgressDialog instead when executing a SQL file. Learned from http://users.skynet.be/oleole/ProgressDialog.htm
* Enhance error handling when "Stop on errors" is activated, by showing an error summary at the end of script execution.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4485 560a3889-bb33-0410-9f33-43a8a102dc09
Add CHECK option "FOR UPGRADE" to maintenance dialog. Fixes issue #3279.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4486 560a3889-bb33-0410-9f33-43a8a102dc09
Turn column selection form into a tool window, so I can apply a size-grip at the lower right edge of the form. Remember form dimensions. Fixes issue #3299.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4487 560a3889-bb33-0410-9f33-43a8a102dc09
Add caption of column selector, forgotten in previous commit.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4488 560a3889-bb33-0410-9f33-43a8a102dc09
Don't know when exactly but in some cases VirtualTree.FocusedColumn seems to have the InvalidColumn (-2) index. Do not pass such negative indexes to a TStringList in TDBQuery.ColAttributes. See http://www.heidisql.com/forum.php?t=13245

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4489 560a3889-bb33-0410-9f33-43a8a102dc09
Display system known icons in recent SQL files list.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4490 560a3889-bb33-0410-9f33-43a8a102dc09
Fix crash caused by freeing main image list, see previous commit. Fixes issue #3316.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4491 560a3889-bb33-0410-9f33-43a8a102dc09
* Move code from FillPopupQueryLoad into automatically triggered FillPopupQuery.OnPopup event.
* Make getting system imagelist and imageindex shared code in Helpers.GetSystemImageList and Helpers.GetSystemImageIndex
* Remove call to TranslateComponent, accidentally committed in r4490
* Draw system icons with transparency

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4492 560a3889-bb33-0410-9f33-43a8a102dc09
Fix usage of wrong TDBObject caused by using wrong offset from TDBObjectList.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4493 560a3889-bb33-0410-9f33-43a8a102dc09
Fix reading chunks from SQL file with a multiplier of the encoding's maximum character length. Broken in r4470.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4494 560a3889-bb33-0410-9f33-43a8a102dc09
TOP(x) clause for UPDATES + DELETES introduced in MSSQL 2005. Do not use that on older servers. See http://www.heidisql.com/forum.php?t=13289

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4495 560a3889-bb33-0410-9f33-43a8a102dc09
Code cosmetic for getting server version:
* Remove properties ServerVersionInt and ServerVersionStr from TDBConnection
* Instead, move private GetServerVersionInt() and GetServerVersionStr() to public scope, named like the previously used properties now
* Remove overridden methods in descendants of TDBConnection, do it with a version conditional in the upper class
* Finally, remove ConvertServerVersion() and merge code into ServerVersionStr()
* We have 7 declarations and 3 implementations less than before

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4496 560a3889-bb33-0410-9f33-43a8a102dc09
Introduce TMainForm.FGridCopying flag, and use that to temporarily disable integer to datetime conversion in AnyGridGetText(). Fixes issue #3322.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4497 560a3889-bb33-0410-9f33-43a8a102dc09
Show thousand separator in data grids. Fixes issue #3324.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4498 560a3889-bb33-0410-9f33-43a8a102dc09
Use internal flag to remember whether new grid text was pasted from clipboard. This way we can again use "Grid.Text[] := xyz", which triggers AnyGridNewText(), which again is able to pass the right "Null" parameter to TDBQuery.SetCol(). This fixes issue #3325 (invalidated controls, especially "cancel changes" action after pasting). Also, this fixes pasted formatted numbers not being unformatted internally. Finally, we have 5 lines of code less than before :)

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4499 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3324: When copying from a numeric grid cell, use raw numbers, not the formatted version.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4500 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3324:
* Merge "Highlighter" tab into "SQL" tab again, to keep a low number of tabs
* Divide "Data" options tab into "Data appearance" and "Data editing" tabs, to make room for the new checkbox option "Local number format"
* Introduce the new data option "Local number format"

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4501 560a3889-bb33-0410-9f33-43a8a102dc09
Add missing translation strings for preferences dialog

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4502 560a3889-bb33-0410-9f33-43a8a102dc09