kyle.yuan%sun.com
f5b99acd2d
Bug 239562 64bit safe code for liveconnect (WinXP AMD64)
...
r=xiaobin.lu, sr=brendan
a) renamed jsobject to lcjsobject,
b) defined lcjsobject as jint on 32-bit platform or as jlong on 64-bit platform.
git-svn-id: svn://10.0.0.236/trunk@160972 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 02:36:36 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
caillon%redhat.com
f2f12981ff
fixing bug 146458 - Liveconnect calls fail if applet's codebase is in different domain.
...
Use the domain of the page, like we do for script.
r=jst, sr=brendan, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@153948 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-13 20:52:39 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
cbiesinger%web.de
46f651e4e7
bug 124053 Fix invalid use of JVMContext TLS to map between threads, JSContexts and JSJavaThreadStates
...
patch by beard@netscape.com r=bnesse sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@150489 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 14:52:49 +00:00
brendan%mozilla.org
57f2064642
Fix missing cx param problem (223041, r=caillon, sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@148748 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 04:26:55 +00:00
caillon%returnzero.com
c1914505cb
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
timeless%mozdev.org
da927140fb
Bug 217089 Compiler warnings
...
patch by mbockelkamp@web.de r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@146729 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:49 +00:00
caillon%returnzero.com
d55b44719f
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
cd46cbbaad
Bug 83536.
...
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jst%netscape.com
ecae24eff4
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
gerv%gerv.net
ae1d5501a1
Oops.
...
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03
bug #98089 : ripped new license
...
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
Xiaobin.Lu%eng.Sun.com
a6ddde9413
Fix for 77194 (liveconnect does not work for non-applet case)
...
r=edburns&beard sr=brendan
git-svn-id: svn://10.0.0.236/trunk@101467 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 02:11:10 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
dbaron%fas.harvard.edu
88810ef1eb
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
Xiaobin.Lu%eng.Sun.com
6b25f7f412
Fix for bug 74482(Calling top.window.close() doe not work)
...
Work done by Nikolay Igotti and me
r=beard, sr=brendan, a =asa
git-svn-id: svn://10.0.0.236/trunk@97016 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 01:01:59 +00:00
mkaply%us.ibm.com
7c11a59df3
#76908
...
r/a=edburns, sr=jst, a=chofmann (for drivers)
Change PR_*_CALLBACK to JS_*_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@96325 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:26:35 +00:00
jst%netscape.com
43eee52859
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
Xiaobin.Lu%eng.Sun.com
8f022393f0
bug 5403 r=edburns sr=beard
...
remove the Get_JVMMgr and use do_GetService instead
git-svn-id: svn://10.0.0.236/trunk@93213 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 01:54:22 +00:00
beard%netscape.com
0e4835a553
partial fix (fixes refcount leak) for bug #60018 , sr=brendan, ra=edburns
...
git-svn-id: svn://10.0.0.236/trunk@92643 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 03:16:19 +00:00
edburns%acm.org
f719f527f4
I've checked the diffs, they are as expected.
...
r=dbaron
a=edburns
sr=waterson
bug=71644
Files in this fix:
lcglue.cpp
nsCSecurityContext.cpp
- nsCOMPtr<nsIScriptGlobalObject> global = scriptContext->GetGlobalObject();
+ nsCOMPtr<nsIScriptGlobalObject> global(dont_AddRef(scriptContext->GetGlobalObject()));
All the changes are like this.
git-svn-id: svn://10.0.0.236/trunk@92629 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 02:20:32 +00:00
timeless%mac.com
534247895d
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
beard%netscape.com
86c68b32ff
fix for bug #63466 , r=mstoltz, sr=brendan, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@86811 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 07:47:28 +00:00
jeff.dyer%compilercompany.com
16c8455d7f
Fix redness by removing incorrect conversion.
...
git-svn-id: svn://10.0.0.236/trunk@81452 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 12:17:54 +00:00
jeff.dyer%compilercompany.com
5317ec15f0
b=53849, r=mstoltz@netscape.com,edburns@acm.org, a=brendan@mozilla.org.
...
This fix makes Liveconnect smarter about getting a security principal
when verifying that call from an applet to JS should be allowed.
git-svn-id: svn://10.0.0.236/trunk@81451 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 11:51:22 +00:00
jeff.dyer%compilercompany.com
46c56443e5
#45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security.
...
git-svn-id: svn://10.0.0.236/trunk@79879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 13:48:20 +00:00
jeff.dyer%compilercompany.com
d227ddb376
b=45692 r=edburns a=brendan: Enable liveconnect security.
...
git-svn-id: svn://10.0.0.236/trunk@78864 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 11:47:42 +00:00
jeff.dyer%compilercompany.com
a7f12cbf24
Bug#16438: Wire up use of new unwrap api.
...
git-svn-id: svn://10.0.0.236/trunk@76244 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 14:04:32 +00:00
jim_nance%yahoo.com
b1ccfbf2cb
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
jeff.dyer%compilercompany.com
2784e8857c
Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality to allow wrapped JSObjects
...
to be unwrapped. The complete resolution of this bug requires the implementation
of the unwrap function in JPI.
git-svn-id: svn://10.0.0.236/trunk@62289 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:41:11 +00:00
edburns%acm.org
93d3cb3b95
r=bruce
...
a=edburns
bug=9854
git-svn-id: svn://10.0.0.236/trunk@62093 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:38:29 +00:00
drapeau%eng.sun.com
1ad23fd334
Fix for 7783 (r=marklin@eng.sun.com): Removed extraneous #include
...
statements, including the "pprthred.h" semi-private header.
git-svn-id: svn://10.0.0.236/trunk@60626 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 09:07:30 +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
jdunn%netscape.com
38fe44b8bf
deleting a void * is bad!
...
r= beard
git-svn-id: svn://10.0.0.236/trunk@56893 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:40:32 +00:00
Jerry.Kirk%Nexwarecorp.com
883a9cae70
Remove #includes of libmocha.h and libevent.h which according to Shaver
...
don't need to be there. I noticed this problem under Neutrino because
these header files also use "uint" which was undefined.
b=23041 r=jst@citec.fr
git-svn-id: svn://10.0.0.236/trunk@56746 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:40:09 +00:00
drapeau%eng.sun.com
6a5ed67b18
Fix for bug 5427 ("Passing security principals into nsILiveConnect
...
methods will cause browser to crash"), fix contributed by
jeff.dyer@compilercompany.com , r=drapeau@eng.sun.com . More
bulletproof way of testing if principals passed in are valid (comments
in the code fix explain in more detail).
git-svn-id: svn://10.0.0.236/trunk@54836 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:46:43 +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
akhil.arora%sun.com
38a11db343
17802 r=drapeau@eng.sun.com Workshop C++ 5.0 needs a cast
...
git-svn-id: svn://10.0.0.236/trunk@52596 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 22:57:58 +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
arielb%netscape.com
35dc473dd3
Fix to the caps security module. I removed the nsPrincipal struct, from now
...
on you can access principals by their xpcomed interface nsIPrincipal.
git-svn-id: svn://10.0.0.236/trunk@40961 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:58:23 +00:00
warren%netscape.com
bee72685ed
IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
...
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:47 +00:00
beard%netscape.com
b8dc72bdca
changed map_jsj_thread_to_js_context_impl to use the plugin's instance peer2 to obtain the JSContext.
...
git-svn-id: svn://10.0.0.236/trunk@30830 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:48:05 +00:00
beard%netscape.com
55f3acd039
removed g_pNSIServiceManager (no longer used)
...
git-svn-id: svn://10.0.0.236/trunk@27125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:16:14 +00:00
beard%netscape.com
24430e4c39
using nsIPluginInstancePeer2
...
git-svn-id: svn://10.0.0.236/trunk@25031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:30:14 +00:00
beard%netscape.com
888b433ccb
added GetJVMContext() to map_jsj_thread_to_js_context_impl() to get JSContext associated with a call back from Java. Using nsIPluginInstancePeer::GetJSWindow() to return global JSObject for each browser window.
...
git-svn-id: svn://10.0.0.236/trunk@24976 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:49:05 +00:00
beard%netscape.com
57113a3af1
QueryInterface build bustage (argh)
...
git-svn-id: svn://10.0.0.236/trunk@24632 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:11:53 +00:00