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

810 Коммитов

Автор SHA1 Сообщение Дата
scc%netscape.com 9d360e3ad0 Made critical operations exploit chunky iterators. These files are not yet part of the build. 2000-03-22 08:19:48 +00:00
sfraser%netscape.com 466c068544 Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc 2000-03-22 02:43:48 +00:00
ftang%netscape.com 60bff949e1 add assertion code for data lostage. r/a=rickg 2000-03-21 21:04:50 +00:00
scc%netscape.com 5d1e31d90e Added the new string interface files to the export lists for each platform. They still aren't part of the build. r=pinkerton 2000-03-17 22:04:48 +00:00
ftang%netscape.com be2435a9f0 check in illegal nsString char* usage tracking code. Turn off by default. r=rickg 2000-03-15 05:15:00 +00:00
scc%netscape.com 0825f5bcd1 Incremental changes. Fixed some things that were stopping rickg from compiling. This file is not part of the build. 2000-03-14 17:10:03 +00:00
dp%netscape.com f7c27d1d9d filename conflict. Hence removing to add it back as a different filename 2000-03-13 01:48:50 +00:00
dp%netscape.com 4d287c15a0 Initial version 2000-03-13 00:23:41 +00:00
rickg%netscape.com cbb199a064 WIP for removal of deprecated string methods 2000-03-12 22:21:14 +00:00
scc%netscape.com 92e24087ff Incremental changes. Provided implementations for the virtual functions that were previously pure virtual. These implementations were common, after all, even just between |nsString| and |nsCString|. These files are not part of the build. 2000-03-12 20:57:35 +00:00
scc%netscape.com 7002773472 Incremental changes. Added |Implementation()| member to allow rick to implement copy-on-write. Added more virtual members to writable. More to come. These files are not part of the build. 2000-03-12 17:39:49 +00:00
rickg%netscape.com 194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com b652637555 WIP for new nsString; this doesn't impact current build 2000-03-12 07:47:09 +00:00
scc%netscape.com a16db647b9 Incremental changes. Reorganized code; implemented more factored methods. Moved string owner from fragment to iterator. Renamed the |const| version of |GetFragment| to |GetConstFragment| so we didn't mix overloading with overriding; eliminating need for some uses of |using| ... may want to do the same thing with |Begin| and |End|. These files are not part of the build. 2000-03-12 01:28:16 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
scc%netscape.com 7b543c486c Incremental changes. Modified the strategy for nested |nsPromiseConcatenation| objects. Changed the type of the fragment identifier in a fragment. These files are not part of the build. 2000-03-10 07:04:09 +00:00
scc%netscape.com 4d17a62278 Incremental changes, renamed |nsConcatString| to |nsPromiseConcatenation|. Added |nsPromiseSubstring|. Got rid of upper/lower signatures. Added |Assign|. Fixed comparison macros. Added |operator+=| and |operator=|. These files are not part of the build. 2000-03-10 02:30:14 +00:00
rickg%netscape.com 5989a942b6 update to new string files; these are NOT part of the build 2000-03-09 10:50:02 +00:00
scc%netscape.com 58fac5eee3 File Removed. 2000-03-09 06:39:31 +00:00
scc%netscape.com 4343cd857e Incremental changes. Getting the comparison operators right. Making |operator+()| do the right thing. These files are not part of the build yet. 2000-03-09 06:37:45 +00:00
scc%netscape.com 226fee4a5e Incremental changes. These files are not yet part of the build. a=don 2000-03-08 21:57:14 +00:00
rickg%netscape.com e2639fea30 fixed pdt+ bug 29749; r=pollman; a=jar 2000-03-08 06:16:29 +00:00
scc%netscape.com 50fa47e2c4 Not part of the build. Developing interfaces. Incremental changes to share with rickg, et al. 2000-03-07 20:56:07 +00:00
scc%netscape.com 379d85539c First Checked In. 2000-03-07 01:02:10 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
rickg%netscape.com b8a4416136 landed WIP nsString3 early design; not part of build; a=n/a 2000-03-03 09:04:50 +00:00
ftang%netscape.com 485fcaf806 fix 29333 make the initial construction passing "" for performance and legal nsString usage. r=rickg a=bobj 2000-02-29 06:59:55 +00:00
rickg%netscape.com 6aed413a37 fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
waterson%netscape.com e81097b87b My bad; I reviewed this code and I suck. This is the right fix. 2000-02-24 06:42:36 +00:00
gagan%netscape.com d86c754b55 Avoid calling Copy from operator= if we are just resetting the nsXPIDLString. So now it is safe to reset an nsXPIDLCString or nsXPIDLString by setting it to null. r=waterson,a=jevering 2000-02-24 05:34:28 +00:00
valeski%netscape.com 301e336587 28782. a=jar. r=rickg. nsCAutoString couldn't handle a '=' of a PRUnichar*, now it can 2000-02-23 22:47:03 +00:00
rickg%netscape.com 4c704a1b1b changed 'embedded nulls' asserts to warnings in nsString 2000-02-19 09:17:49 +00:00
rickg%netscape.com 386500ccac partial fix for 23418; r=rhp; a=phil 2000-02-19 09:17:14 +00:00
rickg%netscape.com 3ed534b000 fixed PDT+ bug27954; r=buster;a=jar; precheckins ok 2000-02-18 07:47:47 +00:00
scc%netscape.com 3939c51736 backing out my change 2000-02-16 15:43:55 +00:00
scc%netscape.com 408258131d I think this is the right fix for the wensleydale bustage. Added |operator*()| to |nsXPIDL[C]String|. Fixed |const|-ness of existing operators and made inline. Built and tested on Mac; if this doesn't help, I'll back it right out. r=ckritzer (I swear I'm not making this up!) 2000-02-16 15:08:55 +00:00
danm%netscape.com 3201b9c811 adding nsISupportsIterators.idl for scc 2000-02-14 06:38:22 +00:00
rickg%netscape.com 050c633ce6 major perf mods for bug 27524, and removed deprecated methods; r=harishd 2000-02-13 17:46:15 +00:00
rickg%netscape.com 4e97c0877e fixed off-by-one error; r=harishd 2000-02-13 17:45:01 +00:00
rickg%netscape.com 5480bb3143 fixing tiny menu bug by backing out partial update to nsStr; r=none 2000-02-11 16:21:53 +00:00
rickg%netscape.com 068f9e1da3 added return type on new method 2000-02-11 15:19:17 +00:00
scc%netscape.com 84639d6d3b First Checked In. 2000-02-11 14:32:11 +00:00
rickg%netscape.com 4d12935e0e fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
scc%netscape.com c0e8f62fdd bug #25621: shouldn't add a |NULL| atom to the hashtable. r=beard 2000-02-11 01:59:55 +00:00
scc%netscape.com 424433c86b bug #25621: didn't check for null before |AddRef()|. Converted |NS_ADDREF|-->|NS_IF_ADDREF|. No code review. 2000-02-07 10:05:14 +00:00
ftang%netscape.com db0b7d7842 fix bug 23353. r=warren,rickg . Do not store listener in member data. 2000-01-28 14:41:04 +00:00
putterman%netscape.com 3295d7781f Fix for 24362. Status bar gets updated message counts. a=chofmann. r=dp and jband. 2000-01-20 22:57:08 +00:00
scc%netscape.com 80984495ad Fixing runtime assert bustage. r=pinkerton 2000-01-19 01:18:27 +00:00
rickg%netscape.com 1e1d20f88e bug24015; r=rods a=chofmann 2000-01-18 21:06:05 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
sfraser%netscape.com a3536e8c1d Add nsTextFormatter.h, for sford 2000-01-17 22:12:12 +00:00
sford3%swbell.net ab6a38b233 Beginning of work on 16951, not part of build yet 2000-01-17 06:33:59 +00:00
warren%netscape.com 91ee8e32c4 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
waterson%netscape.com 619d700ee4 Bug 21472. Use only strict relationals with LL_CMP(). r=brendan 2000-01-06 20:22:29 +00:00
mcafee%netscape.com 29f5443a16 plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano 2000-01-06 01:12:25 +00:00
warren%netscape.com b17760cea8 Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren%netscape.com 570a306175 Obsoleted old file. 2000-01-05 10:27:32 +00:00
warren%netscape.com 06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com 538b2ca40f Breaking out persistent properties from nsIProperties.h. 1999-12-29 20:55:42 +00:00
warren%netscape.com 9531c0b6ae Added nsIStopwatch for timing analysis. 1999-12-29 20:54:13 +00:00
sspitzer%netscape.com 17c627bc23 fix warning for scc. 1999-12-24 03:42:54 +00:00
rickg%netscape.com 1c48bc0daa fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar 1999-12-21 07:49:34 +00:00
waterson%netscape.com f15c00b036 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann 1999-12-21 00:12:25 +00:00
waterson%netscape.com f0008a0cf9 Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann 1999-12-20 22:13:33 +00:00
scc%netscape.com e765050567 Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann} 1999-12-19 17:14:47 +00:00
briano%netscape.com 9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
kin%netscape.com 3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
rginda%netscape.com f5f06fba37 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc%netscape.com 2645d4a68f Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
alecf%netscape.com 99960a45d7 behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
1999-12-07 22:10:31 +00:00
rickg%netscape.com a3187e2ff2 fixed bug in nsStr::Compare(); r=dveditz (who also found the bug) 1999-12-07 09:52:43 +00:00
jband%netscape.com 2eaaa4083b adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
rickg%netscape.com 95441de478 fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
rickg%netscape.com 1a75640583 fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
waterson%netscape.com 084b9e5d76 Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
sfraser%netscape.com 5c1617659d Add string versions of the line terminatin macros. r=pinkerton 1999-12-01 22:26:58 +00:00
sfraser%netscape.com dacf66a5bf Include stdio.h with system paths, not user paths. No bug, r=mozbot. 1999-12-01 06:12:01 +00:00
waterson%netscape.com 6d00264a22 Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver 1999-12-01 00:37:11 +00:00
dp%netscape.com edcdeb94a5 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
pinkerton%netscape.com 1a970bd699 added setDataWithLength to nsISupports[W]String r=jband. 1999-11-30 22:06:05 +00:00
warren%netscape.com 4e2588b525 Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl 1999-11-30 05:18:39 +00:00
fur%netscape.com 4981f629c1 Disable the temporary assertion for embedded NUL characters in nsString::Append(),
so that clients of nsString can make use of the changes that rickg added which
allow embedded NULs.  r: rickg
1999-11-29 21:32:53 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com b829e11c5a Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.
1999-11-27 17:47:05 +00:00
warren%netscape.com 2946b5d178 Fixed indentation. 1999-11-20 07:30:26 +00:00
warren%netscape.com 7b7c64390a Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
dp%netscape.com aae8cd6430 Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com 1999-11-20 07:15:23 +00:00
warren%netscape.com d6c2199dcd Added isascii for mac 1999-11-20 05:46:04 +00:00
warren%netscape.com 8b576d2a0a Fixed include for non-debug builds. 1999-11-20 05:27:35 +00:00
warren%netscape.com 5b2d5696f3 Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg 1999-11-20 04:22:26 +00:00
rickg%netscape.com 51573db439 corrected type mismatch in memory error status of nsStrings; r=none 1999-11-19 08:10:40 +00:00
rickg%netscape.com ad5334de75 added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster 1999-11-19 08:05:30 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
warren%netscape.com 8e672ef3c5 Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko. 1999-11-17 07:36:40 +00:00
fur%netscape.com 9b4f4a91c4 I screwed up the checkin message log, here's the real changes in revision
3.5 of this file.  These changes are in support of bug #8305 (Cache implementation):
r: dougt

