71 Commits

Author SHA1 Message Date
darin%netscape.com
3872488d18 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa


git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
mhammond%skippinet.com.au
da6b6e6938 Provide a nicer exception when an unknown contract ID is attempted to be
used.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@116051 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:01:38 +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
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
26af7368a6 Back out last checkin - windows has thread-state problems with this code.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@116048 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 11:26:03 +00:00
mhammond%skippinet.com.au
ded7d2bc59 Integrate Linux init/term functions with Windows.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115950 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 10:19:27 +00:00
mhammond%skippinet.com.au
b74c4c76b4 Add clobber:: rule.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115887 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:07:22 +00:00
mhammond%skippinet.com.au
2d0f1e8673 Move Linux to the new loader system. This requires a shared library
version of Python (rather than the static lib generally built.)

The simplest way to get a shared library version is to install
ActivePython.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115884 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:01:12 +00:00
mhammond%skippinet.com.au
7455592a09 Use new module init/term functions for Linux.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115881 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:55:25 +00:00
mhammond%skippinet.com.au
0be147b295 Fix the makefile for the loader.
Not part of the build (a=drivers, though :)


git-svn-id: svn://10.0.0.236/trunk@115879 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:52:14 +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
mhammond%skippinet.com.au
cb8bee44c1 Install tools into the tools directory!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115672 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 10:44:34 +00:00
mhammond%skippinet.com.au
0d1e5c8014 Better messages on common exceptions.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115560 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:27:54 +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
mhammond%skippinet.com.au
e0534d95e1 Make the repr() of an xpcom object list more information, including
any interfaces supported.  Relies on class info, so doesn't work for
all objects.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115558 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:24:38 +00:00
dbradley%netscape.com
4c972e2fbe Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +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
e51cc6d0d4 More ComponentManagerObsolete fixes.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@111776 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 02:01:58 +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
leaf%mozilla.org
516776e606 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +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
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
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
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
dbaron%fas.harvard.edu
c7ecd0425e 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
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +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
168e47aee3 Remove bad tests for Unicode - we only support strings as contract IDs.
git-svn-id: svn://10.0.0.236/trunk@103157 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:20:50 +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
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
25a26c0129 Fix up bogus casts of nsXPTType pointers - fixes segment faults on some
platforms.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102783 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:45:57 +00:00
markh%activestate.com
6c0218a0d0 Add unwrap support.
Not part of the build


git-svn-id: svn://10.0.0.236/trunk@102782 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:44:42 +00:00
markh%activestate.com
1b547eec4b Add unwrap support (the ability to get the Python object behind an
anonymous Python implemented xpcom object)

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102781 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:43:33 +00:00
markh%activestate.com
01db5ffb50 Fix bug in makefile when building from Python binaries rather than Python sources
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102514 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 04:52:06 +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
d25f7195de Remove an extra, incorrect comment I accidently left in.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@101619 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:16:37 +00:00
markh%activestate.com
1a0a3e63cc 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.


git-svn-id: svn://10.0.0.236/trunk@101617 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:11:28 +00:00
markh%activestate.com
6f58a1ebcc Fix a bug when building on Windows from a binary install (rather than
from Python sources).
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@101616 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:10:08 +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
e999dceb73 nsIFile objects are "remove"d, not "delete"d. Add tests to cover this case.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100554 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 02:25:18 +00:00
markh%activestate.com
ddfdb75453 *sigh* - regress previous checkin, as the change that caused it appears to
also have been regressed.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100536 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 22:55:22 +00:00
markh%activestate.com
c71d9455c0 Fix recent breakage of IID creation.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100373 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-05 12:15:43 +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
3852ac7845 Handle "install" target correctly.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100370 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-05 08:28:57 +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
ac2aac8f9a Prevent occasional recursion overflows by preventing certain well known
Python names from triggering an nsIClassInfo lookup.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100368 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-05 08:25:39 +00:00
markh%activestate.com
32c82f96e6 Allow the IID for services to not be specified, to better support flattening.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@100367 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-05 08:24:43 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00