Ansgar Becker
5b86687f2c
Database search feature: prefer a normal log line for tables with no matching data type, so the "Found rows" column has a number, to fix wrong sorting
2021-03-12 09:10:04 +01:00
Ansgar Becker
79b9d7caf8
Issue #1113 : reduce annoyance factor when resizing mainform, no longer reduce query tab height even when it's overlapped by log panel
2021-03-05 10:50:23 +01:00
Ansgar Becker
3e7a706caa
Always read portable settings file and imported settings file in UTF8 mode, instead of (falsely) auto-detecting the encoding. Fixes broken characters loaded from a portable file larger than the examined 16 (?) KB. See pm from FP.
2021-03-03 07:39:03 +01:00
Ansgar Becker
5204ac54fa
Set explicit default value "NO ACTION" for ON UPDATE/DELETE clauses when creating a foreign key. Closes #1320
2021-02-27 11:08:57 +01:00
Ansgar Becker
6e053ee640
Issue #1321 : move jsonb data type to text category, to activate the text editor for such fields
2021-02-25 21:20:22 +01:00
Ansgar Becker
836189e754
Issue #1299 : attempt to prevent crash in DBtreeFocusChanged
2021-02-11 22:34:00 +01:00
Ansgar Becker
bfca2af12c
Issue #135 : ClickHouse compatible query alternative for SHOW VARIABLES
2021-02-10 06:46:48 +01:00
Ansgar Becker
ab502cdc0a
Issue #135 : ClickHouse compatible query alternative for SHOW /*!50002 GLOBAL */ STATUS
2021-02-08 20:04:00 +01:00
Ansgar Becker
7597385618
Issue #135 : basic support for ClickHouse MySQL protocol
2021-02-08 19:52:42 +01:00
Ansgar Becker
3cf4409ddf
Issue #1298 : support check constraints on MySQL, MSSQL and PG by retrieving the with a different query, without IS.CHECK_CONSTRAINTS.TABLE_NAME
2021-02-08 07:58:28 +01:00
Ansgar Becker
08119df1e1
Issue #1306 : attempt to set a connection timeout for MySQL/MariaDB, in this case for an AWS rds instance
2021-02-07 21:30:19 +01:00
Ansgar Becker
cb2711d88e
Issue #1302 : overtake renames and additions to user privileges in MariaDB 10.5.2
2021-02-04 07:34:47 +01:00
Ansgar Becker
647dc73799
Fix wrong quotes around CURRENT_TIMESTAMP default value on Percona and friends. Closes #1282
2021-02-03 18:15:06 +01:00
Ansgar Becker
bc26484701
Issue #397 : Add support for logging DML queries, and make log file path fully customizable. Requires to move some session settings to a new SSL tab, to reduce the required dialog height.
2021-01-29 08:25:14 +01:00
Ansgar Becker
153e0724bd
Issue #397 : Implement logging of DDL queries to migration files
2021-01-28 08:23:12 +01:00
Ansgar Becker
be66d708dc
Issue #397 : simplify synchronized code calls in query threads, especially wrt LogFromOutside()
2021-01-27 22:41:56 +01:00
Ansgar Becker
ac9f16e4d1
Fix %db in file pattern being replaced like a %d (current day) with a literal "b" after it.
2021-01-27 22:35:47 +01:00
Ansgar Becker
2ded25f76c
Fix empty query body when deleting grid rows in MSSQL mode, broken in b9b5976413. Closes #1294
2021-01-26 21:46:25 +01:00
Ansgar Becker
9fcfda8cba
Follow up to e66121a1c3: extend warning message to point the user in the right direction. See https://www.heidisql.com/forum.php?t=37505#p37514
2021-01-22 08:05:29 +01:00
Ansgar Becker
c6d9af9a3a
Separate Create > "Stored routine" menu item into two, one for procedures and one for functions. Closes #987
2021-01-17 14:37:34 +01:00
Ansgar Becker
1a7cc67e37
Simplify more code using the new PopupComponent() function
2021-01-16 18:36:01 +01:00
Ansgar Becker
b6c9cc1e02
Simplify some code which checks where user has clicked, using the new PopupComponent()
2021-01-16 18:15:12 +01:00
Ansgar Becker
e7baba4776
Issue #75 : pimp up context menu for indexes tab, and assign to foreign keys tab and check constraints tab as well
2021-01-16 17:19:35 +01:00
Ansgar Becker
461c7343f8
Issue #75 : get "Add constraint" and "Delete constraint" buttons working, provide function list when editing check clause, and fix some more issues
2021-01-16 16:29:44 +01:00
Ansgar Becker
8afca5dbe4
Issue #75 :
...
* detect table names in IS dynamically, on PostgreSQL and MySQL/MariaDB. This prevents me from using too complex version conditionals for detecting whether CHECK_CONSTRAINTS table is there
* even if CHECK_CONSTRAINTS table is there, the detection might fail due to the missing column TABLE_NAME, on MySQL, MSSQL and PostgreSQL. Catch SQL errors in that query and disable further detection of check constraints.
2021-01-14 21:09:08 +01:00
Ansgar Becker
6b6005267e
Issue #75 : CHECK_CONSTRAINTS is there on MSSQL, but does not work due to missing TABLE_NAME column: https://www.heidisql.com/forum.php?t=37462
2021-01-14 07:56:56 +01:00
Ansgar Becker
958d62c9b1
Issue #75 : create editable list for check constraints in table editor
2021-01-12 21:41:20 +01:00
Ansgar Becker
8f294e8990
Add menu items for inserting lowercase GUID's into grid cell. Closes #1268
2021-01-08 16:49:02 +01:00
Ansgar Becker
fdd73b1ffb
Fix crash in SynMemoQueryStatusChange when resizing main window with no active query tab
2021-01-08 11:00:17 +01:00
Ansgar Becker
3b381b642a
Update gnugettext unit to rev 134 from http://svn.code.sf.net/p/dxgettext/code/trunk/dxgettext/sample/gnugettext.pas
2021-01-07 17:44:47 +01:00
Ansgar Becker
2028db3df8
Outsource a local function into TDBObject.SchemaClauseIS, and use it in GetTableColumns
2021-01-04 19:27:04 +01:00
Ansgar Becker
6fd54fb9d4
Display number of indexes and foreign keys in caption of their tabs within the table editor. Helpful for knowing the number without having to activate their tab.
2021-01-04 16:44:50 +01:00
Ansgar Becker
34db4c7abd
Rename TTableColumn.Expression field to the more unique and clear .GenerationExpression, also for distinction from the upcoming CHECK expression.
2021-01-03 15:05:23 +01:00
Ansgar Becker
ea944b85fe
Fix scope for FStatus symbol of TTableColumn
2021-01-03 14:57:08 +01:00
Ansgar Becker
8f191e588b
Fix access violation in WalkNode.Parent in 32 bit mode. Not sure why but that happens after 67e3dc0a51 . Closes #1270
2021-01-01 14:08:33 +01:00
Ansgar Becker
44c4543dfd
Activate AutoSize and disable WordWrap on the replace hint in the search/replace dialog, so the height is auto-adjusted (especially with chars like g), and the words are not tried to be wrapped into a hidden second line.
2020-12-29 22:17:54 +01:00
Ansgar Becker
15b0242070
Fix crash in SetupSynEditors after CSV layout detector was opened and closed once.
2020-12-29 22:08:20 +01:00
Ansgar Becker
d076c1958c
Widen status bar panels for big screens
2020-12-28 17:35:17 +01:00
Ansgar Becker
82488373b0
Fix non working inheritance of font for completion proposal in trigger editor
2020-12-28 17:33:38 +01:00
Ansgar Becker
54166561d8
Apply data type colors to column names in completion proposal, and move formatting code to new apphelpers.SynCompletionProposalPrettyText()
2020-12-28 13:18:26 +01:00
Ansgar Becker
90739a895b
Rename two forms so these comply to my own code convention: TDataSortingForm=>TfrmDataSorting and TColumnSelectionForm=>TfrmColumnSelection
2020-12-27 12:56:37 +01:00
Ansgar Becker
e66121a1c3
Warn the user about potential data loss when loading a (sql) file with encoding set to "auto-detect". That auto-detection has caused several data loss situations already.
2020-12-26 09:02:18 +01:00
Ansgar Becker
77ee00e5e8
Call SynUnicode.GetEncoding instead of our own old copied code in apphelpers.DetectEncoding. Probably enhances the "auto-detect encoding" option in file-open dialogs.
2020-12-26 08:58:45 +01:00
Ansgar Becker
f8195ac37c
Code cleanup: rename options unit to preferences. And follow a naming convention for the form name, which I already have in some of the other forms: TfrmPreferences
2020-12-22 17:24:01 +01:00
Ansgar Becker
e180f6ce6f
Issue #744 : Suspend action list on mainform while preferences dialog is open, so changes on the Shortcuts tab do not trigger some action, probably even with a crash
2020-12-22 08:46:18 +01:00
Ansgar Becker
172c9aeec8
Issue #744 : Shortcut settings: Let user know whether a wanted shortcut is assigned to another action, and prompt for confirmation in such cases.
2020-12-21 21:12:04 +01:00
Ansgar Becker
12d8418856
Move upper controls on view editor into a first tab of a new page control, and show CREATE code on a second tab. Closes #1135
2020-12-19 10:26:04 +01:00
Ansgar Becker
0c6b609cf2
Add support for JSONB column types in PostgreSQL. Closes #606
2020-12-19 08:59:27 +01:00
Ansgar Becker
8ab0fa1fa0
Auto-create directory path specified in SQL export target filename. Closes #1086
2020-12-19 08:48:33 +01:00
Ansgar Becker
8e9d4dd4a1
Catch file creation errors in TQueryTab.SaveContents, when an opened file was removed with its directory, from outside. And auto-create missing folder when user presses Ctrl+S then. Also, if tabs.ini has a tab entry with a no longer existing file, don't watch that non-existent file for changes, which fixes RestoreTabs showing an error on startup.
2020-12-18 08:28:40 +01:00