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

201 Коммитов

Автор SHA1 Сообщение Дата
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
mang%subcarrier.org 1c8a4c1c43 Comment only change.
Editing and pedantry.
1999-07-31 17:23:59 +00:00
mang%subcarrier.org 7bbd81cd83 mang's lies added to rginda's supa-phatt comments 1999-07-28 04:05:15 +00:00
mang%subcarrier.org 8584284918 Comments and documentation contributed by rginda@ndcico.com 1999-07-27 23:46:47 +00:00
mang%subcarrier.org 9e38b1bc3b Useful comments contributed by rginda@ndcico.com 1999-07-22 02:46:53 +00:00
mang%subcarrier.org 8d53f7fafb Not part of the build.
Initial documentation for the XPConnect sample
1999-07-09 22:51:50 +00:00
sfraser%netscape.com 220f029625 First Checked In. 1999-06-15 23:39:46 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
waterson%netscape.com cd4db87316 Initial revision. 1999-05-12 23:54:18 +00:00
waterson%netscape.com 08b652ea66 Added sample HTML. 1999-05-12 23:43:25 +00:00
waterson%netscape.com 36c353760e Initial revision. 1999-05-12 23:37:45 +00:00