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

1022 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 9492393f92 Bug 883657, part 1 - Run mozJSComponentLoader::UnloadModules() before the shutdown CC. r=bsmedberg 2013-06-25 08:42:39 -07:00
Chris Peterson febd752e5f Bug 883729 - Fix -Wnull-conversion warnings in xpcom. r=bsmedberg 2013-06-13 20:57:47 -07:00
Julian Seward eb8e819973 Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ryan VanderMeulen 1f38b1f993 Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
CLOSED TREE
2013-05-17 17:30:20 -04:00
Mihai Sucan 2132f8743c Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz 2013-05-16 20:23:46 +03:00
Ted Mielczarek 3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Mats Palmgren 6b7625b8b6 Bug 867530 - Initialize the poison value in XPCOM startup and annotate the values in crash reporter. r=bsmedberg 2013-05-07 20:48:59 +02:00
Andrew McCreight c88229fdd3 Bug 863085, part 2 - remove NS_CycleCollectorForget2 from some XPCOM glue. r=bsmedberg 2013-05-01 15:36:03 -07:00
Andrew McCreight 3c9c388be6 Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Aryeh Gregor f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Bobby Holley cdc53258c4 Bug 864363 - Force layout initialization in XPCOM initialization. r=bsmedberg 2013-04-22 16:49:52 -04:00
Bobby Holley 7ee9aa1a42 Back out bug 863646 for make check orange (TestStartupCache). 2013-04-19 18:28:53 -04:00
Bobby Holley 442373cbdb Bug 863646 - Force layout initialization in XPCOM initialization. r=bsmedberg 2013-04-19 16:03:24 -04:00
Benoit Girard cbe0e4945b Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 22eeccdcee83e3fd03687e6b969b143502a9c5fc
2013-04-18 11:34:49 -04:00
Ryan VanderMeulen 72635c5a76 Backed out 3 changesets (bug 734691, bug 862500) for leaks.
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
Benoit Girard 093dfd766b Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 8b887475b97e3562ca5fd73e93eaa9edab8ef1fb
2013-04-17 12:53:15 -04:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Trevor Saunders 3f28a1017c bug 860027 - export a header declaring XPTInterfaceInfoManager r=bsmedberg 2013-03-08 21:54:10 -05:00
aceman 839310031c Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Trevor Saunders 910e36a49a bug 856349 - remove useless SHORT_LIBNAME assignments r=glandium 2013-03-30 15:42:45 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Honza Bambas 65652b61ac Bug 729182 - Implement visual event tracer, part2 - event tracer service, r=ehsan 2013-03-28 18:38:05 +01:00
Mike Hommey 347a7c2d09 Bug 852950 - Kill libxpcom. r=bsmedberg
Also refactored the xpcom standalone glue to reside in a single file and
removed its use of realpath().

