204 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
75f1b92fe5 Don't leave an exception just hangin' out on the JSContext. Bug 422009,
r+sr=jst, a=shaver


git-svn-id: svn://10.0.0.236/trunk@248233 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 00:42:48 +00:00
reed%reedloden.com
d5a8b963bc Bug 419765 - "PyDOM script error, Python cannot handle dom events" (Add handling of the additional version argument) [p=toddw@ActiveState.com (Todd Whiteman) r=mhammond (NPOTB)]
git-svn-id: svn://10.0.0.236/trunk@246781 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 05:32:30 +00:00
mhammond%skippinet.com.au
5b76f553dd Get Python extensions buildng again on the trunk. NPOTDB.
git-svn-id: svn://10.0.0.236/trunk@246497 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 00:55:21 +00:00
bzbarsky%mit.edu
6a64d3ca61 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@245817 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 06:50:40 +00:00
bzbarsky%mit.edu
1fd4026864 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245814 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 05:13:19 +00:00
dwitte%stanford.edu
7c29041265 thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@242941 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-12 04:30:44 +00:00
dwitte%stanford.edu
546ce140b5 partial backout in an attempt to fix orange.
git-svn-id: svn://10.0.0.236/trunk@242891 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 10:09:00 +00:00
dwitte%stanford.edu
4c74c22a8d relanding bug 410250.
git-svn-id: svn://10.0.0.236/trunk@242890 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 09:13:06 +00:00
dwitte%stanford.edu
1ae0ca29c9 backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@242883 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 04:59:46 +00:00
dwitte%stanford.edu
9b6279f3f7 thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@242879 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 03:56:02 +00:00
reed%reedloden.com
11f8c7ff4e Bug 368476 - "pyxpcom linking fails with "unresolvable R_386_GOTOFF relocation"" [p=vamposdecampos@gmail.com (Alex Badea) r=bsmedberg (NPOTB)]
git-svn-id: svn://10.0.0.236/trunk@242814 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 09:09:57 +00:00
reed%reedloden.com
916d8e462a Bug 386610 - "pyxpcom fails to build against python 2.5 (api changed)" [p=asac@jwsdot.com (Alexander Sack) r=mhammond (NPOTB)]
git-svn-id: svn://10.0.0.236/trunk@242424 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 06:32:35 +00:00
reed%reedloden.com
aa5ff76a2f Bug 355608 - "xulrunner + python fails with "dist/lib/libpyxpcom.a: No such file or directory"" [p=vamposdecampos@gmail.com (Alex Badea) r=bsmedberg (NPOTB)]
git-svn-id: svn://10.0.0.236/trunk@242419 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 05:46:44 +00:00
gerv%gerv.net
72c5565ee0 Bug 398009 - fix mangled license headers. a=stuart.
git-svn-id: svn://10.0.0.236/trunk@237358 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 12:08:47 +00:00
mhammond%skippinet.com.au
6fd791fdea Fix a memory leak when Python calls nsIClassInfo::GetInterfaces()
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@229792 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 06:39:22 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bent.mozilla%gmail.com
0035e99775 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions.
git-svn-id: svn://10.0.0.236/trunk@226903 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 20:08:55 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
peterv%propagandism.org
0fe146d7a9 Fix Python. Patch by sombrero@alum.mit.edu, r=me.
git-svn-id: svn://10.0.0.236/trunk@221227 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 14:01:36 +00:00
peterv%propagandism.org
e3e0240f6a Fix for bug 368369 (nsIScriptContextOwner looks unused). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@220731 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 13:33:50 +00:00
mhammond%skippinet.com.au
3e221fcba3 Get Python DOM extension building again.
Not part of the default build


