125 Commits

Author SHA1 Message Date
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
31dc8f3f97 Use unsecure project web url for donor checks, as the ssl certificate seems not accepted on some Wine systems. 2017-03-05 17:40:11 +00:00
9d2e0f41a7 Use HTTPS for all web requests on heidisql.com 2017-02-20 17:51:12 +00:00
9cc8af14d6 Missing constant CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS, see previous commit. 2016-06-13 18:08:34 +00:00
187a56abe6 Format byte numbers so that we never get a thousands separator in it. Prevents us from running into a conversion bug in helpers.CleanupNumber(). See http://www.heidisql.com/forum.php?t=20612 2016-02-07 11:42:17 +00:00
c890cf5172 Internally handle MySQL's native column types in an enumeration, not as constants. See mysql.h.pp in the MySQL server code. 2015-11-19 19:54:59 +00:00
a2dfca0f00 Add new MySQL internally used date/time data types. See https://bugs.mysql.com/bug.php?id=67992 2015-11-19 19:32:31 +00:00
cbbfcb268f Add basic support for MySQL's new JSON data type. See http://www.heidisql.com/forum.php?t=19870 2015-11-19 19:23:11 +00:00
82c960ceb1 Add support of bind parameters. Fixes issue #1325 2014-02-10 18:30:47 +00:00
4aabebe6bb Remove unused constant 2014-02-08 10:29:24 +00:00
ef761a897f Append parameter names for procedures and functions in completion proposal 2013-11-20 05:14:34 +00:00
a38c70b99e * Try a new approach in helpers.OpenTextFile(), helpers.ReadTextfile() and helpers.ReadTextfileChunk(): Based on TStreamReader instead of TFileStream now, so we can finally rely on Delphi internals for detecting a file's encoding. Also, this should fix read errors in some UTF-8 files, e.g. mentioned on http://www.heidisql.com/forum.php?t=13044
* Remove helpers.DetectEncoding(). Use a separate TStreamReader in the only caller to detect the encoding of a selected file
* Remove helpers.ScanNulChar()
* Remove helpers.RemoveNulChars()
2013-09-04 07:53:44 +00:00
595bebb0e1 Use the right binary instead of decimal prefixes for bytes: KiB, MiB etc. And introduce unit for 2^60 bytes: Exbibyte. See http://de.wikipedia.org/wiki/Byte . 2013-07-15 03:49:49 +00:00
645a9f3c7f Make message strings from const.inc translatable 2012-11-29 06:15:44 +00:00
8d73413de8 Fix and enhance handling of multiple statements and multiple results:
* TMySQLConnection.Query did not process further results if the first one is a non-result. Instead, it disconnected you as the required mysql_store_result() was never called. Fixed now. Should fix the error described here: http://www.heidisql.com/forum.php?t=11049
* Cache result of SHOW VARIABLES, and introduce a MaxAllowedPacket function, which benefits from that cache
* Do not limit the number of statements in "batch in one go" mode, only limit its size. This is to minimize the number of sent packets for a huge numbers of very small queries.
2012-08-27 22:56:12 +00:00
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
08ec09c3dd Fix issue #1031: Have folders for tables, views, routines in database tree. 2012-07-19 07:07:50 +00:00
e2f09b0d8d Make local timezone feature a per session option. See http://www.heidisql.com/forum.php?t=10635 2012-05-25 17:46:57 +00:00
2ef9f4e288 Implement server variable mapping table, and extend the variable editor to explicitly modify strings, numbers, booleans or enumerations, as described on http://dev.mysql.com/doc/refman/5.6/en/dynamic-system-variables.html . Fixes issue #2614. 2012-05-20 08:34:13 +00:00
276797ed52 Code cosmetic: Move MODIFIEDFLAG to const.inc 2012-04-26 04:44:36 +00:00
a9260a49d6 Fix black tree background, broken in previous commit. 2012-04-22 12:10:06 +00:00
6ef3d17042 Use home brown file format for exporting and importing registry settings, as used for portable_settings.txt. Registry dumps cannot be imported into a separate registry key for a portable instance, which is hereby fixed, see http://www.heidisql.com/forum.php?t=10503 . 2012-04-09 17:40:12 +00:00
8a1fa0efc8 Forgotten file in previous commit. 2012-03-19 23:51:34 +00:00
3370a6a4da Add menu item for launching mysql.exe command line with current parameters. Fixes issue #2728. 2012-02-28 23:34:58 +00:00
cedf5d888e Introduce new preference option "Prefill empty date/time fields". Fixes issue #2708. 2012-02-27 22:36:48 +00:00
af3f590723 Use one color pulldown for setting grid text colors, not one per data type. Use all TDBDatatypeCategory's here, so this introduces a separate color for floats and integers, which were "numeric" before. 2012-02-27 22:16:05 +00:00
a86650d10b Introduce a checkbox for explicit activation of SSL. Any combination is passed to the server now, while SHOW STATUS LIKE 'ssl_cipher' is used to find out if the connection is indeed SSL secured. Pops up a warning when SSL settings were ignored by the server. Fixes issue #2672. 2012-01-22 10:17:24 +00:00
0eaccc3938 Make session list and details pagecontrol custom resizable via splitter. Also, do not auto-adjust column width in session list, which has funny effects in some cases. 2012-01-02 07:53:24 +00:00
1a593a24b4 Revert r3979, move imported mysql_* functions from TDBConnection to a global var scope. Fixes issue #2647. Also, move MySQL related structures out of dbconnection.pas into mysql_structures.pas and const.inc. 2011-12-24 08:10:41 +00:00
f6588fb1fc Add support for integrated Windows authentication on SQL Server. See http://www.heidisql.com/forum.php?t=8856 2011-11-19 08:43:10 +00:00
d07cfcb7c6 Provide option "tabs to spaces" in preferences dialog. For space reasons, move highlighter options to new tab "Highlighter". Also, unify padding on tab sheets, and move "Ask for saving files" option to "SQL" tab. 2011-11-10 23:27:02 +00:00
53444c700a Add "truncate table" feature to text import dialog. See http://www.heidisql.com/forum.php?t=9367 2011-11-10 22:15:42 +00:00
783cbdbcc0 Save and restore settings in table tools dialog. Restore server selection only in export mode. Fixes issue #2520 and non-restored previous file settings. 2011-08-14 10:15:09 +00:00
3824e552fe Rewrite import file dialog: Use a grid for column values, distinct between binary and text files 2011-07-11 06:13:50 +00:00
2ed5c39916 Do not force quotation when identifier contains underline char. 2011-06-24 22:02:22 +00:00
ed577e4482 Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree. 2011-06-10 22:26:13 +00:00
5e1d4645d2 Remove unused global constants 2011-05-27 20:16:04 +00:00
624863d5e1 Store and restore state of multi queries option. Fixes issue #2384. 2011-05-05 17:19:22 +00:00
3c11e6c5a8 Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499. 2011-04-28 07:33:49 +00:00
77c5b3e219 Fix window placement problems due to multi monitor setup and restored minimized window state. Fixes issue #2372. See also http://www.heidisql.com/forum.php?t=8126 2011-04-16 16:34:59 +00:00
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
1c279fd85b Exclude chars between ord(Z) and ord(a) in non-quoted identifiers. Fixes issue #2293. 2011-02-03 22:00:34 +00:00
199d7c6e0f Make plink.exe wait timeout configurable in session manager. Fixes issue #2236. 2010-11-28 12:47:00 +00:00
ffb99d8962 Add right click option to toggle visibility of horizontal scrollbar in SQL log. http://www.heidisql.com/forum.php?t=6984 2010-11-24 23:39:22 +00:00
6f95a796e1 Modify identifier quoting logic:
- Move QuoteIdent() and DeQuoteIdent() out of TMySQLConnection, make them classless
- Remove TMainForm.mask(), instead always use QuoteIdent()
- Introduce a third parameter to QuoteIdent(): "AlwaysQuote" - setting this to false will quote only if required
- Set AlwaysQuote to false for all stuff which drops some code into the query editor, see http://www.heidisql.com/forum.php?t=6986
2010-11-24 23:12:13 +00:00
98300c9bd5 Make SET cell editor resizable, and store and restore its dimensions. Fixes issue #2212. 2010-11-13 21:16:36 +00:00
be3e393534 Add "case sensitive" checkbox to "Find text on server" dialog. Fixes issue #2199. 2010-10-23 07:07:55 +00:00
0fa6c15c9d Implement multiple connections per window. DBtree and friends now have their nodes bound to TDBObject instances. Fixes issue #2144. 2010-10-05 23:06:29 +00:00
f42c62638c Display parameters of stored routines in completion proposal. Fixes issue #2149. 2010-09-20 22:12:07 +00:00