mrbkap%gmail.com
42fa62170e
bug 319172: Innerize the global object for subscript loading so that functions are compiled with the right parent (leading to the inner window, not the outer window). r=shaver sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@185842 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 18:58:23 +00:00
bsmedberg%covad.net
9c52a8d23a
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
...
git-svn-id: svn://10.0.0.236/trunk@185645 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
fd2c3873ba
Bustage fix, bug 316416, nested classes are not automatically friendly.
...
git-svn-id: svn://10.0.0.236/trunk@185576 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 17:09:19 +00:00
bsmedberg%covad.net
dc84be3e28
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@185574 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 16:34:42 +00:00
dougt%meer.net
8841fa464f
PR_MemMap is busted on WINCE. Until it is fixed, disable memory map access in js loader. b=318077. r=dougt. WINCE only.
...
git-svn-id: svn://10.0.0.236/trunk@185364 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:44:40 +00:00
bryner%brianryner.com
ec9ed3fc95
Only issue a warning if we failed to map a file, not an assertion. This doesn't violate any built-in assumptions. Bug 317205, r=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@185032 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 03:27:32 +00:00
bzbarsky%mit.edu
dfdfedb24b
Keep reading from the sync stream till we're done. Bug 303376, r=darin, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@184742 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:04:10 +00:00
bryner%brianryner.com
df2cf71d1d
Fix uninitialized result code in JS component loader (bug 313612) regression from bug 279839. Thanks to Boris for helping track this down.
...
git-svn-id: svn://10.0.0.236/trunk@182915 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-24 21:01:27 +00:00
bryner%brianryner.com
0684ac2625
Fix gcc 2.95 bustage as reported in bug 279839 by sergei_d@fi.tartu.ee.
...
git-svn-id: svn://10.0.0.236/trunk@182786 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 22:55:44 +00:00
bryner%brianryner.com
ee39b153f5
attempt to fix btek bustage. r=darin.
...
git-svn-id: svn://10.0.0.236/trunk@182598 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 17:51:15 +00:00
bryner%brianryner.com
04de186f60
Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@182593 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 16:39:24 +00:00
bryner%brianryner.com
e1e9aa38ae
Use memory-mapped files for compiling JS components (bug 279839). r=shaver, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@181510 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 23:34:58 +00:00
bzbarsky%mit.edu
f2a6cff745
Clear the global objects when unrooting them so that we don't leak via cycles
...
through the global (which is the parent of the proto for various functions on
the one hand and references various prototypes on the other hand). Bug
300023, r=shaver, sr=brendan, a=asa
git-svn-id: svn://10.0.0.236/trunk@175854 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 20:39:02 +00:00
joshmoz%gmail.com
fd91dae49d
remove XP_MAC stuff from js. b=281889 r=brendan a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@175790 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 22:35:40 +00:00
shaver%mozilla.org
4f9420d3a2
Bug 296374: move evalInSandbox, reportError, lookupMethod to new Components.util
...
object, with deprecation-warning forwarding for rE and lM.
r=caillon,dbradley,bsmedberg;a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@175292 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 14:23:03 +00:00
mconnor%steelgryphon.com
33da47b7f3
bug 298478 - Downloads fail with ...could not be saved, patch by jst, r=shaver, sr=dveditz, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@175219 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 15:21:31 +00:00
brendan%mozilla.org
c1174d1919
Big patch from jst and me to beef up and automate, configurably, XPCNativeWrapper (281988, r+sr=bz/shaver, a=drivers).
...
git-svn-id: svn://10.0.0.236/trunk@173622 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 03:12:22 +00:00
shaver%mozilla.org
5e43fb4057
Bug 287441: add __LOCATION__ property so JS components can tell where they're
...
loaded from. r=dbradley.
git-svn-id: svn://10.0.0.236/trunk@171157 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 18:24:09 +00:00
bryner%brianryner.com
9861051f37
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
brendan%mozilla.org
98822ea07b
Checking in shaver's patch for bug 275742: E4X for JS components, r=me.
...
git-svn-id: svn://10.0.0.236/trunk@167274 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 23:56:56 +00:00
bsmedberg%covad.net
4c08900f0e
Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
...
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
shaver%mozilla.org
71cd117dc5
Bug 272294: use backstage pass in xpcshell, for higher-fidelity reproduction
...
of the environment that privileged JS runs in when in the browser, etc.
r=dbradley.
git-svn-id: svn://10.0.0.236/trunk@166412 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 18:13:02 +00:00
darin%meer.net
86a93a5874
fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@165662 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 20:53:38 +00:00
shaver%mozilla.org
1f95d0d545
build bustage fix, how mortifying
...
git-svn-id: svn://10.0.0.236/trunk@163576 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:49:28 +00:00
shaver%mozilla.org
3e60d28c9f
Bug 262189: fix JS component loader's error reporting up to be less-often
...
useless. Also some warning fixes for gcc and quelling some
spew for myself. r+sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@163575 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:37:20 +00:00
bryner%brianryner.com
3b4b8ed6c9
deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155049 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 00:28:47 +00:00
gerv%gerv.net
123c4a9492
Bug 205418 - Relicense Spidermonkey (js/src) to MPL/LGPL/GPL. Patch by gerv; r,a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@149331 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 00:11:16 +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
bryner%brianryner.com
dbbc84bf94
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146620 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:37:27 +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
cls%seawood.org
830d554a4c
Fixing XPCONNECT_STANDALONE bustage
...
git-svn-id: svn://10.0.0.236/trunk@145494 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 19:33:52 +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
seawood%netscape.com
fd152f541a
Implement mozcomps static build variant.
...
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
git-svn-id: svn://10.0.0.236/trunk@141327 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 19:19:42 +00:00
bryner%netscape.com
0893f1145b
- Fix some JS component loader shutdown leaks.
...
- Ensure that we use JSPRINCIPALS_DROP() where needed to avoid leaking principals.
- Clear newborn roots when we've finished with a JSContext, so we don't keep objects from being gc'd if there are no other references.
Part of bug 198655. Thanks to dbaron for much of the component loader patch. r=shaver, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@140093 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 07:22:18 +00:00
dougt%netscape.com
fed2927b2c
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a only include cid list that can mask CIDs that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
timeless%mozdev.org
6e5c6bbae3
Bug 134728 mozJSComponentLoader::UnloadAll => JSCLAutoContext::JSCLAutoContext Getting service @mozilla.org/js/xpc/ContextStack;1 on shutdown.
...
r=dbradley sr=brendan
git-svn-id: svn://10.0.0.236/trunk@138287 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 07:03:11 +00:00
darin%netscape.com
f033d09f91
final patch for bug 190326 "crash in nsJARChannel.cpp when launching calendar"
...
r=dougt sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@137071 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 06:47:55 +00:00
dbaron%dbaron.org
a53a959416
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136009 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:07:51 +00:00
alecf%netscape.com
b05dbf8f5b
fix for bug 79175, merge jsloader into xpconnect
...
r=dbradley, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@130594 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 18:33:02 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
0f22b205af
Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec.
...
git-svn-id: svn://10.0.0.236/trunk@128150 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:36:44 +00:00
seawood%netscape.com
0b3ff474f3
Removing old nmake build makefiles. Bug #158528 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
dougt%netscape.com
dffd6e4f8a
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@123350 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:33:05 +00:00
dbradley%netscape.com
60796a3343
Fixes XPCONNECT_STANDALONE bustage - see bug 121438 for details
...
git-svn-id: svn://10.0.0.236/trunk@122418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 13:51:08 +00:00
darin%netscape.com
24feadaaed
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +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
seawood%netscape.com
789a127d29
Removing unneeded LIBS setting. LIBS isn't used to link libraries.
...
git-svn-id: svn://10.0.0.236/trunk@114834 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:19:49 +00:00