Philip Peitsch
cd8bf92832
Suppress manual task processing to prevent skewing of benchmark figures
...
Manually processing the redraw tasks vastly affects the current benchmark
results, dwarfing impacts from most other subsystems. Disabling this for
now to aid tuning of non-UI components.
2014-05-16 21:28:46 +10:00
Francesco Frassinleli
50170cee94
Add italian translation, under MIT license
2014-05-16 13:14:45 +02:00
Friedrich W. H. Kossebau
d302b3f07e
Make qtjsruntime work on windows and it's C:/foo/bar paths
2014-05-13 19:07:58 +02:00
Friedrich W. H. Kossebau
08e9108ebf
Use Qt5 for qtjsruntime
2014-05-13 19:07:58 +02:00
Philip Peitsch
ff0e7f8898
Improve avatar alignment to centre better with relation to the caret
...
The avatar was not staying well centred over the caret, and wouldn't move
vertically when the caret grew to match the text size. The easiest way to
ensure these stay properly aligned is to wrap both inside a sub-container.
2014-05-13 18:38:20 +10:00
Philip Peitsch
234380ef33
Migrate avatar CSS rules from editor to webodf.css
...
Each css file contained some of the rules required for the avatar display.
There are enough stylistic elements in webodf.css the avatars look strange
if the editor.css rules are not present.
Clean up this problem by merging all the rules into webodf core.
2014-05-13 18:38:19 +10:00
Friedrich W. H. Kossebau
27b533e10e
attribute style:display-name is only optional, use style:name as fallback for display
2014-04-30 12:03:14 +02:00
Aditya Bhatt
8d5019d6f5
Add a check for the "webodf" namespace
...
before looking into it for version information
in the ODFViewerPlugin.
2014-04-23 12:07:53 +02:00
Jos van den Oever
458081302d
Merge pull request #542 from vandenoever/datenow
...
Slight optimization: use Date.now() instead of (new Date()).getTime().
2014-04-17 16:37:18 +02:00
Jos van den Oever
4702b73090
Slight optimization: use Date.now() instead of (new Date()).getTime().
...
This avoids creating a new date object that is discarded immediately.
2014-04-17 16:36:13 +02:00
Friedrich W. H. Kossebau
545ece257f
Fix: disable annotation creation key combo in collab editor
2014-04-14 13:11:38 +02:00
Friedrich W. H. Kossebau
97ff04b0a7
make Webodf version a global property on the new namespace webodf
2014-04-11 15:05:07 +02:00
Aditya Bhatt
e68b320448
The editor's body css should not affect the
...
office:body element.
2014-04-11 14:49:21 +02:00
Friedrich W. H. Kossebau
fd020eee3f
Use Error objects in callback passed to "destroy" methods
...
The currently plain undefined objects are not useful at all, because
the properties are undefined.
2014-04-11 13:53:10 +02:00
Jos van den Oever
ab63f99ba0
Add dutch translation.
...
Remove a duplicate entry from the german translation and add some new translation strings in dutch and german.
2014-04-11 13:33:10 +02:00
Friedrich W. H. Kossebau
4da214206a
Make html files of editor and viewer HTML5 validated
...
Check done with http://validator.w3.org/check
2014-04-10 14:17:16 +02:00
Aditya Bhatt
c05a752bf0
Slide toolbars in/out on tap on a small device screen.
...
Use a fixed 5 second duration for such UI animations.
2014-04-09 16:39:00 +02:00
Friedrich W. H. Kossebau
c4de5bf17b
Use NODE, TOOLS_DIR and RUNTIMEJS vars consistently in CMakeLists.txt
2014-04-09 11:43:15 +02:00
Friedrich W. H. Kossebau
cf7a7e6a51
No need to copy webodf.css & ${LIBJSFILES} to touchui build, noone uses it
2014-04-09 11:43:15 +02:00
Friedrich W. H. Kossebau
a859033026
No more need to copy webodf.css for nativeQtClient, compiled webodf.js is used
2014-04-09 11:43:15 +02:00
Friedrich W. H. Kossebau
cf4ea1ee67
Move var HTML5UIFILES as TOUCHUI_FILES from toplevel CMakeLists.txt into touchui's
2014-04-09 11:43:15 +02:00
Philip Peitsch
acef143923
Move ODT-specific logic out of StepsCache into the steps translator
...
This is purely a refactor laying the groundwork for fixing the failing
operations tests. There are no expected functional impacts.
2014-04-09 17:05:32 +10:00
Friedrich W. H. Kossebau
5503c8698c
Fix docnosis by loading also class xmldom.RelaxNGParser
2014-04-08 13:48:38 +02:00
Friedrich W. H. Kossebau
a7a827a66a
Adapt name of firefox extension build target and file to actual name
2014-04-08 11:51:22 +02:00
Friedrich W. H. Kossebau
c9c2f81214
Unix line-endings for playbook/ext/blackberry.custom.filereader/library.xml
2014-04-07 15:23:40 +02:00
Friedrich W. H. Kossebau
32b39a1770
No line-ending enforcements for imported external files
2014-04-07 15:18:21 +02:00
Friedrich W. H. Kossebau
bef0d8bd03
Use new ids for the components of the FF extension
...
to avoid conflicts with the ids of the old version
where the components where not properly unregistered
2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau
357dab9f7e
Rename Firefox add-on to "ODF Viewer"
2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau
5c468e05a5
Unbreak "download this document" button in FF extension
...
getUserData/setUserData was deprecated and is no longer available in latest
Firefox (e.g. 27.0). Using e.g. the dataset property instead did not work
for storing callback methods. As currently only one async requests without
a callback are used, any support for callbacks or sync requests was simply
removed. Proper implementation delayed till callbacks or sync requests are needed.
2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau
99acce16b7
Properly register/unregister components for ODT/ODP/ODS in FF-Add-on
2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau
6647e1fcc4
Fix packextension.js: runtime.readFile no longer returns a buffer for NodejsRuntime
2014-04-04 15:54:14 +02:00
Aditya Bhatt
de5105f0ad
Make the default translations path relative to the dojo
...
config prefix.
2014-04-04 14:30:14 +02:00
Aditya Bhatt
aaeb451cac
Make it possible to specify an absolute translations
...
path. By default, it is the translations directory
in programs/editor.
2014-04-04 14:27:55 +02:00
Friedrich W. H. Kossebau
4f92225254
Publish the method "getDocumentAsByteArray" in "Editor" API
2014-04-04 11:58:46 +02:00
Aditya Bhatt
01b3bf5ff2
Fix return type annotation of mappedProperties
2014-04-04 11:39:00 +02:00
Aditya Bhatt
8eee65c2ec
Only save style properties which have actually
...
been modified by the user in the dialog, upon
pressing "OK".
2014-04-04 11:36:44 +02:00
Friedrich W. H. Kossebau
e86bbac51a
Fix editor's welcome.odt: no more non-ODF elements, proper embedded font decl.
2014-04-02 18:20:02 +02:00
Friedrich W. H. Kossebau
6b2e4176c3
Change welcome.odt to have rich text in annotation and embed&use a font
...
Font is "Sonsie One" from http://www.google.com/fonts ,
Licensed under SIL OPEN FONT LICENSE Version 1.1
http://scripts.sil.org/OFL
2014-04-02 16:00:14 +02:00
Aditya Bhatt
4e3b2bbc08
Use setStyle whenever selecting a new
...
style in the dialog.
This requires directly selecting a style
when cloning it, without waiting for onAdd.
2014-04-02 13:03:28 +02:00
Philip Peitsch
82d1d7cd85
Cope with non-cm image dimensions
...
Style-related operations are slowly being moved towards px as the
default unit to improve consistency. Standardising getContentSize to
work in px rather than cm provides better re-use of CSSUnits as well.
2014-03-27 22:57:44 +11:00
Friedrich W. H. Kossebau
0548895fea
Use replaceByFileContents.js in firefoxextension build instead of custom solution
2014-03-26 23:49:37 +01:00
Friedrich W. H. Kossebau
89e552f95f
Remove wordpressplugin (for more concentration on the one for ViewerJS)
2014-03-20 14:17:01 +01:00
Philip Peitsch
4a993a175c
Enable the hyperlink tooltip in the ODT viewer
2014-03-17 22:39:09 +11:00
lli
cba658f622
Add tooltip support for hyperlink
2014-03-17 22:39:09 +11:00
Philip Peitsch
f5fee49568
Remove unnecessary duplicate click handler in the viewer plugin
...
The viewer was quite recently modified to use a session controller to
take advantage of the improved selection rendering system. This makes
the manual creation of the hyperlink click manager unnecessary.
2014-03-17 22:39:08 +11:00
Aditya Bhatt
4f3141a1ee
Hide presentation button when there is no fullscreen api
2014-03-14 13:54:55 +01:00
Aditya Bhatt
770460ca0c
Add fullscreen and presentation support for IE11.
...
This amazing browser does camelCasing differently
for event names and also does not support the
isFullscreen or msIsFullscreen property on document.
Therefore this commit keeps track of the fullscreen
state with a custom flag, instead of asking the browser
for it.
2014-03-14 13:52:22 +01:00
Friedrich W. H. Kossebau
0ec11402ed
use core.Async.destroyAll for Editor.destroy
2014-03-13 22:22:53 +01:00
Friedrich W. H. Kossebau
83f3c3c14f
Let the Editor create its used div subtree itself
...
* use classes for styling of editor structures
* use namespaced, numbered element ids to allow more than one editor
2014-03-12 18:00:54 +01:00
Friedrich W. H. Kossebau
63371ad9dc
define size of paragraphstyle dialog internally, not by general css rule on .dijitDialogPaneContent
2014-03-10 18:09:59 +01:00