odfkit:webodf.git
10 years agoFix merge conflict. changetrackingproposal
Jos van den Oever [Fri, 3 Jun 2011 14:41:18 +0000 (16:41 +0200)]
Fix merge conflict.

10 years agoUpgrade to ExtJS 4.0.1.
Jos van den Oever [Fri, 3 Jun 2011 14:37:46 +0000 (16:37 +0200)]
Upgrade to ExtJS 4.0.1.

10 years agoRename module "dom" to "xmldom" to avoid a clash with ExtJS.
Jos van den Oever [Fri, 3 Jun 2011 14:01:06 +0000 (16:01 +0200)]
Rename module "dom" to "xmldom" to avoid a clash with ExtJS.
Also add build steps for making webodf.js and webodf-debug.js.

10 years agoSync with latest ExtJS 3.
Jos van den Oever [Fri, 3 Jun 2011 13:57:14 +0000 (15:57 +0200)]
Sync with latest ExtJS 3.

10 years agoWorkaround for browsers where createElement("style") does not give an HTMLStyleElement.
Jos van den Oever [Fri, 3 Jun 2011 13:34:51 +0000 (15:34 +0200)]
Workaround for browsers where createElement("style") does not give an HTMLStyleElement.

10 years agoFix closure compiler errors.
Jos van den Oever [Wed, 1 Jun 2011 22:32:03 +0000 (00:32 +0200)]
Fix closure compiler errors.

10 years agoMore fixes for IE9
Jos van den Oever [Wed, 1 Jun 2011 21:40:27 +0000 (23:40 +0200)]
More fixes for IE9

Improvements for reading binary data via Internet Explorer 9.

10 years agoWork towards support for Internet Explorer 9.
Jos van den Oever [Wed, 1 Jun 2011 18:17:27 +0000 (20:17 +0200)]
Work towards support for Internet Explorer 9.
This may end when we come across an insurmountable problem like we did with IE8.

10 years agoAdd news about android application.
Jos van den Oever [Tue, 31 May 2011 20:48:39 +0000 (22:48 +0200)]
Add news about android application.

