Commit Graph

581 Commits

Author SHA1 Message Date
rickg%netscape.com
b03845b337 updated FAQ section of nsString documentation
git-svn-id: svn://10.0.0.236/trunk@50927 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 18:45:18 +00:00
shaver%netscape.com
f3548d4772 case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan)
git-svn-id: svn://10.0.0.236/trunk@50734 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:52:59 +00:00
warren%netscape.com
da470df1ca Added nsTraceRefcnt logging.
git-svn-id: svn://10.0.0.236/trunk@50449 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:30:16 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
rickg%netscape.com
ac6276e5cd fixed leak using patch from beard; verified in purify. r=rgess; bug=15751
git-svn-id: svn://10.0.0.236/trunk@50090 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 07:22:57 +00:00
kipp%netscape.com
5fc1175eb9 Fixed a memory leak in the sizeof-handler logic (blush)
git-svn-id: svn://10.0.0.236/trunk@50068 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:49:40 +00:00
kipp%netscape.com
ebce0e90ac Renamed the ctor/dtor counting macros to make more sense
git-svn-id: svn://10.0.0.236/trunk@49840 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:54:05 +00:00
rickg%netscape.com
4a9749eec3 bugs 13038 and 14920; also improved comments. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@49803 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:47:19 +00:00
kipp%netscape.com
0b1c7162d6 Allow atom table to be purged during shtudown
git-svn-id: svn://10.0.0.236/trunk@49492 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:40:00 +00:00
rickg%netscape.com
af731d0a1e replace ANSI true/false with PR_TRUE; sorry about that.
git-svn-id: svn://10.0.0.236/trunk@49405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 05:15:37 +00:00
rickg%netscape.com
3ee654688b perf update and bug fix: a=chofmann r=buster
git-svn-id: svn://10.0.0.236/trunk@49399 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 04:03:49 +00:00
warren%netscape.com
4ac4370b10 Cleanup
git-svn-id: svn://10.0.0.236/trunk@49092 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:04:36 +00:00
warren%netscape.com
f074880c8c Took out unused page manager.
git-svn-id: svn://10.0.0.236/trunk@49088 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 07:26:21 +00:00
briano%netscape.com
123caeef67 SCO-specific fix. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@49017 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 00:38:13 +00:00
ftang%netscape.com
d5d73ddc2b fix utf converson bug
git-svn-id: svn://10.0.0.236/trunk@48764 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 03:20:21 +00:00
warren%netscape.com
96f4dfebdc fixed mismatched free in nsProperties
git-svn-id: svn://10.0.0.236/trunk@48374 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:16 +00:00
warren%netscape.com
8a533d4ca4 freed tree nodes in nsAVLTree
git-svn-id: svn://10.0.0.236/trunk@48373 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:12 +00:00
waterson%netscape.com
1b81ec1ab1 Fix memmove() stuff.
git-svn-id: svn://10.0.0.236/trunk@48326 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:11:36 +00:00
rickg%netscape.com
03b7c238c3 back out update to Append(int,radix) until I can find ltoa() on linux
git-svn-id: svn://10.0.0.236/trunk@48325 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:50:43 +00:00
rickg%netscape.com
ac3d03bc50 explicitly include <stdlib.h>
git-svn-id: svn://10.0.0.236/trunk@48324 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:32:36 +00:00
rickg%netscape.com
7005feb199 fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf
git-svn-id: svn://10.0.0.236/trunk@48319 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:10:32 +00:00
mccabe%netscape.com
69a8cf7c7b 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.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
rickg%netscape.com
b32eca31ce improved safety of CBufDescriptor
git-svn-id: svn://10.0.0.236/trunk@48257 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 16:43:09 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
rickg%netscape.com
b6145da0d3 checking bufferroutines.h back in; it looked like a red herring
git-svn-id: svn://10.0.0.236/trunk@48151 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:45:19 +00:00
rickg%netscape.com
da5e7e7b93 back out part of this change for more testing; I missed a case which caused a crash
git-svn-id: svn://10.0.0.236/trunk@48136 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:09:48 +00:00
colin%theblakes.com
624994bf1c Fix two compiler warnings and one coding bug
git-svn-id: svn://10.0.0.236/trunk@48101 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:07:20 +00:00
rickg%netscape.com
944a022ec9 performance improvements and larger default buffer size
git-svn-id: svn://10.0.0.236/trunk@48092 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:46:55 +00:00
beard%netscape.com
5958f31830 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.
git-svn-id: svn://10.0.0.236/trunk@47845 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 21:29:22 +00:00
ftang%netscape.com
4706f96bab add nsTextFormater to UNIX build
git-svn-id: svn://10.0.0.236/trunk@47652 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:18:21 +00:00
ftang%netscape.com
6e965d6a46 remove unneeded debug info. Fix Unix build warning. Fix UTF8 to UCS2 conveersion bug
git-svn-id: svn://10.0.0.236/trunk@47651 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:16:09 +00:00
ftang%netscape.com
15b14e728e add nsTextFormater.h
git-svn-id: svn://10.0.0.236/trunk@47648 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:54:04 +00:00
ftang%netscape.com
f7e9a5d325 add the nsTextFormater for win
git-svn-id: svn://10.0.0.236/trunk@47642 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:38:18 +00:00
ftang%netscape.com
064a873a94 add new classes
git-svn-id: svn://10.0.0.236/trunk@47640 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:37:42 +00:00
ftang%netscape.com
a02f0e3654 add ToNewUTF8Stirng to nsString
git-svn-id: svn://10.0.0.236/trunk@47191 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 22:51:29 +00:00
cls%seawood.org
c80b557414 Oops. C++ comments in a C progam is not allowed.
git-svn-id: svn://10.0.0.236/trunk@47058 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 14:07:51 +00:00
cls%seawood.org
3b3de3da35 Renamed tmp variable to avoid shadowing.
Commented out less than zero assertion checks on unsigned ints


