42 Commits
Author SHA1 Message Date
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 2875939211 Add transformAddAnnotationAddAnnotation 2015-05-06 18:39:15 +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 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
Friedrich W. H. Kossebau f42f6de84a Stricter typing of the setProperties data 2014-09-18 13:33:06 +02:00
Friedrich W. H. Kossebau a738a0812b Clarify the currently used OT tie-breaking rule 2014-08-20 23:27:59 +02:00
Friedrich W. H. Kossebau 046323c69e In the comments talk about a master session, not a server 2014-08-20 23:27:59 +02:00
Philip Peitsch 7809834473 Fix OT when two adjacent paragraphs are merged backwards
Transforms were not ensuring a consistent style name was applied to the
merged paragraph on all clients.
2014-08-19 01:27:06 +10:00
Friedrich W. H. Kossebau aafacd70e1 OT matrix missed entries for ApplyDirectStyling vs. all member ops 2014-08-08 17:42:50 +02:00
Aditya Bhatt 75ceb5d3b3 Add OT for SetParagraphStyle vs SetParagraphStyle 2014-06-22 03:20:51 +02:00
Aditya Bhatt 1d6b7a75bf Add OT for RemoveText vs SetParagraphStyle 2014-06-22 03:15:31 +02:00
Aditya Bhatt 97314f7943 Add OT for InsertText vs SetParagraphStyle 2014-06-22 02:47:57 +02:00
Philip Peitsch d6d623c919 Implement OT support for MergeParagraph 2014-06-17 03:13:01 +10:00
Philip Peitsch 466a828303 Change OT to handle new paragraphStyleName property in SplitParagraph
In particular, to allow SplitParagraph to transform with SetParagraphStyle,
the source paragraph boundaries for the split paragraph op also need to
be recorded.
2014-06-13 23:50:13 +10:00
Friedrich W. H. Kossebau 1e2a4a8323 Normalize license headers of the webodf.js source files
* remove @license tag (to prevent Closure compiler keeping the comment)
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released webodf.js
* separate license header by empty line from following content
2014-06-02 12:19:05 +02:00
Aditya Bhatt 933b70ee5e Add OT for InsertText and SplitParagraph at the same position.
The person typing text should keep typing in the same line
without any unexpected jumps.
The person splitting the paragraph should get that without having
the other typing in the new one.

Also added tests for all 3 position cases (before, same, afteR)
in InsertTextSplitParagraph.
2014-04-16 13:44:39 +02:00
Jos van den Oever a45ab58c81 Make OperationTransformer and OperationTransformMatrix 100% typed.
Now all classes that are in use are 100% typed.
2014-02-08 18:03:04 +01:00
Aditya Bhatt 5dfd3438d1 * Add moveCursor flag to OpSplitParagraph.
* Adapt places where OpSplitParagraph is initialized
to also add the moveCursor flag.
* Let SplitParagraph vs SplitParagraph execute normally
at the same position.
2013-12-06 12:37:34 +01:00
Aditya Bhatt 47db07fb99 * Add an additional flag moveCursor to OpInsertText,
and obey it to explicitly move the cursor to the
desired resultant position.
When doing this, take care to specify the correct
textnode position for text insertion (i.e. before
or after the cursor).
* Adapt the rest of the code that uses OpInsertText
to pass the correct moveCursor flag (true).
* Remove the 'return null' from the transform of
InsertText vs InsertText.
2013-12-05 17:26:19 +01:00
Jos van den Oever 619e47b1d5 Add types to operations and operation matrix. 2013-11-26 16:56:00 +01:00
Aditya Bhatt 5bb266e84c Added OT for UpdateMetadata.
Add capabilities to OperationTests.js
and to TransformationTests.js,
test for <office:meta> elements.

Add corresponding tests for
OpUpdateMetadata.
2013-11-25 14:49:34 +01:00
Aditya Bhatt e16cc38edb == Op-ify member data handling ==
* New operations: OpAddMember, OpRemoveMember,
OpUpdateMember.
* Member data is now handled in a memberDataManager
instance inside OdtDocument.
* Any operations must be executed only if a member
is present within this model.
* All polling code for member data has been removed;
colors, names, and images now instantly update
whenever a member data operation is executed.
* Added relevant entries to the OT Matrix.
2013-11-20 18:56:47 +01:00
Friedrich W. H. Kossebau 09520a0c3c change "shadowed"/"shadowing" to "overruled"/"overruling"
as proposed by Aditya offline
2013-11-16 00:25:05 +01:00
Friedrich W. H. Kossebau 69b8fe23d5 Fix lots of OT for MoveCursor (semantics of position & length were misunderstood) 2013-11-15 18:15:38 +01:00
Friedrich W. H. Kossebau c75c407c56 Extend OT matrix with methods for op "ApplyDirectStyling" 2013-11-15 15:30:32 +01:00
Friedrich W. H. Kossebau 25fc86e12f In OperationTransformMatrix.js move all utility methods before the real transformation methods 2013-11-15 15:30:32 +01:00
Friedrich W. H. Kossebau 8eeb0366c9 Add client-side OT 2013-11-07 10:51:01 +01:00