Граф коммитов

1441 Коммитов

Автор SHA1 Сообщение Дата
Jan Dupej e98cfa5024 Updated changelog to include Bond 13.0.2 NuGets. 2024-11-06 16:10:12 +01:00
Christopher Warrington fe482d7a7c
Add notes about March 2025 project shutdown (#1216)
The Bond open-source project will be ending development on March 31,
2025.

Add notes about this to the README and the CHANGELOG.
2024-10-02 13:16:39 -07:00
Jan Dupej b7e0decf2e Update the release date in change log. 2024-10-02 16:38:48 +02:00
Jan Dupej a17b6aba3a
Merge pull request #1214 from microsoft/jandupej/newboost
Add support for Boost 1.83
2024-10-02 16:32:37 +02:00
Jan Dupej 0fa934e91c Updated the change log. 2024-10-02 16:20:18 +02:00
Jan Dupej 7227944779 Fix random number generation. 2024-10-02 16:12:05 +02:00
Jan Dupej 82aefc3993 Add boost 1.83 and vc 14.3 to build CI scripts. 2024-10-02 16:09:54 +02:00
Jan Dupej 4e3a21fb98
Merge pull request #1211 from microsoft/jandupej/net90-fix
Fix compatibility with .NET 9 Preview
2024-10-02 15:50:56 +02:00
Jan Dupej d306ca132f Updated changelog. 2024-10-02 15:50:08 +02:00
Jan Dupej a90a80abd8 Merge branch 'master' into jandupej/net90-fix 2024-10-02 15:31:49 +02:00
Jan Dupej c0fdc49ea5
Merge pull request #1210 from microsoft/jandupej/more-dos-fixes
Fixes for DoS vulnerabilities in C++
2024-10-02 15:28:28 +02:00
Jan Dupej f2cfb4aca2 Updating change log with msvc 14.0 information. 2024-10-02 15:27:12 +02:00
Jan Dupej 5310764e30 Translating exception types in capped_allocator tests. 2024-10-01 15:03:31 +02:00
Jan Dupej 359ecf1f6f Adding missing constexpr if 2024-10-01 13:34:44 +02:00
Jan Dupej 5a55c8f215 Fix compatibility with net9.0 2024-10-01 11:14:27 +02:00
Jan Dupej d91dfdc804 Improving compatibility with gcc and clang. 2024-10-01 09:02:59 +02:00
Jan Dupej 01410ca670 Adding versions to changelog 2024-09-30 15:18:40 +02:00
Jan Dupej 72e6561b62 Merge branch 'master' into jandupej/more-dos-fixes 2024-09-30 12:41:58 +02:00
Jan Dupej ae061fda44
Merge pull request #1205 from StephanTLavavej/avoid-deprecated-stdext-iterators
Avoid `stdext::checked_array_iterator` for modern MSVC
2024-09-30 11:12:56 +02:00
Jan Dupej d3e740c2b3 Adding more fixes for DoS-able security issues. Adding unit tests for the same. 2024-09-27 11:34:29 +02:00
Jan Dupej a0a1c7f031
Merge pull request #1208 from microsoft/jandupej/v11-info
Update changelog for version 11.0.0
2024-06-27 09:41:20 +02:00
Jan Dupej 9be7bef040 Adding 11.0.0 information 2024-06-26 18:52:19 +02:00
Jan Dupej 4e930824b9
Merge pull request #1207 from microsoft/jandupej/dos-fixes
Various fixes for DoS vulnerabilities.
2024-06-26 18:38:31 +02:00
Jan Dupej 8cbee0c851 Fixing cs CI paths. 2024-06-26 11:18:47 +02:00
Jan Dupej 3f6cdbeb03 Various fixes for DoS vulnerabilities. 2024-06-26 10:15:10 +02:00
Stephan T. Lavavej 778add6375 Avoid `stdext::checked_array_iterator` for modern MSVC. 2024-04-29 14:20:25 -07:00
Enioluwa Segun b13fee1b76
[c#] Add support for System.Collections.Immutable collections
Co-authored-by: Christopher Warrington <chwarr@microsoft.com>
2022-11-30 09:18:08 -08:00
Christopher Warrington 39d23f7c8b
[ci] Revert happy install workaround (#1174)
CI builds are failing with linker errors trying to install happy. This
workaround no longer appears to be needed.

Remove the manual install step.
2022-11-30 00:34:46 -05:00
Tom Tan e02fd28ee3
[doc] Fix missing cmake call in build instruction for Linux and macOS 2022-09-13 17:09:10 -07:00
microsoft-github-policy-service[bot] ab046e8687
Add Microsoft SECURITY.MD
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Christopher Warrington <chwarr@microsoft.com>
2022-08-31 16:19:33 -07:00
Eduardo Salinas 79de73c0a7
[ci] update ci to use ubuntu 18 (#1148) 2022-05-24 21:22:38 -04:00
Eduardo Salinas 25d8d08467
[ci] fix readme command
Deleted . by mistake
2022-04-29 10:22:53 -04:00
Eduardo Salinas b9d6ae1d9b
[ci] Update Dockerfile to use Ubuntu 18.04 instead of 16.04
Also add parameter to pick specific versions of Ubuntu.
2022-04-28 16:07:41 -07:00
Christopher Warrington e6a1a8fda7
[doc] Use "field id" phrasing in schema evolution
The schema evolution documentation refers to "field ordinals", which is
terminology that may not be familiar to all users of Bond.

Refer to "field ordinals" as "field ordinals/ids" in schemea evolution
and compiler documentation.

Add minor clarification and emphasize around when default values are
optional or required.
2022-03-23 16:35:39 +01:00
Christopher Warrington 81b2ef0f63
[c++] [c#] [grpc] Delete Bond-over-gRPC code
Bond-over-gRPC is no longer supported.

Delete the Bond-over-gRPC code. Leave the Bond-over-gRPC documentation
for now so that anyone using the current version of Bond can still
reference it.

* Remove C++ and C# gRPC library code, tests, examples, and glue code.
* Remove support for gRPC codegen. gbc can still parse service
  definitions and emit them in JSON ASTs.
* Remove gRPC submodule.
* Remove gRPC-specific CI builds.
* Revise README.

See https://github.com/microsoft/bond/issues/1131
2022-03-08 15:59:40 -08:00
Christopher Warrington d9fe6eca84 Update NuGet tests to 10.0.0 2022-03-07 12:47:33 -08:00
Christopher Warrington d2d5304e53 Prep for 10.0 release 2022-03-07 10:22:39 -08:00
Christopher Warrington ae701a7345
[linux] Bump CI image to one built 2022-03-07 2022-03-07 10:09:58 -08:00
Christopher Warrington b1e6bbc4ed
[java] Pin to Gradle 6
The Java Gradle files use Gradle 6 features, like `maven`. Newer
versions of Gradle do not support this.

Pin to Gradle 6 until this can be reworked.
2022-03-07 08:55:44 -08:00
Christopher Warrington 9c2e4dd5dd
[c#] Refer to $(EnableDefaultItems) in dup codegen error
The "Duplicate BondCodegen items were included" error message says that
the `$(EnableDefaultCompileItems)` property can be set to false to stop
automatic inclusion. The automatic inclusion behavior is conditioned on
the `$(EnableDefaultItems)` property, not
`$(EnableDefaultCompileItems)`.

Revise the error message to mention `$(EnableDefaultItems)`.

Fixes https://github.com/microsoft/bond/issues/1110
2022-02-25 11:17:22 -08:00
Christopher Warrington 80343e4402
[c#] Use https apt source to fetch mono
The Mono apt source has started redirecting to https. The CI image
Dockerfile wasn't installing the needed components to have apt connect
over https.

Install the missing components. Use an explicit https source instead of
relying on the redirection.
2022-02-25 08:54:21 -08:00
Christopher Warrington 4ea1574809
[c++][c#][grpc] Deprecate Bond-over-gRPC
Microsoft ceased its direct investment in Bond-over-gRPC in December
2021. GitHub issue [#1131, Bond-over-gRPC will be deprecated February
2022][1], outlines a two-step removal process should no one in the
community be interested in maintaining Bond-over-gRPC:

1. mark Bond-over-gRPC as deprecated in February 2022 and
2. delete the Bond-over-gRPC code in May 2022.

No one in the community has expressed an interest in maintaining
Bond-over-gRPC.

Mark the Bond-over-gRPC code as deprecated using the `[[deprecated]]`
attribute in C# and the `[Obsolete]` attribute in .NET, implementing
step 1.

* Add suppressions for the new errors this generates in test and example
  code.
* Remove the weekly gRPC master branch build: it has been failing since
  April 2021. Fixes https://github.com/microsoft/bond/issues/1108
* Add note about deprecation in documentation.
* Minor usability improvements to the Install-Boost.ps1 script.

[1]: https://github.com/microsoft/bond/issues/1131
2022-02-23 09:24:46 -08:00
Sumit Bhardwaj 48dfc05838
[c++] Fix multiple symbol definition for Win32Exception
`bond::ext::grpc::detail::Win32Exception` is not marked inline which could
lead to multiple symbol definition.

Mark that function inline.

Fixes https://github.com/microsoft/bond/issues/1129
2021-10-18 15:46:01 -07:00
smichtch 3cf8f7159c
[c#] Add OutputBuffer virtual resize buffer method
`OutputBuffer` always uses `new byte[]` to create/resize its internal
buffer. Implementing a custom `IOutputBuffer` that uses a different
allocation scheme requires duplicating a lot of code in `OutputBuffer` and
`IntegerHelper`.

Add a virtual method `OutputBuffer.ResizeBuffer` that can be overridden to
use buffer allocators other than `new byte[]` (e.g.
`ArrayPool<byte>.Rent()`)
2021-10-12 08:46:29 -07:00
Christopher Warrington 2fab213061
Indicate C++ minor version bump needed
The ability to apply a transform without an object is new functionality.

Indicate this via a minor version bump.
2021-09-24 15:44:01 -07:00
Artem Tokmakov 6ae49479f3
[c++] Fixing more missing headers
Co-authored-by: Artyom Tokmakov <artyomt@microsoft.com>
2021-09-24 14:46:30 -04:00
Ara Ayvazyan 76002fa99c
[c++] Add an ability to apply transform to a schema
Transforms over schemas without an underlying object are useful in some
advanced uses of Bond.

Add the ability to apply a transform to a schema without an object.

Fix undefined behavior when initializing SchemaDef instances.
2021-09-23 20:48:18 -07:00
Ara Ayvazyan 5a3d53bd33
[c++] Specify blob's non-throwing functions with noexcept 2021-09-23 20:45:37 -07:00
Ara Ayvazyan 5f2b18ce7d
[c++] Remove unnecessary blob::_content member
Reduces size of bond::blob by a pointer.
2021-09-23 17:53:49 -04:00
Artem Tokmakov 7bd4f804d8
[c++] Fix missing include directives
Some public headers like `bond/core/reflection.h` or `bond/core/value.h` are assuming that specific headers are already included. This change fixes some of the missing include directives that allows these to be included directly.
2021-09-20 15:57:35 -07:00