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

1637 Коммитов

Автор SHA1 Сообщение Дата
briano%netscape.com 0807ce322d Added a QNX-specific fix. 1999-07-13 21:41:37 +00:00
rpotts%netscape.com a2b7a462bd Added nsIBufferObserver::OnWrite(...) 1999-07-12 06:25:38 +00:00
warren%netscape.com 11431c69bf Fixed buffer empty condition to to return WOULD_BLOCK. 1999-07-10 11:27:08 +00:00
rickg%netscape.com 4657524afb update to new nsStringTokenizer -- not in tip 1999-07-09 16:51:57 +00:00
putterman%netscape.com 26a5efdedd 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 6ae572e3bd back out erroneously updated files 1999-07-09 06:01:55 +00:00
rickg%netscape.com 805dbdcc10 added nsStringTokenizer.* files; but not in the makefiles yet 1999-07-09 05:11:25 +00:00
ramiro%netscape.com c1050925d4 DEFINES was being clobbered. Should be "+=" not "=". 1999-07-07 20:54:57 +00:00
sgehani%netscape.com da4d19426e 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
sspitzer%netscape.com cf8ec2d418 rename variable to avoid warnings on linux.
time is globally defined.
1999-07-01 03:59:55 +00:00
scc%netscape.com f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
scc%netscape.com 4973918df6 Added |GetIID()| 1999-06-29 20:28:56 +00:00
mcafee%netscape.com 7f42e390e5 BeOS changes 1999-06-29 10:27:58 +00:00
mscott%netscape.com 5b5d5819ab fix mac build breakage for alecf. nsISupportsArray is now generated by XPIDL. 1999-06-28 22:36:30 +00:00
alecf%netscape.com 12f83b818c remove nsISupportsArray.h from build (now comes from .idl file) 1999-06-28 21:37:14 +00:00
alecf%netscape.com 011b57facb XPIDLize nsISupportsArray for windows 1999-06-28 21:36:02 +00:00
alecf%netscape.com ce8bc1db8b fix one of my warnings 1999-06-27 06:30:59 +00:00
alecf%netscape.com 9f7fabff19 fix signed/unsigned issues 1999-06-27 06:18:41 +00:00
warren%netscape.com 4865cb6d8a Added HashValue methods for ascii strings. 1999-06-26 06:32:35 +00:00
warren%netscape.com d7fe7b82d2 Added constructor functions for nsEnumeratorUtils. 1999-06-25 01:38:33 +00:00
mscott%netscape.com bdfc68dc2f Add macro definition for NS_LINEBREAK and NS_LINEBREAK_LEN. Folks should use this instead of defining their own LINEBREAK macros all over the place. 1999-06-22 18:50:12 +00:00
warren%netscape.com 97f562cfc2 Fixed problems with GetReadSegment after eof. 1999-06-21 21:05:07 +00:00
warren%netscape.com f6e890721b Making buffers work better. Now out-of-memory is handled properly. 1999-06-19 22:23:18 +00:00
rickg%netscape.com fd74705b41 fixes Churchill's search bug, and crash bug 6469 1999-06-18 04:51:11 +00:00
rickg%netscape.com e5e7c20dbc fixed ToInteger (again) and eliminate bug 8140 1999-06-17 19:15:57 +00:00
rickg%netscape.com 1e43cc1e92 approved update 1999-06-17 07:24:13 +00:00
warren%netscape.com d67d305bb9 Upped max pages because there's some sort of PRMonitor bug when you run out of VM space. 1999-06-16 04:15:12 +00:00
warren%netscape.com ea65cc126c Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:08 +00:00
warren%netscape.com d1a7f6e578 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
rickg%netscape.com a22536e99a more error reporting in ToInteger() 1999-06-15 02:03:33 +00:00
rickg%netscape.com d22b6af279 perf improvements, bug fix in insert(), better error reporting in ToInteger() 1999-06-13 21:23:04 +00:00
erik%netscape.com 605e35b9f9 Was crashing when property already existed. Fixed now, by ignoring
subsequent attempts.
1999-06-12 21:07:22 +00:00
bruce%cybersight.com 2931e016b0 Add newline at end of file for commercial unix compilers. 1999-06-12 16:59:57 +00:00
waterson%netscape.com 6935cf5057 Ensure that mBuf <-- 0 before assignment begins. Otherwise we run the rise of a failed assignment causing a duplicate free. 1999-06-12 16:39:11 +00:00
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
warren%netscape.com 2d6d7aa600 Fix for broken linux compiler. 1999-03-19 06:18:08 +00:00
warren%netscape.com a1de56ad0d Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is). 1999-03-19 05:51:49 +00:00
dp%netscape.com cc70ac201a using nsHashtable for dllStore. 1999-03-12 11:23:49 +00:00
warren%netscape.com 9198ea0da6 tweak 1999-03-11 11:01:16 +00:00
warren%netscape.com 27d6390ab4 Exporting symbols for the mac. 1999-03-11 10:47:54 +00:00
warren%netscape.com d046a90e99 Added union and intersection enumerators. 1999-03-11 09:56:59 +00:00
alecf%netscape.com 4870da1dcf purify fixes from bruce@cybersight.com - free memory the right way 1999-03-10 00:32:44 +00:00
warren%netscape.com a6656a9445 Implemented virtuals in cpp file to try to avoid linux pedantic error. 1999-03-09 14:09:11 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
rickg%netscape.com 98eae31a0b fixed recently introduced i18n bugs 1999-03-07 19:23:28 +00:00
mcmullen%netscape.com 9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
mcmullen%netscape.com 8c366d4625 Made a function static to remove a warning. 1999-03-05 21:35:23 +00:00
warren%netscape.com bd7c76dbf2 Fixed First method to return error. 1999-03-05 05:48:21 +00:00
kipp%netscape.com 8cbbd762e9 Use proper new operator 1999-03-05 04:33:57 +00:00
hyatt%netscape.com 02e16ec5f5 Fix to the RFind method of nsString. 1999-03-05 00:03:46 +00:00
scc%netscape.com e1b19c0104 rename |IID()| --> |GetIID()| 1999-03-03 23:03:34 +00:00
scc%netscape.com 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
ftang%netscape.com 9a83e5f08d add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp 1999-03-02 18:24:42 +00:00
mcmullen%netscape.com d13c4f0d46 Call delete [] when new [] was used for allocation. 1999-02-27 20:39:07 +00:00
kipp%netscape.com 577dbe2134 Defined some operator new/delete macros to help us get it right 1999-02-26 19:38:53 +00:00
alecf%netscape.com c5c155b7b5 add nsIEnumerator interface, and fix nsICollection interface to use long not int 1999-02-26 17:57:34 +00:00
rickg%netscape.com 48537437de new API on deque to set deallocator 1999-02-26 07:23:56 +00:00
rickg%netscape.com ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
warren%netscape.com 884a33e482 Added export/import declaration (temporarily). 1999-02-24 09:55:44 +00:00
warren%netscape.com 7befcf9e6f Updated IIDs 1999-02-24 09:31:34 +00:00
warren%netscape.com 19fa548b5c Added idl 1999-02-24 08:46:00 +00:00
warren%netscape.com 650ed02faf Added NS_NewConjoiningEnumerator 1999-02-24 07:58:06 +00:00
peterl%netscape.com d5cbc69ca0 Fixed bustage in Clear caused by PRInt32 to PRUint32 conversion 1999-02-23 23:31:49 +00:00
warren%netscape.com 01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
warren%netscape.com a4ae2cd79f Added nsSupportsArrayEnumerator 1999-02-23 08:04:28 +00:00
mjudge%netscape.com fbcb42974f changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
rickg%netscape.com 1fe259de63 small mod to handle hex conversion better 1999-02-19 06:32:40 +00:00
warren%netscape.com 41fe50242a Added constructor for strings. 1999-02-18 00:12:08 +00:00
rickg%netscape.com 71624eb818 removed bug from deque, and added replaceChar call to string 1999-02-16 06:47:00 +00:00
troy%netscape.com b0009be1b8 Fixed some more memory leaks 1999-02-14 18:02:38 +00:00
troy%netscape.com 8ebf774ac3 Fixed some memory leaks 1999-02-14 05:44:39 +00:00
troy%netscape.com 2161ce5972 Added missing "const" that was allowing internal pointer to Unicode
string tobe returned as a non-const value
1999-02-14 05:44:01 +00:00
troy%netscape.com f1e3f0b4e7 Fixed some memory leaks 1999-02-14 05:34:07 +00:00
troy%netscape.com 5d53bf146e Added NS_RELEASE of nsIUnicharInputStream interface in Load() 1999-02-14 05:20:34 +00:00
jfrancis%netscape.com fc5669f0e6 backing out attempted fix of enumerator interface 1999-02-12 08:17:55 +00:00
jfrancis%netscape.com 3f22b195b4 scattered NS_IMETHOD liberally through interface 1999-02-12 07:01:06 +00:00
sfraser%netscape.com c2d781ea6a That last checkin should have read: fix a bug in CompressWhitespace that caused the string length to be set incorrectly, when Trim shortened the string. 1999-02-11 06:23:29 +00:00
sfraser%netscape.com 411bf694fa Fix a bug in 1999-02-11 06:22:03 +00:00
erik%netscape.com 1d8684cc66 Forgot to say "public" in "class nsPropertiesFactory : nsIFactory".
This caused it to fail on Linux, but not on Windows. Go figure. Sigh.
1999-02-10 22:51:01 +00:00
alecf%netscape.com ea6a6be543 add a few more string cases to fix compilers who complain about ambiguous overloading 1999-02-10 08:22:47 +00:00
bienvenu%netscape.com a8df8db01e back out linebreak defines 1999-02-09 05:06:35 +00:00
bienvenu%netscape.com 57567ced9f add platform specific linebreak defines 1999-02-09 04:43:58 +00:00
warren%netscape.com b6be0cc3db Added CR LF defines for general use. 1999-02-09 04:19:58 +00:00
waterson%netscape.com 7fbdeff5e1 Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar. 1999-02-08 22:01:08 +00:00
ftang%netscape.com 3af5eaa0fa change upper and lower case operation to call unicharutil for the nonASCII case 1999-02-08 18:57:21 +00:00
warren%netscape.com 6fcd218d65 Added assertion 1999-02-06 04:22:43 +00:00
warren%netscape.com d96cead9f1 Added strtok implementation. 1999-02-06 04:18:15 +00:00
warren%netscape.com a6ea004a90 Added nsVoidKey and nsISupportsKey. 1999-02-06 04:01:23 +00:00
warren%netscape.com b6857edec3 Fixed unsigned problems. 1999-02-06 03:56:36 +00:00
warren%netscape.com 6649625711 Added strncmp, made lengths be unsigned. 1999-02-06 03:56:17 +00:00
erik%netscape.com 005df957ba Moved nsPropertiesFactory constructor from .h to .cpp file 1999-02-05 21:06:07 +00:00
dp%netscape.com 869e988f68 Fixing mRefCnt not being initialized for nsPropertiesFactory 1999-02-05 06:05:51 +00:00
vidur%netscape.com 11754052c3 Added a Reset method to nsHashtable 1999-02-03 19:35:11 +00:00
erik%netscape.com e8de824d89 Fixed compiler warning on Linux. 1999-02-03 18:11:45 +00:00
peterl%netscape.com cda3bca867 Added operator=(nsAutoString) for autostring 1999-01-30 06:19:52 +00:00
ftang%netscape.com 06132c62e3 limit ToUCS2 only have effect in U+0080 to U+009F range so it won't mess up non Latin 1 characters 1999-01-29 18:08:36 +00:00
pinkerton%netscape.com 439ada5c40 add IID for use with nsCOMPtr. 1999-01-28 17:59:37 +00:00
warren%netscape.com e14885b342 Added nsIAllocator and implementation. Made service manager services sticky'. 1999-01-27 02:02:22 +00:00
erik%netscape.com b9739cc681 For some reason, the IID stuff didn't compile on the Mac. Fixed now. 1999-01-27 00:18:34 +00:00
erik%netscape.com 36c641e547 Added implementation of new nsIProperties class (like Java properties).
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).
1999-01-26 23:50:25 +00:00
erik%netscape.com 1919f8ef80 public header file for new nsIProperties class (like Java properties) 1999-01-26 23:48:54 +00:00
peterl%netscape.com 1533456233 added nsStringArray 1999-01-23 06:58:34 +00:00
mjudge%netscape.com 36d1140683 adding IID to interface 1999-01-22 18:58:43 +00:00
buster%netscape.com 9b95f1cd87 added IID static method so nsIEnumerator can be used with nsCOMPtr 1999-01-20 23:16:28 +00:00
rickg%netscape.com 214c399537 exposed objectAt in deque, and fixed toInteger bug 1999-01-15 19:20:51 +00:00
rickg%netscape.com 415f60f790 fixed bug in Compare() and error in ToInteger() 1999-01-10 08:17:40 +00:00
rickg%netscape.com 95d921dff4 modest improvements to string and deque 1999-01-09 01:09:39 +00:00
waterson%netscape.com f390a1e8c5 Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg. 1999-01-07 22:19:57 +00:00
brade%netscape.com 748aa65c90 reduce Macintosh compiler warnings by removing extra ; 1999-01-06 18:49:37 +00:00
troy%netscape.com f334dec10a Added comment to strdup() noting that t he caller must use delete[]
to free the memory
1998-12-22 19:01:14 +00:00
scc%netscape.com ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
brade%netscape.com 087136fce6 fix compiler warning / bug: initialize index to 0 (reviewed peterl@netscape.com). 1998-12-15 22:19:04 +00:00
kin%netscape.com 4d56c25568 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.
1998-12-09 17:07:20 +00:00
mjudge%netscape.com 0495ee6cc6 new enumerator interface change 1998-12-03 21:46:51 +00:00
mjudge%netscape.com 500a20c8b4 making big changes to enumerator class and adding nsICollection 1998-12-01 17:55:08 +00:00
mjudge%netscape.com 30e57ff4a6 collection interface 1998-12-01 17:50:57 +00:00
rickg%netscape.com 51582a22b5 fixed bug #1203 1998-11-24 20:23:46 +00:00
rickg%netscape.com 5d77ac2437 changed ToInteger() so that it returns an error properly 1998-11-24 02:38:21 +00:00
rickg%netscape.com 91a74f3b64 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
kipp%netscape.com 9be7e3e15f Made nsString::Insert actually support the count=-1 default argument 1998-11-19 17:58:30 +00:00
wtc%netscape.com 347bac9bda Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: Makefile, Makefile.in, makefile.win.
1998-11-09 20:10:21 +00:00
wtc%netscape.com da5c8ed7ae Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: MANIFEST, Makefile, Makefile.in, makefile.win.
1998-11-09 20:09:33 +00:00
pierre%netscape.com a9e64e7020 fixed the 3 instances of Compare() to work with empty strings 1998-11-04 06:48:11 +00:00
pierre%netscape.com 3465e56de2 return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0 1998-11-04 06:46:33 +00:00
peterl%netscape.com cbd0246780 made enumeration methods const
added append via array method
1998-11-03 20:14:08 +00:00
rickg%netscape.com 39e6dbf292 fixed bug in IsOrdered that was found on the web 1998-10-26 22:33:39 +00:00
scullin%netscape.com 25177cc6f6 Migrating public header files to public 1998-10-19 17:48:55 +00:00
kipp%netscape.com 001700f459 Fixed some sign extension bugs 1998-10-10 15:28:53 +00:00
kipp%netscape.com bc3dc4eb39 Added a reminder comment 1998-10-10 15:27:50 +00:00
waterson%netscape.com 16df3a299b Fixed linkage problems with nsInt64 and nsTime classes. 1998-10-06 20:06:06 +00:00
rickg%netscape.com 6953f2b621 added radix support in ToInteger() 1998-10-04 04:52:10 +00:00
waterson%netscape.com ee718e862d Added wrappers for 64-bit arithmetic and PRTime. 1998-09-16 19:53:12 +00:00
kipp%netscape.com 067c25cae2 Added a macro and normalized auto-string initialization; reordered methods slightly just to annoy rickg :-) 1998-09-05 23:21:42 +00:00
valeski%netscape.com e77dfab87e String insertion was broken if you wanted to insert at the begining (index '0') of a string. 1998-09-04 18:49:50 +00:00
rickg%netscape.com f62e951f1c new string improvements 1998-09-04 17:26:37 +00:00
peterl%netscape.com 76b0c57697 changed HashCode to HashValue and fixed return type 1998-09-02 01:59:30 +00:00
warren%netscape.com 4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
rickg%netscape.com 4125164d98 added BinarySearch method for faster string searches 1998-08-29 05:06:50 +00:00
valeski%netscape.com da9bc1007c nsString.h - the mBuf member data type was the raw PRUnichar type, changed it to chartype.
nsString.cpp - we were dropping the ending null-byte/unichar when expanding/growing strings
1998-08-27 08:15:40 +00:00
kipp%netscape.com e727d0c80d Fixed compiler problem with other compilers by removing useless const in front of void 1998-08-27 02:39:36 +00:00
rickg%netscape.com 848aed5db1 added iostream output to nsString 1998-08-22 17:50:13 +00:00
rickg%netscape.com 551ef88034 fixed off by one error in Pop() 1998-08-21 02:03:56 +00:00
rickg%netscape.com 26456ae314 fixed objectAT() offset error 1998-08-12 08:53:03 +00:00
peterl%netscape.com a9f7a46342 performance tweak in trim 1998-08-07 02:11:13 +00:00
rickg%netscape.com 21e9c2ad51 improved deque API a tad 1998-08-05 01:59:34 +00:00
rickg%netscape.com 0e7fb55528 kipps changes 1998-08-05 01:31:14 +00:00
rickg%netscape.com 7f335bc63d minor tweak to remove tabs 1998-08-04 10:12:45 +00:00
rickg%netscape.com 6e9492b121 added a few assertions, just to be safe 1998-08-03 21:03:49 +00:00
rickg%netscape.com 42fbaf0a68 major upgrade to string class implementation 1998-08-03 20:46:38 +00:00
peterl%netscape.com 3460f8425f re-added backed-out changes 1998-08-01 00:56:28 +00:00
donm%netscape.com 1119af5b74 backing out changes made while trying to land OJI. 1998-07-31 23:58:26 +00:00
peterl%netscape.com 383e588a3a replaced macros with inline functions 1998-07-31 23:27:36 +00:00
troy%netscape.com e2bf4445ea Fixed some crashes where it wa assumes mStr was non-NULL 1998-07-30 20:36:51 +00:00
rickg%netscape.com 40be51d3e3 more string improvements 1998-07-30 18:35:58 +00:00
rickg%netscape.com 3c5b067b54 fixed string assignment bug 1998-07-30 18:26:46 +00:00
troy%netscape.com 8d40651e4a Changed default constructor to leave capacity at 0 and not allocate
a buffer of 24 bytes
1998-07-29 23:06:21 +00:00
rickg%netscape.com 5446c139c4 warning removal 1998-07-25 02:11:02 +00:00
michaelp%netscape.com cde556f1a4 modified streaming APIs to be what the OJI guys want. 1998-07-23 20:34:01 +00:00
troy%netscape.com c1493555d6 Added some '=' operator member functions to nsAutoString 1998-07-22 21:38:48 +00:00
rickg ff4f9c2c9c major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
jevering ca519eff60 Modified ReplaceElementAt to grow the array if an index out of the
allocated boundary was requested.
1998-07-02 00:28:56 +00:00
rickg 9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
jevering b4c345c05c Fixed double ended queue to accept a callback in the constructor
to a function which frees the inserted objects.
1998-06-12 01:36:24 +00:00
troy 840313626c Added an additional constructor 1998-06-11 22:48:25 +00:00
kipp a3cbd81c80 Added SizeOf method 1998-06-05 21:38:36 +00:00
kipp b5b9af1404 new 1998-06-05 20:46:23 +00:00
raman 24d011f72a Added the clone method. Approved by warren 1998-06-01 22:11:06 +00:00
kipp 38ccae3b3c null terminate empty auto string properly 1998-06-01 20:55:46 +00:00
hardts 6bcb19ce6f landing XPCOM_BRANCH 1998-05-22 21:56:30 +00:00
rickg d1a681d69c minor perf improvement to deque 1998-05-21 20:37:17 +00:00
rickg df5167e848 filled in the popback function 1998-05-21 02:27:34 +00:00
kipp 745846f561 Fixed bug in nsString::Cut code where the sizeof(chartype) was multipled a bit aggresively; I also tuned the routine somewhat as well 1998-05-20 23:18:25 +00:00
peterl 79851b1d53 added enumerate methods 1998-05-20 20:31:58 +00:00
kipp 3b1a184a22 Added empty constructor; removed instance count sillyness 1998-05-20 16:21:48 +00:00
rickg 98c934dab7 small improvement to deque-iterator interface 1998-05-19 01:51:24 +00:00
rickg 13210310b6 minor performance tweak for deque 1998-05-14 22:18:44 +00:00
rickg 0b6bd9d390 added IsDigit to string 1998-05-11 23:27:35 +00:00
spider 725b9e3d9c Fix UNIX build bustage 1998-04-30 16:40:38 +00:00
buster b419f27870 at Peters request, I added NS_INT_PIXELS_TO_TWIPS and NS_FLOAT_PIXELS_TO_TWIPS 1998-04-30 15:11:33 +00:00
rickg 3f6b5b2a01 minor tweak to iterator 1998-04-30 05:55:51 +00:00
kipp b881d71f5b Fixed compiler bugs/warnings 1998-04-26 03:13:20 +00:00
rickg 7cd013ca7c added Append(unichar) 1998-04-25 19:44:35 +00:00
karnaze 3943ad1a15 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
rickg fccfcf293e added a few new container types 1998-04-22 18:28:48 +00:00
peterl 355fcae2bd fixed memory leaks in nsAutoString 1998-04-16 21:47:17 +00:00
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00
ltabb 3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00