warren%netscape.com
c8fa46c1eb
Added nsTraceRefcnt logging.
1999-10-12 09:30:16 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
warren%netscape.com
b90a06a288
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
rickg%netscape.com
47ef87e85b
fixed leak using patch from beard; verified in purify. r=rgess; bug=15751
1999-10-07 07:22:57 +00:00
kipp%netscape.com
a35056f1f0
Fixed a memory leak in the sizeof-handler logic (blush)
1999-10-07 00:49:40 +00:00
kipp%netscape.com
bea8edf606
Renamed the ctor/dtor counting macros to make more sense
1999-10-05 14:54:05 +00:00
rickg%netscape.com
36cb1afdae
bugs 13038 and 14920; also improved comments. r=kmcclusk
1999-10-05 04:47:19 +00:00
kipp%netscape.com
f5bd237b9f
Allow atom table to be purged during shtudown
1999-09-30 21:40:00 +00:00
rickg%netscape.com
be38ccfc5a
replace ANSI true/false with PR_TRUE; sorry about that.
1999-09-30 05:15:37 +00:00
rickg%netscape.com
55844ee5d3
perf update and bug fix: a=chofmann r=buster
1999-09-30 04:03:49 +00:00
warren%netscape.com
e52e98036a
Cleanup
1999-09-26 10:04:36 +00:00
warren%netscape.com
9c1b7ede80
Took out unused page manager.
1999-09-26 07:26:21 +00:00
briano%netscape.com
c5c9a17957
SCO-specific fix. Approved by chofmann.
1999-09-25 00:38:13 +00:00
ftang%netscape.com
2ed6db0a55
fix utf converson bug
1999-09-22 03:20:21 +00:00
warren%netscape.com
50695b3074
fixed mismatched free in nsProperties
1999-09-20 20:54:16 +00:00
warren%netscape.com
bf0644b021
freed tree nodes in nsAVLTree
1999-09-20 20:54:12 +00:00
waterson%netscape.com
68dca0f326
Fix memmove() stuff.
1999-09-20 06:11:36 +00:00
rickg%netscape.com
f61c70437c
back out update to Append(int,radix) until I can find ltoa() on linux
1999-09-20 05:50:43 +00:00
rickg%netscape.com
f66f156777
explicitly include <stdlib.h>
1999-09-20 05:32:36 +00:00
rickg%netscape.com
e88d99f2af
fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf
1999-09-20 05:10:32 +00:00
mccabe%netscape.com
39e5fe6519
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rickg%netscape.com
825883efbc
improved safety of CBufDescriptor
1999-09-19 16:43:09 +00:00
briano%netscape.com
12f9f9743e
General cleanup.
1999-09-18 02:12:56 +00:00
rickg%netscape.com
774ce4e0ea
checking bufferroutines.h back in; it looked like a red herring
1999-09-18 01:45:19 +00:00
rickg%netscape.com
9f2ec58266
back out part of this change for more testing; I missed a case which caused a crash
1999-09-18 01:09:48 +00:00
colin%theblakes.com
571f566bab
Fix two compiler warnings and one coding bug
1999-09-18 00:07:20 +00:00
rickg%netscape.com
d9e8b9c7b1
performance improvements and larger default buffer size
1999-09-17 23:46:55 +00:00
beard%netscape.com
85da0d0df7
Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp.
1999-09-16 21:29:22 +00:00
ftang%netscape.com
a727be2a85
add nsTextFormater to UNIX build
1999-09-15 21:18:21 +00:00
ftang%netscape.com
147a9fcbd7
remove unneeded debug info. Fix Unix build warning. Fix UTF8 to UCS2 conveersion bug
1999-09-15 21:16:09 +00:00
ftang%netscape.com
ab24f2b98f
add nsTextFormater.h
1999-09-15 20:54:04 +00:00
ftang%netscape.com
8c20cb69e6
add the nsTextFormater for win
1999-09-15 20:38:18 +00:00
ftang%netscape.com
f58d6cd478
add new classes
1999-09-15 20:37:42 +00:00
ftang%netscape.com
771c47a7d2
add ToNewUTF8Stirng to nsString
1999-09-13 22:51:29 +00:00
cls%seawood.org
4bcb879c19
Oops. C++ comments in a C progam is not allowed.
1999-09-12 14:07:51 +00:00
cls%seawood.org
2bbc9896c9
Renamed tmp variable to avoid shadowing.
...
Commented out less than zero assertion checks on unsigned ints
1999-09-12 12:06:37 +00:00
cls%seawood.org
64dfa83bd4
Explicitly include <malloc.h>
...
Set mZero_fd to 0 instead of NULL
1999-09-12 12:04:43 +00:00
cls%seawood.org
263211043d
Reorderd member initializers to remove silly warnings.
1999-09-12 12:02:03 +00:00
beard%netscape.com
bb48774ffe
Added operator = (const char*) as a convenience. always copies argument string.
1999-09-11 23:00:38 +00:00
peterl%netscape.com
564abae4fe
fixed crash in compress chars on 0 length string
1999-09-11 00:10:36 +00:00
jdunn%netscape.com
41857cf2bf
Provide workaround in nsPageMgr.cpp if platform (HPUX) doesn't have /dev/zero.
...
briano, ramiro & warren all looked at the code.
(also sneaked in a linking option in for hpux only)
1999-09-10 23:07:09 +00:00
kipp%netscape.com
a65ec6e626
Eliminate some silly nsString usage
1999-09-09 22:34:02 +00:00
warren%netscape.com
e6619b2ad6
Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
1999-09-09 22:05:05 +00:00
troy%netscape.com
5bee95e760
Fixed build bustage
1999-09-08 21:26:24 +00:00
troy%netscape.com
6b8a314901
Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
...
size 1
1999-09-08 20:21:27 +00:00
brendan%mozilla.org
d31330dd99
Expand tabs to spaces per Emacs modeline; other space cleanups.
1999-09-06 22:59:11 +00:00
brendan%mozilla.org
b540021495
Use deadlock detecting nsAutoMonitors, etc., correctly.
1999-09-06 19:57:40 +00:00
bienvenu%netscape.com
d09c1b0d35
add string.h to fix build bustage
1999-09-06 19:04:09 +00:00
dougt%netscape.com
dd5c903d9e
Changes nsIAtom iterface to return a shared (non-allocated) wstring when
...
GetUnicode() is called. (thanks waterson, jband)
Also fixing 12237. (thanks jband).
1999-09-03 22:21:29 +00:00
brendan%mozilla.org
8ef0b76a3c
Remove nsIAtom.h now that it's generated; tidy white space.
1999-09-03 08:40:47 +00:00
kipp%netscape.com
cd048bb575
Use nsAutoString to save time
1999-09-02 18:03:30 +00:00
waterson%netscape.com
5ae3371682
Make CBufDescriptor const to avoid -pedantic bustage.
1999-09-02 08:02:57 +00:00
rickg%netscape.com
35288b2020
another tiny tweak to docs
1999-09-02 07:13:56 +00:00
rickg%netscape.com
29ec085101
better docs and finally got rid of deprecated API's
1999-09-02 07:04:59 +00:00
shaver%netscape.com
b5b82e64c0
Make nsSupportsHashtable not crash when you try to Get or Remove an item
...
not in the table already.
1999-09-02 07:01:53 +00:00
cyeh%netscape.com
cc2825cbe0
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 00:54:34 +00:00
kipp%netscape.com
d07faca171
Reworked sizeof api's to be much more useful; updated implementations to match
1999-08-31 03:04:37 +00:00
erik%netscape.com
cdb2cc61e1
Fixing warnings.
1999-08-30 21:59:42 +00:00
rickg%netscape.com
453885be32
improved docs, bug fixes, removed outdated APIs
1999-08-30 06:55:13 +00:00
waterson%netscape.com
22143d3208
Clean up comments; no more delete[].
1999-08-29 19:38:41 +00:00
dp%netscape.com
fbdbc388e4
bug#11902 Changes for page manager for openVMS. Thanks to Colin Blake <colin@theblakes.com>
1999-08-25 05:41:53 +00:00
brendan%mozilla.org
bbe959f4d1
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
rickg%netscape.com
f850279168
removed warnings
1999-08-25 03:11:05 +00:00
warren%netscape.com
4324494f97
Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more.
1999-08-24 08:45:17 +00:00
dougt%netscape.com
48d67c4ce6
Adding a comment to remind ourselves that at one time these were const.
1999-08-24 01:14:44 +00:00
waterson%netscape.com
e97be183a0
Treat CBufDescriptors as 'const' so that they may be inlined.
1999-08-24 00:52:32 +00:00
scc%netscape.com
0454213f91
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
1999-08-23 10:14:16 +00:00
gagan%netscape.com
1bbec91b6b
Added the helper macro CRTFREEIF. Works for both char* and PRUnichar*. Saves
...
typing code... and adds obfuscation too! Wow. Alright RJC stop reading this
and get back to work.
1999-08-23 08:27:42 +00:00
scc%netscape.com
83feff8821
Added |GetIID|
1999-08-22 20:54:08 +00:00
mccabe%netscape.com
b95a2bdd54
Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
1999-08-22 11:25:50 +00:00
mccabe%netscape.com
b601095f5d
Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro.
1999-08-22 09:18:49 +00:00
dougt%netscape.com
6b767dab39
removing nsIAtom from export list.
1999-08-21 07:22:00 +00:00
dougt%netscape.com
61215a73a7
removing nsIAtom.h. It is now a generated header.
1999-08-21 07:14:10 +00:00
dougt%netscape.com
8cf9b81629
xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
1999-08-21 07:07:00 +00:00
dougt%netscape.com
6a190b04ac
First cut of an IDL for nsIAtom. This preserves most of the origanal C++
...
interface quirks.
1999-08-21 06:38:59 +00:00
jband%netscape.com
9575270f2d
adding a comment referencing a bug number for why this was done the way it was
1999-08-20 22:45:30 +00:00
jband%netscape.com
ebb79eaa0a
adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval
1999-08-20 03:14:46 +00:00
tao%netscape.com
610ed8b92a
Set properties files encoding to escape unicode.
1999-08-19 22:37:35 +00:00
tbogard%aol.net
c8c8eea4c0
XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree.
1999-08-19 05:36:30 +00:00
warren%netscape.com
02691853e5
Reduced max page count.
1999-08-13 03:31:56 +00:00
cls%seawood.org
48332341cd
More gcc 2.95 fixes
1999-08-11 05:59:26 +00:00
scc%netscape.com
ea68100320
fix for bug #10993 , can't destroy an unitialized arena
1999-08-10 23:24:21 +00:00
dp%netscape.com
a38d83701e
Fixing unix build bustage.
1999-08-10 23:13:46 +00:00
dougt%netscape.com
f962a16511
Fix for bug 10838.
1999-08-10 22:53:02 +00:00
jband%netscape.com
3f75ebc9ff
adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com>
1999-08-09 05:02:25 +00:00
morse%netscape.com
e64235c412
fix crash in cookie viewer
1999-08-08 20:33:27 +00:00
jband%netscape.com
ce08f4eea5
adding missing 'return' - thanks to TenThumbs <tenthumbs@cybernex.net> for pointing this out. Also removing extra addrefs in ctor since the generic factory constructor macro used to create these things does this addref for us
1999-08-08 19:34:31 +00:00
jband%netscape.com
dc563842ea
adding missing initializer for member
1999-08-08 03:37:03 +00:00
tao%netscape.com
5284e6851e
Temporary set charset to utf-8 until the coverter for escape-unicode is
...
ready.
1999-08-06 20:24:02 +00:00
jband%netscape.com
5a54ef9f38
changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS
1999-08-06 09:42:12 +00:00
jband%netscape.com
f9fca51347
use LL_ZERO for initializing 64 bit values to fix Mac bustage
1999-08-04 07:45:38 +00:00
jband%netscape.com
70d09b9aad
adding nsISupports wrappers for the primitive types including strings and nsIDs
1999-08-04 06:57:38 +00:00
jband%netscape.com
a9d20725ec
Adding nsHashtableEnumerator from Rob Ginda, rginda@ix.netcom.com. This is used to create an nsIEnumerator object from a hashtable. When some object has a hashtable as an implementation detail it can use this to expose the data in the table as an enumeration. This is used by the soon-to-be-checkedin systems for enumerating interface and class ids that will be reflected into JavaScript.
1999-08-04 02:24:34 +00:00
jfrancis%netscape.com
afe43490ca
uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp
1999-08-03 12:42:19 +00:00
dp%netscape.com
16a59c22db
Adding RemoveAndDelete() to nsObjectHashtable
1999-08-02 23:55:03 +00:00
jfrancis%netscape.com
b5b13c4f48
fixing mac NS_LINEBREAK macro
1999-08-02 13:25:19 +00:00
dp%netscape.com
360e8cfe27
VMS changes from Colin Blake <colin@theblakes.com>
1999-07-31 19:39:23 +00:00
dp%netscape.com
ef2588f29f
Getting nsHashtable and nsObjectHashtable Reset()s working together.
1999-07-31 05:50:13 +00:00
dp%netscape.com
18c2f1d9a6
Adding nsHashtable::Reset(). Changing nsObjectHashtable destructor to use Reset instead of enumerate. This will cause hash entires to be removed from the hash table as values in the hash table are released.
1999-07-31 05:41:54 +00:00
warren%netscape.com
1215da1e30
Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation.
1999-07-30 07:58:55 +00:00
rickg%netscape.com
135409072a
fixed compaction error
1999-07-30 02:22:37 +00:00
harishd%netscape.com
c1d4c36bb7
Fixing ToNewUnicode(). Checking in for rickg.
...
approved: cyeh
1999-07-28 21:43:11 +00:00
warren%netscape.com
119a2cefeb
Fully initialized arena so that it won't fail in destructor without first calling Init.
1999-07-28 08:27:38 +00:00
warren%netscape.com
f079935296
Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements.
1999-07-28 07:56:28 +00:00
mscott%netscape.com
fbb2f93a77
Fix unitialized memory read. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com> for making the purify log that I
...
found this in.
1999-07-27 02:22:26 +00:00
rickg%netscape.com
da2aeda53f
odd 'n' ends
1999-07-25 17:21:34 +00:00
rickg%netscape.com
048f765557
added optional arg validation to improve safety
1999-07-25 17:21:14 +00:00
rickg%netscape.com
e96cca5f68
narrowed the nsCString API's for safety
1999-07-25 17:20:37 +00:00
rickg%netscape.com
d203577fd7
removed old debug code
1999-07-25 17:18:41 +00:00
peterl%netscape.com
8d753c3868
nuked
1999-07-24 18:57:59 +00:00
peterl%netscape.com
2f1722e9c2
removing nsBTree & nsRBTree, both replaced by nsAVLTree
1999-07-24 18:56:54 +00:00
tbogard%aol.net
303e849c5e
Changed hashing to not hash every letter of strings that are greater than 16 characters in length.
1999-07-23 05:19:33 +00:00
scc%netscape.com
5f9bba140f
the fix is to |#include <new.h>|. I tested on several versions of SunOS with different compilers, linux, and Mac. Uncommenting the problematic code.
1999-07-23 01:18:49 +00:00
rpotts%netscape.com
3e99928de9
Added code in the destructor to free any pages that had been allocated...
1999-07-22 21:17:57 +00:00
scc%netscape.com
a12c96415a
temporarily commenting out unused placement |new| till I can figure out how to make it compile on SunOS
1999-07-22 20:10:19 +00:00
scc%netscape.com
9508780e22
use shared allocator
1999-07-22 18:23:02 +00:00
pavlov%netscape.com
f9c42873ef
reverting as per scc's request
1999-07-22 05:34:19 +00:00
scc%netscape.com
12c243677f
explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
1999-07-22 05:25:17 +00:00
tbogard%aol.net
eb0dd2815e
Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings.
1999-07-22 02:11:04 +00:00
scc%netscape.com
7bd41d5e4f
conditionalized missed member templates, |numeric_limits| use
1999-07-21 03:23:09 +00:00
scc%netscape.com
b3f17ed2aa
Added nsCppSharedAllocator.h
1999-07-21 01:06:33 +00:00
scc%netscape.com
71a1f75051
Added nsCppSharedAllocator.h
1999-07-21 00:59:55 +00:00
scc%netscape.com
08e0f63ff8
Added "nsCppSharedAllocator.h" to exports.
1999-07-21 00:50:44 +00:00
scc%netscape.com
a8ce738ae0
First checked in. Defines a C++ standard compliant allocator based on
...
the global shared allocator |nsAllocator|.
1999-07-21 00:50:05 +00:00
rickg%netscape.com
fdfe6b251c
try to improve append performance and allow non-null term buffers when count is given
1999-07-20 06:58:41 +00:00
rickg%netscape.com
45c5fb21b0
improved api's
1999-07-19 03:10:41 +00:00
rickg%netscape.com
5dbfb44f20
incrased argument conditioning
1999-07-18 21:26:03 +00:00
peterl%netscape.com
b06a4e3232
fix linux
1999-07-18 00:59:40 +00:00
peterl%netscape.com
8441d32c38
new file
1999-07-18 00:03:58 +00:00
peterl%netscape.com
1dd1f5cc78
moved char* conversion operators to nsCString
1999-07-18 00:03:43 +00:00
peterl%netscape.com
237caa690f
added avl tree
1999-07-18 00:02:48 +00:00
rickg%netscape.com
f087ee875c
removing references to iostreams
1999-07-17 10:08:10 +00:00
rickg%netscape.com
3b02b1e2f8
landing updates to nsString
1999-07-17 07:26:16 +00:00
brendan%mozilla.org
554b30af96
Avoid nonsense 0 <= uint32_typed_variable tests.
1999-07-17 03:28:41 +00:00
brendan%mozilla.org
43d021029e
Use PRUint32 instead of unsigned long.
1999-07-17 03:27:10 +00:00
beard%netscape.com
fad627620a
added <iostream.h>
1999-07-17 01:58:38 +00:00
warren%netscape.com
00d833d64a
Took out noise.
1999-07-17 01:52:09 +00:00
slamm%netscape.com
0cd96e600c
Fix build warnings.
1999-07-16 22:00:52 +00:00
jevering%netscape.com
a511c3ae87
GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties.
1999-07-16 19:13:21 +00:00
valeski%netscape.com
85a0975000
necko - adjusted hash table initialization location to the constructor
1999-07-16 17:41:29 +00:00
rickg%netscape.com
3df0430991
perf. improvement to deque
1999-07-16 17:31:00 +00:00
rickg%netscape.com
1d16c19656
improvements to stringtokenizer
1999-07-15 06:40:44 +00:00
scc%netscape.com
e4972825d5
remove (unused) |operator=()| from |nsISupportsArray|
1999-07-15 04:48:32 +00:00
briano%netscape.com
3bc381a556
Modified my last change to avoid treating NTO the same as QNX, since they both define __QNX__.
1999-07-15 02:34:19 +00:00
briano%netscape.com
371da6586d
Minor rewrite to keep less capable C++ compilers from getting confused about which instance of nsCRT::strncasecmp to use.
1999-07-15 01:38:08 +00:00
briano%netscape.com
36ab6367c9
Added a QNX-specific fix.
1999-07-13 21:41:37 +00:00
rpotts%netscape.com
4a82a6de2f
Added nsIBufferObserver::OnWrite(...)
1999-07-12 06:25:38 +00:00
warren%netscape.com
114d46856f
Fixed buffer empty condition to to return WOULD_BLOCK.
1999-07-10 11:27:08 +00:00
rickg%netscape.com
9a46cd8280
update to new nsStringTokenizer -- not in tip
1999-07-09 16:51:57 +00:00
putterman%netscape.com
4b650de966
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
d0b2c27fa3
back out erroneously updated files
1999-07-09 06:01:55 +00:00
rickg%netscape.com
1392e0be05
added nsStringTokenizer.* files; but not in the makefiles yet
1999-07-09 05:11:25 +00:00
ramiro%netscape.com
490d0f5165
DEFINES was being clobbered. Should be "+=" not "=".
1999-07-07 20:54:57 +00:00
sgehani%netscape.com
71384d8fb5
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
e97690072d
rename variable to avoid warnings on linux.
...
time is globally defined.
1999-07-01 03:59:55 +00:00
scc%netscape.com
54c96baa72
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
1999-06-29 21:01:31 +00:00
scc%netscape.com
d049be3c31
Added |GetIID()|
1999-06-29 20:28:56 +00:00
mcafee%netscape.com
4aca8a8246
BeOS changes
1999-06-29 10:27:58 +00:00
mscott%netscape.com
c0c516f443
fix mac build breakage for alecf. nsISupportsArray is now generated by XPIDL.
1999-06-28 22:36:30 +00:00
alecf%netscape.com
8f73159e92
remove nsISupportsArray.h from build (now comes from .idl file)
1999-06-28 21:37:14 +00:00
alecf%netscape.com
87812e6f4e
XPIDLize nsISupportsArray for windows
1999-06-28 21:36:02 +00:00
alecf%netscape.com
85df1f4b30
fix one of my warnings
1999-06-27 06:30:59 +00:00
alecf%netscape.com
a5bae12a33
fix signed/unsigned issues
1999-06-27 06:18:41 +00:00
warren%netscape.com
9028d6548a
Added HashValue methods for ascii strings.
1999-06-26 06:32:35 +00:00
warren%netscape.com
ccd3922b50
Added constructor functions for nsEnumeratorUtils.
1999-06-25 01:38:33 +00:00
mscott%netscape.com
da03cf8f97
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
9484348e12
Fixed problems with GetReadSegment after eof.
1999-06-21 21:05:07 +00:00
warren%netscape.com
a3adc6bd4c
Making buffers work better. Now out-of-memory is handled properly.
1999-06-19 22:23:18 +00:00
rickg%netscape.com
085381a1fb
fixes Churchill's search bug, and crash bug 6469
1999-06-18 04:51:11 +00:00
rickg%netscape.com
c05f3058d1
fixed ToInteger (again) and eliminate bug 8140
1999-06-17 19:15:57 +00:00
rickg%netscape.com
be743f23bf
approved update
1999-06-17 07:24:13 +00:00
warren%netscape.com
17db453fbe
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
087d61993b
Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
1999-06-16 04:15:08 +00:00
warren%netscape.com
8882c50da2
Added PR_LOG stuff.
1999-06-15 04:57:07 +00:00
rickg%netscape.com
0e574f8368
more error reporting in ToInteger()
1999-06-15 02:03:33 +00:00
rickg%netscape.com
8d90806807
perf improvements, bug fix in insert(), better error reporting in ToInteger()
1999-06-13 21:23:04 +00:00
erik%netscape.com
f44f434de6
Was crashing when property already existed. Fixed now, by ignoring
...
subsequent attempts.
1999-06-12 21:07:22 +00:00
bruce%cybersight.com
3bbd6b0002
Add newline at end of file for commercial unix compilers.
1999-06-12 16:59:57 +00:00
waterson%netscape.com
3ff9c4f8c4
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
0bd8f4a60e
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
dff309b95c
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
21b812feb7
Added enumeration service to PersistentProperties which returns an enumeration of
...
PropertyElement objects.
1999-06-11 02:20:36 +00:00
briano%netscape.com
55b6c57d45
Ifdef hack to get this to compile on SunOS 4.x.
1999-06-10 22:37:27 +00:00
waterson%netscape.com
c5ca1fa2a0
Remove nsStringImpl and nsIString.
1999-06-10 20:20:32 +00:00
akkana%netscape.com
0ed7467e00
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
00a0b35eb5
This is all C code.
1999-06-09 10:08:12 +00:00
warren%netscape.com
108ee892cd
Cleaned up the nsIBuffer interface, added comments, etc.
1999-06-09 06:41:32 +00:00
warren%netscape.com
0aa76c7bb0
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
45df5306ae
Added nscore.h to nsrootidl.idl for PRUnichar.
1999-06-09 03:19:10 +00:00
waterson%netscape.com
dbd51aec83
Obsolete. Generated from nsICollection.idl now.
1999-06-08 21:28:42 +00:00
waterson%netscape.com
ef326e8a32
Obsolete. Generated from nsIEnumerator.idl now.
1999-06-08 21:27:47 +00:00
warren%netscape.com
aaf94a8b04
Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
1999-06-08 20:57:32 +00:00
sfraser%netscape.com
50460ad014
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
7b74d79bf3
Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer.
1999-06-05 01:15:00 +00:00
jdunn%netscape.com
44723469c1
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
81fa68ad56
fixed warnings
1999-06-03 23:03:08 +00:00
rickg%netscape.com
faaf397439
fixed offset error in FindCharInSet() and RFindCharInSet()
1999-06-03 22:12:27 +00:00
warren%netscape.com
19437e332d
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
e9a99e264b
add nsISupportsArray.idl
1999-06-03 21:00:44 +00:00
waterson%netscape.com
e30c1ff4f6
Fix XPIDL_MODULE typos.
1999-06-03 20:06:49 +00:00
rickg%netscape.com
54d9142b33
fix bug 7479 per Erik VanDerPoel
1999-06-03 18:45:39 +00:00
jdunn%netscape.com
f11c2c12a5
change false to PR_FALSE
1999-06-03 17:57:36 +00:00
rickg%netscape.com
733756c72e
fix searching errors; safeguard assign
1999-06-03 10:49:14 +00:00
cathleen%netscape.com
06912e1393
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
1e37044d42
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
9adb743188
add XPIDLized version of nsISupportsArray
1999-06-02 02:03:45 +00:00
alecf%netscape.com
06cbd6eee2
stop using [] operator on nsISupportsArray - going away for scriptability
1999-06-02 00:14:41 +00:00
rickg%netscape.com
8e07228d02
update to nsString2 as default impl
1999-05-31 22:09:05 +00:00
rickg%netscape.com
1391fd5402
searching should be slightly faster now
1999-05-29 09:40:49 +00:00
rickg%netscape.com
08b677ab39
using brute-force search for now
1999-05-29 09:28:56 +00:00
rickg%netscape.com
57ad1af88a
final update to nsString2 before switchover
1999-05-29 07:29:46 +00:00
law%netscape.com
4b65c3eb5a
XPIDL-ifying nsIOberver/nsIObserverService
1999-05-29 01:30:27 +00:00
law%netscape.com
39f375f872
XPIDL-ifying nsIObserver/nsIObserverService
1999-05-29 00:51:17 +00:00
dp%netscape.com
afdcdd4a15
Adding progid and classname
1999-05-27 22:47:27 +00:00
dp%netscape.com
a49242842c
Removing ending ;
1999-05-27 22:45:24 +00:00
rickg%netscape.com
8ce4c39a90
fixed bug in findStr
1999-05-27 10:28:50 +00:00
rickg%netscape.com
a43678d8a0
fixed bug in nsString2::find() -- this will soon use boyer-moore
1999-05-27 07:59:16 +00:00
sspitzer%netscape.com
622c04d7e1
add the cvsignorage again, and this time don't break the build.
1999-05-26 21:53:31 +00:00
pinkerton%netscape.com
5c6a1ffba4
missing [] on delete of internal array in operator=.
1999-05-26 21:13:29 +00:00
sspitzer%netscape.com
dd4205c871
remove this to fix build bustage
1999-05-26 19:03:16 +00:00
sspitzer%netscape.com
dc6a12ab7d
cvs ignorage for xpcom2 landing
1999-05-26 17:51:05 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
warren%netscape.com
08b563e33a
Added
1999-05-18 21:43:13 +00:00
dp%netscape.com
f329e74754
Initial version
1999-05-18 09:11:01 +00:00
kmcclusk%netscape.com
348ae67519
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
5cc7c24f80
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
5f77ce37ce
Removing old files now generated by IDL (to avoid future screw ups).
1999-05-13 08:48:47 +00:00
gagan%netscape.com
6a48afc57e
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
7a41ef7d73
Fixed nsICollection (and Count in particular) to be xpidl friendly.
1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
94edddef2a
make the destructor virtual
1999-05-13 00:48:42 +00:00
beard%netscape.com
8ea24eb7e7
made Count() method pure virtual, to fix xpcom link error.
1999-05-12 06:20:37 +00:00
alecf%netscape.com
1618d7c93b
check in IDL version of nsICollection interface
1999-05-12 03:11:48 +00:00
alecf%netscape.com
ea69080f6a
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
5b334a7e8a
Fix refcounting bug. nsISupportsArray[] already does an addref.
1999-05-10 21:53:18 +00:00
mcafee%netscape.com
fabaa074ad
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
5a54f4ad8f
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
198bc069bb
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
ed07d10ff3
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
98c002f568
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
74f34530ec
also removed a debug define
1999-05-07 00:48:04 +00:00
rickg%netscape.com
ddd1e13091
fixed an error subsuming autostrings, and removed an AIX warning
1999-05-07 00:47:24 +00:00
jband%netscape.com
44f3df2e61
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
3072ab325f
Suppress unused parameter warnings.
1999-05-06 05:15:26 +00:00
rickg%netscape.com
214d738d23
new nsString modz; getting ready for nsString2 switchover
1999-05-06 05:13:08 +00:00
alecf%netscape.com
08744902e8
#if 0 out some unused code
1999-05-04 20:56:40 +00:00
alecf%netscape.com
eb6233d510
initialize some variables in constructor declaration rather than the constructor itself
1999-05-04 20:52:05 +00:00
alecf%netscape.com
7f2b893ac4
fix virtual constructor problem
1999-05-04 20:50:24 +00:00
alecf%netscape.com
69706a2b27
add a side effect warning that bit me hard during M6
1999-05-04 20:28:24 +00:00
waterson%netscape.com
380ab6b36c
Improve docs.
1999-05-04 03:54:56 +00:00
briano%netscape.com
a06b94a174
Defined MAP_FAILED for all the platforms that don't have it.
1999-05-01 02:10:39 +00:00
briano%netscape.com
df057a0825
Fix AIX and Solaris bustage.
1999-05-01 01:40:35 +00:00
warren%netscape.com
e54a458fca
Consolidated individual factories into a single factory for base.
1999-04-30 22:55:21 +00:00
warren%netscape.com
9c928248b7
Added page manager, buffer, buffer streams and pipes stuff.
1999-04-30 22:55:12 +00:00
warren%netscape.com
11cccfd648
Fixed QI to respond to nsIProperties and nsIPersistentProperties. Removed factory (now in nsBaseDLL).
1999-04-30 22:54:22 +00:00
waterson%netscape.com
65a709a34a
Bug 5671. Use nsAllocator instead of C++ new/delete. r=jband,a=chofmann.
1999-04-30 18:49:40 +00:00
pinkerton%netscape.com
7b8852653a
added GetIID() method.
1999-04-30 08:59:11 +00:00
erik%netscape.com
918e586ae6
Was using the wrong IID to implement nsISupports. Fixed.
1999-04-28 01:43:51 +00:00
bruce%cybersight.com
be25d41dda
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
a44807c99e
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
d3bc2fbac5
Fix typos and other comment nits.
1999-04-28 00:38:49 +00:00
kipp%netscape.com
12cecd2806
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
803f8637c3
Remove errant semicolons.
1999-04-27 04:04:24 +00:00
rickg%netscape.com
0de7b981be
removed warnings
1999-04-26 23:43:40 +00:00
waterson%netscape.com
0dc5d18b78
Added nsISimpleEnumerator.h as a dummy file so that XPIDL that uses it won't break.
1999-04-26 17:31:57 +00:00
bruce%cybersight.com
e128505d6e
Old patches for non-virtual vs virtual destructors (approved by Troy)
1999-04-25 04:57:38 +00:00
rickg%netscape.com
adecc28838
completed the backout
1999-04-25 03:50:10 +00:00
rickg%netscape.com
307ad080f1
backing out string changes until I can get it right
1999-04-25 03:10:44 +00:00
rickg%netscape.com
5cc467b89c
still trying to fix mac breakage
1999-04-25 02:53:39 +00:00
rickg%netscape.com
06d43c1933
removed warnings and a build error
1999-04-25 02:05:03 +00:00
rickg%netscape.com
5eea057c07
fix to nsString2 constructor
1999-04-25 01:51:21 +00:00
rickg%netscape.com
9ea354a873
fix to nsString2 constructor
1999-04-25 01:49:58 +00:00
rickg%netscape.com
5098683c49
disabled some unnecessary debug output
1999-04-25 01:27:51 +00:00
rickg%netscape.com
b5dcc14666
removed PRUnichar* operator() and other WIP for nsString2
1999-04-25 01:24:10 +00:00
waterson%netscape.com
4b2d880a2d
Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
1999-04-24 02:38:54 +00:00
bruce%cybersight.com
b921f69928
Removing a spurious comma, fixing AIX and HP-UX build bustage. I don't see why this code should've compiled for anyone.
1999-04-23 04:15:50 +00:00
warren%netscape.com
d5baf9b75e
Added variant and scriptable.
1999-04-22 08:27:34 +00:00
rickg%netscape.com
d550cc2e2e
sync up with nsString2.cpp
1999-04-22 08:23:25 +00:00
warren%netscape.com
91d0be4809
Started factoring nsIPersistentProperties from nsIProperties.
1999-04-22 07:32:51 +00:00
warren%netscape.com
8f4b7a43d2
Added nsCRT::free methods.
1999-04-22 04:25:17 +00:00
warren%netscape.com
aa985edf4b
Added NS_IMETHOD decls.
1999-04-22 04:17:21 +00:00
neeti%netscape.com
d137eb0ce4
checking for null mObserverList
1999-04-21 19:36:41 +00:00
neeti%netscape.com
2c01a9790e
implemented wrapper funtions to make GetObserverList private.
1999-04-20 14:50:47 +00:00
warren%netscape.com
d2f79e5218
Made instance variables protected so that we can subclass.
1999-04-16 18:16:21 +00:00
sfraser%netscape.com
2f546f203d
Warning elimination (remove extra ; )
1999-04-15 19:54:27 +00:00
sfraser%netscape.com
7509fa995a
Warning elimination (delete extra ; )
1999-04-15 19:53:35 +00:00
waterson%netscape.com
295796c6fd
Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
1999-04-14 23:06:22 +00:00
beard%netscape.com
6db7f132d5
sorry, size_t != unsigned int, made declarations consistent to fix later link errors.
1999-04-14 04:19:42 +00:00
tague%netscape.com
147062e400
Rolled out change
1999-04-13 23:25:38 +00:00
tague%netscape.com
2c44e52c4c
Fixed windows build booboo. Added extern C to the defintion of nsQuickSort
1999-04-13 23:03:40 +00:00
alecf%netscape.com
1d8ac0d5c2
export this symbol correctly
1999-04-13 22:16:52 +00:00
alecf%netscape.com
f52c5ea8d3
make sure nsQuickSort is extern "C"
1999-04-13 20:36:57 +00:00
alecf%netscape.com
5919f4826a
fix mac bustage
1999-04-13 20:34:38 +00:00
jdunn%netscape.com
4f46ff3cee
fix compiler warning/errors with conversion from a void* to a char*
1999-04-13 20:27:17 +00:00
alecf%netscape.com
ec4767bf21
add quicksort implementation to base
...
(Thanks to Regents of CA and the RDF team)
1999-04-13 19:03:45 +00:00
warren%netscape.com
92d726cd56
Fixed error to be an nsresult.
1999-04-13 18:27:21 +00:00
warren%netscape.com
47d97f7869
Fixed comment.
1999-04-13 18:26:53 +00:00
rickg%netscape.com
9c6e76138e
fixed mail/news crash and bug 4606
1999-04-07 21:05:19 +00:00
neeti%netscape.com
3e2bd49cad
initial checkin for ObserverService api
1999-04-06 20:54:09 +00:00
rickg%netscape.com
8bdec0ded3
fixed nsStr bug found by davidBienvenu -- I owe him a beer
1999-04-05 21:38:50 +00:00
rickg%netscape.com
897a835ff5
fixed bug found by DavidBienvenu -- I owe him a beer
1999-04-05 21:28:55 +00:00
rickg%netscape.com
aeffd0c992
API cleanup for nsString
1999-04-05 08:06:54 +00:00
rickg%netscape.com
3b8cfe6aa8
fix to pushfront
1999-04-02 22:06:05 +00:00
rickg%netscape.com
dfc765cb14
fixed bug in deque::pushfront
1999-03-31 08:42:06 +00:00
dp%netscape.com
aa723aadf5
Thread Safe nsHashtable (on demand only)
1999-03-30 08:15:39 +00:00
pierre%netscape.com
17dca257b7
Use delete[] for strings allocated with ToNewCString().
1999-03-30 01:23:24 +00:00
briano%netscape.com
0af08a8120
Fixed the 'extra token after the endif' bug that was breaking some Unix builds.
1999-03-29 23:05:49 +00:00
waterson%netscape.com
66a55f3f2c
Landed RDF_19990326_BRANCH, scriptability changes.
1999-03-29 19:52:54 +00:00
jband%netscape.com
f332fa9be6
fixing cases of declaration not exactly matching definition and a few other instances of extraneous 'const' on PRUnichar passed by value
1999-03-27 07:34:44 +00:00
rickg%netscape.com
ad1ba89a86
any fix for entities
1999-03-25 01:27:27 +00:00
waterson%netscape.com
72299217c8
Made the nsCStringKey class NS_COM so that it could be exported across DLLs.
1999-03-23 23:12:35 +00:00
rickg%netscape.com
74944668d1
removed linux warnings
1999-03-23 08:47:54 +00:00
rickg%netscape.com
2ba72879d7
added recycler to nsString2
1999-03-23 07:33:10 +00:00
rickg%netscape.com
e15cc0dd6b
fixed bug in nsString; added recycler to nsString2
1999-03-23 07:26:27 +00:00
waterson%netscape.com
814643482d
Initial revision. Not currently in the build.
1999-03-23 01:46:44 +00:00
waterson%netscape.com
930b662aed
Fixed some syntax errors that I found when I actually tried to compile.
1999-03-23 01:46:12 +00:00
waterson%netscape.com
6d60e2479a
Added an Init() method to allow the creator to specify an alternate
...
character size for the internal representation.
1999-03-23 01:29:16 +00:00
waterson%netscape.com
31f60d2a20
Added nsIString interface.
1999-03-23 00:43:54 +00:00
rickg%netscape.com
5757dea09a
removed unsightly warnings from string classes
1999-03-23 00:28:36 +00:00
rickg%netscape.com
8e40493438
fixed link error
1999-03-22 22:26:17 +00:00
rickg%netscape.com
dacd8a783e
fixed nsString2 build problem
1999-03-22 22:03:14 +00:00
dcone%netscape.com
5eb8628f41
fixed small mac bug
1999-03-22 21:52:57 +00:00
dcone%netscape.com
537e9b39e4
Fixed small mac bug
1999-03-22 21:52:39 +00:00
rickg%netscape.com
808678e7df
landing nsString2
1999-03-22 09:54:46 +00:00
rickg%netscape.com
ede624cbbf
prep work to land nsString2
1999-03-22 08:29:26 +00:00
dp%netscape.com
c1ed2b3f33
Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com>
1999-03-21 19:26:32 +00:00
warren%netscape.com
1d59a013c3
Backed out nsUnicharKey -- couldn't get it to build with -pedantic linux.
1999-03-19 10:27:41 +00:00
warren%netscape.com
75ca8f8ad6
Attempt to fix pendantic breakage.
1999-03-19 09:46:09 +00:00
warren%netscape.com
5b82065f09
Added nsUnicharKey for nsHashtables.
1999-03-19 09:02:43 +00:00
rickg%netscape.com
ac8a03b6c1
removed static vars
1999-03-19 08:47:20 +00:00
warren%netscape.com
a4fb233916
Fix for broken linux compiler.
1999-03-19 06:18:08 +00:00
warren%netscape.com
6656b2284f
Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is).
1999-03-19 05:51:49 +00:00
dp%netscape.com
84607889b9
using nsHashtable for dllStore.
1999-03-12 11:23:49 +00:00
warren%netscape.com
f5b0e48292
tweak
1999-03-11 11:01:16 +00:00
warren%netscape.com
1ca883bda7
Exporting symbols for the mac.
1999-03-11 10:47:54 +00:00
warren%netscape.com
5f5aba4d61
Added union and intersection enumerators.
1999-03-11 09:56:59 +00:00
alecf%netscape.com
770326593d
purify fixes from bruce@cybersight.com - free memory the right way
1999-03-10 00:32:44 +00:00
warren%netscape.com
3406dc1047
Implemented virtuals in cpp file to try to avoid linux pedantic error.
1999-03-09 14:09:11 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
rickg%netscape.com
e1d3b703f9
fixed recently introduced i18n bugs
1999-03-07 19:23:28 +00:00
mcmullen%netscape.com
0b721e55f8
Removed the offset parameter from the base stream interfaces. Implemented string streams.
1999-03-05 22:53:56 +00:00
mcmullen%netscape.com
5a7ce034d2
Made a function static to remove a warning.
1999-03-05 21:35:23 +00:00
warren%netscape.com
ab9643b9a2
Fixed First method to return error.
1999-03-05 05:48:21 +00:00
kipp%netscape.com
68409e0711
Use proper new operator
1999-03-05 04:33:57 +00:00
hyatt%netscape.com
f96739c6a3
Fix to the RFind method of nsString.
1999-03-05 00:03:46 +00:00
scc%netscape.com
16e2511778
rename |IID()| --> |GetIID()|
1999-03-03 23:03:34 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
ftang%netscape.com
e79d1e4c91
add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp
1999-03-02 18:24:42 +00:00
mcmullen%netscape.com
b38ede637e
Call delete [] when new [] was used for allocation.
1999-02-27 20:39:07 +00:00
kipp%netscape.com
fbade5b43f
Defined some operator new/delete macros to help us get it right
1999-02-26 19:38:53 +00:00
alecf%netscape.com
bd99bf6b76
add nsIEnumerator interface, and fix nsICollection interface to use long not int
1999-02-26 17:57:34 +00:00
rickg%netscape.com
191d1e1a16
new API on deque to set deallocator
1999-02-26 07:23:56 +00:00
rickg%netscape.com
b82b092c4b
small bug fixes and removal of global statics
1999-02-26 06:33:54 +00:00
warren%netscape.com
2b617870c9
Added export/import declaration (temporarily).
1999-02-24 09:55:44 +00:00
warren%netscape.com
3ebe3e76c4
Updated IIDs
1999-02-24 09:31:34 +00:00
warren%netscape.com
4e3aaf35f1
Added idl
1999-02-24 08:46:00 +00:00
warren%netscape.com
896241f805
Added NS_NewConjoiningEnumerator
1999-02-24 07:58:06 +00:00
peterl%netscape.com
2f976599d2
Fixed bustage in Clear caused by PRInt32 to PRUint32 conversion
1999-02-23 23:31:49 +00:00
warren%netscape.com
3642da81a5
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
warren%netscape.com
242f5389ac
Added nsSupportsArrayEnumerator
1999-02-23 08:04:28 +00:00
mjudge%netscape.com
3756cba288
changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
1999-02-19 23:43:20 +00:00
rickg%netscape.com
5396424248
small mod to handle hex conversion better
1999-02-19 06:32:40 +00:00
warren%netscape.com
b761e1c51f
Added constructor for strings.
1999-02-18 00:12:08 +00:00
rickg%netscape.com
e2e2dfc7e9
removed bug from deque, and added replaceChar call to string
1999-02-16 06:47:00 +00:00
troy%netscape.com
7ebee8ef4e
Fixed some more memory leaks
1999-02-14 18:02:38 +00:00
troy%netscape.com
03a4fe9d44
Fixed some memory leaks
1999-02-14 05:44:39 +00:00
troy%netscape.com
7d913dc65b
Added missing "const" that was allowing internal pointer to Unicode
...
string tobe returned as a non-const value
1999-02-14 05:44:01 +00:00
troy%netscape.com
3daac89caa
Fixed some memory leaks
1999-02-14 05:34:07 +00:00
troy%netscape.com
fd8dea9b65
Added NS_RELEASE of nsIUnicharInputStream interface in Load()
1999-02-14 05:20:34 +00:00
jfrancis%netscape.com
36ce5457b4
backing out attempted fix of enumerator interface
1999-02-12 08:17:55 +00:00
jfrancis%netscape.com
ee23bdbc8e
scattered NS_IMETHOD liberally through interface
1999-02-12 07:01:06 +00:00
sfraser%netscape.com
063c313612
That last checkin should have read: fix a bug in CompressWhitespace that caused the string length to be set incorrectly, when Trim shortened the string.
1999-02-11 06:23:29 +00:00
sfraser%netscape.com
53038aad55
Fix a bug in
1999-02-11 06:22:03 +00:00
erik%netscape.com
f2ac3bc7ac
Forgot to say "public" in "class nsPropertiesFactory : nsIFactory".
...
This caused it to fail on Linux, but not on Windows. Go figure. Sigh.
1999-02-10 22:51:01 +00:00
alecf%netscape.com
9a4cc65f9d
add a few more string cases to fix compilers who complain about ambiguous overloading
1999-02-10 08:22:47 +00:00
bienvenu%netscape.com
e2222e8806
back out linebreak defines
1999-02-09 05:06:35 +00:00
bienvenu%netscape.com
3b8a2a39bc
add platform specific linebreak defines
1999-02-09 04:43:58 +00:00
warren%netscape.com
279c55d99d
Added CR LF defines for general use.
1999-02-09 04:19:58 +00:00
waterson%netscape.com
0c8af86d02
Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar.
1999-02-08 22:01:08 +00:00
ftang%netscape.com
f696de06e0
change upper and lower case operation to call unicharutil for the nonASCII case
1999-02-08 18:57:21 +00:00
warren%netscape.com
37a41235c9
Added assertion
1999-02-06 04:22:43 +00:00
warren%netscape.com
d0574a9735
Added strtok implementation.
1999-02-06 04:18:15 +00:00
warren%netscape.com
7d4a63e139
Added nsVoidKey and nsISupportsKey.
1999-02-06 04:01:23 +00:00
warren%netscape.com
d59ad30013
Fixed unsigned problems.
1999-02-06 03:56:36 +00:00
warren%netscape.com
8493a187aa
Added strncmp, made lengths be unsigned.
1999-02-06 03:56:17 +00:00
erik%netscape.com
8d6a842091
Moved nsPropertiesFactory constructor from .h to .cpp file
1999-02-05 21:06:07 +00:00
dp%netscape.com
6c655137e4
Fixing mRefCnt not being initialized for nsPropertiesFactory
1999-02-05 06:05:51 +00:00
vidur%netscape.com
ef9770e5a1
Added a Reset method to nsHashtable
1999-02-03 19:35:11 +00:00
erik%netscape.com
6aa4b1b246
Fixed compiler warning on Linux.
1999-02-03 18:11:45 +00:00
peterl%netscape.com
06e15c8d24
Added operator=(nsAutoString) for autostring
1999-01-30 06:19:52 +00:00
ftang%netscape.com
8a0b840e9f
limit ToUCS2 only have effect in U+0080 to U+009F range so it won't mess up non Latin 1 characters
1999-01-29 18:08:36 +00:00
pinkerton%netscape.com
85c4f65a90
add IID for use with nsCOMPtr.
1999-01-28 17:59:37 +00:00
warren%netscape.com
449f4cb1fe
Added nsIAllocator and implementation. Made service manager services sticky'.
1999-01-27 02:02:22 +00:00
erik%netscape.com
75f1796700
For some reason, the IID stuff didn't compile on the Mac. Fixed now.
1999-01-27 00:18:34 +00:00
erik%netscape.com
ce12ded87b
Added implementation of new nsIProperties class (like Java properties).
...
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).
1999-01-26 23:50:25 +00:00
erik%netscape.com
51fabd0847
public header file for new nsIProperties class (like Java properties)
1999-01-26 23:48:54 +00:00
peterl%netscape.com
a35fe91e63
added nsStringArray
1999-01-23 06:58:34 +00:00
mjudge%netscape.com
6fb6cf3fe8
adding IID to interface
1999-01-22 18:58:43 +00:00
buster%netscape.com
e05e86ea54
added IID static method so nsIEnumerator can be used with nsCOMPtr
1999-01-20 23:16:28 +00:00
rickg%netscape.com
af405928a0
exposed objectAt in deque, and fixed toInteger bug
1999-01-15 19:20:51 +00:00
rickg%netscape.com
01a5bccadc
fixed bug in Compare() and error in ToInteger()
1999-01-10 08:17:40 +00:00
rickg%netscape.com
fcdfc75a82
modest improvements to string and deque
1999-01-09 01:09:39 +00:00
waterson%netscape.com
9784876549
Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg.
1999-01-07 22:19:57 +00:00
brade%netscape.com
d27e20fbbd
reduce Macintosh compiler warnings by removing extra ;
1999-01-06 18:49:37 +00:00
troy%netscape.com
4c1ca751b4
Added comment to strdup() noting that t he caller must use delete[]
...
to free the memory
1998-12-22 19:01:14 +00:00
scc%netscape.com
2513a5445e
Added static IID() method. This member function will be generated automatically in the future.
1998-12-18 03:43:29 +00:00
warren%netscape.com
b22a4e72fd
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
brade%netscape.com
842090ac8d
fix compiler warning / bug: initialize index to 0 (reviewed peterl@netscape.com).
1998-12-15 22:19:04 +00:00
kin%netscape.com
436e1e6954
Fixed off by 1 error that occurs in PopBack() when
...
(mOrigin + mSize) >= mCapacity.
1998-12-09 17:07:20 +00:00
mjudge%netscape.com
f3efd51091
new enumerator interface change
1998-12-03 21:46:51 +00:00
mjudge%netscape.com
d2d3c7396a
making big changes to enumerator class and adding nsICollection
1998-12-01 17:55:08 +00:00
mjudge%netscape.com
7a9d988f4e
collection interface
1998-12-01 17:50:57 +00:00
rickg%netscape.com
5761b52e55
fixed bug #1203
1998-11-24 20:23:46 +00:00
rickg%netscape.com
7755d427f4
changed ToInteger() so that it returns an error properly
1998-11-24 02:38:21 +00:00
rickg%netscape.com
83c2278361
updated docs for nsString class usage
1998-11-20 22:11:09 +00:00
kipp%netscape.com
e1fa4e95dd
Made nsString::Insert actually support the count=-1 default argument
1998-11-19 17:58:30 +00:00
wtc%netscape.com
51656cbe28
Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
...
to mozilla/xpcom.
Modified files: Makefile, Makefile.in, makefile.win.
1998-11-09 20:10:21 +00:00
wtc%netscape.com
1597ec5412
Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
...
to mozilla/xpcom.
Modified files: MANIFEST, Makefile, Makefile.in, makefile.win.
1998-11-09 20:09:33 +00:00
pierre%netscape.com
57bc56148a
fixed the 3 instances of Compare() to work with empty strings
1998-11-04 06:48:11 +00:00
pierre%netscape.com
809c3fa63c
return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0
1998-11-04 06:46:33 +00:00
peterl%netscape.com
391e5e2d12
made enumeration methods const
...
added append via array method
1998-11-03 20:14:08 +00:00
rickg%netscape.com
674c289b46
fixed bug in IsOrdered that was found on the web
1998-10-26 22:33:39 +00:00
scullin%netscape.com
6c1d460ea1
Migrating public header files to public
1998-10-19 17:48:55 +00:00
kipp%netscape.com
7b5a4e35e8
Fixed some sign extension bugs
1998-10-10 15:28:53 +00:00
kipp%netscape.com
c728420a6b
Added a reminder comment
1998-10-10 15:27:50 +00:00
waterson%netscape.com
08b74441d6
Fixed linkage problems with nsInt64 and nsTime classes.
1998-10-06 20:06:06 +00:00
rickg%netscape.com
bbc76113d1
added radix support in ToInteger()
1998-10-04 04:52:10 +00:00
waterson%netscape.com
0e9767ff68
Added wrappers for 64-bit arithmetic and PRTime.
1998-09-16 19:53:12 +00:00
kipp%netscape.com
86f83878fd
Added a macro and normalized auto-string initialization; reordered methods slightly just to annoy rickg :-)
1998-09-05 23:21:42 +00:00
valeski%netscape.com
09c4e871b5
String insertion was broken if you wanted to insert at the begining (index '0') of a string.
1998-09-04 18:49:50 +00:00
rickg%netscape.com
7cb4b0c39d
new string improvements
1998-09-04 17:26:37 +00:00
peterl%netscape.com
95ae58e4db
changed HashCode to HashValue and fixed return type
1998-09-02 01:59:30 +00:00
warren%netscape.com
28969e9e90
Added closure argument to nsHashtable::Enumerate.
1998-09-01 00:16:47 +00:00
rickg%netscape.com
7858c52f7e
added BinarySearch method for faster string searches
1998-08-29 05:06:50 +00:00
valeski%netscape.com
d3dd8ac5ee
nsString.h - the mBuf member data type was the raw PRUnichar type, changed it to chartype.
...
nsString.cpp - we were dropping the ending null-byte/unichar when expanding/growing strings
1998-08-27 08:15:40 +00:00
kipp%netscape.com
83c90ed2d0
Fixed compiler problem with other compilers by removing useless const in front of void
1998-08-27 02:39:36 +00:00
rickg%netscape.com
073fc23c82
added iostream output to nsString
1998-08-22 17:50:13 +00:00
rickg%netscape.com
c1d7662228
fixed off by one error in Pop()
1998-08-21 02:03:56 +00:00
rickg%netscape.com
702ee7c637
fixed objectAT() offset error
1998-08-12 08:53:03 +00:00
peterl%netscape.com
59e5ef7b52
performance tweak in trim
1998-08-07 02:11:13 +00:00
rickg%netscape.com
3d3143056b
improved deque API a tad
1998-08-05 01:59:34 +00:00
rickg%netscape.com
d7540e9307
kipps changes
1998-08-05 01:31:14 +00:00
rickg%netscape.com
7372a05ba9
minor tweak to remove tabs
1998-08-04 10:12:45 +00:00
rickg%netscape.com
8cadfbae7e
added a few assertions, just to be safe
1998-08-03 21:03:49 +00:00
rickg%netscape.com
bd6d9c1bf6
major upgrade to string class implementation
1998-08-03 20:46:38 +00:00
peterl%netscape.com
e08babbc37
re-added backed-out changes
1998-08-01 00:56:28 +00:00
donm%netscape.com
56796d4050
backing out changes made while trying to land OJI.
1998-07-31 23:58:26 +00:00
peterl%netscape.com
21482eb238
replaced macros with inline functions
1998-07-31 23:27:36 +00:00
troy%netscape.com
d885d03cbf
Fixed some crashes where it wa assumes mStr was non-NULL
1998-07-30 20:36:51 +00:00
rickg%netscape.com
35ef5f0b7f
more string improvements
1998-07-30 18:35:58 +00:00
rickg%netscape.com
ef09dc96e8
fixed string assignment bug
1998-07-30 18:26:46 +00:00
troy%netscape.com
22a9e3103b
Changed default constructor to leave capacity at 0 and not allocate
...
a buffer of 24 bytes
1998-07-29 23:06:21 +00:00
rickg%netscape.com
82a39cc883
warning removal
1998-07-25 02:11:02 +00:00
michaelp%netscape.com
3f1cee6416
modified streaming APIs to be what the OJI guys want.
1998-07-23 20:34:01 +00:00
troy%netscape.com
50b168bd01
Added some '=' operator member functions to nsAutoString
1998-07-22 21:38:48 +00:00
rickg
c7c8f485ed
major improvements to parser API's; fixed a few bugs
1998-07-02 08:14:22 +00:00
jevering
3705e61240
Modified ReplaceElementAt to grow the array if an index out of the
...
allocated boundary was requested.
1998-07-02 00:28:56 +00:00
rickg
b2f62ff8a2
huge refactoring effort; transient style support; tables fixes, and more
1998-06-17 23:13:28 +00:00
jevering
d86bf24428
Fixed double ended queue to accept a callback in the constructor
...
to a function which frees the inserted objects.
1998-06-12 01:36:24 +00:00
troy
5da3ea6720
Added an additional constructor
1998-06-11 22:48:25 +00:00
kipp
339f079993
Added SizeOf method
1998-06-05 21:38:36 +00:00
kipp
ce9fdc61c7
new
1998-06-05 20:46:23 +00:00
raman
ca98fa5189
Added the clone method. Approved by warren
1998-06-01 22:11:06 +00:00
kipp
d0102a831e
null terminate empty auto string properly
1998-06-01 20:55:46 +00:00
hardts
60cd050946
landing XPCOM_BRANCH
1998-05-22 21:56:30 +00:00
rickg
7dfde61fc9
minor perf improvement to deque
1998-05-21 20:37:17 +00:00
rickg
9e36b7c90a
filled in the popback function
1998-05-21 02:27:34 +00:00
kipp
b3f36862f4
Fixed bug in nsString::Cut code where the sizeof(chartype) was multipled a bit aggresively; I also tuned the routine somewhat as well
1998-05-20 23:18:25 +00:00
peterl
729e4048ee
added enumerate methods
1998-05-20 20:31:58 +00:00
kipp
252b978edf
Added empty constructor; removed instance count sillyness
1998-05-20 16:21:48 +00:00
rickg
c857888a8d
small improvement to deque-iterator interface
1998-05-19 01:51:24 +00:00
rickg
c4b08c87d1
minor performance tweak for deque
1998-05-14 22:18:44 +00:00
rickg
23d466f216
added IsDigit to string
1998-05-11 23:27:35 +00:00
spider
31634b6c93
Fix UNIX build bustage
1998-04-30 16:40:38 +00:00
buster
9bf0f8ad1a
at Peters request, I added NS_INT_PIXELS_TO_TWIPS and NS_FLOAT_PIXELS_TO_TWIPS
1998-04-30 15:11:33 +00:00
rickg
fee218f0dc
minor tweak to iterator
1998-04-30 05:55:51 +00:00
kipp
4857393413
Fixed compiler bugs/warnings
1998-04-26 03:13:20 +00:00
rickg
cb78bb65c9
added Append(unichar)
1998-04-25 19:44:35 +00:00
karnaze
4364c856d4
added radio groups, select/option, beter sizing. widgets take creation parms.
1998-04-24 21:37:30 +00:00
rickg
60d933a6cb
added a few new container types
1998-04-22 18:28:48 +00:00
peterl
17a3991909
fixed memory leaks in nsAutoString
1998-04-16 21:47:17 +00:00
kipp
4717009d75
moved to pub
1998-04-13 20:24:54 +00:00
ltabb
781c480871
Free the lizard
1998-03-28 02:44:41 +00:00