Commit Graph
311 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau fa9504bb73 Adapt UserList view to usermodel now signalling userdata changes
(and remove unneeded parameters from internal methods)
2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau a6d4f6496a Remove duplicated fade effect description from editor.css (already in webodf.css) 2012-12-28 12:05:07 +01:00
Aditya Bhatt e186836434 Prefix with namespaces 2012-12-28 12:05:06 +01:00
Aditya Bhatt 3e61ec968a Don't use UI-specific properties in operations. remove 'Radio' from
properties
2012-12-28 12:05:06 +01:00
Aditya Bhatt 63e3e84496 Remove log 2012-12-28 12:05:06 +01:00
Aditya Bhatt 3f5a90b174 toolbar should be local var 2012-12-28 12:05:06 +01:00
Aditya Bhatt 01634286bc Linted everything in editor/ 2012-12-28 12:05:06 +01:00
Aditya Bhatt bdebe10662 Lint 2012-12-28 12:05:06 +01:00
Aditya Bhatt b18bf1226a Lint 2012-12-28 12:05:06 +01:00
Aditya Bhatt 2453386448 Use de-globalized editorSession throughout editor 2012-12-28 12:05:06 +01:00
Aditya Bhatt 2b5bfbc891 Bind accept() and cancel() to onClick for OK and Cancel buttons of dialog 2012-12-28 12:05:06 +01:00
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