hniksic
6b1effd729
[svn] Force thousand sep to . rather than " " when , is taken.
2005-06-27 11:30:01 -07:00
hniksic
2447fb9a9b
[svn] Move extern declarations to .h files.
2005-06-27 11:19:22 -07:00
hniksic
b7b86a22fb
[svn] Remove intermediary cast.
2005-06-27 07:10:57 -07:00
hniksic
1cd911a790
[svn] Doc fix.
2005-06-26 19:18:52 -07:00
hniksic
6655b5afee
[svn] Force the use of separators in C locale.
2005-06-26 19:07:31 -07:00
hniksic
c9049f94d7
[svn] Handle negative numbers in with_thousand_seps.
2005-06-26 15:18:01 -07:00
hniksic
ab4abc4056
[svn] Correctly implement thousand seps of more than one character.
2005-06-26 11:06:11 -07:00
hniksic
e24bc5db1b
[svn] Rewrite with_thousand_seps to be size-agnostic. Remove printing of separators
...
from sizes.
2005-06-25 16:09:29 -07:00
hniksic
bc4c82c615
[svn] Divide with 1024 instead of shifting by ten places.
2005-06-25 14:16:51 -07:00
hniksic
d92cf8d560
[svn] Decrease buffer size of with_thousand_seps_sum.
2005-06-25 13:50:42 -07:00
hniksic
3735ecda38
[svn] Use %I64d, not %I64.
2005-06-25 09:08:35 -07:00
hniksic
002def87d2
[svn] Rename LARGE_INT to SUM_SIZE_INT, and simplify its handling.
2005-06-25 07:39:51 -07:00
hniksic
220d67c59d
[svn] Doc fix for human_readable.
2005-06-23 16:07:02 -07:00
hniksic
cb2cc3abf8
[svn] Use struct_fstat when calling fstat because of Borland's lack of 64-bit
...
fstat.
2005-06-23 07:29:42 -07:00
hniksic
74fbb03b10
[svn] Use bool type for boolean variables and values.
2005-06-22 12:38:10 -07:00
hniksic
b317cb1c6d
[svn] Expect existence of C89 functions, as well as of select and gettimeofday.
2005-06-21 18:01:12 -07:00
hniksic
7d48e6d057
[svn] Use #elif where appropriate to make chaining of #if ... #else ...
...
more readable.
2005-06-19 18:37:23 -07:00
hniksic
908d7a4bce
[svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers.
2005-06-19 16:03:27 -07:00
hniksic
277e840a0f
[svn] Remove K&R support.
2005-06-19 15:34:58 -07:00
hniksic
0840de6605
[svn] Allow --header to contain ",".
2005-05-30 06:31:24 -07:00
hniksic
db075536c3
[svn] *** empty log message ***
2005-05-06 04:03:21 -07:00
hniksic
30b7d60805
[svn] Fix -X/-I with wildcards.
2005-05-05 08:22:11 -07:00
hniksic
4810f65361
[svn] Set access time to current time when "touching" the file.
2005-05-05 07:47:48 -07:00
hniksic
0c9131b513
[svn] Doc fix.
2005-04-28 06:18:30 -07:00
hniksic
9c58e3c1d2
[svn] Delete unreachable statement in aprintf.
2005-04-24 13:14:10 -07:00
hniksic
cf994330a3
[svn] Added reordering of addresses to try IPv4 first and the associated
...
--prefer-family switch.
2005-04-24 13:00:19 -07:00
hniksic
d025e62556
[svn] Treat input to base64_encode as unsigned chars.
2005-04-22 17:20:13 -07:00
hniksic
155ca3d489
[svn] Change orders of parameters of base64_encode, so it makes more sense.
...
Mention NTLM support in http.c.
2005-04-18 07:23:23 -07:00
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