Statistics
| Branch: | Revision:

root / webodf / lib @ c1f9b687

# Date Author Comment
c1f9b687 11/19/2011 12:10 am Tobias Hintze

add gui/PresenterUI

d0063df5 11/18/2011 12:24 pm Jos van den Oever

Fix crash when there is no fontface declaration.

55821839 11/18/2011 11:04 am Jos van den Oever

Read mimetypes from the manifest files.
This magically adds support for rendering svg files.

575c4f39 11/17/2011 10:16 am Jos van den Oever

Compile fix

335ceffd 11/17/2011 09:33 am Jos van den Oever

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.

1853c2b5 11/16/2011 04:37 pm Jos van den Oever

Check that a document is actually loaded before using it.
Some parts of ODF are not obligatory.

95550a13 11/15/2011 05:44 pm Jos van den Oever

Compile fixes and additional type annotations.

139088b2 11/15/2011 05:14 pm Jos van den Oever

Make support for the Relax NG "combine" attribute more elegant.

feb108b8 11/15/2011 04:34 pm Jos van den Oever

Add support for the Relax NG "combine" attribute.

ffb57232 10/21/2011 11:21 am Jos van den Oever

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....

e19f2b23 10/14/2011 12:46 pm Jos van den Oever

Add support for images in flat xml.

bc937a62 10/14/2011 12:06 pm Jos van den Oever

Add support for loading flat xml ODF files.

f7f23ac9 10/03/2011 11:19 am Jos van den Oever

Simplify dynamic creation of package objects.

c11690cc 09/30/2011 10:29 pm Jos van den Oever

Fix editability in latest chromium.

0e92bcce 09/30/2011 09:12 pm Jos van den Oever

Detect GIF files and use proper mimetype in data url.

fd5f8518 09/30/2011 08:42 pm Jos van den Oever

Add simple tool to compare webodf rendering to a prerendered png.

4c3f5350 09/30/2011 04:23 pm Jos van den Oever

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.

65089c44 09/30/2011 04:00 pm Jos van den Oever

Fix warning in Firefox 6.

cd4f75c6 09/30/2011 12:23 pm Jos van den Oever

Use "use strict" to have more sanity checks.

c609fde2 09/29/2011 03:12 pm Jos van den Oever

Avoid warning, by detecting jpeg files
and encoding the mimetype in the data URI.

054f8e15 09/29/2011 02:37 pm Jos van den Oever

Add all JSLint configuration options.
This makes it easier to know what has been defined.

1a82610f 09/29/2011 01:57 pm Jos van den Oever

Update to a new JSLint
and fix all the new errors it finds.

2c4835fd 09/29/2011 11:29 am Jos van den Oever

Better positioning of frames that are anchored to paragraphs.

21cc4db2 09/22/2011 06:49 pm Jos van den Oever

Compile fixes.

5545dd63 09/22/2011 11:58 am Jos van den Oever

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.

f3a64a01 08/30/2011 03:38 pm Jos van den Oever

Fix bug where saving fails when nothing is currently being edited.

00c4ee82 08/26/2011 10:33 pm Jos van den Oever

Add functions to turn editability on and off.
Patch contributed by Robert Plummer.

3dfdedbd 08/25/2011 08:33 pm Jos van den Oever

Disable editing for now.

0d560df8 08/25/2011 01:38 pm Jos van den Oever

Update dependencies.

9cf13184 07/26/2011 01:23 pm Jos van den Oever

Simplify Qt based executables.
Zip implementation is no longer in C++ but in JavaScript. Runtime customization is now shared between the two Qt executables.

a0b70e82 07/26/2011 12:15 pm Jos van den Oever

Fix bug where data url was too long.

d90f1146 07/26/2011 12:14 pm Jos van den Oever

Fix bug where data was read past the end of the file.

e43652ce 07/20/2011 03:21 pm Jos van den Oever

Add command-line unit test with qtjsruntime.
This has the advantage that all unit tests are run. The Rhino and Node.JS unit tests, while valuable, cover only part of the tests.

e4aa3f2b 07/20/2011 08:28 am Jos van den Oever

Add empty interface, class and test class for operational transformation.

a97612ce 07/13/2011 10:21 am Jos van den Oever

