Commit Graph

14 Commits

Author SHA1 Message Date
mhammond%skippinet.com.au
4686cd2578 * Bring nsISupportsPrimitives support into the unicode world.
* test_isupports_primitives moves to unittest and tests unicode.
* More overloads for PyObject_FromNSString, dropping PyUnicode_FromPRUnichar.
* PyExc_MemoryError translated to NS_ERROR_OUT_OF_MEMORY
* PyXPCOM_FormatCurrentException becomes public.
* Add more type slots, even though we don't use them yet.


git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181432 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 13:00:15 +00:00
mhammond%skippinet.com.au
0dd0630a4e Clear the current Python error when returning an error code to xpcom
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179903 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 14:36:29 +00:00
mhammond%skippinet.com.au
c934921021 Various fixes to support the logging module.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179678 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 02:40:36 +00:00
mhammond%skippinet.com.au
841af17494 Work with the Python logging module.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179650 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 05:07:22 +00:00
mhammond%skippinet.com.au
6c3af8c7c7 pyxpcom enhancements done as part of the dom work:
* pyxpcom.dll/.so holds the core library.  _xpcom module becomes a thin
  wrapper around the DLL, and the module loader gets the main loader logic
  back.
* Don't globally block pending deprecation warnings in Python 2.4 -
  also fix a few places where 2.3 and 2.4 behaved differently.
* Add the start of logging module support, pending approval from the mailing list.
* Expose NS_GetComponentRegistrar so regxpcom.py works again.
* 'make check' now runs the test suite (like it does for various other parts of the moz tree)


git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179616 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 04:11:12 +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
e9ba9ad8db Correct 1.4 build errors on Linux. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@142251 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 01:20:32 +00:00
mhammond%skippinet.com.au
9119151653 Initialize a static to be nice, and printf() errors if the console
service is not available.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@141221 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 01:26:51 +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
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
mhammond%skippinet.com.au
f4363534ec Minor comment and string change. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@116050 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:00:43 +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
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