Teo Mrnjavac
42e465aa10
CalamaresUtils::System is now a class.
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
bf885d65db
chroot calls are now generic "target env" calls.
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
b75b13b466
Make sure to update GlobalStorage on every timezone change.
2015-07-15 17:48:59 +02:00
Teo Mrnjavac
fefa736501
Use <strong> instead of <b> in all instances.
2015-04-13 14:58:34 +02:00
Gormogon
e2d05cb9f2
Align Pointers
2015-02-25 19:57:19 -05: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
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
Teo Mrnjavac
171248ad4f
Add isBackEnabled checks to all ViewSteps.
2015-01-29 22:46:07 +01:00
Kevin Kofler
75adfa03fc
locale: timezonewidget: Use the system default font.
...
Don't hardcode the Cantarell font.
2014-12-06 00:15:55 +01:00
Teo Mrnjavac
5bb7755925
Remove unnecessary debug output.
2014-11-26 19:10:17 +01:00
Teo Mrnjavac
5fdca37db5
Focus fix in Locale page.
2014-11-26 18:52:44 +01:00
Teo Mrnjavac
472590669f
Adding stuff to GlobalStorage works much better it is actually executed.
2014-11-26 18:47:46 +01:00
Teo Mrnjavac
925632800b
Debug output for lcLocale
2014-11-26 17:47:06 +01:00
Kevin Kofler
b79618aa15
locale: Move the string processing out of the loop.
2014-11-26 17:12:18 +01:00
Teo Mrnjavac
88dfd7fa10
Fix system locale string + allow 3 letter language codes.
2014-11-26 11:30:06 +01:00
Kevin Kofler
e7d0f205a4
locale: Support distributions without locale-gen.
...
If /etc/locale.gen (or the configured localeGenPath) does not exist,
assume that all the supported languages are already built into the
locale archive, and retrieve the list from "locale -a".
The list will then contain lines with only the locale rather than
locale + space + encoding, but that should not affect any of the rest of
the code. UTF-8 locales will still contain the string "UTF-8" (as part
of the ".UTF-8" suffix), we will not write a locale.gen file if we don't
have locale-gen, and everything else just strips away the encoding.
2014-11-25 20:03:37 +01:00
Kevin Kofler
440b38addf
locale: Optimize guessLCLocale by moving function calls out of loops.
2014-11-25 19:44:16 +01:00
Kevin Kofler
bcbe5103b9
locale: Don't assume 2-letter language codes.
...
Some languages have 3-letter codes. So instead of splitting the output
of QLocale::name, use QLocale::language and the static
QLocale::languageToString.
2014-11-25 19:41:01 +01:00
Teo Mrnjavac
6049267cf6
Load lcLocale value into GlobalStorage. Also allow localeGenPath setting
...
in locale.conf.
2014-11-25 17:43:12 +01:00
Teo Mrnjavac
2ca58c6f91
Massive cleanup in LocalePage. Add LCLocale setting, with autodetect.
2014-11-25 17:41:27 +01:00
Teo Mrnjavac
100f08518b
Build LCLocale dialog.
2014-11-25 17:40:38 +01:00
Teo Mrnjavac
ddfb8dfbc5
Add relevant strings.
2014-11-25 17:40:24 +01:00
Teo Mrnjavac
6cb072acc4
New LC LOCALE picker dialog.
2014-11-25 17:40:24 +01:00
Teo Mrnjavac
e5c3888be2
Allow multiple CALAMARES_RETRANSLATE blocks in the same widget.
2014-11-11 15:12:44 +01:00
Teo Mrnjavac
945b59748a
Add RETRANSLATE macro to CalamaresUtils::Retranslator.
2014-11-11 15:12:44 +01:00
Teo Mrnjavac
6f3898a73d
Use Retranslator in LocalePage.
2014-11-11 12:44:32 +01:00
Teo Mrnjavac
dec452f9b5
Make LocalePage retranslatable.
2014-11-10 14:56:29 +01:00
Teo Mrnjavac
8651b33843
Make the locale viewmodule use WaitingWidget.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
d97bb47f09
Add proper QResrouce system to libcalamaresui, finish up prepare checks
...
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
1bb6603998
Move spinner widget to libcalamaresui.
2014-08-26 18:24:51 +02:00
Daniel Hillenbrand
38f32bfd56
locale: make sure /etc/localtime doesn't exist
...
If /etc/localtime exists in source image, creating a new symlink will fail
and prevent the installer from doing it's job.
2014-08-19 20:47:46 +02:00
Teo Mrnjavac
8f10c21e5b
Big configuration overhaul.
...
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
2014-08-06 11:54:45 +02:00
Teo Mrnjavac
1d6c41e94d
A timezone is a file, not a directory.
2014-08-04 21:48:04 +02:00
Teo Mrnjavac
271b0945c9
Create jobs in locale viewmodule.
2014-08-01 16:29:19 +02:00
Teo Mrnjavac
34c5ac3182
Add SetTimezoneJob to locale viewmodule.
2014-08-01 16:28:29 +02:00
Teo Mrnjavac
e3741c4d26
Make the locale viewmodule load the initial timezone from config.
2014-07-15 11:35:05 +02:00
Teo Mrnjavac
0a8aa66d58
Set initial timezone for the locale viewmodule in module.conf.
2014-07-15 11:34:36 +02:00
Teo Mrnjavac
f1ba2e1270
Add prettyStatus to Locale module.
2014-07-08 18:28:28 +02:00
Teo Mrnjavac
b98c071f94
Prepare for late enqueuing of jobs to the JobQueue.
2014-07-08 14:03:06 +02:00
Teo Mrnjavac
ee485f9735
Remove keyboard related functionality from the locale viewmodule.
2014-07-04 15:31:12 +02:00
Teo Mrnjavac
4ec72f4afb
Refactored calamares_bin into calamares_bin and libcalamaresui.
...
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.
2014-07-03 18:00:40 +02:00
Teo Mrnjavac
1efb4f1101
Added spinner widget to the loading timezone data view.
2014-07-03 15:38:55 +02:00
Teo Mrnjavac
81eafced2f
Don't allow to go next if the timezone view hasn't loaded.
2014-07-03 13:19:32 +02:00
Teo Mrnjavac
f9aa532d77
Load timezone data asynchronously so we don't block the GUI thread on
...
startup.
2014-07-03 13:13:38 +02:00
Teo Mrnjavac
87b009cc23
Layout fixes for LocalePage + default location.
2014-07-02 18:12:53 +02:00
Teo Mrnjavac
1ac10b40e6
Initial commit for the locale viewmodule.
2014-07-02 18:12:53 +02:00