Upgrade to new version of JSLint.
And update code to meet better checks.

6a49c3c3 07/13/2011 09:27 am Jos van den Oever

Add event handler mechanism to OdfCanvas.

527dd50e 06/27/2011 01:09 pm Jos van den Oever

Update to newer NodeJS, Closure Compiler and Rhino.
And fixes to code and html pages.

12f60cb0 06/15/2011 10:01 pm Jos van den Oever

Add export.js needed to build webodf.js.

adeaed5b 06/11/2011 03:54 pm Jos van den Oever

Slight refactor.

a0517e39 06/11/2011 12:41 pm Jos van den Oever

Split RelaxNG validator in two.
The validator was really two different implementations. These are now split.

c727411c 06/11/2011 12:40 pm Jos van den Oever

Finish splitting up the RelaxNG code in a parser and a validator.

9f13988d 06/10/2011 08:52 pm Jos van den Oever

Add the parser used in relaxngToCPP.js and update it.

75a4317a 06/10/2011 09:59 am Jos van den Oever

Make error messages more verbose.

6e20bc38 06/07/2011 10:24 pm Jos van den Oever

Adapt nativeQtClient to use webodf.js.

dc01f460 06/07/2011 12:25 pm Jos van den Oever

Fix container element such that it wraps snugly around the ODF document.

13c077b9 06/06/2011 12:30 pm Jos van den Oever

Add licenses and copyright statements to all javascript files.

f7a59fea 06/06/2011 09:48 am Jos van den Oever

Add license that will be part of the compacted form of the WebODF javascript code, but applies to all WebODF javascript files.

4eb07bc1 06/03/2011 11:00 pm Jos van den Oever

Do the advanced compile in a webodf-experimental.js file because due to member renaming, it has bugs.

a9416f5b 06/03/2011 09:40 pm Jos van den Oever

Use advanced optimizations (experimental!).

fb703e85 06/03/2011 04:01 pm Jos van den Oever

Rename module "dom" to "xmldom" to avoid a clash with ExtJS.
Also add build steps for making webodf.js and webodf-debug.js.

f19940e8 06/03/2011 03:34 pm Jos van den Oever

Workaround for browsers where createElement("style") does not give an HTMLStyleElement.

f19b1110 06/02/2011 12:32 am Jos van den Oever

Fix closure compiler errors.

7e2af153 06/01/2011 11:40 pm Jos van den Oever

More fixes for IE9

Improvements for reading binary data via Internet Explorer 9.

6213b58a 06/01/2011 08:17 pm Jos van den Oever

Work towards support for Internet Explorer 9.
This may end when we come across an insurmountable problem like we did with IE8.

abac82e9 05/04/2011 11:44 pm Jos van den Oever

Compile fix.

2e2dff21 05/04/2011 11:18 pm Jos van den Oever

Add code to iterator over selected elements.

b96985b9 05/02/2011 06:47 pm Jos van den Oever

Work on formatting.

0e40fe69 04/30/2011 04:21 pm Jos van den Oever

Some work on formatting.

6bf1d42c 04/29/2011 05:07 pm Jos van den Oever

Work on hooking up the UI to the formatting of the document.

271a74ab 04/29/2011 11:44 am Jos van den Oever

Add class for formatting. (Empty so far).

df5914bf 04/29/2011 10:50 am Jos van den Oever

Better type checking.

ef01f07c 04/22/2011 08:29 pm Jos van den Oever

Start on conversion of odfedit.html to an Ext.JS UI.

0626e0c3 04/22/2011 09:23 am Jos van den Oever

Fix small bug: node may be an element and not have getAttributeNS

8a8c70a1 04/20/2011 11:55 am Jos van den Oever

Compile fixes for new stricter Closure Compiler version.

54d5758f 04/19/2011 09:46 pm Jos van den Oever

Add initial support for list styles.

bad77fe6 04/08/2011 12:53 pm Jos van den Oever

More memoization, more speed.

c8a5676f 04/08/2011 11:28 am Jos van den Oever

Small speedup by allowing unordered memoization.

3ce410c0 04/08/2011 10:54 am Jos van den Oever

Cleanup debug output and format code.

