-
Content Count
2017 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
then why are you writing hint in the topic if you are such an eagle eye? otherwise no clue. debug the VCL
-
it works the opposite way, it's only shown if the edit is not focused
-
texthint is not hint, hint is empty and edit is focused so you can't see anything
-
How should spaces after a comment be handled by the formatter
Attila Kovacs replied to dummzeuch's topic in GExperts
why not? you could name it "The option I didn't want to implement #4223" -
TRegistry.MoveKey does not move MultiSZ values correctly?
Attila Kovacs replied to Nigel Thomas's topic in RTL and Delphi Object Pascal
Swap the orders, first "b)" then "1." That you can: I. Be sure you can fix something, so it's definitely broken. II. You can make a fix proposal (They will most probably fix it in an other way but it helps them to understand a problem and it's also represents the "expected" result. Such reports are processed faster. -
One large unit vs multiple small units
Attila Kovacs replied to Oberon82's topic in RTL and Delphi Object Pascal
The size does not matter. (tm) (dependencies do) -
Stumbled upon serious looking bug report
Attila Kovacs replied to Tommi Prami's topic in General Help
@Vandrovnik How get you run that "unit" without touching it? -
Stumbled upon serious looking bug report
Attila Kovacs replied to Tommi Prami's topic in General Help
Unit1.pas.20: begin 0041A868 55 push ebp 0041A869 8BEC mov ebp,esp 0041A86B 6A00 push $00 0041A86D 6A00 push $00 0041A86F 6A00 push $00 0041A871 53 push ebx 0041A872 8B5D08 mov ebx,[ebp+$08] 0041A875 8B5B0C mov ebx,[ebx+$0c] ebx is very well initialized -
It's a really cool topic, especially the conversation between DH and KW :DDDD
-
You must be joking too. If you have a perpetual license and you can't install, you call the person who sold you and not anyone because you accidentally know about some internal stuff like license bumping or what is it. And if you would read Dalija's comment you would know that you are talking riubbish.
-
:DDDDD You have a sales problem (contract) and you contact the support => product is dying. You ppl. are so much fun.
-
.
-
I never liked any of the Open Unit implementations including MMX so I started a new pilot project. Main goal was to get the most out of it without mouse interaction. (Sorry for the blurry images, it's the forum itself) It looks like: bold - project files italic - opened normal - file in the directory at the end is the time since the last edit Multiple targets can be defined in a file called ".unitdirs" in the project root: @Combined;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\SearchBox;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\Sensors @Demos;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal @MyStuff;C:\Projects\own\ClipboardWizard\.mystuff it's basically: @Caption;target1;targetN... target can be a directory or a file like .mystuff is a file, containing: C:\Projects\own\ClipboardWizard\BaseDockForm.dfm C:\Projects\own\ClipboardWizard\BaseDockForm.pas C:\Program Files (x86)\X-Files Software\X-DBGrid Component\X-DBGrid77\Help\XFiles.pdf Yes, pdf too. It can be defined (in the source code for now) which extensions are shellexecuted, the rest is opened in the IDE. With Ctrl-F12 you open this window, with further Ctrl-F12's it's cycling through ".unitdirs" (see above). With a single F12 it jumps back to the project files. There is more. As the IDE has all the classes loaded (obviously the default ones and the ones you installed before), it's easy to make a dfm preview. (no linked things like images from another datamodule though) I love fishfacts. I have many other ideas but little time. I could share this next week when I'm back in the office and anybody want's to try or enhance it. It's just a pilot project fo rme.
-
Yes, it's just the LastWriteTime to get some orientation where were we before lunch. But you could query the source control system in a background task, excellent idea!
-
Yes you are rigth, It's on my list already because absolute paths are pita.
-
you should have a flag which describes if the message are coming from the mouse or from the window proc of the other splitter and if it's not the mouse, skip the feedback
-
OnAlignInsertBefore OnAlignPosition
-
Hextor - Hexadecimal editor and binary data analyzing toolkit
Attila Kovacs replied to DigitalWolF's topic in I made this
https://kaitai.io/#what-is-it (there is a plugin "kiewtai" on github for hiew) -
How can I save the image from a TBitmap32 into a jpg (actually to the same type it was before loading, but let's start with jpg) without involving a TBitmap?
-
I don't care the prettiness, all what I mean is I would never come up with the idea to patch TJPEGImage to be thread safe. Or maybe yes, after a week of trial and error. Do I really supposed to do that? I don't think so.
-
There would be more than enough scripting languages to go for a one time conversion. I have no interest in digging deeper in the VCL when you already made a working library. Also, I'm more than happy not to have to deal with TBitmap, so again, no point to burn resources on things I don't need.
-
just an example, citing from your library with TJpegImageHack(jpeg{<-TJPEGImage sic.}).Bitmap do ... Canvas.Lock;..... Who on earth should know such internals? Better said, why should anyone care about such internals? Nobody and for no reason and it's not in my code and it's not in the manual, but it's in your lib, and it works.
-
So you are classify your own library as a short time solution? Then why does the same code work with it and not with the built ins?
-
It's always your best guess and I don't have any other ideas either, but I don't know the internals and the Delphi manual is also very limited. Anyway, I can't invest any more time into this to figure it out myself and the solution I got I like much more as it skips an unnecessary step.
-
Well, it's not my problem anymore. @angusj provided a solution to overcome that.