brendan%mozilla.org
a2555ca0ab
Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
...
git-svn-id: svn://10.0.0.236/trunk@83529 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:48:16 +00:00
mang%subcarrier.org
bbc3fd1035
Fix for #62572
...
Removed obsolete code that allowed implicit declaration of nsid types.
This will cause a rebuild.
r=mccabe
sr=jband
git-svn-id: svn://10.0.0.236/trunk@83502 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 23:06:26 +00:00
danm%netscape.com
7fd562da0d
delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan
...
git-svn-id: svn://10.0.0.236/trunk@83495 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:55:47 +00:00
dbaron%fas.harvard.edu
88efcf30bd
Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414
...
git-svn-id: svn://10.0.0.236/trunk@83454 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 03:13:53 +00:00
dbaron%fas.harvard.edu
16a7f14c96
Fix bustage. Forgot to change NS_IMETHODIMP in function definitions.
...
git-svn-id: svn://10.0.0.236/trunk@83447 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu
fc1d2a9cd5
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83446 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:46:08 +00:00
dbaron%fas.harvard.edu
e9d380a7cb
Work in progress for bug 59414. Prepare to make |nsCOMPtr|'s |operator&| private to prevent many cases of accidental usage, and provide |address_of| for clients who really want a pointer to an nsCOMPtr. r=scc@mozilla.org sr=waterson@netcape.com
...
git-svn-id: svn://10.0.0.236/trunk@83445 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:45:43 +00:00
dbaron%fas.harvard.edu
0cc4ea2497
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
dbaron%fas.harvard.edu
ad5f529a65
Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83439 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:11:05 +00:00
mkaply%us.ibm.com
75b92aca6b
OS/2 build break
...
Need PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@83411 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 20:36:53 +00:00
dmose%mozilla.org
08808bf8f9
Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@83395 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 04:30:36 +00:00
mccabe%netscape.com
e58b2357ae
Fix to 8734. Make xpidl produce its' output file in the same directory it is run in. This only applies when the -o someotheroutname option isn't supplied. Previous behavior was to produce the output file in the same directory as the input file. Hopefully this'll save some confusion for first-time xpidl users.
...
Thanks to Mike Ang <mang@subcarrier.org> for fixing several errors in the initial version of this patch.
r=mang
sr=jband
git-svn-id: svn://10.0.0.236/trunk@83360 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:25:07 +00:00
mccabe%netscape.com
1a06291899
Usage message spelling fix courtesy Mike Ang <mang@subcarrier.org>.
...
r=mccabe
git-svn-id: svn://10.0.0.236/trunk@83359 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:22:24 +00:00
mccabe%netscape.com
72fd4d68c9
Fix to 54913. Add check against 'const unsigned long = -4', and centralize many const checks in xpidl_util.c from the various xpidl backends.
...
This'll cause the tree to rebuild.
sr=jband.
git-svn-id: svn://10.0.0.236/trunk@83358 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:17:33 +00:00
jband%netscape.com
16416c0908
fix warnings from fix to bug 61369
...
git-svn-id: svn://10.0.0.236/trunk@83323 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:40:56 +00:00
waterson%netscape.com
93ab5c3017
Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@83293 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 00:05:45 +00:00
dbaron%fas.harvard.edu
3a7f433397
Add information to stack trace format so it can be processed by addr2line. b=59136
...
Make logging not crash when dll unloading is enabled. b=60710
r=waterson@netscape.com sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83218 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 16:10:50 +00:00
mccabe%netscape.com
fd7e056933
Fixes to 52520 and 13813. Move checks against [retval] usage from xpidl_typelib code to the common xpidl_util code used by all modes, and add a new check asserting that [retva] is only applied to the last parameter. XPConnect has had this restriction for a long time.
...
no r=, but it's very similar to previous approved changes. I want to get it in with other xpidl modifications, as everybody's tree needs to be rebuilt anyway.
git-svn-id: svn://10.0.0.236/trunk@83127 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 10:51:39 +00:00
mccabe%netscape.com
3549d6926d
Fix to 13765. Disallow IDL interfaces with [shared] parameters that aren't string, wstring or native. Also disallow [shared] with nsid or [array] parameters.
...
sr=jband
git-svn-id: svn://10.0.0.236/trunk@83126 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 09:52:29 +00:00
mccabe%netscape.com
1e8e358ccf
Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
...
r=jband
git-svn-id: svn://10.0.0.236/trunk@83122 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:08:24 +00:00
mccabe%netscape.com
766ac6067d
Fix to 57094 is running into trouble on windows, commenting out.
...
git-svn-id: svn://10.0.0.236/trunk@83121 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:56:47 +00:00
mccabe%netscape.com
5d14534ebe
Tweak to previous checkin. Rectify 'to to' typo in comment added to generated header files. Thanks to jband for saving me the shame.
...
git-svn-id: svn://10.0.0.236/trunk@83120 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:52:16 +00:00
mccabe%netscape.com
1044bd61b8
Fixes for 40008, 40152, 40016, 51795, 57094.
...
Fix various aspects of xpidl, including:
don't fail on empty idl / idl containing only #includes
use error location instead of typedef location when reporting type errors
warn on interfaces that lack a uuid attribute (thanks Warren for the prod)
add include guards to generated .h files - faster mac compilation?
xpidl-generated headers don't need NS_NO_VTABLE defined.
This'll cause a tree rebuild.
r=mang (several)
sr=jband.
git-svn-id: svn://10.0.0.236/trunk@83119 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:51:02 +00:00
jband%netscape.com
730c857866
fix bug 58959 and groundwork for bug 57370. Handle interface whose name has changed correctly and add support for comparing iids without fetching. r=mccabe sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@83116 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 06:55:40 +00:00
jband%netscape.com
79d14917b0
Add some thread stress tests used to figure out problem in bug 61369. r=brendan sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@83112 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:26:15 +00:00
jband%netscape.com
0404f79f76
fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@83111 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:24:53 +00:00
waterson%netscape.com
095508a120
Oops, remove one 'bamboozler' that isn't globally exported, except in my build.
...
git-svn-id: svn://10.0.0.236/trunk@83060 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:18:03 +00:00
waterson%netscape.com
a27c8695cc
Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
...
git-svn-id: svn://10.0.0.236/trunk@83059 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:16:53 +00:00
mkaply%us.ibm.com
3bf87ed75e
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
git-svn-id: svn://10.0.0.236/trunk@82994 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:51:05 +00:00
mkaply%us.ibm.com
0b0abb10e4
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
git-svn-id: svn://10.0.0.236/trunk@82990 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:27:38 +00:00
danm%netscape.com
928279c539
ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari
...
git-svn-id: svn://10.0.0.236/trunk@82984 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:38:02 +00:00
cls%seawood.org
6479ca1914
Fix linux/sparc test to work for sparc64 arch.
...
Thanks to Myth <frb@wiw.org> for the patch.
Bug #57501 r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@82961 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 05:27:19 +00:00
cls%seawood.org
7b0df0ad65
Fix the BeOS implementation of Normalize().
...
Thanks to Hiromasa Kato <hiro@eng.iastate.edu> for the patch.
Bug #53014 r=cls@seawood.org sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82952 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:43:09 +00:00
cls%seawood.org
d2eca59b54
Under BeOS, we must call Normalize() on a local file before it can be used.
...
Thanks to Hiromasa Kato <hiro@eng.ia.state.edu> for the patch. Bug #53014 . r=cls@seawood.org sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82951 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:41:05 +00:00
colin%theblakes.com
031f48020c
OpenVMS specific fix for defeciency in stat.
...
b=60199 r=dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@82898 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 11:19:41 +00:00
dmose%mozilla.org
45d1e6c7f5
added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@82867 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 20:15:23 +00:00
brendan%mozilla.org
6a865d1089
Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@82854 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 08:05:05 +00:00
dougt%netscape.com
90c9a975be
Static Module Patch. r=valeski,warren@netscape.com, sr/a=cls@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@82839 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:40:34 +00:00
cls%seawood.org
8373cf37d8
Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
...
git-svn-id: svn://10.0.0.236/trunk@82809 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:18:46 +00:00
cls%seawood.org
6088dfbf6b
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
danm%netscape.com
db625ff360
removing glowcode directives. won't affect you unless you use an obsolete version of glowcode.
...
git-svn-id: svn://10.0.0.236/trunk@82759 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:13:42 +00:00
blizzard%redhat.com
dd791b28ce
two line change to remove iostreams from this test list. r=alecf,jag sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@82747 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 21:17:53 +00:00
alecf%netscape.com
13743894ed
fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
...
r=dveditz a=self
git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +00:00
dougt%netscape.com
bcfb7fc4d5
Checking error code from IsDirectory().
...
git-svn-id: svn://10.0.0.236/trunk@82656 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:39:43 +00:00
disttsc%bart.nl
868c5c4476
Fix iteration type in ConvertTo(Upper|Lower)Case in nsReadableUtils.cpp, bug=60047, r=dmose, a=scc
...
git-svn-id: svn://10.0.0.236/trunk@82630 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:58:23 +00:00
ccarlen%netscape.com
6460e7e4a9
Bug 55891
...
r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82610 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 15:58:54 +00:00
disttsc%bart.nl
be1daf13dc
Checking in the correct patch for bug 59526.
...
git-svn-id: svn://10.0.0.236/trunk@82518 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 01:30:07 +00:00
edburns%acm.org
c692199dd2
bug 59526
...
sr=waterson
r=valeski
This bullet-proofs the code so the one thread does not exit twice.
git-svn-id: svn://10.0.0.236/trunk@82513 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:49:57 +00:00
sspitzer%netscape.com
9a8f8e2f66
minor fix. sr=warren
...
git-svn-id: svn://10.0.0.236/trunk@82443 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 23:59:13 +00:00
mkaply%us.ibm.com
c9e93bf35a
#58462
...
r=av, sr/a=waterson
Add OS/2 calling conventions for plugins
git-svn-id: svn://10.0.0.236/trunk@82437 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 21:28:38 +00:00