Michael Wu
4945836311
Bug 533038 - 1. Generalize manifest reading code and add api for reading manifests from jars, r=bsmedberg a=blocking-beta6
2010-09-08 20:37:11 -07:00
Benjamin Smedberg
2e749fe369
Fix omnijar from bug 579178 - move the manifest ziploader code into xpcom/components, and don't load the same JAR a bunch of times.
...
--HG--
rename : modules/libjar/nsManifestZIPLoader.cpp => xpcom/components/nsManifestZIPLoader.cpp
rename : modules/libjar/nsManifestZIPLoader.h => xpcom/components/nsManifestZIPLoader.h
2010-08-04 14:09:21 -04:00
Benjamin Smedberg
fdd72b1eb4
Bug 579178 part A - Code changes to add a "manifest" directive to read sub-manifests and read only the root chrome.manifest file, instead of enumerating components/*.manifest and chrome/*.manifest. Review comments by Mossop to be addressed in a followup commit.
2010-07-22 10:31:29 -04:00
Benjamin Smedberg
45886119d2
Bug 568691 - Fix MOZ_OMNIJAR registration, r=mwu
...
--HG--
rename : modules/libjar/nsXPTZipLoader.cpp => modules/libjar/nsManifestZIPLoader.cpp
rename : modules/libjar/nsXPTZipLoader.h => modules/libjar/nsManifestZIPLoader.h
rename : xpcom/reflect/xptinfo/public/nsIXPTLoader.idl => xpcom/components/nsIManifestLoader.idl
2010-07-02 09:53:19 -04:00
Benjamin Smedberg
27dd21bd1d
Implement compatibility wrapper so that binary components can be compatible with both Firefox 3.6 and Firefox 4, as a result of registration changes from bug 568691.
...
--HG--
rename : xpcom/components/GenericFactory.cpp => xpcom/glue/GenericFactory.cpp
rename : xpcom/components/GenericFactory.h => xpcom/glue/GenericFactory.h
2010-06-24 16:36:27 -04:00
Benjamin Smedberg
c4c13393d2
Revert many of the interface changes from bug 568691, so that binaries can be made which are compatible with Firefox 3.6 and Firefox 4. Note that this is not an ongoing process: it will not be possible to make single binary components which are compatible with both Firefox 4 and Firefox 4.1, but you will be able to ship two components and select one based on the platform version.
2010-06-24 14:31:18 -04:00
Benjamin Smedberg
cae1800556
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
432c4422b8
Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
...
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.
Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
4d7e3ff7df
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Benjamin Smedberg
28fb767bd1
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
benjamin@smedbergs.us
ff3d560f4d
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
2008-02-21 12:39:20 -08:00
benjamin@smedbergs.us
b0487ed29a
Bug 412320 - Try code-generation for QI impls, r=roc+luser
2008-01-25 09:14:48 -08:00
bent.mozilla@gmail.com
294d273fcd
Bug 37795 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
2007-04-26 06:53:48 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
benjamin%smedbergs.us
624a4d7ef0
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
2008-02-21 20:39:23 +00:00
benjamin%smedbergs.us
432ff728c7
Bug 412320 - Try code-generation for QI impls, r=roc+luser
2008-01-25 17:14:53 +00:00
bent.mozilla%gmail.com
fadc33a800
Bug 377995 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
2007-04-26 13:53:48 +00:00
cbiesinger%web.de
aad4b05e77
Bug 315598 Allow more than one global redirect observer, using the
...
"net-channel-event-sinks" category.
r=darin sr=bz
2006-02-22 14:07:21 +00:00
bsmedberg%covad.net
3417e3d31f
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
2005-12-13 17:55:43 +00:00
bsmedberg%covad.net
28e61db7cc
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
43aed2b3c8
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
2005-12-02 16:34:42 +00:00
bsmedberg%covad.net
1172c33dfc
Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
2005-11-08 18:17:49 +00:00
bsmedberg%covad.net
df550d0124
Bug 296561 - rework static component loading so that nsIXULAppInfo/Runtime/etc are available during autoregistration/xpcom-startup notification (and make static component loading saner in general) - r=shaver+dougt, a=asa
2005-07-21 13:33:43 +00:00
bsmedberg%covad.net
28689c6ab0
Bug 298044 - Dynamically load XPCOM dependent libs as part of the XPCOM standalone glue bootstrap process, r=darin a=asa
2005-07-14 18:42:59 +00:00
bsmedberg%covad.net
20b57929a4
Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
2005-04-01 18:22:57 +00:00
bsmedberg%covad.net
d0df7546cb
Bug 267040 - Remove obsolete XPCOM dllexports for the old component manager r=darin
2005-03-22 20:37:18 +00:00
bryner%brianryner.com
1435145ce6
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
2004-11-24 22:48:45 +00:00
darin%meer.net
373f51f2c6
fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron
2004-11-23 20:53:38 +00:00
darin%meer.net
4a2c22ea42
landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt
2004-05-18 05:39:45 +00:00
gerv%gerv.net
6f486a3c92
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bsmedberg%covad.net
161af9815b
Fix static build bustage from bug 223084 - r=bryner Sorry about that!
2003-10-31 20:50:22 +00:00
bsmedberg%covad.net
940aae9127
Bug 223084 - enable the static component loader by default r/sr=dougt
2003-10-30 21:11:07 +00:00
jaggernaut%netscape.com
20004e3489
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
dougt%netscape.com
4365133d06
removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
2003-04-08 20:37:02 +00:00
dougt%netscape.com
be629223b6
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
dougt%netscape.com
291bed6f90
relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
2003-03-05 03:22:12 +00:00
tor%cs.brown.edu
7d6a0e3ab4
Backout of 193442/191415. a=brade,dougt
2003-03-03 21:00:07 +00:00
dougt%netscape.com
3cdc06fdfe
Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
2003-02-28 21:30:35 +00:00
seawood%netscape.com
583ec4d823
nobrainer changes while thinking about mingw support
...
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com
4588fb970a
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
seawood%netscape.com
d1bef3cbe0
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
dougt%netscape.com
ab3dc7358c
Moves nsIComponentRegistrar into the SDK. r=darin, sr=alecf, a=asa, b=167577
2002-09-09 21:35:25 +00:00
seawood%netscape.com
97fd6e4aed
Removing unused defines:
...
_IMPL_NS_BASE (bug #162142 )
_IMPL_NS_GFXONXP (bug #162145 )
_IMPL_NS_UI (bug #162183 )
B_ONE_M (bug #162196 )
XP_NEW_SELECTION (bug #162230 )
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
dougt%netscape.com
ee613011bc
Fixes the following:
...
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final. This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface. This should land for 1.1b since users of the current category manager will have to update their components.
157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.
157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null. It is a bandaide fix as the real problems involves retooling the directory enumerator.
157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do. The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.
r/sr=alecf@netscape.com , rpotts@netscape.com . a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
dougt%netscape.com
252ea143d4
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
2002-06-14 21:33:05 +00:00
dougt%netscape.com
4c803332db
130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org
2002-03-21 23:43:21 +00:00
seawood%netscape.com
b5ed18a118
Move the following files into the xpcom/glue dir:
...
nsGenericFactory.cpp
nsIGenericFactory.h
nsIInterfaceRequestorUtils.h
nsISupportsImpl.h
nsISupportsutils.h
nsIWeakReferenceUtils.h
Bug #120474 r=dougt a=asa
2002-03-21 09:36:47 +00:00
dougt%netscape.com
de4c2451f4
Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
2002-02-25 23:20:01 +00:00
pete%alphanumerica.com
3ca15cde59
reverting back to original
...
define is not needed here
--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com
65d64877dd
seeing if this fixes the linux bustage
...
--pete
2002-01-27 18:47:17 +00:00