204 Commits

Author SHA1 Message Date
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
waterson%netscape.com
18986ada3f 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.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
markh%activestate.com
a49034e23b Add virtual to a destructor to prevent gcc warnings.
Not part of the build, and PyXPCOM checkins have a=drivers


git-svn-id: svn://10.0.0.236/trunk@95975 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-28 03:05:13 +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
dbc14b605e Fixes to Linux build process. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@93856 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 23:27:34 +00:00
markh%activestate.com
b82f736b01 Fix build problems with RH7.
git-svn-id: svn://10.0.0.236/trunk@93708 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 23:27:33 +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
aea59ec1ab A number of changes moving towards dynamic linking support on Linux.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@92291 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 13:41:35 +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
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
81b6907127 Remove a misleading comment.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@92288 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 08:04:37 +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
f51ae01d80 Slightly updated docs for the windows build process.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91452 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 12:36:38 +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
a8c7226929 Pass the class itself to the registrar function.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91124 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 11:17:35 +00:00
markh%activestate.com
25cd24f421 Free a leaking IID.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91122 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 10:43:27 +00:00
markh%activestate.com
9a40c7d956 Final set of changes to bring us into like with the new file IO world.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91121 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 10:41:38 +00:00
markh%activestate.com
151f1e3fd3 Allow services to use interface names as a string, just like regular components.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91120 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 10:41:09 +00:00