odfkit:webodf.git
11 years agoAdd more files to ignore list.
Jos van den Oever [Thu, 2 Dec 2010 07:34:37 +0000 (08:34 +0100)]
Add more files to ignore list.

11 years agoPrint the position at which the content of entry in the zip archive differs from...
Jos van den Oever [Thu, 2 Dec 2010 07:31:29 +0000 (08:31 +0100)]
Print the position at which the content of entry in the zip archive differs from the original.

11 years agoSort entries in dir listing.
Jos van den Oever [Thu, 2 Dec 2010 07:29:50 +0000 (08:29 +0100)]
Sort entries in dir listing.

11 years agoClear cache when using nativeio.
Jos van den Oever [Wed, 1 Dec 2010 15:12:11 +0000 (16:12 +0100)]
Clear cache when using nativeio.

11 years agoAdd exit and deleteFile functions to nativeio.
Jos van den Oever [Wed, 1 Dec 2010 11:09:56 +0000 (12:09 +0100)]
Add exit and deleteFile functions to nativeio.

11 years agouse nativeio for io if it is available
Jos van den Oever [Wed, 1 Dec 2010 10:14:05 +0000 (11:14 +0100)]
use nativeio for io if it is available

11 years agoExpose "nativeio" object to javascript environment so that calls can write files...
Jos van den Oever [Wed, 1 Dec 2010 10:12:24 +0000 (11:12 +0100)]
Expose "nativeio" object to javascript environment so that calls can write files, which makes the current unit tessts pass in qtjsruntime.

11 years agoCache reading of files to speed up loading of zip files.
Jos van den Oever [Tue, 30 Nov 2010 12:41:11 +0000 (13:41 +0100)]
Cache reading of files to speed up loading of zip files.

11 years agoAdd flash movie that can perform binary PUT on browers that do not support it do...
Jos van den Oever [Mon, 29 Nov 2010 21:48:06 +0000 (22:48 +0100)]
Add flash movie that can perform binary PUT on browers that do not support it do have a flash plugin.

11 years agoShorten name for XMLHttpRequest variable from xmlHttp to xhr.
Jos van den Oever [Sat, 27 Nov 2010 22:55:59 +0000 (23:55 +0100)]
Shorten name for XMLHttpRequest variable from xmlHttp to xhr.

11 years agoSimplify test.
Jos van den Oever [Sat, 27 Nov 2010 14:07:06 +0000 (15:07 +0100)]
Simplify test.

11 years agoFix PUT method and add DELETE method.
Jos van den Oever [Sat, 27 Nov 2010 14:06:36 +0000 (15:06 +0100)]
Fix PUT method and add DELETE method.

11 years agoAdd test for writing of data and fix it for firefox. for other browsers this will...
Jos van den Oever [Sat, 27 Nov 2010 11:29:50 +0000 (12:29 +0100)]
Add test for writing of data and fix it for firefox. for other browsers this will be really hard.

11 years agoA bit more api documentation.
Jos van den Oever [Thu, 25 Nov 2010 07:49:06 +0000 (08:49 +0100)]
A bit more api documentation.

11 years agoIf not element to log into is available, write to the console.
Jos van den Oever [Thu, 25 Nov 2010 07:48:41 +0000 (08:48 +0100)]
If not element to log into is available, write to the console.

11 years agoAllow qtjsruntime to run scripts in addition to render html pages.
Jos van den Oever [Thu, 25 Nov 2010 07:40:25 +0000 (08:40 +0100)]
Allow qtjsruntime to run scripts in addition to render html pages.

11 years agoAdd parameter documentation.
Jos van den Oever [Wed, 24 Nov 2010 06:45:05 +0000 (07:45 +0100)]
Add parameter documentation.

11 years agoFix warnings in the closure compiler.
Jos van den Oever [Tue, 23 Nov 2010 14:01:28 +0000 (15:01 +0100)]
Fix warnings in the closure compiler.

11 years agoAdd script to test reading and writing of zip files.
Jos van den Oever [Tue, 23 Nov 2010 13:53:48 +0000 (14:53 +0100)]
Add script to test reading and writing of zip files.

