Jump to content

David Hoyle

Members
  • Content Count

    186
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by David Hoyle

  1. David Hoyle

    OTA Ide Shutdown

    The issue will be the timing of the events. Your main wizard will get destroyed at some point but I assume you are looking for the time period between File | Exit, etc and shutdown. I've not got an IDE available but you could install my notifier plug-in (https://github.com/DGH2112/DGH-IDE-Notifiers) (experimental) and switch on all notifiers and then close down the IDE then examine the log file to see what happens.
  2. I find winmerge works fine for both diff and merge but since I’m the only developer of my software it’s rare that I’ll do any parallel flows of work
  3. I moved from JEDI VCS (don't laugh) to Git about a year ago and I don't regret it one bit. Git provides me with functionality that's invaluable especially if used with Git Flow. I use SourceTree as recommended above for most of the work (dark theming coming soon to Windows) but it cannot do all the full Git Flow so I've created some Custom Actions for the missing bits or just drop to the command line. If you want to learn more there is a PDF called Git Pro (https://git-scm.com/book/en/v2) which is definitely worth a read.
  4. David Hoyle

    Memory used by a procedure?

    I believe CodeSite can log memory at any point but I’ve not tried it to see whether it’s suitable
  5. David Hoyle

    [3D] Why do i need to use negative Y values to go UP?

    Just thinking about it, its probably based on how Latin based languages are read, left to right, top to bottom.
  6. David Hoyle

    [3D] Why do i need to use negative Y values to go UP?

    See this https://docs.microsoft.com/en-us/windows/desktop/gdi/window-coordinate-system. You can use MapWindowPoint() to change the coordinate geometry that you use.
  7. David Hoyle

    10.3 Consumes 45% of my CPU

    @John Kouraklis Export the following key from the registry and then delete it HKCU\Software\Embarcadero\BDS\20.0.
  8. David Hoyle

    10.3 Consumes 45% of my CPU

    @John KouraklisWhen you cleaned the machine of the existing installation of RAD Studio, did you manually clean the registry of the erroneous entries (I assume that you didn't re-install the OS)?
  9. Thomas, I use INI files as some of my apps generate a lot of persistent information. I was put off the registry in the early days of 32-bit OSs due to the number of corrupts that occurred (not necessarily to me). Additionally, I can backup the ini files and restore them if needed - not so easy with the registry. Lastly, my INI files contain the username and computername so would not be used on another machine is roaming profiles were actually roamed (my company stop this very soon after it was available due to the increased login and logoff times.
  10. A short article going through configuring FastMM to log memory leaks in your unit tests. https://www.davidghoyle.co.uk/WordPress/?p=2089
  11. David Hoyle

    10.3 Consumes 45% of my CPU

    I understand your frustration but without knowing your configuration its a little difficult. What third party components / plug-ins do you have installed? Does this happen with a specific form / unit in your project or does it happen with a sample application that comes with Delphi? If you have plug-ins, does disabling them sort the problem?
  12. I had a lot of issues with Norton/Symantec's SONAR technology and InnoSetup a few years back (it reported suspicious activity but would not say what) and submitted false positives to Norton/Symantec to get the issues fixed. I think because Delphi is used by some to write viruses the security firms are being lazy and just identifying portions of RTL code rather than the actual virus code. I did report what I had experience to the maintainer of InnoSetup but I didn't get a response.
  13. David Hoyle

    10.3 Consumes 45% of my CPU

    Installing windows debugging tools (part of the windows SDK) and setting the symbol server (D:\Symbols\ is the location to download the symbols, everything else could / should stay the same) may help... You'll then get better resolution in the call stack.
  14. David Hoyle

    10.3 Consumes 45% of my CPU

    Yes, that's the right application but you need to select BDS, right click and select Properties and then go to the threads tab, find the thread burning the CPU and double click for the call stack...
  15. David Hoyle

    10.3 Consumes 45% of my CPU

    I assume there are no third party packages installed at this time? If you inspect the call stack of the IDE at these times with Process Explorer, what does it indicate is the source of the issue? I've been using Rio for a week now and slowly adding third party (and my own) IDE plug-ins and third party components and have not experienced these issues.
  16. David Hoyle

    GExperts 1.3.12 beta for Delphi 10.3 Rio available

    Thomas, Its the first item you've described. I noticed that this was okay with 10.2.3 when themed with a Dark Theme. Its might be that all it needs is IOTAIDEThemingServices.ApplyTheme(Component) to be called on the pop-up menu before it is made visible. I'm currently not in a position to be able to try this as I have a bunch of stuff to get loaded into Rio before I could get GExpert compilable. Unless you do any owner drawing - if so that's a little more work.
  17. David Hoyle

    GExperts 1.3.12 beta for Delphi 10.3 Rio available

    Thomas, When I press CTRL+H to display the Editor Experts, the popup menu is drawn such that the text cannot be read for the items (see attached image - also the toolbar is not themed).
  18. David Hoyle

    Bring codeSite LiveView window to front by code?

    Uwe, agreed but there was not enough information in the original question.
  19. David Hoyle

    Bring codeSite LiveView window to front by code?

    I don't think there are any methods of CodeSite to do this simply because there is a distinct separation between the logging and the viewers (you can output to file instead of the live viewer for instance). So the only over way would be to enumerate the desktop windows and find the CodeSite Live Viewer and get windows to do this.
  20. David Hoyle

    GExperts 1.3.12 beta for Delphi 10.3 Rio available

    Thomas, I disabled these experts but the same issue occurred. I restarted the IDE and the error was gone. So, yes, its these experts that are causing but you need to restart the IDE after disabling them.
  21. David Hoyle

    GExperts 1.3.12 beta for Delphi 10.3 Rio available

    Unfortunately I've had to disable GExperts for Rio as when I right click on the editor I get an exception that a component with the name "ecSwapCppHdrFiles" already exists.
  22. David Hoyle

    Reset the editor modified status in IDE

    In instance 1) you either need to Save the file or rollback all the changes. If you're trying to show an alternate view of a line of text in the editor then I think you getting into the territory of hacking the IDE and drawing something over the top of the information in the editor. I think David Millington wrote at least one article on this before he joined Embarcadero (https://parnassus.co/mysteries-ide-plugins-painting-code-editor-part-2/). On point 2, you might need to see if the editor is viewing a DFM file to understand whether the editor is viewing a .pas file of the .dfm file. You might need notifiers so have a look at the following: https://www.davidghoyle.co.uk/WordPress/?p=1272; https://www.davidghoyle.co.uk/WordPress/?p=1761; https://www.davidghoyle.co.uk/WordPress/?p=1810
  23. David Hoyle

    Reset the editor modified status in IDE

    With reference to 1) The coloured bars are an interval feature of the editor and are not (AFAIK) exposed via the OTA. The only other way to re-set these, not sure why you want this, is to close the module and then reopen it. With reference to 2) the OTA does not expose a method for this (AFAIK) but you might be able to fudge it by sending a keystroke combination to the editor / form designer. What are you actually trying to do as we may be able to suggest an alternate way of doing it?
  24. I've written a short article on theming Open Tools API custom messages in IDE plug-ins because one of my projected stop working correct when theming was enabled in RAD Studio 10.2.2. https://www.davidghoyle.co.uk/WordPress/?p=2044 Dave.
  25. Switch off the option to scroll to the newest message, Auto Scroll (F6), Fifth icon from the right on the top toolbar.
×