3366 Commits (0e7f97fe491f45be5f3fb2eb971a992922a34945)

Author SHA1 Message Date
Calamares CI 36161461e2 i18n: [dummypythonqt] Automatic merge of Transifex translations 7 years ago
Adriaan de Groot 292bc57523 [partition] Fix build with suitable operator << 7 years ago
Adriaan de Groot b38316365e [partition] Be more verbose about why UI buttons appear 7 years ago
Adriaan de Groot 800f9d34f9 [partition] In logging, distinguish more cases
- While winnowing devices, the zram and nullptr cases
   were mixed together; split them, for the sake of
   logging more accurately.
 - While here, fix up some coding-style issues.
7 years ago
Adriaan de Groot 1a248e0574 [preservefiles] Apply restrictive default permissions 7 years ago
Adriaan de Groot eb6fc01c01 [preservefiles] Document new permissions key 7 years ago
Adriaan de Groot d3d08241e2 [preservefiles] Support perm setting
- Use settings from config file
 - Refactor copy operation
 - Apply permissions inside target system
7 years ago
Adriaan de Groot 91c94c6022 [preservefiles] Tidy up permissions code
- superfluous const
 - add default constructor
 - Add octal-string accessor to permissions
7 years ago
Adriaan de Groot 1c85a648a4 [preservefiles] Tie permissions into the build, file header 7 years ago
Adriaan de Groot 3ef4842a4d [preservefiles] Add permissions-parsing code from Scott Harvey 7 years ago
Adriaan de Groot 21fedfce65 [fsresizer] Calamares oding style 7 years ago
Adriaan de Groot 39902d1c3f [fsresizer] "can not" -> "cannot" 7 years ago
Adriaan de Groot eb7c6385cd [fsresizer] Bail out if resize required but not feasible 7 years ago
Adriaan de Groot 0b4c0f9c38 [fsresizer] Add setting required
- If resize is required, fail if it doesn't happen.
7 years ago
Adriaan de Groot 7e88f637b1 [localecfg] Fix error in string-formatting. 7 years ago
Adriaan de Groot b42a36e5ad [fsresizer] Don't need to check KPMCore version 7 years ago
Adriaan de Groot ed841d1674 [fsresizer] Typo 7 years ago
Adriaan de Groot aaf27ac2ab [fsresizer] Apply sizes properly
- Distinguish size and atleast; in percentages they mean different
   things (atleast is a bit weird as a percentage, but hey).
 - Fix bug in percentage calculation.
 - Avoid percentage above 100.
 - Add documentation in config-file.
7 years ago
Adriaan de Groot c725f6b552 [fsresizer] Distinguish error from no-useful-resize 7 years ago
Adriaan de Groot 5dc11b223a [fsresizer] Do the resize itself
- handle weird partition tables
 - ignore unallocated space -- that's what we want to expand into
 - use ResizeOperation for the actual work
7 years ago
Adriaan de Groot 14b6755714 [fsresizer] Initialize harder 7 years ago
Adriaan de Groot e627633c44 [fsresizer] initialize FS support 7 years ago
Adriaan de Groot 2556891e39 [fsresizer] Fix backwards logic in error message 7 years ago
Adriaan de Groot 869357a89c Merge branch 'master' into oem-resizer 7 years ago
Adriaan de Groot a749f041f0 [calamares] More verbose failure in test-loader 7 years ago
Adriaan de Groot e7c62c114f [keyboard] Improve debugging output 7 years ago
Adriaan de Groot 9124281bcb [fsresizer] Calculate resize parameters
- apply() a relativesize to a device to find out how much it
   means in sectors
 - find the space into which the configured FS can grow.
7 years ago
Adriaan de Groot 9e1c95ad05 [fsresizer] Refactor finding device
- Find device in separate function
 - If device isn't found, bail out
7 years ago
Adriaan de Groot 1c2714d832 [fsresizer] Match configuration to system
- Bail out earlier before doing any work if the configuration
   is invalid.
 - If it's valid, look for a matching device.
7 years ago
Adriaan de Groot aae4b38e69 [fsresizer] Fix endless loop
- Improve variable names
 - Missing iterator++
7 years ago
Adriaan de Groot 3ab891793a [keyboard] Add Austrian keyboard layout
- Map xkb 'at' to 'de' on the text console
 - Thanks Philip Mueller, Kevin Kofler

FIXES #1035
7 years ago
Adriaan de Groot 06a00a15c6 [fsresizer] Scan for devices, list partitions
- The is just debugging output, but it's the start of what needs
   to happen to find the FS that needs resizing.
7 years ago
Adriaan de Groot 35ca813064 [partition] Use "" for including from current directory 7 years ago
Adriaan de Groot d752223d0b [libcalamaresui] When reporting failure, use full product name. 7 years ago
Adriaan de Groot 0396ed28b7 [keyboard] Update some origin information for the keyboard map 7 years ago
Adriaan de Groot 88c973f7cc [partition] Simplify space calculations
- Q_ASSERT doesn't work in constexpr functions because it's not
 - May as well calculate bytes at compile-time, no need to give
   the runaround via number-of-MiB
7 years ago
Adriaan de Groot 428929b64f [fsresizer] Tiny step towards getting data from KPMcore 7 years ago
Adriaan de Groot e3bf9fc220 [partition] Fix build with KPMCore <= 3.3.0
- Reported by Philip Mueller
7 years ago
Adriaan de Groot 45195b9f7e [fsresizer] Remove over-enthusiastic constexpr 7 years ago
Adriaan de Groot 499dd2ce83 [fsresizer] Document configuration
- Add some notes on configuration of fsresizer
 - Convenience methods for checking validity.
7 years ago
Adriaan de Groot 3b8fa187e1 [fsresizer] Fix syntax error in YAML 7 years ago
Adriaan de Groot bf092de76f [calamares] Explain config-file failures better 7 years ago
Adriaan de Groot 39a0d2315b [calamares] Better config-loading diagnostics
- Be more verbose when things go wrong while loading module-
   configuration files.
 - Allow more forms of paths to be specified. In debug mode, this
   is mostyle helpful for the module test-loader.
7 years ago
Adriaan de Groot c6e8cdf65b [calamares] Better command-line help in module test-loader 7 years ago
Adriaan de Groot 40e031411c [calamares] Improve debug log in module test-loader 7 years ago
Adriaan de Groot 745629b659 [fsresizer] Turn on KPMCore requirement again 7 years ago
Adriaan de Groot 3f09857cb7
Merge pull request #1013 from cjlcarvalho/master
Some RAID fixes
7 years ago
Adriaan de Groot a6c3899e10 [fsresizer] Add tests
- Test the parsing of configuration values, that it gets the right
   values when given correct(-ish) configurations. Doesn't test
   any situations with bad config.
7 years ago
Adriaan de Groot a81588190a [fsresizer] Simplify and make safer
- Make RelativeSize public so we can use it in non-member functions
 - Make a template out of matching the string suffixes; this is
   safer because the length of the suffix can be computed at compile-time
   (+1 for the trailing NUL) rather than writing it out in boilerplate.
7 years ago
Adriaan de Groot cdfb55e5cf [fsresizer] Just right now it doesn't need KPMCore
- Drop the dependency while developing the configuration parser
   part of the module and writing initial tests.
7 years ago