4863 Commits

Author SHA1 Message Date
dbradley%netscape.com
0d4551b113 Bug 90366: XPIDL-Generated code produces preprocessor warnings, removed use of ##. sr=scc, r=jband,jst
git-svn-id: svn://10.0.0.236/trunk@101208 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 13:40:51 +00:00
waterson%netscape.com
690766cf8a Bug 95296. Use nsCRT::HashCode() instead of bad lossy slow hash routine. sr=brendan
git-svn-id: svn://10.0.0.236/trunk@101178 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:24:45 +00:00
cls%seawood.org
59164dedf8 Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
Bug #20860 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@101069 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 03:30:39 +00:00
cls%seawood.org
e8d28b7625 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100998 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:18:27 +00:00
cls%seawood.org
57e209b492 Adding NS_PTR_TO_INT32 & NS_INT32_TO_PTR macros to do safe pointer casting on 64-bit platforms.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100996 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:14:47 +00:00
dbradley%netscape.com
8b7575b8e4 Bug 84498: xpidl_process_idl may return uninitialized value. r=beard, sr=scc
git-svn-id: svn://10.0.0.236/trunk@100752 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 13:52:21 +00:00
dbradley%netscape.com
9ead5ca8f9 Bug 82284: Change puts a clearer error message on zero length files. r=dbradley, r=beard, sr=scc, patch by jband
git-svn-id: svn://10.0.0.236/trunk@100751 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 13:47:45 +00:00
dbradley%netscape.com
ff5540983c Fix for bug 42608: portability fixes for dec, problems with assert macros r=dbradley, sr=jst, patch by jband
git-svn-id: svn://10.0.0.236/trunk@100701 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:06:14 +00:00
ccarlen%netscape.com
2d08dc3571 Bug 90686 - Can't migrate profiles under MacOS X. Make Mac_PreferencesDirectory return the prefs dir of the classic environment under OS X so we can find 4.x profile info. r=sdagley/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@100659 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 13:12:10 +00:00
jaggernaut%netscape.com
ef4c7debee Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc
git-svn-id: svn://10.0.0.236/trunk@100656 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 09:27:47 +00:00
waterson%netscape.com
2550211610 Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@100614 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 01:11:18 +00:00
waterson%netscape.com
99aad0e796 Fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@100481 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 06:27:42 +00:00
waterson%netscape.com
e9a000ec6e Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@100480 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 06:23:40 +00:00
brendan%mozilla.org
50f90d9eeb Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst).
git-svn-id: svn://10.0.0.236/trunk@100464 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 03:59:29 +00:00
waterson%netscape.com
6de9a41f13 Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@100459 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 02:55:54 +00:00
dbradley%netscape.com
db8652bb97 Fix for bug 24965. This makes multiple attributes in same declaration an error in XPIDL. sr=scc, r=rginda
git-svn-id: svn://10.0.0.236/trunk@100421 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 20:42:53 +00:00
vidur%netscape.com
4153742b9d Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst
git-svn-id: svn://10.0.0.236/trunk@100386 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 07:05:22 +00:00
pinkerton%netscape.com
81222970fe Working around dynamic linker restrictions on hp/macosx. r=dbaron/sr=brendan.
bug# 93479


git-svn-id: svn://10.0.0.236/trunk@100318 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 20:54:25 +00:00
pete%alphanumerica.com
e1022dec4d Fix for nsLocalFile::CopyTo not fully implemented on Unix.
r=ccarlen, sr=brendan, b=53474

--pete


git-svn-id: svn://10.0.0.236/trunk@100260 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 03:42:04 +00:00
pete%alphanumerica.com
f6519c6a83 Fix for broken AppendRelativePath on unix. r=jag, sr=brendan b=55406.
Note, this method will be going away soon.

--pete


