-
Content Count
186 -
Joined
-
Last visited
-
Days Won
2
Everything posted by David Hoyle
-
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.
-
version control system Version Control System
David Hoyle replied to Soji's topic in Delphi IDE and APIs
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- 49 replies
-
- git
- subversion
-
(and 1 more)
Tagged with:
-
version control system Version Control System
David Hoyle replied to Soji's topic in Delphi IDE and APIs
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.- 49 replies
-
- git
- subversion
-
(and 1 more)
Tagged with:
-
Memory used by a procedure?
David Hoyle replied to John Kouraklis's topic in RTL and Delphi Object Pascal
I believe CodeSite can log memory at any point but I’ve not tried it to see whether it’s suitable -
[3D] Why do i need to use negative Y values to go UP?
David Hoyle replied to Memnarch's topic in FMX
Just thinking about it, its probably based on how Latin based languages are read, left to right, top to bottom. -
[3D] Why do i need to use negative Y values to go UP?
David Hoyle replied to Memnarch's topic in FMX
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. -
@John Kouraklis Export the following key from the registry and then delete it HKCU\Software\Embarcadero\BDS\20.0.
-
@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)?
-
Remembering an Application’s Size and Position on Multiple Screens
David Hoyle replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
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. -
A short article going through configuring FastMM to log memory leaks in your unit tests. https://www.davidghoyle.co.uk/WordPress/?p=2089
-
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?
-
Any other Delphi download tagged as "Harmful Download" from Google ?
David Hoyle replied to HelpNDoc's topic in General Help
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. -
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.
-
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...
-
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.
-
GExperts 1.3.12 beta for Delphi 10.3 Rio available
David Hoyle replied to dummzeuch's topic in GExperts
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. -
GExperts 1.3.12 beta for Delphi 10.3 Rio available
David Hoyle replied to dummzeuch's topic in GExperts
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). -
Bring codeSite LiveView window to front by code?
David Hoyle replied to Edwin Yip's topic in Delphi Third-Party
Uwe, agreed but there was not enough information in the original question. -
Bring codeSite LiveView window to front by code?
David Hoyle replied to Edwin Yip's topic in Delphi Third-Party
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. -
GExperts 1.3.12 beta for Delphi 10.3 Rio available
David Hoyle replied to dummzeuch's topic in GExperts
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. -
GExperts 1.3.12 beta for Delphi 10.3 Rio available
David Hoyle replied to dummzeuch's topic in GExperts
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. -
Reset the editor modified status in IDE
David Hoyle replied to Kryvich's topic in Delphi IDE and APIs
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 -
Reset the editor modified status in IDE
David Hoyle replied to Kryvich's topic in Delphi IDE and APIs
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? -
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.
-
Any way to improve the CodeSite Live Viewer's performance?
David Hoyle replied to Edwin Yip's topic in General Help
Switch off the option to scroll to the newest message, Auto Scroll (F6), Fifth icon from the right on the top toolbar.