Skip to content

Commit 8cfcd81

Browse files
authored
Merge pull request #421 from iLib-js/development
Merge to master to publish v14.17.0
2 parents 70c79db + eeb2c94 commit 8cfcd81

File tree

1,585 files changed

+32238
-22429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,585 files changed

+32238
-22429
lines changed

.circleci/config.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,15 @@ jobs:
2727
command: |
2828
#sudo apt-add-repository --yes ppa:beineri/opt-qt551-trusty
2929
#sudo apt update
30-
sudo apt install -y build-essential libfontconfig1 mesa-common-dev qmlscene qt5-default qtdeclarative5-dev qtbase5-dev
30+
sudo apt install -y build-essential libfontconfig1 mesa-common-dev qtbase5-dev qmlscene qtdeclarative5-dev
31+
32+
- run:
33+
name: Set up OpenJDK
34+
command: |
35+
sudo apt-get install openjdk-11-jdk
36+
sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
37+
sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
38+
sudo update-alternatives --set javadoc /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc
3139
3240
- run:
3341
name: Set up node packages
@@ -43,6 +51,8 @@ jobs:
4351
echo "node version: " $(node -v)
4452
echo "npm version: " $(npm -v)
4553
echo "java version: " $(java -version)
54+
echo "javac version: " $(javac -version)
55+
echo "javadoc version: " $(javadoc --version)
4656
echo "ant version: " $(ant -version)
4757
echo "qmake version: " $(qmake --version)
4858
echo "TZ is $TZ"
@@ -65,6 +75,10 @@ workflows:
6575
- test:
6676
docker_image: circleci/node:12-browsers
6777
- test:
68-
docker_image: circleci/node:14-browsers
78+
docker_image: cimg/node:14.21.2-browsers
6979
- test:
70-
docker_image: circleci/node:16-browsers
80+
docker_image: cimg/node:16.19.0-browsers
81+
- test:
82+
docker_image: cimg/node:18.14.0-browsers
83+
- test
84+

build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2012-2022, JEDLSoft
1+
# Copyright (c) 2012-2023, JEDLSoft
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
version=14.16.0
16+
version=14.17.0

docs/ReleaseNotes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Release Notes for Version 14
22
============================
33

4+
Build 026
5+
-------
6+
Published as version 14.17.0
7+
8+
New Features:
9+
* Update to CLDR v42 data
10+
Bug Fixes:
11+
* Fixed to publish js apidoc with applying style properly.
12+
* Fixed the case of setting the root path incorrectly in `ilib-web.js`.
13+
414
Build 025
515
-------
616
Published as version 14.16.0

