odfkit:webodf.git
10 years agoAdd the ios port the the main repository.
Jos van den Oever [Thu, 2 Feb 2012 13:01:41 +0000 (14:01 +0100)]
Add the ios port the the main repository.

This port is using PhoneGap (Apache Callback) and Sencha Touch, just like the new Android port. The JavaScript code is shared and placed in programs/android/assets/www.

Importing ios version.

Add files that seem useful.

Add phonegap js file and splash screens.

more work

10 years agoUpdate to new versions of Node.js and Closure compiler.
Jos van den Oever [Thu, 2 Feb 2012 08:55:52 +0000 (09:55 +0100)]
Update to new versions of Node.js and Closure compiler.

10 years agoUpdate JSLint.
Jos van den Oever [Tue, 3 Jan 2012 08:45:57 +0000 (09:45 +0100)]
Update JSLint.

10 years agoUpdate nodejs.
Jos van den Oever [Tue, 3 Jan 2012 08:41:50 +0000 (09:41 +0100)]
Update nodejs.

10 years agoAdd extra required dependency.
Jos van den Oever [Tue, 13 Dec 2011 15:09:29 +0000 (16:09 +0100)]
Add extra required dependency.

10 years agoShare OdfCanvas between the OdfView and the FileDetails view.
Jos van den Oever [Tue, 13 Dec 2011 15:09:06 +0000 (16:09 +0100)]
Share OdfCanvas between the OdfView and the FileDetails view.

10 years agoOnly add handler if it is not yet present.
Jos van den Oever [Tue, 13 Dec 2011 15:08:31 +0000 (16:08 +0100)]
Only add handler if it is not yet present.

10 years agoMake the release apk file a separate target.
Jos van den Oever [Tue, 13 Dec 2011 11:13:54 +0000 (12:13 +0100)]
Make the release apk file a separate target.

10 years agoJSLint fixes.
Jos van den Oever [Tue, 13 Dec 2011 08:29:58 +0000 (09:29 +0100)]
JSLint fixes.

10 years agoSwitch to a sencha touch based ui.
Jos van den Oever [Tue, 13 Dec 2011 07:37:41 +0000 (08:37 +0100)]
Switch to a sencha touch based ui.
This ui is shared with the iOS version of WebODF.

10 years agoUpdate build system for android.
Jos van den Oever [Sun, 11 Dec 2011 17:29:58 +0000 (18:29 +0100)]
Update build system for android.

10 years agoUse cmake variable that is actually defined.
Jos van den Oever [Sun, 11 Dec 2011 12:15:25 +0000 (13:15 +0100)]
Use cmake variable that is actually defined.

10 years agoUpdate to the latest Node.JS.
Jos van den Oever [Fri, 9 Dec 2011 08:36:18 +0000 (09:36 +0100)]
Update to the latest Node.JS.

10 years agoVarious build fixes needed because webodf.js is not included in the respository anymore.
Jos van den Oever [Thu, 8 Dec 2011 10:52:37 +0000 (11:52 +0100)]
Various build fixes needed because webodf.js is not included in the respository anymore.

10 years agoRemove the compiled file webodf.js from the code repository.
Jos van den Oever [Thu, 8 Dec 2011 09:43:54 +0000 (10:43 +0100)]
Remove the compiled file webodf.js from the code repository.

10 years agoAdd new target: a binary webodf package.
Jos van den Oever [Thu, 8 Dec 2011 09:30:27 +0000 (10:30 +0100)]
Add new target: a binary webodf package.

10 years agoOnly show the first image in a frame.
Jos van den Oever [Wed, 7 Dec 2011 09:13:57 +0000 (10:13 +0100)]
Only show the first image in a frame.
Ideally this is the first supported image in a frame.

10 years agoUpdate version number to match the last number used in the firefox extension.
Jos van den Oever [Tue, 6 Dec 2011 15:27:58 +0000 (16:27 +0100)]
Update version number to match the last number used in the firefox extension.
and remove the reduntant install.rdf from the repository.

10 years agoUse a central version number.
Jos van den Oever [Tue, 6 Dec 2011 15:01:41 +0000 (16:01 +0100)]
Use a central version number.
This number is used in the firefox extension and will be used in more places.

