3833 Commits

Author SHA1 Message Date
Jon Atkins
b0006ae5ad zaprange plugin: has had broken team support for a while - fixed
https://plus.google.com/104096045622750660984/posts/DMT25KG6ZFo
2015-02-23 19:16:46 +00:00
fkloft
93f0b8b572 better tooltip handling
- search: remove tooltip from DOM immediately instead of setting up a new instance (which would have other options)
- sidebar toggle: remove tooltip upon click, tooltip might persist otherwise
- close other tooltips before opening a new one
2015-02-23 13:18:22 +01:00
fkloft
7987a459eb [regions] instead of trying all cells, calculate x/y from distance according to the Hilbert curve
also, refactoring to reduce duplicate code for level 4/6 cells
2015-02-23 13:13:03 +01:00
fkloft
a98809ccd5 [regions] extended search
- support search for multiple cells separated by "," or ";"
- allow omitting the first two components of the cell name
- search for 4x4 cluster by omitting the last component
- icon for results
2015-02-22 20:07:48 +01:00
Jon Atkins
46275956cf data cache:
- reduce the expiry time (the niantic servers are no longer as unreliable as they were, so keeping old data is less useful than it once was)
- add upper size limit on cache, as well as item count limit
- add debug method to get cache size as a string
2015-02-22 17:00:18 +00:00
Jon Atkins
6ad6ee56cf remove entities by render bounds - will improve performance, particularly in the case of repeated panning/zooming without letting the download complete 2015-02-22 16:44:37 +00:00
Jon Atkins
76ca083ad7 region search: don't force match to start/end of string 2015-02-22 00:41:34 +00:00
Jon Atkins
81e7251af9 regions plugin: support the new search api, for easy cell searching 2015-02-22 00:32:26 +00:00
Jon Atkins
600fe1f91c experimental: JSON encode the data stored in the cache
in theory, keeping the javascript objects directly in the cache is a good thing. any instances of, for example, portals on the map, will share the data objects with those in the cache, limiting the overheads for cached items in use
however, in practice
- relatively large and complex data structures for cached data. and as some items expired from the cache may have data in live portals, etc, complex for garbage collection to clean up. strings, on the other hand - one single object to clean, zero references from anything else
- the cache is used as an alternative to network requests. therefore the extra time to encode/parse the strings is no real issue
- lower memory overheads? it's liekly a single string is more efficient on RAM use, even taking into account that some objects will be both encoded in the string, and duplicated in live entities on the map

