Adriaan de Groot
10727c7bd9
Merge pull request #1126 from feren/patch-3
...
Patch to add 'dont-cancel' setting to disable Cancel only during the installation phase
7 years ago
Adriaan de Groot
c44e221fb6
Merge branch 'issue-1107'
...
FIXES #1107
7 years ago
Adriaan de Groot
58aa9f4989
[libcalamares] Move LocaleLabel from libcalamaresui to libcalamares
...
- This isn't a UI-dependent class
- Doesn't make much sense in CalamaresUtilsGui either
7 years ago
Adriaan de Groot
242d756731
[libcalamaresui] Add convenience name() to LocaleLabel
7 years ago
Adriaan de Groot
bd0af4bb77
[libcalamaresui] Give LocaleLabel a default constructor
...
- Needed for use in containers
- While here refactor building the english label
7 years ago
Adriaan de Groot
cef2f50510
Reduce warnings about extra ;
...
- Trailing ; after Q_UNUSED
- Trailing ; after CALAMARES_RETRANSLATE
7 years ago
Adriaan de Groot
c83395ff6d
Reduce warnings for yaml-cpp
...
- Use only utils/YamlUtils.h to pull in yaml-cpp and supporting code.
- When compiling with clang, turn off warnings that the system header
for yaml-cpp would generate.
7 years ago
Adriaan de Groot
620940c75b
[libcalamaresui] Drop now-unused sortKey from LocaleLabel
...
- sortKey is unused
- add englishLabel for reverse-i18n
7 years ago
The feren OS Dev
a7ac046b3d
Update copyright headers
7 years ago
The feren OS Dev
825c92582a
Update ViewManager.cpp
7 years ago
Adriaan de Groot
5e951466df
[libcalamaresui] Sort languages by ISO code
...
- this puts the Englishes together, and is less confusing than
sorting with American first.
7 years ago
Adriaan de Groot
ef3b4c387c
[libcalamaresui] Remove unused AbstractPage
7 years ago
Adriaan de Groot
4fec6731ba
[calamares] [libcalamaresui] Improve includes
...
- avoid useless ../
- sort alphabetically and by kind
7 years ago
Adriaan de Groot
d6cf0617f6
[libcalamaresui] Make logging more consistent
7 years ago
Adriaan de Groot
e664370b28
[libcalamaresui] Use modern tr() annotation
7 years ago
Adriaan de Groot
5a95bf507f
[libcalamaresui] Improve WindowDimensions class
...
- Make sure the class knows its own suffixes
7 years ago
Adriaan de Groot
6560c194ad
[libcalamaresui] Reduce 0-for-nullptr warnings in 3rd party code
...
- replace = 0 with = nullptr to reduce warnings; not a meaningful
or copyrightable change.
7 years ago
Adriaan de Groot
1008a91eba
[libcalamaresui] Reduce warnings
...
- getting a (sensible) uint from an int is tougher than you might think
7 years ago
Adriaan de Groot
8dd22dcbbf
[libcalamaresui] bail() is a [[noreturn]] function
7 years ago
Adriaan de Groot
713370da55
Merge remote-tracking branch 'origin/issue-1100'
7 years ago
Adriaan de Groot
01f5ac22a0
CMake: use conventional method for setting version
...
- Using project() to set up the version is idiomatic for CMake
and more standardised than doing it by hand. Do retain the
RC flag, because that's used in other parts of versioning.
7 years ago
Adriaan de Groot
3a0bd254c0
[libcalamaresui] Adjust quit-messages to setup-mode
7 years ago
Adriaan de Groot
2b7832857c
[libcalamaresui] Simplify checking dependencies
...
- Avoid crash due to invalid iterator, when modules
are removed due to missing requirements.
- Simplify code, factor out the determination of
which required modules are missing.
7 years ago
Adriaan de Groot
5a8ed8583f
[libcalamaresui] Complain about missing config files
...
- When no config file is found, tell where it wasn't.
7 years ago
Adriaan de Groot
54ba0aaf13
[welcome] Use convenience function
...
- Introduce a hasDetails() for RequirementEntry, which is just
a short-cut, but makes code more readable.
8 years ago
Adriaan de Groot
8cf3c217f7
Merge branch 'requirements-checking'
8 years ago
Adriaan de Groot
c3d13e3451
[libcalamaresui] Add documentation to ViewStep methods
8 years ago
Adriaan de Groot
64ca9d0d5a
[libcalamaresui] Document multi-page support.
8 years ago
Adriaan de Groot
6071489788
[libcalamaresui] Provide default implementations of next() and back()
...
- These methods are used for multi-page view-steps, which are rare.
For all the others, just drop the empty implementation and defer
to the base class.
8 years ago
Adriaan de Groot
08565b5f17
[libcalamaresui] Remove the signal done() from ViewStep
...
- The signal is emitted, generally from next(), but not actually used.
8 years ago
Adriaan de Groot
40a7082bfc
[libcalamaresui] Handle no-requirements-to-check case
...
- If there's no requirements at all, none of the watchers
will call finished(), so do it once extra.
8 years ago
Adriaan de Groot
0ad115732e
[libcalamaresui] Report elapsed time as well.
...
- While waiting on modules, report the elapsed time in seconds
based on the number of progress-ticks that have passed.
8 years ago
Adriaan de Groot
5ddf7b980b
[libcalamaresui] Report progress also while waiting
...
- Ping the progress every 1.2 seconds, so the user sees more than
just the throbber.
8 years ago
Adriaan de Groot
ac652a2bc1
[libcalamaresui] Report module-name in italics
8 years ago
Adriaan de Groot
41fecf341b
[libcalamaresui] Avoid metatype warnings at runtime
...
- Register the types with the Qt type system. This is needed
because we're passing them as signal and slot parameters
across threads.
8 years ago
Adriaan de Groot
f1aa22d9e8
[libcalamaresui] Sort signals chronologically
8 years ago
Adriaan de Groot
b169281b69
[libcalamaresui] Use convenience type
8 years ago
Adriaan de Groot
6090a464f8
[libcalamaresui] Switch requirementschecking to threaded mode
...
- Use QFuture and QFutureWatcher to spawn threads that do the actual
checking of the requirements; collect results and report on
them as they come in.
8 years ago
Adriaan de Groot
c678cd80b4
[libcalamaresui] Refactor Requirements-Checking
...
- Move the actual checking into a separate object with some lifecycle-
management signals.
- Right now this is still single-threaded and blocking, so no net gain.
8 years ago
Adriaan de Groot
bbb9ff0cbf
[libcalamaresui] Remove useless #define
8 years ago
Adriaan de Groot
ff10e1301d
[libcalamaresui] Fix struct/class mismatch
8 years ago
Adriaan de Groot
5aa4e52452
[libcalamaresui] Improve debug-logging
8 years ago
Adriaan de Groot
d33752c66c
[libcalamaresui] Refactor Requirements classes
...
- improve naming of member variables
- expand documentation
8 years ago
Adriaan de Groot
43eae0bc47
Merge branch 'master' into requirements-checking
8 years ago
Adriaan de Groot
667c0594a4
Merge pull request #1074 from a-wai/disable-cancel-button
...
Add a settings.conf option to disable "Cancel" button
8 years ago
Arnaud Ferraris
db3d3a7d03
Add a settings.conf option to disable "Cancel" button
...
In some cases, e.g. when calamares is used as an "initial setup" tool,
we may want to user to go through all the configuration steps in order
to end up with a usable system.
Therefore, disabling the "Cancel" button can be useful in this case.
This commit adds an option to settings.conf which disables this button
when set to "true". If the option is not present in the settings file,
the default behavior ("Cancel" button enabled & visible) is enforced.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
8 years ago
Adriaan de Groot
12665192ae
[libcalamaresui] Defend against missing config settings
8 years ago
Adriaan de Groot
ef94b1f689
[calamares] Support noexpand
...
- When in noexpand mode, just don't grow the window, and assume
widgets elsewhere will get scrollbars automatically.
8 years ago
Adriaan de Groot
866797a6c9
[calamares] Support starting fullscreen
8 years ago
Adriaan de Groot
80569a746f
[libcalamaresui] Relax validity check in branding
...
- A size of 64em has a value less than 1024, which is the minimum
size **in pixels**. The check doesn't make sense as-is and would
have to take the unit into account. Leave that to clients of
branding (e.g. CalamaresWindow, which already does this).
8 years ago