42 Commits

Author SHA1 Message Date
mhammond%skippinet.com.au
42d97d027f Move all Python initialization code into a new global
PyXPCOM_EnsurePythonEnvironment.  At the same time remove the old, dead
code behind PYXPCOM_USE_PYGILSTATE and LOADER_LINKS_WITH_PYTHON.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@194111 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 06:12:14 +00:00
mhammond%skippinet.com.au
3d10f65f51 Bug 129216: Integrate Python xpcom bindings with build system
Should not affect the default build!
r=benjamin, rs=brendan


git-svn-id: svn://10.0.0.236/trunk@193127 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 10:57:18 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mhammond%skippinet.com.au
e59ded1209 Reinstate the dlopen(PYTHON_SO,RTLD_NOW | RTLD_GLOBAL);
git-svn-id: svn://10.0.0.236/trunk@188332 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 11:29:15 +00:00
mhammond%skippinet.com.au
794db6c084 Remove dlopen no longer necessary now we have the dynamic python issue
sorted.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@188140 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 04:07:19 +00:00
mhammond%skippinet.com.au
d394dc834d Merge extensions/python/xpcom changes from DOM_AGNOSTIC2_BRANCH into the
trunk.


git-svn-id: svn://10.0.0.236/trunk@187878 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 05:50:28 +00:00
mhammond%skippinet.com.au
afc19f2f56 nsIComponentLoader is dead - long live nsIModuleLoader! Take the
opportunity to remove support for nsIComponentManagerObsolete, and
formalize a nice shutdown API.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@186246 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 05:05:45 +00:00
mhammond%skippinet.com.au
1cf8051395 Bug 297598 - bring pyxpcom up to speed.
r=alecf, sr=shaver - not used by any builds.


git-svn-id: svn://10.0.0.236/trunk@178999 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:52:19 +00:00
cbiesinger%web.de
2ce7d2cbfa Bug 129216 Integrate Python xpcom bindings with build system
patch by Mark Hammond <mhammond@skippinet.com.au> / Remy C. Cool
<dev-python@smartology.nl> / Christian Persch <chpe@gnome.org>
r+a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@174797 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 21:03:43 +00:00
gerv%gerv.net
d6544e324a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155092 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:14:17 +00:00
mhammond%skippinet.com.au
8c9e42bffb Don't keep the Python thread-lock - this prevents secondary threads from
starting.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@150791 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-30 23:15:33 +00:00
mhammond%skippinet.com.au
d85c11ee4d Tweak so it still builds with Python 2.2. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@145401 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:10:31 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
8d2f296cfd Update the way the license is expressed and minor makefile mods.
Still not building pending a decision on bug 66610.


git-svn-id: svn://10.0.0.236/trunk@87343 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:31:46 +00:00
markh%activestate.com
abe83923e1 First checkin of the Python XPCOM bindings.
git-svn-id: svn://10.0.0.236/trunk@87331 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 05:24:45 +00:00