-
Notifications
You must be signed in to change notification settings - Fork 94
Update libdivecomputer from Upstream. #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mikeller
merged 41 commits into
subsurface:Subsurface-DS9
from
mikeller:update_from_upstream_202506
Jun 10, 2025
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
8b60a48
Wait longer before retrying and ignore invalid bytes
jefdriesen b0c48cc
Add support for the Halcyon Symbios
mikeller c837b16
Remove some unused variables
jefdriesen 11da5a0
Use the GCC unused attribute to silence warnings
jefdriesen 9e94df6
Remove the duplicated C_ARRAY_SIZE macros
jefdriesen 46a7583
Replace the dc_descriptor_iterator function
jefdriesen c6acdf3
Mark the descriptor parameter as const
jefdriesen 9442528
Check the descriptor transport in the filter
jefdriesen be0eb79
Remove the rfcomm filter function
jefdriesen e141872
Select a bluetooth enabled model as the default
jefdriesen 043face
Verify the checksum in the dive header
jefdriesen e29f5d9
Read the model number for diagnostics purposes
jefdriesen ddbc8b5
Add support for the Puck Lite
jefdriesen 7eb0cc5
Limit the size of the fingerprint to 4 bytes
jefdriesen fd11873
Include the fingerprint data in the logs
jefdriesen 38fffb1
Ignore zero pressure values
jefdriesen 93a885d
Add support for the average depth
jefdriesen f0473f5
Fix the decoding of the temperature
jefdriesen 3a4afdf
Fix the active gasmix detection
jefdriesen e2ad016
Use a layout descriptor with a generic decode function
jefdriesen 10ab01d
Read the payload and trailer byte separately
jefdriesen 6944956
Add support for the Cressi Archimede
jefdriesen b7aa89b
Add support for time synchronization
jefdriesen eae0fa2
Add extra debug information to the log
jefdriesen aa121f8
Add support for a new Sirius header version
jefdriesen 09051a7
Fix the name of the include guard
jefdriesen b9f7745
Fix the ppO2 scaling factor
jefdriesen 18c3074
Link the tank to the corresponding gas mix
jefdriesen a696627
Add support for new record types
jefdriesen 31ab5b0
Update the filter function
jefdriesen 31275f5
Change the order of the functions
jefdriesen 5edc563
Rename the prefix functions
jefdriesen 68a8c2a
Use a case-insensitive comparision
jefdriesen 9e46a34
Add support for a new Cressi Nepto firmware
jefdriesen 0c98248
Fix the Cressi Nepto filter function
jefdriesen 7a405fd
Always initialize all fields to zero
jefdriesen 3002287
Fix the deco stop depth scaling factor
jefdriesen dfb8fae
Report the device model number
jefdriesen 1254cb7
Detect NAK response packets
jefdriesen 9d8a318
Ignore invalid start bytes
jefdriesen 6dbb648
Add support for the Seac Tablet
jefdriesen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backward compatibility macro may obscure the behavior of the updated function. Consider adding a comment to clarify its intended use or reevaluate its necessity.
Copilot uses AI. Check for mistakes.