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

110 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 5df390a44e 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 d39d9e6d59 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 6cc70ebd6c 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 d8d52c08c6 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 e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mang%subcarrier.org 3a0930b838 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 7eb2df8b18 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 c23c45c768 Fiddle whitespace style. 2000-06-14 04:46:22 +00:00
slamm%netscape.com 6c9d6f7e7b Ignore test executable. 2000-06-05 21:26:07 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mccabe%netscape.com c9d6f7fdfd 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 a195545285 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 23a577e795 Including nsTestSample.cpp. 2000-05-14 22:56:53 +00:00
dp%netscape.com 07ce6f295a Sample XPCOM Application 2000-05-14 22:49:36 +00:00
dp%netscape.com 06ef67f327 Removed NS_NewSample(). Using NS_IMPL_ISUPPORTS1. 2000-05-13 23:11:43 +00:00
dp%netscape.com 122f8d4d38 Removed unneccessary include of nsIModule.h 2000-05-05 05:51:43 +00:00
wtc%netscape.com a4917ee631 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 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com 24bd24cf92 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
dp%netscape.com a677f5f38e Updating sample generic module showing usage of registration and
unregistration hooks. r=scc
2000-01-31 22:14:43 +00:00
norris%netscape.com 1fb1fa891f Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
pp%ludusdesign.com 13efd9e8c6 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 fa21aee942 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 10aaba597e 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 0b053061e4 Changing comments for readability. 1999-11-16 07:14:49 +00:00
jdunn%netscape.com d70d78c6bf 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 786de4d241 Fixing spelling mistake. 1999-11-12 09:38:26 +00:00
warren%netscape.com 4471ddf809 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 61511e23f5 - 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 8cf34af6ff Modifying sample to use NS_MODULE macros. r=alecf 1999-11-09 23:28:10 +00:00
dmose%mozilla.org 8535dda53e 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 525a779e7a Link fixes. Not part of the Mozilla build. 1999-11-04 00:35:31 +00:00
shaver%netscape.com 48e279336d updated nsSample.js, long overdue (r=brendan) 1999-11-02 07:36:25 +00:00
tbogard%aol.net 71e4f3b611 Changed NS_ENSURE_NOT() to use NS_ENSURE_FALSE() per API change. 1999-11-01 22:54:06 +00:00
dp%netscape.com 34e3ad4a8e Making sample better by using COMPtr r=waterson 1999-10-21 21:32:17 +00:00
waterson%netscape.com ab20f5e245 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 6319c36ef2 Fixed a comment that was out of date 1999-10-08 23:41:39 +00:00
beard%netscape.com f2c930ff57 Modernized to use NSComponentStartup.o. Not part of build. 1999-10-03 02:58:48 +00:00
beard%netscape.com 19a9e452e9 added access path to find Sample.idl. Not part of build. 1999-10-03 02:58:20 +00:00
dp%netscape.com 0533415a4e Using NS_ENSURE and NS_GET_IID() 1999-10-01 20:13:55 +00:00
kipp%netscape.com 9cedfc89b5 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 bbed20eda3 Improved 1999-09-30 21:41:50 +00:00
kipp%netscape.com 9d2c6b8b2e Fixed to not pre-create the factory 1999-09-28 20:54:26 +00:00
kipp%netscape.com 8e07f81107 new 1999-09-28 19:03:20 +00:00
shaver%netscape.com 69a0052fba talk about JS components, remove gratuitous 'netscape' from progID 1999-09-21 21:23:02 +00:00
shaver%netscape.com 323716dede add JS version of nsISample component 1999-09-21 21:11:29 +00:00
mccabe%netscape.com 39e5fe6519 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 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
mccabe%netscape.com 779d51d186 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 1217e35037 Doc only. Merged README.html into xpconnect-sample.html. 1999-08-18 23:25:41 +00:00
mang%subcarrier.org e5fbf730c1 Comment only change.
Editing and pedantry.
1999-07-31 17:23:59 +00:00
mang%subcarrier.org ee203ff96f mang's lies added to rginda's supa-phatt comments 1999-07-28 04:05:15 +00:00
mang%subcarrier.org 9cabd2f1f4 Comments and documentation contributed by rginda@ndcico.com 1999-07-27 23:46:47 +00:00
mang%subcarrier.org 00ff287e96 Useful comments contributed by rginda@ndcico.com 1999-07-22 02:46:53 +00:00
mang%subcarrier.org 2b32bb2d68 Not part of the build.
Initial documentation for the XPConnect sample
1999-07-09 22:51:50 +00:00
sfraser%netscape.com 8d6e399103 First Checked In. 1999-06-15 23:39:46 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
waterson%netscape.com 71eedb453d Initial revision. 1999-05-12 23:54:18 +00:00
waterson%netscape.com e635b3068a Added sample HTML. 1999-05-12 23:43:25 +00:00
waterson%netscape.com 207d9a7476 Initial revision. 1999-05-12 23:37:45 +00:00