Commit Graph

4261 Commits

Author SHA1 Message Date
Adriaan de Groot
02dfe51d55 [welcome] Improve error reporting from requirements checker 2017-12-04 10:47:26 -05:00
Adriaan de Groot
e628ddfdbf [plasmalnf] Try to get back to the live user before changing themes 2017-12-04 09:37:34 -05:00
Adriaan de Groot
b10b19e9ee [plasmalnf] C++ style and reduce includes 2017-12-04 09:11:10 -05:00
Adriaan de Groot
eb92755b0a [plasmalnf] Enable translations
- Move tool-running to the view-step
 - Enable translations by showing name instead of theme-id
 - More verbose logging
2017-12-04 06:40:13 -05:00
Adriaan de Groot
71966b5330 [plasmalnf] Wait longer for the tool to finish 2017-12-03 16:09:34 -05:00
Adriaan de Groot
1de2e94fd0 [plasmalnf] Simplify code, reduce copies of lnftool setting 2017-12-03 15:41:52 -05:00
Adriaan de Groot
fe8ff3ab05 [plasmalnf] Simplify code, remove redundant implementations 2017-12-03 15:34:06 -05:00
Adriaan de Groot
4e2e55a935 [plasmalnf] Needs to run as target user in all cases 2017-12-03 15:24:39 -05:00
Adriaan de Groot
e005c2d02d Merge branch '3.1-pinebook'
- Also document the config file some more.
2017-12-03 15:17:03 -05:00
Adriaan de Groot
ac92d4911d Compatibility: revert conveniences from master 2017-12-03 12:58:54 -05:00
Adriaan de Groot
3a94f02547 CMake: look for ECM at top-level, add to search path if found. 2017-12-03 12:48:23 -05:00
Adriaan de Groot
cddc4699aa [plasmalnf] Import Plasma Look-and-Feel module independently 2017-12-03 12:47:41 -05:00
Adriaan de Groot
1f49f764a6 [libcalamares] Allow retrieving chroot mode from system (as well as settings) 2017-12-03 12:46:33 -05:00
Adriaan de Groot
388399f256 [plasmalnf] Fix command-line options, run in target user environment 2017-12-03 12:42:44 -05:00
Adriaan de Groot
7e5970324f [plasmalnf] Reset layout along with theme 2017-12-03 11:05:14 -05:00
Adriaan de Groot
81128923e6 [plasmalnf] Disable applying in the target (user|system) for now. 2017-12-03 10:56:39 -05:00
Adriaan de Groot
3bdfa63a79 [plasmalnf] Preserve environment, so that DISPLAY gets to the tool 2017-12-03 10:38:32 -05:00
Adriaan de Groot
d3ef6b07d5 [plasmalnf] Run the lnftool in the target (user|system) 2017-12-03 10:22:46 -05:00
Adriaan de Groot
8a053f3c9b [libcalamares] Allow retrieving chroot mode from system (as well as settings) 2017-12-03 10:09:00 -05:00
Adriaan de Groot
b3d299bbf1 [plasmalnf] Replace hard-coded path with configurable one 2017-12-03 09:51:13 -05:00
Adriaan de Groot
62623a2376 [plasmalnf] Make an actual job of setting the theme
- Job doesn't actually run lookandfeeltool in the target system yet.
2017-12-03 09:26:59 -05:00
Adriaan de Groot
2d3defcca3 [plasmalnf] Hammer in theme-changing
- Tool is currently a hard-coded path.
2017-12-03 09:18:18 -05:00
Adriaan de Groot
8c65ee5481 [plasmalnf] Get available LNF
- Implement various ways of getting the LNF; the process-based one
   uses a recent CLI-tool from the Plasma developers.
 - Fill the UI with (meaningless) LNF package IDs.
2017-12-03 08:48:41 -05:00
Adriaan de Groot
98d758b4be [plasmalnf] Hammer out the most primitive UI 2017-12-03 07:08:54 -05:00
Adriaan de Groot
e0634a4056
Merge pull request #869 from V3n3RiX/master
new module : openrcdmcryptcfg - auto unlock encrypted partitions with OpenRC
2017-12-03 04:54:44 -05:00
Adriaan de Groot
839c039168 Merge remote-tracking branch 'origin/plasma-lnf' 2017-12-03 04:43:55 -05:00
Adriaan de Groot
298ff0cbeb Merge branch '3.1.x-stable' 2017-12-03 04:43:23 -05:00
V3n3RiX
7cecfceaa7 add openrcdmcryptcfg module 2017-12-02 19:47:34 +00:00
Adriaan de Groot
84c28e9efa CMake: explain better why PythonQt isn't found 2017-12-02 07:00:43 -05:00
Adriaan de Groot
c8a6ebe404 Testing: expand the testmodule script.
Do a better job determining what the arguments could mean; this supports
lazy devlopers who don't want to pass in full paths to all kinds of things.
Simple invocation can now be:
    testmodule.py <modulename> - +
