Commit Graph
40 Commits
Author SHA1 Message Date
Jos van den Oever 3fc501e844 Enable validation of ODF 1.0 and 1.1: it is good enough and flags the same files invalid as jing does. 2011-11-15 19:31:49 +01:00
Jos van den Oever e52f4990e9 Fix JSLint errors. 2011-11-15 18:32:17 +01:00
Jos van den Oever 95550a1376 Compile fixes and additional type annotations. 2011-11-15 17:44:59 +01:00
Jos van den Oever ffa952b7e3 Propery report non-zero exit code when a javascript error occurs in a script. 2011-11-15 14:05:32 +01:00
Jos van den Oever 7929442620 Set the current paths so that javascript files can be found in runtime.js. 2011-11-15 13:26:57 +01:00
Jos van den Oever 825181a9e0 Specify that mobile Firefox is supported. 2011-10-21 12:32:08 +02:00
Jos van den Oever 7b8ddd86fb Add icon to firefox extension. 2011-10-21 12:21:21 +02:00
Jos van den Oever 27fb418a76 Update version number of firefox extension. 2011-10-21 11:37:49 +02:00
Jos van den Oever ffb57232c2 Add workarounds for Firefox extension submission.
Firefox extensions are submitted to static code analysis. In this analysis, some features are flagged and some are fixed by this commit:
 - eval() is not allowed. it is replaced by evil(). Only dead code refers to it.
 - the variable 'windows' is renamed to 'mywindow'.
 - setTimeout calls a literal function instead of a function variable.
2011-10-21 11:21:56 +02:00
Jos van den Oever 4962cfa043 Fix some warnings. 2011-10-19 21:00:43 +02:00
Jos van den Oever 14a1199c26 Use JavaScript to zip the xpi file.
Not all parts of this solution were committed previously.
2011-10-19 09:58:18 +02:00
Jos van den Oever bb0d00f035 Use node and javascript for zipping the Firefox extension.
Using cmake to do zipping was too hard. Luckily, ODF is also often a zip file and hence the zip code from webodf can be used to zip the xpi file.
2011-10-18 22:06:00 +02:00
Jos van den Oever 6dfb6ede7c Add WebODF Firefox extension. 2011-10-16 21:35:34 +02:00
Jos van den Oever 5c6f0ed888 Open files relative to the html or js file. 2011-10-06 14:13:44 +02:00
Jos van den Oever d5b1d8fbf2 Add more dependencies to fix bugs in parallel make calls
make -j4 should work without error now.
2011-10-05 09:57:10 +02:00
Jos van den Oever 62f4506a7d Allow embedding of fonts in generated pdf. 2011-09-30 09:30:52 +02:00
Jos van den Oever 3d289d01bb Fix conditional statement: missing negation. 2011-09-29 16:06:16 +02:00
Jos van den Oever 7bb48ad38d Show error message if the browser cannot open the files.
This happens in e.g. Internet Explorer 9.
2011-09-22 13:49:04 +02:00
Jos van den Oever ad46d50fde Add fix for Opera. 2011-09-22 13:33:37 +02:00
Jos van den Oever 5545dd6356 Add relax ng validation.
The error message are not helpful, they only indicate if there is a problem.
Also, the schemas for 1.0 and 1.1 are not supported yet.
2011-09-22 11:58:28 +02:00
Jos van den Oever d5785c626d Cleanup of older diagnosis code. 2011-09-21 16:52:39 +02:00
Jos van den Oever 2db8a43149 Add first version of docnosis.
docnosis is a javascript file that analyses ODF files and reports errors.
2011-09-21 16:31:14 +02:00
Jos van den Oever cd3991c0a2 Build fix for Mac OS X 10.7. 2011-08-29 15:20:07 +02:00
Jos van den Oever 9cf1318458 Simplify Qt based executables.
Zip implementation is no longer in C++ but in JavaScript. Runtime customization is now shared between the two Qt executables.
2011-07-26 13:23:46 +02:00
Jos van den Oever 175ec6a67f Fix rendering of pdf and png from a webpage or javascript. 2011-07-19 18:32:13 +02:00
Jos van den Oever 0f311d6600 Adjusted the Android version to use webodf.js 2011-06-09 09:47:23 +02:00
Jos van den Oever 6e20bc3848 Adapt nativeQtClient to use webodf.js. 2011-06-07 22:24:51 +02:00
Jos van den Oever 5e51064a38 Remove website from the repository. 2011-06-07 10:57:36 +02:00
Jos van den Oever 13c077b970 Add licenses and copyright statements to all javascript files. 2011-06-06 12:30:35 +02:00
Jos van den Oever b978a0fb40 Refactor use of byte arrays
Previously, byte arrays were implemented as string with values from 0 to 255 inclusive. Some runtimes such as Node and modern browsers have native array implementations. These should be faster.

This commit changes changes WebODF to use the native arrays. Since byte arrays differ across runtimes, they are now abstracted by the Runtime.
2011-02-27 21:46:38 +01:00
Jos van den Oever 9f47dd0987 Check if a file really exists and is readable and report an error otherwise. 2011-02-24 18:32:01 +01:00
Jos van den Oever 41ecad49b4 Specify png and pdf export via arguments in qtjsruntime. 2011-02-24 18:20:37 +01:00
Jos van den Oever 59288c4021 Workaround for the fact that QWebView does not preserve the url fragment. 2011-02-24 09:17:32 +01:00
Jos van den Oever 56dfd111fc Retain query and fragment when loading a local file via relative URL. 2011-02-24 00:01:08 +01:00
Jos van den Oever 74a2b665d8 Remove conversion to html. 2011-02-23 11:09:53 +01:00
Jos van den Oever 1e04a25194 Fix runtime.js so that it can be used in qtjsruntime. 2011-02-18 16:31:36 +01:00
Jos van den Oever 3979d22a07 Partially add building of Android application to CMake system. This is not straightforward and not finished yet. 2011-02-16 09:53:34 +01:00
Jos van den Oever 4cfa653abf Partially add building of Android application to CMake system. This is not straightforward and not finished yet. 2011-02-16 09:53:26 +01:00
Jos van den Oever ca63d2cc15 Convert QMake projects to CMake. 2011-02-12 23:55:51 +01:00
Jos van den Oever cc36d25586 Reorganize programs. 2011-02-12 21:17:14 +01:00