11 years agoTake into account that local extra field in zip file may be larger than the one on...
Jos van den Oever [Tue, 23 Nov 2010 13:52:58 +0000 (14:52 +0100)]
Take into account that local extra field in zip file may be larger than the one on the central directory.

11 years agoFix bugs in parsing of Zip file.
Jos van den Oever [Tue, 23 Nov 2010 13:05:05 +0000 (14:05 +0100)]
Fix bugs in parsing of Zip file.

11 years agoAdd function for getting the list of entries.
Jos van den Oever [Tue, 23 Nov 2010 09:34:55 +0000 (10:34 +0100)]
Add function for getting the list of entries.

11 years agoAdd module for convienience asynchroneous functions.
Jos van den Oever [Tue, 23 Nov 2010 09:34:06 +0000 (10:34 +0100)]
Add module for convienience asynchroneous functions.

11 years agoUpdate to Node 0.2.5.
Jos van den Oever [Tue, 23 Nov 2010 07:59:56 +0000 (08:59 +0100)]
Update to Node 0.2.5.

11 years agoAdd (commented out) code to check the crc when loading a file.
Jos van den Oever [Mon, 22 Nov 2010 21:22:07 +0000 (22:22 +0100)]
Add (commented out) code to check the crc when loading a file.

11 years agoHide more internals of ZipEntry.
Jos van den Oever [Mon, 22 Nov 2010 21:02:17 +0000 (22:02 +0100)]
Hide more internals of ZipEntry.

11 years agoStore mtime in zipfile and also retrieve it.
Jos van den Oever [Mon, 22 Nov 2010 20:22:28 +0000 (21:22 +0100)]
Store mtime in zipfile and also retrieve it.

11 years agoImplement calculation of crc32.
Jos van den Oever [Mon, 22 Nov 2010 19:33:55 +0000 (20:33 +0100)]
Implement calculation of crc32.

11 years agoFix error that exited node too soon.
Jos van den Oever [Mon, 22 Nov 2010 16:56:38 +0000 (17:56 +0100)]
Fix error that exited node too soon.
This was introduced in the previous commit.

11 years agoRun script code such that command-line arguments are in array "arguments" in the...
Jos van den Oever [Mon, 22 Nov 2010 13:26:06 +0000 (14:26 +0100)]
Run script code such that command-line arguments are in array "arguments" in the script.

11 years agoadd definition for sendAsBinary
Jos van den Oever [Mon, 22 Nov 2010 07:49:50 +0000 (08:49 +0100)]
add definition for sendAsBinary

11 years agoFix dependencies by putting js files in the right order.
Jos van den Oever [Thu, 18 Nov 2010 14:44:35 +0000 (15:44 +0100)]
Fix dependencies by putting js files in the right order.

11 years agoAlso limit spreadsheet and text documents to their intended size.
Jos van den Oever [Tue, 16 Nov 2010 21:57:55 +0000 (22:57 +0100)]
Also limit spreadsheet and text documents to their intended size.

11 years agoAdd mechanisms to wait until the page has finished rendering.
Jos van den Oever [Tue, 16 Nov 2010 21:54:04 +0000 (22:54 +0100)]
Add mechanisms to wait until the page has finished rendering.
Every x milliseconds, it is checked if
 - the document has changed
 - network requests are going on
 - the delay too significantly longer than x milliseconds.
If any of those apply, then another x mulliseconds must be waited.

11 years agoAvoid Phonon warning by giving application a name.
Jos van den Oever [Tue, 16 Nov 2010 18:51:48 +0000 (19:51 +0100)]
Avoid Phonon warning by giving application a name.

11 years agoAvoid page breaks inside spreadsheets and presentation slides while printing.
Jos van den Oever [Tue, 16 Nov 2010 18:51:12 +0000 (19:51 +0100)]
Avoid page breaks inside spreadsheets and presentation slides while printing.

11 years agoOnly send binary when no encoding is specified.
Jos van den Oever [Mon, 15 Nov 2010 22:12:28 +0000 (23:12 +0100)]
Only send binary when no encoding is specified.

11 years agoAdd support for writing binary files to a web server.
Jos van den Oever [Mon, 15 Nov 2010 21:42:32 +0000 (22:42 +0100)]
Add support for writing binary files to a web server.
This works in current Chromium and Firefox 3.6. It does not work in Opera 10.

