Commit 42b1e19
authored
Remove legacy C API [AP-1684] (#1404)
# Removal Warning
This PR will be merged on **8/4/2024**. On this date the legacy C API
will become unavailable, it will not be reintroduced. On or shortly
after this date libsbp version v6.0.0 will be tagged and released
# Description
@swift-nav/devinfra
Remove legacy C API including all generated code, examples, templates,
and sbpg module.
Remove all references to "v4" API which were lying around in a handful
of places. There is no such thing as the V4 API any more, there is just
the libsbp API
# API compatibility
Yes
Legacy C API completely removed including:
- Any message types in the form `struct msg_xxx_t`
- Functions relating to sending or processing encoded payloads or frames
- payload and frame callback types
- `#define`s message types - in the form `SBP_MSG_XXX`
- C++ `LegacyState` wrapper
- All files under the `libsbp/legacy` directory
- V4 compatibility headers for modern API in `libsbp/v4/<package.h>`
## API compatibility plan
The modern API was introduce to this repository in Sep 2021. The legacy
API was retained but all symbols were marked as deprecated and compile
time messages were output by GCC and Clang whenever a legacy header was
used
In Dec 2023 the legacy was moved to a more difficult to access place. It
was no longer accessible simply by include `libsbp/sbp.h` All headers
were retained but even more compile time messages were added indicating
that these files would be deleted in the next major version
This PR is the final stage of the deprecation plan. Any users of this
repository should have already converted their code to use the moden
API.
# JIRA Reference
https://swift-nav.atlassian.net/browse/AP-16841 parent faba77a commit 42b1e19
File tree
1,222 files changed
+32259
-307235
lines changed- c
- examples
- legacy
- cpp_example
- example
- tcp_2sigma_example
- tcp_example
- include/libsbp
- acquisition
- bootload
- ext_events
- file_io
- flash
- gnss
- imu
- integrity
- legacy
- cpp
- linux
- logging
- mag
- ndb
- observation
- orientation
- piksi
- profiling
- sbas
- settings
- signing
- solution_meta
- ssr
- system
- telemetry
- tracking
- user
- v4
- vehicle
- scripts
- src
- include/libsbp/internal
- test_package
- test
- cpp
- legacy
- cpp
- json_data
- sbp_data
- generator/sbpg
- targets
- resources/c
- include/libsbp
- cpp
- legacy
- cpp
- package
- v4
- src
- test
- legacy
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,222 files changed
+32259
-307235
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 70 | | |
95 | 71 | | |
96 | 72 | | |
| |||
140 | 116 | | |
141 | 117 | | |
142 | 118 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments