13 Commits

Author SHA1 Message Date
5f413b63c4 Issue #1965: show warnings from internal queries in user manager, CSV detector and table tools 2024-06-19 10:46:16 +02:00
db014bda03 Use custom tab width and tabs-to-spaces setting uniquely in all places where we generate code. Provides a new CodeIndent() helper. Closes #1330 2024-05-19 12:22:43 +02:00
fa571f72da CSV scanner: fix crash when selected filename cannot be opened 2023-10-11 06:42:43 +02:00
9265598d41 CSV scanner: lowercase name of table and columns, and unify non-word characters to underscore 2022-11-14 20:22:25 +01:00
28e34b9942 Fix crash when scanning CSV file with more values in data than in header line. Closes #1698 2022-11-14 20:07:37 +01:00
9339304356 Fix trailing linebreak counted to last column name in first CSV line 2022-11-14 19:56:34 +01:00
25d15d8b41 Optimization: set up a single TSynMemo instance instead of all, e.g. when creating a new query tab 2022-05-25 13:16:27 +02:00
c8d9bd716b Replace redundant ExtractBaseFileName() with TPath.GetFileNameWithoutExtension() 2022-04-13 07:29:10 +02:00
53ed180cfd CSV layout detector: allow NULL on columns with \N values. See https://www.heidisql.com/forum.php?t=38663 2022-01-06 08:20:15 +01:00
a469d89227 Issue #1169: give items in TDBDatatypeIndex a different prefix (dt => dbdt), to fix a conflict with those from Delphi's database components 2021-06-26 17:44:50 +02:00
cb1024b048 Fix more potential theme related EAccessViolation's, due to Action:=caFree in OnClose event of modal forms. Their caller now frees these modal forms. In non-modal forms, keep caFree in OnClose but remove existing OnDestroy events, moving code to OnClose instead.
https://www.heidisql.com/forum.php?t=38043
https://stackoverflow.com/questions/2075405/how-to-close-non-modal-form-in-delphi
2021-06-22 20:37:34 +02:00
2dc7f934f0 Issue #477: support DATE and DATETIME column types in CSV layout detection 2020-12-08 08:06:30 +01:00
5df6149db4 Issue #477: Implement CSV layout detection, in a new dialog, callable through a "<New table>" item. Detection yet limited to integers, floats and text column types. 2020-11-29 14:25:29 +01:00