Jump to content

Attila Kovacs

Members
  • Content Count

    2017
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    tedit hint not working

    then why are you writing hint in the topic if you are such an eagle eye? otherwise no clue. debug the VCL
  2. Attila Kovacs

    tedit hint not working

    it works the opposite way, it's only shown if the edit is not focused
  3. Attila Kovacs

    tedit hint not working

    texthint is not hint, hint is empty and edit is focused so you can't see anything
  4. Attila Kovacs

    How should spaces after a comment be handled by the formatter

    why not? you could name it "The option I didn't want to implement #4223"
  5. 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.
  6. Attila Kovacs

    One large unit vs multiple small units

    The size does not matter. (tm) (dependencies do)
  7. Attila Kovacs

    Stumbled upon serious looking bug report

    @Vandrovnik How get you run that "unit" without touching it?
  8. Attila Kovacs

    Stumbled upon serious looking bug report

    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
  9. Attila Kovacs

    Delphi Registration

    It's a really cool topic, especially the conversation between DH and KW :DDDD
  10. Attila Kovacs

    Delphi Registration

    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.
  11. Attila Kovacs

    Delphi Registration

    :DDDDD You have a sales problem (contract) and you contact the support => product is dying. You ppl. are so much fun.
  12. Attila Kovacs

    Open Unit Window

    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.
  13. Attila Kovacs

    Open Unit Window

    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!
  14. Attila Kovacs

    Open Unit Window

    Yes you are rigth, It's on my list already because absolute paths are pita.
  15. Attila Kovacs

    How to synchronize splitters?

    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
  16. Attila Kovacs

    How to synchronize splitters?

    OnAlignInsertBefore OnAlignPosition
  17. Attila Kovacs

    Hextor - Hexadecimal editor and binary data analyzing toolkit

    https://kaitai.io/#what-is-it (there is a plugin "kiewtai" on github for hiew)
  18. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    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?
  19. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    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.
  20. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    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.
  21. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    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.
  22. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    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?
  23. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    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.
  24. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Well, it's not my problem anymore. @angusj provided a solution to overcome that.
×