10 years agoFix bug due to wrong offset.
Jos van den Oever [Tue, 6 Dec 2011 14:11:37 +0000 (15:11 +0100)]
Fix bug due to wrong offset.
Now the firefox extension should be packed fine.

11 years agoFix the download button.
Jos van den Oever [Mon, 5 Dec 2011 15:39:05 +0000 (16:39 +0100)]
Fix the download button.

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.

11 years agoFinish partial XPath implementation.
Jos van den Oever [Wed, 30 Nov 2011 08:45:53 +0000 (09:45 +0100)]
Finish partial XPath implementation.
All unit tests for it pass now.

11 years agoAvoid stack overflow.
Jos van den Oever [Mon, 28 Nov 2011 09:51:21 +0000 (10:51 +0100)]
Avoid stack overflow.

11 years agoAdd tests to test xmldom.XPath.
Jos van den Oever [Mon, 28 Nov 2011 09:34:05 +0000 (10:34 +0100)]
Add tests to test xmldom.XPath.

11 years agoBetter error message when a class cannot be loaded.
Jos van den Oever [Mon, 28 Nov 2011 08:47:44 +0000 (09:47 +0100)]
Better error message when a class cannot be loaded.

11 years agoAdd incomplete, even for WebODF, XPath implementation.
Jos van den Oever [Sat, 26 Nov 2011 15:35:08 +0000 (16:35 +0100)]
Add incomplete, even for WebODF, XPath implementation.
This is needed since IE has no support for XPath.

11 years agoUpdate JSLint.
Jos van den Oever [Fri, 25 Nov 2011 15:18:24 +0000 (16:18 +0100)]
Update JSLint.

11 years agoClean up RawDeflate.js
Jos van den Oever [Fri, 25 Nov 2011 15:00:58 +0000 (16:00 +0100)]
Clean up RawDeflate.js

11 years agoUpdate Closure compiler.
Jos van den Oever [Fri, 25 Nov 2011 15:00:39 +0000 (16:00 +0100)]
Update Closure compiler.

11 years agoFixes for IE9.
Jos van den Oever [Tue, 22 Nov 2011 14:39:43 +0000 (15:39 +0100)]
Fixes for IE9.

11 years agoRefactor all use of XPath to a separate class.
Jos van den Oever [Tue, 22 Nov 2011 11:23:36 +0000 (12:23 +0100)]
Refactor all use of XPath to a separate class.

11 years agoFix bindings of runtime.js in qtjsruntime.
Jos van den Oever [Tue, 22 Nov 2011 08:55:38 +0000 (09:55 +0100)]
Fix bindings of runtime.js in qtjsruntime.

11 years agoOnly run tests that require qt if qt is available.
Jos van den Oever [Mon, 21 Nov 2011 15:48:57 +0000 (16:48 +0100)]
Only run tests that require qt if qt is available.

11 years agoadd some vim-modelines to CMake files
Tobias Hintze [Fri, 18 Nov 2011 23:35:37 +0000 (00:35 +0100)]
add some vim-modelines to CMake files

11 years agodisable generation of webodf-experimental.js for now
Tobias Hintze [Fri, 18 Nov 2011 23:34:33 +0000 (00:34 +0100)]
disable generation of webodf-experimental.js for now

11 years agoadd gui/PresenterUI
Tobias Hintze [Fri, 18 Nov 2011 23:10:43 +0000 (00:10 +0100)]
add gui/PresenterUI

11 years agouse /usr/bin/env instead of /bin/env
Tobias Hintze [Fri, 18 Nov 2011 22:40:09 +0000 (23:40 +0100)]
use /usr/bin/env instead of /bin/env

11 years agorequire at least qt-4.7.0
Tobias Hintze [Fri, 18 Nov 2011 22:39:56 +0000 (23:39 +0100)]
require at least qt-4.7.0

11 years agoFix crash when there is no fontface declaration.
Jos van den Oever [Fri, 18 Nov 2011 11:24:10 +0000 (12:24 +0100)]
Fix crash when there is no fontface declaration.

11 years agoRead mimetypes from the manifest files.
Jos van den Oever [Fri, 18 Nov 2011 10:04:23 +0000 (11:04 +0100)]
Read mimetypes from the manifest files.
This magically adds support for rendering svg files.

11 years agoCompile fix
Jos van den Oever [Thu, 17 Nov 2011 09:16:26 +0000 (10:16 +0100)]
Compile fix

