]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/net/ns/dns/v2_0/ChangeLog
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / net / ns / dns / v2_0 / ChangeLog
1 2006-05-19  Andrew Lunn  <andrew.lunn@ascom.ch>
2
3         * tests/dns1.c (dns_test_thread): Use CYG_NELEM from infra.
4
5 2005-07-29  Andrew Lunn  <andrew.lunn@ascom.ch>
6
7         * src/dns.c Various casts and type fixes to stop gcc 4 warnings.
8
9 2004-07-13  Andrew Lunn  <andrew.lunn@ascom.ch>
10
11         * src/dns.c (cyg_dns_getaddrinfo): Typo spotted by Andy Jackson.
12         * src/dns.c (cyg_dns_getnameinfo): And another typo
13
14 2003-09-04  Andrew Lunn  <andrew.lunn@ascom.ch>
15
16         * cdl/dns.cdl: CDL control of what DNS server to use for the tests
17         * tests/dns1.c: Fine tuned the information for my server and added
18         Iztok Zupet's Server to the test.
19
20 2003-05-22  Andrew Lunn  <andrew.lunn@ascom.cd>
21
22         * src/dns.c: (cyg_dns_res_start) New: Allow IPv6 to be used to
23         transport queries to the DNS server. This requires a new API
24         function to start the client which if protocol family
25         independent.
26         * tests/dns1.c: Added a test which uses IPv6 as the transport to
27         the DNS server.
28         * doc/dns.sgml: Documentation of new API function for IPv6.
29         * cdl/dns.cdl: Comment that the default DNS server can be an IPv6
30         address.
31
32 2003-05-14  Mark Salter  <msalter@redhat.com>
33
34         * include/dns_impl.inl: Use strrchr instead of rindex.
35
36 2003-04-25  Andrew Lunn  <andrew.lunn@ascom.ch>
37
38         * doc/dns.sgml: Updated to reflect changes for IPv6.
39
40 2003-04-24  Andrew Lunn  <andrew.lunn@ascom.ch>
41
42         * include/dns_impl.inl (setdomainname): Append a . to the end of 
43         the domainname if it does not have one.
44         * cdl/dns.cdl: CYGOPT_NS_DNS_FIRST_FAMILTY to control order of
45         results.
46         * src/dns.c: Order the results from cyg_dns_getaddrinfo.
47         * test/dns1.c: Re-written to perform better testing and for
48         getaddrinfo and getnameinfo.
49         * test/dns2.c: Removed. It does not add anything useful.
50
51 2003-04-21  Andrew Lunn  <andrew.lunn@ascom.ch>
52
53         * src/dns.c (cyg_dns_getnameinfo): New. Interface between
54         getnameinfo and the DNS client.
55
56 2003-04-19  Andrew Lunn  <andrew.lunn@ascom.ch>
57
58         * src/dns.c (cyg_dns_getaddrinfo): New. Interface between
59         getaddrinfo and the DNS client. This supports both IPv4 and IPv6
60         * test/dns1.c: Added tests for getnameinfo using both IPv4 and
61         IPv6 addresses.
62         
63 2003-03-03  Jonathan Larmour  <jifl@eCosCentric.com>
64
65         * tests/dns1.c: Use BOOTP info where possible in preference to
66         (likely incorrect!) hardcoded info. Use non-Red Hat test
67         addresses.
68
69         * tests/dns2.c: Use non-Red Hat test addresses. And don't check
70         BOOTP-derived domainname as we don't know what it should be!
71
72 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
73
74         * cdl/dns.cdl: Add doc link.
75
76 2003-01-22  Jonathan Larmour  <jifl@eCosCentric.com>
77
78         * doc/dns.sgml: Use correct (and working!) docbook.
79
80 2003-01-18  Jonathan Larmour  <jifl@eCosCentric.com>
81
82         * include/dns_impl.inl (setdomainname): define with const name
83         argument.
84         * include/dns.h: Ditto.
85         * doc/dns.sgml: Document const in setdomainname proto here.
86
87 2003-01-10  Andrew Lunn  <andrew.lunn@ascom.ch>
88
89         * cdl/dns.cdl: Added the ability to hard code a domain name.
90         Inspired by Motoya Kurotsu.
91         * doc/dns.sgml: Documentation for this.
92         
93 2003-01-10  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
94
95         * tests/dns2.c: Verify domain name from the DHCP server with
96         _LOOKUP_DOMAINNAME, not _DNS_IP which is the address of the DNS
97         server.
98
99 2003-01-09  Andrew Lunn  <andrew.lunn@ascom.ch>
100
101         * cdl/dns.cdl: Added the ability to hard code a DNS server
102         address into the image which is used as the default.
103         * doc/dns.sgml: Documentation for this.
104
105 2002-10-18  Jonathan Larmour  <jifl@eCosCentric.com>
106
107         * cdl/dns.cdl: Move CYGBLD_ISO_DNS_HEADER requires in with
108         CYGINT_ISO_DNS which is where it should always be beside.
109
110 2002-10-11  Andrew Lunn  <andrew.lunn@ascom.ch>
111
112         * cdl/dns.cdl: If CYGPKG_NS_DNS_BUILD is disable we don't
113         implement the CYGINT_ISO_DNS interface.
114
115 2002-08-29  Roland Caßebohm <roland.cassebohm@visionsystems.de>
116
117         * include/dns_priv.h: Make dns_header structure endian dependent.
118
119         * include/dns_impl.inl: Don't use htons() for bitfields <= 8 bit.
120         Change the way setting the type and class fields in build_query()
121         to work with big-endian.
122
123 2002-05-30  Jesper Skov  <jskov@redhat.com>
124
125         * src/dns.c: fixed index->ptdindex oversight.
126
127 2002-05-24  Jonathan Larmour  <jlarmour@redhat.com>
128
129         * src/dns.c (free_hent): Actually free hent itself!
130
131 2002-05-23  Jonathan Larmour  <jlarmour@redhat.com>
132
133         * cdl/dns.cdl (CYGPKG_NS_DNS_BUILD): Require thread destructors in
134         kernel.
135         * include/dns_impl.inl: Instead of using cyg_thread_get_data
136         and _set_data directly, instead use store_hent and free_stored_hent
137         defined by includer.
138         * src/dns.c: Define store_hent() and free_stored_hent() and make
139         them use thread destructors thus fixing a memory leak.
140
141 2002-05-14  Jesper Skov  <jskov@redhat.com>
142
143         * tests/dns2.c: Fix warning.
144
145 2002-02-22  Hugo Tyson  <hmt@redhat.com>
146
147         * doc/dns.sgml: New file.  Documentation separated from monolithic
148         network component.
149
150 2002-02-01  Gary Thomas  <gthomas@redhat.com>
151
152         * src/dns.c (cyg_dns_res_init): Need valid value for sin_len.
153
154 2002-01-31  Jonathan Larmour  <jlarmour@redhat.com>
155
156         * cdl/dns.cdl: Don't build tests if no DNS!
157
158 2001-12-06  Andrew Lunn  <andrew.lunn@ascom.ch>
159
160         * src/dns.c (cyg_dns_res_init): Allow this to be called more than
161         once.  The DHCP client will do this when interfaces YoYo.
162         Restarting requires closing the socket (if any) and freeing the
163         per-thread-data slot number.
164
165         * include/dns_impl.inl (setdomainname): Allow the name to be
166         cleared.  Check for NULL pointers variously before checking for
167         valid pointer asserts.
168
169         * tests/dns2.c: New file: Test the DNS configuration via DHCP.
170
171         * tests/dns1.c: Initially clear the domainname.
172         
173 2001-11-29  Jonathan Larmour  <jlarmour@redhat.com>
174
175         * src/dns.c: Rename index -> ptdindex to avoid conflict with BSD
176         index() function.
177         * include/dns_impl.inl: Ditto.
178
179 2001-09-28  Jesper Skov  <jskov@redhat.com>
180
181         * tests/dns1.c (_DNS_IP): Changed to IP used in farm.
182
183 2001-09-27  Jesper Skov  <jskov@redhat.com>
184
185         * include/dns_priv.h: Added DNS_REPLY definitions.
186
187         * include/dns_impl.inl: Handle NXDomain returns.
188
189         * include/dns_impl.inl: Added tracing.
190         * src/dns.c: Same.
191
192 2001-09-26  Jesper Skov  <jskov@redhat.com>
193
194         * tests/dns1.c (dns_test): Use hstrerror instead of strerror.
195
196         * include/dns.h: Added h_errno support.
197         * include/dns_impl.inl: Use h_errno instead of errno. Added
198         hstrerror(). Make hostname lookups before hostname.domainmain
199         lookups.
200
201 2001-09-25  Jesper Skov  <jskov@redhat.com>
202
203         * include/dns.h: Moved some more defs to..
204         * include/dns_priv.h: ...here.
205
206         * src/dns-priv.h: [deleted]
207         * include/dns_priv.h: [added]
208         
209         * tests/dns1.c: Include netdb.h instead of dns.h.
210
211         * src/dns.c: Moved all DNS protocol functions into
212         dns_impl.inl. Allow for RedBoot to share the implementation with a
213         smaller overhead.
214         * include/dns_impl.inl: Added.
215
216         * cdl/dns.cdl: Moved compile statement and requirements into
217         CYGPKG_NS_DNS_BUILD option which can be forced off by RedBoot.
218         Moved headers to cyg/ns/dns.
219
220         * src/dns.c (alloc_hent, free_hent, alloc_string, free_string):
221         Added these wrapper functions for malloc/free calls - allow easier
222         maintaining of cloned function in RedBoot which uses static
223         variables for storage. Incidently removed a little code
224         duplication.
225
226         * include/dns.h: Only include exported information.
227         * src/dns-priv.h: Everything else moved to this file.
228
229         * cdl/dns.cdl: Added feature requirements and CYGINT_ISO_DNS
230         magic.
231
232         * include/dns.h: Renamed res_init to cyg_dns_res_init.
233         * src/dns.c: Same.
234         * tests/dns1.c: Same.
235
236         * src/dns.c: Use drv_api mutex, removed some include statements.
237         * include/dns.h: Provide hostent definition and function
238         declarations.
239         
240         * tests/dns1.c: Use cambridge.redhat.com addresses. Changed to
241         output PASS/FAIL.
242
243         * src/dns.c (parse_answer): On PTR lookups, alloc space for
244         in_addr, so caller can copy data there. Fix gethostbyaddr() to
245         do so.
246         Note that error values do not match gethostbyaddr(3).
247
248 2001-09-20  Jesper Skov  <jskov@redhat.com>
249
250         * src/dns.c: More cosmetic changes, a few htons -> ntohs changes,
251         reducing size of critical section a few places, rely on
252         build_query setting errno, and set errno when getdomainname can't
253         copy domain name out due to size limitation.
254
255 2001-09-19  Jesper Skov  <jskov@redhat.com>
256
257         * tests/dns1.c (dns_test): Fix inet_aton check.
258         * src/dns.c: A few comment and cosmetic changes.
259
260 2001-09-18  Jesper Skov  <jskov@redhat.com>
261
262         * src/dns.c: Added DNS code contributed by Andrew Lunn
263         <andrew.lunn@ascom.ch>
264         * include/dns.h: Same.
265         * tests/dns1.c: Same.
266
267 //===========================================================================
268 //####ECOSGPLCOPYRIGHTBEGIN####
269 // -------------------------------------------
270 // This file is part of eCos, the Embedded Configurable Operating System.
271 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
272 //
273 // eCos is free software; you can redistribute it and/or modify it under
274 // the terms of the GNU General Public License as published by the Free
275 // Software Foundation; either version 2 or (at your option) any later version.
276 //
277 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
278 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
279 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
280 // for more details.
281 //
282 // You should have received a copy of the GNU General Public License along
283 // with eCos; if not, write to the Free Software Foundation, Inc.,
284 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
285 //
286 // As a special exception, if other files instantiate templates or use macros
287 // or inline functions from this file, or you compile this file and link it
288 // with other works to produce a work based on this file, this file does not
289 // by itself cause the resulting work to be covered by the GNU General Public
290 // License. However the source code for this file must still be made available
291 // in accordance with section (3) of the GNU General Public License.
292 //
293 // This exception does not invalidate any other reasons why a work based on
294 // this file might be covered by the GNU General Public License.
295 //
296 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
297 // at http://sources.redhat.com/ecos/ecos-license/
298 // -------------------------------------------
299 //####ECOSGPLCOPYRIGHTEND####
300 //===========================================================================