This commit is contained in:
Christopher Warrington 2016-09-12 18:10:45 -07:00
Родитель bfc9183460
Коммит d5aefd2f78
56 изменённых файлов: 70 добавлений и 70 удалений

Просмотреть файл

@ -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 ##
## 5.0.0: 2016-09-12 #
* `gbc` & compiler library: minor bump needed
* IDL core version: major bump needed
* IDL comm version: minor bump needed (dependencies updated)
* C++ version: minor bump needed
* C# NuGet version: major bump needed
* C# Comm NuGet version: minor bump needed
* `gbc` & compiler library: 0.6.0.0
* IDL core version: 2.0
* IDL comm version: 1.1
* C++ version: 5.0.0
* C# NuGet version: 5.0.0
* C# Comm NuGet version: 0.7.0
### IDL comm ###
* Update IDL to conform to naming conventions.

Просмотреть файл

@ -2,7 +2,7 @@
-- Licensed under the MIT license. See LICENSE file in the project root for full license information.
name: bond
version: 0.5.0.0
version: 0.6.0.0
cabal-version: >= 1.8
tested-with: GHC>=7.4.1
synopsis: Bond schema compiler and code generator

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo<T>
{
[global::Bond.Id(0), global::Bond.Type(typeof(List<List<global::Bond.Tag.classT>>))]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -19,7 +19,7 @@ namespace tests
[global::Bond.Attribute("EnumAttribute1", "one")]
[global::Bond.Attribute("EnumAttribute2", "two")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public enum Enum
{
Value1,
@ -28,7 +28,7 @@ namespace tests
[global::Bond.Attribute("StructAttribute1", "one")]
[global::Bond.Attribute("StructAttribute2", "two")]
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
[global::Bond.Attribute("FieldAttribute1", "one")]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class BasicTypes
{
[global::Bond.Id(0)]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace deprecated.bondmeta
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class HasMetaFields
{
[global::Bond.Id(0), global::Bond.RequiredOptional]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo<T>
{
[global::Bond.Id(0), global::Bond.Type(typeof(List<List<global::Bond.Tag.classT>>))]

Просмотреть файл

@ -19,7 +19,7 @@ namespace tests
[global::Bond.Attribute("EnumAttribute1", "one")]
[global::Bond.Attribute("EnumAttribute2", "two")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public enum Enum
{
Value1,
@ -28,7 +28,7 @@ namespace tests
[global::Bond.Attribute("StructAttribute1", "one")]
[global::Bond.Attribute("StructAttribute2", "two")]
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
[global::Bond.Attribute("FieldAttribute1", "one")]

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class BasicTypes
{
[global::Bond.Id(0)]

Просмотреть файл

@ -18,7 +18,7 @@ namespace deprecated.bondmeta
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class HasMetaFields
{
[global::Bond.Id(0), global::Bond.RequiredOptional]

Просмотреть файл

@ -18,14 +18,14 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
}
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class ComplexTypes
{
[global::Bond.Id(0), global::Bond.Type(typeof(LinkedList<sbyte>))]

Просмотреть файл

@ -17,7 +17,7 @@ namespace tests
{
using System.Collections.Generic;
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public enum EnumType1
{
EnumValue1 = unchecked((int)5),
@ -34,7 +34,7 @@ namespace tests
}
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
[global::Bond.Id(0)]

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
[global::Bond.Id(0)]

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo<T1, T2>
where T2 : struct
{

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Base
{
[global::Bond.Id(0)]
@ -35,7 +35,7 @@ namespace tests
}
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
: Base
{

Просмотреть файл

@ -18,7 +18,7 @@ namespace test
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class foo
{
[global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable<long>))]

Просмотреть файл

@ -18,14 +18,14 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
}
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class ComplexTypes
{
[global::Bond.Id(0)]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -17,7 +17,7 @@ namespace tests
{
using System.Collections.Generic;
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public enum EnumType1
{
EnumValue1 = unchecked((int)5),
@ -34,7 +34,7 @@ namespace tests
}
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
[global::Bond.Id(0)]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
{
[global::Bond.Id(0)]

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -15,7 +15,7 @@
namespace tests
{
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
interface IFoo<Payload>
{
global::System.Threading.Tasks.Task<global::Bond.Comm.IMessage<global::Bond.Void>> foo31Async(global::Bond.Comm.IMessage<Payload> param, global::System.Threading.CancellationToken ct);

Просмотреть файл

@ -15,7 +15,7 @@
namespace tests
{
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public class FooProxy<Payload, TConnection> : IFoo<Payload> where TConnection : global::Bond.Comm.IRequestResponseConnection
{
private readonly TConnection m_connection;

Просмотреть файл

@ -15,7 +15,7 @@
namespace tests
{
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public abstract class FooServiceBase<Payload> : IFoo<Payload>, global::Bond.Comm.IService
{
public global::System.Collections.Generic.IEnumerable<global::Bond.Comm.ServiceMethodInfo> Methods

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo<T1, T2>
where T2 : struct
{

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Base
{
[global::Bond.Id(0)]
@ -35,7 +35,7 @@ namespace tests
}
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class Foo
: Base
{

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0500
#if BOND_MIN_CODEGEN_VERSION > 0x0600
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif

Просмотреть файл

@ -18,7 +18,7 @@ namespace test
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class foo
{
[global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable<long>))]

Просмотреть файл

@ -15,7 +15,7 @@
namespace tests
{
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
interface IFoo
{
void foo11Async(global::Bond.Comm.IMessage<global::Bond.Void> param);

Просмотреть файл

@ -15,7 +15,7 @@
namespace tests
{
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public class FooProxy<TConnection> : IFoo where TConnection : global::Bond.Comm.IEventConnection, global::Bond.Comm.IRequestResponseConnection
{
private readonly TConnection m_connection;

Просмотреть файл

@ -15,7 +15,7 @@
namespace tests
{
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public abstract class FooServiceBase : IFoo, global::Bond.Comm.IService
{
public global::System.Collections.Generic.IEnumerable<global::Bond.Comm.ServiceMethodInfo> Methods

Просмотреть файл

@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;
[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.5.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.6.0.0")]
public partial class dummy
{
[global::Bond.Id(0)]