Re: [fpc-pascal] Prorammatically sending file using HTTP POST?

2018-05-03 Thread R0b0t1
On Wed, Apr 4, 2018 at 6:50 AM, Bo Berglund wrote: > I have written a Lazarus/FPC program to configure an IoT device via a > tcp server I have implemented on the device. It all works well for > setting the parameters etc. > Now I want to also add a firmware update function

Re: [fpc-pascal] Prorammatically sending file using HTTP POST?

2018-05-03 Thread Klaus Hartnegg
Am 04.04.2018 um 13:50 schrieb Bo Berglund: By the way, I am using the Indy10 components via the indylaz package. Lazarus is 1.8.0 and FPC 3.0.4 on Windows7. If anybody wants to do this just with winsock: const dstport = 80; http_path = '/post.php'; type Int32 = Longint; function

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Ryan Joseph
> On May 3, 2018, at 8:26 PM, Joost van der Sluis wrote: > > Change the current directory to utils/pas2js, then do 'make all'. That’s what I tried first but was told to do it on the top level directory. There’s the error I get. Maybe I need to trash entire directory and start

[fpc-pascal] howto print hires-graphics in windows?

2018-05-03 Thread Klaus Hartnegg
Hi, I want to draw simple line graphics both on screen and printer (full page, with ~300dpi). What is the easiest way to achieve this in FreePascal (not Lazarus)? Maybe a graph-unit that outputs to GDI? thanks, Klaus ___ fpc-pascal maillist -

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Michael Van Canneyt
On Thu, 3 May 2018, Ryan Joseph wrote: On May 3, 2018, at 8:23 PM, Joost van der Sluis wrote: Actually this makes no sense at all. Pas2js is a separate product that we should be able to distribute separately from the compiler. But doesn’t it extend the existing compiler

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Michael Van Canneyt
On Thu, 3 May 2018, Joost van der Sluis wrote: Op 02-05-18 om 11:28 schreef Ryan Joseph: So I need to build the entire compiler and I get pas2js in the end? I didn’t realize it was built on the entire FPC compiler but I guess that makes sense. Actually this makes no sense at all. Pas2js

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Ryan Joseph
> On May 3, 2018, at 8:23 PM, Joost van der Sluis wrote: > > Actually this makes no sense at all. Pas2js is a separate product that we > should be able to distribute separately from the compiler. But doesn’t it extend the existing compiler to gain access to the parser?

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Joost van der Sluis
Op 03-05-18 om 11:00 schreef Ryan Joseph: A "make all" in the top level directory should suffice (yes, that will build all of FPC, but that is at least more or less guaranteed to work). You can then pick the pas2js binary from the utils/pas2js/bin directory. Make all built the compiler but I

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Joost van der Sluis
Op 02-05-18 om 11:28 schreef Ryan Joseph: So I need to build the entire compiler and I get pas2js in the end? I didn’t realize it was built on the entire FPC compiler but I guess that makes sense. Actually this makes no sense at all. Pas2js is a separate product that we should be able to

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Ryan Joseph
> On May 3, 2018, at 12:53 PM, Sven Barth via fpc-pascal > wrote: > > A "make all" in the top level directory should suffice (yes, that will build > all of FPC, but that is at least more or less guaranteed to work). You can > then pick the pas2js binary from

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Michael Van Canneyt
On Thu, 3 May 2018, Ryan Joseph wrote: On May 3, 2018, at 12:53 PM, Sven Barth via fpc-pascal wrote: A "make all" in the top level directory should suffice (yes, that will build all of FPC, but that is at least more or less guaranteed to work). You can

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-03 Thread Ryan Joseph
> On May 3, 2018, at 12:53 PM, Sven Barth via fpc-pascal > wrote: > > A "make all" in the top level directory should suffice (yes, that will build > all of FPC, but that is at least more or less guaranteed to work). You can > then pick the pas2js binary from