Commit Graph

45 Commits

Author SHA1 Message Date
dbaron@fas.harvard.edu
552e3b971c Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
markh@activestate.com
626832f36c 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.
2001-09-19 00:25:31 +00:00
markh@activestate.com
d78ac7c1ed Remove bad tests for Unicode - we only support strings as contract IDs. 2001-09-19 00:20:50 +00:00
markh@activestate.com
63d3ea4f68 Add weak-reference test output to the expected test output. 2001-09-19 00:20:04 +00:00
markh@activestate.com
fe7a382658 Add support for unwrap() testing, and also add some better messages
for xpcom sample component missing.

Not part of the build
2001-09-12 01:47:22 +00:00
markh@activestate.com
f47ef98b5a Add unwrap support.
Not part of the build.
2001-09-12 01:46:43 +00:00
markh@activestate.com
0ae8bbb488 Fix up bogus casts of nsXPTType pointers - fixes segment faults on some
platforms.

Not part of the build.
2001-09-12 01:45:57 +00:00
markh@activestate.com
f788cb7bcc Add unwrap support.
Not part of the build
2001-09-12 01:44:42 +00:00
markh@activestate.com
a5413e3948 Add unwrap support (the ability to get the Python object behind an
anonymous Python implemented xpcom object)

Not part of the build.
2001-09-12 01:43:33 +00:00
markh@activestate.com
a98d846a40 Fix bug in makefile when building from Python binaries rather than Python sources
Not part of the build.
2001-09-07 04:52:06 +00:00
markh@activestate.com
5a314015a2 Fix unicode handling for octet arrays, and finally fix the test suite
for Python 2.2.

Not part of the build.
2001-08-22 05:33:05 +00:00
markh@activestate.com
fab35cee68 Remove an extra, incorrect comment I accidently left in.
Not part of the build.
2001-08-22 04:16:37 +00:00
markh@activestate.com
f236da7916 Fix a subtle bug in the weak-reference support - the weak reference must
always be made against the "base" interface for the instance, not one
of the tear-offs (as the tear-off may have a shorter life than the base)

Not part of the build.
2001-08-22 04:11:28 +00:00
markh@activestate.com
a8930afac9 Fix a bug when building on Windows from a binary install (rather than
from Python sources).
Not part of the build.
2001-08-22 04:10:08 +00:00
markh@activestate.com
6670263401 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.
2001-08-18 14:27:46 +00:00
markh@activestate.com
c8b0378bc8 nsIFile objects are "remove"d, not "delete"d. Add tests to cover this case.
Not part of the build.
2001-08-08 02:25:18 +00:00
markh@activestate.com
0f2c9c5573 *sigh* - regress previous checkin, as the change that caused it appears to
also have been regressed.

Not part of the build.
2001-08-07 22:55:22 +00:00
markh@activestate.com
1c052e4951 Fix recent breakage of IID creation.
Not part of the build.
2001-08-05 12:15:43 +00:00
markh@activestate.com
c997502432 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.
2001-08-05 08:29:46 +00:00
markh@activestate.com
f715a27a21 Handle "install" target correctly.
Not part of the build.
2001-08-05 08:28:57 +00:00
markh@activestate.com
e1d282b2ca Slight perf increase by not wrapping the module object in a client wrapper.
Not part of the build.
2001-08-05 08:26:39 +00:00
markh@activestate.com
6045940f3f Prevent occasional recursion overflows by preventing certain well known
Python names from triggering an nsIClassInfo lookup.

Not part of the build.
2001-08-05 08:25:39 +00:00
markh@activestate.com
124d121762 Allow the IID for services to not be specified, to better support flattening.
Not part of the build.
2001-08-05 08:24:43 +00:00
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
waterson@netscape.com
2498f51f20 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
markh@activestate.com
89e0b7a914 Add virtual to a destructor to prevent gcc warnings.
Not part of the build, and PyXPCOM checkins have a=drivers
2001-05-28 03:05:13 +00:00
markh@activestate.com
51950efe58 Add interface flattening to Python XPCOM bindings.
Not part of the build, but a=drivers@mozilla.org anyway!
2001-05-27 02:51:18 +00:00
markh@activestate.com
33b753667e Fixes to Linux build process. Not part of the build. 2001-05-03 23:27:34 +00:00
markh@activestate.com
747f63d623 Fix build problems with RH7. 2001-05-02 23:27:33 +00:00
markh@activestate.com
46f61eb354 Only try and free an existing buffer for In params.
Not part of the build.
2001-05-02 23:26:54 +00:00
markh@activestate.com
3b20a8f73d A number of changes moving towards dynamic linking support on Linux.
Not part of the build.
2001-04-14 13:41:35 +00:00
markh@activestate.com
9563e3d6ab Add DOMString tests.
Not part of the build.
2001-04-14 08:15:29 +00:00
markh@activestate.com
536ed48b5a Almost complete support for DOMStrings. Also fix a crash with some Unicode objects.
Not part of the build.
2001-04-14 08:14:33 +00:00
markh@activestate.com
e41b9e9ae2 Remove a misleading comment.
Not part of the build.
2001-04-14 08:04:37 +00:00
markh@activestate.com
5b61661fbb Fix .xpt building problem. Not part of the build. 2001-04-06 04:10:19 +00:00
markh@activestate.com
ee921b94c4 Slightly updated docs for the windows build process.
Not part of the build.
2001-04-05 12:36:38 +00:00
markh@activestate.com
f62aeb9a4b Move PyXPCOM to the Mozilla build system on Windows.
Linux still uses ".stupid" makefile.

Not part of the build.
2001-04-05 12:35:33 +00:00
markh@activestate.com
06683b0c3b Pass the class itself to the registrar function.
Not part of the build.
2001-04-03 11:17:35 +00:00
markh@activestate.com
c535243785 Free a leaking IID.
Not part of the build.
2001-04-03 10:43:27 +00:00
markh@activestate.com
dc9a1ea40a Final set of changes to bring us into like with the new file IO world.
Not part of the build.
2001-04-03 10:41:38 +00:00
markh@activestate.com
33e265406d Allow services to use interface names as a string, just like regular components.
Not part of the build.
2001-04-03 10:41:09 +00:00
markh@activestate.com
340a4e2091 Final tweak for Windows - now that jband's xpcom changes are in it builds fine. 2001-02-20 11:42:53 +00:00
markh@activestate.com
3b3d91a8bc License info is now in each file (in the standard format) 2001-02-19 10:20:22 +00:00
markh@activestate.com
16db44849b Update the way the license is expressed and minor makefile mods.
Still not building pending a decision on bug 66610.
2001-02-19 08:31:46 +00:00
markh@activestate.com
189159a116 First checkin of the Python XPCOM bindings. 2001-02-19 05:24:45 +00:00