Граф коммитов

160 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
bryner%brianryner.com 06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
sfraser%netscape.com b9251480f2 Fix XPCOM tests linkage error on Darwin (only visible on clobber builds that build tests). r/sr=bryner. 2003-02-21 00:48:21 +00:00
dougt%netscape.com 30307069cf fixing os2 bustage 2003-01-14 18:08:49 +00:00
dougt%netscape.com 4cc2321a80 fixing bustage 2003-01-14 04:35:55 +00:00
dougt%netscape.com aa97f212b1 Moving nsEmbedString to mozilla/string. r=cls. 2003-01-14 03:41:52 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
dougt%netscape.com 7ae738be67 Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea 2002-10-18 03:46:04 +00:00
dougt%netscape.com 33906feccd Fixing bustage 2002-10-18 03:32:59 +00:00
dougt%netscape.com 20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dougt%netscape.com 1c8d85478b More XPCOM Glue changes and fixes. Makefile change which can land since 154319 is fixed. r=waterson, sr=rpotts. bug 154319 2002-07-01 22:22:06 +00:00
dougt%netscape.com 47fc714a87 Damn the nmake build system and the mac. 2002-07-01 21:39:18 +00:00
dougt%netscape.com 529468ad0d backing out last makefile change 2002-07-01 21:13:22 +00:00
dougt%netscape.com 3aa905362b More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. missed this. 2002-07-01 21:11:47 +00:00
dougt%netscape.com c327e1c6c3 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2002-07-01 20:37:17 +00:00
dougt%netscape.com 9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
dougt%netscape.com ea6c773a85 adding #include for stdio for printf 2002-06-11 19:50:28 +00:00
seawood%netscape.com c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
seawood%netscape.com 717f160cfa Use debug() instead of dump() so that js component registration output only shows up in debug builds.
Bug #138726 r=rginda sr=alecf
2002-04-23 07:30:11 +00:00
mkaply%us.ibm.com bd2d6cf2fc #134742
r=cls, a=asa
Add SHORT_LIBNAMEs for some DLLs
2002-04-02 23:20:41 +00:00
dougt%netscape.com 40642fc34c 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
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
dougt%netscape.com 849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
bzbarsky%mit.edu edfb3b268f Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com 55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55: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
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
alecf%netscape.com c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +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
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
cls%seawood.org d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
dbaron%fas.harvard.edu 94bf29bec5 Attempt to fix OS/2 bustage by adding the programs listed in SIMPLE_PROGRAMS to CPPSRCS as well, as they are in other makefiles that use SIMPLE_PROGRAMS. r=disttsc@bart.nl b=75163 2001-04-14 18:36:47 +00:00
dprice%netscape.com 8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
dprice%netscape.com edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
shaver%mozilla.org fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
dprice%netscape.com 199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dprice%netscape.com 997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
cls%seawood.org 434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
brendan%mozilla.org 0352ff10a7 Define QI now that XPConnect wraps JS objects; fix comments (NOT PART OF BUILD). 2000-09-18 02:31:11 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
rayw%netscape.com 6385bb207a Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.
2000-08-10 20:12:08 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mang%subcarrier.org ed9753da0a progid no longer defined in nsISample.idl
Part of previous fix to bug 10904
2000-06-27 06:35:17 +00:00
mang%subcarrier.org ccf3a3a8ca partial fix for bug 10904 - sample now works in M15
- moves CID/ProgID into header file
- adds more calls to enablePrivilege
- renames "write" callback to something that works as intended

a=brendan@mozilla.org
r=scc@netscape.com
2000-06-27 05:54:46 +00:00
brendan%mozilla.org 190a0bea06 Fiddle whitespace style. 2000-06-14 04:46:22 +00:00
slamm%netscape.com cb0d1c2aa3 Ignore test executable. 2000-06-05 21:26:07 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mccabe%netscape.com 05fabaf02e Not used by Mozilla!
(also fixes a warning)

Change to use non-deprecated js getter/setter syntax.
2000-05-24 07:20:11 +00:00
mccabe%netscape.com 271ab4124c Fixes to the xpcom sample. This code does not go into the Mozilla product.
- Update progid mentioned in the .html file to that actually used in the code.

