This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/js/project.js b/client/js/project.js | |
index 1db124f..a537ca8 100644 | |
--- a/client/js/project.js | |
+++ b/client/js/project.js | |
@@ -438,7 +438,7 @@ var ProjectInteractivityForm = Backbone.View.extend({ | |
success: function() { | |
var interactivity = that.model.get('_interactivity') || fal | |
var object = { | |
- fields: [], | |
+ fields: [{id:"__id__",selected:true}], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/js/project.js b/client/js/project.js | |
index 1db124f..a537ca8 100644 | |
--- a/client/js/project.js | |
+++ b/client/js/project.js | |
@@ -438,7 +438,7 @@ var ProjectInteractivityForm = Backbone.View.extend({ | |
success: function() { | |
var interactivity = that.model.get('_interactivity') || fal | |
var object = { | |
- fields: [], | |
+ fields: [{id:"__id__",selected:true}], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
world_merc=# alter table world_merc add column blank text; | |
ALTER TABLE | |
world_merc=# select blank from world_merc limit 2; | |
blank | |
------- | |
(2 rows) | |
world_merc=# select count(*) from world_merc where blank is null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
otool -l /usr/lib/libltdl.7.dylib | |
otool -l /usr/lib/libz.1.dylib | |
otool -l /usr/lib/libicucore.A.dylib | |
otool -l /usr/lib/libxml2.2.dylib | |
otool -l /usr/lib/libstdc++.6.dylib | |
otool -l /usr/lib/libSystem.B.dylib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang++ -include-pch mapnik.h.pch -o src/svg_parser.os -c -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -Wno-unused-function -Wno-uninitialized -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts -ftemplate-depth-200 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -fPIC -Iagg/include -Iinclude -I. -I/opt/icu/include -I/opt/boost-trunk/include -I/Library/Frameworks/UnixImageIO.framework/Headers -I/usr/local/include -I/usr/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/include/libxml2 src/svg_parser.cpp | |
clang++ -include-pch mapnik.h.pch -o src/svg_transform_parser.os -c -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -Wno-unused-function -Wno-uninitialized -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts -ftemplate-depth-200 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -fPIC -Iagg/include -Iinclude -I. -I/opt/icu/include -I/opt/boost-trunk/include -I/Library/Frameworks/UnixImageIO.fr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% block extrastyle %} | |
<style type="text/css"> | |
#{{ id }}_map { width: {{ map_width }}px; height: {{ map_height }}px; } | |
#{{ id }}_map .aligned label { float:inherit; } | |
#{{ id }}_admin_map { position: relative; vertical-align: top; float: {{ LANGUAGE_BIDI|yesno:"right,left" }}; } | |
{% if not display_wkt %}#{{ id }} { display: none; }{% endif %} | |
.olControlEditingToolbar .olControlModifyFeatureItemActive { | |
background-image: url("{{ ADMIN_MEDIA_PREFIX }}img/gis/move_vertex_on.png"); | |
background-repeat: no-repeat; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <typename T> struct is_pod_impl | |
{ | |
static const bool value = (::boost::type_traits::ice_or< ::boost::is_scalar<T>::value, ::boost::is_void<T>::value, __is_pod(T) >::value); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple testcase showing compiler error with boost filesystem and clang trunk: | |
#include "boost/filesystem/operations.hpp" | |
int main() { | |
return 0; | |
} | |
# g++ works: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 | |
#include <CoreFoundation/CoreFoundation.h> | |
#include <Cocoa/Cocoa.h> | |
#include <iostream> | |
#ifdef check | |
#undef check | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* new map loading api in node-mapnik */ | |
var map = new mapnik.Map(256,256); | |
// map.load is now async and therefore returns modified map in callback | |
// it could also not return it, since 'map' is already defined | |
map.load("stylesheet.xml",{strict:true},function(err,map) { | |
// do something with map... | |
}) | |
/* new rendering api in node-mapnik */ |