Jump to content

Lars Fosdal

Administrators
  • Content Count

    3319
  • Joined

  • Last visited

  • Days Won

    110

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Strange behavior for literals

    On the other hand, very few major crises in Delphi development appear to have been caused by unclear constant types. For me, it is a bigger challenge that a typed constant is not regarded as an actual constant.
  2. Lars Fosdal

    Strange behavior for literals

    -5 shr 63 will always be 1.
  3. As always - Make sure the LSP logs, and report the crash on QP with the log attached.
  4. Lars Fosdal

    Strange behavior for literals

    @Kas Ob. Ref second tests: B and G reporting errors is correct. Int64(1) or NativeInt(1) shl 63 are negative numbers, which you cannot assign to an unsigned int. As for D, NativeUInt = 32-bit. Shifting a 1 63 places to the left in a 32-bit variable, should yield 0.
  5. Lars Fosdal

    Indy & OpenSSL 1.1.1 & TLS 1.3

    Any news on TLS 1.3 support? We will be needing it this autumn as the APIs we access will make it a mandatory requirement.
  6. Lars Fosdal

    Crash when Delphi 10.n exits... again

    Just curious - will changing the loading order of the plugins have any effect?
  7. Lars Fosdal

    Your RAD Studio 10.4 Sydney issues

    What I did to get my favorite color scheme from 10.3 to 10.4 and have it stick. In 10.4, go to Options | User Interface | Editor | Color With the current colors, just click on [Save As] and and give your personal scheme a name. I called mine Lars. This creates a Registry branch, named HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes\Lars In RegEdit, go to HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight (i.e. the Rio branch) Export to a file, f.x. MyColors.reg In MyColors.reg, you'll see Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight\Additional search match highlight] ... and so on Now, Open MyColors.reg in Notepad, search for "20.0\Editor\Highlight\" and replace it with "21.0\Editor\Highlight\Custom themes\Lars\". Add the two branch paths for good measure. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes\Lars] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes\Lars\Additional search match highlight] ... and so on Import the file into the registry, Restart the 10.4, go to Options | User Interface | Editor | Color and pick the custom theme "Lars".
  8. Lars Fosdal

    DeleteFile Compilation Message

    Or... add Posix.Unistd to the uses clause in the file where you use DeleteFile.
  9. Lars Fosdal

    DeleteFile Compilation Message

    It is. C:\Program Files (x86)\Embarcadero\Studio\20.0\source\rtl\sys\System.SysUtils.pas(1638): function DeleteFile(const FileName: string): Boolean; {$IFDEF POSIX}inline;{$ENDIF}
  10. I commented this in another thread, but it doesn't hurt to repeat it. When you find a problem with RAD Studio, make sure to create a report in https://quality.embarcadero.com And - please describe the problem properly! What you are trying to do The actual result you got The result you expected Most important: How to reproduce the problem - either as a detailed step by step description - or as a small, self-contained, compilable example project - or both of the above Better reports = better chance of getting stuff fixed.
  11. Lars Fosdal

    Your RAD Studio 10.4 Sydney issues

    Error opening IDE after using Migration tool to import old settings https://quality.embarcadero.com/browse/RSP-29126 Used 10.4 Migration tool. Imported Editor Settings ONLY from 10.3.3. Started 10.4 Delphi personality List Index out of range Interface not supported OK, OK Access Violation OK IDE Closes without having opened. The same thing happens again if you start the IDE again. Workaround: RegEdit: Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Options\ Remove "Known Editor Enhancements"
  12. Discovery = DFS Processing = BFS on Discovery -> Parallel worker threads processing queue? The efficiency depends on a part of Windows file share architecture that I have never dived deeply into. Coming from a single remote computer, will multiple concurrent file accesses be truly parallel, multiplexed or serialized?
  13. It could, if more people actually bothered to. But, yeah... I hear you.
  14. Vote like the feature depends on it!
  15. Lars Fosdal

    Can Rio and Sydney co-exist?

    I've always installed it under Program Files. Mostly because the corporate group policies give me a lot of hassle if I put stuff in "custom" places.
  16. Lars Fosdal

    GDB server problems in 10.4

    Please report it to EMBT
  17. Lars Fosdal

    Delphi 10.4 - Steps of Error Insight

    Yes, providing the LSP log would be very helpful.
  18. Thanks, Leif! Brainfart, I guess. Fixed the broken link in the original post.
  19. Lars Fosdal

    Delphi 10.4 - Steps of Error Insight

    Please create a report on qualityportal.
  20. Lars Fosdal

    Your RAD Studio 10.4 Sydney issues

    @vhanla - create your report in qualityportal. This not an Idera site, so just writing about it here will not be helpful.
  21. Lars Fosdal

    You RAD Studio 10.4 Sydney appreciated features and bug fixes

    The new Error Insight is GREAT! It works really well! After years of red squigglies for things that are not wrong, it is really nice to only see squigglies when something actually is wrong.
  22. Lars Fosdal

    Your RAD Studio 10.4 Sydney issues

    Hopefully, this could be a short thread. This report shows the last thirty days of RAD Studio reported issues. At the time of posting, 31 has been created today. https://quality.embarcadero.com/secure/ConfigureReport.jspa?projectOrFilterId=project-10000&periodName=daily&daysprevious=30&selectedProjectId=10000&reportKey=com.atlassian.jira.plugin.system.reports%3Arecentlycreated-report&Next=Next
  23. Thank you for these awesome tools, Vincent! The combo is used to manage our builds, unit testing and devops style push to test facilities. We are very happy with Continua CI and FinalBuilder and cannot do without them!
  24. Daniele's site seems to be blocked by the Syntax Highlighter from AlexGorbatchev.com being unreachable.
  25. Lars Fosdal

    Differences in displaying the tab character

    TMemo wraps a native windows control. TVirtualTreeView, all custom. Not sure if you can adujst tab rendering in TVTV, but you can set tab stops in TMemo http://delphitipsandtricks2.blogspot.com/2012/03/set-tab-stops-for-tmemo.html
×