5452 Commits (a85ff30ad44dbbdc75f04758545a9677a1fdc4bc)

Author SHA1 Message Date
Adriaan de Groot 43c5e1fc96 [libcalamares] Fix build of tests
- Typed in on FreeBSD, where it doesn't get built
5 years ago
Adriaan de Groot cca067a34d [libcalamares] Add a bogus test showing flag names 5 years ago
Adriaan de Groot 1f6752307d [welcome] Massage layout when banner is used
- simplify handling of image loading (if the image doesn't exist,
  Branding will bail out on startup)
- reduce space above the banner if it is in use
5 years ago
Adriaan de Groot c3941b6e65 [welcome] Shuffle code
- things that can be done in the designer file should be there,
  not weirdly repeated in code elsewhere
- drop the insertion of an extra spacer (why not include it in the
  designer file?)
- shuffle all the connect() calls down to the end of the constructor
5 years ago
Adriaan de Groot be86561913 [branding] Example banner graphic that matches the default branding.desc
- Bogus "CalaMinix" (maybe the example branding should be consistent
   with that) banner.
 - Turn off the (example) banner in the default branding.
5 years ago
Gaël PORTAY 77a31ac3b2 [partition] Update debug output
The mount-point is known as mountPoint in the global storage.

This commit updates the trace to reflect its real name.
5 years ago
Gaël PORTAY d6c373c48d [partition] Allow a configurable EFI System Partition name
This commit adds the new configuration `efiSystemPartitionName` to the
file partition.conf.

This option sets the partition name to the EFI System Partition that is
created. If this option is unset, the partition is left unnamed.
5 years ago
Adriaan de Groot 86ffab1873 [libcalamares] Use convenience Logger::NoQuote 5 years ago
Adriaan de Groot 6de82e6857 [libcalamares] Add convenience for QDebug.noquote()
- Use << Logger::NoQuote{} to turn off quoting **and** the space
- In practice, in Calamares we use this only around other processes'
  output, where we want neither quotes nor spaces.
5 years ago
Adriaan de Groot c59af8881c [umount] Avoid SIGPIPE
- collect output from umount process, and then ignore it
5 years ago
Adriaan de Groot e51fbdc851 [locale] Apply coding style 5 years ago
Adriaan de Groot d348977d07 [libcalamares] Fix tests
- the test checks that the default locale is C or en_US .. let's just
  make it so instead of relying on the environment. This fixes tests
  on my dev-laptop, which happens to be set to en_NL (with volapuk
  date format).
5 years ago
Adriaan de Groot f8df49e40f [partition] Fix up tests
- Although we long ago replaced the getPartitions implementation, the
  test is still there, and on a machine with no /dev/sda (e.g. because
  root is on nvme) the echo-awk-shell-pipeline can give an empty string;
  this is turned into a QStringList{""} which has one element, while
  the new version has 0 elements.
- Special-case the test that empty strings should be empty lists, rather
  than 1-element lists with an empty element.
5 years ago
Adriaan de Groot a0b4b2bf5e
Merge pull request #1381 from bill-auger/patch-welcome-banner
[welcome] add optional branding banner to welcome page
5 years ago
Adriaan de Groot 1f3046dcca Merge branch 'issue-1374'
This is just updating tests, not fixing things.
5 years ago
Adriaan de Groot 69fae85fe8 [locale] Fix test-build
- needs <set> if it doesn't get pulled in implicitly
- mark tests as expected-to-fail to not block release
- SEE #1374
5 years ago
demmm 828448b2ff [welcomeq] make release notes part of welcome window
use Loader option for those notes too, commented out file shows it is possible to load from anywhere
5 years ago
demmm 249150dd1b [welcomeq] add language bar
reads data from languagesModel correctly, debug added to see index changes
code cleanup
button layout improved
install info text added, better spacing of text
about button no longer commented out, 3 reasons:
- info provided by any about is standard, will be odd if it can't be found
- about.qml is a seperate file, can be completely adjusted
- not showing it takes away the options for new QML cala users to see what is possible with Loader, thus stopping new possible contributors
5 years ago
bill-auger 7bce58f6f2 [welcome] add optional branding banner to welcome page 5 years ago
Adriaan de Groot a63a92e3d5 [locale]Fix build (clang, Debian)
- This is a follow-up to d0c205c1cc6a2ae49935c92bfd52911b9a0d43f7;
  I really don't know why static constexpr const elements that are
  not referenced by address need to be defined separately.
