Commit Graph

999 Commits

Author SHA1 Message Date
Teo Mrnjavac
bf0296e155 Preliminary implementation of a summary queue for partitioning jobs. 2015-04-13 14:58:33 +02:00
Teo Mrnjavac
d45d436161 Add optional prettyDescription to Job. 2015-04-13 14:58:33 +02:00
Teo Mrnjavac
30502d49c3 Retranslate strings from uic on language change. 2015-04-09 18:16:14 +02:00
Teo Mrnjavac
fc2d15da16 Document potentially obscure code. 2015-04-08 19:17:51 +02:00
Teo Mrnjavac
2d2d5ca30c Store lambdas that call tr in ViewStepItem and TextTreeItem. 2015-04-08 19:10:24 +02:00
Teo Mrnjavac
24fc227e76 Retranslate navigation buttons. 2015-04-08 18:40:43 +02:00
Teo Mrnjavac
1f9843cc7d Retranslate window title. 2015-04-08 18:40:27 +02:00
Teo Mrnjavac
8b98b1cc24 Do not filter out LanguageChange events when in a RETRANSLATE functor. 2015-04-08 18:25:03 +02:00
Teo Mrnjavac
1211086b33 Update URL. 2015-04-08 13:59:33 +02:00
Teo Mrnjavac
9cb5a0af18 Merge pull request #213 from calamares/grubcfg-preserve-kernel-params
Preserve kernel parameters that aren't handled by grubcfg.
2015-04-03 16:58:09 +02:00
Teo Mrnjavac
654bc9f471 Add debug output to SetKeyboardLayoutJob.
CAL-206 #comment I've just pushed some debug output to master, could you please test again and post a new log?
2015-04-03 15:04:24 +02:00
Teo Mrnjavac
6395b4c8ce Use the new Disk and Partition icons. 2015-04-03 12:19:27 +02:00
Teo Mrnjavac
c9769dfd76 Add Disk and Partition icons to CalamaresUtils::defaultPixmap. 2015-04-03 11:57:01 +02:00
Teo Mrnjavac
9606b228d7 Add Disk and Partition icons to qrc. 2015-04-03 11:55:39 +02:00
Teo Mrnjavac
8625b8c5a9 Fix up regex in grubcfg to work with single quotes. 2015-04-02 20:25:41 +02:00
Teo Mrnjavac
ffc65fa07e New Partitioning icons, still being fixed up. 2015-04-02 14:21:14 +02:00
Teo Mrnjavac
b095982830 Expose new partitioning icons in CalamaresUtils::defaultPixmap. 2015-04-02 14:03:12 +02:00
Teo Mrnjavac
cf49239419 Update libcalamaresui.qrc 2015-04-02 14:02:13 +02:00
Teo Mrnjavac
debd4bc352 Fix regexp in grubcfg.
CAL-205 #comment Done some fixing, please retest when you can.
2015-04-02 13:24:47 +02:00
Teo Mrnjavac
a977b1ea40 Make sure we write the kernel config line anyway. 2015-04-02 12:53:24 +02:00
Teo Mrnjavac
41e7a9ae3c Preserve kernel parameters that aren't handled by grubcfg. 2015-04-02 12:53:24 +02:00
Teo Mrnjavac
9b516281d8 ... and use them in the Greeting page. 2015-04-02 12:50:17 +02:00
Teo Mrnjavac
506b79ef2c Add new icons to CalamaresUtils::defaultPixmap. 2015-04-02 12:49:40 +02:00
Teo Mrnjavac
e6f98393b8 Add icons to qrc. 2015-04-02 12:48:34 +02:00
Teo Mrnjavac
262ef38c0a Show/hide available links based on greeting.conf and Branding. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
23ddfaae67 Read configuration map into GreetingViewStep. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
43487198a2 The greeting module now has a config file. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
dc74e38a60 New Url entries in branding.desc 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
ec883e391d Add different kinds of Url to Branding. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
a1e643044e Make ProductUrl/ProductUrlText optional. 2015-04-01 18:11:38 +02:00
Teo Mrnjavac
00d3205ed3 Update branding.desc syntax. 2015-04-01 18:11:08 +02:00
Teo Mrnjavac
bce6ec94fd Add ProductUrl and ProductUrlText to Branding. 2015-04-01 18:03:17 +02:00
demmm
4088d9bd3b implement http://calamares.io/bugs/browse/CAL-185 2015-04-01 17:36:51 +02:00
Ramon Buldó
a253101258 [partition] Disable bootloader disk selection when installing in a efi system. 2015-03-29 17:03:26 +02:00
Teo Mrnjavac
19bcc887a8 Fix build with Qt 5.5 branch. 2015-03-27 11:59:44 +01:00
Teo Mrnjavac
5a24916fd0 Make which plymouth execute in chroot. 2015-03-26 15:53:50 +01:00
Rohan Garg
44105895f8 Use 'which' to find plymouth instead of hard coding /usr/bin
Debian ships plymouth in  /bin instead of /usr/bin, so we should use
'which' to figure out if it's installed.
2015-03-25 20:39:03 +01:00
Teo Mrnjavac
75f4f0fa04 Fix issue with splitting being allowed when it shouldn't be.
KPM docs misreport Partition::available to be in sectors, when it's
actually in bytes. Because of this, available space estimates were
completely off and resizing was allowed even when there's no room to
do it. This used to put the resize widget in all sorts of weird,
visually broken states.
CAL-188 #comment Does this still happen with current master?
2015-03-25 12:54:44 +01:00
demmm
f2c7458ebe proper align 2015-03-19 13:10:44 -04:00
Teo Mrnjavac
62f6f1d9cf Dress color codes, otherwise they are treated as YAML comments. 2015-03-19 18:03:55 +01:00
Teo Mrnjavac
e5d4c02b4a Use Branding styleStrings instead of CalamaresStyle constants. 2015-03-19 18:03:55 +01:00
Teo Mrnjavac
cc5095781d Branding::style is now ::styleString for clarity. 2015-03-19 18:03:55 +01:00
Teo Mrnjavac
9615691554 CalamaresStyle is no more. Look for color constants in Branding. 2015-03-19 18:03:55 +01:00
demmm
b982d751af adding needed Branding.cpp section
builds, but segfaults on running
2015-03-19 18:03:55 +01:00
demmm
56afa45812 start of trial to add sidebar style options
use a new style section in branding.desc, doesn't build as is
2015-03-19 18:03:55 +01:00
Teo Mrnjavac
c7f46136fc Do not crash. 2015-03-19 17:28:30 +01:00
demmm
d750885e75 Revert "add URL option in greeting page" 2015-03-19 10:44:34 -04:00
demmm
be29755230 add URL option in greeting page
URL is a variable set in branding.desc, distros cna link to a Known Issues page
text for the URL is also possible to set in branding, known issues is default
advantage is any text possible as distros see fit
disadvantage, not part of translated strings
if most agree, Known Issues can be set as hard coded text, not in branding.desc
2015-03-19 10:32:14 -04:00
Teo Mrnjavac
d0235c4e76 Improve strings for actions in ChoicePage. 2015-03-18 20:12:20 +01:00
Teo Mrnjavac
c45e757cea Good guy clang catches lousy code.
CAL-212 #close Fixed.
2015-03-17 15:41:17 +01:00
Philip
a62743185a [partition] use C++11 initialization list for mountPoints 2015-03-16 19:21:18 +01:00
Ramon Buldó
6a52811c30 Show efi mountpoint when creating/editing partitions 2015-03-16 11:50:55 +01:00
Ramon Buldó
26bb6951f1 [partition] Change comment to prevent confusions of what Manjaro uses 2015-03-16 09:06:58 +01:00
Philip
bde428d4af [services] revert f1908eb 2015-03-13 17:49:24 +01:00
Teo Mrnjavac
4468e30317 Prevent crash when going back from EraseDiskPage and then next.
This was caused by an invalid reference to a device model in the
partitioning preview widget after a PCM revert.
2015-03-13 16:05:35 +01:00
Philip Müller
9fcd8113e5 [displaymanager] add pekwm 2015-03-12 21:08:23 +01:00
Philip Müller
f1908eb38d [services] adopt cups changes 2015-03-12 21:07:41 +01:00
Teo Mrnjavac
7e7e47b6d1 Do not warn of data loss which might not happen.
CAL-194 #comment Fixed up warnings in ChoicePage.
2015-03-11 18:13:39 +01:00
Teo Mrnjavac
c2a0845738 Debug window title. 2015-03-11 12:42:08 +01:00
Teo Mrnjavac
ea3b2295ec Diagnostics is now debug information 2015-03-11 12:41:44 +01:00
Teo Mrnjavac
5951208c1b Add Modules page to DebugWindow. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
dda7ea211d Make ModuleManager accessible from outside CalamaresApplication. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
4e2e964503 Return configurationMap from Module. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
8a60abdfc9 Add JobQueue list to DebugWindow 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
52528f650c JobQueue emits queueChanged. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
3ce8abcb78 Expand all items in the GlobalStorage debug tree. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
8729b6a25f Update the debug view every time GlobalStorage changes. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
edb21e05af New GlobalStoragePythonWrapper is passed to the Python API.
This allows us to make GlobalStorage a QObject, with disabled copy
constructor. And thanks to this change, GlobalStorage now emits
changed() every time an insert or remove is performed.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
060983279f Add a QTreeView for GlobalStorage contents to DebugWindow.
Not real time yet.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
d1c4976ee6 Copyright. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
d8ca5eee5b Friend DebugWindow to GlobalStorage for future use. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
9249d6e165 Add QJsonModel. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
f00a557d07 Retranslate diagnostics button. 2015-03-10 19:51:08 +01:00
Teo Mrnjavac
00565d0f12 Stubs for DebugWindow. 2015-03-10 19:51:08 +01:00
rshipp
f3319e1ef4 Change local_install to localInstall 2015-03-04 08:19:26 -07:00
rshipp
880c19c195 Fix incorrect if statement 2015-03-01 17:34:44 -07:00
rshipp
995341e9be Allow local installs with the packages module.
Courtesy of @Inkane. Adds the ability to use pacman -U to install
local packages.
2015-03-01 16:31:40 -07:00
Ramon Buldó
fb3072bbbb /etc/mtab reports a file size of 0, so using .atEnd() may not work. Read the file until it doesn't return more data.
Use QTextStream because it takes care of the conversion between 8-bit and 16-bit.
http://doc.qt.io/qt-5/qfile.html#using-streams-to-read-files
2015-02-28 16:46:18 +01:00
Teo Mrnjavac
642b4be1f2 Keys are not necessarily unique, so use a QList< QPair > instead. 2015-02-27 20:43:21 +01:00
Teo Mrnjavac
20a8b222c6 Verbose debug output. 2015-02-27 20:31:17 +01:00
Teo Mrnjavac
b557961a32 New ClearTempMountsJob, to be executed before partitioning jobs. 2015-02-27 19:49:47 +01:00
Teo Mrnjavac
8a23d48d76 Merge pull request #201 from calamares/removeuser
removeuser job module, this time in Python.
2015-02-26 11:00:04 +01:00
Teo Mrnjavac
01e98f0c29 Merge pull request #199 from calamares/displaymanager-explicitautologin
[displaymanager] Explicitly unset autologin if not checked.
2015-02-26 10:59:14 +01:00
Gormogon
e2d05cb9f2 Align Pointers 2015-02-25 19:57:19 -05:00
Teo Mrnjavac
67ed53caeb Do not try to set the username if it's None. 2015-02-25 18:01:15 +01:00
Teo Mrnjavac
b319cc1da0 [displaymanager] Explicitly unset autologin if not checked. 2015-02-25 18:00:01 +01:00
Teo Mrnjavac
5a1567f4f5 removeuser job module, this time in Python. 2015-02-25 17:37:25 +01:00
Philip
e5eee1e4dd [unpackfs] proper sentence 2015-02-25 14:49:24 +01:00
Philip
82dc4c38f4 [unpackfs] add python doc strings 2015-02-25 14:49:24 +01:00
Philip
d22e194ee7 [umount] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
be2353e54b [packages] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
016dd71db4 [mount] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
d7b36e9ff7 [machineid] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
fc88f1a480 [initramfs] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
d677fe9d01 [initcpiocfg] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
98db0b3f59 [initcpio] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
06be842cfa [grubcfg] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
3d8ba2b088 [fstab] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
e7a67b9c52 [dummypython] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
3330df99f3 [dracut] add python doc strings 2015-02-25 14:49:23 +01:00
Philip
60927b9363 [displaymanager] add more python doc strings 2015-02-25 14:49:23 +01:00
Philip
0d8bdc6c4e [bootloader] add python doc strings 2015-02-25 14:49:23 +01:00
Gormogon
b4db9fe64b Fixing PEP – 257 Violations 2015-02-25 14:49:23 +01:00
Gormogon
113d9db7cb Python Better Docstrings 2015-02-25 14:49:23 +01:00
Teo Mrnjavac
b8b41bdfdd Fix execution environment and error reporting in ProcessJob. 2015-02-25 13:44:55 +01:00
Philip
0dadd19e51 [bootloader] use '--force' argument
- Note (Kevin Kofler): Grub will fall back to a LILO-style installation,
  using blocklists to reference the blocks inside a larger partition,
  with the same caveats LILO had (need to reinstall whenever you do
  anything to the partition that will move those blocks around).
