Per monitor DPI aware stand alone GExperts Grep

 Delphi, GExperts  Comments Off on Per monitor DPI aware stand alone GExperts Grep
Jan 152022
 

I have just finished making the stand alone GExperts Grep to really be stand alone, that is: It no longer needs the GExperts DLL but contains all the functionality in one executable. It has also been compiled with Delphi 11 Alexandria so it should be per monitor DPI aware.

Another feature is the ability to integrate itself into the Windows Explorer popup menu. Simply open the Options on the Grep Search dialog.

And set the appropriate check marks.

The first one adds an entry to the context menu of the tree view on the Windows Explorer’s left hand side tree view …

… and to the context menu of the background of the right hand side panel.

The second one adds an entry to the context menu of folder entries of the right hand side panel.

You can download it here.

This release is part of the preparation for the GExperts 1.3.20 release which I plan to do within a few weeks. It will still be a Beta for Delphi 11 (but hey: No longer Alpha) but a regular release for all other Delphi versions.

If you find any bugs, please report them!

Discussion about this post in the international Delphi Praxis forum.

 Posted by on 2022-01-15 at 16:48

Drag and Drop from the GExperts Grep Results

 Delphi, GExperts  Comments Off on Drag and Drop from the GExperts Grep Results
Dec 312021
 

Another episode from the series “GExperts features that I didn’t know about”:

It’s possible to drag an entry from the GExperts Grep to any other Windows program, e.g. to the Explorer, which will copy that file to the directory it was dragged to, or to an editor which will open that file.

I just now found out about this because I wondered why it was using Anders Melander’s DropSource unit (version 3.6 from 1999, maybe I should have a look if an update is possible).

Btw: I’m about to make the stand alone Grep tool a real stand alone executable that does not require the GExperts DLL (and its package dependencies). The reason is that I can’t find the cause for an Access Violation that happens in the Delphi 10.4 and 11 DLLs when opening the Grep window from an external program. It’s somewhere in the OnCreate event handler of TDockableForm, for which the source code is not available, so it’s difficult to debug.

 Posted by on 2021-12-31 at 15:36

Small improvements to GExperts

 Delphi, GExperts  Comments Off on Small improvements to GExperts
Dec 122021
 

Some of the experts in GExperts have seen small improvements lately:

The Goto expert now allows incremental search in the list by typing in the number field. This feature was contributed by Achim Kalwa.

The Grep search expert now takes the name of the currently selected control on the form designer if it is opened while the form designer is active. Again, this feature was contributed by Achim Kalwa. The idea was from Peter Panettone.

The Todo expert now has a filtering function. The idea was from Peter Panettone, who also provided an implementation. Unfortunately I had to reimplement it because his code did not work with older Delphi versions.

Thanks again to everybody who contributes to the project. I might take a while to commit such changes but I try to do my best.

 Posted by on 2021-12-12 at 16:21

Toolbars in GExperts for Delphi 11 dialogs are now scaled

 Delphi, GExperts  Comments Off on Toolbars in GExperts for Delphi 11 dialogs are now scaled
Nov 272021
 

Just a quick info on the state of GExperts for Delphi 11:
I went through all the dialogs and now the toolbars and also the icons in the menus should be scaled properly. They don’t really look nice because they are simply enlarged using the method Žarko Gajić described, but I don’t really want to spend time on redesigning them all.

 Posted by on 2021-11-27 at 17:39

GExperts 1.3.19 Alpha 2 for Delphi 11 Patch 2

 Delphi, GExperts  Comments Off on GExperts 1.3.19 Alpha 2 for Delphi 11 Patch 2
Nov 262021
 

Embarcadero has released a second patch (called November Patch) for Delphi 11 which seems to fix several issues that blocked further progress on GExperts for Delphi 11. So here it is, fresh out of the compiler: The second Alpha version of GExperts for Delphi 11.

Please keep in mind: This is not even a Beta version! There will be bugs and these will not only be UI glitches but functionality failures!

You have been warned!

You will most likely need the Delphi 11 November patch for GExperts 1.3.19 Alpha 2 to work. I have not tried it with the unpatched IDE and I won’t support it.

If you still want to try it, you can download it here.

Please report any bugs on SourceForge!

There are no updates for older Delphi versions yet, but you can always get the sources and compile your own DLL.

