Commit graph

149 commits

Author SHA1 Message Date
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
Henry Castro
9287074b75 Added cursor visible and invalidate cursor 2015-05-26 20:52:35 -04:00
Henry Castro
8d094fbf3f Added keypress function to send keys 2015-05-26 20:37:11 -04:00
Mihai Varga
bd642c3d37 Make the view/edit text in the control unselectable 2015-05-26 20:56:27 +03:00
Mihai Varga
22232e070f Dragging will be handled in the js code 2015-05-26 20:56:27 +03:00
Mihai Varga
77b8e0d126 Edit/View switching handler 2015-05-26 20:56:27 +03:00
Mihai Varga
7b79f0edd5 Control for switching between viewing and editing mode 2015-05-26 20:56:27 +03:00
Jan Holesovsky
bc02be9812 Don't cycle the parts, stop at 0 / max. 2015-05-25 18:43:18 +02:00
Mihai Varga
29d4296d12 Disable prev/next part buttons for the first/last part 2015-05-25 17:52:36 +03:00
Mihai Varga
57cb4fe243 Prune tiles after switching parts 2015-05-25 17:36:18 +03:00
Mihai Varga
bcdf048d6d Merge adjacent selection rectangles into a single polygon
+ the document is scrolled to the average center of the rectangles
if that is out of the viewing area
2015-05-25 16:54:29 +03:00
Mihai Varga
139bae53c1 Fixed the incorrect tile rendering after zooming problem
Leaflet originally discarded tiles from different zoom levels
and I initially thought setting the opacity to 0 will be enough
and this way tiles will remain in cache.
But this does not work so tiles are now removed from the dom tree
and added in a cache to be later reused
2015-05-22 14:35:06 +03:00
Tor Lillqvist
95b25f2de7 Add a spec file for leaflet to package it
Ugly hack.
2015-05-20 20:46:12 +03:00
Mihai Varga
a59dd5d278 Forgot to remove debugging output 2015-05-20 18:51:15 +03:00
Mihai Varga
19e94da931 Handle 'searchnotfound' command 2015-05-20 16:54:40 +03:00
Mihai Varga
531cccc026 Mouse handlers
It works for: click, dblclick and dragging
2015-05-20 16:54:40 +03:00
Tor Lillqvist
12e0a880f6 Revert "We want 'make dist' to actually create a *source* tarball"
Nah. Trying to package this JS crack in RPM so that it is buildable from
source on openSUSE does not seem easy. Let's just package the deliverables for
now. Those who want to look at sources can use git.

This reverts commit 434550f352.
2015-05-20 16:00:47 +03:00
Tor Lillqvist
434550f352 We want 'make dist' to actually create a *source* tarball
Use 'git archive' of the loleaflet subdirectory.
2015-05-20 14:59:18 +03:00
Tor Lillqvist
873e7c5102 Add a Makefile to create a tarball
Not sure whether this makes sense, but for now...
2015-05-19 14:29:55 +03:00
Mihai Varga
c2f0b5b17d Pressing enter always searcheas forward 2015-05-18 18:03:26 +03:00
Mihai Varga
51bbdd91ed Prevent document from jumping when zooming 2015-05-18 17:40:55 +03:00
Mihai Varga
a4391c1017 Fix for stack size limit exceded 2015-05-18 16:10:24 +03:00
Mihai Varga
428f6dbe6f Match the background color with what LOkit provides 2015-05-18 15:34:21 +03:00
Mihai Varga
40552d424c Clear selections when the search string is modified 2015-05-18 10:37:20 +03:00
Mihai Varga
249d8fdaf6 Finished the parts control 2015-05-18 10:30:51 +03:00
Mihai Varga
e55d216708 No search result -> the search bar flashes red
This still needs work because the search bar will flash
if the user clicks on the map and doesn't select anything.
This will need a proper 'no-result-found' message from the server
2015-05-18 09:15:23 +03:00
Mihai Varga
b482dabe37 Alert when there is a connection error 2015-05-15 18:35:05 +03:00
Mihai Varga
cb33fd5035 Added selection border and set the selection color to: #43ACE8 2015-05-15 17:00:43 +03:00
Mihai Varga
94396cf87b Searh next/prev searches the latest enterd value 2015-05-15 16:19:59 +03:00
Mihai Varga
40172d3dd5 'Part' command is now parsed and interpreted 2015-05-15 15:14:02 +03:00
Mihai Varga
ed5491921a Update scrollbars on window resize 2015-05-15 14:37:14 +03:00
Mihai Varga
fe40e3d592 Less space between the toolbar and the document 2015-05-15 13:07:05 +03:00
Mihai Varga
a3cc8784fb Text mouse cursor (editing cursor) 2015-05-15 13:06:43 +03:00
Mihai Varga
ab86440cb2 Prevent img drawing on mozilla 2015-05-15 12:46:01 +03:00
Mihai Varga
c057a42063 Working text selection by mouse dragging 2015-05-15 12:12:11 +03:00
Mihai Varga
c2c379ac69 Removed unnecessary variables 2015-05-15 12:12:11 +03:00
Mihai Varga
906e9e28fc Search scrolls to result if it's out of the viewing area 2015-05-13 12:39:57 +03:00
Mihai Varga
5e4225c860 In fact, it is better not to prefix the url 2015-05-13 12:05:13 +03:00
Mihai Varga
04d2b531a1 Check if file:// is added in the url 2015-05-13 12:01:10 +03:00
Mihai Varga
0a7e20e851 Encode spaces in the URL 2015-05-13 11:54:12 +03:00
Mihai Varga
124de292d1 Updated the text selection handler
And also removed an unnecessary method
2015-05-13 11:17:34 +03:00
Mihai Varga
e4b1624d2b Updated the search bar to send the correct command to the server 2015-05-13 11:17:34 +03:00
Mihai Varga
bc23033537 Fixed tiwps->latlng and backwards conversion 2015-05-13 11:17:33 +03:00
Mihai Varga
d78642806a Removed URL tiles specific methods 2015-05-11 17:55:38 +03:00