Commit Graph

66 Commits

Author SHA1 Message Date
John Firebaugh
78f0d36c02 Don't debounce loadTiles inside connection
It doesn't look like this is needed -- loadTiles is
called only from redraws, which are already debounced.
And external debouncing is the right way to do it.
2013-03-01 11:54:45 -08:00
John Firebaugh
5d30e693b4 Cleanup 2013-03-01 11:48:20 -08:00
John Firebaugh
c02531fe21 Put presetData in context 2013-02-28 16:05:04 -08:00
Ansis Brammanis
984fa76907 Temporarily switch back to dev as default
Preset work is causing stability issues.
2013-02-15 23:31:55 -05:00
Ansis Brammanis
0bb805f557 Merge remote-tracking branch 'systemed/master' into presets
Conflicts:
	css/app.css
	index.html
	js/id/connection.js
	js/id/modes/select.js
	js/id/ui/inspector.js
	js/id/util.js
	test/spec/modes/add_point.js
2013-02-14 11:38:18 -05:00
John Firebaugh
4bbed7e943 Cleanup, fix UserPanel 2013-02-12 21:03:34 -08:00
Tom MacWright
61d7ec45b5 Banish function ( style 2013-02-12 16:35:47 -05:00
John Firebaugh
3e7b0b0d98 Optimize iD.Connection
The big win here is using direct property accessors on
node attributes rather than iteration. The rest is just
micro-optimization.
2013-02-10 12:31:59 -08:00
Tom MacWright
b7cfaf08da userDetails should handle errors properly 2013-02-04 16:48:44 -05:00
Tom MacWright
031c8d655e Fallback for browsers that do not support localStorage. Fixes #591 2013-02-01 13:12:46 -05:00
John Firebaugh
0bcb0520d8 Use iD.version 2013-02-01 12:46:01 -05:00
Tom MacWright
9741d28493 Fixing tests 2013-01-31 15:09:07 -05:00
Tom MacWright
bc59070ff3 Merge branch 'master' into presets
Conflicts:
	js/id/util.js
2013-01-31 11:35:29 -05:00
Tom MacWright
2cb3e5849d First shot at presets
This includes a first JSON scheme and a bad-looking UI currently in
inspector.
2013-01-30 17:30:04 -05:00
Ansis Brammanis
b73d18cbf5 Merge remote-tracking branch 'systemed/master' into graph-perf2 2013-01-30 16:58:44 -05:00
Ansis Brammanis
1b5a1b8268 Merge takes an entities object, not graph 2013-01-30 14:20:39 -05:00
Tom MacWright
7acca8e6d2 Reformat success page. Fixes #532 2013-01-28 16:41:25 -05:00
John Firebaugh
63109ca9a9 Remove unused 2013-01-28 15:14:42 -05:00
John Firebaugh
cfd05772e4 Remove vestigial code 2013-01-28 15:13:09 -05:00
John Firebaugh
e69f613b51 Order deletions in osmChange XML (fixes #541)
This relies on iteration order of JS objects, which
is technically undefined. But currently all relevant
browsers implement first-defined-first-iterated order
for non-numeric keys. And I've written the specs so that
they will fail on browsers that don't adhere to this.
2013-01-28 11:47:59 -05:00
John Firebaugh
05e3dd73a8 Push JXON.stringify's down for easier testing 2013-01-28 11:24:52 -05:00
John Firebaugh
fcbd792e9d Add JXON.stringify 2013-01-28 11:06:14 -05:00
John Firebaugh
de7fad5803 Move remaining XML stuff to Connection 2013-01-27 21:50:08 -05:00
Ansis Brammanis
8f8e3955b5 Revert "Use object.create for graph.entities"
This reverts commit 78993bc080.
2013-01-25 18:08:48 -05:00
Ansis Brammanis
78993bc080 Use object.create for graph.entities 2013-01-25 14:35:46 -05:00
Tom MacWright
9116978609 Show version and tag it correctly. Fixes #502 and fixes #499 2013-01-25 12:00:23 -05:00
Tom MacWright
9a6ad575a0 Straighten up auth situation, fixes live server. Fixes #431 2013-01-24 16:33:04 -05:00
Ansis Brammanis
ec72fb39cd Pass dimensions to d3.geo.tile 2013-01-24 12:34:39 -05:00
Tom MacWright
29577f7645 Fix loading inflight requests and clearing history when you switch
sources
2013-01-24 10:28:05 -05:00
Tom MacWright
32ea30c3fb Use isPoi for determining whether points are pois or not 2013-01-23 19:14:54 -05:00
Tom MacWright
9041e6470f Yet another global leak 2013-01-23 18:06:01 -05:00
Tom MacWright
54903adc2b No more refnodes 2013-01-23 18:02:38 -05:00
Tom MacWright
bda41b812c Optimize and break up parsing 2013-01-23 18:01:56 -05:00
Tom MacWright
1a916ff506 Move keys to separate file, not working on osm.org yet. 2013-01-23 16:56:48 -05:00
John Firebaugh
d74bf1e39a Use proper prototypal inheritance and less dynamic new 2013-01-22 17:38:52 -05:00
Tom MacWright
87c8fbdb2f Remove unreachable code in connection.
This unfortunately prevents loadFromURL from sharing the queue and
cancelling functionality of bboxes
2013-01-17 12:49:43 -05:00
Tom MacWright
8151b48d34 Request tiles at z15 rather than z16 2013-01-16 13:26:20 -05:00
Brandon Liu
cc59b048e1 Fix reloading of tiles from API after save. 2013-01-15 23:06:58 -08:00
Ansis Brammanis
1dc56aa73f Avoid aborting and re-requesting still wanted reqs 2013-01-14 12:12:59 -05:00
Tom MacWright
e30995921e Remove indirection between entity and types 2013-01-11 15:35:10 -05:00
Tom MacWright
eedc0fce9d Fast parent calculation. 2013-01-09 14:52:39 -05:00
Ansis Brammanis
97bc2429dc Update background source for history 2013-01-08 16:26:28 -05:00
Ansis Brammanis
fe634f4f9f Tag commits with imagery used 2013-01-08 16:04:31 -05:00
Tom MacWright
e357033ed8 Parse and display user image if available. Fixes #174 and #329 2013-01-07 17:30:07 -05:00
Tom MacWright
1107f7dc7f Optimize calls, generation of accuracy handles 2013-01-04 14:43:47 -05:00
Tom MacWright
2860cc2fcb Name callbacks to make profiles more usable 2013-01-02 17:31:51 -05:00
Tom MacWright
349367ada4 Simplify connection, fix errors for high-zoom lat lon box calculation.
Fixes #288
2013-01-02 14:17:43 -05:00
John Firebaugh
5199e0f402 Externalize api06 URL 2012-12-30 14:03:45 -08:00
John Firebaugh
e122552b98 Fix bugs in user list
* URL is connection-dependent
* Open link in new window so as not to lose work
* Don't show undefined (fixes #302)
2012-12-29 11:57:17 -08:00
Tom MacWright
4bef54e0f5 Microoptimize 2012-12-11 17:40:33 -05:00