<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Developers</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>Recent changes to Developers</description><atom:link href="https://sourceforge.net/p/libwps/wiki/Developers/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 30 Mar 2017 13:03:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libwps/wiki/Developers/feed" rel="self" type="application/rss+xml"/><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -87,7 +87,7 @@

 ~~~sh
   EMDIR=/usr/local/em/
-  WRITERDIR=~/sources/libwpd-rw.git/writerperfect
+  WRITERDIR=~/sources/libwpd-rw.git/writerperfect/src
   em++ -O2 -DSHAREDPTR_STD -I $WRITERDIR/lib -I $WRITERDIR/conv/odf -I$EMDIR/include/librevenge-0.0 -s DEMANGLE_SUPPORT=1 -L$EMDIR/lib -llibwps-0.4 -llibodfgen-0.1 -llibrevenge-0.0 -llibrevenge-stream-0.0 -llibz wps2odf.cxx -L$WRITERDIR/conv/odf/.libs -llibodfhelper -llibodfwps -L$WRITERDIR/lib/.libs -llibwriterperfect_internal -s EXPORTED_FUNCTIONS='["_main","_callConversion"]' -o wps2odf.js
 ~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Thu, 30 Mar 2017 13:03:42 -0000</pubDate><guid>https://sourceforge.net13039e73a91ed719b35a01c6a5454bc7f6ea4466</guid></item><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -83,7 +83,7 @@
   emmake make clean all
 ~~~

-I finish compiling a final executable, I do that by hand, ie. I update wps2odt.cxx (see https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/) and I compile with:
+and I finish compiling a final executable by hand, ie. I update wps2odt.cxx (see https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/) and I compile with:

 ~~~sh
   EMDIR=/usr/local/em/
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Sun, 28 Aug 2016 16:02:33 -0000</pubDate><guid>https://sourceforge.net5ead5e97c795bc23e767f4e85b2ccfaf27177694</guid></item><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -77,19 +77,25 @@

 which creates a byte code version of the corresponding libraries and install them in /usr/local/em/.

-To compile a final executable, I do that by hand, ie. I merge wps2odt.cxx and wks2ods.cxx in wps2em.cxx, update it  (see https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/) and I compile with:
+Then I begin to compile **writerperfect** by
+~~~sh
+  emconfigure ./configure PKG_CONFIG_LIBDIR=/usr/local/em/lib/pkgconfig/ [OPTIONS] --prefix=/usr/local/em/
+  emmake make clean all
+~~~
+
+I finish compiling a final executable, I do that by hand, ie. I update wps2odt.cxx (see https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/) and I compile with:

 ~~~sh
   EMDIR=/usr/local/em/
   WRITERDIR=~/sources/libwpd-rw.git/writerperfect
