-
Content Count
3319 -
Joined
-
Last visited
-
Days Won
110
Everything posted by Lars Fosdal
-
Strange behavior for literals
Lars Fosdal replied to Mahdi Safsafi's topic in RTL and Delphi Object Pascal
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. -
Strange behavior for literals
Lars Fosdal replied to Mahdi Safsafi's topic in RTL and Delphi Object Pascal
-5 shr 63 will always be 1. -
Embarcadero LSP Server for Delphi has stopped working
Lars Fosdal replied to dummzeuch's topic in Delphi IDE and APIs
As always - Make sure the LSP logs, and report the crash on QP with the log attached. -
Strange behavior for literals
Lars Fosdal replied to Mahdi Safsafi's topic in RTL and Delphi Object Pascal
@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. -
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.
-
Just curious - will changing the loading order of the plugins have any effect?
-
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".
-
Or... add Posix.Unistd to the uses clause in the file where you use DeleteFile.
-
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}
-
TIP: Reporting bugs for RAD Studio / Delphi
Lars Fosdal posted a topic in Tips / Blogs / Tutorials / Videos
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. -
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"
-
Depth First Search vs. Breadth First Search in directories
Lars Fosdal replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
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? -
Smart Pointers - Generics vrs non-generic implementastion
Lars Fosdal replied to pyscripter's topic in RTL and Delphi Object Pascal
It could, if more people actually bothered to. But, yeah... I hear you. -
Smart Pointers - Generics vrs non-generic implementastion
Lars Fosdal replied to pyscripter's topic in RTL and Delphi Object Pascal
Vote like the feature depends on it! -
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.
-
Please report it to EMBT
-
Delphi 10.4 - Steps of Error Insight
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
Yes, providing the LSP log would be very helpful. -
TIP: Reporting bugs for RAD Studio / Delphi
Lars Fosdal replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
Thanks, Leif! Brainfart, I guess. Fixed the broken link in the original post. -
Delphi 10.4 - Steps of Error Insight
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
Please create a report on qualityportal. -
@vhanla - create your report in qualityportal. This not an Idera site, so just writing about it here will not be helpful.
-
You RAD Studio 10.4 Sydney appreciated features and bug fixes
Lars Fosdal replied to Wagner Landgraf's topic in General Help
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. -
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
-
FinalBuilder 8.0.0.2863 Released - with support for Delphi 10.4 Sydney
Lars Fosdal replied to Vincent Parrett's topic in Delphi Third-Party
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! -
Should I separate common units to Public and Internal, or have all Public?
Lars Fosdal replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Daniele's site seems to be blocked by the Syntax Highlighter from AlexGorbatchev.com being unreachable. -
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