+ Fixed off-by-one value in enumerating either forwards or backwards, such
  that the last element is never enumerated.

+ Fixed return values of IsDone() to conform to unusual nsIEnumerator definition

+ Fixed declarations so public methods can be called outside DLL
1999-11-16 03:23:10 +00:00
fur%netscape.com 67b239942c In support of bug #8305 (Cache implementation), added new type of hash-table
key, an array of opaque data, not owned by the key. r: dougt
1999-11-16 03:10:54 +00:00
putterman%netscape.com f0fed40b89 Fixes leak. Reviewed by law. 1999-11-15 20:57:24 +00:00
rickg%netscape.com 516adaef6c reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
rickg%netscape.com a45e164ae6 disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
rickg%netscape.com 948d04c6d8 change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
rickg%netscape.com 5ff074fed9 finally: a fix for archaic compilers 1999-11-14 07:58:05 +00:00
rickg%netscape.com af6e99fa32 try again to get around unix problem 1999-11-14 07:20:02 +00:00
rickg%netscape.com 38e3044206 try to get around linux compiler grief 1999-11-14 06:49:43 +00:00
rickg%netscape.com bd46d8d5f0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
jdunn%netscape.com 2439aac20c AIX requires a 'const' in order to handle the assignment of 2 nsStrings
(see wallet.cpp line 3093).

