7817 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
54f4fd0dae Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits.
r=bz sr=roc blocking1.9=dbaron


git-svn-id: svn://10.0.0.236/trunk@236665 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 17:12:17 +00:00
gavin%gavinsharp.com
4d358c8e71 Back out bug 392055 due to bustage
git-svn-id: svn://10.0.0.236/trunk@236540 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 03:44:29 +00:00
sdwilsh%shawnwilsher.com
ca036147e5 Bug 392055 - NS_ENSURE_SUCCESS should print out the error code. r=benjamin, sr=bzbarsky, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236535 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 02:04:47 +00:00
Olli.Pettay%helsinki.fi
8b1c629f2c backout the test patch for Bug 373462 and 385322
git-svn-id: svn://10.0.0.236/trunk@236522 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 16:10:13 +00:00
Olli.Pettay%helsinki.fi
10c4faa867 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
git-svn-id: svn://10.0.0.236/trunk@236520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 14:05:29 +00:00
asqueella%gmail.com
39b7b3764e fix bug 369214 (ASSERTION: The observer list changed while being iterated over!: 'count == mObservers.Count()' in libpr0n) by switching the observers list to use nsTObserverArray.
r=stuart
a=1.9 blocker


git-svn-id: svn://10.0.0.236/trunk@236504 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 19:40:57 +00:00
Olli.Pettay%helsinki.fi
f316d5eeb5 backout patch for Bug 373462, Bug 385322
git-svn-id: svn://10.0.0.236/trunk@236434 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 10:00:48 +00:00
Olli.Pettay%helsinki.fi
66a725f097 Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking
git-svn-id: svn://10.0.0.236/trunk@236430 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 08:54:36 +00:00
jwalden%mit.edu
bebe6d9064 Yet another fix for Windows calling convention differences.
git-svn-id: svn://10.0.0.236/trunk@236429 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 08:18:36 +00:00
jwalden%mit.edu
b16d3df2d4 Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition.
git-svn-id: svn://10.0.0.236/trunk@236428 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 08:12:07 +00:00
jwalden%mit.edu
ddf249d5cc Fix bustage from TestPipe.cpp; turns out NS_NewPipe2 isn't exported from XPCOM -- who knew? r+a=bustage
git-svn-id: svn://10.0.0.236/trunk@236427 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 07:59:09 +00:00
jwalden%mit.edu
1e089da103 Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz
git-svn-id: svn://10.0.0.236/trunk@236426 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 06:17:59 +00:00
scott%scott-macgregor.org
0c0df5b7b9 try to fix mac orange again.
git-svn-id: svn://10.0.0.236/trunk@236407 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 00:34:42 +00:00
scott%scott-macgregor.org
fcd61c9819 try to fix the orange mac tinderbox builds by adjusting the Makefile.in rule. Thanks to bsmedberg for suggesting the fix.
git-svn-id: svn://10.0.0.236/trunk@236405 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:56:10 +00:00
scott%scott-macgregor.org
8db44363b4 Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage.
Patch by prasad <prasad@medhas.org>
sr=bsmedberg
a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@236403 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:14:26 +00:00
roc+%cs.cmu.edu
11cdffec8d Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead).
git-svn-id: svn://10.0.0.236/trunk@236270 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-19 00:24:27 +00:00
roc+%cs.cmu.edu
2d2e1edfb6 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236258 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 23:12:10 +00:00
aaronr%us.ibm.com
32d7e0c8a3 forgot to fix a review comment for checkin I did for bug 395349
git-svn-id: svn://10.0.0.236/trunk@236232 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 18:45:28 +00:00
aaronr%us.ibm.com
b33a454370 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@236230 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 18:14:37 +00:00
aaronr%us.ibm.com
61ad3bf57a move nsDeque .h and .cpp from xpcom/ds to xpcom/glue.
Bug 395349, r+a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@236229 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 18:14:35 +00:00
dbaron%dbaron.org
8fa017c688 Remove incorrect use of NS_METHOD. b=394566 r+sr=peterv a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236174 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 00:30:06 +00:00
bzbarsky%mit.edu
93d672ce3e Improve docs. Bug 396069, r+sr=biesi, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@236166 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 22:30:58 +00:00
mozilla%weilbacher.org
32470d9311 [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@236066 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 20:46:35 +00:00
jst%mozilla.org
a417ea6aed Fixing bug 395651. Make our UTF-8 and UTF-16 comparison code etc more robust when dealing with invalid UTF-16 data. r+sr=jonas@sicking.cc, a=jst@mozilla.org/jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@236008 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 23:09:49 +00:00
benjamin%smedbergs.us
6ffa315eb5 Bug 393935 - Crash [@nsProxyObject::LockedFind] due to threads racing, r=brendan
git-svn-id: svn://10.0.0.236/trunk@235982 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 18:21:28 +00:00
reed%reedloden.com
ead513cc43 Bug 395280 - "Build failure on Sparc Linux due to xptcall API changes" [p=marc@petit-huguenin.org (Marc Petit-Huguenin) r=bsmedberg a=damons]
git-svn-id: svn://10.0.0.236/trunk@235472 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-10 21:26:01 +00:00
jst%mozilla.org
76a2bf0e0e Fixing bug 394275. Fix problem with UTF16 to UTF8 character conversions when dealing with broken UTF16 characters. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@235381 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 20:28:27 +00:00
mozilla%weilbacher.org
c89093a679 [OS/2] Bug 394837: saving files doesn't work when WPS not active, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@234085 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:44:29 +00:00
sharparrow1%yahoo.com
2524d5f0b2 Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@234000 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 01:26:57 +00:00
sharparrow1%yahoo.com
014471f8ef Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@233997 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 01:13:42 +00:00
jwalden%mit.edu
0063483d40 Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change
git-svn-id: svn://10.0.0.236/trunk@233983 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 22:31:12 +00:00
cbiesinger%gmx.at
c0ef401029 381812 improved testcase for storage stream behaviour when the stream hasn't
been written to r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@233967 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 20:30:18 +00:00
jag%tty.nl
aa0e245d4b Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 09:13:58 +00:00
jwalden%mit.edu
b6f3bdf388 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
git-svn-id: svn://10.0.0.236/trunk@233906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 06:41:37 +00:00
asqueella%gmail.com
149eee17b3 Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r+a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@233758 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 21:57:11 +00:00
asqueella%gmail.com
1c566151d6 Bug 375778 - Read-Only Files Changed to Read-Write
p=Simon Bunzli (busy) <zeniko@gmail.com>
r=dougt, sr=bsmedberg, a=bz


git-svn-id: svn://10.0.0.236/trunk@233756 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 21:50:48 +00:00
thunder%mozilla.com
bc9abf850f Bug 392967: Load app and extension prefs separately. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233533 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 02:16:47 +00:00
cbiesinger%gmx.at
97f6bee87c add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag.
r+sr+a=bz


git-svn-id: svn://10.0.0.236/trunk@233510 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 20:19:38 +00:00
jwalden%mit.edu
117e3a6eeb Unbreak DEBUG_CC on Windows (calling convention mismatch); apparently nobody really uses it there. NPOTDB, rs=sicking
git-svn-id: svn://10.0.0.236/trunk@233436 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 21:47:26 +00:00
bent.mozilla%gmail.com
5adef2ffb2 Bug 387584 - "ASSERTION: should not have buffer of zero size [@nsTArray_base::EnsureCapacity]". Patch by Sergey Yanovich <ynvich@gmail.com>. r+a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@233415 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 16:59:34 +00:00
bent.mozilla%gmail.com
67df6870e5 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@233253 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 23:37:22 +00:00
pavlov%pavlov.net
aeaa691693 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg.
original patch from David Humphrey <david.humphrey@senecac.on.ca>


git-svn-id: svn://10.0.0.236/trunk@233238 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 20:44:12 +00:00
dbaron%dbaron.org
b91c136b30 Back out a small part of bug 391848 to fix bustage for some people (and add a comment warning about the problem).
git-svn-id: svn://10.0.0.236/trunk@233191 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 05:42:25 +00:00
dbaron%dbaron.org
36c6a6af01 Do stack walking on a single thread to avoid deadlocks during thread creation. b=391321 r=robarnold@mozilla.com sr=jmathies@mozilla.com (delegated by bsmedberg) a1.9=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@233190 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 05:42:04 +00:00
dbaron%dbaron.org
159e40d7fe Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@232906 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 01:29:54 +00:00
dbaron%dbaron.org
2c99976e67 Print path to expected garbage along with refcount imbalances. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232901 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:28 +00:00
dbaron%dbaron.org
1a81879c1e When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232900 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:27 +00:00
dbaron%dbaron.org
e6b3ee0c67 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232899 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:26 +00:00
sdwilsh%shawnwilsher.com
6583c45c2f Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@232463 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 17:22:03 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00