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

3668 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu 475f83d8ee Count some classes for the leak stats. r=warren@netscape.com 2000-05-15 13:10:18 +00:00
scc%netscape.com 7e3373bbbf patch from Joerg Brunsmann to fix bug #39268. r=scc 2000-05-15 12:57:21 +00:00
scc%netscape.com f7b3e7de41 circular include logic defeated me ... protect the new operator definitions locally 2000-05-15 08:07:25 +00:00
scc%netscape.com b141c8fd07 oops 2000-05-15 07:37:18 +00:00
scc%netscape.com 626f886483 adding macros and uses to support Solaris' inability to pick operator+ 2000-05-15 07:28:00 +00:00
dp%netscape.com 650631432f Updated build instructions 2000-05-15 07:21:12 +00:00
brendan%mozilla.org 44ffcfa883 Enforce interCaps Mozilla XPIDL style (r=shaver). 2000-05-15 07:03:46 +00:00
brendan%mozilla.org 168c70825d Comment grammar and style fixes. 2000-05-15 06:41:00 +00:00
brendan%mozilla.org cceee2aa69 Space cleanup. 2000-05-15 06:21:49 +00:00
scc%netscape.com b9cc20ed14 added macro code to help define more comparison operators. Got rid of |typename|. We can live with the warnings, maybe; but windows can't digest it in this context. 2000-05-15 05:14:40 +00:00
scc%netscape.com a274af8eb7 changes to fix some errors constructing autostrings from null pointers that led to crashes 2000-05-15 03:10:19 +00:00
waterson%netscape.com 58fe0403d8 With NEW_STRING_APIS, turn on definition of string comparison operators to avoid accidental pointer comparisons. r=scc 2000-05-15 01:27:04 +00:00
scc%netscape.com dc0afa9707 ...oops, have to comment out the body too. Sorry. 2000-05-15 00:16:30 +00:00
scc%netscape.com 1280fd6d46 commented out an |NS_WARNING| that will overwhelm you, I'll turn it into an assertion for me only, later. Also got rid of |Equals(*, int)| temporarily, as with |Compare| to catch clients who should be using |EqualsWithConversion| 2000-05-15 00:13:57 +00:00
scc%netscape.com 6965740bc5 disable a not helpful warning for VC++ 2000-05-14 23:33:05 +00:00
alecf%netscape.com b9d28478e4 repair the NS_IMPL_QUERY_INTERFACE_INHERITED3 macro 2000-05-14 23:09:21 +00:00
dp%netscape.com aca59908a3 Including nsTestSample.cpp. 2000-05-14 22:56:53 +00:00
dp%netscape.com 3a7992a5f0 Sample XPCOM Application 2000-05-14 22:49:36 +00:00
dp%netscape.com faaf62dfd6 Standalone xpcom. 2000-05-14 22:46:24 +00:00
scc%netscape.com 3e0a608172 comment out |Compare| with a length to help find callers of the old compare function that need to become to |CompareWithConversion|. 2000-05-14 22:32:30 +00:00
dp%netscape.com ab76ca26bb Initial version 2000-05-14 18:22:11 +00:00
michael.lowe%bigfoot.com ea7c30bd13 Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu 2000-05-14 09:18:43 +00:00
waterson%netscape.com e9d590dbb4 Also wrap in #ifdef __cplusplus 2000-05-14 00:17:47 +00:00
waterson%netscape.com c9c47efc3c Remove #ifdef that's no longer necessary now that STL headers aren't included. 2000-05-14 00:14:19 +00:00
waterson%netscape.com d272d6d54b Wrap C++ in |extern C++| block to fix build. r=scc 2000-05-14 00:11:54 +00:00
waterson%netscape.com 8e51bfbbef Remove #ifdef that is unnecessary when STL headers are not included. 2000-05-14 00:05:24 +00:00
scc%netscape.com 5bd4efd8d4 waterson and I are giving up on the current build being allowed to even include files related to STL, mostly (but not only) because of Solaris ... by the time someone want to _use_ STL, maybe the compilers will be better, and this fix won't effect them. 2000-05-13 23:59:49 +00:00
dp%netscape.com d7f5ecc681 Standalone xpcom. 2000-05-13 23:35:55 +00:00
dp%netscape.com 11476feb1a Removed NS_NewSample(). Using NS_IMPL_ISUPPORTS1. 2000-05-13 23:11:43 +00:00
scc%netscape.com 37ec015a19 fixed macro-based comparison operators to help with our type-unification problems 2000-05-13 21:39:37 +00:00
scc%netscape.com 018741229b Added |NS_READABLE_CAST| to clarify what we're doing in places where we face the type-unification error on lame compilers. 2000-05-13 20:29:18 +00:00
scc%netscape.com e55217832f getting ready to turn this stuff on, changes related to that: empty strings specified with null pointer, a couple of other fixes. 2000-05-13 20:17:35 +00:00
waterson%netscape.com cd9a82f6e1 Resolve gcc-2.7.2.3 type unification ambiguity for nsAReadableString's Compare() method. NOT PART OF THE BUILD. 2000-05-13 02:11:26 +00:00
waterson%netscape.com abb7aa4bf8 Fix build bustage. Added nscore.h, which declares NS_STATIC_CAST et. al. 2000-05-13 02:05:50 +00:00
waterson%netscape.com 7c5e4bf508 Deal with type unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc 2000-05-13 00:23:04 +00:00
waterson%netscape.com a926ea50f1 Deal with type-unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc 2000-05-13 00:19:21 +00:00
waterson%netscape.com 2ecdf03c7c Add necessary code to get NEW_STRING_APIS to compile properly on gcc-2.7.2.3. r=scc 2000-05-13 00:05:29 +00:00
gordon%netscape.com 26fd2a9c50 Let go of monitor a bit earlier in ReleaseService() so that services which are shuttingdown may aquire their own monitors without potential deadlocks. Also changed allocation/deallocation of ServiceManager's monitor to use nsAutoMonitor methods, as per brendan's suggestion. 2000-05-12 23:39:34 +00:00
scc%netscape.com cf127bfa10 fix bug #36316 2000-05-12 23:09:28 +00:00
scc%netscape.com 4b1f539a77 fix bug #36311 2000-05-12 23:05:11 +00:00
dougt%netscape.com e28f98f20b Patch from snizinsk@us.ibm.com
from email:
What is in the tree from 5/2 was not correct (the
PR_CALLBACKs that were checked in 5/2 were incorrect for our build. They
should be on the prototypes which are declared "static PRIntn" not on
"NS_IMETHOD".
2000-05-12 22:11:45 +00:00
mkaply%us.ibm.com b21a2a4d57 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes
2000-05-12 19:26:34 +00:00
scc%netscape.com 89bc179ffd Added "nsStringIO.h" to exports. r=hyatt 2000-05-12 07:46:13 +00:00
scc%netscape.com 80b170c264 Fixed the block stomping bug by ensuring the correct |operator=()| was always available. 2000-05-12 05:25:26 +00:00
scc%netscape.com e3490a6024 changed some comments 2000-05-12 05:20:21 +00:00
scc%netscape.com 0d642cf442 added tests for the new IO stuff, etc. 2000-05-12 05:19:46 +00:00
scc%netscape.com bc2e03c19d Uncommented tests that should work now that I've fixed the block stomping bug. 2000-05-12 05:18:36 +00:00
scc%netscape.com d3d0b85749 Changed some comments 2000-05-12 05:17:51 +00:00
scc%netscape.com c977f73add Filled out the smart pointer implementation. Changed some comments. 2000-05-12 05:17:39 +00:00
scc%netscape.com cfa6bc6d60 Added an assertion in |copy_string|. Changed some comments. 2000-05-12 05:16:00 +00:00
scc%netscape.com c6175b2ee3 First Checked In. 2000-05-12 03:16:35 +00:00
rayw%netscape.com d0199a10bc Per bug 3690:
Added new functions to the registry for reading / writing byte arrays
of binary content and escaping registry keys that contain binary
content.  Modified code which reads/writes location of dll or javascript
for components to use new ReadBytesUTF8/WriteBytesUTF8 and which uses
or reads the keys to use EscapeKey and UnescapeKey.

r=dveditz
2000-05-12 01:24:36 +00:00
dougt%netscape.com 4e5362dc52 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
dougt%netscape.com 5b16d0583a adding dirs.js. example of how you can get different locations via the
nsDirectoryService via JS.

not part of build.
2000-05-11 20:58:47 +00:00
cls%seawood.org 5be082e304 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
pavlov%netscape.com afefbe5a7d fix for unix filepicker not coming up correctly (bug #38810) 2000-05-10 23:41:33 +00:00
nhotta%netscape.com 728c6d8def Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
check in for m_kato@ga2.so-net.ne.jp, r=ftang, bug 29546.
2000-05-10 22:24:22 +00:00
dougt%netscape.com 8104407afa InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.
2000-05-09 23:53:03 +00:00
dougt%netscape.com ada597dc3f Fixing bustage 2000-05-09 19:38:20 +00:00
dougt%netscape.com afaefc04b1 Missed six chars. fixing bustage 2000-05-09 19:28:55 +00:00
dougt%netscape.com a942da7d9f Fixes bug 38553. Using usecs now. r=sgehani@netscape.com 2000-05-09 19:11:14 +00:00
jdunn%netscape.com 9fca281d4b Fixing HPUX code - HP specific file
r= jgracer@ems.att.com
# 17997
2000-05-08 21:22:21 +00:00
ruslan%netscape.com 3b9581d368 Make nsAtomService implement threadsafe isupports 2000-05-08 20:28:21 +00:00
jbetak%netscape.com 7048dc7bf9 37408
String bundle doesn't offer a scriptable enumerator
r=be (incrementally deprecating outdated non-scriptable interface)
2000-05-07 21:12:38 +00:00
dp%netscape.com f7eb166ecf added contributors. 2000-05-05 07:44:50 +00:00
dp%netscape.com fa7f769bbe Initial version 2000-05-05 07:24:30 +00:00
dp%netscape.com f252153c3b Adding in class headers. 2000-05-05 06:53:09 +00:00
dp%netscape.com 9e5bcc6e67 Including class headers. 2000-05-05 06:49:13 +00:00
dp%netscape.com 481db03263 - Using nsILocalFile::AppendRelativePath() to get components that live
under subdirs of component directory to work
- Fixing UnregisterComponent() to take a registryLocation as opposed
to a misinterpretted fullpathname
2000-05-05 06:37:39 +00:00
dp%netscape.com 99c45e2779 Passing registry location correctly to nsIModule::UnregisterSelf() 2000-05-05 06:34:39 +00:00
dp%netscape.com f6783ede03 Heavy documentation. 2000-05-05 06:33:05 +00:00
dp%netscape.com 996296e9e0 Adding progid for component manager. 2000-05-05 06:01:41 +00:00
dp%netscape.com 41cacf309f Converting to generic module. 2000-05-05 05:59:42 +00:00
dp%netscape.com e70cfc3491 Removed unneccessary casts. 2000-05-05 05:54:15 +00:00
dp%netscape.com 462db59ab4 Converting to generic module. 2000-05-05 05:53:21 +00:00
dp%netscape.com 222d9164f6 Added progid. 2000-05-05 05:52:26 +00:00
dp%netscape.com 51248669a0 Removed unneccessary include of nsIModule.h 2000-05-05 05:51:43 +00:00
dp%netscape.com 7290a04bc1 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
dveditz%netscape.com 7d59f7b2e6 adding convenience macro to create always-proxied services necessary when creating the proxy on the same thread for use on a new thread 2000-05-05 03:47:00 +00:00
dp%netscape.com 31295844e6 Removing nsConstructorPattern.cpp 2000-05-05 00:18:33 +00:00
rayw%netscape.com 1520de99ee Bug #37058
Added a simple test to CreateInstance, similar to the existing test in
GetService in the service manager, to prevent instances from being created
during shutdown.  We detected no calls to CreateInstance in normal code we
tested during shutdown.  If such occur, the fix is NOT to back out the
check, but rather to eliminate the calls to CreateInstance either by
registering a shutdown observer which gets called just before the
shutdown, or creating the instance before shutdown.

r=scc
2000-05-04 23:11:30 +00:00
rayw%netscape.com 2e5bb3a573 Bug 38219
Commented two references to nsSystemInfo so that .idl and .cpp files should
not be compiled.  This makes the windows platform the same as the other
platforms which are missing these parts.

r=scs
2000-05-04 23:07:19 +00:00
cls%seawood.org 4bb89416eb More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +00:00
ftang%netscape.com 1968a91722 fix IsAscii function. The origional one report Latin1 characters as ASCII 2000-05-03 07:05:19 +00:00
ftang%netscape.com 5dcee0f2a2 add IsAscii function. 2000-05-03 07:04:25 +00:00
brendan%mozilla.org e6fe589729 Fix site logfile flushing on startup; #if 0 doomed libbfd-based version of dladdr. 2000-05-03 03:07:20 +00:00
jfrancis%netscape.com ae2653b53e nsIHTMLEditRules IID 2000-05-03 02:39:58 +00:00
mkaply%us.ibm.com 5f6b841821 # 34082
r= mkaply
OS/2 bring up continues - fix for wrong this pointer
2000-05-02 23:17:36 +00:00
mkaply%us.ibm.com 5356172a1c # 34082
r= dougt
OS/2 bring up continues - support for OS/2 nsLocalFile
2000-05-02 23:14:31 +00:00
mkaply%us.ibm.com 152f6f29e4 # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
jbetak%netscape.com 9ed5861e81 fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be
2000-05-02 07:15:52 +00:00
sspitzer%netscape.com 1f79e8c165 fix build bustage. 2000-05-02 06:50:24 +00:00
sspitzer%netscape.com cf2261738d added files: mozilla/xpcom/ds/nsIPersistentProperties2.idl 2000-05-02 06:30:38 +00:00
jbetak%netscape.com 760b0b4322 fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be
2000-05-02 06:27:05 +00:00
sspitzer%netscape.com 3962ec8d73 fix build bustage. 2000-05-02 05:56:27 +00:00
jbetak%netscape.com cae4b1c886 37408
String bundle doesn't offer a scriptable enumerator
r=be
2000-05-02 05:52:50 +00:00
jbetak%netscape.com c0fdb39f76 37408
String bundle doesn't offer a scriptable enumerator
r=be
2000-05-02 05:08:39 +00:00
cls%seawood.org 04417332fe OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106 2000-05-02 01:18:46 +00:00
sgehani%netscape.com f257c6c709 Fix Autoregistration bustage in the context of apps using XPCOM outside Mozilla (e.g. the installer stubs). 2000-05-02 00:54:11 +00:00
mkaply%us.ibm.com eefa518bbc # 37239
r= dougt@netscape.com
OS/2 bring up continues - need an include for EMX only
2000-05-01 22:27:59 +00:00