7417 Commits (2cad90d9ca4de2ff3a112bedfe361958648a72a6)
 

Author SHA1 Message Date
Adriaan de Groot 2cad90d9ca
Merge pull request #1437 from gportay/handle-integers-with-octal-or-hexa-prefix
[libcalamares] Handle integers prefixed with 0 or 0x
4 years ago
demmm fc91b4ce60 [localeq] use js to get the hasInternet status
switching between Map.qml & Offline.qml now happens properly
4 years ago
Adriaan de Groot e84193a2cb Docs: add a FreeBSD port directory (copy it to sysutils/calamares) 4 years ago
Gaël PORTAY e68723f1c7 [libcalamares] Handle integers prefixed with 0 or 0x
- QString to-integer members detect if an integer string begins with
  "0x" (base 16) or "0", base 8; but QVariant members do not.
- QString: the C language convention is used is base is set to 0.
- Convert to QString and use its member toLongLong() and set base to 0
  to detect integer strings begin with a prefix.
4 years ago
Adriaan de Groot 635f53a804 CI: add a BUILD_SCHEMA_TESTING
- ON by default, so if tests are built and the script works,
  those tests will run as well.
- Check that the script works by invoking it once.
4 years ago
Adriaan de Groot f2a8f0fcdd Changes: thank Gaël and mention removal of -tools 4 years ago
Adriaan de Groot e3b8570d61 Merge remote-tracking branch 'origin/master' into calamares
Pick up some older MRs that apply to the older branch.
4 years ago
Adriaan de Groot bfefbd117d
Merge pull request #1435 from gportay/partition-attributes
Partition Attributes
4 years ago
Adriaan de Groot 91f87ba838
Merge pull request #1409 from gportay/partition-uuid
Partition UUID
4 years ago
Adriaan de Groot 0cd8940363 [bootloader] Fix up schema 4 years ago
Adriaan de Groot 066acdbbc6 Merge branch 'yaml-schemata' into calamares 4 years ago
Adriaan de Groot 4a07bd4ae3 CI: import all the rest of the YAML schema
- These have **not** been fixed for validation, so the schema's themselves
  will fail to load. This is a consequence of variations in JSON-Schema
  representations through various drafts. Fixing the schemata is
  fairly straightforward.

This gives us 19 new tests, all of which fail.
4 years ago
Adriaan de Groot df183d4026 [welcome] Add schema for welcome config
- Note that this is missing *languageIcon* so if that gets uncommented,
  it will fail validation.
- While here decide that  should be
  right up front in object (mappings) declaration.
4 years ago
Adriaan de Groot a0d56acabe CI: verbose schema-failure diagnostics 4 years ago
Adriaan de Groot b48c2745c1 CI: apply schema-validation to the example config files
- Any config file with a schema gets a test (validate-<module>)
  to test the file.
4 years ago
Adriaan de Groot 0dbc44d388 CMake: update Python3-finding
- mark for updates in 3.3: update to CMake 3.12 and use the more-modern
  Python modules for it then.
4 years ago
Adriaan de Groot 62e7128ff6 CMake: document WITH_ and BUILD_ a little more
- also mark TODO:3.3: for incompatible / surprising changes for 3.3
4 years ago
Adriaan de Groot 2e850f23e6 Changes: thanks Phil, and change-of-branch 4 years ago
Adriaan de Groot deec0b862f [finished] Add schema for config
- Original schema from artoo@manjaro.org, modified for current JSON-Schema use
4 years ago
Adriaan de Groot 71249866df CI: add tooling for schema validation
The config files have fairly extensive documentation but no
formal description; adding JSON-Schema into the mix makes it
possible to write a machine-checkable description.
4 years ago
Gaël PORTAY c1b5426c66 [partition] Add support for partition attributes 4 years ago
Philip Müller fe8459b7f0
[CMake] fix typo 4 years ago
Adriaan de Groot 04067e3a35
Merge pull request #1432 from pinpox/gitignore-tags
Gitignore tags
4 years ago
Adriaan de Groot 55abe0247b [libcalamares] Fix tests on 32-bit platforms
- The size of a 2GiB partition (in bytes) is larger than the largest
  32-bit signed integer; we hit signed overflow while calculating
  2^11 * 2^10 * 2^10 and the test fails.
- Switch the whole table of sizes to qint64 instead.
- For testing purposes only, introduce a _qi suffix for qint64.