11 years agoAdd very simple support for writing zip files
Jos van den Oever [Mon, 15 Nov 2010 20:57:11 +0000 (21:57 +0100)]
Add very simple support for writing zip files

Zip files written are not compressed, have wrong crc and mtime set to zero.

11 years agoRemove old files.
Jos van den Oever [Mon, 15 Nov 2010 20:56:17 +0000 (21:56 +0100)]
Remove old files.

11 years agoRemove settings that have no effect.
Jos van den Oever [Mon, 15 Nov 2010 17:20:24 +0000 (18:20 +0100)]
Remove settings that have no effect.

11 years agoAfter loading, return control to the main loop once to allow some timed events to...
Jos van den Oever [Mon, 15 Nov 2010 16:47:27 +0000 (17:47 +0100)]
After loading, return control to the main loop once to allow some timed events to run.

11 years agoRender page to png and pdf.
Jos van den Oever [Mon, 15 Nov 2010 15:50:39 +0000 (16:50 +0100)]
Render page to png and pdf.

11 years agoGive qtjsruntime ability to print alert and console messages on the commandline.
Jos van den Oever [Mon, 15 Nov 2010 12:47:00 +0000 (13:47 +0100)]
Give qtjsruntime ability to print alert and console messages on the commandline.

11 years agoFix loading on local filesystem.
Jos van den Oever [Mon, 15 Nov 2010 11:11:58 +0000 (12:11 +0100)]
Fix loading on local filesystem.

11 years agoStore some small changes.
Jos van den Oever [Sat, 13 Nov 2010 17:00:19 +0000 (18:00 +0100)]
Store some small changes.

11 years agoMove externs.js
Jos van den Oever [Sat, 13 Nov 2010 16:59:22 +0000 (17:59 +0100)]
Move externs.js

11 years agoAdd small test file.
Jos van den Oever [Sat, 13 Nov 2010 16:58:22 +0000 (17:58 +0100)]
Add small test file.

11 years agoStore temporary version of an XML Model class.
Jos van den Oever [Sat, 13 Nov 2010 16:57:18 +0000 (17:57 +0100)]
Store temporary version of an XML Model class.

11 years agoMake function for converting string yield to the main loop so it does not freeze UI.
Jos van den Oever [Thu, 11 Nov 2010 22:27:11 +0000 (23:27 +0100)]
Make function for converting string yield to the main loop so it does not freeze UI.

11 years agoMake function for converting string yield to the main loop so it does not freeze UI.
Jos van den Oever [Thu, 11 Nov 2010 22:26:59 +0000 (23:26 +0100)]
Make function for converting string yield to the main loop so it does not freeze UI.

11 years agoFix setTimeout function.
Jos van den Oever [Thu, 11 Nov 2010 22:26:02 +0000 (23:26 +0100)]
Fix setTimeout function.

11 years agoAdd small program that loads a webpage and prints out parts of the content. This...
Jos van den Oever [Thu, 11 Nov 2010 07:32:12 +0000 (08:32 +0100)]
Add small program that loads a webpage and prints out parts of the content. This will be needed to run unit tests from the command-line, but in a browser.

11 years agoPass unit tests in arrays, not in hashes/objects. Each test is function with a name...
Jos van den Oever [Wed, 10 Nov 2010 20:46:35 +0000 (21:46 +0100)]
Pass unit tests in arrays, not in hashes/objects. Each test is function with a name and can be identified by that name.

11 years agoSmall fix so that chromium understands the directory pages propery.
Jos van den Oever [Wed, 10 Nov 2010 20:22:04 +0000 (21:22 +0100)]
Small fix so that chromium understands the directory pages propery.

11 years agoKeep track of which tests pass and which fail."
Jos van den Oever [Wed, 10 Nov 2010 20:20:38 +0000 (21:20 +0100)]
Keep track of which tests pass and which fail."

11 years agoAvoid stack overflow by implementing conversion as a loop.
Jos van den Oever [Wed, 10 Nov 2010 10:07:54 +0000 (11:07 +0100)]
Avoid stack overflow by implementing conversion as a loop.

11 years agoAdd unit test to and fix bug in core.Base64.
Jos van den Oever [Wed, 10 Nov 2010 09:15:45 +0000 (10:15 +0100)]
Add unit test to and fix bug in core.Base64.