git-svn-id: svn://10.0.0.236/trunk@47053 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 12:06:37 +00:00
cls%seawood.org
3e3952a685 Explicitly include <malloc.h>
Set mZero_fd to 0 instead of NULL


git-svn-id: svn://10.0.0.236/trunk@47052 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 12:04:43 +00:00
cls%seawood.org
f1c0f17632 Reorderd member initializers to remove silly warnings.
git-svn-id: svn://10.0.0.236/trunk@47050 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 12:02:03 +00:00
beard%netscape.com
724005f6ef Added operator = (const char*) as a convenience. always copies argument string.
git-svn-id: svn://10.0.0.236/trunk@46990 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:00:38 +00:00
peterl%netscape.com
c6af1de097 fixed crash in compress chars on 0 length string
git-svn-id: svn://10.0.0.236/trunk@46897 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:10:36 +00:00
jdunn%netscape.com
e795ff058e 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)


git-svn-id: svn://10.0.0.236/trunk@46864 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:07:09 +00:00
kipp%netscape.com
835f03ff66 Eliminate some silly nsString usage
git-svn-id: svn://10.0.0.236/trunk@46646 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:34:02 +00:00
warren%netscape.com
de60d2685c 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.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
troy%netscape.com
e0f2971552 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@46415 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 21:26:24 +00:00
troy%netscape.com
2d23954843 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1


git-svn-id: svn://10.0.0.236/trunk@46398 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:21:27 +00:00
brendan%mozilla.org
69185ecae9 Expand tabs to spaces per Emacs modeline; other space cleanups.
git-svn-id: svn://10.0.0.236/trunk@46138 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 22:59:11 +00:00
brendan%mozilla.org
40bece4baa Use deadlock detecting nsAutoMonitors, etc., correctly.
git-svn-id: svn://10.0.0.236/trunk@46127 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:57:40 +00:00
bienvenu%netscape.com
308d8c35eb add string.h to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@46116 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:04:09 +00:00