Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Sven Barth via fpc-pascal
Am 25.02.2019 um 19:44 schrieb Sven Barth: Mattias Gaertner via fpc-pascal > schrieb am Mo., 25. Feb. 2019, 19:09: On Mon, 25 Feb 2019 12:49:16 -0500 Ryan Joseph mailto:r...@thealchemistguild.com>> wrote: > > On Feb 25, 2019, at 12:41 PM,

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Ryan Joseph
Slightly unrelated question but one that will come up again soon. When I submitted my last patch I was told it would be best to put the tests in a different patch (so I submitted two). Does anyone know how to do that? This is the command I used: git format-patch master --stdout > patch.diff

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Sven Barth via fpc-pascal
Mattias Gaertner via fpc-pascal schrieb am Mo., 25. Feb. 2019, 19:09: > On Mon, 25 Feb 2019 12:49:16 -0500 > Ryan Joseph wrote: > > > > On Feb 25, 2019, at 12:41 PM, Mattias Gaertner via fpc-pascal > > > wrote: > > > > > > At least FPC helpers are more consistent than Delphi. > > > inherited

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Sven Barth via fpc-pascal
Ryan Joseph schrieb am Mo., 25. Feb. 2019, 19:00: > Question, is this mode switch allowed in Delphi mode? I disabled it > because I had a comment that said it was ObjFPC mode only but that doesn’t > make sense it couldn’t be enabled manually even in Delphi mode. > Mattias already answered, but

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Ryan Joseph
> On Feb 25, 2019, at 1:12 PM, Mattias Gaertner via fpc-pascal > wrote: > > Since $modeswitch typehelpers is allowed in mode delphi, it would be > inconsistent to forbid it. Good point, I didn’t know that. I’ve correct this on GitHub. Regards, Ryan Joseph

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Mattias Gaertner via fpc-pascal
On Mon, 25 Feb 2019 12:20:13 -0500 Ryan Joseph wrote: > Question, is this mode switch allowed in Delphi mode? I disabled it > because I had a comment that said it was ObjFPC mode only but that > doesn’t make sense it couldn’t be enabled manually even in Delphi > mode. Since $modeswitch

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Mattias Gaertner via fpc-pascal
On Mon, 25 Feb 2019 12:49:16 -0500 Ryan Joseph wrote: > > On Feb 25, 2019, at 12:41 PM, Mattias Gaertner via fpc-pascal > > wrote: > > > > At least FPC helpers are more consistent than Delphi. > > inherited crap > > I’m pretty confident I didn’t add anything extra in terms of logic. > All

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Ryan Joseph
Question, is this mode switch allowed in Delphi mode? I disabled it because I had a comment that said it was ObjFPC mode only but that doesn’t make sense it couldn’t be enabled manually even in Delphi mode. Regards, Ryan Joseph ___ fpc-pascal

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Ryan Joseph
> On Feb 25, 2019, at 12:41 PM, Mattias Gaertner via fpc-pascal > wrote: > > At least FPC helpers are more consistent than Delphi. > inherited crap I’m pretty confident I didn’t add anything extra in terms of logic. All my changes did are instead of checking the last helper declared, it now

Re: [fpc-pascal] Multi helpers

2019-02-25 Thread Mattias Gaertner via fpc-pascal
On Mon, 25 Feb 2019 11:44:35 -0500 Ryan Joseph wrote: > Update on multi-scope helpers. I’ve added tests (tmshlp*.pp), fixed a > bug and renamed the mode switch to “multihelpers” which I think is > more concise than “multiscopehelpers” and fits the format with > “typehelpers”. Thanks! Good

[fpc-pascal] Multi helpers

2019-02-25 Thread Ryan Joseph
Update on multi-scope helpers. I’ve added tests (tmshlp*.pp), fixed a bug and renamed the mode switch to “multihelpers” which I think is more concise than “multiscopehelpers” and fits the format with “typehelpers”. Any better ideas are welcome of course. I’ve made all the tests I could think

[fpc-pascal] Anyone uses Synapse trunk version instead of the official 2012 release 40?

2019-02-25 Thread Dennis
I noticed there are quite many changes in the sourceforge.net project especially in terms of SSL fixes. I want to use the trunk but worry that it is not stable yet. Anyone uses the 2018-08-22 trunk version stably for a while? I tried asking it on the synapse emailing list but got no reply.

[fpc-pascal] Travis CI, install FPC on Windows

2019-02-25 Thread Darius Blaszyk
Hi, I created a repo on GitHub to test build FPC projects using Travis CI. So far, Linux and macOS work perfectly! Now I’m working on getting native windows testing setup in the script. For this I need a headless install of FPC and be able to invoke the compiler from command line. Does anyone

Re: [fpc-pascal] Class helper properties

2019-02-25 Thread Mattias Gaertner via fpc-pascal
On Sun, 24 Feb 2019 11:03:17 -0500 Ryan Joseph wrote: > http://wiki.freepascal.org/Helper_types#Usage says class helpers can > use properties. Why am I getting this error? > > program test; > > type > TMyObject = class > m_num: integer; > property num1: