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

2263 Коммитов

Автор SHA1 Сообщение Дата
mccabe%netscape.com e5300a345a Fixes for 'warning: unsigned value < 0 is always 0' warnings. 1999-08-07 09:32:45 +00:00
cls%seawood.org 9eea17be39 Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
dveditz%netscape.com 0bb7417a68 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
rjc%netscape.com 40870414c8 On Mac, check a file's type (skip the creator, so that 3rd party shared libraries can be noticed) to see if its a shared library. 1999-08-06 23:06:07 +00:00
tao%netscape.com 5284e6851e Temporary set charset to utf-8 until the coverter for escape-unicode is
ready.
1999-08-06 20:24:02 +00:00
mccabe%netscape.com 5264239545 Made use of ... varargs result in failure, as we don't currently seem
to support it.
1999-08-06 10:25:16 +00:00
jband%netscape.com 5a54ef9f38 changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS 1999-08-06 09:42:12 +00:00
jband%netscape.com 2a76ddde40 fix xpidl compiler failure when a block of 'raw' stuff straddles a buffer block boundary 1999-08-06 07:57:53 +00:00
sspitzer%netscape.com cbcb2ce098 fix warnings 1999-08-05 19:47:10 +00:00
dp%netscape.com 7afa7173a1 Fixed typo. 1999-08-05 12:58:04 +00:00
briano%netscape.com 6980bacec1 Fixed the broken initial comment block. 1999-08-05 01:36:18 +00:00
briano%netscape.com 7ee699bbcf Rearranged things a bit and reworked some of the ifdefs to (hopefully) make the whole thing a bit more efficient. 1999-08-05 01:32:48 +00:00
rogerl%netscape.com 1eb9c2aa52 New version for linux/sparc. Changed source file names for Sun Workshop and
GCC builds.
1999-08-04 20:50:01 +00:00
rogerl%netscape.com d9d532ff9a Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.
1999-08-04 20:48:18 +00:00
dp%netscape.com 2a61eca94a Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
jband%netscape.com f9fca51347 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com 5236d2999c adding nsISupports wrappers for the primitive types including strings and nsIDs - here we register them for creation 1999-08-04 07:08:58 +00:00
dp%netscape.com 0a9a225986 adding changes suggested by brendan 1999-08-04 07:07:37 +00:00
jband%netscape.com 82c1b58275 added files: mozilla/xpcom/ds/nsISupportsPrimitives.idl 1999-08-04 07:02:54 +00:00
jband%netscape.com 8f5b0667c5 added files: mozilla/xpcom/ds/nsSupportsPrimitives.cpp 1999-08-04 07:01:10 +00:00
jband%netscape.com 70d09b9aad adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com 0387cd7850 adding PRUnichar as a type we can talk about in idl 1999-08-04 06:53:48 +00:00
brendan%mozilla.org e8edbc13d5 Shaver and I are @mozilla.org. 1999-08-04 06:24:33 +00:00
jband%netscape.com acdcdf2c30 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com> 1999-08-04 06:13:05 +00:00
jband%netscape.com e7394effc7 make sure that NS_NewHashtableEnumerator gets exported - yes I'm guilty for adding another global entry point 1999-08-04 06:05:29 +00:00
jband%netscape.com be825b5d4b added files: mozilla/xpcom/ds/nsHashtableEnumerator.cpp 1999-08-04 02:28:03 +00:00
jband%netscape.com a9d20725ec Adding nsHashtableEnumerator from Rob Ginda, rginda@ix.netcom.com. This is used to create an nsIEnumerator object from a hashtable. When some object has a hashtable as an implementation detail it can use this to expose the data in the table as an enumeration. This is used by the soon-to-be-checkedin systems for enumerating interface and class ids that will be reflected into JavaScript. 1999-08-04 02:24:34 +00:00
tbogard%aol.net 72ca4658da First check-in of XP Event Loop Interfaces. --This is not connected to the build--. 1999-08-03 23:57:18 +00:00
vidur%netscape.com 41882c9270 Reserved IID for nsIDOMNSLocation 1999-08-03 23:17:16 +00:00
troy%netscape.com 77457a51a0 Reserved IID for nsIFrameManager 1999-08-03 22:35:42 +00:00
briano%netscape.com f1ffca414c Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
jfrancis%netscape.com afe43490ca uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp 1999-08-03 12:42:19 +00:00
scc%netscape.com 1f0ab10430 experiment: I don't think it like the forward declaration 1999-08-03 10:44:12 +00:00
scc%netscape.com fffe08a5ec well, now it needs to include nsCOMPtr, since the header doesn't anymore 1999-08-03 08:34:17 +00:00
scc%netscape.com ec8316be78 First Checked In. 1999-08-03 08:30:05 +00:00
scc%netscape.com e4d1a4321f Moved the typedef to its own file: "nsWeakPtr.h". This avoids the circular includes problem and lets people #include just "nsWeakPtr.h" when they want an |nsWeakPtr|. 1999-08-03 08:15:31 +00:00
scc%netscape.com b5ee2a318a OK, now only nsCOMPtr.h includes nsIWeakReference, and not the other way around. I'll probably have to make a header file just to contain the one-line typedef I moved. 1999-08-03 08:10:08 +00:00
scc%netscape.com eaeff321cf Well, not everybody could do it just from the forward declared class. Yes, nsCOMPtr.h and nsIWeakReference.h include eachother, but it works anyway (they test for already being included). 1999-08-03 07:44:53 +00:00
scc%netscape.com dfa83459be Added |do_QueryReference| for initializing/assigning from |nsWeakPtr|s. Also some fixes. 1999-08-03 07:21:39 +00:00
scc%netscape.com af5ba49b94 Added nsWeakReference.h, .cpp in the appropriate places 1999-08-03 07:20:37 +00:00
scc%netscape.com 0fbdb1874a Added "nsWeakReference.cpp" 1999-08-03 07:17:26 +00:00
scc%netscape.com 3b6747cc0a getting ready to build 1999-08-03 04:59:47 +00:00
pinkerton%netscape.com a595b44378 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
scc%netscape.com 3495a2113a Add nsIWeakReference.idl 1999-08-03 03:48:58 +00:00
scc%netscape.com c996de5e16 Added nsIWeakReference.idl 1999-08-03 03:48:04 +00:00
scc%netscape.com 7099e1336a First Checked In. 1999-08-03 03:41:27 +00:00
dp%netscape.com 2bd01df1c4 - Removed calling FreeLibraries()
- ReleaseService() wont delete anymore
- Made ReleaseService() and UnregisterService() simpler
- Shutdown releated Assertion removal.
1999-08-03 00:53:55 +00:00
dp%netscape.com 4b555e2372 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com 16a59c22db Adding RemoveAndDelete() to nsObjectHashtable 1999-08-02 23:55:03 +00:00
jfrancis%netscape.com b5b13c4f48 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
mccabe%netscape.com bec8580cb5 Further warning enhancements engendered by 10693.
- Added xpidl_sprint_iid method for printing an nsID to a string.

