Commit Graph

56 Commits

Author SHA1 Message Date
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
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
Tom MacWright d70202253b Remove queueing, it was too large a performance hit 2012-12-11 17:35:42 -05:00
Tom MacWright 304805c113 Fix frantic tile reloading. Fixes #253 2012-12-11 17:27:37 -05:00
Tom MacWright c9f5cf736c Add road and connection typos 2012-12-09 14:04:34 -05:00
Tom MacWright 84f2ddda15 Used d3.xml and abort no longer useful reqs 2012-12-09 00:37:40 -05:00
Tom MacWright ab695574c2 Make build-safe 2012-12-07 18:25:31 -05:00
Tom MacWright 50ef08c723 Test actual data parsing, add test data, more tests 2012-12-07 18:03:33 -05:00
Tom MacWright 9546a6f743 Limit download threads. Fixes #83 2012-12-07 11:47:48 -05:00
John Firebaugh 7eec007740 Get internal ID logic in one place 2012-12-07 10:32:51 -05:00
Tom MacWright 4968634f12 Cleanup oauth 2012-12-05 15:03:58 -05:00
Tom MacWright 9799276472 Present errors, namespace events. 2012-12-05 11:25:01 -05:00