Commit Graph

8063 Commits

Author SHA1 Message Date
dwitte@stanford.edu
8345ef1233 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
sayrer@gmail.com
91e16977ee Bug 407794. Nightlies should not override module-specific build settings. r=ted.mielczarek. 2007-12-13 19:22:52 -08:00
jonas@sicking.cc
390f6ff8c2 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
reed@reedloden.com
50d56360e8 Bug 404716 - "AIX Compilation error for trunk build source xptcstubs_ppc_aix64.cpp : "nsIInterfaceInfo" did not find a declaration , "CallMethod" is not a member of "class nsXPTCStubBase"" [p=shailen.n.jain@gmail.com (Shailen) r+sr=bsmedberg a1.9=damons] 2007-12-11 00:47:18 -08:00
roc+@cs.cmu.edu
16fb24b0d4 Bug 404870. Don't allow nsThread::PutEvent to succeed when the thread is no longer able to process the event. This stops us leaking the event and anything hanging off it. r+sr=bsmedberg 2007-12-04 18:17:15 -08:00
jwalden@mit.edu
cef5323c43 Kick the stupid Windows test box. 2007-12-03 19:40:06 -08:00
cbiesinger@gmx.at
4360b9ffe5 bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin 2007-11-30 10:05:54 -08:00
reed@reedloden.com
813575320a Bug 405786 - "1.9 doesn't detect powerpc correctly" [p=armin76@gentoo.org (Raúl Porcel) r=timeless sr=bsmedberg a1.9=damons] 2007-11-28 23:02:08 -08:00
reed@reedloden.com
5b6771674a Bug 405424 - "Updates for Linux/ia64" [p=armin76@gentoo.org (Raúl Porcel) r=bsmedberg a1.9=beltzner] 2007-11-28 14:43:57 -08:00
reed@reedloden.com
90f7bad0e6 Bug 391980 - "New Download manager automatically associates all types of files including folders with one file type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg a=blocking-firefox3+] 2007-11-26 15:55:34 -08:00
jwalden@mit.edu
8c59f2d9ac Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
mozilla@weilbacher.org
316c205d89 [OS/2] Bug 403989: fix file saving issues by backing out OS/2 part of patch from bug 402460, r=mkaply 2007-11-16 16:16:35 -08:00
kairo@kairo.at
2710cb8485 Comment out other occurence of failing test as well for now, see bug 401781, r+sr=biesi via IRC 2007-11-13 07:30:29 -08:00
reed@reedloden.com
a389f02605 Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons] 2007-11-13 02:27:26 -08:00
reed@reedloden.com
d5fc5fef6b Comment out failing test for now in test_streams.js. 2007-11-12 23:23:15 -08:00
reed@reedloden.com
10d22fde53 Remove DOS line endings from test_streams.js. 2007-11-12 23:16:48 -08:00
reed@reedloden.com
14aa6ecf32 Bug 401781 - "Add tests for nsI*Stream" [p=WeirdAl r=bsmedberg] 2007-11-12 21:33:25 -08:00
philringnalda@gmail.com
a85d73705b Bug 161453 - remove XP_MAC deadcode in typelib/xpidl, r=timeless, sr=mrbkap, a=dsicore 2007-11-12 19:25:55 -08:00
neil@parkwaycc.co.uk
514fdd4b8d Bug 402460 CreateUnique is very slow and returns bogus error for write-protected directory r=bsmedberg a=mtschrep 2007-11-12 01:24:32 -08:00
karlt+@karlt.net
e25c30f8ca Bug 326594 - Consider using backtrace() for Unix stack traces: Add safety checks to i386/ppc unwind and use libgcc_s for amd64 and others r=dbaron,bsmedberg a=schrep 2007-11-11 20:45:40 -08:00
bent.mozilla@gmail.com
491c9c1063 Bug 396369 - "Overload forget method on nsCOMPtr/nsRefPtr to work with out parameters". r=dbaron, sr=bsmedberg, a=damons. 2007-11-11 10:56:45 -08:00
joshmoz@gmail.com
007d97393b sync trunk and branch setup for bug 400165. r=mento sr=bsmedberg a=schrep 2007-11-09 11:45:34 -08:00
maxf@magma.ca
98feda1388 The Javascript-to-native calling interface needs to be implemented for QNX Neutrino ARM targets. Without this most JS does not work. b=402550 r=bsmedberg r=rmaclean@qnx.com 2007-11-09 10:53:21 -08:00
maxf@magma.ca
73e1227854 This change is for the QNX (Photon) platform only. It will not affect the runtime or build of other Mozilla platforms since QNX source is not part of Tinderbox builds. You can contact me at: mfeil@qnx.com This change fixes a seg fault on startup when built with gcc 3.x. This same problem was fixed for linux under bugzilla bug 88397. This fix just turns it on for Neutrino as well. b=403087 r=bsmedberg 2007-11-09 10:37:00 -08:00
maxf@magma.ca
134ac545cf Backing out change that was not properly reviewed or bugzilla'd. Sorry guys. 2007-11-02 07:38:07 -07:00
jst@mozilla.org
d7d6ffb392 Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com 2007-11-01 15:51:57 -07:00
maxf@magma.ca
91b612347d Changes for SH4 and ARM processors. These were made by Roger Maclean, reviewed by me. r=rmaclean@qnx.com This change is for the QNX (Photon) platform only. It will not affect the runtime or build of other Mozilla platforms since QNX source is not part of Tinderbox builds. None of the changes will affect non-QNX builds in any way. You can contact me at: mfeil@qnx.com 2007-11-01 14:07:01 -07:00
sayrer@gmail.com
1e3ed80af6 Bug 401137. Silence ASSERTION: RefreshURIList timer callbacks should only be RefreshTimer objects. Docshell expects to be able to getCallback during a Timer fire. r=bzbarsky, sr=brendan, a=mconnor 2007-10-30 08:56:59 -07:00
cbarrett@mozilla.com
6e88ffabca Typo fix and poking tinderbox. No bug. 2007-10-29 22:51:33 -07:00
peterv@propagandism.org
2e01f470e6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
8aff563c48 Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
abb09e26b6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
peterv@propagandism.org
a84948aa32 Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
3a33ff3fcf Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
mozilla@weilbacher.org
e049305b64 [OS/2] Bug 400939: fix crash when using FireFTP with local files without extension, r=mkaply 2007-10-25 13:49:37 -07:00
sayrer@gmail.com
c3df88ea3b Bug 330128. Calling cancel() on a timer doesn't drop ref to the callback. r=brendan, sr=bzbarsky, a=beltzner 2007-10-24 12:11:41 -07:00
Olli.Pettay@helsinki.fi
723f86ac2f Landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-22 14:42:25 -07:00
Olli.Pettay@helsinki.fi
4474bdc204 backout Bug 373462, bug 385322. Still regress tp/talos 2007-10-21 09:46:54 -07:00
Olli.Pettay@helsinki.fi
530a7e0fd0 Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-21 07:09:29 -07:00
mozilla@weilbacher.org
103841bb3b [OS/2] remove obsolete file that was copied to xpcom/stub long ago in bug 266785. 2007-10-20 02:21:27 -07:00
reed@reedloden.com
59d2451ae9 Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer] 2007-10-19 16:26:52 -07:00
reed@reedloden.com
b60e8823f4 Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com
2145eeea65 Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -07:00
reed@reedloden.com
e7a2a49b3f Bug 315305 - "Improve nsILocalFile error reporting on Mac" [p=smfr r=ccarlen sr=dougt a1.9=sayrer] 2007-10-14 20:05:20 -07:00
benjamin@smedbergs.us
190309e089 Bug 398566 - Set MOZ_FIX_LINK_PATHS unconditionally, r=luser a=sayrer 2007-10-13 14:13:50 -07:00
jst@mozilla.org
a02d014a1a Fixing bug 398465. Eliminate dead code from nsPipeOutputStream. r=jwalden+bmo@mit.edu, sr=benjamin@smedbergs.us, a=sayrer@gmail.com 2007-10-13 09:39:13 -07:00
bent.mozilla@gmail.com
ad07b81a06 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron. 2007-10-03 17:57:09 -07:00
jst@mozilla.org
1a76db15cf Fixing solaris build bustage when building with tests enabled. r=sayrer, sr=biesi, a=jst 2007-10-02 16:11:18 -07:00
benjamin@smedbergs.us
25928c5f24 Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron 2007-10-02 12:16:30 -07:00
roc+@cs.cmu.edu
672e66c2d2 Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon 2007-09-30 14:34:56 -07:00
Olli.Pettay@helsinki.fi
d8000edd01 back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
67f0237669 Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
jag@tty.nl
f7413d87e3 Fix bustage from previous checkin for bug 392055. Move #define of XPCOM_GLUE_AVOID_NSPR from nsISupportsImpl.h to nscore.h. r/a=bsmedberg 2007-09-28 13:33:32 -07:00
jag@tty.nl
21a7ac27e2 Bug 392055: NS_ENSURE_SUCCESS should print out the error code. Original patch by Shawn Wilsher (sdwilsh) <comrade693+bmo@gmail.com>, updated by me to handle the standalone xpcom glue case and to use printf safely. r=bsmedberg, sr=bzbarsky, a=dsicore. 2007-09-28 11:59:07 -07:00
dholbert@cs.stanford.edu
e81193d88b Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits. r=bz sr=roc blocking1.9=dbaron 2007-09-25 10:12:17 -07:00
gavin@gavinsharp.com
a26384b973 Back out bug 392055 due to bustage 2007-09-23 20:44:28 -07:00
sdwilsh@shawnwilsher.com
22251f3876 Bug 392055 - NS_ENSURE_SUCCESS should print out the error code. r=benjamin, sr=bzbarsky, a=bzbarsky 2007-09-23 19:04:47 -07:00
Olli.Pettay@helsinki.fi
5a7c50d7ec backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
ea28e0a59b Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
asqueella@gmail.com
a78c95dac8 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 2007-09-22 12:40:57 -07:00
Olli.Pettay@helsinki.fi
deef8b8707 backout patch for Bug 373462, Bug 385322 2007-09-21 03:00:47 -07:00
Olli.Pettay@helsinki.fi
a6a81f8852 Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking 2007-09-21 01:54:36 -07:00
jwalden@mit.edu
714f199bfa Yet another fix for Windows calling convention differences. 2007-09-21 01:18:36 -07:00
jwalden@mit.edu
19c867966f Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition. 2007-09-21 01:12:07 -07:00
jwalden@mit.edu
ae3dfb487f Fix bustage from TestPipe.cpp; turns out NS_NewPipe2 isn't exported from XPCOM -- who knew? r+a=bustage 2007-09-21 00:59:09 -07:00
jwalden@mit.edu
2fd6ba18fe 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 2007-09-20 23:17:59 -07:00
scott@scott-macgregor.org
8a04ed9e5c try to fix mac orange again. 2007-09-20 17:34:42 -07:00
scott@scott-macgregor.org
70e3056fe4 try to fix the orange mac tinderbox builds by adjusting the Makefile.in rule. Thanks to bsmedberg for suggesting the fix. 2007-09-20 16:56:10 -07:00
scott@scott-macgregor.org
fc5215cfe6 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 2007-09-20 16:14:25 -07:00
roc+@cs.cmu.edu
8f30adbc19 Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead). 2007-09-18 17:24:27 -07:00
roc+@cs.cmu.edu
9972360428 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 2007-09-18 16:12:06 -07:00
aaronr@us.ibm.com
b0d3a4fa64 forgot to fix a review comment for checkin I did for bug 395349 2007-09-18 11:45:28 -07:00
aaronr@us.ibm.com
4d5884fb58 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
dbaron@dbaron.org
2506d555b1 Remove incorrect use of NS_METHOD. b=394566 r+sr=peterv a=bzbarsky 2007-09-17 17:30:06 -07:00
bzbarsky@mit.edu
b32d577ac3 Improve docs. Bug 396069, r+sr=biesi, a=bsmedberg 2007-09-17 15:30:58 -07:00
mozilla@weilbacher.org
55274c8da2 [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply 2007-09-16 13:46:35 -07:00
jst@mozilla.org
ff5edada7b 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 2007-09-14 16:09:49 -07:00
benjamin@smedbergs.us
eab010964c Bug 393935 - Crash [@nsProxyObject::LockedFind] due to threads racing, r=brendan 2007-09-14 11:21:28 -07:00
reed@reedloden.com
3980c50d5d Bug 395280 - "Build failure on Sparc Linux due to xptcall API changes" [p=marc@petit-huguenin.org (Marc Petit-Huguenin) r=bsmedberg a=damons] 2007-09-10 14:26:01 -07:00
jst@mozilla.org
651a54cda2 Fixing bug 394275. Fix problem with UTF16 to UTF8 character conversions when dealing with broken UTF16 characters. r+sr=jonas@sicking.cc 2007-09-07 13:28:27 -07:00
mozilla@weilbacher.org
863f3bac39 [OS/2] Bug 394837: saving files doesn't work when WPS not active, r=mkaply 2007-09-06 14:44:05 -07:00
sharparrow1@yahoo.com
9f9b12bd99 Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky. 2007-09-05 18:26:57 -07:00
sharparrow1@yahoo.com
b2aaa876db Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky. 2007-09-05 18:13:42 -07:00
jwalden@mit.edu
303ffaf798 Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change 2007-09-05 15:31:12 -07:00
cbiesinger@gmx.at
6463d3214d 381812 improved testcase for storage stream behaviour when the stream hasn't been written to r=bsmedberg 2007-09-05 13:30:18 -07:00
jag@tty.nl
e6cabc27cf Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg 2007-09-05 02:13:57 -07:00
jwalden@mit.edu
d09c44d69c 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 2007-09-04 23:41:35 -07:00
asqueella@gmail.com
5347590a4c Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array p=Alfred Kayser <alfredkayser@nl.ibm.com> r+a=bsmedberg 2007-09-02 14:57:11 -07:00
asqueella@gmail.com
a54df5b5bf Bug 375778 - Read-Only Files Changed to Read-Write p=Simon Bunzli (busy) <zeniko@gmail.com> r=dougt, sr=bsmedberg, a=bz 2007-09-02 14:50:48 -07:00
thunder@mozilla.com
9d45a8e240 Bug 392967: Load app and extension prefs separately. r=bsmedberg 2007-08-31 19:16:47 -07:00
cbiesinger@gmx.at
63b56fc006 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 2007-08-31 13:19:37 -07:00
jwalden@mit.edu
e7f0887560 Unbreak DEBUG_CC on Windows (calling convention mismatch); apparently nobody really uses it there. NPOTDB, rs=sicking 2007-08-30 14:47:26 -07:00
bent.mozilla@gmail.com
18ccb0dcf0 Bug 387584 - "ASSERTION: should not have buffer of zero size [@nsTArray_base::EnsureCapacity]". Patch by Sergey Yanovich <ynvich@gmail.com>. r+a=bsmedberg. 2007-08-30 09:59:34 -07:00
bent.mozilla@gmail.com
dca0f40dcc Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 16:37:22 -07:00
pavlov@pavlov.net
4901eb7dd6 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> 2007-08-28 13:44:12 -07:00
dbaron@dbaron.org
ce400dd1ec Back out a small part of bug 391848 to fix bustage for some people (and add a comment warning about the problem). 2007-08-27 22:42:25 -07:00
dbaron@dbaron.org
98306df42f 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 2007-08-27 22:42:04 -07:00
dbaron@dbaron.org
30d448d187 Fix bustage. 2007-08-22 18:29:54 -07:00
dbaron@dbaron.org
ba27e80450 Print path to expected garbage along with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:47:47 -07:00
dbaron@dbaron.org
737f15028b When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan 2007-08-22 17:47:24 -07:00
dbaron@dbaron.org
cc638cec42 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:46:43 -07:00
sdwilsh@shawnwilsher.com
30d7fb302b 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 2007-08-21 10:22:02 -07:00
bzbarsky@mit.edu
3200cf8f82 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking. 2007-08-20 15:55:06 -07:00
mats.palmgren@bredband.net
353a1896c9 Add a missing return. b=392782 r+sr+a1.9=dbaron 2007-08-20 14:31:48 -07:00
bent.mozilla@gmail.com
8b4a7312a5 Bug 385250 - "IsVoid and IsTerminated may return something other than PR_TRUE and PR_FALSE". r=dbaron, sr=jag, a=bz. 2007-08-19 20:09:30 -07:00
dbaron@dbaron.org
291d724428 Allow builds compiled with VC8 to function with older versions of dbghelp.dll. b=391848 r+a=bsmedberg 2007-08-19 14:38:31 -07:00
dbaron@dbaron.org
6a048c53ec Debugging code and cleanup from fixing Windows stack traces to work on VC8-compiled builds in addition to VC7.1-compiled builds. b=391848 r=bsmedberg a=bzbarsky 2007-08-19 14:37:55 -07:00
philringnalda@gmail.com
3432251d59 Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz 2007-08-17 20:48:16 -07:00
cbiesinger@gmx.at
f24c0c5c5e fixing orange, the new behaviour is better 2007-08-17 14:20:55 -07:00
cbiesinger@gmx.at
f5b77e12aa 381812 make it possible to get storage input streams for empty streams r=bsmedberg 2007-08-17 13:27:50 -07:00
benjamin@smedbergs.us
ee8b81eaac Bug 350132 - Deadlock in JS/XPCOM proxy, r=brendan 2007-08-16 13:51:50 -07:00
dbaron@dbaron.org
76b6bdeaea Enable Linux stack walking code on Mac OS X. b=336517 r+a=bsmedberg 2007-08-15 17:03:29 -07:00
dbaron@dbaron.org
cce47c3e88 Include file name and line number in Windows stack traces. b=391850 r+a=bsmedberg 2007-08-14 09:34:32 -07:00
dbaron@dbaron.org
83079fbffd Merge nsStackFrameWin and nsStackFrameUnix into nsStackWalk. b=391793 r+a=bsmedberg 2007-08-13 12:37:36 -07:00
dbaron@dbaron.org
e1b4390a58 Remove nsTraceRefcnt::LoadLibrarySymbols, which is no longer needed due to the error handling in SymGetModuleInfoEspecial. b=391793 r+a=bsmedberg 2007-08-13 12:36:57 -07:00
ginn.chen@sun.com
38366b697a Bug 374689 Fix build issues r+a=dbaron 2007-08-12 22:29:55 -07:00
dbaron@dbaron.org
593cd91cf8 Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan 2007-08-10 15:20:48 -07:00
dbaron@dbaron.org
0cad539f0d Export a stack walking API (usable from C or C++) from XPCOM. b=374689 r=bsmedberg a=bzbarsky 2007-08-10 14:32:49 -07:00
dbaron@dbaron.org
110f79280d Split the address->symbol mapping from the rest of the stack walking code. b=374829 r=bsmedberg a=bzbarsky 2007-08-10 14:29:37 -07:00
dbaron@dbaron.org
103f60636e Export a stack walking API (usable from C or C++) from XPCOM. b=374689 r=bsmedberg a=bzbarsky 2007-08-10 14:28:22 -07:00
bzbarsky@mit.edu
cd296d3363 Add a stack-and-abort value of XPCOM_DEBUG_BREAK 2007-08-10 12:42:58 -07:00
benjamin@smedbergs.us
6a7efe8e13 Bug 383553 - Crash on quit in nsTimerImpl::Release, r=dbaron sr=brendan 2007-08-09 11:37:02 -07:00
benjamin@smedbergs.us
9d35d07d20 Backing out bug 214164 due to non-libxul bustage... WTF? :-( 2007-08-08 14:41:43 -07:00
benjamin@smedbergs.us
828d788035 Bug 214164 - Reduce nsTHashtable codesize by making sOps a class static. This patch was originally from bug 201034 r=jkeiser :-) and was backed out because GCC 3.3- were stupid. Since we don't support those any more, relanding a=bz 2007-08-08 07:40:35 -07:00
mrbkap@gmail.com
48153c5284 Fix broken printf to fix a compile warning. bug 390855, r+sr+a=bsmedberg 2007-08-07 18:47:40 -07:00
aaronr@us.ibm.com
5b7b541d9a make nsStringContainer_base smaller bug 390849, r+sr+a=bsmedberg 2007-08-07 16:37:44 -07:00
sharparrow1@yahoo.com
fe9a203e49 Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky 2007-08-07 12:16:52 -07:00
bzbarsky@mit.edu
2ee16b5699 Make it possible to serialize an nsISerializable instance to an arbitrary stream, not just to the fastload file. Bug 390474, r=bsmedberg, sr=brendan, a=bsmedberg. 2007-08-06 19:00:55 -07:00
benjamin@smedbergs.us
6586a4906f Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
benjamin@smedbergs.us
17834f1c34 Bug 389718 - Hide xptcall shared stubs, x86 and a matching x86-64 change, r=dbaron a=bz 2007-08-06 12:30:51 -07:00
benjamin@smedbergs.us
5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
dtownsend@oxymoronical.com
b1622ba267 Bug 390143: NS_IMPL macros are broken for implementing 11 interfaces.
r=bsmedberg, a=wanted-1.9
2007-08-02 11:14:28 -07:00
benjamin@smedbergs.us
f92da2efd0 Bug 390190 - XULRunner loads system sqlite3 (and can then crash), patch by redfive (mozilla@jgaunt.com), r=me a=mconnor for landing into close M7 tree 2007-07-30 13:17:18 -07:00
jonas@sicking.cc
1d3132db39 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
enndeakin@sympatico.ca
8efc7f8e46 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
dcamp@mozilla.com
21b4c8ea53 Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
cbiesinger@gmx.at
5412d34bc5 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
bzbarsky@mit.edu
3e65919675 Fix string leak. Bug 389191, r=josh, sr=bsmedberg 2007-07-24 13:19:03 -07:00
bzbarsky@mit.edu
429a656eaf Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
cbiesinger@gmx.at
cf5b0ddf59 add a comment explaining the 0x20..0x7f range 2007-07-23 20:30:00 -07:00
asqueella@gmail.com
cb5ac9d2d1 Bug 339069 - Optimization for RFindInReadable
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dbaron
2007-07-23 18:30:19 -07:00
cbiesinger@gmx.at
a882eb62e4 bug 389106 escape spaces even for the OnlyNonASCII flag
r=bzbarsky sr=dveditz
2007-07-23 17:28:42 -07:00
sdwilsh@shawnwilsher.com
37a18305d8 Bug 306907 - Build libsqlite as a standard name separate shared library. Patch by Michael Wu <michael.wu@mozilla.com>, Robert Relyea <rrelyea@redhat.com>, Ryan VanderMeulen <ryanvm@gmail.com>, and Shawn Wilsher <me@shawnwilsher.com>. r=benjamin 2007-07-18 09:20:12 -07:00
bzbarsky@mit.edu
8aa7809421 Make fastload handle short reads from its underlying buffered stream. Bug
387588, r+sr=biesi
2007-07-17 18:54:55 -07:00
jwalden@mit.edu
d08ff83bde Bug 388276 - Build failed on solaris x86 due to checkin for 372428. Patch by Leon Sha <leon.sha@sun.com>, r=cls 2007-07-17 14:23:24 -07:00
mozilla@weilbacher.org
baa27617ef [OS/2] Bug 348533: fix build break due to missing glue, removing support for old VAC plugins in libxul builds, r=benjamin 2007-07-17 14:13:17 -07:00
benjamin@smedbergs.us
c1f89b4189 Bug 368854 - Use new compiler/linker flags added in VC8 to improve security, r=luser 2007-07-17 06:31:28 -07:00
sdwilsh@shawnwilsher.com
289d7b6399 Backout of Bug 306907 2007-07-16 14:32:03 -07:00
sdwilsh@shawnwilsher.com
f7d59f8730 Bug 306907 - Build libsqlite as a standard name separate shared library. Patch by Michael Wu <michael.wu@mozilla.com>, Robert Relyea <rrelyea@redhat.com>, Ryan VanderMeulen <ryanvm@gmail.com>, and Shawn Wilsher <me@shawnwilsher.com>. r=benjamin 2007-07-16 14:23:29 -07:00
dolske@mozilla.com
6f49cea2c4 Bug 388189: console spewage: "(all right -- a generic module!)". r=dougt, sr=benjamin 2007-07-16 12:00:14 -07:00
dolske@mozilla.com
931e2a3812 Bug 386281: "Type Manifest File:" spewed to console on launch. r=dougt, sr=benjamin 2007-07-14 18:15:26 -07:00
dbaron@dbaron.org
e940cfb755 Explain another possibility in this debugging printf. DEBUG_CC only. 2007-07-14 12:06:10 -07:00
jst@mozilla.org
0240a7e8d9 Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org 2007-07-11 13:46:43 -07:00
benjamin@smedbergs.us
cc074e3032 Bug 386445 - mac build stops with "multiple definitions of symbol nsINIParser::GetSrings", also changes to building mac dylibs with -single_module, r=luser,jag 2007-07-11 10:26:11 -07:00
neil@parkwaycc.co.uk
10de8387c8 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
bzbarsky@mit.edu
611a83d517 Try to fix orange: sGlobalObserver can get set during event processing, not
just unset.  Bug 326777
2007-07-10 20:01:56 -07:00
bzbarsky@mit.edu
3b90c5c518 Relanding bug 326777, r=bsmedberg, sr=jst 2007-07-10 17:57:17 -07:00
bzbarsky@mit.edu
b35a654a6e Backing out to fix red 2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
30e205dddb Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events.  Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
dbaron@dbaron.org
6af62a1de7 Make ExplainLiveExpectedGarbage traverse the suspectCurrent roots, since now that it's more accurate, more graph is always better. b=387005 r=graydon 2007-07-08 12:26:44 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dbaron@dbaron.org
c7cb35f4ec Make Fault give more information, #ifdef DEBUG_CC. b=386947 r=graydon 2007-07-05 15:38:38 -07:00
dbaron@dbaron.org
ddcd3b864b In ExplainLiveExpectedGarbage, print only the externally-referenced nodes from which the expected garbage is reachable. b=387005 r=graydon 2007-07-05 15:20:16 -07:00
dbaron@dbaron.org
91e460c07f Make suspectCurrent assertion not fire constantly after we Fault. b=386664 r+sr=peterv 2007-07-03 14:21:57 -07:00
jruderman@hmc.edu
5339922cd3 Fix bug 383426 (OOM crash). r=peterv, sr=roc. 2007-07-02 23:03:11 -07:00
benjamin@smedbergs.us
f1593a410c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
benjamin@smedbergs.us
93904d0ae7 From bug 383167, package up the xpcom/system XPTs correctly, r=luser 2007-07-02 06:04:22 -07:00
sharparrow1@yahoo.com
6fc71d4edd Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc 2007-07-01 22:22:51 -07:00
dbaron@dbaron.org
212a6a5311 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-27 13:41:26 -07:00
dbaron@dbaron.org
088d801720 Fix gcc warning about casting string literal to char*, DEBUG-only. 2007-06-27 13:40:52 -07:00
dbaron@dbaron.org
0ecbf11058 Keep the purple bit in sync with the purple buffer when suspect and forget calls are dropped on the floor. b=385548 r=graydon 2007-06-27 10:51:48 -07:00
jwatt@jwatt.org
c16e1a5d68 Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. r=benjamin@smedbergs.us 2007-06-27 01:36:03 -07:00
dbaron@dbaron.org
2211b60f82 Back out 385548 to try to fix test orange. 2007-06-26 22:26:38 -07:00
dbaron@dbaron.org
247f9667fd Don't set the purple bit when suspect calls are dropped on the floor. b=385548 r=graydon 2007-06-26 21:47:40 -07:00
sdwilsh@shawnwilsher.com
fc5b52d4f2 Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger 2007-06-26 17:45:52 -07:00
benjamin@smedbergs.us
b21f7b3a04 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
c93d1d5be6 Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
dbaron@dbaron.org
7c5b1319a0 Print the warning message for failure to suspect or unlink only for the objects that are the roots of what would have been collected. b=385549 r=graydon 2007-06-25 13:36:24 -07:00
benjamin@smedbergs.us
d782232066 Revert all of bug 383167 changes because they're not enough... going to try again later. 2007-06-25 11:40:57 -07:00
benjamin@smedbergs.us
7b42bb19aa Bug 383167 - Need buildid in an external file, r=luser sr=jst 2007-06-25 08:25:59 -07:00
enndeakin@sympatico.ca
8b4e014430 Bug 382034, support optional args in idl, try again with fix for crash calling toString, r+sr=shaver 2007-06-25 07:23:26 -07:00
enndeakin@sympatico.ca
313674e7fc Bug 382034, back out due to test content/base/test/test_bug352728.html failing 2007-06-22 08:21:13 -07:00
enndeakin@sympatico.ca
2ead939c02 Bug 382034, support optional arguments in idl, r+sr=shaver 2007-06-22 07:22:20 -07:00
dbaron@dbaron.org
a957bfec45 Back out again. 2007-06-21 17:30:41 -07:00
dbaron@dbaron.org
11208f0393 See if using mScanDelay of 1 instead of 0 fixes the leak regression. 2007-06-21 16:49:37 -07:00
dbaron@dbaron.org
071c76a324 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-21 16:02:53 -07:00
asqueella@gmail.com
de27b937fa Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
benjamin@smedbergs.us
69eb662f8a Bug 385189 - mac builds without libxul failing to compile due to macmorefiles, r=mento 2007-06-20 12:22:01 -07:00
benjamin@smedbergs.us
0b85a560e2 Bug 384513 - make the visibility pragma checks aware of mach-o and not just ELF, and re-enable libxul by default, r=mento+shebs 2007-06-19 07:53:05 -07:00
ajschult@verizon.net
a4e3dbaf41 Bug 384748: xpidl can generate garbage .java filenames. r=jhpedemonte 2007-06-18 21:04:11 -07:00
graydon@mozilla.com
31b7fc133f Bug 384942, dump graph on cycle collection fault.
r=dbaron
2007-06-18 18:29:10 -07:00
kherron@fmailbox.com
46876b4cf8 Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
kherron@fmailbox.com
da99532a78 Bug 177150 - Some mozilla-config.h defines require additional cflags for embedders. Patch by <mook.moz+mozbz@gmail.com>. r=benjamin, sr=dbaron. 2007-06-16 13:02:15 -07:00
dbaron@dbaron.org
37f48fed5f Back out bug 381199. 2007-06-13 17:12:16 -07:00
dbaron@dbaron.org
d0fb8f5ccc Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-13 16:22:19 -07:00
philringnalda@gmail.com
f3f6213b5f Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin 2007-06-10 23:10:27 -07:00
bzbarsky@mit.edu
b27bad4aad Fix NS_InputStreamIsBuffered to detect buffered empty streams correctly. Bug368328, patch by Ryan Jones <sciguyryan@gmail.com>, r=bsmedberg, sr=biesi 2007-06-08 09:00:09 -07:00
peterv@propagandism.org
21da11d098 Fix for bug 383651 (Re-entrancy into nsCycleCollector::Collect can result in a crash). Patch by ak.miller@auckland.ac.nz, r=graydon, sr=dbaron. 2007-06-08 03:17:21 -07:00
dbaron@dbaron.org
35b99373e1 Don't loop through all the possible shutdown collections when we suspect all native wrappers. b=383234 r+sr=peterv 2007-06-06 15:09:00 -07:00
dbaron@dbaron.org
71c86c8017 Shutdown in one cycle when we set mScanDelay to 0. b=383234 r+sr=peterv 2007-06-06 15:08:25 -07:00