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

403 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com 5cb58c574b Changed WriteSegments(...) to return NS_BASE_STREAM_FULL if a WriteSegment cannot be allocated. And to propagate WOULD_BLOCK if it is returned by the reader() function.... 1999-06-12 08:52:59 +00:00
rpotts%netscape.com 05b81531f8 initialize the [out] parameters in GetWriteSegment so they are correct even if NS_OK is not returned... 1999-06-11 08:22:17 +00:00
sgehani%netscape.com 3eeb4463bb Added enumeration service to PersistentProperties which returns an enumeration of
PropertyElement objects.
1999-06-11 02:20:36 +00:00
briano%netscape.com 6a00550c5e Ifdef hack to get this to compile on SunOS 4.x. 1999-06-10 22:37:27 +00:00
waterson%netscape.com cdd5c2124b Remove nsStringImpl and nsIString. 1999-06-10 20:20:32 +00:00
akkana%netscape.com 57e34e9db5 Fix 5968 -- I got tired of seeing a bazillion warnings about the parameter index shadowing the globally defined string function 1999-06-10 20:18:17 +00:00
ramiro%netscape.com 8b1c0c50d5 This is all C code. 1999-06-09 10:08:12 +00:00
warren%netscape.com 0b2245488a Cleaned up the nsIBuffer interface, added comments, etc. 1999-06-09 06:41:32 +00:00
warren%netscape.com a619c8caf6 Added ReadSegments and WriteSegments to nsIBuffer to avoid the need to allocate intermediate buffers. 1999-06-09 04:52:47 +00:00
warren%netscape.com 47becf5b56 Added nscore.h to nsrootidl.idl for PRUnichar. 1999-06-09 03:19:10 +00:00
waterson%netscape.com 903e08a0d0 Obsolete. Generated from nsICollection.idl now. 1999-06-08 21:28:42 +00:00
waterson%netscape.com 57cb790229 Obsolete. Generated from nsIEnumerator.idl now. 1999-06-08 21:27:47 +00:00
warren%netscape.com b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
sfraser%netscape.com 66152607d5 Fix for bug 7479; use unsigned char to avoid sign extension when converting to wide string. r rickg. 1999-06-08 00:28:47 +00:00
warren%netscape.com c427020eb4 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
jdunn%netscape.com 92ce1bb48a AIX requires nsSubsumeStr to be a const... so for AIX (only) lets make it so 1999-06-04 22:08:19 +00:00
rickg%netscape.com ead59aac8f fixed warnings 1999-06-03 23:03:08 +00:00
rickg%netscape.com 4750d8ff9b fixed offset error in FindCharInSet() and RFindCharInSet() 1999-06-03 22:12:27 +00:00
warren%netscape.com 00a8591812 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). Added nsIBufferInputStream for peek capability. 1999-06-03 21:51:09 +00:00
ducarroz%netscape.com d984b2b85a add nsISupportsArray.idl 1999-06-03 21:00:44 +00:00
waterson%netscape.com bd60dc35e4 Fix XPIDL_MODULE typos. 1999-06-03 20:06:49 +00:00
rickg%netscape.com 71405a906b fix bug 7479 per Erik VanDerPoel 1999-06-03 18:45:39 +00:00
jdunn%netscape.com 7535af1408 change false to PR_FALSE 1999-06-03 17:57:36 +00:00
rickg%netscape.com 7d255a1bd9 fix searching errors; safeguard assign 1999-06-03 10:49:14 +00:00
cathleen%netscape.com 19f3511bbb prevent getting an outrageous index value, when a char is not found in a
given nsStr.  broke XPInstall.
1999-06-03 01:11:14 +00:00
alecf%netscape.com c5bb0477e4 first cut at scriptifying nsISupportsArray - remove constness from all methods, add new XPCOM compatible methods and fix layout code to handle lack of const methods 1999-06-02 02:06:32 +00:00
alecf%netscape.com 47ee537453 add XPIDLized version of nsISupportsArray 1999-06-02 02:03:45 +00:00
alecf%netscape.com f2d0f1ba0f stop using [] operator on nsISupportsArray - going away for scriptability 1999-06-02 00:14:41 +00:00
rickg%netscape.com 1851bc0098 update to nsString2 as default impl 1999-05-31 22:09:05 +00:00
rickg%netscape.com 9f99b05dc8 searching should be slightly faster now 1999-05-29 09:40:49 +00:00
rickg%netscape.com fd7edc13b6 using brute-force search for now 1999-05-29 09:28:56 +00:00
rickg%netscape.com 8f2ceea3de final update to nsString2 before switchover 1999-05-29 07:29:46 +00:00
law%netscape.com ce6fed6775 XPIDL-ifying nsIOberver/nsIObserverService 1999-05-29 01:30:27 +00:00
law%netscape.com 0b7b490358 XPIDL-ifying nsIObserver/nsIObserverService 1999-05-29 00:51:17 +00:00
dp%netscape.com 87abaa38bd Adding progid and classname 1999-05-27 22:47:27 +00:00
dp%netscape.com 75c92edeea Removing ending ; 1999-05-27 22:45:24 +00:00
rickg%netscape.com 8fe0d4a29a fixed bug in findStr 1999-05-27 10:28:50 +00:00
rickg%netscape.com dafc322589 fixed bug in nsString2::find() -- this will soon use boyer-moore 1999-05-27 07:59:16 +00:00
sspitzer%netscape.com 6af90b587a add the cvsignorage again, and this time don't break the build. 1999-05-26 21:53:31 +00:00
pinkerton%netscape.com e4462b13c1 missing [] on delete of internal array in operator=. 1999-05-26 21:13:29 +00:00
sspitzer%netscape.com 69223a1b4f remove this to fix build bustage 1999-05-26 19:03:16 +00:00
sspitzer%netscape.com c6e0e5e2df cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 0142cb7a14 Added 1999-05-18 21:43:13 +00:00
dp%netscape.com 34b30431ba Initial version 1999-05-18 09:11:01 +00:00
kmcclusk%netscape.com 6635957e0c Modified nsString2::Append to only call strlen only if aCount is -1.
This clears up ABR errors reported in Purify.
1999-05-13 23:44:57 +00:00
waterson%netscape.com 3ea7cf781b Temporarily fix build bustage until we get brave enough to turn XPIDL on for Mac. 1999-05-13 16:41:32 +00:00
warren%netscape.com f0a87da737 Removing old files now generated by IDL (to avoid future screw ups). 1999-05-13 08:48:47 +00:00
gagan%netscape.com 4999cf4cdb So we're using IDL nowcvs diff! I find out the hard way. -Warren 1999-05-13 08:21:37 +00:00
warren%netscape.com 87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com ed6326405e make the destructor virtual 1999-05-13 00:48:42 +00:00
beard%netscape.com a57b1f76a4 made Count() method pure virtual, to fix xpcom link error. 1999-05-12 06:20:37 +00:00
alecf%netscape.com d7d9cd0e4b check in IDL version of nsICollection interface 1999-05-12 03:11:48 +00:00
alecf%netscape.com a4c1fbdaa8 remove const-ness from nsICollection::Count() so that it can be represented with XPIDL 1999-05-12 02:53:37 +00:00
putterman%netscape.com 7ddfe8a6e9 Fix refcounting bug. nsISupportsArray[] already does an addref. 1999-05-10 21:53:18 +00:00
mcafee%netscape.com 492b4cef0f Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com 1999-05-10 06:47:04 +00:00
bruce%cybersight.com ff0c2c46f4 This MUST be fixed in some other way. This is a temporary fix for the HP build bustage that Warren okayed as this code isn't in use elsewhere. This is just commenting out the bad code, not fixing it. 1999-05-07 08:08:21 +00:00
warren%netscape.com d094cda857 Removed size args from nsIAllocator Realloc and Free. Now nsPageMgr keeps track of sizes for its nsIAllocator interface. 1999-05-07 06:22:11 +00:00
briano%netscape.com b1a44b7876 Changed the reference to 'false' to 'PR_FALSE' so it'll build on Unix. 1999-05-07 02:21:43 +00:00
jband%netscape.com ff6dae2ffa checking in generated versions of these xpcom headers. soon we will be generating these at compile time. Sources for these files are in xpcom/idl. They are regenerated from those files using xpidl -m header filename.idl 1999-05-07 01:45:20 +00:00
rickg%netscape.com a404439850 also removed a debug define 1999-05-07 00:48:04 +00:00
rickg%netscape.com 641adcdf34 fixed an error subsuming autostrings, and removed an AIX warning 1999-05-07 00:47:24 +00:00
jband%netscape.com f515159591 pare down to the idl files that really work. Some can be resurrected later. Many require interface changes with deeper implications. These are the base interfaces that we really need to have xpconnectable at this point 1999-05-07 00:17:58 +00:00
waterson%netscape.com f9adab0bb3 Suppress unused parameter warnings. 1999-05-06 05:15:26 +00:00
rickg%netscape.com 4957d2ba64 new nsString modz; getting ready for nsString2 switchover 1999-05-06 05:13:08 +00:00
alecf%netscape.com cbf125fb4c #if 0 out some unused code 1999-05-04 20:56:40 +00:00
alecf%netscape.com a2d005b709 initialize some variables in constructor declaration rather than the constructor itself 1999-05-04 20:52:05 +00:00
alecf%netscape.com d8e19cb305 fix virtual constructor problem 1999-05-04 20:50:24 +00:00
alecf%netscape.com 39d97ca312 add a side effect warning that bit me hard during M6 1999-05-04 20:28:24 +00:00
waterson%netscape.com 129dfd2a49 Improve docs. 1999-05-04 03:54:56 +00:00
briano%netscape.com 2760eda281 Defined MAP_FAILED for all the platforms that don't have it. 1999-05-01 02:10:39 +00:00
briano%netscape.com 9907679d08 Fix AIX and Solaris bustage. 1999-05-01 01:40:35 +00:00
warren%netscape.com 7bd9aa78c5 Consolidated individual factories into a single factory for base. 1999-04-30 22:55:21 +00:00
warren%netscape.com 88d6a3a41a Added page manager, buffer, buffer streams and pipes stuff. 1999-04-30 22:55:12 +00:00
warren%netscape.com 4ceccb4a80 Fixed QI to respond to nsIProperties and nsIPersistentProperties. Removed factory (now in nsBaseDLL). 1999-04-30 22:54:22 +00:00
waterson%netscape.com 1ea17b5fd1 Bug 5671. Use nsAllocator instead of C++ new/delete. r=jband,a=chofmann. 1999-04-30 18:49:40 +00:00
pinkerton%netscape.com 7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
erik%netscape.com 34cd195e11 Was using the wrong IID to implement nsISupports. Fixed. 1999-04-28 01:43:51 +00:00
bruce%cybersight.com d6747dc35c Backing out change .. breaks build globally. Guess it is better to just have a broken HP-UX for now. 1999-04-28 01:24:06 +00:00
bruce%cybersight.com 324a049f19 Fix HP-UX build bustage. You may NOT delete a void*. This is illegal in ANSI C++. 1999-04-28 01:08:40 +00:00
brendan%netscape.com f1504a6f9e Fix typos and other comment nits. 1999-04-28 00:38:49 +00:00
kipp%netscape.com cce89c1b41 Fixed bug in strncasecmp as reported by Eric Burley <ericb@neoplanet.com>; while I was there I removed a compiler warning too 1999-04-27 22:20:52 +00:00
sfraser%netscape.com ac3317e9b5 Remove errant semicolons. 1999-04-27 04:04:24 +00:00
rickg%netscape.com 8454059bc9 removed warnings 1999-04-26 23:43:40 +00:00
waterson%netscape.com 50e071071c Added nsISimpleEnumerator.h as a dummy file so that XPIDL that uses it won't break. 1999-04-26 17:31:57 +00:00
bruce%cybersight.com 0d9976da76 Old patches for non-virtual vs virtual destructors (approved by Troy) 1999-04-25 04:57:38 +00:00
rickg%netscape.com 5c86e5a3c1 completed the backout 1999-04-25 03:50:10 +00:00
rickg%netscape.com 5b3132ce88 backing out string changes until I can get it right 1999-04-25 03:10:44 +00:00
rickg%netscape.com a293ca7ca6 still trying to fix mac breakage 1999-04-25 02:53:39 +00:00
rickg%netscape.com 72a01442f1 removed warnings and a build error 1999-04-25 02:05:03 +00:00
rickg%netscape.com add5c429d4 fix to nsString2 constructor 1999-04-25 01:51:21 +00:00
rickg%netscape.com f48eec734b fix to nsString2 constructor 1999-04-25 01:49:58 +00:00
rickg%netscape.com f9662d011b disabled some unnecessary debug output 1999-04-25 01:27:51 +00:00
rickg%netscape.com d8ba6251a8 removed PRUnichar* operator() and other WIP for nsString2 1999-04-25 01:24:10 +00:00
waterson%netscape.com 5c0b4cea21 Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH. 1999-04-24 02:38:54 +00:00
bruce%cybersight.com aa6270418f Removing a spurious comma, fixing AIX and HP-UX build bustage. I don't see why this code should've compiled for anyone. 1999-04-23 04:15:50 +00:00
warren%netscape.com f256cf42fb Added variant and scriptable. 1999-04-22 08:27:34 +00:00
rickg%netscape.com 4932037b7d sync up with nsString2.cpp 1999-04-22 08:23:25 +00:00
warren%netscape.com 1ea549d80d Started factoring nsIPersistentProperties from nsIProperties. 1999-04-22 07:32:51 +00:00
warren%netscape.com 51b7658a46 Added nsCRT::free methods. 1999-04-22 04:25:17 +00:00
warren%netscape.com 9ad48782fb Added NS_IMETHOD decls. 1999-04-22 04:17:21 +00:00
neeti%netscape.com 0091f72b77 checking for null mObserverList 1999-04-21 19:36:41 +00:00
neeti%netscape.com 7bdbb69f8b implemented wrapper funtions to make GetObserverList private. 1999-04-20 14:50:47 +00:00
warren%netscape.com 640e419016 Made instance variables protected so that we can subclass. 1999-04-16 18:16:21 +00:00
sfraser%netscape.com 8043917bf9 Warning elimination (remove extra ; ) 1999-04-15 19:54:27 +00:00
sfraser%netscape.com 940db7bd3c Warning elimination (delete extra ; ) 1999-04-15 19:53:35 +00:00
waterson%netscape.com cb7e7a95c4 Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to. 1999-04-14 23:06:22 +00:00
beard%netscape.com e91206a937 sorry, size_t != unsigned int, made declarations consistent to fix later link errors. 1999-04-14 04:19:42 +00:00
tague%netscape.com b7780e7118 Rolled out change 1999-04-13 23:25:38 +00:00
tague%netscape.com 7723a871e2 Fixed windows build booboo. Added extern C to the defintion of nsQuickSort 1999-04-13 23:03:40 +00:00
alecf%netscape.com d204424b35 export this symbol correctly 1999-04-13 22:16:52 +00:00
alecf%netscape.com 3f2caacd18 make sure nsQuickSort is extern "C" 1999-04-13 20:36:57 +00:00
alecf%netscape.com c9d3ccdde2 fix mac bustage 1999-04-13 20:34:38 +00:00
jdunn%netscape.com 57e6713c2c fix compiler warning/errors with conversion from a void* to a char* 1999-04-13 20:27:17 +00:00
alecf%netscape.com d5be09930b add quicksort implementation to base
(Thanks to Regents of CA and the RDF team)
1999-04-13 19:03:45 +00:00
warren%netscape.com 467799711d Fixed error to be an nsresult. 1999-04-13 18:27:21 +00:00
warren%netscape.com bcdbab63da Fixed comment. 1999-04-13 18:26:53 +00:00
rickg%netscape.com bc41d2b9f5 fixed mail/news crash and bug 4606 1999-04-07 21:05:19 +00:00
neeti%netscape.com 8068dae4d4 initial checkin for ObserverService api 1999-04-06 20:54:09 +00:00
rickg%netscape.com 54638203b1 fixed nsStr bug found by davidBienvenu -- I owe him a beer 1999-04-05 21:38:50 +00:00
rickg%netscape.com 640480851f fixed bug found by DavidBienvenu -- I owe him a beer 1999-04-05 21:28:55 +00:00
rickg%netscape.com 9719abb145 API cleanup for nsString 1999-04-05 08:06:54 +00:00
rickg%netscape.com dda2c5d456 fix to pushfront 1999-04-02 22:06:05 +00:00
rickg%netscape.com 3554b4a46a fixed bug in deque::pushfront 1999-03-31 08:42:06 +00:00
dp%netscape.com c2937307d6 Thread Safe nsHashtable (on demand only) 1999-03-30 08:15:39 +00:00
pierre%netscape.com f9165ef867 Use delete[] for strings allocated with ToNewCString(). 1999-03-30 01:23:24 +00:00
briano%netscape.com 90d9dd6669 Fixed the 'extra token after the endif' bug that was breaking some Unix builds. 1999-03-29 23:05:49 +00:00
waterson%netscape.com 0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
jband%netscape.com ccca3b497c fixing cases of declaration not exactly matching definition and a few other instances of extraneous 'const' on PRUnichar passed by value 1999-03-27 07:34:44 +00:00
rickg%netscape.com dd619c3450 any fix for entities 1999-03-25 01:27:27 +00:00
waterson%netscape.com d914f058e8 Made the nsCStringKey class NS_COM so that it could be exported across DLLs. 1999-03-23 23:12:35 +00:00
rickg%netscape.com 61a70a0c96 removed linux warnings 1999-03-23 08:47:54 +00:00
rickg%netscape.com eb7f160063 added recycler to nsString2 1999-03-23 07:33:10 +00:00
rickg%netscape.com a313d5394a fixed bug in nsString; added recycler to nsString2 1999-03-23 07:26:27 +00:00
waterson%netscape.com ac209c730f Initial revision. Not currently in the build. 1999-03-23 01:46:44 +00:00
waterson%netscape.com 58442e8477 Fixed some syntax errors that I found when I actually tried to compile. 1999-03-23 01:46:12 +00:00
waterson%netscape.com 86604a8b50 Added an Init() method to allow the creator to specify an alternate
character size for the internal representation.
1999-03-23 01:29:16 +00:00
waterson%netscape.com 7c8125c3cc Added nsIString interface. 1999-03-23 00:43:54 +00:00
rickg%netscape.com 0ab7547cf9 removed unsightly warnings from string classes 1999-03-23 00:28:36 +00:00
rickg%netscape.com bf82500ce5 fixed link error 1999-03-22 22:26:17 +00:00
rickg%netscape.com b9efb47ef0 fixed nsString2 build problem 1999-03-22 22:03:14 +00:00
dcone%netscape.com 9722af1758 fixed small mac bug 1999-03-22 21:52:57 +00:00
dcone%netscape.com 5107ff368a Fixed small mac bug 1999-03-22 21:52:39 +00:00
rickg%netscape.com f601e29751 landing nsString2 1999-03-22 09:54:46 +00:00
rickg%netscape.com e26a3d2825 prep work to land nsString2 1999-03-22 08:29:26 +00:00
dp%netscape.com 13372716ec Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com> 1999-03-21 19:26:32 +00:00
warren%netscape.com 87ef6a89de Backed out nsUnicharKey -- couldn't get it to build with -pedantic linux. 1999-03-19 10:27:41 +00:00
warren%netscape.com a6fb69b832 Attempt to fix pendantic breakage. 1999-03-19 09:46:09 +00:00
warren%netscape.com 27f47bf2ac Added nsUnicharKey for nsHashtables. 1999-03-19 09:02:43 +00:00
rickg%netscape.com 063da77aca removed static vars 1999-03-19 08:47:20 +00:00