Commit Graph

3569 Commits

Author SHA1 Message Date
waterson%netscape.com
1aa0f80c90 Also wrap in #ifdef __cplusplus
git-svn-id: svn://10.0.0.236/trunk@69604 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:17:47 +00:00
waterson%netscape.com
fa1241b5bc Remove #ifdef that's no longer necessary now that STL headers aren't included.
git-svn-id: svn://10.0.0.236/trunk@69603 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:14:19 +00:00
waterson%netscape.com
04f4eede47 Wrap C++ in |extern C++| block to fix build. r=scc
git-svn-id: svn://10.0.0.236/trunk@69602 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:11:54 +00:00
waterson%netscape.com
81c5f2460c Remove #ifdef that is unnecessary when STL headers are not included.
git-svn-id: svn://10.0.0.236/trunk@69599 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:05:24 +00:00
scc%netscape.com
fa91dce42e 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.
git-svn-id: svn://10.0.0.236/trunk@69597 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:59:49 +00:00
dp%netscape.com
135af3793e Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69596 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:35:55 +00:00
dp%netscape.com
c754b24f87 Removed NS_NewSample(). Using NS_IMPL_ISUPPORTS1.
git-svn-id: svn://10.0.0.236/trunk@69595 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:11:43 +00:00
scc%netscape.com
f5ccd18c8c fixed macro-based comparison operators to help with our type-unification problems
git-svn-id: svn://10.0.0.236/trunk@69586 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:39:37 +00:00
scc%netscape.com
3f80c66aba Added |NS_READABLE_CAST| to clarify what we're doing in places where we face the type-unification error on lame compilers.
git-svn-id: svn://10.0.0.236/trunk@69575 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:29:18 +00:00
scc%netscape.com
729eef98f9 getting ready to turn this stuff on, changes related to that: empty strings specified with null pointer, a couple of other fixes.
git-svn-id: svn://10.0.0.236/trunk@69573 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:17:35 +00:00
waterson%netscape.com
401931a3af Resolve gcc-2.7.2.3 type unification ambiguity for nsAReadableString's Compare() method. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@69519 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 02:11:26 +00:00
waterson%netscape.com
e50b89bdf5 Fix build bustage. Added nscore.h, which declares NS_STATIC_CAST et. al.
git-svn-id: svn://10.0.0.236/trunk@69518 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 02:05:50 +00:00
waterson%netscape.com
3c024cf900 Deal with type unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@69493 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:23:04 +00:00
waterson%netscape.com
85544a1fd1 Deal with type-unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@69491 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:19:21 +00:00
waterson%netscape.com
8f9c2e72ae Add necessary code to get NEW_STRING_APIS to compile properly on gcc-2.7.2.3. r=scc
git-svn-id: svn://10.0.0.236/trunk@69488 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:05:29 +00:00
gordon%netscape.com
4718465f15 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.
git-svn-id: svn://10.0.0.236/trunk@69478 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:39:34 +00:00
scc%netscape.com
be376b8fd8 fix bug #36316
git-svn-id: svn://10.0.0.236/trunk@69472 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:09:28 +00:00
scc%netscape.com
9e801c011c fix bug #36311
git-svn-id: svn://10.0.0.236/trunk@69471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:05:11 +00:00
dougt%netscape.com
c2affef249 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".


git-svn-id: svn://10.0.0.236/trunk@69463 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:11:45 +00:00
mkaply%us.ibm.com
770280a67b # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes


git-svn-id: svn://10.0.0.236/trunk@69426 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:26:34 +00:00
scc%netscape.com
da0d0ad924 Added "nsStringIO.h" to exports. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69400 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:46:13 +00:00
scc%netscape.com
e745f6a946 Fixed the block stomping bug by ensuring the correct |operator=()| was always available.
git-svn-id: svn://10.0.0.236/trunk@69378 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:25:26 +00:00
scc%netscape.com
3495a25e7e changed some comments
git-svn-id: svn://10.0.0.236/trunk@69377 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:20:21 +00:00
scc%netscape.com
57a3d8f94a added tests for the new IO stuff, etc.
git-svn-id: svn://10.0.0.236/trunk@69376 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:19:46 +00:00
scc%netscape.com
a0d84f0c6c Uncommented tests that should work now that I've fixed the block stomping bug.
git-svn-id: svn://10.0.0.236/trunk@69375 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:18:36 +00:00
scc%netscape.com
0736ff46a2 Changed some comments
git-svn-id: svn://10.0.0.236/trunk@69374 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:17:51 +00:00
scc%netscape.com
f536c121d4 Filled out the smart pointer implementation. Changed some comments.
git-svn-id: svn://10.0.0.236/trunk@69373 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:17:39 +00:00
scc%netscape.com
9606d2e818 Added an assertion in |copy_string|. Changed some comments.
git-svn-id: svn://10.0.0.236/trunk@69371 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:16:00 +00:00
scc%netscape.com
20b669baf3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@69326 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:16:35 +00:00
rayw%netscape.com
90d0498159 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


git-svn-id: svn://10.0.0.236/trunk@69307 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:24:36 +00:00
dougt%netscape.com
600b867627 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.


git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
dougt%netscape.com
6065732034 adding dirs.js. example of how you can get different locations via the
nsDirectoryService via JS.

not part of build.


git-svn-id: svn://10.0.0.236/trunk@69250 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:58:47 +00:00
cls%seawood.org
1b2a1c66e6 More OS/2 Makefile changes. Bug #34106 Batch 13
git-svn-id: svn://10.0.0.236/trunk@69212 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:15:34 +00:00
pavlov%netscape.com
0db5c92501 fix for unix filepicker not coming up correctly (bug #38810)
git-svn-id: svn://10.0.0.236/trunk@69096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:41:33 +00:00
nhotta%netscape.com
7ff483a96d 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.


git-svn-id: svn://10.0.0.236/trunk@69071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:22 +00:00
dougt%netscape.com
18a3907030 InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.


git-svn-id: svn://10.0.0.236/trunk@68932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:53:03 +00:00
dougt%netscape.com
0c73c63a0b Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:38:20 +00:00
dougt%netscape.com
6ec01981a7 Missed six chars. fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:28:55 +00:00
dougt%netscape.com
6036715cd7 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:14 +00:00
jdunn%netscape.com
95c3f2dea2 Fixing HPUX code - HP specific file
r= jgracer@ems.att.com
# 17997


git-svn-id: svn://10.0.0.236/trunk@68713 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:22:21 +00:00
ruslan%netscape.com
6a07f89768 Make nsAtomService implement threadsafe isupports
git-svn-id: svn://10.0.0.236/trunk@68696 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:28:21 +00:00
jbetak%netscape.com
a1e8a4dd7a 37408
String bundle doesn't offer a scriptable enumerator
r=be (incrementally deprecating outdated non-scriptable interface)


git-svn-id: svn://10.0.0.236/trunk@68601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:12:38 +00:00
dp%netscape.com
c77b6c26de added contributors.
git-svn-id: svn://10.0.0.236/trunk@68377 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:44:50 +00:00
dp%netscape.com
e38e8c2fcf Initial version
git-svn-id: svn://10.0.0.236/trunk@68373 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:24:30 +00:00
dp%netscape.com
441a596498 Adding in class headers.
git-svn-id: svn://10.0.0.236/trunk@68369 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:53:09 +00:00
dp%netscape.com
26c0b8c1b8 Including class headers.
git-svn-id: svn://10.0.0.236/trunk@68368 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:49:13 +00:00
dp%netscape.com
5029b61046 - 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


git-svn-id: svn://10.0.0.236/trunk@68367 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:37:39 +00:00
dp%netscape.com
40f02b827c Passing registry location correctly to nsIModule::UnregisterSelf()
git-svn-id: svn://10.0.0.236/trunk@68366 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:34:39 +00:00
dp%netscape.com
21d3193b87 Heavy documentation.
git-svn-id: svn://10.0.0.236/trunk@68365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:33:05 +00:00
dp%netscape.com
599482c871 Adding progid for component manager.
git-svn-id: svn://10.0.0.236/trunk@68358 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:01:41 +00:00