- Remove outdated nsSampleFactory.cpp so nobody gets confused, but add note to nsSampleModule.cpp in its memory, as it had extensive comments.
2000-05-21 08:33:31 +00:00
dp%netscape.com aca59908a3 Including nsTestSample.cpp. 2000-05-14 22:56:53 +00:00
dp%netscape.com 3a7992a5f0 Sample XPCOM Application 2000-05-14 22:49:36 +00:00
dp%netscape.com 11476feb1a Removed NS_NewSample(). Using NS_IMPL_ISUPPORTS1. 2000-05-13 23:11:43 +00:00
dp%netscape.com 51248669a0 Removed unneccessary include of nsIModule.h 2000-05-05 05:51:43 +00:00
wtc%netscape.com 9377345e33 Bugzilla bug #27457: prepare the Windows build system for NSPR library
name change.  Define a new makefile variable LIBPLC.
Modified files:
mozilla/config/config.mak
mozilla/dom/src/build/makefile.win
mozilla/extensions/wallet/cookieviewer/makefile.win
mozilla/extensions/wallet/editor/makefile.win
mozilla/extensions/wallet/signonviewer/makefile.win
mozilla/extensions/wallet/walletpreview/makefile.win
mozilla/mailnews/import/eudora/src/makefile.win
mozilla/mailnews/import/oexpress/makefile.win
mozilla/mailnews/import/outlook/src/makefile.win
mozilla/mailnews/import/src/makefile.win
mozilla/mailnews/import/text/src/makefile.win
mozilla/netwerk/protocol/jar/src/makefile.win
mozilla/profile/Acctidl/makefile.win
mozilla/profile/src/makefile.win
mozilla/xpcom/sample/makefile.win
2000-02-15 14:35:15 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com 6366d6d779 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
dp%netscape.com ddcd8ae7df Updating sample generic module showing usage of registration and
unregistration hooks. r=scc
2000-01-31 22:14:43 +00:00
norris%netscape.com b0ba1f5b70 Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
mccabe%netscape.com 0666068a75 Fix to 21512.
Added big note saying 'please disable security before trying to run
this' so nobody gets frustrated.

Updated sample component progid reference to actually match the .cpp.
Now the page actually works!  (John Morrison
<3jrgm@qlink.queensu.ca> caught this in mozilla.xpcom)

Thanks to Rick Bradley <roundeye@bellsouth.net> for pointing me to the
problem, and for encouraging me to add a note.

r=mccabe.  Not part of the build.
1999-12-12 05:41:29 +00:00
dp%netscape.com aa23a77403 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-12-01 00:21:53 +00:00
dp%netscape.com f2cbd4b38c Changing comments for readability. 1999-11-16 07:14:49 +00:00
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
dp%netscape.com 4588ce8eaf Fixing spelling mistake. 1999-11-12 09:38:26 +00:00
warren%netscape.com 7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
shaver%netscape.com c73533acb7 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
dp%netscape.com e04050e411 Modifying sample to use NS_MODULE macros. r=alecf 1999-11-09 23:28:10 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mccabe%netscape.com 97953ca6c3 Link fixes. Not part of the Mozilla build. 1999-11-04 00:35:31 +00:00
shaver%netscape.com 5d531a717f updated nsSample.js, long overdue (r=brendan) 1999-11-02 07:36:25 +00:00
tbogard%aol.net 00cbf17523 Changed NS_ENSURE_NOT() to use NS_ENSURE_FALSE() per API change. 1999-11-01 22:54:06 +00:00
dp%netscape.com 719011d7ac Making sample better by using COMPtr r=waterson 1999-10-21 21:32:17 +00:00
waterson%netscape.com 8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
kipp%netscape.com 3e4961fbf5 Fixed a comment that was out of date 1999-10-08 23:41:39 +00:00
beard%netscape.com aae57945f3 Modernized to use NSComponentStartup.o. Not part of build. 1999-10-03 02:58:48 +00:00
beard%netscape.com 9f9e1e8d58 added access path to find Sample.idl. Not part of build. 1999-10-03 02:58:20 +00:00
dp%netscape.com 73ae297aae Using NS_ENSURE and NS_GET_IID() 1999-10-01 20:13:55 +00:00
kipp%netscape.com 7a4fd32215 added files: mozilla/xpcom/sample/nsSampleModule.cpp, removed files: mozilla/xpcom/sample/nsSampleFactory.cpp 1999-09-30 21:43:40 +00:00
kipp%netscape.com 33105cb78c Improved 1999-09-30 21:41:50 +00:00
kipp%netscape.com af5570e017 Fixed to not pre-create the factory 1999-09-28 20:54:26 +00:00
kipp%netscape.com 493d404539 new 1999-09-28 19:03:20 +00:00
shaver%netscape.com 1c47d14cd9 talk about JS components, remove gratuitous 'netscape' from progID 1999-09-21 21:23:02 +00:00
shaver%netscape.com a3aa568ef2 add JS version of nsISample component 1999-09-21 21:11:29 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
briano%netscape.com 04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
mccabe%netscape.com d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
mang%subcarrier.org c86e9b2cce Doc only. Merged README.html into xpconnect-sample.html. 1999-08-18 23:25:41 +00:00