diff --git a/.hgignore b/.hgignore
index e2c98c1..b8a8ded 100644
--- a/.hgignore
+++ b/.hgignore
@@ -28,3 +28,7 @@ crypto/rsa/target
crypto/rsa/build
crypto/sha1/target
crypto/sha1/build
+tools/php-5.3.9-Win32-VC9-x86
+tools/PhpDocumentor-1.4.4
+minilib/lib
+tools/build/common.properties
diff --git a/ciform/build.properties b/ciform/build.properties
index 13ee8c8..cf60d3b 100644
--- a/ciform/build.properties
+++ b/ciform/build.properties
@@ -23,17 +23,11 @@ tools.dir=../tools
# Where the source files are : here Maven-style
src.dir=${basedir}/src/main/javascript
-# Directory used to put temporary files during build
+# Temporary directory where to put intermediate files during build
build.dir=${basedir}/build
-# Where the generated files are going
+# Where the final files are going
target.dir=${basedir}/target
-# Where the generated libraries are going
-lib.dir=${target.dir}/lib
-
-# Where to copy the documentation
-doc.dir=${target.dir}/doc
-
# set to common properties file
common.properties=${tools.dir}/build/common.properties
\ No newline at end of file
diff --git a/ciform/build.xml b/ciform/build.xml
index 4fc9bf1..0325b25 100644
--- a/ciform/build.xml
+++ b/ciform/build.xml
@@ -14,4 +14,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ciform/ivy.xml b/ciform/ivy.xml
index bb79555..0e9d8fe 100644
--- a/ciform/ivy.xml
+++ b/ciform/ivy.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,19 +7,20 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
-
-
+
+
+
+
+
diff --git a/ciform/src/main/php/src/main/php/ciform/ciform.php b/ciform/src/main/php/ciform/ciform.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/ciform/ciform.php
rename to ciform/src/main/php/ciform/ciform.php
diff --git a/ciform/src/main/php/src/main/php/ciform/schemes/core.php b/ciform/src/main/php/ciform/schemes/core.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/ciform/schemes/core.php
rename to ciform/src/main/php/ciform/schemes/core.php
diff --git a/ciform/src/main/php/src/main/php/crypto/Cipher.class.php b/ciform/src/main/php/crypto/Cipher.class.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/crypto/Cipher.class.php
rename to ciform/src/main/php/crypto/Cipher.class.php
diff --git a/ciform/src/main/php/src/main/php/crypto/ciphers/core.php b/ciform/src/main/php/crypto/ciphers/core.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/crypto/ciphers/core.php
rename to ciform/src/main/php/crypto/ciphers/core.php
diff --git a/ciform/src/main/php/src/main/php/crypto/ciphers/pgp.php b/ciform/src/main/php/crypto/ciphers/pgp.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/crypto/ciphers/pgp.php
rename to ciform/src/main/php/crypto/ciphers/pgp.php
diff --git a/ciform/src/main/php/src/main/php/crypto/ciphers/rsa.php b/ciform/src/main/php/crypto/ciphers/rsa.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/crypto/ciphers/rsa.php
rename to ciform/src/main/php/crypto/ciphers/rsa.php
diff --git a/ciform/src/main/php/src/main/php/demo.php b/ciform/src/main/php/demo.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/demo.php
rename to ciform/src/main/php/demo.php
diff --git a/ciform/src/main/php/src/main/php/rsatool.php b/ciform/src/main/php/rsatool.php
similarity index 100%
rename from ciform/src/main/php/src/main/php/rsatool.php
rename to ciform/src/main/php/rsatool.php
diff --git a/ciform/src/main/pix/ciform-14x14.gif b/ciform/src/pix/ciform-14x14.gif
similarity index 100%
rename from ciform/src/main/pix/ciform-14x14.gif
rename to ciform/src/pix/ciform-14x14.gif
diff --git a/ciform/src/main/pix/ciform-14x14.xcf b/ciform/src/pix/ciform-14x14.xcf
similarity index 100%
rename from ciform/src/main/pix/ciform-14x14.xcf
rename to ciform/src/pix/ciform-14x14.xcf
diff --git a/ciform/src/main/pix/ciform-16x16.gif b/ciform/src/pix/ciform-16x16.gif
similarity index 100%
rename from ciform/src/main/pix/ciform-16x16.gif
rename to ciform/src/pix/ciform-16x16.gif
diff --git a/ciform/src/main/pix/ciform-16x16.ico b/ciform/src/pix/ciform-16x16.ico
similarity index 100%
rename from ciform/src/main/pix/ciform-16x16.ico
rename to ciform/src/pix/ciform-16x16.ico
diff --git a/ciform/src/main/pix/ciform-18x18.xcf b/ciform/src/pix/ciform-18x18.xcf
similarity index 100%
rename from ciform/src/main/pix/ciform-18x18.xcf
rename to ciform/src/pix/ciform-18x18.xcf
diff --git a/ciform/src/main/pix/ciform-80x15.gif b/ciform/src/pix/ciform-80x15.gif
similarity index 100%
rename from ciform/src/main/pix/ciform-80x15.gif
rename to ciform/src/pix/ciform-80x15.gif
diff --git a/ciform/src/main/pix/ciform-button-48x48.png b/ciform/src/pix/ciform-button-48x48.png
similarity index 100%
rename from ciform/src/main/pix/ciform-button-48x48.png
rename to ciform/src/pix/ciform-button-48x48.png
diff --git a/ciform/src/main/pix/ciform-button-48x48.xcf b/ciform/src/pix/ciform-button-48x48.xcf
similarity index 100%
rename from ciform/src/main/pix/ciform-button-48x48.xcf
rename to ciform/src/pix/ciform-button-48x48.xcf
diff --git a/ciform/src/main/pix/ciform-flat-48x48.png b/ciform/src/pix/ciform-flat-48x48.png
similarity index 100%
rename from ciform/src/main/pix/ciform-flat-48x48.png
rename to ciform/src/pix/ciform-flat-48x48.png
diff --git a/ciform/src/main/pix/ciform-title-186x80.png b/ciform/src/pix/ciform-title-186x80.png
similarity index 100%
rename from ciform/src/main/pix/ciform-title-186x80.png
rename to ciform/src/pix/ciform-title-186x80.png
diff --git a/ciform/src/main/pix/ciform-title-186x80.xcf b/ciform/src/pix/ciform-title-186x80.xcf
similarity index 100%
rename from ciform/src/main/pix/ciform-title-186x80.xcf
rename to ciform/src/pix/ciform-title-186x80.xcf
diff --git a/ciform/src/main/pix/ciform-working-14x14.gif b/ciform/src/pix/ciform-working-14x14.gif
similarity index 100%
rename from ciform/src/main/pix/ciform-working-14x14.gif
rename to ciform/src/pix/ciform-working-14x14.gif
diff --git a/ciform/src/main/pix/deprecated/lock-panel.xcf b/ciform/src/pix/deprecated/lock-panel.xcf
similarity index 100%
rename from ciform/src/main/pix/deprecated/lock-panel.xcf
rename to ciform/src/pix/deprecated/lock-panel.xcf
diff --git a/ciform/src/main/pix/deprecated/lock-shadow.xcf b/ciform/src/pix/deprecated/lock-shadow.xcf
similarity index 100%
rename from ciform/src/main/pix/deprecated/lock-shadow.xcf
rename to ciform/src/pix/deprecated/lock-shadow.xcf
diff --git a/ciform/src/main/pix/deprecated/minikey.xcf b/ciform/src/pix/deprecated/minikey.xcf
similarity index 100%
rename from ciform/src/main/pix/deprecated/minikey.xcf
rename to ciform/src/pix/deprecated/minikey.xcf
diff --git a/ciform/src/main/pix/stb-80x15.xcf b/ciform/src/pix/stb-80x15.xcf
similarity index 100%
rename from ciform/src/main/pix/stb-80x15.xcf
rename to ciform/src/pix/stb-80x15.xcf
diff --git a/ciform/src/main/php/src/test/php/CiformTest.php b/ciform/src/test/php/CiformTest.php
similarity index 100%
rename from ciform/src/main/php/src/test/php/CiformTest.php
rename to ciform/src/test/php/CiformTest.php
diff --git a/ciform/src/main/php/src/test/php/sandbox.php b/ciform/src/test/php/sandbox.php
similarity index 100%
rename from ciform/src/main/php/src/test/php/sandbox.php
rename to ciform/src/test/php/sandbox.php
diff --git a/ciform/src/main/php/src/test/php/schemesTest.php b/ciform/src/test/php/schemesTest.php
similarity index 100%
rename from ciform/src/main/php/src/test/php/schemesTest.php
rename to ciform/src/test/php/schemesTest.php
diff --git a/ciform/src/main/php/src/test/resources/keys/qrcode-pgp-elg-pub.html b/ciform/src/test/resources/keys/qrcode-pgp-elg-pub.html
similarity index 100%
rename from ciform/src/main/php/src/test/resources/keys/qrcode-pgp-elg-pub.html
rename to ciform/src/test/resources/keys/qrcode-pgp-elg-pub.html
diff --git a/crypto/hex/build.properties b/crypto/hex/build.properties
index ecea65a..b89ef35 100644
--- a/crypto/hex/build.properties
+++ b/crypto/hex/build.properties
@@ -17,8 +17,7 @@
#
########################################
-basedir=.
-tools.dir=../../tools
+tools.dir=${basedir}/../../tools
# Where the source files are : here Maven-style
src.dir=${basedir}/src/main/javascript
diff --git a/crypto/hex/build.xml b/crypto/hex/build.xml
index f4c67ec..fef07bd 100644
--- a/crypto/hex/build.xml
+++ b/crypto/hex/build.xml
@@ -11,7 +11,7 @@
-
+
diff --git a/crypto/rsa/ivy.xml b/crypto/rsa/ivy.xml
index c2b73ed..8cec39d 100644
--- a/crypto/rsa/ivy.xml
+++ b/crypto/rsa/ivy.xml
@@ -1,5 +1,5 @@
-
+
diff --git a/crypto/sha1/ivy.xml b/crypto/sha1/ivy.xml
index 637f32d..f7bb74e 100644
--- a/crypto/sha1/ivy.xml
+++ b/crypto/sha1/ivy.xml
@@ -1,5 +1,5 @@
-
+
diff --git a/minilib/build.properties b/minilib/build.properties
new file mode 100644
index 0000000..de51966
--- /dev/null
+++ b/minilib/build.properties
@@ -0,0 +1,33 @@
+########################################
+#
+# This file defines properties specific only to this project.
+#
+# Some important properties are marked as "required" so you can spot them.
+# They are required to have valid values for the projects to build.
+#
+# You should not need to override those properties.
+# If you really need to, you may create a new file called "local.properties" in the same directory
+# and put inside any property you want to fit your local configuration.
+#
+# The "local.properties" file is meant to stay local,
+# therefore you won't find it on the version control system (SVN, Hg, ...).
+#
+# If you don't wish to create such a file, you may pass the required properties
+# to ant as command line arguments using the -D option.
+#
+########################################
+
+basedir=.
+tools.dir=../tools
+
+# Where the source files are : here Maven-style
+src.dir=${basedir}/src/main/js
+
+# Directory used to put temporary files during build
+build.dir=${basedir}/build
+
+# Where the generated files are going
+target.dir=${basedir}/target
+
+# set to common properties file
+common.properties=${tools.dir}/build/common.properties
\ No newline at end of file
diff --git a/minilib/build.xml b/minilib/build.xml
new file mode 100644
index 0000000..cbaddcc
--- /dev/null
+++ b/minilib/build.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/minilib/ivy.xml b/minilib/ivy.xml
new file mode 100644
index 0000000..3289100
--- /dev/null
+++ b/minilib/ivy.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+ Small set of core Javascript functions to avoid dependending on bigger frameworks like jquery when possible.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ciform/src/main/javascript/minilib.js b/minilib/src/main/js/minilib.js
similarity index 97%
rename from ciform/src/main/javascript/minilib.js
rename to minilib/src/main/js/minilib.js
index 85a4833..1990a68 100644
--- a/ciform/src/main/javascript/minilib.js
+++ b/minilib/src/main/js/minilib.js
@@ -11,7 +11,7 @@
@fileoverview
This library provides a very minimalistic set of functions to fill some gaps in the core Javascript language.
- It should be compatible with most current market's libraries, so that if size would not be a problem it should easily be replaced/enhanced with one of them.
+ It should be replaced with one of the (better) frameworks on the market (jquery, mootools, ...) if size is not a problem.
@author Nicolas BONARDELLE <http://nicobo.net/contact>
*/
@@ -112,6 +112,7 @@ function equals( o1, o2, noCase )
/**
+ @param value The value to look for
@param noCase If the value is a String, use a case insensitive test to search this object
@return true if this array contains the given value (not key)
@addon
diff --git a/tools/PhpDocumentor-1.4.4.zip b/tools/PhpDocumentor-1.4.4.zip
new file mode 100644
index 0000000..e446190
Binary files /dev/null and b/tools/PhpDocumentor-1.4.4.zip differ
diff --git a/tools/build/ant-js.xml b/tools/build/ant-js.xml
index 00840d9..02d9a60 100644
--- a/tools/build/ant-js.xml
+++ b/tools/build/ant-js.xml
@@ -16,6 +16,8 @@
+
+
-
+
@@ -54,6 +56,7 @@
+
@@ -91,7 +94,7 @@
-
+
@@ -100,8 +103,8 @@
-
-
+
+
@@ -111,20 +114,22 @@
-->
+
-
+
+
-
-
+
+
@@ -132,7 +137,7 @@
Takes all *.js files inside ${src.dir} as input.
Creates a file name after the new property 'build.bigsource.js'.
-->
-
+
@@ -143,17 +148,17 @@
-
-
-
+
+
+
-
-
+
+
-
+
@@ -214,17 +219,22 @@
+
-
+
+
-
+
+
+
+
diff --git a/tools/build/common-sample.properties b/tools/build/common-sample.properties
index 0b8578b..5b77711 100644
--- a/tools/build/common-sample.properties
+++ b/tools/build/common-sample.properties
@@ -46,4 +46,7 @@ yuicompressor.jar=${tools.dir}/yuicompressor-2.4.7.jar
# Installation directory of JSDoc-toolkit (http://code.google.com/p/jsdoc-toolkit)
# (required) -> define this property in your "local.properties" file
-jsdoc.dir=${tools.dir}/jsdoc-toolkit
\ No newline at end of file
+jsdoc.dir=${tools.dir}/jsdoc-toolkit
+
+# Command to run PHPDocumentor
+phpdoc.exe=${tools.dir}/php-5.3.9-Win32-VC9-x86/php.exe ${tools.dir}/PhpDocumentor-1.4.4/phpdoc.php
diff --git a/tools/php-5.3.9-Win32-VC9-x86.zip b/tools/php-5.3.9-Win32-VC9-x86.zip
new file mode 100644
index 0000000..6df5c4b
Binary files /dev/null and b/tools/php-5.3.9-Win32-VC9-x86.zip differ