6654 Commits (538779991ed4c4066a428f0a3b444fa04a95b64e)
 

Author SHA1 Message Date
Adriaan de Groot 97f622e094 [locale] Use standard algorithms 5 years ago
Adriaan de Groot 6b77d5db4a [welcome] Add detail messages for root and screen checks
- these were empty, so the widgets were hidden in the details
   dialog of the requirements check; which looks really strange
   if the reason the check fails is because root is required,
   and you can't see that in the details.

This commit is on a branch because it changes strings, and I want
to do a release Real Soon and not annoy the translators.
5 years ago
Adriaan de Groot 6db4d2ed37 CI: more BSD-compatibility, and remove typo 5 years ago
Adriaan de Groot ede7d94b40 CI: handle differences in date(1) better 5 years ago
Adriaan de Groot bf0515d188 CI: handle FreeBSD version of date(1) 5 years ago
Adriaan de Groot ac96d91a65 Merge branch 'issue-1307'
FIXES #1307
5 years ago
Adriaan de Groot ad4ac1d25c [welcome] Update copyrights 5 years ago
Adriaan de Groot 9d69d0a893 [welcome] Remove unused variables 5 years ago
Adriaan de Groot 1ac4786365 [welcome] Move all the translation work to the slot
- this needs to (re)check the satisfaction states to figure out the
   message, but that's useful if the state of the checks changes
   (e.g. in #1106)
5 years ago
Adriaan de Groot 221a79b64c [welcome] Simplify logic
- \not mandatorySatisfied \implies \not requirementsSatisfied,
   so the ifs can be combined and simplified
5 years ago
Adriaan de Groot 28d91979c3 [welcome] Make resultWidgets less error-prone
- instead of counting and needing to keep track of the predicate
   applied while creating the widgets, push nullptrs to the widget
   list instead reflecting "this entry did not satisfy the predicate
   for widget creation".
5 years ago
Adriaan de Groot 39534325e6 [welcome] Re-use widget creation code
- for the list, the code can be the same as for the dialog,
   only the predicate is different.
 - while here, implement retranslate() since there's no text on
   the list widgets otherwise.
5 years ago
Adriaan de Groot 38d58e5b16 [welcome] Hoist explanatory-label code
- Create the label once, and it's ok for it to respond to links
   even if there's none in the code.
 - Turn into a member variable in preparation for retranslation-refactor.
5 years ago
Adriaan de Groot b476e4b386 [welcome] Refactor link-clicking
- remove intermediate lambda
 - rename dialog slot to one handling links in general (which now
   **only** does the dialog link)
5 years ago
Adriaan de Groot ecc7719abd [welcome] Hoist checking for requirements-satisfied
- lift it out of the loop that creates the widgets
 - some lambda-wankery, but the compiler hammers this down to
   simple loops and you can read the resulting code as

	none_of  [the list]  isUnSatisfied
	none_of  [the list]  isMandatoryAndUnSatisfied
5 years ago
Adriaan de Groot f5c0e57f17 [welcome] Improve variable naming
- these two are about whether all the checkEntries are satisfied
   (in general, and the mandatory ones) so make the names reflect that.
5 years ago
Adriaan de Groot 5795801be5 [welcome] Remove unneeded member variables.
- local to the constructor, only needed to be members because
   of the weird split between constructor and init()
5 years ago
Adriaan de Groot 5aae736ced [welcome] Create ResultWidget in separate method 5 years ago
Adriaan de Groot bede280f91 [welcome] Refactor ResultsListWidget
- no point in having init() called immediately after the constructor,
   if it only makes sense to have one call to init() ever to create
   the widget.
 - while here, give it the same kind of structure as the dialog,
   holding on to a reference to the list.
5 years ago
Adriaan de Groot 320dcac946 [welcome] Drop unneeded member variable 5 years ago
Adriaan de Groot ed1b3b576f [welcome] Refactor ResultsListDialog
- drop useless debugging
 - add documentation
 - move to its own spot in the file (not mixed in with ResultsListWidget)
5 years ago
Adriaan de Groot 41ac21bdcd [welcome] Refactor results-details dialog
- Factor out the "details" dialog into a separate class
   with a translation slot. This resolves the crash reported in #1307.
5 years ago
Adriaan de Groot b3f5e28738 CMake: update language list
- Add Assamese (as) in the *ok* group.
 - Although languages move around a bit in the groupings,
   that doesn't change their availability; just says something
   about the current translation status.
5 years ago
Calamares CI bbd18b4851 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI a017451607 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI 0adc6599b7 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot cd845475f0 CI: wrangle txstats.py
- This script is used to figure out which languages are included in a
   Calamares release; it fetches translation statistics from Transifex.
 - Document Esperanto better.
 - Add a -v option to see the actual translation numbers.
5 years ago
Adriaan de Groot c18d40f61b CI: switch lupdate-versions checked for
- look for the more-specific lupdate-qt5 first, then the generic one
 - in practice this is moot, though, since the only person running
   this script is me, on one of my development VMs

Reported by Kevin Kofler (who rightly points out that lupdate *might*
be a Qt4 or even Qt3-era executable).
5 years ago
Calamares CI e967b121e2 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI ae2536a9c3 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI 209e4a2ad9 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 48dec91606 CI: fix-up txpull
- canonicalize the files fetched from TX after import
5 years ago
Adriaan de Groot 6eb52c2989 CI: fix-up txpush
- need to force-push the translation tag (since there's only one,
   and it moves through history whenever TX is pushed)
 - xmllint canonicalization removes the DOCTYPE, so hack in
   a pipeline stage that re-inserts it.
5 years ago
Adriaan de Groot 397440539f CI: explanations after txcheck fails 5 years ago
Adriaan de Groot fa466b447c CI: Canonicalize XML first
- Do XML processing / canonicalisation in txpush only
 - Run the *HEAD* version of txpush in both worktrees
5 years ago
Adriaan de Groot 64b56664de CI: use explicit encoding in XML tidy 5 years ago
Adriaan de Groot 053fa28b19 CI: improve TX consistency
- txpush
   - don't try to push TX for the timezone list
   - xmllint --format the .ts files to avoid inconsistency between
     TX tool versions
 - txcheck
   - xmllint --format
   - hard-code the list of files, it's not worth the hassle
   - don't apply XML cleanups to POT files
   - strip linenumbers from POT files for diffing
5 years ago
Adriaan de Groot 5dad5dae02 i18n: support Tumbleweed versioned-lupdate executables 5 years ago
Adriaan de Groot 5ac57fe294 i18n: don't translate TZ via Transifex
- This is about 600 place-names, and the vast majority is not
   translatable and would only pollute the Transifex DB.
 - Instead, rely on git and PRs to update these specific translations.
5 years ago
Adriaan de Groot 39cc13cb25 [shellprocess] Tidy code
- resolve TODO, use a unique_ptr to hang onto the command-list
 - sort the #includes, use correct quoting
5 years ago
Adriaan de Groot 71a73ee1a1 [libcalamares] PythonJob created with InstanceKey 5 years ago
Adriaan de Groot d86b6bddeb CI: when pushing TX, also push the tag 5 years ago
Adriaan de Groot 86770111b5 Changes: Document changed job weights 5 years ago
Adriaan de Groot 96946a8447 Merge branch 'fix-unpackfs-progress'
This is an ugly hack, using Bill Auger's support for Job weights.
The unpackfs job is arbitrarily awarded a weight of 12. That makes it
(in a Netrunner install) use progress from 12% to 40% or so, overall,
as all the files are unpacked.

Also fixes bug reported by Kevin Kofler that unpackfs was only reporting
progress when it hit an exact multiple of 100 (instead of over 100).

SEE #1176
5 years ago
Adriaan de Groot 9976e92659 [libcalamares] Enlarge unpackfs to 12x 5 years ago
Adriaan de Groot d4b24894cb [libcalamares] Weigh unpackfs extra heavy
- This is a gross hack, which hard-codes unpackfs as much-heavier
   than other Python modules.
5 years ago
Adriaan de Groot 0c9188ee83 [libcalamares] Document JobWeight 5 years ago
Adriaan de Groot b0b9073b40 CMake: fix boost.python detection on FreeBSD 5 years ago
Adriaan de Groot 0bdc5b18f4 Merge branch 'no-config'
FIXES #1301
FIXES #1302
5 years ago
Adriaan de Groot c555369766 Changes: document new *noconfig* behavior 5 years ago