Also, if you want to try and fix some bugs in the Delphi 11 version yourself, see the link above. I’ll gladly accept patches.

 Posted by on 2021-11-26 at 12:11

There will be no GExperts release for Delphi 11

 Delphi, GExperts  Comments Off on There will be no GExperts release for Delphi 11
Nov 072021
 

After wasting days and more days of my valuable spare time on trying to get the high DPI display problems sorted out for GExperts for Delphi 11, I give up now.

I’ll wait for Delphi 11.1 or at least some additional patches before I spend any more time on this.

If somebody else wants to give it a try, feel free to do that. You know where the source code is.

 Posted by on 2021-11-07 at 14:23

GExperts 1.3.19 Alpha for Delphi 11

 Delphi, GExperts  Comments Off on GExperts 1.3.19 Alpha for Delphi 11
Oct 242021
 

After several weeks trying to get the GExperts UI to look acceptable under Delphi 11 on high DPI monitors, here it is: The first Alpha version of GExperts for Delphi 11.

Please keep in mind: This is not even a Beta version! There will be bugs and these will not only be UI glitches but functionality failures!

You have been warned!

If you still want to try it, you can download it here.

Please report any bugs on SourceForge!

There are no updates for older Delphi versions yet, but you can always get the sources and compile your own DLL.

Also, if you want to try and fix some bugs in Delphi 11 yourself, see the link above. I’ll gladly accept patches.

 Posted by on 2021-10-24 at 18:04

GExperts for Delphi 11 isn’t here yet

 Delphi, GExperts  Comments Off on GExperts for Delphi 11 isn’t here yet
Sep 122021
 

I’m working on a GExperts release for Delphi 11. But due to the changes for High DPI support in the IDE this might still take a while.

If you are adventurous, you can always get the sources and build your own DLL. There is a project and build scripts for Delphi 11 already. But be warned: There will be bugs!

 Posted by on 2021-09-12 at 18:19

Separate cache directories per platform in the Uses Clause Manager in GExperts

 Delphi, GExperts  Comments Off on Separate cache directories per platform in the Uses Clause Manager in GExperts
Aug 082021
 

The Uses Clause Manager in GExperts has an “Identifier” tab that can be used instead of the Find Unit refactoring of the Delphi IDE (which for me doesn’t work most of the time and if it does is very slow). And of course the Uses Clause Manager also works for older Delphi versions which simply didn’t have this refactoring.

For this to work it parses all source files in the various search paths of the project. And because this takes a while it caches the results and only updates this cache if a new unit is found or a unit has been changed.

Until recently this parser was assuming that the current project is a Win32 application and set the conditional defines accordingly. Later I chanted the conditional defines depending on the currently selected platform but this caused a problem: Units parsed for different platforms ended up in the same cache so it was possible that the lookup was showing wrong results or at least the “Open Unit” button placed the cursor on the wrong line.

Today I changed this to use separate cache directories for each platform, so this problem should no longer occur.

There is not yet a GExperts release containing this change. If you want to use it, you will have to compile your own DLL which is much easier than you might think.

btw: Did yo know that Stefan Glienke has published a similar tool called Delphi Uses Helper? Mine of course is better and much faster. 😉
(Actually it depends on your computer and the project size. On my computer for large projects both tools are about on par, but mine is more flexible. Stefan thinks otherwise. But check it out yourself.)

If you want to comment on this blog post, you can do so in the corresponding topic in the international Delphi Praxis forum.

 Posted by on 2021-08-08 at 10:00

Separate lists for VCL and FMX in GExperts Rename Components expert

 Delphi, GExperts  Comments Off on Separate lists for VCL and FMX in GExperts Rename Components expert
Aug 072021
 

The Rename Components expert in GExperts now has separate lists for the names and additional properties for VCL and FMX components. Previously it was a hassle to have additional properties shown in the rename dialog if these have different names in VCL vs. FMX e.g. the Caption vs. Text property of TLabel. Now you simply configure them differently.

This is the configuration for a VCL label:

And this for an FMX label:

Now the expert checks which designer the current project is using and selects the proper list for it.

So, for a VCL label the rename dialog looks like this:

While for a FMX label, it looks like this:

There is not yet a GExperts release containing this change. If you want to use it, you will have to compile your own DLL which is much easier than you might think.

If you want to comment on this blog post, you can do so in the corresponding topic in the international Delphi Praxis forum.

 Posted by on 2021-08-07 at 15:24