Commit Graph

8891 Commits

Author SHA1 Message Date
Jonas Sicking
fc6be95da8 Bug 549743: Abort if cycle collected object is refcounted from threads other than the main thread. Such refcounting will randomly cause leaks and crashes anyway, so better crash up front to make sure developers notice. r=dbaron 2010-03-02 16:04:34 -08:00
Ginn Chen
b4156f2e01 Bug 542738 nsLocalFile::IsWritable/IsReadable/IsExecutable is wrong on Solaris r=dougt 2010-03-02 13:51:57 +08:00
Ginn Chen
33795445d8 Bug 537071 Add x86_64 Solaris support for xpcom/reflect/xptcall r=jst 2010-03-02 13:51:40 +08:00
Benjamin Smedberg
a9da59df7f Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad 2009-11-12 14:37:34 -05:00
Chris Jones
29f7a03ce4 Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc 2010-03-01 15:44:05 -06:00
Robert O'Callahan
55bdccccb5 Bug 534425. Part 3: Make nsRefPtr be more lenient about initializing from an already_AddRefed. r=bsmedberg 2010-03-01 20:56:18 +13:00
timeless@mozdev.org
c57d00faa1 Bug 503638 OOM crash [@ PL_DHashTableOperate | _MD_CURRENT_THREAD] in nsCycleCollector
r=dbaron
2010-02-28 11:23:59 +01:00
Jonas Sicking
89ab174884 Bug 549098: Work around expected asserts by disabling tests in debug builds. r=dbaron 2010-02-27 13:15:51 -08:00
Neil Rashbrook
b8cb130a03 Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron 2010-02-27 16:01:53 +00:00
Karl Tomlinson
30883fb3f1 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
bjarne@runitsoft.com
b7ad048a8a Bug 513074 - remove sync writes from current cache, r=biesi,michal.novotny sr=bzbarsky 2010-02-23 10:13:18 -08:00
Jonas Sicking
21ba749fb2 Bug 541245 part 4: Be consistent about prohibited characters such as 0xFFFE in UTF8<->UTF16 conversion code. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking
912342472e Bug 541245 part 3: Add UTF8/UTF16 encoding/decoding/comparison tests. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking
2eb1e75087 Bug 541245 part 2: Make UTF8<->UTF16 comparison code consistent in the face of badly encoded strings. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking
5db97f9537 Bug 422868 part 1: Fix UTF8 <-> UTF16 conversion code to deal with all encoding errors consistently. r=smontagu 2010-02-23 09:38:10 -08:00
Saint Wesonga
5d2c924b93 Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Oleg Romashin
a9081687b4 Bug 547008 - osso-mem.h in nsMemoryImpl.cpp is not used, and should be removed. r=dougt
--HG--
extra : rebase_source : 35638f5dd120786826ee0f9891e3d00940bbb037
2010-02-19 00:04:39 +02:00
Mike Hommey
c66ab8b2e5 Bug 544835 - Remove leftovers from bug 476903. r=bsmedberg 2010-02-20 19:11:57 +01:00
Neil Rashbrook
342037afb9 Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Oleg Romashin
040cc3c6c6 Bug 540545 - NS_ERROR is very annoying in X86 maemo builds. r=dougt
--HG--
extra : rebase_source : 3355bf2092ded94c75bc733f2c36c51428dd53ef
2010-02-18 23:52:54 +02:00
Benjamin Smedberg
3913348852 Followup to bug 541446 - nsIEnvironment.set will intentionally leak a string when you call it because that is required by the PR_SetEnv API. Make that string something which is not tracked by our leak detector
--HG--
extra : rebase_source : 2bdaf8d6ce3a8d093c107eeb9a4b2d4643ba0136
2010-02-10 12:57:46 -05:00
Mark Banner
7546a30a33 Bustage fix following bug 541594 - revert NS_strtok change that appears to be causing hangs and fix ini parser to work as intended. rs=dolske 2010-02-10 11:55:18 +00:00
Justin Dolske
efed813bd9 Bug 540532 - allow setting report submission preference via XPCOM. r=gavin, r=ted 2010-02-09 17:05:31 -08:00
Justin Dolske
3e1253bd35 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Doug Turner
7892aabac9 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Jae-Seong Lee-Russo
082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Roger Dicke
5fde65dee4 Bug 529978 - xpcom analysis Makefile produces error about ".deps". r=bsmedberg 2010-02-06 09:48:24 +01:00
Mitchell Field
f9279e35d6 Bug 542222 - Followup fix for Reduce recursion in makefiles. r=rstrong 2010-02-05 23:25:10 -08:00
Walter Meinl
5511b8f432 Bug 536451 - OS/2 cannot handle mozsqlite3.dll. r=ted
--HG--
extra : rebase_source : c1a6deb7130b1142ca58dad88a34ecdcda75a378
2010-02-04 15:51:02 +01:00
Shailen
aaca6a970a Bug 516667 - Adding bookmarks fails on AIX. r=gal, sr=bsmedberg 2010-02-04 15:01:19 +01:00
Benjamin Smedberg
d5eb4d3947 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Phil Ringnalda
aad9286db4 Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Justin Lebar
2fc408988c Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Walter Meinl
43002a197f Bug 536269: Fix build bustage on OS/2 in xpcom/build/dlldeps.cpp r=bsmedberg 2010-01-30 07:45:56 -05:00
Daniel Holbert
585d440f02 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Benjamin Smedberg
61151bb803 But 535564 part 3 - don't inherit leak/bloat log handles from parent to child processes on Windows: the Java plugin spawns a process which can remain after our Firefox/plugin processes are properly cleaned up, preventing the log files from being closed, r=jgriffin over IRC
--HG--
extra : rebase_source : 413e125c087f8e8c37f9f3dec372521e709760e5
2010-01-27 11:19:50 -05:00
Palo Misik
d4c2344fc8 Bug 530505: Rev IID on various interfaces for Gecko 1.9.3 r=bsmedberg 2010-01-23 11:34:08 -05:00
Chris Jones
273e53136e bug 539552 - keep track of child process minidumps, offer pid based lookup API, write out .extra data in child minidump callback. r=ted,bsmedberg
--HG--
extra : transplant_source : %C2x%AA%8C%9E%FF%05%9A%9A%86aw%09L%A1%FAQ%DATG
2010-01-14 17:38:00 -05:00
Marco Perez
f736cea6af Bug 536877 - Mozilla builds on FreeBSD (x86-64 only) broken. r=bsmedberg 2010-01-21 13:18:46 +01:00
Gavin Sharp
31276f0b51 Bug 538920: give nsIObserver the "function" attribute to allow directly passing JS function objects to nsIObserverService::addObserver, r=bsmedberg 2010-01-11 05:01:38 -05:00
Brad Lassey
b6911710c1 bug 537288 - xptcinvoke for windows ce arm is incompatible with ARMv7 and newer r=vlad, Jacob.Bramley@arm.com
--HG--
extra : rebase_source : fe9a32d7837668d1163ea755248e3e672dc538cd
2010-01-19 11:42:40 -05:00
Jacek Caban
aaf24fc497 Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Chris Jones
64066276b0 Bustage fix: work around XRE hackery.
--HG--
extra : rebase_source : 369e571b7e2dcd78bb6d1cd4c0aa470f43b623bf
2010-01-12 17:42:58 -06:00
Chris Jones
6d065b2d57 Bug 516759: Use OOP crash reporting in Gecko. r=luser
--HG--
extra : rebase_source : 1949d23a5ce0c15c266d9e67e6a6be7d650a51df
2010-01-12 15:14:38 -06:00
Daniel Holbert
b9edc442d1 fix for thunderbird bustage from Bug 474743. (need <stdio.h> in new xpcshell test for 'printf' usage) 2010-01-12 12:56:16 -08:00
Brian Birtles
888c897c0d Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg 2010-01-12 12:00:49 -08:00
L. David Baron
51ff23326f Make GraphWalker use templates instead of virtual functions. (Bug 537547) r=smaug 2010-01-12 08:51:39 -08:00
Neil Rashbrook
b871244cc3 Bug 538476 Allow ToInteger to take an nsresult* parameter to match the external string API r=bsmedberg 2010-01-08 23:43:50 +00:00
Chris Jones
f3372c628f Bug 522126, part 3: Use POSIX-clock TimeStamp/TimeDuration implementation if configure.in says it's supported. r=luser 2010-01-07 11:21:33 -06:00
Chris Jones
e5a816f1aa Bug 522126, part 2: Add a POSIX clock (CLOCK_MONOTONIC) implementation of TimeStamp/TimeDuration. r=roc 2010-01-07 11:21:28 -06:00
Chris Jones
c10f70f476 Bug 522126, part 1: refactor TimeStamp/TimeDuration so that platform-specific implementations can be added. r=roc 2010-01-07 11:21:23 -06:00
Taras Glek
f53f4d4322 Bug 537158: Make fastload more robust r=brendan 2009-12-29 14:04:38 -08:00
Shailen
a4d195ce4a Bug 526450 - "AIX Compilation error for 3.7a1pre source xpcom/io/nsWildCard.cpp", line 455.20: 1540-0274 (S) The name lookup for "ns_WildCardMatch" did not find a declaration" [r=bsmedberg] 2009-11-04 03:19:00 -06:00
Brad Lassey
5aa436da67 bug 535894 - Crash under asmXPTC_InvokeByIndex r=crowder 2009-12-29 20:28:46 -05:00
Chris Jones
4cc7c33107 Bug 529134: Initialize tracemalloc in NS_LogInit() to ensure that tracemalloc is always thread safe. r=bsmedberg r=dbaron 2009-12-29 16:45:59 -06:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Jonas Sicking
e97d2a7def Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Jonas Sicking
c271233fbc Backed out changeset 4c88c8839a46 due to redness 2009-12-17 22:34:52 -08:00
Jonas Sicking
0e30967e65 Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Benjamin Smedberg
b51dfb8d55 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
timeless@mozdev.org
deba0c36da Bug 535106 solaris nsTraceRefcntImpl.cpp Error: Overloading ambiguity between "nsACString_internal::AppendInt(int)" and "nsACString_internal::AppendInt(unsigned)".
hi
r=smaug
2009-12-16 14:50:07 +01:00
Ginn Chen
b78a4cde6c Bug 534848 enable about:memory for Solaris r=vlad 2009-12-16 19:23:17 +08:00
Benjamin Smedberg
83b97480d2 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Chris Jones
119109144f bug 534922: quick and dirty hack to make NS_RUNTIMEABORT trigger the crashreporter on windows. r=bsmedberg 2009-12-15 15:40:30 -06:00
Benjamin Smedberg
a54e6acfd8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
636d74b114 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Chris Jones
35ac1f8cd2 fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Benjamin Smedberg
4e352d7aeb Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Peter Van der Beken
0cc50cea3d Make sure debugging code for topcrash bug 500105 brings up breakpad. r=dbaron. 2009-12-03 12:23:06 +01:00
Chris Jones
c47450d9a7 bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Chris Jones
677d4b14f9 bug 525172: from IPDL specs generate .cpp files with method definitions instead of everything in .h files. r=bsmedberg 2009-12-03 02:16:09 -06:00
Reed Loden
bf2102f393 Backout patch from bug 528964 due to bustage. 2009-12-03 03:18:52 -06:00
zbychs@gmail.com
521d6a18bb Bug 528964 - "Memory leak in GRE_GetGREPathWithProperties" [r=bsmedberg] 2009-12-03 03:07:44 -06:00
Gijs Kruitbosch
e9f3f00f0e Bug 527400 - Fix OOM null deref from bug 514872, r=jwalden+bmo, a=beltzner
--HG--
extra : rebase_source : 43a222a11bf131b8ef2420ef2d657c84ba452bb3
2009-12-02 19:48:48 +01:00
Benjamin Smedberg
e98d1daf07 Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Ted Mielczarek
92a98a2e95 Rename sqlite3 library to mozsqlite3, fixes compile problems and crashes on Mac OS X. b=513747 r=sdwilsh 2009-12-15 01:52:57 -05:00
cbiesinger@gmail.com
a07252cff6 Bug 529701 - nsCategoryCache could add a category observer twice in some situation (r=bsmedberg) 2009-11-25 13:50:01 -08:00
Ben Turner
d6b02dea8b Fix link warnings on windows 2009-11-25 15:41:58 -05:00
Brad Lassey
84b496e99b backing out bug 530087 due to talos segfault on maemo 2009-11-25 01:45:30 -05:00
Brad Lassey
d4881fd8e4 bug 530087 - improve xptcinvoke for linux on arm r=vlad a192=vlad 2009-11-24 21:12:28 -05:00
Benjamin Smedberg
e53a7195d5 Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Brad Lassey
bc18b05ef1 bug 530393 - improve xptcinvoke for Windows Mobile and Windows CE on ARM r=vlad
--HG--
rename : xpcom/reflect/xptcall/src/md/win32/xptc_arm_ceppc.asm => xpcom/reflect/xptcall/src/md/win32/xptcstubs_asm_ce.asm
2009-11-22 13:43:49 -05:00
Benjamin Smedberg
d74c6776f3 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Marco Bonardo
af309a7c02 Bug 522353 - nsCategoryCache is still observing category changes after xpcom-shutdown, r=biesi, moa=bsmedberg 2009-11-19 14:15:05 +01:00
Jonas Sicking
0b77e1fa89 Bug 526500: Fix bug in OOM handing for nsTSubstring::SetLength. Also change Capacity to return 0 rather than -1 for immutable strings to avoid similar surprises in the future. Finally Make SetCapacity return a boolean indicating success/failure to make it easier to check for oom handling. r=bsmedberg sr=dbaron 2009-11-18 17:14:29 -08:00
Olli Pettay
a3d05b9c16 Fixing bug 516113. Don't let new windows open up after we've started XPCOM shutdown. r=bsmedberg, a=blocking1.9.2+ 2009-11-20 14:25:11 -08:00
Ben Turner
483fbb36ea More better awesome trap on debug builds when we try to abort 2009-11-12 12:04:58 -08:00
Ben Turner
dfb3ff42de Make NS_DebugBreak trap as well as abort in debug builds 2009-11-12 11:44:25 -08:00
Benjamin Smedberg
d8c7dfc1dd Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Chris Jones
548d6d261d bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Jonathan Griffin
83119b405c Bug 519570. Fix build bustage on non-IPC builds. 2009-11-10 11:39:42 -08:00
Jonathan Griffin
e57f832609 Bug 519570. Log leaks for child processes in separate files, and handle them in automation.py. r=bsmedberg 2009-11-10 11:16:12 -08:00
Doug Turner
22bb3ebf84 Fixing comment in nsMemoryImpl.cpp 2009-12-01 12:29:55 -08:00
Doug Turner
edc6925e37 Bug 532039 - Improve perf of IsLowMemory. r=bsmedberg. 2009-12-02 00:24:19 -08:00
L. David Baron
8d607b1776 Add mozilla::AutoRestore to restore values at the end of a C++ scope. (Bug 518756) r=bsmedberg 2009-12-11 08:13:19 -08:00
L. David Baron
7b16d7e3f7 Add SSE.h to consolidate code for Intel CPU feature detection at both compile-time and run-time. (Bug 513422) r=vlad 2009-12-11 08:13:19 -08:00
Benjamin Smedberg
1d97bbb36a Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Chris Jones
4bb319dfc5 bug 526397: fix up command line init. no r=, minor 2009-11-03 23:12:18 -06:00
Drew Willcoxon
ef078616cb Bug 506814 - Get rid of GetPersistentDescriptor. r=josh 2009-11-10 20:46:16 +01:00