Jump to content

Uwe Raabe

Members
  • Content Count

    2750
  • Joined

  • Last visited

  • Days Won

    162

Everything posted by Uwe Raabe

  1. Uwe Raabe

    DPM Package Manager Progress - 8 March 2021

    Here we go: SetVersionInfo.zip Simply call TSetVersionInfo.SetVersionInfo(<Dproj-FileName>, <VersionString>). The current implementation sets the version info in the base configuration only and removes any version info entries in child configurations (just like Project Magician does). If you need to set different version info for each build configuration or platform I might get that implemented, too. I just need to know the rules. The unit uSetVersionInfo.XML is more or less a copy of NativeXML, renamed to allow multiple instances in different design packages.
  2. Uwe Raabe

    DPM Package Manager Progress - 8 March 2021

    May be, and that would probably be best. My knowledge is just that FinalBuilder doesn't change the dproj files, but rather creates proper rc files to achieve that. There might also be found some code in DevExtensions regarding this subject.
  3. Uwe Raabe

    DPM Package Manager Progress - 8 March 2021

    If you are interested I can provide the relevant code from Project Magician. Not sure how it fits into the existing DPM code, though. I use ProjectMagicianCmd successfully for exactly that purpose with build servers where FinalBuilder is not available.
  4. Uwe Raabe

    I will be less active for a few weeks

    Bli frisk snart.
  5. Uwe Raabe

    How to let MMX wrap code properly?

    Unfortunately, you cannot. The wrapping algorithm is based on a tokenizer with some checks for line comments and special delimiters (like comma, semicolon and opening brackets) which are kept with the following token. Currently there is nothing implemented to detect complete declarations. You can file a feature request here: support@mmx-delphi.de (best accompanied by a set of examples to help me create some unit tests).
  6. Uwe Raabe

    Delphi10.4.2, Theme, closing Modal dialog

    Can you reproduce in a simple app? If yes, can you attach it here?
  7. Did you compare the generated op code?
  8. Uwe Raabe

    Annoying IDE behavior changes in 10.4.2

    It is indeed MMX Code Explorer which catches the Ctrl-Shift-Up/Down shortcuts and handles them properly. As MMX is one of the first additions installed here, I didn't notice the standard behavior change.
  9. Uwe Raabe

    Annoying IDE behavior changes in 10.4.2

    I followed your steps and the cursor is on line 27, while the editor top line is 25. Embarcadero® Delphi 10.4 Version 27.0.40680.4203 (with MMX Code Explorer , Project Magician, Selective Debugging and wuppdi Welcome Page)
  10. Uwe Raabe

    Annoying IDE behavior changes in 10.4.2

    I cannot confirm that. With Ctrl-Shift-Arrow Down the cursor is located in the first line after begin. I cannot confirm that either. The top line in the editor is the method declaration. That one I can indeed conform. Please file a bug report for that.
  11. Uwe Raabe

    "Key Bindings" disabled not working?

    Sorry, I didn't have had time to check this. Will take a look on that for the next version.
  12. Uwe Raabe

    How to get json array from string?

    Declare a class like this and create an instance with TJson.JsonToObject from REST.Json.pas: type TMyJson = class FResult: Integer; FIdList: TArray<Integer>; end; const cJson = '{"RESULT":200, "IDLIST":[1,2,3,4,5]}'; var myJson: TMyJson; begin myJson := TJson.JsonToObject<TMyJson>(cJson); try for var I := 0 to Length(myJson.FIdList) - 1 do { do something with myJson.FIdList[I] } finally myJson.Free; end; end;
  13. Uwe Raabe

    How to Refresh 10.4.2 CodeInsight

    I suggest filing a bug report emphasizing that a simple reload fails to refresh the LSP.
  14. Uwe Raabe

    How to Refresh 10.4.2 CodeInsight

    After reloading the file have you tried making a simple change in the editor? That should trigger a refresh as any other code change does. Perhaps it is simply the reload that misses the triggering.
  15. As I said, a customer now has to tweak the requires clause of his package using Indy for each new Delphi version anyway. If you start the new scheme for the 10.5 packages and keep the old as is, you don't have any compatibility issue at all. At least this will ease the use of Indy in all versions 10.5 up. A backport to packages for older Delphi versions can then be done separately if feasible. The interesting thing is that the Indy version delivered with Delphi already follows the LIBSUFFIX approach. package IndyIPClient; ... requires rtl, IndyCore, IndyProtocols, IndySystem, CustomIPTransport, IndyIPCommon; That said, using the non-included Indy packages already lays a burden on the user, because the requires clauses won't match when switching to a non-included Indy version. Even more: the necessary package changes are already available and ready for use.
  16. Uwe Raabe

    Delphi 10.4.2 first impressions

    No! If you start the setup you are asked to remove the registry settings and the default is no. Unless you change that all settings are kept.
  17. That may be true for the Delphi 4 and 5 packages, but can easily be dropped for all others. The naming of the bpl files would still be the same. Honestly? With the current scheme you have this breakage for each new Delphi version.
  18. Uwe Raabe

    Cannot install Konopka for Missing Function!

    Looks like there is a different RaizeComponentsVcl270.bpl found somewhere.
  19. Uwe Raabe

    Cannot install Konopka for Missing Function!

    Worked perfectly just a minute ago. Can you try to remove that library and try again? Perhaps you have to clear the corresponding folder in $(CatalogRepository) in between.
  20. http://docwiki.embarcadero.com/RADStudio/Sydney/en/10.4_Sydney_-_Release_1#Projects
  21. Uwe Raabe

    Delphi 10.4.2 first impressions

    Worked flawlessly over here. AFAIK GetIt packages are not re-installed, but I don't use those anyway. I always install packages directly and these are all present after the update.
  22. If it is the only change in the project files, it would at least work for packages 10.4 and up - at least until any new setting throws a spanner into the gear.
  23. Uwe Raabe

    how to keep unit files opened in project??

    Under Tools - Options - IDE - Saving and Desktop there is a setting Save project desktop when closing.
  24. It was introduced in 10.4 Sydney - Release 1
  25. Meanwhile a bit dusty, but most of it is still valid and overlaps your suggestions nicely: Delphi Library Guidelines
×