5 years ago
Adriaan de Groot ebb5efcd42 [locale] Mark test as expected-to-fail
- There are still 88 issues with the timezone images
5 years ago
Adriaan de Groot e804ad2488 [libcalamaresui] Rename enlarge()
- rename enlarge to ensureSize() and change the meaning from
  "make this much bigger" to "make sure this is displayed",
  which is easier on the caller to calculate.
5 years ago
Adriaan de Groot 2a4c74c099 [calamares] Layout-wranging
- the navigation bar was set "too tall", leave it at the natural
  layout height for this widget
- margins needed some massaging to give contents some more space
  (contents has a margin, so it doesn't need more space above
  the navigation bar)
5 years ago
Adriaan de Groot ade623f6b8 [locale] Shuffle code
- Put the building-up-the-overall-page in one spot
- Claim a little more vertical space for the TZ widget
5 years ago
Adriaan de Groot c0be53523c [locale] Give TZWidget a fixed size 5 years ago
Adriaan de Groot a4c5e18c4b [netinstall] Allow the netinstall.yaml to contain key *groups*
- This makes it easier to just copy the example, *groups*-key
  and all, into an online YAML file and serve that up.
  You get easier (local) testing.
5 years ago
Adriaan de Groot 2aca5464b7 [netinstall] Display package descriptions
- For packages with a description, show that
- Add an example in the config-file
5 years ago
Adriaan de Groot 960008b124 [netinstall] Allow rich descriptions of packages
- the *packages* list can now be package-names, or
  package-names-and-a-description.
5 years ago
Adriaan de Groot 39ed591414
Merge pull request #1378 from FLVAL/master
[locale] Timezones correction + Pin reduced
5 years ago
FLVAL 3f6e242fd9
Add files via upload
Resaved cause showing not 100% upload with latest correction
5 years ago
FLVAL 82c4e7aa54
Add files via upload
- udpated the _0.0 and _1.0 to not get overlap between Gibraltar and Cueta
- Fakaofo correction on _10.0 and _-11.0
- pin reduced size
5 years ago
Adriaan de Groot 82ba4be5e7 [locale] Test for pixel-perfect location of Gibraltar and Ceuta
- Can't get Gibraltar (and Ceuta) to be distinguished
5 years ago
Adriaan de Groot 3db901bd09 [locale] Expand tests to show overlapping locations
- This isn't something that Calamares can acutally fix,
  so the test will be disabled later. After all, if
  Brazzaville and Kinshasa are close enough that on the
  map they are the same pixel, we can't move the cities.
5 years ago
Adriaan de Groot 2633cf1ef6 [locale] Fix timezone maps for -1,0,1 timezones
- Merge branch 'master' of https://github.com/FLVAL/calamares
- Add credits to CHANGES

FIXES #1377
SEE #1374
5 years ago
Adriaan de Groot 7b4b268875 [netinstall] Hit the docs with a hammer
- Merge all the format documentation into netinstall.conf,
  where the example is given in full as an embedded
  *groups* entry.
- Get README.md to point to the example.
- Fix up headers in netinstall.yaml, pointing to the
  embedded example in netinstall.conf.
5 years ago
FLVAL e5b2faad9a
Add files via upload
Timezones updated for these countries found on pixel detection tool 

Dublin is in 0 (-1 needs editing)
Gibraltar should be 1.0 (0 needs editing)
Guernsey and Jersey are in 0 (1.0 needs editing)
Lisbon is in 0 (-1 needs editing)
Vilnius should be in 2 (1 needs editing)
5 years ago
Adriaan de Groot cd66405363 [locale] Test TZ images properly
- the test wasn't built with DEBUG_TIMEZONES, so it didn't get the
   overlap-checking code at all.
