-
Content Count
2837 -
Joined
-
Last visited
-
Days Won
168
Everything posted by Uwe Raabe
-
How do I suppress a Inaccessible from C++ warning?
Uwe Raabe replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
It may help to place that directive in the project file instead of the unit with the class declaration. -
On The Design Of Uses Clauses
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
@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 -
Using Delphi in Virtual machine for a month
Uwe Raabe replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
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. -
Using Delphi in Virtual machine for a month
Uwe Raabe replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
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). -
Using Delphi in Virtual machine for a month
Uwe Raabe replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
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. -
Using Delphi in Virtual machine for a month
Uwe Raabe replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
That is the first setting I am changing for a new VM. -
Using Delphi in Virtual machine for a month
Uwe Raabe replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
What files are you referring to? Perhaps I have a different meaning for plethora. -
Indeed ,NET has something called InAttribute and OutAttribute. AFAIK, there is no corresponding thing in Delphi.
-
64-bit type libraries still not supported by the IDE ?
Uwe Raabe replied to A.M. Hoornweg's topic in Delphi IDE and APIs
You should even be able to just add the library using the Add button of the import wizard. -
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.
-
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.
-
@John Kouraklis That is mentioned in the text of the beta download page:
-
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.
-
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.
-
August 2019 Roadmap released
Uwe Raabe replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
... or divide and conquer... -
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.
-
Indeed, that would be better.
-
Yep, that is still on my To-Do list.
-
The Embarcadero GetIt server could not be reached...
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
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. -
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.
-
There used to be a transfer utility, but I have to dig it out and put the dust off - given I actually find it.
-
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.
-
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.
-
This usually happens with non standard fonts and can be adjusted in General - Delphi Editor - Cursor position indicator - Line Height correction.
-
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.