--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Kyle Huey 9c93e2fd41 Bug 839025: Refactor cycle collector thread handling to make it optional. r=mccr8 2013-03-25 14:26:00 -07:00
Benoit Girard 042e2c83ad Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard c47f308258 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Mike Hommey 8cf8cff7ce Backout changeset f12e5c87adf6 (bug 852950) because it breaks running from dist/bin 2013-03-20 23:59:45 +01:00
Mike Hommey fa1c295631 Bug 852950 - Kill libxpcom. r=bsmedberg
--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley 3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard 919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Rafael Ávila de Espíndola 8477b73a0a Bug 848020 - Do we really have to poison NtFlushBuffersFile? r=BenWa. 2013-03-07 15:28:05 -05:00
Rafael Ávila de Espíndola 057519ce40 Bug 847468 - Poison NtWriteFileGather. r=BenWa.
--HG--
extra : rebase_source : 23ad1eec802f547504e08aa5dc8e7d90b2bf0708
2013-03-07 10:02:33 -05:00
Rafael Ávila de Espíndola ffdd877205 Bug 848036 - Move poisoning after NS_XPCOM_SHUTDOWN_LOADERS_OBSERVER_ID. r=BenWa.
--HG--
extra : rebase_source : 06f7625a901f1b69b5850ae76c9ff24e99081173
2013-03-06 16:04:58 -05:00
Rafael Ávila de Espíndola e4657f3d78 Bug 846471 - Poison NtWriteFile. r=BenWa. 2013-03-06 10:11:57 -05:00
Rafael Ávila de Espíndola 0113db4727 Bug 847492 - Don't special case stdin and stdout. r=BenWa.
--HG--
extra : rebase_source : 58a609481abcf040ad2a2e6a0971853cac9fe91d
2013-03-04 14:06:19 -05:00
Rafael Ávila de Espíndola 7edb5f99cf Bug 846298 - Misc cleanups to the write poisoning base/OS split. r=BenWa. 2013-02-28 16:35:18 -05:00
Rafael Ávila de Espíndola 1a000924e5 Bug 845613 - Locking issues in the write poisoning code. r=BenWa.
--HG--
extra : rebase_source : 49cbd361b1cd22e7d47546ec1c0292674b156f07
2013-02-28 11:34:58 -05:00
Gregory Szorc 8958bacc6e Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Rafael Ávila de Espíndola c3fdb25c61 Bug 841145 - use MOZ_SHUTDOWN_CHECKS to control what we do with late writes. r=vladan. 2013-02-15 08:08:19 -05:00
Rafael Ávila de Espíndola adc64eeaba Bug 840758 - Get the profile directory earlier. r=BenWa. 2013-02-13 13:53:21 -05:00
Rafael Ávila de Espíndola f9fd854e04 Revert fa1f52704c9e. r=bustage.
--HG--
extra : rebase_source : 0902425782990758102c17fbfb6918b36aba39af
2013-02-13 08:54:32 -05:00
Rafael Ávila de Espíndola 94c8150cf2 Bug 840758 - Get the profile directory earlier. r=BenWa. 2013-02-13 08:08:40 -05:00
Rafael Ávila de Espíndola ab7df06f02 Bug 840633 - style fix. r=smaug. 2013-02-12 14:43:52 -05:00
Rafael Ávila de Espíndola 8d8ceadb10 Bug 704030 - Make the "all connections closed" check available on non debug builds. r=vladan.
--HG--
extra : rebase_source : 6f39e1e00b39e7356d29c4f5e3f77fa51ba49a16
2013-02-11 12:05:59 -05:00
Rafael Ávila de Espíndola 5fdc698b71 Bug 834945 - GC triggers a late DB write during shutdown. r=vladan. 2013-02-06 16:45:38 -05:00
Bill Gianopoulos 1ed94a89b5 Bug 832973 nullptr undeclared under Windows VC9 r=ehsan a=nonlibxul DONTBUILD 2013-01-22 14:06:45 +08:00
Steve Fink 9effec722d Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink d8da3e7b9a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink 0dee2fb42d Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Benoit Girard d3f87cf69c Bug 820852 - Implement write poisoning on Windows. r=ehsan,espindola 2013-01-10 16:50:16 -05:00
Rafael Ávila de Espíndola 625d279602 Bug 830584 - Write and read the module id to/from the late writes file. r=vladan. 2013-01-15 18:55:35 -05:00
Mats Palmgren 5f5d30eb5b Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan 2013-01-15 13:22:03 +01:00
Dave Hylands b7289615c5 Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong
From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
 file. Prefer sdcard for download
---
 toolkit/mozapps/update/updater/updater.cpp |   53 +++++++++++++++++++++++++---
 toolkit/xre/nsUpdateDriver.cpp             |   13 +++++--
 2 files changed, 60 insertions(+), 6 deletions(-)
2012-12-14 16:06:41 -08:00
Phil Ringnalda 69566d191b Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands 6e678052db Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong
From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
 file. Prefer sdcard for download
---
 toolkit/mozapps/update/updater/updater.cpp |   53 +++++++++++++++++++++++++---
 toolkit/xre/nsUpdateDriver.cpp             |   13 +++++--
 2 files changed, 60 insertions(+), 6 deletions(-)
