37 Commits

Author SHA1 Message Date
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
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
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
3d10f65f51 Bug 129216: Integrate Python xpcom bindings with build system
Should not affect the default build!
r=benjamin, rs=brendan


git-svn-id: svn://10.0.0.236/trunk@193127 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 10:57:18 +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
timeless%mozdev.org
dae7b0629a 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@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +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
cbiesinger%web.de
2ce7d2cbfa Bug 129216 Integrate Python xpcom bindings with build system
patch by Mark Hammond <mhammond@skippinet.com.au> / Remy C. Cool
<dev-python@smartology.nl> / Christian Persch <chpe@gnome.org>
r+a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@174797 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 21:03:43 +00:00
gerv%gerv.net
7ecbd9f694 Bug 236613: change to MPL/LGPL/GPL tri-license. This was authorised by an email from David Ascher <DavidA@ActiveState.com>.
git-svn-id: svn://10.0.0.236/trunk@167152 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 15:34:06 +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
mhammond%skippinet.com.au
1d72a2810d test_misc moves to being a unittest based test. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@159576 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 11:46:18 +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
gerv%gerv.net
d6544e324a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155092 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:14:17 +00:00
mhammond%skippinet.com.au
20db0111df Fix errors with (and add tests for) unsigned long constants on solaris.
Not part of the build (and neither was the last checkin - sorry)


git-svn-id: svn://10.0.0.236/trunk@145716 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 00:51:40 +00:00
mhammond%skippinet.com.au
fd03b99bb2 Add some extra utf8 string tests.
git-svn-id: svn://10.0.0.236/trunk@145715 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 00:50:34 +00:00
mhammond%skippinet.com.au
75e9d25200 Fix severe leaks when using string object, and update the test suite
to try and catch this in the future.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@142252 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 01:23:22 +00:00
mhammond%skippinet.com.au
3068ede9bc PyXPCOM: some strings were being terminated at the first \0, and some extra
tests.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@141590 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 11:54:40 +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
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
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
2a21e569f7 Add tests for repr() of objects. Remove assert, replace with functions
that don't depend on -o flag.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@116049 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 11:59:40 +00:00
mhammond%skippinet.com.au
8247777570 New makefiles for Unix/cygwin
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115673 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 10:46:02 +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
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
markh%activestate.com
9b20c7465f Add weak-reference test output to the expected test output.
git-svn-id: svn://10.0.0.236/trunk@103156 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:20:04 +00:00
markh%activestate.com
6173ac0a20 Add support for unwrap() testing, and also add some better messages
for xpcom sample component missing.

Not part of the build


git-svn-id: svn://10.0.0.236/trunk@102785 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:47:22 +00:00
markh%activestate.com
243cc35e4f Fix unicode handling for octet arrays, and finally fix the test suite
for Python 2.2.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@101632 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 05:33:05 +00:00
markh%activestate.com
d1f00a5439 Fix a bug in interface flattening when an attribute was set before one
on the same interface was fetched.  Added test for this case too.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@101412 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 14:27:46 +00:00
markh%activestate.com
8eff7b011d Fix error in exception, which should never be hit (but _is_ hit for
Python 2.2 - need to sort that one out later!)

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100371 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-05 08:29:46 +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
7069e0eef2 Add DOMString tests.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@92290 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 08:15:29 +00:00
markh%activestate.com
80e43f1501 Fix .xpt building problem. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@91556 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-06 04:10:19 +00:00
markh%activestate.com
9c99057f83 Move PyXPCOM to the Mozilla build system on Windows.
Linux still uses ".stupid" makefile.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91451 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 12:35:33 +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