5 years ago
Adriaan de Groot d0c205c1cc [locale] Fix build (gcc, Debian) 5 years ago
Adriaan de Groot d20a621e93 [users] Apply coding style 5 years ago
Adriaan de Groot ab5d5fb772 [users] Log pwquality error message as well (better than just "-14") 5 years ago
Adriaan de Groot b890345b1f [locale] Tidy includes 5 years ago
Adriaan de Groot f7a87338b8 [locale] math headers got lost 5 years ago
Adriaan de Groot a2a10d14b6 [locale] Improve logging in tests 5 years ago
Adriaan de Groot 29fd0e0319 [locale] Expand test to check zones-overlap
- Document index and find methods,
- Check that each location is claimed by only one image (e.g. by
  one zone). This is currently false.
5 years ago
Adriaan de Groot 1d5c4f13aa [locale] Move the find-a-zone-image-for position to the image list 5 years ago
Adriaan de Groot 6173f9337a [locale] Refactor long+lat -> x,y mapping
- Move this code to a static method since it only depends on the
  expected image size (which here, is managed by the image list).
5 years ago
Adriaan de Groot 3945008956 [locale] Test the TZ image loader
- QImage needs Qt5::Gui, so this isn't a guiless-test; it can use
  the offscreen QPA, though.
- Check that the images are all the same size
- Debugging / check code removed from timezonewidget
5 years ago
Adriaan de Groot 340c462062 [locale] Refactor loading of timezone images
- Move the image-loading to a separate class
5 years ago
Adriaan de Groot 4b65600c08 [locale] Remove useless localeglobal
- Although ::init() was called, none of the actual functionality
   from localeglobal was still in use.
5 years ago
Adriaan de Groot 36d9e7d8f4 [locale] Extend tests with tz-image-validation
- The idea is to check all the TZ images for consistency, like
  TimeZoneWidget::setCurrentLocation() does when DEBUG_TIMEZONES is
  on; a zone-pixel should be set in only **one** image.

The test so far is just a stub.
5 years ago
Adriaan de Groot e84db033b0 [locale] Debug-message typo 5 years ago
Adriaan de Groot f9d888ec24 [locale] Warnings--
- remove unused variables, tighten up code some
- while here, apply coding style
5 years ago
Adriaan de Groot 022e62b829 [licale] Fix build with DEBUG_TIMEZONES
- QLatin1String isn't a constexpr; the whole ZONE is a bit derpy,
  so let's just #define it.
5 years ago
Adriaan de Groot 05990fb287 CMake: handle DEBUG_* consistently
- Make all four DEBUG_ flags actual CMake options, rather than
  stuffing some of them in the rather-peculiar _enable_debug_flags.
  Each debug option turns on suitable compile flags in the module(s)
  that are affected.
5 years ago
Adriaan de Groot 16a5ca2a55 [libcalamares] Format floats with trailing digits
- When writing YAML, given a float **always** write
   some decimal digits (e.g. "1.0" rather than "1")
   so that the type of the written-out thing stays
   float.
 - Avoids test failure with the sample `welcome.conf`
   file which reads 1.0 and would write out 1, which then
   led to type differences.
5 years ago
Adriaan de Groot 3b354b8b20 [libcalamares] Handle qlonglong when writing YAML
- Handle qlonglong explicitly
- Add a fallbackfor things that convert to qulonglong, to
  avoid these remaining integer types from hitting the
  very end of the if-chain, and being written out as
  the **string** "<typename>"
5 years ago
Adriaan de Groot c6463a30ea [libcalamares] Be far more detailed in comparing maps
- just comparing a==b (both QVariantMap) gives a
  not-so-informative message, so go through the keys looking
  for differences.