2012-12-14 16:06:41 -08:00
Nicholas Nethercote 1c4b07debe Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Rafael Ávila de Espíndola 9eb5cdb511 Bug 826029 - Assertion in mozPoisonWriteMac due to Mac camera code trying to write a defaults file on exit | Assertion failure: ok, at ../../../xpcom/build/mozPoisonWriteMac.cpp:90. r=ehsan. 2013-01-04 10:27:41 -05:00
Ed Morley e1feef974c Backout bfeb3bc3da4e (bug 826029) for WINNT xpcshell failures 2013-01-03 10:17:14 +00:00
Rafael Ávila de Espíndola 4ca30d5e47 Bug 826029 - Assertion in mozPoisonWriteMac due to Mac camera code trying to write a defaults file on exit | Assertion failure: ok, at ../../../xpcom/build/mozPoisonWriteMac.cpp:90. r=ehsan.
--HG--
extra : rebase_source : 511835e6d24a0b58b5c9eb684b258456b7a7019e
2013-01-02 21:04:10 -05:00
Rafael Ávila de Espíndola 5168dcec81 Bug 822825 - Java plugin hits mozPoisonWriteMac ValidWriteAssert assertion on shutdown. r=BenWa. 2012-12-25 19:27:01 -05:00
Rafael Ávila de Espíndola d81584a36d Bug 821534 - move mozilla::PoisonWrite one line earlier. r=ehsan. 2012-12-17 10:13:36 -05:00
Bas Schouten 5c2da9fbfd Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Benoit Girard 8124a450e6 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Ehsan Akhgari 33a9b305c1 Backed out 3 changesets (bug 799640) on the suspicion of regressing Tp5 by 50%
Backed out changeset 133c704dbcc6 (bug 799640)
Backed out changeset b130bb991d84 (bug 799640)
Backed out changeset e47b059493cf (bug 799640)
2012-11-30 16:05:13 -05:00
Benoit Girard ff46d9c9c6 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Rafael Ávila de Espíndola 968fb57de6 Bug 808699 - Change the wire format for hang reports. r=vladan. 2012-11-20 09:45:14 -05:00
Rafael Ávila de Espíndola f518b77a02 Bug 804828 - Talagent trips ValidWriteAssert (when Firefox tries to restart in safe mode due to previous crashes). r=ted.
--HG--
extra : rebase_source : dd4a3dec5204181a4c421d84daccf9ea172757c8
2012-10-31 14:18:03 -04:00
Nathan Froyd 4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Kartikaya Gupta 3f8b30e6af Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar
--HG--
rename : xpcom/base/MemoryInfoDumper.h => xpcom/base/nsIMemoryInfoDumper.idl
rename : xpcom/base/MemoryInfoDumper.cpp => xpcom/base/nsMemoryInfoDumper.cpp
2012-10-29 20:41:14 -04:00
Justin Lebar 44939db1c5 Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Rafael Ávila de Espíndola 855e1fdf1f Bug 777122 - Add telemetry reporting of late writes. r=jlebar. 2012-10-24 15:42:54 -04:00
Phil Ringnalda 76826e4d74 Back out 46e58a7ec55e and 597981ef2ef5 (bug 777122) for Windows build failures 2012-10-24 07:38:20 -07:00
Rafael Ávila de Espíndola 443d96209d Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
Nit missing from the previous patch.
DONTBUILD.