js/build.xml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,20 @@ limitations under the License.
120120
<mkdir dir="${build.output.js}"/>
121121
<mkdir dir="${build.output.dyncode}"/>
122122
<mkdir dir="${build.output.test}"/>
123-
123+
<exec executable="node" outputproperty="node.version">
124+
<arg value="--version"/>
125+
</exec>
126+
<condition property="node16orLower">
127+
<matches string="${node.version}" pattern="^v([0-9]\.|1[0-6]\.)" />
128+
</condition>
129+
<condition property="node17orHigher">
130+
<matches string="${node.version}" pattern="^v(1[7-9]\.|[2-9][0-9]\.)" />
131+
</condition>
132+
<condition property="node.options" value="--max-old-space-size=3300 --openssl-legacy-provider" else="--max-old-space-size=3300">
133+
<isset property="node17orHigher"/>
134+
</condition>
124135
</target>
136+
125137
<!-- =================================================================== -->
126138
<!-- Create the core jar file -->
127139
<!-- =================================================================== -->
@@ -135,7 +147,7 @@ limitations under the License.
135147
<sequential>
136148
<echo>executing webpack</echo>
137149
<exec osfamily="unix" executable="webpack-cli" dir="${build.base}" failifexecutionfails="@{failquit}" failonerror="@{failquit}">
138-
<env key="NODE_OPTIONS" value="--max-old-space-size=3300"/>
150+
<env key="NODE_OPTIONS" value="${node.options}"/>
139151
<arg value="--env.assembly=@{assembly}"/>
140152
<arg value="--env.size=@{size}"/>
141153
<arg value="--env.compilation=@{compilation}"/>
@@ -146,7 +158,7 @@ limitations under the License.
146158
<arg value="--mode=@{mode}"/>
147159
</exec>
148160
<exec osfamily="windows" executable="webpack-cli.bat" dir="${build.base}" failifexecutionfails="@{failquit}" failonerror="@{failquit}">
149-
<env key="NODE_OPTIONS" value="--max-old-space-size=3300"/>
161+
<env key="NODE_OPTIONS" value="${node.options}"/>
150162
<arg value="--env.assembly=@{assembly}"/>
151163
<arg value="--env.size=@{size}"/>
152164
<arg value="--env.compilation=@{compilation}"/>
@@ -527,11 +539,11 @@ limitations under the License.
527539
<echo>Executing webpack</echo>
528540
<exec osfamily="unix" executable="webpack-cli" dir="${build.demo}/scripts" failifexecutionfails="@{failquit}" failonerror="@{failquit}">
529541
<env key="PATH" path="${env.PATH}:${nm.bin}"/>
530-
<env key="NODE_OPTIONS" value="--max-old-space-size=3300"/>
542+
<env key="NODE_OPTIONS" value="${node.options}"/>
531543
</exec>
532544
<exec osfamily="windows" executable="webpack-cli.bat" dir="${build.demo}/scripts" failifexecutionfails="@{failquit}" failonerror="@{failquit}">
533545
<env key="PATH" path="${env.PATH}:${nm.bin}"/>
534-
<env key="NODE_OPTIONS" value="--max-old-space-size=3300"/>
546+
<env key="NODE_OPTIONS" value="${node.options}"/>
535547
</exec>
536548
</sequential>
537549
</target>
@@ -540,11 +552,11 @@ limitations under the License.
540552
<echo>Executing webpack</echo>
541553
<exec osfamily="unix" executable="webpack-cli" dir="${build.demo}/scripts" failifexecutionfails="@{failquit}" failonerror="@{failquit}">
542554
<env key="PATH" path="${env.PATH}:${nm.bin}"/>
543-
<env key="NODE_OPTIONS" value="--max-old-space-size=3300"/>
555+
<env key="NODE_OPTIONS" value="${node.options}"/>
544556
</exec>
545557
<exec osfamily="windows" executable="webpack-cli.bat" dir="${build.demo}/scripts" failifexecutionfails="@{failquit}" failonerror="@{failquit}">
546558
<env key="PATH" path="${env.PATH}:${nm.bin}"/>
547-
<env key="NODE_OPTIONS" value="--max-old-space-size=3300"/>
559+
<env key="NODE_OPTIONS" value="${node.options}"/>
548560
</exec>
549561
</sequential>
550562
</target>
@@ -860,7 +872,7 @@ limitations under the License.
860872
<mkdir dir="${build.apidocs}"/>
861873
<copy todir="${build.apidocs}">
862874
<fileset dir="${build.jsdoc}">
863-
<include name="**/*.html"/>
875+
<include name="**/*.*"/>
864876
</fileset>
865877
</copy>
866878
</target>
@@ -1000,7 +1012,7 @@ limitations under the License.
10001012
<attribute name="suite"/>
10011013
<attribute name="failquit"/>
10021014
<sequential>
1003-
<java dir="${build.test}"
1015+
<java dir="${build.test}"
10041016
classname="io.apigee.trireme.shell.Main"
10051017
fork="true"
10061018
maxmemory="4096m"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"gregorian": {
3+
"time": {
4+
"12": {
5+
"ahm": "h:mm a",
6+
"ahms": "h:mm:ss a",
7+
"ahmsz": "h:mm:ss a z",
8+
"ahmz": "h:mm a z"
9+
}
10+
}
11+
}
12+
}