rickg approved
1999-11-12 03:58:15 +00:00
sfraser%netscape.com fe7238681a Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov. 1999-11-11 20:41:54 +00:00
shaver%netscape.com 6256e1b5ec revert case change, because I no longer have the accompanying JS changes -- don't ask 1999-11-10 04:18:07 +00:00
shaver%netscape.com 4c650665ed export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +00:00
shaver%netscape.com c73533acb7 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
dp%netscape.com 6d25ebf971 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
sdagley%netscape.com fa914afde9 Yet Another Tree Bistage Fix - looks like warren was having a bad CVS day as he put a typo in the first line 1999-11-09 00:27:00 +00:00
sdagley%netscape.com cb9c425fa4 Another shot at fixing Mac build bustage - also remove the obsoleted nsIBuffer.h 1999-11-09 00:08:23 +00:00
warren%netscape.com a2c6384b79 Removed nsIPageManager.h 1999-11-08 22:40:52 +00:00
warren%netscape.com 435d35a051 Removed obsolete files from tree. 1999-11-08 22:06:07 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dveditz%netscape.com 04c2ee43f4 shutting up copious warnings using /W4 on MSVC 1999-11-03 07:39:19 +00:00
dp%netscape.com c2288cca73 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
valeski%netscape.com aad867ad42 15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug 1999-10-29 20:47:17 +00:00
braddr%puremagic.com ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com 341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com 55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
scc%netscape.com 74b81724eb File Removed. 1999-10-22 21:02:15 +00:00
scc%netscape.com a853bff6dc remove nsIVariant.h and nsVariant.cpp as per bug #16987 and changes already in for Unix (thanks brad) and Mac, r=danm 1999-10-22 01:33:03 +00:00
scc%netscape.com 30618333a0 remove "nsVariant.cpp" from the project, and "nsIVariant.h" from the MANIFEST, as per bug #16987, r=sfraser 1999-10-22 00:12:03 +00:00
braddr%puremagic.com c5070cffa9 Remove references to nsVariant.cpp and nsIVariant.h.
r=scc
1999-10-21 22:24:17 +00:00
rickg%netscape.com 5950c8d6ef updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
shaver%netscape.com b24e11ce8e case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan) 1999-10-14 23:52:59 +00:00
warren%netscape.com 763c521a26 Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
rickg%netscape.com f66add4c0e fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
kipp%netscape.com 72e5e182c4 Fixed a memory leak in the sizeof-handler logic (blush) 1999-10-07 00:49:40 +00:00
kipp%netscape.com 6982b7bf33 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
rickg%netscape.com a0d9a79a54 bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
kipp%netscape.com 4f9c341b0c Allow atom table to be purged during shtudown 1999-09-30 21:40:00 +00:00
rickg%netscape.com 350d30ae94 replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
rickg%netscape.com 6f744b281a perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
warren%netscape.com 89b394422e Cleanup 1999-09-26 10:04:36 +00:00
warren%netscape.com 53e8731812 Took out unused page manager. 1999-09-26 07:26:21 +00:00
briano%netscape.com d1940d686e SCO-specific fix. Approved by chofmann. 1999-09-25 00:38:13 +00:00
ftang%netscape.com a6b9111361 fix utf converson bug 1999-09-22 03:20:21 +00:00
warren%netscape.com bdef2ae2c9 fixed mismatched free in nsProperties 1999-09-20 20:54:16 +00:00
warren%netscape.com 9b98c7e8a1 freed tree nodes in nsAVLTree 1999-09-20 20:54:12 +00:00
waterson%netscape.com a6ce109fb6 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
rickg%netscape.com 4fca0d71c9 back out update to Append(int,radix) until I can find ltoa() on linux 1999-09-20 05:50:43 +00:00
rickg%netscape.com f1b5efa2cc explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
rickg%netscape.com 9800c21dc0 fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rickg%netscape.com 73c490c4d3 improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
briano%netscape.com 04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
rickg%netscape.com 9c96f9cdef checking bufferroutines.h back in; it looked like a red herring 1999-09-18 01:45:19 +00:00
rickg%netscape.com d4a7d84481 back out part of this change for more testing; I missed a case which caused a crash 1999-09-18 01:09:48 +00:00
colin%theblakes.com edd596cfd1 Fix two compiler warnings and one coding bug 1999-09-18 00:07:20 +00:00
rickg%netscape.com f4fbb6fd09 performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
beard%netscape.com ab95fb6cf4 Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp. 1999-09-16 21:29:22 +00:00
ftang%netscape.com 415507f1a9 add nsTextFormater to UNIX build 1999-09-15 21:18:21 +00:00
ftang%netscape.com 3b9e6e0e08 remove unneeded debug info. Fix Unix build warning. Fix UTF8 to UCS2 conveersion bug 1999-09-15 21:16:09 +00:00
ftang%netscape.com 690408b116 add nsTextFormater.h 1999-09-15 20:54:04 +00:00
ftang%netscape.com 860e2e46f9 add the nsTextFormater for win 1999-09-15 20:38:18 +00:00
ftang%netscape.com 46bb62e8dd add new classes 1999-09-15 20:37:42 +00:00
ftang%netscape.com 4bbc98588a add ToNewUTF8Stirng to nsString 1999-09-13 22:51:29 +00:00
cls%seawood.org 3d00d0c683 Oops. C++ comments in a C progam is not allowed. 1999-09-12 14:07:51 +00:00
cls%seawood.org e837369fec Renamed tmp variable to avoid shadowing.
Commented out less than zero assertion checks on unsigned ints
1999-09-12 12:06:37 +00:00
cls%seawood.org fb6d318f14 Explicitly include <malloc.h>
Set mZero_fd to 0 instead of NULL
1999-09-12 12:04:43 +00:00
cls%seawood.org f0889ec840 Reorderd member initializers to remove silly warnings. 1999-09-12 12:02:03 +00:00
beard%netscape.com 87f3477863 Added operator = (const char*) as a convenience. always copies argument string. 1999-09-11 23:00:38 +00:00
peterl%netscape.com 91fbbe22c4 fixed crash in compress chars on 0 length string 1999-09-11 00:10:36 +00:00
jdunn%netscape.com 00fadc59c0 Provide workaround in nsPageMgr.cpp if platform (HPUX) doesn't have /dev/zero.
briano, ramiro & warren all looked at the code.