5 years ago
Calamares CI 748973a17c i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 8a6925c5be i18n: update English texts 5 years ago
Adriaan de Groot 8b41a71668 [partition] Apply coding style to core/ 5 years ago
Adriaan de Groot b08cb52d0a [partition] Mark /boot or / as bootable
FIXES #1175
5 years ago
Adriaan de Groot 0c6dd4e788 [partition] No "jobs/" needed in jobs includes 5 years ago
Adriaan de Groot f85732ccb0 [partition] Coding style on Jobs 5 years ago
Adriaan de Groot 1e3ff51bfe [finished] Don't translate placeholder text 5 years ago
Adriaan de Groot 087c88753c [netinstall] Expand the table of common-strings
When one of these common names for the netinstall page is used,
it gets pulled out of the standard translations, so that it
doesn't have to be translated in the per-distro config file.
These labels are common enough that they make sense for
everyone to have lying around.

FIXES #1367

(I say "fixed" but of course it's going to depend on the translation
workflow to make these available)
5 years ago
Adriaan de Groot 11aa6da1e9 Merge branch 'issue-1335'
FIXES #1335
5 years ago
Adriaan de Groot 129bfa3a2e [unpackfs] Counting works better when you update the variable 5 years ago
Adriaan de Groot bea41465e2 [unpackfs] Update progress around every 1% 5 years ago
Adriaan de Groot facf5af589 [unpackfs] Don't jump back in progress while counting 5 years ago
Adriaan de Groot af0d04d523 [unpackfs] Report progress more carefully
- Mark entries as totally-done
- Show a message when counting an entry
5 years ago
Adriaan de Groot f33c737e99 [libcalamares] Pretty debug formatting
- toggle nospace() and noquote() part-way through the line,
  so that they only affect the output obtained from the external
  command.
5 years ago
Adriaan de Groot 4abb87ccca [libcalamares] Improve reporting on process failures
- In production, cDebug() might not show up, so the log will not
  contain the lines saying what program is being run;
- Errors should at least mention the program name, but "env" or
  "chroot" is not useful, so pull that from *args*, which is
  the command we actually want to run.
5 years ago
Adriaan de Groot 752399ca6b [libcalamares] Error out on empty command
- an empty command isn't going to work (although it might successfully
  run chroot or env in the target system, that's not useful)
- while here, move variable declarations closer to their use.
5 years ago
Adriaan de Groot 88c75fb5dc [libcalamares] Simplify program-arguments creation 5 years ago
Adriaan de Groot 21f060c3fd [unpackfs] Check for squashfs tools earlier 5 years ago
Adriaan de Groot 391bd1098f [unpackfs] An entry knows where it is mounted
- `imgmountdir` no longer defined in `UnpackOperation.run()`
5 years ago
Adriaan de Groot 065a506470 [netinstall] Resize name column
- Once group data is loaded and pre-expanded groups are open,
  adjust the column width so that all the names are visible.
5 years ago
Adriaan de Groot a97f4771d6 [calamares] Fix test-loader for modules after ViewManager API
- The ViewManager needs to be told when loading is done now (because of
  the quit-at-end settings)

See 7393198f7b
5 years ago
Adriaan de Groot 9db7dd3f3e [netinstall] Add a group with long names 5 years ago
Adriaan de Groot 9b14bf6826 [unpackfs] Rework progress reporting
- Slice overall progress into chunks, with each chunk of equal size
  (as long as we have no overall count information) and place
  the progress of the current chunk into its own slice.
5 years ago
Adriaan de Groot 7e4cb28c1c [unpackfs] Refactor mounting for an entry
- The entry knows where it should be mounted, and can remember that
- mount_entry() didn't use self, so made no sense as a method
  of the Operation class
5 years ago
Adriaan de Groot 49a584377e [unpackfs] Refactor counting an entry
- This does not have to live in the Operation
- Uses only the local imgmountdir (where the entry is mounted)
5 years ago
demmm e63160cbe9 [localeq] Repeater with zonesModel crashes cala
probably due to dynamically loading items
regionModel now lists, zonesModel only lists one delegate, but
working on QML modules can now continue without crashing cala
5 years ago
Adriaan de Groot ede561789a Merge branch 'qml-keyboard'
This doesn't actually **work** though, the QML uses older Calamares-internal
APIs and uses a ResponsiveBase that we don't have. Merge it mostly for
the Config and model changes.

