

TurboMagic
-
Content Count
255 -
Joined
-
Last visited
-
Days Won
9
Posts posted by TurboMagic
-
-
I might try later on, but it might prove difficult. I already tried to do a minimal demo for something else I saw in that project and reported as QP 38385,
but the minimal demo failed to show the effect. In the German DP somebody said something that all new forms seem to have some popupparent issue
as if always the main form would be used as popup parent...I haven't done any investigation of that theory yet, as I just read it. Could that be related?
-
Strange! I found this post because I have exactly the same issue, but the solution above doesn't fix my issue 😞
Given:
- D11.1
- a datamodule containing a TTaskDialog
- a main form
- two other forms, each having a button for showing that TTaskDialog
- both forms have the same popup mode, border style etc.
- both are created at runtime and shown via ShowModal and when created both get the main form set as owner
- in one form the TaskDialog shows in the foreground, in the other it stays in the background
- calling execute with self.handle as param doesn't help
Now I copied the Taskdialog from the datamodule directly on the form where it doesn't work and called that directly.
Result: still doesn't work 😞
Anybody any clue?
-
Now I am. Thanks! But for which version is this? The one our new project already has as starting point is compatible with 10.3 and I guess mostly compatible with that release so I guess it's newer than the one you linked. But you can compare both versions I guess...?
-
This would be another approach. At least for the start we should attract many developers to get it started. I know that you're after, but if we make entry barrier as low as possible at the start we might attract more contributors. We can still switch afterwards if we find that some don't do the right things.
But: we need people working on it. Otherwise it's useless... 😉
-
Hello,
this is to let you know that there was a open source collaboration project started to create a formal specification of
the Delphi language in Backus-Naur format (https://en.wikipedia.org/wiki/Backus–Naur_form).It is hosted on GitHub here: https://github.com/MHumm/DelphiGrammar
David Hoyle contributed his Delphi 10.3 version as a starting point.
If you want to participate in this endeavor, which might help developers of language tools, just
drop me a message with your GitHub account name and I'll give you commit permission.Either via this forum or as an issue on that GitHub project.
Currently I picked Apache 2.0 as license, but if necessary we can discuss to use something else.
Cheers
TurboMagic
-
1
-
-
I just noticed, that I hadn't completed the release publication back then due to too much going on short before Christmas.
This has been "fixed" now. The direct link to the release is here:
https://github.com/MHumm/DelphiEncryptionCompendium/releases/tag/V6.4.1
And work on a V6.5 already started. Contributors are welcome.
Cheers
TurboMagic
-
Good news: DEC V6.4.1 jsut got released.
https://github.com/MHumm/DelphiEncryptionCompendium/releases/tag/V6.4.1
What is this?
DEC, also known as Delphi Encryption Compendium is a cryptography library for Delphi and FPC.
What's new in V6.4.1?
This is mainly a bugfix release with these topics:
- fixed some regression which produced wrong output at least for the 2DES encryption algorithm when used with CBC block chaining kode
- improved layout and handling of GCM block chaining mode in Cipher_FMX demo application
- added a new Cipher_Console_KDF demo application
- fixed and improved the documentation, especially about wrongly written GCM properties
What's the plan for the future?
- Have a short rest 😉
- Require Delphi 10.1 Berlin instead of D2009 as minimum compatible version
- The rest of the plan (which exists) will not be disclosed yet.
Cheers
TurboMagic
-
4
-
Hello,
good news: just a few minutes ago I released V6.4 of the Delphi Encryption Compendium library.
You can find it here:
https://github.com/MHumm/DelphiEncryptionCompendium/releases/tag/V6.4
What's new?
- Bugfixes
- Improved layout for Hash FMX demo
- Partly revised documentation
- Implemented GCM (Galois Counter Mode) block chaining support for 128 bit block cipher algorithms
Enjoy
TurboMagic
-
2
-
On 9/17/2021 at 12:49 PM, Wagner Landgraf said:I think the "problem" with Package Manager is that is has to be widely adopted by the community to be very useful. Because the key is that relevant libraries and 3rd parties are available in the package manager. "Unfortunately" Embarcadero is pushing GetIt so it's unlikely we will have a different one being widely adopted, I guess.
There are concrete (but not public yet) plans to improve GetIt. One of the items will make it easier to update contents which has already been published via GetIt so it might attrack more publishers.
-
I updated the console demo now and it will list all configurations created with the -r key as well and since a few weeks even a GUI for selecting the configurations has been added. Is that's "good enough" now?
(except maybe for the documentation) -
On 9/17/2021 at 9:58 AM, Jasja said:Hello Angus,
Oke, thank you. I don't have a SVN client installed. I've tried it once but it created too many dependensies too my likeing.
Maybe it's an idea too deposit ICS into github.com ? Then it's easy for users like me to download the latest snapshot as zip file, while also easy to maintain with git.
Anyway, thanks so much. I will wait until the zip file is available on the site.
Regards,
I don't know which SVN client you used, but Tortoise SVN integrates nicely into Windows Explorer and works quite well...
After installing that one create a new folder and right click on it, select "SVN Checkout" and enter the SVN Url of ICS and things should be on your computer a few seconds later...
-
Ok, I added a VCL based form for adding and removing now, but in a different fashion than yours and a demo application.
Enjoy!
-
Thanks for pointing that one out to me.
The intent of my library is to get this integrated in various 3rd party tools to make them
easily integratable in the IDE. I've got no need for such a complete UI.My version deliberatly only supports D2009 and up.
We need to get away from supporting all these old versions so that people finally upgrade
and even D2009 is old enough.
-
Ok, I reworked it now. You now get a generic list of all configurations and all versions and Add/Delete works with that one.
@Uwe Raabecan you have another look at it?
-
On 8/29/2021 at 10:18 AM, Uwe Raabe said:I suggest to make the BDS part of IDERootKey as an additional parameter to cover the case where the IDE is started with the -r option. A welcomed extension would also be to find all these sub keys for given or all Delphi versions.
That one has just been implemented now.
-
Which subkeys are you talking about?
About the thing with -r: that one I can understand.
And: I'm open for pull requests...
-
Ok, upon request I reworked the description of that project completely now.
-
Hello,
I've written a small unit for easily adding and removing IDE/Tools menu entries.
It can also check if there's already some entry for a given executable.
It is open source and can be found here along with a small console application demoing the functionality.
https://github.com/MHumm/AddIDETool
Remember: you need to restart the IDE for the settings changes to become effect.
Now enjoy it 😉
TurboMagic
-
2
-
-
Good news,
I just released version 6.3 of the Delphi Encryption Compendium cryptography library.
You can fin it here:
What's new?
- Implemented some bugfixes
- Added Shake128/256 extensible output hash algorithm implementations
-
Made the 32 bit asm implementations of the MD2, SHA384, Tiger, Snefru128 and Snefru256 hash algorithms compile again and they are used now
as default for Win32 Delphi projects. In some cases this might double the speed of the hash calculation.
Further details about the changes are found in the VersionHistory.pdf file in Docs subfolder.
The GetIt Lite version should be released within the next few days.
Enjoy
TurboMagic-
1
-
1
-
While further working on Delphi Encryption Compendium I stumbled over the freeing mechanism for the class registration mechanism.
Digging into the history I read something about AddModuleUnloadProc being used in context of packages, which I didn't use yet,
but I'm not sure why a simple TDECHash.ClassList.Free; should not be sufficient. So any ideas why this is in?
I'm asking, because in that ModuleUnload procedure C++ Builder crashes with "List item not found".
So if removing that ModuleUnload completely without causing any negative side effects, it might improve C++ Builder compatibility.nit DECHashBase; [..] procedure ModuleUnload(Instance: NativeInt); var // automaticaly deregistration/releasing i: Integer; begin if TDECHash.ClassList <> nil then begin for i := TDECHash.ClassList.Count - 1 downto 0 do begin if NativeInt(FindClassHInstance(TClass(TDECHash.ClassList[i]))) = Instance then TDECHash.ClassList.Remove(TDECHash.ClassList[i].Identity); end; end; end; initialization AddModuleUnloadProc(ModuleUnload); TDECHash.ClassList := TDECClassList.Create; finalization RemoveModuleUnloadProc(ModuleUnload); TDECHash.ClassList.Free; end.
-
I just tried. I got the .hpp files and copied those two referenced over into the directory of that project, but compilation gives a [ilink32 failure] Fatal: file 'SYSTEM.CLASSES.OBJ' cannot get opened.
I tried to find the file in my VM, but I failed. -
If you want complier dependent enablement of Audits you can file a feature request.
Question for me would be what in audits is not CLang compatible...
But I'm no C++ developer.
-
Thanks! I'll try to find the required time in the next few days.
-
Sorry, David, but I do not speak "C" much and as the DEC library I'm working on seems to be mostly C++ Builder compatible
I didn't want to ruin that compatibility just to have some speed gains on Delphi side.The simple solution would have been to remove the uncommenting and don't care about C++ Builder.
TaskMessageDlg('.... behind form?
in General Help
Posted
Your idea is of course how one might find it, if it shows in a reduced demo.
My first question would be: what's different between those two forms that one shows this
problem and the other works as expected.
So which properties or behavior can influence that?
Both forms have set:
- BorderIcons := [biSystemMenu,biMinimize,biMaximize]
- BorderStyle := bsSingle
- DefaultMonitor := dmActiveForm
- FormStyle := fsNormal
- PopupMode := pmNone also pmAuto doesn't change this
- PopupParent := nil, but also setting it to TCustomForm(AOwner) in the constructor didn't change anything
- Position := poOwnerFormCenter
- WindowState := wsNormal
The form itsself only has an OnShowEvent, where one control gets set the focus.
Any other properties known which might play a role here?