Aditya Bhatt
5333f98f99
Bind dialog to paragraph style, updates on changes to the style
...
Conflicts:
programs/editor/widgets/paragraphStylesDialog.js
2012-12-28 12:05:06 +01:00
Aditya Bhatt
8b3e632afd
Use dojo form instead of HTML forms
2012-12-28 12:05:06 +01:00
Aditya Bhatt
847114c271
Some changes to get accessing of paragraph styles by the dialog working
...
Conflicts:
programs/editor/CMakeLists.txt
programs/editor/index.html
programs/editor/widgets/dialogWidgets/alignmentPane.js
programs/editor/widgets/paragraphStylesDialog.js
2012-12-28 12:05:06 +01:00
Tobias Hintze
f2667f043f
cleanup, whitespace, and cosmetics
2012-12-03 16:56:04 +01:00
Tobias Hintze
126d4d32f6
add and use welcome.odt file at start for programs/editor
2012-12-03 16:24:17 +01:00
Tobias Hintze
20accd4fd2
apply AMD pattern to programs/editor
...
* allows use either in src or in build dir (cdn-index.html / index.html)
* creates dojo-amalgamation.js which includes selected languages
2012-12-03 16:24:08 +01:00
Aditya Bhatt
eba10f9ec3
Make dialog previews work.
...
(Tobias Hintze <th-git@kogmbh.com >:
manually resolved cherry-pick conflict in fontEffectsPane.js)
2012-11-30 13:29:32 +01:00
Aditya Bhatt
71656d78d4
Remove all instances and usages of session, documentObject, and memberId from all editor components. Obsolte after using EditorSession
...
(Tobias Hintze <th-git@kogmbh.com >:
manually resolved conflict in editor.js during cherry-pick)
2012-11-30 13:22:31 +01:00
Aditya Bhatt
98e72a0e77
Add method to retrieve odfDocument
2012-11-30 13:07:05 +01:00
Aditya Bhatt
bb7145521b
Add UserList to cmake
2012-11-30 13:06:50 +01:00
Aditya Bhatt
01ccbf791b
use the new UserList in editor.js
2012-11-30 13:06:44 +01:00
Aditya Bhatt
23bda39b14
Trash all the old code that talked to webodf, and use the new EditorSession API. Code is reduced!
2012-11-30 13:06:38 +01:00
Aditya Bhatt
112f8796fe
A class for handling the people list in the Editor. Exposes two methods, addUser and removeUser. These can be automatically invoked when a 'userAdded' or 'userRemoved' signal is fired.
2012-11-30 13:06:29 +01:00
Aditya Bhatt
81fa5d47be
New Editor API - add subscriptions for various signals. EditorSession.js is now supposed to only expose information about the editor instance's own User instead of all others. Signals generated by other users are filtered out before forwarding signals to any subscribers in the editor. Introduce Users instead of 'avatars'. Add several methods for tracking cursor and paragraph styles for our own user, which can be used by other widgets in the Editor.
2012-11-30 13:06:15 +01:00
Aditya Bhatt
c3d18fd4c3
Lint
2012-11-30 13:05:54 +01:00
Tobias Hintze
e341f59ca4
whitespace
2012-11-23 22:29:21 +01:00
Tobias Hintze
cbd847f8d8
editor: update dojo build
2012-11-23 22:29:10 +01:00
Tobias Hintze
1e0e95a7f4
hotfix: translator should be gracefull for missing translation
...
(this changes the "API" to translator("foo") instead of translator.foo)
2012-11-23 19:42:25 +01:00
Tobias Hintze
0189f960ac
jslint fixes (whitespace)
2012-11-23 17:19:05 +01:00
Tobias Hintze
9ae35a5f0c
wip-snapshot: tiny improvement of dojoNlsCompile and it's use
2012-11-21 17:40:45 +01:00
Aditya Bhatt
ba80de7f88
We seem to need special handling for dojox components. This works for now.
2012-11-19 17:11:40 +05:30
Aditya Bhatt
d179d72c96
Remove obsolete stuff
2012-11-19 17:03:19 +05:30
Aditya Bhatt
2884ed7e47
Use dojox css in app to fix the blank ExpandoPane issue
2012-11-19 12:57:54 +05:30
Aditya Bhatt
fe2de1f7ff
Also copy some relevant dojox material into digest
2012-11-19 12:57:33 +05:30
Aditya Bhatt
795701a9bc
Use digest/ url now for referring to a certain dojo resource.
2012-11-19 12:43:42 +05:30
Aditya Bhatt
dea73c9945
Cleanup dojo dist/ after copying the relevant stuff out into digest.
2012-11-19 12:42:58 +05:30
Aditya Bhatt
6384b33739
ouch, app.css needs to be in the dojo hierarchy -> digest/app/resources/app.css. Also, copy dojo/resources and dijit/images (how did I miss those?!)
2012-11-17 03:38:33 +05:30
Aditya Bhatt
642b0f57cd
use resources from digest
2012-11-17 03:38:12 +05:30
Tobias Hintze
43778f41b8
editor-cmake: digest dir (plus cleanup and comments)
2012-11-16 22:35:26 +01:00
Aditya Bhatt
387dec8a25
editor-cmake: implement correct dependencies and target
2012-11-16 22:21:01 +01:00
Aditya Bhatt
251d716e8c
Remove dojo/nls, it isn't a module
2012-11-16 22:20:19 +01:00
Aditya Bhatt
da11f77325
Download dojo into the shared download dir, unpack into the build/programs/editor directory, build according to the dummy profile
2012-11-17 01:31:16 +05:30
Aditya Bhatt
4248bc1742
Download dojo
2012-11-16 20:49:08 +05:30
Aditya Bhatt
0bcd694255
Allow #args , temporary hack
2012-11-16 19:31:59 +05:30
Aditya Bhatt
e094b2b23b
Copy all relevant files to build/
2012-11-16 19:31:47 +05:30
Aditya Bhatt
02590e514e
endEditing when user closes window
2012-11-16 18:04:53 +05:30
Aditya Bhatt
aa1b888640
Handle avatars properly in EditorSession.js and add startEditing and endEditing
2012-11-16 17:51:31 +05:30
Aditya Bhatt
ded8a850e7
remove old avatars.js file, from now on EditorSession will handle users in a session
2012-11-16 16:23:40 +05:30
Aditya Bhatt
2047e4c5a6
EditorSession as a controller between session and editor
2012-11-16 16:21:54 +05:30
Aditya Bhatt
c858fae99c
EditorSession as a controller between session and editor
2012-11-16 16:21:41 +05:30
Aditya Bhatt
3bd7cf922e
add a editor 'namespace'
2012-11-16 16:20:38 +05:30
Aditya Bhatt
b5ee2848eb
don't need dojoWin anymore
2012-11-16 13:06:08 +05:30
Tobias Hintze
10859a274b
Merge branch 'collaborate'
...
Conflicts:
programs/editor/index.html
webodf/lib/gui/Caret.js
webodf/tests/gui/AvatarTests.js
2012-11-13 08:45:26 +01:00
Tobias Hintze
0bec7b379d
add license headers
2012-11-09 12:35:35 +01:00
Tobias Hintze
bfcb3d8b8f
programs/editor: re-enable offline-editing
2012-11-09 12:30:36 +01:00
Tobias Hintze
8ff251ec4e
cosmetics
2012-11-09 12:29:41 +01:00
Friedrich W. H. Kossebau
5dd5b08ce4
Attach avatar handler to the right node (cursor element, not span element)
...
Fixes:
* avatar handler styles not being applied
* cursor blinking directly before avatar handler
and possibly also
* losing the avatar handler sometimes
2012-11-09 12:29:29 +01:00
Friedrich W. H. Kossebau
4cc7378039
Move setting of edited-by-avatar styles into SessionView
2012-11-09 12:26:51 +01:00
Tobias Hintze
f1e7811ff4
make userid parameter of editor_init; default to "you"
2012-11-09 12:26:12 +01:00
Tobias Hintze
eb43b6fb88
fix order of inits: UserModel, Replay, StartEditing
2012-11-09 12:26:05 +01:00