Commit Graph

4274 Commits

Author SHA1 Message Date
Ansgar Becker
51fcf379bb Fix crash when having query history expanded without an active connection 2018-03-22 20:27:24 +01:00
Ansgar Becker
83d6b02d7c Display tenths of a second through FormatTimeNumber. Used by query running status, table tools dialog and some more. 2018-03-18 21:17:33 +01:00
Ansgar Becker
de0446b3b3 Fix non displayed status bar message when running successive queries. Closes #186 2018-03-18 19:05:06 +01:00
Ansgar Becker
886b002661 While executing a user query, display elapsed execution time in hh:mm:ss format, on status bar. See https://www.heidisql.com/forum.php?t=24763 2018-03-04 12:12:23 +01:00
Ansgar Becker
f707a93420 Exchange left button icons on db and table filter with new ones containing a drop down button, so the history pulldown feature is more noticeable. Closes #146. 2018-03-04 11:20:21 +01:00
Ansgar Becker
194f26bfac Quote column in WHERE clause of automated query for finding locked tables in database. Closes #173 2018-03-01 20:15:04 +01:00
Ansgar Becker
424b9f9ab4 Migrate files from old default snippets directory. Closes #159 2018-02-25 15:33:54 +01:00
Ansgar Becker
25717dc222 Exchange shortcuts Shift+Mousewheel and Alt+Mousewheel, so Shift is for horizontal scrolling (inversing vertical scrolling), and Alt is for the more esoteric vertical-scrolling-with-focus-moving. See #142. 2018-02-18 14:06:49 +01:00
Ansgar Becker
76230dfd59 Grid popup text editor: Trigger onchange event explicitly, as this is not done implicitly when applying an empty string. Closes #132. 2018-02-18 12:22:27 +01:00
Ansgar Becker
4bde1c213e Show 16 instead of only 8 items in drop down menus of grids. Closes #90 2018-02-18 12:05:24 +01:00
Ansgar Becker
93bb6c6051 Support horizontal scrolling in grids with Alt+Mousewheel. Closes #142. 2018-02-18 11:52:01 +01:00
Ansgar Becker
32bc533495 Restore maximized WindowStyle of grid text editor, and move some code from FormShow to FormCreate, to overcome a glitch with the window dimensions. Closes #89. 2018-02-16 15:45:18 +01:00
Ansgar Becker
52c3fb43a2 Fix detection of PostgreSQL version ignoring the 3rd version segment, and use the same logic as for MySQL again. See issue #137. 2018-02-14 07:44:26 +01:00
Ansgar Becker
0dee2d35ba Fix version detection on PostgreSQL, when there is no third segment in the version string. Closes #137. 2018-02-13 22:05:47 +01:00
Ansgar Becker
8b2966c52e Issue #60: Store snippets in C:\Users\anse\Documents\HeidiSQL\Snippets by default, not C:\Users\anse\AppData\Roaming\HeidiSQL\Snippets 2018-02-06 20:35:04 +01:00
Ansgar Becker
eba05e7282 Issue #60: link "Download page" to the HeidiSQL page in the Microsoft Store 2018-02-06 20:17:44 +01:00
Ansgar Becker
4cfd36a211 Issue #60: Try to fix non-working RunningOnWindows10S, by passing the current OS version numbers to GetProductInfo() 2018-02-06 20:11:36 +01:00
Ansgar Becker
3c16564271 Issue #60: Disable relevant controls in preferences dialog for application update checks, if running as UWP 2018-02-06 19:46:34 +01:00
Ansgar Becker
f63fab4aa6 Wording fix: "Microsoft Store", not "Windows Store" 2018-02-06 19:32:52 +01:00
Ansgar Becker
651b485af3 Apply fix from forum user damhye, for wrong octet length of exported blob data. See https://www.heidisql.com/forum.php?t=24843 2018-02-05 19:24:22 +01:00
Ansgar Becker
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
Ansgar Becker
f7b4d0c0b8 Try the same workaround for invisible or black dropdown buttons on Wine as previously only for dropdown toolbuttons (becd4bdd0e and 61202be058). 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
Ansgar Becker
f0cf55f76a Fix some unpretty names of private variables 2018-02-03 20:38:13 +01:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
2e43ed6de4 Avoid crash on Windows XP, while detecting Windows 10 S. Closes #114 2018-02-01 21:02:03 +01:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
ee27ccdec7 Increase number of collations shown in drop down. Closes #90. 2018-01-17 21:36:17 +01:00
Ansgar Becker
79d393c81a Increase number of network types shown in drop down 2018-01-17 21:32:59 +01:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
26ec06edcd Inform user about preference setting for limiting result tabs. Closes #73 2018-01-07 12:05:19 +01:00
Ansgar Becker
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
Ansgar Becker
001c52f0b4 Double number of displayed drop down items in SQL export *type* pulldown also. Closes #72. 2018-01-05 11:11:57 +01:00
Ansgar Becker
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
Ansgar Becker
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
Tuncay
5aabc004d5 Change default port to 5432 when PostgreSQL is selected in new connection form. 2018-01-02 14:02:32 +01:00
Tuncay Goncuoglu
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
Ansgar Becker
9b167c2015 Remove unused variable 2017-12-30 15:01:18 +01:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
c5f655753e Don't copy values of virtual columns when duplicating a row. Closes #53 2017-12-22 07:57:23 +01:00