50 Commits

Author SHA1 Message Date
warren%netscape.com
34336ac6a1 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71416 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:41:43 +00:00
waterson%netscape.com
7746e3b0e6 Bug 41182. Set the resource channel's original URI to the 'chrome:' URI that spawned us. r=warren
git-svn-id: svn://10.0.0.236/trunk@71334 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 03:47:49 +00:00
ruslan%netscape.com
8bdd03cb35 Make res/chrome handlers implement threadsafe_isupports
git-svn-id: svn://10.0.0.236/trunk@70934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:00:18 +00:00
hyatt%netscape.com
2ccc066bc2 Better form.
git-svn-id: svn://10.0.0.236/trunk@69724 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:49:56 +00:00
hyatt%netscape.com
7141d45beb Better form.
git-svn-id: svn://10.0.0.236/trunk@69722 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:42:37 +00:00
hyatt%netscape.com
e13add5c1e Changing convertChromeURL
git-svn-id: svn://10.0.0.236/trunk@69716 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:40:52 +00:00
mkaply%us.ibm.com
d4ead625e8 # 37239
r= waterson
OS/2 bring up continues - add PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@69466 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:23:36 +00:00
andreas.otte%primus-online.de
46c368369e first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68464 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:39:25 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
mscott%netscape.com
4e309e8bd7 Bug #34769 (this change is actually dougt's). Don't allow the chrome cache channel to stomp on it's original
uri if it's already been set.
r=waterson,mscott
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65541 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 00:25:22 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
dougt%netscape.com
9c2acfa2d6 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
tbogard%aol.net
9e627c30c9 When the channel is cancelled, don't ignore it, actually cancel and don't sent OnStartRequests if one hasn't been sent yet. If an OnStop is pending, send a OnStopRequest with cancelled in it. bug #30625. r=jud, waterson a=jevering
git-svn-id: svn://10.0.0.236/trunk@62371 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 03:54:07 +00:00
waterson%netscape.com
3216ed82d2 Bug 29148. Put OnStartLoad() on an event, as well as OnStopLoad(). Avoids re-entrancy where re-entrancy should never be. r=rjc, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62172 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:17:10 +00:00
waterson%netscape.com
e31ba113fc Bug 26129. Replace timer with a PLEvent. GTK timers (in this specific case) seem to be confused when a modal event queue has been pushed. By using a PLEvent, we get the same effect, but are able to grab the outermost queue to ensure that our callback to fire OnEndDocumentLoad gets kicked. r=mscott
git-svn-id: svn://10.0.0.236/trunk@59918 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 01:30:16 +00:00
warren%netscape.com
1cf6455bf7 Implemented GetOwner/SetOwner. r=mscott
git-svn-id: svn://10.0.0.236/trunk@59762 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 08:55:05 +00:00
putterman%netscape.com
76aeb2d036 Fix for bug 25833 for mscott. r=scottip. Can now bring up more than one dialog and more than
one instance of an app.


git-svn-id: svn://10.0.0.236/trunk@59259 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 18:55:27 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
waterson%netscape.com
610f039794 Bug 24144. [Add|Remove]Channel() are now performed by the protocols, so don't try to do it in SetLoadGroup(). r=warren
git-svn-id: svn://10.0.0.236/trunk@58019 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 19:37:41 +00:00
rpotts%netscape.com
8457af366d bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs
git-svn-id: svn://10.0.0.236/trunk@57915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:12:54 +00:00
waterson%netscape.com
0937b45c18 Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott
git-svn-id: svn://10.0.0.236/trunk@57432 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 21:18:19 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +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
waterson%netscape.com
1b70fd3c22 Bug 16516. Canonify all 'chrome:' URLs before loading XUL documents. Ensures that persistence and XUL cache keys work properly. Obsolete the 'main' property in the chrome registry. Expose a 'canonify' method on the chrome registry. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:31:06 +00:00
waterson%netscape.com
cc504ba0d1 Bug 20691. Fire OnStopRequest() on a callback so as to avoid re-entrancy problems. r=mscott, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55863 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 21:02:47 +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
waterson%netscape.com
cfccd460a5 Bug 18392. Use XUL document cache for retrieving master document.
git-svn-id: svn://10.0.0.236/trunk@55279 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 07:45:57 +00:00
waterson%netscape.com
ae475cb650 Fix code-path leak by using nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@54879 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 07:04:00 +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
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
warren%netscape.com
fa66ea22fe Structural changes for MakeAbsolute performance. bug#10736 r=valeski
git-svn-id: svn://10.0.0.236/trunk@52673 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:13:44 +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
warren%netscape.com
fe1c294273 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott
git-svn-id: svn://10.0.0.236/trunk@51839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 09:16:24 +00:00
hyatt%netscape.com
f54d64efad stubbing out dynamic overlay loading and converting chrome registry to IDL r=pavlov
git-svn-id: svn://10.0.0.236/trunk@51836 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 08:13:25 +00:00
norris%netscape.com
d8ebef8633 correct a comment.
git-svn-id: svn://10.0.0.236/trunk@50731 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:49:05 +00:00
norris%netscape.com
c3494a9ffb Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.


git-svn-id: svn://10.0.0.236/trunk@49647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 03:41:37 +00:00
warren%netscape.com
d54498ba38 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
git-svn-id: svn://10.0.0.236/trunk@46961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:45:36 +00:00
norris%netscape.com
4e8768c593 * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings


git-svn-id: svn://10.0.0.236/trunk@46152 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:54:19 +00:00
norris%netscape.com
34b474302b Add all-powerful system principals. Remove some dead code from the build.
git-svn-id: svn://10.0.0.236/trunk@45380 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:35 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
warren%netscape.com
0aaed36a23 Fixed to work like all the other MakeAbsolute implementations.
git-svn-id: svn://10.0.0.236/trunk@44279 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 09:45:06 +00:00
sdagley%netscape.com
c362f004e1 We now propogate the return value received from NewChannelFromURI rather than just returning NS_OK from nsChromeProtocolHandler::NewChannel. This fixes the crash when opening bookmarks on Mac with a missing bookmarks.dtd file (and probably other similiar ones). We still try to open a null content window in this case but Nisheeth has a bug logged (# unknown) to fix that.
git-svn-id: svn://10.0.0.236/trunk@44185 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:35:10 +00:00
warren%netscape.com
894be4eb22 Fix for bug 7682: StringBundle can't load URLs from imap thread.
git-svn-id: svn://10.0.0.236/trunk@43270 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 00:43:48 +00:00
gagan%netscape.com
0b4ff33b6b Necko only changes for the setting relative path.
git-svn-id: svn://10.0.0.236/trunk@40698 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:17:11 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
valeski%netscape.com
40a74df80e necko only - extended chrome's make absolute implementation
git-svn-id: svn://10.0.0.236/trunk@39034 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 01:37:23 +00:00
warren%netscape.com
a0463f914a Added ifdefs for necko-only.
git-svn-id: svn://10.0.0.236/trunk@38182 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 23:30:12 +00:00
warren%netscape.com
b0cc92f0a8 Added chrome protocol handler
git-svn-id: svn://10.0.0.236/trunk@37972 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:15:43 +00:00