js/data/locale/af/NA/unitfmt.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
"meter": "#{n} meter",
124124
"meter-per-second": "#{n} meter per sekonde",
125125
"meter-per-square-second": "#{n} meter per vierkante sekonde",
126-
"metric-ton": "#{n} metrieke ton",
127126
"microgram": "#{n} mikrogram",
128127
"micrometer": "#{n} mikrometer",
129128
"microsecond": "one#{n} mikrosekonde|#{n} mikrosekondes",
@@ -175,6 +174,7 @@
175174
"pound-force-per-square-inch": "#{n} pond per vierkante duim",
176175
"quart": "one#{n} kwartgelling|#{n} kwartgellings",
177176
"quart-imperial": "#{n} Engelse kwartgelling",
177+
"quarter": "one#{n} kwartaal|#{n} kwartale",
178178
"radian": "one#{n} radiaal|#{n} radiale",
179179
"revolution": "one#{n} omwenteling|#{n} omwentelings",
180180
"second": "one#{n} sekonde|#{n} sekondes",
@@ -199,6 +199,7 @@
199199
"terabyte-per-second": "#{n} teragreep per sekonde",
200200
"therm-us": "one#{n} VSA- termiese eenheid|#{n} VSA- termiese eenhede",
201201
"ton": "#{n} VSA-ton",
202+
"tonne": "#{n} metrieke ton",
202203
"volt": "#{n} volt",
203204
"watt": "#{n} watt",
204205
"week": "one#{n} week|#{n} weke",
@@ -328,7 +329,6 @@
328329
"meter": "#{n} m",
329330
"meter-per-second": "#{n} m/s.",
330331
"meter-per-square-second": "#{n} m/s²",
331-
"metric-ton": "#{n} t",
332332
"microgram": "#{n} μg",
333333
"micrometer": "#{n} μm",
334334
"microsecond": "#{n} μs.",
@@ -380,6 +380,7 @@
380380
"pound-force-per-square-inch": "#{n} lb./vk.dm",
381381
"quart": "#{n} kw.gell.",
382382
"quart-imperial": "#{n} kwart Eng.",
383+
"quarter": "one#{n} kw.|#{n} kwe.",
383384
"radian": "#{n} rad.",
384385
"revolution": "#{n} omw.",
385386
"second": "#{n} s.",
@@ -404,6 +405,7 @@
404405
"terabyte-per-second": "#{n} TB/s.",
405406
"therm-us": "#{n} VSA-term.",
406407
"ton": "#{n} VSA-t.",
408+
"tonne": "#{n} t",
407409
"volt": "#{n} V",
408410
"watt": "#{n} W",
409411
"week": "#{n} w.",

