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

2977 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 23746f183e Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
sspitzer%netscape.com 40cc97e631 ignore generated test app. 1999-12-01 22:39:22 +00:00
sfraser%netscape.com cf986946a8 Add string versions of the line terminatin macros. r=pinkerton 1999-12-01 22:26:58 +00:00
sfraser%netscape.com 1348008f00 Adding nsLinebreakConverter.cpp, which was reviewed by pinkerton. 1999-12-01 22:24:31 +00:00
sfraser%netscape.com 1107804e01 Adding nsLinebreakConverter to the build. 1999-12-01 22:23:58 +00:00
sfraser%netscape.com 6c3aa7008e Export nsLinebreakConverter.h 1999-12-01 22:22:21 +00:00
sfraser%netscape.com 9ee798b150 First Checked In. 1999-12-01 22:21:30 +00:00
sfraser%netscape.com 9915948ffe Include stdio.h with system paths, not user paths. No bug, r=mozbot. 1999-12-01 06:12:01 +00:00
warren%netscape.com bfa75403be Made WarnIfFalse not call abort. Made abort be continuable on Windows. r=travis 1999-12-01 05:51:45 +00:00
waterson%netscape.com a809668d2d Check in initial, non-working XPTCall code from Linux-PPC. 1999-12-01 04:56:46 +00:00
mcafee%netscape.com 07d4d59215 Removing EXPORTS, parent makefile explicitly points at this directory now. r=bryner 1999-12-01 02:30:38 +00:00
waterson%netscape.com ccf2e09e26 Try to fix build bustage. 1999-12-01 02:25:28 +00:00
mcafee%netscape.com 71f70b790e missing exports 1999-12-01 02:24:01 +00:00
waterson%netscape.com 1e906224e6 Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver 1999-12-01 00:37:11 +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 4ad2a038c2 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:44:59 +00:00
dp%netscape.com 187770cd22 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
pinkerton%netscape.com 802ad7f02d added setDataWithLength to nsISupports[W]String r=jband. 1999-11-30 22:06:05 +00:00
jfrancis%netscape.com 31204e1500 iid for nsIAbsorbingTransaction 1999-11-30 14:31:18 +00:00
warren%netscape.com 1bd444e6dd Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl 1999-11-30 05:18:39 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
dougt%netscape.com 67b387409f Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
fur%netscape.com 24ae60dea8 Disable the temporary assertion for embedded NUL characters in nsString::Append(),
so that clients of nsString can make use of the changes that rickg added which
allow embedded NULs.  r: rickg
1999-11-29 21:32:53 +00:00
dp%netscape.com f897390478 NS_RELEASE if there isn't a global service manager 1999-11-29 21:02:51 +00:00
sspitzer%netscape.com 98214e5d2c fix warnings 1999-11-29 20:40:39 +00:00
shaver%netscape.com 4cf5eca87c track nsIFile changes (not part of build) 1999-11-29 15:17:57 +00:00
shaver%netscape.com 528cb517ac - Portions of nsIFile and nsIDirectoryEnumerator implementations for Unix.
- Various missing-newline-at-end-of-file fixes from Andrew Taylor
  <Andrew.Taylor@cal.montage.ca>.
- Fixed case in nsIDirectoryEnumerator.idl
- Added |normalize()|, |truncate()| and |target|, |isSpecial()| to nsIFile.idl
- Changed |isExists()| to |exists()|, |fileName| to |leafName|, |isEqual()| to
  |equals| and added |in boolean recur| to |isContainedIn()|.
