dbaron%fas.harvard.edu
11b7597695
Add nsDeque to leak stats. r=harishd@netscape.com sr=waterson@netscape.com b=63014
...
git-svn-id: svn://10.0.0.236/trunk@84703 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:04:57 +00:00
sfraser%netscape.com
4e7e05789b
Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
dougt%netscape.com
9145344cfc
Fixes dropped socket transport during shutdown. The xpcom fix causes the UI event queue to be processed one final time after services shutdown. The socket transport fix forces all remaining active transports to be canceled, then released. r= waterson@netscape.com && darin@netscape.com a=mscott@netscape.com. b=63565
...
git-svn-id: svn://10.0.0.236/trunk@84645 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:44:47 +00:00
ducarroz%netscape.com
7a8f294249
Part of fix for bug 42458. The Unichar version of nsCRT::strndup wasn't correctly terminating the string. R=varada, SR=mscott
...
git-svn-id: svn://10.0.0.236/trunk@84583 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:58:12 +00:00
cls%seawood.org
c87631519f
Increase BeOS event port capacity and avoid sending messages to event port if capacity is exceeded.
...
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #63646 . r=danm
git-svn-id: svn://10.0.0.236/trunk@84525 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 09:03:09 +00:00
blakeross%telocity.com
80573cffad
Fix 10061: xptcall not right on irix. patch by Robert Low (rob@adacel.com.au). r=jband sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@84445 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:44:21 +00:00
bryner%uiuc.edu
6f97e20f49
Removing dead .toc files. Not part of build. a=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@84289 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:32:06 +00:00
dbaron%fas.harvard.edu
a948227cb8
Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
...
Implement (without enabling, yet) assertions to warn about static constructors. b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon. b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84044 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:43:32 +00:00
disttsc%bart.nl
62d90be0d3
Add |.get()| to nsCString. Bug=58284,r=dbaron, a=scc.
...
git-svn-id: svn://10.0.0.236/trunk@84035 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:45:54 +00:00
brendan%mozilla.org
ab1ee3d23b
Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@83972 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:32:39 +00:00
waterson%netscape.com
af1a05157f
Bug 61339. Static accessor iid/cid should be 'const'. r=scc, sr=jband,rpotts
...
git-svn-id: svn://10.0.0.236/trunk@83923 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:38:31 +00:00
bratell%lysator.liu.se
d319a76958
Backing myself out to save mac build
...
git-svn-id: svn://10.0.0.236/trunk@83867 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:54:40 +00:00
bratell%lysator.liu.se
5811dd1c0b
Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83864 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:38:36 +00:00
sspitzer%netscape.com
becfeef73a
fix for #58238 . sr=bienvenu. fix crash when growing the hash table
...
that contained the list of atoms. see bug report for all the details.
thanks to bienvenu, scc, brendan, and hyatt for the help.
git-svn-id: svn://10.0.0.236/trunk@83789 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:58:20 +00:00
tao%netscape.com
3b1dbd114b
51327: mozilla doesn't parse java properties files correctly
...
patch from erik, r=tao,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83687 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:52:09 +00:00
jst%netscape.com
9288eb059b
Checking in scc's fix for blocker bug 62818, nsSlidingSubstring::GetReadableFragment(..., kFragmentAt, ...) wasn't implemented and that caused a crash when serializing HTML to plain text. r=me.
...
git-svn-id: svn://10.0.0.236/trunk@83653 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:16:10 +00:00
rpotts%netscape.com
80ca66b8bb
Fix for assert when loading content from the memory cache (ie. hitting Back). r=jst
...
git-svn-id: svn://10.0.0.236/trunk@83608 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 23:11:32 +00:00
jband%netscape.com
0f4f0f5bff
fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@83596 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:36:53 +00:00
mkaply%us.ibm.com
6e06af2d75
OS/2 TB breakage
...
r=jag, a=scc
Don't use initializer on template
git-svn-id: svn://10.0.0.236/trunk@83593 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:07:21 +00:00
vidur%netscape.com
ab6a2520bd
Fix for Solaris compiler warning from scc. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@83559 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:02:01 +00:00
vidur%netscape.com
3e62b3f9f3
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
vidur%netscape.com
65d3ffed0d
Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83551 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:57:47 +00:00
jst%netscape.com
2afdb2a411
Fixing compiler warnings, not part of the build yet. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@83550 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:52:08 +00:00
ccarlen%netscape.com
fba774d9f3
Bug 51932 - Allow getting the FSSpec of a file which doesn't exist.
...
r=sdagley, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83543 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:14:03 +00:00
vidur%netscape.com
00f259c6ae
New file for buffer management for shared strings, written by scc. Not yet added to the build. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@83542 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:13:33 +00:00
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