11 years agoConvert the byte array to UTF8 before parsing it as XML.
Jos van den Oever [Wed, 10 Nov 2010 08:41:52 +0000 (09:41 +0100)]
Convert the byte array to UTF8 before parsing it as XML.

11 years agoDo not try to interpret text in the Zip class.
Jos van den Oever [Wed, 10 Nov 2010 08:29:40 +0000 (09:29 +0100)]
Do not try to interpret text in the Zip class.

11 years agoSmall fixes for demo.
Jos van den Oever [Tue, 9 Nov 2010 23:36:28 +0000 (00:36 +0100)]
Small fixes for demo.

11 years agoAdd simple server that runs in Node.JS and can host the WebODF demo.
Jos van den Oever [Tue, 9 Nov 2010 23:27:38 +0000 (00:27 +0100)]
Add simple server that runs in Node.JS and can host the WebODF demo.

11 years agoFinish porting of WebODF canvas and demo to new runtime.
Jos van den Oever [Tue, 9 Nov 2010 23:27:07 +0000 (00:27 +0100)]
Finish porting of WebODF canvas and demo to new runtime.

11 years agoAdd two tests and make them pass in the three runtimes.
Jos van den Oever [Tue, 9 Nov 2010 14:17:16 +0000 (15:17 +0100)]
Add two tests and make them pass in the three runtimes.

11 years agoMake zip tests pass in browers.
Jos van den Oever [Tue, 9 Nov 2010 12:51:04 +0000 (13:51 +0100)]
Make zip tests pass in browers.

11 years agoAdd three Zip unit tests and make them pass on the command-line.
Jos van den Oever [Tue, 9 Nov 2010 12:36:51 +0000 (13:36 +0100)]
Add three Zip unit tests and make them pass on the command-line.

11 years agoRefactoring snapshot. Not done yet.
Jos van den Oever [Tue, 9 Nov 2010 09:44:27 +0000 (10:44 +0100)]
Refactoring snapshot. Not done yet.

11 years agoRefactoring snapshot. Not done yet.
Jos van den Oever [Tue, 9 Nov 2010 08:27:29 +0000 (09:27 +0100)]
Refactoring snapshot. Not done yet.

11 years agoReport on report by LWN.
Jos van den Oever [Fri, 5 Nov 2010 08:33:53 +0000 (09:33 +0100)]
Report on report by LWN.

11 years agoFix warning.
Jos van den Oever [Fri, 5 Nov 2010 07:34:03 +0000 (08:34 +0100)]
Fix warning.

11 years agoAdd support for reading only parts of a file.
Jos van den Oever [Thu, 4 Nov 2010 17:31:12 +0000 (18:31 +0100)]
Add support for reading only parts of a file.
Two out of three implementations do pass the unit test, but cheat by reading the entire file and passing only part of it on.

11 years agoAdd ability to have asynchroneous unit tests.
Jos van den Oever [Thu, 4 Nov 2010 16:04:52 +0000 (17:04 +0100)]
Add ability to have asynchroneous unit tests.

11 years agoHide internals of zip implementation.
Jos van den Oever [Thu, 4 Nov 2010 09:12:11 +0000 (10:12 +0100)]
Hide internals of zip implementation.

11 years agoAdd type annotations.
Jos van den Oever [Thu, 4 Nov 2010 08:06:08 +0000 (09:06 +0100)]
Add type annotations.

11 years agoFix for Node.JS which has no window.
Jos van den Oever [Thu, 4 Nov 2010 07:40:57 +0000 (08:40 +0100)]
Fix for Node.JS which has no window.

11 years agoMake jslint complain less.
Jos van den Oever [Thu, 4 Nov 2010 07:38:35 +0000 (08:38 +0100)]
Make jslint complain less.

11 years agoMake jslint complain less.
Jos van den Oever [Thu, 4 Nov 2010 07:18:30 +0000 (08:18 +0100)]
Make jslint complain less.

11 years agoMake jslint complain less.
Jos van den Oever [Thu, 4 Nov 2010 07:16:29 +0000 (08:16 +0100)]
Make jslint complain less.

