Commit Graph

1620 Commits

Author SHA1 Message Date
fur%netscape.com
c7aa643d96 Disable cache by default on Windows
git-svn-id: svn://10.0.0.236/trunk@55696 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:25:44 +00:00
fur%netscape.com
4ca11f608c Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching.
git-svn-id: svn://10.0.0.236/trunk@55695 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:23:14 +00:00
rhp%netscape.com
0dce9c7a7c Remove printf()'s that I missed earlier
git-svn-id: svn://10.0.0.236/trunk@55691 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:49:46 +00:00
rhp%netscape.com
5bb07d651f Fixing "const" problem
git-svn-id: svn://10.0.0.236/trunk@55689 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:42:43 +00:00
rhp%netscape.com
3a1086bffa Fix for TXT - HTML conversion - r: rhp - external contributor
git-svn-id: svn://10.0.0.236/trunk@55685 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:10:57 +00:00
norris%netscape.com
d129ce569d The data protocol doesn't seem to be working. The problem appears to be that a nsStdURL is used to hold the data URI.
Unfortunately, using nsStdURL parses the data URI so that a URI like "data:text/html,<html>hi</html>" gets parsed with a
host of "text". When the rest of the data URI processing calls GetSpec, it then gets "//text/html,<html>hi</html>", which
confuses the content type parsing so no data is displayed.

This checkin changes to use a nsSimpleURI instead.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@55647 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:42:58 +00:00
valeski%netscape.com
e59b30372e r=chofmann. adding content-type to default response headers for testserver
git-svn-id: svn://10.0.0.236/trunk@55627 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:36:47 +00:00
rhp%netscape.com
154c1a78d8 Fixing Mac Project - Location of new stream converter
git-svn-id: svn://10.0.0.236/trunk@55625 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:31:49 +00:00
rhp%netscape.com
e3fe383557 Fixes for TXT - HTML Conversion - r: rhp (externally contributed)
git-svn-id: svn://10.0.0.236/trunk@55616 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:20:02 +00:00
fur%netscape.com
5639bf7c12 Change name of cache lib from libnkcache.so to libnecko_cache.so, to be more consistent with other necko components
git-svn-id: svn://10.0.0.236/trunk@55613 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:16:58 +00:00
scc%netscape.com
fd67f20a6a Make observers support weak references. Bug #18682; r=dp.
git-svn-id: svn://10.0.0.236/trunk@55580 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:06:36 +00:00
fur%netscape.com
e2cc250b30 + Eliminated use of bool to accommodate non-ANSI C++ compilers.
(Thanks to tor@cs.brown.edu for the patch)
+ Eliminated compiler warnings


