2591 Commits
Author SHA1 Message Date
Jos van den Oever 8f0cd82b89 Upgrade to latest Closure Compiler 2019-02-08 03:05:25 +01:00
Tobias Hintze 88bd135f8b Disable loadAndSave test of OdfContainerTests.js 2019-02-08 02:06:28 +01:00
Jos van den Oever 9f35da24d9 Upgrade to latest Closure Compiler
A few annotation errors were uncovered and fixed.
2016-07-24 22:04:45 +02:00
Munduzbek Subanov 23e92c2c2d Simple map for text-shadow style. 2015-11-25 18:42:27 +06:00
Aditya Bhatt f94a3212ca Add fo:text-transform support. 2015-09-16 16:45:16 +02:00
Aditya Bhatt 50fb2e7a55 Add fo:letter-spacing support 2015-09-16 16:43:41 +02:00
Aditya Bhatt 2ab523a51d Add direct CSS mapping from fo:font-variant 2015-09-16 10:30:42 +02:00
Jos van den Oever 47fa509517 If there is no <office:settings/> element, save an empty <office:document-settings/> element. 2015-09-10 19:30:50 +02:00
Jos van den Oever 7d306548a5 Use STORE as default method.
This is important because the file "mimetype" should *never* be compressed.
2015-09-02 09:49:16 +02:00
Jos van den Oever a0d3a73d66 Enable the loadAndSave test for OdfContainer. 2015-09-02 09:49:16 +02:00
Jos van den Oever 3d016853b3 Report the modification date of the zip entries. 2015-09-02 09:49:16 +02:00
Jos van den Oever aafb2471de Add extra validation for mimetype to ODF save tests. 2015-09-02 09:49:16 +02:00
Aditya Bhatt 2c682bb73b Update other references to be aware of getMemberIds
working for all members, and not just cursors

Adds a new OdtDocument.hasMember method
2015-07-17 13:44:40 +02:00
Aditya Bhatt 526f4c079a Make OdtDocument.getMemberIds return ALL memberIds
and not just those of cursors.
2015-07-17 13:44:40 +02:00
Aditya Bhatt 5d5102b27d Merge pull request #910 from adityab/peitschie-zip-compress
Replace existing zip implementation with jszip v2.4.0
2015-07-17 13:43:16 +02:00
Philip Peitsch 435501c966 Replace existing zip implementation with jszip v2.4.0
jszip has a much cleaner API than the existing RawDeflate version. In
addition, jszip supports creation of a compressed output stream.

As it's non-trivial to make jszip behave with closure compiler, a second
concat-only step has been added during compilation to include 3rd party
dependencies.

Fixes #21.
2015-07-15 20:38:04 +10:00
Philip Peitsch 2c4c5ee574 Rewrite RuntimTest.testWrite to not depend on the ByteArrayWriter class 2015-07-15 20:38:04 +10:00
Aditya Bhatt 9537e6d042 Let inserted image dimensions be in centimeters
LibreOffice does not recognize px dimensions for image frames,
despite the spec allowing it. To play safe, always convert the
dimensions into centimeters before inserting the image.

This patch comes with a new ImageControllerTests.js.
2015-07-14 11:35:48 +02:00
Aditya Bhatt a7eb577fb8 Fix broken click-to-collapse-selection ability in Blink
This is achieved by not iterating over DOM objects using Object.keys
because Chrome >=43 move them onto the prototype chain.

The iteration in DomUtils.cloneEvent is now done over the event's
class prototype.
2015-07-10 11:14:54 +02:00
Friedrich W. H. Kossebau 5efa1a69e4 seedrandom.js is 3rd-party, so ignore for licensecheck & jslint 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau 68cc8025f6 Allow to control verifyCache behaviour of existing ops.StepsCache instances 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau 913f5b115c Remove AddMemberAddMember OT again 2015-06-07 13:16:33 +02:00
Philip Peitsch 97bc84d27f Enable StepsCache verification 2015-06-01 18:00:12 +02:00
Philip Peitsch 52529379e1 Add incorrect implementation for OT of AddMember ops 2015-06-01 18:00:12 +02:00
Philip Peitsch e6cb30164f Add TODO around TrivialUndoManager bug 2015-06-01 18:00:11 +02:00
Jos van den Oever ee35d8c463 Also support DOCUMENT_FRAGMENT_NODE in UnitTester.
So far only text nodes and elements could be compared. With this patch
document fragments can also be compared.
2015-06-01 09:01:03 +02:00
Jos van den Oever dd2bc67012 Use new options of closure compiler.
Each option now has its own line to make a change in settings more visible.
2015-06-01 08:53:42 +02:00
Jos van den Oever b8ad5b3889 Upgrade to Closure Compiler 20150505.
We are now using our own copy of the externs to deal with differences
of opinion on best typing of types.
2015-06-01 08:53:35 +02:00
Friedrich W. H. Kossebau 0a13b44fd3 Add transformAddAnnotationRemoveAnnotation 2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau 19a3ffce2d Add transformRemoveAnnotationRemoveAnnotation 2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau 0327e69611 Support multiple annotations in TransformationTests' linkAnnotationEndToStart 2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau 2875939211 Add transformAddAnnotationAddAnnotation 2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau 298e09ae03 Add Alice & Bob as default members in TransformationTests 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau 50b0213b3c Add transformRemoveAnnotationRemoveText 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau ad38426eb4 Add transformRemoveAnnotationSetParagraphStyle 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau 10a3553a9d Add transformRemoveAnnotationSplitParagraph 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau a00e838764 Add transformMoveCursorRemoveAnnotation 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau f3f495b832 Add transformMergeParagraphRemoveAnnotation 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau 1b9fdca1bf Add transformInsertTextRemoveAnnotation 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau 773ff97d8b Move bookkeeping about setup method to test description 2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau 419eb54788 Add transformApplyDirectStylingRemoveAnnotation 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau a23d98a53f Add transformAddAnnotationRemoveText 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau f4b49d8993 add transformAddAnnotationMergeParagraph 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau 7d5bdf27dd fixup transformAddAnnotationInsertText 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau 63c19e91a0 Add transformAddAnnotationApplyDirectStyling 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau f156d9e27a Add transformAddAnnotationSetParagraphStyle 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau bf89109feb Add transformAddAnnotationSplitParagraph 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau f9f24a6fcc Add transformAddAnnotationMoveCursor 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau db51dfdfe8 Add transformAddAnnotationInsertText 2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau 69ac4062de Add noop transformations against AddAnnotation & RemoveAnnotation 2015-04-21 16:58:49 +02:00