FIXES #1430
4 years ago
Adriaan de Groot 713774ab40 i18n: adjust tooling to renamed resource 4 years ago
Calamares CI e34c0576e7 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI ba89b9f7f2 i18n: [dummypythonqt] Automatic merge of Transifex translations 4 years ago
Calamares CI 8ba9d394ec i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot a9ec592185 CI: change of default branch 4 years ago
Adriaan de Groot 70f1079873 i18n: expand the translation-load-compare tool a little, more docs 4 years ago
Adriaan de Groot f218e2e9a6 CMake: handle Python modules built from subdirectory a/b 4 years ago
Adriaan de Groot 73f8c627bd CMake: support out-of-tree builds
- The variables that are set for out-of-tree builds are prefixed
  with  to avoid name clashes; make the module-infrastructure
  respect those instead of the in-tree variable names.
- .. and then duplicate the in-tree variables to the out-of-tree
  variables, so we only need one set of module instructions.
4 years ago
Adriaan de Groot 992079bac1 Merge branch 'master' into calamares
Deprecate the master branch.
4 years ago
Adriaan de Groot ac8de23c6e Changes: mention recent features and contributors 4 years ago
Adriaan de Groot 4c65b8cc63 CI: remove outdated comment-crud 4 years ago
Adriaan de Groot 2673d2fc35
Merge pull request #1431 from pinpox/master
Add xbps package manager
4 years ago
Pablo Ovelleiro Corral 2ad44f6805
add tags file to .gitignore 4 years ago
Pablo Ovelleiro Corral f034b55da2
[packages] add xbps package manager 4 years ago
Adriaan de Groot 6c40d69574 Merge branch 'issue-1428'
Install all the relevant CMake, libcalamares and libcalamaresui
files -- config and headers -- so that external modules can be
created (again). This support had severely bitrotted, so
that the only effective way to add modules was to do so inside
the Calamares build tree. Now it's independent again.

FIXES #1428
4 years ago
Adriaan de Groot 3ae519b8ed Documentation: uncomment oem-setup
- Calamares complains if this isn't set, so the example should
  probably be 'safe' from that complaint. With 3.3 plans including
  'fatal error instead of warning' this should be fixed on-time.
4 years ago
Adriaan de Groot dc0ed24f1a [libcalamaresui] Install libcalamaresui headers
- All the headers go to relevant subdirs, but we don't keep
  libcalamares and libcalamaresui apart.
- While here, remove unused variable from libcalamares CMake
4 years ago
Adriaan de Groot 23c93904df CMake: put CMake-level ABI settings in CalamaresConfig
- drop the BuildTreeSettings, it was not usefully used
- make CalamaresConfig repeat the WITH_* settings, so that
  consumers can know the ABI offered
4 years ago
Adriaan de Groot 6c272bc8be [libcalamares] Link yamlcpp privately
- link the library privately -- the public API uses QVariantMap
- install FindYAMLCPP just in case
- add yamlcpp explicitly in the few places that really need it
  (e.g. netinstall testing the parsing of netinstall.yaml)
4 years ago
Adriaan de Groot 3c770b79b3 CMake: install all the libcalamares subdir-headers 4 years ago
Adriaan de Groot 14ff681106 CMake: give libcalamares IMPORTED includes
- Set the interface-include path for libcalamares, so that
  linking to it (as one would from an external repo) pulls in
  all the includes.
4 years ago
Adriaan de Groot 9039e15bdf CMake: tidy misc. installation bits
- don't generate uninstall file twice
- tighten up vertical space
4 years ago
Adriaan de Groot a62d96f555 CMake: tidy up installation of CMake infrastructure
- export() only once
- document variables a bit better
- drop the LibraryDepends file
4 years ago
Adriaan de Groot e6fe19df20 CMake: remove unused link libraries
- Nothing ever sets LIBRARY_QT5_MODULES (it would be a macro
  argument to calamares_add_library, if anything).
4 years ago
Adriaan de Groot dc16afac4a CMake: massage IMPORTED targets and module path
- Add the Calamares CMake-modules to the search path automatically
- Export to CalamaresTargets.cmake and use namespace Calamares::
- Document imported targets
- Find Qt, because the translations machinery will need macros from that
- The installed lib links to IMPORTED libraries from KF5, so we need
  to find them (again) as well.
4 years ago
Adriaan de Groot f59b6da799 CMake: produce a standard modern-CMake config file
- Use modern CMake commands to produce the config file
- Drop the CalamaresUse.cmake file, include its functionality
  in the config file.
4 years ago