Commit Graph

214 Commits

Author SHA1 Message Date
John Firebaugh
d238e4eaeb Convert Tail to a behavior
This avoids an extra mousemove listener in base modes.
2013-05-14 17:51:24 -07:00
John Firebaugh
9502729f5e Optimize presets.match
Previous implementation was linear in the number of
presets. This should be near constant time.
2013-05-13 21:07:26 -07:00
John Firebaugh
fd1573fa08 Abandon iD.svg.MemberClasses
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
0ae54abdcc Extract iD.actions.DiscardTags 2013-05-13 09:26:41 -07:00
John Firebaugh
d247962324 Handle incomplete relations in simpleMultipolygonOuterMember 2013-05-01 10:28:40 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
John Firebaugh
dca9bec450 Move Connection to core 2013-04-17 17:35:34 -07:00
John Firebaugh
687b7516d6 Split locales into individual files
This avoids a fragile regexp for the en special case.
2013-04-06 18:26:37 -07:00
John Firebaugh
872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
John Firebaugh
e950042922 Fix cursors, add tests 2013-04-05 11:57:13 -07:00
John Firebaugh
f3caa77057 Manage rest of test libs with npm 2013-04-04 10:48:13 -07:00
John Firebaugh
d72ede2e2d Update to mocha 1.9, manage with npm 2013-04-04 10:36:11 -07:00
John Firebaugh
ccbb883d8f Fix test include 2013-04-02 15:12:09 -07:00
Tom MacWright
594c8fa00a Remove sha1 2013-03-28 17:10:26 -04:00
Tom MacWright
0e104431fa Fix references to iD.OAuth 2013-03-28 17:04:35 -04:00
John Firebaugh
160f3e7e4c Extract preset icon component (fixes #1176) 2013-03-27 18:41:11 -07:00
Tom MacWright
5f9a4eeaba Merge pull request #1125 from porjo/orthotri
Orthogonalize three-node ways (addresses #1077)
2013-03-25 14:43:19 -07:00
Tom MacWright
3fbc8905cb Merge pull request #1132 from systemed/bing
Bing
2013-03-25 12:11:05 -07:00
Ian B
04060f0abb Add orthogonalize test spec 2013-03-23 22:10:23 +01:00
John Firebaugh
9c9cce5c50 Inline tag reference in tag list (#256) 2013-03-22 12:47:54 -07:00
John Firebaugh
235cb52d26 Bing API supports JSONP 2013-03-21 11:39:33 -07:00
Tom MacWright
0d2295817d Fix tests 2013-03-20 16:03:07 -04:00
John Firebaugh
55a9d74553 Fix up Taglist test 2013-03-17 19:44:32 -07:00
Ansis Brammanis
8ef4730596 switch to transifex for managing translations
english source files are stored at data/en.yaml
`make translate` pulls in updated translations
2013-03-13 19:10:07 -04:00
John Firebaugh
c1aa8e0270 form/forms -> field/fields 2013-03-13 11:34:21 -07:00
Ansis Brammanis
e295e70db7 add swedish translation to index.html 2013-03-13 12:15:21 -04:00
John Firebaugh
7133d316cd Fix specs 2013-03-12 13:00:32 -07:00
Ansis Brammanis
1d720b39af add portuguese translation 2013-03-12 15:48:15 -04:00
John Firebaugh
113ae58de8 Fix up tests 2013-03-11 15:45:27 -07:00
John Firebaugh
9f5ba8342d Convert DragNode to a mode
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.

There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh
2c874545eb Fix tests 2013-03-10 20:08:18 -07:00
Ansis Brammanis
609e8b9119 refactor preset inputs 2013-03-09 18:30:54 -05:00
John Firebaugh
da902061d6 Fix tests 2013-03-08 20:37:19 -08:00
John Firebaugh
764f76977b Fix include 2013-03-08 20:32:03 -08:00
Tom MacWright
3e69ef6f9e Fix tests and global leak 2013-03-07 17:53:36 -05:00
John Firebaugh
87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
Tom MacWright
7e9a427a2b Test getPrototype, use American spellings, fix test formatting.
* Stub Lasso test
* Add cmd test
2013-03-05 17:59:50 -05:00
Ansis Brammanis
4fb8688d83 add tests for iD.presets.Collection and .Category 2013-03-05 15:37:34 -05:00
John Firebaugh
239fa6258a layerswitcher -> background 2013-03-05 12:22:06 -08:00
John Firebaugh
41a197eb9e Fix test 2013-03-05 10:30:03 -08:00
Ansis Brammanis
3a680b027f add tests for iD.presets.Preset 2013-03-05 13:06:21 -05:00
Ansis Brammanis
f452b5b975 update test index 2013-03-05 11:09:03 -05:00
John Firebaugh
60a290282c Clip lines with Cohen-Sutherland algorithm
This yields a 10x paint performance increase at
#map=18.88/38.85208/-76.72632, as measured with
Chrome Canary's "Continuous Page Repainting" mode.

Fixes #885.
2013-03-03 18:25:42 -08:00
Ansis Brammanis
900c37a652 fix tests 2013-03-01 17:27:53 -05:00
John Firebaugh
f9bf61a6c3 Underscore naming for files 2013-02-28 16:32:23 -08:00
Ansis Brammanis
4e6a3c322f Merge branch 'master' of git://github.com/systemed/iD into rotate2
Conflicts:
	index.html
	test/index.html
2013-02-27 21:41:26 -05:00
John Firebaugh
571edc707d d3.tail -> iD.ui.Tail 2013-02-27 17:55:23 -08:00
John Firebaugh
78f6a00029 Fix moving multiple entities which share nodes
While here, implement moving multipolygons too.
2013-02-27 17:12:39 -08:00
Ian B
aeb5ab5b21 Add rotate to test/index.html 2013-02-26 09:14:45 +01:00
Ansis Brammanis
7222fcb63f Move multiple elements 2013-02-23 20:06:37 -05:00