Ansgar Becker
4c62279ba6
Issue #12 : Get real/origin names of columns in a SQLite result into FColumnOrgNames list, and remove Columns list from TGridRows now that we can use the statement pointer later
2019-12-27 08:53:19 +01:00
Ansgar Becker
efb4459288
Issue #12 : Implement TSQLiteQuery.TableName, and
...
* free Psqlite3_stmt later, in TSQLiteGridRows.Destroy, not in TSQLiteConnection.Query directly after execution
* move code from TAdoDBQuery.TableName to TDBQuery.TableName, as this is generic SQL parsing which works for all layers (though not so reliable)
2019-12-27 08:30:25 +01:00
Ansgar Becker
91f973caed
Issue #12 : On "Host" tab, prefer visible filename over visible file path
2019-12-25 12:58:36 +01:00
Ansgar Becker
ed89b54b28
Issue #12 :
...
* define and use SQLite column datatypes, at least the few groups (int, text, real, blob, date)
* TSQLiteConnection.GetThreadId now returns the application process id, as there is no connection pid in SQLite
2019-12-25 12:34:36 +01:00
Ansgar Becker
e67ab11279
Introduce experimental implementation of SQLite support, alias "Jingle Bells v2", for issue #12
2019-12-24 14:32:19 +01:00
Ansgar Becker
5a350967c7
Revert a part of commit:7ed97b3fe2f989b19bd282ae00c64de8e7b4871d which should have fixed a resizing bug on the query helpers box. See https://www.heidisql.com/forum.php?t=35096
2019-12-19 21:25:16 +01:00
Ansgar Becker
168e49af84
Use the newer KNOWNFOLDERID TGUID constants from Winapi.KnownFolders instead of CSLID integer constants. Probably fixes wrong FOLDERID_RoamingAppData folder for #815
2019-12-18 21:36:51 +01:00
Ansgar Becker
3d1468e77a
Make TDBObject.IsSameAs more crash stable, in case the second object is nil. See https://www.heidisql.com/forum.php?t=35109
2019-12-16 08:11:56 +01:00
Ansgar Becker
fc86cd4205
Add filter edit box on session manager, for filtering sessions using regular expressions. Closes #826
2019-12-15 22:12:15 +01:00
Ansgar Becker
74068d68ad
Place icons on the 3 new/save/delete buttons on the session manager, to make them more noticeable
2019-12-15 19:31:09 +01:00
Ansgar Becker
feeb1106a7
Don't mix up SynHighlighterSQL.TtkTokenKind enum types with System.TTypeKind
2019-12-15 12:02:22 +01:00
Ansgar Becker
8eba64ca5d
Revert commit:424b9f9ab4c620dd6945d69e9652ee828b0b26eb for #159 (migration of files from pre-10.0 snippets directory)
2019-12-15 11:56:43 +01:00
Ansgar Becker
eb25bc524e
Close query tab on click with middle-mouse-button. Closes #779
2019-12-15 11:50:37 +01:00
Ansgar Becker
d5968e1efe
Issue #703 : Sort charset drop down on "Bulk table editor" alphabetically, and increase height of drop down scrollbox to 16 items
2019-12-14 15:17:22 +01:00
Ansgar Becker
14f2a2388a
Issue #703 : Sort collation drop down on "Bulk table editor" alphabetically
2019-12-12 21:12:00 +01:00
Ansgar Becker
7e256647af
Apply just modified session color to opened connection(s) after save. Closes #745
2019-12-11 22:03:02 +01:00
Ansgar Becker
a40fd226c1
Trim text in TEdit's on session manager dialog, to prevent leading and trailing spaces after pasting. Closes #797
2019-12-11 21:46:45 +01:00
Ansgar Becker
ef50035e33
Table editor: support moving down or up more than one column. See https://www.heidisql.com/forum.php?t=17765
2019-12-10 21:08:18 +01:00
Ansgar Becker
9d6a16ec6c
Break Plink wait loop when server has sent an "Access denied" error. Closes #774 .
2019-12-08 12:28:33 +01:00
Ansgar Becker
805c0c35b2
Add checkbox option to remove line breaks from field contents in grid export dialog. Closes #474
2019-12-08 11:59:15 +01:00
Ansgar Becker
2f2eba6e56
Disable some controls on VIEW editor, which the underlying server does not support, and don't generate SQL clauses for these. Closes #39 .
2019-12-03 20:47:24 +01:00
Ansgar Becker
097a902e3c
Support very low max_allowed_packet setting in TMySQLConnection.MaxAllowedPacket, so it has to be >10K only, for not assuming 1M for SQL exports. See https://www.heidisql.com/forum.php?t=35046
2019-12-01 11:13:51 +01:00
Ansgar Becker
dd8bacfcc9
Turn simple message box into a prompt when SSH tunnel asks for key passphrase. Closes #284 .
2019-11-30 18:05:36 +01:00
Ansgar Becker
023f6a342c
Store and restore bind parameters per query tab in tabs.ini, including activation state. Closes #689
2019-11-30 13:55:01 +01:00
Ansgar Becker
91216336e8
Do not trigger file reload prompt after file access. See https://www.heidisql.com/forum.php?t=15500
2019-11-29 22:00:34 +01:00
Ansgar Becker
94b398beb2
Add CURRENT_TIMESTAMP to function list, especially for the dropdown in the default editor. See https://github.com/HeidiSQL/HeidiSQL/issues/74#issuecomment-559321533
2019-11-28 06:38:01 +01:00
Ansgar Becker
54e05e5d23
Use up to 70 characters on a main tab caption before adding ellipsis. Gives long table names more room.
2019-11-26 21:12:26 +01:00
Ansgar Becker
810fdc9f7b
Refactor code for query bind parameters
2019-11-24 16:46:21 +01:00
Ansgar Becker
f37cfbddce
Support modifying columns per table designer in PostgreSQL mode, including rename. Closes #595
2019-11-24 15:47:53 +01:00
Ansgar Becker
5a55f340c6
Let TConnectionParameters.NetTypeName and TConnectionParameters.IsCompatibleToWin10S rely on a correctly set FNetType property. So we can safely use GetNetTypeGroup on it, and need less parameter passing. Closes #812 . The default FNetType should probably not be ntMySQL_TCPIP any longer, so such bugs get seen earlier.
2019-11-22 20:00:22 +01:00
Ansgar Becker
96aca7f6a2
Display last system error when plink process could not be started for some reason. Helps in debugging. See https://www.heidisql.com/forum.php?t=34556#p35000
2019-11-20 21:02:29 +01:00
Ansgar Becker
35a27c0ec8
Fix unwanted wrapping in help label on find dialog
2019-11-19 21:18:16 +01:00
Ansgar Becker
a8bc1e3417
Add "Find text" item to context menu in data grid and query grids. Users may not be aware that find feature supports data grids, when it's only in the main menu.
2019-11-19 21:13:58 +01:00
Ansgar Becker
ac8190fa1c
Suppress errors in GetLockedTableCount, which is not working on all servers: https://www.heidisql.com/forum.php?t=34984
2019-11-19 06:45:20 +01:00
Ansgar Becker
9b23baec85
On Amazon Redshift servers, display "Redshift PG x.y" in status bar. Closes #802
2019-11-17 17:15:42 +01:00
Ansgar Becker
6695a31eae
Issue #805 : fall back to translated button captions if GetLocaleString returned an empty string. Setting an empty button caption raises an exception in TTaskDialogButtonItem
2019-11-14 21:32:15 +01:00
Ansgar Becker
17f6cb851a
Issue #88 : remove definer clause also for views and events, if wanted
2019-11-13 14:40:16 +01:00
Ansgar Becker
be689edaec
SQL export: add drop down menu item for removing DEFINER clauses from triggers, procedures and functions
2019-11-13 14:29:26 +01:00
Ansgar Becker
ed5a4ace88
Issue #88 : consistently use DBObject.CreateCode also for trigger exporting
2019-11-13 12:56:32 +01:00
Ansgar Becker
7b99bcc823
Issue #685 : Fix fatal performance bug, calling GetSQL on each examined character of a TSQLSentence. See report on https://www.heidisql.com/forum.php?t=34935
2019-11-13 08:16:24 +01:00
Ansgar Becker
586b34cd08
Issue #802 : filter away not owned databases only on Redshift servers. See https://www.heidisql.com/forum.php?t=34635#p34946
2019-11-12 19:56:03 +01:00
Ansgar Becker
bcd19c390e
Issue #802 : Detect Amazon Redshift via IsRedshift and give servers a fitting icon
2019-11-12 19:50:57 +01:00
Ansgar Becker
fe7e402782
Issue #802 : Redshift: modify query for retrieving accessible databases. See https://www.heidisql.com/forum.php?t=34635#p34937
2019-11-12 07:47:35 +01:00
Ansgar Becker
66ebbca812
Always use an empty query tab for loading an sql file. Don't load contents into a currently non-empty tab. Closes #270 .
2019-11-10 18:36:49 +01:00
Ansgar Becker
7eb486ffb3
Alternative to pg_relation_size() for pre-8.1 PG servers. See https://www.heidisql.com/forum.php?t=34635
2019-11-07 07:39:12 +01:00
Ansgar Becker
dac87729ca
Never prepend "AND " in first quick filter. Closes #796
2019-11-07 06:59:09 +01:00
Ansgar Becker
17e75e70da
Refactor: rename helper function sstr() to something more readable, and optimize it slightly
2019-11-04 20:15:41 +01:00
Ansgar Becker
ffebc6d52b
Display help text for SQL function as tooltip hint in query helpers tree.
2019-11-04 20:05:08 +01:00
Ansgar Becker
2b3b11c9c3
Update MySQL/MariaDB function list and their help texts
2019-11-03 13:45:24 +01:00
Ansgar Becker
1f17ed80c3
Update code from vcl-styles-utils to current master branch from Oct 10 2019. Closes #649 . Also related to background color of selected VirtualTree nodes, reported in #789
2019-11-01 15:56:42 +01:00