Skip to content

Commit

Permalink
Prepare for the 5.2.0 release
Browse files Browse the repository at this point in the history
Due to the C++ Boost dependency bump, both BOND_VERSION and
BOND_MIN_CODEGEN_VERSION in bond_version.h have been updated to the
current version.
  • Loading branch information
chwarr committed Feb 8, 2017
1 parent f499596 commit 31d88af
Show file tree
Hide file tree
Showing 58 changed files with 161 additions and 217 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ tag versions. The Bond compiler (`gbc`) and
different versioning scheme, following the Haskell community's
[package versioning policy](https://wiki.haskell.org/Package_versioning_policy).

## Unreleased ##

* `gbc` & compiler library: TBD (major version bump needed)
* IDL core version: TBD
* IDL comm version: TBD
* C++ version: TBD (minor bump needed [Boost dependencies changed])
* C# NuGet version: TBD (minor bump needed)
* C# Comm NuGet version: TBD (minor bump needed [dependencies changed])
## 5.2.0: 2017-02-07 ##

* `gbc` & compiler library: 0.8.0.0
* IDL core version: 2.0
* IDL comm version: 1.2
* C++ version: 5.2.0
* C# NuGet version: 5.2.0
* C# Comm NuGet version: 0.10.0

### `gbc` and Bond compiler library ###

Expand Down
2 changes: 1 addition & 1 deletion compiler/bond.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Licensed under the MIT license. See LICENSE file in the project root for full license information.

name: bond
version: 0.7.0.0
version: 0.8.0.0
cabal-version: >= 1.8
tested-with: GHC>=7.4.1
synopsis: Bond schema compiler and code generator
Expand Down
8 changes: 3 additions & 5 deletions compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ types_h userHeaders enumHeader allocator cpp file imports declarations = ("_type
#{newlineBeginSep 0 includeHeader userHeaders}
#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x#{hexVersion version}
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/alias_with_allocator_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
6 changes: 3 additions & 3 deletions compiler/tests/generated/aliases_types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")]
public partial class Foo<T>
{
[global::Bond.Id(0), global::Bond.Type(typeof(List<List<global::Bond.Tag.classT>>))]
Expand All @@ -34,14 +34,14 @@ protected Foo(string fullName, string name)
}
}

[System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")]
public enum EnumToWrap
{
anEnumValue,
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")]
public partial class WrappingAnEnum
{
[global::Bond.Id(0)]
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/attributes_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/basic_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/bond_meta_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/complex_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/defaults_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/empty_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/field_modifiers_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/generics_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/inheritance_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/allocator/maybe_blob_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/attributes_types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace tests

[global::Bond.Attribute("EnumAttribute1", "one")]
[global::Bond.Attribute("EnumAttribute2", "two")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")]
public enum Enum
{
Value1,
Expand All @@ -28,7 +28,7 @@ public enum Enum
[global::Bond.Attribute("StructAttribute1", "one")]
[global::Bond.Attribute("StructAttribute2", "two")]
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")]
public partial class Foo
{
[global::Bond.Attribute("FieldAttribute1", "one")]
Expand Down
10 changes: 4 additions & 6 deletions compiler/tests/generated/attributes_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0422
#error This file was generated by a newer version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_VERSION < 0x0520
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0700
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#if BOND_MIN_CODEGEN_VERSION > 0x0800
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

#include <bond/core/config.h>
Expand Down
Loading

0 comments on commit 31d88af

Please sign in to comment.