Aditya Bhatt
b1dbc64d84
Add german translations for hyperlink UI.
2013-12-17 13:19:47 +01:00
Aditya Bhatt
5f056eb079
Fix hyperlink UI translations for english.
2013-12-17 13:19:47 +01:00
lli
e1b8b4747d
Hook up the HyperlinkClickHandler with ODFViewerPlugin
2013-12-17 17:59:17 +11:00
Friedrich W. H. Kossebau
60626b01dc
Fix widget js files to only call runtime.loadClass(...) in the setup method, not at definition time
2013-12-16 23:52:59 +01:00
Philip Peitsch
9ed4ac0db4
Renamed HyperlinkManager to HyperlinkController
2013-12-13 23:35:51 +11:00
lli
353b4b68f1
Added editor buttons for applying or deleting hyperlinks
2013-12-13 17:40:22 +11:00
Friedrich W. H. Kossebau
3758ebf9e5
Add flag "showRemoveButton" to AnnotationViewManager, to not show the button if wanted
2013-12-12 18:07:42 +01:00
Philip Peitsch
2ec3d857ec
Re-implement the selection commands using new StepsTranslator interfaces
...
This re-implementation also addresses problems when navigating passed
annotations as identified in issue #65 & #65 .
This also fixes a large performance issue with extending or moving the
cursor via short-cut keys.
2013-12-11 00:50:25 +11:00
Aditya Bhatt
c99e4d354e
Add NLNet and KO logos to viewer's about dialog.
2013-12-09 18:55:40 +01:00
Philip Peitsch
085f4c2adc
Add an apply direct formatting benchmark action
...
Additionally, the benchmark will now take configuration options via the
query parameters rather than after the hash.
2013-12-06 01:27:20 +11:00
Friedrich W. H. Kossebau
62db9e22fe
Add API dox for Editor.addEventListener, with possible event ids and error codes
2013-12-03 18:32:40 +01:00
Friedrich W. H. Kossebau
50f18a109e
For OperationRouter turn explicit subscription methods into generic ones + explicit state getters
2013-12-03 18:32:40 +01:00
Friedrich W. H. Kossebau
42c5a7c617
Export errors and other oprouter states in the Editor API, experimental use in collabeditor.js
2013-12-03 18:32:39 +01:00
Friedrich W. H. Kossebau
14bf18d40d
Catch any errors in the OperationRouter & calling the server and report in separate callback
2013-12-03 17:03:55 +01:00
Friedrich W. H. Kossebau
27461c32fe
Add OperationRouter.getHasSessionHostConnectionAndUpdates/OperationRouter.unsubscribeHasSessionHostConnectionUpdates
2013-12-03 17:03:55 +01:00
Friedrich W. H. Kossebau
a454cce637
Catch failing playback of operations or unknown ops coming from server
2013-12-03 17:03:55 +01:00
Friedrich W. H. Kossebau
53c579b744
make failCb a needed argument to Server.joinSession and Server.leaveSession
2013-12-03 17:03:55 +01:00
Friedrich W. H. Kossebau
8aa87de93f
Fix collabeditor.js to use the right memberid and sessionid on server.leaveSession(...) call
2013-12-03 17:03:55 +01:00
Friedrich W. H. Kossebau
422db0de00
Fix condition when to log on replies to Pullbox servers
2013-12-03 17:03:55 +01:00
Friedrich W. H. Kossebau
33c0a580c8
Add OperationRouter.getHasLocalUnsyncedOpsAndUpdates/OperationRouter.unsubscribeHasLocalUnsyncedOpsUpdates
2013-12-03 17:03:55 +01:00
Jos van den Oever
cba60732eb
Merge pull request #214 from adityab/about-dialog
...
Add a simple 'about' dialog to viewer.
2013-12-02 12:00:23 -08:00
Jos van den Oever
b1f46c4ab3
Fix bug: readFile should be able to return strings too now.
2013-11-29 18:30:23 +01:00
Philip Peitsch
5db32daa9d
Ensure expand to word and paragraph boundaries keep selection direction
...
SessionController had some internal confusion about whether to work in
selection or range+bool. This cleans these up to ensure the direction is
properly preserved throughought.
2013-11-30 00:58:51 +11:00
Aditya Bhatt
1416a8bb7f
Let viewer be loaded without a plugin as well.
2013-11-27 19:52:57 +01:00
Aditya Bhatt
5108ee6585
Add "about" information to the viewer,
...
including an attribution line in the title bar
and plugin information in an about dialog.
2013-11-27 19:52:54 +01:00
Philip Peitsch
ebb7462022
Extend step translation interface to allow custom rounding
...
Step translation from a DOM point to a step usually results in some
rounding. The existing interface provided a simple bool flag to control
this, but this does not provide help for a caller that doesn't know
ahead of time which step is "closer" to the desired node (e.g., asking
for steps at paragraph boundaries should round within the paragraph).
This extension now allows a custom delegate that will be called with the
prev and next position to choose between rounding options.
2013-11-28 00:35:36 +11:00
Aditya Bhatt
f5883fe47e
Apply paragraph style to all paragraphs in the cursor
...
selection.
* Modify OdtDocument.convertDomPointToCursorStep(),
which takes a node, an offset, and a boolean, and returns the steps to
that position from the root, rounded to the next allowed
position if the boolean is true, otherwise to the previous.
* Use this method in EditorSession.setCurrentParagraphStyle().
2013-11-26 14:02:36 +01:00
Aditya Bhatt
ca3cb713e7
Do not fire onChange in paragraph styles
...
dropdown when setting the value programmatically.
2013-11-26 12:23:48 +01:00
Jos van den Oever
f0a24fb6eb
Fix docnosis for the recent changes in runtime file loading.
2013-11-25 13:33:10 +01:00
Aditya Bhatt
bfdc14b907
Add isEdit properties to all operation classes
...
to make life easier by avoiding the need to listen
to various signals or look at optypes when you just
want to know whether any edits have taken place.
2013-11-22 20:35:29 +01:00
Jos van den Oever
092edb44ad
JSON is just text, no need to make a binary.
2013-11-22 18:32:21 +01:00
Philip Peitsch
4d1c51feb4
Isolate document download speed from open speed in benchmark
2013-11-22 00:47:38 +11:00
Philip Peitsch
09d16af16b
Provide a sourceURL for runtime.js in all programs
2013-11-21 23:41:40 +11:00
Philip Peitsch
0a707b9129
Add required member information to benchmark
2013-11-21 21:35:06 +11:00
Philip Peitsch
bbf92720db
Add missing constructor docs
2013-11-21 11:43:39 +11:00
Philip Peitsch
9b95f7762b
Use SIMPLE_OPTIMIZATIONS when building html-benchmark
2013-11-21 11:43:39 +11:00
Philip Peitsch
d6f6437c27
Moved from programs/benchmarking to programs/benchmark
2013-11-21 11:43:39 +11:00
Philip Peitsch
645c8c2902
Compile the benchmark program to the build output
2013-11-21 11:43:39 +11:00
Aditya Bhatt
ec5567bd09
Remove all occurrences of MemberModel and TrivialMemberModel
2013-11-20 22:26:02 +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
6d9fa2108b
Remove no longer needed spans for menubar (slipped the last cleanup it seems)
2013-11-20 18:46:38 +01:00
Friedrich W. H. Kossebau
248e35ad8b
Rename AnnotationManager to AnnotationController
...
also call do not call AnnotationViewManager objects not annotationManager
2013-11-19 19:56:15 +01:00
Friedrich W. H. Kossebau
db0ecac6ee
Make directTextStyler no longer optional, now that it works also in collab mode
2013-11-15 15:30:32 +01:00
Aditya Bhatt
2dcd55205b
Have dedicated Editor.closeDocument and Editor.closeSession
...
methods to correspond to openDocument and openSession.
Remove unused EditorSession.close method, not sure what it was
used for.
2013-11-14 21:47:26 +01:00
Philip Peitsch
ba18df5017
Add profiling and performance application
...
Custom documents can be specified in the url by adding
the file-name after the url #. E.g., "src-index.html#1000pages.odt"
2013-11-13 17:39:18 +11:00
Friedrich W. H. Kossebau
72cd3888a1
Add backend for pullbox-type server to programs/editor
2013-11-07 10:51:01 +01:00
Aditya Bhatt
6a4f0e69ab
Add translations support to runtime.js,
...
and programs/editor/Translator.js which is a reference
implementations of a translator.
The programs/editor/Translator code is used entirely in
localeditor.js/collabeditor.js and the editor itself, or webodf,
and need not know anything about the translation mechanism.
Translate all strings within the editor and all
user-facing strings in webodf core itself using
runtime.tr();
2013-11-05 18:38:41 +01:00
Tobias Hintze
84cd8e1a03
build utility: remove double shift for mergeIntoDojo.js
...
(that bug did not surface before because the utility
was always used with exactly one mergee)
2013-11-04 21:50:36 +01:00
Aditya Bhatt
e74d7d2dca
Properly destroy all dojo widgets when Tools is destoy()'d
2013-10-23 20:48:23 +02:00
Friedrich W. H. Kossebau
c2a795e668
Update link to repo: now https://github.com/kogmbh/WebODF/
2013-10-23 18:20:30 +02:00