11 years agoAdd initial support for showing embedded fonts in webodf.
Jos van den Oever [Thu, 17 Nov 2011 08:33:29 +0000 (09:33 +0100)]
Add initial support for showing embedded fonts in webodf.
Caveats:
- probably only works with truetype fonts in non-IE browsers
- small hack that retrieves the stylesheet to add the rule to: should ideally be make available as a set of rules in the odf container or loaded from OdfCanvas instead of from the OdfContainer.

11 years agoCheck that a document is actually loaded before using it.
Jos van den Oever [Wed, 16 Nov 2011 15:37:19 +0000 (16:37 +0100)]
Check that a document is actually loaded before using it.
Some parts of ODF are not obligatory.

11 years agoEnable validation of ODF 1.0 and 1.1: it is good enough and flags the same files...
Jos van den Oever [Tue, 15 Nov 2011 18:31:49 +0000 (19:31 +0100)]
Enable validation of ODF 1.0 and 1.1: it is good enough and flags the same files invalid as jing does.

11 years agoFix JSLint errors.
Jos van den Oever [Tue, 15 Nov 2011 17:32:17 +0000 (18:32 +0100)]
Fix JSLint errors.

11 years agoCompile fixes and additional type annotations.
Jos van den Oever [Tue, 15 Nov 2011 16:44:59 +0000 (17:44 +0100)]
Compile fixes and additional type annotations.

11 years agoMake support for the Relax NG "combine" attribute more elegant.
Jos van den Oever [Tue, 15 Nov 2011 16:14:47 +0000 (17:14 +0100)]
Make support for the Relax NG "combine" attribute more elegant.

11 years agoAdd support for the Relax NG "combine" attribute.
Jos van den Oever [Tue, 15 Nov 2011 15:34:17 +0000 (16:34 +0100)]
Add support for the Relax NG "combine" attribute.

11 years agoPropery report non-zero exit code when a javascript error occurs in a script.
Jos van den Oever [Tue, 15 Nov 2011 13:05:32 +0000 (14:05 +0100)]
Propery report non-zero exit code when a javascript error occurs in a script.

11 years agoSet the current paths so that javascript files can be found in runtime.js.
Jos van den Oever [Tue, 15 Nov 2011 12:26:57 +0000 (13:26 +0100)]
Set the current paths so that javascript files can be found in runtime.js.

11 years agoSpecify that mobile Firefox is supported.
Jos van den Oever [Fri, 21 Oct 2011 10:32:08 +0000 (12:32 +0200)]
Specify that mobile Firefox is supported.

11 years agoAdd icon to firefox extension.
Jos van den Oever [Fri, 21 Oct 2011 10:21:21 +0000 (12:21 +0200)]
Add icon to firefox extension.

11 years agoUpdate version number of firefox extension.
Jos van den Oever [Fri, 21 Oct 2011 09:37:49 +0000 (11:37 +0200)]
Update version number of firefox extension.

11 years agoAdd workarounds for Firefox extension submission.
Jos van den Oever [Fri, 21 Oct 2011 09:21:56 +0000 (11:21 +0200)]
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.

11 years agoFix some warnings.
Jos van den Oever [Wed, 19 Oct 2011 19:00:43 +0000 (21:00 +0200)]
Fix some warnings.

11 years agoWorkaround for error reported by the closure compiler.
Jos van den Oever [Wed, 19 Oct 2011 08:28:19 +0000 (10:28 +0200)]
Workaround for error reported by the closure compiler.

11 years agoUse Java_JAVA_EXECUTABLE instead of CMAKE_Java_RUNTIME.
Jos van den Oever [Wed, 19 Oct 2011 08:27:54 +0000 (10:27 +0200)]
Use Java_JAVA_EXECUTABLE instead of CMAKE_Java_RUNTIME.
Both point to the java runtime executable.

11 years agoUse JavaScript to zip the xpi file.
Jos van den Oever [Wed, 19 Oct 2011 07:58:18 +0000 (09:58 +0200)]
Use JavaScript to zip the xpi file.

Not all parts of this solution were committed previously.

11 years agoRemove check for Java compiler: it is not needed anymore.
Jos van den Oever [Wed, 19 Oct 2011 07:20:26 +0000 (09:20 +0200)]
Remove check for Java compiler: it is not needed anymore.

