Commit Graph

264 Commits

Author SHA1 Message Date
Adriaan de Groot
c9ab0524e2 Changes: post-release housekeeping 2019-08-30 13:38:00 +02:00
Adriaan de Groot
f156a683a8 Changes: pre-release housekeeping 2019-08-30 06:41:48 -04:00
Adriaan de Groot
e3f933259b CMake: missing return statement should be an error 2019-08-29 14:46:16 +02:00
Adriaan de Groot
8c5caf9fd0 [packagechooser] Add CMake knobs to enable/disable item choices
- AppData and AppStream can be disabled independently of finding
   their requirements (possibly useful if you want to ignore
   AppStream even when it's installed in your build environment).
 - Add a little top-level documentation about WITH_
2019-08-20 13:56:23 +02:00
Adriaan de Groot
bcb7f17584 [calamares] Make KCoreAddons a requirement
- Require KCoreAddons for KAboutData (also, optionally, for KOSRelease)
2019-08-12 13:24:53 +02:00
Adriaan de Groot
2bb1474ebb Changes: post-release housekeeping 2019-08-07 22:15:08 +02:00
Adriaan de Groot
729616ac6a Changes: pre-release housekeeping 2019-08-07 12:14:37 +02:00
Adriaan de Groot
fee2297e67 [packagechooser] Fix fallthrough situation
- Add a FALLTHRU macro to annotate fallthrough situations in both
   Clang and GCC,
 - Annotate intentional fallthroughs.
 - Add missing break which meant that the selection mode was
   always multiple-selection.
2019-08-06 00:24:53 +02:00
Adriaan de Groot
83df41ef06 CMake: bump required CMake to 3.3, enable Esperanto
- Require CMake 3.3 for the IN_LIST operator in if() statements
 - It looks like Qt 5.12.2 (possibly earlier) supports a QLocale("eo")
   so enable Esperanto if that Qt version or later is detected.
2019-08-05 18:24:31 +02:00
Adriaan de Groot
05daa22542 CMake: update language lists 2019-08-02 09:40:25 +02:00
Adriaan de Groot
ca58b67eb9 Changes: post-release housekeeping 2019-07-06 01:16:28 +02:00
Adriaan de Groot
e88269089b Changes: pre-release housekeeping 2019-07-06 00:52:35 +02:00
Adriaan de Groot
69032ab5a0 Changes: post-release housekeeping 2019-06-28 13:47:25 +02:00
Adriaan de Groot
1bb3ea35b5 Changes: pre-release housekeeping 2019-06-28 12:59:44 +02:00
Adriaan de Groot
25fe8f73c9 CI: label languages "incomplete" at < 5% 2019-06-18 11:44:19 +02:00
Adriaan de Groot
36789d23fb CMake: update language list (add ca@valencia) 2019-06-17 16:04:41 +02:00
Adriaan de Groot
e49beaea91 CMake: switch WITH_PYTHONQT default to OFF 2019-06-07 10:55:03 +02:00
Adriaan de Groot
0619f19536 CMake: post-release housekeeping 2019-06-07 10:45:53 +02:00
Adriaan de Groot
6dc83d692c CMake: pre-release housekeeping 2019-06-03 15:00:04 +02:00
Adriaan de Groot
4de703430f CMake: -O4 doesn't do anything in Clang, use -O3 2019-05-14 14:08:32 +02:00
Adriaan de Groot
10ba468748 [libcalamares] Avoid warnings / errors on both gcc and clang
- Clang 8 can detect that there is no need for a return if all
   previous paths already return. GCC 8 does not. Clang warns if
   the unreachable return is there, GCC errors out if it isn't.
 - Introduce a hack NOTREACHED that comments-out on Clang, and
   marks as unreachable (but still present) on GCC.
 - This might go away with an [[unreachable]] annotation or
   similar.
2019-05-14 05:29:18 -04:00
Adriaan de Groot
ba7ee445c6 CMake: switch to using autouic on plugins
- Use autouic so that we can also pass in --include to add
   a code-warning-suppression to the generated code, just like
   we can do with moc.
2019-05-13 14:52:26 +02:00
Adriaan de Groot
ec15cfb58d CMake: post-release housekeeping 2019-05-10 19:17:04 -04:00
Adriaan de Groot
6d7fd9db26 CMake: pre-release housekeeping 2019-05-10 18:52:06 -04:00
Adriaan de Groot
b840bce22d CMake: reduce Qt dependency back to 5.9
- Although KDE CI onlt tests with Qt 5.10, and KPMCore 4 requires
   Qt 5.10, Calamares is still ok with older Qt and KPMCore 3.3,
   so drop the dependency back down again. This means, though, that
   the code will build against a Qt version we don't usually test.
   We're going to assume that Someone Else does the LTS-Qt testing
   for us.
2019-05-07 12:38:23 -04:00
Adriaan de Groot
f937ef6eb9 CMake: be compatible with clang 6
- Some of the pragmas in moc-warnings.h, intended to *reduce*
   warnings from MOC code, generate a warning in their own right.
2019-04-30 17:08:12 +02:00
Adriaan de Groot
a01262a535 CMake: massage dependency-finding
- If KPMCore is not found, don't require the KF5 components
   that it would depend on.
 - If ECM is found, use KDEInstallDirs always, not just when
   the partitioning module is used.
2019-04-30 13:38:46 +02:00
Adriaan de Groot
9eab61455a CMake: bump versions post-release 2019-04-28 09:08:40 -04:00
Adriaan de Groot
cdcd45900b Changes: document 3.2.7 hotfix 2019-04-27 11:03:09 -04:00
Adriaan de Groot
5373729572 Changes: prep for release 2019-04-25 09:49:00 -04:00
Adriaan de Groot
bdb7bf71a8 Reduce warnings from moc-generated code
- The auto-generated code produces a lot of warnings from
   Clang 8; this obscures the more meaningful warnings from
   actual Calamares code, so tone the warnings down.
 - For Clang, set CALAMARES_MOC_OPTIONS.
 - Add convenience CMake function for automoccing. It applies
   the options as needed to a given target.
2019-04-18 12:06:09 +02:00
Adriaan de Groot
1f66062c81 CMake: bump version, new stub in CHANGES 2019-04-15 11:27:25 -04:00
Adriaan de Groot
14bedef411 CMake: change project identifier to simplify code
- Using CALAMARES means that the automatic versioning variables
   are set using that name (instead of lower-case).
2019-04-04 16:43:04 +02:00
Adriaan de Groot
01f5ac22a0 CMake: use conventional method for setting version
- Using project() to set up the version is idiomatic for CMake
   and more standardised than doing it by hand. Do retain the
   RC flag, because that's used in other parts of versioning.
2019-04-04 15:58:07 +02:00
Adriaan de Groot
e71fa5963b CMake: document top-level definitions and options 2019-03-20 11:26:02 +01:00
Adriaan de Groot
355987bfa1 CMake: QtConcurrent is required as well.
SEE #1082
2019-02-22 10:47:20 -05:00
Adriaan de Groot
7ed74cefa1 CMake: bump version 2019-02-12 08:25:24 -05:00
Adriaan de Groot
a0ed58267d CMake: update translations, drop RC status 2019-02-12 05:27:54 -05:00
Adriaan de Groot
d5033f218f CMake: drop es_ES which snuck into the language list 2019-01-24 15:24:34 -05:00
Adriaan de Groot
b98006b94b i18n: welcome Nepali as language
- Nepali new language
 - Asturian at 100%
 - Polish documentation a bit
2019-01-24 08:24:08 -05:00
Adriaan de Groot
44211ee19a Merge branch 'release-3.2.3'
- Pull in CHANGES and release-numbering modifications
 - Pull in locale fixes
 - Bump version again, to 3.2.4-RC1 in master
2019-01-09 13:07:32 +01:00
Adriaan de Groot
ba82526449 CMake: drop RC version for release 2019-01-08 22:25:25 +01:00
Adriaan de Groot
59eaf18b9f CMake: bump required Qt version
- kpmcore will require Qt 5.10 shortly
 - KDE CI tests only Qt 5.10 and later
2019-01-03 15:54:54 +01:00
Adriaan de Groot
0b6e1ca488 i18n: update list of translations from Transifex
- Add automatic tooling to retrieve translation stats and
   output new CMake variable settings.
 - If there are i18n language selection warnings, stop CMake.
2018-12-13 14:50:33 +01:00
Adriaan de Groot
b8595a1323 CMake: relax debugging flags again 2018-12-03 21:44:29 +01:00
Adriaan de Groot
9816b6951f CMake: add debugging flags to compile in debug mode 2018-11-06 06:36:51 -05:00
Adriaan de Groot
7515386cf8 CMake: clean up test setup
- Remove redundant searches for ECM and Qt::Test, move
   them to top-level.
2018-10-05 09:41:37 -04:00
Adriaan de Groot
3b6cb73975 CMake: bump version for next release 2018-09-04 17:34:39 -04:00
Adriaan de Groot
46687fcb4c CMake: bump version and changelog 2018-09-04 08:03:59 -04:00
Adriaan de Groot
f65ec65fcc CMake: bump version
- Set RC because this isn't near to a release yet
2018-06-28 05:51:12 -04:00