- Setting flags (EF00, EF02) or creating grub boot partition should be
  handled within 'partition' module.
2015-02-23 02:35:50 +01:00
Philip
9ac0fc37b1 [bootloader] Modifications
- move fail-check out of loop
- add more debug lines
2015-02-22 18:06:15 +01:00
Philip
fe7c5bbe77 [bootloader] Modifications
- add more debug informations
- simplify gpt detection code
2015-02-22 17:34:12 +01:00
Philip
43ccfbd9bd [bootloader] Modifications
- add 'bios_grub' flag when gpt table got detected
- grub: add --recheck at installation
2015-02-22 15:26:29 +01:00
Teo Mrnjavac
abeb6d9172 Run urpme noninteractive (OpenMandriva).
Thanks Tomasz Paweł Gajc <tpgxyz@gmail.com> for the patch.
2015-02-22 13:38:37 +01:00
Philip
6ed8b1e4a4 [bootloader] actually use get_kernel_line() 2015-02-20 18:36:20 +01:00
Teo Mrnjavac
92eae47a1d Const correctness. 2015-02-20 16:21:30 +01:00
Teo Mrnjavac
71851ed274 Process user-visible strings in TimezoneWidget and LocalePage. 2015-02-20 16:21:30 +01:00
Gormogon
7989267e81 Unused Imports 2015-02-20 09:24:05 -05:00
Teo Mrnjavac
cf64b2ce27 Allow zone subdivisions in timezones list.
CAL-191 #close Please test and reopen if it's still broken.
2015-02-20 14:54:52 +01:00
Philip Müller
d55d1c2fca [bootloader] fix typos in conf 2015-02-20 09:59:02 +01:00
Philip Müller
cb271d13ed [bootloader] use bootloader.conf values for overrides 2015-02-19 18:10:31 +01:00
Philip Müller
035ad6cbf9 [bootloader] use bootloaderEntryName 2015-02-19 17:59:52 +01:00
Philip Müller
cf1e5a8b51 [bootloader] fix typo 2015-02-19 17:40:36 +01:00
Philip Müller
93f0de3f7f [bootloader] make gummiboot entries more generic (use branding) 2015-02-19 17:39:11 +01:00
Philip
df9a2e38a8 [bootloader] proper arrangement 2015-02-20 01:00:31 +01:00
Philip
4759279fab [bootloader] default to grub for efi installations 2015-02-20 00:40:24 +01:00
Philip
5043bb4e0d [bootloader] update note regarding efiBootLoader in conf 2015-02-20 00:37:21 +01:00
Philip
c649ed4729 [bootloader] add efiBootLoader to conf 2015-02-20 00:34:56 +01:00
Philip
ebce8335bd [bootloader] move efi_(boot_loader|directory) to proper place 2015-02-20 00:33:16 +01:00
Philip
cd3e6a97de [bootloader] move efi_(boot_loader|directory) to proper place 2015-02-20 00:32:46 +01:00
Philip
e3a7fca6f4 [bootloader] join grub module with bootloader 2015-02-20 00:28:44 +01:00
Philip
76bfc4d96f [grub] add sgdisk call 2015-02-19 22:40:55 +01:00
Philip
4f089185fd [bootloader] fix 'dict' object is not callable 2015-02-19 22:32:27 +01:00
Philip
1542107d22 [bootloader] proper kernel_line in conf 2015-02-19 21:01:38 +01:00
Philip
7a10e14161 [bootloader] move values kernel_line and fallback_kernel_line up 2015-02-19 20:56:18 +01:00
Philip
cb78e74ae9 [bootloader] add quotes to config 2015-02-19 20:48:39 +01:00
Philip
6877466e28 Merge branch 'master' of github.com:calamares/calamares 2015-02-19 20:46:50 +01:00
Philip
568dd9422c [bootloader] simplify code
- remove unneeded double code
- add kernel lines to config
2015-02-19 20:46:02 +01:00
Teo Mrnjavac
ee1a90d845 Add debug details to ClearMountsJob. 2015-02-19 20:25:28 +01:00
Philip
e0cccb892f [bootloader] fix typo 2015-02-19 20:24:07 +01:00
Philip
229b9b40cd [bootloader] make if statement more pythonic 2015-02-19 19:46:57 +01:00
Philip
b41ecf119d [bootloader] add meaningful debug lines 2015-02-19 19:42:09 +01:00
Philip
715112261d [bootloader] if boot_p or device is empty, break and throw an error 2015-02-19 19:09:13 +01:00
Teo Mrnjavac
d51b15a919 Fix typo. Please test your Python code, as CI won't catch it. 2015-02-18 18:46:13 +01:00
Teo Mrnjavac
23eca3db55 Only create a ClearMountsJob for dirty devices.
CAL-195
2015-02-18 17:41:48 +01:00
Gormogon
9ef5f581a3 Update 'kbd-model-map' from Upstream 2015-02-18 10:06:37 -05:00
Gormogon
5c1ee7bbcb [PEP 8] General Style Part 3 2015-02-18 10:03:57 -05:00
Gormogon
09dc6bb5d7 [PEP 8] General Style Part 2 2015-02-18 09:47:24 -05:00
Gormogon
d8df3d7a59 [PEP 8] General Style Part 1 2015-02-18 09:37:03 -05:00
Gormogon
5d5519b7b0 [PEP 8] Comparison to 'False' 2015-02-18 09:22:33 -05:00
Gormogon
ebf037f247 [PEP 8] Comparison to 'None' 2015-02-18 09:21:49 -05:00
Gormogon
1b7b999449 Quick Simplification 2015-02-18 09:13:39 -05:00
Gormogon
9419d07a98 Fixed Unclosed File 2015-02-18 09:09:15 -05:00
Gormogon
8e1480431a [PEP 263] Corrected Encoding Headers 2015-02-18 09:06:10 -05:00