Friedrich W. H. Kossebau
7741d55f2e
Create new class odf.Namespaces
2013-04-18 10:46:24 +02:00
Philip Peitsch
f709b07228
Implemented OpInsertTable
...
* No GUI access to feature yet
* New tables are inserted after the current paragraph
2013-04-17 21:28:45 +10:00
Jos van den Oever
e21635d074
Fix parallelization of cmake build.
...
There is a remark in the CMake documentation that says:
Do not list the output in more than one independent target that may build in parallel or the two instances of the rule may conflict (instead use add_custom_target to drive the command and make the other targets depend on that one).
This patch makes sure that that advice is followed in many more places in the WebODF build.
2013-04-16 11:40:40 +02:00
Friedrich W. H. Kossebau
6e7e3fe55f
Rename OpCloneStyle to OpCloneParagraphStyle, OpDeleteStyle to OpDeleteParagraphStyle
2013-04-10 12:15:07 +02:00
Friedrich W. H. Kossebau
d5c27b7892
Extend callbacks in the editorOptions: cursorAddedCallback, cursorRemovedCallback, registerCallbackForShutdown
2013-04-10 10:40:16 +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
54b3a1381c
move all DOM manipulation code to the ops
...
Also:
* merge paragraphEdited event of ops.OdtDocument into paragraphChanged event of ops.Session
* remove any event subscription/emitting from ops.OdtDocument
2013-04-09 13:44:49 +02:00
Philip Peitsch
1ecc0ec1f9
JSDoc cleanups and dead code removal
...
* Removed some unused variables and methods
* Removed redundant variable initialisation
* cursorNode in OdtCursor and Cursor is always set to a valid DOM element. Updated jsdoc accordingly
* Ignore WebStorm project-related files
2013-04-09 12:07:56 +10:00
Philip Peitsch
259b203d21
Avatars and modification markers are hidden by default for a non-networked editing session
...
* The avatar image will not be loaded if the avatar is not visible. The image will be loaded when the avatar is next shown
2013-04-09 12:07:14 +10:00
Tobias Hintze
7455add5fc
booting the editor: expose saveCallback and loginProcedure
2013-04-08 16:49:47 +02:00
Friedrich W. H. Kossebau
95d923dc26
Remove unused/unneeded property "position" from OpUpdateParagraphStyle
2013-04-03 18:00:20 +02:00
Tobias Hintze
8c13d0da0e
boot_editor.js and Editor cleanup round2:
...
most notable: untangle init_gui_and_doc:
provide clean chain of callbacks,
separate collaborative/network hookup from document loading,
changeSomeNames, comments and declarations
2013-04-03 13:37:17 +02:00
Tobias Hintze
66eb0054d0
rename SessionImplementation to Session (and thus remove the Session-interface)
2013-03-26 14:15:02 +01:00
Tobias Hintze
2af73a06bd
implement the updated concept of getUserDetailsAndUpdates;
...
adds quite some comments and asserts
2013-03-26 09:37:14 +01:00
Aditya Bhatt
1a7f6a6dd7
Some avatar handle styling changes.
...
In webodf, the handle's image's border is set with the user's color
instead of the handle background. Also, the cursor span is changed to
2px width for better visibility.
In editor.css, custom CSS overrides are applied to make the handles look
very much like the avatar 'thumbnails' in the people sidebar.
2013-03-26 13:46:54 +05:30
Aditya Bhatt
d543584eea
whitespace
2013-03-26 13:46:25 +05:30
Aditya Bhatt
aa02bf59c6
Need to enclose the dropdownbutton text span within a span, because dojo
...
restructures the html upto the first descendant span
2013-03-26 13:46:25 +05:30
Aditya Bhatt
eacdba133c
Fix wrong alignment when strings are too long
2013-03-26 13:46:25 +05:30
Tobias Hintze
28eaa42dc8
make webodf/Editor a class; change getin.js to boot_editor.js
2013-03-26 09:07:59 +01:00
Aditya Bhatt
e8e98928e6
if(value)
2013-03-25 15:52:57 +05:30
Aditya Bhatt
21f7e5fff4
Better handling of undefined font family in fontPicker
2013-03-25 15:52:57 +05:30
Aditya Bhatt
a1354b010e
Some changes to handle undefined font families
2013-03-25 15:52:57 +05:30
Aditya Bhatt
df17d620c7
Add a getFamily method to fontPicker, which retrieves the family for a
...
font with a given name. Use this in the font pane so that we can see
previews for fonts.
2013-03-25 15:52:57 +05:30
Tobias Hintze
694a80e6e0
add a README-viewer.odt to programs/viewer/ and in viewer-$ver.zip
2013-03-23 14:01:20 +01:00
Tobias Hintze
7a9e7c50c7
whitespaces
2013-03-20 22:26:01 +01:00
Tobias Hintze
e97953f6f1
programs/editor/widgets: make two panes work in a subdir as well
2013-03-20 20:47:03 +01:00
Tobias Hintze
c23067a494
removing verbosity on js console
2013-03-20 15:48:21 +01:00
Tobias Hintze
be7ba7cd80
yet another update of the welcome.odt, introducing embdedded font
2013-03-20 15:21:15 +01:00
Aditya Bhatt
f5dda183da
Add dojo/text!resources/fonts/fonts.css explanation
2013-03-20 19:01:21 +05:30
Tobias Hintze
6a7a8043c2
programs/editor: better detection of collab/non-collab mode
2013-03-20 12:35:29 +01:00
Tobias Hintze
fb11ddd99a
Merge remote-tracking branch 'abheap/master'
...
Conflicts:
programs/editor/cdn-index.html
2013-03-20 12:18:17 +01:00
Tobias Hintze
56fe73d424
split programs/editor/index.html into index.html and collab-index.html
...
only collab-index.html should engage nowjs and play the collaborative
game.
2013-03-20 12:03:01 +01:00
Tobias Hintze
1a1c0c8de7
update programs/editor/welcome.odt:
...
* change background color from blueish to white
* minimal text:span cleanup
2013-03-20 11:50:48 +01:00
Aditya Bhatt
b25ec1d952
Let's also call init() after declaring. :/
2013-03-20 15:11:46 +05:30
Aditya Bhatt
3a44cb0ac8
Append font css as a text node
2013-03-20 15:11:46 +05:30
Aditya Bhatt
2fa9df09f7
Move style loading of fonts from editor.css to js
2013-03-20 15:11:46 +05:30
Aditya Bhatt
2c2082240e
Add resources to cmake
2013-03-20 15:11:46 +05:30
Aditya Bhatt
a1c0c28866
Move fonts/fonts.css to a resources/ dir, and update the paths
...
dojoConfig paths accordingly to resolve pathes starting with
'resources/'.
2013-03-20 15:11:46 +05:30
Tobias Hintze
bedb9a2c94
improve AMD pattern usage; remove explicit require() calls
2013-03-19 21:44:48 +01:00
Tobias Hintze
fa0cd59683
trivial fix for german translation
2013-03-19 15:33:57 +01:00
Friedrich W. H. Kossebau
51af6f6140
Ensure that style name (id, not the display name) is properly encoded and unique
2013-03-19 10:35:41 +01:00
Tobias Hintze
132eecce41
dojo translations: only allow supported languages (default to "C")
2013-03-18 23:02:50 +01:00
Tobias Hintze
8f219d2c18
fix editor/index.html to bootstrap dojo paths
2013-03-18 20:36:24 +01:00
Aditya Bhatt
8b8839ee81
Add html restructuring to index.html too
2013-03-18 18:35:15 +05:30
Aditya Bhatt
163a442bbb
Some styling changes - check for the availability of window.inviteProxy
...
to show the invite button, and use a custom button instead of a dojo
button because we need a bit more flexibility
2013-03-18 18:12:35 +05:30
Aditya Bhatt
dcef6bf1a5
Partially refactor the avatar button updating code so that there is only
...
one code path for updating. + some styling
2013-03-16 08:03:31 +05:30
Aditya Bhatt
252d6da87f
Remove the chat sidebar and the ExpandoPane, and have a clean sidebar of
...
avatar buttons to the right. Also some aesthetics styling.
2013-03-16 07:43:19 +05:30
Aditya Bhatt
6eb6762ce9
Make the container + canvas layout in programs/editor similar to the one
...
in programs/viewer, so now we don't have to deal with a hackish hidden
horizontal scrollbar, and both scrollbars follow the zoom level
perfectly.
2013-03-16 01:44:16 +05:30