Added Cyg-Win

This commit is contained in:
Frank Harris 2026-06-06 18:46:40 -04:00
parent 82cbc206eb
commit 413c315806
10586 changed files with 3806249 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Tatsuhiro Tsujikawa <tujikawa at users dot sourceforge dot net>
Quentin Stievenart (Metalink 4.0/RFC 5854 support)

View file

@ -0,0 +1,21 @@
The MIT License
Copyright (c) 2008 Tatsuhiro Tsujikawa
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View file

@ -0,0 +1,70 @@
2008-10-16 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Fixed #define guard
* lib/metalink/metalink_parser.h
2008-07-16 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Put -D_ISOC99_SOURCE to DEFS variable.
* lib/metalink/Makefile.am
* test/Makefile.am
2008-07-16 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Code leanup.
* lib/metalink/metalink_parser_common.c
2008-07-16 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Fixed possible memory leak when parsing XML is aborted.
* lib/metalink/session_data.c
2008-07-16 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Added metalink_parse_update, metalink_parse_final interface.
* lib/metalink/libexpat_metalink_parser.c
* lib/metalink/libxml2_metalink_parser.c
* lib/metalink/metalink_parser.h
* test/main.c
* test/metalink_parser_test.c
* test/metalink_parser_test.h
2008-07-16 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Renamed struct session_data_t as struct _session_data.
* lib/metalink/session_data.h
2008-06-25 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Implemented metalink_parse_memory with libxml2.
* lib/metalink/libxml2_metalink_parser.c
2008-06-25 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Added metalink_parse_memory function. Currently libexpat implementation
only. libexpat_metalink_parser.c is refactored and setup_parser function
added for creating parser object and setting handlers.
The portion of code which handeles return value and detachment of
metalink_t object is common for libexpat and libxml2, so it is now
defined in metalink_parser_common.c.
metalink_parser_test.c is refactord so that assertions are shared with
both test_metalink_parse_file and test_metalink_parse_memory functions.
* lib/metalink/Makefile.am
* lib/metalink/Makefile.in
* lib/metalink/libexpat_metalink_parser.c
* lib/metalink/metalink_parser.h
* lib/metalink/metalink_parser_common.c
* lib/metalink/metalink_parser_common.h
* test/main.c
* test/metalink_parser_test.c
* test/metalink_parser_test.h
2008-06-25 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Added extern "C" construct to make it easy to include them in C++ code.
* lib/metalink/metalink_types.h
* lib/metalink/metalink_parser.h
2008-06-13 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Release 0.0.2

View file

@ -0,0 +1,44 @@
libmetalink 0.1.3
=================
Release Note
------------
This release fixes the bug that signature element in metalink v4 was
not parsed correctly.
libmetalink 0.1.2
=================
Release Note
------------
This release fixes the bug that the library version was not updated in
the previous release.
libmetalink 0.1.1
=================
Release Note
------------
This release adds dynamic attribute of the origin element in Metalink
4 and the origin and type attributes of the metalink element in
Metalink 3. It fixes configure and compile errors on netbsd and OSX.
libmetalink 0.1.0
=================
Release Note
------------
This release adds RFC 5854 Metalink 4.0 support, thanks to Quentin
Stievenart. It also adds the ability to filter out dangerous filename
in Metalink files. Many portability patches contributed by Guenter
Knauf were merged.

View file

@ -0,0 +1,44 @@
Libmetalink
===========
Libmetalink is a library to read Metalink XML download description
format. It supports Metalink version 3 and Metalink version 4 (RFC
5854).
Requirements
------------
The following packages are needed to build the library:
* pkg-config >= 0.20
* libexpat >= 2.1.0 or libxml2 >= 2.7.8
To build and run the unit test programs, the following packages are
needed:
cunit >= 2.1
Build from bzr
--------------
To build from bzr, run following commands (you need autoconf)::
$ autoreconf -i
$ automake --add-missing
$ autoconf
$ ./configure
$ make
API
---
All public APIs are in metalink/metalink_parser.h,
metalink/metalink_types.h and metalink/metalink_error.h.
Please note that metalink_*_set_*, metalink_*_new and
metalink_*_delete functions in metalink/metalink_types.h will be
hidden from public API in the future release. The newly written
application should not use these functions. The existing applications
are advised to stop using these functions. If you want to hold the
modified data of Metalink, define application specific data structure
for this.