git-svn-id: svn://10.0.0.236/trunk@55576 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 09:49:55 +00:00
valeski%netscape.com
592665b4d9 r=rickg. replacing a char const w/ an int literal
git-svn-id: svn://10.0.0.236/trunk@55573 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:58:50 +00:00
fur%netscape.com
111e27ee79 Fixed incorrect calculation of content download time and profitability of caching a given URL. r:none
git-svn-id: svn://10.0.0.236/trunk@55572 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:51:03 +00:00
fur%netscape.com
2ae24d5c5f Increase default memory cache capacity to 1M from 100KB testing value
git-svn-id: svn://10.0.0.236/trunk@55570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:49:42 +00:00
fur%netscape.com
a793371759 Sun compiler requires nsCOMPtr types to be fully defined
git-svn-id: svn://10.0.0.236/trunk@55564 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:51:31 +00:00
fur%netscape.com
ffaac3e9e6 Include definition of nsIStorageStream class to satisfy Sun compiler
git-svn-id: svn://10.0.0.236/trunk@55553 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:05:31 +00:00
valeski%netscape.com
152b822223 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do
git-svn-id: svn://10.0.0.236/trunk@55551 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:00:47 +00:00
valeski%netscape.com
7a2ef93455 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do"
git-svn-id: svn://10.0.0.236/trunk@55550 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:59:25 +00:00
valeski%netscape.com
359944da48 nsJARProtocol.cpp
git-svn-id: svn://10.0.0.236/trunk@55549 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:58:55 +00:00
sfraser%netscape.com
1b51bd36a3 Add DBM to the project. r=fur
git-svn-id: svn://10.0.0.236/trunk@55547 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:48:22 +00:00
sfraser%netscape.com
33de5e1c80 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@55546 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:43:19 +00:00
rpotts%netscape.com
b5e7662905 bug #20490 (r=valeski). Fixed problem where OnStopRequest was being fired (incorrectly) on 30x and 40x redirects...
git-svn-id: svn://10.0.0.236/trunk@55544 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:35:55 +00:00
sfraser%netscape.com
a60b2a2d65 Changing usage of nsCOMPtr on a non-interface pointer to raw addref-release. r=fur
git-svn-id: svn://10.0.0.236/trunk@55543 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:32:52 +00:00
sfraser%netscape.com
356f03c947 Some casts and a .get() so that it compiles on Mac. r=fur
git-svn-id: svn://10.0.0.236/trunk@55542 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:31:14 +00:00
sfraser%netscape.com
0bf5246e2c Fixes to build on Mac, where PRInt64 is a struct, and fix a typo. r=fur
git-svn-id: svn://10.0.0.236/trunk@55541 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:29:13 +00:00
sdagley%netscape.com
562e044a96 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@55538 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:05:45 +00:00
fur%netscape.com
cfe011edf5 + Added cast to help Mac compile
+ Fixed problem in which download-time was not being computed (#8305)


git-svn-id: svn://10.0.0.236/trunk@55530 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:54:05 +00:00
fur%netscape.com
7fd9c18f5f Christ, forgot the semicolon
git-svn-id: svn://10.0.0.236/trunk@55529 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:49:43 +00:00
fur%netscape.com
03bfa48dc1 Remove test code
git-svn-id: svn://10.0.0.236/trunk@55528 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:45:44 +00:00
pavlov%netscape.com
0f8dec295e build cache build r=fur
git-svn-id: svn://10.0.0.236/trunk@55526 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:29:26 +00:00
warren%netscape.com
d0ed1c4035 Swapped res: and resource: protocol schemes so that now nsResProtocolHandler is used by default. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@55523 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:04:21 +00:00
fur%netscape.com
188b1759d3 Disabling the cache build on unix until I can get a handle on the problem
git-svn-id: svn://10.0.0.236/trunk@55522 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:00:43 +00:00
fur%netscape.com
235da90d92 Enable building of cache on unix
git-svn-id: svn://10.0.0.236/trunk@55516 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:39:31 +00:00
fur%netscape.com
08601657ad Add cache tests
git-svn-id: svn://10.0.0.236/trunk@55514 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:32:34 +00:00
fur%netscape.com
ab390d9a24 Enable building of cache on Windows
git-svn-id: svn://10.0.0.236/trunk@55513 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:19:56 +00:00
fur%netscape.com
cb8d4be3b8 Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache)
git-svn-id: svn://10.0.0.236/trunk@55511 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:07:31 +00:00
fur%netscape.com
f0328f2b2a Added cache control flags, in support of Bug #8305 (Implement cache)
git-svn-id: svn://10.0.0.236/trunk@55477 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:31:47 +00:00
rhp%netscape.com
17576453d3 Cleanup printf's
git-svn-id: svn://10.0.0.236/trunk@55442 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 20:29:27 +00:00
rhp%netscape.com
944d1180a4 Build bustage fix for picky commercial C++ compilers. Fixes a couple member function prototypes to match their implementation. Contributed by: Tim Rowley <tor@cs.brown.edu> r: rhp
git-svn-id: svn://10.0.0.236/trunk@55436 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 20:07:06 +00:00
rhp%netscape.com
cf83b01b5f Landing new txt - HTML scanning functionality - Bug 19251 - r: rhp (contributed by Ben Bucksch)
git-svn-id: svn://10.0.0.236/trunk@55398 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:55:54 +00:00
rhp%netscape.com
9fface217d Landing new txt to HTML scanning functionality - Bug #: 19251 - r: rhp (contributed by Ben Bucksch)
git-svn-id: svn://10.0.0.236/trunk@55395 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:53:29 +00:00
rhp%netscape.com
f29c9f241f Adding new file - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@55374 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 16:56:04 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
fur%netscape.com
ac87ce19c4 Fix build bustage on Linux
git-svn-id: svn://10.0.0.236/trunk@55156 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 02:59:37 +00:00
warren%netscape.com
dac168d0d6 Fix for downloaded jar files. Now they appear to work, except we aren't checking the cache to see if they already exist. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@55154 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 02:22:48 +00:00
warren%netscape.com
17121af6a9 Added missing addref. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@55152 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 02:22:02 +00:00
fur%netscape.com
5dabafa40b More infrastructure work in support of bug #8305 (Implement
cache).  Added several nsHTTPResponse methods dealing with
header parsing and manipulation of date-containing header fields.
(None of these methods are yet invoked.)


git-svn-id: svn://10.0.0.236/trunk@55150 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 01:51:07 +00:00
fur%netscape.com
902d510731 Quash warning
git-svn-id: svn://10.0.0.236/trunk@55149 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 01:45:22 +00:00
fur%netscape.com
02494ac189 Added missing HTTP header atoms
git-svn-id: svn://10.0.0.236/trunk@55148 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 01:44:38 +00:00