Commit Graph
40 Commits
Author SHA1 Message Date
[email protected] 8e206e0a07 Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
[email protected] d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, [email protected]
2000-01-11 20:49:15 +00:00
[email protected] b75c0c2215 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
<[email protected]> caught this in mozilla.xpcom)

Thanks to Rick Bradley <[email protected]> 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
[email protected] a50b5cf321 NS_GET_IID(). Thanks to patch from [email protected] [email protected] 1999-12-01 00:21:53 +00:00
[email protected] 9e68187213 Changing comments for readability. 1999-11-16 07:14:49 +00:00
[email protected] 7a2898a716 Fixing all unresolved symbols on unix. The bug has the diff's
r [email protected] (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
[email protected] e50576792a Fixing spelling mistake. 1999-11-12 09:38:26 +00:00
[email protected] 8f9dde0b62 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
[email protected] 5ee5b20534 - 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
[email protected] dabf304572 Modifying sample to use NS_MODULE macros. r=alecf 1999-11-09 23:28:10 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] 360bffda62 Link fixes. Not part of the Mozilla build. 1999-11-04 00:35:31 +00:00
[email protected] 134e22647f updated nsSample.js, long overdue (r=brendan) 1999-11-02 07:36:25 +00:00
[email protected] 0054082dbc Changed NS_ENSURE_NOT() to use NS_ENSURE_FALSE() per API change. 1999-11-01 22:54:06 +00:00
[email protected] 9bf30d6fcf Making sample better by using COMPtr r=waterson 1999-10-21 21:32:17 +00:00
[email protected] 7f6df0914a 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
[email protected] a343bc5ccb Fixed a comment that was out of date 1999-10-08 23:41:39 +00:00
[email protected] 515f7db60e Modernized to use NSComponentStartup.o. Not part of build. 1999-10-03 02:58:48 +00:00
[email protected] e36dfd368d added access path to find Sample.idl. Not part of build. 1999-10-03 02:58:20 +00:00
[email protected] 69d6e93fa7 Using NS_ENSURE and NS_GET_IID() 1999-10-01 20:13:55 +00:00
[email protected] a72c655b4d added files: mozilla/xpcom/sample/nsSampleModule.cpp, removed files: mozilla/xpcom/sample/nsSampleFactory.cpp 1999-09-30 21:43:40 +00:00
[email protected] 1582e4b6e5 Improved 1999-09-30 21:41:50 +00:00
[email protected] a6ef7e9040 Fixed to not pre-create the factory 1999-09-28 20:54:26 +00:00
[email protected] fe38d20c08 new 1999-09-28 19:03:20 +00:00
[email protected] 7d6be4cc88 talk about JS components, remove gratuitous 'netscape' from progID 1999-09-21 21:23:02 +00:00
[email protected] 2e974a0ec3 add JS version of nsISample component 1999-09-21 21:11:29 +00:00
[email protected] bf4d6b0d16 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 ([email protected]) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth ([email protected]) and Mike Shaver ([email protected]) 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
[email protected] 0be0023bcc General cleanup. 1999-09-18 02:12:56 +00:00
[email protected] dc85343e9f 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
[email protected] dd9997eb43 Doc only. Merged README.html into xpconnect-sample.html. 1999-08-18 23:25:41 +00:00
[email protected] 228805befa Comment only change.
Editing and pedantry.
1999-07-31 17:23:59 +00:00
[email protected] 12ea864d05 mang's lies added to rginda's supa-phatt comments 1999-07-28 04:05:15 +00:00
[email protected] 0de80ed1f8 Comments and documentation contributed by [email protected] 1999-07-27 23:46:47 +00:00
[email protected] 25d7188907 Useful comments contributed by [email protected] 1999-07-22 02:46:53 +00:00
[email protected] 2b5883e3ab Not part of the build.
Initial documentation for the XPConnect sample
1999-07-09 22:51:50 +00:00
[email protected] b95a48f0fb First Checked In. 1999-06-15 23:39:46 +00:00
[email protected] 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
[email protected] 0e6b449baa Initial revision. 1999-05-12 23:54:18 +00:00
[email protected] 252ec95a62 Added sample HTML. 1999-05-12 23:43:25 +00:00
[email protected] 99727ffcef Initial revision. 1999-05-12 23:37:45 +00:00