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

3809 Коммитов

Автор SHA1 Сообщение Дата
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
mkaply%us.ibm.com 505e88817e # 37239
r= dougt@netscape.com
OS/2 bring up continues - need another INCL_
2000-05-01 22:27:21 +00:00
mkaply%us.ibm.com fa49948d4f # 37239
r= dougt@netscape.com
Misspelling in printf
2000-05-01 22:26:26 +00:00
mkaply%us.ibm.com 5be272bc33 # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
2000-05-01 22:25:44 +00:00
mkaply%us.ibm.com d41c17e2f8 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - checking in files for the OS/2 team
2000-05-01 22:21:43 +00:00
jbetak%netscape.com 56614bb108 5313 Accept-Charset for form is not implemented, r=ftang, be 2000-05-01 05:47:12 +00:00
erik%netscape.com 2bab4b8598 fixing build bustage 2000-04-28 22:06:39 +00:00
erik%netscape.com f225b7c2ba fixing build bustage; temporary removal of nsStringTest.cpp 2000-04-28 22:04:57 +00:00
amasri%netscape.com d70ba8d8b0 *** empty log message *** 2000-04-28 21:05:28 +00:00
mccabe%netscape.com 3ad4f337ee Fix 13413 - Require that the targets of length_is attributes have unsigned long type. There were a number of violations of this in the tree, so it turns out this was a useful one. Also add checks for missing parameters, length_is parameters that point to themselves, etc.
Fix 8833 - Allow typedefs in const declarations.

Fix several warnings.