(also sneaked in a linking option in for hpux only)
1999-09-10 23:07:09 +00:00
kipp%netscape.com 9c5b0aa21b Eliminate some silly nsString usage 1999-09-09 22:34:02 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
troy%netscape.com 476f0be19f Fixed build bustage 1999-09-08 21:26:24 +00:00
troy%netscape.com 68bf056cd9 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1
1999-09-08 20:21:27 +00:00
brendan%mozilla.org a84076e44e Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
brendan%mozilla.org 7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
bienvenu%netscape.com 5369333293 add string.h to fix build bustage 1999-09-06 19:04:09 +00:00
dougt%netscape.com 028f11d2bf Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
brendan%mozilla.org bc3dce147f Remove nsIAtom.h now that it's generated; tidy white space. 1999-09-03 08:40:47 +00:00
kipp%netscape.com 123b44e54e Use nsAutoString to save time 1999-09-02 18:03:30 +00:00
waterson%netscape.com 0a263a4690 Make CBufDescriptor const to avoid -pedantic bustage. 1999-09-02 08:02:57 +00:00
rickg%netscape.com 8795a355d4 another tiny tweak to docs 1999-09-02 07:13:56 +00:00
rickg%netscape.com ac8dfadb6d better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
shaver%netscape.com 7b3e3fecc3 Make nsSupportsHashtable not crash when you try to Get or Remove an item
not in the table already.
1999-09-02 07:01:53 +00:00
cyeh%netscape.com 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
kipp%netscape.com 948ad27a21 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
erik%netscape.com 2591c69b18 Fixing warnings. 1999-08-30 21:59:42 +00:00
rickg%netscape.com 011055adde improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
waterson%netscape.com 27a6046e3c Clean up comments; no more delete[]. 1999-08-29 19:38:41 +00:00
dp%netscape.com 94a045c629 bug#11902 Changes for page manager for openVMS. Thanks to Colin Blake <colin@theblakes.com> 1999-08-25 05:41:53 +00:00
brendan%mozilla.org defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
rickg%netscape.com 8fdde14e77 removed warnings 1999-08-25 03:11:05 +00:00
warren%netscape.com 8e8c466e58 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +00:00
dougt%netscape.com f443b5579a Adding a comment to remind ourselves that at one time these were const. 1999-08-24 01:14:44 +00:00
waterson%netscape.com 3271a98e09 Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
scc%netscape.com 68340a37ef got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
gagan%netscape.com 69f233cf62 Added the helper macro CRTFREEIF. Works for both char* and PRUnichar*. Saves
typing code... and adds obfuscation too! Wow. Alright RJC stop reading this
and get back to work.
1999-08-23 08:27:42 +00:00
scc%netscape.com 7981dba18d Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
mccabe%netscape.com dd27718a80 Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro. 1999-08-22 09:18:49 +00:00
dougt%netscape.com 94b542f2c3 removing nsIAtom from export list. 1999-08-21 07:22:00 +00:00
dougt%netscape.com f04d99fc7d removing nsIAtom.h. It is now a generated header. 1999-08-21 07:14:10 +00:00
dougt%netscape.com 32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
dougt%netscape.com 8297def7db First cut of an IDL for nsIAtom. This preserves most of the origanal C++
interface quirks.
1999-08-21 06:38:59 +00:00
jband%netscape.com b43b345617 adding a comment referencing a bug number for why this was done the way it was 1999-08-20 22:45:30 +00:00
jband%netscape.com 63658a50be adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
tao%netscape.com 3364bf7a98 Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
tbogard%aol.net 57feff30c2 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree. 1999-08-19 05:36:30 +00:00
warren%netscape.com 9d3581e0df Reduced max page count. 1999-08-13 03:31:56 +00:00
cls%seawood.org ce48612218 More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
scc%netscape.com d8c88a29c9 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com d82a873519 Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dougt%netscape.com 980adec33f Fix for bug 10838. 1999-08-10 22:53:02 +00:00
jband%netscape.com c153f122e9 adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
morse%netscape.com 389af52bf1 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com fc03d7e008 adding missing 'return' - thanks to TenThumbs <tenthumbs@cybernex.net> for pointing this out. Also removing extra addrefs in ctor since the generic factory constructor macro used to create these things does this addref for us 1999-08-08 19:34:31 +00:00
jband%netscape.com 20f2eccf21 adding missing initializer for member 1999-08-08 03:37:03 +00:00
tao%netscape.com 5cce3b6948 Temporary set charset to utf-8 until the coverter for escape-unicode is
ready.
1999-08-06 20:24:02 +00:00
jband%netscape.com 7de4e04eed changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS 1999-08-06 09:42:12 +00:00
jband%netscape.com d7a6bea3c2 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com 589e60fed8 adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com 018b98b1b3 Adding nsHashtableEnumerator from Rob Ginda, rginda@ix.netcom.com. This is used to create an nsIEnumerator object from a hashtable. When some object has a hashtable as an implementation detail it can use this to expose the data in the table as an enumeration. This is used by the soon-to-be-checkedin systems for enumerating interface and class ids that will be reflected into JavaScript. 1999-08-04 02:24:34 +00:00
jfrancis%netscape.com 79d5c5f26d uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp 1999-08-03 12:42:19 +00:00
dp%netscape.com beb0260ed5 Adding RemoveAndDelete() to nsObjectHashtable 1999-08-02 23:55:03 +00:00
jfrancis%netscape.com 969c6446c4 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
dp%netscape.com 7e30331770 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
dp%netscape.com 4dbf387099 Getting nsHashtable and nsObjectHashtable Reset()s working together. 1999-07-31 05:50:13 +00:00
dp%netscape.com 3ee9b381f5 Adding nsHashtable::Reset(). Changing nsObjectHashtable destructor to use Reset instead of enumerate. This will cause hash entires to be removed from the hash table as values in the hash table are released. 1999-07-31 05:41:54 +00:00
warren%netscape.com 9b00e5191d Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
rickg%netscape.com 85c5846e13 fixed compaction error 1999-07-30 02:22:37 +00:00
harishd%netscape.com c6ccbf04df Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +00:00
warren%netscape.com 14ca7569f8 Fully initialized arena so that it won't fail in destructor without first calling Init. 1999-07-28 08:27:38 +00:00
warren%netscape.com d3f90ec755 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements. 1999-07-28 07:56:28 +00:00
mscott%netscape.com 0f8c192cc4 Fix unitialized memory read. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com> for making the purify log that I
found this in.
1999-07-27 02:22:26 +00:00
rickg%netscape.com d9e840013c odd 'n' ends 1999-07-25 17:21:34 +00:00
rickg%netscape.com b396c554b0 added optional arg validation to improve safety 1999-07-25 17:21:14 +00:00
rickg%netscape.com 0c9e33a09b narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
rickg%netscape.com 22d68c4060 removed old debug code 1999-07-25 17:18:41 +00:00
peterl%netscape.com 23918a8d61 nuked 1999-07-24 18:57:59 +00:00
peterl%netscape.com ce42a15283 removing nsBTree & nsRBTree, both replaced by nsAVLTree 1999-07-24 18:56:54 +00:00
tbogard%aol.net b9eb79032b Changed hashing to not hash every letter of strings that are greater than 16 characters in length. 1999-07-23 05:19:33 +00:00
scc%netscape.com 62bac87ecf the fix is to |#include <new.h>|. I tested on several versions of SunOS with different compilers, linux, and Mac. Uncommenting the problematic code. 1999-07-23 01:18:49 +00:00
rpotts%netscape.com 4b7899d242 Added code in the destructor to free any pages that had been allocated... 1999-07-22 21:17:57 +00:00
scc%netscape.com d698edddcf temporarily commenting out unused placement |new| till I can figure out how to make it compile on SunOS 1999-07-22 20:10:19 +00:00
scc%netscape.com 8d681a0998 use shared allocator 1999-07-22 18:23:02 +00:00
pavlov%netscape.com d7695c62cf reverting as per scc's request 1999-07-22 05:34:19 +00:00
scc%netscape.com 16e2ba6a23 explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
tbogard%aol.net 8fced9fa19 Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings. 1999-07-22 02:11:04 +00:00
scc%netscape.com 85e6e0f0b3 conditionalized missed member templates, |numeric_limits| use 1999-07-21 03:23:09 +00:00
scc%netscape.com 7733fe717d Added nsCppSharedAllocator.h 1999-07-21 01:06:33 +00:00
scc%netscape.com b1904fb9b6 Added nsCppSharedAllocator.h 1999-07-21 00:59:55 +00:00