Skip to content
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

Pre-release v0.6.0 #223

Merged
merged 36 commits into from
Mar 5, 2020
Merged

Pre-release v0.6.0 #223

merged 36 commits into from
Mar 5, 2020

Conversation

marktwtn
Copy link
Collaborator

@marktwtn marktwtn commented Mar 5, 2020

No description provided.

marktwtn and others added 30 commits October 4, 2019 00:11
The original ddprintf() function name is changed to the similar function
log_debug() in entangled.
The implementation is unchanged since the dcurl does not integrate with
the logger project used by entangled.
Currently dcurl has its own implementation.

For unification, the logger_id_t logger_id parameter of log_debug() is added
and assigned with 0.

And there is a new log function log_info() for release mode.

Close #180.
refactor: Change log function for unification with entangled
The detected and fixed errors list:
- Assign a value that is never used
- Reassign a value before the old one has been used
- The scope of the variable can be reduced
- The behaviour of using void pointers in calculations is undefined
- Uninitialized variable
- Shadow variables

The file cppcheck_suppress suppresses the errors which should not be
treated as errors.
The reason is written in the file.

The sanitizer.mk is renamed as dynamic-analysis.mk.
And there is another file static-analysis.mk for static code analysis.

Related to #173.
The detected and fixed errors are:
- Memory leak
- Null pointer dereference

Close #173.
CI: Integrate Infer and fix detected errors
The functions of local and remote interface should be unified
to keep consistency.

The modification includes function unification and adding the hardware
to the candidate list if the initialization is success.
If the remote interface is not initialized succesfully, the other
hardwares would be used to calculate PoW.
The checking mechanism is based on the record in the initiailzation
phase.

Close #186.
CI: Build with arm64 CPU on Travis CI
The source code files are renamed to the same format.
The word 'accel' is removed from the files and variables naming.
refactor: Rename files and FPGA related variables
Declare queue in the remote worker source code to avoid queue missing
error when the new RabbitMQ broker is created and the remote worker
is activated right after it.

Close #209.
Besides the source code unification, the related document is added
for the naming convention details.

Close #207.
fix: Add brackets to avoid unexpected macro behavior
Use the CppCheck --inline-suppr option to suppress the detected
warnings by adding the corresponding comment in the source code.
The previous method needs to specify the source code line number
in the suppression file, which is less flexible to maintain.

Close #215.
CI: Suppress CppCheck warning with --inline-suppr option
docs: Update dcurl performance data
jserv and others added 6 commits February 15, 2020 10:43
docs: Add the steps of setting MAC address of DE10-Nano
refactor: Replace port number with pre-defined macro
The dcurl_init API can pass a pointer to enable initialization
configuration.
Currently it only sets the hostname of the broker.
If the passed pointer is NULL, the pre-defined default value would be used.

The API document description and the test cases are modified as well.

Close #220.
feat: Change dcurl_init API to enable initialization configuration
@conventional-release-bot
Copy link

conventional-release-bot bot commented Mar 5, 2020

v0.6.0

🎉 New Features

  • Use other hardwares if remote interface fails to initialize (6681f54) by marktwtn
  • Change dcurl_init API to enable initialization configuration (227974d) by marktwtn

🐛 Bug Fixes

  • Avoid queue missing error (9d1a6d2) by marktwtn
  • Add brackets to avoid unexpected macro behavior (c33068f) by marktwtn

0.5.0...v0.6.0

@jserv jserv self-requested a review March 5, 2020 15:20
@marktwtn marktwtn merged commit 3eb853f into master Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants