f37811e46b
Remove database name from UPDATE and INSERT queries, triggered by data tab grid, making it consistent with DELETE queries. Seems that queries including the database name get ignored on replicated servers. Should have no effect in Heidi when we remove it. Fixes issue #1727 .
2010-02-26 17:03:26 +00:00
4e84c99a72
Introduce SSL support on session manager. Code parts from SuperNiFF. Fixes issue #518 .
2010-02-26 00:13:17 +00:00
f9ea5dc1ec
Add support for startup SQL script on session manager. Fixes issue #1716 .
2010-02-25 20:45:16 +00:00
b730230b09
Add "EXPLAIN query" to context menu of process list. Fixes issue #1717 .
2010-02-24 18:56:29 +00:00
c9950e1c51
Keep EXPLAIN link disabled if selected process is a SHOW command or even has an empty SQL. Fixes issue #1717 .
2010-02-24 18:46:37 +00:00
524faddf7e
Fix enabled EXPLAIN link on startup and avoid AVs on click, as long as no FocusChanged event has fired.
2010-02-23 23:15:08 +00:00
e3be57c4ee
The new EXPLAIN feature needs to prepend a "USE dbxyz" to the EXPLAIN, or that will only run without error if the user has selected the relevant database.
2010-02-23 18:25:48 +00:00
06dd22af9d
Again, increase length of fetched SQL column from 10kb to 50kb, so it's less likely that we cut important queries. Fixes issue #1714 .
2010-02-23 18:21:43 +00:00
64cfe945da
Tweak help menu items:
...
* Link issue tracker instead of separating them for bugs + features
* Rename "user to user forum" into "Support forum"
* Add "Changelog" item
2010-02-22 09:29:40 +00:00
484fcdbd46
Place a "EXPLAIN" link label to the process viewer, which creates a new query tab and executes "EXPLAIN [selected process query]".
2010-02-22 08:56:13 +00:00
0e271ee7de
Replace remaining loadXYZwindow() functions for dialogs by a more native way.
2010-02-21 10:44:55 +00:00
a9cf0fd3b2
Organize controls on routine editor into 3 tabs (options, parameters, create code). Fixes issue #1708 .
2010-02-20 18:44:36 +00:00
a319770882
No more casting to TTableColumn required since we have these nice Generics
2010-02-17 23:25:46 +00:00
21ce2fbc80
Forgot that views are so similar to tables in previous commit.
2010-02-17 23:23:58 +00:00
5de3fc1d57
Display parameters of stored routines in "Cols" tab of query helpers when a procedure or function is selected. Fixes issue #1702 .
2010-02-17 23:16:26 +00:00
4ef7238ab9
Load full cell content before applying quick filters on larger text columns. Fixes issue #1703 .
2010-02-17 19:41:36 +00:00
4e5468f709
GetParentForm() returns the parent form of a frame. So, list layouts were saved with potential naming conflicts in registry since table editor and friends are TFrame, not TForm. Solve that by implementing GetParentFormOrFrame() and add that control's name to all relevant registry names in SaveListSetup() and RestoreListSetup(). This resets everyone's favorite list layout once, using this new build, but that should not be a problem.
2010-02-17 09:20:26 +00:00
f44d19cb56
Consistently update SQL viewer for selected process node, in "Processes" tab. Also, make it more clear if no process is selected. Fixes issue #1693 .
2010-02-14 16:58:56 +00:00
8694e49ddc
Warn user via log panel when a customized shortcut conflicts with another one. Do not crash the whole app in that case, a log message saying how to fix that should be nice enough. Fixes issue #1683 .
2010-02-12 00:11:35 +00:00
1a25cd629d
Ensure we have full grid cells in source row when user clicks "Duplicate row". Fixes issue #1678 .
2010-02-11 09:10:45 +00:00
639dbe5e14
Fix old row count in data grid header when rows were deleted from outside. Fixes issue #1227 .
2010-02-08 23:17:37 +00:00
dc4e6c980a
Prefer VT.FocusedNode over VT.GetFirstSelected in various places. Clicking a node twice deselects it and subsequent actions have an access violation. Fixes issue #1674 .
2010-02-08 20:57:07 +00:00
e045cb3d76
Delphi 2010 has PNG + alpha channel support in TImageList, so we don't need PNGcomponents any longer.
2010-02-08 00:36:17 +00:00
788cbf565f
End editing with home brown editors when the underlying tree scrolls, to avoid a misplaced cell editor. Fixes issue #1670 .
2010-02-07 11:59:36 +00:00
6410aae590
Also quote column names when doubleclicking or dragging from a query helpers column list. Fixes issue #1666 .
2010-02-07 11:32:24 +00:00
9d9f2bd68a
Same as r3053, this time for doubleclicking a tree node: Prepend database name, and use backticks. Fixes issue #1666 .
2010-02-07 11:20:37 +00:00
ae3f8d2f39
Include database name when dropping a db tree node onto a query editor. Fixes issue #1661 .
2010-02-05 21:18:14 +00:00
d8deb18a7f
Issue #1656 : Upscale status bar panels in non-96-DPI mode, so text is not cut off.
2010-02-05 17:18:38 +00:00
6c0fd612dc
Avoid desktop flickering on WinXP at the cost of minor flickering on the main tabs. Seems LockWindowUpdate() should be used with caution. Fixes issue #1659 .
2010-02-05 17:08:00 +00:00
c2a3dd02d2
Fix invisible "New query tab" button, broken in r3049.
2010-02-05 17:02:54 +00:00
fc6d4c2a48
Try to fix most DPI related glitches. Especially TFrames need a ScaleBy() call, which is done automatically on TForms. Fixes issue #1656 .
2010-02-04 23:50:47 +00:00
95e12a0bd1
Introduce new log category lcUserFiredSQL, and make log level customizable via preferences. Fixes issue #1652 .
2010-02-04 00:39:29 +00:00
ea9f2aa170
Work around non working SynEdit.OnSearchNotFound event, when search text could not be found in query memo.
2010-02-03 23:27:16 +00:00
d165f2fe3c
Force multi line hint tool tips in grids.
...
* Fixes issue #1649
* Fixes issue #1567
2010-02-03 23:07:42 +00:00
100d2d1f9c
Highlight matching brackets in all SQL editors. Use code from the SynEdit Demo "OnPaintTransient". Fixes issue #1630 .
2010-02-02 19:55:46 +00:00
fb09ac1aa7
Fix unresponsive query memo on large "replace all" actions. Also, move redundant code to DoSearchReplace.
2010-02-02 07:18:26 +00:00
02d29ea976
Implement a home brown find + replace dialog, supporting regular expressions, and using all stuff SynEdit gives us. Add main menu item "Search" next to "Edit". Fixes issue #1069 .
2010-02-01 23:55:44 +00:00
c5699171f9
Silence compiler warning
2010-01-30 08:05:25 +00:00
efbf7a0b98
Add a toolbar button which, when pressed, allows BLOBs to be displayed as text. Explicitly ignoring weird effects in grid updates/inserts. Fixes issue #1624 .
2010-01-30 07:57:07 +00:00
020bdd07f2
Suppress access violation caused by VCL bug. Fixes issue #1622 .
2010-01-29 20:38:04 +00:00
9f139029b7
Enhance command line processing:
...
* Rewrite parameter parser
* Remove support for "-C" option (compressed). Anyway switched on by default.
* Add support for loading multiple SQL files at once instead of only one: "fileA.sql fileB.sql ..."
* Also process connection parameters when "Allow multiple application instances" is disabled
* If a session name is specified with -dXYZ, load params from registry, but allow the user to override these by passing e.g. a different user name "-uOtherUser"
Fixes issue #1332 .
2010-01-27 23:39:34 +00:00
99a4580be0
Work around a possible timing issue, when the db tree is painted with more nodes than the database has objects. Guess that occurs on a reconnection. Fixes issue #1621 .
2010-01-26 20:00:13 +00:00
5d7b25d7e9
Add preference option to restrict number of application instances to 1. If the executable is open and called a second time, it's brought to foreground. Plus, if a filename was passed, a new tab is opened. Should fix a part of what is described in issue #1332 .
2010-01-24 00:14:23 +00:00
b1a7e7780f
Add formatted HTML to clipboard for "Copy rows as HTML". Fixes issue #1249
2010-01-19 00:45:31 +00:00
0d8653db6a
Override VirtualTree's incremental search event, make it case insensitive, and apply that event in FixVT to various lists and grids, which have IncrementalSearch enabled. Fixes issue #1605 .
2010-01-17 10:50:47 +00:00
ec1da49440
"Duplicate row" feature:
...
* Don't flag empty/non-NULL cells as modified.
* Ensure the right row data is referenced, some operations seems to work on a copy of records, some on the original one.
2010-01-16 21:30:30 +00:00
c2857f438a
"Duplicate row" feature:
...
* Copy NULL flag from source row, not just the text "(NULL)". Fixes issue #1607
* Do not overtake values from an auto increment column. Fixes issue #1608
2010-01-16 17:46:11 +00:00
a3e5682316
Ignore stored ORDER columns for removed or renamed columns. Fixes issue #1594 .
2010-01-16 08:26:42 +00:00
4847e55bf0
Enhance query tabs:
...
* Code cosmetic: use generics to avoid type casting on QueryTabs items
* Warn when trying to save a query via "Save as" to a filename which is already open in another tab. Fixes issue #1591 .
* If the above warning is ignored and file gets saved, flag all other tabs with same filename as modified and display the asterisk on the tab
* Also flag as modified in "Save" action, without the warning popup.
2010-01-16 07:46:22 +00:00
43d98ec1be
Ensure full width of key column values in base SQL of data grid. Also, do not blow SELECT query with LEFT() unless the column has a larger length than 256. Fixes issue #1602 .
2010-01-15 21:20:42 +00:00