7325 Commits (eee9dee87f1b4a7e5d5f5b1206c0c67aa7f4d8f7)
 

Author SHA1 Message Date
Callum Farmer eee9dee87f [lang] Update SPDX identifiers. 4 years ago
Adriaan de Groot 689a65e107
Merge pull request #1414 from gportay/remove-unused-locals
[partition] Remove unused locals
4 years ago
Calamares CI a318fc8f56 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI bc9544bf14 i18n: [dummypythonqt] Automatic merge of Transifex translations 4 years ago
Calamares CI ff0676b79b i18n: [desktop] Automatic merge of Transifex translations 4 years ago
Calamares CI 885fe80d5b i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Gaël PORTAY 629bb2e2f6 [partition] Remove unused locals
- Unused since commit 0d284759f5
4 years ago
Adriaan de Groot 69c2d089f2
Merge pull request #1413 from gportay/rawfs-fix-crash-if-bogus-is-unset
[rawfs] Fix crash if bogus is unset
4 years ago
Adriaan de Groot 738a6a9019 [calamares] Make module-tester configurable in slideshow mode
- Uses global storage to steer the jobs that are created, in case
  the slideshow needs to be tweaked by percentages or whatever.
- While here, add some code docs and apply coding style.
4 years ago
Adriaan de Groot d51a545fcf [calamares] onInitComplete() already activates first step
- In the test application, there is only one viewstep, so it is
  already activated; avoid double-activation.
4 years ago
Adriaan de Groot 39b5dd4e6e [libcalamaresui] Avoid deadlock
- When loading QML V2, both loadQmlV2Complete() and changeSlideShowState()
  lock the same mutex, introduced in e7f4479df1.
- Explicitly unlock when loading is done and we need to change the state
  immediately.
4 years ago
Adriaan de Groot 376cb3c042 [calamares] Give the fake ExecutionViewModule a name
- This is needed for addModule() so the module manager knows there
  is a module by the name x@x.
- Tell the ExecutionViewStep to run jobs from x@x.
4 years ago
Adriaan de Groot 28500de2f8 [calamares] Register modules in test-loader
- When a viewmodule is loaded, register it with the module manager
  (especially relevant for the slideshow module).
4 years ago
Adriaan de Groot c7d0df223a [libcalamaresui] Expose registering-a-single-module
- For testing purposes, it's useful to load a module externally
  and then register it to the ModuleManager (this hands off ownership).
- Refactor overall module loading to use the exposed single-module method.
4 years ago
Adriaan de Groot 1fec95ac48 [libcalamares] Move QML search-path initialization
- QML files need to be searched in specific places; this was initialized
  by Calamares, but not for the text application. Move initialization
  into the library.
4 years ago
Adriaan de Groot 6dffec2730 [libcalamaresui] Move QML-related directory functions to Qml.cpp 4 years ago
Adriaan de Groot 4491fb8c27 [libcalamaresui] Name QML-wrangling functions consistently
- Use "Qml" in camel-cased names
4 years ago
Gaël PORTAY 40dd34c7d0 [rawfs] Fix crash if bogus is unset
- fixes:
	12:44:25 [6]: Python Error:
	 <class 'TypeError'>
	 'builtin_function_or_method' object is not subscriptable
	 File "/usr/lib/calamares/modules/rawfs/main.py", line 188, in run
	    item.copy(filesystems.index(item), len(filesystems))

	  File "/usr/lib/calamares/modules/rawfs/main.py", line 99, in copy
	    if libcalamares.job.configuration["bogus"]:
4 years ago
Adriaan de Groot 0947da3d41 [libcalamaresui] Report on QML errors
- If the slideshow fails to load entirely, say so
4 years ago
Adriaan de Groot ae861f7ec0 [calamares] Give slideshow-test some jobs to run 4 years ago
Adriaan de Groot bd73981c5f [calamares] Add -s option to module-tester
- The -s will run the slideshow with a bogus job-queue, allowing easier
  testing of the slideshow. This is more convenient than having a Calamares
  with an empty show and a bogus exec section.
- The -s option for running the slideshow / execution phase of
  Calamares needs to create a bogus Module for the ExecutionViewStep.
4 years ago
Adriaan de Groot ec2fc5a763 [libcalamaresui] Better default font size
- Previously, unless setDefaultFontSize() was called explicitly,
  the default size would be 0, leading to unexpected and weird
  displays (and a warning on stderr).
- If setDefaultFontSize() is not called, get a sensible size instead
  (like defaultFontHeight() was already trying to do).
