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

574 Коммитов

Автор SHA1 Сообщение Дата
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