Commit graph

192 commits

Author SHA1 Message Date
Mihai Varga
d977411f0c Request selection content after selection and a time delta 2015-06-25 13:09:38 +03:00
Mihai Varga
bc65f57a54 tile invalidation: don't disable animFrame
This affects zooming. Instead just skip the method that calls
the animation frame
2015-06-25 12:35:31 +03:00
Mihai Varga
4b996b644d Copy event handler
I implemented the solution found here
http://stackoverflow.com/questions/17527870/how-does-trello-access-the-users-clipboard#answer-17528590
which basically creates an invisible text area, sets focus to it,
selects the text, enables firing the oncopy then focus is restored to
the document.
2015-06-24 13:32:56 +03:00
Mihai Varga
1e5269a467 Clicking on a selection should deselect it 2015-06-23 14:56:03 +03:00
Mihai Varga
e8d5cbbb1e Replaced 'dragging' with 'isDragged' because 'dragging' is already used 2015-06-23 14:23:35 +03:00
Mihai Varga
b5cbd467d9 Cancel tile request for tiles out of the visible area
This provides a better scrolling experience
When a large enough number of tiles have been requested we know that
they will cover the whole viewing area so we're able to cancel the
previous (not yet fulfilled) requests
2015-06-23 13:44:35 +03:00
Mihai Varga
d2124f3078 Fixed invalid tiles bounds 2015-06-22 17:48:05 +03:00
Mihai Varga
c5e950bb41 Reverted ecfe65b37f 2015-06-22 17:45:43 +03:00
Mihai Varga
9c73ddbd08 Reverted 73974f7397 2015-06-22 17:45:10 +03:00
Mihai Varga
37b79bb643 loleaflet: update selection when dragging the selection handle 2015-06-22 11:37:39 +03:00
Henry Castro
c157e732f9 loleaflet: Add keydown event. 2015-06-19 09:50:24 -04:00
Henry Castro
dbc369c445 loleaflet: Use keymap to convert UNO key codes. 2015-06-19 09:32:27 -04:00
Henry Castro
bf17fde478 loleaflet: grow / shrink the text selection. 2015-06-18 21:10:38 -04:00
Henry Castro
f9b012ae45 loleaflet: grow / shrink the graphic selection. 2015-06-17 20:59:33 -04:00
Henry Castro
ac58e56de2 loleaflet: Disable Map keys when editing documents.
When the document is in editing mode, the default map
keys for zooming is disabled.
2015-06-15 22:12:30 -04:00
Henry Castro
d170ee598e loleaflet: Add graphics selection. 2015-06-15 20:44:11 -04:00
Henry Castro
cceb663a64 loleaflet: keyup != keypress different keycodes
keypress and keyup are different keycodes values
and they differ some browser, keypress is the right
charcode and keycode values.
2015-06-14 19:16:04 -04:00
Henry Castro
21035bf438 loleaflet: Mimic gtktiledviewer editing
gtktiledviewer is the reference code to enable
editing for calc, writer and impress.
2015-06-11 19:48:08 -04:00
Henry Castro
ba6663d445 loleaflet: Added onkeyup event. 2015-06-10 21:59:09 -04:00
Jan Holesovsky
73974f7397 Fix JavaScript part of the tiles invalidation.
Now it is possible to type in in some cases, but for the full functionality,
tuning together with the server is necessary.
2015-06-10 18:58:34 +02:00
Jan Holesovsky
ecfe65b37f Don't actually create the tiles until after we get them from the server.
When a tile is requested, don't create anything yet, just send the request.
Create the tile after we actually get it from the server.