- Removed "this is a gross hack" code for parsing and printing iids, and replaced with calls to xpidl_sprint_iid

- Made write_classname_iid_define() void, and removed cluttering tests against its failure.

- Cleaned up.
1999-08-02 11:19:30 +00:00
mccabe%netscape.com 8c92e507dd Improved abstraction of uuid parsing; uuid parsing function now no longer understands "" to mean 'the uuid consisting of only 0s.' Also broke the function out into xpidl_idl.c (where utility functions live) towards reusing it in xpidl_headers as well.
Removed outdated reference to (resolved) bug 5872.
1999-08-02 09:46:57 +00:00
mccabe%netscape.com 32c7b823a8 Fix to 10693. Error on malformed uuid (currently we just check for a uuid of the wrong length) rather than failing silently. 1999-08-02 09:35:28 +00:00
dp%netscape.com 360e8cfe27 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
briano%netscape.com ff69b9b5fa Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
dougt%netscape.com a731c6e7b4 Changing nonscriptable to noscript. 1999-07-31 17:37:29 +00:00
dougt%netscape.com 0ef5bbced1 Fix for bug 10997 submitted by rginda@ix.netcom.com. 1999-07-31 17:36:18 +00:00
mang%subcarrier.org e5fbf730c1 Comment only change.
Editing and pedantry.
1999-07-31 17:23:59 +00:00
dp%netscape.com e20bfe9359 - Added internal UnloadLibraries() that can take a NULL service
manager too for nsXPComShutdown()'s sake
1999-07-31 05:55:26 +00:00
dp%netscape.com 74581714e5 - Fixing ComponentManager destruction
- CLSIDToProdID() fixed to use the correct subtree in registry
- ProgID() enumneration on startup enabled
- Added internal UnloadLibraries() that can take a NULL service
  manager too for nsXPComShutdown()'s sake
