Jump to content

dummzeuch

Members
  • Content Count

    3019
  • Joined

  • Last visited

  • Days Won

    108

Everything posted by dummzeuch

  1. dummzeuch

    Embarcadero Support Request

    I hereby apologize to Embarcadero. They replied on the same day to our general purchasing account (which was correct because that is the email address used to register the licenses). Somehow I must have missed that reply several times when I looked there. And I managed to fix the problem too, even though I am still not sure what I did wrong the first time. And thanks to Devid Espenschied for clearing that up.
  2. dummzeuch

    Embarcadero Support Request

    I filed a support ticket with Embarcadero two days ago regarding a problem with license hosting on the ELC. I haven't heard from them yet. How long does it usually take them to get back on such issues? Previously I got an answer from Embarcadero Germany with a similar problem, but since Matthias Eissing is no longer with us, hopefully somebody else has taken over that job.
  3. dummzeuch

    Embarcadero Support Request

    Thanks for the reminder. I had totally forgotten about Devid and have now contacted him directly. (You might want to remove his email address from your post to prevent spam.)
  4. dummzeuch

    Delphi 13 beta

    So far most of the libraries only needed very little changes when a new Delphi version came out. Mostly it was adding a new compiler version to a central include file. In the case of the JCL that file would be jedi.inc. Hypothetically somebody else might have done that already when you join a beta program and posted a link to the updated version in the also hypothetical internal communication channel. (Hypothetically because 1. I am not in the current beta (Haven't received an invitation yet) 2. Even if I were, the NDA would prevent me from telling about it, but it stands to reason.)
  5. I still don't understand the problem of detecting whether dcc32 of a CE installation can compile anything. What does it do if you give it an empty .dpr file to compile from a cmd window? Does it just silently fail? No error message? But even if that is the case, you could at least try to compile said empty .dpr file and check whether an executable is created. Not quite an elegant solution but it should work.
  6. Does the executable dcc32.exe exist in that case? If not, there's your answer. If yes and it only outputs an error message or something, you could do exactly that: Call it and check for that error.
  7. dummzeuch

    Added IDE Toolbar Expert to GExperts

    Some Delphi IDE versions have an annoying bug with the toolbars that makes them unusable if you customize them. If you have seen this problem, you know it, if not, congratulations! Unfortunately I am one of the people who experience this problem and it annoyed me so much, that I added a workaround to GExperts. ... read on in the blog post.
  8. dummzeuch

    Define conditional symbol in .dpr

    And that was most likely the reason. The compiler only compiles units that have changed. Changing the include file does not change the units. To ensure that a unit is recompiled after a change to an include file, you must do a complete build of the project(s). The same applies to defines set in the .dproj file btw. Changing them does not trigger a complete rebuild. If you want to be really paranoid about this, delete all units from the unit output path. This ensures that every unit will be recompiled. I do that once in a while.
  9. dummzeuch

    Define conditional symbol in .dpr

    You cannot define a symbol in the .dpr file to be available in the units (it will be available in the .dpr file itself though). You must put it into the .dproj file (Project -> Options). Alternatively you can define it in an include file and include that file in all units that require the symbol. That latter approach is used by most libraries because a library cannot add anything to the project options.
  10. dummzeuch

    TOML delphi parser, writer and serializer

    All tests pass with 10.4 now.
  11. dummzeuch

    TOML delphi parser, writer and serializer

    Interesting: Completed: 205, Succeeded: 205, Failed: 0 ✓ All tests passed! ✖ float\double-dot-02.toml ✖ float\double-point-2.toml Completed: 529, Succeeded: 527, Failed: 2 I was expecting the same failures as in Delphi 11, but got two different ones.
  12. dummzeuch

    TOML delphi parser, writer and serializer

    When compiled with Delphi 11 3 of the tests fail: ✖ comment\after-literal-no-ws.toml: 'inf' is not a valid floating point value ✖ float\inf-and-nan.toml: 'nan' is not a valid floating point value ✖ spec-1.0.0\float-2.toml: 'inf' is not a valid floating point value Completed: 205, Succeeded: 202, Failed: 3 Completed: 529, Succeeded: 529, Failed: 0 ✓ All tests passed! No idea how to fix that. (On the other hand I am not that bothered because I don't really use Delphi 11 anyway.) I hope that feedback was useful for you. And thanks a lot for the effort you put into that library.
  13. dummzeuch

    TOML delphi parser, writer and serializer

    TJsonObjectReader was apparently introduced in Delphi 10.4 so I got a bit further and then hit the next error: [dcc32 Error] Tests.dpr(112): E2003 Undeclared identifier: 'Contains' That's TStrings.Contains which doesn't find. And that apparently was introduced in Delphi 12. But the reaplacement would be really simple: b := List.Contains(S) // becomes b := IndexOf(S) >= 0; And now it compiles.
  14. dummzeuch

    TOML delphi parser, writer and serializer

    No luck, now it's [dcc32 Error] TOML.Parser.pas(178): E2149 Class does not have a default property I added ".Items" in 4 places in that unit and then got [dcc32 Error] TOML.pas(130): E2003 Undeclared identifier: 'TJsonObjectReader' So I guess making it compatible with 10.2 would be quite a lot of effort (And I'm not even talking about Delphi 2007 which I would have tried next. 😉 )
  15. dummzeuch

    TOML delphi parser, writer and serializer

    The tests from files-toml_1.0.0 now all pass. Should those from files-toml_1.1.0 also pass? They don't: ✖ datetime\no-seconds.toml: Error at 2:26: Expected ":", got "EOL" ✖ inline-table\newline-comment.toml: Error at 5:2: Expected "ID", got "End of Line" ✖ inline-table\newline.toml: Error at 4:2: Expected "ID", got "End of Line" ✖ spec-1.1.0\common-12.toml: Error at 1:54: Invalid string escape char: "x" ✖ spec-1.1.0\common-29.toml: Error at 1:24: Expected ":", got "Z" ✖ spec-1.1.0\common-31.toml: Error at 1:24: Expected ":", got "EOL" ✖ spec-1.1.0\common-34.toml: Error at 1:12: Expected ":", got "EOL" ✖ spec-1.1.0\common-47.toml: Error at 5:5: Expected "ID", got "End of Line" ✖ string\escape-esc.toml: Error at 1:9: Invalid string escape char: "e" ✖ string\hex-escape.toml: Error at 3:21: Invalid string escape char: "x" Completed: 214, Succeeded: 204, Failed: 10 Completed: 524, Succeeded: 524, Failed: 0 ✓ All tests passed! But I guess that's because it's TOML v1.0.0 compliant, not v1.1.0. I also noticed that you removed the IsBufferValid call. I'll try to compile with Delphi 10.2 again.
  16. dummzeuch

    TOML delphi parser, writer and serializer

    Found it. I didn't know there was a submodule.
  17. dummzeuch

    TOML delphi parser, writer and serializer

    It compiles with Delphi 12. I downloaded the tests from https://github.com/toml-lang/toml-test/tree/main/tests put them into the tests subdirectory and run the Tests.dpr project. I got 6 errors: ✖ datetime\local-time.toml: '00.555' ist kein gültiger Gleitkommawert ✖ datetime\local.toml: '00.555' ist kein gültiger Gleitkommawert ✖ datetime\milliseconds.toml: '56.123' ist kein gültiger Gleitkommawert ✖ spec-1.0.0\local-date-time-0.toml: '00.999' ist kein gültiger Gleitkommawert ✖ spec-1.0.0\local-time-0.toml: '00.999' ist kein gültiger Gleitkommawert ✖ spec-1.0.0\offset-date-time-0.toml: '00.999' ist kein gültiger Gleitkommawert Completed: 205, Succeeded: 199, Failed: 6 Completed: 529, Succeeded: 529, Failed: 0 ✓ All tests passed! Is that the expected result? ("ist kein gültiger Gleitkommawert" means "is not a valid floating point value")
  18. dummzeuch

    TOML delphi parser, writer and serializer

    Which Delphi version does it require? I just tried Delphi 10.2 and got a compile error: [dcc32 Error] TOML.Parser.pas(145): E2003 Undeclared identifier: 'IsBufferValid' I'll try Delphi 12 now.
  19. If I had to guess, I'd blame a virus scanner.
  20. In my installation there are two different executables with that name, one is in bin the other in bin64. I guess the one in bin64 is the experimental 64 bit compiler while the one in bin is the regular 32 bit compiler (both for generating 64 bit output).
  21. dummzeuch

    TOML delphi parser, writer and serializer

    My only problem with that is the license: GPL simply makes it useless for me. But since it's based on another GPL library you probably didn't have a choice.
  22. dummzeuch

    ANN : 50 euros off for TECNativeMap's birthday

    The demos on the website look impressive. We have our own internal map component but that's a far cry from yours and it doesn't even support FMX. Does your component also support different coordinate systems and projections (e.g. Lambert for France or Gauß-Krüger for Germany)?
  23. dummzeuch

    Has the toolbar problem been fixed?

    Embarcadero still not fixing this annoying problem after several updates made me add the IDE toolbar expert to GExperts. Now I remove all the toolbars and enable the GExperts one. Works fine for me. (If you use the IDE dark mode, you will probably not like it.)
  24. IDE toolbars get scrambled over time The toolbars of the IDE lose icons when starting, exiting and restarting the IDE multiple times (see screenshot). This bug had already been reported in the old quality portal for Delphi 11 and 12. It’s still there in Delphi 12.1. Resetting the toolbars to their default using the View → Toolbars → Customize dialog, helps for a while before the same happens again. https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-515 It seems to have been fixed in Delphi 12.3, at last I have not seen this problem after I updated my installations. Maybe it has been fixed? The bug report is still open though, so maybe that was a side effect of some other change?
  25. With that kind of qualification I would expect a 6 digits salary. (But I'm not interested anyway.)
×