447 Commits

Author SHA1 Message Date
mscott%netscape.com
822bdca5fe Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
r=travis


git-svn-id: svn://10.0.0.236/trunk@59168 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:08:52 +00:00
dcone%netscape.com
78a3fc3824 support for regression testing. r=rods
git-svn-id: svn://10.0.0.236/trunk@58785 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:14:41 +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
radha%netscape.com
df12623ae5 Test code for the new Session History all wrapped inside #ifdef DEBUG_radha.
r=dp


git-svn-id: svn://10.0.0.236/trunk@56871 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:18:15 +00:00
rpotts%netscape.com
664a7c3d10 Removed multipart/x-mixed-replace sinjce it is now handled as a stream converted in the URI loader.
git-svn-id: svn://10.0.0.236/trunk@56818 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 04:45:49 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
radha%netscape.com
9f7e323c94 Update the go menu irrespective of whether the page loaded
successfully or not. This is being done to be consistent with the
behavior where partially loaded pages do get in to SH. This
behavior will have to change Browser wil implement nsIStreamListener
or something similar to differentiate between partially loaded pages
and unsuccessfully loaded pages r=law a=don


git-svn-id: svn://10.0.0.236/trunk@56453 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:46:58 +00:00
waterson%netscape.com
dd1ed05fd3 Bug 22212. Don't support weak reference; this'll ensure that the observer service keeps a strong ref to us. r=scc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56252 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:11:37 +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
waterson%netscape.com
ef1cd092e1 Bug 20712. Get the presshell from the *content* area, not the enclosing browser window.
git-svn-id: svn://10.0.0.236/trunk@55554 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:07:14 +00:00
tbogard%aol.net
067920c238 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
mscott%netscape.com
5b95d440f1 api synch with uri loader to use nsIURILoaderCommand.
fill out the canHandleContent method to include
all the primary and secondary content types we want the
browser window to handle.
r=travis


git-svn-id: svn://10.0.0.236/trunk@55044 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:00:54 +00:00
mscott%netscape.com
7e1229973c add text/xul to the list of content types the browser content listener cares about.
git-svn-id: svn://10.0.0.236/trunk@54826 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:17:08 +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
a1c39e3041 Fix for loading resource: urls with -f option. Bug#18423. Now passing original url (rather than redirect) to Observe callback.
git-svn-id: svn://10.0.0.236/trunk@54375 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 04:34:26 +00:00
dougt%netscape.com
4003fcee5e removing protocol icon stuff.
git-svn-id: svn://10.0.0.236/trunk@54238 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:55:59 +00:00
buster%netscape.com
1e648d27d6 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis


git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
mscott%netscape.com
4eb376a28d Bug #14928 --> inital uri dispatching landing. the app instance is a uri content listener. implement
that interface. Register the content listener with the uri loader when we are created and again when
we go away. Forward doContent calls on nsIURIContentListener to the webshell where we want content displayed.
r=travis


git-svn-id: svn://10.0.0.236/trunk@53855 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:19:39 +00:00
tbogard%aol.net
a9a3650565 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow().
git-svn-id: svn://10.0.0.236/trunk@53676 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:05:21 +00:00
tbogard%aol.net
3332c74e48 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53492 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 07:29:23 +00:00
warren%netscape.com
f4eb982ac0 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf
git-svn-id: svn://10.0.0.236/trunk@53341 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 09:07:26 +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
waterson%netscape.com
487d4b32af Bug 17953, 17959. Fix nsXULElement leaks by using nsCOMPtrs. r=warren, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@52794 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 19:44:38 +00:00
radha%netscape.com
8f70df6307 Fix for bug # 17893. Pass the url to nsISessionHistory::Add().Don't set
nsWebShell::mURL too early in the loading process.
r=law,nisheeth


git-svn-id: svn://10.0.0.236/trunk@52741 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 22:30: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
alecf%netscape.com
54bfc70eea cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name


git-svn-id: svn://10.0.0.236/trunk@52452 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:12:32 +00:00
brendan%mozilla.org
f980be0221 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.


