6357 Commits (155db29ccf50633d52da7647e4fa9cabdf97e07a)
 

Author SHA1 Message Date
Adriaan de Groot 155db29ccf [libcalamares] Add a ModuleSystem::Descriptor
- this is currently just an alias for QVariantMap, which is
   the type already in use.
 - future plan is to tighten this up and have an actual
   Descriptor class that carries only the information
   actually needed for the module descriptor.
5 years ago
Adriaan de Groot 974d795390 [libcalamares] Shuffle module-loading logic
- group ifs by the state of thisModule
5 years ago
Adriaan de Groot 58931d99fa [libcalamaresui] Support noconfig setting
- look up the descriptor and use its noconfig value
 - return empty QString if noconfig is set; this does not
   apply to custom instances
5 years ago
Adriaan de Groot 649eb94d24 [libcalamaresui] Type-alias for module descriptors 5 years ago
Adriaan de Groot 8fbe676280 [libcalamaresui] Refactor finding config file name
- check for broken custom instances earlier in the loop
 - make free function for finding the config file name
5 years ago
Adriaan de Groot a403f1e851 CI: allow plain clang-format (Tumbleweed) 5 years ago
Adriaan de Groot d1f162f92a Docs: describe *noconfig* module option 5 years ago
Adriaan de Groot fbb452f9bf CMake: add support for NO_CONFIG
- A C++ module should set NO_CONFIG to flag that it doesn't have a
   config file (this is an error if it secretly **does** have one)
5 years ago
Adriaan de Groot fed0c46612 [libcalamaresui] Change return type of loadedInstanceKeys()
- Replace stringlist with a stronger-typed list of InstanceKey objects
 - Move smashing-that-to-stringlist into consumers of the list
   (just one, the debug window)
5 years ago
Adriaan de Groot c482990bc5 CMake: fix find-boost 5 years ago
Adriaan de Groot 1bc8a28eac CMake: Calamares doesn't want -p in automoc
FIXES #1286
5 years ago
Adriaan de Groot 1a8926181e [locale] Warnings-- (initialization-order) 5 years ago
Adriaan de Groot 2dff2d9d70 [libcalamares] TZRegion is hard to copy
- delete the copy and move constructors
 - adjust tests (which were just interested in simple tr() behavior) to use TZZone instead
5 years ago
Adriaan de Groot 5fbd0169ca [libcalamares] Reduce clang warnings (only-inline-virtual, unused parameters) 5 years ago
Adriaan de Groot 1b62b2f66c [libcalamares] Reduce warnings (extra ;, empty statement ..) 5 years ago
Adriaan de Groot b4c0ebe8ab [calamares] Use screen and window sizes, not position 5 years ago
Adriaan de Groot fcb0109b7b [calamares] Refactor center-placement
- Just move it to its own function where it can have more documentation
 - Tested on multi-screen setups

SEE #1293
5 years ago
Adriaan de Groot 61b6d058d7 Changes: credits for packagechooser bits 5 years ago
Adriaan de Groot 3877151bd8 Merge branch 'issue-1293'
FIXES #1293
5 years ago
Adriaan de Groot 121013fd96 [calamares] Avoid deprecated desktop()
- Put Calamares on the first screen where it fits
 - This is wordy and weird
5 years ago
Adriaan de Groot 43caf7b46a [calamares] Restore functionality for 'center window' 5 years ago
Adriaan de Groot 60c659c82b Changes: document new branding element 5 years ago
Adriaan de Groot 17d09342e9 [libcalamaresui] Add a setting for window placement 5 years ago
Adriaan de Groot 1625bb1dae [locale] Support Qt 5.9
FIXES #1296
5 years ago
Adriaan de Groot d21ed0cc7f [packagechooser] Coding style 5 years ago
Adriaan de Groot cefb66ab5b
Merge pull request #1276 from bill-auger/patch-packagechooser-default-selection
[packagechooser] pre-select default item in packagechooser
5 years ago
Adriaan de Groot bb4771a12a Changes: it's the locale module with translated zone names 5 years ago
Adriaan de Groot 25f0ba672c i18n: fix spelling of Kyiv
- Add Ukranian translations of zone names. Since I don't write
   Ukranian, add only a translation (er .. in this case, the
   proper original spelling) of Kyiv.
 - Fix spelling in English following UN resolution.
 - Dutch remains unchanged, since as far as I can tell the Dutch
   Government still sticks to the Soviet-era spelling.

