hniksic
2219d47ba3
[svn] Extract timers to a separate file.
2005-04-07 14:37:22 -07:00
hniksic
52ad80309f
[svn] Added NTLM support.
2005-04-06 13:42:22 -07:00
hniksic
e65ff5729a
[svn] Avoid explicit 64-bit constants; construct them by multiplication at
...
compile-time.
2005-04-01 10:22:38 -08:00
hniksic
30e4a33756
[svn] Use sets/hash-tables instead of "slists". Remove slist implementation from
...
utils.c.
2005-03-30 11:27:34 -08:00
hniksic
dd299a9cf6
[svn] Slightly better handling of negative numbers in numdigit.
2005-03-29 12:03:42 -08:00
hniksic
b9a31d78dd
[svn] Support human-readable file size printing.
...
Don't use persistent connection over proxies.
2005-03-22 05:20:02 -08:00
hniksic
7c044778bc
[svn] Improve built-in memory debugger.
2005-03-20 07:07:40 -08:00
hniksic
6da4142b3b
[svn] Use high-resolution timers on Windows.
2005-03-20 02:41:46 -08:00
hniksic
c36e9a5272
[svn] Concatenate strings using concat_strings.
2005-03-19 09:23:32 -08:00
hniksic
e2241936d0
[svn] Remove warnings under Borland C.
2005-03-05 18:11:10 -08:00
hniksic
c5ca8b7152
[svn] Fix parse error when O_BINARY is available.
2005-03-05 15:35:15 -08:00
hniksic
50d143f3fe
[svn] Fix a possible race condition when opening files.
...
Published in <87r7j6vy9g.fsf@xemacs.org>.
2005-03-04 11:26:18 -08:00
hniksic
0c4e666cb6
[svn] Large file fixes for Borland C, published in
...
<87u0o0cgr1.fsf@xemacs.org>.
2005-02-25 16:23:24 -08:00
hniksic
ef22bf610a
[svn] Large file support added. Published in <87psyr6jn7.fsf@xemacs.org>.
2005-02-23 14:21:04 -08:00
hniksic
9a4afed6fd
[svn] Return a value on non-Windows systems without TIOCGWINSZ.
2004-01-29 04:38:52 -08:00
hniksic
4d626daf5a
[svn] Correctly determine screen size under Windows.
2004-01-28 05:42:52 -08:00
hniksic
dc99d9a487
[svn] Don't sleep using usleep for more than a second.
2004-01-24 19:16:33 -08:00
hniksic
0ff9eb4727
[svn] Restructure generation of HTTP requests. Allow headers specified with
...
--header to override generated headers.
2003-11-29 10:40:01 -08:00
hniksic
6f3dbca0c5
[svn] Better INT_MAX and UCHAR_MAX checks.
2003-11-11 16:42:09 -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
38b37ed104
[svn] New option --keep-session-cookies.
2003-11-04 16:11:33 -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
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
d66af0ab20
[svn] Don't use trailing commas in enums.
2003-10-23 05:15:39 -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
097923f7b1
[svn] Move fnmatch() to cmpt.c and don't use it under GNU libc.
2003-10-07 16:53:31 -07:00
hniksic
30c3b5bc8a
[svn] Doc update.
2003-10-04 15:58:34 -07:00
hniksic
254291cc03
[svn] Fix crash when post-file is missing.
2003-10-04 15:26:58 -07:00
hniksic
5a905bcec3
[svn] Window-specific implementation of run_with_timeout.
...
By Gisle Vanem.
2003-10-02 16:28:49 -07:00
hniksic
675c1a703c
[svn] Doc fixes.
2003-10-02 08:15:36 -07:00
hniksic
030704403b
[svn] Subsecond granularity in run_with_timeout.
2003-10-02 06:37:45 -07:00
hniksic
7870937036
[svn] Allow decimal values for --timeout, --wait, and --waitretry.
...
Message-ID: <m3llsjhx6t.fsf@hniksic.iskon.hr>
2003-09-20 16:12:18 -07:00
hniksic
7b5fb50cb1
[svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names.
2003-09-19 07:08:37 -07:00
hniksic
4b1afddab3
[svn] Allow unique_name to return the FILE argument unmodified.
...
Streamline and optimize unique_name_1.
2003-09-16 14:47:49 -07:00
hniksic
c95d75292b
[svn] Work around VC's inability to cast unsigned __int64 to void.
2003-09-16 14:16:59 -07:00
hniksic
9228f0bf53
[svn] Update progress code to use higher timer resolution.
...
Message-ID: <m37k49oivp.fsf@hniksic.iskon.hr>
2003-09-15 14:14:15 -07:00
hniksic
ea8a108b1f
[svn] Implement xdigit_to_xchar more efficiently.
2003-09-15 10:50:43 -07:00
hniksic
ebea9e7e0b
[svn] Fixed a long-standing bug in the timer code that would cause Wget to
...
crash when the system time was set back during a Wget run.
Message-ID: <m3znh8wag9.fsf@hniksic.iskon.hr>
2003-09-13 16:12:45 -07:00
hniksic
b2be7522c7
[svn] Update the license to include the OpenSSL exception.
2002-05-17 19:16:36 -07:00
hniksic
fd42ae1311
[svn] Allow match_tail to be case insensitive.
...
Published in <sxsznzabirr.fsf@florida.munich.redhat.com>.
2002-05-08 11:24:40 -07:00
abbotti
caa0f23be3
[svn] Fix broken Windows builds due to the xxx_with_timeout stuff.
...
Submitted by Ian Abbotti in <3CBB2FFE.20193.73A594@localhost>.
2002-04-15 12:01:56 -07:00
hniksic
fbf0306dd7
[svn] Have number_to_string handle the case when number < -MAX_INT.
...
Published in <sxs662uf7l9.fsf@florida.arsdigita.de>.
2002-04-14 12:18:33 -07:00
hniksic
5cb8a6f44d
[svn] Add the POST method.
...
Published in <sxssn5yj4eb.fsf@florida.arsdigita.de>.
2002-04-13 21:22:47 -07:00
hniksic
f3d3a50a56
[svn] Generalize connect_with_timeout into run_with_timeout.
...
Published in <sxs4rifxndi.fsf@florida.arsdigita.de>.
2002-04-13 15:18:28 -07:00
abbotti
cfd7b9a951
[svn] Use new function to test filename for common html suffixes.
...
Submitted by Ian Abbott in <3CB72D29.4898.1F34872@localhost> with minor
changes to formatting and comments.
2002-04-12 11:53:39 -07:00
hniksic
e59a7ee8ac
[svn] Make -P work on Windows.
...
Submitted by Ian Abbott in <3C447E8F.13424.16ED42@localhost>.
2002-01-16 17:03:33 -08:00
hniksic
75699d6213
[svn] Use the new function `random_number' that doesn't depend on RAND_MAX
...
being defined.
Published in <sxsheqqq6xb.fsf@florida.arsdigita.de>.
2001-12-17 06:05:08 -08:00
hniksic
a3500d32d7
[svn] Move path_simplify to url.c.
2001-12-14 07:46:00 -08:00
hniksic
1365950c01
[svn] Logging system bugfixes and improvements.
...
Published in <sxsofl7vdyo.fsf@florida.arsdigita.de>.
2001-12-09 21:31:45 -08:00
hniksic
7d65f1b896
[svn] Doc update in read_whole_line.
2001-12-09 19:34:48 -08:00
hniksic
943f657aa7
[svn] Rename long_to_string to number_to_string, and make it return a useful
...
value.
2001-12-09 18:29:12 -08:00
hniksic
997a87548c
[svn] Minor fix for path_simplify.
...
Submitted in <sxsheqzx1qv.fsf@florida.arsdigita.de>.
2001-12-09 18:12:17 -08:00
hniksic
0e72aa6e13
[svn] Rewrite path_simplify.
...
Published in <sxspu5nx2yi.fsf@florida.arsdigita.de>.
2001-12-09 17:58:37 -08:00
hniksic
dd84231c6a
[svn] Minor fixes prompted by `lint'.
...
Published in <sxsadwt2nkg.fsf@florida.arsdigita.de>.
2001-12-08 17:24:41 -08:00
hniksic
4e5bbd646b
[svn] Various progress-bar related fixes.
...
Published in <sxspu5slja3.fsf@florida.arsdigita.de>.
2001-12-06 02:45:27 -08:00
hniksic
b248bfe395
[svn] Don't abort in read_whole_lines when a line begins with \0.
...
Published in <sxsu1v5nrtg.fsf@florida.arsdigita.de>.
2001-12-05 15:58:12 -08:00
hniksic
eef4527c24
[svn] Doc fix.
2001-12-04 15:42:18 -08:00
hniksic
c9dbaba251
[svn] Turn off debugging function.
2001-12-04 15:30:36 -08:00
hniksic
f5799945b0
[svn] file_merge: if BASE doesn't contain a slash, just return a copy of FILE.
...
Published in <sxssnatmh6s.fsf@florida.arsdigita.de>.
2001-12-02 13:44:16 -08:00
hniksic
92b269acad
[svn] Match hosts against domains per Netscape cookie "specification".
...
Published in <sxszo53v8by.fsf@florida.arsdigita.de>.
2001-11-30 21:08:03 -08:00
hniksic
b65661a879
[svn] Remove char/unsigned char warnings emitted by Sun cc.
2001-11-29 10:48:43 -08:00
hniksic
a3d3d452ab
[svn] Make the MD5 references even more generic.
...
Use OpenSSL's MD5 where available.
Published in <sxsg06x4f41.fsf@florida.arsdigita.de>.
2001-11-29 10:17:54 -08:00
hniksic
c99228cab2
[svn] Debugging function.
2001-11-29 06:57:30 -08:00
hniksic
3afb9c659a
[svn] Recursion and progress bar tweaks.
...
Published in <sxsd727cvc0.fsf@florida.arsdigita.de>.
2001-11-25 13:03:30 -08:00
hniksic
2e6e3f21f8
[svn] Attempt to quote '?' as "%3F" when linking to local files.
...
Given up on the attempt, as it breaks local browsing.
2001-11-25 09:44:28 -08:00
hniksic
222e9465b7
[svn] Implemented breadth-first retrieval.
...
Published in <sxsherjczw2.fsf@florida.arsdigita.de>.
2001-11-24 19:10:34 -08:00
hniksic
cdcf67a5bd
[svn] Big progress bar update.
...
Published in <sxsn11ehyn1.fsf@florida.arsdigita.de>.
2001-11-22 20:59:52 -08:00
hniksic
d5be8ecca4
[svn] Rewrite parsing and handling of URLs.
...
Published in <sxs4rnnlklo.fsf@florida.arsdigita.de>.
2001-11-21 16:24:28 -08:00
hniksic
0b056d1720
[svn] Update copyright notices.
2001-05-27 12:35:15 -07:00
hniksic
72eca0976b
[svn] Commit several minor changes:
...
* main.c (print_help): Document `--no-http-keep-alive'.
* utils.c (numdigit): Handle negative numbers *correctly*.
* hash.c (make_nocase_string_hash_table): Use term "nocase" rather
than the confusing "unsigned".
* utils.c (string_set_contains): Renamed from string_set_exists.
* hash.c (hash_table_contains): Renamed from hash_table_exists.
* cookies.c: Move case-insensitive hash tables to hash.c.
Published in <sxsheyq9vvl.fsf@florida.arsdigita.de>.
2001-05-12 13:06:41 -07:00
hniksic
dfc1eb5766
[svn] Change default anonymous FTP password to "-wget@".
...
Published in <sxsu239htnl.fsf@florida.arsdigita.de>.
2001-04-29 03:53:55 -07:00
hniksic
425b5af0c9
[svn] Cosmetic change in DIGITS_* macros.
2001-04-24 18:55:13 -07:00
hniksic
45eea7387f
[svn] New timer functions. Published in <sxs8zkp28vk.fsf@florida.arsdigita.de>.
2001-04-24 16:09:45 -07:00
hniksic
5674776cad
[svn] Rewritten long_to_string. The new version favors smaller numbers;
...
much of the work is now done at compile-time.
Published in <sxsvgnv6oii.fsf@florida.arsdigita.de>.
2001-04-23 19:06:34 -07:00
hniksic
2cfb2d2ef6
[svn] Added support for cookies.
2001-04-08 15:25:24 -07:00
hniksic
a37e71d3d6
[svn] Cast MMAP_FAILED to char *.
2001-04-05 21:43:13 -07:00
hniksic
3c6093cf13
[svn] Remove VERY_LONG_FORMAT. Instead, define function very_long_to_string
...
for printing VERY_LONG_TYPE numbers.
Published in <sxsd7aqzqr7.fsf@florida.arsdigita.de>.
2001-04-05 19:51:41 -07:00
hniksic
1a6058b1ec
[svn] Applied Philipp Thomas's safe-ctype patch. Published in
...
<20010330025159.U21662@jeffreys.suse.de>.
2001-03-30 14:36:59 -08:00
hniksic
bdea0b3bf6
[svn] Made xfree alias to free if memory debugging is not used.
...
From <sxsd7ezd7p2.fsf@florida.arsdigita.de>.
2000-12-10 18:17:44 -08:00
hniksic
7c750db580
[svn] More memory debug tweaks.
...
Published in <sxs4s0z2bwi.fsf@florida.arsdigita.de>.
2000-11-23 13:44:56 -08:00
hniksic
1cddc05edb
[svn] Committed memory debugging stuff.
...
Published in <sxs1yw34pt4.fsf@florida.arsdigita.de>.
2000-11-22 14:15:45 -08:00
hniksic
2ffb47eabf
[svn] Committed <sxsbsv854j9.fsf@florida.arsdigita.de>.
2000-11-22 08:58:28 -08:00
hniksic
6e598c81e3
[svn] Committed a bunch of different tweaks of mine.
...
Published in <sxsr9463wrx.fsf@florida.arsdigita.de>.
2000-11-20 18:06:36 -08:00
hniksic
b0b1c815c1
[svn] A bunch of new features:
...
- use mmap() to read whole files in core instead of allocating memory
and read'ing it.
- use a new, more general, HTML parser (html-parse.c) and interface to
it from Wget (html-url.c).
- respect <meta name=robots content=nofollow> (easy with the new HTML
parser).
- use hash tables instead of linked lists in places where the lists
were used to facilitate mappings.
- rewrite the code in host.c to be more readable and faster (hash
tables instead of home-grown lists.)
- make convert_links properly convert partial URLs to complete ones
for those URLs that have *not* been downloaded.
- use HTTP persistent connections where available. very
simple-minded, caches the last connection to the server.
Published in <sxshf533d5r.fsf@florida.arsdigita.de>.
2000-11-19 12:50:10 -08:00
hniksic
e1f1c1ff40
[svn] Better version of read_whole_line().
...
Published in <sxsr94jd7z4.fsf@florida.arsdigita.de>.
2000-11-10 10:01:35 -08:00
hniksic
0e2b74ce3b
[svn] Commit "minor fixes".
2000-11-06 13:24:57 -08:00
hniksic
eef4a668b7
[svn] Update copyright blurbs with the year 2000.
2000-11-01 17:50:03 -08:00
hniksic
29cdc8da20
[svn] Updated long_to_string(); enhanced opt.downloaded to use
...
64-bit types where available.
Published in <sxswvenqsmn.fsf@florida.arsdigita.de> and
<sxssnpbqshp.fsf@florida.arsdigita.de>.
2000-11-01 13:51:25 -08:00
kwget
31d6616c48
[svn] Initial revision
1999-12-01 23:42:23 -08:00