FIXES #1355
5 years ago
Adriaan de Groot af4220331e [libcalamaresui] Move lambda to a "real" slot. 5 years ago
Adriaan de Groot 7393198f7b [libcalamaresui] Tell the manager explicitly when loading is done
- Add some extra checks for validity of m_currentStep (an index)
- Start off with explicitly invalid index, and keep it so until
  loading is complete; this prevents the situation where quit-at-end
  gets triggered after loading the very first module.
5 years ago
Adriaan de Groot c2fac3a717 [calamares] Minor clean-ups 5 years ago
Adriaan de Groot 59ef307af2 Merge panel-layout code: choose where to place sidebar + nav 5 years ago
Adriaan de Groot 6c418402e3 [localeq] Hit QML file with a hammer
- io.calamares.modules doesn't exist
- ResponsiveBase doesn't exist

The module is now non-functional, but at least it loads and renders
a list of regions and zones.
5 years ago
Adriaan de Groot 54b8ad5475 [localeq] Fix loading default QML
- need our own copy of the QRC, that includes the QML
5 years ago
Adriaan de Groot c602f2493a [keyboardq] Make QML available
- name default / example QML conventionally
 - copy QRC from keyboard -- the QML needs to be included in the QRC --
   since we don't want to have the QML in the keyboard module.
5 years ago
Adriaan de Groot 7b6b53ab8c [calamares] Re-do building the main layout
- follow branding settings, taking the panel-sides into account
- drop fixed width and height for QML parts
- give panels a minimum appropriate-dimension if they don't have one

This allows, for instance, putting both Widget sidebar and QML navigation
on the left-hand side of the window.
5 years ago
Adriaan de Groot e15e7d1dc5 [libcalamaresui] Load panel-side settings
- Introduce an enum for panel-side
- Expose this to QML -- I can imagine that QML panels need to know
  which side of the Calamares window they're on.
- Refactor loading the setting into a method that handles both
  flavor and side
5 years ago
Adriaan de Groot b48e0ebb37 [branding] Introduce placement options for nav, sidebar
- There's no real reason to force the sidebar left and nav at the bottom,
  certainly with QML supporting more layouts and being more flexible,
  so document a mechanism to place the sidebar and navigation along
  "edges" of the Calamares window.
5 years ago
Camilo Higuita 835850c02a [keyboardq] apply the style script 5 years ago
Camilo Higuita 1a46e08cc2 [keyboard] changes to the keyboardmodel to work with qml 5 years ago
Camilo Higuita 0872de7910 [keyboard] Add Config object, split out a keyboardq
- Introduce new QML-ified module for the keyboard
- To share code, move *keyboard* module to a Config-object
5 years ago
Adriaan de Groot 733801980c [libcalamaresui] Fix up icon name for back-button 5 years ago
Adriaan de Groot 10dd32edd2 [libcalamaresui] Fix isAtVeryEnd()
- With an empty list, the question is meaningless
- .. and we called this with an empty list while constructing the
  ViewManager; if quit-at-end is true, then this would terminate
  Calamares immediately because the list was at the end.
5 years ago
Adriaan de Groot 081f5ec4d9 [libcalamaresui] Remove unused static methods
- The UI bits that needed these button-setup functions have
  moved to CalamaresWindow (with copies of those functions)
5 years ago
Adriaan de Groot a3c966cc6c Merge branch 'issue-1361'
FIXES #1361
5 years ago
Adriaan de Groot c7733f51d0
Merge pull request #1365 from demmm/master
[welcomeq] buttons connecting
5 years ago
Adriaan de Groot fafc508d63 [welcome] Update the widget's notion of the locale
- when the locale changes, tell the widget so that the drop-down
  displays the right language.

FIXES #1361
5 years ago
Adriaan de Groot 5956c6678e [welcome] Don't const& POD
- simplify parameter types in some set-methods
- while here, shuffle methods to bring things together
5 years ago
Adriaan de Groot e756cc8720 [libcalamares] Tidy RequirementsModel some more
- put signals in conventional place
- remove const int& parameter, that can just be int
- drop oddly-guarded code (that leaks memory); if the index (row)
  being passed in, it's probably best to just crash
