odfkit:webodf.git
11 years agoRemove many of the ignored files.
Jos van den Oever [Mon, 14 Feb 2011 14:50:26 +0000 (15:50 +0100)]
Remove many of the ignored files.
These files are now in the build tree and do not need to be ignored.

11 years agoFix build problem: apparently C language support should be enabled to do all of the...
Jos van den Oever [Mon, 14 Feb 2011 12:00:58 +0000 (13:00 +0100)]
Fix build problem: apparently C language support should be enabled to do all of the CMake initialization checks.

11 years agoAdd compile step to check JavaScript with JSLint and fixed errors in some files.
Jos van den Oever [Mon, 14 Feb 2011 08:40:08 +0000 (09:40 +0100)]
Add compile step to check JavaScript with JSLint and fixed errors in some files.

11 years agoConvert QMake projects to CMake.
Jos van den Oever [Sat, 12 Feb 2011 22:55:51 +0000 (23:55 +0100)]
Convert QMake projects to CMake.

11 years agoSwitch from Makefile to CMake and from NodeJS 0.2 to 0.4.
Jos van den Oever [Sat, 12 Feb 2011 20:56:13 +0000 (21:56 +0100)]
Switch from Makefile to CMake and from NodeJS 0.2 to 0.4.
Now CMake will retrieve and compile Node and other requirements.

11 years agoReorganize programs.
Jos van den Oever [Sat, 12 Feb 2011 20:17:14 +0000 (21:17 +0100)]
Reorganize programs.

11 years agoLoad file in chunks instead of all at once.
Jos van den Oever [Wed, 9 Feb 2011 22:46:30 +0000 (23:46 +0100)]
Load file in chunks instead of all at once.

Instead of reading the entire file at once and converting it to a huge base64 encoded string, we now load chunks.
Each read call will register a global callback that is called to report the read data to the canvas. After being called once, the callback is removed again.

11 years agoUse base encoding to transfer file data to the viewer.
Jos van den Oever [Wed, 9 Feb 2011 17:23:37 +0000 (18:23 +0100)]
Use base encoding to transfer file data to the viewer.

11 years agoMake application debuggable.
Jos van den Oever [Wed, 9 Feb 2011 17:22:42 +0000 (18:22 +0100)]
Make application debuggable.

11 years agoStore the notes in the repository.
Jos van den Oever [Wed, 9 Feb 2011 08:26:01 +0000 (09:26 +0100)]
Store the notes in the repository.

11 years agoIf no "settings.xml" is present, simply continue.
Jos van den Oever [Wed, 9 Feb 2011 08:12:43 +0000 (09:12 +0100)]
If no "settings.xml" is present, simply continue.

11 years agoDisplay footnotes as tooltips until we think of a better mechanism.
Jos van den Oever [Tue, 8 Feb 2011 16:48:53 +0000 (17:48 +0100)]
Display footnotes as tooltips until we think of a better mechanism.

11 years agoAdd a note on how to contribute.
Jos van den Oever [Mon, 7 Feb 2011 07:08:07 +0000 (08:08 +0100)]
Add a note on how to contribute.

11 years agoAdd some temporary test/experiment files.
Jos van den Oever [Mon, 7 Feb 2011 07:02:31 +0000 (08:02 +0100)]
Add some temporary test/experiment files.

11 years agoDo not log requests for favicon.ico.
Jos van den Oever [Mon, 7 Feb 2011 06:57:55 +0000 (07:57 +0100)]
Do not log requests for favicon.ico.

11 years agoSome work on a possible cursor implementation.
Jos van den Oever [Mon, 7 Feb 2011 06:37:16 +0000 (07:37 +0100)]
Some work on a possible cursor implementation.

11 years agoRemove debug statement.
Jos van den Oever [Mon, 31 Jan 2011 20:47:13 +0000 (21:47 +0100)]
Remove debug statement.

11 years agoFix race condition: load page until the end even if the loading of the ODF takes...
Jos van den Oever [Mon, 31 Jan 2011 20:21:44 +0000 (21:21 +0100)]
Fix race condition: load page until the end even if the loading of the ODF takes long and is asynchroneous.

