Commit Graph

6843 Commits (a834d67283106735a861414e2e54f5c25c9958fb)
 

Author SHA1 Message Date
Adriaan de Groot a834d67283 [notesqml] Adjust to new name for Branding
Adriaan de Groot 28c2da12ae [libcalamaresui] Register in io.calamares namespace
- Register both Branding and ViewManager for QML
- Note that this changes the name of Branding
- Add code-docs about object ownership
Adriaan de Groot 7a8eb09cdb [libcalamaresui] Move QML-searching
- This is utility code, so it can be in the QML "service"
  from Calamares, rather than in the QmlViewStep itself.
  That makes it usable for other QML bits as well.
Adriaan de Groot 7d99ad3177 [welcomeq] Adjust to Config-API that QmlViewStep expects
Adriaan de Groot 862b05221d [libcalamaresui] Drop 'name' parameter in QmlViewStep
- The name is just the module identifier, and now we
  search for *m@i* and also *m* from that identifier,
  the name becomes much less important -- and it
  can be set from the config key *qmlFilename* as well.
Adriaan de Groot 8f1ab99190 [libcalamaresui] Search module name as well
- When searching for QML file, obey module name
  (full instance, module-only) and then others.
Adriaan de Groot 165bcfd75d [libcalamaresui] "namespace" QML settings
- To avoid name-collisions in otherwise well-behaved
  modules and configurations, make the QML settings
  more specific:
    search -> qmlSearch
    filename -> qmlFilename
Adriaan de Groot fa9006c677 Merge branch 'milohr-master'
FIXES 
Adriaan de Groot 0f50dc8d33 [welcomeq] Include the QML search mode
Adriaan de Groot 8302f2182b [welcomeq] The QML file name still has a q
Camilo Higuita d26fa63ccd [welcomeq] initial work for welcomeview in qml
Camilo Higuita d7f7c16958 [welcome] using config for both qcc2 or qwidgets
Adriaan de Groot 7ec6dff352 [calamares] Apply coding style to progresstree
Adriaan de Groot 257f718ab6 Changes: document netinstall improvement
Adriaan de Groot 185367648f Merge branch 'issue-1269'
Add `expanded: true` to a group to pre-expand it.

FIXES 
Adriaan de Groot e2d9ce737c [netinstall] Implement pre-expanded groups
- Return relevant data
- Document code
- Add to README.md documentation about new key
Adriaan de Groot b9b48cfbb1 [netinstall] Apply coding style
- Some missing {} were not noticed by astyle
Adriaan de Groot 4f216b0394 [netinstall] Refactor model-data setting
- Introduce convenience methods getString(), getBool() to pick
  out an entry from item definitions in YAML format.
- Apply coding style.
- Pick up the "expanded" property as well.
Adriaan de Groot 0f7f5216ee [netinstall] isHidden is const after construction
Adriaan de Groot b074696ac1 [netinstall] isCritical is const after construction
Adriaan de Groot 09006a936d [netinstall] Expand groups if requested
Adriaan de Groot 4f22a70b08 [netinstall] Restructure model-method data()
Adriaan de Groot df86972ea7 [netinstall] Introduce constexpr names for columns and roles
Adriaan de Groot 3d68c74a19 [netinstall] Sanitize PackageTreeItem::data()
- Use of != nullptr for QString just a bad idea
- Massage code so structure for packages resembles that of groups
Adriaan de Groot 201c5ddfe1 [netinstall] Add some debug-logging
- Also, prepare for a start-expanded setting
Adriaan de Groot 4cf3ec8663 [netinstall] Resolve TODO (changes translations)
Adriaan de Groot 3302fe319b [netinstall] Fix typo's in README
Adriaan de Groot 220fd31226 [partition] Improve EncryptionWidget
- Use normal translation framework. The EncryptWidget was the one place
  not using the "usual" translation framework, but rolled its own.
- Emphasize that the checkbox-state (checked-ness) is the parameter,
  not a state of the EncryptWidget.
- All other instances of UI classes from Designer use a pointer-to-UI,
  not multiple inheritance.
- Convenience method for setting the pixmap in response to
  changes in the passphrase
- Tighten up types: enum -> enum class
- Reduce the scope for int-confusion by using an enum-class for
  the encryption state of the widget
- Include UI implementation header only in .cpp
- Apply coding style
- Update copyright
Adriaan de Groot 1299c64415 [interactiveterminal] Tidy up includes
- The KF5/ part of the path isn't necessary, and some of the KF5
  includes can be found with a shorter name (with modern ECM and
  imported targets)
Adriaan de Groot 350627172d [partition] Tidy up includes
Adriaan de Groot c5b038587e [welcome] Tidy up includes
Adriaan de Groot ebb3f319cc [modules] Be more consistent in include punctuation
- Use <> for Qt, system, externals
 - Use double-quotes for Calamares headers
Adriaan de Groot 841ea9ff48 [libcalamares] Tidy up includes
- Remove commented-out includes
- Consistent punctuation
Adriaan de Groot 3f18a58cca Changes: document python-progress
Adriaan de Groot 2891e92d16 Merge branch 'issue-1330'
- When Python modules emit progress, update their status message
  by calling an optional pretty_status_message() in the Python code.
  This is polled (later) by the execution progress bar to display
  the message.

FIXES 
Adriaan de Groot c4bfad9399 [packages] Provide status feedback
- The status message should be updated; the name is constant.

FIXES 
Adriaan de Groot ef249043f9 [libcalamares] call Python method only from Python thread
Adriaan de Groot b4aaf85ccf [libcalamares] Call Python function if available for status
Adriaan de Groot 252089e372 [libcalamares] Refactor pretty_name() call
- Split out a general method-that-returns-string caller.
Adriaan de Groot ed4cdbeacc [dummypython] Provide status
Adriaan de Groot aa62ca639b [libcalamares] Start getting prettyDescription from Python
Adriaan de Groot 9b5a391c86 [libcalamares] Factor out Python helper
- the strange construction of Helper and treating it as a singleton
  can be factored out into a separate singleton-handling instance()
  function. The Helper should never be destroyed.
Adriaan de Groot 3025c5383b [libcalamares] Document the pretty*() functions for Jobs
Adriaan de Groot 6d29c19e3e [libcalamares] Progress is float
Adriaan de Groot d3828a82fc [packages] Make dummy backend slower
- insert sleeps to make it slower (easier when testing)
- improve debug logging clarity by noting where the messages
  are coming from
Adriaan de Groot 1f34460d39 Merge branch 'improve-logging'
Adriaan de Groot 0abde6f1a7 [libcalamares] Don't print funcinfo in continuations
- when a single function does more logging, it generally marks
  those as subsequent debug-messages (with Continuation, or SubEntry)
  and we don't need to print funcinfo for those, since it was already
  printed the first time.
Adriaan de Groot 5248a37eb3 [libcalamares] Add FUNC_INFO into all debug messages
- This is needlessly verbose
- Chase CreatePartitionTableJob which needs to bind to a temporary
Adriaan de Groot 3ddee8090c [libcalamares] Drop intermediate CLog class
- All the real work is done in CDebug, so remove the base class.
Adriaan de Groot ae633c7e7b [removeuser] Remove superfluous formatting around logging