Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/23/23 in all areas

  1. I'm working on adding this to the Kastri library - it might be ready in a few days time.
  2. Lajos Juhász

    Using Regex for file name matching?

    If you want to compare against file mask you should use https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.Masks.MatchesMask. For example: uses System.Masks; procedure TMainForm.TestClick(Sender: TObject); begin if MatchesMask(edText.Text, EdPattern.Text) then lbData.Insert( 0, 'True' ) Else lbData.Insert( 0, 'False' ); end;
  3. I saw the file dw-firebase-messaging-2.0.0.jar in the kastri library, but I had no idea how to use it. If you are the developer of kastri (DelphiWorlds), I would like to thank you very much for developing this library.
  4. dummzeuch

    What is the benefit of sorting the Uses clause?

    Remove matching lines
  5. IMHO, last month doesn't really qualify for no activity. It is side project for someone with a full-time job at last.
  6. dummzeuch

    What is the benefit of sorting the Uses clause?

    Actually, instead of an empty line, it could be a comment with the group, e.g. uses // Windows group Windows.WinApi // vcl group vcl.bla, vcl.blub; So it doesn't look like somebody forgot to remove an empty line.
  7. Darian Miller

    Delphi 12 is available

    Well, this is actually Delphi major version number 29. But if you use Compiler or RTL versions, then its number 36. Delphi 2009 was actually the 12th release so this new Delphi 12 is a 14-year late-comer. Instead of just skipping Delphi 13 to go to Delphi 14, let's go directly to Delphi 37 and sync all the versions for a brief moment in time until some marketing guy wants to switch to MPDS 1.0 (Multi-Platform Dev Studio) or other such thing.
  8. Jonah Jeleniewski

    SonarDelphi v1.0.0 released!

    Not to detract from your point here, just wanted to note that Community edition isn't a cloud service - it's a free self-hosted application. In other words, you're not under SonarSource's thumb when using it.
  9. We have added support for the new Delphi 12 Athens released to our products: Pascal Analyser 9.12.3 Static code analyzer Browse the online documentation here https://peganza.com/PALHelp/index.html Pascal Expert 9.12.3 Plug-in for RAD Studio, subset of Pascal Analyzer Browse the online documentation here https://peganza.com/PEXHelp/index.html Pascal Browser 3.5.21 Creates documentation for your source code Browse the online documentation here https://peganza.com/PABHelp/index.html Go to https://peganza.com to learn more.
  10. After installing a GetIt Package from GetIt, show a Link to the install location in the GetIt list item: This would make handling the installed package and its components, such as demo projects, much more manageable. Please vote for this QUALITY REPORT: https://quality.embarcadero.com/browse/RSP-43427
  11. Dalija Prasnikar

    Do local variables have a cost?

    If Foo is reference counted type, then GetFoo will require hidden reference created to properly initialize reference counting, regardless of how DoSomethingWithFoo is declared. If it is declared as const that only means there will be no additional reference counting involved (_IntfCopy and _IntfClear) calls. Hidden reference is equivalent of the explicitly declared local variable. It is created when there is a need for holding a reference to something for calling _IntfCopy and _IntfClear methods. If there is already a reference (when passing parameter to some procedure where parameter is not declared as const) then there will be no hidden reference because _IntfCopy and _IntfClear can be called on that reference directly. Same principle applies not only for interface , but also for other reference counted types like strings and dynamic arrays, the only difference is in particular reference counting methods that will be called.
  12. Fred Ahrens

    What is the benefit of sorting the Uses clause?

    Sorting units by name is dangerous. There are some units that need to be added at the end of the list, if they overwrite some behavior's of objects and functions of other units above in the list. There are other units that need to be placed on top of the list if they do some special initialization that needs to be done in the app as soon as possible, before any other parts of the app start to initialize.
  13. Lars Fosdal

    The future of Delphi

    I am not confused. I am frustrated. I want both. Most of all, I want 64-bit debuggers that understand threads and make it easy and robust to focus debugging on specific threads, and that doesn't suddenly stop breaking on breakpoints or break on "invisible" breakpoints in Indy, or just purely stop responding completely. I'd love to be able to "disable" exception breaks for specific threads and only for those threads. I want the broken HighDPI properly and finally fixed. I want the code generation significantly improved for 64-bit. I want RTL, VCL and FireMonkey to be rock solid and efficient. But - also ... I want Generics constraints for enumerated types so that I can use enumerated type and set type operators. I want proper nullable type support, including the relevant operators. I want ARM support for Windows. I want ARM/Linux support for Raspberry PI. I want the static code analysis capabilities of FixInsight and similar, to be built into the DSP. I want a package manager that really works, unlike GetIt which is just a glorified downloader and installer. I want Swagger support for APIs.
  14. Remy Lebeau

    Modern C++ and Delphi

    That hasn't been my experience in my 20+ years using (almost exclusively) C++Builder.
  15. Stefan Glienke

    Delphi 12 is available

    PSA: Looks like that integer division is broken in 12 due to implementing this feature request. There are at least two reports already about this: https://quality.embarcadero.com/browse/RSP-43274 https://quality.embarcadero.com/browse/RSP-43418 Personally, I would say this absolute "need a hotfix asap" severity. I am honestly really sad about this because this encourages everyone who shies away from requesting any improvements to the compiler because it is almost certain that s**t will fall apart after. 😒
×