7395 Commits (9b8d591b5dc63279d6bcbd9b6ddb3a78cd59d9d6)
 

Author SHA1 Message Date
Adriaan de Groot 9b0ea3f63d [libcalamares] Remove runaround through free function
- Call into a method directly to do the work of adding
  results from a single module.
5 years ago
Adriaan de Groot b7c60cec66 [libcalamares] Re-vamp RequirementsChecker
- Give the ModuleManager a RequirementsModel -- that is the source
  of truth about the module-requirements of the modules managed
  by that particular ModuleManager.
- Let the RequirementsChecker operate on a given RequirementsModel.
5 years ago
Adriaan de Groot 039065ee4a [libcalamares] Minor debugging support in RequirementsModel 5 years ago
Adriaan de Groot 8306de731a [welcome] Setting requirements from own reqs is totally wrong
- The requirements are collected by ModuleManager, checked
  by an internal RequirementsChecker and changes to the
  requirements state are all signalled from ModuleManager.

By connecting the requirements in the welcome modules' Config
only to their own configs -- and immediately checking them,
which is bad on its own -- we end up with a disconnect between
what the ModuleManager says about requirements, and what
the welcome modules report on.
5 years ago
Adriaan de Groot d87d714b8d [libcalamares] Make the requirements model more adaptable
- Either replace the list of results, or add to them
- Lock model while adding rows
5 years ago
Adriaan de Groot 0f5db0ba5e [libcalamares] Remove direct access to model internals
- This was just for the ResultsListWidget, which can also use
  normal role-based model access.
5 years ago
Adriaan de Groot 616fbb08f3 [libcalamares] Improve docs of RequirementsModel 5 years ago
Adriaan de Groot d17dac67e7
Merge pull request #1402 from demmm/master
[localeq] move to QtLocation map based module
5 years ago
demmm 32ae0a7bf6 set a bogus username in Map.qml 5 years ago
Adriaan de Groot 54b211daa4 CMake: switch back to kdsingleapplicationguard
- Reports from downstream Manjaro that the DBus activation doesn't
  work at all. Switch the default back to the old way, until it
  can be debugged more.
5 years ago
Adriaan de Groot df1f9f1b56 [libcalamaresui] Prep-work for image-slideshow
Doesn't compile (but I need to get it off this machine)

- Prepare to implement a picture-based slideshow alongside QML
- Split QML loading into the slideshow component

This might be good prep-work for moving QML loading out of the QMLViewStep as well.
5 years ago
demmm 34e7b06cc9 [localeq] move to QtLocation map based module
fully implemented:
* loading of a live map, ESRI based, zooming & dragging possible
* IP address is translated to map coordinates
* loading of the map centers to the obtained coordinates, with a marker set
* coordinates are translated to a timezone, label visible at bottom of the map
* mouse movement will show changing coordinates
* clicking on new location will center map there, marker moved too, timezone label adjusted
* hasInternet switch set to either load Map.qml or Offline.qml

not done:
* get hasInternet status
* fill the fine-tune 181n.qml with proper locale & language data
* connect the obtained timezone to globalstorage

comments are left in the various files for what needs attention/changes
5 years ago
Adriaan de Groot 36a1d60c0e Merge branch 'rawfs-compat'
Improve testing framework while adding tests to rawfs to double-
check that the conversion (for Python 3.3 compatibility) of
capture_output is correct.
5 years ago
Adriaan de Groot 1ae38c8ebc CMake: add tests when there are test-configs
- If a module has tests/#.global or tests/#.job, these are used
  as arguments to a test-run of loadmodule (which reads them
  and runs the module with that configuration).
- This makes the old python-loading test and test-runner entirely
  obsolete, so remove them too.
5 years ago
Adriaan de Groot 91f88cebf0 [calamares] Move testing application out of intermediate dir
- src/modules doesn't seem like a really good place for stray sources
  for a testing application. Move it.
5 years ago
Adriaan de Groot 74fb88f9ac [rawfs] Minor testing support
- set *bogus* to do no harm
- add some test configurations
5 years ago
Adriaan de Groot dc87c11ac4 [rawfs] Slightly more debugging 5 years ago
Adriaan de Groot 7ff97bbb94
Merge pull request #1398 from demmm/master
start of adding requirements to welcomeq
5 years ago
Calamares CI 70c4d8ae9c i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 55fb7565d4
Merge pull request #1396 from FLVAL/master
Add files via upload
5 years ago
Adriaan de Groot 175082e3ad [rawfs] Make compatible with Python 3.3 5 years ago
Adriaan de Groot 4e3f9fb6b3 Merge branch 'simplify-unique'
- Use DBus service / activation to ensure uniqueness of Calamares
  instances, and **don't** require debug-instances to be unique.
