Commit Graph
185 Commits
Author SHA1 Message Date
hg@mozilla.com 2ca566cd74 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
peterv@propagandism.org 872f2aa9c7 Fix Python. Patch by sombrero@alum.mit.edu, r=me. 2007-03-02 14:01:36 +00:00
peterv@propagandism.org 7d8a0dcb21 Fix for bug 368369 (nsIScriptContextOwner looks unused). r/sr=jst. 2007-02-22 13:33:50 +00:00
mhammond@skippinet.com.au 9c34e7ff91 Get Python DOM extension building again.
Not part of the default build
2007-01-16 08:52:14 +00:00
mhammond@skippinet.com.au 41194ceea5 Get pyxpcom working with the recent nsXPTCStubBase changes.
Not part of the default build.
2007-01-16 06:44:38 +00:00
benjamin@smedbergs.us dca32f58e8 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher 2006-11-20 17:03:38 +00:00
benjamin@smedbergs.us fbdadc43c2 Backout xptcall because linux tboxes are stupid, I think. 2006-11-16 20:17:24 +00:00
benjamin@smedbergs.us c6ef81281b Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher 2006-11-16 18:29:33 +00:00
mhammond@skippinet.com.au 5665a8df3b 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.
2006-11-09 04:31:13 +00:00
mhammond@skippinet.com.au 1710a784df If someone passes a bad IID string, raise a normal Python ValueError
rather than synthesizing an XPCOM error.
Not part of the build
2006-11-09 04:20:47 +00:00
mhammond@skippinet.com.au 1caa05274b Generate better .py code and handle some 'new' xpcom data types.
Not part of the build.
2006-11-09 01:05:31 +00:00
timeless@mozdev.org 358db4f61b Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
mhammond@skippinet.com.au 8bf11fd031 Fix a couple of memory leaks. Not part of the default build. 2006-11-01 11:53:18 +00:00
mhammond@skippinet.com.au 4f184506e8 GetAsISupports was actually calling GetAsInterface.
Not part of the default build.
2006-11-01 11:37:46 +00:00
mhammond@skippinet.com.au e4e53adb06 Correct the semantics of Python global variables in event handlers. 2006-10-26 05:23:08 +00:00
mhammond@skippinet.com.au 0abcf1d9d9 * 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.
2006-10-16 09:30:04 +00:00
mhammond@skippinet.com.au 11a909aa92 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.
2006-10-16 09:19:39 +00:00
mhammond@skippinet.com.au 12b735be5e Whitespace normalization - not part of the default build. 2006-10-15 10:56:05 +00:00
mhammond@skippinet.com.au e0fee58e39 Fix Python's handling of nsACString's with embedded null bytes.
Not part of the default build.
2006-10-15 10:53:15 +00:00
bugzilla@standard8.demon.co.uk 2a0eac4352 Bug 351921 Remove xpcom/obsolete/nsSpecialSystemDirectory.{h,cpp} r=darin,edburns 2006-10-12 16:44:32 +00:00
mhammond@skippinet.com.au 022ee6dc05 Allow a closure as an event handler. Not part of the build. 2006-10-05 10:53:32 +00:00
mhammond@skippinet.com.au a5803c3abb [Bug 348426] Python extensions fail to build with libxul
r=benjamin@smedbergs.us, sr=jst
2006-10-05 10:44:03 +00:00
Olli.Pettay@helsinki.fi 01a206bade Bug 351036, Combine NS_IMAGE_ERROR and NS_SCRIPT_ERROR, r+sr=jst 2006-09-02 10:00:26 +00:00
timeless@mozdev.org 6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
mhammond@skippinet.com.au 900e846011 Fix bug 347865 (PyXPCOM fails to build on alpha) on trunk.
Not part of the default build.
2006-08-09 13:37:38 +00:00
mhammond@skippinet.com.au 281f5f4ea3 Bug 341915: can we move nsIScriptContext(Owner) from dom to xpconnect
r=timeless, sr=jst
2006-07-19 04:15:50 +00:00
mhammond@skippinet.com.au e4f00c3e22 SetTimeoutOrInterval now takes an integer. Not part of the default build. 2006-07-12 12:00:10 +00:00
mhammond@skippinet.com.au 984f159a0c Fix the chrome building process in the Python/DOM work. Not part of the build. 2006-06-19 23:13:14 +00:00
bzbarsky@mit.edu 4779938003 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin
2006-06-19 21:02:12 +00:00
mhammond@skippinet.com.au ff7e224fa8 Copy our components via the EXTRA_COMPONENTS Makefile variable.
Not part of the build.
2006-06-06 07:06:41 +00:00
mhammond@skippinet.com.au c13051d808 Handle that 'print' statements may fail in a release build. 2006-06-06 07:05:44 +00:00
mhammond@skippinet.com.au cd09a97560 Change how we detect if xpcom was initialized. Not part of the build. 2006-06-05 07:22:27 +00:00
mhammond@skippinet.com.au 9ca77d31e7 Forward-port changes from the DOM_AGNOSTIC3_BRANCH. Not part of the build. 2006-06-05 06:26:14 +00:00
mhammond@skippinet.com.au 6244f70a05 First cut at the Python implementation of nsIScriptContext etc (see
http://wiki.mozilla.org/Breaking_the_grip_JS_has_on_the_DOM).

See also bug 255942 - "Support other scripting languages than JS".

Not part of the build - indeed this will not build at all until bug
255942 lands, or the latest patch there is applied.
2006-04-29 01:56:45 +00:00
mhammond@skippinet.com.au 023e97072c Make initialization and logging more reliable. Get building again on
Linux.  Not part of the build.
2006-04-20 07:19:42 +00:00
mhammond@skippinet.com.au 04b947574b Move all Python initialization code into a new global
PyXPCOM_EnsurePythonEnvironment.  At the same time remove the old, dead
code behind PYXPCOM_USE_PYGILSTATE and LOADER_LINKS_WITH_PYTHON.
Not part of the default build.
2006-04-11 06:12:14 +00:00
mhammond@skippinet.com.au 9ea08b7323 PyXPCOM_LogError should always write the error message, even if there is
no traceback or exception info.
Not part of the build.
2006-04-11 06:04:23 +00:00
darin@meer.net 862ba45cb9 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
mhammond@skippinet.com.au 201c3a21f4 Bug 129216: Integrate Python xpcom bindings with build system
Should not affect the default build!
r=benjamin, rs=brendan
2006-03-28 10:57:18 +00:00
bryner@brianryner.com 1aeb69f877 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
mhammond@skippinet.com.au 9afdd905c0 Get pyxpcom initializing in debug builds without throwing assertions.
Not part of the build.
2006-02-18 01:21:50 +00:00
mhammond@skippinet.com.au 9edaf7d1cd Introduce the first of standard Python implemented components.
Not part of the build.
2006-02-17 11:56:18 +00:00
mhammond@skippinet.com.au 77c7bb2636 Fix return value from PyObject_AsNSString. Not part of the build. 2006-02-15 07:35:39 +00:00
cbiesinger@web.de aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mhammond@skippinet.com.au 7ca263077c Reinstate the dlopen(PYTHON_SO,RTLD_NOW | RTLD_GLOBAL); 2006-01-27 11:29:15 +00:00
mhammond@skippinet.com.au dc518adca9 Remove dlopen no longer necessary now we have the dynamic python issue
sorted.  Not part of the build.
2006-01-25 04:07:19 +00:00
mhammond@skippinet.com.au a6a617f722 Get pyxpcom building on osx. Not part of the default build. 2006-01-23 21:59:18 +00:00
mhammond@skippinet.com.au c12e94f4e6 Remove a number of 'visibility' related warnings on linux. 2006-01-22 04:16:33 +00:00
mhammond@skippinet.com.au 4632b4c983 Merge extensions/python/xpcom changes from DOM_AGNOSTIC2_BRANCH into the
trunk.
2006-01-20 05:50:28 +00:00
mhammond@skippinet.com.au b2700d1564 Remove old unused file - not part of the build. 2005-12-19 05:19:11 +00:00