Skip to content

Prepare for v3.0.0 release. #7

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
merged 78 commits into from
Feb 11, 2025
Merged
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
9cd42b0
Switch version to v3.0.0.
ChenPi11 Oct 4, 2023
2fc4d80
Remove function 'iconv', 'encode', 'iconvlist'.
ChenPi11 Oct 4, 2023
ca3c50b
Remove iconv surface, cppp-reiconv will not support `//ZOS_UNIX`.
ChenPi11 Oct 4, 2023
4740bc0
Remove iconv_fallbacks.
ChenPi11 Oct 8, 2023
e08462b
Rename `tests/file_utils.hpp` to `tests/utils.hpp`.
ChenPi11 Oct 8, 2023
feb4ef0
Use `#pragma once` for tests header.
ChenPi11 Oct 8, 2023
2896d67
Optimize test system.
ChenPi11 Oct 9, 2023
f57f887
Remove shiftseq test.
ChenPi11 Oct 19, 2023
1ba6a51
Update test suite.
ChenPi11 Oct 21, 2023
9e4b2fd
Remove 8 symbols(hide 3 ones) and iconvctl requests.
ChenPi11 Oct 21, 2023
5dbbf80
Fix a typo.
ChenPi11 Oct 21, 2023
529eafd
Rename `iconv_string` to `convert`.
ChenPi11 Oct 21, 2023
6a0cdf7
Update usage of `convert`.
ChenPi11 Oct 22, 2023
d3a8adf
Update NLS langmap.
ChenPi11 Oct 22, 2023
ae97ab1
Ignore warnings.
ChenPi11 Oct 28, 2023
ece89be
Add new function `ascii_mbtou16`, `ascii_mbtou32`.
ChenPi11 Oct 28, 2023
94576bc
Use `nullptr` instead of `NULL`.
ChenPi11 Oct 28, 2023
8ec55ce
Update compile options' name.
ChenPi11 Oct 30, 2023
0d8f8cf
Move OSF/1 encodings to general encodings.
ChenPi11 Oct 31, 2023
542f32e
Use `cppp_install_library` for install libraries.
ChenPi11 Nov 5, 2023
b23c061
feat: partially using filesystem apis;
xihale Apr 13, 2024
dc197a2
feat: partially using filesystem apis;
xihale Apr 13, 2024
1c7eae2
Merge pull request #6 from xihale/dev
ChenPi11 Apr 13, 2024
4a5fae0
Add build scripts.
ChenPi11 Nov 6, 2023
aff4dbf
Use Rubisco for project manager.
ChenPi11 Jul 25, 2024
ad439dd
Optimize build scripts.
ChenPi11 Jul 25, 2024
5f6b2da
Move `COPYING` to `LICENSE`.
ChenPi11 Jul 25, 2024
240000c
Enable all encodings everywhere.
ChenPi11 Jul 27, 2024
72988b5
Remove codepage support.
ChenPi11 Jul 27, 2024
ec6ae11
Remove '-' and '_' in the name of the encoding.
ChenPi11 Jul 27, 2024
caf45c3
Add codepage support.
ChenPi11 Jul 28, 2024
eec4962
Fix bugs in building library.
ChenPi11 Jul 28, 2024
2bd5013
Update `Makefile.devel`.
ChenPi11 Jul 28, 2024
1df0d38
Add CPack configuration file.
ChenPi11 Jul 28, 2024
7aa1589
Add `include/cppp/encodings/reiconv.hpp.in`.
ChenPi11 Aug 1, 2024
21ee492
Add `Encoding` class.
ChenPi11 Aug 24, 2024
6268a50
Fix bug which occured in `cppp/encodings/reiconv.hpp` installation.
ChenPi11 Oct 13, 2024
89b3821
Add encodings name checker.
ChenPi11 Oct 25, 2024
0c0d72e
Sync from libiconv: eed6782cbb4651876e3c8b27ea53273f230ee8e2.
ChenPi11 Oct 25, 2024
f17bf03
Sync from libiconv: f017cafc5e65de591d76c9cbd4e2298c42b042a3.
ChenPi11 Oct 25, 2024
8dacf05
Fix test data generation's bug.
ChenPi11 Oct 25, 2024
2af363b
**Simply and roughly** fixed #5.
ChenPi11 Oct 25, 2024
bd33485
Refactored test suites.
ChenPi11 Oct 31, 2024
cc718fe
Optimize tests suites.
ChenPi11 Nov 2, 2024
d8759f4
Refector the lib and provide C and C++ API.
ChenPi11 Nov 3, 2024
8c22553
Add iconv compatibility layer.
ChenPi11 Nov 7, 2024
8691ddb
Remove the charactor that caused warning in GCC.
ChenPi11 Nov 7, 2024
5cb112a
Move all converters to a separate directory.
ChenPi11 Nov 7, 2024
3984ac9
Optimize the project structure.
ChenPi11 Nov 7, 2024
c61d24f
Fix all LSP errors and format the code.
ChenPi11 Nov 9, 2024
28a274c
Unified source codes' comments.
ChenPi11 Nov 9, 2024
2df8507
Unified tests suites source codes' comments.
ChenPi11 Nov 9, 2024
ac61242
Add `//IGNORE` support for iconv compatibility.
ChenPi11 Nov 9, 2024
c333c22
Add benchmark utility.
ChenPi11 Nov 10, 2024
01c6089
Fix compilation errors on MSVC.
ChenPi11 Nov 30, 2024
3aa7c01
Add `locale_charset` definition.
ChenPi11 Dec 22, 2024
2d38ac3
Sync from libiconv: a4c1470b9f603056cb74de97c199802f9dfefb36.
ChenPi11 Dec 22, 2024
e1f8540
Update `.gitignore` after last commit.
ChenPi11 Dec 22, 2024
e4d4f72
Sync from libiconv: ef2f457f0b409da5a682fc3387d7dbeb55147483.
ChenPi11 Dec 22, 2024
92af7a5
Update `.gitignore` after last commit.
ChenPi11 Dec 22, 2024
649be43
Add `locale_charset()` function.
ChenPi11 Jan 17, 2025
a4fa5d7
Add some codepages alias.
ChenPi11 Jan 17, 2025
d4c79b1
Compare buffer but ignore CR and LF.
ChenPi11 Jan 17, 2025
5540f92
Support running tests with qemu-user.
ChenPi11 Jan 18, 2025
007d6fb
Add `TODO` and format `lib/converters/utf32be.h`.
ChenPi11 Jan 18, 2025
68b758d
Add `_CPPP_API` to `locale_charset()` implementation.
ChenPi11 Jan 19, 2025
2e6a8f0
Use `ConvertFlag` to open convertion descriptor.
ChenPi11 Feb 10, 2025
477ca17
Update benchmark utils.
ChenPi11 Feb 10, 2025
29c21ce
Remove the feature of fill the rest of the buffer with `\0` in `reico…
ChenPi11 Feb 10, 2025
fe5611b
Implement `reiconv_version` for C API.
ChenPi11 Feb 10, 2025
441aa93
Add documents.
ChenPi11 Feb 10, 2025
6f8a1ba
Add unstable comment.
ChenPi11 Feb 10, 2025
2d9defb
Update documents.
ChenPi11 Feb 11, 2025
985b974
Correct errors in docs.
ChenPi11 Feb 11, 2025
61e02bf
Update CI configs.
ChenPi11 Feb 11, 2025
540bfc6
Fix build failure on Windows.
ChenPi11 Feb 11, 2025
741f3b8
Refactor CI publish workflow.
ChenPi11 Feb 11, 2025
497c961
Update `NEWS.md`.
ChenPi11 Feb 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add _CPPP_API to locale_charset() implementation.
  • Loading branch information
ChenPi11 committed Jan 19, 2025
commit 68b758d0ff188baa9a696d579bc50e2c77253c2a
4 changes: 3 additions & 1 deletion lib/locale_charset.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* If not, see <https://www.gnu.org/licenses/>.
*/

#include "cppp/reiconv.h"

#include "cppp/cppp-platform.h"

#include <locale.h>
Expand Down Expand Up @@ -57,7 +59,7 @@
#include "localecharset/locale_table.h"
#endif // !HAVE_LANGINFO_CODESET && !WINDOWS_NATIVE

const char *locale_charset()
_CPPP_API const char *locale_charset()
{
#if IS_WINDOWS_NATIVE
return windows_getcp();
Expand Down