11 years agoFix parsing when no styles or automatic-styles element is present.
Jos van den Oever [Mon, 31 Jan 2011 17:03:10 +0000 (18:03 +0100)]
Fix parsing when no styles or automatic-styles element is present.

11 years agoDo not show directories that are not readable.
Jos van den Oever [Mon, 31 Jan 2011 13:33:34 +0000 (14:33 +0100)]
Do not show directories that are not readable.

11 years agoUse normal layout so paragraphs are not wrapped to the viewport.
Jos van den Oever [Mon, 31 Jan 2011 13:29:31 +0000 (14:29 +0100)]
Use normal layout so paragraphs are not wrapped to the viewport.

11 years agoFix crash that happened when no SD card was mounted.
Jos van den Oever [Mon, 31 Jan 2011 12:30:53 +0000 (13:30 +0100)]
Fix crash that happened when no SD card was mounted.

11 years agoFix syntax for nth-child.
Jos van den Oever [Mon, 31 Jan 2011 11:37:27 +0000 (12:37 +0100)]
Fix syntax for nth-child.

11 years agoIgnore generated files, but add default.properties, which is also generated. default...
Jos van den Oever [Mon, 31 Jan 2011 10:42:24 +0000 (11:42 +0100)]
Ignore generated files, but add default.properties, which is also generated. default.properties requires an ant setup to generate. It is easier to simply add it.

11 years agoAdd simple android client.
Jos van den Oever [Mon, 31 Jan 2011 10:08:43 +0000 (11:08 +0100)]
Add simple android client.

11 years agoChange initialization order so the container also works in situations where data...
Jos van den Oever [Sun, 30 Jan 2011 21:30:47 +0000 (22:30 +0100)]
Change initialization order so the container also works in situations where data loading is instantaneous.

11 years agoUpdate the resources file to the current list of files required to add WebODF to...
Jos van den Oever [Sun, 30 Jan 2011 21:29:58 +0000 (22:29 +0100)]
Update the resources file to the current list of files required to add WebODF to your application.

11 years agoBind the server to the localhost network interface for improved security.
Jos van den Oever [Sun, 30 Jan 2011 21:29:16 +0000 (22:29 +0100)]
Bind the server to the localhost network interface for improved security.

11 years agoFix for Android browser which does not have a good XPath implementation. We replace...
Jos van den Oever [Sun, 30 Jan 2011 21:28:31 +0000 (22:28 +0100)]
Fix for Android browser which does not have a good XPath implementation. We replace the code with a simple traversal.

11 years agoMostly fix the qt client by relying more on the javascript code.
Jos van den Oever [Sat, 29 Jan 2011 22:40:34 +0000 (23:40 +0100)]
Mostly fix the qt client by relying more on the javascript code.

11 years agoAdd testareas element because in new WebKit browsers, tests on the DOM that use a...
Jos van den Oever [Fri, 14 Jan 2011 08:50:28 +0000 (09:50 +0100)]
Add testareas element because in new WebKit browsers, tests on the DOM that use a selection need to be anchored in the DOM.

11 years agofix tests to new UnitTester class
Jos van den Oever [Fri, 14 Jan 2011 08:49:10 +0000 (09:49 +0100)]
fix tests to new UnitTester class

11 years agoremove hideCaretInTextNode parameter from constructor
Jos van den Oever [Fri, 14 Jan 2011 08:48:51 +0000 (09:48 +0100)]
remove hideCaretInTextNode parameter from constructor

11 years agoChange default port.
Jos van den Oever [Mon, 10 Jan 2011 08:21:38 +0000 (09:21 +0100)]
Change default port.

11 years agosmall changes towards a better cursor
Jos van den Oever [Mon, 3 Jan 2011 10:20:33 +0000 (11:20 +0100)]
small changes towards a better cursor

11 years agoSmall refactoring.
Jos van den Oever [Thu, 2 Dec 2010 09:10:34 +0000 (10:10 +0100)]
Small refactoring.

11 years agosmall cleanup
Jos van den Oever [Thu, 2 Dec 2010 07:55:38 +0000 (08:55 +0100)]
small cleanup

11 years agoAdapt to new API.
Jos van den Oever [Thu, 2 Dec 2010 07:44:06 +0000 (08:44 +0100)]
Adapt to new API.

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.