Bryan Housel
e606f4713f
Force utilDetect() to re-detect after setting the locale
...
(closes #3574 )
2016-11-10 15:14:27 -05:00
Bryan Housel
48621d3155
Add callback to ui() that will be called after loadLocale completes
...
(closes #3550 )
2016-11-07 17:03:33 -05:00
Bryan Housel
8fb5f3a5a1
Degunk data sources by named-importing single toplevel key
...
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454
This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging. This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00
Bryan Housel
ae65fb13e9
v2.0.0-beta.1
2016-10-25 01:20:51 -04:00
Bryan Housel
b5c95af3b7
Refactor from coreConnection to serviceOsm
...
(closes #3497 )
2016-10-19 09:25:34 -04:00
Bryan Housel
053074d076
Export live binding for services in iD.services, fix init/reset
...
(closes #3324 )
Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.
This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding. `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel
07fa5fcc34
Refactor Entity, Node, Relation, Tags, Way from core to osm
2016-10-11 22:41:24 -04:00
Bryan Housel
fbbd0709f5
Add radix parameter to parseInt calls
2016-10-11 15:24:01 -04:00
Bryan Housel
acd851b75a
Merge branch 'lane' of https://github.com/kepta/iD into kepta-lane
2016-10-11 10:51:03 -04:00
Bryan Housel
a90308bd75
Bump alpha version
2016-10-04 22:04:59 -04:00
Bryan Housel
0d0e54fdff
Fix more namespaces that were missed in the first pass
2016-10-04 21:15:30 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
04039db286
Merge pull request #3405 from edpop/patch-3
...
Fix way disappearing due to invalid "layer" tag
2016-10-01 10:26:41 -04:00
Bryan Housel
57d0bc13cf
Fix lint warnings, comment out crashy service reset code (re: #3324 )
2016-09-23 10:23:24 -04:00
Kushan Joshi
4c996b9b42
refactor none to null
2016-09-13 19:53:02 +05:30
Eduard Popov
9cbf6217d7
Fix way disappearing due to invalid "layer" tag
...
Hello.
Now layer() returns only a finite number, not NaN.
/* Chrome 53 */
2016-09-08 12:26:27 +10:00
Tom MacWright
20962074ba
Fix vertices areas midlines
2016-09-06 10:58:07 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00
Tom MacWright
27f9f75eae
Master-merge
2016-09-03 17:02:38 -04:00
Holger Jeromin
d1105ccc14
Removing parseInt call of a number
2016-09-02 09:35:21 +02:00
Holger Jeromin
aa1d03c823
Added Radix for parseInt call
2016-09-02 09:20:44 +02:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Kushan Joshi
cb670ccdc4
add test cases for bicycleway
2016-08-22 18:17:12 +05:30
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Kushan Joshi
c95df1c830
restructure lanesArray
2016-08-21 04:04:42 +05:30
Kushan Joshi
ce948f7563
modify test cases to adjust lanes != total lane count
2016-08-21 03:35:52 +05:30
Kushan Joshi
9f76267152
add psv, hov, hgv , bicycle lanes
2016-08-21 02:34:47 +05:30
Kushan Joshi
80d2000291
add test cases for maxspeed & maxpseed:lanes
2016-08-20 18:32:35 +05:30
Kushan Joshi
51c0670a57
add maxspeed
2016-08-19 03:22:34 +05:30
Kushan Joshi
9a1c68f2b5
interim
2016-08-16 19:01:54 +05:30
Kushan Joshi
94b40cdfd0
add turn lanes
2016-08-16 16:04:33 +05:30
Tom MacWright
8819d3d061
Remove continued iD references ( #3341 )
...
* Remove continued iD references
* make build.js safe enough to dodge json plugin bug
* Package as an iife to avoid var name issue
2016-08-10 20:06:45 -07:00
Tom MacWright
6341d4e4b5
one-shot build ( #3266 )
...
* One-shot development
* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs
* Unformat intro graph
2016-08-10 15:25:19 -07:00
Bryan Housel
d307221612
Space around operators
2016-07-31 23:57:39 -04:00
Bryan Housel
a85bad8c8c
Restructure lane data (cherry pick)
2016-07-31 23:53:07 -04:00
Bryan Housel
fbce168809
Draw rectangles (cherry pick)
2016-07-31 23:50:57 -04:00
Eduard Popov
ab190f085b
fix critical error on save changes ( #3264 )
2016-07-22 11:52:19 -04:00
Tom MacWright
af776501d3
Require locale, second pass ( #3259 )
...
* Require locale, second pass
* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Tom MacWright
3856b1ff2f
Inter-require iD instead of relying on the global ( #3256 )
2016-07-19 10:30:50 -04:00
Bryan Housel
7ca6d06254
Replace iD global with iD.Context() module ( #3254 )
2016-07-19 10:15:32 -04:00
Bryan Housel
0d8fb87f93
Treat entities on addr:interpolation lines as points, not vertices
...
(closes #3241 )
2016-07-14 13:00:36 -04:00
Bryan Housel
cb71e90384
Module for iD.Detect() ( #3243 )
...
* convert iD.Detect() iife to a module
* iD.Detect() should return loaded locale (except for 'en')
(The previous code was a hack to replace the detected locale with the loaded
locale. Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00
Kushan Joshi
39c82af158
Sort modules [eslint rule]
2016-07-06 12:12:08 +05:30
Tom MacWright
b15338b964
Use local jxon
2016-07-05 19:00:12 -04:00
Tom MacWright
8f68221b9b
Use osm-auth as a package.
2016-07-05 18:14:36 -04:00
Tom MacWright
a8295e9706
Merge master
2016-07-05 18:03:54 -04:00
Kushan Joshi
780960c711
interim
2016-07-06 00:34:35 +05:30
Bryan Housel
197b936d50
Upgrade rbush to 2.x
2016-07-01 23:12:51 -04:00
Bryan Housel
2e10c9e21e
Eliminate vendored rbush library
...
(re: #3180 )
2016-06-26 21:34:10 -04:00