Commit graph

469 commits

Author SHA1 Message Date
Richard Fairhurst
36660a3e45 move relations mapping out of way/node objects, so we don't need horrible expensive getrelations any more 2009-04-26 18:26:48 +00:00
Tom Hughes
e3d20bd607 Run GC if we hit the memory limit, and only restart if we are still too big. 2009-04-26 17:01:59 +00:00
Tom Hughes
1bd3710134 Increase the hard memory limit and set a lower soft limit that does a
clean restart between requests.
2009-04-26 16:56:40 +00:00
Tom Hughes
aadb91861a Do a GC run every 10 requests. 2009-04-26 11:28:55 +00:00
Richard Fairhurst
0f1f4c29be ibid 2009-04-24 20:40:48 +00:00
Richard Fairhurst
2acdfd7132 a couple of minor revert fixes 2009-04-24 20:12:43 +00:00
Richard Fairhurst
9b4271ed8c pass common API error text through to Potlatch so it can be shown to the user 2009-04-24 17:44:52 +00:00
Richard Fairhurst
3cc3ff7ad6 lots of relations changes for speed and version management 2009-04-24 14:46:52 +00:00
Richard Fairhurst
64d076847b fix another way-node/Way-Node problem in amf_controller; add WinIE JS compatibility via ExternalInterface (we can use this later to alert for a commit message if none is provided) 2009-04-23 17:54:17 +00:00
Harry Wood
1c93d482d2 change updatelinks params so that Potlatch can pass in the view bbox. Also check if it's missing. closes #1738 2009-04-23 14:38:40 +00:00
Richard Fairhurst
c65a3d76ae fix nodes bug 2009-04-23 08:32:26 +00:00
Richard Fairhurst
778896d755 fix word-wrap in "close changeset" dialogue 2009-04-22 23:57:37 +00:00
Richard Fairhurst
d367169479 remove debug stuff 2009-04-22 19:42:22 +00:00
Richard Fairhurst
0a682b9da6 change relation_member 'type' case, to match change in database 2009-04-22 17:47:06 +00:00
Thomas Wood
d7663e7d14 Fix multiple issues with links to /history from the homepage. Thanks to Ed Avis for bringing this to our attention. 2009-04-22 17:08:04 +00:00
Richard Fairhurst
cafce5f4e3 bit more debug 2009-04-22 08:37:55 +00:00
Richard Fairhurst
05035fe6c2 add temporary relations debug code 2009-04-22 08:25:33 +00:00
Richard Fairhurst
0969e731f0 remove Bavaria 2009-04-22 07:41:21 +00:00
Richard Fairhurst
1721aa1c0d ibid 2009-04-21 23:59:27 +00:00
Tom Hughes
1f2ed3372f Add missing image. 2009-04-21 08:51:23 +00:00
Tom Hughes
3ed0c9db20 Remove reference to non-existent images. 2009-04-21 08:08:02 +00:00
Tom Hughes
fd6f00b069 Merge api06 branch to trunk. 2009-04-20 09:12:03 +00:00
Thomas Wood
c29c7cd56c Fix map in IE by deferring Vector layer addition to page load (note that deferred script running is _not_ the same as onload), also only add the Vector layer as required, so to save some overhead.
I've trimmed down the unrequired options on the layer, they're defaulted from the map.
Thanks firefishy for the report.
2009-04-19 21:03:41 +00:00
Tom Hughes
8f8de8deaa Reverse order of marker and vector layers to stop the vector layer
grabbing all the mouse clicks. Closes #1718.
2009-04-19 11:12:28 +00:00
Tom Hughes
d97cfc35d6 Remove trailing comma to make IE happy. 2009-04-18 16:45:45 +00:00
Tom Hughes
47350833fc Make the box outline the same colour as the ways and points drawn
in the data browser maps.
2009-04-08 23:52:39 +00:00
Tom Hughes
7daa4f5d2b Tidy up new box code. 2009-04-08 23:14:50 +00:00
Harry Wood
fdd5d2d779 new support for box=yes param on the homepage, and then link to this from various changeset display 2009-04-08 16:55:22 +00:00
Tom Hughes
1f8a68371a Merge 14059:14394 from trunk. 2009-04-08 13:53:09 +00:00
Tom Hughes
9752466c03 Add SOTM advert. 2009-03-25 16:49:33 +00:00
Harry Wood
0f3e5a28c0 show a 'no bbox specified' message for the moment at least. Due to inconsistent location detecting across tabs, the history tab often gets nil bbox (Need to fix for all tabs) + other history tab tweaks 2009-03-24 11:23:56 +00:00
Tom Hughes
d869c88ec0 Force the map div to fill the page. 2009-03-23 17:37:50 +00:00
Harry Wood
d3c6087409 js changes for 'history' tab 2009-03-23 16:41:18 +00:00
Tom Hughes
ce10efd81d Fixed for XHTML compliance. Based on patch from Alexander Delius. 2009-03-23 11:19:34 +00:00
Steve Chilton
e1e6971a13 Revised keys 6,7,8,9,12,13, new 15 2009-03-21 21:11:11 +00:00
Richard Fairhurst
994104e92e backport to 0.5 2009-03-13 00:11:39 +00:00
Richard Fairhurst
acdd90ea61 remove ways from memory immediately on delete; redo background layer storage 2009-03-12 23:58:54 +00:00
Tom Hughes
c8ee135104 Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +00:00
Richard Fairhurst
7bd1cdaa99 fix backspacing through way to delete it 2009-02-26 00:26:23 +00:00
Richard Fairhurst
dfa81462b8 history stuff should be working now (haha) 2009-02-25 22:04:22 +00:00
Richard Fairhurst
e827a04607 further work on 0.6 history (not quite complete yet) 2009-02-25 01:14:19 +00:00
Tom Hughes
41e10b09d0 Go back to using <center> to position the buttons in the left hand
column as IE doesn't seem to cope with CSS based centering.
2009-02-14 00:01:39 +00:00
Tom Hughes
fd19a1f3ba Replace the PayPal button on the home page with a donate button that
links to the OSM donation site.
2009-02-13 17:38:40 +00:00
Paul Gillard
143d382154 Stylesheet changes to make paragraphs within intro section on left hand side of home page space correctly. Changes tested in:
Firefox 3.0.6 - OSX
Safari 3.2.1 - OSX
Firefox 3.0.6 - Win XP Pro
IE7 7.0.5730 - Win XP Pro
IE6 - WIn XP Pro
Google Chrome 0.2.149.27 - Win XP Pro

Home page now displays correctly in Google Chrome.
2009-02-11 20:47:25 +00:00
Tom Hughes
77a00dfb03 Wrap text to make it more readable and adjust the padding on the intro
box to remove the extra space created by addition of paragraph tags.
2009-02-11 00:16:00 +00:00
Tom Hughes
53d30d70af Stop robots crawling the object browser. 2009-02-06 10:12:50 +00:00
Tom Hughes
554614723a Back out hack to setMapCenter and fix the problem in the right place. 2009-02-05 22:23:45 +00:00
Tom Hughes
c1df8017d6 Add donation link to main site. 2009-02-05 22:06:47 +00:00
Thomas Wood
71938aef1d Copying across fix for #1547 from trunk 2009-01-31 13:12:19 +00:00
Thomas Wood
4ee1ce2881 Pass zoom to map.setCenter as an integer (Closes #1547) 2009-01-31 13:10:16 +00:00