Ansgar Becker
8d356941ff
fix: two more exception causes found in uploaded reports
2026-03-06 13:02:40 +01:00
Ansgar Becker
211c5e2af7
fix: BIT values in MS SQL grid queries prefixed with MySQL b'' style
...
Closes #264
2026-02-11 14:52:26 +01:00
Ansgar Becker
72a3a89842
feat: keep time fractions intact for CSV exports
...
Refs #2098
2025-11-17 14:21:36 +01:00
Ansgar Becker
13233a2bc0
Issue #912 : add checkbox "Open file after creation" to grid export dialog
2025-10-13 20:35:43 +02:00
Ansgar Becker
53e8b47523
Issue #2186 : fix wrong number of rows shown in grid export dialog when post filter is active
2025-05-29 11:09:57 +02:00
Ansgar Becker
17647619c2
Issue #2095 : fix wrong/no control characters used when changing format to Excel csv via file-save dialog
2025-02-14 11:05:04 +01:00
Ansgar Becker
0ed57783a8
Issue #2085 : tell TStringStream.Create not to free its TEncoding object after usage, as we use application-lifetime-available encoding instances
2025-02-01 09:59:06 +01:00
Ansgar Becker
53b8ea644b
Issue #2024 : fix slow grid export
2024-11-19 19:19:16 +01:00
Ansgar Becker
0d5ad92b61
Issue #922 : remove milliseconds from exported date/time values in Excel mode
2024-10-10 17:24:47 +02:00
Ansgar Becker
40e427e5b2
Merge branch 'master' into export-php
2024-05-31 07:54:33 +02:00
Ansgar Becker
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
Michele Locati
79d9f8bba8
Fix and improve exporting in PHP format
2024-05-10 17:36:36 +02:00
Ansgar Becker
96c8f3c660
Grid export: implement JSON Lines format. Closes #1930
2024-04-21 18:08:39 +02:00
Ansgar Becker
d094e45619
Grid export: fix non triggered code for format selection
2024-04-21 16:14:41 +02:00
Ansgar Becker
5b4afdd2df
Grid export: convert format TComboBox to TComboBoxEx with icons
2024-04-21 16:08:14 +02:00
Ansgar Becker
a8405070db
Reorder components in grid export dialog, and convert format radio buttons to combobox. Makes the dialog more wide than high, creating space for wider labels and more format options.
2024-04-20 10:50:14 +02:00
Ansgar Becker
010a46c48f
Outsource new line replacements into new StripNewLines() function
2024-04-12 06:59:16 +02:00
Ansgar Becker
f3ce46af4d
Update VirtualTrees component code to release v7.6.6 from Jan 12 2024
2024-01-29 15:00:26 +01:00
Ansgar Becker
61af816c63
Issue #1429 : add "SQL INSERT IGNORE" output format to grid export dialog
2023-12-13 17:26:37 +01:00
Ansgar Becker
a3d0958ecb
Issue #861 : add a read-only #/rowid column as the first one in query and data grids
2023-10-08 12:05:24 +02:00
Ansgar Becker
d9d1f26278
Auto detect need to create HTML clipboard header, remove CreateHTMLHeader parameter from StreamToClipboard()
2023-04-06 08:07:58 +02:00
Ansgar Becker
85928522cf
Refactor HTML clipboard code. See https://www.heidisql.com/forum.php?t=9893
2023-03-30 07:35:44 +02:00
Ansgar Becker
a7d76c0916
Make HTML export format compatible to Google Chrome. See https://www.heidisql.com/forum.php?t=9893
2023-03-29 21:38:24 +02:00
Ansgar Becker
0d9de512cd
Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance.
2022-12-26 17:59:19 +01:00
Ansgar Becker
c8d9bd716b
Replace redundant ExtractBaseFileName() with TPath.GetFileNameWithoutExtension()
2022-04-13 07:29:10 +02:00
Ansgar Becker
fff5c647c3
Issue #202 : replace NUL characters in cell text also when copying a single cell or using the grid export function
2022-02-26 17:49:23 +01:00
Ansgar Becker
4ceec67f08
Issue #1013 : create Jira Textile format for grid result export
2022-02-13 11:41:51 +01:00
Ansgar Becker
e6d7a899ee
Issue #1013 : rename Wiki markup export format to what it is: Textile, plus give it its correct icon
2022-02-13 11:28:38 +01:00
Ansgar Becker
f11a9dde7c
Create new grid export format: SQL UPDATEs. Closes #125 .
2022-02-10 06:53:47 +01:00
Ansgar Becker
d46716ff2e
Issue #1503 : reactivate DPI awareness, and try to read/write component dimensions DPI independently
2021-12-26 13:06:24 +01:00
Ansgar Becker
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
Ansgar Becker
c634dcf06e
Attempt to fix theme related crashes through OnClose event of dialogs with caFree. See https://www.heidisql.com/forum.php?t=38043
2021-06-21 20:53:26 +02:00
Tim Bond
bfdac309c0
Remove closing PHP tag from export as PHP array
...
From the PHP manual[1]:
> The closing tag of a PHP block at the end of a file is optional, and in some
> cases omitting it is helpful when using include or require, so unwanted
> whitespace will not occur at the end of files, and you will still be able to
> add headers to the response later. It is also handy if you use output
> buffering, and would not like to see added unwanted whitespace at the end of
> the parts generated by the included files.
1: https://www.php.net/manual/en/language.basic-syntax.instruction-separation.php#example-41
2021-06-05 07:40:54 +02:00
Ansgar Becker
dd38ba4f6f
Code cosmetic: rename implodestr() to Implode()
2021-06-03 08:32:06 +02:00
Ansgar Becker
033041c2c5
Issue #1077 : add UTF-8 BOM in Excel output only in file-mode, not in copy-mode. See https://www.heidisql.com/forum.php?t=37190
2020-11-15 12:16:52 +01:00
Ansgar Becker
787f33014a
Issue #1191 : convert "Copy rows" context menu item to a submenu, and provide all export formats, with icons
2020-11-14 13:54:58 +01:00
Ansgar Becker
056da2a37d
Format decimal point with milliseconds in date/time values in locale format for Excel. Closes #922
2020-08-03 13:28:21 +02:00
Ansgar Becker
f2f7bdaf5f
Grid export: escape special characters in LaTeX output
2020-08-03 06:42:19 +02:00
Ansgar Becker
8e2de8c1f0
Grid export: No longer force ANSI encoding for Excel output, but silently insert a BOM. Normally, TEncoding.UTF8 has that BOM, but TStringStream does not write that for some reason (bug in VCL?). Closes #1077
2020-07-20 18:40:14 +02:00
Ansgar Becker
b3bdbf25f1
Wrap numeric values in LaTeX export with $. See https://www.heidisql.com/forum.php?t=36530
2020-07-03 19:51:27 +02:00
Ansgar Becker
3eb3480e1c
Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead
2020-05-10 13:41:15 +02:00
Ansgar Becker
05d02627f3
Make TConnectionParameters.IsMySQL specific to MySQL only, and rename the grouped type checks to IsAnyMySQL, IsAnyMSSQL etc. This way the status bar now shows "MySQL", not "MySQL or MariaDB"
2020-02-22 09:06:37 +01:00
Ansgar Becker
feeb17e7d4
Performance: use first 1000 rows only for calculating the CSV export size, and interpolate the rest. Closes #804
2020-01-21 20:39:38 +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
676f4b1e74
Prefer inline code over outsourced one-time used function BestTableName
2019-07-23 17:38:26 +02:00
Ansgar Becker
fcdf323086
Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event
2019-07-21 20:12:13 +02:00
Ansgar Becker
88a9e53f0d
Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same.
2019-07-21 19:44:05 +02:00
Ansgar Becker
c31cae2060
Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts.
2019-07-18 20:53:53 +02:00
Ansgar Becker
92c8f62b85
High DPI:
...
* remove ParentFont flag from forms again (introduced in 9cdcd63145 for #213 ). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
Ansgar Becker
2a91a13b42
Issue #677 :
...
* drop workaround for application crash on WinXP, when loading newer libmariadb (see #79 )
* raise TDbLib's own exception instead of baking an own one with less details. Probably helps in debugging: https://www.heidisql.com/forum.php?t=34044
* rename EDatabaseError to EDbError, to overcome naming conflict in DB unit
* load libpq.dll always with path, which should anyway work better than without it. See http://www.heidisql.com/forum.php?t=22514
2019-07-08 20:23:05 +02:00