1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Commit Graph

642 Commits

Author SHA1 Message Date
hniksic
e4c730c3a5 [svn] Don't reference address list after releasing it. 2003-11-17 12:51:27 -08:00
hniksic
5fb7ffc9ad [svn] Fix alignment of FTP options output. 2003-11-17 05:13:33 -08:00
hniksic
133d69ff24 [svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets. 2003-11-17 04:59:54 -08:00
hniksic
c45fc0e595 [svn] Fix minor problems with --help text. 2003-11-16 15:42:38 -08:00
hniksic
cd8797a2a2 [svn] No longer include INET headers in ftp-basic.c. 2003-11-16 11:17:48 -08:00
hniksic
66cc6d43f6 [svn] Don't allow opt.ipv4_only and opt.ipv6_only to both be set. 2003-11-15 16:31:58 -08:00
hniksic
dcc890b007 [svn] Specify AI_ADDRCONFIG only when the address family is not explicitly
requested.
2003-11-14 18:18:41 -08:00
hniksic
98349dee6f [svn] Don't refer to nonexistent forget_host_lookup. 2003-11-14 18:10:56 -08:00
hniksic
36387204b0 [svn] Fix call to socket_ip_address. 2003-11-14 18:03:23 -08:00
hniksic
8e330fdba0 [svn] Add support for -4/-6. 2003-11-14 17:49:52 -08:00
hniksic
5a883689bc [svn] Enable -4 and -6 switches only when IPv6 is enabled. 2003-11-14 07:18:47 -08:00
hniksic
4e58524e8f [svn] Renamed register_extended to register_transport. 2003-11-14 05:43:46 -08:00
hniksic
6ddd0006e4 [svn] Preserve consecutive slashes in URLs. Make sure leading ".."'s are
not stripped away.
2003-11-13 17:36:02 -08:00
hniksic
9d907933ad [svn] Don't attempt to talk to two different SSL sites over the same secure
connection.
2003-11-13 14:48:03 -08:00
hniksic
509154dc81 [svn] Use the new function retryable_socket_connect_error instead of the
CONNECT_ERROR macro.
2003-11-13 14:27:38 -08:00
hniksic
1cfde0c27d [svn] Correctly check for unsupported socket families. 2003-11-13 12:26:18 -08:00
hniksic
0f99d1f220 [svn] Rewrote bindport and acceptport to use a more standard calling convention. 2003-11-13 09:05:06 -08:00
hniksic
a0bae929ea [svn] Turn on opt.ipv4_only if we're compiling with IPv6, and AI_ADDRINFO is not
available, and AF_INET6 sockets can't be created.
2003-11-13 08:41:17 -08:00
hniksic
fea4fb28cb [svn] Document that the IP addresses are returned in order. 2003-11-12 17:37:46 -08:00
hniksic
6f3dbca0c5 [svn] Better INT_MAX and UCHAR_MAX checks. 2003-11-11 16:42:09 -08:00
hniksic
244efb6e50 [svn] Added (currently no-op) -4 and -6. 2003-11-11 13:48:35 -08:00
hniksic
1d0ab81f37 [svn] Use a more standard error message. 2003-11-10 19:19:33 -08:00
hniksic
02f90322e8 [svn] Network updates. 2003-11-10 05:20:46 -08:00
hniksic
5921fb2d57 [svn] Special-case numeric addresses only in the IPv4 case. 2003-11-10 04:56:08 -08:00
hniksic
8ccc51e5af [svn] Split passive host lookups to a separate function. 2003-11-09 17:38:09 -08:00
hniksic
eb88464568 [svn] Download URLs from <object data="...">. 2003-11-08 17:33:33 -08:00
hniksic
113ad490d0 [svn] Fix core dump with --mirror. 2003-11-08 17:07:53 -08:00
hniksic
8cfaba536a [svn] Specify exact domain match on cookies that don't specify domain. 2003-11-08 14:32:52 -08:00
hniksic
4f19ac5494 [svn] Retire options -g, -G, -s, and -C. 2003-11-08 12:22:21 -08:00
hniksic
439d6a11fa [svn] Added --dont-remove-listing, removed -s. 2003-11-08 12:13:24 -08:00
hniksic
3b8e1052cb [svn] Support Windows-2000 ftp servers. By Gisle Vanem. 2003-11-08 11:20:29 -08:00
hniksic
94ca33d2fb [svn] Update the progress gauge even when the data does not arrive. 2003-11-08 08:56:52 -08:00
hniksic
cb393a062d [svn] Abort if wtimer_update is called on an uninitialized timer.
On the other hand, allow wtimer_read on such a timer.
2003-11-08 08:13:54 -08:00
hniksic
0bd6576cde [svn] Timer code update. 2003-11-07 20:55:44 -08:00
hniksic
d7e592d797 [svn] Replace conaddr with socket_ip_address. 2003-11-07 18:57:51 -08:00
hniksic
fef88bd179 [svn] Mark entries as deleted with the correct marker. 2003-11-07 16:52:23 -08:00
hniksic
bf1ce5b2ad [svn] Use 0xff in hash_table_clear. 2003-11-07 16:48:12 -08:00
hniksic
1a0adb90b4 [svn] Don't force silent lookup. 2003-11-07 16:11:29 -08:00
hniksic
7d12ad0f36 [svn] Explicitly check that fd>=0 in register_extended. 2003-11-07 15:45:03 -08:00
hniksic
4a2a06a881 [svn] Set last_info. 2003-11-07 08:46:01 -08:00
hniksic
ab15dd054b [svn] Allow NULL/0 as hash table keys. 2003-11-07 03:40:08 -08:00
hniksic
84db601be6 [svn] Allow empty port spec in URL. 2003-11-06 17:10:12 -08:00
hniksic
7409af5e07 [svn] Break up `--help' output to smaller chunks. 2003-11-06 15:56:26 -08:00
hniksic
19144a9f4c [svn] Don't declare log_* functions in main.c. 2003-11-06 14:48:17 -08:00
hniksic
ad75dd2662 [svn] Applied Dennis Smit's --preserve-permissions patch. 2003-11-06 12:33:20 -08:00
hniksic
f567bec34c [svn] Improved command line option processing, introduced boolean options. 2003-11-06 12:20:43 -08:00
hniksic
bc764dbb7c [svn] Improve SSL code. Only initialize PRNG when needed. 2003-11-06 05:06:59 -08:00
hniksic
49dfcb6036 [svn] Free INFO even if it doesn't register a closer. 2003-11-05 17:15:44 -08:00
hniksic
c8e92cdbd6 [svn] Get rid of ssl_iread/ssl_iwrite. Have the SSL code register its
routines for reading and writing data.
2003-11-05 17:12:03 -08:00
hniksic
1131c6a116 [svn] Fix compilation under pre-C99 compilers. 2003-11-05 13:33:46 -08:00
hniksic
2d00f882e0 [svn] Make setsockopt(SO_REUSEADDR) non-fatal if fails. 2003-11-05 07:12:14 -08:00
hniksic
5355da917f [svn] More specific error message in resolve_bind_address. 2003-11-05 06:42:42 -08:00
hniksic
38b37ed104 [svn] New option --keep-session-cookies. 2003-11-04 16:11:33 -08:00
hniksic
086dd1ca8a [svn] Delete config.h.in from `make realclean'. 2003-11-04 08:06:25 -08:00
hniksic
e75d817c09 [svn] Use autoheader to generate config.h.in. 2003-11-04 07:28:18 -08:00
hniksic
71b3daae55 [svn] Imported Mauro's IPv6 ChangeLog. 2003-11-04 05:40:21 -08:00
hniksic
f4cbba565e [svn] Only set a flag in the SIGWINCH handler. 2003-11-04 05:37:14 -08:00
hniksic
9af99f3b83 [svn] Enable SYSTEM_FNMATCH only if fnmatch.h is available. 2003-11-03 17:09:54 -08:00
hniksic
8cd9b4cd8a [svn] New function xsleep that resumes sleeps interrupted by signals
on systems that support nanosleep.
2003-11-03 13:57:04 -08:00
hniksic
2f2939d23e [svn] Don't shadow SEED. 2003-11-03 13:21:05 -08:00
hniksic
e958a474b0 [svn] Renamed logvprintf to log_vprintf_internal. 2003-11-03 12:08:46 -08:00
hniksic
3ec22d9843 [svn] Msg fix. 2003-11-02 18:44:41 -08:00
hniksic
b997a9d34f [svn] Don't parenthesize argument to N_. 2003-11-02 16:28:53 -08:00
hniksic
2063522623 [svn] Don't take the address of in.s_addr because that doesn't work on some
machines.
2003-11-02 15:48:45 -08:00
hniksic
6d3df65e88 [svn] Generalized the third argument to select_fd. 2003-11-02 15:17:59 -08:00
hniksic
095d89995e [svn] Abort on xfree(NULL). 2003-11-02 13:12:49 -08:00
hniksic
e2e9b753e4 [svn] Retired the `boolean' type. Renamed FREE_MAYBE to xfree_null and moved the
definition from wget.h to xmalloc.h.  Moved the DEFAULT_LOGFILE
define to log.h.  Moved the INFINITE_RECURSION define to recur.h.
2003-11-02 11:56:37 -08:00
hniksic
504effdc13 [svn] Improved support for entities. 2003-11-02 06:57:31 -08:00
hniksic
37dd65621c [svn] Document the Opie code better. Use uint32_t instead of unsigned long
for 32-bit quantities.
2003-11-01 08:36:43 -08:00
hniksic
7ec83a1b2a [svn] Don't call select_fd unless timeout is desired. 2003-11-01 06:01:53 -08:00
hniksic
bed1c56453 [svn] Fixed declaration of VEC in lookup_host.
Removed the ip_default_family global variable.
2003-10-31 18:22:11 -08:00
hniksic
5f0a2b3f08 [svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places. 2003-10-31 06:55:50 -08:00
hniksic
370ff7a576 [svn] Moved malloc-related code to xmalloc.c. Defined new macros xnew, xnew0,
xnew_array, and xnew0_array.  Created xmalloc.h and log.h to unclutter
wget.h.
2003-10-31 06:31:56 -08:00
hniksic
83e7fe2ca8 [svn] Retired broken code that checked for NULL ip_address in sockaddr_set_data. 2003-10-31 04:20:14 -08:00
hniksic
dbe01ae695 [svn] Removed address_list_from_single. 2003-10-31 02:50:03 -08:00
hniksic
add61a2d9c [svn] Networking improvements: get rid of the MSOCK global variable,
move the sockaddr handling to connect.c, make sure Wget refreshes
the DNS lookup after it becomes stale.
2003-10-30 16:18:08 -08:00
hniksic
e4ff71fca5 [svn] *** empty log message *** 2003-10-30 13:32:35 -08:00
hniksic
3f8a70c227 [svn] Use S >= 8' rather than S == 8' when looking for large integers. 2003-10-30 07:55:53 -08:00
hniksic
448a61fb83 [svn] Don't unescape URL escapes twice. 2003-10-30 07:42:52 -08:00
hniksic
29e36b051b [svn] Fix -p so it doesn't imply FTP recursion. 2003-10-30 05:00:29 -08:00
hniksic
6f1250b1c6 [svn] Updated IPv6 code. 2003-10-29 15:13:25 -08:00
hniksic
8c19243974 [svn] Dummy ChangeLog entry for Mauro's IPv6 changes. 2003-10-29 13:47:07 -08:00
hniksic
c81651f4c1 [svn] Change u_int32_t to uint32_t. 2003-10-25 18:41:56 -07:00
hniksic
dd356aff3d [svn] Reset the QUOTE flag after the closing quote. 2003-10-25 17:03:38 -07:00
hniksic
27d5becdaf [svn] Better document the workings of construct_relative().
Reformat is_valid_ipv6_address() to GNU formatting style.
2003-10-25 04:58:24 -07:00
hniksic
51c82cd8b3 [svn] Fixed compilation under Ultrix. 2003-10-23 08:25:34 -07:00
hniksic
5fa95aabc7 [svn] Bump version. 2003-10-23 05:33:26 -07:00
hniksic
d66af0ab20 [svn] Don't use trailing commas in enums. 2003-10-23 05:15:39 -07:00
hniksic
168f03d21d [svn] Don't let absolute path specified by -P introduce absolute file names
to links converted by -k.
2003-10-16 08:48:24 -07:00
hniksic
31d919b23d [svn] Accept HTTP status 307 as redirect. 2003-10-14 16:32:15 -07:00
hniksic
3f6913663e [svn] Correctly loop through the linked list.
By Philip Stadermann.
2003-10-14 15:52:12 -07:00
hniksic
5535c9ff17 [svn] Expect links followed from Refreshes to contain URLs. 2003-10-13 07:32:25 -07:00
hniksic
7487dbfa81 [svn] Don't define int32_t because we're not using it. 2003-10-13 07:20:51 -07:00
hniksic
711bf72609 [svn] Remove VERY_LONG_TYPE; use LARGE_INT instead. Remove special code
for handling VERY_LONG_TYPE overflows.
Make opt.quota a LARGE_INT.
2003-10-11 06:57:11 -07:00
hniksic
a6f72ca66b [svn] Also check for short for int32_t. 2003-10-11 05:41:13 -07:00
hniksic
f58c6774e4 [svn] Provide the support for int32_t and u_int32_t. 2003-10-10 19:27:41 -07:00
hniksic
5155384340 [svn] Look for and use socklen_t. 2003-10-10 18:39:07 -07:00
hniksic
1b3cdef574 [svn] Don't descend into HTML that was downloaded by following <img src=...>
and such.
2003-10-10 07:25:10 -07:00
hniksic
ffc2d0f653 [svn] Make the first argument to hash_table_new a minimal count of items before
regrow, not raw size, which is more useful.
2003-10-09 19:46:09 -07:00
hniksic
233ebb78de [svn] Use hash table for tag lookup in html-url.c and html-parse.c. 2003-10-09 08:01:58 -07:00