Jump to content

Ondrej Kelle

Members
  • Content Count

    62
  • Joined

  • Last visited

  • Days Won

    1

Ondrej Kelle last won the day on January 21 2019

Ondrej Kelle had the most liked content!

Community Reputation

47 Excellent

1 Follower

Recent Profile Visitors

750 profile views
  1. Ondrej Kelle

    git and Delphi tooling?

    I've found this way: In the Explorer view, open your working copy file In the File History view, right-click on the first commit in your range, select "Select for Compare". Still in the File History view, right-click on the last commit in your range, select "Compare with Selected"
  2. Ondrej Kelle

    git and Delphi tooling?

    Recently, I also find GitLens extension for VS Code quite useful.
  3. Ondrej Kelle

    git and Delphi tooling?

    I find TortoiseGit useful. It's a Windows Explorer extension, similar to TortoiseSVN which you might know already.
  4. Ondrej Kelle

    Variant support in chakracore-delphi

    Also, it already has Delphi and Free Pascal bindings: https://github.com/Coldzer0/QuickJS-Pascal
  5. Ondrej Kelle

    Variant support in chakracore-delphi

    It's interesting. Thank you!
  6. Ondrej Kelle

    Variant support in chakracore-delphi

    Thanks! You can read about their future plans here on the GitHub repo: Version 1.12 plan Overall plan I think the current ChakraCore is still very nice if you need a high-performance scripting engine with JIT and GC embedded in your desktop application (with support for Windows, MacOS and Linux) and if ES6/partial ES2017 language support is sufficient for you: here are the compatibility tables . It depends on whether you need to support the evolving ES standards and if the opensource community can provide new features. Also, security fixes - IIRC, Microsoft plan to provide them until March 2021.
  7. The new experimental/variants branch of chakracore-delphi introduces some experimental support for Variants... Read more on my blog
  8. Ondrej Kelle

    Delphi AES encryption/decryption

    Also, CryptoLib4Pascal (MIT license)
  9. Ondrej Kelle

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

    If you wanted to avoid the requirement of having the fonts installed globally in Windows you could write a design package with the fonts linked in as resources. The package, when loaded by the IDE, could load the fonts from the resources (using the code shown by @Attila Kovacs) and call Screen.ResetFonts to signal the IDE to reinitialize its font list . After that the fonts would be available to the IDE.
  10. Ondrej Kelle

    Setting a "nullable" property on a .NET object

    The problem, I think, is that .NET's Nullable is a generic type and as such can't be exposed to COM.
  11. Great news from Dalija Prasnikar! Thank you! https://dalijap.blogspot.com/2020/03/unified-memory-management-coming-with.html
  12. Ondrej Kelle

    class designation question

    Thanks! I think you're completely right and off-topic to the question. 🙂
  13. Ondrej Kelle

    class designation question

    The first is a class reference (metaclass), the second is a type declaration (class).
  14. Ondrej Kelle

    TWebModule response content truncated before return

    Simple assignment to Content should be sufficient: Response.Content := doc.XML.Text; This will both encode the incoming string value and set ContentLength automatically. (See TISAPIResponse.SetContent in Web.Win.IsapiHTTP.) In your case the encoded stream was longer than the original text, e.g. due to insertion of escape characters. By setting ContentLength explicitly you have effectively truncated the encoded stream.
  15. Ondrej Kelle

    [Macos, APFS, VmWare] Shrinking VM images

    Also see Sysinternals sdelete -z: -z Zero free space (good for virtual disk optimization).
×