5 years ago
Adriaan de Groot 4d90c8a00b Changes: document some things merged-in this release 5 years ago
Adriaan de Groot ee51e7abe1 Merge branch 'qml-nav-height' 5 years ago
Adriaan de Groot b7214b8ede [calamares] Switch over to DBus unique activation
- By default, try to use DBus service to keep Calamares unique
- The older implementation via KDSingleApplicationGuard is still
  available, just not used by default.
5 years ago
Adriaan de Groot 5af2a87709 [calamares] Remove redundant KF5/ in includes
- We link to these frameworks, which gives us a KF5 include path already
5 years ago
Adriaan de Groot 15cbdf2a18 [calamares] Allow multiple instances if -d is given
- Calamares doesn't like to run multiple instances, since they would
  interfere with each other (stealing disks from each other, for instance).
  The single-application code tries to prevent that.
- For -d runs, for developers where presumably they know what they are
  doing, the single-application restriction is annoying: especially if
  you need two instances at once for some kind of visual comparison.

Drop the single-app requirement if -d is given.
5 years ago
demmm 1ece171597 start of adding requirements to welcomeq
just QML, no real connections yet
hardcoded to not visible
not clear if requirementsModel is available to welcomeq
5 years ago
Adriaan de Groot 60aecaf0b8 [calamares] Fix height of the navigation bar in QML
- If the QML navigation panel sets a height, use that
- If it doesn't, use 48px (which *may* make sense, but like many
  screen dimensions in Calamares doesn't take HiDPI into account)
- Give the demo QML an explicit height of 48
5 years ago
Adriaan de Groot bb2b5fd982 [libcalamaresui] No reason for bail() to be a method 5 years ago
Adriaan de Groot 526716556c [libcalamaresui] Store the slideshow-from-images data
- This code has existed for a long time but never stored anything
  to the Branding object, and the most literal slideshow (just some
  images) was not implemented.
5 years ago
FLVAL e5f2aba8e2
Add files via upload
Region "Africa" zones # 52 
14:25:19 [6]:  ..  Zone "Asmara" QPoint(445,183) 
14:25:19 [6]:  ..  First zone found 2 "2.0" 
14:25:19 [6]:  ..  Also in zone 3 "3.0"
5 years ago
Adriaan de Groot 401a34fcbd [libcalamares] Fix tests on FreeBSD
- https requests can fail if ca_nss isn't installed; ping something
  else then.
5 years ago
Adriaan de Groot 7277d52828 [libcalamares] Expand range of errors for network requests
- All failures were being reported as Timeout, which is confusing
  when they are not. Introduce HttpError for the not-timeout
  other kinds of errors.
- Add operator<< for RequestStatus for nicer error logging.
5 years ago
Adriaan de Groot ea51ff9285 Merge branch 'welcome-config' 5 years ago
Adriaan de Groot 5dc358093e [welcome] Apply coding style 5 years ago
Adriaan de Groot 713132d4af [welcome] Move GeoIP loading into Config
- The Config object can handle GeoIP loading on its own. Both
  View steps that used this had a derpy view->setCountry() that
  didn't really do anything with the view anymore.
5 years ago
Adriaan de Groot 6434374bf3 [welcome] Move languageIcon loading into the Config object
- The QML module had an additional check that the normal one
  did not; add it in the merged code.
5 years ago
Adriaan de Groot a7a6c937ea [libcalamaresui] Add needed includes
- Return type QPixmap means we should definitely #include it
5 years ago
Adriaan de Groot 120a2b0f03 [welcome] Move get-the-show*Url code into Config
- Since this is configuration-loading, put it in the Config
  class; reduces code duplication between welcome and welcomeq.
5 years ago
Adriaan de Groot e65a0ee617 [welcome] Update welcome example
- donate **does** have a corresponding branding setting
- show that "false" is a valid setting
5 years ago
Adriaan de Groot cd44f548f5 [libcalamaresui] Add donateUrl to the branding settings
SEE #1384
5 years ago
Adriaan de Groot 9e344f50a7 [bootloader] Refactor efi-next-boot
- move the setup-next-boot code to a function on its own
- credit to Gaë
5 years ago
Adriaan de Groot 7c633f1253
Merge pull request #1394 from gportay/set-efi-bootnext
[bootloader] Set the EFI Boot Next
5 years ago
Calamares CI aef529afe5 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI b66867f0ff i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI 4f274bae36 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Gaël PORTAY 4a9c8d0278 [bootloader] Set the EFI Boot Next
- This forces the EFI firmware to boot the loader that was just
   created, whatever the boot order set in the firmware setup (USB,
   CD/DVD, HD...).
 - It is safe to use the first Boot Entry listed in BootOrder as the
   previous command creates the new entry and adds it to the first place
   of the BootOrder.
5 years ago
Adriaan de Groot 7d1800a0d7 [welcome] Apply coding style 5 years ago
Adriaan de Groot e023adc9b2 Merge branch 'remove-star'
Branding API too clever by half. Make it simpler.
5 years ago