Inye
55c055425b
Avoid using Object.keys(obj).length in hot code paths
...
Complexity of Object.keys(obj).length is O(n) where n is the number of
object keys. Unfortunately, JavaScript have no built-in means of
determining number of object keys in constant time. Therefore, we have
to count object keys using separate counter variable.
It may look ugly (and indeed it is), but it greatly improves smoothness
and overall feel of IITC.
2013-08-02 20:00:03 +04:00
Jon Atkins
942ed7cf77
bump version number due to internal data change - so it's clear if an old version is in use
2013-07-31 20:21:38 +01:00
Jon Atkins
f5d8587955
update code for the new internal name for enlightened - was ALIENS, now ENLIGHTENED
2013-07-31 20:15:14 +01:00
Philipp Schaefer
ab164cfde5
Merge branch 'intents' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft-intents
...
Conflicts:
mobile/res/values/strings.xml
2013-07-27 11:23:51 +02:00
Jon Atkins
16b796a112
add character length limit to chat text entry - as it's restricted at the server end to 256 characters
2013-07-22 16:37:57 +01:00
fkloft
2b7ac5605b
Improved permalink/portal link
...
Now shows a dialog from which you can:
* share the permalink using the standard android share feature
* copy the link to the clipboard
* open the intel map link with an installed browser
* show the map with an installed map application (that supports geo: URIs)
2013-07-21 00:51:21 +02:00
Jon Atkins
483d484dab
bump version number, so it's clear which builds have the new leaflet library in them
2013-07-19 23:39:41 +01:00
Jon Atkins
cb2ff0110a
bump version in preperation for the next release
2013-07-01 19:33:03 +01:00
Jon Atkins
dfba994f4b
comment out 'redeem code' input box
...
(instead of #371 - didn't want to actually delete it as it may return)
2013-06-25 00:03:43 +01:00
Jon Atkins
45abe9dfdc
Merge pull request #391 from hastarin/mobileStatusBar
...
Mobile status bar
2013-06-23 08:46:04 -07:00
hastarin
e8c73f9f46
Added status bar for mobile version.
2013-06-21 14:46:08 +10:00
vita10gy
f0a11dc362
Mod Highlighters
...
Issue #375 . Also type check in weakness highlighter
2013-06-18 22:02:38 -05:00
Jon Atkins
a988552e6e
improved idle handling
...
- times are now in seconds rather than minutes, like all other IITC time settings
- ignore mousemove events for no/small movements - more likely to go idle when it should
2013-06-15 19:12:53 +01:00
Jon Atkins
c776a07fd6
decrease standard refresh time to 30 seconds, so chat is more up to date
...
increase map tile cache to 2 minutes, so the increased refresh for chat does not impact map data tile requests
2013-06-15 17:08:59 +01:00
Jon Atkins
ec8d305bcb
bump version after 0.12.1 release, in preperation for the future
2013-06-12 18:12:39 +01:00
Jon Atkins
98f6f19731
clear document.body.onload at startup, to remove error from remains of stock intel initialisation
2013-06-08 20:29:19 +01:00
Jon Atkins
f9a8cd7ba6
bump version number in preperation for next build
2013-05-28 03:28:52 +01:00
Jon Atkins
ebe8f9e080
change neutral portal colour. grey was hard to see, orange stands out well on most map layers
...
fix #306
2013-05-28 03:24:29 +01:00
Jon Atkins
4f8164ffd7
add direction arrows after compas direction
2013-05-21 05:36:15 +01:00
Jon Atkins
84cb73d8e1
add @grant none to userscript headers - as recommended by greasemonkey
2013-05-20 03:12:19 +01:00
Jon Atkins
36dad3d58f
increase refresh time for game score - it's not a time critical thing
2013-05-19 03:35:54 +01:00
Xelio
b5381603b8
Bug fix: Resonators didn't redraw sometimes after level of portal hide and reshow
...
And some code simplification.
2013-05-18 17:27:46 +08:00
Jon Atkins
65783ac0b1
Merge branch 'dialog' of https://github.com/integ3r/ingress-intel-total-conversion into integ3r-dialog
2013-05-10 02:33:21 +01:00
Jon Atkins
41510dffcd
bump version in preperation for next release
2013-05-08 22:47:30 +01:00
Jon Atkins
f9539ac7dc
increase refresh delay after move/zoom events, to further reduce redundant refresh cycles
2013-05-08 22:20:44 +01:00
Jon Atkins
7cbf9d77cd
change neutral portal colour to match the grey of the stock map - never was a fan of the yellow
2013-05-08 21:59:33 +01:00
Morgan Jones
9b56ac0982
* Revert userscript headers from local build
2013-05-07 16:37:20 -06:00
Morgan Jones
1f3dfacafc
* Branding
2013-05-06 17:11:36 -06:00
Morgan Jones
84f5499c18
* Window manager stuff. Multiple windows can be opened now. Still resolving bugs.
2013-05-06 17:09:39 -06:00
Morgan Jones
93c039e295
* Work toward multiple dialog boxes
2013-05-06 13:13:15 -06:00
Jon Atkins
308459178d
improve refresh handling
...
- increase timeout on zoom/move end to 0.8 seconds
- prevent repeated refreshes faster than every 5 seconds
- delay initial refresh on load - should prevent immediate refresh after page load
fix #200
2013-05-01 01:57:02 +01:00
Jon Atkins
a1b76f78bb
Merge pull request #214 from Xelio/patch-layer-control-status
...
Add function to store layer control status (overlay only) in cookie for using in next session.
2013-04-30 11:29:07 -07:00
Jon Atkins
46cc5a6adc
bump version number in preperation of next release (and partly to confirm automated build system is working)
2013-04-30 04:47:36 +01:00
Xelio
2556a1ab8d
Add function to store layer control status (overlay only) in cookie for using in next session.
2013-04-28 23:58:53 +08:00
Jon Atkins
494d388329
bump version number in preperation for next release
2013-04-24 13:55:16 +01:00
Jon Atkins
395c27a9d2
bump version number for fixed coordinate calculations
2013-04-24 13:32:15 +01:00
Jon Atkins
8f45a2a884
bump version number to 0.11.0
2013-04-24 02:16:29 +01:00
vita10gy
594e55cdc6
Merge branch 'master' into location
2013-04-15 00:14:56 -05:00
vita10gy
2719d3bc98
extras
2013-04-15 00:13:57 -05:00
Jon Atkins
2f5b117998
Merge pull request #154 from vita10gy/location
...
Add current location button to geo search
2013-04-14 07:14:11 -07:00
Jon Atkins
f2dfeb29bb
cleanups to the toolbox
...
- remove - use style sheets to prevent wrapping within links
- make more consistant with the cleanups made to the .linkdetails links
for #135
2013-04-13 21:45:30 +01:00
vita10gy
4f26a6e68d
Add current location button to geo search
2013-04-13 00:33:46 -05:00
Jon Atkins
5f4e0192a0
added MapQuest OSM tiles - these native tiles work much more smoothly than the Google tile layers, so are best for a default
2013-04-13 02:31:47 +01:00
Jon Atkins
04b5e3e52b
minor cleanups to the #toolbox
...
- ensure each added item in plugins has a space before
- use in links so they're not split over lines
- make case consistant between core IITC and plugins
2013-04-12 14:55:08 +01:00
Hobadee
dc9e85be07
Update main.js
2013-04-11 13:33:01 -07:00
Hobadee
b1fa8a830a
Update main.js
2013-04-11 13:17:39 -07:00
Jon Atkins
baaaf3e3f1
remove unnecessary absolute URLs. site-relative are used where possible (e.g. permalinks, rpc calls) - and a couple of protocol-relative one for automatic http/https matching
2013-04-08 05:09:01 +01:00
Jon Atkins
1d55fc5d31
bump version number, for further chat fixes
2013-04-05 00:11:18 +01:00
Jon Atkins
3a37667a7c
chat - oldest/newest timestamp handling rewrite
...
this fixes an issue that, in theory, could have occured with the public chat fetching and over 200 sequential skipped ([secure]) messages. the recent change to skip SYSTEM_NARROWCAST for faction chat was much more likely to trigger the same issue
also
- lighten the red colour used in public chat - was almost impossible to read before
- set the faction chat message count to 100 (it was 50, then bumpped to 200 briefly to work around chat issues)
2013-04-05 00:07:54 +01:00
Jon Atkins
e5e4a00589
faction chat data now includes messages about our own destroyed resonators, etc. these are filtered out for display
...
therefore it makes sense to request more data in one go, as is done for the public chat
2013-04-04 23:04:00 +01:00