Jump to content

Uwe Raabe

Members
  • Content Count

    2910
  • Joined

  • Last visited

  • Days Won

    170

Everything posted by Uwe Raabe

  1. Uwe Raabe

    Hot Reload in Delphi?

    That is basically what you already can achieve with Delphi when you work with dynamic package loading. The point with such an approach is that the code must be able to store and restore states between a reload.
  2. They are visual in the designer and the designer has to know the resolution the datamodule has been designed last. I know this is annoying and even error prone. That's why I made a suggestion to store all dfm with an implicite PixelsPerInch value of 96 and scale only for designing: Option to design in Screen PPI but save in 96 PPI That may cause the non-visual components on the datamodule moving out of sight in the designer when the datamodule is opened about 2-3 times.
  3. Uwe Raabe

    Hot Reload in Delphi?

    The current debugger lets you simply drag the execution pointer to a line before or after the current position:
  4. That raises the question: How much of the subscription price is declared being used for patching older versions? (and can I exclude that from my subscription when I don't need that?)
  5. I suspect smart loading is tripping in here. The registration of TPngObject is done when the TPngComponents package is loaded. As TPngComponents is a runtime package, is it loaded when the design time package PngComponentsDesign is loaded. The smart loading feature of the IDE loads design time packages when a component registered by that package is needed, be it by opening a form containing such a component or by dropping such a component onto a form. You can try to fix that by yourself: Open PngComponentsRegister.pas and add the line ForceDemandLoadState(dlDisable); at the beginning of the Register procedure. Then compile and install the design time package again. procedure Register; begin ForceDemandLoadState(dlDisable); //Register all components RegisterComponents(SPageName, [TPngSpeedButton, TPngBitBtn, TPngImageList, TPngImageCollection, TPngCheckListBox]); //Register component editors
  6. Looks all pretty decent to me. I'm out of ideas what can be the cause of these problems.
  7. Uwe Raabe

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Probably there are reasons...
  8. The 32-Bit design package also needs the 32-Bit runtime package. The 64-Bit runtime package is only needed if you build a 64-Bit exe and build it with packages.
  9. Uwe Raabe

    Conflict with TestInsight

    Well, that may indeed be problematic. The fact that I have a 16 core machine may hide that here. I will think of something to make the multi-threading optional, but there always has to be at least one thread besides the main one.
  10. Uwe Raabe

    Moving from Per Monitor V1 to V2

    Not quite. If you declare your program as Per Monitor V2 aware you have to implement it this way. Otherwise things will probably look a bit ugly. Most of these events are handled by the VCL, but you should expect a few remaining problems - just be prepared.
  11. Uwe Raabe

    Conflict with TestInsight

    I cannot reproduce here, neither in Delphi 11 nor in Delphi 10.4.2. The only difference is that I installed both plugins the other way round. One could bitch about the incomplete High DPI support of the TestInsight window, but that is a rather minor issue.
  12. Make sure that RegisterOldPngFormat is defined in the PngComponents project.
  13. There have been almost 8 weeks between the report (Priority: Major) and the release. Just sayin...
  14. I have just uploaded the sources for the Code Coverage Plugin shown during my session at EKON 22 on Monday. Besides its functionality it may also give some guidance on writing IDE plugins in general. https://bitbucket.org/uweraabe/codecoveragemagician Tested only on Delphi 10.2.3 Tokyo!
  15. Uwe Raabe

    IDE Code Coverage Plugin available

    These issues should be fixed now. They crept in when I made the necessary changes for the Delphi 11 version. It turns out that having form inheritance for a TDataModule didn't work out well with adding toolbars and actions to the IDE. After I split the images into a separate data module and got rid of the inheritance all worked well as before. Interestingly Delphi 11 didn't suffer from this.
  16. Uwe Raabe

    Found and remove unused uses units

    Peganza Pascal Analyzer - the Lite version is even free.
  17. Uwe Raabe

    IDE Code Coverage Plugin available

    I don't know how others are going to detect code coverage, but I know of AQTime and Nexus Quality Suite (formerly TurboPower Sleuth QA) also have a significant performance drop when too much code is profiled at once. Given that I have no information of your intentions for code coverage, I can only cite the plugins readme: While the TDD approach lets you write tests before code and implement only what is needed to make the test green, reality often has existing code that needs tests. In that case the workflow is to write a test and add test cases step by step until all code paths are covered. That's where the code coverage plugin can help. Just curious, can you elaborate how your are planning to use code coverage for almost the whole project at once? What information are you expecting to get from that?
  18. Uwe Raabe

    IDE Code Coverage Plugin available

    I doubt that. The code coverage is done by setting a special breakpoint in each code line. That might get a bit slow with 5 million breakpoints. I recommend to do code coverage on one or very few methods at once.
  19. Uwe Raabe

    IDE Code Coverage Plugin available

    There seem to be problems with the toolbar buttons in all Delphi versions except Delphi 11. In Delph i 10.4.2 there is even a crash when installing the plugin from the IDE. I will try to track that down as soon as my schedules allow.
  20. Uwe Raabe

    D11 - A bridge too far.. :-(

    I didn't have these problems. All 3rd party libraries I use come with sources and can be adapted to a new Delphi version in a reasonable time frame even without any help of the vendor. Usually I can compile my main project within 1 - 2 days after the first beta drop. There are differences in the effort needed for each library, though. Not everyone took an update friendly approach.
  21. Uwe Raabe

    IDE Code Coverage Plugin available

    I missed to push a commit. Should work now with the latest change.
  22. Uwe Raabe

    IDE Code Coverage Plugin available

    Simply because I started with Tokyo and updated to newer versions only. I will see how far back it can work without too much of a hassle.
  23. Uwe Raabe

    IDE Code Coverage Plugin available

    @Jim McKeeth Here it is: Delphi Code Coverage Plugin
  24. Fine (well, somehow). Does it happen only on Win7 or can you see that on Win10, too?
  25. I'm afraid that may be out of my scope here. Delphi 11 states it requires Win10+ and the error occurs with Win7 inside System.TypInfo.GetEnumName, but it does not happen here in Windows 10. If you can reproduce with Win10 I will try my best to reproduce it on my side. Sorry, but I'm not going to install Delphi 11 on Win7 here to trace a bug in an unsupported environment.
×