11 years agoUse node and javascript for zipping the Firefox extension.
Jos van den Oever [Tue, 18 Oct 2011 20:06:00 +0000 (22:06 +0200)]
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.

11 years agoCheck that cmake is not run from this directory.
Jos van den Oever [Tue, 18 Oct 2011 20:05:06 +0000 (22:05 +0200)]
Check that cmake is not run from this directory.

11 years agoUpdate Closure Compiler.
Jos van den Oever [Sun, 16 Oct 2011 19:40:18 +0000 (21:40 +0200)]
Update Closure Compiler.

11 years agoAdd WebODF Firefox extension.
Jos van den Oever [Sun, 16 Oct 2011 19:35:34 +0000 (21:35 +0200)]
Add WebODF Firefox extension.

11 years agoBetter uri encoding and support for ODF mimetypes.
Jos van den Oever [Sat, 15 Oct 2011 17:12:30 +0000 (19:12 +0200)]
Better uri encoding and support for ODF mimetypes.

11 years agoAdd support for images in flat xml.
Jos van den Oever [Fri, 14 Oct 2011 10:46:13 +0000 (12:46 +0200)]
Add support for images in flat xml.

11 years agoAdd support for loading flat xml ODF files.
Jos van den Oever [Fri, 14 Oct 2011 10:06:28 +0000 (12:06 +0200)]
Add support for loading flat xml ODF files.

11 years agoHide the change tracking elements.
Jos van den Oever [Thu, 6 Oct 2011 12:29:44 +0000 (14:29 +0200)]
Hide the change tracking elements.

11 years agoOpen files relative to the html or js file.
Jos van den Oever [Thu, 6 Oct 2011 12:13:44 +0000 (14:13 +0200)]
Open files relative to the html or js file.

11 years agoUpdate to newer node version.
Jos van den Oever [Wed, 5 Oct 2011 08:06:19 +0000 (10:06 +0200)]
Update to newer node version.

11 years agoAdd more dependencies to fix bugs in parallel make calls
Jos van den Oever [Wed, 5 Oct 2011 07:57:10 +0000 (09:57 +0200)]
Add more dependencies to fix bugs in parallel make calls
make -j4 should work without error now.

11 years agoFix compilation.
Jos van den Oever [Mon, 3 Oct 2011 17:31:23 +0000 (19:31 +0200)]
Fix compilation.

11 years agoSimplify dynamic creation of package objects.
Jos van den Oever [Mon, 3 Oct 2011 09:19:33 +0000 (11:19 +0200)]
Simplify dynamic creation of package objects.

11 years agoFix editability in latest chromium.
Jos van den Oever [Fri, 30 Sep 2011 20:29:57 +0000 (22:29 +0200)]
Fix editability in latest chromium.

11 years agoDetect GIF files and use proper mimetype in data url.
Jos van den Oever [Fri, 30 Sep 2011 19:12:07 +0000 (21:12 +0200)]
Detect GIF files and use proper mimetype in data url.

11 years agoJSLint fixes.
Jos van den Oever [Fri, 30 Sep 2011 18:59:46 +0000 (20:59 +0200)]
JSLint fixes.

11 years agoAdd simple tool to compare webodf rendering to a prerendered png.
Jos van den Oever [Fri, 30 Sep 2011 18:42:24 +0000 (20:42 +0200)]
Add simple tool to compare webodf rendering to a prerendered png.

11 years agoRemove svg:title and svgdesc from the layout flow.
Jos van den Oever [Fri, 30 Sep 2011 18:35:15 +0000 (20:35 +0200)]
Remove svg:title and svgdesc from the layout flow.

11 years agoFix positioning for page anchors.
Jos van den Oever [Fri, 30 Sep 2011 18:31:23 +0000 (20:31 +0200)]
Fix positioning for page anchors.

11 years agoUse manifest.js files to speed up loading.
Jos van den Oever [Fri, 30 Sep 2011 14:23:35 +0000 (16:23 +0200)]
Use manifest.js files to speed up loading.
The manifest.js file lists for each directory in the path, the available js files. This avoids looking for files in places where they are not.

11 years agoFix warning in Firefox 6.
Jos van den Oever [Fri, 30 Sep 2011 14:00:30 +0000 (16:00 +0200)]
Fix warning in Firefox 6.