- Corrected widespread misspelling of |NS_ERROR_FILE_UNRECOGNIZED_PATH|.
- Partially updated Windows code to track changes.
Partially addresses 17948, r=dougt
1999-11-29 14:55:03 +00:00
tbogard%aol.net ff2fe303c1 Flipped the default of the Windows Warning box that can come up. It now requires an environment variable be set to come up. 1999-11-29 05:50:22 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 1c152cf44e Added do_GetInterface to the dlldeps so it is properly exported from the DLL. 1999-11-28 02:17:24 +00:00
tbogard%aol.net 04cd80bfc7 Turned on the do_GetInterface implementation by removing the #ifdef 0. 1999-11-28 02:16:22 +00:00
tbogard%aol.net e180c28cb1 Added nsIInterfaceRequestor.cpp to the build. 1999-11-28 02:15:11 +00:00
shaver%netscape.com 11dfd58e9d Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.
1999-11-27 17:47:05 +00:00
sspitzer%netscape.com e83434a276 fix 974 warnings by declaring a virtual destructor 1999-11-27 02:17:23 +00:00
shaver%netscape.com 506027739d Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
akkana%netscape.com fbc4fa0011 AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver 1999-11-24 21:58:20 +00:00
shaver%netscape.com 05a56ccb2b update to track catchguard syntax, r=cls 1999-11-24 03:36:26 +00:00
frankm%eng.sun.com 062973b3c9 [Bugs 18486, 18488; r=mccabe] XPIDL->Java: always make first char of methods lowercase, translate PRBool to Java boolean 1999-11-24 02:08:34 +00:00
jdunn%netscape.com df18a3e659 newline required at eof for HPUX 1999-11-24 00:43:50 +00:00
waterson%netscape.com 76357226dd Remove vestigial addref that was leaking proxy objects. r=dougt 1999-11-23 22:05:44 +00:00
dougt%netscape.com 4496a9fa7a 1) #ifdefing out dll entry points from nsProxyObjectManager which should not
be used

2) Fix crashing bug in nsProxiedService when a CI fails.  Converted this to
use nsCOMPtrs

3) Fixing bug 18109.  This involved changing what information about hash values
we use.

Tested FTP dir and file, and IMAP.
1999-11-23 08:53:44 +00:00
scc%netscape.com fbff3b08f2 Added |do_GetService| of a specific service manager as opposed to the global one. Fixed the appropriate macro accordingly. Please note: travis will be supporting this change until I'm back online in Michigan. r=dp. 1999-11-23 05:55:33 +00:00
scc%netscape.com aafea758f4 added macros preparing us to move to table-driven QI. Please note: travis will be supporting any problems with this checkin till I'm back online in Michigan. r=tbogard 1999-11-23 05:55:31 +00:00
scc%netscape.com ae77cc886d fixed up to match recent changes made to weak references. r=tbogard 1999-11-23 03:30:06 +00:00
scc%netscape.com e0d57ccb0f Added the file "nsIInterfaceRequestor.cpp" to the project. Contents currently |#if|d out. Travis will add this file to the other builds, and then enable. This adds |do_GetInterface| functionality. r=tbogard. 1999-11-23 03:14:42 +00:00
scc%netscape.com fbbb93990f commented out, so it could be added to the project. Travis will uncomment it when he adds it to the windows and unix builds. r=tbogard 1999-11-23 03:13:05 +00:00
scc%netscape.com c80acd0854 don't ASSERT that it doesn't support weak references for NULL. r=pinkerton 1999-11-23 03:10:02 +00:00
scc%netscape.com af74e910fb First Checked In. 1999-11-23 02:50:17 +00:00
scc%netscape.com 9b497d2d6b needs |NS_EXPORT| ... still not turned on 1999-11-22 23:11:15 +00:00
scc%netscape.com 48fc03de52 Added |do_GetInterface| (not turned on yet). This will be turned on when we add a file for the implementation. r=tbogard 1999-11-22 23:09:05 +00:00
scc%netscape.com 5c2a8a5294 clear out the result in |do_CreateInstance| on error. r=pinkerton 1999-11-22 23:01:35 +00:00
scc%netscape.com 3122c37753 clear out result in |do_QueryReferent| on error; assert in |NS_GetWeakReference| if the source object doesn't support weak references; also return NS_ERROR_NO_INTERFACE in release builds. r=pinkerton 1999-11-22 22:59:21 +00:00
cls%seawood.org 496006a235 Do immediate evaluations instead of the default deferred. (And also cause coffee to rebuild in that directory.) 1999-11-22 19:28:30 +00:00
dveditz%netscape.com 777a3921cc x86 win should join unix and alpha win part of DBG_LOG macro 1999-11-22 08:41:04 +00:00
fur%netscape.com 90c108fd78 In support of bug #8305 (Implement cache)
Replaced WriteStringZ()/ReadStringZ() stubs with trivial implementations.
Simplified existing code. r: none
1999-11-21 08:01:08 +00:00
fur%netscape.com 19a79cf816 Fixed indentation 1999-11-21 07:58:53 +00:00
duncan%be.com a8e97d16e1 Clone nsFileSpec::Truncate from nsFileSpecUnix.cpp, r=shaver. 1999-11-20 17:57:42 +00:00
scc%netscape.com 290a51fcd4 fixed an annoying, but rare, bug where an |nsCOMPtr| in an ownership ring could |Release()| twice. See the comment in the code for details. r=waterson 1999-11-20 08:19:24 +00:00
warren%netscape.com 72b2f1fb4a Fixed indentation. 1999-11-20 07:30:26 +00:00
warren%netscape.com c66f04c585 Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
dp%netscape.com 0b9b87c92c Eliminating leak of factory when getting it from hashtable.
Using NS_IMPL_ISUPPORTS1
Removing NS_DEFINE_IID
r=warren@netscape.com
1999-11-20 07:21:53 +00:00
dp%netscape.com 8d345600b2 Using COMPtr 1999-11-20 07:16:42 +00:00
dp%netscape.com 1d867ed423 Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com 1999-11-20 07:15:23 +00:00
warren%netscape.com 1948c505e0 Added isascii for mac 1999-11-20 05:46:04 +00:00
warren%netscape.com 3693ef82f8 Fixed include for non-debug builds. 1999-11-20 05:27:35 +00:00
warren%netscape.com f2c80822b2 Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg 1999-11-20 04:22:26 +00:00
rickg%netscape.com 5fb75a048a corrected type mismatch in memory error status of nsStrings; r=none 1999-11-19 08:10:40 +00:00
rickg%netscape.com cb7b79c204 added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster 1999-11-19 08:05:30 +00:00
nisheeth%netscape.com 0d1be26505 Attempt to fix mac build bustage. 1999-11-19 07:37:04 +00:00
mcafee%netscape.com 887a432805 I forgot more stuff for prefs, fixing bustage per my last checkin here. 1999-11-19 05:54:58 +00:00
mcafee%netscape.com c325afa7e1 includes were incorrectly wrapped in the NS_BUILD_REFCNT_LOGGING define, fixing mac/win32 bustage. 1999-11-19 05:08:58 +00:00
nisheeth%netscape.com f6f3439554 r=harishd.
- The stack walking code now works on windows.  We were initializing the symbol handler on each DLL load which was resetting its symbol tables.  Now, we don't re-init the symbol handler repeatedly.

