Commit Graph
24 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau d302b3f07e Make qtjsruntime work on windows and it's C:/foo/bar paths 2014-05-13 19:07:58 +02:00
Friedrich W. H. Kossebau 08e9108ebf Use Qt5 for qtjsruntime 2014-05-13 19:07:58 +02:00
Philip Peitsch 64e46afca9 Fix compile error using Qt 4.8.5 on Windows 2014-03-04 00:25:44 +11:00
Jos van den Oever b1f46c4ab3 Fix bug: readFile should be able to return strings too now. 2013-11-29 18:30:23 +01:00
Jos van den Oever f6efff1424 Fix deleteFile function in Runtime. 2012-08-21 08:47:43 +02:00
Jos van den Oever 8a7d713793 Fix creation of QUrl frome file path on OSX.
On OSX, the resolution from file path to url was not working. By using absolute file paths, this error is circumvented.
2012-06-25 18:05:16 +02:00
Jos van den Oever 84ec65798e Fix qtjsruntime such that it also runs webodf.js and webodf-debug.js. 2012-05-20 21:42:26 +02:00
Jos van den Oever 7d5013fa0f Fix the temporary html so CSS works. 2012-05-20 17:47:40 +02:00
Jos van den Oever 0e97181c70 Fix bindings of runtime.js in qtjsruntime. 2011-11-22 09:55:38 +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 5c6f0ed888 Open files relative to the html or js file. 2011-10-06 14:13:44 +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 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 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 1e04a25194 Fix runtime.js so that it can be used in qtjsruntime. 2011-02-18 16:31:36 +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