31 Commits

Author SHA1 Message Date
saari%netscape.com
dd45ea39cd libpr0n 4 mac
r=pinkerton,pavlov, sr=smfr


git-svn-id: svn://10.0.0.236/trunk@90327 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:44:26 +00:00
pavlov%netscape.com
ce0f4e3210 adding a way to get the imgIDecoderObserver back from the request
git-svn-id: svn://10.0.0.236/trunk@90146 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 23:16:52 +00:00
pavlov%netscape.com
ea97de95fe make it build without the new cache
git-svn-id: svn://10.0.0.236/trunk@90104 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 09:31:00 +00:00
pavlov%netscape.com
e58777b904 fix the crash on shutdown in the new cache due to us holding on to cache descriptors too long. destroy our cache session when we get unregistered. more assertions
git-svn-id: svn://10.0.0.236/trunk@89966 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:37:47 +00:00
pavlov%netscape.com
9dcccce063 fixing jpegs on windows, adding some more assertions.
git-svn-id: svn://10.0.0.236/trunk@89939 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 23:06:29 +00:00
pavlov%netscape.com
4a6b4ad40f fix the image cache problem with nsImageDocuments and add some more assertions
git-svn-id: svn://10.0.0.236/trunk@89864 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 02:23:42 +00:00
pavlov%netscape.com
3cb8c719f6 new caching stuff
git-svn-id: svn://10.0.0.236/trunk@89811 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:57:39 +00:00
pavlov%netscape.com
94a4c64b99 changes wrt where we cache images. now setting the size and expiration date information on the cache entry descriptor
git-svn-id: svn://10.0.0.236/trunk@89695 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 02:40:04 +00:00
pavlov%netscape.com
594f3ea713 making function prototype static so it doesn't default to extern
git-svn-id: svn://10.0.0.236/trunk@89686 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 23:33:52 +00:00
pavlov%netscape.com
6f2d08e2f3 more changes
git-svn-id: svn://10.0.0.236/trunk@89555 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:39:48 +00:00
saari%netscape.com
72aa5341e1 Updates for imglib2
git-svn-id: svn://10.0.0.236/trunk@89538 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:33:11 +00:00
pavlov%netscape.com
38d36d3178 moving the container stuff here.
git-svn-id: svn://10.0.0.236/trunk@89180 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:11:54 +00:00
pavlov%netscape.com
e820e83e9e use NS_LITERAL_STRING instead of NS_LITERAL_CSTRING when creating an atom, and put dont_AddRef() around NS_NewAtom so we don't add an extra addref
git-svn-id: svn://10.0.0.236/trunk@89114 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:42:04 +00:00
pavlov%netscape.com
0369506cd8 make imgIRequest an nsIRequest again. do RGB->BGR conversion for jpegs. add an error code for no decoder. add place to add expiration date to the cache entries once darin fixes http channel to give me an expiration date..
git-svn-id: svn://10.0.0.236/trunk@88732 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:59:49 +00:00
pavlov%netscape.com
50226ce43a add the loadgroup back in.. send the proxy a onstoprequest message when addobserver is called if it has already been stopped... this makes sure the image request always gets removed from the loadgroup.. this could be further optimized to avoid adding it to the loadgroup at all if the image is complete when the proxy gets created.
git-svn-id: svn://10.0.0.236/trunk@88697 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:54:33 +00:00
pavlov%netscape.com
69466a5e70 adding a dummy channel class that i can add to load groups for each request instead of giving the real channel a single load group. cache fixes, cleanups, etc.
git-svn-id: svn://10.0.0.236/trunk@88634 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 04:46:20 +00:00
pavlov%netscape.com
c6bf0f6987 moving the logging code around a bit
fixing a crash in the jpeg code and a few other minor things


git-svn-id: svn://10.0.0.236/trunk@87973 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 04:22:47 +00:00
pavlov%netscape.com
ab5843e7ea removing stupid code
git-svn-id: svn://10.0.0.236/trunk@87943 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 09:02:25 +00:00
pavlov%netscape.com
dff3da99af blah blah blah
git-svn-id: svn://10.0.0.236/trunk@87941 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 08:37:26 +00:00
pavlov%netscape.com
c3f1762956 fixing the cancel nonsense to avoid longass page loads
git-svn-id: svn://10.0.0.236/trunk@87938 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 08:28:36 +00:00
pavlov%netscape.com
8c6a168fb3 remove the channel cancelation stuff... don't do this here...
git-svn-id: svn://10.0.0.236/trunk@87927 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 02:23:55 +00:00
pavlov%netscape.com
38c7aaf639 adding a loadgroup param
git-svn-id: svn://10.0.0.236/trunk@87923 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 23:45:30 +00:00
pavlov%netscape.com
a15ba6d7ac check to see if numframes > 1
git-svn-id: svn://10.0.0.236/trunk@87860 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 00:31:08 +00:00
pavlov%netscape.com
27e4d596e9 adding animation restart capibilities
git-svn-id: svn://10.0.0.236/trunk@87853 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:48:08 +00:00
pavlov%netscape.com
f162519ea9 more prlog fun.. added class to do scope based logging (enter/exit messages)
git-svn-id: svn://10.0.0.236/trunk@87802 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 10:57:00 +00:00
pavlov%netscape.com
121915c64a more prlog stuff. some useful info should be generatable from this stuff now
git-svn-id: svn://10.0.0.236/trunk@87795 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 08:36:51 +00:00
pavlov%netscape.com
1988bc5313 use the new necko interfaces/apis
git-svn-id: svn://10.0.0.236/trunk@87649 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 08:41:20 +00:00
pavlov%netscape.com
08fc2e42e9 remove lots of useless ifdef PR_LOGGING lines
git-svn-id: svn://10.0.0.236/trunk@87620 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 02:12:21 +00:00
pavlov%netscape.com
8130651827 add pr logging of stuff, fixing places where we try to remove an observer multiple times. use GetOriginalURI isntead of GetURI on the channel when an error occurs and we have to remove ourselves from the cache
git-svn-id: svn://10.0.0.236/trunk@87619 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 02:06:24 +00:00
pavlov%netscape.com
c9d3f54b45 changing libpr0n filenames to img*
git-svn-id: svn://10.0.0.236/trunk@87512 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:45:51 +00:00
pavlov%netscape.com
60fa8a1272 lets do imgIRequest instead of lpIImageRequest
git-svn-id: svn://10.0.0.236/trunk@87505 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:48 +00:00