- Added support for an environment variable, XPCOM_REFCNT_LOG_ENABLE_VIA_PREF.  When this is set to 1, refcount logging is done based on whether the "Enable XPCOM refcount log" pref in the Debug pane is set.  If this is not set, refcount logging is not affected by the pref.
1999-11-19 03:50:28 +00:00
dougt%netscape.com 3c56a40e88 making sure that we do not empty our segmented buffer if we did not create it
bug fix 19290.  submitted by bienvenu, r=dougt.
1999-11-19 03:01:33 +00:00
warren%netscape.com 6770f57524 Fixed generic module factory lookup to look in cache. 1999-11-19 02:46:50 +00:00
fur%netscape.com 77db84cccd Fix build bustage, maybe. Get rid of unnecessary const 1999-11-19 02:35:02 +00:00
fur%netscape.com 47f23d1f43 Took out unnecessary const, which will hopefully unbusticate unix build 1999-11-19 02:25:04 +00:00
beard%netscape.com f187f89fdf fix C string leak, bug=18699, r=shaver 1999-11-19 02:14:23 +00:00
fur%netscape.com 9b088cf1a4 In support of #8305 (implement cache).
Add Truncate() method to nsIFileSpec and implement in nsFileSpecImpl

[Mac Implementation: sdagley, r: sfraser]
[Win implementation: fur, r:rogerl]
[Unix implementation: yixiong.zue@intel.com, r: fur]
1999-11-19 01:42:46 +00:00
fur%netscape.com 5679113aa6 Quash warning 1999-11-19 01:22:30 +00:00
dp%netscape.com 479ad973d3 Fixes compilation error with sun workshop. Removed bogus case to
PRBool. r=akhil.arora@sun.com
1999-11-19 01:14:07 +00:00
erik%netscape.com d6616d427f Updating local .cvsignore file. Does not affect build. 1999-11-18 21:49:12 +00:00
erik%netscape.com de2a5113c0 Grabbing the next available ID. Does not affect build. 1999-11-18 16:45:59 +00:00
warren%netscape.com 5d17b5b594 Removed nsICapabilities in favor of nsIInterfaceRequestor. 1999-11-18 07:44:14 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
fur%netscape.com c00421c2be Quell warning 1999-11-18 06:59:28 +00:00
fur%netscape.com 6d099d6300 Quash warnings 1999-11-18 06:19:51 +00:00
dougt%netscape.com 6a5a4287d0 fix for 18949. make seek do a flush to avoid corruption. 1999-11-18 05:16:42 +00:00
fur%netscape.com a12148872d Quell warnings 1999-11-18 03:38:32 +00:00
mcafee%netscape.com e1a1f4d558 Switching to PRBool, un-break Solaris WS build. r=slamm 1999-11-18 03:22:47 +00:00
rhp%netscape.com a54e5586ba Fix for memory allocation off by 1 error. No bug. r: rhp (submitted by Ben Bucksch <mozilla-news@bucksch.org> 1999-11-18 02:46:52 +00:00
erik%netscape.com d0adb44972 Grabbing the next available IID. Does not affect the build. 1999-11-18 00:09:46 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
warren%netscape.com 3029cb5d7b Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko. 1999-11-17 07:36:40 +00:00
jdunn%netscape.com d3a8bfa2a6 fixing HPUX 10.20's which was having problem with this definition since
it was creating an unresolved symbol "static_iid"

r= dougt@netscape.com
# 19021
1999-11-17 01:01:22 +00:00
fur%netscape.com f48a8cbf44 #8305 (Cache implementation)
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp
1999-11-16 21:14:52 +00:00
tbogard%aol.net fa7480161f Commented out references to nsIWebShell::GetRootWebShellEvenIfChrome(). 1999-11-16 20:04:40 +00:00
fur%netscape.com f10bddd53a added files: mozilla/xpcom/io/nsStorageStream.cpp, mozilla/xpcom/io/nsBinaryStream.cpp 1999-11-16 19:45:25 +00:00
fur%netscape.com 305af67ab7 added files: mozilla/xpcom/io/nsIBinaryInputStream.idl, mozilla/xpcom/io/nsIBinaryOutputStream.idl, mozilla/xpcom/io/nsIStorageStream.idl 1999-11-16 19:42:38 +00:00
fur%netscape.com fa84f35c0c Add storage stream and binary stream files. r: none 1999-11-16 19:14:51 +00:00
fur%netscape.com 76e910595b Bug #8305, r: valeski, rickg
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream.  One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
1999-11-16 19:14:08 +00:00
fur%netscape.com 3a8af5ffd8 Bug #8305 (Implement cache), r: valeski, rickg
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream.  One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
1999-11-16 19:12:41 +00:00
dougt%netscape.com a234345645 fix for bug 18114. Adding simple accessor to PL_WaitForEvent. 1999-11-16 16:04:14 +00:00
scc%netscape.com 7c8b12f161 fixing build bustage. Further discussion is needed 1999-11-16 08:50:25 +00:00
dougt%netscape.com c474a4c8ab checking back in changes which were backed out. Added workaround to bug
which scc pointed out.
1999-11-16 07:44:18 +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
norris%netscape.com 411aade911 * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
fur%netscape.com 35c485450a Fix build bustage 1999-11-16 03:50:56 +00:00
fur%netscape.com 9d418c7148 I screwed up the checkin message log, here's the real changes in revision
3.5 of this file.  These changes are in support of bug #8305 (Cache implementation):
r: dougt

+ Fixed off-by-one value in enumerating either forwards or backwards, such
  that the last element is never enumerated.

+ Fixed return values of IsDone() to conform to unusual nsIEnumerator definition

+ Fixed declarations so public methods can be called outside DLL
1999-11-16 03:23:10 +00:00
fur%netscape.com 524123901e In support of #8305 (Implementing cache), allow storing of NUL characters
in string streams. r: dougt
1999-11-16 03:13:49 +00:00
fur%netscape.com 84ba653e17 In support of bug #8305 (Cache implementation), added new type of hash-table
key, an array of opaque data, not owned by the key. r: dougt
1999-11-16 03:10:54 +00:00
fur%netscape.com 4f42d0d409 Fixed a problem with the NS_GENERIC_FACTORY_CONSTRUCTOR_INIT() macro.
If the Init() routine happens to perform a balanced AddRef/Release,
the instance will be prematurely destroyed when Release() is called.
The change is to do the AddRef() before calling the initialization
routine to stabilize the instance's ref-count.

r: dp, putterman
1999-11-16 03:05:36 +00:00
jband%netscape.com ed996a6073 r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock 1999-11-15 22:15:27 +00:00
tbogard%aol.net 6f54df34c5 Simply added the TestXPEventLoop test to the makefile. 1999-11-15 21:52:35 +00:00
putterman%netscape.com 4032f5adf9 Fixes leak. Reviewed by law. 1999-11-15 20:57:24 +00:00
rickg%netscape.com 594f880d52 reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
rickg%netscape.com b8cc74bfaa disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
fur%netscape.com 4673a777f6 Fixed copy/paste error in comment 1999-11-14 15:59:17 +00:00
fur%netscape.com aace74501d Return NS_ERROR_FACTORY_NOT_REGISTERED, not NS_ERROR_FAILURE, if a non-existent ProgID is used to instantiate a component. Also, don't ignore CLSID parse errors. R: dp 1999-11-14 15:41:40 +00:00
rickg%netscape.com f02a6a1951 change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
rickg%netscape.com 72259cb6fb finally: a fix for archaic compilers 1999-11-14 07:58:05 +00:00
rickg%netscape.com b711bb412d try again to get around unix problem 1999-11-14 07:20:02 +00:00
rickg%netscape.com 18a2e83667 try to get around linux compiler grief 1999-11-14 06:49:43 +00:00
rickg%netscape.com 46aa8893b8 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
tbogard%aol.net c9854e66c4 Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc 1999-11-13 07:34:29 +00:00
warren%netscape.com 8a025e9bd4 Fixed QI problem now that comptrs check. 1999-11-13 06:18:34 +00:00
warren%netscape.com 38804a8859 Fix for case where we're trying to Write to a blocking stream, and we're out of buffer space. This should block. r=rpotts 1999-11-13 06:16:52 +00:00
sspitzer%netscape.com d610244e7a fix for #17954
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place.  if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail

to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
1999-11-13 02:02:22 +00:00
akhil.arora%sun.com 8f8a3ec85a 18639 r=dp need to cast away the const returned by the sun C++ 5.0 compiler 1999-11-12 23:52:17 +00:00
dp%netscape.com 786de4d241 Fixing spelling mistake. 1999-11-12 09:38:26 +00:00
warren%netscape.com 98a1f3c523 Minor fix. 1999-11-12 09:10:40 +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
jdunn%netscape.com 7b2382f324 AIX requires a 'const' in order to handle the assignment of 2 nsStrings
(see wallet.cpp line 3093).

rickg approved
1999-11-12 03:58:15 +00:00
sfraser%netscape.com 763acccfbc Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov. 1999-11-11 20:41:54 +00:00
dp%netscape.com 8f2698a1e9 Enabling componentmanager shutdown() before a release to clear out
references to the component manager.
1999-11-11 19:38:13 +00:00
waterson%netscape.com 6c7ee9d839 Oops. Make sure XPCOM_MEM_LOG_CLASSES works without XPCOM_MEM_REFCNT_LOG being set. a=warren 1999-11-11 05:02:03 +00:00
waterson%netscape.com 26f37af44a Add docs for XPCOM_MEM_LOG_OBJECTS. 1999-11-11 04:08:28 +00:00
waterson%netscape.com a9a148300b Bug 18069. Support XPCOM_MEM_TRACE_OBJECTS, per-object reference count tracing. r=warren 1999-11-11 03:23:24 +00:00
jdunn%netscape.com ec7c07362b Fix additional bugs with stubs. This still doesn't work 100% but getting there
(basically pulled in the mac ppc CPP file for aix stubs file)
1999-11-11 02:20:22 +00:00
pepper%netscape.com 5c61fc51b8 Changed friend declaration to make HP Compilers Happy.
r=mgleeson
1999-11-11 00:39:59 +00:00
dp%netscape.com bf6fd7a184 Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc 1999-11-11 00:31:45 +00:00
tbogard%aol.net 60c2846eae NS_WARN_IF_FALSE now by default puts the windows messagebox up on a tripped warning condition. Before it relied on the developer having an environment variable set. r=pink a=sdagley 1999-11-10 04:32:33 +00:00
shaver%netscape.com ace870622c revert case change, because I no longer have the accompanying JS changes -- don't ask 1999-11-10 04:18:07 +00:00
shaver%netscape.com 5acff9277c missed a #include 1999-11-10 02:11:08 +00:00
shaver%netscape.com 6b75c445f7 maybe fix build bustage 1999-11-10 02:10:39 +00:00
shaver%netscape.com 8f2e050f88 export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +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
scc%netscape.com 49bd71ade0 Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:54 +00:00
scc%netscape.com 535e97599f Moved |do_CreateInstance()| from here to nsComponentManagerUtils.h. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:10 +00:00
dp%netscape.com bd53051d38 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +00:00
dp%netscape.com cc7daf4994 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
dp%netscape.com 8cf34af6ff Modifying sample to use NS_MODULE macros. r=alecf 1999-11-09 23:28:10 +00:00
sdagley%netscape.com c865d49c0a Removed yet another file warren obsoleted from yet another MANIFEST file (didn't he come up with the idea for MANIFEST files in the first place?) 1999-11-09 00:31:52 +00:00
scc%netscape.com a4e6a84499 backing it out until doug and I can resolve the types issues 1999-11-09 00:27:05 +00:00
sdagley%netscape.com 18af56888e Yet Another Tree Bistage Fix - looks like warren was having a bad CVS day as he put a typo in the first line 1999-11-09 00:27:00 +00:00
sdagley%netscape.com 73f1c11390 Another shot at fixing Mac build bustage - also remove the obsoleted nsIBuffer.h 1999-11-09 00:08:23 +00:00
scc%netscape.com ace7038d48 dougt's changes from earlier in the week. He was unable to leave them
in at that time because he didn't have my |nsCOMPtr| fixes.  Those went
in last night.  So, on brendans suggestion, I'm reinstating dougt's
previous checkin.
1999-11-08 22:58:14 +00:00
warren%netscape.com 34a64c7050 Removed nsIPageManager.h 1999-11-08 22:40:52 +00:00
warren%netscape.com b9ebf4cb31 Removed obsolete files from tree. 1999-11-08 22:06:07 +00:00
warren%netscape.com 4daa7a2f1e Removed obsolete nsPageMgr.cpp 1999-11-08 22:05:23 +00:00
scc%netscape.com 913a64bdee missed two T-->nsISupports instances, which primary platforms didn't catch, since they weren't instantiated 1999-11-08 12:25:11 +00:00
scc%netscape.com 50bb3ffae5 Specialize |nsCOMPtr| for |nsISupports| (i.e., |nsCOMPtr<nsISupports>|). The specialization _does_not_ have the invariant that |nsCOMPtr<T>| has of always pointing to the COM-correct interface. An |nsCOMPtr<nsISupports>| essentially means "a pointer to _any_ [XP]COM interface". This change allows dougt to fix his M11 bug. a=chofmann, r={danm, hyatt} 1999-11-08 11:43:11 +00:00
scc%netscape.com 5b7341ca13 Test the new facilities added to |nsCOMPtr| in this checkin. r={danm, hyatt} 1999-11-08 11:43:07 +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
dougt%netscape.com 7756c0bd6f Backing out changes due to nsCOMPtr build problems. 1999-11-05 03:32:33 +00:00
dougt%netscape.com e941d5a661 backing out changes. looks like this stuff is untested in a full build. 1999-11-05 03:31:04 +00:00
cls%seawood.org fa6602724f Fix for the template variable change from <T> to <nsISupports>. r=dougt 1999-11-05 03:11:03 +00:00
dougt%netscape.com 2ea00aa3f9 Changed ownership module inside xpcom/proxy to remove cached objects passed their owner's lifespan.
Removed out of band callback in xpcom/proxy
Fixed webshell leak due to xpcom/proxy. (17009)
Just about everything is now a comptr, god save us. :-)

r=jband, a=brendan.
1999-11-05 02:21:46 +00:00
dougt%netscape.com 777d0f9159 Fix for 17842. Make nsCOMPtr<nsISupports> should not be weak typed. scc's
this change to me and since he is on vacation until monday and I need this
for an M11 bug, I am checking it in.   I am hoping it is the right
thing to do.

a=brendan.
1999-11-05 02:18:46 +00:00
sfraser%netscape.com 0e2b8b4a68 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. Adding new error module for libimg. r=pnunn, a=chofmann. 1999-11-04 22:27:36 +00:00
mccabe%netscape.com 525a779e7a Link fixes. Not part of the Mozilla build. 1999-11-04 00:35:31 +00:00
dveditz%netscape.com 2571930b5e shutting up copious warnings using /W4 on MSVC 1999-11-03 07:39:19 +00:00
mccabe%netscape.com f8ee12e046 Fix many nsInterfaceInfo leaks, thanks in part to patches provided by Patrick Beard. Fixes 15855. Some remain.
Clear up build warnings, and quiet nsInterfaceInfomanager debug output unless DEBUG_iim.  Makes startup a li'l less noisy.  Fixes 15628.

r=jband
1999-11-03 07:23:37 +00:00
dp%netscape.com 70d777c1d5 Eliminating use of nsService class in preparation for making services
usable with COMPtrs.
1999-11-03 05:41:43 +00:00
dp%netscape.com 3779ee5d7a Deny GetService() requests which cause Creation of new objects on
shutdown. r=jband, r=ScottPutterman
1999-11-03 05:38:45 +00:00
dp%netscape.com 941ca8da77 Removing nsIShutdown listener usage for ServiceManager. 1999-11-03 05:36:30 +00:00
danm%netscape.com 64746bb9f1 instead of using the thread hashtable's enumerator while processing events (a Mac-specific habit), build and use a parallel linked list structure. hashtable and list want unification someday. fixes bug 16551. r:brendan@netscape.com 1999-11-03 05:30:49 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
shaver%netscape.com 48e279336d updated nsSample.js, long overdue (r=brendan) 1999-11-02 07:36:25 +00:00
warren%netscape.com 33d77cb1fb Added some sanity assertions. r=gagan 1999-11-02 05:38:22 +00:00
tbogard%aol.net 8699825fa8 Second phase of changing NS_ENSURE() to NS_ENSURE_TRUE() and NS_ENSURE_NOT() to NS_ENSURE_FALSE(). r=hyatt 1999-11-02 01:18:52 +00:00
alecf%netscape.com 13eaac5db2 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +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
valeski%netscape.com 92f470a32a removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
tbogard%aol.net 15d1f9caf3 Changed NS_ENSURE and NS_ENSURE_NOT occurences to be NS_ENSURE_TRUE and NS_ENSURE_FALSE respectively. 1999-11-01 07:40:19 +00:00
tbogard%aol.net c6f78c5454 Changed NS_ENSURE to be NS_ENSURE_TRUE. Also changed NS_ENSURE_NOT to be NS_ENSURE_FALSE. Left NS_ENSURE and NS_ENSURE_NOT, but they will soon be going away. 1999-11-01 06:59:16 +00:00
dougt%netscape.com d44e416546 Adding a set accessor to the permissions functions. Needed by the xpinstall
folks.
1999-11-01 04:44:56 +00:00
troy%netscape.com 10a3dd238f Added nsIFrameDebug interface 1999-11-01 03:34:43 +00:00
tbogard%aol.net 748ff1f5ef Changed NS_IMETHOD to NS_IMETHODIMP on implemented function. 1999-10-31 07:38:44 +00:00
scc%netscape.com 8f4e7ad8e4 changed the mechanism underlying |do_QueryInterface| to decouple |nsCOMPtr| from services, |nsIWeakReference|, etc. This change fixes bug #17364, and paves the way for making |nsCOMPtr| cooperate with services. r=valeski (additional builds done by dmose and syd) 1999-10-31 00:35:48 +00:00
scc%netscape.com b67e1fc39c removed incorrect use of private class name in favor of |do_QueryInterface|, part of the fix for bug #17364, r=valeski (additional builds done by dmose, and syd) 1999-10-31 00:32:15 +00:00
alecf%netscape.com 3c83045767 more tweaks for boehm to catch up with the nsILeakDetector work 1999-10-30 07:06:26 +00:00
dp%netscape.com 36b9b91825 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard%netscape.com 296d655c74 added call to nsIThread::SetMainThread(), to ensure users of XPCOM get a main thread mapped. r=warren 1999-10-30 01:52:55 +00:00
beard%netscape.com 49e3e4ba38 Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
colin%theblakes.com 421af72f71 Only define MDCPUCFG if HOST_NSPR_MDCPUCFG is defined. r=cls 1999-10-29 23:03:15 +00:00
valeski%netscape.com 96d6215964 15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug 1999-10-29 20:47:17 +00:00
warren%netscape.com 115c83fe2c Fixed round-off error computing bloat total. 1999-10-29 18:48:37 +00:00
warren%netscape.com 53fec9faa8 Adding pure.h pure_api.c to the build. bug#16695 1999-10-29 03:26:50 +00:00