js/data/locale/af/dateformats.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,34 @@
8080
"s": "yyyy"
8181
}
8282
},
83+
"order": {
84+
"f": "{date} 'om' {time}",
85+
"l": "{date} 'om' {time}",
86+
"m": "{date} {time}",
87+
"s": "{date} {time}"
88+
},
8389
"range": {
8490
"c00": {
91+
"f": "{sd} {sm} {sy} om {st} – {et}",
92+
"l": "{sd} {sm} {sy} om {st} – {et}",
8593
"m": "{sd} {sm} {sy} {st} – {et}",
8694
"s": "{sy}-{sm}-{sd} {st} – {et}"
8795
},
8896
"c01": {
89-
"f": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
90-
"l": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
97+
"f": "{sd} {sm} {sy} om {st} – {ed} {em} {ey} om {et}",
98+
"l": "{sd} {sm} {sy} om {st} – {ed} {em} {ey} om {et}",
9199
"m": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
92100
"s": "{sy}-{sm}-{sd} {st} – {ey}-{em}-{ed} {et}"
93101
},
94102
"c02": {
95-
"f": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
96-
"l": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
103+
"f": "{sd} {sm} {sy} om {st} – {ed} {em} {ey} om {et}",
104+
"l": "{sd} {sm} {sy} om {st} – {ed} {em} {ey} om {et}",
97105
"m": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
98106
"s": "{sy}-{sm}-{sd} {st} – {ey}-{em}-{ed} {et}"
99107
},
100108
"c03": {
109+
"f": "{sd} {sm} {sy} om {st} – {ed} {em} {ey} om {et}",
110+
"l": "{sd} {sm} {sy} om {st} – {ed} {em} {ey} om {et}",
101111
"m": "{sd} {sm} {sy} {st} – {ed} {em} {ey} {et}",
102112
"s": "{sy}-{sm}-{sd} {st} – {ey}-{em}-{ed} {et}"
103113
},
@@ -130,11 +140,7 @@
130140
},
131141
"time": {
132142
"12": {
133-
"ah": "h a",
134-
"ahm": "h:mm a",
135-
"ahms": "h:mm:ss a",
136-
"ahmsz": "h:mm:ss a z",
137-
"ahmz": "h:mm a z"
143+
"ah": "h a"
138144
},
139145
"24": {
140146
"ah": "HH",

js/data/locale/af/unitfmt.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
"meter": "#{n} meter",
124124
"meter-per-second": "#{n} meter per sekonde",
125125
"meter-per-square-second": "#{n} meter per vierkante sekonde",
126-
"metric-ton": "#{n} metrieke ton",
127126
"microgram": "#{n} mikrogram",
128127
"micrometer": "#{n} mikrometer",
129128
"microsecond": "one#{n} mikrosekonde|#{n} mikrosekondes",
@@ -175,6 +174,7 @@
175174
"pound-force-per-square-inch": "#{n} pond per vierkante duim",
176175
"quart": "one#{n} kwartgelling|#{n} kwartgellings",
177176
"quart-imperial": "#{n} Engelse kwartgelling",
177+
"quarter": "one#{n} kwartaal|#{n} kwartale",
178178
"radian": "one#{n} radiaal|#{n} radiale",
179179
"revolution": "one#{n} omwenteling|#{n} omwentelings",
180180
"second": "one#{n} sekonde|#{n} sekondes",
@@ -199,6 +199,7 @@
199199
"terabyte-per-second": "#{n} teragreep per sekonde",
200200
"therm-us": "one#{n} VSA- termiese eenheid|#{n} VSA- termiese eenhede",
201201
"ton": "#{n} VSA-ton",
202+
"tonne": "#{n} metrieke ton",
202203
"volt": "#{n} volt",
203204
"watt": "#{n} watt",
204205
"week": "one#{n} week|#{n} weke",
@@ -328,7 +329,6 @@
328329
"meter": "#{n} m",
329330
"meter-per-second": "#{n} m/s.",
330331
"meter-per-square-second": "#{n} m/s²",
331-
"metric-ton": "#{n} t",
332332
"microgram": "#{n} μg",
333333
"micrometer": "#{n} μm",
334334
"microsecond": "#{n} μs.",
@@ -380,6 +380,7 @@
380380
"pound-force-per-square-inch": "#{n} lb./vk.dm",
381381
"quart": "#{n} kw.gell.",
382382
"quart-imperial": "#{n} kwart Eng.",
383+
"quarter": "one#{n} kw.|#{n} kwe.",
383384
"radian": "#{n} rad.",
384385
"revolution": "#{n} omw.",
385386
"second": "#{n} s.",
@@ -404,6 +405,7 @@
404405
"terabyte-per-second": "#{n} TB/s.",
405406
"therm-us": "#{n} VSA-term.",
406407
"ton": "#{n} VSA-t.",
408+
"tonne": "#{n} t",
407409
"volt": "#{n} V",
408410
"watt": "#{n} W",
409411
"week": "#{n} w.",

js/data/locale/agq/unitfmt.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
"meter": "#{n} m",
120120
"meter-per-second": "#{n} m/s",
121121
"meter-per-square-second": "#{n} m/s²",
122-
"metric-ton": "#{n} t",
123122
"microgram": "#{n} μg",
124123
"micrometer": "#{n} μm",
125124
"microsecond": "#{n} μs",
@@ -171,6 +170,7 @@
171170
"pound-force-per-square-inch": "#{n} psi",
172171
"quart": "#{n} qt",
173172
"quart-imperial": "#{n} qt Imp.",
173+
"quarter": "#{n} q",
174174
"radian": "#{n} rad",
175175
"revolution": "#{n} rev",
176176
"second": "#{n} s",
@@ -195,6 +195,7 @@
195195
"terabyte-per-second": "#{n} TB/s",
196196
"therm-us": "#{n} US therm",
197197
"ton": "#{n} tn",
198+
"tonne": "#{n} t",
198199
"volt": "#{n} V",
199200
"watt": "#{n} W",
200201
"week": "#{n} w",
@@ -320,7 +321,6 @@
320321
"meter": "#{n} m",
321322
"meter-per-second": "#{n} m/s",
322323
"meter-per-square-second": "#{n} m/s²",
323-
"metric-ton": "#{n} t",
324324
"microgram": "#{n} μg",
325325
"micrometer": "#{n} μm",
326326
"microsecond": "#{n} μs",
@@ -372,6 +372,7 @@
372372
"pound-force-per-square-inch": "#{n} psi",
373373
"quart": "#{n} qt",
374374
"quart-imperial": "#{n} qt Imp.",
375+
"quarter": "#{n} q",
375376
"radian": "#{n} rad",
376377
"revolution": "#{n} rev",
377378
"second": "#{n} s",
@@ -396,6 +397,7 @@
396397
"terabyte-per-second": "#{n} TB/s",
397398
"therm-us": "#{n} US therm",
398399
"ton": "#{n} tn",
400+
"tonne": "#{n} t",
399401
"volt": "#{n} V",
400402
"watt": "#{n} W",
401403
"week": "#{n} w",

js/data/locale/ak/dateformats.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@
108108
"time": {
109109
"12": {
110110
"ah": "h a",
111-
"ahm": "h:mm a",
112-
"ahms": "h:mm:ss a",
113-
"ahmsz": "h:mm:ss a z",
114-
"ahmz": "h:mm a z"
111+
"ahm": "h:mma",
112+
"ahms": "h:mm:ssa",
113+
"ahmsz": "h:mm:ssa z",
114+
"ahmz": "h:mma z"
115115
},
116116
"24": {
117117
"ah": "HH",

0 commit comments

Comments
 (0)