6539 Commits

Author SHA1 Message Date
zdenop
f96cb8d9cb GA: remove unsupported ubuntu version
Some checks failed
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
cmake-win64 / cmake-win64 (push) Has been cancelled
autotools / linux (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-14 name:ubuntu-24.04-gcc-14-autotools os:ubuntu-24.04]) (push) Has been cancelled
msys2 / windows (mingw-w64-x86_64, MINGW64) (push) Has been cancelled
autotools-macos / brew (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
cmake / ubuntu-22.04-clang-15-cmake (push) Has been cancelled
autotools-macos / ports (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
cmake / macos-14-clang-15-cmake (push) Has been cancelled
cmake / macos-15-clang-cmake (push) Has been cancelled
cmake / ubuntu-24.04-gcc-12-cmake (push) Has been cancelled
vcpkg / build (windows-2019) (push) Has been cancelled
unittest / ubuntu-22.04-clang-unittest (push) Has been cancelled
unittest-macos / macos-latest-gcc-unittest (push) Has been cancelled
cmake / ubuntu-22.04-gcc-12-cmake (push) Has been cancelled
cmake / macos-14-gcc-14-cmake (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
unittest / ubuntu-24.04-gcc-unittest (push) Has been cancelled
unittest-macos / macos-arm-14-clang-unittest (push) Has been cancelled
unittest-macos / macos-latest-clang-unittest (push) Has been cancelled
unittest-disablelegacy / linux (clang++-18, ubuntu-24.04) (push) Has been cancelled
unittest-disablelegacy / linux (g++, ubuntu-24.04) (push) Has been cancelled
2025-02-12 08:35:28 +01:00
Brad Smith
3157ff0e74 Fix building elf_aux_info() support on OpenBSD/arm
Some checks failed
cmake-win64 / cmake-win64 (push) Has been cancelled
unittest-disablelegacy / linux (clang++-18, ubuntu-24.04) (push) Has been cancelled
unittest-disablelegacy / linux (g++, ubuntu-24.04) (push) Has been cancelled
msys2 / windows (mingw-w64-x86_64, MINGW64) (push) Has been cancelled
autotools / linux (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-autotools os:ubuntu-20.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools-macos / brew (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
autotools-macos / ports (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-14-clang-15-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-15-clang-cmake os:macos-15]) (push) Has been cancelled
autotools / linux (map[cxx:g++-14 name:ubuntu-24.04-gcc-14-autotools os:ubuntu-24.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-cmake os:ubuntu-20.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:macos-14-gcc-14-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:ubuntu-24.04-gcc-12-cmake os:ubuntu-24.04]) (push) Has been cancelled
cmake / ubuntu-20.04-gcc-10-cmake (push) Has been cancelled
cmake / ubuntu-22.04-gcc-12-cmake (push) Has been cancelled
cmake / macos-14-gcc-14-cmake (push) Has been cancelled
cmake / ubuntu-24.04-gcc-12-cmake (push) Has been cancelled
unittest / ubuntu-22.04-clang-unittest (push) Has been cancelled
unittest / ubuntu-24.04-gcc-unittest (push) Has been cancelled
unittest-macos / macos-arm-14-clang-unittest (push) Has been cancelled
unittest-macos / macos-latest-clang-unittest (push) Has been cancelled
unittest-macos / macos-latest-gcc-unittest (push) Has been cancelled
cmake / macos-14-clang-15-cmake (push) Has been cancelled
cmake / macos-15-clang-cmake (push) Has been cancelled
cmake / ubuntu-22.04-clang-15-cmake (push) Has been cancelled
Remove the unnecessary use of the sys/elf.h header which breaks
the build.
2025-01-17 11:55:52 +01:00
Stefan Weil
a5fa1bdf76
Merge pull request #4376 from brad0/bsd_elf_aux_info
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
Extend elf_aux_info() support for RISC-V on FreeBSD and OpenBSD

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2025-01-16 12:56:58 +01:00
Brad Smith
92b2f37aa8 Extend elf_aux_info() support for RISC-V 2025-01-15 21:34:14 -05:00
zdenop
f657ec2213 cmake: allow unittest (windows & linux)
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
cmake-win64 / cmake-win64 (push) Has been cancelled
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
2025-01-06 14:17:20 +01:00
Egor Pugin
770d9e1302
Merge pull request #4378 from zdenop/fix_UT_main
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
unittest-disablelegacy / linux (clang++-18, ubuntu-24.04) (push) Has been cancelled
unittest-disablelegacy / linux (g++, ubuntu-24.04) (push) Has been cancelled
msys2 / windows (mingw-w64-x86_64, MINGW64) (push) Has been cancelled
autotools / linux (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-autotools os:ubuntu-20.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-14 name:ubuntu-24.04-gcc-14-autotools os:ubuntu-24.04]) (push) Has been cancelled
autotools-macos / brew (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
autotools-macos / ports (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-14-clang-15-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-15-clang-cmake os:macos-15]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-cmake os:ubuntu-20.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:macos-14-gcc-14-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:ubuntu-24.04-gcc-12-cmake os:ubuntu-24.04]) (push) Has been cancelled
vcpkg / build (windows-2019) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:clang++ cxxflags:-g -O2 -fsanitize=address,undefined -stdlib=libc++ name:ubuntu-22.04-clang-unittest os:ubuntu-22.04]) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:g++ cxxflags:-g -O2 -fsanitize=address,undefined name:ubuntu-24.04-gcc-unittest os:ubuntu-24.04]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-arm-14-clang-unittest os:macos-14]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-latest-clang-unittest os:macos-latest]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:g++ name:macos-latest-gcc-unittest os:macos-latest]) (push) Has been cancelled
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
cmake-win64 / cmake-win64 (push) Has been cancelled
2024-12-31 15:28:16 +03:00
zdenop
57769d93e7 use constexpr for kDawgMagicNumber 2024-12-31 12:12:22 +01:00
zdenop
08f531aabd Pulled down update for submodules 2024-12-31 10:33:47 +01:00
zdenop
014b9d0093 use ubuntu 24.04 LTS with g++14 instead of 20.04 with g++9 2024-12-31 10:21:11 +01:00
zdenop
13c966b747 Windows: workaround for mutex crash when building with VS 2022 17.10 or newer.
Some checks failed
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-15-clang-cmake os:macos-15]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-cmake os:ubuntu-22.04]) (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-14-clang-15-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-cmake os:ubuntu-20.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:macos-14-gcc-14-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-9 name:ubuntu-20.04-gcc-9-cmake os:ubuntu-20.04]) (push) Has been cancelled
vcpkg / build (windows-2019) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:clang++ cxxflags:-g -O2 -fsanitize=address,undefined -stdlib=libc++ name:ubuntu-22.04-clang-unittest os:ubuntu-22.04]) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:g++ cxxflags:-g -O2 -fsanitize=address,undefined name:ubuntu-20.04-gcc-unittest os:ubuntu-20.04]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-arm-14-clang-unittest os:macos-14]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-latest-clang-unittest os:macos-latest]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:g++ name:macos-latest-gcc-unittest os:macos-latest]) (push) Has been cancelled
cmake-win64 / cmake-win64 (push) Has been cancelled
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
2024-12-28 11:23:09 +01:00
zdenop
65e864bbbb mute pango warning about depreciation of pango_coverage_unref for pango>=1.50.4 2024-12-28 11:12:48 +01:00
zdenop
dcb2ef91e8
Update README.md
Some checks failed
autotools / linux (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-autotools os:ubuntu-20.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-9 name:ubuntu-20.04-gcc-9-autotools os:ubuntu-20.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-14-clang-15-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-15-clang-cmake os:macos-15]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-cmake os:ubuntu-20.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:macos-14-gcc-14-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-9 name:ubuntu-20.04-gcc-9-cmake os:ubuntu-20.04]) (push) Has been cancelled
cmake-win64 / cmake-win64 (push) Has been cancelled
msys2 / windows (mingw-w64-x86_64, MINGW64) (push) Has been cancelled
autotools-macos / brew (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
autotools-macos / ports (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
vcpkg / build (windows-2019) (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:clang++ cxxflags:-g -O2 -fsanitize=address,undefined -stdlib=libc++ name:ubuntu-22.04-clang-unittest os:ubuntu-22.04]) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:g++ cxxflags:-g -O2 -fsanitize=address,undefined name:ubuntu-20.04-gcc-unittest os:ubuntu-20.04]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-arm-14-clang-unittest os:macos-14]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-latest-clang-unittest os:macos-latest]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:g++ name:macos-latest-gcc-unittest os:macos-latest]) (push) Has been cancelled
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
unittest-disablelegacy / linux (clang++-15, ubuntu-22.04) (push) Has been cancelled
unittest-disablelegacy / linux (g++, ubuntu-22.04) (push) Has been cancelled
add info about using egorpugin/tessdata tessdata_unittest
2024-12-21 11:26:36 +01:00
Egor Pugin
2a944fbe98 tprintf: pacify clang warning.
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
cmake-win64 / cmake-win64 (push) Has been cancelled
unittest-disablelegacy / linux (clang++-15, ubuntu-22.04) (push) Has been cancelled
msys2 / windows (mingw-w64-x86_64, MINGW64) (push) Has been cancelled
autotools / linux (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-autotools os:ubuntu-20.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-autotools os:ubuntu-22.04]) (push) Has been cancelled
autotools / linux (map[cxx:g++-9 name:ubuntu-20.04-gcc-9-autotools os:ubuntu-20.04]) (push) Has been cancelled
autotools-macos / brew (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
autotools-macos / ports (map[cxx:clang++ name:macos-latest-clang-autotools os:macos-latest]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-14-clang-15-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-15-clang-cmake os:macos-15]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:clang++-15 name:ubuntu-22.04-clang-15-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-10 name:ubuntu-20.04-gcc-10-cmake os:ubuntu-20.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-11 name:ubuntu-22.04-gcc-11-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-12 name:ubuntu-22.04-gcc-12-cmake os:ubuntu-22.04]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-14 name:macos-14-gcc-14-cmake os:macos-14]) (push) Has been cancelled
cmake / ${{ matrix.config.name }} (map[cxx:g++-9 name:ubuntu-20.04-gcc-9-cmake os:ubuntu-20.04]) (push) Has been cancelled
unittest-disablelegacy / linux (g++, ubuntu-22.04) (push) Has been cancelled
vcpkg / build (windows-2019) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:clang++ cxxflags:-g -O2 -fsanitize=address,undefined -stdlib=libc++ name:ubuntu-22.04-clang-unittest os:ubuntu-22.04]) (push) Has been cancelled
unittest / ${{ matrix.config.name }} (map[cxx:g++ cxxflags:-g -O2 -fsanitize=address,undefined name:ubuntu-20.04-gcc-unittest os:ubuntu-20.04]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-arm-14-clang-unittest os:macos-14]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:clang++ name:macos-latest-clang-unittest os:macos-latest]) (push) Has been cancelled
unittest-macos / ${{ matrix.config.name }} (map[cxx:g++ name:macos-latest-gcc-unittest os:macos-latest]) (push) Has been cancelled
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
2024-12-19 22:07:22 +03:00
Egor Pugin
d95e9f7905 Add mandatory format argument to tpritnf().
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
2024-12-19 20:06:15 +03:00
Egor Pugin
8cb04183c1 Convert tprintf() to C++ style without va args and attributes. 2024-12-19 19:08:14 +03:00
zdenop
3299901b9c handle colormaps correctly - fixes #4127 2024-12-15 20:54:53 +01:00
zdenop
d1fbbb88fc
Update cmake-win64.yml
cmake (win64) GithutAction: stop uninstalling strawberryperl; use png 1.6.44
2024-12-06 07:59:34 +01:00
zdenop
ede08698aa
Update cmake-win64.yml
try to change schedule time to solve `- strawberryperl -  Auto uninstaller failed. Please remove machine installation manually.`
2024-12-06 07:18:44 +01:00
Egor Pugin
0a9df94fff Wrap main() into try catch. 2024-12-03 01:43:39 +03:00
zdenop
2e5a114bd2
add cli -c parameter(s) to init vectors (#4363) 2024-11-27 14:04:30 +02:00
Zdenko Podobný
6f67d26354 cmake: get rid off warning "D9025: overriding '/openmp' with '/openmp:llvm'" (cmake >= 3.30 needed) 2024-11-26 15:52:09 +01:00
Stefan Weil
c1bb752ed5 Simplify and clean code related to class TRand
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-11-25 16:51:48 +01:00
Egor Pugin
9f17a3fdd0 Move small function into a header. 2024-11-23 19:48:41 +03:00
Egor Pugin
6d7ec87ee8 Rename lists internally. 2024-11-23 19:39:22 +03:00
Amit D.
363bf4e00d
Update unittest.yml 2024-11-23 14:20:13 +02:00
Amit D.
60c1c26d2f
unittest.yml: Add path filters for PRs 2024-11-23 13:36:09 +02:00
Amit D.
a9b012bbe2
unittest.yml: run this also on PRs 2024-11-23 13:24:57 +02:00
Stefan Weil
5af6cacf84 Restore original congruential random number generator
This reverts commit 32fee1944772ba98f2c181e0a90221c09def78a7
("Fix linear congruential random number generator"),
commit 2252936fc801aee6c65a0bae9daee0638f56febf
("Use linear congruential random number generator from C++11.")
and commit 7b8af67eb5ebe333f289dea919e11769ddb6f138
("[test] Fix intsimdmatrix test. Update result value based on updated TRand engine.").

It restores the original congruential random number generator
and the related unittest.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-11-23 09:53:09 +01:00
Egor Pugin
66cf74f2dd Make one-time comparator a lambda. 2024-11-23 00:25:29 +03:00
Egor Pugin
b3e0c8e3a0 Add missing <algorithm> header for std::sort(). 2024-11-23 00:25:29 +03:00
Egor Pugin
1526cf16fb Make lists classes again. 2024-11-23 00:25:29 +03:00
Egor Pugin
1355287df1 Update sorting routines for lists. 2024-11-23 00:25:29 +03:00
Egor Pugin
1ceb14e274 list.h is now unnecessary and removed. 2024-11-23 00:25:29 +03:00
Egor Pugin
0e139fa9f9 Update Makefile.am. 2024-11-23 00:25:29 +03:00
Egor Pugin
15635203f4 Fix msvc warning. 2024-11-23 00:25:29 +03:00
Egor Pugin
63be216814 Convert ELIST2 into template. 2024-11-23 00:25:29 +03:00
Egor Pugin
4991295a39 Convert ELIST into template. 2024-11-23 00:25:29 +03:00
Egor Pugin
ffb33795a8 Fix warnings. 2024-11-23 00:25:29 +03:00
Egor Pugin
1bc983a0dc Fix msvc warning. 2024-11-23 00:25:29 +03:00
Egor Pugin
07d50ef4a3 [sw] Fix build. 2024-11-23 00:25:29 +03:00
Egor Pugin
45af23d9a6 Update test. 2024-11-23 00:25:29 +03:00
Egor Pugin
bb774797ce Rename CLIST_ITERATOR to ITERATOR and CLIST_LINK to LINK, so they can be accessed as CLIST::ITERATOR etc. 2024-11-23 00:25:29 +03:00
Egor Pugin
dad0fefc11 Make simple classes simpler. 2024-11-23 00:25:29 +03:00
Egor Pugin
5adf0c8ab3 Use real CLASSNAME type for list. Update sorting callback signatures. 2024-11-23 00:25:29 +03:00
Egor Pugin
3088d2eecc Make CLIST templated. Move member methods inside the class. Move helper classes (CLIST_LINK and CLIST_ITERATOR inside the list class).
This allows us to use real C++ templates for different instantiations instead of void * emulation.
2024-11-23 00:25:29 +03:00
Stefan Weil
32fee19447 Fix linear congruential random number generator
Fixes: #4146, #4148, #4270
Fixes: 2252936fc801 ("Use linear congruential random number generator [...]")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-11-22 21:46:44 +01:00
Stefan Weil
5c78037bd3 Add missing library for pango_font_info_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-11-22 19:22:03 +01:00
Egor Pugin
43b8d743fc [sw] Update build. 2024-11-11 13:22:49 +03:00
Stefan Weil
64eab6c457 Create new release 5.5.0
Signed-off-by: Stefan Weil <sw@weilnetz.de>
5.5.0
2024-11-10 20:23:34 +01:00
Stefan Weil
d30f45fbfd Remove broken GitHub action msys2-4.1.1
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-11-10 16:13:14 +01:00