Skip to content

Commit 660abd8

Browse files
committed
documentation updates for 5.0 release. Fixes #200.
1 parent 838f476 commit 660abd8

File tree

4 files changed

+44
-6
lines changed

4 files changed

+44
-6
lines changed

CHANGELOG.md

+36-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- [Change Log](#change-log)
66
- [Unreleased](#unreleased)
7+
- [5.0.0 (2016-05-09)](#500-2016-05-09)
78
- [4.3.0 (2015-12-05)](#430-2015-12-05)
89
- [4.2.0 (2015-08-03)](#420-2015-08-03)
910
- [4.1.1 (2015-05-27)](#411-2015-05-27)
@@ -16,7 +17,41 @@
1617

1718
### [Unreleased](https://github.com/jacobwilliams/json-fortran/tree/HEAD)
1819

19-
[Complete Changeset](https://github.com/jacobwilliams/json-fortran/compare/4.3.0...HEAD)
20+
[Complete Changeset](https://github.com/jacobwilliams/json-fortran/compare/5.0.0...HEAD)
21+
22+
### [5.0.0](https://github.com/jacobwilliams/json-fortran/tree/5.0.0) (2016-05-09)
23+
24+
[Complete Changeset](https://github.com/jacobwilliams/json-fortran/compare/4.3.0...5.0.0)
25+
or [Download v5.0.0](https://github.com/jacobwilliams/json-fortran/releases/tag/5.0.0)
26+
27+
See also [this Wiki page](https://github.com/jacobwilliams/json-fortran/wiki/5.0-Changes) on how to update your code to be compatible with this release.
28+
29+
**Enhancements:**
30+
31+
- Split `json_module` into multiple files. [\#168](https://github.com/jacobwilliams/json-fortran/issues/168) [\#170](https://github.com/jacobwilliams/json-fortran/pull/170) ([jacobwilliams](https://github.com/jacobwilliams))
32+
- The library is now thread safe [\#36](https://github.com/jacobwilliams/json-fortran/issues/36) [\#170](https://github.com/jacobwilliams/json-fortran/pull/170) ([jacobwilliams](https://github.com/jacobwilliams))
33+
- Added new `initialize()`, `failed()`, `print_error_message()`, `check_to_errors()`, and `clear_exceptions()` to the `json_file` class. [\#170](https://github.com/jacobwilliams/json-fortran/pull/170) ([jacobwilliams](https://github.com/jacobwilliams))
34+
- The number of spaces for indenting can now be user specified. [\#170](https://github.com/jacobwilliams/json-fortran/pull/170) ([jacobwilliams](https://github.com/jacobwilliams))
35+
- Updates for Visual Studio project [\#170](https://github.com/jacobwilliams/json-fortran/pull/170) ([jacobwilliams](https://github.com/jacobwilliams))
36+
- Added a `validate()` method for validating JSON linked lists [\#196](https://github.com/jacobwilliams/json-fortran/issues/196) [\#197](https://github.com/jacobwilliams/json-fortran/pull/197) ([jacobwilliams](https://github.com/jacobwilliams))
37+
- Added some additional error checks for malformed JSON linked lists [\#182](https://github.com/jacobwilliams/json-fortran/pull/182) ([jacobwilliams](https://github.com/jacobwilliams))
38+
- Added a new routine `is_child_of` to check if one `json_value` is a descendant of another [\#182](https://github.com/jacobwilliams/json-fortran/pull/182) ([jacobwilliams](https://github.com/jacobwilliams))
39+
- Added new options for case-insensitive searching of names/paths, as well as the option to consider trailing space significant [\#185](https://github.com/jacobwilliams/json-fortran/issues/185) [\#192](https://github.com/jacobwilliams/json-fortran/pull/192) ([jacobwilliams](https://github.com/jacobwilliams))
40+
- Added a routine to enable swapping of elements in a `json_value` linked list [\#177](https://github.com/jacobwilliams/json-fortran/issues/177) [\#182](https://github.com/jacobwilliams/json-fortran/pull/182) ([jacobwilliams](https://github.com/jacobwilliams))
41+
- Rename parameters `RK`, `IK`, `LK`, `CK`, and `CDK` using less generic names (`json_RK`, `json_IK`, `json_LK`, `json_CK`, and `json_CDK`) [\#172](https://github.com/jacobwilliams/json-fortran/issues/172) ([jacobwilliams](https://github.com/jacobwilliams))
42+
- Calling the `initialize()` method (which is now in `json_core` and `json_file`) is no longer mandatory [\#171](https://github.com/jacobwilliams/json-fortran/issues/171) ([jacobwilliams](https://github.com/jacobwilliams))
43+
- Added a `rename()` method for renaming a `json_value` variable [\#184](https://github.com/jacobwilliams/json-fortran/issues/184) [\#187](https://github.com/jacobwilliams/json-fortran/pull/187) ([jacobwilliams](https://github.com/jacobwilliams))
44+
- Added some compiler directives so that workarounds for Gfortran bugs are not used for other compilers [\#190](https://github.com/jacobwilliams/json-fortran/issues/190) ([jacobwilliams](https://github.com/jacobwilliams))
45+
- Added option for strict typing for `get` routines [\#173](https://github.com/jacobwilliams/json-fortran/issues/173) ([jacobwilliams](https://github.com/jacobwilliams))
46+
- Various cosmetic changes and renaming of some of the dummy arguments in some procedures. [\#198](https://github.com/jacobwilliams/json-fortran/pull/198) ([jacobwilliams](https://github.com/jacobwilliams))
47+
- Added checks to avoid unnecessary looping when traversing arrays if an exception is thrown [\#183](https://github.com/jacobwilliams/json-fortran/pull/183) ([jacobwilliams](https://github.com/jacobwilliams))
48+
- Added a new `get_child` method to get the first child. [9d4f736] ([jacobwilliams](https://github.com/jacobwilliams))
49+
- Added some additional error checks for unassociated pointers [9d4f736] ([jacobwilliams](https://github.com/jacobwilliams))
50+
- Ensure null pointers are returned for some error cases [838f476] ([jacobwilliams](https://github.com/jacobwilliams))
51+
52+
**Fixed Issues**
53+
54+
- Fixed a bug in the `traverse()` routine, where the `finished` output flag was not being correctly checked [\#182](https://github.com/jacobwilliams/json-fortran/pull/182) ([jacobwilliams](https://github.com/jacobwilliams))
2055

2156
### [4.3.0](https://github.com/jacobwilliams/json-fortran/tree/4.3.0) (2015-12-05)
2257

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ The code requires a Fortran compiler that supports
8282
various Fortran 2003 and Fortran 2008 features such as: allocatable
8383
strings, `newunit`, `generic`, `class`, and `abstract interface`.
8484
It has been successfully compiled with the [Intel Fortran compiler
85-
13.1.0](https://software.intel.com/en-us/articles/non-commercial-software-development) (and greater) and the recent [4.9 release of the GNU gfortran
86-
compiler](http://gcc.gnu.org/wiki/GFortran/News#GCC4.9). It has also
85+
13.1.0](https://software.intel.com/en-us/articles/non-commercial-software-development) (and greater) and the [GNU gfortran
86+
compiler](http://gcc.gnu.org/wiki/GFortran) [4.9 and greater]. It has also
8787
been reported that the library can be built (using the CMake build
8888
script) with the [NAG Fortran compiler 6.0](http://www.nag.com/nagware/NP/NP_desc.asp)
8989

90-
Currently, several ways are provided to build the jsonfortran library
90+
Currently, several ways are provided to build the JSON-fortran library
9191
(libjsonfortran).
9292

9393
* A build script, `build.sh` is provided in the project root directory. This script uses [FoBiS](https://github.com/szaghi/FoBiS) to build the JSON-Fortran library and the unit tests. Edit the script to use either the [Intel Fortran Compiler](https://software.intel.com/en-us/fortran-compilers) or [Gfortran](https://gcc.gnu.org/wiki/GFortran). Note that version 1.2.5 of FoBiS (or later) is required.
@@ -114,7 +114,7 @@ cmake_minimum_required ( VERSION 2.8.8 FATAL_ERROR )
114114
enable_language ( Fortran )
115115
project ( jf_test NONE )
116116
117-
find_package ( jsonfortran-${CMAKE_Fortran_COMPILER_ID} 4.3.0 REQUIRED )
117+
find_package ( jsonfortran-${CMAKE_Fortran_COMPILER_ID} 5.0.0 REQUIRED )
118118
include_directories ( "${jsonfortran_INCLUDE_DIRS}" )
119119
120120
file ( GLOB JF_TEST_SRCS "src/tests/jf_test_*.f90" )

__VERSION__

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.3.0
1+
5.0.0

pages/releases/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ documentation from the documentation for official releases other than
2525
using the browser's back button. Feel free to bookmark this page, or
2626
the [main project page](|url|/index.html) for convenient navigation.
2727

28+
* [5.0.0](http://jacobwilliams.github.io/json-fortran/5.0.0/index.html)
29+
([FORD](https://github.com/cmacmackin/ford) generated documentation)
30+
- [Download](https://github.com/jacobwilliams/json-fortran/releases/tag/5.0.0)
2831
* [4.3.0](http://jacobwilliams.github.io/json-fortran/4.3.0/index.html)
2932
([FORD](https://github.com/cmacmackin/ford) generated documentation)
3033
- [Download](https://github.com/jacobwilliams/json-fortran/releases/tag/4.3.0)

0 commit comments

Comments
 (0)