Jump to content

dummzeuch

Members
  • Content Count

    2857
  • Joined

  • Last visited

  • Days Won

    101

Everything posted by dummzeuch

  1. 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 ?)
  2. 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/
  3. 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.
  4. dummzeuch

    Changing label text in thread leads to weird display

    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?
  5. dummzeuch

    30 % and 35 % discount on Delphi

    No, i didn't (but I didn't ask Code Partners either). I'm also currently not interested in buying more licenses.
  6. dummzeuch

    30 % and 35 % discount on Delphi

    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)
  7. dummzeuch

    Changing label text in thread leads to weird display

    ... 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).
  8. 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)
  9. 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].
  10. 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
  11. 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
  12. 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/ )
  13. 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.
  14. 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.
  15. 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.
  16. dummzeuch

    Main menu

    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.
  17. dummzeuch

    Main menu

    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.
  18. 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.
  19. If I remember correctly there is a stand alone version of the expert manager in the start menu.
  20. If you think GExperts may be the culprit, disable it with the Expert Manager, restart the IDE and see whether it solves the problem.
  21. dummzeuch

    More improvements to the Uses Clause Manager

    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.
  22. dummzeuch

    More improvements to the Uses Clause Manager

    Have you checked the license of that library?
  23. dummzeuch

    More improvements to the Uses Clause Manager

    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).
  24. dummzeuch

    New TForm - Defaults

    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.
  25. dummzeuch

    More improvements to the Uses Clause Manager

    Basically the same, but I used the OpenExplorerAndSelectFile function in u_dzOsUtils which encapsulates this to: OpenExplorerAndSelectFile(sbUCM.SimpleText);
×