[fpc-pascal] Building for Android on Linux386
Hi all, Firstly a huge thank you to all involved in the FPC project. Keep up the great work! I'm building FPC cross-compiler for Android and it has always worked perfectly until recently. Now I'm getting the following error messages. /home/user/FPCTrunk/compiler/ppcrossarm -Ur -Tandroid -Parm -XParm-linux-androideabi- -Xr -Fl/home/user/android-ndk/platforms/android-14/arch-arm/usr/lib -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -Fi../linux -Fi../linux/arm -FE. -FU/home/user/FPCTrunk/rtl/units/arm-android -darm -dRELEASE -CpARMV6 -CfVFPV3 -XParm-linux-androideabi- cwstring.pp cwstring.pp(442,30) Error: Incompatible types: got "" expected "TUnicodeStringManager." cwstring.pp(443,7) Error: Identifier not found "CompareTextWideStringProc" cwstring.pp(460,33) Error: Incompatible types: got "" expected "TUnicodeStringManager." cwstring.pp(461,7) Error: Identifier not found "CompareTextUnicodeStringProc" cwstring.pp(586) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted Any ideas? Thanks, Dave ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] googleapiconv
Hi all, When I run googleapiconv, I get the following ./googleapiconv -s calendar/v3 -o calendar.pp Exception at 00494F7F: ERESTAPI: Unknown class : "t@\tX\t�\t�\t�\t(]t�]t�]tX^tp^t". and ./googleapiconv -s tasks/v1 -o tasks.pp Exception at 00494F7F: ERESTAPI: Unknown class : "t@\tX\t�\t�\t�\t(]t�]t�]tX^tp^t". Has something changed? FPC 3.1.1 on Linux x86_64 Many thanks, Dave ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] googleapiconv
./googleapiconv -k -s calendar/v3 -o calendar.pp On 12 August 2016 at 12:18, Michael Van Canneyt wrote: > > > On Fri, 12 Aug 2016, Dave Connolly wrote: > > Hi all, >> >> When I run googleapiconv, I get the following >> >> ./googleapiconv -s calendar/v3 -o calendar.pp >> Exception at 00494F7F: ERESTAPI: >> Unknown class : "t@\tX\t???\t???\t???\t(]t???]t???]tX^tp^t". >> >> and >> >> ./googleapiconv -s tasks/v1 -o tasks.pp >> Exception at 00494F7F: ERESTAPI: >> Unknown class : "t@\tX\t???\t???\t???\t(]t???]t???]tX^tp^t". >> >> Has something changed? >> > > Not to my knowledge, I even recently converted all services again ? > > Can you run with -k and send the downloaded .json file ? > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > calendar.json Description: application/json ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] googleapiconv
Hi Michael, I've tried ./googleapiconv -i ./calander.json on both 32-bit and 64-bit Linux and I get the same error on both platforms. 32-bit ./googleapiconv -i ./calendar.json Exception at 080BA538: ERESTAPI: Unknown class : " �(�X�t�@�`� �<�l�,�x�(�l���0�D�P�h�0�D�p��� �0�D�X�l��� ". 64-bit ./googleapiconv -i ./calendar.json Exception at 00492B3F: ERESTAPI: Unknown class : "sp�s��s��s��s �sX�s��s �s��s���s0�sh�s��s �sP�s��s�s �sp�s��s��s0tXt FPC 3.1.1 (rev 34315). Dave On 13 August 2016 at 13:10, Michael Van Canneyt wrote: > > > On Fri, 12 Aug 2016, Dave Connolly wrote: > > ./googleapiconv -k -s calendar/v3 -o calendar.pp >> >> > I tested the converter on the JSON output, and it works fine, it compiles: > > ./googleapiconv -i /home/michael/calendar.json > fpc /home/michael/calendar.pp > > I'm completely baffled. Can you try with the trunk version of FPC ? > > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] googleapiconv
The Google APIs run fine when compiled with FPC 3.0.0 On 15 August 2016 at 11:03, Dave Connolly wrote: > Hi Michael, > > I've tried ./googleapiconv -i ./calander.json on both 32-bit and 64-bit > Linux and I get the same error on both platforms. > > 32-bit > ./googleapiconv -i ./calendar.json > Exception at 080BA538: ERESTAPI: > Unknown class : " �(�X�t�@�`� > �<�l�,�x�(�l���0�D�P�h�0�D�p��� > �0�D�X�l��� ". > > > 64-bit > ./googleapiconv -i ./calendar.json > Exception at 00492B3F: ERESTAPI: > Unknown class : "sp�s��s��s��s �sX�s��s �s��s���s0�sh�s��s �sP�s��s�s > �sp�s��s��s0tXt > > > FPC 3.1.1 (rev 34315). > > > > Dave > > On 13 August 2016 at 13:10, Michael Van Canneyt > wrote: > >> >> >> On Fri, 12 Aug 2016, Dave Connolly wrote: >> >> ./googleapiconv -k -s calendar/v3 -o calendar.pp >>> >>> >> I tested the converter on the JSON output, and it works fine, it compiles: >> >> ./googleapiconv -i /home/michael/calendar.json >> fpc /home/michael/calendar.pp >> >> I'm completely baffled. Can you try with the trunk version of FPC ? >> >> >> Michael. >> ___ >> fpc-pascal maillist - fpc-pascal@lists.freepascal.org >> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >> > > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] googleapiconv
>From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in restbase.pp (fcl-web) PA:=@(pdynarraytypeinfo(P^.PropType)^.elesize)+i; PA:=@(pdynarraytypeinfo(P^.PropType)^.eletype)+i; AN:=PTYpeInfo(PA^)^.Name; In my scenario the PTYpeInfo(PA^)^.Name is "t�/t�/t�/t0t@0t" FPC 3.1.1 revision 34368 Regards, Dave On 16 August 2016 at 08:51, Michael Van Canneyt wrote: > > > On Mon, 15 Aug 2016, Dave Connolly wrote: > > The Google APIs run fine when compiled with FPC 3.0.0 >> > > Strange. I will look into it. > > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] First pas2js public release
This is fantastic. Great work everyone. On 20 December 2017 at 11:59, Mattias Gaertner wrote: > On Wed, 20 Dec 2017 12:29:25 +0100 > Ingemar Ragnemalm wrote: > > >[...] > > After some initial fiddling, I realized that there was a misspelling in > > the wiki, and Hello World worked once I use -Jirtl.js rather than > > -jirtl.js. > > Fixed. > > > > And then I got some of the provided demos running too and > > managed to write one of my own. So it looks good! > > > > Here is an early result, expressing my feelings for this release: > > > > http://ragnemalm.se/images/santa/santa.html > > > > I couldn't get sound working, but otherwise it seems to work as it > > should! (I hope it does for the rest of you.) > > Beautiful. > Can I add the URL as an example? > > > Mattias > > > > > > > /Ingemar > > > > Den 2017-12-17 kl. 12:00, skrev Michael Van Canneyt: > > > From: Michael Van Canneyt > > > To: FPC mailing list, FPC > > > development mailing list, Lazarus > > > mailing list > > > Subject: [fpc-pascal] First pas2js public release > > > Message-ID: > > > Content-Type: text/plain; format=flowed; charset=US-ASCII > > > > > > > > > Hello fellow Pascal enthousiasts, > > > > > > It is with great pleasure that I can finally announce the first > publicly > > > available version of pas2js. A "beta" version, version 0.8.39. > > > The endpoint (for the time being) of nearly 10 years of (slow) > development. > > > > > > pas2js is a Object Pascal to Javascript transpiler. It compiles Object > > > pascal, and emits Javascript. The javascript is usable in the browser, > and > > > in Node.js. > > > > > > It is open source, and part of FPC/Lazarus. > > > This makes Free Pascal a full-stack development environment for Web > Development: > > > You can use it to program the server and the browser alike, all from > within > > > the environment you love so much:) > > > > > > What does pas2js include ? > > > -- > > > > > > * On the language level: > > > > > > It supports basically Delphi 7 syntax, interfaces excepted. > > > Naturally, any memory pointer operation is not possible in Javascript. > > > Code that relies on this will not work. > > > > > > This is just the first version, we of course want to add the same > language > > > features that exist in Delphi and FPC today. > > > > > > * On the runtime level: > > > > > > Beside the compiler itself, there is a basic Object Pascal RTL, > > > and several units from the FPC Packages are also available: > > > > > > system > > > sysutils > > > Math > > > strutils > > > rtlconst > > > classes > > > contnrs > > > DB (yes, TDataset) > > > fpcunit testsuite > > > custapp > > > restconnection > > > js (javascript system objects) > > > web (browser provided objects) > > > libjquery (jquery is available too) > > > nodejs (basic node runtime environment) > > > typeinfo > > > objpas > > > browserconsole (support for writeln) > > > dateutils > > > browserapp > > > nodejsapp > > > > > > * Debugging: > > > > > > Obviously, the browser debugger can be used to debug the Javascript. > > > But there is more: the compiler can emit a source map, and this means > that > > > if the browser finds the source file, it will display the original > source > > > file instead of the javascript. You can debug Object pascal in the > browser. > > > > > > * Demoes ? > > > > > > The package has several demoes, including FPReport, TDataset, JQuery > and > > > Bootstrap. > > > > > > * Documentation ? > > > > > > As befits an open source project, docs are lagging behind :/ > > > > > > But a WIKI page has been started, it will be expanded as time permits: > > > > > > http://wiki.freepascal.org/pas2js > > > > > > * Sources ? > > > > > > The pas2js compiler sources and RTL sources have been checked in in > FPC's > > > subversion repository. The page describes where to find it in SVN. > > > > > > * Binaries ? > > > > > > A snapshot is available: > > > http://www.freepascal.org/~michael/pas2js/pas2js-demo-0.8.39.zip > > > > > > * Reporting bugs ? > > > > > > The FPC bugtracker has now a 'pas2js' project, it can be used to report > > > bugs. > > > > > > * Can you help ? > > > > > > Yes, of course. There is still a lot of work to be done. > > > Feel free to contact me or Mattias Gaertner with questions. > > > > > > What about Lazarus ? > > > > > > > > > Lazarus "understands" the extensions to object pascal (for importing > Javascript > > > classes) that were borrowed from the JVM version of the compiler, so > the > > > code completion will continue to work. > > > > > > Using the pre-compiler command, CTRL-F9 just works. On error, you will > be > > > shown the error location etc. > > > > > > Further and deeped integration of pas2js into lazarus is expected. > > > In the first place, IDE integration. > > > Later on, a real widget set for the browser can (and hopefully will) > be created. > > > > > > But that is not all ! > > > - > > > > > > In the very ne
Re: [fpc-pascal] googleapi google spreadsheet
Thanks for fixing the google API. On Fri, 6 Dec 2019 at 11:32, Michael Van Canneyt wrote: > > > On Wed, 4 Dec 2019, lcy wrote: > > > I'm trying to fiqure out how to use google spreadsheet with lazarus. It > > seems that the calendar sample project > > (\lazarus\components\googleapis\demo\calendar) doesn't work in the trunk > > version Laz(2.1.0)+FPC(3.3.1) created with fpcupdeluxe anymore. After > > installing the googleapi and the synapse component the calendar sample > > compiles with success. But if I run the app lazarus it stops in > > application.inc at the end of the "procedure > > TApplication.ProcessAsyncCallQueue" method. With the stable version > > Laz(2.0.2)+FPC(3.0.4) created with fpcupdeluxe it seems to run. > > Can someone help? > > I just did some fixes in google api so it will work with latest trunk, but > they have nothing to do with TApplication.ProcessAsyncCallQueue. > > The google components work independent of the ProcessAsyncCallQueue > procedure. > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 3.2.0 released!
Fantastic. Superb work everyone. On Sat 20 Jun 2020, 11:04 Marco van de Voort, wrote: > Hello, > > Finally, the Free Pascal 3.2.0 release is available from our servers and > from sourceforge. > > Changes that may break backwards compatibility will be documented at: > http://wiki.freepascal.org/User_Changes_3.2.0. > > For an overview of what is new see > > https://wiki.freepascal.org/FPC_New_Features_3.2 > > The website has been update for the major targets and work is still > being done for the rest. > > All downloads are available at the main FTP server and sourceforge. > > https://sourceforge.net/projects/freepascal/files/ > > ftp://ftp.freepascal.org/pub/fpc/dist/3.2.0/ > > Enjoy! > > The Free Pascal Compiler Team > > > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Happy New Year
Happy New Year everyone. Keep up the great work. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal