There is a remark in the CMake documentation that says:
Do not list the output in more than one independent target that may build in parallel or the two instances of the rule may conflict (instead use add_custom_target to drive the command and make the other targets depend on that one).
This patch makes sure that that advice is followed in many more places in the WebODF build.
* reduce occurance of doing stuff in source dir (test.odt)
* create subdir with cmakelists.txt for nodetest and qtjsruntimetest
* create target for webodf.css.js and thus fix `make -j`-capability
The new version has better security because it does not use the chrome:// url.
PDF.js code served as the template for the code to load the extension.
Buttons were added to go to the webodf website and to download the source code.
Previously, the download button would save under a different unfriendly name. Now, the original filename as shown on the server is used in the save dialog.
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.