11 years agoMake webodf work again.
Jos van den Oever [Wed, 3 Nov 2010 23:47:27 +0000 (00:47 +0100)]
Make webodf work again.

11 years agoSome more closure fixes.
Jos van den Oever [Wed, 3 Nov 2010 23:33:24 +0000 (00:33 +0100)]
Some more closure fixes.

11 years agoClosure compiler fixes and simplifications.
Jos van den Oever [Wed, 3 Nov 2010 23:18:56 +0000 (00:18 +0100)]
Closure compiler fixes and simplifications.

11 years agoFix for closure compiler warnings.
Jos van den Oever [Wed, 3 Nov 2010 23:17:19 +0000 (00:17 +0100)]
Fix for closure compiler warnings.

11 years agoAdapt zip.js to JSLint.
Jos van den Oever [Wed, 3 Nov 2010 21:51:45 +0000 (22:51 +0100)]
Adapt zip.js to JSLint.

11 years agoUse numerical values to avoid confusing Rhino and as a slight speedup.
Jos van den Oever [Wed, 3 Nov 2010 21:14:54 +0000 (22:14 +0100)]
Use numerical values to avoid confusing Rhino and as a slight speedup.

11 years agoAdapt to JSLint demands.
Jos van den Oever [Wed, 3 Nov 2010 21:07:01 +0000 (22:07 +0100)]
Adapt to JSLint demands.

11 years agoFix loading of file over http.
Jos van den Oever [Wed, 3 Nov 2010 15:15:44 +0000 (16:15 +0100)]
Fix loading of file over http.

11 years agoMake compiling more strict, move style2css
Jos van den Oever [Wed, 3 Nov 2010 14:39:05 +0000 (15:39 +0100)]
Make compiling more strict, move style2css

11 years agoStop the "make" command when a failing unit test is encountered.
Jos van den Oever [Wed, 3 Nov 2010 08:53:35 +0000 (09:53 +0100)]
Stop the "make" command when a failing unit test is encountered.

11 years agoClean up for jslint.
Jos van den Oever [Tue, 2 Nov 2010 23:01:21 +0000 (00:01 +0100)]
Clean up for jslint.

11 years agoAdd ignore file.
Jos van den Oever [Tue, 2 Nov 2010 22:16:42 +0000 (23:16 +0100)]
Add ignore file.

11 years agoSmall additions to the documentation.
Jos van den Oever [Tue, 2 Nov 2010 21:57:57 +0000 (22:57 +0100)]
Small additions to the documentation.

11 years agoAdd more documentation and generate documentation from the Makefile.
Jos van den Oever [Tue, 2 Nov 2010 21:22:31 +0000 (22:22 +0100)]
Add more documentation and generate documentation from the Makefile.

11 years agoPrint test description.
Jos van den Oever [Tue, 2 Nov 2010 19:35:20 +0000 (20:35 +0100)]
Print test description.

11 years agoRemove unneeded files.
Jos van den Oever [Tue, 2 Nov 2010 15:01:24 +0000 (16:01 +0100)]
Remove unneeded files.

11 years agoMake the 'whitespace compiled' version run the unittests.
Jos van den Oever [Tue, 2 Nov 2010 13:56:09 +0000 (14:56 +0100)]
Make the 'whitespace compiled' version run the unittests.

11 years agoFix class to run in Rhino.
Jos van den Oever [Tue, 2 Nov 2010 13:05:18 +0000 (14:05 +0100)]
Fix class to run in Rhino.

11 years agoMore work on unit tests.
Jos van den Oever [Tue, 2 Nov 2010 12:47:59 +0000 (13:47 +0100)]
More work on unit tests.

11 years agoMore work on getting unit tests running.
Jos van den Oever [Tue, 2 Nov 2010 09:38:42 +0000 (10:38 +0100)]
More work on getting unit tests running.

11 years agoImprovements in making the code compile in ADVANCE mode.
Jos van den Oever [Tue, 2 Nov 2010 08:46:42 +0000 (09:46 +0100)]
Improvements in making the code compile in ADVANCE mode.

11 years agoOnly use a custom externs.js.
Jos van den Oever [Mon, 1 Nov 2010 23:03:26 +0000 (00:03 +0100)]
Only use a custom externs.js.