4320 Commits (dfd76ed384f617856870e361759e088f97cc8331)
 

Author SHA1 Message Date
Adriaan de Groot dfd76ed384 CMake: drop unused variable (no thirdparty/ dir anymore) 7 years ago
Adriaan de Groot 15b97f8e3f [libcalamares] Add missing include-dir
- Fix build on FreeBSD, where the yaml-cpp headers don't live in
   any normally-searched include directory.
7 years ago
Adriaan de Groot fc979404d1 CMake: move translation settings up
- Follow previous move of user-adaptable settings and regularly-updated
   variables to the top of CMakeLists.txt with a move of the list of
   translated languages.
7 years ago
Adriaan de Groot 91a5ec426d CMake: shuffle the top-level CMakeLists
- Put all the options near the top, easy to spot when reading the file
 - Put the settings that need regular updates, like version, near the top
 - Add some "section headers"
7 years ago
Adriaan de Groot fb0cf9a668
Merge pull request #973 from abucodonosor/typo
[hwclock]: fix typo

Thanks @abucodonosor
7 years ago
Gabriel Craciunescu 41d427e543 [modules]: hwclock fix typo
- methode -> method
7 years ago
Adriaan de Groot db7edf719b Merge branch 'fix-iceland'
Deal with some errors in placement of markers (both North and South,
the map is stretched a bit), fix timezone pixel maps to fix wrong
zone display.

This was triggered by Reykjavik being moved around, but expanded
when Johannesburg was also somewhere it isnt.

FIXES #967
7 years ago
Adriaan de Groot 1ee87c3cde [locale] Drop debugging define 7 years ago
Adriaan de Groot 6b3299e6ff [locale] Adjust the North
- Fudge the numbers in the North, to improve location
   of the pins and lines of latitude.
 - Inuvik, Yellowknife, Cambridge Bay, Resolute look ok
 - Thule, Scoresbysund look ok; Danmarkshavn a pixel or so too far North
 - Reykjavik is a bit too far North
 - Longyearbyen is a bit too far North

Since these places are off by one or two pixels, this becomes
invisible when a large pin + text label is placed on it.
7 years ago
Adriaan de Groot 4bacafb411 [locale] Fix timezone pixel map for Tierra del Fuego region
- Punta Arenas, draw like it's in -4
 - Ushuaia, draw like it's in -3

FIXUP pixel
7 years ago
Adriaan de Groot b7dbc8cc1f [locale] Name zones when debugging
- When debugging timezones, state their names (e.g. UTC offset)
   and also log the pixel position under consideration.
7 years ago
Adriaan de Groot 2c18ba6ddb [locale] Adjust latitude calculation in the southern hemisphere
The scaling on the map was a little off; the degrees of latitude
are a little wider there than around the equator and Europe.

 - Johannesburg is in the right spot
 - Hobart is no longer a suburb of Melbourne
 - Punta Arenas is in Chile
7 years ago
Adriaan de Groot 9f8f76befc [locale] Introduce timezone-widget debugging
Replace pin and text label with just a dot (to pinpoint where
locations are) and draw latitude lines on the globe when
DEbUG_TIMEZONE is set at compile time. Since there's probably
still timezone-related bugs (in particular in the images that
map points on the globe to timezones), leave this in the codebase.
7 years ago
Adriaan de Groot cfcc753130 i18n: Enable Belorussian translation 7 years ago
Calamares CI 960c33a512 i18n: [python] Automatic merge of Transifex translations 7 years ago
Calamares CI a29bd5a18d i18n: [calamares] Automatic merge of Transifex translations 7 years ago
Calamares CI 1dc11a9d5d i18n: [python] Automatic merge of Transifex translations 7 years ago
Calamares CI 51b50b9366 i18n: [dummypythonqt] Automatic merge of Transifex translations 7 years ago
Calamares CI febe597387 i18n: [desktop] Automatic merge of Transifex translations 7 years ago
Calamares CI 96b1f1cfbc i18n: [calamares] Automatic merge of Transifex translations 7 years ago
Adriaan de Groot 50dea6ded3 [interactiveterminal] Make optional if requirements not met
This is orthogonal to the SKIP_* mechanism already documented
for avoiding modules. If the module is enabled, but its dependencies
are not present, don't bother building the module. This follows
e.g. plasmalnf as an "avoidably heavy dependency".