- Setting autoreg DirectoryIterator not to resolve symbolic links
1999-07-31 05:55:04 +00:00
dp%netscape.com ef2588f29f Getting nsHashtable and nsObjectHashtable Reset()s working together. 1999-07-31 05:50:13 +00:00
dp%netscape.com 18c2f1d9a6 Adding nsHashtable::Reset(). Changing nsObjectHashtable destructor to use Reset instead of enumerate. This will cause hash entires to be removed from the hash table as values in the hash table are released. 1999-07-31 05:41:54 +00:00
dp%netscape.com 64e5e2d348 Using nsCRT instead of PL_str*() 1999-07-31 00:28:51 +00:00
jband%netscape.com 1d04b3c73c fix this macro that no one is using so that I can use it in my factory in xpconnect 1999-07-31 00:14:55 +00:00
dp%netscape.com fc6866431d Removed ASSERTION. Added comments for shutdown. 1999-07-31 00:07:31 +00:00
duncan%be.com ff731855d1 Fix ResolveSymlink for BeOS (BeOS doesn't have realpath).
BEOS ONLY FIX NEEDED TO UNBREAK THE BUILD!
1999-07-30 12:03:25 +00:00
warren%netscape.com 1215da1e30 Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
rickg%netscape.com 135409072a fixed compaction error 1999-07-30 02:22:37 +00:00
sspitzer%netscape.com 859fd92e85 make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
dougt%netscape.com ae85056ed9 This fixes a nsDirectoryIterator bug that bliz, seth and I were working on last night.
Approved by cyeh.
1999-07-29 14:24:47 +00:00
sspitzer%netscape.com 1d299b52b0 other half of fix for #10697. directory iterators work again. r=blizzard. a=leaf. 1999-07-29 04:59:13 +00:00
mscott%netscape.com b16c24f10d include config.mak 1999-07-29 04:51:00 +00:00
sspitzer%netscape.com 47eb34bb8d fix for #10697. ResolveSymlink() messes with mCurrent, so we need to restore it. Also, make ResolveSymlink() return an absolute file, instead of a relative one. 1999-07-29 04:31:04 +00:00
mscott%netscape.com e0ae901872 fix build breakage by adding NECKO to link lines. 1999-07-29 03:20:47 +00:00
mscott%netscape.com 994f9f3f0d fix build breakage...include config.mak 1999-07-29 03:17:36 +00:00
briano%netscape.com ea37bbc00a Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
harishd%netscape.com c1d4c36bb7 Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +00:00
blizzard%redhat.com cbfe27c7cb work around for startup crash on linux. checkin approved by cyeh and leaf. 1999-07-28 20:25:02 +00:00
dp%netscape.com 5af4dde495 Component Loaders 1999-07-28 20:22:49 +00:00
warren%netscape.com 28be3c9bc4 Added ability to instantiate a component to test it for leaks. 1999-07-28 08:28:10 +00:00
warren%netscape.com 119a2cefeb Fully initialized arena so that it won't fail in destructor without first calling Init. 1999-07-28 08:27:38 +00:00
warren%netscape.com b2e94aeec5 Added TestShutdown to detect memory leaks in xpcom. 1999-07-28 08:01:55 +00:00
warren%netscape.com 44ede8a7bc Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
warren%netscape.com 4212287ebf Added NS_ShutdownXPCOM for memory cleanup. 1999-07-28 07:57:39 +00:00
warren%netscape.com f079935296 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements. 1999-07-28 07:56:28 +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
sspitzer%netscape.com e2dd59c128 change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac! 1999-07-27 23:33:54 +00:00
briano%netscape.com d99daeea9b Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
sfraser%netscape.com 5e4da3ca9e Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
briano%netscape.com 87c88264a5 Temporarily avoid the NECKO-related tests on BSD/OS since I can't get them to link. 1999-07-27 22:17:29 +00:00
duncan%be.com 76a7b45779 Cut down on the number of warnings in the BeOS build, HAVE_CPP_NEW_CASTS
is also defined in config-defs.h, like on XP_UNIX.
mcafee@netscape.com checked.
1999-07-27 21:22:56 +00:00
mscott%netscape.com fbb2f93a77 Fix unitialized memory read. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com> for making the purify log that I
found this in.
1999-07-27 02:22:26 +00:00
dveditz%netscape.com 5c1ff9d297 fixes VC5 link bustage, but I feel dirty 1999-07-27 00:57:50 +00:00
dougt%netscape.com 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
rickg%netscape.com da2aeda53f odd 'n' ends 1999-07-25 17:21:34 +00:00
rickg%netscape.com 048f765557 added optional arg validation to improve safety 1999-07-25 17:21:14 +00:00
rickg%netscape.com e96cca5f68 narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
rickg%netscape.com d203577fd7 removed old debug code 1999-07-25 17:18:41 +00:00
valeski%netscape.com cd09f25002 mem leak - rev'd by dp 1999-07-25 13:37:16 +00:00
jband%netscape.com 61da273cf3 differentiate between Win32 x86 and NT Alpha for a few low level debug activities. From bob meader <bob@guiduck.com> 1999-07-24 22:00:00 +00:00
jband%netscape.com b7df8440d3 include of config.mak needed for NT Alpha according to bob meader <bob@guiduck.com> 1999-07-24 21:57:34 +00:00
jband%netscape.com d63d2d3aa9 Adding NT Alpha only makefile rule for asm from bob meader <bob@guiduck.com> 1999-07-24 21:56:17 +00:00
jband%netscape.com afe78b4886 update to xptcall status page 1999-07-24 21:54:38 +00:00
jband%netscape.com 7768e4776d transposed two letters in a comment 1999-07-24 21:53:11 +00:00
jband%netscape.com b6b786b6d5 NT Alpha only change to rename misnamed file and to add a bunch of casting. From 1999-07-24 21:20:56 +00:00
peterl%netscape.com 8d753c3868 nuked 1999-07-24 18:57:59 +00:00
peterl%netscape.com 8ecddd902a removed files: mozilla/xpcom/ds/nsBTree.cpp, mozilla/xpcom/ds/nsRBTree.cpp 1999-07-24 18:57:13 +00:00
peterl%netscape.com 2f1722e9c2 removing nsBTree & nsRBTree, both replaced by nsAVLTree 1999-07-24 18:56:54 +00:00
tbogard%aol.net 303e849c5e Changed hashing to not hash every letter of strings that are greater than 16 characters in length. 1999-07-23 05:19:33 +00:00
scc%netscape.com 5f9bba140f the fix is to |#include <new.h>|. I tested on several versions of SunOS with different compilers, linux, and Mac. Uncommenting the problematic code. 1999-07-23 01:18:49 +00:00
briano%netscape.com 127786f99f Cleanup and fix for BSD/OS. 1999-07-22 23:20:25 +00:00
jband%netscape.com 051492691a adding a mising '$' in the open vms only part 1999-07-22 22:24:59 +00:00
rpotts%netscape.com 3e99928de9 Added code in the destructor to free any pages that had been allocated... 1999-07-22 21:17:57 +00:00
scc%netscape.com 73a836eeaa Allow explicit disabling of |...TEST_DONTQUERY_CASES| and |...DEBUG_PTR_TYPES| on the command-line for problematic compilers like QNX et al. This allows me to fix the QNX build, and provide an answer to some people compiling with the Sun Workshop. 1999-07-22 21:09:49 +00:00
scc%netscape.com a12c96415a temporarily commenting out unused placement |new| till I can figure out how to make it compile on SunOS 1999-07-22 20:10:19 +00:00
scc%netscape.com 4adb195c6c switching back to the stricter declaration of |nsDerivedSafe<T>::operator=()|. Since I removed |nsISupportsArray::operator=()|, all should be well. I left the old declaration in but commented out, just in case. I hope I don't have to conditionalize this wth an autoconf test. I've built this (with the help of several other people including mjudge, waqar, slamm, et al) on as many other platforms as I could. This declaration is intended to stop people from declaring an |operator=()| in their (XP)COM interface classes. 1999-07-22 20:03:42 +00:00
scc%netscape.com 9508780e22 use shared allocator 1999-07-22 18:23:02 +00:00
mccabe%netscape.com 1eae811c1a Warning fix. 1999-07-22 10:48:05 +00:00
waterson%netscape.com 8fc0c7ba73 CID not IID! 1999-07-22 07:33:24 +00:00
pavlov%netscape.com f9c42873ef reverting as per scc's request 1999-07-22 05:34:19 +00:00
scc%netscape.com 12c243677f explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
tao%netscape.com 475cd91987 Adopt new str res api prototype. 1999-07-22 04:41:11 +00:00
briano%netscape.com 908ee043c1 Cleanup and fix for BSD/OS. 1999-07-22 04:23:11 +00:00
mang%subcarrier.org 00ff287e96 Useful comments contributed by rginda@ndcico.com 1999-07-22 02:46:53 +00:00
tbogard%aol.net eb0dd2815e Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings. 1999-07-22 02:11:04 +00:00
briano%netscape.com 44e858a3d6 Fix for NTO, which uses statvfs. 1999-07-22 01:31:43 +00:00
briano%netscape.com 58a714eb9b QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath. 1999-07-21 23:15:15 +00:00
dougt%netscape.com dd656478bb duh. 1999-07-21 18:18:09 +00:00
dougt%netscape.com 944676615b fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
scc%netscape.com 7bd41d5e4f conditionalized missed member templates, |numeric_limits| use 1999-07-21 03:23:09 +00:00
scc%netscape.com b3f17ed2aa Added nsCppSharedAllocator.h 1999-07-21 01:06:33 +00:00
scc%netscape.com 71a1f75051 Added nsCppSharedAllocator.h 1999-07-21 00:59:55 +00:00
scc%netscape.com 08e0f63ff8 Added "nsCppSharedAllocator.h" to exports. 1999-07-21 00:50:44 +00:00
scc%netscape.com a8ce738ae0 First checked in. Defines a C++ standard compliant allocator based on
the global shared allocator |nsAllocator|.
1999-07-21 00:50:05 +00:00
dp%netscape.com f039212d02 Removed SizeTestxx from the build per Scott Collins' advice. 1999-07-20 23:15:46 +00:00
dveditz%netscape.com 66a4e0d325 removed redundant registry locking to improve performance 1999-07-20 22:50:26 +00:00
rods%netscape.com 058ae95f8a Fixed extra ref count problem for blocker bug 10138 1999-07-20 14:29:43 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
jband%netscape.com 11b6c79de6 changing 'this' adjust scheme for BSD/OS per request from Bert Driehuis <bert_driehuis@nl.compuware.com> 1999-07-20 08:11:41 +00:00
rickg%netscape.com fdfe6b251c try to improve append performance and allow non-null term buffers when count is given 1999-07-20 06:58:41 +00:00
rogerl%netscape.com 96f15f1670 Fixed MI dispatch and cleaned up branch slots. 1999-07-19 20:18:02 +00:00
jband%netscape.com bdf2063dc1 doing an explict cast of float to double in printf args in test 1999-07-19 19:43:53 +00:00
rickg%netscape.com 45c5fb21b0 improved api's 1999-07-19 03:10:41 +00:00
jband%netscape.com 89849e8062 adding Linux ARM code contributed by Stefan Hanske <sh990154@mail.uni-greifswald.de> 1999-07-19 02:57:59 +00:00
jband%netscape.com 518783c098 reducing the count of stubs entries in the xptcstubs* vtbl (down to 128 from 256) to reduce footprint and to make Linux ARM happy 1999-07-19 02:56:39 +00:00
jband%netscape.com 9c02d63894 adding NT Alpha (only) .def file stuff 1999-07-19 02:54:33 +00:00
rickg%netscape.com 5dbfb44f20 incrased argument conditioning 1999-07-18 21:26:03 +00:00
dougt%netscape.com b6c73a4dc8 Fix to address memory allocation problems - Bug #8227 1999-07-18 19:13:27 +00:00
peterl%netscape.com b06a4e3232 fix linux 1999-07-18 00:59:40 +00:00
peterl%netscape.com 43dea6bbe4 added files: mozilla/xpcom/ds/nsAVLTree.cpp 1999-07-18 00:39:56 +00:00
peterl%netscape.com 8441d32c38 new file 1999-07-18 00:03:58 +00:00
peterl%netscape.com 1dd1f5cc78 moved char* conversion operators to nsCString 1999-07-18 00:03:43 +00:00
peterl%netscape.com 237caa690f added avl tree 1999-07-18 00:02:48 +00:00
ramiro%netscape.com fecd737d22 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com 342b5083f1 Landing timer move on unix. 1999-07-17 14:22:51 +00:00
mccabe%netscape.com e0d14d2f7d Fix to 9596.
Change several allocations to behave safely when we're linking 0 interfaces.  This also allows xpt_link to be linked against Electric Fence, which will doubtless discover other problems...

Thanks to kherron@sgum.mci.com for the great patch!
1999-07-17 10:31:29 +00:00
rickg%netscape.com f087ee875c removing references to iostreams 1999-07-17 10:08:10 +00:00
rickg%netscape.com 2e81538bec trying to remove iostreams 1999-07-17 08:17:54 +00:00
rickg%netscape.com 3b02b1e2f8 landing updates to nsString 1999-07-17 07:26:16 +00:00
mcafee%netscape.com 5314538709 Adding a link change for BeOS 1999-07-17 03:38:08 +00:00
brendan%mozilla.org 22b5e360df - Fix possessive "its" misspelled as "it's".
- Use if statements rather than ?: with 0 "else part" after the : in macros
  whose bodies are statements anyway (and already protected by PR_BEGIN_MACRO
  and PR_END_MACRO).
- Such if statements test for non-null pointers, so the subsequent statements
  to null those pointers can move into the then parts -- there's no point in
  setting a null pointer to null again.
1999-07-17 03:32:39 +00:00
brendan%mozilla.org 554b30af96 Avoid nonsense 0 <= uint32_typed_variable tests. 1999-07-17 03:28:41 +00:00
brendan%mozilla.org 43d021029e Use PRUint32 instead of unsigned long. 1999-07-17 03:27:10 +00:00
jband%netscape.com d475118c2a fix for bug 10033 - failing to resolve at runtime interfaces that were forward declared in one xpt file and resolved in another xpt file. r: mccabe 1999-07-17 03:10:31 +00:00
beard%netscape.com 22df638a1c added java target to test java interface generation 1999-07-17 02:06:42 +00:00
beard%netscape.com a4240fcd41 explicitly include <limits.h> for ULONG_MAX 1999-07-17 02:04:20 +00:00
beard%netscape.com fad627620a added <iostream.h> 1999-07-17 01:58:38 +00:00
warren%netscape.com 00d833d64a Took out noise. 1999-07-17 01:52:09 +00:00
beard%netscape.com 6907c80be8 java mode 1999-07-17 00:49:37 +00:00
beard%netscape.com 6b166f7048 now builds all components directly into "{Compiler}CodeWarrior Plugins" to work in the automated build. 1999-07-16 23:45:19 +00:00
beard%netscape.com 885ad73ea5 fixed mac build bustage 1999-07-16 23:44:34 +00:00
dveditz%netscape.com c7c003d717 fixing MSVC++5.0 bustage 1999-07-16 22:22:13 +00:00
rogerl%netscape.com a78cd191ea Return register count from invoke_count so that we can load only the
appropriate registers.
1999-07-16 22:19:34 +00:00
slamm%netscape.com 0cd96e600c Fix build warnings. 1999-07-16 22:00:52 +00:00
slamm%netscape.com 5f3384449d Fix build warnings. 1999-07-16 21:47:03 +00:00
duncan%be.com 2159647518 Add an || defined (XP_BEOS) so that the builds works under BeOS with -fno-exceptions. 1999-07-16 21:39:25 +00:00
slamm%netscape.com 27b8289eff Fix build warnings. 1999-07-16 20:06:37 +00:00
jevering%netscape.com a511c3ae87 GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties. 1999-07-16 19:13:21 +00:00
dougt%netscape.com 460e5354c1 Fixing Bug 9976. 1999-07-16 18:15:14 +00:00
ramiro%netscape.com 39e5c2f126 Add NS_TIMER import/export macros. 1999-07-16 17:48:12 +00:00
valeski%netscape.com 85a0975000 necko - adjusted hash table initialization location to the constructor 1999-07-16 17:41:29 +00:00
kipp%netscape.com f9e23515cd Removed a compiler warning 1999-07-16 17:40:39 +00:00
rickg%netscape.com 3df0430991 perf. improvement to deque 1999-07-16 17:31:00 +00:00
rods%netscape.com 079dbe461f Added QueryInterface because NS_NewIOFileStream does a cast from (void *) to
(nsISupports *) thus causing a vtable problem on Windows, where we really
didn't have the proper pointer
1999-07-16 12:59:20 +00:00
rods%netscape.com 0b80393b7c Commented out a check to that makes it return when mOutputStream null
instead it creates  an output stream when it is null
1999-07-16 12:57:45 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
jband%netscape.com 9d4094281e just setting the tab-width 1999-07-16 04:21:43 +00:00
jband%netscape.com 21c18154bc updating status page - not part of the build 1999-07-16 04:00:13 +00:00
mccabe%netscape.com e2d13fb831 Remove vestiges of XPIDL_JS_STUBS (no longer used or implemented by xpidl-generated files.) 1999-07-16 01:20:03 +00:00
briano%netscape.com 908dd0ada9 Modification to make it build on BSDI. 1999-07-16 00:25:40 +00:00
rickg%netscape.com 1d16c19656 improvements to stringtokenizer 1999-07-15 06:40:44 +00:00
scc%netscape.com e4972825d5 remove (unused) |operator=()| from |nsISupportsArray| 1999-07-15 04:48:32 +00:00
scc%netscape.com 9d49cb3127 new feature lets you `see past' |nsISupports| in |nsCOMPtr|s. Now in the debugger (in debug versions only) you will see the actual type of the object. This is enabled by defining the preprocessor symbol |NSCAP_FEATURE_DEBUG_PTR_TYPES|. It cannot be turned on in non-debug builds. It is currently on in debug builds by default. It may become a feature that has to be enabled with a build command line switch. NSCAP_FEATURE_ALLOW_RAW_POINTERS is now always the case and no longer optional; NSCAP_FEATURE_ALLOW_COMPARISONS is now always the case and no longer optional; cleaned up the previous definition and invocations of the |Assert_NoQueryNeeded| test. 1999-07-15 03:59:09 +00:00
scc%netscape.com a9e605070f switched over to _not_ using |__comobject|. Adjusted assembly to skip extra vtable header, and fixed inheritance in |nsISupports| 1999-07-15 03:02:01 +00:00
jband%netscape.com d4aef12fd7 lots of xptcall changes:
1) OpenVMS Linux from Colin R. Blake <colin@theblakes.com>.
2) Irix from Jason Heirtzler <jasonh@m7.engr.sgi.com>.
3) Linux Alpha from Glen Nakamura <glen.nakamura@usa.net>.
4) NT Alpha from bob meader <bob@guiduck.com>.
5) x86 'this' adjust code for old or new style from Duncan Wilcox <duncan@be.com>.
6) vtbl layout test from Bert Driehuis <bert_driehuis@nl.compuware.com>.
7) improved invoke test to catch 'this' adjustment errors.
8) updated status page.
1999-07-15 02:43:23 +00:00
briano%netscape.com 3bc381a556 Modified my last change to avoid treating NTO the same as QNX, since they both define __QNX__. 1999-07-15 02:34:19 +00:00
briano%netscape.com 58abceae9b Fix for BSDI. 1999-07-15 02:21:21 +00:00
briano%netscape.com 371da6586d Minor rewrite to keep less capable C++ compilers from getting confused about which instance of nsCRT::strncasecmp to use. 1999-07-15 01:38:08 +00:00
dp%netscape.com c11d6c1d19 Removed delete of void *. HP doesn't like it. 1999-07-15 00:11:20 +00:00
briano%netscape.com f89cb1f1c7 Workaround for platforms that don't have --whole-archive (or equivalents). 1999-07-14 22:58:39 +00:00
briano%netscape.com 36ab6367c9 Added a QNX-specific fix. 1999-07-13 21:41:37 +00:00
sspitzer%netscape.com 22ce1f44e2 add the touch interface to the nsIFileSpec iterface and the appropriate implementations 1999-07-13 19:10:43 +00:00
briano%netscape.com daecd83558 Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh. 1999-07-12 22:36:24 +00:00
rpotts%netscape.com 4a82a6de2f Added nsIBufferObserver::OnWrite(...) 1999-07-12 06:25:38 +00:00
warren%netscape.com ffa10582f9 Beefed up buffer/pipe tests. 1999-07-10 11:27:14 +00:00
warren%netscape.com 68adac575c Removed obsolete Fill methods. Added NonBlocking attribute. 1999-07-10 11:27:11 +00:00
warren%netscape.com 114d46856f Fixed buffer empty condition to to return WOULD_BLOCK. 1999-07-10 11:27:08 +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
warren%netscape.com 0cd57746e8 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
rickg%netscape.com 9a46cd8280 update to new nsStringTokenizer -- not in tip 1999-07-09 16:51:57 +00:00
putterman%netscape.com 4b650de966 Fix for 9081. Copy over all of old array. Reviewed by dp. Approved by chofmann. 1999-07-09 15:05:18 +00:00
rickg%netscape.com d0b2c27fa3 back out erroneously updated files 1999-07-09 06:01:55 +00:00
rickg%netscape.com 1392e0be05 added nsStringTokenizer.* files; but not in the makefiles yet 1999-07-09 05:11:25 +00:00
dp%netscape.com 29dd23af41 Fixing memory leaks and mismatched memory. bug #8935 bug# 9006
Thanks to david.gardiner@unisa.edu.au for finding the memory leaks
1999-07-09 03:45:19 +00:00
dp%netscape.com 081122d07d Fixing memory leak. bug# 9005 Thanks to <david.gardiner@unisa.edu.au> 1999-07-09 03:43:29 +00:00
dp%netscape.com c9261cc1b2 Fixed
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
1999-07-09 03:41:27 +00:00
rpotts%netscape.com ef421fc66f Added code to initialize amt (in case it is not zeroed out in the failure case) 1999-07-08 23:34:25 +00:00
rpotts%netscape.com 9bc4f969a1 Changed the blocking input and output streams to always call Fill/Flush when a nsIBuffer::Read/Write fails... 1999-07-08 23:26:52 +00:00
ramiro%netscape.com d3cd369285 Another makefile that clobbers DEFINES. 1999-07-07 21:22:55 +00:00
ramiro%netscape.com 490d0f5165 DEFINES was being clobbered. Should be "+=" not "=". 1999-07-07 20:54:57 +00:00
ramiro%netscape.com 9200ddaebb Checkin another chunk of Alex Larsson's non-exported symbol reduction
patch.  All changes protected by  MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.
1999-07-07 09:02:21 +00:00
ramiro%netscape.com b5de6fd70c Match the window DEFINES. Also took out -D_IMPL_NS_WIDGET, which smells
like a cut and paste error.
1999-07-07 08:16:57 +00:00
ramiro%netscape.com 7805a384ea Use DEFINES instead of CFLAGS. 1999-07-07 08:13:01 +00:00
mang%subcarrier.org 515fd3cecc suppress warnings about /* in comment 1999-07-07 07:54:02 +00:00
dp%netscape.com 3c8f0a85ed Landing XPCOM_M8_PERF_BRANCH.
- Enabling prepopulation of registry CID entries.
1999-07-07 07:48:12 +00:00
dp%netscape.com ac300c878d Landing XPCOM_M8_PERF_BRANCH.
- GetFactoryEntry() factored out into a function
- Factory Cacheing enabled
- deletion of removed factory entries enabled
- Locks removed from FindFactory() and Register*()
1999-07-07 07:47:14 +00:00
dp%netscape.com 54c432d92c Landing XPCOM_M8_PERF_BRANCH. Speeding up GetString(). 1999-07-07 07:42:03 +00:00
mang%subcarrier.org accf14f46c libIDL expects the line number to be one more than we think it is.
Who are we to argue?
Fixes bug 5872 for header mode.
1999-07-07 04:42:33 +00:00
ramiro%netscape.com abf0cc4a0f Define the toolkit flags in one place an reuse that. Hopefully this will
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
toshok%hungry.com b99135a491 squelch unused parameter warnings. 1999-07-07 04:17:45 +00:00
gayatrib%netscape.com 31d5a62283 Added Recursive Copy routine 1999-07-07 01:02:16 +00:00
jband%netscape.com 2c6a1826c5 updating xptcall status page 1999-07-06 22:57:45 +00:00
briano%netscape.com 80dd399f67 Better way to deal with IRIX-specific problem with xptcstubs_asm_irix.s. 1999-07-06 22:52:20 +00:00
racham%netscape.com aba8748b4b Removing check for mpath in Recursive copy routine 1999-07-06 22:41:42 +00:00
jband%netscape.com b36a0f576c added MultipleInheritence xptcall invoke test 1999-07-05 21:31:25 +00:00
racham%netscape.com 06f1388283 Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
danm%netscape.com bc6e347979 makefile was broken if GLOWCODE was enabled. fixed, and removed glowcode. 1999-07-04 02:10:16 +00:00
danm%netscape.com 524cfc01d0 makefile was broken if GLOWCODE was enabled. fixed, and removed glowcode. 1999-07-04 01:54:34 +00:00
warren%netscape.com a9ae165740 Fixed bug in string stream length. 1999-07-03 06:49:28 +00:00
briano%netscape.com ece1e9a87a Looks like we'll need IRIX -o32 files as well (for IRIX 5.x and earlier). 1999-07-03 02:58:38 +00:00
mscott%netscape.com 328301a43d Rewrite NS_IMPL_THREADSAFE_ADDREF and NS_IMPL_THREADSAFE_RELEASE in cross platform way instead of having separate
implementations for windows and everyone else. They are now written to use PR_AtomicIncrement and PR_AtomicDecrement.
this meant adding #include "pratom.h".

A side effect of this change is that no one needs to include "windows.h" in .cpp files which were implementing threadsafe
interfaces. You used to have to do this before with the old implementations.
1999-07-02 20:18:20 +00:00
dveditz%netscape.com a1b579e607 Argh, escaped from the branch during my makefile munging -- Sorry! 1999-07-02 15:11:44 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
ramiro%netscape.com b86c78a296 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com 378777df04 fixing build bustage 1999-07-02 12:39:26 +00:00
dveditz%netscape.com 5dd9cff22d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
sspitzer%netscape.com 18588c57f5 bulletproofing changes. check return value and return it if error. 1999-07-02 06:31:31 +00:00
dp%netscape.com 2f2c55b2d1 Diabling registry prepopulation. These changes was meant for the
branch and not in the tip. When XPCOM_M8_PERF_BRANCH lands, these will
be enabled.
1999-07-02 04:04:31 +00:00
dp%netscape.com 4bb9484d17 Removing old RegisterComponent calls as these are inbuilt into XPCOM 1999-07-02 03:50:44 +00:00
dp%netscape.com b87ff47f54 Calling PlatformPrePopulateRegistry() 1999-07-02 03:37:44 +00:00
dp%netscape.com d71b862e32 PlatformPrePopulateRegistry() 1999-07-02 03:35:09 +00:00
dp%netscape.com 18656b0696 Caching of node names in nsIRegistryNode
Adding nsIRegistryNode::GetIID()
        - Thanks Dan Veditz
1999-07-02 03:34:08 +00:00
dp%netscape.com 46d2b4616a Adding nsProxiedService.h to export. 1999-07-01 22:14:15 +00:00
sgehani%netscape.com 71384d8fb5 Guarding against memory allocation error and a resulting null pointer.
Also, now AddRef'ing XPCOM nsPropertyElements when created.
1999-07-01 18:39:46 +00:00
jdunn%netscape.com 6c4dad650c partical fix for the stubs call on AIX 1999-07-01 18:16:34 +00:00
sspitzer%netscape.com d44aee0f67 fix SunOS bustage. r=tor, a=leaf 1999-07-01 16:36:37 +00:00
sspitzer%netscape.com 4d5a4f8ff8 fix solaris build bustage, I hope 1999-07-01 08:48:25 +00:00
sspitzer%netscape.com 2fa6fafd6a fix warning 1999-07-01 08:48:06 +00:00
sspitzer%netscape.com e97690072d rename variable to avoid warnings on linux.
time is globally defined.
1999-07-01 03:59:55 +00:00
gagan%netscape.com 00b5efdc65 NECKO cleanup. 1999-07-01 03:00:06 +00:00
jband%netscape.com cc711499f4 quick fix for bug 9250 - assert on startup 1999-06-30 07:13:26 +00:00
scc%netscape.com 1bf2a0c6f1 all the changes are in, time to remove the #undef line so the traits class can do the right thing on platforms that support template specialization 1999-06-30 01:40:21 +00:00
shaver%netscape.com f8f7778a8e partial backout of scc's nsCOMPtr, attempting to revive Win32 build 1999-06-29 22:33:18 +00:00
jband%netscape.com 9475c8846a doing my part for bug 8227 1999-06-29 21:15:31 +00:00
scc%netscape.com d10f87cd9d added logic to test whether QueryInterface was actually required when it is ommitted, |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|, changed the scheme by which we compare with zero to a more robust mechanism, modified specialized |CallQueryInterface| to use the global version 1999-06-29 21:09:59 +00:00
scc%netscape.com 6df1f92d72 do_QueryInterface(NULL, &error) now returns the appropriate error in |error| 1999-06-29 21:09:56 +00:00
scc%netscape.com 75d4998857 added and removed tests as features of |nsCOMPtr| change 1999-06-29 21:06:17 +00:00
scc%netscape.com 54c96baa72 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
scc%netscape.com fbe308a1f7 bug fixes and suggestions 1999-06-29 21:01:11 +00:00
jdunn%netscape.com 91418818a9 Fix HPUP and AIX build bustage by 'casting' the params. 1999-06-29 20:37:18 +00:00
scc%netscape.com d049be3c31 Added |GetIID()| 1999-06-29 20:28:56 +00:00
scc%netscape.com 7f5981ed65 add traits class to solve multiple |GetIID()| problems 1999-06-29 20:11:57 +00:00
mcafee%netscape.com b6f2e1e3d2 Rearranging libraries to get solaris to link. 1999-06-29 10:45:51 +00:00
mcafee%netscape.com 4aca8a8246 BeOS changes 1999-06-29 10:27:58 +00:00
gagan%netscape.com c2ee4a5f74 Removed gfxps linkage. 1999-06-29 02:46:56 +00:00
gagan%netscape.com 61449ac7c3 Necko changes. 1999-06-29 00:06:44 +00:00
dp%netscape.com 2c19234bc6 First version 1999-06-28 23:41:02 +00:00
alecf%netscape.com a9b7425367 added files: mozilla/xpcom/ds/nsISupportsArray.idl 1999-06-28 23:26:07 +00:00
mcafee%netscape.com f81dc61901 Changes for OS/2. Patch provided by Eric Olson (eric.olson@sympatico.ca) 1999-06-28 23:11:18 +00:00
mcafee%netscape.com 0569313c71 Changes for OS/2. 1999-06-28 22:41:48 +00:00
mscott%netscape.com c0c516f443 fix mac build breakage for alecf. nsISupportsArray is now generated by XPIDL. 1999-06-28 22:36:30 +00:00
dp%netscape.com 98a224de7a Removing duplicate nsDebug.obj. Thanks to
<david.gardiner@unisa.edu.au> for pointing this out.
1999-06-28 22:23:04 +00:00
dp%netscape.com 8dbc732c42 Enable PR_LOGs on release builds. 1999-06-28 21:51:46 +00:00
alecf%netscape.com 8f73159e92 remove nsISupportsArray.h from build (now comes from .idl file) 1999-06-28 21:37:14 +00:00
alecf%netscape.com 87812e6f4e XPIDLize nsISupportsArray for windows 1999-06-28 21:36:02 +00:00
mang%subcarrier.org 2910f06745 Partially fixes bug 5872
Line numbers are now (only) off by one on Unix
Windows still reports incorrect line number if error is in an included file
Fixes bug 8183
Included files not found are now reported with proper line number
1999-06-28 21:10:18 +00:00
warren%netscape.com 70e47e4e29 Fixed necko ifdefs. 1999-06-28 20:23:53 +00:00
valeski%netscape.com 3352559e07 necko build 1999-06-28 13:43:53 +00:00
warren%netscape.com f5e1196f42 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
alecf%netscape.com 85df1f4b30 fix one of my warnings 1999-06-27 06:30:59 +00:00
alecf%netscape.com a5bae12a33 fix signed/unsigned issues 1999-06-27 06:18:41 +00:00
alecf%netscape.com 39f1a100e1 add [ptr] version of nsFileSpec 1999-06-26 20:27:28 +00:00
mccabe%netscape.com 563513795f Fix warning fix by casting void * (to go into a hashtable) as an unsigned int rather than as an int, which busts on platforms that have the high bit set for pointers.
Thanks to Duncan Wilcox <duncan@be.com> for catching this.
1999-06-26 08:17:00 +00:00
warren%netscape.com 9028d6548a Added HashValue methods for ascii strings. 1999-06-26 06:32:35 +00:00
sspitzer%netscape.com 4ca17620eb fix warnings 1999-06-26 04:17:58 +00:00
shaver%netscape.com f4e4a3f10e um, that wasn't supposed to get checked in 1999-06-26 01:26:19 +00:00
shaver%netscape.com 7365a5ec68 clean up className manipulation; no progids, though\! 1999-06-26 00:40:03 +00:00
mcafee%netscape.com 28609227a2 BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes. 1999-06-25 10:56:50 +00:00
ramiro%netscape.com 05ae9c3868 Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:38:26 +00:00