Jump to content

Sherlock

Moderators
  • Content Count

    1301
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by Sherlock

  1. Consider looking at other projects tests. For example the tests in DUnitX itself: https://github.com/VSoftTechnologies/DUnitX/tree/master/Tests or DWScript: https://bitbucket.org/egrange/dwscript/src/master/Test/ or SKIA4Delphi: https://github.com/skia4delphi/skia4delphi/tree/main/Tests and last but not least Synopses mORMot: https://github.com/synopse/mORMot2/tree/master/test and kinda out of competition there is this: https://github.com/NickHodges/DelphiUnitTests a noble initiative to create and collect unit tests for Delphi itself... sadly it did not take flight.
  2. Sherlock

    Delphi 12 IDE, auto-formatter mutilates generics

    Sorry about that, that was just my humorous side getting the better of me, I know there will be no Version 13 - but if there ever was, it would aptly be named after a town with a "witch problem".
  3. Sherlock

    Delphi 12 IDE, cannot create regions

    Unsure if anyone managed to create a report yet, so here is my take on it: https://quality.embarcadero.com/browse/RSP-43855
  4. Sherlock

    Delphi 12 IDE, auto-formatter mutilates generics

    I'm sure they're working on it for Delphi 13 codename "Salem". (Edit: Please ignore this, if you are looking for facts!) But for now https://docwiki.embarcadero.com/RADStudio/Athens/en/What's_New#Moving_Deprecated_Features and because the formatter is not explicitly mentioned here, it's deprecated through the modeling support.
  5. Sherlock

    Delphi 12 IDE, auto-formatter mutilates generics

    Yeah, the formatter is no longer maintained, marked as deprecated and should be handled with caution. Aside from that, you may highlight a specific code section and format only that. Or you could go a different way and choose to use the GExperts code formatter. It knows source directives to prevent code formatting.
  6. Sherlock

    Delphi 12 IDE, cannot create regions

    Jupp, same here. The "Surround" command is always grayed, no matter which context.
  7. Sherlock

    Delphi 12 is available

    Ah, a loop: Feel free to branch out of the loop with new arguments or new questions.
  8. Sherlock

    Delphi 12 is available

    D'uh! But we're talking about Delphi, aren't we?
  9. Sherlock

    Delphi 12 is available

    That really depends on the individual use case. For learning OOP with a Pascal flavor, D7 can be useful. For writing private Windows applications, that look "OK", Delphi XE2 is useful. For making money with Apps on current iOS...then any CE will be useless for several reasons.
  10. Sherlock

    Delphi 12 is available

    Someone who does not want to spend and does not want to make money with Delphi Community Edition, that is who. And that seems to be a surprisingly large number.
  11. Sherlock

    Delphi 12 is available

    I love the possibility to create and sell a monolithic exe, that can be dropped in a folder and just be executed, no installer necessary. That is of course not a distinguishing feature of Delphi, you could compile a C# application into a monolithic exe as well, but how often is that really done?
  12. Sherlock

    Firemonkey form not included in "Also snap to screen"

    Not that I am aware of.
  13. Sherlock

    Firemonkey form not included in "Also snap to screen"

    You should do this only for Windows environments. So be shure to wrap that in appropriate $IFDEFs in case you develop multi platform (what FMX is designed for).
  14. Sherlock

    NativeXML and tsdBufferWrite problems with 32k

    Try NativeInt for 32Bit and 64Bit compatibility...
  15. Phew. Congrats on that. Now you'll have to figure out if that was a one time glitch. Some future patches might rely on 22H2 being installed, which might leave your otherwise new computer ...um, looking old.
  16. Sherlock

    Delphi 12 is available

    Well Google has no right to gloat..."Ice cream sandwich"? Stupid names. Numbers rule! Delphi 12.0 - Done. Pure. Simple. No room for mistakes or errors. Other than Debian: Bullseye, Buster or Bookworm...which one is oldest?
  17. Aha, ok. Nope, still no error here. Using the demo sources selected at install time, everything works fine. Have you tried placing a break point in the pnlCreatePDFDrawingSVGClick method, to see when your crash occurs? Perhaps you don't have a PDF reader installed (very wild guess)?
  18. @Ralf7 I am not sure how to reproduce it. I created a new VCL project in D12. Activated SKIA...and now what? OK, now that I understood what this was about. I deleted the unnecessary code.
  19. Sherlock

    Delphi 12 is available

    I can see them now, brooding in their offices over a not so satisfactory IDE release, when suddenly one of them jumps up in excitement, shouting: "I got it!" Proceeding to invite everyone to a Teams meeting to spread the good news. When they all finally got together an extensive presentation with countless slides was skillfully delivered to the increasingly agitated peers culminating in roaring applause and a virtual high five by Mr. Popov himself, who had joined after hearing the good news. With his chest swollen with pride he then announced "So this is it then: Athens!"
  20. Have you tried undoing the update via Powershell yet? Details here: https://support.atera.com/hc/en-us/articles/360020477680-Uninstall-Windows-10-Updates-#h_01F0WXRRDN6R5S7NSCTF9P8V41
  21. I concur with @FPiette. Considering Windows 10 support and life will be over in two years, you would not want to upgrade then. Do it now, and be done with it. You just witnessed in the flesh what an "old" Windows can do...or rather what it can't. Just consider that a fair warning.
  22. Sherlock

    Code formatting in Delphi 12

    And equally a candidate for the Darwin Award...if there was a software category.
  23. Sherlock

    Try-Finally-end; & Exit??

    Just as a totally unqualified insertion: We are talking about the GOTO statement right? The one Dijkstra is rotating in his grave about? Ok, just checking. Carry on....
  24. Sherlock

    Access

    Could be that. I have no insight to the absolute inner workings of the forum software, but I have the impression the situation is sorted out anyhow. Or is there still some trouble @fastbike?
×