git-svn-id: svn://10.0.0.236/trunk@100259 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 03:26:26 +00:00
waterson%netscape.com
d998697a2d First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100222 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:26:25 +00:00
dbaron%fas.harvard.edu
ad8f9ce610 Add test for gcc 2.7.x on Linux, which requires CFRONT_STYLE_THIS_ADJUST. r=waterson sr=shaver b=88397
git-svn-id: svn://10.0.0.236/trunk@100175 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 02:02:06 +00:00
brendan%mozilla.org
ed46801e4d Fix ownership initializer merge botch (93079, dbaron's patch, sr=shaver, r=me).
git-svn-id: svn://10.0.0.236/trunk@100116 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 22:34:42 +00:00
brendan%mozilla.org
058239b7ab Try to placate the HP-UX compiler by keeping gFastLoadService_'s decl before any uses in a template class.
git-svn-id: svn://10.0.0.236/trunk@100051 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 23:23:38 +00:00
brendan%mozilla.org
15e18e8ee5 Danm's fix for Mac CodeWarrior C++ glitch, and a cosmetic sneak-fix.
git-svn-id: svn://10.0.0.236/trunk@100048 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 22:22:36 +00:00
dbaron%fas.harvard.edu
2dc230f590 Fixing HP bustage. For the record, the error message was: Undeclared variable 'mRawPtr'. A variable with the same name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++ Standard). You can make it visible by writing 'this->mRawPtr'.
git-svn-id: svn://10.0.0.236/trunk@100044 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 21:23:58 +00:00
dbaron%fas.harvard.edu
4f55feccbe Adding nsIFastLoadFileControl.idl to project. Change emailed from Zach, to fix fastload branch landing bustage.
git-svn-id: svn://10.0.0.236/trunk@100041 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 20:57:47 +00:00
dbaron%fas.harvard.edu
2286bbed17 Fix OS/2 and BeOS bustage from fastload landing.
git-svn-id: svn://10.0.0.236/trunk@100038 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 20:34:37 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
mkaply%us.ibm.com
92ccbbae8c #88290
r=mkaply, a=blizzard
Code from Javier Pedemonte and Jeff Jones - rewrite of xptcinvoke to  be more efficient


git-svn-id: svn://10.0.0.236/trunk@99878 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:07:05 +00:00
mkaply%us.ibm.com
c0acf34f18 OS/2 only - EMX break - this code should be VACPP only
git-svn-id: svn://10.0.0.236/trunk@99877 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 03:53:41 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
cathleen%netscape.com
b1cb9925ca fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build


git-svn-id: svn://10.0.0.236/trunk@99603 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 22:43:14 +00:00
mstoltz%netscape.com
f0864e4a2d Whoops, accidentally checked something that shouldn't be. Uncommenting-out
the break call in Assertion() (backing out earlier checkin)


git-svn-id: svn://10.0.0.236/trunk@99523 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 21:46:18 +00:00
kandrot%netscape.com
fc7d692485 bug #82133, r=jag, sr=scc. Fix for bad typecasting of a nsISupportsArray to a nsAupportsArray.
git-svn-id: svn://10.0.0.236/trunk@99473 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 05:50:04 +00:00
kandrot%netscape.com
d09ce05d46 Backing out this files last set of changes.
git-svn-id: svn://10.0.0.236/trunk@99457 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 00:29:20 +00:00
kandrot%netscape.com
819fb59137 bug #82133, r=jag, sr=scc. Fix for bad typecasting of an nsISupportsArray to a nsAupportsArray.
git-svn-id: svn://10.0.0.236/trunk@99453 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 23:44:35 +00:00
av%netscape.com
b6f5088ad1 Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi
git-svn-id: svn://10.0.0.236/trunk@99374 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 02:24:16 +00:00
rpotts%netscape.com
6496d65bc9 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
git-svn-id: svn://10.0.0.236/trunk@99342 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 21:26:04 +00:00
scc%mozilla.org
2ee4564df2 bug #90981 (top-crash): sr=mscott, rs=waterson. the new |nsXPIDLC?String| implementation doesn't always have a buffer handle to give up. |BeginReading| won't do what you want in this case, so modify |do_AssignFromReadable| to elide copies from empty strings.
git-svn-id: svn://10.0.0.236/trunk@99334 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 20:29:30 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
rogc%netscape.com
93534daba2 Added heuristics for speculative RTTI for gnu 2.96 compilers.
b=62996,r=blizzard,sr=waterson.


git-svn-id: svn://10.0.0.236/trunk@99226 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 22:40:04 +00:00
timeless%mac.com
6ff16a4d71 Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
previous definition just recursed infinitely. |::atoi| takes a |char*|.
r=dbradley sr=scc


git-svn-id: svn://10.0.0.236/trunk@99161 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 05:17:33 +00:00
scc%mozilla.org
19f12c4578 bug #90394: r=dbaron, sr=asa(?). A simple fix to a big leak when |nsXPIDLC?String|s are never accessed after assignment, deallocation failed. By storing the initial pointer in the _storage_ start slot, this is avoided.
git-svn-id: svn://10.0.0.236/trunk@99113 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 06:48:23 +00:00
mstoltz%netscape.com
1ac430a069 Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.


git-svn-id: svn://10.0.0.236/trunk@99104 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 04:00:24 +00:00
jaggernaut%netscape.com
7af77874a3 Add "caps" to REQUIRES to fix Senna bustage.
git-svn-id: svn://10.0.0.236/trunk@99075 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 13:45:34 +00:00
jaggernaut%netscape.com
137f854675 Add "js" to REQUIRES to fix Senna bustage
git-svn-id: svn://10.0.0.236/trunk@99072 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 12:37:01 +00:00
jaggernaut%netscape.com
903711694e Add "xpconnect" to REQUIRES to fix Senna bustage
git-svn-id: svn://10.0.0.236/trunk@99069 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 10:50:04 +00:00