Commit Graph

47 Commits

Author SHA1 Message Date
matt335672 37d2c2d41b
Merge pull request #3037 from matt335672/update_cppcheck
Update cppcheck and astyle versions
2024-09-04 17:20:55 +01:00
matt335672 eab3cbb1d5 Bump CI tools versions
- cppcheck 2.13.0 -> 2.15.0
- astyle 3.4.12 -> 3.4.14

Release notes
- https://github.com/danmar/cppcheck/releases/tag/2.14.0
- https://github.com/danmar/cppcheck/releases/tag/2.14.1
- https://github.com/danmar/cppcheck/releases/tag/2.14.2
- https://github.com/danmar/cppcheck/releases/tag/2.15.0
- https://astyle.sourceforge.net/notes.html

Later versions of astyle up to 3.5.1 have (currently) a problem with
align-pointer=name which confuses multiplication with a
pointer-dereference. See https://sourceforge.net/p/astyle/bugs/572/
2024-09-02 15:36:50 +01:00
metalefty abfa633a35
Merge pull request #3059 from chipitsine/coverity
CI: scheduled coverity scan
2024-08-29 18:14:45 +09:00
Ilia Shipitsin a00374d1a4 CI: scheduled coverity scan 2024-08-29 10:28:08 +02:00
Koichiro Iwao 72ede776ed x264: add CI test 2024-08-24 22:30:30 +09:00
matt335672 98d0003715
Merge pull request #3058 from seflerZ/unicode_contr
Add ibus unicode input support
2024-05-20 12:27:52 +01:00
Ilia Shipitsin bc71ac22f5 CI: add a job with address sanitizer enabled 2024-05-07 15:02:33 +02:00
matt335672 430e980c9c Add --enable-ibus to github CI 2024-05-05 10:44:19 +08:00
matt335672 7fabef86f0
Merge pull request #2943 from matt335672/update_astyle_ver
Remove hard-coded version from scripts/run_astyle.sh
2024-03-22 12:08:31 +00:00
matt335672 b2c0c506e8
Merge pull request #2745 from matt335672/wtmp
Add utmp/wtmp support
2024-02-21 14:22:16 +00:00
matt335672 4ba026be38 Migrate github actions to Node 20
Github actions are transitioning to Node 20 ans Node 16 is EOL.

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
2024-02-21 09:36:53 +00:00
matt335672 3b6c9bcba3 Add --enable-utmp to configure.ac 2024-02-21 09:24:48 +00:00
matt335672 b9fd19e6b5 Remove hard-coded version from scripts/run_astyle.sh
This script now works the same way as cppcheck. The version to
be used is specified once in the github CI action
2024-02-12 10:31:49 +00:00
Koichiro Iwao b39c12f351 Update astyle to 3.4.12
as astyle 3.1 is no longer available in the latest FreeBSD.

Also, astyle upstream repository has been moved to GitLab. Switched git
to obtain astyle source.

https://gitlab.com/saalen/astyle
2024-02-08 15:34:17 +09:00
matt335672 c38308a2d9 Bump cppchck to v2.13.0 2023-12-23 13:37:06 +00:00
firewave 8c214280d3 bumped Cppcheck to 2.12.1
- build Cppcheck with matchcompiler for improved performance
- build Cppcheck with Boost for improved ValueFlow performance
2023-10-17 15:14:36 +02:00
firewave f687174af1 provide more includes to Cppcheck
- added (temporary) suppression of Cppcheck `shiftTooManyBits` false positives in `libxrdp/xrdp_mppc_enc.c`
- added (temporary) suppression of Cppcheck `uninitMemberVar` true positives in `ulalaca/ulalaca.cpp` until fixes land downstream
- fix Cppcheck `nullPointerRedundantCheck` in `sesman/chansrv/clipboard.c`
- fix Cppcheck `syntaxError` in `fontutils/mkfv1.c` because it doesn't see the `freetype/fterrors.h` header / removed astyle workaround
2023-10-17 15:14:36 +02:00
firewave c37ce6fa47 Cppcheck 2.8 removed the dependency on z3 2023-09-04 10:01:09 +02:00
matt335672 d77b0b3b9d Bump cppcheck to v2.11
This fixes the following errors:-

sesman/tools/authtest.c:64:14: error: syntax error [syntaxError]
    g_printf("xrdp auth module tester v" PACKAGE_VERSION "\n");
             ^