Related to a misplaced comment in ISSUE #956
7 years ago
Adriaan de Groot 41f70975ea i18n: add Byelorussian (new translation team) 7 years ago
Philip fc8d961049 [ci] fix link in HACKING.md 7 years ago
Adriaan de Groot ce3e09318a [preservefiles] Improve failure messages 7 years ago
Adriaan de Groot 28a42a7230 Merge branch 'filepreserver' 7 years ago
Adriaan de Groot 1ad2d365f5 Merge branch 'improve-moduleloading'
This is code that was written as part of the fix-pythonqt branch,
but which isn't really PythonQt-related at all. That branch will
be abandoned soon, since it wasn't sufficiently well-thought-out
enough at the beginning.
7 years ago
Adriaan de Groot cdadc2f003 [libcalamares] Improve error logging during module loading 7 years ago
Adriaan de Groot 182458ad5a [calamares] Need a JobQueue and global storage before running any job.
The 'singleton' instances don't do a very good job of being singletons
or ensuring their own creation.
7 years ago
Adriaan de Groot 48771f968a [calamares] Load and execute the modules
This runs dummyprocess, at least, but the other three dummies coredump.
7 years ago
Adriaan de Groot 308f508c7e [calamares] Add a test-application.
This test-application should load a single module and execute it --
that can be used to quickly test configurations, loading, etc. This
is preparation for loading all sorts of Python modules by PythonQt.

The loader does some internals initialization and gets the module,
but doesn't actually run it yet.
7 years ago
Adriaan de Groot fdda0e14aa [libcalamaresui] Improve explainYamlException
- overloads for common kinds of label
 - improve error reporting when reading settings and branding files
7 years ago
Adriaan de Groot e5ca8e091f [libcalamaresui] Use refactored loadYaml 7 years ago
Adriaan de Groot 261c545476 [libcalamaresui] Refactor loading of YAML to QVariantMap 7 years ago
Adriaan de Groot f26ac63c07 [libcalamaresui] Make Python code const
- This is always loaded into the Python context, so it may as well
   be done only once.
7 years ago
Adriaan de Groot 45b95e1b65 PythonQt: default to enabled
- This just causes it to be enabled and used when present
   by default, rather than disabled by default (even when present).
7 years ago
Adriaan de Groot d3e57e9c9f [shellprocess] Expand tests
These tests run (shell) commands as part of the test; this may be
a security problem, although I've tried to do things safely.
7 years ago
Adriaan de Groot 87b9c42158 [shellprocess] Don't crash test
- May need to create a JobQueue before doing anything internal
 - May need to create global settings
 - Chroot always needs rootMountPath internally
7 years ago
Adriaan de Groot 8b00a03423 [shellprocess] Test command-substitution 7 years ago
Adriaan de Groot b5d900c1c6 [libcalamares] Allow a @@USER@@ replacement in commands
- Following example in preservefiles module, allow @@USER@@
   in commands (e.g. to do something specific in the home-dir
   of the new user).
7 years ago
Adriaan de Groot b7890d865f [preservefiles] Save GS, munge destination
- using `from: config` now writes a JSON file
 - using @@ROOT@@ and @@USER@@ in dest does a sensible
   substitution.
7 years ago
Adriaan de Groot ac287a0ac5 [libcalamares] Add a save() method to global storage
- This is a quick way to dump GS to JSON, which is useful
   for the preservefiles module #928
 - Also useful for, e.g., #466
7 years ago
Adriaan de Groot dae84d3bb1 [users] Improve explanation of other steps of adding a user 7 years ago
Adriaan de Groot 745dc9ad00 Merge branch 'fix-shell'
This introduces configuration to allow switching between the
behavior noted in #964, and the desired behavior from PR #955.

For the Manjaro Openbox edition, this means they should add:
```
userShell:
```
To users.conf, while others will see the return of the previous
behavior of passing -s /bin/bash.

FIXES #964
7 years ago
Adriaan de Groot 01ff1efc5d [users] Improve explanation when useradd fails 7 years ago
Adriaan de Groot 0d24c1db6c [users] Introduce userShell setting
- Add a *userShell* key, which can be left out (default, backwards-
   compatible) to retain the old /bin/bash behavior, or explicitly
   set to empty to defer to useradd-configuration, or explicitly
   set to something non-empty to use that shell.
7 years ago
Adriaan de Groot ed15edabf9 [users] Document passwordRequirements and code 7 years ago
Adriaan de Groot 3a59574128 [users] Factor out command-line to useradd
- This is prep-work for #964, which was caused by #955
 - Original assumption was that distro's would have a working
   useradd configuration; @abucodonosor already pointed out that
   this was probably not the case, but I ignored that.
7 years ago
Adriaan de Groot 6aa5be192b [netinstall] Drop unused includes 7 years ago
Calamares CI 42d64f0630 i18n: [python] Automatic merge of Transifex translations 7 years ago
Calamares CI a79e62ac6b i18n: [dummypythonqt] Automatic merge of Transifex translations 7 years ago