Commit Graph

668 Commits

Author SHA1 Message Date
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
warren%netscape.com
0142cb7a14 Added 1999-05-18 21:43:13 +00:00
dp%netscape.com
34b30431ba Initial version 1999-05-18 09:11:01 +00:00
kmcclusk%netscape.com
6635957e0c Modified nsString2::Append to only call strlen only if aCount is -1.
This clears up ABR errors reported in Purify.
1999-05-13 23:44:57 +00:00
waterson%netscape.com
3ea7cf781b Temporarily fix build bustage until we get brave enough to turn XPIDL on for Mac. 1999-05-13 16:41:32 +00:00
warren%netscape.com
f0a87da737 Removing old files now generated by IDL (to avoid future screw ups). 1999-05-13 08:48:47 +00:00
gagan%netscape.com
4999cf4cdb So we're using IDL nowcvs diff! I find out the hard way. -Warren 1999-05-13 08:21:37 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
ed6326405e make the destructor virtual 1999-05-13 00:48:42 +00:00
beard%netscape.com
a57b1f76a4 made Count() method pure virtual, to fix xpcom link error. 1999-05-12 06:20:37 +00:00
alecf%netscape.com
d7d9cd0e4b check in IDL version of nsICollection interface 1999-05-12 03:11:48 +00:00
alecf%netscape.com
a4c1fbdaa8 remove const-ness from nsICollection::Count() so that it can be represented with XPIDL 1999-05-12 02:53:37 +00:00
putterman%netscape.com
7ddfe8a6e9 Fix refcounting bug. nsISupportsArray[] already does an addref. 1999-05-10 21:53:18 +00:00
mcafee%netscape.com
492b4cef0f Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com 1999-05-10 06:47:04 +00:00
bruce%cybersight.com
ff0c2c46f4 This MUST be fixed in some other way. This is a temporary fix for the HP build bustage that Warren okayed as this code isn't in use elsewhere. This is just commenting out the bad code, not fixing it. 1999-05-07 08:08:21 +00:00
warren%netscape.com
d094cda857 Removed size args from nsIAllocator Realloc and Free. Now nsPageMgr keeps track of sizes for its nsIAllocator interface. 1999-05-07 06:22:11 +00:00
briano%netscape.com
b1a44b7876 Changed the reference to 'false' to 'PR_FALSE' so it'll build on Unix. 1999-05-07 02:21:43 +00:00
jband%netscape.com
ff6dae2ffa checking in generated versions of these xpcom headers. soon we will be generating these at compile time. Sources for these files are in xpcom/idl. They are regenerated from those files using xpidl -m header filename.idl 1999-05-07 01:45:20 +00:00
rickg%netscape.com
a404439850 also removed a debug define 1999-05-07 00:48:04 +00:00
rickg%netscape.com
641adcdf34 fixed an error subsuming autostrings, and removed an AIX warning 1999-05-07 00:47:24 +00:00
jband%netscape.com
f515159591 pare down to the idl files that really work. Some can be resurrected later. Many require interface changes with deeper implications. These are the base interfaces that we really need to have xpconnectable at this point 1999-05-07 00:17:58 +00:00
waterson%netscape.com
f9adab0bb3 Suppress unused parameter warnings. 1999-05-06 05:15:26 +00:00
rickg%netscape.com
4957d2ba64 new nsString modz; getting ready for nsString2 switchover 1999-05-06 05:13:08 +00:00
alecf%netscape.com
cbf125fb4c #if 0 out some unused code 1999-05-04 20:56:40 +00:00
alecf%netscape.com
a2d005b709 initialize some variables in constructor declaration rather than the constructor itself 1999-05-04 20:52:05 +00:00
alecf%netscape.com
d8e19cb305 fix virtual constructor problem 1999-05-04 20:50:24 +00:00
alecf%netscape.com
39d97ca312 add a side effect warning that bit me hard during M6 1999-05-04 20:28:24 +00:00
waterson%netscape.com
129dfd2a49 Improve docs. 1999-05-04 03:54:56 +00:00
briano%netscape.com
2760eda281 Defined MAP_FAILED for all the platforms that don't have it. 1999-05-01 02:10:39 +00:00
briano%netscape.com
9907679d08 Fix AIX and Solaris bustage. 1999-05-01 01:40:35 +00:00
warren%netscape.com
7bd9aa78c5 Consolidated individual factories into a single factory for base. 1999-04-30 22:55:21 +00:00
warren%netscape.com
88d6a3a41a Added page manager, buffer, buffer streams and pipes stuff. 1999-04-30 22:55:12 +00:00
warren%netscape.com
4ceccb4a80 Fixed QI to respond to nsIProperties and nsIPersistentProperties. Removed factory (now in nsBaseDLL). 1999-04-30 22:54:22 +00:00
waterson%netscape.com
1ea17b5fd1 Bug 5671. Use nsAllocator instead of C++ new/delete. r=jband,a=chofmann. 1999-04-30 18:49:40 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
erik%netscape.com
34cd195e11 Was using the wrong IID to implement nsISupports. Fixed. 1999-04-28 01:43:51 +00:00
bruce%cybersight.com
d6747dc35c Backing out change .. breaks build globally. Guess it is better to just have a broken HP-UX for now. 1999-04-28 01:24:06 +00:00
bruce%cybersight.com
324a049f19 Fix HP-UX build bustage. You may NOT delete a void*. This is illegal in ANSI C++. 1999-04-28 01:08:40 +00:00
brendan%netscape.com
f1504a6f9e Fix typos and other comment nits. 1999-04-28 00:38:49 +00:00
kipp%netscape.com
cce89c1b41 Fixed bug in strncasecmp as reported by Eric Burley <ericb@neoplanet.com>; while I was there I removed a compiler warning too 1999-04-27 22:20:52 +00:00
sfraser%netscape.com
ac3317e9b5 Remove errant semicolons. 1999-04-27 04:04:24 +00:00
rickg%netscape.com
8454059bc9 removed warnings 1999-04-26 23:43:40 +00:00
waterson%netscape.com
50e071071c Added nsISimpleEnumerator.h as a dummy file so that XPIDL that uses it won't break. 1999-04-26 17:31:57 +00:00