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

3346 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley 4f7dd51a89 Merge mozilla-central and inbound 2013-10-25 17:55:18 +01:00
Ed Morley ae834488ea Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mason Chang 35255b2c2b Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld 2013-10-24 17:09:33 -07:00
Mike Hommey 59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey 3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ed Morley 46392786ec Bug 930988 - mercurial-setup: Update the bugzilla.mozilla.org fingerprint to that of the new certificate; r=gps 2013-10-25 14:39:27 +01:00
Ed Morley 019abea10a Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Jonas Finnemann Jensen ef343c0f14 Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Aaron Klotz 4ff2db0e59 Bug 929763: Don't call TickSample::PopulateContext unless native stack walking is enabled; r=BenWa 2013-10-22 21:56:50 -07:00
Wes Kocher 16d6e76b4e Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Jim Mathies 357604de6e Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard 2013-10-22 08:30:06 -05:00
Ehsan Akhgari abcacdab4c Bug 928712 - Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 22:59:48 -04:00
Ehsan Akhgari 335322b66d Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage 2013-10-20 09:42:51 -04:00
Ehsan Akhgari 36f759e186 Bug 928712 = Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 09:10:07 -04:00
Ms2ger 006ccb9a4d Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps 2013-10-20 09:25:19 +02:00
Joshua Cranmer bd929500c8 Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps 2013-10-21 13:09:06 -05:00
Jed Davis dfdb1704c2 Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa 2013-10-16 14:42:49 -04:00
Anhad Jai Singh fbcb415eeb Bug 902209 - Add mach pastebin; r=gps 2013-10-16 10:13:00 -07:00
Aaron Klotz 84c1274b4a Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa 2013-10-15 13:06:20 -06:00
Aaron Klotz 8912cab0f9 Bug 921330: Fix sync unwind on Mac OS X. r=BenWa 2013-10-15 12:58:52 -06:00
Jed Davis ef7ff21509 Bug 919078 - Add js to async profiler start options. r=BenWa 2013-10-12 13:56:21 -04:00
Benoit Girard 3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Ms2ger 4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Jacek Caban c98f280e34 Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz 2013-10-03 10:53:07 +02:00
Ms2ger f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger d1e1fda3b3 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Graeme McCutcheon 6e1e102d0c Bug 893830 - Followup based on feedback: output both forms by default. r=gps DONTBUILD 2013-10-02 09:06:39 +01:00
Phil Ringnalda a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard 43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Aaron Klotz 44e3459f45 Bug 888534: Add support for Create, Stat and Close operations to IOInterposer. r=jonasfj
--HG--
extra : rebase_source : 6b7e75ae35e3250383f3990dce2680df44f4ec68
2013-10-01 13:53:19 -06:00
Benoit Girard 84c9211fca Bug 920909 - Fix lossy startTime fields serialization. r=ehsan 2013-09-27 11:51:25 -04:00
Ryan VanderMeulen 4875847fa7 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching 939077cb0b Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta 6b7e07f87d Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching 602a2edbcb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Ed Morley 226567492a Bug 909937 - Output more useful error messages for |mach mercurial-setup| parsing exceptions; r=gps 2013-09-26 13:36:50 +01:00
Benoit Girard 54c9f49b7a Bug 918833 - Improved profiler thread register. r=ehsan 2013-09-24 15:23:36 -04:00
Aaron Klotz cfa94dca53 Bug 867757, Part 2: Gives SPS the ability to immediately sample the current thread's stack and annotate it. r=BenWa 2013-09-25 09:28:34 -06:00
Benoit Girard fb4bfeb5f7 No bug. Improve the name of the main thread for profiling. DONTBUILD
--HG--
extra : rebase_source : 448d0145200659a67a77acbef36e74ff2c17c934
2013-09-24 15:20:18 -04:00
Ryan VanderMeulen 26ad3fc54b Merge m-c to inbound.
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
David Major 0765e9cd26 Bug 918906 - Add VS2013 debug dll name to trace-malloc. r=dbaron 2013-09-23 09:22:30 -04:00
Ehsan Akhgari c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari 7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Joey Armstrong 4913c4a933 bug 870406: move CSRCS to mozbuild (file batch #3). r=mshal 2013-09-20 17:37:36 -04:00
Benoit Girard 906e0daa78 Bug 918581 - Extend merge-profile.py to support secondary threads. r=vlad
--HG--
extra : rebase_source : 28357bbb17b15c7cb40c53ee3442bc6366fcf015
2013-09-19 23:24:07 -04:00
Benoit Girard 7afa961994 Bug 867757 - Part 1: Allow markers to carry payload. r=aklotz
--HG--
extra : rebase_source : 31904aa5f084283bfc23ecfc53762d275967e34b
2013-07-11 00:27:04 -04:00
Ryan VanderMeulen 8e0a6c6e41 Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Terrence Cole 7217929024 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Gijs Kruitbosch 7604127126 Bug 902529 - Also check mercurial.ini on Windows, r=gps, DONTBUILD (NPOTB) 2013-09-13 10:50:28 +02:00
Ryan VanderMeulen 5197249017 Merge m-c to fx-team. 2013-09-14 23:08:59 -04:00
Jonas Finnemann Jensen 63757ffdc4 Bug 902587 - Fix missing destructor in IOInterposer.cpp ifndef MOZ_ENABLE_PROFILER_SPS. r=aklotz 2013-09-14 22:08:11 -04:00
Ryan VanderMeulen 47d90bb47f Merge m-c to inbound. 2013-09-12 22:30:22 -04:00
Ryan VanderMeulen fd143fc064 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Benoit Girard 836a55c9fa Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld 2013-09-11 14:01:16 -04:00
Benoit Girard f8a6d08355 Bug 915857 - Check-in merge-profiles.py. r=vladan 2013-09-12 16:31:40 -04:00
Benoit Girard 1dbbbf22af Bug 914348 - Name the SamplerThread on linux. r=jld 2013-09-11 13:57:43 -04:00
Terrence Cole 705a73caba Bug 877658 - Exactly root tools/profiler/; r=BenWa
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Jed Davis 42fe9dcb23 Bug 810526 - Add an implementation of ARM EHABI stack unwinding for the profiler. r=BenWa r=huseby 2013-09-11 14:53:14 -04:00
Jed Davis 76e9c91c87 Bug 810526 - android-signal-defs.h must include signal.h for stack_t. r=bgirard 2013-09-11 14:52:34 -04:00
Jed Davis 7144d49eae Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard 2013-09-11 14:51:59 -04:00
Jed Davis 12b0e21530 Bug 810526 - Factor out native/pseudo stack merging. r=bgirard 2013-09-11 14:51:11 -04:00
Jed Davis cbdea10161 Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard 2013-09-11 14:50:46 -04:00
Dan Gohman a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ryan VanderMeulen 1213755134 Backed out changeset 508a916a482a (bug 914348) for suspicion of causing Linux mochitest-bc perma-orange. 2013-09-10 15:32:31 -04:00
Benoit Girard 58be34a343 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen dac3c3a20c Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz 2013-09-12 10:47:37 -04:00
Ms2ger 4e96ae49a4 Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Jonas Finnemann Jensen 65f42bebc9 Bug 910658 - Add "qnew = -U" to defaults section in mach mercurial-setup; r=gps
DONTBUILD (NPOTB)
2013-09-04 15:32:00 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nicholas Nethercote 01c70c8c97 Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Nethercote 3c5b0c6b29 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Gregory Szorc 6186ab6b68 Bug 909867 - Fix case on WhichError in mercurial setup wizard; r=trivial
DONTBUILD (NPOTB)
2013-08-27 11:44:54 -07:00
Jan Beich cedbc692cf Bug 909139 - Define integer types before using them for profiler stubs. r=ms2ger 2013-08-25 22:10:46 +02:00
Gabriele Svelto 91c1a25d52 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger 47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto 795d28ed67 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Jan Beich 5fe1a3cf76 Bug 908476 - JSObject/JSContext are also used by non-SPS profiler. r=njn 2013-08-23 09:16:02 +02:00
Nicholas Nethercote 789875a768 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Ms2ger f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger 8040c0cadd Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger 987ec661d3 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger 4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger 18cd92e9b4 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Nicholas Nethercote 5c94c32440 Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote 2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Cykesiopka 66fbee273a Bug 861761 - Remove <blink> in perf-doc.html. r=dbaron 2013-08-19 08:48:24 -04:00
Julian Seward d584868453 Bug 894264 - Breakpad Stack scan: don't generate frames we aren't going to use. r=ted. 2013-08-16 21:03:54 +02:00
Ms2ger 30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger 9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger e9ac4435fb Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Jed Davis 9ca814fb74 Bug 904335 - sem_post on all return paths in ProfilerSignalHandler. r=BenWa 2013-08-13 16:44:46 -04:00
Ed Morley a4ae239c93 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Trevor Saunders e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Benoit Girard beddcdae57 Bug 820048 - Add microsecond profiling. r=ehsan
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Julian Seward f03566fcd4 Bug 880158 - Remove glibc backtrace() native unwind on Linux. r=bgirard.
--HG--
extra : rebase_source : 0a9e752acfe2cad6ec1995c4d4e823e7d9adef23
2013-08-08 18:48:20 +02:00
Nicholas Nethercote d8f824e34e Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote 8ce53f9ffd Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Gijs Kruitbosch e360e1c3bc Bug 901481 - add an environment variable to set the number of entries kept by the profiler, r=BenWa 2013-08-05 18:03:22 +02:00
Julian Seward 3a424b6297 Bug 892774 - Breakpad Stack scan: speed up MyCodeModules::GetModuleForAddress. r=bgirard. 2013-08-06 10:36:10 +02:00
Jon Coppeard fb6671743e Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Bobby Holley 6f87931f0a Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Gregory Szorc 5c5c830a87 Bug 899818 - Don't add quotes to values when writing Mercurial configs; r=Gijs
DONTBUILD (NPOTB)
2013-07-31 00:07:57 -07:00
Ehsan Akhgari 2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Gregory Szorc c079fd38e7 Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey 7b106e33d2 Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps 2013-07-30 08:57:28 +09:00
Ryan VanderMeulen 2c49080aca Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Michael Wu 58609a7075 Bug 898810 - Use bionic's getline where available, r=benwa 2013-07-29 13:17:28 -04:00
Trevor Saunders 108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Ehsan Akhgari 192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Xavier Fung 1a6faaa9b5 Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp 2013-07-18 10:13:01 +09:00
Benoit Girard 7ad2704ca4 Bug 887826 - Disable multi-threaded profiling on b2g to reduce memory usage. r=jseward
--HG--
extra : rebase_source : c3403864cd772414ddbf5bbda30e65322832e085
2013-07-16 09:56:43 -04:00
Graeme McCutcheon 26434d8fd3 Bug 893830 - implement mach uuid. r=gps DONTBUILD 2013-07-15 18:00:09 +01:00
Jed Davis ffff128206 Bug 892201: replace SPS signal handler completion busy loop with POSIX semaphore. r=benwa
--HG--
extra : rebase_source : 48bfcc1a352ae600dd1294d5b5e122ad0c58a745
2013-07-11 23:41:19 -04:00
Trevor Saunders f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Jim Chen 9d1d83bb0f Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa 2013-07-09 16:34:44 -04:00
Trevor Saunders 4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Mike Shal 884dee0b5a Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Benoit Girard 389add8608 Bug 872947 - Release pseudostack when unregister thread. r=snorp 2013-05-16 11:38:23 -04:00
Ehsan Akhgari 47c6136bd4 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-23 20:58:53 -04:00
Benoit Girard 9a2569ecb3 Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Brian O'Keefe f11b19a860 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #2); r=mshal
--HG--
extra : rebase_source : 555b28e5c3412ffc210c60b6fe2fee6f053fd587
2013-06-18 08:13:42 -04:00
Brian O'Keefe 11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Vladimir Vukicevic f4af325139 b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Aaron Klotz e9ad1fd893 Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa 2013-06-14 12:01:02 -06:00
Jim Chen c98b67af47 Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa 2013-06-14 12:42:10 -04:00
Jim Chen 379f413a13 Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa 2013-06-14 12:42:10 -04:00
Joey Armstrong 0c4c92488f bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Andrew McCreight a7232f55ed Bug 550335 - fix_macosx_stack for 64-bit. r=ted 2012-05-25 09:07:24 -07:00
Florian Quèze 31502efe24 Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium. 2013-06-05 18:19:18 +02:00
Boris Zbarsky ac87784e7f Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Trevor Saunders 9bdeaf5ccc bug 876519 - include ostream instead of iostream in the profiler to get rid of static initializers r=ehsan 2013-05-27 08:29:24 -04: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
Joey Armstrong 2c39cbb922 bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
L. David Baron a656f45a92 Bug 855081: Make jprof compile for me by switching from cplus_demangle (which doesn't link) to abi::__cxa_demangle. r=jesup 2013-05-13 15:37:00 -07:00
Joey Armstrong 26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Brian O'Keefe 8d90859ddb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Gregory Szorc 298c09657e Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Ehsan Akhgari 8d14481739 Bug 869784 - Fix rooting hazards in the profiler; r=BenWa,till
X-Git-Commit-ID: da732de921f64d9bd6ea028ed384d2d5c80de66f
X-Mailer: git-send-email
2013-05-08 20:21:37 -04:00
Mike Hommey f936e5198e Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps 2013-05-05 10:16:25 +02:00
Gregory Szorc 522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Ryan VanderMeulen 8dd4074205 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe 7422d5ac7b Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Julian Seward 273ce0e750 Bug 863705 - SPS breakpad: show frame-trust statistics in the debugging log. r=bgirard 2013-05-01 01:00:26 +02:00
Ryan VanderMeulen b6cc74b921 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe 0baa2a32d6 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong 321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Benoit Girard 5e0ee32176 Bug 865915 - Fixed unmatched JS_EndRequest. r=mccr8 2013-04-29 14:33:47 -04:00
Benoit Girard 4a868d8c33 Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 70dfd31809cb644f6405bd144a2e8373268a461c
2013-03-21 10:17:23 +01:00
Benoit Girard 646b0e56b9 Bug 788022 - Bustage fix for ANDROID define on a CLOSED TREE. r=bustage 2013-04-23 14:33:38 -04:00
Benoit Girard c18ef0a706 Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
2013-04-23 13:10:29 -04:00
Ed Morley 4b1e050887 Backed out changeset 26ab26b299a5 (bug 788022) on a CLOSED TREE 2013-04-22 17:43:10 +01:00
Benoit Girard c3f8c5883d Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3021e4315ce0ce5dbef9db84a12502d66dfc7967
2013-04-19 15:34:56 -04:00
Julian Seward 25ee4aba7a Bug 859745 - Install sane unwinding limit for SPS/breakpad. r=ted 2013-04-22 17:10:54 +02:00
Benoit Girard 71bbc1c63b Bug 856331 - Make breakpad unwinding runtime switchable. r=jseward
--HG--
extra : rebase_source : 1094beb17115a0d0e4d27eeb848c3932dfe0b2b0
2013-04-01 15:45:03 -04:00
Randell Jesup 7852e2c3e4 Bug 863429: Fix jprof on debug builds, remove evilness NPOTB DONTBUILD rs=dbaron 2013-04-19 09:54:16 -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
Benoit Girard c01c3468e2 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : ce0d9f94d2b4deb249e09198f9315f69ad6ee7d4
2013-04-03 18:59:17 -04:00
James Willcox 034fae0ccc Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15: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
Benoit Girard 9977ad48b2 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 4e7e1681355146e32fbc5ff2aa9891470e241347
2013-04-03 18:59:17 -04:00
James Willcox 4664b7f932 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Julian Seward 263241169f Bug 837390 - Profiler livelock caused by SA_RESTART restarting fork() syscall. r=bgirard 2013-04-16 20:53:03 +02:00
Ryan VanderMeulen 29b3a5a2ee Backed out 2 changesets (bug 734691) for leaks.
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
Benoit Girard df81c2521e Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 41af95bcc4b6044b7394538e2524528f67cbd1d5
2013-04-03 18:59:17 -04:00
James Willcox f4e6aab526 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Jeff Walden 763718651b Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Julian Seward f7e974613d Bug 861800 - Make UnwinderThread2 a bit less verbose. r=bgirard 2013-04-15 17:25:16 +02:00
Julian Seward 1f8653bbbc Bug 861141 - Connect Breakpad on Android to faulty.lib's mmap interface. r=glandium,ted 2013-04-15 16:46:43 +02:00
Vicamo Yang f8906b8557 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Joshua Cranmer aa1ca5d8f4 Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg 2013-04-11 22:22:09 -05:00
Dave Hylands 8e86e018e7 Bug 859928 - Make profiles be saved in temporary directory for B2G. 2013-04-09 12:45:49 -07:00
Ryan VanderMeulen 8b1a61762a Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks. 2013-04-08 22:16:21 -04:00
Benoit Girard 69273a1401 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 172d75f2183c5ba50ce709aeefcd3534a35724e5
2013-04-03 18:59:17 -04:00
James Willcox f6c0d380d3 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 8367dc61f9f9026d0110ffe43d5d4d0aa9129e24
2013-03-29 15:34:49 -04:00
Julian Seward b2beefdad3 Bug 855977 - SPS breakpad: disable stack scanning for profiling unwinds. r=bgirard
--HG--
extra : rebase_source : 6735671ab9f4b9e9ce4fc25238cb6c3f01ef4b02
2013-04-06 10:49:11 +02:00
Julian Seward 410b828497 Bug 857242 - Make profiler verbosity on desktop be runtime-selectable. r=bgirard 2013-04-06 10:45:30 +02:00
Jacek Caban 735f1dbd18 Bug 856566 - Fixed crashreporter compilation and profiler on mingw. r=ted 2013-04-05 11:29:50 +02:00
Benoit Girard 967e94fe03 Bug 856281 - Fixed HAVE_NATIVE_UNWIND definition. r=ehsan
--HG--
extra : rebase_source : d142eb85d08563a024e84a9954a890eb01087135
2013-04-02 11:39:04 -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
Ryan VanderMeulen c22be74874 Backed out changeset 7112a6c1efee (bug 734691) for Win8 xpcshell hangs and possible leaks on a CLOSED TREE. 2013-03-29 18:18:38 -04: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
James Willcox e5ba8fa627 Bug 734691 - Add multi-thread support to profiler r=benwa 2013-03-29 15:34:49 -04:00
Julian Seward 3042ec3bd3 Bug 855662 - SPS breakpad: free breakpad-allocated memory when unwinder thread shuts down. r=bgirard 2013-03-29 08:36:50 +01:00
Phil Ringnalda 111695c5e0 Back out 89e99ecdf29f (bug 734691) for leaking
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox f272cdf825 Bug 734691 - Add multi-thread support to profiler. r=benwa 2013-03-28 19:51:15 -04:00
Julian Seward 7e2826ed21 Bug 853851 - Transition some breakpad logging to BPLOG. r=ted
--HG--
rename : toolkit/crashreporter/google-breakpad/src/processor/logging.cc => toolkit/crashreporter/google-breakpad/src/common/logging.cc
rename : toolkit/crashreporter/google-breakpad/src/processor/logging.h => toolkit/crashreporter/google-breakpad/src/common/logging.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.cc
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
extra : rebase_source : c2cf8bcfc7c996e0cdd82422adc7f6a50a8d964a
2013-03-28 18:06:39 +01:00
Julian Seward 0f0fef3042 Bug 855012 - local_debug_info_symbolizer.cc,h and shim_mac_dump_syms.mm,h have no license information (& probably need MPL boilerplate), r=dholbert 2013-03-28 11:30:34 +01:00
Julian Seward b615697566 Bug 854810 - Use shared-libraries-*.cc instead of home-grown equivalents, r=bgirard 2013-03-27 16:09:56 +01:00
Benoit Girard 8a70878243 Bug 853896 - Turn off MOZ_EVENT_TRACE when profiling. r=ted
--HG--
extra : rebase_source : 2ae36f2f4be730528b0f18154377fa32ee25b49a
2013-03-22 17:16:52 +01:00
Daniel Holbert 8b887f9e4b Bug 855010: Use nsAutoPtr instead of scoped_ptr in LocalDebugInfoSymbolizer::FindCFIFrameInfo(). r=BenWa 2013-03-26 15:54:13 -07:00
Ehsan Akhgari 4bc14288e0 Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa 2013-03-26 13:32:09 -04:00