11 years agoAdd news about change tracking.
Jos van den Oever [Thu, 12 May 2011 04:12:31 +0000 (06:12 +0200)]
Add news about change tracking.

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Sat, 7 May 2011 08:56:00 +0000 (10:56 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoMake html files valid XHTML 1.0
Jos van den Oever [Sat, 7 May 2011 08:55:33 +0000 (10:55 +0200)]
Make html files valid XHTML 1.0

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Wed, 4 May 2011 21:45:08 +0000 (23:45 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoCompile fix.
Jos van den Oever [Wed, 4 May 2011 21:44:50 +0000 (23:44 +0200)]
Compile fix.

11 years agoFix compilation.
Jos van den Oever [Wed, 4 May 2011 21:39:19 +0000 (23:39 +0200)]
Fix compilation.

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Wed, 4 May 2011 21:19:02 +0000 (23:19 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoAdd code to iterator over selected elements.
Jos van den Oever [Wed, 4 May 2011 21:18:29 +0000 (23:18 +0200)]
Add code to iterator over selected elements.

11 years agoWork on formatting.
Jos van den Oever [Mon, 2 May 2011 16:47:21 +0000 (18:47 +0200)]
Work on formatting.

11 years agoMerge master.
Jos van den Oever [Sat, 30 Apr 2011 14:22:49 +0000 (16:22 +0200)]
Merge master.

11 years agoSome work on formatting.
Jos van den Oever [Sat, 30 Apr 2011 14:21:41 +0000 (16:21 +0200)]
Some work on formatting.

11 years agoWork on hooking up the UI to the formatting of the document.
Jos van den Oever [Fri, 29 Apr 2011 15:07:28 +0000 (17:07 +0200)]
Work on hooking up the UI to the formatting of the document.

11 years agoFix merge comflict.
Jos van den Oever [Fri, 29 Apr 2011 09:46:10 +0000 (11:46 +0200)]
Fix merge comflict.

11 years agoAdd class for formatting. (Empty so far).
Jos van den Oever [Fri, 29 Apr 2011 09:43:59 +0000 (11:43 +0200)]
Add class for formatting. (Empty so far).

11 years agoUpdate Node.JS.
Jos van den Oever [Fri, 29 Apr 2011 09:26:14 +0000 (11:26 +0200)]
Update Node.JS.

11 years agoBetter type checking.
Jos van den Oever [Fri, 29 Apr 2011 08:50:07 +0000 (10:50 +0200)]
Better type checking.

11 years agoNicer toolbar, still needs to be hooked up.
Jos van den Oever [Thu, 28 Apr 2011 13:14:31 +0000 (15:14 +0200)]
Nicer toolbar, still needs to be hooked up.

11 years agoMore Closure Compiler fixes.
Jos van den Oever [Thu, 28 Apr 2011 13:13:56 +0000 (15:13 +0200)]
More Closure Compiler fixes.

11 years agoMore type checking.
Jos van den Oever [Tue, 26 Apr 2011 13:19:08 +0000 (15:19 +0200)]
More type checking.

11 years agoAdd current version of Ext.JS.
Jos van den Oever [Fri, 22 Apr 2011 18:35:41 +0000 (20:35 +0200)]
Add current version of Ext.JS.

11 years agoStart on conversion of odfedit.html to an Ext.JS UI.
Jos van den Oever [Fri, 22 Apr 2011 18:29:10 +0000 (20:29 +0200)]
Start on conversion of odfedit.html to an Ext.JS UI.

11 years agoUpdate ExtJS version.
Jos van den Oever [Fri, 22 Apr 2011 08:00:41 +0000 (10:00 +0200)]
Update ExtJS version.

11 years agoCheck for more problems with Closure Compiler.
Jos van den Oever [Fri, 22 Apr 2011 07:40:52 +0000 (09:40 +0200)]
Check for more problems with Closure Compiler.

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Fri, 22 Apr 2011 07:24:02 +0000 (09:24 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoFix small bug: node may be an element and not have getAttributeNS
Jos van den Oever [Fri, 22 Apr 2011 07:23:36 +0000 (09:23 +0200)]
Fix small bug: node may be an element and not have getAttributeNS

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Wed, 20 Apr 2011 09:55:57 +0000 (11:55 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoCompile fixes for new stricter Closure Compiler version.
Jos van den Oever [Wed, 20 Apr 2011 09:55:41 +0000 (11:55 +0200)]
Compile fixes for new stricter Closure  Compiler version.

11 years agoBuild tweaking
Jos van den Oever [Wed, 20 Apr 2011 09:37:59 +0000 (11:37 +0200)]
Build tweaking
- new version of closure compiler
- new version of Node.JS
- fix scanning of directory with JSCoverage with a patch
'

11 years agoBuild tweaking
Jos van den Oever [Wed, 20 Apr 2011 09:35:22 +0000 (11:35 +0200)]
Build tweaking
- new version of closure compiler
- new version of Node.JS
- fix scanning of directory with JSCoverage with a patch
'

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Tue, 19 Apr 2011 19:46:33 +0000 (21:46 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoAdd initial support for list styles.
Jos van den Oever [Tue, 19 Apr 2011 19:46:03 +0000 (21:46 +0200)]
Add initial support for list styles.

11 years agoUse inline-block instead of list-item as display type for list-item.
Jos van den Oever [Tue, 19 Apr 2011 17:00:19 +0000 (19:00 +0200)]
Use inline-block instead of list-item as display type for list-item.
display: list-item is not very configurable, but with inline-block a similar effect can be achieved.

11 years agoAdd page where one can compare change tracking documents.
Jos van den Oever [Thu, 14 Apr 2011 14:06:58 +0000 (16:06 +0200)]
Add page where one can compare change tracking documents.

11 years agoDisable editing in change tracking branch.
Jos van den Oever [Mon, 11 Apr 2011 14:51:43 +0000 (16:51 +0200)]
Disable editing in change tracking branch.

11 years agoSimple visualization of insert, delete, merge and split.
Jos van den Oever [Mon, 11 Apr 2011 14:41:38 +0000 (16:41 +0200)]
Simple visualization of insert, delete, merge and split.

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Mon, 11 Apr 2011 12:38:57 +0000 (14:38 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoMore memoization, more speed.
Jos van den Oever [Fri, 8 Apr 2011 10:53:57 +0000 (12:53 +0200)]
More memoization, more speed.

11 years agoSmall speedup by allowing unordered memoization.
Jos van den Oever [Fri, 8 Apr 2011 09:28:43 +0000 (11:28 +0200)]
Small speedup by allowing unordered memoization.

11 years agoCleanup debug output and format code.
Jos van den Oever [Fri, 8 Apr 2011 08:54:13 +0000 (10:54 +0200)]
Cleanup debug output and format code.

11 years agoSpeed up 10% by elimination duplicate choices.
Jos van den Oever [Fri, 8 Apr 2011 07:38:28 +0000 (09:38 +0200)]
Speed up 10% by elimination duplicate choices.

11 years agoFix "anyName" and "xml" namespace related bugs.
Jos van den Oever [Fri, 8 Apr 2011 05:57:38 +0000 (07:57 +0200)]
Fix "anyName" and "xml" namespace related bugs.

11 years agoFix bugs related to name resultion and oneOrMore element.
Jos van den Oever [Thu, 7 Apr 2011 22:45:44 +0000 (00:45 +0200)]
Fix bugs related to name resultion and oneOrMore element.

11 years agoFix choice name pattern and add test.
Jos van den Oever [Thu, 7 Apr 2011 16:20:55 +0000 (18:20 +0200)]
Fix choice name pattern and add test.

11 years agoAdd ability to quickly create a pattern without looking up information in the memoiza...
Jos van den Oever [Thu, 7 Apr 2011 15:53:42 +0000 (17:53 +0200)]
Add ability to quickly create a pattern without looking up information in the memoization cache.

11 years agoUse memoization on all pattern creating functions.
Jos van den Oever [Thu, 7 Apr 2011 07:33:03 +0000 (09:33 +0200)]
Use memoization on all pattern creating functions.

11 years agoAdd color to the change that is the same color as the button to toggle the change.
Jos van den Oever [Wed, 6 Apr 2011 17:25:46 +0000 (19:25 +0200)]
Add color to the change that is the same color as the button to toggle the change.

11 years agoMerge branch 'master' into changetrackingproposal
Jos van den Oever [Wed, 6 Apr 2011 09:36:47 +0000 (11:36 +0200)]
Merge branch 'master' into changetrackingproposal

11 years agoUpdate to Node.JS 0.4.5.
Jos van den Oever [Wed, 6 Apr 2011 09:34:13 +0000 (11:34 +0200)]
Update to Node.JS 0.4.5.

11 years agoImplement toggling of visibility of inserts.
Jos van den Oever [Wed, 6 Apr 2011 09:29:30 +0000 (11:29 +0200)]
Implement toggling of visibility of inserts.

11 years agoFirst work on a class to visualize the changes in an ODF file.
Jos van den Oever [Wed, 6 Apr 2011 07:56:26 +0000 (09:56 +0200)]
First work on a class to visualize the changes in an ODF file.

11 years agoSet element hash to its id value.
Jos van den Oever [Tue, 5 Apr 2011 11:50:40 +0000 (13:50 +0200)]
Set element hash to its id value.
Now all patterns can have a hash value.

11 years agoChange the new implementation to use the refactored reference resolution.
Jos van den Oever [Tue, 5 Apr 2011 11:01:38 +0000 (13:01 +0200)]
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.

11 years agoResolve references in such a way that each element definition gets a unique id.
Jos van den Oever [Tue, 5 Apr 2011 07:10:38 +0000 (09:10 +0200)]
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.

11 years agoDo not create pattern members if they are empty. This should save quite a bit of...
Jos van den Oever [Tue, 5 Apr 2011 07:01:38 +0000 (09:01 +0200)]
Do not create pattern members if they are empty. This should save quite a bit of memory.

11 years agoUse JSON.stringify as default hash function.
Jos van den Oever [Mon, 4 Apr 2011 22:46:37 +0000 (00:46 +0200)]
Use JSON.stringify as default hash function.

11 years agoStart framework for interning patterns
Jos van den Oever [Mon, 4 Apr 2011 20:51:31 +0000 (22:51 +0200)]
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.

11 years agoFix unit test.
Jos van den Oever [Mon, 4 Apr 2011 20:12:47 +0000 (22:12 +0200)]
Fix unit test.

11 years agoAdd another test.
Jos van den Oever [Mon, 4 Apr 2011 18:49:28 +0000 (20:49 +0200)]
Add another test.

11 years agoAdd <choice/> support for element and attribute names to the new implementation.
Jos van den Oever [Mon, 4 Apr 2011 17:48:38 +0000 (19:48 +0200)]
Add <choice/> support for element and attribute names to the new implementation.

11 years agoBy default hide all tracked changes elements.
Jos van den Oever [Mon, 4 Apr 2011 10:58:52 +0000 (12:58 +0200)]
By default hide all tracked changes elements.

11 years agoUse convention of giving directories in HTML indexes a "/" suffix.
Jos van den Oever [Mon, 4 Apr 2011 10:28:35 +0000 (12:28 +0200)]
Use convention of giving directories in HTML indexes a "/" suffix.

11 years agoFix loading of thumbnails in demo UI.
Jos van den Oever [Mon, 4 Apr 2011 10:08:36 +0000 (12:08 +0200)]
Fix loading of thumbnails in demo UI.

11 years agoAdd tests for parsing of name choices.
Jos van den Oever [Mon, 4 Apr 2011 08:23:47 +0000 (10:23 +0200)]
Add tests for parsing of name choices.

11 years agoFix parsing of name choices.
Jos van den Oever [Mon, 4 Apr 2011 08:22:25 +0000 (10:22 +0200)]
Fix parsing of name choices.

11 years agoComment out debug output.
Jos van den Oever [Sun, 3 Apr 2011 23:02:16 +0000 (01:02 +0200)]
Comment out debug output.

11 years agoFix loading for large rng file and add a few more needed functions.
Jos van den Oever [Sun, 3 Apr 2011 22:49:56 +0000 (00:49 +0200)]
Fix loading for large rng file and add a few more needed functions.

11 years agoFix latest unit test.
Jos van den Oever [Sun, 3 Apr 2011 21:33:48 +0000 (23:33 +0200)]
Fix latest unit test.

11 years agoAdd another unit test.
Jos van den Oever [Sun, 3 Apr 2011 20:56:47 +0000 (22:56 +0200)]
Add another unit test.

11 years agoMake circular dependencies possible.
Jos van den Oever [Sun, 3 Apr 2011 20:42:15 +0000 (22:42 +0200)]
Make circular dependencies possible.

11 years agosnapshot after more tests work with new validator
Jos van den Oever [Sun, 3 Apr 2011 17:52:40 +0000 (19:52 +0200)]
snapshot after more tests work with new validator

11 years agosnapshot after a fourth and fifth test work with new validator
Jos van den Oever [Sun, 3 Apr 2011 17:30:12 +0000 (19:30 +0200)]
snapshot after a fourth and fifth test work with new validator

11 years agosnapshot after a second and third test work with new validator
Jos van den Oever [Sun, 3 Apr 2011 17:21:32 +0000 (19:21 +0200)]
snapshot after a second and third test work with new validator

11 years agosnapshot after one test works with new validator
Jos van den Oever [Sun, 3 Apr 2011 16:51:54 +0000 (18:51 +0200)]
snapshot after one test works with new validator

11 years agosnapshot
Jos van den Oever [Sun, 3 Apr 2011 09:20:14 +0000 (11:20 +0200)]
snapshot

11 years agosnapshot
Jos van den Oever [Sun, 3 Apr 2011 09:18:11 +0000 (11:18 +0200)]
snapshot

11 years agosnapshot
Jos van den Oever [Sun, 3 Apr 2011 08:05:59 +0000 (10:05 +0200)]
snapshot

11 years agofollow simplication specification more closely
Jos van den Oever [Sat, 2 Apr 2011 21:02:00 +0000 (23:02 +0200)]
follow simplication specification more closely

11 years agosnapshot
Jos van den Oever [Sat, 2 Apr 2011 19:46:02 +0000 (21:46 +0200)]
snapshot

11 years agoFix name resultion for attribute names.
Jos van den Oever [Thu, 31 Mar 2011 15:39:38 +0000 (17:39 +0200)]
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.

11 years agoAdd an extra check to make sure an attribute is really not defined.
Jos van den Oever [Thu, 31 Mar 2011 08:21:10 +0000 (10:21 +0200)]
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.

11 years agoAdd test relating to attribute value.
Jos van den Oever [Thu, 31 Mar 2011 08:00:53 +0000 (10:00 +0200)]
Add test relating to attribute value.

11 years agoFix bug in interleave that was exposed by test16.xml
Jos van den Oever [Thu, 31 Mar 2011 07:39:48 +0000 (09:39 +0200)]
Fix bug in interleave that was exposed by test16.xml

11 years agoAdd yet another test for the interleave element.
Jos van den Oever [Thu, 31 Mar 2011 07:28:45 +0000 (09:28 +0200)]
Add yet another test for the interleave element.

11 years agoAdd yet another test for the interleave element.
Jos van den Oever [Thu, 31 Mar 2011 07:27:43 +0000 (09:27 +0200)]
Add yet another test for the interleave element.

11 years agoIf an interleave element has a oneOrMore child, try it every round where the current...
Jos van den Oever [Thu, 31 Mar 2011 06:50:25 +0000 (08:50 +0200)]
If an interleave element has a oneOrMore child, try it every round where the current node has moved.

11 years agoYet another test for interleave.
Jos van den Oever [Thu, 31 Mar 2011 06:48:42 +0000 (08:48 +0200)]
Yet another test for interleave.

11 years agoWhen in an interleave element, only report an error if there was an error.
Jos van den Oever [Thu, 31 Mar 2011 06:28:12 +0000 (08:28 +0200)]
When in an interleave element, only report an error if there was an error.

11 years agoYet another test for interleave.
Jos van den Oever [Thu, 31 Mar 2011 06:18:50 +0000 (08:18 +0200)]
Yet another test for interleave.

11 years agoChange the way <interleave/> is handled.
Jos van den Oever [Wed, 30 Mar 2011 09:35:37 +0000 (11:35 +0200)]
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.

11 years agoAnother test.
Jos van den Oever [Tue, 29 Mar 2011 23:16:25 +0000 (01:16 +0200)]
Another test.

11 years agoFix a touch problem with efficiently traversing possibilities for attributes.
Jos van den Oever [Tue, 29 Mar 2011 22:21:15 +0000 (00:21 +0200)]
Fix a touch problem with efficiently traversing possibilities for attributes.