25 Commits

Author SHA1 Message Date
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
mhammond%skippinet.com.au
d394dc834d Merge extensions/python/xpcom changes from DOM_AGNOSTIC2_BRANCH into the
trunk.


git-svn-id: svn://10.0.0.236/trunk@187878 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 05:50:28 +00:00
mhammond%skippinet.com.au
afc19f2f56 nsIComponentLoader is dead - long live nsIModuleLoader! Take the
opportunity to remove support for nsIComponentManagerObsolete, and
formalize a nice shutdown API.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@186246 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 05:05:45 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
mhammond%skippinet.com.au
1cf8051395 Bug 297598 - bring pyxpcom up to speed.
r=alecf, sr=shaver - not used by any builds.


git-svn-id: svn://10.0.0.236/trunk@178999 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:52:19 +00:00
gerv%gerv.net
872f5cb1ce Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@161286 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 23:02:50 +00:00
gerv%gerv.net
9efd617dd4 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@159360 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 19:30:11 +00:00
mhammond%skippinet.com.au
5c9b4ceab8 Fix a bug when registering just a single component. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@145638 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 01:04:15 +00:00
mhammond%skippinet.com.au
446028483d When new components are registered, re-scan the Python directory for
new .pth files (which may have just been installed).

Add _xpcom.GetSpecialDirectory() to make this work.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@145049 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 07:30:55 +00:00
mhammond%skippinet.com.au
7e7a9c8396 Make it simpler to implement sub-classes for the loader and module objects.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@140548 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:00:59 +00:00
mhammond%skippinet.com.au
f4be74069c Get pyxpcom building and working again, at least on Windows. file test
fails, but we can live with that for now.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@134454 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 11:39:07 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
mhammond%skippinet.com.au
148e18b8fb Merging 1.0 branch onto the trunk (I know this is not the usual
way, but it is just me :)
Not part of the build!


git-svn-id: svn://10.0.0.236/trunk@120625 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:16:47 +00:00
mhammond%skippinet.com.au
034a317c33 Catch a few common exceptions, and report them nicely - save the user
wading through screens of traceback information just to find they
spelt an interface name wrong.


git-svn-id: svn://10.0.0.236/trunk@115559 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:26:14 +00:00
markh%activestate.com
2e157b2b2a * Changes to observers and service manager APIs.
* Use nsIComponentManagerObsolete.
* Fix weak reference leaks
* Cache interface infos better for significant perf increase.
* Better tests for leaks

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@111534 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:58:58 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
markh%activestate.com
f9f77e73de Update to Python XPCOM for recent breaking changes:
* Freeze/Modifications to nsIObserver and nsIServiceManager
* Header file re-organization.

Thanks to Christof Meerwald for the basis of this patch.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@107562 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:32:37 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
markh%activestate.com
f466bcdf46 Cache nsIClassInfos for all Python classes. This works around a bug in
XPConnect that is soon to be fixed, but also allows us to take advantage
of the XPConnect caching, and to save rebuilding the same class info for
short-lived objects created repeatedly.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@103159 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:25:31 +00:00
markh%activestate.com
3da7154e02 Add unwrap support.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102784 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:46:43 +00:00
markh%activestate.com
69f475e7ac Slight perf increase by not wrapping the module object in a client wrapper.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100369 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-05 08:26:39 +00:00
markh%activestate.com
031bf2a05c Add interface flattening to Python XPCOM bindings.
Not part of the build, but a=drivers@mozilla.org anyway!


git-svn-id: svn://10.0.0.236/trunk@95969 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-27 02:51:18 +00:00
markh%activestate.com
a8c7226929 Pass the class itself to the registrar function.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91124 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 11:17:35 +00:00
markh%activestate.com
8d2f296cfd Update the way the license is expressed and minor makefile mods.
Still not building pending a decision on bug 66610.


git-svn-id: svn://10.0.0.236/trunk@87343 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:31:46 +00:00
markh%activestate.com
abe83923e1 First checkin of the Python XPCOM bindings.
git-svn-id: svn://10.0.0.236/trunk@87331 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 05:24:45 +00:00