107 Commits

Author SHA1 Message Date
mhammond%skippinet.com.au
33152e29f9 We were breaking Python's rules for comparison result returns - and
this only started mattering in Python 2.3.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@145091 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 00:23:45 +00:00
mhammond%skippinet.com.au
446028483d 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.


git-svn-id: svn://10.0.0.236/trunk@145049 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 07:30:55 +00:00
mhammond%skippinet.com.au
f0a5bd7907 Convert constants from hex to dec, to prevent warnings in Python 2.3
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@144917 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-17 11:02:34 +00:00
mhammond%skippinet.com.au
33cdcb42bc 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.


git-svn-id: svn://10.0.0.236/trunk@144912 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-17 06:39:00 +00:00
mhammond%skippinet.com.au
75e9d25200 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.


git-svn-id: svn://10.0.0.236/trunk@142252 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 01:23:22 +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
3068ede9bc PyXPCOM: some strings were being terminated at the first \0, and some extra
tests.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@141590 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 11:54:40 +00:00
mhammond%skippinet.com.au
50caa43aa2 Make use if the new PyGILState_ API if available.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@141465 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 02:47:31 +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
ecda3191b7 Prevent allocating zero bytes.
git-svn-id: svn://10.0.0.236/trunk@141219 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 01:23:40 +00:00
mhammond%skippinet.com.au
21f6a88054 Bring the Python XPCOM binding IO routines in line with Moz 1.4.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@141184 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 14:39:31 +00:00
mhammond%skippinet.com.au
7e7a9c8396 Make it simpler to implement sub-classes for the loader and module objects.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@140548 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:00:59 +00:00
mhammond%skippinet.com.au
8abc401471 Add support for the timeline service. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@140547 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:00:17 +00:00
mhammond%skippinet.com.au
bac0f34e54 If repr() of a component failed we would crash. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@140546 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:59:18 +00:00
mhammond%skippinet.com.au
1ab40ef081 repr() of an object could fail - prevent this. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@140545 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:58:16 +00:00
mhammond%skippinet.com.au
b621fdf4e8 Moving towards making an optional part of the build. Not part of the
build :)


git-svn-id: svn://10.0.0.236/trunk@140483 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 14:17:28 +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
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +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
sicking%bigfoot.com
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
mhammond%skippinet.com.au
e191ed4bda nsCString->nsString API changes. Merged from 1.0 branch.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@122011 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:41:04 +00:00
mhammond%skippinet.com.au
499548dbb4 Update build instructions.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120669 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 05:14:38 +00:00
mhammond%skippinet.com.au
aac9b0435e We are now building with the standard build system - yay!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120627 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:23:56 +00:00
mhammond%skippinet.com.au
148e18b8fb 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!


git-svn-id: svn://10.0.0.236/trunk@120625 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:16:47 +00:00
mhammond%skippinet.com.au
47ee49babc Final fixes for Unix!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120624 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:09:51 +00:00
mhammond%skippinet.com.au
05172bf801 Merge in changes from 1.8.2.3 on the 1.0 branch.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120623 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:02:32 +00:00
mhammond%skippinet.com.au
cedee7a50c Moving towards full autoconf build support.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 11:05:25 +00:00
mhammond%skippinet.com.au
be746a0b08 Some changes for nsIFile moving to nsACString.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120533 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 11:04:37 +00:00
seawood%netscape.com
bfd788cd4d 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


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu
a137f4e337 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117336 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:03:32 +00:00
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