- remove unused signal warningMessageChanged
5 years ago
Adriaan de Groot 4e7020d030 [libcalamares] Polish model
- make signals consistent in carrying a parameter
- explain why there's no Q_ENUM
5 years ago
Adriaan de Groot d2f5185d49 [welcome] Remove unused m_configurationMap
- the configuration is split into specific properties, not
  stored generically.
5 years ago
Adriaan de Groot 39afbdb570 [welcome] Shuffle signals to conventional location
- signals after slots, before private
- while here give the *MessageChanged signals a parameter (the changed
  message)
5 years ago
Adriaan de Groot 9d97972a34 [welcome] Apply coding style 5 years ago
Adriaan de Groot ca7733c8e4 [welcome] Drop RequirementsModel
- Use the one from libcalamares
- Massage warning message into Config after it was removed from the model
5 years ago
Adriaan de Groot 3bf69c9da8 [calamares] Pacify gcc 5 years ago
Adriaan de Groot e5562a5069 [libcalamares] Move RequirementsModel to libcalamares (1/2)
- Add the model and support code to libcalamares. The model still
  has some cruft that should be in the Welcome config.
5 years ago
demmm 34292618d8 welcomeq buttons connecting
minor spelling corrections
5 years ago
Adriaan de Groot e2fee79957 [libcalamaresui] Set icon on back-button 5 years ago
Adriaan de Groot abe3f4cda0 Merge branch 'issue-1344'
FIXES #1344
5 years ago
Adriaan de Groot 510f9352e7 [calamares] Tweak QML sidebar
- some margins and extra space
 - left-align text
 - progress lozenges instead of pointy rectangles
5 years ago
Adriaan de Groot 1038de899b [calamares] Update sidebar and navigation QML
- use the right colors (from branding, not from desktop theme)
- apply branding logo
5 years ago
Adriaan de Groot ff37792dc9 [calamares] Resize QML to width of parent window 5 years ago
Adriaan de Groot 476a576dda [libcalamaresui] Ensure all button labels are accurate
- since lots of state is updated when the labels change, call that
  in the constructor so that any QML bindings get current values.
5 years ago
Adriaan de Groot c755c7ed98 [libcalamaresui] restore quit-at-very-end functionality
- This doesn't need to go indirectly through a button
5 years ago
Adriaan de Groot 91d0ba1007 [libcalamaresui] Remove *quit* button from ViewManager
- Mostly like the other buttons
- Also show/hide the button and set tooltip
5 years ago
Adriaan de Groot 0c71c7c23f [calamares] Set initial states of next, back buttons 5 years ago
Adriaan de Groot 38deb66e42 [libcalamaresui] Remove *back* button from ViewManager
- Now the back button should be done by clients as well
- Refactor in CalamaresWindow to avoid leaking local button pointers
  to surrounding code.
- Add macro UPDATE_BUTTON_PROPERTY for convenience in ViewManager
  (ugh, macro) to change a value and emit corresponding update signal.
5 years ago
Adriaan de Groot 8920be6bca [libcalamaresui] Remove *next* button from ViewManager
- add properties for the next button (enabled, label, icon...)
- update those properties as normal
- connect to the properties in the UI implementation
5 years ago
Adriaan de Groot c638343c18 [libcalamares] Give ViewManager a real quit() slot
- instead of creating a lambda, give ViewManager a real slot
- hook up the new navigation buttons to the next, back, quit slots
5 years ago
demmm 2c2bba5525 actually set About button to false... 5 years ago
demmm b3f59cee25 filling About in QML, button still disabled
using Loader, can be reused for other widgets conversion
leave onClick example with full path, commneted out
title text for About is hardcoded, discuss option to make this configurable in welcome.conf
background color hardcoded, tested to work well in dark themes too
5 years ago
Adriaan de Groot 9f66b63c00 [calamares] Indulge in template-fu to refactor
- since we've got two blocks of code copy-pasted, which both
  decide to call one or the other of two member functions based
  on a flavor value, turn that into a templated function.
