469 Commits

Author SHA1 Message Date
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
dougt%netscape.com
baeab23036 Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).


git-svn-id: svn://10.0.0.236/trunk@45945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:21:29 +00:00
brendan%mozilla.org
6f81d6c2e4 Remove nsIAtom.h now that it's generated; tidy white space.
git-svn-id: svn://10.0.0.236/trunk@45859 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 08:40:47 +00:00
kipp%netscape.com
b1519f11e2 Use nsAutoString to save time
git-svn-id: svn://10.0.0.236/trunk@45697 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:03:30 +00:00
waterson%netscape.com
2f06ca0869 Make CBufDescriptor const to avoid -pedantic bustage.
git-svn-id: svn://10.0.0.236/trunk@45679 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 08:02:57 +00:00
rickg%netscape.com
e2575327bf another tiny tweak to docs
git-svn-id: svn://10.0.0.236/trunk@45677 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 07:13:56 +00:00
rickg%netscape.com
d191e8d9dd better docs and finally got rid of deprecated API's
git-svn-id: svn://10.0.0.236/trunk@45676 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 07:04:59 +00:00
shaver%netscape.com
2fa148d7c7 Make nsSupportsHashtable not crash when you try to Get or Remove an item
not in the table already.


git-svn-id: svn://10.0.0.236/trunk@45675 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 07:01:53 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
kipp%netscape.com
cf007b6ca2 Reworked sizeof api's to be much more useful; updated implementations to match
git-svn-id: svn://10.0.0.236/trunk@45272 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:04:37 +00:00
erik%netscape.com
12b9c786ff Fixing warnings.
git-svn-id: svn://10.0.0.236/trunk@45168 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:59:42 +00:00
rickg%netscape.com
fbbac7b078 improved docs, bug fixes, removed outdated APIs
git-svn-id: svn://10.0.0.236/trunk@45129 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 06:55:13 +00:00
waterson%netscape.com
d5f6e9b5e5 Clean up comments; no more delete[].
git-svn-id: svn://10.0.0.236/trunk@45073 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 19:38:41 +00:00