933 Commits
Author SHA1 Message Date
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 84b6f07123 Add missing semicolon 2015-07-17 13:35:36 +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 fdee3711c5 Remove unneeded loadClass calls 2015-07-15 20:38:04 +10:00
Philip Peitsch a98467f4f9 Allow the RemoveCurrentSelection benchmark step to be disabled
This action is still extremely slow on large documents (100+ pages).
2015-07-15 20:38:03 +10:00
Philip Peitsch 8b52db808e Add SaveDocument test to benchmark 2015-07-15 20:38:03 +10:00
Friedrich W. H. Kossebau 4a2f734395 A some API dox to Bella class 2015-06-07 14:07:41 +02:00
Friedrich W. H. Kossebau e3c2eeff35 Add types for random and config parameters 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau c01e78ce19 Indent properly 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau bb750b10c4 Make jslint more happy 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau 81ae859141 Default to all actions enabled for Bella 2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau c07247c84e Inject Bella (& future devel) plugins via "secret" window.wodo_plugins hook
Also drop custom bella.js variant of localeditor.js
2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau aa0277e200 Ensure Bella only tries to create selections in the same root 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 617eba24ed Allow to start and stop Bella activity via buttons on the toolbar 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau d63e2b6f3d Allow to specify container of SimpleStatusReporter
gives a separate status view per editor
2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau d700865440 Extend Bella state by a name property 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 4c3bb7ae80 Make Bella doing typing and direct styling some config options 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 76c8f7a075 Allow to configure utterances of Bella 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 024dd26baf Make Bella doing undo/redo a config option 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau b9b01a412d Make Bella doing annotations a config option 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 4815a0f892 Have custom "app" for Bella, let her also be the real editor 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 15dd742eb7 Draft for generic support for plugins in Tools, instead of hardcoding Bella 2015-06-07 13:16:33 +02:00
Friedrich W. H. Kossebau 2f23bc83cb Have Bella also mess with annotation creation/removal 2015-06-07 13:16:33 +02:00
Philip Peitsch 5e26b5a1e0 Meet Bella. She will destroy your documents.
* Supports multiple instances in the same doc
* Able to exercise entire selection controller
* Can say meow (and other text manipulation actions)
* Knows  about undo & redo
* Will also destroy your document formatting too!
* Can cut, copy & paste
* Bella is a tidy cat and likes valid documents
* Bella can be hooked up to use an existing cursor
* Custom actions to be loaded externally
* Has AMD integration
* Add checks to ensure the cursor is in a valid step.
Issue highlighted in review of PR #451.
* Add a seeded random number generator to allow reproduction of crashes.
Original source: https://github.com/davidbau/seedrandom
* Add some really simple reporting stats
* Allow seed to be specified via URL

Major features
==============
Add an "auto drive" feature (the cat herder)

Auto drive will automatically cycle the page after the specified
number of pounces. If an unhandled exception occurs, it will PUT a
file to the server in the same location that contains the number of
pounces that happened, and the original seed, along with the error
information.

Notes
=====
* Limit how frequently document length checks are performed
* Using a real SessionController causes problems with double-events
2015-06-07 13:16:33 +02:00
Jos van den Oever 3d0a0114bc Fix build of html-benchmarks.
Maybe this was the longest time i spent on  fix that was only one character.
2015-06-01 08:53:42 +02:00
Jos van den Oever 61a48cb569 Fix annotation: it needs brackets. 2015-06-01 08:53:42 +02:00
Friedrich W. H. Kossebau 4ed6c50705 Disable custom buttons save/saveAs/close/download when there is no session 2015-05-20 13:52:05 +02:00
Friedrich W. H. Kossebau b4854727b3 Remove unstablefeature flag from annotations in Wodo.CollabTextEditor 2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau b9202f2342 Remove ViewerJS code, i.e. programs/viewer, now in ViewerJS repo
Imported into ViewerJS in c489dc706a58ca8cd429dbd14bb8611a46742ede
2015-04-21 16:57:21 +02:00
Friedrich W. H. Kossebau 9de1f20bbf Remove confusing double use of isSlideshow var 2015-04-13 19:42:18 +02:00
Friedrich W. H. Kossebau c428ec57f1 HowTo-Wodo.TextEditor: Tag all code snippets and files, also link sample files. 2015-04-02 17:26:49 +02:00
Friedrich W. H. Kossebau 486876e3a4 Add revieweditor samples to Wodo.TextEditor package 2015-04-02 17:26:48 +02:00
Friedrich W. H. Kossebau e9746b0732 Add "mode" flag to Wodo.TextEditor, to switch between review and full edit 2015-04-02 17:26:48 +02:00
Friedrich W. H. Kossebau 0d1077b205 Fix API generation for Wodo.TextEditor
fixup for c749ca8927
2015-04-02 17:25:54 +02:00
Friedrich W. H. Kossebau a79eeac218 fix checking for NaN value 2015-03-16 13:21:27 +01:00
Friedrich W. H. Kossebau 8a764194e5 In the viewer allow to specify the page shown initially, by "startpage" 2015-03-15 21:37:49 +01:00
Friedrich W. H. Kossebau dd4ac7c323 Use "Wodo.TextEditor" as name in about dialog 2015-03-15 19:56:01 +01:00
Friedrich W. H. Kossebau 0434b5bda9 Fix Home key handler in viewerjs to use proper first page number 1, not 0 2015-03-14 01:13:49 +01:00
Friedrich W. H. Kossebau 5c2be268f5 Add French translation for the editor 2015-03-14 01:13:49 +01:00
Friedrich W. H. Kossebau b16f0d192d Compile Dojo translations for all supported languages 2015-03-13 22:37:17 +01:00
Friedrich W. H. Kossebau 5cbf30c382 Stop adding lots of debug comments to dojobundle.js & dojo-amalgamation.js 2015-03-13 22:36:34 +01:00
Friedrich W. H. Kossebau 0789a512a1 Remove unneeded translations 2015-03-13 21:24:24 +01:00
Friedrich W. H. Kossebau b751ba19c9 Viewer: Unset focus from UI buttons after a click 2015-03-13 21:24:03 +01:00
Friedrich W. H. Kossebau 05d584812e Remove unused getWidth/getHeight methods from ODFViewerPlugin 2015-03-13 14:16:27 +01:00
Friedrich W. H. Kossebau 91bebcf41a Remove broken duplicated older version of zoomSlider.setEditorSession
fixup for c749ca8927
2015-02-27 17:16:15 +01:00
Friedrich W. H. Kossebau 651004d393 Fix JSLint issues in programs/benchmark. 2015-02-23 23:18:20 +01:00
Friedrich W. H. Kossebau 153dd629dc Fix JSLint issues in docnosis 2015-02-23 17:31:37 +01:00
Friedrich W. H. Kossebau c749ca8927 Code cleanups in programs/editor for issues found with JSLint 2015-02-23 17:31:37 +01:00
Friedrich W. H. Kossebau 90f7dbdbb9 Add an optional "Save as" button to Wodo.TextEditor
saveas.png icon composed from Dijit icons,
thus with same license as Dijit icons
2015-02-18 22:50:04 +01:00