msbit
Repos
72
Followers
9
Following
18

Events

pull request opened
Use feature test to expose `setenv`

As per the man page, setenv requires _POSIX_C_SOURCE >= 200112L to be defined before including the appropriate header file (stdlib.h). As the other included header files include some standard headers transitively, this needs to go above all includes.

Created at 1 day ago
create branch
msbit create branch posix-setenv
Created at 1 day ago
pull request opened
Use float literals for `TEST_FLTEQ`

When using the TEST_FLTEQ macro, pass float literals for the comparision argument, to avoid errors of the form:

error: absolute value function 'fabsf' given an argument of
type 'double' but has parameter of type 'float' which may cause
truncation of value [-Werror,-Wabsolute-value]
                                
Created at 1 day ago
create branch
msbit create branch yargs_test-flteq
Created at 1 day ago
pull request opened
`fread_and_discard` vs `fseek`

It looks like fread_and_discard acts the same as fseek. If so, this will replace calls to fread_and_discard with equivalent calls to fseek ✌️

Created at 1 day ago
create branch
msbit create branch fread_and_discard-vs-fseek
Created at 1 day ago
pull request opened
Avoid possible infinite loop due to chunk ordering

Properly re-read the chunk ID when iterating through subsequent chunks. This avoids an infinite loop in the case where the data chunk doesn't immediately follow the fmt chunk.

Created at 1 day ago
create branch
msbit create branch wav_io_load-chunk-loop
Created at 1 day ago
Created at 1 day ago

Iterate over multiple arguments

Prefix errors with appropriate filename

Created at 1 week ago

Move optional helpers into namespace

Created at 1 week ago

Add clean target

Created at 1 week ago

Add fseek_opt implementation

Created at 1 week ago

Split out rom_t and provide some optional IO helpers

Created at 1 week ago

Formatting

Created at 1 week ago
create branch
msbit create branch master
Created at 1 week ago
create repository
msbit create repository
Created at 1 week ago
delete branch
msbit delete branch app-std-c++14
Created at 2 weeks ago
issue comment
nethogs 0.8.7 build issue

weird though, the CI logs claims it's using Clang 13.1.6 build 1316, and I didn't have to pass any custom switches to support it at least on 13.0.1 (on Linux)

As per https://en.wikipedia.org/wiki/Xcode#Toolchain_versions Clang bundled with the Apple toolchain reports different versions, so (presuming the brew CI parses what c++ --version says) the actual version of Clang is likely around 12.0.0 which may not default to C++14 ✌️

Created at 2 weeks ago
pull request opened
Add `-std=c++14` for application build

To address:

https://github.com/raboof/nethogs/issues/225

add the -std=c++14 flag when building the application.

This then compiles properly with the Apple version of the Clang compiler:

Apple clang version 11.0.0 (clang-1100.0.33.17)

Additionally, this removed some warning noise regarding C++11 extensions used without the appropriate -std=c++11 (or greater) flag:

./process.h:38:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions] connection.cpp:107:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] connection.cpp:108:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] connection.cpp:162:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] connection.cpp:187:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]

Created at 2 weeks ago
create branch
msbit create branch app-std-c++14
Created at 2 weeks ago
Created at 2 weeks ago
push

Provide output directory as argument

Expect and use a third argument as the output directory

Created at 1 month ago
push

Update file handling

Check for existence of already downloaded message, and use hardlinks if the same message ID is found in a different folder

Created at 1 month ago
push

Rearrange

Created at 1 month ago
push

Track items to consider

Created at 1 month ago

Make note of additional support in description

Created at 1 month ago

Support 6-button controllers

Created at 1 month ago
delete branch
msbit delete branch bundle-updates-1653262752
Created at 1 month ago

Dependency updates

Transitive dependencies:

  • chunky_png (1.4.0)
  • rake-compiler (1.2.0)

Merge pull request #9 from msbit/bundle-updates-1653262752

Dependency updates

Created at 1 month ago