--HG--
extra : rebase_source : 884ab78cdac4708b477a0ba5c32b921119f05737
2012-10-24 09:30:41 -04:00
Rafael Ávila de Espíndola 25461f7b40 Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
Record late writes to disk and unique them with sha1.
2012-10-24 09:27:49 -04:00
Mike Hommey cfde56bf95 Bug 797717 - Initialize SPS in NS_InitXPCOM2 to make JS sampling work in xpcshell. r=benwa 2012-10-06 10:37:45 +02:00
Chris Pearce d7f1641d0d Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Rafael Ávila de Espíndola 2b93b54e8e Bug 797340 - Upgrade mach_override. r=ted. 2012-10-03 10:10:08 -04:00
Nathan Froyd 2a14d9b274 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari bd2885b68c Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Nathan Froyd c2fddb8f07 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Marshall Culpepper 7ad8f721a7 Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ed Morley 1d13562fd1 Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows 2012-09-25 13:46:25 +01:00
Chris Pearce 323629e5cb Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Nathan Froyd 54c3f613a8 Bug 792169 - introduce better, safer constructors for nsArray; r=bsmedberg 2012-09-21 12:12:32 -04:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Rafael Ávila de Espíndola a5a56227be Bug 786019 - gcc 4.2 is dead, simplify code that was complicated because of
gcc 4.2 support.
2012-09-10 09:19:46 -04:00
Aryeh Gregor bbd1767cdb Bug 783869 part 3 - Make nsDirectoryService::RealInit infallible; r=bsmedberg 2012-08-21 15:02:37 +03:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Vladan Djeric e47872d493 Bug 778671: Fix two crashes in Telemetry. r=espindola 2012-08-31 15:20:20 -04:00
Andrew McCreight 5a7f7d30e1 Bug 785666 - Remove old-style CC Suspect and Forget functions. r=smaug,bsmedberg 2012-08-27 10:28:38 -07:00
Andrew McCreight d5b4c64064 Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
We add a new field to purple buffer entries, to store the participant for
non-nsISupports classes. For nsISupports, we store NULL instead. The participant
has to be passed into Suspect2.

In the cycle collector itself, we generalize canonicalization to handle the
possibility that we can just grab the participant directly from a field,
rather than needing to QI something.

