Re: [fpc-pascal] pas2js: Compiler options as Hints in SRC files

2018-12-20 Thread Michael Van Canneyt
On Thu, 20 Dec 2018, serge vertie wrote: Hi All! I want to use modules/functions/classes (generated from Pas sources by pas2js) from JS code, writed manually. In this case i can have some modules/functions/classes not used from other Pas modules (and intended to be used directly from JS).

Re: [fpc-pascal] TThread.FreeOnTerminate

2018-12-20 Thread George Bakhtadze
  14.12.2018, 13:17, "Martin Frb" : Could "Thread.FFinished := True;"  be moved to the top? (potentially together with   "Result := Thread.FReturnValue;" so the order of those 2 remains).The reason is, that then (on a suspended thread) it would be save to change "FreeOnTerminate" if "Finished =

[fpc-pascal] pas2js: Compiler options as Hints in SRC files

2018-12-20 Thread serge vertie
Hi All! I want to use modules/functions/classes (generated from Pas sources by pas2js) from JS code, writed manually. In this case i can have some modules/functions/classes not used from other Pas modules (and intended to be used directly from JS). But all declarations, not used in external Pas

Re: [fpc-pascal] Candidate for crowd-funding

2018-12-20 Thread Jonas Maebe
On 20/12/18 18:09, Martok wrote: Parameters are difficult because they either need something like extra temps *in memory* (like cdecl) or some extra registers need to be pushed/popped, which brings us back to the register allocator issue. There's also the issue that to fully support inlining,

Re: [fpc-pascal] Candidate for crowd-funding

2018-12-20 Thread Martok
Am 19.12.2018 um 14:22 schrieb Sven Barth via fpc-pascal: > Maybe we could add your changes to trunk? Ah, I may have made that sound better than it was ;-) I didn't actually solve the problem. Can't seem to find my branch anyway (I may have amended that when the focus changed to the pure