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

1531 Коммитов

Автор SHA1 Сообщение Дата
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