Most of the patch is just routing around this extra pointer.
2012-08-24 09:50:06 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola 56d1a6d649 Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Rafael Ávila de Espíndola 9c483afff4 Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Ms2ger 5f4593aa2e Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Rafael Ávila de Espíndola 22b5f769a0 Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
patch2: Enable on release builds and record the last write to disk.
2012-08-07 17:49:30 -04:00
Chris Peterson d05164da7b Bug 780212 - Fix buffer overflow beyond MAXPATHLEN when querying Android's GRE_HOME. r=glandium
--HG--
extra : rebase_source : e8cb8082ac48e3725ad3153fb29fcc89840e867a
2012-08-02 09:50:42 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Rafael Ávila de Espíndola 617db9529a Bug 777122 - Add telemetry reporting of late writes. r=nfroyd.
patch1: drop aborts.
2012-08-02 14:05:54 -04:00
Nathan Froyd 4328d1be09 Bug 778220 - remove $(wildcard *.$(OBJ_SUFFIX)) calls from xpcom Makefiles; r=glandium 2012-07-27 14:15:01 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Rafael Ávila de Espíndola bdf274f8f7 Bug 773903 - ~1s shutdown delay in xpcshell in xpcom shutdown. r=ted.
This just updates mach_override.c to a version that has a faster search for
an available spot to put the branch island.
2012-07-23 14:49:06 -04:00
Aryeh Gregor dde10d9130 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Benjamin Smedberg b341414c8f Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Honza Bambas 356f7e8cc6 Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg 2012-07-11 20:20:17 +02:00
Ryan VanderMeulen 13fc9bf9b8 Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Honza Bambas cf912de8e4 Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg 2012-07-10 23:49:18 +02:00
Rafael Ávila de Espíndola bc46f77176 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Mike Hommey c94455deff Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg 2012-06-15 08:23:08 +02:00
Honza Bambas fd7f8a3858 Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan 2012-06-12 19:06:21 +02:00
Honza Bambas fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jim Mathies 81bcae808c Bug 750911 - Add a third 'flags' parameter to XRE_main and add support for WindowsEnvironmentType. r=bsmedberg 2012-05-25 05:01:29 -05:00
Ehsan Akhgari 2362f4b5ee Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp 1bb7799846 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
David Rajchenbach-Teller 6f228de18f Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman f8c8184e2b Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller b219309fc2 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Justin Lebar 7bfb741688 Bug 741540 - Add AvailableMemoryTracker's hooks before any threads have started up. r=bsmedberg
--HG--
extra : rebase_source : 5135df39b3ae022e75f8651b2e10a378edbae158
2012-04-09 13:53:08 -04:00
Michael Wu bbcee4bb27 Bug 742107 - Use GRE_HOME or /system/b2g on Gonk, r=glandium 2012-04-04 20:24:10 -07:00
Mark Capella bfa59371ce Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Justin Lebar 69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Mike Hommey af0ef99a2c Bug 728071 part 1 - Move nsXREAppData definition in a separate header, and use it from application.ini.h. r=bsmedberg 2012-02-22 08:12:15 +01:00
Makoto Kato 9b08baf531 Bug 727367 - xpcom/build has references of xpcom/proxy. r=bsmedberg 2012-02-16 10:08:00 +09:00
Michael Wu 5f7e8936f8 Bug 712789 - Put packed xpi extensions in the extension lists, r=bsmedberg 2012-02-13 13:57:28 -05:00
Jacek Caban 42dc2181a8 Bug 724864 - perfprobe.cpp doesn't compile on mingw r=Yoric 2012-02-08 11:53:52 +01:00
Benjamin Smedberg 7e07fb61e1 Bug 716594 - Switch nsBinaryInputStream::ReadBytes back to using the fallible allocator because it correctly checks for allocation errors and streams are untrusted input we should try to work with, r=dbaron 2012-02-07 13:06:05 -05:00
David Rajchenbach-Teller 2374512d9b Bug 696033 - Add xperf probes (the API); r=glandium 2012-02-05 22:49:37 +00:00
Jonathan Watt dbb7cecf4b Bug 721210 - Remove dead include paths from XPCOM Makefiles. r=bsmedberg. 2012-01-19 15:07:01 +00:00
Justin Lebar 841722744a Bug 716523 - ClearOnShutdown() should assert if called after XPCOM shutdown. r=bsmedberg
--HG--
extra : rebase_source : 7b25ac2044f1ecf88ca44aa48447cbfe1fc807cd
2012-01-26 15:54:03 -05:00
Nicholas Nethercote 91f119ffce Bug 715770 (part 3) - Remove nsRecyclingAllocator. r=bsmedberg. 2012-01-17 17:29:52 -08:00
Makoto Kato c4f175ebed Bug 710112 - cleanup xpcom/io for windows (reduce LoadLibrary/PR_LoadLibrary). r=jimm 2012-01-16 10:54:20 +09:00
Justin Wood 8d1574cbb9 Bug 714967 - Support mozilla::services with external linkage. r=bsmedberg 2012-01-05 02:04:48 -05:00
Benjamin Smedberg 00e37f7b43 Bug 675221 part B - remove the implementation of XPCOM proxies, sr=dougt 2012-01-11 11:28:21 -05:00
Vladan Djeric 9e9287e28a Bug 708962 - Start Telemetry service at application start to avoid deadlock from GetService spinning event loop. r=benjamin 2012-01-10 15:29:58 -05:00
Ms2ger 41881a88d1 Bug 711838 - Remove the jetpack service; r=bsmedberg
Change to toolkit-makefiles.sh r=edmorley
2011-12-24 09:25:52 +01:00
Michael Wu 9d176e161f Bug 710029 - Assorted build system tweaks for B2G/Gonk. r=khuey 2011-12-16 13:26:32 -08:00
Justin Lebar 8e06b410dd Bug 670967 - Part 2: Wrap VirtualAlloc and friends, firing a low-memory notification if we notice that we're running low on virtual or physical memory after the wrapped function completes. r=bsmedberg
--HG--
extra : rebase_source : 95e8f6c1bd89991ff04b031795fb2b2c2d750849
2011-12-15 14:48:38 -05:00
Neil Rashbrook daba677bf4 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Mike Hommey 0887a4ec9e Bug 695843 part 10 - Allow nested omni.jar and build one for Android. r=bsmedberg 2011-12-08 11:03:36 +01:00
Mike Hommey 511d9f638c Bug 695843 part 5 - Add a FileLocation class to either store a pair (zip, path) or a file, and do some operations on these. r=bsmedberg,mwu 2011-12-08 11:03:36 +01:00