Skip to content

Commit 26c4ada

Browse files
committed
Merge branch 'master' into fix-python-warnings
2 parents 94ee2f4 + 1451121 commit 26c4ada

File tree

18 files changed

+66
-47
lines changed

18 files changed

+66
-47
lines changed

.clang-format

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ PenaltyExcessCharacter: 1000000
9393
PenaltyReturnTypeOnItsOwnLine: 200
9494
PointerAlignment: Left
9595
RawStringFormats:
96-
- Delimiter: pb
96+
- Language: Cpp
97+
Delimiters:
98+
- pb
9799
Language: TextProto
98100
BasedOnStyle: google
99101
ReflowComments: true

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## [v6.3.1](https://github.com/swift-nav/libsbp/tree/v6.3.1)
4+
5+
[Full Changelog](https://github.com/swift-nav/libsbp/compare/v6.3.0...v6.3.1)
6+
7+
**Merged pull requests:**
8+
9+
- Update to kaitaistruct 0.11 [\#1518](https://github.com/swift-nav/libsbp/pull/1518) ([dgburr](https://github.com/dgburr))
10+
- Fix dependabot SONAR\_TOKEN [\#1517](https://github.com/swift-nav/libsbp/pull/1517) ([sbmueller](https://github.com/sbmueller))
11+
- Update rules\_swiftnav [\#1516](https://github.com/swift-nav/libsbp/pull/1516) ([martin4861](https://github.com/martin4861))
12+
- Update to Bazel 8 [\#1515](https://github.com/swift-nav/libsbp/pull/1515) ([martin4861](https://github.com/martin4861))
13+
- Auto submodule update: cmake - Fix compiler errors from check third-party dependency on Windows \(\#188\) [\#1514](https://github.com/swift-nav/libsbp/pull/1514) ([swiftnav-svc-jenkins](https://github.com/swiftnav-svc-jenkins))
14+
- Update check [\#1513](https://github.com/swift-nav/libsbp/pull/1513) ([martin4861](https://github.com/martin4861))
15+
- Update to C++17 \[\#1512](https://github.com/swift-nav/libsbp/pull/1512) ([sbmueller](https://github.com/sbmueller))
16+
- Update rules\_foreign\_cc [\#1511](https://github.com/swift-nav/libsbp/pull/1511) ([martin4861](https://github.com/martin4861))
17+
- Auto submodule update: cmake - Default C++/C version for all swift targets \(\#187\) [\#1510](https://github.com/swift-nav/libsbp/pull/1510) ([swiftnav-svc-jenkins](https://github.com/swiftnav-svc-jenkins))
18+
- Apply new cargo fmt rules & remove deprecated actions [\#1509](https://github.com/swift-nav/libsbp/pull/1509) ([pcrumley](https://github.com/pcrumley))
19+
- rust: add Frome\<Frame\> impls for Bytes/BytesMut [\#1508](https://github.com/swift-nav/libsbp/pull/1508) ([notoriaga](https://github.com/notoriaga))
20+
- Add clone to sbp frame in rust [\#1507](https://github.com/swift-nav/libsbp/pull/1507) ([tzilist](https://github.com/tzilist))
21+
- update rust deps [\#1505](https://github.com/swift-nav/libsbp/pull/1505) ([tzilist](https://github.com/tzilist))
22+
323
## [v6.3.0](https://github.com/swift-nav/libsbp/tree/v6.3.0)
424

525
[Full Changelog](https://github.com/swift-nav/libsbp/compare/v6.2.2...v6.3.0)

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# This describes an image that should be able to generate libsbp bindings.
1212
# See the README.md for instructions on how to use it.
1313

14-
ARG UBUNTU_RELEASE=focal
14+
ARG UBUNTU_RELEASE=jammy
1515

1616
FROM ubuntu:${UBUNTU_RELEASE}
1717

@@ -23,8 +23,8 @@ ARG DEBIAN_FRONTEND=noninteractive
2323
ENV NODE_VERSION=v22.13.1
2424
ENV JAVA_VERSION=11.0.11.hs-adpt
2525
ENV GRADLE_VERSION=7.1.1
26-
ENV CC=gcc-7
27-
ENV CXX=g++-7
26+
ENV CC=gcc-10
27+
ENV CXX=g++-10
2828

2929
ENV RUSTUP_HOME=/rust
3030
ENV CARGO_HOME=/cargo
@@ -77,15 +77,15 @@ RUN \
7777
doxygen \
7878
graphviz \
7979
imagemagick \
80-
enchant \
81-
clang-format-6.0 \
80+
enchant-2 \
81+
clang-format-11 \
8282
python3 python3-dev python3-distutils \
8383
python3.9 python3.9-dev python3.9-distutils \
8484
python3.10 python3.10-dev python3.10-distutils \
8585
python3.11 python3.11-dev python3.11-distutils \
8686
dpkg-dev \
87-
cmake-data=3.16.3-1ubuntu1.20.04.1 \
88-
cmake=3.16.3-1ubuntu1.20.04.1 \
87+
cmake=3.22.1-1ubuntu1 \
88+
cmake-data=3.22.1-1ubuntu1 \
8989
libjson-perl \
9090
libdigest-crc-perl \
9191
&& curl -sSL https://get.haskellstack.org/ | sh \
@@ -131,9 +131,9 @@ RUN \
131131
# install perl runtime for kaitai struct
132132
RUN \
133133
cd /tmp \
134-
&& curl -LO https://github.com/kaitai-io/kaitai_struct_perl_runtime/archive/refs/tags/0.10.zip \
135-
&& unzip 0.10.zip \
136-
&& cd kaitai_struct_perl_runtime-0.10 \
134+
&& curl -LO https://github.com/kaitai-io/kaitai_struct_perl_runtime/archive/refs/tags/0.11.zip \
135+
&& unzip 0.11.zip \
136+
&& cd kaitai_struct_perl_runtime-0.11 \
137137
&& perl Makefile.PL \
138138
&& make install \
139139
&& rm -rf /tmp/*

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ else
109109
endif
110110

111111
verify-prereq-c: verify-prereq-generator
112-
@command -v clang-format-6.0 1>/dev/null 2>/dev/null || { echo >&2 -e "I require \`clang-format-6.0\` but it's not installed. Aborting.\n\nHave you installed clang-format-6.0? See the C readme at \`c/README.md\` for setup instructions.\n"; exit 1; }
112+
@command -v clang-format-11 1>/dev/null 2>/dev/null || { echo >&2 -e "I require \`clang-format-11\` but it's not installed. Aborting.\n\nHave you installed clang-format-11? See the C readme at \`c/README.md\` for setup instructions.\n"; exit 1; }
113113
@command -v checkmk 1>/dev/null 2>/dev/null || { echo >&2 -e "I require \`checkmk\` but it's not installed. Aborting.\n\nHave you installed checkmk? See the C readme at \`c/README.md\` for setup instructions.\n"; exit 1; }
114114
@command -v cmake 1>/dev/null 2>/dev/null || { echo >&2 -e "I require \`cmake\` but it's not installed. Aborting.\n\nHave you installed cmake? See the C readme at \`c/README.md\` for setup instructions.\n"; exit 1; }
115115
@command -v pkg-config 1>/dev/null 2>/dev/null || { echo >&2 -e "I require \`pkg-config\` but it's not installed. Aborting.\n\nHave you installed pkg-config? See the C readme at \`c/README.md\` for setup instructions.\n"; exit 1; }

c/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@ with no dependencies other than the standard C libraries.
88

99
## Installation
1010

11-
On Debian-based systems (including Ubuntu 12.10 or later) you can get
11+
On Debian-based systems (including Ubuntu 22.04 or later) you can get
1212
dependencies with:
1313

1414
```shell
15-
sudo apt-get install build-essential pkg-config cmake doxygen check clang-format-6.0
15+
sudo apt-get install build-essential pkg-config cmake doxygen check clang-format-11
1616
```
1717

1818
On Mac:
1919

2020
```shell
21-
brew tap swift-nav/swift-devs
22-
brew install check cmake pkg-config doxygen clang-tools-6.0
21+
brew install check cmake pkg-config doxygen clang-format@11
2322
```
2423

2524
On other systems, you can obtain CMake from your operating system
@@ -57,6 +56,6 @@ https://github.com/swift-nav/sbp_tutorial.
5756

5857
## LICENSE
5958

60-
Copyright © 2015-2021 Swift Navigation
59+
Copyright © 2015-2025 Swift Navigation
6160

6261
Distributed under MIT.

c/include/libsbp/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
/** Protocol minor version. */
2626
#define SBP_MINOR_VERSION 3
2727
/** Protocol patch version. */
28-
#define SBP_PATCH_VERSION 0
28+
#define SBP_PATCH_VERSION 1
2929

3030
/** Full SBP version string. */
31-
#define SBP_VERSION "6.3.1-alpha"
31+
#define SBP_VERSION "6.3.2-alpha"
3232

3333
/** Is this a staging branch? */
3434
#define SBP_STAGING 0

c/scripts/clang-format.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33
set -e -x
44
# This only reformats the generated headers and tests
55
# as it is introduced as part of fixing the docs,
6-
# and clang-format-6 would otherwise cause regressions
6+
# and clang-format-11 would otherwise cause regressions
77
# in the Google style of hand-written code.
88
GENERATED_HEADERS=$(grep -rl --include="*.h" "Automatically generated" include/libsbp/* src/)
99
GENERATED_C_SOURCES=$(grep -rl --include="*.c" "Automatically generated" src/)
10-
CLANG_FORMAT=clang-format-6.0
10+
CLANG_FORMAT=clang-format-11
1111
$CLANG_FORMAT -i $GENERATED_HEADERS $GENERATED_C_SOURCES test/*.c test/*.h test/auto* test/cpp/auto*
12-
13-
# clang-format-6 adds whitespace to blank lines inside comments
14-
sed -i.bak 's/^ *$//' $GENERATED_HEADERS
15-
rm ${GENERATED_HEADERS//.h/.h.bak}

docs/sbp.pdf

-16 Bytes
Binary file not shown.

generator/sbpg/targets/resources/rust/sbp2json_cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ categories = ["parsing"]
1818
keywords = ["encoding", "parsing"]
1919

2020
[dependencies.sbp]
21-
path = "../sbp" # TODO: replace with published `sbp` crate version
21+
path = "../sbp" # TODO: replace with published `sbp` crate version
2222
features = ["json", "float_roundtrip"]
2323

2424
[dependencies]
@@ -44,9 +44,6 @@ predicates-core = "=1.0.3"
4444
serde_json = "1.0.82"
4545
assert-json-diff = "2.0"
4646

47-
[profile.release]
48-
lto = true
49-
codegen-units = 1
5047

5148
[lib]
5249
name = "converters"

generator/sbpg/targets/resources/rust/sbp_cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ authors = ["Swift Navigation <[email protected]>"]
1313
repository = "https://github.com/swift-nav/libsbp"
1414
license = "MIT"
1515
categories = ["parsing"]
16-
edition = "2018"
16+
edition = "2024"
1717
keywords = ["encoding", "parsing"]
1818
readme = "../../README.md"
1919

@@ -29,37 +29,37 @@ link = ["slotmap"]
2929
path = "src/lib.rs"
3030

3131
[dependencies]
32-
bytes = "1"
32+
bytes = "1.10.1"
3333
crc16 = "0.4"
34-
log = "0.4"
34+
log = "0.4.28"
3535

3636
[dependencies.swiftnav]
3737
version = "0.10"
3838
optional = true
3939

4040
[dependencies.slotmap]
41-
version = "1"
41+
version = "1.0.7"
4242
optional = true
4343

4444
[dependencies.serde]
45-
version = "1"
45+
version = "1.0.228"
4646
features = ["derive"]
4747
optional = true
4848

4949
[dependencies.serde_json]
50-
version = "1"
50+
version = "1.0.145"
5151
optional = true
5252

5353
[dependencies.serde-big-array]
54-
version = "0.4"
54+
version = "0.5.1"
5555
optional = true
5656

5757
[dependencies.base64]
58-
version = "0.13"
58+
version = "0.22.1"
5959
optional = true
6060

6161
[dependencies.futures]
62-
version = "0.3"
62+
version = "0.3.31"
6363
optional = true
6464

6565
[dependencies.dencode]

0 commit comments

Comments
 (0)