Граф коммитов

1226 Коммитов

Автор SHA1 Сообщение Дата
dbaron@dbaron.org 0b50565733 Print shortest path to expected garbage for unlink deficiencies as well. b=422848 r+sr=peterv a=DEBUG_CC only (not part of default build) 2008-03-27 10:09:51 -07:00
Benjamin Smedberg daa1480d05 Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-20 12:42:05 -04:00
timeless@mozdev.org 7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org 022712406a Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
dbaron@dbaron.org b1f404f0bb Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
reed@reedloden.com 17bf692bc0 Bug 418131 - "Need a way to detect GTK+ version so we don't break users on major update" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg sr=dveditz a=blocking-firefox3+] 2008-03-14 08:42:34 -07:00
benjamin@smedbergs.us 0864212f35 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
2008-03-12 16:32:37 -04:00
reed@reedloden.com bb454ebb6a Bug 414063 - "annotate xpidl-generated c++ headers with attributes for scriptable and deprecated methods" [p=Pidgeot18@gmail.com (Joshua Cranmer) r=dbradley a1.9=damons] 2008-03-12 04:00:24 -07:00
blassey@mozilla.com 6cc9d5a4ed backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com ff89c4a3fb switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
benjamin@smedbergs.us f7f9006427 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-10 17:07:41 -04:00
dbaron@dbaron.org 57f729547a Fix DEBUG_CC bustage on Windows resulting from bug 402966 (and bug 407034). r+sr=peterv a=Not part of the default build (DEBUG_CC only) 2008-03-07 09:55:51 -08:00
vladimir@pobox.com a2838e38fa leftover bit from earlier 392351; get rid of compiler warnings 2008-03-05 22:39:36 -08:00
vladimir@pobox.com 262a9caf19 b=392351, implement about:memory framework core, relading with forward-declaration victory; r=shaver,sr=bsdmedberg 2008-03-05 17:28:25 -08:00
vladimir@pobox.com ef5f5b5bcb backed out 2008-03-05 16:54:15 -08:00
vladimir@pobox.com 0a78e520be b=392351, implement about:memory framework core r=shaver, sr=bsmedberg 2008-03-05 16:40:58 -08:00
blassey@mozilla.com 81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
reed@reedloden.com fedafe097c Back out Ventron's patch from bug 418131 due to build failures on debug machines. 2008-03-05 03:36:37 -08:00
reed@reedloden.com c2e92975c2 Bustage fix for bug 418131 (try #3). 2008-03-05 03:26:06 -08:00
reed@reedloden.com 040d0c6c77 Bustage fix for bug 418131 (try #2). 2008-03-05 03:10:35 -08:00
reed@reedloden.com 6e3cd5813f Bustage fix for bug 418131. 2008-03-05 02:56:33 -08:00
reed@reedloden.com 66fe91f8ce Bug 418131 - "Need a way to detect GTK+ version so we don't break users on major update" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg sr=dveditz a=blocking-firefox3+] 2008-03-05 02:30:30 -08:00
benjamin@smedbergs.us e623eb1082 Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-27 11:33:49 -05:00
benjamin@smedbergs.us 62231824a0 Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek 2008-02-27 11:28:13 -05:00
Olli.Pettay@helsinki.fi 3420acbf36 Bug 415025, try to improve CC scheduling, r=peterv, sr=jst 2008-02-25 09:47:25 -08:00
roc+@cs.cmu.edu dd0891eed8 Bug 417903. Don't crash if _SymGetLineFromAddr64 fails. r=benjamin,a=beltzner 2008-02-24 17:16:41 -08:00
dougt@meer.net a1ca1ae26e Fixes for Windows CE. b=418662, r=bsmedberg, a=damons 2008-02-22 16:22:47 -08:00
joshmoz@gmail.com 97a4d21ae9 touch nsObjCExceptions.h to force a rebuild. 2008-02-22 13:26:33 -08:00
bent.mozilla@gmail.com 8fdba1cac1 Bug 414977 - "insufficient unlink methods in some DOM classes?". Move the warning until after XPConnect deferred releases, r=dbaron, sr=peterv, a=blocking1.9+. 2008-02-22 12:25:12 -08:00
benjamin@smedbergs.us 1141ded71b Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
joshmoz@gmail.com e318b8afab nsnull version of wrapping macros. b=417563 sr=roc 2008-02-19 18:23:52 -08:00
joshmoz@gmail.com e9cf713e34 obj-c exceptions work. b=417558 r=shebs sr=roc 2008-02-18 09:30:59 -08:00
peterv@propagandism.org 7635acb120 Fix DEBUG_CC builds. 2008-02-15 14:23:16 -08:00
peterv@propagandism.org 8c763bd6fa Fix for bug 405128 (Remove some nsDeque use from cycle collector). r/sr=dbaron, a=beltzner. 2008-02-15 05:12:55 -08:00
joshmoz@gmail.com c545189a81 Infrastructure for catching Obj-C exceptions. Cocoa appshell usage. b=163260 r=shebs sr=roc 2008-02-13 15:11:11 -08:00
jag@tty.nl c3f55ebe4f Bug 416843: gqi.py generates dependency information that MSYS doesn't understand. r=bsmedberg, a=stuart 2008-02-13 00:13:33 -08:00
benjamin@smedbergs.us c00f226f8e Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking 2008-02-12 11:46:26 -08:00
jwalden@mit.edu 7f2e5c9a06 Bug 397929 - Convert GetMessage APIs to GetMessageMoz APIs, at the C++ symbol level only (vtables remain the same), to work around brain-dead, idiotic, insane Windows API macros. r=bsmedberg, a=schrep 2008-02-11 20:11:07 -08:00
dbaron@dbaron.org d318cc2c22 Warn when Unlink doesn't do what it should. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only) 2008-02-08 11:48:51 -08:00
dbaron@dbaron.org 0b4a15ddfa And actually get the right bug number. b=415426 (which is what the previous checkin was for as well) 2008-02-03 11:59:07 -08:00
dbaron@dbaron.org d05c9ec0d8 Switch back to evil casts, which are the only solution that works across SDK version. b=415252 2008-02-03 11:51:14 -08:00
dbaron@dbaron.org 775c2226ec Match new (more-const) signature for PENUMLOADED_MODULES_CALLBACK and PENUMLOADED_MODULES_CALLBACK64. b=415426 Fixing bustage on Windows tinderbox from SDK upgrade. 2008-02-03 11:34:31 -08:00
peterv@propagandism.org 17f5f4406d Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
peterv@propagandism.org 8affa46361 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org 55896575d9 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
benjamin@smedbergs.us adac3963d9 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
reed@reedloden.com d475e3dbc6 Bug 376530 - "Fix CycleCollector building with uClibc library" [p=romaxa@gmail.com (romaxa) r+sr=peterv a1.9=schrep] 2008-01-21 16:17:41 -08:00
dbaron@dbaron.org 79ec4ed625 Fix DEBUG_CC bustage treating all XPConnect roots as expected garbage. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only). 2008-01-11 14:24:04 -08:00
dbaron@dbaron.org 91fb33093f Fix DEBUG_CC bustage from bug 402966. All changes #ifdef DEBUG_CC (not part of the default build). 2008-01-10 14:27:07 -08:00
peterv@propagandism.org 0c31e852c0 Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron. 2008-01-10 06:10:03 -08:00
mozilla@weilbacher.org 27c0959598 [OS/2] Bug 404407: improve memory consumption on OS/2. Part 1, call heapmin after cycle collection, r=dbaron 2008-01-09 13:14:08 -08:00
bzbarsky@mit.edu fd3cb56ede Make non-threadsafe addreff/release in nsAgg assert the owning thread. Bug 410746, r+sr=bsmedberg 2008-01-09 13:14:02 -08:00
bzbarsky@mit.edu f7d3a0cddc Report cycle collector faults to the error console and the observer service. Bug 410295, r+sr=peterv, a=schrep 2008-01-06 14:05:10 -08:00
jruderman@hmc.edu 0dbf90be29 Fix DEBUG_CC compilation error (bug 410036). r+sr=peterv, a=blocking1.9+. DEBUG_CC-only change. 2008-01-04 19:57:09 -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
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
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
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
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
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
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
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
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
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 dca0f40dcc Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 16:37:22 -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
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
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
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 5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -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
dbaron@dbaron.org e940cfb755 Explain another possibility in this debugging printf. DEBUG_CC only. 2007-07-14 12:06:10 -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