Jump to content

Attila Kovacs

Members
  • Content Count

    2067
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Delphi 10.4.1 and the IDE FIx Pack

    There was a problem with the Compile Dialog as it was refreshed too frequently and since it's also themed it was very slow. I can't find anything anymore regarding this issue, maybe it has been solved since, but it's easy to check if you disable the dialog and measure the compile time. AFAIR IdeFixPack was targeting this problem too.
  2. Attila Kovacs

    Migration from BDE paradox to TFDtable or other options

    there is also https://www.componentace.com/bde_replacement_database_delphi_absolute_database.htm
  3. Attila Kovacs

    Any Known Issues with ZCompressStream?

    There are bunch of "endless loop" hits on zlib from 2015, the one in RTL has a date from 2014, maybe you should re-compress the original data and see if it happens again. That would also make others satisfied when you switch to another lib. Eventually try to decompress it with more recent zlib version. https://unix.stackexchange.com/questions/22834/how-to-uncompress-zlib-data-in-unix It would be cool to know the results.
  4. Attila Kovacs

    Cast error when using Ctrl+#

    Ctrl+# is the toggle comment menuitem on the editors context menu in the german IDE, not sure though if it has anything to do with whatever it is, but I'm sure you already checked where this "Sender" belongs to.
  5. Attila Kovacs

    Any Known Issues with ZCompressStream?

    It is no coincidence that checksums were invented.
  6. Attila Kovacs

    Button needs two clicks

    a swallowed windows message like button down / up, usually when you manipulate the focus inside events, for example
  7. Attila Kovacs

    Unit scope names in IDE - possible 2+ lines?

    Nope, it has nothing to do with santiago's except the idea is stolen. It's a working plugin without any OTA conventions so it's ugly and would be harder to maintain. But the OTA is somewhat limited to get this plugin thin and versatile, so I had to go this way. Also, getting the breakpoint list from Parnassus depends on code which was bought by emba and gone under without a ripple. 😞
  8. Attila Kovacs

    Unit scope names in IDE - possible 2+ lines?

    @Dinar It's not just me! πŸ˜‰ Well, then just press Ctrl+Alt+ArrowUp or Down πŸ˜‰
  9. Attila Kovacs

    Unit scope names in IDE - possible 2+ lines?

    @Dinar :)) Sorry, looks like I'm in write only mode πŸ™‚
  10. Attila Kovacs

    Unit scope names in IDE - possible 2+ lines?

    As an alternative:
  11. Attila Kovacs

    Records, Generics and RTTI meets FireDAC

    @Lars Fosdal I heard that several times and I still can't imagine why not a middle tier, why sp's?
  12. Attila Kovacs

    string helpers question

    Mind the declaration of those helper routines. The ones needing a parameter are for sure class methods, thus they will as work with aStr.xyz() as with String.xyz(); In this case the ToLower is non-class method, LowerCase is. Now if you wonder why are they called differently, try boolean.ToString(True); and once you found out what is happening try not to scream.
  13. I'm having problems with importing bmecat_2005.dtd under Berlin U3. There are a couple of definitions like: <!ELEMENT GROUP_NAME (#PCDATA)> <!ATTLIST GROUP_NAME lang %langQUALIFIERS; #IMPLIED> which should be a string with an attribute "lang", like: <GROUP_NAME lang="deu">My Group Name</GROUP_NAME> Now, Delphi creates GROUP_NAME as a class with a single property of "lang", so I can't assign a value ("My Group Name") to this element. Am I missing something or is this built in importer a bit retarded? Is there any better tool to create the Delphi classes? thx Edit: Ahh, "class.Text" is the way to go, I had forgotten it, but now I remember.
  14. Attila Kovacs

    a pair of MM test

    @Dany Marmur Just look it up:
  15. Attila Kovacs

    Best Practices for FireDAC FetchMode/RecordCount Settings

    Ahm, what kind of bull*** is calling a count(*) prior to the actual selection? Who guarantees that the two results will be the same?
  16. Attila Kovacs

    git workflow question

    Maybe "git diff" and "git blame" would show something useful. You are a team of developers and go with "something is messed up" statements? Usually this come from the clients.
  17. Attila Kovacs

    Securing your data over time

    Me too. Also funny one. Especially that you don't understand why would one use an online service to make a complementary/secondary cold-backup in a different geographical location, then you answer your own question in 2 minutes with the burglars.
  18. Attila Kovacs

    Securing your data over time

    http://ollydbg.de/Paperbak/
  19. Attila Kovacs

    Looking for Icon Fonts support in Delphi for High-DPI and Themed app?

    Are you sure that the font has to be installed? I'm loading a custom font from the resources and it's working fine: // Load custom Fonts before creating any forms ResStream := TResourceStream.Create(hInstance, 'MONTSERRAT_MEDIUM', RT_RCDATA); try AddFontMemResourceEx(ResStream.Memory, ResStream.Size, nil, @FontsCount); finally ResStream.Free; end;
  20. Exactly this is the way I would prefer like David says. If you change xVal to something meaningful, you will see why: Result := isDog or isCat or isHorse;
  21. As you are always obfuscating your code with love, I can't imagine why didn't you go with Result := Ord(a) + Ord(b) + Ord(c) + Ord(Result) > 0;
Γ—