Jump to content

Uwe Raabe

Members
  • Content Count

    510
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by Uwe Raabe

  1. Uwe Raabe

    MMX for Delphi 10.3 Rio

    There is an unofficial download available for MMX Code Explorer with Delphi 10.3 Rio support. Unofficial because it didn't have had much testing yet due to some incompatibilities found during the beta phase. One of this results in the loss of the MMX editor context menu entry. Another big change ist that MMX version 14.x only supports Delphi 10 Seattle and higher. For that, version 13 will still be available for download and installations for older Delphi versions should keep working. I had to make this cut to avoid wasting too much time just to make it work and test it on those older versions. Nevertheless there are some features and bug fixes: Unit Dependency Analyzer is now dockable (so you can see immediately when you introduce cyclic dependencies) New settings page Project Options (currently contains only the setting for Uses Clause Sorting). These settings are stored per project in a separate section of the dproj file. Uses Clause Sorting accepts lists like (ToolsApi,DesignIntf) as one group. This only affects grouping, so the order inside this list is not relevant. Uses Clause Sorting accepts wildcards like Rz* (for Raize Components) or Id* (for Indy) to better handle non-dotted unit names New sorting options "group class members" - keeps the class methods together fix: Wrong result when renaming parameter during Extract Method fix: Add Local Variable now also works with For-In clause fix: Hard coded string scan check for min length works correct now fix: Paste Interface in empty class just works now fix: Consolidated behavior of selected file in Open/Use Unit dialog fix: Creational Wizard follows static/non-static when suggesting destructors Some work has been done for supporting themes, but that is still a long road to go. Please report any bugs and problems found either here or via support@mmx-delphi.de.
  2. Uwe Raabe

    MMX for Delphi 10.3 Rio

    @Stregor, @ULIK thanks! That narrows down the research area a lot. The next beta will emit some data to the event log to allow some better analysis.
  3. Uwe Raabe

    MMX for Delphi 10.3 Rio

    Yes, that is true. The package info related to the Check Packages option is built on first use (probably to reduce startup time). It scans all packages loaded in the IDE and adds all classes and interfaces from each package containing at least one component. Can all people hit by this problem please check if it can be solved by disabling Check Packages?
  4. Uwe Raabe

    MMX for Delphi 10.3 Rio

    You should be able to check this inspecting the last change time of that file. Are by any chance all these source files added to the project and do you have Pre-parse Project Files enabled in the MMX General settings?
  5. Uwe Raabe

    MMX for Delphi 10.3 Rio

    Less than a second here. Yes, that may be the cause. You can try to rename the module cache file: "%LOCALAPPDATA%\Raabe Software\MMX Code Explorer\15.0\BDS19_known_modules.xml" and see if this reduces the time to wait.
  6. Uwe Raabe

    MMX for Delphi 10.3 Rio

    As I have difficulties to reproduce the above mentioned performance drops at my side, I would be grateful if someone could provide a project showing this behavior. I am willing to sign an NDA if necessary,
  7. Uwe Raabe

    MMX for Delphi 10.3 Rio

    I am already investigating that. Unfortunately I cannot reliably reproduce it here.
  8. Indeed! After trying several other approaches I reverted my build machine back to 10.3.1 to provide a compatible version. Believe me, I am not amused - to say the least.
  9. For an IDE package to work in Delphi 10.3, 10.3.1 and 10.3.2 it has to be compiled with 10.3 or 10.3.1 in the first place. The compatibility patch is needed to make such an application work with 10.3.2 (actually the patch is meant for 10.3.2 installations only). There is no way to make a package compiled with 10.3.2 work with 10.3 and 10.3.1. This case is a bad combination of first breaking compatibility by accident and then refuse to fix it because that would break some other compatibility.
  10. Uwe Raabe

    Delete a Registry Key...

    Highlight the text with the mouse and click on the then appearing Quote bubble:
  11. Uwe Raabe

    TFDMemtable does not save indexdefs definitions

    AFAIK, IndexDefs (as well as FieldDefs) are stored in the DFM when StoreDefs is True, but I guess they are not part of the data file.
  12. Uwe Raabe

    MMX 15 (Beta) Available

    There is a new beta available. Changing the version number to 15 resembles not only the completely different new look due to theme support and new icons, but also the internal changes necessary to make all this work. Hopefully I didn’t break too much.
  13. Uwe Raabe

    MMX 15 (Beta) Available

    OK, I found why I thought the problem to be fixed: It happens only under some complex conditions which were not always satisfied in my test configuration.
  14. Uwe Raabe

    MMX 15 (Beta) Available

    Indeed. Not sure what scenario I tested then. I am also wondering what Unit Dependency Analyzer has to do with it.
  15. Uwe Raabe

    Delete a Registry Key...

    Seems like the docs are mistaken here. The source code is more reliable and shows that subkeys are internally deleted.
  16. ArcTan2 produces the same result when both of its parameters are multiplied with the same factor. Thus dividing both by cnt before calling ArcTan2 has no influence on the result. In addition, ArcTan2 is pretty well capable of handling some special values like c = 0 (at least in non-ancient Delphi versions). There is no need to catch this case in advance.
  17. Uwe Raabe

    With's the deal with "With"?

    This is a quote from Knuth's C adaptation of the original Adventure game by Will Crowther:
  18. Uwe Raabe

    VCL-styled Popupmenu issue if imagelist is assigned

    Unfortunately some companies insist on having their corporate styling being reflected in their applications. Just because some colors are different from the Windows standard doesn't mean that one needs to learn how to use that UI. That is more related to uncommon handling of TAB vw. ENTER keys or the misuse of well known shortcuts.
  19. Uwe Raabe

    VCL-styled Popupmenu issue if imagelist is assigned

    Looks like this issue: Bug In popupMenu with VCL Style - fixed in 10.3.2
  20. Uwe Raabe

    IDE changes monitor when debug run

    As there seem to be people with different expectations, it would be best to make that configurable: Selecting Layout doesn't remember which monitor a form is on
  21. While working on a tool for cleaning up uses clauses I stumbled upon this beast (slightly changed to protect the innocent): {$if defined(DEBUG) or defined(DEBUG_SPECIAL)} uses {$ifend} {$IFDEF DEBUG} dialogs {$ENDIF} //<some comment about the following ifdef> {$IFDEF DEBUG_SPECIAL} mmsystem, // timeGetTime() messages {$ENDIF} {$if defined(DEBUG) or defined(DEBUG_SPECIAL)} ; {$ifend} If you are only looking for uses clauses inside some Delphi sources and try to avoid a full featured parser, you will have a pretty hard job to detect, parse and interpret that one correctly. So, if you are interested to make any use of such a tool, please do me a favor: Don't write your code that way! It is hard to read for humans anyway.
  22. Uwe Raabe

    No marker for modified source files

    At least that is much easier now than with these older Delphi versions.
  23. Uwe Raabe

    [Firedac] Connection Pooling

    While this may suit a single threaded application, the pooling approach is the recommended way for multi-threaded DB access. http://docwiki.embarcadero.com/RADStudio/Rio/en/Multithreading_(FireDAC)#Connection_Pooling
  24. Uwe Raabe

    No marker for modified source files

    Known issue: No visual marks of modified files
  25. Uwe Raabe

    Ide Rio: "Compile" not only one project

    That is not the usual behavior. There must be something special in your installation. Can you provide detailed steps?
×