Jump to content

Martin Sedgewick

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Martin Sedgewick

  1. Martin Sedgewick

    RS 11 FMX zip file with password

    I have just found this issue with TEncryptedZipFile in Delphi 11 worked in 10.4 with no issue in 11, I cannot unzip using 7zip @Uwe Raabe Is this something you have already noticed or tackled yourself?
  2. Martin Sedgewick

    Delphi 11 November Patch

    it appeared for me on the welcome screen and installed with no issues through GetIt luckily I do not yet have any toolbar customisations. So no shouting here. Seems an annoying problem which should be raised if not and fixed.
  3. Martin Sedgewick

    Bookmarks dead?

    @David Millington Is this plugin one that you personally still develop or has it been brought into Embarcadero development? Any update on the plugin. As you can tell it is much loved and we are all waiting for the latest version 😄 EDIT: I can see David hasnt been on the forum for 2 months. so might be best to reach out elsewhere.
  4. Martin Sedgewick

    Herb Sutter on C++20

  5. Martin Sedgewick

    Looking for Spreadsheet component

    The TMS component to use would be the TAdvSpreadGrid if you were looking at TMS. MAKE THE GRID FORMULA-AWARE WITH TADVSPREADGRID https://www.tmssoftware.com/site/gridpack.asp Simple formula editing interface Auto recalculation Single cell recalculation, full recalculation Extensive range of mathematical functions Save with formulas Single cell references in formulas Cell range formulas Formula precision for grid on cell basis Display formulas or formula results Date / time functions Intelligent formula aware copy and paste Can be extended with custom functions Cell names Cell name mode can be RxCy style or A1-style Formula & constants libraries Inter grid formulas
  6. Martin Sedgewick

    Hot Reload in Delphi?

    I remember years ago watching a video of "Notch" using Java to create a game and he leaned heavily on hot reload. It was immediately obvious the benefits. The game was running. He modified some function or other and hit a key and the game updated with the change. The time saved over days, weeks and months would be incredible. Obviously it depends on the software. but if you have to compile, run, login, get to point X it all adds up.
  7. Martin Sedgewick

    RAD Studio 11 Alexandria Patch 1 Available

    I am a big fan of this new way of patching. Gets some issues out quicker than waiting on Update 1 which could be months away. Hopefully these fixes are a benefit to many. Nice to see they have fixed the XP TThread issue, which they didnt have to fix, but keeps everyone who needs it working on XP for a while longer without having to apply a workaround
  8. Martin Sedgewick

    splitting interface + implementation

    https://stackoverflow.com/questions/1011006/separating-interface-and-implementation-classes-in-delphi found this - which has the "include files" Thomas mentioned.
  9. Martin Sedgewick

    splitting interface + implementation

    I have not heard of doing that. Why would you want to do that? Have you a specific reason?
  10. Martin Sedgewick

    win32 exe compiled in Delphi11 does not run on W2000

    Excellent, although Kudos should go to @Darian Miller for maintaining the resource.
  11. Martin Sedgewick

    win32 exe compiled in Delphi11 does not run on W2000

    https://github.com/ideasawakened/DelphiKB/wiki/D28.ALEXANDRIA. This might help Can no longer build executables for Windows XP without customization: Project Options->Building->Delphi Compiler->Linking->Set OS Version fields in PE Headers (and Set SubSystem Version fields in PE Headers" to 5.1 (it now defaults to 6.0) If you use System.Threading, then need to change GetTickCount64 references to a new routine matching something like the code below and then use a modified system.thread.dcu in your projects (or update \lib\win32\debug and \lib\win32\release with new versions of System.Threading.dcu) More info from Michal Mutl on Delphi PRAXIS forum message function _GetTickCount64: UInt64; begin if TOSVersion.Major<6 then Result := TThread.GetTickCount else Result := TThread.GetTickCount64; end; XP Compatibility notes As reported by Marco Cantu on Delphi PRAXIS, better HighDPI support was the reason for the PE header change. And the GetTickCount was un intentional. Changing the PE format to target newer versions was a design decision. It's the same Visual Studio does. And it does make a difference in the results when invoking some HighDPI related Windows APIs. They fail to return the right value if the app is for XP, so if you change the PE setting (doable) you'll have some trouble on the latest systems. The introduction of an XP breaking issue with GetTickCount64 was not intentional and discussed. We don't test on XP by design, no one in the beta did, most likley. While we don't officially support XP, such a simple change is doable -- as long there is zero impact on newer systems and it costs a limited time. I doubt we'll release a patch for it, though...
  12. Martin Sedgewick

    Missing The Old Forums

    Off Topic FLAME WARS are much missed 😄
  13. Martin Sedgewick

    Parnassus Bookmarks for Delphi 11 Alexandria?

    It is David Millington that wrote this, and I think I am right in saying they usually get updated a few weeks after each release. He will have been focused on the D11 launch until now.
  14. Martin Sedgewick

    FastMM4 with D10.4.2 -- need $G ???

    I have had this while using the Mormot library for years. It is FastMM related and I need to go into the mormot library and uncomment the FastMM stuff. Only happens when compiling custom packages though, never had it outside of that scenario.
  15. Result := Boolean(0); I found that code hard to read mostly due to code formatting and naming. But this stood out when I scanned down. Why would you do this? why would you do this in Delphi? Result := false; Result := true; Surely this is more readable. Is there a performance thing going on underneath with a Boolean cast? On error/exception handling, as said above, far too broad to answer - more details would be needed or an example to help with this.
  16. Excellent work! Well written article and kudos for the links to expand on the subject. I am going to watch the videos and read the links now. 🙂
  17. Martin Sedgewick

    Love your competitor :-) ..... ?

    lol. sounds like someone needed an excuse for their own bugs! I am sure Bill Gates never had time to do this, all his time was on creating the Covid Vaccine! "Honestly, Guv`nor, my code is perfect, it must be Windows" I am about to attach this as evidence to all my bugs so they can be closed.
  18. Martin Sedgewick

    Delphi 10.4.2 first impressions

    Migration Tool works great for me. It looks like they have added more capabilities in the tool, but I just take all the settings. I do use TMS and I took the opportunity to upgrade to the latest versions so not sure if I actually needed to reinstall them. Looks like a fantastic release and I am looking forward to seeing the quality improvements in action.
  19. Martin Sedgewick

    10.3.1 has been released

    NEW in 10.3.1 10.3.1 includes the following enhancements: ● IDE Productivity Tooling: With Bookmarks, Navigator, and code minimap, developers can quickly move around their code, useful in large units; locate and remember important areas; and visually quickly scroll through their current code within the IDE ● Expanded support for iOS 12 and iPhone X series devices, addressing upcoming App Store requirements ● RAD Server Console UI redesign and migration to the Ext JS framework, providing an enhanced user experience when viewing RAD Server API analytics ● Improved FireDAC support for Firebird 3.0.4 and Firebird embedded ● HTTP and SOAP Client Library Enhancements on Windows ● New VCL Windows and FireMonkey Multi-Device Styles for quickly updating the look and feel of an application ● Fixes to over 150 customer-reported bugs Wiki entry: http://docwiki.embarcadero.com/RADStudio/Rio/e/index.php/10.3_Rio_-_Release_1 Specific Bug fixes: http://docwiki.embarcadero.com/RADStudio/Rio/en/New_features_and_customer_reported_issues_fixed_in_RAD_Studio_10.3.1
  20. Martin Sedgewick

    IDE Fix pack for Rio

    https://andy.jgknet.de/blog/2019/03/ide-fix-pack-6-4-released/ Changelog Fixed: Packages with duplicate units may not have caused a fatal compiler error. Added: Support for Delphi 10.3 Rio Added: StyleUtils.inc performance optimizations for faster UI rendering (D10.3) Added: Infinite loop detection in TDebugger.UpdateEventLog Added: Fix for TStringList.IndexOfName bug (RSP-21633) Added: Fix for access violation in the Welcomepage JScript9.dll binding Added: TCustomListBox.ResetContent is skipped if the handle isn’t created yet Added: More STRINGCHECKS-free RTL code (2009/2010) Added: More DFM Streaming optimizations Added: RTL and DFM streaming patches to remove STRINGCHECKS (2009/2010) Added: Removed VclFixPack OutputDebugString calls (2009) Added: FillChar uses Enhanced REP MOVSB/STOSB cpu feature if available for large sizes. Added: Enabled CPU LOCK string assignment optimization for local variables Added: -Oe (experimental optimizations) and -x-cgo compiler option extension Added: CodeGen: Remove of some unnecessary push/pop operations Added: Expression Evaluator allows array access to pointers even if the type wasn’t declared with {$POINTERMATH ON} Added: Max number of constants in a function was increased from 64K to 16M (2009-XE3) Added: New compiler option extensions: -x–compileonly, -x–reslist, -x–depfile, -x–unitstats Added: More performance optimization for the DCC64 compiler Added: TStringBuilder.SetLength optimization [RSP-19178] (XE+) Added: TStrings.GetDelimitedText optimization Improved: Slight faster TStringList.IndexOfName optimization for sorted string lists.
  21. Martin Sedgewick

    10.3.1 has been released

    Yes, this is normal for Rad Studio.
  22. Martin Sedgewick

    Rio quality disappoint

    Do you think some hints at compile time like "You have a lot of components on this form which may impact performance"? That seems like something that could be hinted at, and you could always switch it off. IDE Fix is a must!
  23. Martin Sedgewick

    Rio quality disappoint

    I have used Rio since the Beta and while I have found a few small bugs/issues, I have used it almost problem-free. I do not experience CPU load or flickering. But I dont use GetIt, I think the issues will depend on what the IDE is used for, and how. Update 1 will hopefully be sometime soon, and should fix a lot of problems. It is a shame we don`t get a rolling Beta for this, which would increase confidence in what was coming. Regardless, I am happy with what is there, with the understanding that there are a lot of bugs to fix. Fingers crossed we hear something soon about Update 1!
  24. Martin Sedgewick

    Amazing support at TMS

    Agreed, TMS provide a great response. I had a similar experience and had a fix within a day, and a workaround. Great product and support!