forked from Unidata/UDUNITS-2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGE_LOG
237 lines (172 loc) · 8.37 KB
/
CHANGE_LOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
2.1.24 2011-09-12 15:01-600
Removed superfluous "the" from library documentation.
Added (against my better judgement) symbols "ppm", "ppb", "ppt", "ppq",
and (shamefully) symbols "ppmv", "ppbv", "pptv", and "ppqv" to the
"common" units database.
Improved ut_decode_time(): the returned "seconds" value will now
always be less than 60. Thanks Christian.
2.1.23 2011-05-19 13:35:40-600
Corrected "make install". Will now create the installation-directory
$(DESTDIR)$(htmldir) for holding the symbolic links for HTML access to
the unit database if that directory doesn't exist.
Modified "formatter.c" to more rigorously handle the return value
of snprintf().
Modified documentation on ut_format() to indicate that the number
of bytes returned depends on the snprintf() function that's used.
2.1.22 2011-05-16 10:50:34-600
Corrected ut_compare(3) for Galilean units (e.g., "1.01 m" and
"1.1 m").
Corrected access to units database from documentation for both
installations and the online webpages.
Added shared library version numbers.
Modified use of snprinf(3) in "formatter.c" to handle case where
snprintf(3) returns the number of characters that *would* have been
printed had the buffer been big enough (change in Unix standard from
X-Open 2 to X-Open 3). This should prevent segmentation violations from
occurring if the print-buffer is too small. Thank you Alex Cobb.
2.1.21 2011-01-24
Eliminate expectation and use of leading scale factor in the "have"
unit of udunits2(1).
Add verification of commit status to "make ftp".
Add dependency of documentation on version.
Add "force" flag to tagging rule in makefile.
2.1.20 2010-12-20
Added "fahrenheit" as an alias for "degrees fahrenheit".
Added hyperlinks from HTML documentation to XML files of the units
database.
2.1.19 2010-08-17
Moved ut_set_error_message_handler(ut_ignore) call in version 2.1.18
to eliminate more messages.
2.1.18 2010-08-13
Made the UDUNIT-1 function utInit() call
ut_set_error_message_handler(ut_ignore) to make use of the UDUNITS-1
API more backward compatible.
2.1.17 2010-06-23
Added tagging of version in repository to "make ftp".
Moved call to ut_set_second() in XML parser from after the XML file is
read to as soon as the "second" unit is encountered.
2.1.16 2010-06-21
Corrected and updated definition of "e" -- the charge of an electron.
2.1.15 2010-05-27
Corrected return value of ut_get_status() when ut_parse() fails due to
a syntax error.
Added missing "void" parameter to declarations of UDUNITS-1 functions
utIsInit() and utTerm().
Added commentary about the hybrid Gregorian/Julian calendar to the
library documentation.
Added the following units:
"potential_vorticity_unit" (1e-6 m2 s-1 K kg-1)
"einstein" (mole)
Added "u" as a symbol for "micro".
2.1.14 2010-01-29
Modified the build procedure. It now
1) Builds the Expat (XML parsing) library that's bundled with the
UDUNITS-2 package if and only if the host system doesn't have
one; and
2) Installs the bundled Expat library if that library is built.
Documented the need for linking against an Expat library.
2.1.13 2010-01-21
Modified the build procedure slightly. It now
1) Supports cross-compilation; and
2) Installs the info(1) documentation files by default.
2.1.12 2010-01-11
Corrected initialization of time-origin to prevent inconsistent results
from ut_decode_time(). Thanks to David Pierce at the Scripps
Institution of Oceanography.
2.1.11 2009-10-23
Added missing percent (%) unit.
2.1.10 2009-10-21
Fixed memory-related problems reported by valgrind(1).
Changed $(pkgdatarootdir) to $(pkgdatadir) in the top-level Makefile.
Corrected the syntax in the definition of the US survey foot.
2.1.9 2009-09-09
Fixed bug in ut_are_convertible() that caused it to return true for
m2.s-2 and m.s-2.
Changed installation directory for units database files from $(datadir)
(default: /usr/local/share) to $(pkgdatadir) (default:
/usr/local/share/udunits).
Changed name of "ut_unit*" member in the UDUNITS-1 "utUnit"
backward-compatibility structure from "ut_unit" to "unit2" because,
unlike C, the g++ compiler doesn't allow a member to have the same name
as a typedef.
Added version specification to the top-level UDUNITS-2 documentation.
2.1.8 2009-06-19
Corrected definition of "lbf": was "2000 force_pounds"; is now
"1 force_pound".
2.1.7 2009-05-05
Replaced angle brackets with quotation marks in inclusion of the
UDUNITS-2 header-file by the UDUNITS-1 header-file. This was
done to accomodate ncview's configure-script and because it's
the right thing to do because both header-files are installed in the
same directory.
Added test for math library to configure script to support
systems whose C library doesn't have them.
Improved the process for making the "results.tab" target in the
test/ subdirectory.
Added delays to process for creating documentation source to
accomodate broken HP-UX B.11.00 make(1).
Added "make check" to git pre-commit hook.
2.1.6 2009-04-15
Added to the installed, top-level, UDUNITS-2 documentation,
commentary about the existence of a version 1 C API in the
package.
Moved the UDUNITS-1 API into the UDUNITS-2 library subdirectory,
"lib", in order to allow "make check" to build the package.
2.1.5 2009-03-24
Fixed bug in udunits2(1) utility introduced in version 2.1.2.
Entering a "have" unit that didn't have a numerical first
component risked a segmentation violation.
2.1.4 2009-03-24
Documented the change in meaning of the symbol "g" from the
original package (standard free fall) to this package (gram).
Returned HP-UX to the set of tested operating systems.
2.1.3 2009-03-23
Corrected typos in XML units database for "US_survey_foot" and
"international_foot": removed embedded quotation marks.
2.1.2 2009-03-19
Corrected program udunits2(1): it now correctly parses units
like "0.1 lg(re 1.0e-12 W.m-2)".
Made the dimensionless unit one format as "1".
Corrected rule for target "web-update": changed "distname" to
"distName".
Corrected the development make(1) target "hostcheck": added
setting of MAKEFLAGS to the empty string before invoking
make(1).
2.1.1 2009-03-13
Corrected and improved the development make(1) targets "ftp"
and "download-update".
Added publication of the XML database on the UDUNITS website to
the target "web-update".
Corrected typo in API documentation.
2.1.0 2009-03-11
Added UDUNITS-1 API. This thin interface uses the UDUNITS-2
library. Users will have to recompile their UDUNITS-1-based
code using the new "udunits.h" header-file and rebuild their
programs using the new UDUNITS-2 library. Because the UDUNITS-1
API uses the "utUnit" data-structure and the UDUNITS-2 API uses
pointers to "ut_unit" data-structures, a small memory-leak is
possible in code that creates many units. This leak can be
avoided by calling the new method utFree(utUnit*) when the unit
is no longer needed.
Added some "const" qualifiers to the API.
Modified ut_format() for timestamp units. It now prints the
long form (with hyphens and colons) if the year of the origin is
less than 1000 or greater than 9999. This was done to make
ut_format() compatible with ut_parse().
2.0.4 2009-02-21
Added copyright notices and LICENSE file.
2.0.3 2009-02-18
Added the function ut_root(const ut_unit* unit, int root) to
return a root of a unit (e.g., "m2/s2" -> "m/s").
2.0.2 2008-12-02
Changed order of calls to ut_set_status() and
ut_handle_error_message() so that the status value is always set
before the error-message handler is called. This allows error
handlers to determine the cause of the message.
2.0.1 2008-11-13
Added parsing of timestamps that have dashes and colons but also
use "T" (e.g., "seconds since 1970-01-01T00:00:00Z").
Corrected the regular expressions for matching the character-set
specifier in the udunits2(1) program.
2.0.0 2007-07-18
Initial release.