tbogard%aol.net
c416db8338
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
...
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00
sspitzer%netscape.com
1e3cffa07d
appcores are finally dead on mac, windows and linux. r=alecf
...
git-svn-id: svn://10.0.0.236/trunk@59933 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 07:56:31 +00:00
norris%netscape.com
6fc5a6608b
Fix bug #25864 watch() vulnerability
...
r=vidur,rogerl
git-svn-id: svn://10.0.0.236/trunk@59445 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:22:58 +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
jband%netscape.com
191411b358
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
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
waterson%netscape.com
c5288be77f
Bug 21668. Ooops. Almost missed the CAN'T BE KILLED xpfe/AppCores directory. DIE DIE DIE!
...
git-svn-id: svn://10.0.0.236/trunk@56120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:41:09 +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
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
norris%netscape.com
0c64d08ae7
Back out last change; didn't mean to check it in.
...
git-svn-id: svn://10.0.0.236/trunk@54478 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:30:22 +00:00
norris%netscape.com
2429ef124a
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
git-svn-id: svn://10.0.0.236/trunk@54477 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:28:18 +00:00
norris%netscape.com
47aa81f887
Remove unused file and change makefile to reflect change.
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@54054 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:30:57 +00:00
norris%netscape.com
f77a65d9d4
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
git-svn-id: svn://10.0.0.236/trunk@54051 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:34 +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
jdunn%netscape.com
f0c83b3d5a
Fixing all unresolved symbols on unix. The bug has the diff's
...
r dp@netscape.com (ramiro helped me with it)
# 18688
git-svn-id: svn://10.0.0.236/trunk@53637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 06:02:31 +00:00
scc%netscape.com
8d635674d9
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}
...
git-svn-id: svn://10.0.0.236/trunk@52941 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 11:43:10 +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
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
dp%netscape.com
5f7aa39be5
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
...
git-svn-id: svn://10.0.0.236/trunk@51674 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-24 04:41:17 +00:00
danm%netscape.com
4e8be85212
removing (unused) references to nsIWebShell.h. requested by buster@netscape.com, bug 16510, r:me
...
git-svn-id: svn://10.0.0.236/trunk@51447 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:47:50 +00:00
dveditz%netscape.com
30a83caa1d
Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
beard%netscape.com
da97767078
changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
...
git-svn-id: svn://10.0.0.236/trunk@49690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:46:23 +00:00
sspitzer%netscape.com
34fa59f854
removed files: mozilla/xpfe/AppCores/src/nsJSProfileCore.cpp
...
git-svn-id: svn://10.0.0.236/trunk@49205 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 08:26:28 +00:00
sspitzer%netscape.com
1a4fea08a0
removed files: mozilla/xpfe/AppCores/src/nsProfileCore.cpp, mozilla/xpfe/AppCores/src/nsProfileCoreFactory.cpp
...
git-svn-id: svn://10.0.0.236/trunk@49197 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 07:31:40 +00:00
sspitzer%netscape.com
c35d818e4a
fix for #14999 . remove the profile appcore
...
git-svn-id: svn://10.0.0.236/trunk@49196 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 07:29:25 +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
law%netscape.com
3668344ed1
Remove browser app core
...
git-svn-id: svn://10.0.0.236/trunk@47421 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:42:49 +00:00
kipp%netscape.com
63456f6061
Use nsAutoString to reduce malloc/free calls
...
git-svn-id: svn://10.0.0.236/trunk@47126 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 14:26:56 +00:00
vidur%netscape.com
1750f9e7a0
Fixed memory leaks
...
git-svn-id: svn://10.0.0.236/trunk@46921 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 02:03:52 +00:00
alecf%netscape.com
0e9f975ddb
remove use of COMMANDLINE_IID
...
git-svn-id: svn://10.0.0.236/trunk@46711 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 05:31:00 +00:00
morse%netscape.com
52fba43489
localize wallet xul files
...
git-svn-id: svn://10.0.0.236/trunk@46538 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 06:43:15 +00:00
alecf%netscape.com
48aa462f8c
appcores dont need xplib anymore
...
git-svn-id: svn://10.0.0.236/trunk@46536 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 06:30:05 +00:00
dougt%netscape.com
872898eb76
removing redundant default/ in chrome URI string.
...
git-svn-id: svn://10.0.0.236/trunk@45982 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 00:02:35 +00:00
morse%netscape.com
ffbb237fce
convert viewers from html to xul
...
git-svn-id: svn://10.0.0.236/trunk@45824 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 04:55:23 +00:00
radha%netscape.com
53f9ca262f
New methods to set and get history state
...
git-svn-id: svn://10.0.0.236/trunk@45751 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:37:25 +00:00
slamm%netscape.com
47dbabc307
Add 'select all'
...
git-svn-id: svn://10.0.0.236/trunk@45491 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:14:02 +00:00
radha%netscape.com
c5dfe9de4d
Fix warnings
...
git-svn-id: svn://10.0.0.236/trunk@45470 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 13:58:31 +00:00
cyeh%netscape.com
cfce14ff56
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
...
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
joki%netscape.com
9db6478cb3
Adding new flag to the security check calls out of the DOM generated JS files.
...
git-svn-id: svn://10.0.0.236/trunk@45348 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:23:55 +00:00
rjc%netscape.com
e5227f6d31
Get rid of rdf appcore header file.
...
git-svn-id: svn://10.0.0.236/trunk@45141 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 09:27:19 +00:00
rjc%netscape.com
046c9ce990
Also remove nsidomrdfcore.h
...
git-svn-id: svn://10.0.0.236/trunk@45140 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 09:09:12 +00:00
rjc%netscape.com
4781514863
Oops, missed these!
...
git-svn-id: svn://10.0.0.236/trunk@45139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 09:07:58 +00:00
rjc%netscape.com
98bb2ad44c
Bye bye, RDF AppCore.
...
git-svn-id: svn://10.0.0.236/trunk@45138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 08:48:52 +00:00
radha%netscape.com
1f4dae7420
Enable Session history in Go menu
...
git-svn-id: svn://10.0.0.236/trunk@45020 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 23:58:29 +00:00
dougt%netscape.com
3569d6d4cb
Adding protocol icon support.
...
git-svn-id: svn://10.0.0.236/trunk@44908 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:39:40 +00:00
rjc%netscape.com
d2ac28a192
Use nsIXULSortService
...
git-svn-id: svn://10.0.0.236/trunk@44775 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:55:10 +00:00
morse%netscape.com
b6ee983e91
remove warning messages
...
git-svn-id: svn://10.0.0.236/trunk@44533 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:47:50 +00:00
brendan%mozilla.org
d87f3f7b04
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
morse%netscape.com
945caddfc9
remove wallet's auto-capturing
...
git-svn-id: svn://10.0.0.236/trunk@44202 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:48:16 +00:00
ramiro%netscape.com
2181f0c81e
Cleanup the jsdom and jsurl linking mess.
...
git-svn-id: svn://10.0.0.236/trunk@44054 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:05:45 +00:00
mccabe%netscape.com
4a3290544c
Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro.
...
git-svn-id: svn://10.0.0.236/trunk@44051 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 09:18:49 +00:00