FIXES #1298
5 years ago
Adriaan de Groot dd5adc153f
Merge pull request #1291 from calamares/initcpiocfg-usr
[initcpiocfg] add usr hook if partition is separate
5 years ago
Adriaan de Groot d12390bb62 Merge branch 'initcpio-plymouth'
FIXES #1290
5 years ago
Adriaan de Groot fe64903d2f [initcpiocfg] Polish PR #1290
- List discrete years in copyright
 - Add docstrings
 - Massage detect_plymouth() to return bool (easier in if() context)
5 years ago
Philip Müller 85d3f9e9b9 [initcpiocfg] add usr hook if partition is separate 5 years ago
Philip Müller a3da47cd9c [initcpiocfg] update plymouth check 5 years ago
Adriaan de Groot 0e7982ec37 [libcalamares] Don't force Hindi on India.
FIXES #1284
5 years ago
Adriaan de Groot 58786388d6 Merge branch 'zone-data' 5 years ago
Adriaan de Groot f5d7ef1bb7 Changes: document TZ translations 5 years ago
Adriaan de Groot 7bea19a62c [locale] Fix build with debugging enabled (API changes) 5 years ago
Adriaan de Groot 242b79e2e1 [locale] Remove old Location information
- all the TZ location information now lives in the Calamares
   locale service and the TZ list
 - replace the Location class that was local to the timezone
   widget by the TZZone class
 - chase a bunch of small API changes that this needs
5 years ago
Adriaan de Groot 4945408911 [libcalamares] Remove debugging cruft 5 years ago
Adriaan de Groot daa76080f1 [libcalamares] Add meaningful aliases for key() 5 years ago
Adriaan de Groot 0ed2a3e35f [libcalamares] Refactor translation-setting
- Split the actual loading of translations into classes
   to encapsulate the loading logic,
 - Build a collection of classes to do the different kinds
   of translation loading,
 - Build a generic function to load something and update a
   static pointer to the translation.

This makes installTranslator() much easier to read, and encapsulates
the type-specific loading somewhere else. While here, add a timezone-
translations loader so that the split-out TZ translations also work.
5 years ago
Adriaan de Groot 8fc94900d3 CMake: add the tz_ translation files to the i18n build 5 years ago
Adriaan de Groot 93826c3c2a i18n: Dutch TZ translations (provisional) 5 years ago
Adriaan de Groot 3e3334349b i18n: untranslated timezone names 5 years ago
Adriaan de Groot 93ae44e214 [libcalamares] Split translatable timezone data
- Hide the one file from lupdate by giving it a weird suffix
 - Call lupdate a second time for the timezone translations
 - While here, adjust so that the options precede the directories
   they are supposed to affect

I don't want to give the translation teams 444 new strings all
at once (about 90% of which don't need translation).
5 years ago
Adriaan de Groot e164f8d63a [locale] Fix build with DEBUG_TIMEZONE
- all the API changes were not reflected in the debugging code
5 years ago
Adriaan de Groot fb9d53909e [locale] Drop ZONES #define
- this was a "cheap" way to write a list, but going through
   QStringList::split() is just a long-way-around for static
   initialization
5 years ago
Adriaan de Groot 2dfbed40c5 [locale] Move defines
- Used in only one place, move to .cpp
 - Drop useless scaling all the images *are* that size already
 - Add debugging check that the images match expected size
5 years ago
Adriaan de Groot 9d9d9c361d [locale] Clean up constants
- move LOCALESDIR to the one place it's used
 - remove file with only unused #defines
5 years ago
Adriaan de Groot 7354d35faf [locale] Apply coding style to timezonewidget/ 5 years ago