Remove a huge chunk of #if 0 code in in xpidl_typelib.c (that had accumulated subsequent changes!)
2000-04-28 11:14:29 +00:00
mccabe%netscape.com e9209489d7 change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
jband%netscape.com 9b9748680c not part of build 2000-04-28 05:42:57 +00:00
scc%netscape.com 39d15cf8cf fix for pink 2000-04-28 00:21:44 +00:00
pavlov%netscape.com 22bc369d79 fix tests 2000-04-27 23:20:32 +00:00
pinkerton%netscape.com 60bf5593d8 missing string conversion for comparing AutoString with Unichar* 2000-04-27 21:58:43 +00:00
scc%netscape.com bb871f886d making string conversions explicit; this checkin stops the back-sliding before we turn on NEW_STRING_APIS. 2000-04-27 20:37:54 +00:00
scc%netscape.com bf109dc6c9 making promises work 2000-04-27 20:01:28 +00:00
waterson%netscape.com 9486ea2455 Revert changes. They're causing problems elsewhere. 2000-04-27 07:01:58 +00:00
waterson%netscape.com 0fa40f9e41 Oops. Didn't realize nscore.h was included in 'C' compilation as well. Wrap namespace baloney with #ifdef __cplusplus__. r=scc 2000-04-27 06:50:38 +00:00
waterson%netscape.com 76a9f47a69 Get rid of extra operators that we can get for free by including <algorithm>. Gets rid of gcc-2.7.2.3 ambiguity problems with new string APIs, too. r=scc 2000-04-27 06:47:05 +00:00
waterson%netscape.com fa2c7aa35c Make the std::rel_ops namespace visible without qualification so that we can get operator!= from operator==, and operators >=, <=, and > from operator<. Needed for disambiguation with new string classes. r=scc 2000-04-27 06:37:06 +00:00
brendan%mozilla.org 67865c1d1d Debloat output by consolidating onmouseovers. 2000-04-27 05:41:59 +00:00
waterson%netscape.com 00eb3e5b8c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc 2000-04-27 04:44:56 +00:00
brendan%mozilla.org 36499eb772 Add TraceMalloc* native methods; allow multiple log files per site file. 2000-04-27 04:02:22 +00:00
dougt%netscape.com 6b120ecb69 Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.
2000-04-26 21:37:45 +00:00
erik%netscape.com a22256b169 changed names of interfaces (Language -> LanguageAtom) 2000-04-26 21:29:50 +00:00
ftang%netscape.com 38d547d5df check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
handle 0x5C properly by calling DBCSIsLeadByte function
2000-04-26 03:57:34 +00:00
mjudge%netscape.com 743ec446de strange corruptness 2000-04-26 01:58:34 +00:00
dougt%netscape.com 19c93e8881 Fixes problems in local file where getting a parent of a non-existant file did not work. Fixes a problem if you tried to create a folder and it parents did not exist. Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path. Fixing nsInstallFile to use nsIFile:: enums insteads of numbers. r=sgehani, a=leaf 2000-04-26 01:50:24 +00:00
mjudge%netscape.com 3c00091d57 scc string fixes 2000-04-26 00:55:37 +00:00
dougt%netscape.com 74229b4903 if components directory does not include any xpt files, we should not fail
autoregistration.  This caused the xpinstall stub installer to fail.
r=dveditz, a=leaf
2000-04-25 19:37:57 +00:00
dougt%netscape.com 51df3bc206 missed commenting out two assertions which will cause mac and OS2 users
lots of pain.  r=brade, a=leaf.
2000-04-25 18:16:16 +00:00
sspitzer%netscape.com 8b419ec4eb fix the threadsafe assertion. 2000-04-25 14:56:59 +00:00
pavlov%netscape.com a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
jband%netscape.com d6fdb2cbf4 make the component manager's AutoRegister call the interface info manager's AutoRegisterInterfaces 2000-04-25 05:11:30 +00:00
mjudge%netscape.com cc241215a4 fixing vc6.0 compiler bug. cant have static variable called "count" and compare it using "<". dont ask. 2000-04-25 05:09:49 +00:00
jband%netscape.com cb7218b7d7 Remove use of nsSpecialSystemDirectory. r=dougt 2000-04-25 05:01:05 +00:00
jband%netscape.com d4388bb67f fix to make the comment not lie 2000-04-25 04:52:30 +00:00
pinkerton%netscape.com 540fcd1ba1 adding a helper to create/init from an FSSpec. 2000-04-25 04:09:18 +00:00
ssu%netscape.com 987d8aad7a fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use. 2000-04-25 02:39:42 +00:00
dougt%netscape.com 4ebce97a3b checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
2000-04-25 01:48:02 +00:00
shaver%mozilla.org 8677f7e6c0 Linux/m68k xptcall port from <Michael_Fedrowitz@gmx.net> 2000-04-25 01:15:51 +00:00
shaver%mozilla.org 1e9b5eec44 add CurrentItemInPlaceUTF8 to reduce startup alloc by 2.3M(!), r=brendan 2000-04-25 01:11:08 +00:00
brendan%mozilla.org 440c791824 Count allocations too; dump nodes ranked by mean allocation size. 2000-04-24 23:52:27 +00:00
dougt%netscape.com fc2a69ba00 Adding xpcom.currentProcess 2000-04-24 22:54:04 +00:00
brade%netscape.com b46ef0737b fixing build bustage; submitted by Philip.Blundell@pobox.com (a=granrose) 2000-04-24 15:42:15 +00:00
dougt%netscape.com c0b55af16c Fix for bug 35751. Caching type and creator information for nsLocalFileMac. This is so that files can be created with a given type/creator tag after the initialization of the ifile.. r=warren and sfraser. 2000-04-24 03:24:49 +00:00
jband%netscape.com 5d23e29da9 checking in changes from Stefan Hanske <sh990154@mail.uni-greifswald.de> (who wrote the original version of the Linux ARM code) 2000-04-23 21:14:11 +00:00
cls%seawood.org 8754202470 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
cls%seawood.org 178e2f8d7a Removing unused dependency upon nsappShellCIDs.h. Bug #24515. r=shaver 2000-04-23 16:08:55 +00:00
shaver%mozilla.org 811f3fafa2 show pointed-to symbol onmouseover, for easier scanning (r=brendan) 2000-04-23 07:13:19 +00:00
pavlov%netscape.com 64baf8c0ac add typename to make linux compiler happy r=scc 2000-04-23 05:54:36 +00:00
brendan%mozilla.org 24509b8291 Add -f function-dump-filename option; try to keep its first table cell of reasonable width without depending on (broken in 4.x) css support. 2000-04-23 05:04:58 +00:00
scc%netscape.com 31b3913467 Added an additional permitting and denying signatures for |NS_ConvertASCIItoUCS2| 2000-04-23 01:03:28 +00:00
jband%netscape.com 9d875e83a6 a little safer 2000-04-22 19:21:18 +00:00
jband%netscape.com d215f9d186 cleanup manifest line scanner - was reading one char beyond the end of the array 2000-04-22 19:13:39 +00:00
brendan%mozilla.org 07a7b51820 Comment improvements. 2000-04-22 18:36:10 +00:00
tbogard%aol.net cd34e5b36e Moved the implementation of AssignWithConversion to the cpp file since Linux and Windows didn't like it inline in the h file. r=scc 2000-04-22 09:17:20 +00:00
scc%netscape.com 391f0960dd making string conversions explicit 2000-04-22 08:43:34 +00:00
scc%netscape.com ee30c7eb10 Added a signature previously covered by |Assign(const nsStr&)|, now |Assign( const nsString& )|. 2000-04-22 08:36:28 +00:00
jband%netscape.com 18fcb10e12 fix bug 36805 - was leaking xptiInterfaceGuts by unconditionally overwriting a union 2000-04-22 06:30:46 +00:00
jband%netscape.com 3b2b23e4af fix bug 36806 - leaking locks. Just plain sloppy! 2000-04-22 06:28:44 +00:00
jband%netscape.com 3cc2080a10 hey! someone changed the progid for the zip reader, updating my copy of the progid. xptiZipLoader.cpp 2000-04-22 04:11:33 +00:00
jband%netscape.com 5fdabe94b1 fix debug message 2000-04-22 01:07:39 +00:00
dbaron%fas.harvard.edu 0beedca95a Make XPCOM_MEM_LOG_OBJECTS work with alloc logging (before it worked only with refcount logging). r=waterson@netscape.com 2000-04-22 00:40:13 +00:00
erik%netscape.com efbbeaa968 grabbing a few IDs for nsILanguage and nsILanguageService; not part of
build
2000-04-21 22:42:42 +00:00
ftang%netscape.com 238c2b8d57 fix nsFileSpec unicode interface . 2000-04-21 21:44:23 +00:00
brendan%mozilla.org 3fda61301a Stop component-wise over-totalling madness when JS=>js=>JS=>js. 2000-04-21 21:38:18 +00:00
cls%seawood.org 53bfb0c4a5 BeOS uses the Unix local file implementation. 2000-04-21 21:04:35 +00:00
cls%seawood.org 8921a25a1b Removed extra & as suggested by Matthew Z. on m.beos. 2000-04-21 21:03:56 +00:00
brendan%mozilla.org 9c63bde8f6 Percent signs after numbers, please\! 2000-04-21 19:05:53 +00:00
brendan%mozilla.org 4bf456462f Optimize total computation, fix visited to be a counter. 2000-04-21 08:47:00 +00:00
jband%netscape.com ad9d41e522 trivial renaming of local var to fix compiler warning 2000-04-21 08:42:14 +00:00
pinkerton%netscape.com 46ce666141 Fix build bustage r=scc. 2000-04-21 07:34:06 +00:00
scc%netscape.com a10aa8dde5 making string conversions explicit 2000-04-21 07:09:51 +00:00
scc%netscape.com 85ee8b3604 there were a bunch of routines that returned references to this and were abused as much as they were used correctly. now they return |void| 2000-04-21 06:59:14 +00:00
warren%netscape.com e92a3a917a Fixed optimized build problem. 2000-04-21 05:32:59 +00:00
warren%netscape.com 5e96caa8ea Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.) 2000-04-21 05:12:57 +00:00
brendan%mozilla.org 159f478d0d Fix plib-instead-of-lib->total += type; use int32 for possibly negative values. 2000-04-21 03:01:09 +00:00
jband%netscape.com e844355ed0 fix bustage due to relative path include of removed (and otherwise unused) file 2000-04-21 01:33:13 +00:00
scc%netscape.com 15fe64c984 Fixed |nsPromiseSubstring::GetReadableFragment|, which had been walking off the end. Re-implemented |copy_string| in terms of the new char-source/char-sink stuff that beard and I came up with. Factored some code into |SameFragment|. Did some general shuffling and cleanup. 2000-04-21 01:25:19 +00:00
jband%netscape.com 5f71a3e760 fix bustage due to relative path include of removed (and otherwise unused) file 2000-04-21 01:22:16 +00:00
scc%netscape.com 44d068215d Added |nsCharSourceTraits| and |nsCharSinkTraits| to better facilitate copying from arbitrary char sources into arbitrary char consumers 2000-04-21 01:20:55 +00:00
scc%netscape.com 342581ae7f added |nsWritingIterator<T>::write| to satisfy the char-source/char-sink stuff beard and I put in. 2000-04-21 01:19:40 +00:00
jband%netscape.com a4ca5b3475 fix bustage due to relative path include of removed (and otherwise unused) file 2000-04-21 01:12:19 +00:00
rginda%netscape.com 761d7cb78f Adding nsIConsoleService.idl, nsIConsoleMessage.idl, nsIConsoleListener.idl. Previously, the .h and .xpt products of these files were still being built back in xpfe/components/console, which is bad. Checkin by McCabe, on rginda's mac. 2000-04-21 00:52:02 +00:00
jband%netscape.com d5ab77d656 removing unused files 2000-04-21 00:17:56 +00:00
dbragg%netscape.com 365e935ebf typo in Manifest file 2000-04-20 23:06:00 +00:00
ftang%netscape.com 39ef48a6bf add nsLocalFileCommon.cpp 2000-04-20 23:00:00 +00:00
dbragg%netscape.com 19a96b0ebe Oops, forgot nsFileSpec.h 2000-04-20 22:59:30 +00:00
ftang%netscape.com c1c131590f 1. small fix on nsLocalFileCommon.cpp to fix unix warrning
2. add unicode methods to nsIFile/nsILocalFile idl
3. add nsLocalFileCommon.cpp to the unix and window makefile
2000-04-20 22:53:29 +00:00
dbragg%netscape.com 28c8f393d4 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00
dveditz%netscape.com 3ad6a9bd64 resurrecting VC 5 build (and other pedantic compilers) 2000-04-20 18:52:06 +00:00
jband%netscape.com 2964aea322 landing typelib loading improvements. bug 30753 2000-04-20 08:52:05 +00:00
ftang%netscape.com bcc3796e45 first add for nsILocalFile unicode interface wrapper code
not part of the build system yet.
2000-04-20 05:44:03 +00:00
ftang%netscape.com aacdd70d44 fix 22116. Check in patch from m_kato@ga2.so-net.ne.jp
Perform IsDBCSLeadByte before 0x5c escaping
2000-04-20 05:08:02 +00:00
brendan%mozilla.org 7de0f8bd21 Add nsTraceMalloc.[ch] and bloatblame.c, not part of build (setenv NS_TRACE_MALLOC to enable here and in xpfe/bootstrap). 2000-04-20 04:55:26 +00:00
jband%netscape.com 1f72633906 update comment - mostly just to verify that I can checkin from my Mac without bad things happening. 2000-04-20 04:50:06 +00:00
dougt%netscape.com 93b356c61b fix for 36266. submitting by koehler@mythrium.com. 2000-04-20 01:08:53 +00:00
beard%netscape.com 3f1ed5ff9c Compatibility with Universal Headers 3.3 or later. a=leaf 2000-04-19 22:13:51 +00:00
jdunn%netscape.com ad2f705153 adding newline - hp bustage 2000-04-19 14:57:43 +00:00
davidm%netscape.com f11037bc6d 28412 metaDataLength is wrong in nsCachedNetData::Deserialize. Add routines to build stream from char* and length 2000-04-19 04:54:53 +00:00
sspitzer%netscape.com 96035dd22a add error module for the profile module. 2000-04-19 03:04:49 +00:00
scc%netscape.com 18ebe287b9 making string conversions explicit 2000-04-18 23:53:10 +00:00
jband%netscape.com a7f472e543 NOT PART OF BUILD. cvs is a fine place for the TODO list 2000-04-18 22:19:12 +00:00
jband%netscape.com b70921c2ba Fix sorting bug reported by Michael Kaply <mkaply@us.ibm.com>. There was a bad assumption that qsort would produce the exact same ordering on two arrays with elements of different size even when some string keys compare the same. The fix is to use the address of the string keys as a fallback in the compare function. This works right because the two arrays have diffrent elements, but they contain pointers to shared strings. r=mccabe 2000-04-18 21:57:57 +00:00
jband%netscape.com 4ecd17e424 add an assert for a whacky case that is not supposed to happen but biting me a while back when some other code was broken. This has been kicking around my tree for a while. 2000-04-18 21:44:38 +00:00
jband%netscape.com 89115d7adc NOT YET PART OF SEAMONKEY BUILD. added locking 2000-04-18 21:33:46 +00:00
dp%netscape.com 18abd080da Hooking up component unregister to regxpcom. 2000-04-18 06:20:35 +00:00
waterson%netscape.com f7ccb7c367 Alphabetize the bloat log output. 2000-04-18 06:00:24 +00:00
dp%netscape.com 143e2d8993 Implemented component unregistration. 2000-04-18 05:25:05 +00:00
rginda%netscape.com fa206dea9f Add new files nsConsoleService.cpp, nsConsoleMessage.cpp. 2000-04-18 02:55:39 +00:00
mccabe%netscape.com 3ecdc45953 added files: mozilla/xpcom/base/nsConsoleService.cpp, mozilla/xpcom/base/nsConsoleMessage.cpp 2000-04-18 02:36:18 +00:00
mccabe%netscape.com 369030f2b6 Move nsIConsoleService and implementation into xpcom/base, and nsIScriptError and implementation into js/src/xpconnect. (A place for JavaScript-specific XPCOM would be better, but xpconnect will do). 2000-04-18 02:34:54 +00:00
scc%netscape.com 1d1d1c6957 needed to make the implementation of |EqualsIgnoreCase(nsIAtom*, ...)| available. 2000-04-17 14:50:07 +00:00
scc%netscape.com 3b6352004b fixing build bustage 2000-04-17 12:22:37 +00:00
scc%netscape.com 8739a8e907 attempting to fix build bustage 2000-04-17 11:49:23 +00:00
scc%netscape.com c952973a48 Added private unimplemented signatures of |...WithConversion| to prevent accidents where I should have used the non-converting form. Removed |AppendWithConversion|s that stood in for |AppendInt| and |AppendFloat|. 2000-04-17 11:06:41 +00:00
scc%netscape.com 0c5356d1cc no, the |Equals(PRUnichar*, PRUnichar*, ...)| form is not what you think it is. It has to go. Make comparing with |nsIAtoms| remain avalailable even in |NEW_STRINGS_APIS| 2000-04-16 11:09:16 +00:00
andreas.otte%primus-online.de 8dd89cbb2d fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com 2000-04-16 07:33:25 +00:00
scc%netscape.com 8a57729d06 making string conversions explicit 2000-04-15 05:23:09 +00:00
pavlov%netscape.com 19af2ccf12 use C comments 2000-04-15 04:05:53 +00:00
scc%netscape.com ab3abd034b new ideas about string conversion 2000-04-15 00:05:17 +00:00
pavlov%netscape.com 4432eff8e8 hack to fix 35594 so that evaughan can land his box changes 2000-04-14 23:27:19 +00:00
scc%netscape.com 63a7e424bf Added signatures to prevent automatic incorrect promotion of |char| to |PRUnichar| 2000-04-14 23:20:31 +00:00
scc%netscape.com f0e3d7164f Added a new type, |incompatible_char_type| to help build signatures that prevent automatic incorrect promotion from |char| to |PRUnichar|. Kind of a hack, but the right way (specializing |nsAWritable| for |PRUnichar| can't be made to compile everywhere) 2000-04-14 23:19:14 +00:00
jband%netscape.com a5764bd971 NOT PART OF BUILD. Getting recent fixes to this stuff we aren't building yet safely into cvs 2000-04-14 23:06:39 +00:00
jband%netscape.com f373a4c39a NOT PART OF BUILD - removing this badly named and unused work around file 2000-04-14 23:01:11 +00:00
shaver%mozilla.org 90c6795d8f FreeBSD 3.4 and BSDI/4.1 tweaks from <joerg.brunsmann@FernUni-Hagen.de>
and <drehuis@plaything.org>, respectively.
2000-04-13 21:43:45 +00:00
warren%netscape.com ea1163636a Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE. 2000-04-13 09:20:58 +00:00
beard%netscape.com 7e9990507f XP_MAC improvements, stack walking, pc to name translation, early toolbox initialization so console will pop-up in correct location. 2000-04-13 03:51:43 +00:00
sspitzer%netscape.com 39f6943e30 fix spelling mistake. I'm so anal, it is scary. 2000-04-12 06:54:35 +00:00
cls%seawood.org fc6c8a2097 BeOS build fixes. Bug #34553 2000-04-12 06:20:59 +00:00
ruslan%netscape.com a6cd5c0692 Add a quick constructor for nsISupportsPRBool as well as make it implement
threadsafe isupports. Stream convs. use it.
2000-04-12 00:46:58 +00:00
ftang%netscape.com 2fffc26e52 fix 34886. add accidential deleted line back. 2000-04-11 22:47:18 +00:00
waqar%netscape.com d2db4ac8e0 nsIByteArrayInputStream.h files does not exist any more. r=pollmann,a=leaf 2000-04-10 22:48:27 +00:00
blizzard%redhat.com 7ae72b942a fix building on sparc linux. r=jband a=leaf 2000-04-10 19:43:31 +00:00
rich.burridge%sun.com a28b4a8d5c Adjusted the be instruction to now branch to .invoke and not invoke (was
a missing symbol at link time).
a=leaf r=rogerl
Bug id #15604
2000-04-07 17:45:03 +00:00
dbragg%netscape.com 47d2cd26d4 Oops. Was checking into a branch that was created in the io directory only.
Backing out.
2000-04-06 22:40:25 +00:00
dbragg%netscape.com 8332db624b checked in to XPInstall IFile branch 2000-04-06 22:33:05 +00:00
ruslan%netscape.com 903e0777dd Fix nsBinaryStream::ReadStringZ which used to add extra '\0' thus causing
tje string lenth to be off by 1 and all these nasty nsString warnings;
a=leaf,r=smfr
2000-04-06 21:28:09 +00:00
rich.burridge%sun.com 74fe1b2524 Fix to prevent tail-call optimisation. Fix also includes adjustment to
stack size, plus ASM niceities.
a=leaf r=rogerl
Bug id #15604
2000-04-06 18:28:06 +00:00
jim_nance%yahoo.com 5c44f0195a Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885
2000-04-05 22:37:01 +00:00
rickg%netscape.com 30e0f8aa94 update nsStringX classes; not part of build 2000-04-05 06:11:03 +00:00
cls%seawood.org adef1ac6f6 Minor changes to incoporate OS/2 into our build system. Bug #34106
We now set MOZ_{JPEG,ZLIB,PNG}_{CFLAGS,LIBS}, XPCOM_LIBS, MOZ_COMPONENT*_LIBS, WIDGET_DLL, GFXWIN_DLL and MOZ_JS_LIBS in configure.
Added os2 specific arguments to configure.
Added os2 target arch section to configure.
Modified a handful of Makefile.ins to use MOZ_JS_LIBS, MOZ_COMPONENT_LIBS, & EXTRA_DSO_LIBS where necessary.
2000-04-05 06:08:04 +00:00
rickg%netscape.com 8394e82e58 improvements to string testbed to test perf 2000-04-05 06:04:12 +00:00
cls%seawood.org 4a53bf302d Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> . 2000-04-05 02:12:26 +00:00
waterson%netscape.com 10cdd2de87 Making string conversions explicit. 2000-04-04 09:35:51 +00:00
waterson%netscape.com 09d2262556 Ok, the |typename| stuff wasn't really necessary, and caused problems on VC++. r=scc 2000-04-04 09:21:57 +00:00
waterson%netscape.com 2831f7bd1b Add |operator!=()| implementation, conditioned on HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL. r=scc 2000-04-04 06:42:59 +00:00
waterson%netscape.com ffd3579926 Both VC++ and MetroWerks HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL. r=scc 2000-04-04 06:38:12 +00:00
waterson%netscape.com 9d03c4287b Explicit conversion required for NEW_STRING_APIS. r=scc 2000-04-04 06:03:20 +00:00
waterson%netscape.com 5ef034810c Hackery to get NEW_STRING_APIS compiling on gcc-2.7.2.3. r=scc 2000-04-04 06:00:01 +00:00
waterson%netscape.com fbfadbfae0 Start trying to compile on Unix with new changes. r=scc 2000-04-04 05:45:57 +00:00
scc%netscape.com c7f2aa9d6f Added tests for construction and |Find|. Added null loop timings to help better analyze results. Temporarily commented out block-stomping tests. 2000-04-04 05:20:05 +00:00
cls%seawood.org f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
bruce%cybersight.com 1d051086ef Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc 2000-04-04 04:16:07 +00:00
scc%netscape.com 8e418b816c make appending a single character faster for rickg 2000-04-04 03:06:15 +00:00
Jerry.Kirk%Nexwarecorp.com 2d7bf2a545 Small change to build for Neutrino because uname changed
during the last patch.
r=kirkj
2000-04-04 01:15:29 +00:00
mkaply%us.ibm.com 7e138ea359 # 33860
r= mkaply@us.ibm.com
OS/2 bringup
2000-04-04 00:07:04 +00:00