Commit Graph
29 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau c2a795e668 Update link to repo: now https://github.com/kogmbh/WebODF/ 2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau 508570dab8 Add copy of the AGPL3 to sources (+ add to created zip files) 2013-10-21 17:55:16 +02:00
Friedrich W. H. Kossebau f46bb9e502 Change ops.OperationRouter.push to take a sequence of ops
Taking a sequence of ops also enables to give the guarantee that all
contained operations will be executed directly after each other,
in the given order. So creator of the ops can calculate the spec of each op
by relying on the known effect of the other ops.
2013-10-02 19:29:52 +02:00
Friedrich W. H. Kossebau 1f7469884f redo class Editor (for proper re-usage and also destruction)
* Editor can have three states: without a document/session, with a document/session, destroyed
* Editor is created without any document/session initially
* document/session has to be closed before loading another one
* EditorSession/Session are bound to a document/session, recreated for another one
* all other objects are reused with another document/session
* destroy() cleans up the Editor from the webpage it is embedded (at least good enough for now)
* startEditing/endEditing have to be done by the user of Editor
2013-09-03 01:02:48 +02:00
Friedrich W. H. Kossebau 3662d04807 Adding a destroy() method to most classes, for proper shutdown 2013-09-03 01:02:48 +02:00
Friedrich W. H. Kossebau 4322b22858 Rename everything with "[Uu]ser|[Ppeople]" to "[Mm]ember"
consolidates the terms used a little
2013-08-07 18:03:19 +02:00
Philip Peitsch 58ed969130 Provide ability to register custom operations with the OperationFactory
This starts to allow custom operations to be added to webodf core that
can be routed via the undo, OT and main processing run loop.
2013-07-15 09:07:48 +02:00
Philip Peitsch 2d8640becb Preserve the current user selection during formatting changes 2013-07-02 21:19:36 +02:00
Friedrich W. H. Kossebau c0a9a1e99f Remove unused session argument from ops.OperationFactory constructor 2013-05-07 11:42:27 +02:00
Friedrich W. H. Kossebau 3d03b1cc70 Cleanup ops.Session: add types & API dox, remove unneeded methods 2013-04-10 11:12:42 +02:00
Friedrich W. H. Kossebau dadc0578f2 Add ops.OperationRouter to describe the generic interface 2013-04-10 11:12:42 +02:00
Friedrich W. H. Kossebau 6f5ced4d1e Do not pass session as parameter to the ops contructors, pass odtDocument instead of domroot in the execute method 2013-04-09 13:45:33 +02:00
Friedrich W. H. Kossebau 7868d6bfa3 Move eventNotifier from ops.Session to ops.OdtDocument 2013-04-09 13:45:33 +02:00
Friedrich W. H. Kossebau dade008500 Add core.EventNotifier, as generic notification handler for both ops.Session and EditoSession 2013-04-09 13:44:49 +02:00
Friedrich W. H. Kossebau f8014050d0 Remove outdated comment about moving signal ids to ops.Session 2013-04-05 14:32:32 +02:00
Tobias Hintze 287303d177 more cleanup related to the SessionImplementation -> Session rename 2013-03-26 14:23:19 +01:00
Tobias Hintze 66eb0054d0 rename SessionImplementation to Session (and thus remove the Session-interface) 2013-03-26 14:15:02 +01:00
Friedrich W. H. Kossebau a058242e6b Split ops.Document from ops.Session (initial step)
Idea here is to create abstraction as much as possible for all ODF-related
objects, e.g. the cursor objects now belong to and know the ODF document model
they run around in.

Some avatar tests still need fixing/adaption, but from manually testing it
looks good, so commiting now to prevent too much differences.
2012-11-09 12:19:08 +01:00
Friedrich W. H. Kossebau 8369aacb78 Make closure compiler happy (well, she better than us) 2012-11-09 12:13:22 +01:00
Friedrich W. H. Kossebau 6c785c38d9 Move implementation of SessionImplementation.moveMemberCaret into OpMoveMemberCursor 2012-11-09 11:58:17 +01:00
Friedrich W. H. Kossebau b69a7d94ac Restore old text input state, but now with SessionController and OpInsertText 2012-11-09 11:56:19 +01:00
Friedrich W. H. Kossebau 97e0e41a28 Move home of avatars into SessionView
Temporarily disables click handling
2012-11-09 11:48:07 +01:00
Tobias Hintze 758333d210 update "@source:" references to gitorious.org/webodf
(as in master: de1a79c36f)
2012-10-21 12:18:15 +02:00
Jos van den Oever d1271871a7 Some progress on implementing the insertText operation. 2012-10-21 11:38:17 +02:00
Jos van den Oever 19eaed5624 Use full string when removing to make handling of conflicts easier. 2012-10-20 11:11:57 +02:00
Jos van den Oever 6e0192f1c7 Add functions for adding and removing paragraphs.
Also change session operations to return a boolean. This will later be used for making an implementation of a session that signals if certain operations are allowed or not. This is useful in operational transforms, unit tests and enabling or disabling parts of the ui.
2012-10-11 17:40:25 +02:00
Jos van den Oever ea840b7579 Add ability to create a new empty text odf document. 2012-10-11 13:07:44 +02:00
Jos van den Oever c37feaaa03 Add a blinking caret for an avatar. 2012-08-08 21:29:30 +02:00
Jos van den Oever 8f5958dca5 Add helper to check that operations on the session are in sync with the operations in the xml definition. 2012-08-06 16:02:28 +02:00