Commit Graph

353 Commits (0db12d85bf97badada428944b67009e2b1dc17ce)

Author SHA1 Message Date
Caolán McNamara 0db12d85bf includes should be in AC_LANG_PROGRAM preamble
no the body

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I9377142c676efc3f0d658efa01e06a91f3f0924d
2024-04-23 08:51:52 +02:00
Andras Timar e23abebbe7 Bump version to 24.04.1.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifd464665131aed0a2d46a3b2748f10c3d74084b9
2024-04-22 08:33:24 +02:00
Caolán McNamara f02be4aa25 compile check of -D_FORTIFY_SOURCE=2 not failing with CFLAGS=-O0
need to include some typical headers to get it to issue a failure
diagnostic

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I37d6e0f342698507952a8006b88d56e55060270e
2024-04-19 10:40:11 +01:00
Caolán McNamara 94fed86c35 default to using available compiler hardening flags
can be disabled with --disable-hardening-flags, defaults on except
for wasm and sanitizer cases

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Id3ccb7492b73dfa6c7bbd5dd0419927032fc9bdf
2024-04-18 21:21:04 +01:00
Andras Timar 9ce1b32d05 Bump version to 24.04.1.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I44be7be99a902b2da46aff26a74b3cf8189fdc8d
2024-04-07 14:11:38 +02:00
Caolán McNamara ee807283d4 drop newly unused HAVE_GETENTROPY and HAVE_SYS_RANDOM_H
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Iccfa44f56fb0d3b185df3c9c8457cf19d42f85f1
2024-04-07 12:11:48 +02:00
Andras Timar 39ee21ddca Bump version to 24.04.1.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I69d1ea53feb1e0f1d512d0c073186463f6475b32
2024-03-18 16:17:50 +01:00
Bayram Çiçek 93f3bcff82 use getentropy() for BSD systems
- instead of using /dev/[u]random devices, use
getentropy() to make direct system calls
if the system is a BSD.

- if getentropy() fails, we need to fall back to
"/dev/[u]random" approach.

Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: Id6a2629c06d641eb4e7cf3991de4036d2f7b346e
2024-03-15 09:29:10 +00:00
Henry Castro 76d33f1182 config: add 'prettier' command before bundeling process
Execute the 'prettier' command to check format code style.

Change-Id: I93e4a57e03d26627caa3b2c52ae44669a8723267
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-03-12 13:49:38 -04:00
Henry Castro f6895dcddf config: fix eslint 'prettier' package extension
config setup: builddir != srcdir

------------------------------------------------------------