feb7ea04 04/08/2011 09:38 am Jos van den Oever

Speed up 10% by elimination duplicate choices.

a711c268 04/08/2011 07:57 am Jos van den Oever

Fix "anyName" and "xml" namespace related bugs.

fa5b28cf 04/08/2011 12:45 am Jos van den Oever

Fix bugs related to name resultion and oneOrMore element.

3c7b7482 04/07/2011 05:53 pm Jos van den Oever

Add ability to quickly create a pattern without looking up information in the memoization cache.

aeaa453e 04/07/2011 09:33 am Jos van den Oever

Use memoization on all pattern creating functions.

f4eb06ff 04/05/2011 01:50 pm Jos van den Oever

Set element hash to its id value.
Now all patterns can have a hash value.

dba012bc 04/05/2011 01:01 pm Jos van den Oever

Change the new implementation to use the refactored reference resolution.
All unit tests still pass, but validating a huge ODT document still takes longer than I want to wait.

595daf85 04/05/2011 10:22 am Jos van den Oever

Resolve references in such a way that each element definition gets a unique id.
This enables implementation of a hash function for the patterns, which in turn is needed to curb exponential scaling behavior as explained in the derivative.html document.

f98c38ba 04/05/2011 09:01 am Jos van den Oever

Do not create pattern members if they are empty. This should save quite a bit of memory.

a3c8bf69 04/05/2011 12:46 am Jos van den Oever

Use JSON.stringify as default hash function.

dd54556f 04/04/2011 10:51 pm Jos van den Oever

Start framework for interning patterns

To avoid exponential blowup, it is needed to be able to compare patterns. This comparison involves tree traversal unless hashes are used and patterns are deduplicated by looking them up in a cache.

69585d8d 04/04/2011 10:14 pm Jos van den Oever

Fix unit test.

a3d97b27 04/04/2011 07:48 pm Jos van den Oever

Add <choice/> support for element and attribute names to the new implementation.

8632c72d 04/04/2011 10:23 am Jos van den Oever

Add tests for parsing of name choices.

1059ced3 04/04/2011 10:22 am Jos van den Oever

Fix parsing of name choices.

4e0ad1af 04/04/2011 01:02 am Jos van den Oever

Comment out debug output.

6af4a406 04/04/2011 12:49 am Jos van den Oever

Fix loading for large rng file and add a few more needed functions.

f0d58e52 04/03/2011 11:33 pm Jos van den Oever

Fix latest unit test.

8e519e52 04/03/2011 10:42 pm Jos van den Oever

Make circular dependencies possible.

e0d15469 04/03/2011 07:52 pm Jos van den Oever

snapshot after more tests work with new validator

d4ace996 04/03/2011 07:30 pm Jos van den Oever

snapshot after a fourth and fifth test work with new validator

bf6b67f4 04/03/2011 07:21 pm Jos van den Oever

snapshot after a second and third test work with new validator

4335f3af 04/03/2011 06:51 pm Jos van den Oever

snapshot after one test works with new validator

a0d6e35e 04/03/2011 11:20 am Jos van den Oever

snapshot

7c50d5e1 04/03/2011 11:18 am Jos van den Oever

snapshot

137ea7b0 04/03/2011 10:05 am Jos van den Oever

snapshot

ae3bd192 04/02/2011 11:02 pm Jos van den Oever

follow simplication specification more closely

4e89ba03 04/02/2011 09:46 pm Jos van den Oever

snapshot

1307a814 03/31/2011 05:39 pm Jos van den Oever

Fix name resultion for attribute names.
Milestone: we can now validate the ODF 1.2 in the flat XML form. This XML file is nearly 10 megabytes and the specification rng is about 440 kilobytes.

9c4c846c 03/31/2011 10:21 am Jos van den Oever

Add an extra check to make sure an attribute is really not defined.
If an element is not present, getAttributeNS will return an empty string, but an empty string is possible attribute value, so an extra check is needed.

2204858e 03/31/2011 09:39 am Jos van den Oever

Fix bug in interleave that was exposed by test16.xml

d2c20f2f 03/31/2011 08:50 am Jos van den Oever

If an interleave element has a oneOrMore child, try it every round where the current node has moved.