7cedc84823
Display progress bar when deleting rows in 1 or more tables via action "Empty table(s)". Also, use TRUNCATE on all server versions. Don't know why I did that per DELETE FROM on servers below 5.0.3. See http://www.heidisql.com/forum.php?t=6285
2010-08-16 19:50:24 +00:00
c3d9e9a7b4
Show progress bar while deleting grid rows. Fixes issue #2116 .
2010-08-16 07:06:36 +00:00
d9b2c98150
ActiveQueryHelpers should return nil instead of raising an exception, when called from outside a query tab. Fixes issue #2122 .
2010-08-16 06:57:22 +00:00
0edb542288
Clear fixed query editor on tab doubleclick. Fixes issue #2110 .
2010-08-16 06:52:56 +00:00
faa107c3be
Destroying a grid owned by a query tab sheet while the tab sheet gets destroyed results in an AV. Fixes issue #2107 .
2010-08-15 15:23:35 +00:00
733799db17
Fix compiler notice - remove unused variable.
2010-08-14 07:04:36 +00:00
3139169ca2
Optimize length of lines in auto created table wide filter
2010-08-14 06:38:49 +00:00
985bd5583f
Minor code cosmetic: Avoid typecasting where we have a generic object.
2010-08-13 20:05:42 +00:00
7ea2672a2b
Add a safety check to avoid AVs in rare situations, where the number of db objects has been decreased from outside. Fixes issue #2114 .
2010-08-13 20:03:28 +00:00
88e7f7aa05
Implement query profiling in helpers box. Enhance usability of turning the listbox + tabset into a tree, with 5 root nodes instead of 5 tabs. Fixes issue #902 .
2010-08-13 19:42:54 +00:00
25fb0ed266
Refactor code in SQL help dialog, replace the TTreeView with a VirtualTree.
2010-07-31 17:16:08 +00:00
b13ce034be
Store last session name at disconnect time instead when when connecting. Fixes issue #2102 .
2010-07-26 19:16:59 +00:00
33ff2e95d3
Add button right besides recent filter pulldown menu, for clearing data grid related stuff for selected table, session or all sessions. Fixes issue #2096 .
2010-07-24 13:23:17 +00:00
c297024b60
Minor code cosmetic
2010-07-20 07:55:32 +00:00
65b701681e
FocusedColumn may also be "InvalidColumn" (-2) when the relevant grid column is hidden. Fixes issue #2088 .
2010-07-14 22:36:37 +00:00
6a3e551d16
Remove code which is never executed - BLOB preview is done internally, not via temporary file.
2010-07-13 19:24:59 +00:00
4844e2d975
Fix exceptions triggered when some grid cell editors are destroyed, e.g. by accessing the registry too late. Hopefully fixes issue #2046 .
2010-07-13 19:22:33 +00:00
47afa8dfe7
Add "Clear file list" to query load menu. Fixes issue #2082 .
2010-07-13 14:54:45 +00:00
f5a5ec4686
Add fallback when trying to detect length of column. Fixes an AV in rare special cases.
2010-07-07 17:07:15 +00:00
2e28d2a1c6
Do not trigger completion proposal in query editors when cursor is inside a comment. Fixes issue #2070 .
2010-07-05 18:31:53 +00:00
05c7e06ed2
Force reinitializing nodes in ListDatabases when connecting. Fixes issue #1491 , the hot tracking AV.
2010-07-05 17:30:19 +00:00
5757899eaa
Bring back database filter pulldown, for users who dislike to create one session per filter. Fixes issue #2054 .
2010-07-04 10:59:46 +00:00
ac571734f6
Add menu item for inserting UNIX timestamp into grid cells. Fixes issue #2060 .
2010-07-02 22:58:12 +00:00
6a84f1a4af
After disconnecting, accessing an old TMySQLQuery's connection can result in unhandled exceptions. Catch all of them in TMainForm.tabsetQueryGetImageIndex, not just those of which we're aware of. Fixes issue #2048 .
2010-07-01 22:44:24 +00:00
f8b5924d97
Do not raise, just put a log info when previously focused db or table is gone after refreshing. This is a normal case when db or table was deleted from outside or via query. Fixes issue #2059 .
2010-07-01 22:03:29 +00:00
4fb7f4cdc5
When copying HTML from grid rows, StreamToClipboard needs its 3rd parameter set to true to create the required clipboard header for rich text editors. Also, calculate values for StartHTML and EndHTML - seems required by Mozilla based applications like Thunderbird. Fixes unformatted HTML pasted into rich text editors.
2010-07-01 18:58:00 +00:00
780cf0f19f
Add support for exporting grids as Wiki table markup
2010-06-30 23:21:28 +00:00
f47eb39316
Merge 5 GridToXYZ export routines into one, so there is less code to maintain and to make it easier to add further export formats.
2010-06-30 22:34:42 +00:00
5f1c8ae5ff
Create query tab array early enough so we don't access them before by actDataPreviewExecute(). Fixes an AV on startup when preview panel was active.
2010-06-30 18:31:14 +00:00
b1b81bd803
Increase auto calculated column width slightly, so the flashing "..." button has room when editing cells, without cutting text. Fixes issue #2051 .
2010-06-28 19:49:41 +00:00
315d7dcdfe
Do not annoy user with error popup when accessing table data in information_schema.
2010-06-20 16:59:18 +00:00
d436df314a
Use TOpenTextFileDialog instead of TOpenDialog for two places where we load SQL and text cell contents. That dialog has an additional "Encoding" dropdown, where the user can select the file's encoding, which can be required if the auto detection did not succeed. Fixes issue #2025 .
2010-06-20 10:05:37 +00:00
1d9ae863b2
Tweak LaTeX export: Fix case in all occurrences of "LaTex" - must be "LaTeX" and remove trailing "\r\n" in output.
2010-06-18 17:00:12 +00:00
edb9ce1487
Split identifiers with dot only in explicit cases, so column names containing a dot can be loaded and created. Fixes issue #2026 .
2010-06-18 16:52:41 +00:00
163a8c13d6
Implement LaTeX output for "Copy as" actions. Code parts from brampton. Fixes issue #2020 .
2010-06-18 16:32:20 +00:00
978ac7e5d6
Load all rows in data grid when pressing Ctrl+End. Fixes issue #1949 .
2010-06-16 22:52:16 +00:00
074978be5e
When total command count is very low, percentage values in command stats tab were miscalculated. Fixes issue #2015 .
2010-06-16 19:12:43 +00:00
d114097d48
Enhance wrapped text in result tab hint text. See issue #2014 .
2010-06-16 18:19:30 +00:00
63be11dd14
Implement recent filters in "Copy table" dialog, selectable via button + dropdown menu.
2010-06-15 18:36:58 +00:00
e0f835c995
Wrap hint text at 100 chars. Fixes issue #2014 .
2010-06-15 17:13:27 +00:00
c0da6e5a21
Refactor "Copy table" dialog:
...
* Replace checkboxes, radio buttons and checklistbox by a VirtualTree using checkbox support
* Support selecting/deselecting single indexes
* Support foreign keys
* Place a SynMemo at the bottom in which the user can type an optional WHERE clause to filter incoming data. Fixes issue #2000 .
* Move code for SQL generation into TTableColumn etc.
2010-06-14 00:21:33 +00:00
08e40a62d6
Tweak auto setting column widths in datagrid: do not recalculate them on "Quick filter" clicks. Fixes issue #2005 .
2010-06-13 10:21:31 +00:00
74f28c4cff
Find a way to fix issue #1970 again, this time without breaking remembered data grid node/col as in r3385. Fixes issue #2007 .
2010-06-12 00:38:47 +00:00
24295f111e
Immediately prepare editing when data grid fetches rows, as that implicitly fixes BLOBs detection and enables "Image preview" action. Fixes issue #1948 .
2010-06-11 19:52:42 +00:00
d3b6dd6399
Do not create drop down menu on foreign key'd cells in data grid if the foreign table contains more rows than we display in the drop down. That way, the user is able to enter other foreign values than those provided by the dropdown list. See http://www.heidisql.com/forum.php?t=5736#p5930
2010-06-11 19:38:57 +00:00
ada591c368
Repeat automatic calculating optimal column widths in data grid on refresh, as long as user did not resize some column. Fixes issue #2005 .
2010-06-10 19:05:14 +00:00
4a78cad0a9
Keep scroll offset when refreshing data grid. Fixes issue #2003 .
2010-06-10 18:48:25 +00:00
3476fbed01
Reset stored db and table names when dbtree focus changed, so the grid also refreshes when you add or remove column(s) in the table editor, switch to another table and then back. Fixes issue #1970 .
2010-06-10 17:40:09 +00:00
7d29518d7f
Fix sporadic AV reported in forum: http://www.heidisql.com/forum.php?t=5911#p5925
2010-06-10 08:37:44 +00:00
6b9dbf18ee
Avoid an AV in cases when main tab is "Data" on startup.
2010-06-09 22:24:43 +00:00