Commit graph

39 commits

Author SHA1 Message Date
Thomas Lauf
bddb874034 Improve configurability of CMake install directories
Make installation of man pages configurable per section
Use configuration variable TIMEW_BINDIR
Update documentation

Closes #553

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-08-11 15:30:26 +02:00
Thomas Lauf
ce68d43305 Update holidays/README
- Add links to holidata.net
- Reformat shell command examples

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-17 14:19:02 +02:00
Thomas Lauf
3008e458e9 Update project to C++17
- Bump CMake to minimum version 3.8
- Set C++ standard to 17
- Remove CMAKE_LEGACY_CYGWIN_WIN32 compatibility mode
- Remove C++11 stuff
- Update documentation

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-17 08:41:07 +02:00
Thomas Lauf
3441b2ed93 Update example en-US holiday file
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-28 12:24:35 +02:00
Thomas Lauf
65ef38658b Increase minimal CMake version
Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
According to our test images all supported distributions have CMake > 3

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-02-12 10:50:39 +01:00
Tomas Babej
e5870380a4
doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
Thomas Lauf
ad58309159 Update Copyright
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-04-19 12:41:23 +02:00
Thomas Lauf
5ab9b86e56 Set python version explicitly to python3
- Closes #259

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-02-23 21:32:39 +01:00
Thomas Lauf
7997c99106 Update README
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
42df2cb08b Update copyright years and holders
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
002a04db63 Merge same holidays from different regions
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
ff562b8a9e Simplify region filtering by setting a default value
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
bb905fd0b9 Inline variable
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 13:21:08 +01:00
Thomas Lauf
38a5afe88c Remove redundant character escape in regex
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 13:20:05 +01:00
Thomas Lauf
452cce6137 Switch to python 3
- #259

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 13:18:08 +01:00
Thomas Lauf
37a3aa0ccf Rework markdown
- One line per sentence
- Use '#' instead of underline to mark headings
- Consistent indentation
2018-12-21 12:48:22 +01:00
Thomas Lauf
9598f01fcf Remove accidentially added files from repository 2018-12-06 13:36:17 +01:00
Thomas Lauf
c598f2bd66 Add lower bounds check for DOM tag reference
- Closes #189
2018-11-25 12:24:30 +01:00
Simon Ruderich
327219624d Convert remaining links to https:// 2018-03-16 23:11:08 +01:00
Simon Ruderich
2271bd9eea Use https:// link for opensource.org 2018-03-16 23:11:08 +01:00
Thomas Lauf
6272f1ad5d Optimize imports, indent with 4 spaces (PEP8) 2018-03-07 21:15:22 +01:00
Thomas Lauf
fdd40c484a Fix python comments 2018-03-07 21:15:22 +01:00
Federico Hernandez
836bc41014 Preparing release 2018-01-13 00:48:26 +01:00
Thomas Lauf
3aa932eafe Fix typos 2018-01-05 10:49:17 +01:00
Paul Beckingham
268d6cf682 Holidays: Refreshed en-US for both 2016, 2017 2016-11-06 08:21:32 -05:00
Paul Beckingham
6ccbf141de TI-52: The 'refresh' scripts overwrites previous years data
- Thanks to m8r.
2016-11-06 08:20:47 -05:00
Paul Beckingham
ccfa91e572 Holidays: Updated to include 2017 2016-11-05 11:57:50 -04:00
Jelle van der Waa
e4e04c4ba2 TI-42: holiday calendar error when downloading nb-NO
When downloading the holiday calendar for the nb-NO locale with Python 2
the code throws an 'ascii' encode error.
2016-09-03 15:29:05 -04:00
Jelle van der Waa
5ddef40d82 Make holiday refresh script Python 3 compatible
urllib2 is renamed and reworked in Python 3, handle this change by
importing urlopen and HTTPError directly.

Resolve the print issues, by using print() everywhere.

Python3 reads bytes when reading from urlopen() therefore convert it to
a string with .decode('utf-8')
2016-09-03 14:33:26 -04:00
Paul Beckingham
a4f61d90f0 Docs: Typo 2016-08-07 10:23:40 -04:00
Kent R. Spillner
5bb6a0ebff Build: Out of source build improvements for holidays, themes
- Using a separate build directory currently fails during make install
  because none of the files under doc/holidays or doc/themes are being
  by cmake into the build dir.  Add CMakeLists.txt files for both
  doc/holidays and doc/themes, and add the corresponding add_subdirectory
  directives to doc/CMakeLists.txt, to ensure these files are always
  copied into the build directory and installed correctly.
2016-06-28 17:45:03 -04:00
Paul Beckingham
03fafc3dd9 Docs: Updated holidays README 2016-05-18 09:18:23 -05:00
Paul Beckingham
89a94ed81e Docs: Updated en-US holidays using refresh script 2016-05-18 09:10:52 -05:00
Paul Beckingham
a0d975462c Docs: Added 'refresh' script to update holidays 2016-05-18 09:10:00 -05:00
Paul Beckingham
f65ec8c16a Holidays: Updated format so that the key doesn't look like math 2016-03-26 17:14:11 -04:00
Paul Beckingham
c9793da350 Holidays: Added README to explain update/add procedure 2016-03-26 13:36:24 -04:00
Paul Beckingham
63dc3b7405 Holidays: Added stubbed 'refresh' script 2016-03-26 13:33:48 -04:00
Paul Beckingham
1b6282aa2c Holidays: Added a template for the holiday files 2016-03-26 13:31:33 -04:00
Paul Beckingham
6adaa27977 Holidays: Added en-US 2016-03-17 11:42:08 -04:00