Jump to content

Uwe Raabe

Members
  • Content Count

    2837
  • Joined

  • Last visited

  • Days Won

    168

Everything posted by Uwe Raabe

  1. It may help to place that directive in the project file instead of the unit with the class declaration.
  2. Uwe Raabe

    On The Design Of Uses Clauses

    @sLesage This is an early beta. It is a command line tool called with the following parameters: UsesCleaner [<filepath>]<filename> [-c:<configfile>] [-o:<outputpath>] [-l:<logfile>] [-s] <filename> may contain wildcards <configfile> default is UsesCleaner.cfg <outputpath> if not specified, original files will be changed! -s: also handles subfolders The example config file is targeting Delphi 10.2 Tokyo, but can easily be adjusted. Some entries are self-explaining. [Settings] Indentation=2 Compressed=1 MaxLineLength=130 SearchPath=c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release; UnitAliases=WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; UnitScopeNames=Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;System;Xml;Data;Datasnap;Bde;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell GroupNames=@DelphiOTA;Winapi;System.Win;System;Data;FireDAC;Vcl;Rz* [Groups] DelphiOTA=ToolsAPI;DesignIntf;DesignEditors The tool will resolve any unit aliases and unit scope names. Then it will group the units according to the order given in GroupNames followed by any remaining units. Plain group names are taken as namespace prefix (like Data or Vcl). Unit names without such namespace can be grouped with wildcards (like Rz* for Raize Components units). You can define groups by simply listing the unit names in the Groups section as it is show with the DelphiOTA group. UsesCleaner.zip
  3. Can you elaborate that statement a bit? What does better mean in this context? I never have had problems with backups of those files. It may take a while to copy them, but that is almost the same with multiple files.
  4. Honestly, I don't know! I have all my virtual machines on a couple of SSDs and I don't see any performance drop compared to a host installation. It may have an impact for mechanical drives, but I never did some meaningful performance tests (which I expect to be difficult to do anyway).
  5. That is the same in VMware - one file per virtual disk. Each virtual disk has a setting where you can decide if the disk shall be split into several files or just one. The default is split, but I prefer it the other way.
  6. That is the first setting I am changing for a new VM.
  7. What files are you referring to? Perhaps I have a different meaning for plethora.
  8. Uwe Raabe

    [out] and [in] in records

    Indeed ,NET has something called InAttribute and OutAttribute. AFAIK, there is no corresponding thing in Delphi.
  9. You should even be able to just add the library using the Add button of the import wizard.
  10. Uwe Raabe

    MMX 15 (Beta) Available

    Build 2352 can be used with Delphi 10.3 and 10.3.1 again. If you have Delphi 10.3.2 you need to install the Runtime Packages Compatibility Patch first.
  11. Uwe Raabe

    MMX 15 (Beta) Available

    I decided to revert the build server to Rio 10.3.1, so future builds will be compatible with all Rio versions. For users on 10.3.2 it is mandatory to install the Runtime Compatility Patch then. A new build is expected for later this day.
  12. Uwe Raabe

    MMX 15 (Beta) Available

    @John Kouraklis That is mentioned in the text of the beta download page:
  13. Uwe Raabe

    MMX 15 (Beta) Available

    I have just uploaded a new beta 15.0.0.2350: https://www.mmx-delphi.de/downloads/download-info/mmx-beta-build/ bugs fixed: there were still problems with AutoToggleObjectInspector message instead of exception on convert with when no with is available sometimes Explorer behaved strange with docking OT: I was a bit overwhelmed when I realized that there were over 16.000 downloads for MMX 15.0.0.2346 - quite impressive for a beta version.
  14. Uwe Raabe

    MMX 15 (Beta) Available

    Sorry, but I cannot reproduce that here with the attached DST and the steps given. Everything works as expected. Correction: I can reproduce it - just had to revert the Debug layout to the original before. At first glance I suspect a second window to be opened. Something to investigate.
  15. Uwe Raabe

    August 2019 Roadmap released

    ... or divide and conquer...
  16. Uwe Raabe

    MMX 15 (Beta) Available

    The list of known classes is built from parsing the project files (if checked) and the files opened in the editor (at least once when Persistent Module Information is checked). F.i. to add TInterfacedObjectEx to the known types list, the unit Spring.pas either has to be included in the project or opened in the editor so that MMX can parse the source. The parsed modules with the types declared are stored per IDE and MMX version in %LOCALAPPDATA%\Raabe Software\MMX Code Explorer\15.0\BDS20_known_modules.xml (for MMX15 in Delphi Rio). You can inspect that file for the missing type identifiers.
  17. Uwe Raabe

    question on 'convert with statement'

    Indeed, that would be better.
  18. Uwe Raabe

    MMX 15 (Beta) Available

    Yep, that is still on my To-Do list.
  19. Uwe Raabe

    The Embarcadero GetIt server could not be reached...

    Did you try the URL fix for 10.3.2? In my case it worked even for 10.2.3, so you might be lucky, too.
  20. Uwe Raabe

    MMX 15 (Beta) Available

    There are two ways to open that menu. Both can be seen in your screenshots. The first is to use the editor context menu and select the MMX Commands entry and the other one is with the shortcut Shift-Ctrl-Alt-X (as default). The only difference is that one simply adds items and subitems to the existing popup menu while the other creates a new TPopupMenu owned by the editor window before. There is no owner draw code, so there is not much I can do about it. I am not sure what changing MMX properties can trigger to make it work. As I am not using the IDE theme editor here I am not able to reproduce it. You can ask Rodrigo about that. Perhaps he has an idea what is a causing that.
  21. Uwe Raabe

    MMX 15 (Beta) Available

    There used to be a transfer utility, but I have to dig it out and put the dust off - given I actually find it.
  22. Uwe Raabe

    MMX 15 (Beta) Available

    Interesting - I have about the same configuration and it works with Determine Line height at startup out of the box. Anyway, the algorithms behind that are kind of deprecated. I plan to switch to one of the newer interfaces provided by the ToolsApi to draw things inside the editor, which will overcome this problem once and for all. Sometimes things are so much simpler after dropping support for older Delphi versions.
  23. Uwe Raabe

    MMX 15 (Beta) Available

    Cannot reproduce here. Can you find some other possible cause for that? A screenshot would be nice, too. Just t make sure we are talking about the same thing.
  24. Uwe Raabe

    MMX 15 (Beta) Available

    This usually happens with non standard fonts and can be adjusted in General - Delphi Editor - Cursor position indicator - Line Height correction.
  25. Uwe Raabe

    MMX 15 (Beta) Available

    A new beta drop is available: https://www.mmx-delphi.de/downloads/download-info/mmx-beta-build/ Most of the reported bugs should be fixed. If no big issues are found anymore I can concentrate on performance now.
×