2030 Commits

Author SHA1 Message Date
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
2f67d5447a Assign hotkeys to controls on search and replace dialog. See http://www.heidisql.com/forum.php?t=5801 2010-06-28 21:57:06 +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
74327bbe9e Remove superfluous uses unit. 2010-06-25 06:36:37 +00:00
a795f0cbac Use the right expression group when detecting "AT" date. Fixes issue #2041. 2010-06-25 06:35:15 +00:00
346e4698eb Be sure later calls to SetRecNo are executed after discarding a new grid row. Fixes issue #2031. 2010-06-22 05:39:45 +00:00
5d96ec07fc If a file does not contain a BOM, do not advance the stream position for later readers. Fixes issue #2035. 2010-06-21 18:30:18 +00:00
3ddf240983 Trim db names to ignore such minor typos. Fixes issue #2036. 2010-06-21 10:00:15 +00:00
35ea591027 Do not overtake empty strings in semicolon separated list of databases. Fixes issue #2032. 2010-06-21 06:03:13 +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
b215089ada Make data in VIEWs editable again by fetching table name and column names in a slightly different way. Fixes issue #1999. 2010-06-20 16:45:17 +00:00
da0d3d18a7 Restrict "Select all" action to Ctrl+A, do not trigger it on Ctrl+Alt+A or AltGr+A. Fixes issue #2027. 2010-06-20 12:32:14 +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
bd3c391b39 Remove remaining wrong \r\n text from LaTeX output. 2010-06-18 18:17:21 +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
875d8a78de Apply non-redundant shortcut Ctrl+Shift+F to "Filter panel", instead of Ctrl+F which is used for "Find text" in query editors. Fixes issue #1907. 2010-06-16 22:58:42 +00:00
978ac7e5d6 Load all rows in data grid when pressing Ctrl+End. Fixes issue #1949. 2010-06-16 22:52:16 +00:00
c15baee972 Fix recently broken support for views in "Copy table" dialog. 2010-06-16 22:30:03 +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
e16d1bcc59 Fix wrong "DROP [index name]" clause when turning a normal key into a primary key. Fixes issue #2011. 2010-06-16 18:55:33 +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
3444383466 Tweak copy table dialog:
- display number of checked/total child nodes per option node
- display row count on "Data" option
- remove plus button from disabled option nodes, and do not check them
- code cosmetic
2010-06-14 22:52:06 +00:00
e359ad2f98 Reset FRecNo after executing a new query, otherwise SetRecNo does nothing if FRecNo was already 0. Fixes issue #2009. 2010-06-14 21:50:27 +00:00
a6b761ba17 Enhancement: Prompt if target table exists, ask if it shall be dropped before creating the new table copy. 2010-06-14 17:28:54 +00:00
44e21a0fbd Bugfix: Only disable WHERE memo on first level "Data" node, not on second level nodes. 2010-06-14 17:19:40 +00:00
3f60d711e7 Enhancement: Disable "Indexes" and "Foreign keys" node to indicate they have 0 child nodes 2010-06-14 06:04:39 +00:00
56548f29c0 Bugfix: Mixed check state also means that this node was checked 2010-06-14 06:03:10 +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
15d73678c6 Focus previous privilege tree node after deletion. Fixes issue #853. 2010-06-13 14:39:56 +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
5bc81b96d2 Make grid scrolling incredibly much faster, by exiting early in SetRecNo if current row is already the right one. See http://www.heidisql.com/forum.php?t=5890 2010-06-11 21:04:52 +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
3c4beba2dd Set and fetch default height of PageControl via constant rather than from the control itself, as that may not be created that early. A minimal chance that this fixes issue #1995. 2010-06-11 16:56:12 +00:00
1bef78634b Avoid endless loop in SQL help topics tree on broken help tables, by displaying a category node as topic item if has the same name as its parent category. Fixes issue #1988. 2010-06-10 22:19:38 +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
51158e7700 Fix detected end offset of DELIMITER query. 2010-06-09 22:48:12 +00:00
d7784a3a25 Don't know what I meant to fix by this split-and-combine-again code, as it only has the effect that lines get trimmed. Remove that code. Fixes issue #2002. 2010-06-09 22:42:54 +00:00
6b9dbf18ee Avoid an AV in cases when main tab is "Data" on startup. 2010-06-09 22:24:43 +00:00
743f9aff2a Cancel grid editors early enough on main tab changes. Fixes issue #1996. 2010-06-09 22:22:47 +00:00