

mvanrijnen
Members-
Content Count
495 -
Joined
-
Last visited
-
Days Won
1
mvanrijnen last won the day on October 26 2023
mvanrijnen had the most liked content!
Community Reputation
131 ExcellentRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
quick question, does it support (now or in the near feature 😉 ), an include system, like in Home Assistant ? This can be very handy to splitup config files, for example sepeare the database configs in a single database.yaml file for multiple services example: network: listenip: 127.0.0.1 port: 8081 proxy: host: myproxyhost.mydomain.tld port: 9090 databases: !include ..\GeneralConfig\databases.yaml
-
New Delphi features in Delphi 13
mvanrijnen replied to David Heffernan's topic in RTL and Delphi Object Pascal
typical forum answer ..................................... Define, Define ? something more then, Hello World 3 million lines, 10thousand files? let me rephrase .... Has someone experienced progress with the code completion, lsp, codeinsight from D12.x to D13.x ? -
New Delphi features in Delphi 13
mvanrijnen replied to David Heffernan's topic in RTL and Delphi Object Pascal
People tried the codecompletion. error insight etc, with a big project? -
mostly good old init style like files, one service an xml as config file, but most ini style like. we got our own config readers for this wich works with attribute decorating, busy with some new things, gonna pick this up with yaml. It's always a bit of puzzle with "nesting" with the ini style like configs.
-
Nice work, maybe a good base for upgrading our config files to YAML,
-
Regression - Delphi 12 - Unable to debug dynamically loaded packages
mvanrijnen replied to @AT's topic in Delphi IDE and APIs
yes, it's not really a fix, but i (we) removed RAD server from the equation. (moved from RAD server to MARS Rest library from @Andrea Magni, works amazingly well) @Marco Cantu @Ian Barker I really can not get my head around the fact that EMB does not fix this, it renders the IDE almost useless if your using bpls in your application/solution -
Hide propertys for serialization/marshalling with the mars framework
mvanrijnen replied to mvanrijnen's topic in MARS-Curiosity REST Library
Aha, i tried the JSONName before, did not work, but now i found out why, it's in the MARS.Core.JSON.pas, not in the MARS.Core.Attributes.pas The function ToJSONFilter(const AMember: TRttiMember; const AObj: TJSONObject): Boolean; works also, thanks! -
A smart case statement in Delphi?
mvanrijnen replied to PeterPanettone's topic in RTL and Delphi Object Pascal
there's also the old: IndexText or IndexStr method System.StrUtils.IndexText - RAD Studio API Documentation -
Hide propertys for serialization/marshalling with the mars framework
mvanrijnen posted a topic in MARS-Curiosity REST Library
Anoyone an idea how to get this done? If i have a record/class as a return type for q request, i sometimes want to hide certain properties for the (de)serialization process. can not find what to use with the MARS framework for this? -
Define conditional symbol in .dpr
mvanrijnen replied to Vandrovnik's topic in RTL and Delphi Object Pascal
hm, does the ramdisk makes much difference with building? -
Regression - Delphi 12 - Unable to debug dynamically loaded packages
mvanrijnen replied to @AT's topic in Delphi IDE and APIs
@Marco Cantu I'm glad to say that we did fix the problem ... -
If you create the datamodule per request, why not set the connection in the datamodule as a property (set it from within the request). I do that in some projects. (needs some work maybe on the setter of connection property in the datamodule) So you would get something like: function TMyResource.GetInfo(const APar1: string; const APar2: integer): TMyInfo; var ldm : TMyDataModule; begin ldm := TMyDataModule.Create(); try ldm.MyConnection := FD.Connection; ldm.DoMyMethod(APar1, APar2); finally ldm.Free; end; end; Maybe you have a (simple) example of your code?
-
Regression - Delphi 12 - Unable to debug dynamically loaded packages
mvanrijnen replied to @AT's topic in Delphi IDE and APIs
??? The summit is held in Purmerend (a place near Amsterdam), but it's called Delphi Summit Amsterdam, don't know where you were thinking of, but if it was ment as a joke, it's not a funny joke? -
Regression - Delphi 12 - Unable to debug dynamically loaded packages
mvanrijnen replied to @AT's topic in Delphi IDE and APIs
Most funny thing is that nobody can confirm this is fixed. Kind of confirmation of what a laugh the Delphi IDE is become .......................... Time to make a list of critical question for the next Summit in Purmerend (Amsterdam for the commercial guys&girls). -
Regression - Delphi 12 - Unable to debug dynamically loaded packages
mvanrijnen replied to @AT's topic in Delphi IDE and APIs
Does someone ( @Marco Cantu) knows if this is solved in 12.3.x? We are sure gonna leave the whole RadServer concept because of the lack of support/maintenance. (probably going the MARS way) Who releases a software development product which can debug? (curious the way this went to production/release, Boss! We can not debug the radserver modules, oh, "nobody cares, just ship it,")