Commit Graph

4217 Commits (37ce9a08387133b625c46c696cc901b42ee98d7e)
 

Author SHA1 Message Date
Adriaan de Groot ad6227ce21 [libcalamares] Remove internal functions from the logging API
Adriaan de Groot 3e30bb682e [libcalamaresui] Use cError() for logging errors, not cLog()
Adriaan de Groot e2b8fb0afe [welcome] Log if no translations matched at all
Adriaan de Groot d9a1f6b18b CMake: restore en to translations list
Adriaan de Groot cdf80615b8 [libcalamares] Rename the log file
Adriaan de Groot 0f289e2552 [calamares]: Improve startup logging
- Don't bother with the address of the main thread
 - Do put a marker on restart into the log file
 - Do put the Calamares version into the log file (previously, the version
   was printed through cDebug() before the log file was opened, so it was
   lost to the on-disk log).
Adriaan de Groot 24305bd58f CMake: make the translations more transparent; easier to update
Adriaan de Groot ace30e149a CMake: fix defaults-handling which was breaking in-tree build
Adriaan de Groot abe05ac8ab CMake: document add_branding_subdirectory()
- add feature to allow (re)naming and to support greater
   directory depths.
Adriaan de Groot b95fe2227f CMake: remove debugging from macro
Adriaan de Groot 902e392b6d CMake: bump version for -rc4
Adriaan de Groot d4f0be02d3 i18n: make build reproducible
The RCC output files in version 2 contain a timestamp of the
source file, which changes per build. Drop down to version 1,
which just removes the timestamp.

See reproducible builds note 'timestamps in source generated by rcc'.

FIXES 
Calamares CI a519be130c i18n: [python] Automatic merge of Transifex translations
Calamares CI 1791ac2d43 i18n: [dummypythonqt] Automatic merge of Transifex translations
Calamares CI 7e2f7dc414 i18n: [desktop] Automatic merge of Transifex translations
Calamares CI 37e6f92c24 i18n: [calamares] Automatic merge of Transifex translations
Adriaan de Groot 70fe023347 Merge branch 'branding'
Documentation lives both in Calamares and in the calamares-branding
repo. Whether a slideshow has navigation arrows or not is up to the
slideshow / branding component author, but Calamares now ships some
support QML to make that easy.

FIXES 
FIXES 
Adriaan de Groot 2f66aa9b07 [plasmalnf] Change to IgnoreAspectRatio
It is the distro's responsibility to produce screenshots that look
good; previously I chose to preserve the aspect ratio on the grounds
that this would keep the look of the screenshot even if the distro
had done one in a weird size. This makes the screenshot part
of the LNF selection look weird, though, since then you get
blank parts.

Switch to ignoring the aspect ration; distro's should produce
screenshots in a 12x8 (i.e. 3:2) aspect ratio, preferrably at
least 120x80 pixels -- but keep in mind hiDPI and the default
font sizes of the distro, which may make other sizes look better.

(this follows discussion with BlueStar Linux)
Adriaan de Groot 42ba505ceb CMake: add license headers, copyright
Since we install the CMake files now, also put license headers in them.
These files are intended to help plugin and branding component authors
write them in a simple Calamares-idiomatic way.
Adriaan de Groot 986c5f5a9a CMake: improve branding component macros
- document preferred component layout
 - simplify parameters to the branding macros
 - allow structured branding components with SUBDIRECTORIES
Adriaan de Groot f29da8e39e Branding: document preference for standalone branding
Adriaan de Groot 25b9663a40 Branding: remove fancy/ and samegame/ examples
The examples of branding have moved to the calamares-branding repo.
Adriaan de Groot 3610634883 CMake: Calamares uses linguist-tools for translation
The convenience include file CalamaresUse should DTRT and set up
all the bits needed to write Calamares branding components and
modules. So add the bits for i18n.
Adriaan de Groot fdccff83c3 i18n: when extracting strings, skip branding
Adriaan de Groot e4cca9b830 Branding: document how to translate branding
Adriaan de Groot 75df6a4f88 Branding: add example translations to fancy/
Adriaan de Groot f8bc195fb4 [libcalamaresui] Improve warning when branding has no translation
Adriaan de Groot c1bb5e708b QML: apply translation to the slide counter
Adriaan de Groot 97eff28383 QML: Remove binding for quit key in presentation
Adriaan de Groot 345118aec9 CMake: improve branding support
- Fix broken subdirectory call
 - Automatically process lang/ if there isn't a CMakeLists.txt,
   this was a bogus restriction
 - Add support macros for installing branding and translations
Adriaan de Groot 2fee85907d CMake: improve documentation in the Config file
Adriaan de Groot 8125698696 Branding: expand documentation
- Auto-advance the default presentation
 - Add more example slides to the fancy presentation
 - Expand README.md explaining what the default classes can do
Adriaan de Groot e7849c5ed0 Branding: fix reference error
Adriaan de Groot 3b8673fb99 Branding: update example, use NavButtons
Adriaan de Groot 7ab79a944b Branding: add example SVGs from Quassel
Adriaan de Groot b6fd8de126 QML: Use QtQuick 2.5 consistently
Adriaan de Groot 3d89828fe1 QML: drop potentially confusing shortcuts
Removed these features that make sense in a presentation slideshow
(e.g. during a talk) but that are potentially confusing during
a passive slideshow like Calamares has:
 - Using 'c' blanks the slideshow.
 - Entering a slide number + enter changes slides.
Adriaan de Groot c116dba2e8 QML: add navigation items
- Add a NavButton, which shows a directional arrow, and fades in on hover.
   It can be used left- or right- by setting an image source
   and click handler.
 - Specialize NavButton to Forward and BackButton.
 - Add a SlideCounter navigation aid.
Adriaan de Groot 8a9baf6e11 Git: ignore compiled QML
Adriaan de Groot 74080c31f5 Branding: add a fancy branding example
Adriaan de Groot 1e0ecbcc18 [contextualprocess] Warnings-- by dropping destructor
Adriaan de Groot 583cc06f7c [keyboard] Warnings-- for nullptr
Adriaan de Groot 51ccd6be4d [license] Warnings-- by making the one default case explicit
Adriaan de Groot e2f6d160f8 [tracking] Reduce compile warnings
The fallthrough construction in a switch is a bit confusing
to read, and generates compile warnings too, so break it up.
Adriaan de Groot defc7d4df8 [welcome] Compile warnings--
Adriaan de Groot a9e751bb31 [users] Compile warnings--
Adriaan de Groot a0d6365209
Merge pull request from AlmAck/locale_fix
Enable the correct language in the locale.gen list
AlmAck 58952b685c the first character must be a comment
to original code would match both lines:
zen_US.UTF-8 UTF-8
#en_US.UTF-8 UTF-8

introducing "#" should check only the commented lines
AlmAck 382c193afa Enable the correct language in the locale.gen list
the original code does not distinguish the document comments inside the locale.gen file from the real locale list. The language was then enabled from the header comments of the file instead of the correct value in the list.

The new code verify tha the complete locale string is just after the first character of the string, enablig only the correct value of the locale list.
An example:
#  en_US.UTF-8 UTF-8 --> document header, should not be enabled
#en_US.UTF-8 UTF-8 --> correct section to enable

Related to this request:
https://code.chakralinux.org/tools/calamares-chakra/issues/2
Calamares CI 561ba6bda8 i18n: [python] Automatic merge of Transifex translations