- passing member functions looks a bit weird, and calling them
  is syntactically surprising, but it cuts down the code a lot.
5 years ago
Adriaan de Groot 2dcf265c40 [calamares] Give QML navigation bar a fixed height 5 years ago
Adriaan de Groot 02fc4ce806 [calamares] Load QML navigation 5 years ago
Adriaan de Groot d4f903b95c [calamares] Create navigation panel in CalamaresWindow
- this is a non-functional duplicate panel, so it looks funny
5 years ago
Adriaan de Groot 6c8aa5da63 [libcalamaresui] Remove commented-out code 5 years ago
Adriaan de Groot 57e6864902 [libcalamaresui] Add panel flavor
- rename enum to more general PanelFlavor
- introduce branding settings for navigation (e.g. for switching
  the navigation buttons off, or using QML)
5 years ago
Adriaan de Groot d4083c9bbb [libcalamaresui] Add "hidden" as alias for "none" in sidebar settings 5 years ago
Adriaan de Groot d8ecd302e1 [libcalamares] Apply coding style
- minor space issues
 - drop a blank line after moc-warnings.h to avoid if being sorted
   downwards, after the MOC file it's protecting
5 years ago
Adriaan de Groot 1765412b61 [libcalamaresui] Move RequirementsChecker to libcalamares
- the checker only collects and calls requirements; it has no
  UI component, and only manages data (and a thread to do the
  checking). Move it out of the UI library.
5 years ago
Adriaan de Groot 7655584022 [libcalamaresui] Move Module to libcalamares
- The Module class has no UI-specific code in it; it's all about
  loading and data-management. Move it out of the UI library.
5 years ago
Adriaan de Groot e04f87fe95 [libcalamaresui] Refactor moduleFromDescriptor
- this function lives in Module -- and is the only thing typing
  Module to the ViewSteps and JobTypes. Split it out into its
  own funciton. Nothing else in Module needs to befriend the
  ViewSteps, so we move the friend declaration around a bit
  as well.
- while here, apply coding style.

This is prep-work for moving module to libcalamares.
5 years ago
Adriaan de Groot 4ddd1ecceb [libcalamares] Move Requirement to libcalamares
- This isn't a UI component: a requirement can be checked and
  reported-on without a UI entirely.
5 years ago
demmm c10ef9e3bc [welcome] Improve welcomeq visuals
- set image to fill
 - keep aspect ratio
 - don't hardcode text color
 - variation in icons used
 - expand header text to check fit
5 years ago
Adriaan de Groot eda2e4e10a [calamares] Tweak looks of basic-QML-sidebar
- Use the new currentStepIndex (suggested by Camilo) to see if something
  is selected / current.
5 years ago
Adriaan de Groot fff4caf0de [libcalamaresui] Apply coding style
- while here, update copyright
5 years ago
Adriaan de Groot 3d7e5bc90d [libcalamaresui] Expose just currentIndex
- drop the current and completed roles, and expose only
  the currentIndex. QML can use the QObject property on
  the model, while QWidgets can call internally through
  the model's data() function.
- we don't need to provide role names for this, so drop that bit.
- simplify the delegate code while here.
5 years ago
Adriaan de Groot aad79f664e [libcalamaresui] Expose currentIndex also as model data 5 years ago
Adriaan de Groot b8962cec2d [libcalamaresui] Expose currentStepIndex 5 years ago
Adriaan de Groot b271ed19b7 [partition] Fix typo in message 5 years ago
Adriaan de Groot 83f5f9e1a7 [libcalamares] Introduce generic delete-later class
Don't bother with QScopeGuard just right now, since I can't
find a use-case in the Calamares codebase.

FIXES #1358
5 years ago
Adriaan de Groot 7c56a50632 [netinstall] Expand documentation of groups format 5 years ago
Calamares CI 2b6eb8473e i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 33a4b08ac0 Merge branch 'issue-1343'
- Also add documentation to CHANGES

FIXES #1343
FIXES #1319
5 years ago