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

687 Коммитов

Автор SHA1 Сообщение Дата
rickg%netscape.com 842edd9e4d fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
waterson%netscape.com 23746f183e Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
sfraser%netscape.com cf986946a8 Add string versions of the line terminatin macros. r=pinkerton 1999-12-01 22:26:58 +00:00
sfraser%netscape.com 9915948ffe Include stdio.h with system paths, not user paths. No bug, r=mozbot. 1999-12-01 06:12:01 +00:00
waterson%netscape.com 1e906224e6 Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver 1999-12-01 00:37:11 +00:00
dp%netscape.com 187770cd22 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
pinkerton%netscape.com 802ad7f02d added setDataWithLength to nsISupports[W]String r=jband. 1999-11-30 22:06:05 +00:00
warren%netscape.com 1bd444e6dd Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl 1999-11-30 05:18:39 +00:00
fur%netscape.com 24ae60dea8 Disable the temporary assertion for embedded NUL characters in nsString::Append(),
so that clients of nsString can make use of the changes that rickg added which
allow embedded NULs.  r: rickg
1999-11-29 21:32:53 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com 11dfd58e9d Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.
1999-11-27 17:47:05 +00:00
warren%netscape.com 72b2f1fb4a Fixed indentation. 1999-11-20 07:30:26 +00:00
warren%netscape.com c66f04c585 Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
dp%netscape.com 1d867ed423 Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com 1999-11-20 07:15:23 +00:00
warren%netscape.com 1948c505e0 Added isascii for mac 1999-11-20 05:46:04 +00:00
warren%netscape.com 3693ef82f8 Fixed include for non-debug builds. 1999-11-20 05:27:35 +00:00
warren%netscape.com f2c80822b2 Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg 1999-11-20 04:22:26 +00:00
rickg%netscape.com 5fb75a048a corrected type mismatch in memory error status of nsStrings; r=none 1999-11-19 08:10:40 +00:00
rickg%netscape.com cb7b79c204 added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster 1999-11-19 08:05:30 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
warren%netscape.com 3029cb5d7b Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko. 1999-11-17 07:36:40 +00:00
fur%netscape.com 9d418c7148 I screwed up the checkin message log, here's the real changes in revision
3.5 of this file.  These changes are in support of bug #8305 (Cache implementation):
r: dougt

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

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

+ Fixed declarations so public methods can be called outside DLL
1999-11-16 03:23:10 +00:00
fur%netscape.com 84ba653e17 In support of bug #8305 (Cache implementation), added new type of hash-table
key, an array of opaque data, not owned by the key. r: dougt
1999-11-16 03:10:54 +00:00
putterman%netscape.com 4032f5adf9 Fixes leak. Reviewed by law. 1999-11-15 20:57:24 +00:00
rickg%netscape.com 594f880d52 reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
rickg%netscape.com b8cc74bfaa disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
rickg%netscape.com f02a6a1951 change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
rickg%netscape.com 72259cb6fb finally: a fix for archaic compilers 1999-11-14 07:58:05 +00:00
rickg%netscape.com b711bb412d try again to get around unix problem 1999-11-14 07:20:02 +00:00
rickg%netscape.com 18a2e83667 try to get around linux compiler grief 1999-11-14 06:49:43 +00:00
rickg%netscape.com 46aa8893b8 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
jdunn%netscape.com 7b2382f324 AIX requires a 'const' in order to handle the assignment of 2 nsStrings
(see wallet.cpp line 3093).

