Commit Graph

563 Commits

Author SHA1 Message Date
mcafee%netscape.com
0700976dc6 Added files for bogus directory, removing now. r=sspitzer 2000-03-05 00:38:15 +00:00
mcafee%netscape.com
8cd0b47d26 Ignore generated files. 2000-03-04 23:53:46 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
sspitzer%netscape.com
fcff26010d appcores are finally dead on mac, windows and linux. r=alecf 2000-02-06 07:56:31 +00:00
norris%netscape.com
c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
jband%netscape.com
ef9c82db1e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
waterson%netscape.com
7ffc51ce91 Bug 21668. Ooops. Almost missed the CAN'T BE KILLED xpfe/AppCores directory. DIE DIE DIE! 1999-12-17 00:41:09 +00:00
tbogard%aol.net
eb96099e6d 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.
1999-12-03 09:24:22 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
norris%netscape.com
7219da7de5 Back out last change; didn't mean to check it in. 1999-11-25 05:30:22 +00:00
norris%netscape.com
51842ef45e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
norris%netscape.com
32008039e4 Remove unused file and change makefile to reflect change.
r=mstoltz
1999-11-20 07:30:57 +00:00
norris%netscape.com
24778bda71 Modify generated dom code to use a enum rather than a string for codesize
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz
1999-11-20 07:28:34 +00:00
tbogard%aol.net
3caae87616 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow(). 1999-11-16 20:05:21 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
scc%netscape.com
a45851b965 Was using a private name from "nsCOMPtr.h" that happened to go away with this checkin. Should have been using |dont_QueryInterface()|, and now it does. r={danm, hyatt} 1999-11-08 11:43:10 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
dp%netscape.com
b17616fba6 bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
danm%netscape.com
38f4b0469b removing (unused) references to nsIWebShell.h. requested by buster@netscape.com, bug 16510, r:me 1999-10-21 22:47:50 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
sspitzer%netscape.com
29f7d723c6 removed files: mozilla/xpfe/AppCores/src/nsJSProfileCore.cpp 1999-09-28 08:26:28 +00:00
sspitzer%netscape.com
56868aa322 removed files: mozilla/xpfe/AppCores/src/nsProfileCore.cpp, mozilla/xpfe/AppCores/src/nsProfileCoreFactory.cpp 1999-09-28 07:31:40 +00:00
sspitzer%netscape.com
e96fe99b53 fix for #14999. remove the profile appcore 1999-09-28 07:29:25 +00:00
briano%netscape.com
cd3098a8ae General cleanup. 1999-09-18 03:45:06 +00:00
law%netscape.com
7ae1d728f3 Remove browser app core 1999-09-14 22:42:49 +00:00
kipp%netscape.com
aae43526fb Use nsAutoString to reduce malloc/free calls 1999-09-13 14:26:56 +00:00
vidur%netscape.com
adee81749d Fixed memory leaks 1999-09-11 02:03:52 +00:00
alecf%netscape.com
1244b0b3c1 remove use of COMMANDLINE_IID 1999-09-10 05:31:00 +00:00
morse%netscape.com
6bbfbd49ca localize wallet xul files 1999-09-09 06:43:15 +00:00
alecf%netscape.com
05190851d4 appcores dont need xplib anymore 1999-09-09 06:30:05 +00:00
dougt%netscape.com
8fdaa5dc38 removing redundant default/ in chrome URI string. 1999-09-04 00:02:35 +00:00
morse%netscape.com
31c54280a3 convert viewers from html to xul 1999-09-03 04:55:23 +00:00
radha%netscape.com
182c9af764 New methods to set and get history state 1999-09-02 21:37:25 +00:00
slamm%netscape.com
09d51b6c8b Add 'select all' 1999-09-01 20:14:02 +00:00
radha%netscape.com
5b55595e21 Fix warnings 1999-09-01 13:58:31 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
joki%netscape.com
155255be20 Adding new flag to the security check calls out of the DOM generated JS files. 1999-08-31 14:23:55 +00:00
rjc%netscape.com
6ae296bcb3 Get rid of rdf appcore header file. 1999-08-30 09:27:19 +00:00
rjc%netscape.com
0e19e9a7ef Also remove nsidomrdfcore.h 1999-08-30 09:09:12 +00:00
rjc%netscape.com
abff07c5fd Oops, missed these! 1999-08-30 09:07:58 +00:00
rjc%netscape.com
a64e2bcf4f Bye bye, RDF AppCore. 1999-08-30 08:48:52 +00:00
radha%netscape.com
7246ff978d Enable Session history in Go menu 1999-08-28 23:58:29 +00:00
dougt%netscape.com
8fdac273fb Adding protocol icon support. 1999-08-27 21:39:40 +00:00
rjc%netscape.com
bfa70305e3 Use nsIXULSortService 1999-08-27 06:55:10 +00:00
morse%netscape.com
de3f449ee1 remove warning messages 1999-08-25 21:47:50 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
morse%netscape.com
cd4f389b7c remove wallet's auto-capturing 1999-08-24 00:48:16 +00:00