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

3120 Коммитов

Автор SHA1 Сообщение Дата
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