33 Commits

Author SHA1 Message Date
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
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
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
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
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
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
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
mhammond%skippinet.com.au
ecd8bd8e5a Fix return value from PyObject_AsNSString. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@190092 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 07:35:39 +00:00
mhammond%skippinet.com.au
3f5cd7f9ad Remove a number of 'visibility' related warnings on linux.
git-svn-id: svn://10.0.0.236/trunk@187994 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 04:16:33 +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
aab25a0d80 Fix breakage caused by the death of XPTI_GetInterfaceInfoManager.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@185779 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 01:05:02 +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
mhammond%skippinet.com.au
bbc9765867 Update initialize of nsString, which changed sometime in the last 2 years!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@159572 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 11:42:46 +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
ac489b8807 One final wchar_t -> PRUnichar. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@145403 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:24:05 +00:00
mhammond%skippinet.com.au
03173c38eb Remove a couple of unused variables. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@145366 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 01:18:12 +00:00
mhammond%skippinet.com.au
9a14fdb870 Not part of the build.
Explicitly use Python UCS2 functions, for platforms where
sizeof(wchar) != sizeof(PRUnichar).

Incorporate Linux build changes for dynamic linking.


git-svn-id: svn://10.0.0.236/trunk@145364 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 01:08:13 +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
ecda3191b7 Prevent allocating zero bytes.
git-svn-id: svn://10.0.0.236/trunk@141219 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 01:23:40 +00:00
mhammond%skippinet.com.au
8abc401471 Add support for the timeline service. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@140547 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:00:17 +00:00
mhammond%skippinet.com.au
3191e2e247 Get Python XPCOM bindings building with 1.4. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@140482 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 13:22:16 +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
dbaron%fas.harvard.edu
a137f4e337 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117336 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:03:32 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +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
c465eb2315 Only try and free an existing buffer for In params.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@93707 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 23:26:54 +00:00
markh%activestate.com
de520fc622 Almost complete support for DOMStrings. Also fix a crash with some Unicode objects.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@92289 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 08:14: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