Henry Castro
d788fa92e9
loolwsd: let libreoffice handle http protocol
2015-07-03 10:04:24 -04:00
Mihai Varga
6b52fe1436
Set opacity to 1 when replacing a tile
2015-07-03 16:53:20 +03:00
Tor Lillqvist
f4da368a52
Add a FIXME, found by looking, no time to investigate
2015-07-02 16:26:09 +03:00
Mihai Varga
1465f96938
Updated control description
2015-07-02 10:26:29 +03:00
Mihai Varga
d24d8bdc08
Switch viewMode->editMode by clicking in the document
2015-07-01 17:44:03 +03:00
Mihai Varga
a28c688a54
Fix some keys on chrome + preventDefault for tab
2015-07-01 12:27:21 +03:00
Mihai Varga
f312736e18
Skip fadeAnimation rather than disabling it
...
Disabling it might cancel currently fading in tiles
e.g. when scrolling we want fadeAnimation but if a tile invalidation
occurs that would completly disble fadeAnimation and new tiles requested
by scrolling will not load
2015-07-01 11:13:14 +03:00
Mihai Varga
d0586f9267
Maintain an invalidation count for each tile
...
Count how many times a tile has been invalidated.
For each inalidation increase the counter and for each arrival
of the new tile decrease it.
Only cache tiles with the invalidation count equal to 0 because
when zooming, we might cancel previous requests and the tiles in the
old zoom layer are no longer valid
2015-07-01 10:47:05 +03:00
Mihai Varga
d45a967e8d
Disable animFade when zooming + cache tiles from other zoom levels
2015-06-30 20:23:07 +03:00
Mihai Varga
fca2f030fe
Just mention that this will be the future toolbar
2015-06-30 15:05:32 +03:00
Mihai Varga
842c50d163
Update cursor on zoomend
2015-06-30 12:56:47 +03:00
Mihai Varga
d0f420bc81
Added a set of keys that need to be handled on the keydown event
2015-06-30 11:34:24 +03:00
Mihai Varga
1714df5f9e
Scroll to cursor position if it's out of the viewing area
2015-06-29 19:02:58 +03:00
Mihai Varga
1acd0ab78d
Ignore scroll event when zooming
...
That event is fired because of container resize.
This time I've added a method that resets the ignoreScroll flag
after 200ms if it's not reseted until then.
2015-06-29 18:42:20 +03:00
Mihai Varga
5ccda335ef
Start in edit mode by specifying it in the URL
...
http://.../host=host_address&file_path=file_path&edit=true
2015-06-29 16:43:47 +03:00
Mihai Varga
cfa8912063
Start loleaflet in viewing mode
2015-06-29 15:54:25 +03:00
Mihai Varga
96aa6e2048
Restore focus to textArea after dragging handle
2015-06-29 15:17:43 +03:00
Mihai Varga
2e5e63724e
Restored tile cache and removed invalid tiles from it
2015-06-29 12:45:14 +03:00
Mihai Varga
0c1a0b1b12
Fix firefox backspace after handling it for chrome
2015-06-29 12:14:26 +03:00
Mihai Varga
bed964c00d
Fix backspace input on chrome
2015-06-29 11:37:02 +03:00
Mihai Varga
a32278cb2b
Don't send 2 clicks before sending dblclick
...
Mouse events are now put in a queue. If within 250ms from the first
click arrives another, it's a double click, the previos and the current
clicks are canceled and a dblclick command is sent instead.
2015-06-29 10:54:32 +03:00
Henry Castro
ec2de8f46e
loleaflet: Disable mouse when dragging text.
2015-06-29 00:27:00 -04:00
Henry Castro
fa3b208b7f
loleaflet: Selecting table does not reset handler.
2015-06-29 00:18:04 -04:00
Henry Castro
d25ed90b1e
loleaflet: Disable mouse when dragging image.
2015-06-27 19:38:31 -04:00
Jan Holesovsky
551672c08d
Further tweaks to the cursor position.
2015-06-27 00:07:35 +02:00
Henry Castro
acfad75fc9
loleaflet: Fix cursor visible when changing part.
2015-06-26 15:38:58 -04:00
Mihai Varga
fe4ff86335
Temporarily disable client cache
...
Until we invalidate tiles from all zoom levels
2015-06-26 19:29:02 +03:00
Mihai Varga
9a3e71bad8
Keyboard input is handled in a hidden textarea
...
We now have a hidden text area where the user's input actually goes,
but it also fires events that are caught by leaflet and are sent
to the server
2015-06-26 19:20:21 +03:00
Mihai Varga
bee60c69e8
Move the cursor to the left by half its size
2015-06-26 14:34:18 +03:00
Mihai Varga
e901c6fe34
Set marker not clickable during mouse selection
2015-06-26 12:43:57 +03:00
Mihai Varga
56418272ca
Fixed keyCode on chrome
2015-06-26 12:04:04 +03:00
Mihai Varga
3dffe1ed62
This should handle doc resize caused by page deletion
2015-06-26 10:11:57 +03:00
Henry Castro
38133c7886
loleaflet: Swap selection handler.
...
In order to get continuous selection, the handlers are swapped if the
distance from cursor to handlers cross over.
2015-06-25 23:29:58 -04:00
Henry Castro
392a4bbb85
loleaflet: Reset drag flag when no selection.
2015-06-25 20:36:53 -04:00
Henry Castro
48d7af6378
loleaflet: Avoid mouse click on blinking cursor.
2015-06-25 16:37:57 -04:00
Jan Holesovsky
be6b89d1aa
More tweaks wrt. cursor blinking.
2015-06-25 18:31:33 +02:00
Mihai Varga
32d6f4fc5f
Detect document size changes
2015-06-25 19:24:57 +03:00
Henry Castro
fa89bbd55b
loleaflet: Set cursor blinking linear
2015-06-25 12:15:38 -04:00
Jan Holesovsky
fbcbc462d6
One more place where we need to adapt to the new payload format.
2015-06-25 17:35:33 +02:00
Jan Holesovsky
4071022305
The payload format has changed, swap the parameters accondingly.
2015-06-25 17:03:18 +02:00
Mihai Varga
7858402ea4
Removed hungarian notation
2015-06-25 16:15:04 +03:00
Mihai Varga
f5c8ec852d
Fixed eslint errors in Control.EditView.js
2015-06-25 15:50:53 +03:00
Mihai Varga
a72d66f08b
Fixed eslint errors in Control.Parts.js
2015-06-25 15:48:51 +03:00
Mihai Varga
fa3a5ab0c1
Fixed eslint errors in Control.Search
2015-06-25 15:36:02 +03:00
Mihai Varga
7be20044be
Fixed eslint errors in Control.StatusIndicator.js
2015-06-25 15:25:46 +03:00
Mihai Varga
d85b853e33
Fixed eslint errors in Cursor.js
2015-06-25 15:24:41 +03:00
Mihai Varga
a04a0c4a9f
Fixed eslint errors in GridLayer.js
2015-06-25 15:23:03 +03:00
Mihai Varga
64f6e5647d
Fixed eslint errors in TileLayer.js
2015-06-25 15:16:14 +03:00
Mihai Varga
dfbc34af2f
Fix eslint errors in Map.js
2015-06-25 14:19:06 +03:00
Mihai Varga
2f6dd8a3e7
Ignore src/scrollbar when running jake lint
2015-06-25 13:49:51 +03:00