Jump to content

Anders Melander

Members
  • Content Count

    2561
  • Joined

  • Last visited

  • Days Won

    133

Everything posted by Anders Melander

  1. https://docwiki.embarcadero.com/Libraries/Sydney/en/System.SyncObjs.TSemaphore https://en.wikipedia.org/wiki/Semaphore_(programming)
  2. Anders Melander

    Delphi 11.1 is available

    https://my.embarcadero.com/#downloadsPage
  3. Anders Melander

    Does anyone know if Nils Haeck is OK ? SimLib and NativeXml

    Googling his name reveals that he posted on LinkedIn 2 weeks ago. My guess is that he's simply not using Delphi anymore.
  4. I've got no beef with the content itself. Sure the content could be much better, for me personally there was almost nothing of interest, but I guess that's more a case of what speakers they're able to sign up. The problem I'm talking about is the production of the sessions. I mean how difficult is it to ensure that sessions doesn't run over time, that the sound works and there 's capacity to handle everyone signed up. And when things go wrong we don't need to hear every random thought that goes through the moderators head, spoken out loud as he fumbles with trying to resolve the issues. It's just not professional and it's disrespectful to the audience who has taken time out of their busy schedule to participate. I have no patience for amateurs who don't know they're amateurs. Maybe if the production improved then the content would also improve.
  5. They don't have to answer each and every question here and elsewhere. They just need to issue a statement. Once. After having endured the amateurish execution of the last few webinars I for one will pass on this one. They badly need a professional, grownup to handle these events. After DelphiCon 2021 my client asked me if I could suggest which replays they should watch. I've pretended to forget about that because I'm frankly embarrassed about it.
  6. Anders Melander

    CPas - C for Delphi

    And this was the easy way?
  7. Anders Melander

    Firebird transactions with Firedac

    Wrong conclusion. What is more likely? That there is something wrong with transactions or that there is something wrong with what you're doing? Your method is flawed unless you can guarantee that there will never be more than one transaction active against the database at a time. Consider this: A: Start transaction A: select max(NUMBER) returns 1 B: Start transaction A: Post new row with NUMBER=2 A: Commit B: select max(NUMBER) returns [...drumroll..] 1 B: Post new row with NUMBER=2 B: Commit Like Hans suggested, use a generator. That's what they're there for.
  8. Anders Melander

    Parnassus Bookmarks for Delphi 11 Alexandria?

    I think you would do everybody a favor if these plugins were completely disassociated from the core product and from Embarcadero. As it is now, being marketed as "official plugins", people expect them to be of a certain quality and to be delivered on schedule with the core product and there's obviously no resources to make that happen. If they were just "some dudes hobby project" then people would know what to expect.
  9. Anders Melander

    AV Accessing EditValue in DevExpress Editors

    Doesn't the debugger work for you? Just place a breakpoint in the Validate event handler and examine (using Evaluate->Inspect) the properties of the controls in question. It should be easy to see which properties contains the values you need.
  10. If only there were someone at Embarcadero specifically tasked with communicating with the customers...🤔 Maybe @Jim McKeeth knows someone who can tell us what the hell is going on?
  11. Anders Melander

    DPROJ changes: SourceTree vs Beyond Compare

    SourceTree is made by Atlassian. Any time you spend reporting bugs to them would better spent picking your nose.
  12. Anders Melander

    ANN: Better Translation Manager released

    Now there are 🙂 Do something like this: uses Horizon.IntegrationTest.API; // Via TApplicationEvents component: procedure TMainForm.ApplicationEventsActionExecute(Action: TBasicAction; var Handled: Boolean); begin {$ifdef DEBUG} TranslationManagerIntegration.TrackControl(Action); {$endif DEBUG} end; // Via the global TScreen instance: procedure TMainForm.OnActiveControlChange(Sender: TObject); begin {$ifdef DEBUG} TranslationManagerIntegration.TrackControl(Screen.ActiveControl); {$endif DEBUG} end; procedure TMainForm.OnActiveFormChange(Sender: TObject); begin {$ifdef DEBUG} TranslationManagerIntegration.TrackForm(Screen.ActiveCustomForm); {$endif DEBUG} end; Note: Remove the DEVEXPRESS define in Horizon.IntegrationTest.API if you're not using that library. As you can see the above only uses the integration in DEBUG builds but since I'm just using WM_COPYDATA for communication it's pretty harmless if the integration is also active in RELEASE builds.
  13. Anders Melander

    ANN: Better Translation Manager released

    Uploaded a new build: v1.3.8100.37233. I have finally managed to get upload to BitBucket working so it's available here now: https://bitbucket.org/anders_melander/better-translation-manager/downloads/ Changes since build 1.3.8055.21506: HighDPI scaling has been disabled in order to work around scaling problems caused by the DevExpress skinning engine. When these get resolved I will enable Per Monitor v2 scaling. https://bitbucket.org/anders_melander/better-translation-manager/issues/26/handle-highdpi-scaling @Renate Schaaf Automatically show and focus the multi-line editor if the source text contains multiple lines (optional, enabled by default). https://bitbucket.org/anders_melander/better-translation-manager/issues/15/auto-open-text-editor-when-applicable @aehimself Added a translation integration API which allows the application being translated to control BTM. Using this integration, when a form or control is focused in the application, then the corresponding module and property is selected in BTM. The integration API is contained in the file amLocalization.Integration.Tracker.API.pas Properties that have been omitted from the form resource, for example because their current values equals the default value, can now be synthesized so they can be translated. This solves the problem where for example TField.DisplayLabel could not be translated if DisplayLabel and FieldName contained the same value. A lot of minor bug fixed and improvements. See commit log: https://bitbucket.org/anders_melander/better-translation-manager/commits/
  14. Anders Melander

    ANN: Better Translation Manager released

    https://supportcenter.devexpress.com/ticket/details/t1073008
  15. Anders Melander

    ANN: Better Translation Manager released

    That's the same problem as the one mentioned a few messages earlier:
  16. Anders Melander

    ANN: Better Translation Manager released

    Didn't you read the documentation? Oh, wait... 🙂 I think there's a change request to have the editor shown automatically if the source text contains carriage returns.
  17. Anders Melander

    ANN: Better Translation Manager released

    I'm not sure what you're asking. Do you mean like this:
  18. Anders Melander

    docwiki.embarcadero.com is not working

    It's also the perfect place to get a noncommittal answer. I'll give you the answer right now so you don't have to wait: Okay, maybe not that last part but that would at least have meaning.
  19. Anders Melander

    ANN: Better Translation Manager released

    No such luck. I've reproduced the problem but it seems to be caused by a bug in DevExpress. I'll have a closer look at it tonight.
  20. Anders Melander

    ANN: Better Translation Manager released

    Thanks for the feedback. Keep it coming! I have not done any high DPI testing whatsoever but I'll see if I can squeeze that in today. Since I'm using DevExpress control it should mainly be a case of providing the correct manifest settings. - I hope 🙂 The long string problem has already been fixed in commit 6d52cf4438139b3c79c4776d444d85610782a5fc (26 jan 2022) but I haven't uploaded a build of that version.
  21. Anders Melander

    Is a "bare-minimum" EurekaLog possible?

    Ah, yes; That's madExcept messing things up for everybody else. I thought you meant that madExcept didn't handle nested exceptions.
  22. Anders Melander

    Is a "bare-minimum" EurekaLog possible?

    Works for me. What's your problem? type EInner = class(Exception); EOuter = class(Exception); ... begin try raise EInner.Create('Inner'); except Exception.RaiseOuterException(EOuter.Create('Outer')); end; end;
  23. Anders Melander

    A book about Object Pascal Style Guide

    What property? 🙂 Sure but isn't that topic stone dead by now? The OP has taken his ball and gone home and that's the end of that.
  24. Anders Melander

    A book about Object Pascal Style Guide

    I'm sure you understand why. procedure TFooBar.SetValue(const AValue: TFooFoo); begin var Value := AValue.Transform; FValue := Value; end; Did you mean that there are better solutions? Sure there is but I think this is a case of preferring good enough over perfect.
  25. Anders Melander

    A book about Object Pascal Style Guide

    I'll be happy to sell you a copy.
×