-
Content Count
2561 -
Joined
-
Last visited
-
Days Won
133
Everything posted by Anders Melander
-
TThread Resume Suspend deprecated (Not synchronization)
Anders Melander replied to Clément's topic in RTL and Delphi Object Pascal
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.SyncObjs.TSemaphore https://en.wikipedia.org/wiki/Semaphore_(programming) -
Delphi 11.1 is available
Anders Melander replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
https://my.embarcadero.com/#downloadsPage -
Does anyone know if Nils Haeck is OK ? SimLib and NativeXml
Anders Melander replied to Blavatsky's topic in VCL
Googling his name reveals that he posted on LinkedIn 2 weeks ago. My guess is that he's simply not using Delphi anymore. -
Systemic failing of Embarcadero development and support or am I just paranoid ?
Anders Melander replied to CyberPeter's topic in General Help
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. -
Systemic failing of Embarcadero development and support or am I just paranoid ?
Anders Melander replied to CyberPeter's topic in General Help
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. -
And this was the easy way?
-
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.
-
Parnassus Bookmarks for Delphi 11 Alexandria?
Anders Melander replied to PeterPanettone's topic in Delphi IDE and APIs
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. -
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.
-
Systemic failing of Embarcadero development and support or am I just paranoid ?
Anders Melander replied to CyberPeter's topic in General Help
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? -
DPROJ changes: SourceTree vs Beyond Compare
Anders Melander replied to Mike Torrettinni's topic in General Help
SourceTree is made by Atlassian. Any time you spend reporting bugs to them would better spent picking your nose. -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
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. -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
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/ -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
https://supportcenter.devexpress.com/ticket/details/t1073008 -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
That's the same problem as the one mentioned a few messages earlier: -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
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. -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
I'm not sure what you're asking. Do you mean like this: -
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.
-
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
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. -
ANN: Better Translation Manager released
Anders Melander replied to Anders Melander's topic in Delphi Third-Party
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. -
Is a "bare-minimum" EurekaLog possible?
Anders Melander replied to aehimself's topic in Delphi Third-Party
Ah, yes; That's madExcept messing things up for everybody else. I thought you meant that madExcept didn't handle nested exceptions. -
Is a "bare-minimum" EurekaLog possible?
Anders Melander replied to aehimself's topic in Delphi Third-Party
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; -
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.
-
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.
-
I'll be happy to sell you a copy.