-
Content Count
2857 -
Joined
-
Last visited
-
Days Won
101
Everything posted by dummzeuch
-
1GB SVN repo free from Perforce... and Git Sucks.
dummzeuch replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
I'm certainly not going to host proprietary source code, support tickets etc. on the servers of a company situated abroad particularly not in the US of A. They are certain to give access to any so called security service who are known to share their information with any American company that might get an advantage from it. And that toddler in the White House doesn't exactly inspire confidence either. No, I don't think that my programs are of particular interest to the CIA, but the company I work for is part of TÜV Rheinland, who in it's own words "is a global leader in independent inspection services,". They might come under scrutiny by the US government at any time for whatever reason. I have to admit, that sounds paranoid coming from a Windows user. 😉 But: "Just that you are paranoid doesn't mean that they are not out to get you." (Whoever said that. Was it in Catch 22 ?) -
dzBdsLauncher tries to solve the problem of accidentally opening a Delphi project with the wrong Delphi version. The latest version 1.0.2 now also detects .DPROJ file from Delphi 10.3.3. See the dzBdsLauncher page for details. https://blog.dummzeuch.de/2019/11/23/dzbdslauncher-1-0-2-released/
-
1GB SVN repo free from Perforce... and Git Sucks.
dummzeuch replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
This just got me wondering what you'd use such a repository for? There are many free hosting sites for open source projects, several still providing svn (SourceForge being the best known, but there are more). 5 users also does not sound like open source, so is it for commercial use? But in that case why would I not host the repository myself? We are a company with only 3 developers and host our own svn server on a Linux box and I never even thought of doing this any differently. -
Are you sure about that? What about a packed record which starts with a byte followed by an integer? Is access to that integer atomic? On all platforms?
-
No, i didn't (but I didn't ask Code Partners either). I'm also currently not interested in buying more licenses.
-
Found it: https://www.embarcadero.com/de/radoffer RAD Studio 10.3.3 Spezialangebot! Kaufen Sie eine neue Version 10.3.3 von Delphi, C++Builder und RAD Studio und Sie sparen 10% bei Professional, 20% bei Enterprise oder 25% bei Architect (Sorry for pasting HTML formatted, I'm on mobile and can't filter it out.) So it's not as good as in Australia. (And also not 30% but 20% for enterprise)
-
... or use a variable type that does not require such protection because access is atomic, e.g. an integer on Windows (not sure about other platforms).
-
When did the Delphi built in code formatter become useable?
dummzeuch posted a topic in Delphi IDE and APIs
I remember that the first versions of the build in code formatter (Delphi XE +) were little more than a proof of concept. There were so many bugs that using it basically destroyed readability and created more work than it saved. Because of that I never actually used it, so I don't know how much better it is nowadays. What was the first Delphi version in which you started to use it (if any)? (I can't make this a poll because there are so many options: XE1 to XE8 + 10.0 to 10.3 = 12 options) -
When did the Delphi built in code formatter become useable?
dummzeuch replied to dummzeuch's topic in Delphi IDE and APIs
The reason why I asked was because currently GExperts per default disables the Code Formatter expert for Delphi versions that already have one (at least that's what I thought, turned out it was wrong, because there was no built in formatter in Delphi XE). I was hoping to get an answer along the lines "The built in one works fine since version X, but after reading this thread I am not sure what to do there. Maybe I should simply turn it on by default [period]. -
Creating an array of controls in Delphi
dummzeuch posted a topic in Tips / Blogs / Tutorials / Videos
One frequently asked question that still gets asked today goes like this: “How do I create an array of [component] and fill it with existing [component] instances from the form?” Where [component] usually is TLabel, TCheckbox or TEdit. I’m going to outline some solutions here. Let’s start by defining some parameters: We have got a (VCL) form On that form there are several controls of the same type. Let’s make them CheckBoxes. We want to do something with all these controls In order to make this easier, we want to create an array that contains all these controls So, this is the form: read on in my blog post -
When did the Delphi built in code formatter become useable?
dummzeuch replied to dummzeuch's topic in Delphi IDE and APIs
Oh sh*t, I should not have started looking for code formatter bugs in QP. There are just so many and some of them also don't work for the GExperts one: type TListOfList<T: TData; U: TDataList<T>> = class procedure foo; overload; virtual; procedure foo(i: Integer); overload virtual; end; https://sourceforge.net/p/gexperts/bugs/156/ https://quality.embarcadero.com/browse/RSP-16661 -
When did the Delphi built in code formatter become useable?
dummzeuch replied to dummzeuch's topic in Delphi IDE and APIs
Try to format this: procedure TForm1.Button1Click(Sender: TObject); var test: record a: integer; b: double; end; dt1: record dt: tdatetime; s: string; end; begin end; it becomes this: procedure TForm1.Button1Click(Sender: TObject); var test: record a: Integer; b: Double; end; dt1: record dt: tdatetime; s: string; end; begin end; And don't tell me that's any known coding style. 😉 Yes, I reported it: https://quality.embarcadero.com/browse/RSP-18273 And yes, the GExperts code formatter works fine for it. (There are no known problems left. edit: Now there is: https://sourceforge.net/p/gexperts/feature-requests/89/ ) -
When did the Delphi built in code formatter become useable?
dummzeuch replied to dummzeuch's topic in Delphi IDE and APIs
Actually it was added in XE4 (I just checked, the editor popup menu entry appears there the first time). So that must have been the first version where I tried it and found it severely lacking. -
Creating an array of controls in Delphi
dummzeuch replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
I'm not talking about dynamically adding checkboxes to groupboxes at runtime, but about adding those created in the designer to an array for easier processing. -
Uses Clause Manager - Showing the filepath of the selected unit in the StatusBar
dummzeuch replied to PeterPanettone's topic in GExperts
The full source filenames are now cached and added whenever they are available (e.g. when the identifier parser finishes or when the project units parser does not use the map file but the dpr), so they rarely need to be searched for again. This speeds up updating the status bar quite a lot and prevents the annoying lags when scrolling through the lists which was previously caused by the search. I haven't tried it on a slow computer yet, but I am confident that this change makes quite a difference there too. -
Actually: It should be easy for yet another expert (yet another GExperts menu entry 😉) to hide some of the menu entries of the IDE. Or, since there is already an expert for changing the menu shortcuts of the IDE, it could be extended to also allow hiding those entries. In that case obviously not.
-
I think you are talking about different "main menus" here. 😉 @Stefan Glienke Yes, it's getting larger (which annoys me too sometimes), but do you really use all the experts? You could simply disable those you don't use which removes them from the menu. Organizing it into submenus would be a major change since currently the menu is built by enumerating all the experts and adding an entry for all that are active. Feel free to submit a feature request though. One day I might get bored enough to do it or maybe somebody else does it and submits a patch.
-
Delphi 10.3.2 CE: ReadOnly on units doesn't work anymore
dummzeuch replied to Silver Black's topic in Delphi IDE and APIs
I just tested the Read Only option of with Delphi 10.3 professional. It works fine with GExperts installed, so it probably isn't the culprit. Also, disabling GExperts from the experts manager while it is acive in the IDE works fine for me (after restarting the IDE, GExperts is gone). Enabling it via the stand alone Experts manager brought it back. So everything seems to work as expected. I do use GExperts every day. I don't use Delphi 10.3. I only have it installed to compile and test GExperts. And every time I have to use it I curse it. I don't use the dark theme and I have got lots of more interesting things to do than implementing theming in GExperts. I already had enough trouble to keep GExperts functional when Embarcadero changed the light mode to also be a theme. So, unless somebody submits a patch for this and fixes all the bugs it will most likely cause, theming in GExperts won't happen. -
Delphi 10.3.2 CE: ReadOnly on units doesn't work anymore
dummzeuch replied to Silver Black's topic in Delphi IDE and APIs
If I remember correctly there is a stand alone version of the expert manager in the start menu. -
Delphi 10.3.2 CE: ReadOnly on units doesn't work anymore
dummzeuch replied to Silver Black's topic in Delphi IDE and APIs
If you think GExperts may be the culprit, disable it with the Expert Manager, restart the IDE and see whether it solves the problem. -
More improvements to the Uses Clause Manager
dummzeuch replied to PeterPanettone's topic in GExperts
I know I can do that. But you were the one who proposed to use this code so it's your responsibility to check the license. -
More improvements to the Uses Clause Manager
dummzeuch replied to PeterPanettone's topic in GExperts
Have you checked the license of that library? -
More improvements to the Uses Clause Manager
dummzeuch replied to PeterPanettone's topic in GExperts
Revision #2848 Note: I have put the new function into GX_GenericUtils because GX_dzOsUtils is supposed to contain only code from my u_dzOsUtils unit (which is part of dzlib). -
There is some testing code for setting DefFontData in GExperts: https://sourceforge.net/p/gexperts/code/2844/ Just in case somebody wants to test it. For now these controls are hidden and the settings are not persistent. It seems to work, but has some undesired side effects.
-
More improvements to the Uses Clause Manager
dummzeuch replied to PeterPanettone's topic in GExperts
Basically the same, but I used the OpenExplorerAndSelectFile function in u_dzOsUtils which encapsulates this to: OpenExplorerAndSelectFile(sbUCM.SimpleText);