This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from MeteoSwiss-APN/master
Merging the changes of the last few weeks for release `0.1`.
- Loading branch information
Showing
36 changed files
with
620 additions
and
245 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Release 0.1 | ||
|
||
* Seamlessly support single precision and double precision floating point values | ||
* Fix issue with files larger than 2 GiB | ||
* Support variable declaration in multiple lines in pp_ser | ||
* Correctly install utils_ppser fortran module | ||
* Python can access global metainformation of serializers, register fields | ||
with nontrivial halo and use handle single precision numpy fields |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
diff --git a/libs/libjson/_internal/Source/JSONNode.h b/libs/libjson/_internal/Source/JSONNode.h | ||
index 7812753..4ced605 100644 | ||
--- a/libs/libjson/_internal/Source/JSONNode.h | ||
+++ b/libs/libjson/_internal/Source/JSONNode.h | ||
@@ -161,7 +161,7 @@ public: | ||
|
||
|
||
json_string as_string(void) const json_nothrow json_read_priority; | ||
- int as_int(void) const json_nothrow json_read_priority; | ||
+ json_int_t as_int(void) const json_nothrow json_read_priority; | ||
json_number as_float(void) const json_nothrow json_read_priority; | ||
bool as_bool(void) const json_nothrow json_read_priority; | ||
|
||
@@ -666,9 +666,9 @@ inline void JSONNode::set_name(const json_string & newname) json_nothrow{ | ||
return static_cast<json_string>(*internal); | ||
} | ||
|
||
- inline int JSONNode::as_int(void) const json_nothrow { | ||
+ inline json_int_t JSONNode::as_int(void) const json_nothrow { | ||
JSON_CHECK_INTERNAL(); | ||
- return static_cast<int>(*internal); | ||
+ return static_cast<json_int_t>(*internal); | ||
} | ||
|
||
inline json_number JSONNode::as_float(void) const json_nothrow { | ||
diff --git a/libs/libjson/_internal/Source/internalJSONNode.h b/libs/libjson/_internal/Source/internalJSONNode.h | ||
index 2dd3a1e..8372a13 100644 | ||
--- a/libs/libjson/_internal/Source/internalJSONNode.h | ||
+++ b/libs/libjson/_internal/Source/internalJSONNode.h | ||
@@ -156,8 +156,8 @@ public: | ||
DECL_CAST_OP(short) | ||
DECL_CAST_OP(int) | ||
DECL_CAST_OP(long) | ||
+ DECL_CAST_OP(long long) | ||
#ifndef JSON_ISO_STRICT | ||
- DECL_CAST_OP(long long) | ||
operator long double() const json_nothrow; | ||
#endif | ||
operator float() const json_nothrow; | ||
@@ -466,11 +466,9 @@ inline JSONNode * internalJSONNode::at(json_index_t pos) json_nothrow { | ||
IMP_SMALLER_INT_CAST_OP(unsigned short, USHRT_MAX, 0) | ||
IMP_SMALLER_INT_CAST_OP(int, INT_MAX, INT_MIN) | ||
IMP_SMALLER_INT_CAST_OP(unsigned int, UINT_MAX, 0) | ||
+ IMP_SMALLER_INT_CAST_OP(long long, LLONG_MAX, LLONG_MIN) | ||
+ IMP_SMALLER_INT_CAST_OP(unsigned long long, ULLONG_MAX, 0) | ||
|
||
- #ifndef JSON_ISO_STRICT | ||
- IMP_SMALLER_INT_CAST_OP(long, LONG_MAX, LONG_MIN) | ||
- IMP_SMALLER_INT_CAST_OP(unsigned long, ULONG_MAX, 0) | ||
- #endif | ||
#endif | ||
|
||
inline internalJSONNode::operator json_string() const json_nothrow { |
This file contains 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
Oops, something went wrong.