mhammond%skippinet.com.au
2b865446d7
Fix errors with (and add tests for) unsigned long constants on solaris.
...
Not part of the build (and neither was the last checkin - sorry)
2003-08-08 00:51:40 +00:00
mhammond%skippinet.com.au
a99e209b3f
Add some extra utf8 string tests.
2003-08-08 00:50:34 +00:00
mhammond%skippinet.com.au
08d4596aaa
Fix a bug when registering just a single component. Not part of the build.
2003-08-06 01:04:15 +00:00
mhammond%skippinet.com.au
7281406073
One final wchar_t -> PRUnichar. Not part of the build.
2003-07-30 23:24:05 +00:00
mhammond%skippinet.com.au
0442069411
Tweak so it still builds with Python 2.2. Not part of the build.
2003-07-30 23:10:31 +00:00
mhammond%skippinet.com.au
d1105edcd4
Remove a couple of unused variables. Not part of the build.
2003-07-30 01:18:12 +00:00
mhammond%skippinet.com.au
a05ad6a5fe
Remove unused variable.
2003-07-30 01:13:50 +00:00
mhammond%skippinet.com.au
557e88d6df
Not part of the build.
...
Explicitly use Python UCS2 functions, for platforms where
sizeof(wchar) != sizeof(PRUnichar).
Incorporate Linux build changes for dynamic linking.
2003-07-30 01:08:13 +00:00
mhammond%skippinet.com.au
366e7df501
We were breaking Python's rules for comparison result returns - and
...
this only started mattering in Python 2.3.
Not part of the build.
2003-07-23 00:23:45 +00:00
mhammond%skippinet.com.au
ca8e433988
When new components are registered, re-scan the Python directory for
...
new .pth files (which may have just been installed).
Add _xpcom.GetSpecialDirectory() to make this work.
Not part of the build.
2003-07-22 07:30:55 +00:00
mhammond%skippinet.com.au
c4404d9f4d
Convert constants from hex to dec, to prevent warnings in Python 2.3
...
Not part of the build.
2003-07-17 11:02:34 +00:00
mhammond%skippinet.com.au
3cc01f6bc4
Python XPCOM bindings - not part of the build.
...
* Attempt to import a "sitepyxpcom" module at startup.
* Process the main bin\Python directory as a "site directory". This means
.pth files will be scanned in that directory, allowing sys.path changes
to be managed in a sensible way locally to mozilla.
2003-07-17 06:39:00 +00:00
mhammond%skippinet.com.au
ffa5109721
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.
2003-05-09 01:23:22 +00:00
mhammond%skippinet.com.au
1426d22449
Correct 1.4 build errors on Linux. Not part of the build.
2003-05-09 01:20:32 +00:00
mhammond%skippinet.com.au
201d250df0
PyXPCOM: some strings were being terminated at the first \0, and some extra
...
tests. Not part of the build.
2003-04-22 11:54:40 +00:00
mhammond%skippinet.com.au
705e1b5fbd
Make use if the new PyGILState_ API if available.
...
Not part of the build.
2003-04-20 02:47:31 +00:00
mhammond%skippinet.com.au
acf70bff49
Initialize a static to be nice, and printf() errors if the console
...
service is not available. Not part of the build.
2003-04-16 01:26:51 +00:00
mhammond%skippinet.com.au
949f6757f2
Prevent allocating zero bytes.
2003-04-16 01:23:40 +00:00
mhammond%skippinet.com.au
09cdecfcf4
Bring the Python XPCOM binding IO routines in line with Moz 1.4.
...
Not part of the build.
2003-04-15 14:39:31 +00:00
mhammond%skippinet.com.au
6f253a970c
Make it simpler to implement sub-classes for the loader and module objects.
...
Not part of the build.
2003-04-02 04:00:59 +00:00
mhammond%skippinet.com.au
a2b8461665
Add support for the timeline service. Not part of the build.
2003-04-02 04:00:17 +00:00
mhammond%skippinet.com.au
ff2741adce
If repr() of a component failed we would crash. Not part of the build.
2003-04-02 03:59:18 +00:00
mhammond%skippinet.com.au
7e5aa4ce76
repr() of an object could fail - prevent this. Not part of the build.
2003-04-02 03:58:16 +00:00
mhammond%skippinet.com.au
4a6a920da8
Moving towards making an optional part of the build. Not part of the
...
build :)
2003-04-01 14:17:28 +00:00
mhammond%skippinet.com.au
9b18893922
Get Python XPCOM bindings building with 1.4. Not part of the build.
2003-04-01 13:22:16 +00:00
bzbarsky%mit.edu
83e46b1a49
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
5aadb9d382
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 20:32:55 +00:00
mhammond%skippinet.com.au
8b6dfce2a9
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.
2002-11-26 11:39:07 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt%netscape.com
f2a00efc93
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
2002-09-03 23:36:13 +00:00
seawood%netscape.com
322da773fb
Removing old nmake build makefiles. Bug #158528 r=pavlov
2002-08-10 07:55:43 +00:00
alecf%netscape.com
f7ad4265ef
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
mhammond%skippinet.com.au
362f4f854b
nsCString->nsString API changes. Merged from 1.0 branch.
...
Not part of the build.
2002-05-22 05:41:04 +00:00
mhammond%skippinet.com.au
46f5b9d9e2
Update build instructions.
...
Not part of the build.
2002-05-03 05:14:38 +00:00
mhammond%skippinet.com.au
1dc9dec488
We are now building with the standard build system - yay!
...
Not part of the build.
2002-05-03 01:23:56 +00:00
mhammond%skippinet.com.au
675beee8de
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!
2002-05-03 01:16:47 +00:00
mhammond%skippinet.com.au
ebd58c55fd
Final fixes for Unix!
...
Not part of the build.
2002-05-03 01:09:51 +00:00
mhammond%skippinet.com.au
70cfce2a72
Merge in changes from 1.8.2.3 on the 1.0 branch.
...
Not part of the build.
2002-05-03 01:02:32 +00:00
mhammond%skippinet.com.au
d7baafd64a
Moving towards full autoconf build support.
...
Not part of the build.
2002-05-02 11:05:25 +00:00
mhammond%skippinet.com.au
89e9d85056
Some changes for nsIFile moving to nsACString.
...
Not part of the build.
2002-05-02 11:04:37 +00:00
seawood%netscape.com
f940144626
Remove xp_core.h & xp_mem.h and all build references to them.
...
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu
b95312c405
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 21:03:32 +00:00
darin%netscape.com
281c86ec58
b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
...
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
mhammond%skippinet.com.au
11f9d07fca
Provide a nicer exception when an unknown contract ID is attempted to be
...
used.
Not part of the build.
2002-03-07 12:01:38 +00:00
mhammond%skippinet.com.au
7f14bff0ac
Minor comment and string change. Not part of the build.
2002-03-07 12:00:43 +00:00
mhammond%skippinet.com.au
4c590cd411
Add tests for repr() of objects. Remove assert, replace with functions
...
that don't depend on -o flag.
Not part of the build.
2002-03-07 11:59:40 +00:00
mhammond%skippinet.com.au
a1b22d9ba8
Back out last checkin - windows has thread-state problems with this code.
...
Not part of the build.
2002-03-07 11:26:03 +00:00
mhammond%skippinet.com.au
ad50b4c551
Integrate Linux init/term functions with Windows.
...
Not part of the build.
2002-03-06 10:19:27 +00:00
mhammond%skippinet.com.au
8d31ff1662
Add clobber:: rule.
...
Not part of the build.
2002-03-06 00:07:22 +00:00
mhammond%skippinet.com.au
fb4d701bd1
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.
2002-03-06 00:01:12 +00:00
mhammond%skippinet.com.au
46187d9f36
Use new module init/term functions for Linux.
...
Not part of the build.
2002-03-05 23:55:25 +00:00
mhammond%skippinet.com.au
3a9a14f835
Fix the makefile for the loader.
...
Not part of the build (a=drivers, though :)
2002-03-05 23:52:14 +00:00
mhammond%skippinet.com.au
75b660c01d
New makefiles for Unix/cygwin
...
Not part of the build.
2002-03-03 10:46:02 +00:00
mhammond%skippinet.com.au
79559456be
Install tools into the tools directory!
...
Not part of the build.
2002-03-03 10:44:34 +00:00
mhammond%skippinet.com.au
a45a9d7ff4
Better messages on common exceptions.
...
Not part of the build.
2002-03-01 06:27:54 +00:00
mhammond%skippinet.com.au
7a4280940b
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.
2002-03-01 06:26:14 +00:00
mhammond%skippinet.com.au
4a5f68a551
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.
2002-03-01 06:24:38 +00:00
dbradley%netscape.com
5372835bdb
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
2002-02-19 14:48:00 +00:00
cathleen%netscape.com
92d4fbf218
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
markh%activestate.com
19f8c59029
More ComponentManagerObsolete fixes.
...
Not part of the build.
2002-01-10 02:01:58 +00:00
markh%activestate.com
88e93b42ba
* 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.
2002-01-08 01:58:58 +00:00
leaf%mozilla.org
8310ba80d7
remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
2001-12-05 03:43:29 +00:00
timeless%mac.com
51a4520c4a
Bugzilla Bug 107823 change nsIFile
...
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
seawood%netscape.com
7733357d51
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
markh%activestate.com
7cbbc4f2f5
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.
2001-11-07 04:32:37 +00:00
pete%alphanumerica.com
b52992027b
b=107823, r=ccarlen, sr=brendan
...
--pete
2001-11-01 00:11:15 +00:00
dougt%netscape.com
d18d7e2b17
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
2001-10-19 20:52:59 +00:00
dougt%netscape.com
4f3a44d63b
API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
2001-10-16 03:35:52 +00:00
dbaron%fas.harvard.edu
9a4acbab7a
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
686f97a24b
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
191917c5db
Remove bad tests for Unicode - we only support strings as contract IDs.
2001-09-19 00:20:50 +00:00
markh%activestate.com
5da1967e95
Add weak-reference test output to the expected test output.
2001-09-19 00:20:04 +00:00
markh%activestate.com
0ca0fc54c6
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
50a9226277
Add unwrap support.
...
Not part of the build.
2001-09-12 01:46:43 +00:00
markh%activestate.com
8ccfeb6a17
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
17c00a5a98
Add unwrap support.
...
Not part of the build
2001-09-12 01:44:42 +00:00
markh%activestate.com
01dc8ece2e
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
ebe180d997
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
4b98ee80cf
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
3aadbe293c
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
be6812daac
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
9e3d9c1657
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
c6153c918e
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
d5deabe533
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
8b03e9362e
*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
dd8fe2476c
Fix recent breakage of IID creation.
...
Not part of the build.
2001-08-05 12:15:43 +00:00
markh%activestate.com
5af85a1e5f
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
b68e130ebb
Handle "install" target correctly.
...
Not part of the build.
2001-08-05 08:28:57 +00:00
markh%activestate.com
6a16738155
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
368789e543
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
4cf6912d7c
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
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
waterson%netscape.com
b74d6e1c8b
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
41a615e31d
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
9b018bb15d
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
6048f77b96
Fixes to Linux build process. Not part of the build.
2001-05-03 23:27:34 +00:00
markh%activestate.com
b2ca00a62d
Fix build problems with RH7.
2001-05-02 23:27:33 +00:00
markh%activestate.com
8ab8cd1c99
Only try and free an existing buffer for In params.
...
Not part of the build.
2001-05-02 23:26:54 +00:00