Statistics
| Branch: | Revision:

root / webodf / lib @ 6e20bc38

# Date Author Comment
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.

bcd1b2fe 03/31/2011 08:28 am Jos van den Oever

When in an interleave element, only report an error if there was an error.

53ae3b82 03/30/2011 11:35 am Jos van den Oever

Change the way <interleave/> is handled.
Now all interleave elements that have interleave children, merge their children.
That way it is easier to handle the complicated interleave scenarios.
This also fixed a bug that prevented test13.xml from passing validation.

b498bdd6 03/30/2011 12:21 am Jos van den Oever

Fix a touch problem with efficiently traversing possibilities for attributes.

8e718229 03/29/2011 08:19 pm Jos van den Oever

Only try an interleaved pattern twice if it involves subelements and not attributes. This avoid expensive re-iterations.

c186e977 03/29/2011 06:03 pm Jos van den Oever

If first entry in interleave element does not advance the walker, try it again at the end.

a00c131b 03/29/2011 03:50 pm Jos van den Oever

Move on after parsing a text node.

ef61d5da 03/29/2011 02:57 pm Jos van den Oever

Yet another fix to Relax NG parsing. Do not report an error if an element which can have text, does not.

6160782e 03/29/2011 12:10 pm Jos van den Oever

Add class documentation.

34ead2f3 03/29/2011 11:47 am Jos van den Oever

Add fix for attribute value handling and a test for it.

aa7a3366 03/29/2011 10:15 am Jos van den Oever

Fix parsing of choice and text elements.

03558478 03/29/2011 12:14 am Jos van den Oever

Fix bug in parsing of Relax NG: property "names" was lost when simplifying certain elements.

eb3bcb17 03/24/2011 05:31 pm Jos van den Oever

Check for attribute value.

990157a4 03/24/2011 05:01 pm Jos van den Oever

Check if an attribute is present on an element.

e27565fe 03/24/2011 04:29 pm Jos van den Oever

Add active element to the function parameters in the Relax NG validator.

f0064c81 03/24/2011 09:50 am Jos van den Oever

Work on Relax NG validator.

b57d35e1 03/23/2011 11:07 pm Jos van den Oever

Refactor RelaxNG validator to match more closely the grammar for the Relax NG simple syntax.

c2b4880c 03/23/2011 12:48 pm Jos van den Oever

Do not serialize any dom node from the http://www.w3.org/2000/xmlns/ and http://www.w3.org/1999/xhtml namespaces.
xhtml is more specific and handled by the filter. xmlns should never be serialized and is hence excluded in the serializer itself.

e640f79f 03/23/2011 12:03 pm Jos van den Oever

Do not serialize a namespace declaration for "xmlns".

00b0d891 03/23/2011 11:54 am Jos van den Oever

Add a save function.

8f0b6f56 03/23/2011 11:54 am Jos van den Oever

Fix conversion to utf8 array. The last part was left out of the converted array, because the native array did not autoexpand when access with an index outside of the range.
Now required length is calculated first.

0624bcc3 03/22/2011 11:07 pm Jos van den Oever

Make the cursor appear on first click in Firefox.

160f3693 03/22/2011 10:27 pm Jos van den Oever

Make a paragraph editable when it is clicked. In firefox (4) activating a paragraph for editing requires two clicks.

9fd8c6ba 03/22/2011 07:26 pm Jos van den Oever

Fix Runtime so it can use native arrays in Firefox 4 and still send binary data.

a0c0937e 03/22/2011 05:33 pm Jos van den Oever

Remove erroneous "new".

4855ef6e 03/22/2011 11:45 am Jos van den Oever

Do not store font face declarations in content.xml at all.

bf4a6de7 03/22/2011 11:30 am Jos van den Oever

When writing content.xml or styles.xml only write the automatic styles that are relevant to that particular file.

dd737d75 03/22/2011 11:27 am Jos van den Oever

Filter out child nodes that are meant to be filtered out.

fc3de133 03/21/2011 08:14 pm Jos van den Oever

Load and save font-face-decls and make serializing of namespaces prettier.

25e6fdf6 03/21/2011 08:13 pm Jos van den Oever

Fix retrieving the of styles that are used.

0b9526a7 03/21/2011 11:56 am Jos van den Oever

Fix bug in transformation and comment out functions that are not needed in validating the simple Relax NG grammar.

50a2cfa3 03/21/2011 12:24 am Jos van den Oever

Rewrite using the Relax NG simplification transformations. Still work in progress.

711b5536 03/20/2011 01:35 pm Jos van den Oever

Work on Relax NG validation. Can now partially validate simple documents.

4fc84e45 03/20/2011 01:35 pm Jos van den Oever

Add class for determining to which style key group a style reference belongs. This will be used for splitting up the element automatic-styles over styles.xml and content.xml.

c7b163d7 03/17/2011 10:40 am Jos van den Oever

Add snapshot of class for Relax NG validation. Work in progress.

1d99d3b1 03/17/2011 08:33 am Jos van den Oever

Fix errors reported by closure compiler.

8ade9637 03/16/2011 11:34 pm Jos van den Oever

Fix implementation to signature for loadXML.

1e7aeebe 03/16/2011 11:17 pm Jos van den Oever

Some work on splitting office:automatic-styles when saving.

4331dff7 03/01/2011 12:28 am Jos van den Oever

Send binary data via an ArrayBuffer if that is available.
ArrayBuffer is part of http://www.khronos.org/registry/typedarray/specs/latest/ and http://dev.w3.org/2006/webapi/XMLHttpRequest-2/ .
This works in Chromium 10.

41989109 02/28/2011 10:00 pm Jos van den Oever

Fix writeFile unit test in Firefox.

f7e162b7 02/28/2011 03:03 pm Jos van den Oever

Fix concatByteArrays so it works with native byte arrays.

0a4e9c1e 02/28/2011 02:43 pm Jos van den Oever

Rewrite convertUTF8ArrayToBase64 such that the source array is unmodified.

f15261c9 02/28/2011 12:11 pm Jos van den Oever

A few small JSDoc improvments.

b40dc50e 02/28/2011 09:46 am Jos van den Oever

Fix unit tests on Rhino runtime.
Also fix closure compiler error.