-
Content Count
2637 -
Joined
-
Last visited
-
Days Won
91
Everything posted by dummzeuch
-
Uses Clause Manager improved: Filter units with multiple words!
dummzeuch replied to PeterPanettone's topic in GExperts
OK, I went back to look at your changes in chronological order: The idea is nice, but the implementation - how do I say that without being rude? - suboptimal. Creating a global MultFilter: TStringList variable in GX_GenericUtils which is only used in FilterStringList and if assigned means that the filter parameter will be ignored is not just a code smell, it stinks. Why not have a separate function for this and pass the string list as a parameter to it? Especially since the string list is being populated every time the user enters a new character. -
Uses Clause Manager improved: Filtering Identifiers with multiple words!
dummzeuch replied to PeterPanettone's topic in GExperts
Again, nice idea but the implementation is - remember, I'm trying to be polite (*1) - suboptimal. You introduced yet another global variable and even a not intended side effect: What if the user has entered a multi word unit filter and then switches to the identifier tab? Oh, you added a workaround for this design flaw in the form itself? I'm going to reimplement this differently because I like the idea. (*1: Me being polite? There are people who think that impossible. I have to agree, I'm not good at that.) -
Uses Clause Manager improved: Search Identifier information on the Web
dummzeuch replied to PeterPanettone's topic in GExperts
Not sure this would be better. Just my assumption was wrong. Ideally I would prefer patches for single features. -
Uses Clause Manager improved: Search Identifier information on the Web
dummzeuch replied to PeterPanettone's topic in GExperts
I was assuming your changes were cumulative. Apparently they are not. -
Uses Clause Manager improved: Search Identifier information on the Web
dummzeuch replied to PeterPanettone's topic in GExperts
Also, the multiple word filter does not work in this version (I tried your example of "utils system" which gives me an empty list.) Am I right in assuming that this is the latest version of your modified sources? -
Uses Clause Manager improved: Search Identifier information on the Web
dummzeuch replied to PeterPanettone's topic in GExperts
Unfortunately they don't compile: [dcc32 Error] GX_UsesExpert.pas(877): E2003 Undeclared identifier: 'MultiFilter' [dcc32 Error] GX_UsesExpert.pas(878): E2003 Undeclared identifier: 'IdMultiFilter' edit: Apparently these are TStringList and since they are referenced in multiple methods, they must be fields. If I declare them thus, it compiles for Delphi 10.3.3. Havn't looked at the code yet. -
StandAlone version of the ProcedureList expert
dummzeuch replied to PeterPanettone's topic in GExperts
Yeah, could be useful. -
can anything else but a variable be declared as 'absolute'?
dummzeuch posted a topic in RTL and Delphi Object Pascal
I just found code in the GExperts code formatter that treats the 'absolute' keyword in the same way in variable and type declarations. I know of only one way absolute can be used: procedure Bla; var Var1: array[0..4] of byte; Var2: integer absolute Var1; begin Var2 := 5; Assert(Var1[0] = 5); Assert(Var1[1] = 0); Assert(Var1[2] = 0); Assert(Var1[3] = 0); end; Declaring Var2 in this way means that it accesses the same memory as Var1. The Embarcadero documentation agrees with me. I know of no way to use 'absolute' in a type declaration. Am I missing something? -
can anything else but a variable be declared as 'absolute'?
dummzeuch replied to dummzeuch's topic in RTL and Delphi Object Pascal
I had an Indian coworker once who was a bit "vertically challenged". We called her Little Indian. 😉 (No, we didn't actually. But she herself did sometimes.) -
I just implemented a work around for issue #1. But this has nothing to do with clearing the cache, it happens with or without that, but only if you compile GExperts in Debug mode. The reason where many SendDebug calls.
-
That happens only to forms that are active while changing this option (e.g. the Grep Result form when it is embedded somewhere in the desktop). Forms that are newly created will use the default font which is the virtual "MS Shell Dlg 2" font. The size for new forms is also set to 9 (on Vista and later) or 8 (on older Windows).
-
The person (I wonder who that might have been 😉) who added the StatusBar to the form must have changed the font which set the ParentFont property to False. So changing the default font for all forms dosn't change the StatusBar's font. I just fixed that.
-
I have been made aware that several of the GExperts installers are classified as malware by some virus scanners, one of them being Windows Defender. Depending on the installer, VirusTotal reports 2 to 17 virus scanners classifiing it as malware, e.g: https://www.virustotal.com/gui/file/63a9c732ca62d8c31a6b7b6ba15bf4e94e26aa862489ad317b0b612745bd795c/detection No idea what I can do about it.
-
Apparently Microsoft has changed something. I just updated to the current virus definitions and the installers are no longer classified as a virus. So that takes care of Microsoft and Kaspersky and possibly Norton / Symantec. Which other virus scanners are popular and currently detect false positives with GExperts?
-
I submitted a bug report for Delphi 10.3.3 (with screenshots from both, Delphi 10.3.3 (empty list) and Delphi 10.2.3 (list not empty) https://quality.embarcadero.com/browse/RSP-27046 This happened on both of my computers.
-
Is there a command line tool that does the same as the Import Component wizard? I couldn't find anything in the online help.
-
Yes, I read that. I used gacutil.exe to install the assembly. It's also listed in the output of gacutil /l . EDIT: gacutil from .NET 2.x does not list the assembly, so it probably has the same problem as Delphi 10.2.3.
-
OK, I tried to copy the entry from c:\windows\Microsoft.NET\Assembly\gac_32 to c:\windows\Assembly\gac_32 . It still doesn't show up in Delphi and also doesn't show up in the explorer view of :\windows\Assembly . So that's probably not the solution.
-
Just got an Answer from Microsoft: Now that's useful ... not!
-
Trying the same with Delphi 10.2.3 at least gives me a non-empty list but unfortunately the assembly I want to import is not there. Pressing "Add" and selecting the DLL dosn't show an error, but the assembly still isn't listed. I noticed that Delphi seems to look for assemblies in c:\windows\assembly\gac_32 which isn't visible in the explorer. Explorer shows only c:\windows\assembly with the assembly name, version, processor architecture etc. Delphi seems to list most of the entries where the processor architeture is x86 so I assume that's the way the exploer show the content of the subdirectory gac_32. The assembly I want to import isn't listed there. According to the documentation on the Global Assembly Cache it is stored in c:\windows\microsoft.net\assembly. If I look there, I find sub directories gac_32, gac_64 and gac_msil and in gac_32 I can see the assembly I am looking for. So, does that mean that Delphi only allows importing 32 bit assemblies? And is it looking in the wrong folder even for that? Can I simply copy the directory for the assembly I want from one folder to the other?
-
Kaspersky just started replying that these were false positives and will be corrected. There are stil about 10 replies outstanding.
-
OMG, Microsoft is even worse than BitDefender, it takes several minutes to provide all the "information" they want. I submitted the installers for 10.3 and 2007 there too but that's it. If anybody else wants to submit any others, go ahead.
-
I just submitted all installers to Kaspersky and the ones for 10.3 and 2007 to BitDefender (I won't submit the other 14 to Bitdefender because they make it too difficult). I guess I also need to submit them to Microsoft.
-
I just read about the special offer from code partners (for NZ, AUS and South East Asia only): https://www.code-partners.com/rad-studio-10-3-3-released-and-a-special-offer-to-celebrate/ I wonder wether a similar offer is forthcoming for the rest of the world.
-
I just looked for a reseller in Germany. The one I used to buy from several years ago is edv-buchversand and they currently offer Delphi (haven't checked RAD Studio) even a bit cheaper (€ 1.510,11 incl. taxes) than Embarcadero (€1,547.10 (probably also including taxes)). OK, I'll stop the promotion now. 😉