rpotts%netscape.com
a41498ae21
bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... nsCacheEntryChannel.cpp
...
git-svn-id: svn://10.0.0.236/trunk@61840 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:45:14 +00:00
davidm%netscape.com
8767521c24
26171 Trigger bigfile .xpi a 2nd time results in -207
...
install fail
25585 Leaking a C string
25590 Leaking C string in cache co
20893 Cache preferences need to be hooked up
r = gordon@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61115 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:48:06 +00:00
rpotts%netscape.com
72d5cba5a2
Too many OnStopRequest(...) calls were being made by the memcache in AsyncReadStreamAdaptor::Cancel(...). It turns out that Cancel() is called more than once. Each call was generating an OnStopRequest(...). This was later triggering an ASSERT that mDownstreamListener was NULL
...
git-svn-id: svn://10.0.0.236/trunk@60590 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 06:18:50 +00:00
scc%netscape.com
dcee2e659d
Pro5 update
...
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
sspitzer%netscape.com
5e9679c2c2
some bulletproofing code. I got a random crash here (sorry, I lost the stack) because the
...
downstreamlister was null. trying to reproduce. at least now it will only assert.
r=mscott
git-svn-id: svn://10.0.0.236/trunk@59826 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 01:20:09 +00:00
mcafee%netscape.com
271a9a8241
Fixing /* within /* warning, r=slamm
...
git-svn-id: svn://10.0.0.236/trunk@59721 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:56:48 +00:00
sdagley%netscape.com
bcdcf3c3c3
Access path updates in anticipation of update to CW Pro5 ( #25949 ). r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@59359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:27:22 +00:00
gagan%netscape.com
2ad38ca064
We had a nsCOMPtr on a class instead on a interface (along with the problem that its default constructor was protected) This was preventing the cache from being built on AIX. Should work now. r=self(& scc) See bug 24876
...
git-svn-id: svn://10.0.0.236/trunk@58535 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:11:16 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
mscott%netscape.com
b3652645d8
Bug #24796 --> the fix for the cache manager friday night broke quoting msgs
...
for imap (which uses the memory cache). You don't need a load group to run a url
through the cache....so don't return an error if the load group is null
r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@58445 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 00:32:14 +00:00
valeski%netscape.com
703d390a6d
24250. r=gordon,mscott,warren. We now ensure that a cache entry adds itself to the loadgroup *before* the load group goes away. This allows the editor to 'Edit Page's again.
...
git-svn-id: svn://10.0.0.236/trunk@58364 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 23:58:29 +00:00
mscott%netscape.com
0d69d94b7d
add nsIStreamObserver to QI method. Since it is inherited from nsIStreamListener, you need to explicitly list both
...
otherwise it generates an assert when you use a nsCOMPtr to QI for a method on nsIStreamObserver
git-svn-id: svn://10.0.0.236/trunk@57616 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 03:17:38 +00:00
rpotts%netscape.com
50c3fad132
Made contentType a read/write attribute of nsIChannel
...
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +00:00
jdunn%netscape.com
7d4368fdcc
Move the Class definition for CacheInfo from the CPP file to the header.
...
While this is valid C++, the AIX 3.6 compiler doesn't like it.
r= warren
git-svn-id: svn://10.0.0.236/trunk@56988 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:50:59 +00:00
colin%theblakes.com
8e103e8b60
Add MOZ_COMPONENT_LIBS. r=jdunn
...
git-svn-id: svn://10.0.0.236/trunk@56952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 11:06:54 +00:00
jdunn%netscape.com
e40f96a2d5
|T| requires an accessible default constructor (on some old compilers)
...
r= scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@56894 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:43:19 +00:00
rpotts%netscape.com
4e1497e3cf
Removed over aggressive assert when the loadgroup listener factory does not exist
...
git-svn-id: svn://10.0.0.236/trunk@56723 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 05:46:47 +00:00
dougt%netscape.com
6418d2a7e5
Including nsIAllocator.h directly.
...
git-svn-id: svn://10.0.0.236/trunk@56678 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:23:33 +00:00
fur%geocast.com
244b5031b2
Added assertion and trivial recovery code to catch the case of a load group
...
listener factory that reports success, but nevertheless returns a NULL stream
listener.
git-svn-id: svn://10.0.0.236/trunk@56197 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 14:59:59 +00:00
fur%geocast.com
a6f1d0feec
Fix #21660 (Browser buster crash in cache). a:chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56196 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 14:58:09 +00:00
sdagley%netscape.com
504d65b327
Checking in fur's fix for #21162 - throbber animation not stoping. Also major speed improvment on NT and Mac. a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@55896 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 02:25:00 +00:00
alecf%netscape.com
4b790c8861
fix bustage so I can check in
...
git-svn-id: svn://10.0.0.236/trunk@55740 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:44:18 +00:00
fur%netscape.com
0ed5b2154b
It turns out that PR_Now() has only one second resolution on the Mac, hence it's unsuitable for computing download rates for the cache. Thanks to sdagley for pointing this out.
...
git-svn-id: svn://10.0.0.236/trunk@55734 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:46:31 +00:00
fur%netscape.com
c125f8fc68
+ Handle the case of inability to write into cache correctly.
...
+ Be more aggressive about clearing the UPDATE_IN_PROGRESS flag on the cache entry
git-svn-id: svn://10.0.0.236/trunk@55699 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:32:56 +00:00
fur%netscape.com
c5ce9eb5f0
Change failure to shut down memory cache cleanly into a warning, instead of an assertion
...
git-svn-id: svn://10.0.0.236/trunk@55698 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:29:21 +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
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
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
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
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
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
dougt%netscape.com
0c53e29d87
fix for 18078. r=mstoltz,warren
...
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
warren%netscape.com
cbcd671c5d
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
...
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:36:41 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
cls%seawood.org
99804f7160
Replaced NO_SECURITY ifdef with MOZ_SECURITY one. This causes pref_VerifyLockFile to always return PR_TRUE rather than linking against the dummy secfree library. This replacement also removed the last dependency upon that dummy library so it will no longer be built (next patch).
...
git-svn-id: svn://10.0.0.236/trunk@53021 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 23:13:53 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
fur%netscape.com
c8cc3fe9b2
Checkpoint
...
git-svn-id: svn://10.0.0.236/trunk@52867 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 21:58:37 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
fur%netscape.com
69272dcfcd
Initial version of net data cache APIs
...
git-svn-id: svn://10.0.0.236/trunk@50748 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:46:41 +00:00