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
9080ad7607
No need to use the Wide* version of string functions any longer.
2010-01-15 20:28:48 +00:00
d70ea85786
Ask user if in-memory modifications to table, view, trigger or routine should get saved, this time including a Cancel button, which cancels either
...
* focusing a different object in database tree and/or
* closing application
TODO: Internal switching to different connection probably needs that too?
2010-01-15 17:13:24 +00:00
52ea8f410a
Use Unicode enabled TStringList instead of TWideStringList in all places. Should have no visible effect, apart from a very minor performance optimization, as String reference pointers are handled by Delphi, WideString by Windows.
2010-01-14 19:41:58 +00:00
fcb62acc07
Enhance too bright NULL colors for grids. Fixes issue #1584 .
2010-01-13 22:44:00 +00:00
24b675cb25
Tweak message in status bar "db: xyz object(s)", add count for all different object types. Fixes issue #1596 .
2010-01-13 20:43:25 +00:00
473716c8b9
Refill data grid when pressing "Clear filter". Seems reasonable not only to clear the filter editor. Fixes issue #1598 .
2010-01-13 19:50:44 +00:00
81c13edbf0
Wording: use "object" instead of "table". Related to issue #1596 .
2010-01-13 06:56:50 +00:00
8abd2d0d76
Keep "Save" action enabled even if current query tab has no filename, so "Save" executes the "Save as" in such cases. Fixes issue #1590 .
2010-01-11 21:58:19 +00:00
ef3501e9c1
Exit to avoid AV when query tab was closed and contents were saved. Fixes issue #1593 .
2010-01-11 06:48:56 +00:00
4d47af1e9e
Code cosmetic:
...
* Sanitize main unit from unused variables
* Move global variables to public scope
* Bring public vars into some reasonable order
* Move constants to const.inc, unless dependent from some used VCL unit
2010-01-10 17:11:42 +00:00
1a4db545c5
Refactor layout and code of about dialog.
2010-01-10 16:22:53 +00:00
43b010d227
Inject SVN revision into executable's version infos last segment (4.0.0.[r]). Don't modify main.pas any longer, just version.rc by a new console app.
2010-01-10 13:53:52 +00:00
25ac096554
Make more use of Generics, this time for columns, keys and foreigne keys lists, used by main unit and table editor. Frees code from annoying casting and makes it more type safe.
2010-01-08 00:30:51 +00:00
fd516f8b0c
Avoid trying to set focus on a disabled TEdit. Fixes issue #1574
2010-01-07 23:21:49 +00:00
f65e5bbc68
Don't double check if a column is binary, just trust in the caller doing the right thing. Fixes cut binary values in data grid. Additionally, return hex code right away, so we don't convert the hex value to UnicodeString and back to AnsiString. Consistently rename ColAsAnsi() to BinColAsHex().
2010-01-07 21:52:35 +00:00