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

810 Коммитов

Автор SHA1 Сообщение Дата
sfraser%netscape.com a3536e8c1d Add nsTextFormatter.h, for sford 2000-01-17 22:12:12 +00:00
sford3%swbell.net ab6a38b233 Beginning of work on 16951, not part of build yet 2000-01-17 06:33:59 +00:00
warren%netscape.com 91ee8e32c4 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
waterson%netscape.com 619d700ee4 Bug 21472. Use only strict relationals with LL_CMP(). r=brendan 2000-01-06 20:22:29 +00:00
mcafee%netscape.com 29f5443a16 plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano 2000-01-06 01:12:25 +00:00
warren%netscape.com b17760cea8 Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren%netscape.com 570a306175 Obsoleted old file. 2000-01-05 10:27:32 +00:00
warren%netscape.com 06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com 538b2ca40f Breaking out persistent properties from nsIProperties.h. 1999-12-29 20:55:42 +00:00
warren%netscape.com 9531c0b6ae Added nsIStopwatch for timing analysis. 1999-12-29 20:54:13 +00:00
sspitzer%netscape.com 17c627bc23 fix warning for scc. 1999-12-24 03:42:54 +00:00
rickg%netscape.com 1c48bc0daa fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar 1999-12-21 07:49:34 +00:00
waterson%netscape.com f15c00b036 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann 1999-12-21 00:12:25 +00:00
waterson%netscape.com f0008a0cf9 Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann 1999-12-20 22:13:33 +00:00
scc%netscape.com e765050567 Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann} 1999-12-19 17:14:47 +00:00
briano%netscape.com 9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
kin%netscape.com 3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
rginda%netscape.com f5f06fba37 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc%netscape.com 2645d4a68f Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
alecf%netscape.com 99960a45d7 behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
1999-12-07 22:10:31 +00:00
rickg%netscape.com a3187e2ff2 fixed bug in nsStr::Compare(); r=dveditz (who also found the bug) 1999-12-07 09:52:43 +00:00
jband%netscape.com 2eaaa4083b adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
rickg%netscape.com 95441de478 fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
rickg%netscape.com 1a75640583 fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
waterson%netscape.com 084b9e5d76 Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
sfraser%netscape.com 5c1617659d Add string versions of the line terminatin macros. r=pinkerton 1999-12-01 22:26:58 +00:00
sfraser%netscape.com dacf66a5bf Include stdio.h with system paths, not user paths. No bug, r=mozbot. 1999-12-01 06:12:01 +00:00
waterson%netscape.com 6d00264a22 Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver 1999-12-01 00:37:11 +00:00
dp%netscape.com edcdeb94a5 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 1a970bd699 added setDataWithLength to nsISupports[W]String r=jband. 1999-11-30 22:06:05 +00:00
warren%netscape.com 4e2588b525 Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl 1999-11-30 05:18:39 +00:00
fur%netscape.com 4981f629c1 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 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com b829e11c5a 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 2946b5d178 Fixed indentation. 1999-11-20 07:30:26 +00:00
warren%netscape.com 7b7c64390a Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
dp%netscape.com aae8cd6430 Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com 1999-11-20 07:15:23 +00:00
warren%netscape.com d6c2199dcd Added isascii for mac 1999-11-20 05:46:04 +00:00
warren%netscape.com 8b576d2a0a Fixed include for non-debug builds. 1999-11-20 05:27:35 +00:00
warren%netscape.com 5b2d5696f3 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 51573db439 corrected type mismatch in memory error status of nsStrings; r=none 1999-11-19 08:10:40 +00:00
rickg%netscape.com ad5334de75 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 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
warren%netscape.com 8e672ef3c5 Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko. 1999-11-17 07:36:40 +00:00
fur%netscape.com 9b4f4a91c4 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 67b239942c 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 f0fed40b89 Fixes leak. Reviewed by law. 1999-11-15 20:57:24 +00:00
rickg%netscape.com 516adaef6c reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
rickg%netscape.com a45e164ae6 disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
rickg%netscape.com 948d04c6d8 change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
rickg%netscape.com 5ff074fed9 finally: a fix for archaic compilers 1999-11-14 07:58:05 +00:00
rickg%netscape.com af6e99fa32 try again to get around unix problem 1999-11-14 07:20:02 +00:00
rickg%netscape.com 38e3044206 try to get around linux compiler grief 1999-11-14 06:49:43 +00:00
rickg%netscape.com bd46d8d5f0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
jdunn%netscape.com 2439aac20c 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 fe7238681a 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 6256e1b5ec 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 4c650665ed export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +00:00
shaver%netscape.com c73533acb7 - 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 6d25ebf971 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
sdagley%netscape.com fa914afde9 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 cb9c425fa4 Another shot at fixing Mac build bustage - also remove the obsoleted nsIBuffer.h 1999-11-09 00:08:23 +00:00
warren%netscape.com a2c6384b79 Removed nsIPageManager.h 1999-11-08 22:40:52 +00:00
warren%netscape.com 435d35a051 Removed obsolete files from tree. 1999-11-08 22:06:07 +00:00
dmose%mozilla.org 142ac52eaf 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 04c2ee43f4 shutting up copious warnings using /W4 on MSVC 1999-11-03 07:39:19 +00:00
dp%netscape.com c2288cca73 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
valeski%netscape.com aad867ad42 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 ea13be0a26 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 341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com 55276cc3c4 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 74b81724eb File Removed. 1999-10-22 21:02:15 +00:00
scc%netscape.com a853bff6dc 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 30618333a0 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 c5070cffa9 Remove references to nsVariant.cpp and nsIVariant.h.
r=scc
1999-10-21 22:24:17 +00:00
rickg%netscape.com 5950c8d6ef updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
shaver%netscape.com b24e11ce8e case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan) 1999-10-14 23:52:59 +00:00
warren%netscape.com 763c521a26 Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
rickg%netscape.com f66add4c0e fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
kipp%netscape.com 72e5e182c4 Fixed a memory leak in the sizeof-handler logic (blush) 1999-10-07 00:49:40 +00:00
kipp%netscape.com 6982b7bf33 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
rickg%netscape.com a0d9a79a54 bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
kipp%netscape.com 4f9c341b0c Allow atom table to be purged during shtudown 1999-09-30 21:40:00 +00:00
rickg%netscape.com 350d30ae94 replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
rickg%netscape.com 6f744b281a perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
warren%netscape.com 89b394422e Cleanup 1999-09-26 10:04:36 +00:00
warren%netscape.com 53e8731812 Took out unused page manager. 1999-09-26 07:26:21 +00:00
briano%netscape.com d1940d686e SCO-specific fix. Approved by chofmann. 1999-09-25 00:38:13 +00:00
ftang%netscape.com a6b9111361 fix utf converson bug 1999-09-22 03:20:21 +00:00
warren%netscape.com bdef2ae2c9 fixed mismatched free in nsProperties 1999-09-20 20:54:16 +00:00
warren%netscape.com 9b98c7e8a1 freed tree nodes in nsAVLTree 1999-09-20 20:54:12 +00:00
waterson%netscape.com a6ce109fb6 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
rickg%netscape.com 4fca0d71c9 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 f1b5efa2cc explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
rickg%netscape.com 9800c21dc0 fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00
mccabe%netscape.com 4f7990cd94 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 73c490c4d3 improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
briano%netscape.com 04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
rickg%netscape.com 9c96f9cdef checking bufferroutines.h back in; it looked like a red herring 1999-09-18 01:45:19 +00:00
rickg%netscape.com d4a7d84481 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 edd596cfd1 Fix two compiler warnings and one coding bug 1999-09-18 00:07:20 +00:00
rickg%netscape.com f4fbb6fd09 performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
beard%netscape.com ab95fb6cf4 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 415507f1a9 add nsTextFormater to UNIX build 1999-09-15 21:18:21 +00:00
ftang%netscape.com 3b9e6e0e08 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 690408b116 add nsTextFormater.h 1999-09-15 20:54:04 +00:00
ftang%netscape.com 860e2e46f9 add the nsTextFormater for win 1999-09-15 20:38:18 +00:00
ftang%netscape.com 46bb62e8dd add new classes 1999-09-15 20:37:42 +00:00
ftang%netscape.com 4bbc98588a add ToNewUTF8Stirng to nsString 1999-09-13 22:51:29 +00:00
cls%seawood.org 3d00d0c683 Oops. C++ comments in a C progam is not allowed. 1999-09-12 14:07:51 +00:00
cls%seawood.org e837369fec 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 fb6d318f14 Explicitly include <malloc.h>
Set mZero_fd to 0 instead of NULL
1999-09-12 12:04:43 +00:00
cls%seawood.org f0889ec840 Reorderd member initializers to remove silly warnings. 1999-09-12 12:02:03 +00:00
beard%netscape.com 87f3477863 Added operator = (const char*) as a convenience. always copies argument string. 1999-09-11 23:00:38 +00:00
peterl%netscape.com 91fbbe22c4 fixed crash in compress chars on 0 length string 1999-09-11 00:10:36 +00:00
jdunn%netscape.com 00fadc59c0 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 9c5b0aa21b Eliminate some silly nsString usage 1999-09-09 22:34:02 +00:00
warren%netscape.com 40ed9d6ad2 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 476f0be19f Fixed build bustage 1999-09-08 21:26:24 +00:00
troy%netscape.com 68bf056cd9 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1
1999-09-08 20:21:27 +00:00
brendan%mozilla.org a84076e44e Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
brendan%mozilla.org 7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
bienvenu%netscape.com 5369333293 add string.h to fix build bustage 1999-09-06 19:04:09 +00:00
dougt%netscape.com 028f11d2bf 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 bc3dce147f Remove nsIAtom.h now that it's generated; tidy white space. 1999-09-03 08:40:47 +00:00
kipp%netscape.com 123b44e54e Use nsAutoString to save time 1999-09-02 18:03:30 +00:00
waterson%netscape.com 0a263a4690 Make CBufDescriptor const to avoid -pedantic bustage. 1999-09-02 08:02:57 +00:00
rickg%netscape.com 8795a355d4 another tiny tweak to docs 1999-09-02 07:13:56 +00:00
rickg%netscape.com ac8dfadb6d better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
shaver%netscape.com 7b3e3fecc3 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 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
kipp%netscape.com 948ad27a21 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
erik%netscape.com 2591c69b18 Fixing warnings. 1999-08-30 21:59:42 +00:00
rickg%netscape.com 011055adde improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
waterson%netscape.com 27a6046e3c Clean up comments; no more delete[]. 1999-08-29 19:38:41 +00:00
dp%netscape.com 94a045c629 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 defeffaabd 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 8fdde14e77 removed warnings 1999-08-25 03:11:05 +00:00
warren%netscape.com 8e8c466e58 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 f443b5579a Adding a comment to remind ourselves that at one time these were const. 1999-08-24 01:14:44 +00:00
waterson%netscape.com 3271a98e09 Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
scc%netscape.com 68340a37ef 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 69f233cf62 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 7981dba18d Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
mccabe%netscape.com dd27718a80 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 94b542f2c3 removing nsIAtom from export list. 1999-08-21 07:22:00 +00:00
dougt%netscape.com f04d99fc7d removing nsIAtom.h. It is now a generated header. 1999-08-21 07:14:10 +00:00
dougt%netscape.com 32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
dougt%netscape.com 8297def7db 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 b43b345617 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 63658a50be adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
tao%netscape.com 3364bf7a98 Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
tbogard%aol.net 57feff30c2 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 9d3581e0df Reduced max page count. 1999-08-13 03:31:56 +00:00
cls%seawood.org ce48612218 More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
scc%netscape.com d8c88a29c9 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com d82a873519 Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dougt%netscape.com 980adec33f Fix for bug 10838. 1999-08-10 22:53:02 +00:00
jband%netscape.com c153f122e9 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 389af52bf1 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com fc03d7e008 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 20f2eccf21 adding missing initializer for member 1999-08-08 03:37:03 +00:00
tao%netscape.com 5cce3b6948 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 7de4e04eed 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 d7a6bea3c2 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com 589e60fed8 adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com 018b98b1b3 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 79d5c5f26d 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 beb0260ed5 Adding RemoveAndDelete() to nsObjectHashtable 1999-08-02 23:55:03 +00:00
jfrancis%netscape.com 969c6446c4 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
dp%netscape.com 7e30331770 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
dp%netscape.com 4dbf387099 Getting nsHashtable and nsObjectHashtable Reset()s working together. 1999-07-31 05:50:13 +00:00
dp%netscape.com 3ee9b381f5 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 9b00e5191d Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
rickg%netscape.com 85c5846e13 fixed compaction error 1999-07-30 02:22:37 +00:00
harishd%netscape.com c6ccbf04df Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +00:00
warren%netscape.com 14ca7569f8 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 d3f90ec755 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements. 1999-07-28 07:56:28 +00:00
mscott%netscape.com 0f8c192cc4 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 d9e840013c odd 'n' ends 1999-07-25 17:21:34 +00:00
rickg%netscape.com b396c554b0 added optional arg validation to improve safety 1999-07-25 17:21:14 +00:00
rickg%netscape.com 0c9e33a09b narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
rickg%netscape.com 22d68c4060 removed old debug code 1999-07-25 17:18:41 +00:00
peterl%netscape.com 23918a8d61 nuked 1999-07-24 18:57:59 +00:00
peterl%netscape.com ce42a15283 removing nsBTree & nsRBTree, both replaced by nsAVLTree 1999-07-24 18:56:54 +00:00
tbogard%aol.net b9eb79032b 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 62bac87ecf 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 4b7899d242 Added code in the destructor to free any pages that had been allocated... 1999-07-22 21:17:57 +00:00
scc%netscape.com d698edddcf 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 8d681a0998 use shared allocator 1999-07-22 18:23:02 +00:00
pavlov%netscape.com d7695c62cf reverting as per scc's request 1999-07-22 05:34:19 +00:00
scc%netscape.com 16e2ba6a23 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 8fced9fa19 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 85e6e0f0b3 conditionalized missed member templates, |numeric_limits| use 1999-07-21 03:23:09 +00:00
scc%netscape.com 7733fe717d Added nsCppSharedAllocator.h 1999-07-21 01:06:33 +00:00
scc%netscape.com b1904fb9b6 Added nsCppSharedAllocator.h 1999-07-21 00:59:55 +00:00
scc%netscape.com 1289db2dac Added "nsCppSharedAllocator.h" to exports. 1999-07-21 00:50:44 +00:00
scc%netscape.com 64fb2d22d3 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 bbf641cba9 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 f3021fdfb3 improved api's 1999-07-19 03:10:41 +00:00
rickg%netscape.com e2a408e2f4 incrased argument conditioning 1999-07-18 21:26:03 +00:00
peterl%netscape.com b5831197fe fix linux 1999-07-18 00:59:40 +00:00
peterl%netscape.com 3f3f71e180 new file 1999-07-18 00:03:58 +00:00
peterl%netscape.com ee8edea59c moved char* conversion operators to nsCString 1999-07-18 00:03:43 +00:00
peterl%netscape.com 169aad2d40 added avl tree 1999-07-18 00:02:48 +00:00
rickg%netscape.com c33ad9f0b4 removing references to iostreams 1999-07-17 10:08:10 +00:00
rickg%netscape.com 8b2dc96c17 landing updates to nsString 1999-07-17 07:26:16 +00:00
brendan%mozilla.org a8483db0f5 Avoid nonsense 0 <= uint32_typed_variable tests. 1999-07-17 03:28:41 +00:00
brendan%mozilla.org ea1fa5eed8 Use PRUint32 instead of unsigned long. 1999-07-17 03:27:10 +00:00
beard%netscape.com 06085c800b added <iostream.h> 1999-07-17 01:58:38 +00:00
warren%netscape.com de95c4dd86 Took out noise. 1999-07-17 01:52:09 +00:00
slamm%netscape.com 3ff314dc2b Fix build warnings. 1999-07-16 22:00:52 +00:00
jevering%netscape.com d0295c227a 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 650ccdd89d necko - adjusted hash table initialization location to the constructor 1999-07-16 17:41:29 +00:00
rickg%netscape.com df4e839971 perf. improvement to deque 1999-07-16 17:31:00 +00:00
rickg%netscape.com d501ff5a70 improvements to stringtokenizer 1999-07-15 06:40:44 +00:00
scc%netscape.com bf65c840b8 remove (unused) |operator=()| from |nsISupportsArray| 1999-07-15 04:48:32 +00:00
briano%netscape.com 9c92290774 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 dceddfa85e 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
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