mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
This commit is contained in:
commit
16aef17808
|
@ -1,6 +1,11 @@
|
||||||
v1.3 (XXXX-XX-XX)
|
v1.3 (XXXX-XX-XX)
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
* fixed shapedjson to json conversion for special numeric values (NaN, +inf, -inf).
|
||||||
|
Before, "NaN", "inf", or "-inf" were written into the JSONified output, but these
|
||||||
|
values are not allowed in JSON. Now, "null" is written to the JSONified output as
|
||||||
|
required.
|
||||||
|
|
||||||
* added AQL functions VARIANCE_POPULATION(), VARIANCE_SAMPLE(), STDDEV_POPULATION(),
|
* added AQL functions VARIANCE_POPULATION(), VARIANCE_SAMPLE(), STDDEV_POPULATION(),
|
||||||
STDDEV_SAMPLE(), AVERAGE(), MEDIAN() to calculate stastical values for lists
|
STDDEV_SAMPLE(), AVERAGE(), MEDIAN() to calculate stastical values for lists
|
||||||
|
|
||||||
|
|
|
@ -98,6 +98,8 @@
|
||||||
#transparentHeader i {
|
#transparentHeader i {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
|
left: 10px;
|
||||||
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
#transparentHeader a.disabledBread {
|
#transparentHeader a.disabledBread {
|
||||||
|
|
|
@ -1,15 +1,10 @@
|
||||||
.footer {
|
.footer {
|
||||||
background: url("../img/footer_hd_bg.png") repeat-x scroll left 10px #4A4A4A;
|
background: url("../img/footer_hd_bg.png") repeat-x scroll left 10px #4A4A4A;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 30px auto 0;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
bottom:0;
|
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom:200;
|
margin-top:300px;
|
||||||
margin-top:100px;
|
|
||||||
width: 100%;
|
|
||||||
display:none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.footerExtra {
|
.footerExtra {
|
||||||
|
@ -49,6 +44,7 @@
|
||||||
.footer p {
|
.footer p {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
|
margin-bottom:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer span a {
|
.footer span a {
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
<div id="modalPlaceholder" style:"display:none">
|
<div id="modalPlaceholder" style:"display:none">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- libs -->
|
<!-- libs -->
|
||||||
<script src="js/lib/jquery-1.8.3.js"></script>
|
<script src="js/lib/jquery-1.8.3.js"></script>
|
||||||
<script src="js/lib/jquery-ui-1.9.2.custom.js"></script>
|
<script src="js/lib/jquery-ui-1.9.2.custom.js"></script>
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<div id="transparentHeader">
|
<div id="transparentHeader">
|
||||||
<div id="documentsToolbar" class="pagination pagination-small pagination-right">
|
<div id="documentsToolbar" class="pagination pagination-small pagination-right">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="enabled"><a id="collectionPrev">‹</a></li>
|
<li class="enabled"><a id="collectionPrev"><i class="icon icon-white icon-chevron-left"></i></a></li>
|
||||||
<li class="enabled"><a id="collectionNext">›</a></li>
|
<li class="enabled"><a id="collectionNext"><i class="icon icon-white icon-chevron-right"></i></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -20,20 +20,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div id="documentsToolbarF" class="pagination pagination-small pagination-centered"></div>
|
||||||
<!--
|
|
||||||
<div id="documentsToolbar" class="pagination pagination-small pagination-centered arangoToolbar">
|
|
||||||
<ul>
|
|
||||||
<li class="enabled"><a href="#">«</a></li>
|
|
||||||
<li class="active"><a href="#">1</a></li>
|
|
||||||
<li><a href="#">2</a></li>
|
|
||||||
<li><a href="#">3</a></li>
|
|
||||||
<li class="enabled"><a href="#">»</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<div id="documentsToolbarF" class="pagination pagination-small pagination-centered"></div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Delete Modal -->
|
<!-- Delete Modal -->
|
||||||
|
|
|
@ -1476,7 +1476,23 @@ static bool StringifyJsonShapeDataNumber (TRI_shaper_t* shaper,
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
v = * (TRI_shape_number_t const*) data;
|
v = * (TRI_shape_number_t const*) data;
|
||||||
|
// check for special values
|
||||||
|
|
||||||
|
if (v != v) {
|
||||||
|
// NaN
|
||||||
|
res = TRI_AppendStringStringBuffer(buffer, "null");
|
||||||
|
}
|
||||||
|
else if (v == HUGE_VAL) {
|
||||||
|
// +inf
|
||||||
|
res = TRI_AppendStringStringBuffer(buffer, "null");
|
||||||
|
}
|
||||||
|
else if (v == -HUGE_VAL) {
|
||||||
|
// -inf
|
||||||
|
res = TRI_AppendStringStringBuffer(buffer, "null");
|
||||||
|
}
|
||||||
|
else {
|
||||||
res = TRI_AppendDoubleStringBuffer(buffer, v);
|
res = TRI_AppendDoubleStringBuffer(buffer, v);
|
||||||
|
}
|
||||||
|
|
||||||
if (res != TRI_ERROR_NO_ERROR) {
|
if (res != TRI_ERROR_NO_ERROR) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue