6587 Commits (61d096c9ec3c7137c2eae185abe67d0e9f778da2)
 

Author SHA1 Message Date
Adriaan de Groot 61d096c9ec [users] Prep-work for configurable actions
- tidy include style
 - add setting to UsersViewStep for hostname action
5 years ago
Adriaan de Groot 33b3321698 [users] Simplify reading configuration 5 years ago
Adriaan de Groot dbba0c9b03 [users] Move Job creation from the widget to the ViewStep
- Having the widget do creation ties the step heavily to that UI;
   start moving towards a state where we have a Config object (not
   here yet; it still queries the UI part) that moves data around
   between UI and ViewStep.
5 years ago
Adriaan de Groot 2471e74aab [users] Provide some accessors to the UI-page data 5 years ago
Adriaan de Groot ef4bb5e13b [users] Make SetHostName job actions configurable 5 years ago
Adriaan de Groot 44bf0a5d6d [users] Add method for using hostnamed
SEE #1140
5 years ago
Adriaan de Groot 9a7465bfd5 [users] Refactor writing-hostname and writing-hosts
- Move to separate functions, as prep-work for making the actions
   configurable (and optional).
5 years ago
Adriaan de Groot 90f79b0692 [users] Restore error-checking to set-hostname code
- Use the new CreationResult code for compact results
5 years ago
Adriaan de Groot f6526f7d9f [libcalamares] Add some tests for CreationResult
- More important is the compiler warning that will show up
   if we add more failure states.
5 years ago
Adriaan de Groot 274115c727 [libcalamares] Update tests to reflect changed API 5 years ago
Adriaan de Groot 2d7398161d [libcalamares] More detail for createTargetFile()
- Return a result-object with statrus information and the path
   which was previously used (empty for "failures").
5 years ago
Adriaan de Groot 695b88b8a7 [users] Tidy up hostname creation
- Use the createTargetFile() convenience functions to do the
   actual work.
 - This probably involves more copying around of buffers, since it's
   creating one big QString and sending that off, rather than writing
   little chunks to a file, but I feel this is worth the code simplification.
 - Drops all the error checking for creation, though, because the API for
   createTargetFile() lousy.
5 years ago
Adriaan de Groot b337a6b3f5 [user] Apply coding style 5 years ago
Adriaan de Groot 2bb4dd8e22 [users] Refactor hostname-guessing 5 years ago
Gabriel Craciunescu 7c323bdcdc [users] Try to guess suggested hostname from dmi
- nothing compicated for now, just try to get something
  from /sys/devices/virtual/dmi/id/product_name and fallback
  to -pc thingy if we can't
5 years ago
Adriaan de Groot 6d10c41aeb Merge branch 'fs-translation'
Double-check the uses of filesystem names -- give only *untranslated*
names to system tools, and show *translated* ones.
5 years ago
Adriaan de Groot 5a50a3a40c [partition] Consistent FS name usage
- explicit use of user-visible names in EditExistingPartitionDialog
 - consistent conversion of config-values to FS names (user-visible).
   The GS value comes from the ViewStep, and should always match
   something -- it's already converted to the canonical un-translated
   so the type should be good.
5 years ago
Adriaan de Groot 57b608083e [partition] Fix build - missing ) 5 years ago
Adriaan de Groot ca67534cd2 [partition] Improve logging of bad configs 5 years ago
Adriaan de Groot 472ec32617 [partition] Be explicit about user-visible FS names, ReplaceWidget 5 years ago
Adriaan de Groot 05dfc24af6 [partition] Be explicit about user-visible FS names, CreatePartitionDialog 5 years ago
Adriaan de Groot 88cff387c3 [partition] Be explicit about user-visible FS names, FormatPartitionJob 5 years ago
Adriaan de Groot bacca04695 [partition] Be explicit about what's user visible in SetPartitionFlagsJob 5 years ago
Adriaan de Groot 29894cec6a [partition] Convenience userVisibleFS()
- Mark uses of filesystem-name where it's intentional that they
   are user-visible, with a new convenience function.
5 years ago
Adriaan de Groot dac5516b2c [partition] Update copyright, coding style 5 years ago
Adriaan de Groot a0449abab9 [partition] Do not translate filesystem names
- Move contents of FSName to KPMHelpers
 - Use the new functions from FillGlobalStorage

Needs more use in the rest of the partition module.
5 years ago
Adriaan de Groot f410a4bb68 [libcalamares] Convenience function for FS names
Because getting the untranslated name of a FileSystem is something
that needs doing consistently, add some functions for that;
it makes it easier to spot places where that isn't done.

Probably doesn't compile, and needs extra documentation.
5 years ago
Adriaan de Groot c055e1da49 [partition] Use untranslated name of filesystem
- Patch from Gabriel Craciunescu
5 years ago
Adriaan de Groot ffeed05a5d Changes: credit Camilo Higuita for QML prep-work 5 years ago
Adriaan de Groot c7780db07a Merge branch 'model-q'
- Make models of some things previously held as lists, as
   prep-work for QML modules.
5 years ago
Camilo Higuita 1f2f1a657e [libcalamaresui] Expose Branding strings to QML 5 years ago
Adriaan de Groot ca13d1670e [libcalamares] Merge more from Camilo
- Complete the model for locales
5 years ago
Adriaan de Groot 59ddda6225 Merge branch 'wrangle-boost' 5 years ago
Adriaan de Groot 9408601074 [libcalamares] Move Python wrapper
- Take the Python wrapper for GlobalStorage out of the GlobalStorage.h
   header and add it to PythonHelper instead, saving some work in
   all the cases that only GS is interesting, not the Python bits.
5 years ago
Adriaan de Groot ad725b671e [hostinfo] Warnings--
- Physical memory can't be negative, so it is reported as
   an unsigned long, but the bytes-to-MiB functions do accept
   negative amounts. As long as no machine has more than 2**62
   bytes of memory, we're good though.
5 years ago
Adriaan de Groot a11280b427 [libcalamares] Expand tests for printable entropy 5 years ago
Adriaan de Groot 090716ba4f [libcalamares] Warnings-- in Entropy
- reading a file yields a qint64
 - need to mash the unsigned data from twister to signed char data.
5 years ago
Adriaan de Groot 7efed8226c [libcalamares] Warnings--, update copyright 5 years ago
Adriaan de Groot c1151cbcfa [libcalamares] Update copyright info 5 years ago
Adriaan de Groot 8181808bec [libcalamares] Fix build
- drop now-obsolete boost-warnings.h
 - add missing namespace alias to GlobalStorage.h (removed accidentally
   in previous commit)
5 years ago
Adriaan de Groot 3b35ca7bb9 [libcalamares] Simplify includes
- PythonHelper.h already pulls in all the Python machinery
5 years ago
Adriaan de Groot 95722541d0 [libcalamares] Untangle Python includes
- Use BoostPython.h to manage overall includes
 - Remove local home-grown variations
5 years ago
Adriaan de Groot f8998834cf [libcalamares] Simplify includes (no Python used in JobQueue) 5 years ago
Adriaan de Groot d42e757576 [libcalamares] Simplify includes
- CalamaresVersion used by the job, not the API presented to Python.
 - Untangle Qt includes from there.
5 years ago
Adriaan de Groot f3e7fe5eb4 [libcalamares] Use more specific include 5 years ago
Adriaan de Groot 96580e5c40 [libcalamares] Convenience header for Boost and its warnings 5 years ago
Adriaan de Groot 6432b7f42a [libcalamares] Hit Boost warnings with a hammer
- Tons of warnings from Clang 9 in Boost::Python code, so
   turn of most of those warnings in the Boost-support code.
5 years ago
Adriaan de Groot 684c5f477c [libcalamares] Moc warnings--
- don't have a NOTIFY CONSTANT property
 - the data is constant, so drop NOTIFY
 - remove redundant signals
 - remove setLabels() now it's only needed from one constructor
5 years ago
Adriaan de Groot b4b1bf5de2 [libcalamares] Call delegated constructor 5 years ago
Adriaan de Groot df5a0d25bc [libcalamares] Handle empty locale names quickly 5 years ago