Commit Graph

81 Commits

Author SHA1 Message Date
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
5ea93539ad Update d3 to 3.1.5 2013-04-23 15:03:00 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
John Firebaugh
0e6c0db28a Clean up Makefile 2013-04-22 11:01:39 -07:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ansis Brammanis
32988297f3 fix makefile rule for maki sprite 2013-04-19 17:39:02 -04:00
Ansis Brammanis
cee0ac3874 tolerate not having inkscape installed 2013-04-19 15:47:51 -04:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis
21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -04:00
John Firebaugh
dca9bec450 Move Connection to core 2013-04-17 17:35:34 -07:00
John Firebaugh
24c0115190 Generate a concatenated iD.css file 2013-04-16 14:14:55 -07:00
John Firebaugh
7f498c2a10 Fix "Remove" translation in radio field (fixes #1317) 2013-04-15 17:06:37 -07:00
John Firebaugh
3593405c53 Automatically npm install on make 2013-04-15 14:31: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
fb16dc8af6 Custom d3 3.1 build (fixes #1232) 2013-04-02 15:00:32 -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
Tom MacWright
b59f28424c Translatable documentation, Fixes #1108
* Adds Marked
* Fixes a global leak in toGeoJSON
* Removes marked from package.json
* Adds documentation to core.yaml
* Removes stray console.log from tests
2013-03-27 14:34:34 -04:00
Ansis Brammanis
ad49e884ab add intro to Makefile 2013-03-26 14:25:09 -04:00
Tom MacWright
57ae429be4 Add inspector docs 2013-03-25 17:05:29 -04:00
John Firebaugh
235cb52d26 Bing API supports JSONP 2013-03-21 11:39:33 -07:00
Ansis Brammanis
1582917f0d fix translations in packaged install 2013-03-14 14:47:20 -04:00
Ansis Brammanis
59589d2b83 remove locale/*.js from makefile 2013-03-14 13:24:14 -04:00
Ansis Brammanis
d805cdea66 make translations 2013-03-13 18:27:13 -04:00
Ansis Brammanis
9085b8b23b fix img and css copy in Makefile 2013-03-12 14:01:13 -04:00
John Firebaugh
b2627dcac2 Switch back to dev index.html, add a make install target 2013-03-11 11:24:57 -07:00
John Firebaugh
3861f4ac2d Unconditional uglify path (fixes #966) 2013-03-11 11:08:22 -07:00
John Firebaugh
cfe21b0781 Add dependency on npm install 2013-03-11 11:07:18 -07:00
Ansis Brammanis
77d2353f83 remove checkselect.js from makefile 2013-03-10 03:28:40 -04:00
Tom MacWright
dae8a67e68 Merge branch 'master' of github.com:systemed/iD 2013-03-08 16:53:40 -05:00
Tom MacWright
fe2c57d7f4 Remove rowselect, build data with imagery, use nicer json formatting. 2013-03-08 16:53:26 -05:00
John Firebaugh
934dbd9f92 Include imagery data, tweak Makefile 2013-03-08 13:34:23 -08:00
Tom MacWright
1294c972d0 Add dimensions, improve make situation for presets. 2013-03-08 16:18:20 -05:00
Ansis Brammanis
45c6c04399 new preset build script, order is not significant 2013-03-08 11:23:58 -05:00
Tom MacWright
460fbdd704 Add data makefile 2013-03-08 11:06:27 -05:00
Tom MacWright
d1fd4da511 Merge pull request #931 from systemed/streams
Start using d3 3.1.0
2013-03-07 15:27:04 -08:00
Tom MacWright
3e69ef6f9e Fix tests and global leak 2013-03-07 17:53:36 -05:00
John Firebaugh
a57626f51c Add a make rule for presets 2013-03-07 13:53:09 -08:00
John Firebaugh
421b9ba29f Use local uglify binary 2013-03-06 18:18:06 -08:00
John Firebaugh
87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
John Firebaugh
ed86254f37 Fix build 2013-03-06 14:01:44 -08:00
John Firebaugh
a0d7153bd1 Fix build 2013-03-05 10:58:14 -08:00
John Firebaugh
59b77b0279 Fix build 2013-03-04 07:54:09 -08: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
John Firebaugh
571edc707d d3.tail -> iD.ui.Tail 2013-02-27 17:55:23 -08:00
Tom MacWright
5829438391 Enable advanced uglify compression, remove unused variables 2013-02-27 12:13:59 -05:00
John Firebaugh
e35990f4d3 Fix build 2013-02-25 17:14:28 -08:00
John Firebaugh
014ee9d35c Fix build 2013-02-16 09:11:47 -08:00
John Firebaugh
902ae80267 Include all locale files 2013-02-12 16:51:31 -08:00
John Firebaugh
843baa11c0 graph -> core
This matches how it's described in ARCHITECTURE.md.
2013-02-09 15:18:54 -08:00