2054 Commits

Author SHA1 Message Date
b97c41bc6c Triggers need to be exported after tables, just like views. Fixes issue #2077. 2010-07-14 10:58:53 +00:00
aad99190ae Table editor: Apply default length/set for new columns as long as user didn't touch it. Fixes issue #2084. 2010-07-14 10:52:34 +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
6b03976eb7 Attempt to fix some memory leaks in TMySQLQuery, when it gets destroyed. Should already be done by the compiler but who knows, probably this fixes issue #2063. 2010-07-13 17:59:00 +00:00
39843aabb7 Remove dead code 2010-07-13 16:55:20 +00:00
47afa8dfe7 Add "Clear file list" to query load menu. Fixes issue #2082. 2010-07-13 14:54:45 +00:00
2796965146 Remove 3 dead constants 2010-07-11 20:13:53 +00:00
e7bfca41b4 Add LIMIT 1 clause to grid UPDATE queries, to make these safer on tables without sufficient unique key. Fixes issue #2079. 2010-07-11 18:56:19 +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
7cd1c7b0ab Add support for ZEROFILL flag in table editor. Introduces a new checkbox column in the columns list. Fixes issue #570. 2010-07-04 13:35:54 +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
49d0bb3193 Remove Mince() function to shorten a file path - setting a label's EllipsisPosition to epPathEllipsis does the same. 2010-07-02 23:26:47 +00:00
ff1467c749 Remember state of WordWrap button on text and hex editor. Fixes issue #2055. 2010-07-02 23:08:06 +00:00
ac571734f6 Add menu item for inserting UNIX timestamp into grid cells. Fixes issue #2060. 2010-07-02 22:58:12 +00:00
8b726e2911 Text and hex editor forms have "toolwin" style, which prevents the app from appearing when pressing Alt+Tab. Additionally, Alt+Tab leaves the app in foreground when such a window had focus. This is a Windows issue, as one can read here: http://edn.embarcadero.com/article/26050 . Set both forms back to bsSizable, fixes issue #2061. 2010-07-02 22:43:19 +00:00
0b937cd6d2 Minor: Enhance wording on grid export caption. No need to mention all 6 different export formats in one short caption. 2010-07-02 16:48: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
63a69de637 Adjust offset stuff in SQL splitter routine, DELIMITER department. Fixes issue #2053. 2010-07-01 19:45:23 +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
33bf95ba12 Foreign key constraint symbol names must be unique in a database. To avoid violation errors the "Copy table" dialog should just leave the CONSTRAINT clause out from the CREATE TABLE code. In that case MySQL auto creates a valid name on demand. See http://www.heidisql.com/forum.php?t=6086 2010-06-30 23:37:23 +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
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