qt5base-lts/util/local_database
Edward Welbourne e93af7dafd Turn a next-node function into an iterator over nodes
This simplifies a duplicated iteration pattern in the calling code.
It also frees the first-node function to raise an Error (which the
iterator now catches) if it finds no node, where it used to return
False (instead of a node, so other code using it would raise confusing
errors from trying to use False as a node, where now it'll get a clear
Error about a missing node).  There were also no callers passing an
empty name, so the test for matching nodes (here moved to its own
short function) didn't need to handle that as a special case.

Change-Id: Ife6cad8943cf5dc2c6ed68429d4a217cb9bea446
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-06-09 08:24:33 +00:00
..
testlocales Updated license headers 2016-01-21 18:55:18 +00:00
cldr2qlocalexml.py Simplify cldr2qlocalexml.integrateWeekData() 2017-06-09 08:24:22 +00:00
cldr2qtimezone.py Made the "do not edit generated code" notice clearer 2017-06-08 13:37:21 +00:00
dateconverter.py Updated license headers 2016-01-21 18:55:18 +00:00
enumdata.py Fix CLDR C++ generation to name "Han with Bopomofo" properly 2017-06-08 13:37:01 +00:00
formattags.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
localexml.py Rework locale serialization and parsing with less repetition 2017-06-09 08:24:08 +00:00
qlocalexml2cpp.py Turn a next-node function into an iterator over nodes 2017-06-09 08:24:33 +00:00
README Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
xpathlite.py Updated license headers 2016-01-21 18:55:18 +00:00

local_database is used to generate qlocale data from the Common Locale Data Repository (The database for localized names (like date formats, country names etc)).