git-svn-id: svn://10.0.0.236/trunk@52347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:43:30 +00:00
morse%netscape.com
e3e9faf88f fix bug 14932, mozilla asserts if client-wallet is disabled, r=neeti
git-svn-id: svn://10.0.0.236/trunk@52238 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 19:31:30 +00:00
radha%netscape.com
a285ab741e Clean up of Session History apis. Corresponding changes to the users of SH. r=mcafee. No bug #.
git-svn-id: svn://10.0.0.236/trunk@51544 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 20:48:07 +00:00
dp%netscape.com
af64d101fa Fixed crash on -f file on quit by using async proxy post event as
opposed to calling quit directly. r=dougt


git-svn-id: svn://10.0.0.236/trunk@51330 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 00:15:30 +00:00
law%netscape.com
df6e65595b Fix for bug #?????; Avoid false positive on check for -f cmd line option; r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51257 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:40:25 +00:00
warren%netscape.com
077b0c94d4 Added 'PageCycler' code so that we can iterate through URL loads (by calling mozilla.exe -f <file-of-urls>). We need this for adding bloat/leaks info to tinderbox. r=law
git-svn-id: svn://10.0.0.236/trunk@51192 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:01:28 +00:00
alecf%netscape.com
74f7c311eb fix back/forward buttons, #16415
a=leaf


git-svn-id: svn://10.0.0.236/trunk@50687 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:26:13 +00:00
alecf%netscape.com
af6d54dbdd convert to nsIModule
r=sspitzer
no bug


git-svn-id: svn://10.0.0.236/trunk@50640 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:40:27 +00:00
alecf%netscape.com
9083887386 update new image names in all XUL, JS, and CSS
git-svn-id: svn://10.0.0.236/trunk@50556 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:26:01 +00:00
radha%netscape.com
270ce881b4 XPIDised session history. Corresponding changes to users of nsISessionHistory.
Bug # 15437. r=law


git-svn-id: svn://10.0.0.236/trunk@50419 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:37:43 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
dp%netscape.com
cc675f4462 Instrumentation to detect leaks of BrowserInstance. r=don
git-svn-id: svn://10.0.0.236/trunk@50136 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:01:16 +00:00
radha%netscape.com
ac0f716288 Fix for bug #13329 . Back and forward not consistent all the time.
Fix already checked in to the M10 branch. Merging changes to tip.


git-svn-id: svn://10.0.0.236/trunk@49804 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:49:58 +00:00
hyatt%netscape.com
04637210d9 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49595 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 20:49:07 +00:00
radha%netscape.com
ea366fe8f1 Don't call UpdateGoMenu twice.
git-svn-id: svn://10.0.0.236/trunk@48907 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 17:46:03 +00:00
saari%netscape.com
ca9d9659f4 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange.
git-svn-id: svn://10.0.0.236/trunk@48667 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 23:02:35 +00:00
radha%netscape.com
9983b85d6f Re-enable 'Go' menu
git-svn-id: svn://10.0.0.236/trunk@48385 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:04:38 +00:00
morse%netscape.com
4418a2dc1e fix linkage error if CleintWallet is excluded from build
git-svn-id: svn://10.0.0.236/trunk@48217 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 20:21:44 +00:00
briano%netscape.com
1f53a4dd3f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48168 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 03:45:06 +00:00
rpotts%netscape.com
19596fb472 Fixed the throbber to work with framesets...
git-svn-id: svn://10.0.0.236/trunk@47955 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 08:08:30 +00:00
davidm%netscape.com
40b0f14660 Remove obsolete code. Move some wallet code off to js
git-svn-id: svn://10.0.0.236/trunk@47871 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 23:46:55 +00:00
radha%netscape.com
7bedce3d57 No need to update the urlbar in OnEndDocumentLoad()
git-svn-id: svn://10.0.0.236/trunk@47618 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:32:17 +00:00
law%netscape.com
2050431c5b Merge kipp's string cleanup from browser app core
git-svn-id: svn://10.0.0.236/trunk@47449 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:19:53 +00:00
radha%netscape.com
7965292146 Update the url bar as soon as a successful connection is made to the
server. Make sure this is done only for top level documents, not when
sub-frames are loaded


git-svn-id: svn://10.0.0.236/trunk@47405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:50:41 +00:00