rickg approved
1999-11-12 03:58:15 +00:00
sfraser%netscape.com 763acccfbc Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov. 1999-11-11 20:41:54 +00:00
shaver%netscape.com ace870622c revert case change, because I no longer have the accompanying JS changes -- don't ask 1999-11-10 04:18:07 +00:00
shaver%netscape.com 8f2e050f88 export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +00:00
shaver%netscape.com 61511e23f5 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
dp%netscape.com cc7daf4994 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
sdagley%netscape.com 18af56888e Yet Another Tree Bistage Fix - looks like warren was having a bad CVS day as he put a typo in the first line 1999-11-09 00:27:00 +00:00
sdagley%netscape.com 73f1c11390 Another shot at fixing Mac build bustage - also remove the obsoleted nsIBuffer.h 1999-11-09 00:08:23 +00:00
warren%netscape.com 34a64c7050 Removed nsIPageManager.h 1999-11-08 22:40:52 +00:00
warren%netscape.com b9ebf4cb31 Removed obsolete files from tree. 1999-11-08 22:06:07 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dveditz%netscape.com 2571930b5e shutting up copious warnings using /W4 on MSVC 1999-11-03 07:39:19 +00:00
dp%netscape.com 36b9b91825 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
valeski%netscape.com 96d6215964 15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug 1999-10-29 20:47:17 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
scc%netscape.com 7927b86837 File Removed. 1999-10-22 21:02:15 +00:00
scc%netscape.com 01cec13dda remove nsIVariant.h and nsVariant.cpp as per bug #16987 and changes already in for Unix (thanks brad) and Mac, r=danm 1999-10-22 01:33:03 +00:00
scc%netscape.com cd02dceee5 remove "nsVariant.cpp" from the project, and "nsIVariant.h" from the MANIFEST, as per bug #16987, r=sfraser 1999-10-22 00:12:03 +00:00
braddr%puremagic.com 3156e89829 Remove references to nsVariant.cpp and nsIVariant.h.
r=scc
1999-10-21 22:24:17 +00:00
rickg%netscape.com 643b1bb471 updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
shaver%netscape.com fb1d7afdb5 case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan) 1999-10-14 23:52:59 +00:00
warren%netscape.com c8fa46c1eb Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
rickg%netscape.com 47ef87e85b fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
kipp%netscape.com a35056f1f0 Fixed a memory leak in the sizeof-handler logic (blush) 1999-10-07 00:49:40 +00:00
kipp%netscape.com bea8edf606 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
rickg%netscape.com 36cb1afdae bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
kipp%netscape.com f5bd237b9f Allow atom table to be purged during shtudown 1999-09-30 21:40:00 +00:00
rickg%netscape.com be38ccfc5a replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
rickg%netscape.com 55844ee5d3 perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
warren%netscape.com e52e98036a Cleanup 1999-09-26 10:04:36 +00:00
warren%netscape.com 9c1b7ede80 Took out unused page manager. 1999-09-26 07:26:21 +00:00
briano%netscape.com c5c9a17957 SCO-specific fix. Approved by chofmann. 1999-09-25 00:38:13 +00:00
ftang%netscape.com 2ed6db0a55 fix utf converson bug 1999-09-22 03:20:21 +00:00
warren%netscape.com 50695b3074 fixed mismatched free in nsProperties 1999-09-20 20:54:16 +00:00
warren%netscape.com bf0644b021 freed tree nodes in nsAVLTree 1999-09-20 20:54:12 +00:00
waterson%netscape.com 68dca0f326 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
rickg%netscape.com f61c70437c back out update to Append(int,radix) until I can find ltoa() on linux 1999-09-20 05:50:43 +00:00
rickg%netscape.com f66f156777 explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
rickg%netscape.com e88d99f2af fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rickg%netscape.com 825883efbc improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
briano%netscape.com 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
rickg%netscape.com 774ce4e0ea checking bufferroutines.h back in; it looked like a red herring 1999-09-18 01:45:19 +00:00
rickg%netscape.com 9f2ec58266 back out part of this change for more testing; I missed a case which caused a crash 1999-09-18 01:09:48 +00:00
colin%theblakes.com 571f566bab Fix two compiler warnings and one coding bug 1999-09-18 00:07:20 +00:00
rickg%netscape.com d9e8b9c7b1 performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
beard%netscape.com 85da0d0df7 Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp. 1999-09-16 21:29:22 +00:00
ftang%netscape.com a727be2a85 add nsTextFormater to UNIX build 1999-09-15 21:18:21 +00:00
ftang%netscape.com 147a9fcbd7 remove unneeded debug info. Fix Unix build warning. Fix UTF8 to UCS2 conveersion bug 1999-09-15 21:16:09 +00:00
ftang%netscape.com ab24f2b98f add nsTextFormater.h 1999-09-15 20:54:04 +00:00
ftang%netscape.com 8c20cb69e6 add the nsTextFormater for win 1999-09-15 20:38:18 +00:00
ftang%netscape.com f58d6cd478 add new classes 1999-09-15 20:37:42 +00:00
ftang%netscape.com 771c47a7d2 add ToNewUTF8Stirng to nsString 1999-09-13 22:51:29 +00:00
cls%seawood.org 4bcb879c19 Oops. C++ comments in a C progam is not allowed. 1999-09-12 14:07:51 +00:00
cls%seawood.org 2bbc9896c9 Renamed tmp variable to avoid shadowing.
Commented out less than zero assertion checks on unsigned ints
1999-09-12 12:06:37 +00:00
cls%seawood.org 64dfa83bd4 Explicitly include <malloc.h>
Set mZero_fd to 0 instead of NULL
1999-09-12 12:04:43 +00:00
cls%seawood.org 263211043d Reorderd member initializers to remove silly warnings. 1999-09-12 12:02:03 +00:00
beard%netscape.com bb48774ffe Added operator = (const char*) as a convenience. always copies argument string. 1999-09-11 23:00:38 +00:00
peterl%netscape.com 564abae4fe fixed crash in compress chars on 0 length string 1999-09-11 00:10:36 +00:00
jdunn%netscape.com 41857cf2bf Provide workaround in nsPageMgr.cpp if platform (HPUX) doesn't have /dev/zero.
briano, ramiro & warren all looked at the code.

