905 Commits (9f05c236d8813837bda4b4e71cf6710c8bdc833b)

Author SHA1 Message Date
Andrius Štikonas 9f05c236d8 KPMcore: Pass QStringList to fs->name() instead of QString. 9 years ago
Adriaan de Groot ff2947060d KPMCore: use the translation system for filesystem names from KPMCore 9 years ago
Adriaan de Groot 96c3f7def3 KPMCore: drop conditional code 9 years ago
Adriaan de Groot ca037af6ca KPMCore: update required version to 3.2
- drop extra checks for blkid and atasmart, those are kpmcore's
   concern, not ours (and it might have other backends, anyway)
9 years ago
Adriaan de Groot d2cce926de Merge pull request #821 from calamares/luks-colors
Use the LUKS filesystem's outer UUID for the color index.
9 years ago
Adriaan de Groot e3e519c06f Clang: reduce warnings, nullptr, unused parameters 9 years ago
Adriaan de Groot 337903db09 Clang: reduce warnings about overriden destructors 9 years ago
Adriaan de Groot 9693d7a5bd Memory: clean up interface used to get memory (RAM) size 9 years ago
Adriaan de Groot d23818b27c Fix code using re-imported spinner 9 years ago
Adriaan de Groot 13807ceabf Licensing: add self
- to all the files I've touched recently
 - to (very incomplete) AUTHORS list

Licensing: add license info to top-level CMakeLists.txt
9 years ago
Adriaan de Groot ca60a7fc16 Clang: warnings-- 9 years ago
Adriaan de Groot 342b819a1d Fix build (warnings--, but breakage++ is not good) 9 years ago
Adriaan de Groot c6297f1db5 Clang: warnings-- 9 years ago
Adriaan de Groot 9f1cca5ec7 FS: use untranslated name to identify filesystem
Resolves issue where 'linuxswap' is translated to 'Linux-Swap',
for instance. FileSystem::name() provides a translated name,
not an untranslated one.

This should move to KPMCore.

FIXES #797
9 years ago
Adriaan de Groot ec86922839 Find KPMCore 3.2 quietly, less frightening 9 years ago
Adriaan de Groot 9116718448 Clang: warnings-reduction 9 years ago
Adriaan de Groot 0b39e50cdc Clang: explicit char-initialization of ByteArray 9 years ago
Adriaan de Groot bd3786ebeb Clang: reduce warnings in various places 9 years ago
Adriaan de Groot a06911e9aa Clang: refactor units-converters, reduce warnings 9 years ago
Adriaan de Groot 31fa9e4251 Clang: fix warnings on partition splitter
- initialize all the fields
 - member-initialization order
 - silence warnings about double<->int
 - drop unused parameter to setSplitPartition
9 years ago
Adriaan de Groot 3e5916157f A mounted partition cannot be resized or replaced
- add check for isMounted()
 - a device with a mounted partition cannot be (entirely) erased

FIXES #639
9 years ago
Adriaan de Groot 851379628c Reduce Qt runtime warnings.
- deleteLater() doesn't like nullptr (produces a warning, but is harmless)
 - reparenting across threads doesn't work, comment on that but leave
   it in, since this may be relevant for memory management.
9 years ago
Andrius Štikonas 252006ea25 kpmcore now requires passing sector size to FileSystem. 9 years ago
Adriaan de Groot 360a114ed4 Be more explicit on why a device is winnowed from the list 9 years ago
Adriaan de Groot 0e96621b94 Don't leak memory when winnowing disk devices
- Improve logging a little
 - Don't leak Device*, but delete the raw pointer when erasing
 - Document that DeviceInfo takes ownership and doesn't leak
9 years ago
Adriaan de Groot d5dca07e22 Fix uninitialized values (valgrind report) 9 years ago
Adriaan de Groot 1ea79efce8 Uninitialized value 9 years ago
Adriaan de Groot c5abfd6371 Having a mounted partition should not disqualify the entire device.
FIXES #780
(should reopen #639 for double-checking)
9 years ago
Adriaan de Groot 85595b4e04 #780: check for isMounted(), not for where-would-it-be-mounted 9 years ago
Adriaan de Groot 7791c3cb19 DeviceInfo: refactor translation of DeviceInfoPage
- For Boot and Device info widgets, add a retranslateUi() method,
   since the labels change not only in response to translation
   events but also UI events.

FIXES #779
9 years ago
Adriaan de Groot 7e66499f36 Refactor check for EFI system.
The TODO stands, to delegate this to KPMCore.
9 years ago
Adriaan de Groot 2fdccdf090 Merge branch 'simplify-module-desc' 9 years ago
Adriaan de Groot 196b1567db Modules: remove boilerplate module.desc 9 years ago
Andrius Štikonas 1131fdce4c Port away from deprecated qSort. 9 years ago
Adriaan de Groot 3cd18fd285 Partitions: extend getDevices() with minimum size.
This is preparatory work for making the available-space check consistent with
what the partition module will allow for installation. Right now, the check
for available space will allow a mounted drive, even /, to satisfy the check.
9 years ago
Adriaan de Groot 18a1f459db Partition: reduce code duplications 9 years ago
Adriaan de Groot 7d49255a78 Partitions: use an enum with clear semantics instead of bool 9 years ago
Adriaan de Groot 730e0d885f Partitions: use KPMCore-defined default backend 9 years ago
Adriaan de Groot 55c6cfa1ca Partitions: improve wording of debug messages 9 years ago
Adriaan de Groot 102bed1805 Partitions: split device-listing (and winnowing) into separate source file.
The grab-list-of-writable-devices code is usable for the partition module, but
also useful for welcome module, so reduce its footprint.
9 years ago
Adriaan de Groot 33bca6d71d Merge commit 'partitions' 9 years ago
Adriaan de Groot 5bf03cc515 Partitions: shuffle some device-detection code off to PartUtils.cpp 9 years ago
Adriaan de Groot aeb0cd0d3f Partitions: drop devices with mounted partitions.
FIXES #639
9 years ago
Adriaan de Groot cc7631dd99 Partitions: code-formatting 9 years ago
Adriaan de Groot c66807282b CMake: remove editorializing from CMakeLists.txt 9 years ago
Lisa Vitolo 9be15e68b6 Change both size box suffices to MiB. 9 years ago
Lisa Vitolo 925d3a61a7 Add "MB" suffix to the "edit partition" size box.
Makes it easier to know which unit Calamares is using when
resizing a partition. The "Create partition" dialog has
it already.
9 years ago
Adriaan de Groot 3c3c0f99f8 C++ trickery, part two: shorten code 9 years ago
Adriaan de Groot 232bbe18bc Be more verbose while scanning devices 9 years ago
Adriaan de Groot ee4e4dfccc C++ trickery to make the code shorter to read. 9 years ago