4 years ago
Adriaan de Groot 8db8752a41 [libcalamaresui] Remove spurious Q_FUNC_INFO 4 years ago
Adriaan de Groot 3e51fe4651 [partition] Remove spurious Q_FUNC_INFO from logging
- The Q_FUNC_INFO was integrated into regular logging with commit
  5248a37eb3
4 years ago
Adriaan de Groot 8465dcbc19 [calamares] Don't crash in test-loader
- When loading *view* modules, we always need a QApplication for GUI
  bits, because the widget for a module is created is very early.
- If it's a view module, replace the application object with one
  that supports GUIs; without the --ui flag, though, it will just
  run the jobs.
4 years ago
Adriaan de Groot 72857b75d0 [partition] Chase moving PrettyRadioButton to libcalamaresui
- Update includes
- Use exposed API instead of accessing internals of the button
4 years ago
Adriaan de Groot 17231ae41f [libcalamaresui] Sanitize API of PrettyRadioButton
- Don't expose internals
- Drop unnecessary virtual
- Offer new API to do the things, for which internals were exposed
4 years ago
Adriaan de Groot 3b7c3c4f5d [libcalamaresui] Coding style
- Apply coding style
- Place the widget classes in namespace Calamares
- Export symbols for widgets
4 years ago
Adriaan de Groot c4951d5090 [libcalamaresui] Move PrettyRadioButton from partition 4 years ago
Adriaan de Groot 8d4c7767d4 [libcalamaresui] Document ClickableLabel 4 years ago
Adriaan de Groot f67d8ef162 [3rdparty] Chase API deprecation in Qt
- QElapsedTimer has existed since Qt 4.7
4 years ago
Adriaan de Groot 4c0a212b68 [partition] Warnings-- (Qt 5.14)
QVariant::fromValue doesn't have *since* documentation, so I expect it to be 5.6-and-later.
4 years ago
Adriaan de Groot 27d4fa675b [locale] remove unneeded this-> 4 years ago
demmm c6671f9495 Changes: welcomeq is now a functional module 4 years ago
demmm e2c99eeb5e [welcomeq] adjust spacing
make sure the listviews fit in the default window size without overlapping
the language bar
4 years ago
Adriaan de Groot 7e83296aa2 Changes: name contributors so far this release 4 years ago
Adriaan de Groot 02cb005529
Merge pull request #1408 from gportay/remove-unused-variable
[bootloader] Remove unused variable root_mount_point
4 years ago
Gaël PORTAY 33f6bd5699 [bootloader] Remove unused variable root_mount_point
- root_mount_point was used initially for logging c1a139995 (adding new
  bootloader job options are to use grub for BIOS, gummiboot for efi set
  extra mountpoint when efi is found)
- the trace was removed since 533031b3c ([bootloader] print() does not
  log)
4 years ago
Adriaan de Groot c3d8112187 CMake: allow fine-tuning tests
- The Python configuration tests sometimes need extra setup, so
  do that through a CMakeTests.txt file in the test directory.
- Patch up existing tests:
  - grubcfg needs /tmp/calamares/etc/default to exist
  - rawfs won't work on FreeBSD because of differences in /proc
4 years ago
Adriaan de Groot fe069bdb23 [fstab] Add some discussion about *discard* option
- drop the *discard* from filesystems-on-SSD in the standard example
  configuration.
- keep the table **with** *discard* around for referece and explanation.

Remember that the example configurations are intended as **examples**,
to document available settings, and do not reflect a sensible
production configuration.

FIXES #1395
4 years ago
Adriaan de Groot cbe5e37112
Merge pull request #1407 from demmm/master
[welcomeq] use negatedText for better text on missing
4 years ago
Calamares CI 03a7d1253c i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI e524ac952d i18n: [calamares] Automatic merge of Transifex translations 4 years ago
demmm 153d605bb6 [welcomeq] use negatedText for better text on missing 4 years ago
Adriaan de Groot 3db12cc29e
Merge pull request #1406 from demmm/master
[welcomeq] connected to RequirementsModel
4 years ago
demmm a85ff30ad4 [welcomeq] smaller font size
correct color order Requirements.qml
4 years ago
demmm fed89badd4 [welcomeq] connected to RequirementsModel
clean up obsolete lines in welcomeq.qml
add requirement section from welcome.conf to welcomeq.conf
data shows correctly in Recommended.qml, fails to show any in Requirements.qml if run without admin rights
4 years ago
Adriaan de Groot dd0491e5ca Merge branch 'no-qml' 4 years ago
Adriaan de Groot 022045ae05 [libcalamaresui] Refactor loading slideshow
- split into a separate method
- when QML is disabled, warn about QML settings
4 years ago
Adriaan de Groot c83e5c57a4 [libcalamaresui] When QML is off, there is no Qml panel flavor 4 years ago