Adriaan de Groot
1e04924224
[locale] Drop the TZ-widget's timezone database
...
- use the global TZ service instead
- contains hacks to keep some of the API unchanged, which will be
removed shortly
2019-12-10 17:29:35 +01:00
Adriaan de Groot
08dc9011d6
[libcalamares] Off-by-one folded the world in half
...
- Dropped the sign from longitudes, wrapping the west onto the east
2019-12-10 17:11:10 +01:00
Adriaan de Groot
1880eb5148
[libcalamares] Add accessors for TZZone
2019-12-10 16:10:16 +00:00
Adriaan de Groot
3f57b929ee
[libcalamares] Make the zoneTab region list static
...
- there's only one zone.tab, it won't change during a run,
load it only once (this allows for a single global list).
2019-12-11 01:43:53 +10:00
Adriaan de Groot
4089a01cb1
[locale] Create TZ model earlier
2019-12-11 01:31:56 +10:00
Adriaan de Groot
a39c77dfaf
[libcalamares] Store region name in each zone as well
2019-12-11 01:11:51 +10:00
Adriaan de Groot
226530cf6f
[locale] Use model functions from locale service
...
- drop the home-grown combo-box filling, use model
2019-12-11 01:04:09 +10:00
Adriaan de Groot
c75e870073
[libcalamares] CStringList::find() convenience function
...
- search for a key and return a type-cast pointer to the result
- while here, simplify some other code
- the find() function could be done with std::find_if but doesn't
get any shorter or more elegant
2019-12-10 15:54:43 +01:00
Adriaan de Groot
6092172f8d
[libcalamares] Regions and zones change to QList<Base*>
...
- By using QList< CStringPair* > consistently, we can save
a bunch of model code at the cost of an occasional dynamic_cast;
it's fairly rare for there to be a need for the derived pointer.
2019-12-10 15:32:15 +01:00
Adriaan de Groot
fc8364ea54
[libcalamares] Store zones with each region
...
- move operator< to base class
- add each zone to the list held by the region
- sort zones at the end
2019-12-10 14:06:22 +00:00
Adriaan de Groot
1a8439069e
[libcalamares] Extend TZ with location and country
2019-12-10 15:36:53 +02:00
Adriaan de Groot
f4509f3380
[libcalamares] Move loading to TZRegion
...
- don't make the model load files, provide convenience functions
for loading in the value classes
- create model from lists of value pointers
2019-12-10 10:48:39 -01:00
Adriaan de Groot
da277fa7ba
[libcalamares] Drop superfluous enum
2019-12-10 17:42:32 +06:30
Adriaan de Groot
9a5e614172
[libcalamares] Build the TZRegion list in one pass
...
- read the file and create the regions on-the-fly, then sort the
resulting list (instead of building a string list and then
building the regions afterwards)
2019-12-10 17:24:33 +06:30
Adriaan de Groot
9f06903115
[local] Chase API change in TZRegionModel
2019-12-09 23:36:32 -11:00
Adriaan de Groot
01bba7b466
[libcalamares] Make explicit when a model comes from a file
2019-12-09 23:36:05 -11:00
Adriaan de Groot
afb5430c42
[locale] Use TZRegionModel
...
- instead of populating combo box with texts, use the model
read in from zone.tab
- this **partly** deprecates the LocaleGlobal stuff
2019-12-10 11:30:48 +02:00
Adriaan de Groot
2625bb18df
[libcalamares] TZRegionModel gets a data role
2019-12-10 11:27:02 +02:00
Adriaan de Groot
97235e9b3d
[libcalamares] Switch CStringPair key to QString
...
- the key is used in various places as a key for Qt data structures,
so it's more convenient to have QString than a bare char*
2019-12-10 10:11:08 +01:00
Adriaan de Groot
1d17cf5c77
[libcalamares] Accessors for key and complete region data
2019-12-09 17:20:46 -04:00
Adriaan de Groot
b29b89579e
[libcalamares] Present TZ regions in consistent order
2019-12-09 15:55:04 -05:00
Adriaan de Groot
b2c2255f6a
[libcalamares] Add a model of timezone regions
2019-12-09 21:46:10 +01:00
Adriaan de Groot
7d88b6d0cd
[license] Show filenames as filenames
...
- Use File: to display filenames, rather than URL: plus a file:-scheme
- Document the change in CHANGES
2019-12-09 20:47:32 +01:00
Adriaan de Groot
ddc2f60768
Merge branch 'master' into zone-data
2019-12-09 17:44:32 +01:00
Adriaan de Groot
41c506cacc
Merge branch 'issue-1268'
...
FIXES #1268
2019-12-09 17:35:59 +01:00
Adriaan de Groot
ac1c0d97d2
[license] Prevent single item from expanding
...
- the last item would expand vertically to fill the scroll area;
add a spacer that pushes against it
2019-12-09 17:34:46 +01:00
Adriaan de Groot
59ea0417fc
[license] Move a less-useful message to tooltip
...
- the message about setup continuing can be a tooltip
2019-12-09 17:25:07 +01:00
Adriaan de Groot
c220220563
[license] Give stylesheets meaningful names
2019-12-09 17:14:35 +01:00
Adriaan de Groot
8a912e6ca1
[license] Fix the height of each item
...
- needs a qwidget to put the top-items (license name, button) in
- fixes issue where the gap between the button and the hrule would
change depending on what is expanded
2019-12-09 17:08:35 +01:00
Adriaan de Groot
7330afd96a
[license] Massage display of buttons
...
- try to keep them the same height
- show the URL that will be opened
2019-12-09 16:57:18 +01:00
Adriaan de Groot
6e1504fafc
[license] Use just one button
...
- replace the text plus toolbutton (which has an ambiguous arrow in it)
by a single button with text saying what it will do.
2019-12-09 14:52:54 +01:00
Adriaan de Groot
2d02290b91
Merge branch 'issue-1268'
...
FIXES #1268
2019-12-03 13:01:41 +01:00
Adriaan de Groot
9fa021e3c6
[license] Reduce margins hugely
...
- Move layouting code into the .ui file
- Reduce margins hugely -- atop the title block, around the
scroll area, etc -- so that more license is visible at once.
2019-12-03 13:00:12 +01:00
Adriaan de Groot
0b126b2c62
[license] Massage the messages some more
...
- split shared <h1> message off
- do some string-concatenation, but only of whole sentences
- shave off some vertical space by dropping the mainsubtext item
2019-12-03 12:49:11 +01:00
Adriaan de Groot
72ee9742f3
[tracking] Correct the example URLs
2019-12-03 12:24:47 +01:00
Adriaan de Groot
162ab2129e
Changes: post-release housekeeping
2019-12-03 11:57:25 +01:00
Adriaan de Groot
0eb666c56a
CMake: support TWEAK releases in version-information
2019-12-03 11:37:28 +01:00
Adriaan de Groot
1fc31cde32
CI: make tag consistent between txpush and txcheck
2019-12-03 11:29:46 +01:00
Calamares CI
0c128d42d2
i18n: [python] Automatic merge of Transifex translations
2019-12-03 11:17:53 +01:00
Calamares CI
a034b1a9ab
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-12-03 11:17:52 +01:00
Calamares CI
111b05f3c9
i18n: [calamares] Automatic merge of Transifex translations
2019-12-03 11:17:52 +01:00
Adriaan de Groot
8988e05f88
Changes: pre-release housekeeping
2019-12-02 11:47:58 +01:00
Adriaan de Groot
5cb0ee6cc5
[welcome] Simplify code
...
- Kevin Kofler pointed out there was a redundant else-if
- Only use size for comparison if it's valid
2019-12-02 11:42:32 +01:00
Adriaan de Groot
7029c427f1
Merge pull request #1275 from bill-auger/patch-createusers-logging
...
housekeeping - logging for CreateUser Job
2019-12-02 11:38:34 +01:00
Adriaan de Groot
1a13704c71
[grubcfg] HOTFIX typo in function call
2019-11-30 21:46:45 +01:00
bill-auger
7510e883b8
pre-select default item in packagechooser
2019-11-30 02:23:05 -05:00
Adriaan de Groot
28141661da
Merge branch 'reduce-warnings'
2019-11-29 00:18:58 +01:00
Adriaan de Groot
8b4bd52a26
[machineid][hostinfo] Reduce warnings
...
- stray ;
- clang-tidy had re-ordered the moc-warnings.h header, needs to go
**before** the .moc so split into its own group
2019-11-29 00:17:26 +01:00
Adriaan de Groot
bd5b63b02e
[summary][calamares] Chase deprecations in Qt (QWidget::background())
2019-11-29 00:17:02 +01:00
Adriaan de Groot
a70b7ad89e
[welcome] Chase deprecations in Qt (screen geometry)
2019-11-29 00:17:02 +01:00