to read <modulename>.conf from src/modules/<modulename>/
2017-12-02 06:43:12 -05:00
Adriaan de Groot
65a236cd60 [packages] Fix previous.
This, kids, is why you don't switch writing C++ and Python too often.
The C++ code isn't a syntax error in Python, although this would fail
at runtime.
2017-12-02 06:14:17 -05:00
Adriaan de Groot
3e3cd08ff3 [packages] Fix previous (false vs False) 2017-12-02 05:20:13 -05:00
Adriaan de Groot
150007c138 [packages] Feature: skip if no internet.
Update documentation, add a new key *skip_if_no_internet* to support
systems that **recommend** having an internet connection (but don't
require it), and which also use the packages module. This prevents
a long delay while the package manager tries to access the internet
and times out (repeatedly).

Existing configurations are unchanged.
2017-12-02 05:17:15 -05:00
Adriaan de Groot
7b145c2a36 [packages] Improve message when no packages are processed at all. 2017-12-01 16:48:02 -05:00
Adriaan de Groot
517dbfab06 [libcalamares] The script namespace is actually a dict
Use dict methods, in particular d.get(k, v), to retrieve
the pretty_name() function (or None if it isn't there).
Using getattr() on a dict will not return values in the
dict.
2017-12-01 16:42:56 -05:00
Adriaan de Groot
fe61925f31 [packages] Update module documentation 2017-12-01 13:46:59 -05:00
Philip
f131c96c0b [branding] update to v17.1 2017-12-01 07:48:34 -05:00
Philip
345c398be9 [Merge] with upstream 2017-12-01 07:44:49 -05:00
Adriaan de Groot
0d413ba750 Merge branch '3.1.x-stable' 2017-11-29 08:58:32 -05:00
Adriaan de Groot
63af8c1b92 Drop -rc status 2017-11-29 08:50:22 -05:00
Adriaan de Groot
12369abaa4 [libcalamares] Refactor to reduce compiler warnings 2017-11-29 08:49:44 -05:00
Adriaan de Groot
c4398ec86b [libcalamaresui] Swap breeze icons
Instead of using state-foo icons, use the corresponding emblems because
they are larger and don't have the 'cloud state' background.
Keep the existing names because I don't feel like churning
more of the codebase than necessary.

These new icons are from KDE Neon breeze-icon-theme 5.40, e.g.
breeze-icon-theme: /usr/share/icons/breeze/emblems/8/emblem-error.svg
2017-11-29 08:34:18 -05:00
Adriaan de Groot
53036be418 Merge branch 'i865-error-reporting' 2017-11-28 11:48:25 -05:00
Adriaan de Groot
ae4508011c [tracking] swap out PNG for SVG icons 2017-11-28 11:47:51 -05:00
Adriaan de Groot
c284304872 [libcalamares] Adjust copyright lines 2017-11-28 11:41:17 -05:00
Adriaan de Groot
cc195eb3d4 [libcalamares] Improve reporting of CalledProcessError
For called processes, replace the not-very-useful type message
with the command-explanation, and replace the value (previously
command-explanation) by the stderr of the failed command.

FIXES #865
2017-11-28 11:38:26 -05:00
Adriaan de Groot
9df796a3fd [libcalamares] Log earlier, warnings-- 2017-11-28 11:26:59 -05:00
Adriaan de Groot
1e27c6438a [libcalamares] Special-case CalledProcessError 2017-11-28 11:21:42 -05:00
Adriaan de Groot
a0a8ab0048 [libcalamares] Refactor Python target_env calls
This is why the whole refactoring started: to get the process output
and exit code in one spot so we can attach the process output
to the (Python exception) CalledProcessError in all the code
paths, not just those that are explicitly looking for output.
2017-11-28 10:55:53 -05:00
Adriaan de Groot
6693d91152 [libcalamares] Refactor bp:list -> QStringList 2017-11-28 10:42:00 -05:00