Re: [fpc-pascal] TBufDataset vs TClientDataset

2017-10-09 Thread LacaK
Also, what's the difference between TBufDataset and TMemDataset? Aren't they both in-memory datasets? If so, why do we have two different components for the same thing? As Michael wrote TMemDataSet is older. And I add that it is also much "lighter". So for somebody who does not need "compl

[fpc-pascal] no fpc.exe file after installation

2017-10-09 Thread adrian.soentgerath
Hello, i installed “fpc-3.0.2.i386-win32.cross.x86_64-win64” on my laptop with windows 7, but there seem to be no fpc.exe file, so i can´t compile. In which folder should this file be? Where can i get it from? Thanks for your answer! Adrian P.S.: I am not subscribed to a mailing list.__

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread pascalX
On 08/10/17 21:24, leledumbo via fpc-pascal wrote: There is my old feature request about it https://bugs.freepascal.org/view.php?id=30344 :) You can monitor it. No one seems to care to implement it, so if you badly need it: sj.patch

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Marco van de Voort
In our previous episode, Mr Bee via fpc-pascal said: > Thank you, both to Leledumbo and Sven. Will this patch be available in the > next FPC v.3.0.4 release? Since it is already largely uploaded, no. We are only waiting on some targets. ___ fpc-pascal m

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Mr Bee via fpc-pascal
2017-10-08 23:17 GMT+07:00 Marcos Douglas B. Santos : > > Most developers are using single .inc file that contains all > directives for the whole project. > Well, I don't like such approach. I prefer using my own shell script that I can configure for many purposes and conditions such as build rel

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-09 Thread pascalX
On 08/10/17 10:12, Tomas Hajny wrote: On Sat, October 7, 2017 22:13, pasc...@piments.com wrote: Hi, . . Can you offer any insights into what is going on with Lazarus not locating the system unit and friends. As you acknowledge they are treated somewhat differently due to problems with th

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Mr Bee via fpc-pascal
Thank you, both to Leledumbo and Sven. Will this patch be available in the next FPC v.3.0.4 release? –Mr Bee Pada Selasa, 10 Oktober 2017 04.44.44 WIB, Sven Barth via fpc-pascal menulis: Am 08.10.2017 22:24 schrieb "leledumbo via fpc-pascal" : > > > There is my old feature request

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Sven Barth via fpc-pascal
Am 08.10.2017 22:24 schrieb "leledumbo via fpc-pascal" < fpc-pascal@lists.freepascal.org>: > > > There is my old feature request about it > > https://bugs.freepascal.org/view.php?id=30344 :) You can monitor it. > > No one seems to care to implement it, so if you badly need it: sj.patch >

Re: [fpc-pascal] Managed properties idea

2017-10-09 Thread Marcos Douglas B. Santos
On Mon, Oct 9, 2017 at 3:54 PM, Maciej Izak wrote: > 2017-10-09 14:43 GMT+02:00 Marcos Douglas B. Santos : >> >> This TAutoFree just "put" the "finally" and call .Free for an array of >> objects or does it something else? >> Could you send the link of the implementation? > > > "One" and "Several"

Re: [fpc-pascal] Managed properties idea

2017-10-09 Thread Maciej Izak
2017-10-09 14:43 GMT+02:00 Marcos Douglas B. Santos : > This TAutoFree just "put" the "finally" and call .Free for an array of > objects or does it something else? > Could you send the link of the implementation? > "One" and "Several" returns IAutoFree interface. Implementation of that interface

[fpc-pascal] Getting the subnet mask?

2017-10-09 Thread Anthony Tekatch
Is there a way to get the subnet mask of an interface using the Ararat Synapse tools? I would like to make broadcast but some networks have a subnet mask of 255.255.255.0 and some have a netmask of 255.255.0.0 . Knowing the subnet helps me determine what the broadcast IP address should be. Thank

Re: [fpc-pascal] TBufDataset vs TClientDataset

2017-10-09 Thread Graeme Geldenhuys
On 2017-10-09 15:33, Michael Van Canneyt wrote: So it is recommended to use TBufDataset over TMemDataset? Yes, absolutely. Thanks. Ah, I see Git is growing on you [using git terminology there].;-) It definitely has a way of crawling under your skin...;) Resistance is futile. :-) Rega

Re: [fpc-pascal] TBufDataset vs TClientDataset

2017-10-09 Thread Michael Van Canneyt
On Mon, 9 Oct 2017, Graeme Geldenhuys wrote: On 2017-10-09 09:08, Michael Van Canneyt wrote: Because it was never meant to be a TClientDataset equivalent, but it has grown into something that does many of the things TClientDataset does. Naming it TClientDataset would imply that we ensure TCl

Re: [fpc-pascal] TBufDataset vs TClientDataset

2017-10-09 Thread Graeme Geldenhuys
On 2017-10-09 09:08, Michael Van Canneyt wrote: Because it was never meant to be a TClientDataset equivalent, but it has grown into something that does many of the things TClientDataset does. Naming it TClientDataset would imply that we ensure TClientDataset compatibility, which definitely was/i

Re: [fpc-pascal] Managed properties idea

2017-10-09 Thread Marcos Douglas B. Santos
On Mon, Oct 9, 2017 at 5:24 AM, Maciej Izak wrote: > 2017-10-07 2:10 GMT+02:00 Michalis Kamburelis : >> >> [...] > > mORMot framework has also nice solution for "auto free" (solution uses > interfaces too): > > ===code begin=== > with TAutoFree.One(o, TObject.Create) do > begin > ... >

Re: [fpc-pascal] Managed properties idea

2017-10-09 Thread Maciej Izak
2017-10-07 2:10 GMT+02:00 Michalis Kamburelis : > Your TSmartObj is, well, exactly what I want:) As long as you pass > around only "TSmartObj" (and don't create cycles :) ), > you're perfectly safe and leak-free. > Probably management operators idea will be expanded by new operators Clone & Assig

Re: [fpc-pascal] TBufDataset vs TClientDataset

2017-10-09 Thread Michael Van Canneyt
On Sun, 8 Oct 2017, Graeme Geldenhuys wrote: Hi, I read a couple of archived mailing list posts about TBufDataset, which from what I read is FPC's equivalent to TClientDataset. Equivalent in that it does many things that TClientDataset does. That then begs the question... Why isn't it c