History log of /openbmc/slpd-lite/ (Results 1 – 25 of 36)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
99f391ba20-Oct-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: Icef58e8de2e3ca88ee29c81073d65e90c1cf7aea
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

77350e1212-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: I39907e0cac91ca4d4001d

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: I39907e0cac91ca4d4001da65b1e6a27005389840
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

16424ed310-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I8c35a35b4491e5c42b9c1c4ac6c6c8ee35951aab
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

55aac8e104-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

build: remove autotools support

Change-Id: I84969d1cd703364a05c513a47f124cdf003ef6be
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

43dc41fb04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

build: add meson support

Change-Id: Id426d32b63d5cdeb2b5fcbac9fc6d29d5d0e4a97
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

f191bd8f04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

slp_parser: fix missing-field-initializers warnings

By attempting to pass a single field value into the Message,
the implication is that the other fields are non-initialized, due
to list-initializat

slp_parser: fix missing-field-initializers warnings

By attempting to pass a single field value into the Message,
the implication is that the other fields are non-initialized, due
to list-initialization rules. Remove the first `0` parameter, so
that the default initialization is done.

Change-Id: If85a39c8c34299ec508edd888c052f622a463770
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

3964d55204-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

main: fix 'unused-parameter' warnings

Change-Id: I4412ff1707fca77556ca8e3a1b15f912f32f8213
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

edf88cb204-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

error: fix handling of error codes

GCC correctly warning as follows:

```
inlined from ‘slp::buffer slp::handler::processError(const slp::Message&, uint8_t)’ at slp_message_handler.cpp:363:16:
/

error: fix handling of error codes

GCC correctly warning as follows:

```
inlined from ‘slp::buffer slp::handler::processError(const slp::Message&, uint8_t)’ at slp_message_handler.cpp:363:16:
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_algobase.h:431:30: warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ reading 2 bytes from a region of size 1 [-Wstringop-overread]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
slp_message_handler.cpp: In function ‘slp::buffer slp::handler::processError(const slp::Message&, uint8_t)’:
slp_message_handler.cpp:358:49: note: source object ‘err’ of size 1
```

We were taking the address of a `uint8_t` and copying two bytes of it.

The original code was not correct anyhow because it used a static
OFFSET_ERROR constant. The location of errors is not constant because
it depends on the length of the language tag. Modify the code to
correctly place the 1 byte error type into the 2nd byte of the error
field, which is calculated as immediately after the language tag.

Change-Id: I1bee6bdb1b6301403cf1dff319641587c683f799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

b422c55a04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

MAINTAINERS: remove file

The MAINTAINERS file is deprecated in favor of OWNERS.

Change-Id: I5bd8e8622b6e17c134c46d358f118ad79aaa6b1b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


2d00c78004-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

OWNERS: switch 'matches' to 'matchers'

The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have

OWNERS: switch 'matches' to 'matchers'

The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have the correct field.

Change-Id: Ic42d189b183ee8f632c48be15846ceb2a089db00
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

f93142e804-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

configure: make SERVICE_DIR static

There is really no value in making this a configuration option since
nobody modifies it anywhere. Remove the configuration to simplify.

Change-Id: Ia36d5b45a7942

configure: make SERVICE_DIR static

There is really no value in making this a configuration option since
nobody modifies it anywhere. Remove the configuration to simplify.

Change-Id: Ia36d5b45a7942c2f26f039b194f10fa5d08aa13c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

aa902c6e04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: update with latest

Change-Id: I9550e13176264c875ac6bb52b18c70cc7e52197a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

0757597b04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

prettier: reformat markdown

Change-Id: Ie725617155f5c5978ca9acc697a391138c11c4fb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

a867f3f204-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

bootstrap: fix shellcheck warnings

Change-Id: I277b84c709d1a6c313f6df1b8f1351d8cb82d478
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

ef078cd023-Oct-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Add OWNERS file

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I611927506d9ccca2a581c6907b690764e680a244

ee12f48f26-Oct-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Update .clang-format file & clang-format-12 changes

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I05355ef921725a8e36e49d5677d87b0424ca8230

a592888301-Nov-2018 Patrick Venture <venture@google.com>

Add gitignore to repo

Add .gitignore to repo.

Change-Id: I1a8bcfd2d5c79aab3d12a359094e77c909b62fcd
Signed-off-by: Patrick Venture <venture@google.com>

537ff14001-Nov-2018 Patrick Venture <venture@google.com>

add clang-format to repo for style

Add .clang-format to repo for style.

Change-Id: I286b3b245550d6a736d7df797f0ce21b51d7a235
Signed-off-by: Patrick Venture <venture@google.com>

54d4731429-Oct-2018 Patrick Venture <venture@google.com>

build: bump to use c++17

Bump build to use c++17.

Change-Id: If75df125e900871151d3e723b0580e94063a6e28
Signed-off-by: Patrick Venture <venture@google.com>

edd1302029-Oct-2018 Patrick Venture <venture@google.com>

build: set language to C++

Set the language in the build to C++.

Change-Id: I519cecba1e751625734c2bcd3c6a93fbe2f69470
Signed-off-by: Patrick Venture <venture@google.com>

1f12e38013-Jun-2018 Gunnar Mills <gmills@us.ibm.com>

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: I2a2cf

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: I2a2cf8b85dc24b4f109e05ed176d1e24bc8717cc
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

8146a05518-May-2018 Andrew Jeffery <andrew@aj.id.au>

Add MAINTAINERS file

Change-Id: Iea0c4d4df1643f150a89cccece4ded6f5115e96c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

b5e632a123-Feb-2018 Brad Bishop <bradleyb@fuzziesquirrel.com>

Fix switch-unreachable bug

Move a debug print out of a switch statement body to avoid
[-Wswitch-unreachable] compiler warnings.

Change-Id: Idab511a24c7a53a3f5de5fdd685bd440db864b8a
Signed-off-by: B

Fix switch-unreachable bug

Move a debug print out of a switch statement body to avoid
[-Wswitch-unreachable] compiler warnings.

Change-Id: Idab511a24c7a53a3f5de5fdd685bd440db864b8a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

7435de0423-Feb-2018 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add missing functional include

std::function is not found with a GCC 7.2 runtime.

Change-Id: I313895d1398ca69f879c435ef211a3e2e3edecbd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

908dee3d21-Mar-2017 Ratan Gupta <ratagupt@in.ibm.com>

Remove unnecessary logs

Change-Id: Ib537f58bc7d5ec5efdada2243952bb868d99ffa1
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

12