11 years agoUse "use strict" to have more sanity checks.
Jos van den Oever [Fri, 30 Sep 2011 10:23:09 +0000 (12:23 +0200)]
Use "use strict" to have more sanity checks.

11 years agoAllow embedding of fonts in generated pdf.
Jos van den Oever [Fri, 30 Sep 2011 07:30:52 +0000 (09:30 +0200)]
Allow embedding of fonts in generated pdf.

11 years agoFix conditional statement: missing negation.
Jos van den Oever [Thu, 29 Sep 2011 14:06:16 +0000 (16:06 +0200)]
Fix conditional statement: missing negation.

11 years agoAvoid warning, by detecting jpeg files
Jos van den Oever [Thu, 29 Sep 2011 13:12:04 +0000 (15:12 +0200)]
Avoid warning, by detecting jpeg files
and encoding the mimetype in the data URI.

11 years agoAdd all JSLint configuration options.
Jos van den Oever [Thu, 29 Sep 2011 12:37:02 +0000 (14:37 +0200)]
Add all JSLint configuration options.
This makes it easier to know what has been defined.

11 years agoUpdate to a new JSLint
Jos van den Oever [Thu, 29 Sep 2011 11:57:04 +0000 (13:57 +0200)]
Update to a new JSLint
and fix all the new errors it finds.

11 years agoBetter positioning of frames that are anchored to paragraphs.
Jos van den Oever [Thu, 29 Sep 2011 09:29:51 +0000 (11:29 +0200)]
Better positioning of frames that are anchored to paragraphs.

11 years agoCompile fixes.
Jos van den Oever [Thu, 22 Sep 2011 16:49:17 +0000 (18:49 +0200)]
Compile fixes.

11 years agoShow error message if the browser cannot open the files.
Jos van den Oever [Thu, 22 Sep 2011 11:49:04 +0000 (13:49 +0200)]
Show error message if the browser cannot open the files.
This happens in e.g. Internet Explorer 9.

11 years agoFix httpserver ip number.
Jos van den Oever [Thu, 22 Sep 2011 11:39:13 +0000 (13:39 +0200)]
Fix httpserver ip number.

11 years agoAdd fix for Opera.
Jos van den Oever [Thu, 22 Sep 2011 11:33:37 +0000 (13:33 +0200)]
Add fix for Opera.

11 years agoAdd relax ng validation.
Jos van den Oever [Thu, 22 Sep 2011 09:58:28 +0000 (11:58 +0200)]
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.

11 years agoCleanup of older diagnosis code.
Jos van den Oever [Wed, 21 Sep 2011 14:52:39 +0000 (16:52 +0200)]
Cleanup of older diagnosis code.

11 years agoAdd first version of docnosis.
Jos van den Oever [Wed, 21 Sep 2011 14:31:14 +0000 (16:31 +0200)]
Add first version of docnosis.
docnosis is a javascript file that analyses ODF files and reports errors.

11 years agoFix bug where saving fails when nothing is currently being edited.
Jos van den Oever [Tue, 30 Aug 2011 13:38:48 +0000 (15:38 +0200)]
Fix bug where saving fails when nothing is currently being edited.

11 years agoBuild fix for Mac OS X 10.7.
Jos van den Oever [Mon, 29 Aug 2011 13:20:07 +0000 (15:20 +0200)]
Build fix for Mac OS X 10.7.

11 years agoAdd functions to turn editability on and off.
Jos van den Oever [Fri, 26 Aug 2011 20:33:28 +0000 (22:33 +0200)]
Add functions to turn editability on and off.
Patch contributed by Robert Plummer.

11 years agoAdd image to test clipping.
Jos van den Oever [Fri, 26 Aug 2011 10:38:28 +0000 (12:38 +0200)]
Add image to test clipping.
The HTML file is committed since it was used to algorithmically generate the image from a <canvas/> element.

11 years agoDisable editing for now.
Jos van den Oever [Thu, 25 Aug 2011 18:41:18 +0000 (20:41 +0200)]
Disable editing for now.

11 years agoDisable editing for now.
Jos van den Oever [Thu, 25 Aug 2011 18:33:42 +0000 (20:33 +0200)]
Disable editing for now.