(also sneaked in a linking option in for hpux only)
1999-09-10 23:07:09 +00:00
kipp%netscape.com a65ec6e626 Eliminate some silly nsString usage 1999-09-09 22:34:02 +00:00
warren%netscape.com e6619b2ad6 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
troy%netscape.com 5bee95e760 Fixed build bustage 1999-09-08 21:26:24 +00:00
troy%netscape.com 6b8a314901 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1
1999-09-08 20:21:27 +00:00
brendan%mozilla.org d31330dd99 Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
brendan%mozilla.org b540021495 Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
bienvenu%netscape.com d09c1b0d35 add string.h to fix build bustage 1999-09-06 19:04:09 +00:00
dougt%netscape.com dd5c903d9e Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
brendan%mozilla.org 8ef0b76a3c Remove nsIAtom.h now that it's generated; tidy white space. 1999-09-03 08:40:47 +00:00
kipp%netscape.com cd048bb575 Use nsAutoString to save time 1999-09-02 18:03:30 +00:00
waterson%netscape.com 5ae3371682 Make CBufDescriptor const to avoid -pedantic bustage. 1999-09-02 08:02:57 +00:00
rickg%netscape.com 35288b2020 another tiny tweak to docs 1999-09-02 07:13:56 +00:00
rickg%netscape.com 29ec085101 better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
shaver%netscape.com b5b82e64c0 Make nsSupportsHashtable not crash when you try to Get or Remove an item
not in the table already.
1999-09-02 07:01:53 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
kipp%netscape.com d07faca171 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
erik%netscape.com cdb2cc61e1 Fixing warnings. 1999-08-30 21:59:42 +00:00
rickg%netscape.com 453885be32 improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
waterson%netscape.com 22143d3208 Clean up comments; no more delete[]. 1999-08-29 19:38:41 +00:00
dp%netscape.com fbdbc388e4 bug#11902 Changes for page manager for openVMS. Thanks to Colin Blake <colin@theblakes.com> 1999-08-25 05:41:53 +00:00
brendan%mozilla.org bbe959f4d1 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
rickg%netscape.com f850279168 removed warnings 1999-08-25 03:11:05 +00:00
warren%netscape.com 4324494f97 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +00:00
dougt%netscape.com 48d67c4ce6 Adding a comment to remind ourselves that at one time these were const. 1999-08-24 01:14:44 +00:00
waterson%netscape.com e97be183a0 Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
scc%netscape.com 0454213f91 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
gagan%netscape.com 1bbec91b6b Added the helper macro CRTFREEIF. Works for both char* and PRUnichar*. Saves
typing code... and adds obfuscation too! Wow. Alright RJC stop reading this
and get back to work.
1999-08-23 08:27:42 +00:00
scc%netscape.com 83feff8821 Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
mccabe%netscape.com b601095f5d Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro. 1999-08-22 09:18:49 +00:00
dougt%netscape.com 6b767dab39 removing nsIAtom from export list. 1999-08-21 07:22:00 +00:00
dougt%netscape.com 61215a73a7 removing nsIAtom.h. It is now a generated header. 1999-08-21 07:14:10 +00:00
dougt%netscape.com 8cf9b81629 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
dougt%netscape.com 6a190b04ac First cut of an IDL for nsIAtom. This preserves most of the origanal C++
interface quirks.
1999-08-21 06:38:59 +00:00
jband%netscape.com 9575270f2d adding a comment referencing a bug number for why this was done the way it was 1999-08-20 22:45:30 +00:00
jband%netscape.com ebb79eaa0a adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
tao%netscape.com 610ed8b92a Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
tbogard%aol.net c8c8eea4c0 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree. 1999-08-19 05:36:30 +00:00
warren%netscape.com 02691853e5 Reduced max page count. 1999-08-13 03:31:56 +00:00
cls%seawood.org 48332341cd More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
scc%netscape.com ea68100320 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com a38d83701e Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dougt%netscape.com f962a16511 Fix for bug 10838. 1999-08-10 22:53:02 +00:00
jband%netscape.com 3f75ebc9ff adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
morse%netscape.com e64235c412 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com ce08f4eea5 adding missing 'return' - thanks to TenThumbs <tenthumbs@cybernex.net> for pointing this out. Also removing extra addrefs in ctor since the generic factory constructor macro used to create these things does this addref for us 1999-08-08 19:34:31 +00:00
jband%netscape.com dc563842ea adding missing initializer for member 1999-08-08 03:37:03 +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
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 f9fca51347 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +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 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
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
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
dp%netscape.com 360e8cfe27 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +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
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
harishd%netscape.com c1d4c36bb7 Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +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 f079935296 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements. 1999-07-28 07:56:28 +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
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
peterl%netscape.com 8d753c3868 nuked 1999-07-24 18:57:59 +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
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 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 9508780e22 use shared allocator 1999-07-22 18:23:02 +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
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
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
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
rickg%netscape.com 45c5fb21b0 improved api's 1999-07-19 03:10:41 +00:00
rickg%netscape.com 5dbfb44f20 incrased argument conditioning 1999-07-18 21:26:03 +00:00
peterl%netscape.com b06a4e3232 fix linux 1999-07-18 00:59:40 +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
rickg%netscape.com f087ee875c removing references to iostreams 1999-07-17 10:08:10 +00:00
rickg%netscape.com 3b02b1e2f8 landing updates to nsString 1999-07-17 07:26:16 +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
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
slamm%netscape.com 0cd96e600c Fix build warnings. 1999-07-16 22:00:52 +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
valeski%netscape.com 85a0975000 necko - adjusted hash table initialization location to the constructor 1999-07-16 17:41:29 +00:00
rickg%netscape.com 3df0430991 perf. improvement to deque 1999-07-16 17:31:00 +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
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 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