git-svn-id: svn://10.0.0.236/trunk@218427 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 08:52:14 +00:00
mhammond%skippinet.com.au
943fd850bc Get pyxpcom working with the recent nsXPTCStubBase changes.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@218425 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 06:44:38 +00:00
benjamin%smedbergs.us
e6f5a47e35 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215468 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:03:38 +00:00
benjamin%smedbergs.us
ea38317460 Backout xptcall because linux tboxes are stupid, I think.
git-svn-id: svn://10.0.0.236/trunk@215369 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us
d7078cf86a Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215364 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:29:33 +00:00
mhammond%skippinet.com.au
3dc130dacf When passing arrays of interfaces to an XPCOM method, we didn't know the
declared IID to obtain.  This prevented us detecting arrays of variants
and giving them the same special treatment normal Variants get.  Fix that.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@215020 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 04:31:13 +00:00
mhammond%skippinet.com.au
5f49ed82bf If someone passes a bad IID string, raise a normal Python ValueError
rather than synthesizing an XPCOM error.
Not part of the build


git-svn-id: svn://10.0.0.236/trunk@215019 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 04:20:47 +00:00
mhammond%skippinet.com.au
e7b8f7f7de Generate better .py code and handle some 'new' xpcom data types.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@215012 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 01:05:31 +00:00
timeless%mozdev.org
c6467de559 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan


git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 23:02:18 +00:00
mhammond%skippinet.com.au
bf76f1c1ad Fix a couple of memory leaks. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@214526 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 11:53:18 +00:00
mhammond%skippinet.com.au
3c61435c30 GetAsISupports was actually calling GetAsInterface.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@214525 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 11:37:46 +00:00
mhammond%skippinet.com.au
67c98497da Correct the semantics of Python global variables in event handlers.
git-svn-id: svn://10.0.0.236/trunk@214152 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-26 05:23:08 +00:00
mhammond%skippinet.com.au
862b709caf * Allow arrays in Variants to hold elements of any type, by using
nsIVariant for each element.
* Return empty arrays as an empty list instead of None.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@213697 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-16 09:30:04 +00:00
mhammond%skippinet.com.au
10589df85b When running Py2.4, take advantage of new logging module feature that
gives less ugly/misleading exceptions in some cases.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@213696 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-16 09:19:39 +00:00
mhammond%skippinet.com.au
07db16bbb3 Whitespace normalization - not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@213668 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-15 10:56:05 +00:00
mhammond%skippinet.com.au
141a19ec82 Fix Python's handling of nsACString's with embedded null bytes.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@213667 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-15 10:53:15 +00:00
bugzilla%standard8.demon.co.uk
9d56ba413c Bug 351921 Remove xpcom/obsolete/nsSpecialSystemDirectory.{h,cpp} r=darin,edburns
git-svn-id: svn://10.0.0.236/trunk@213549 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 16:44:32 +00:00
mhammond%skippinet.com.au
4e5ad63746 Allow a closure as an event handler. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@213165 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 10:53:32 +00:00
mhammond%skippinet.com.au
d410bbfc5a [Bug 348426] Python extensions fail to build with libxul
r=benjamin@smedbergs.us, sr=jst


git-svn-id: svn://10.0.0.236/trunk@213164 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 10:44:03 +00:00
Olli.Pettay%helsinki.fi
fe7d075767 Bug 351036, Combine NS_IMAGE_ERROR and NS_SCRIPT_ERROR, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@209059 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 10:00:26 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
mhammond%skippinet.com.au
12cadc12fc Fix bug 347865 (PyXPCOM fails to build on alpha) on trunk.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@206970 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-09 13:37:38 +00:00
mhammond%skippinet.com.au
7016d67f13 Bug 341915: can we move nsIScriptContext(Owner) from dom to xpconnect
r=timeless, sr=jst


git-svn-id: svn://10.0.0.236/trunk@203077 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:15:50 +00:00
mhammond%skippinet.com.au
8e5c5a3160 SetTimeoutOrInterval now takes an integer. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@201929 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 12:00:10 +00:00
mhammond%skippinet.com.au
005d79c748 Fix the chrome building process in the Python/DOM work. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@200369 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:13:14 +00:00
bzbarsky%mit.edu
dcd8a3a053 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@200348 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:02:12 +00:00
mhammond%skippinet.com.au
33efe48c13 Copy our components via the EXTRA_COMPONENTS Makefile variable.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@199091 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 07:06:41 +00:00
mhammond%skippinet.com.au
5fbe3ce3e4 Handle that 'print' statements may fail in a release build.
git-svn-id: svn://10.0.0.236/trunk@199090 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 07:05:44 +00:00