sesman/tools/sesrun.c:165:14: error: syntax error [syntaxError]
    g_printf("xrdp session starter v" PACKAGE_VERSION "\n");
             ^
vrplayer/decoder.h:35:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
vrplayer/playaudio.h:45:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
vrplayer/dlgabout.h:22:13: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    private slots:
            ^
vrplayer/playvideo.h:49:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
Additionally, cppcheck now makes use of all available CPUs
2023-06-23 15:12:51 +01:00
matt335672 eb3d159612 Fix CI build break 2023-02-27 11:30:07 +00:00
Nexarian d3be110ffc Add unit test parameter for more coverage. 2023-02-11 00:28:30 -05:00
Nexarian ee4b57b4c9 Improvements for unit testing
- Set max features to enable tests
- Add names to each step
- Enable test-suite.log artifact upload for distcheck.
2023-02-04 14:56:51 -05:00
matt335672 0cbdeecf14 Bump cppcheck version to 2.10 2023-01-29 15:59:28 +00:00
matt335672 5cbf0cb5ac Update legacy OS from 18.04 to 20.04
Since Ubuntu 20.04 supports less i386 functionality than 18.04,
it has been necessary to use a smaller set of compile options,
resulting in less compile coverage.
2022-10-19 17:48:42 +01:00
matt335672 23a3c85bc1 Update github ::set-output usage 2022-10-19 17:48:42 +01:00
matt335672 288dbf4e1f Update github actions version for node.js 16 2022-10-19 11:11:12 +01:00
matt335672 02513dbd4b Add freetype2 to CI
The freetype2 library can now be used to create fv1 fonts. This
library is added to the 'max features' CI builds to pick up any
regressions.
2022-09-06 10:32:40 +01:00
a1346054 7fe18cc1c0
fix typos 2022-09-03 02:01:48 +00:00
matt335672 cb75014221 Bumped cppcheck version to 2.9 2022-08-30 10:39:49 +01:00
matt335672 be2b778bae github actions: use canonical way to get ImageOS for astyle 2022-05-27 11:55:22 +01:00
matt335672 8236cda6a6 github actions: use canonical way to get ImageOS 2022-05-25 11:17:30 +01:00
matt335672 d8669a2998 Bump cppcheck version to 2.8 2022-05-23 12:59:01 +01:00
matt335672 978be50842 Allow xrdp to be built with --disable-static
This PR allows xrdp to be built with --disable-static, which prevents
'make install' installing additional unwanted .a files.
2022-05-10 12:12:14 +01:00
matt335672 baf62457a3 Move to cppcheck 2.7 and bump default threads to 2 2022-02-07 09:31:34 +00:00
matt335672 cda6c60748 Bump CI version of cppcheck to 2.6 2021-10-04 11:52:22 +01:00
matt335672 aa43a005e3 Add --with-imlib2 to i386 CI 2021-09-01 10:09:30 +01:00
matt335672 2d123d519d Add imlib2 to CI 2021-09-01 10:09:30 +01:00
matt335672 2d3c40bb73 Bumped cppcheck version to 2.5 2021-07-05 17:01:17 +01:00
matt335672 2727bba2e3 Bump legacy OS to Ubuntu 18.04 (see https://github.com/actions/virtual-environments/issues/3287) 2021-06-07 16:09:48 +01:00
matt335672 7e03f8d006 Actively prevent user from specifying --enable-xrdpdebug 2021-06-04 14:43:18 +01:00
Alexandre Quesnel f8652e3a0f Add checking the code formatting with astyle during CI builds 2021-05-08 16:53:32 +00:00
matt335672 99027d07c8 Bumped cppcheck to v2.4 2021-03-22 11:34:53 +00:00
matt335672 a989426a57 Remove trailing spaces in actions file 2021-03-04 12:09:18 +00:00
matt335672 984e8d12c0 Add OS_VERSION to cppcheck cache tag name 2021-03-04 12:01:07 +00:00
matt335672 8ab3a2e9f8 Bumped cppcheck version to 2.3
addressed resulting warnings
2020-12-31 11:27:14 +00:00
Alexandre Quesnel 70ddd5074e Add caching of cppcheck to github action CI builds 2020-11-23 05:38:21 +00:00
Alexandre Quesnel 353e11caba Adding CI build using github actions 2020-11-17 05:49:39 +00:00