This is in preparation for the cancellation of the tiles requests.
2015-06-10 18:13:34 +02:00
Henry Castro
007ebda88c Fixed cursor position. 2015-06-06 18:17:37 -04:00
Jan Holesovsky
6df02b89d2 Enable editing in master again. 2015-06-05 16:03:06 +02:00
Tor Lillqvist
391d17831d Bump minor number in this master branch 2015-06-05 16:28:49 +03:00
Tor Lillqvist
28d28dd67c Bump version after tarball 2015-06-04 14:20:11 +03:00
Tor Lillqvist
41c5359d82 Bump version for tarball 2015-06-04 14:19:48 +03:00
Henry Castro
43425c406d The keycode RETURN it is converted to click.
The keypress and keycode = 13 are converted to click event,
so Calc Application does not receive keypress RETURN, It is needed
to commit changes into cell.
2015-06-02 23:49:51 -04:00
Henry Castro
87ea674177 Convert Javascript keycode to UNO keycode 2015-06-02 23:43:18 -04:00
Henry Castro
78764623d8 Added blinking cursor 2015-06-02 23:38:00 -04:00
Henry Castro
afa848cf79 Disable fade animation, it does not work Calc.
When tile invalidation the fade animation set opacity to 0
so the tile is gray out.
2015-06-02 23:13:01 -04:00
Jan Holesovsky
def78817b0 TiledLayer should not clear the search bar's not found indication. 2015-05-31 21:47:15 +02:00
Jan Holesovsky
4342c5c9fb Don't switch parts when we are in the correct one already. 2015-05-31 14:02:29 +02:00
Jan Holesovsky
0f9e24f77d Disable invalidation for the moment, breaks slides. 2015-05-31 00:38:22 +02:00
Jan Holesovsky
6b743655cc Small addition. 2015-05-31 00:37:20 +02:00
Jan Holesovsky
29ba14178e Kill _abortLoading, causes loss of tiles in various scenarios.
loleaflet only triggers the loading of the tile, and the tile comes sooner or
later whatever we do, so the idea of aborting the loading does not work until
we have server support for that anyway - let's just kill that for now.
2015-05-30 23:34:32 +02:00
Jan Holesovsky
128bfcec10 Never ignore scroll.
After 'make clear-cache', sometimes causes losing scroll events (the user
moves the scrollbar, but the document does not move).
2015-05-30 04:12:03 +02:00
Mihai Varga
865f23d4e7 Use SearchItem.SearchStartPoint 2015-05-29 14:18:39 +03:00
Tor Lillqvist
7721409594 Post-release bump to 1.0.9 2015-05-29 09:41:25 +03:00
Tor Lillqvist
96e0b433a7 Bump version to 1.0.8 for tarball 2015-05-29 09:40:54 +03:00
Mihai Varga
2fa440c18f Status indicator control 2015-05-28 18:43:29 +03:00
Mihai Varga
1d34f8f0a8 Set pointer cursor in viewmode 2015-05-28 17:43:53 +03:00
Mihai Varga
d8dd709377 setpart command handler 2015-05-28 17:22:45 +03:00
Henry Castro
e974f7c98c Fixed EMPTY invalidattiles 2015-05-28 09:36:52 -04:00
Tor Lillqvist
6968bd1c3c This should obviously be noarch 2015-05-28 11:19:20 +03:00
Mihai Varga
f999c337b9 Better differentiate commands, status vs statusindicator 2015-05-28 11:02:12 +03:00
Miklos Vajna
36c94140ef loleaflet: document ~/.npmrc prefix setting 2015-05-27 16:09:04 +02:00
Tor Lillqvist
beb321d142 Revert attempts at sanity 2015-05-27 16:33:49 +03:00
Tor Lillqvist
6b91320f69 Intermediate non-working attempt at sanity 2015-05-27 16:29:57 +03:00
Tor Lillqvist
85e98d5231 Don't put superfluous stuff in the tarball, and bump version to 1.0.2 2015-05-27 14:58:41 +03:00
Henry Castro
6742cd8046 Capture invalidatetiles when keys are pressed
There is a problem with fade and opacity. they
are set to 0.
2015-05-26 23:51:52 -04:00