Oops! Something went wrong! :(

ESLint: 7.0.0

Error: Cannot read config file: ../browser/.eslintrc
Error: ENOENT: no such file or directory, open '../browser/.eslintrc'

Change-Id: I7900d9715b9a918c2f978aae63522a8c62956278
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-03-12 13:49:38 -04:00
Michael Meeks 19fec4fc58 Optimize SIMD code harder with -O3.
Avoids inadvertent non-optimization having an impact.

Change-Id: Ic548769e98f00d455f67ccd32d493f02b204a70f
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-03-10 20:06:53 +00:00
Aron Budea ff61e2a58a C++17 Remove checks on std::filesystem
Should be fully supported on compilers now.

Except leave this workaround in place for now:
b30757417b

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I6e19ec034b3c64e66f5bf5ff1f436f94514fabd0
2024-02-22 11:16:28 +01:00
Aron Budea c0b65318f2 Bump baseline to C++20
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I8201175e83eba549f22aaeb935cda46a712ec492
2024-02-21 18:28:47 +01:00
Andras Timar fd6eabf976 Bump version to 24.04.0.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id4b4f65772cab6ebeea6843044b8bdc3be5f07f7
2024-02-07 20:44:51 +01:00
Andras Timar f4e8cba302 Bump version to 23.05.8.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I01fce60d8314700902fe83370b9a3276cd7958d1
2024-02-01 16:15:59 +01:00
Andras Timar 165ebe51e8 Bump version to 23.05.8.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9c897a2fb34aa056b8e7143138d78ab1856b2218
2024-01-31 21:11:12 +01:00
Andras Timar 5c48cbfeb1 coolkitconfig.xcu does not contain autoconf variables any more
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I52c42582f28eeff213229a9fa3a5ecf9e6bf3d1f
2024-01-31 09:37:22 +00:00
Andras Timar 05334db969 Bump version to 23.05.8.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4d50e2a63dd6519d3248ddb5ba87890e3ba3f68
2024-01-26 16:16:37 +01:00
Andras Timar 87f7853a56 Bump version to 23.05.8.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic576e7e74c9f0f4580c08faf1923f8056d543250
2024-01-26 16:16:37 +01:00
Andras Timar 15f49bbb7e Bump version to 23.05.7.5
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7f842b8fa30191424e0b1cce6a14c4056518a54f
2024-01-19 17:45:30 +01:00
Andras Timar 9863ea3a42 Bump version to 23.05.7.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iacbdaa6db4ae40b0ae8abe30e4657848e2c4ff34
2024-01-18 21:33:36 +01:00
Andras Timar 1ac2492bcd Bump version to 23.05.7.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I21ff26ef0dfb4f782ccf517dc47239832bc2ef57
2024-01-18 13:08:35 +01:00
Andras Timar f76e08abcb Bump version to 23.05.7.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2cdd62d76c22fc2e6b51d930db48e0b1ed3fafed
2024-01-11 17:29:13 +01:00
Andras Timar d732a9b019 Bump version to 23.05.7.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I573183c19dfc2de1e44d0c425143528e67354797
2024-01-10 19:39:25 +01:00
Andras Timar dca44d2952 Bump version to 23.05.6.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4729e17e8408ef7724df393e2cf1aa00b4b036b6
2023-12-20 09:19:07 +01:00
Andras Timar 049daef3dd Bump version to 23.05.6.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I421dbd689fa0d901b359d457d8dc09ca15b26e7b
2023-12-15 10:05:31 +01:00
Andras Timar 9c88df9162 Bump version to 23.05.6.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If6665aba498e4e130891b7c325c36b225cb83c45
2023-12-11 21:59:12 +01:00
Ashod Nakashian a96f8a0f92 configure: WASMAPP is now defined for WASM targets
This is in line with MOBILEAPP and GTKAPP and
is independent of __EMSCRIPTEN__.

Replace all application-specific cases, leaving
only toolchain-specific ones (such as include
protection).

Change-Id: Ic44288aa5ace51e0a8b54566170c19120f7bf0dd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-12-09 19:22:24 +00:00
Ashod Nakashian 2255238711 configure: enable rtti with sanitizers on C++ TUs only
We now have at least one C TU and enabling rtti for
the sanitized build breaks things. So we don't enable
rtti for C sources, which was done in error.

Change-Id: If7624993ceb9e7af7aa8ffe3df69069ea4dd153a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-12-09 19:22:24 +00:00
Andras Timar e29934b944 Bump version to 23.05.6.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If3f6bd3a6b1418d0d1f96308a9356549922ba972
2023-12-04 16:39:02 +01:00
Andras Timar 82162e5c54 Bump version to 23.05.5.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I260232a287acbcc3585ac0dbd23f4a5b560dfd48
2023-11-10 18:19:27 +01:00
Andras Timar d00b80d929 Bump version to 23.05.5.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I35e28c37a0677d0b6fcf9797103f5bd73ce51083
2023-10-26 22:24:31 +02:00
Andras Timar bd3f197aa8 Bump version to 23.05.5.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I90ce9d6c8a59b8f498ef6fc11368eb1c6e170ca8
2023-10-19 11:19:50 +02:00
Andras Timar 1fea2274fb Bump version to 23.05.5.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I54981e3b8ff71be9d47f5ce39ec435ea7a382ab3
2023-10-11 20:29:43 +02:00
Caolán McNamara 6f984b042a don't check for SIMD in mobile case
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ib4ec551bd3c3c662c0e39aa0df292920c7afac08
2023-09-25 16:55:04 +01:00
Michael Meeks cce3767ba8 First cut SIMD wrappers / separation to accelerate RLE code.
Split it out as a C file, to avoid accidental C++ header inclusion,
and C is a cross-platform assembler anyway so a good match.

Change-Id: I6c042781713aecaf143b9663af8377659a7deaf1
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-09-25 16:55:04 +01:00
Andras Timar 0040ce2882 Bump version to 23.05.4.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4709d3fa68e84262a3ab72faeb175159fb058e6
2023-09-19 21:57:02 +02:00
Andras Timar baec3ff60d Bump version to 23.05.4.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I73457e8b34bca25a243788622554ecf0d3b83edd
2023-09-11 22:45:27 +02:00
Andras Timar a719c0fd02 Bump version to 23.05.3.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8ef60145a559efdc62971370ae867c14b225a50b
2023-08-28 21:59:15 +02:00
Rash419 3ce8c1b224 feature_lock: fix unlock_image option not working
- regression from ec17f72fb5
- also removed the restriction to have "static" in unlock_image
  url

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ie4f1170fb6a12db5218fb28f21d78f88ebc61d56
2023-08-28 16:12:41 +05:30
Skyler Grey de7d4335ff Fix failed starts when core is at a relative path
- Previously giving --with-lo-path as a relative path caused collabora
  online to crash with "component context fails to supply singleton"
  errors
- This patch uses readlink on the with-lo-path option, expanding it into
  its full canonical path
- I could probably have gotten away with realpath, but for consistency
  with --with-lokit-path I decided to use readlink -f

Change-Id: I16aacddbda9749451578fb7aded6c3c4e145ee26
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
2023-08-21 13:48:21 +02:00
Ashod Nakashian 5e8707bce9 make: better clang detection
Change-Id: I979014429b0a09883d828acf5ba76105ac255632
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-08-03 08:40:20 +02:00
Ashod Nakashian fbc4373ceb gcov: support cleaning coverage data and document
Change-Id: I9d309a9e551f2a110b71c773af10e65b60c07c9c
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-08-03 08:40:20 +02:00
Aron Budea 91c166d26a Bump version to 23.05.2.2
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: Ib03fddb00af05eaec4711c0b623713a993a5d56b
2023-07-24 17:08:40 +02:00
Aron Budea bfdac84db2 Bump version to 23.05.2.1
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I5716d9d6556f45185b7b78fa05277403855d0353
2023-07-20 13:32:00 +02:00
Skyler Grey 2ad2ac584b configure.ac: Fix missing space in test command
Omitting this space leads to the error "test: too many arguments"

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Id8a83d77adfb484dcc949a10b4b25f6ad81130f8
2023-06-30 21:04:34 +02:00
Andras Timar 970291c6bf Bump version to 23.05.1.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie6eb8f388d0724ef08a44e608d5c8c2265ce0f5e
2023-06-26 12:45:41 +02:00
Andras Timar d0149b1426 Bump version to 23.05.1.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I39740fe9b1c30c0a56056435d58eabd3121698bf
2023-06-23 18:55:31 +02:00
Andras Timar 4ac8c8ee28 configure option to disable building unit tests
rational: building for release takes a lot of time and we
neither package, nor run (most of) these unit tests when
we make packages.
CI runs all of these tests before merging PRs, so risk is low,
if we do not run the few build-time unit tests when we package.

make -j12
--enable-tests (default): 3m 18s
--disable-test: 1m 9s
3x faster...

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4edd98af55748432e30c65c4c910e72c0221272a
2023-06-16 09:12:21 +02:00
Andras Timar f23a49cd88 Bump version to 23.05.0.5
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icd47475c24b1820e8fe42491c5260d81adc8805d
2023-06-12 14:55:39 +02:00