3654 Commits

Author SHA1 Message Date
810decc23e Init asLineBreakStyle setting with Windows linebreaks, so we don't run into crashes when grid value does not have any line ending. See issue #47 and https://www.heidisql.com/forum.php?t=24883 2018-02-05 19:07:54 +01:00
f7b4d0c0b8 Try the same workaround for invisible or black dropdown buttons on Wine as previously only for dropdown toolbuttons (becd4bdd0e3845f9ad7845fe7637460914878afa and 61202be058cc135f938a131207f47f9546efff26). Probably fixes issue #94. May also not fix it, as the toolbutton issue was not only on Wine. 2018-02-03 22:47:29 +01:00
f0cf55f76a Fix some unpretty names of private variables 2018-02-03 20:38:13 +01:00
427078f3f5 Fix crash in drop down menu after detecting no line breaks. That should have never happened, but it did. Closes #47. 2018-02-03 20:31:52 +01:00
bc04747ad2 * widen SynMemo's Gutter.DigitCount from 2 to its default value (4)
* make line numbers gray, so they are not as eye catching as the memo's contents
* closes #26
2018-02-03 19:53:35 +01:00
d58e30d0eb Add an "Environment" label on the about dialog, showing Windows version, Windows Store package name, or Wine 2018-02-03 16:00:38 +01:00
2e43ed6de4 Avoid crash on Windows XP, while detecting Windows 10 S. Closes #114 2018-02-01 21:02:03 +01:00
b92addf089 Issue #60: Check if HeidiSQL runs as a Windows Store App, and disable all update check mechanisms, due to Store policies 10.2.5 https://docs.microsoft.com/legal/windows/agreements/store-policies#102-security .
Detection code taken/modified from
* https://github.com/appconsult/DesktopBridgeHelpers/blob/master/DesktopBridge.Helpers/Helpers.cs
* https://stackoverflow.com/questions/48549899/how-to-detect-universal-windows-platform-uwp-in-delphi
2018-02-01 20:30:50 +01:00
3d698f9f68 Disable SSH tunnel connections on Windows 10 S, as a requirement for publishing HeidiSQL in the Windows App store, #60. 2018-01-31 18:25:12 +01:00
a26d68d23c Move to visible area if window was on a now plugged off monitor previously. See https://www.heidisql.com/forum.php?t=24822 2018-01-25 20:10:10 +01:00
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
959ff25768 Update gettext unit to r85 from https://sourceforge.net/p/dxgettext/code/HEAD/tree/trunk/dxgettext/sample/gnugettext.pas 2018-01-22 19:25:31 +01:00
5a3dde10b8 Add context menu on various labels of about dialog, so the user can easily copy application version and others. Closes #82 2018-01-20 17:29:07 +01:00
ee27ccdec7 Increase number of collations shown in drop down. Closes #90. 2018-01-17 21:36:17 +01:00
79d393c81a Increase number of network types shown in drop down 2018-01-17 21:32:59 +01:00
f2da91be65 Suppress errors in LoadLibrary(libmariadb.dll) on Windows XP. Instead, try loading the XP-compatible libmysql.dll v5.6.6. Closes #79. 2018-01-09 21:03:50 +01:00
f5d9603549 Support newer MariaDB syntax for column default:
* "DEFAULT current_timestamp()" without precision
* "DEFAULT 0" without quotes around numbers
Closes #68
2018-01-08 11:17:35 +01:00
26ec06edcd Inform user about preference setting for limiting result tabs. Closes #73 2018-01-07 12:05:19 +01:00
d3856282d1 Update libmysql.dll to libmariadb.dll from the current 10.2.12 GA release. Leave support for libmysql, for users which don't yet have the new file in their Heidi directory. Should fix non working SSL connections, like described here: https://www.heidisql.com/forum.php?t=19494 2018-01-06 20:34:49 +01:00
001c52f0b4 Double number of displayed drop down items in SQL export *type* pulldown also. Closes #72. 2018-01-05 11:11:57 +01:00
21dacd9962 Double number of displayed drop down items in SQL export target pulldown. See https://www.heidisql.com/forum.php?t=24679 2018-01-05 10:06:51 +01:00
36c5d90d39 Use unsecured heidisql.com url in donor check if secure one did not work. Closes #65 2018-01-02 18:55:06 +01:00
5aabc004d5 Change default port to 5432 when PostgreSQL is selected in new connection form. 2018-01-02 14:02:32 +01:00
767dc99f32 Change ChangeLog URL in main menu under help to its new GitHub location, instead of old SourceForge address. 2018-01-02 14:02:32 +01:00
9b167c2015 Remove unused variable 2017-12-30 15:01:18 +01:00
d057f27a4f Cast result from LOAD_FILE() command as utf8 string, to fix encoding errors in view editor. Closes #61. 2017-12-30 14:01:42 +01:00
ac1a3cb1ad Remember previous position of session manager dialog on screen. See https://www.heidisql.com/forum.php?t=24596 2017-12-26 13:56:33 +01:00
dac303d8f6 Introduce argument indexes in some translation strings, to fix crashes with Japanese and probably other languages, when grammar changes the order of arguments. Closes #55. 2017-12-22 10:28:15 +01:00
19a1c3fbb4 Refactor exclusion of virtual columns in various places:
* introduce TDBQuery.ColIsVirtal() returning a boolean for a column index, and use that instead of examining a columns virtuality everywhere
* exclude virtual column when exporting SQL code in the grid export dialog - see #53
* sql export dialog must not activate edit mode on a result, as this introduces endless loops
* instead, move some code out of PrepareEditing into PrepareColumnAttributes, which we can now call separately without activating edit mode
2017-12-22 10:07:17 +01:00
c5f655753e Don't copy values of virtual columns when duplicating a row. Closes #53 2017-12-22 07:57:23 +01:00
c2594e40c0 Find out whether the previously selected database has some locked tables, and if so, don't select it at startup time. Closes #49 2017-12-21 15:25:03 +01:00
38a05ab4de Prevent accessing non existing string list item in TMainForm.ListDatabasesGetText, to fix a sporadic crash after dropping a database. Closes #33 2017-12-19 15:05:47 +01:00
e8ed608a56 Expect regular expression in filter text on right panel, not a simple string. Keep searching case insensitive, as in prior logic. Add text hint to filter box so the user knows he can enter a regular expression here. Closes #45. 2017-12-16 15:53:00 +01:00
4101350163 Support quote chars other than the relevant one within identifiers. For example "mycolumn" or "mycolumn" ... or even worse: "mycolumn". Closes #44. 2017-12-14 20:37:27 +01:00
10668bc370 Don’t send donators’ e-mail addresses unencrypted 2017-12-11 20:51:04 +01:00
0786673c09 Temporarily disable local number formatting in data grid while the search dialog is open. Closes #30. 2017-12-05 20:26:26 +01:00
d029a83e8b Update url to issue tracker and copyright year 2017-12-02 14:58:54 +01:00
699ba07df6 Add new TAction for clearing query log, and assign it to the rightclick menu item of it. Give this new action the hotkey Ctrl+Q. Closes #25. 2017-12-02 14:51:40 +01:00
09e6942f7b SynEdit's SQL highlighter provides a sample source text. Display that text in the preferences editor panel for SQL colors. 2017-11-26 10:32:03 +01:00
7a9d367ad1 Prevent TMainForm.DisplayRowCountStats from crashing due to no current table/view/... 2017-11-22 16:25:22 +01:00
ea522c8c10 Don't export data for virtual columns. Fixes #5. 2017-11-08 20:46:52 +01:00
88bb7eb376 Simplify regular expression for extracting column details in ParseTableStructure(), so it does not barf on huge length/set. Fixes issue #2. 2017-11-06 22:04:34 +01:00
57e8047da3 Remove debug code. See https://www.heidisql.com/forum.php?t=24400 2017-11-02 07:00:38 +00:00
ef13e15de6 New attempt to fix menu and buttons flicker on Win10, this time by with the help of Delphi Detours library. See https://www.heidisql.com/forum.php?t=19141 2017-11-01 19:38:29 +00:00
b5765c9c9e Extend TMySQLOption enumeration with newer items 2017-06-05 14:31:45 +00:00
68b46b2b3f fix exception in early stage of table editor initialization 2017-05-18 13:17:16 +00:00
a50c21a383 * unify context menu of various sql editors, by supporting all contained editors instead of searching for one with the name "SynMemoBody"
* disable actions which need to modify the contents on readonly editors
* add "save to textfile" and "un/comment" actions to the unified context menu
2017-05-18 13:10:59 +00:00
7a48774fe0 Trigger OnChange event on TSynMemo after toggling comment, so a save button gets enabled. See https://www.heidisql.com/forum.php?t=23834 2017-05-18 12:46:43 +00:00
e17fc0291b Save session tree color when creating a copy of a session. See https://www.heidisql.com/forum.php?t=23796 2017-05-11 18:00:47 +00:00
38cfdd0595 Fix detection of column types with DEFAULT CURRENT_TIMESTAMP(123). See https://www.heidisql.com/forum.php?t=17585 2017-04-01 06:52:04 +00:00