-
Content Count
619 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Darian Miller
-
HTML Parser alternative to MSHTML?
Darian Miller replied to Darian Miller's topic in Delphi Third-Party
Wow, thanks for the code sample too. I have some more code you can write for me. 🙂 Does canvas choice matter in this case when just parsing? Seems like a canvas is required. (I added htcanvasgdi to uses clause.) -
HTML Parser alternative to MSHTML?
Darian Miller replied to Darian Miller's topic in Delphi Third-Party
Ah yes... I have only used that as a cool editor, but I'll check it out. Not sure why I didn't find "DelphiHTMLComponents.com", especially since I've been a paying customer for quite a while! LOL. Somedays are diamonds, some days are stones... My wife says I have "CRS" syndrome. (Can't Remember 'Stuff') -
Delphi 11.1 Crash on Search Menu Access
Darian Miller replied to MathewV's topic in Delphi IDE and APIs
It happened with a project that I have worked on nearly daily since the release of 11.1 (so not an one time initialization type event.) -
FWIW, this is a batch file I use for forcibly refreshing the icon cache without rebooting taskkill /f /im explorer.exe cd /d %userprofile%\AppData\Local del IconCache.db /a start explorer.exe
-
Delphi 11.1 Crash on Search Menu Access
Darian Miller replied to MathewV's topic in Delphi IDE and APIs
It happened to me for the first time this weekend. I could not replicate the issue. I believe I did have some text highlighted in the editor as I was copying to paste into the search form. -
Delphi on Windows 11 on MacBook Pro 16 (2021)
Darian Miller replied to Lars Fosdal's topic in Cross-platform
If you upgrade to 12.3 Monterey and use RAD Studio 11.1 - be aware that PA Server has a dependency on Python that is no longer present in 12.3. https://quality.embarcadero.com/browse/RSP-37609 -
TThread Resume Suspend deprecated (Not synchronization)
Darian Miller replied to Clément's topic in RTL and Delphi Object Pascal
There is nothing wrong with creating a suspended thread and then activating it later. That's a little different than calling Suspend on an active thread which needs much more care. -
Delphi 11.1 is available
Darian Miller replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
There is a problem in saving the setting. Make the change to one Theme and hit save seems to work. Making multiple changes doesn't always save. https://quality.embarcadero.com/browse/RSP-37602 -
Update from Marco on Twitter
-
This seems much more responsive today than in the past: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Main_Page I assume this is on new hardware. I'd call that progress.
-
Systemic failing of Embarcadero development and support or am I just paranoid ?
Darian Miller replied to CyberPeter's topic in General Help
They have a roadmap and have been updating it about once/year. Here's the info I've collected on it: https://github.com/ideasawakened/DelphiKB/wiki/Future-Releases-for-RAD-Studio-and-Delphi Marco covered the roadmap in the last DelphiCon. -
There are multiple issues with inline variables... I provided a partial list. It does work in some cases.
-
Inline variables were introduced with 10.3 back in 2018 and the tooling has not been updated yet to properly support them. I currently lump them in with GOTO and WITH statements. From my style guide: Do not utilize inline variables (first introduced in 10.3 in November 2018) until the tooling catches up. Some examples include: RSP-32507 Inline variable breaks the Methods drop-down box in Navigation Toolbar RSP-33176 Extract method refactoring broken by inline var definition RSP-33365 In-block variables break the "Find references" RSP-23096 Incorrect debugger values RSP-22089 Code Formatter Fails on Inline Vars See note from Marco on RSP-28948: May 14, 2020 The formatter is not related with CodeInsight and LSP and is an area we plan addressing next. GExperts is the way to go for now. It would be great to use the built-in formatter and then most of arguments/variances on formatting could be solved by using a shared formatter config file. (You don't argue, you simply hit CTRL-D, or do it automatically before check-in with the command line tool.)
-
Wow, very nice! Much appreciated!
-
Delphi 6 all of a sudden wants to be activated
Darian Miller replied to dummzeuch's topic in Delphi IDE and APIs
LOL. I have kept up this VM for a while and no apparitions just yet. I actually want to install DOS Box and put the TurboPascal versions on there but haven't gotten around to it. It does come in handy when trying to figure out what version some method/feature was added to Delphi. I recently created a new repo and added every \Source folder but there are a number of file moves which makes version control history a bit difficult. -
Delphi 6 all of a sudden wants to be activated
Darian Miller replied to dummzeuch's topic in Delphi IDE and APIs
Weekend project - update my "All Versions" VM for the last couple releases. One VM and all versions working again after a brief unexplained Delphi 6 license hiccup.. Removed a few excess VMs so I can have one old-version VM and one that I use daily with the latest-release. -
Delphi 6 all of a sudden wants to be activated
Darian Miller replied to dummzeuch's topic in Delphi IDE and APIs
And of course... after a few attempts at twiddling the registry, it works. Not sure what fixed it.. -
Delphi 6 all of a sudden wants to be activated
Darian Miller replied to dummzeuch's topic in Delphi IDE and APIs
Same thing has happened to me... unfortunately no apparent work around. Tried the suggestion from @pmos -
BestPractices: To raise, or not to raise ... an Exception in a class constructor
Darian Miller replied to Rollo62's topic in Algorithms, Data Structures and Class Design
Also consider passing items into a constructor rather than creating items within it to increase testability. -
List of most popular UI components for VCL
Darian Miller replied to Jaska's topic in Delphi Third-Party
Few more https://www.lmdinnovative.com/ http://www.bergsoft.net/en-us/products ReportBuilder, Fast Report, List & Label -
I have a section "Some reported new version issues" with RAD Studio 11 on my wiki that you could review: https://github.com/ideasawakened/DelphiKB/wiki/D28.ALEXANDRIA.11.0.0.0 It doesn't list all the issues, feel free to add yours if it's missing. I would recommend that you start the process and prepare your application for upgrade but don't perform the upgrade until it passes your testing. There was a patch released a month after RS11 was released, and another cumulative patch a month later. I would guess/hope that we will see another patch soon. Here's a link to a Quality Portal dashboard listing top active issues over the last few months. It would be another resource to review: https://quality.embarcadero.com/secure/Dashboard.jspa?selectPageId=14502
-
Marco covered the current roadmap is his KeyNote for DelphiCon 2021: https://blog.marcocantu.com/blog/2021-november-delphicon2021-keynote-replay.html Here's a DelphiCon talk on developing apps with Raspberry Pi with Delphi 11. https://delphicon.embarcadero.com/talks/developing-applications-for-the-raspberry-pi-with-delphi-11/ Here's a roadmap page from my wiki: https://github.com/ideasawakened/DelphiKB/wiki/Future-Releases-for-RAD-Studio-and-Delphi
-
Thoughts on using begin end merely to limit inline var scope.
Darian Miller replied to MarkShark's topic in RTL and Delphi Object Pascal
Until the tooling catches up, I wouldn't recommend inline variables. Refactoring can break, code formatting breaks, debugger gets confused... I really jumped into inline var usage and quickly hit a wall. Now they are banned from my code. -
I just started using Stefan's TestInsight tool and it's pretty cool. Blog post up tonight: https://www.ideasawakened.com/post/radauthenticator-part-3-upgrade-unit-testing-in-delphi-with-testinsight
-
Blog post on one-time password generation
Darian Miller posted a topic in Tips / Blogs / Tutorials / Videos
New blog post on one-time password generation in Delphi (TOTP standard). Second in a blog post series to create a Google Authenticator style multi-platform app in Delphi. https://www.ideasawakened.com/post/radauthenticator-part-2-generate-one-time-password-tokens-in-delphi-using-totp