-  em++ -O2 -I ~/sources/boost_1_55_0/ -I $WRITERDIR/src/lib -I $WRITERDIR/src/conv/odf -I $EMDIR/include/libodfgen-0.1/ -I $EMDIR/include/libwps-0.4/ -I$EMDIR/include/librevenge-0.0 -s DEMANGLE_SUPPORT=1 -L$EMDIR/lib -llibwps-0.4 -llibodfgen-0.1 -llibrevenge-0.0 -llibrevenge-stream-0.0 -llibz $WRITERDIR/src/lib/*cxx $WRITERDIR/src/conv/odf/StringDocumentHandler.cxx wps2em.cxx -s EXPORTED_FUNCTIONS='["_main","_callConversion"]' -o wps2em.js
+  em++ -O2 -DSHAREDPTR_STD -I $WRITERDIR/lib -I $WRITERDIR/conv/odf -I$EMDIR/include/librevenge-0.0 -s DEMANGLE_SUPPORT=1 -L$EMDIR/lib -llibwps-0.4 -llibodfgen-0.1 -llibrevenge-0.0 -llibrevenge-stream-0.0 -llibz wps2odf.cxx -L$WRITERDIR/conv/odf/.libs -llibodfhelper -llibodfwps -L$WRITERDIR/lib/.libs -llibwriterperfect_internal -s EXPORTED_FUNCTIONS='["_main","_callConversion"]' -o wps2odf.js
 ~~~

 Finally, I copy in the final repository:

-* convertWPS.html (also in https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/),
+* wps2odf.html (also in https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/),
 * fileSaver.js from https://github.com/eligrey/FileSaver.js/blob/master/FileSaver.js,
-* wps2em.js and wps2em.js.mem ( just created ).
+* wps2odf.js and wps2odf.js.mem ( just created ).

 # Contact
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Sun, 28 Aug 2016 16:01:14 -0000</pubDate><guid>https://sourceforge.net5105acde2f2965c06afd97c354d68f8958e1187e</guid></item><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -63,6 +63,35 @@
     :::sh
     afl-fuzz -i input -o output wks2raw @@

+## Emscripten
+
+On OSX, the creation of the libraries seems to work while the creation of the executables is still not supported, 
+ie. after installing **Emscripten** from http://emscripten.org and creating a **zlib**'s javascript version: https://kripken.github.io/emscripten-site/docs/compiling/Building-Projects.html#using-libraries in /usr/local/em,
+I am able to compile **librevenge**, **libwps**, **libodfgen** by
+
+~~~sh
+  emconfigure ./configure PKG_CONFIG_LIBDIR=/usr/local/em/lib/pkgconfig/ [OPTIONS] --prefix=/usr/local/em/
+  emmake make clean all
+  sudo emmake make install
+~~~
+
+which creates a byte code version of the corresponding libraries and install them in /usr/local/em/.
+
+To compile a final executable, I do that by hand, ie. I merge wps2odt.cxx and wks2ods.cxx in wps2em.cxx, update it  (see https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/) and I compile with:
+
+~~~sh
+  EMDIR=/usr/local/em/
+  WRITERDIR=~/sources/libwpd-rw.git/writerperfect
+  em++ -O2 -I ~/sources/boost_1_55_0/ -I $WRITERDIR/src/lib -I $WRITERDIR/src/conv/odf -I $EMDIR/include/libodfgen-0.1/ -I $EMDIR/include/libwps-0.4/ -I$EMDIR/include/librevenge-0.0 -s DEMANGLE_SUPPORT=1 -L$EMDIR/lib -llibwps-0.4 -llibodfgen-0.1 -llibrevenge-0.0 -llibrevenge-stream-0.0 -llibz $WRITERDIR/src/lib/*cxx $WRITERDIR/src/conv/odf/StringDocumentHandler.cxx wps2em.cxx -s EXPORTED_FUNCTIONS='["_main","_callConversion"]' -o wps2em.js
+~~~
+  
+Finally, I copy in the final repository:
+
+* convertWPS.html (also in https://sourceforge.net/projects/libwps/files/testEmscriptenCompilation/),
+* fileSaver.js from https://github.com/eligrey/FileSaver.js/blob/master/FileSaver.js,
+* wps2em.js and wps2em.js.mem ( just created ).
+  
+
 # Contact

 You can get in touch with us:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Fri, 17 Jun 2016 10:45:58 -0000</pubDate><guid>https://sourceforge.net8916ddc6bdd96dc5d80df9128ee59aaab10d0a3f</guid></item><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -58,6 +58,11 @@
     :::sh
     afl-fuzz -i input -o output wps2raw @@

+or 
+
+    :::sh
+    afl-fuzz -i input -o output wks2raw @@
+
 # Contact

 You can get in touch with us:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Fri, 17 Jun 2016 07:23:16 -0000</pubDate><guid>https://sourceforge.net37539dc01525d5f2765524d8717ca5024f7cabbe</guid></item><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -39,6 +39,25 @@
     git commit -a
     git format-patch origin/master

+## Fuzzing
+
+On OSX or on Linux, the simpler method is probably to install **afl** http://lcamtuf.coredump.cx/afl/ . Then you can recompile libwps using: 
+
+    :::sh
+    CXX=PATH_TO_AFL/afl-g++ ./configure [--with-sharedptr=boost|c++11|tr1]
+    make clean all install
+
+or if you compile with clang:
+
+    :::sh
+    CXX=PATH_TO_AFL/afl-clang++ ./configure [--with-sharedptr=boost|c++11|tr1]
+    make clean all install
+  
+the next step consists in regrouping a list of test files in some directory (for instance input) ; finally, you can launch the afl-fuzz:
+
+    :::sh
+    afl-fuzz -i input -o output wps2raw @@
+
 # Contact

 You can get in touch with us:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Thu, 16 Jun 2016 12:21:26 -0000</pubDate><guid>https://sourceforge.net43d995e39b095e2343e852081334de6b10e51099</guid></item><item><title>Developers modified by David Tardon</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -7,7 +7,7 @@

     git clone git://git.code.sf.net/p/libwps/code libwps

-or you can browse the code (https://sourceforge.net/p/libwps/code/ci/master/tree/). 
+or you can browse the code [online](https://sourceforge.net/p/libwps/code/ci/master/tree/). 

 ## Building it
@@ -17,7 +17,7 @@

 You will need these applications in order to compile libwps:

-* librevenge (https://sourceforge.net/p/libwpd/wiki/librevenge/)
+* [librevenge](https://sourceforge.net/p/libwpd/wiki/librevenge/)

 Once the source has been checked out, libwps can be built in usual manner: 

@@ -29,12 +29,12 @@

 Finally, if you want also to create ODF documents, you need:

-* libodfgen (https://sourceforge.net/p/libwpd/wiki/libodfgen/)
-* writerperfect (https://sourceforge.net/p/libwpd/wiki/writerperfect/)
+* [libodfgen](https://sourceforge.net/p/libwpd/wiki/libodfgen/)
+* [writerperfect](https://sourceforge.net/p/libwpd/wiki/writerperfect/)

 ## Contributing

-Once you have done a change that you are happy with, and that builds with libwps, contribute it back, we'll be happy to integrate it! All you need to do is to send us a patch. The followning commands will commit the changes to your local repository and create one or more patch files. You can send these as a ticket (https://sourceforge.net/p/libwps/patches/).
+Once you have done a change that you are happy with, and that builds with libwps, contribute it back, we'll be happy to integrate it! All you need to do is to send us a patch. The followning commands will commit the changes to your local repository and create one or more patch files. You can send these as a [ticket](https://sourceforge.net/p/libwps/patches/).

     git commit -a
     git format-patch origin/master
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Tardon</dc:creator><pubDate>Tue, 06 Oct 2015 14:11:26 -0000</pubDate><guid>https://sourceforge.net324c533e0734919bf4ad73831aba6fd23fd782df</guid></item><item><title>Developers modified by David Tardon</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -7,7 +7,7 @@

     git clone git://git.code.sf.net/p/libwps/code libwps

-or you can browse the code ( https://sourceforge.net/p/libwps/code/ci/master/tree/ ). 
+or you can browse the code (https://sourceforge.net/p/libwps/code/ci/master/tree/). 

 ## Building it
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Tardon</dc:creator><pubDate>Tue, 06 Oct 2015 14:09:22 -0000</pubDate><guid>https://sourceforge.netc375d4b271334d7ee08c183b1577daf336cc7b21</guid></item><item><title>Developers modified by David Tardon</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -15,9 +15,9 @@

 ### Dependencies

-You will need these applications in order to compile libmwaw:
+You will need these applications in order to compile libwps:

-* librevenge ( https://sourceforge.net/p/libwpd/wiki/librevenge/ )
+* librevenge (https://sourceforge.net/p/libwpd/wiki/librevenge/)

 Once the source has been checked out, libwps can be built in usual manner: 

@@ -29,12 +29,12 @@

 Finally, if you want also to create ODF documents, you need:

-* libodfgen ( https://sourceforge.net/p/libwpd/wiki/libodfgen/ )
-* writerperfect (git clone git://git.code.sf.net/p/libwpd/writerperfect)
+* libodfgen (https://sourceforge.net/p/libwpd/wiki/libodfgen/)
+* writerperfect (https://sourceforge.net/p/libwpd/wiki/writerperfect/)

 ## Contributing

-Once you have done a change that you are happy with, and that builds with libmwaw, contribute it back, we'll be happy to integrate it! All you need to do is to send us a patch. The followning commands will commit the changes to your local repository and create one or more patch files. You can send these as a ticket( https://sourceforge.net/p/libwps/patches/ ).
+Once you have done a change that you are happy with, and that builds with libwps, contribute it back, we'll be happy to integrate it! All you need to do is to send us a patch. The followning commands will commit the changes to your local repository and create one or more patch files. You can send these as a ticket (https://sourceforge.net/p/libwps/patches/).

     git commit -a
     git format-patch origin/master
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Tardon</dc:creator><pubDate>Tue, 06 Oct 2015 14:08:58 -0000</pubDate><guid>https://sourceforge.net9499d3f43f7f9c2248b85be0e6379f81f225456d</guid></item><item><title>Developers modified by alonso laurent</title><link>https://sourceforge.net/p/libwps/wiki/Developers/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -41,7 +41,10 @@

 # Contact

-You can get in touch with us by filling a bug report at .
+You can get in touch with us:
+
+* by filling a bug report at .
+* using mailinglist .

 [[project_admins]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alonso laurent</dc:creator><pubDate>Mon, 28 Apr 2014 07:40:27 -0000</pubDate><guid>https://sourceforge.net676bb8813fa9b4616561fefbc25d766c426f5279</guid></item></channel></rss>