<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/RedfishPkg/PrivateLibrary/RedfishLib, branch dependabot/github_actions/actions/github-script-9</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-02-23T21:01:28+00:00</updated>
<entry>
<title>RedfishPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T18:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6181c85fa98fd1ea9e7292ad5390a2ec4f1da318'/>
<id>urn:sha1:6181c85fa98fd1ea9e7292ad5390a2ec4f1da318</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish: Uninit var</title>
<updated>2026-01-21T07:37:01+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-01-16T17:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b734b82ad8b819dd46c38d421e10dcd9475a7121'/>
<id>urn:sha1:b734b82ad8b819dd46c38d421e10dcd9475a7121</id>
<content type='text'>
Fix potentially uninitialized variable in deleteUriFromServiceEx().
Issue identified with VS2022 NOOPT builds for IA32 and X64.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: fix various typos</title>
<updated>2025-11-21T21:49:59+00:00</updated>
<author>
<name>Philipp Schuster</name>
<email>philipp.schuster@cyberus-technology.de</email>
</author>
<published>2025-11-04T07:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=64f9ff1e8c44f4799b0a7a376c766c1a18cad2b9'/>
<id>urn:sha1:64f9ff1e8c44f4799b0a7a376c766c1a18cad2b9</id>
<content type='text'>
Signed-off-by: Philipp Schuster &lt;philipp.schuster@cyberus-technology.de&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: Drop ARM32 Support</title>
<updated>2025-09-25T22:04:10+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-09-15T14:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=470a80094c7bea460cfb66d2b804d7404ada3345'/>
<id>urn:sha1:470a80094c7bea460cfb66d2b804d7404ada3345</id>
<content type='text'>
edk2 is dropping support for the ARM32 architecture. This
commit drops ARM32 code from RedfishPkg. This also drops
irrelevant VALID_ARCHITECTURES comments in infs that are
not arch specific.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/RedfishLib: Fix enum type mismatch</title>
<updated>2025-06-13T15:47:59+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-05-19T20:20:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6c1fd8d56776ca54c2f43b9c94f297320d6424eb'/>
<id>urn:sha1:6c1fd8d56776ca54c2f43b9c94f297320d6424eb</id>
<content type='text'>
Fix enum type mismatch between jansson library and JsonLib.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/RedfishLib: return HTTP headers to caller</title>
<updated>2023-10-26T07:38:01+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2023-10-24T06:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8765f3eb428f86974033215fe08f8d3d85deedae'/>
<id>urn:sha1:8765f3eb428f86974033215fe08f8d3d85deedae</id>
<content type='text'>
Call Ex interface to get HTTP headers and return to caller.

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/libredfish: introduce new interfaces.</title>
<updated>2023-10-26T07:38:01+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2023-10-24T06:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1cbdd6e9ffe19ffde1de13ee680a1e68b2a93d56'/>
<id>urn:sha1:1cbdd6e9ffe19ffde1de13ee680a1e68b2a93d56</id>
<content type='text'>
- Add new interfaces to return HTTP headers back to caller.
New interfaces are: getUriFromServiceEx(), patchUriFromServiceEx(),
postUriFromServiceEx() and putUriFromServiceEx().
- Fix compile error in payload.c

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg/RedfishLib: introduce new interfaces.</title>
<updated>2023-10-26T07:38:01+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2023-10-24T06:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=cf68ff61308843bcd50db9ec1f96a8dcfa541b47'/>
<id>urn:sha1:cf68ff61308843bcd50db9ec1f96a8dcfa541b47</id>
<content type='text'>
Add two new interface: RedfishServiceInPayload() and RedfishPutToUri()
for Redfish HTTP protocol implementation. Fix several typos and add
missing JsonLib in INF file.

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: Use DEBUG_MANAGEABILITY</title>
<updated>2023-05-31T08:42:58+00:00</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@amd.com</email>
</author>
<published>2023-05-30T07:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d15d2667d58d40c0748919ac4b5771b875c0780b'/>
<id>urn:sha1:d15d2667d58d40c0748919ac4b5771b875c0780b</id>
<content type='text'>
Use debug print level DEBUG_MANAGEABILITY in
RedfishPkg.

Signed-off-by: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Reviewed-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: Update code to be more C11 compliant by using __func__</title>
<updated>2023-04-10T14:19:57+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-04-06T19:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=997419d16fcd400d7cfb0dbbc3c37ef1239fb962'/>
<id>urn:sha1:997419d16fcd400d7cfb0dbbc3c37ef1239fb962</id>
<content type='text'>
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.

Since it's more standard, replace __FUNCTION__ with __func__ throughout
RedfishPkg.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
</content>
</entry>
</feed>