time will tell if this is better or worse than direct object storage...
2015-02-21 23:32:57 +00:00
Jon Atkins
f5b565b284 fix exception in bad http request on portal details 2015-02-21 23:32:00 +00:00
fkloft
597d19acfc search: pan to portal if position is off screen 2015-02-21 22:38:37 +01:00
fkloft
d53c31c2dd [show-linked-portals] different border styles for incoming and outgoign links 2015-02-21 22:38:37 +01:00
fkloft
f6273d5644 [show-linked-portals] highlight portal and link 2015-02-21 22:38:37 +01:00
Jon Atkins
badcdbdb18 add core functions to create a generic marker icon, of a specified colour.
use it for the new portal distance current location marker, and search result marker
2015-02-21 17:08:04 +00:00
fkloft
e03bbf50f1 [user-location] update portal distance when GPS fix is available 2015-02-21 14:22:29 +01:00
fkloft
d55d363112 [distance-to-portal] add vendor-prefixes to transformations and implement updating the distance without re-rendering all portal details
Firefox supports 'transform' without prefix, but Android still requires '-webkit-'. To be sure, include properties with '-moz-', '-webkit-' and without prefix.
2015-02-21 14:19:33 +01:00
fkloft
9c534c8898 [distance-to-portal] also show bearing 2015-02-21 14:02:01 +01:00
fkloft
227d1b18ac [draw-tools] don't open dialog more than once 2015-02-21 14:01:09 +01:00
Jon Atkins
9397171030 plugin: distance-to-portal
new plugin: manually set your location, then the distance to the selected portal is shown
intended to aid key management when at home (select a portal, find key in inventory by distance rather than name)
2015-02-21 05:21:59 +00:00
Jon Atkins
9efc2fb508 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2015-02-16 19:32:02 +00:00
Jon Atkins
b22842a902 include the index 10 portal data value as unknown_10 until we know what it's used for 2015-02-16 19:30:58 +00:00
Jon Atkins
3aed769081 debug plugin: add totle to clarify which data is map data, and which is portal detail data 2015-02-16 19:30:00 +00:00
fkloft
4808f4469c [search] Better feedback when nothing can be found 2015-02-16 01:28:55 +01:00
fkloft
4d6a7df596 [iitcm] improved search 2015-02-16 01:15:52 +01:00
fkloft
2e1a5fd1ae [show-linked-portals] show preview on hover 2015-02-15 19:43:18 +01:00
fkloft
c58438e4c4 [show-linked-portals] mostly rewritten 2015-02-15 19:29:35 +01:00
fkloft
bcc3b52e5c [show-linked-portals] cleanup
(formatting, remove useless function, remove handler replacement that doesn't exist any more)
2015-02-15 12:21:05 +01:00
fkloft
22b58b790d [player-tracker] use markup for seach results and prevent chat from handling events 2015-02-14 14:51:47 +01:00
fkloft
9e72abb7cb [bookmarks-by-zaso] escape HTML in search results 2015-02-14 14:51:47 +01:00
fkloft
f9db2c3861 [search] allow title and description to be HTML, DOM elements or jQuery objects 2015-02-14 14:51:47 +01:00
fkloft
c450aa63f8 [chat] stop further event processing once the event has been handled 2015-02-14 14:51:43 +01:00
fkloft
6533dd5d0d [search] show outline and icon from nominatim 2015-02-14 14:51:36 +01:00
Jon Atkins
455e2c0535 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2015-02-12 19:22:56 +00:00
Jon Atkins
50ba416c28 remove calc style - doesn't work in some browsers, and no real benefit
(might explain occasional glitches in this area in chrome too)
alternative to #936
2015-02-12 19:21:28 +00:00
fkloft
b15f521bd0 [bookmarks-by-zaso] make bookmarks searchable 2015-02-12 17:55:29 +01:00
fkloft
3925310260 Highlight focused/hovered search result 2015-02-12 17:54:45 +01:00
fkloft
a70bcc1df1 search: add details for portals 2015-02-12 17:11:51 +01:00
fkloft
587242ff5e [iitcm] use new search 2015-02-12 16:47:18 +01:00
fkloft
754dfc6192 [player-tracker] open popup when clicking on a player 2015-02-12 16:38:10 +01:00
fkloft
4dd877fdb8 [player-tracker] Use new search 2015-02-12 16:30:57 +01:00
fkloft
5c35cda7b4 uniform strings 2015-02-12 16:06:48 +01:00
fkloft
46a1684549 Search for portals: select portal on click 2015-02-12 16:06:48 +01:00
fkloft
6b027d15fe Small fix in search logic 2015-02-12 16:06:48 +01:00
fkloft
6ae79ca50b set max-height for search results 2015-02-12 16:06:48 +01:00
fkloft
5e22ea5b72 fix speech-search 2015-02-12 16:06:48 +01:00
fkloft
d98737b3ba add icon to search results 2015-02-12 16:06:48 +01:00
fkloft
4c7b8e0e70 new search 2015-02-12 16:06:48 +01:00
fkloft
7fd88dd1e3 Revert "search: draw a marker highlighting search results (rectangle for region, 10px circle for point)"
This reverts commit 39e4608c4e1ce8f221af2c70da3d6396cc370262.
2015-02-12 16:06:20 +01:00
Jon Atkins
1ac5158dcf remove raw from portal details - not something best to encourage access to
comments concerning new data[10] index in map data
2015-02-11 23:05:08 +00:00
Jon Atkins
39e4608c4e search: draw a marker highlighting search results (rectangle for region, 10px circle for point) 2015-02-11 23:04:08 +00:00