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

388 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Jeff Walden de9ce95170 Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Landry Breuil 9737f5cf31 Bug 909005: use getdents() on OpenBSD now that it is available r=glandium 2013-09-02 08:54:42 +02:00
Brian O'Keefe d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Steven Michaud b954caad6c Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg 2013-08-27 14:15:49 -04:00
Ms2ger 1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Trevor Saunders acfc9e9cd6 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Brian O'Keefe 263f163332 Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04: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
Nathan Froyd f702f81916 Bug 904619 - move dummy event to its sole use in ipc_sync_message.cc; r=bent 2013-08-13 10:56:44 -04:00
Mike Hommey e2ff646a3c Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg 2013-08-10 15:54:00 +09: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
Joshua Cranmer b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Justin Lebar eacb45e46d Bug 893242 - Part 1: Add Unsound_IsClosed() and Unsound_NumQueuedMessages() to AsyncChannel. r=bent 2013-07-17 14:31:10 -07:00
Brian O'Keefe f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -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
Ryan VanderMeulen d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ryan VanderMeulen e396d026b5 Merge birch to m-c. 2013-07-10 09:42:28 -04:00
Shelly Lin 96a46d1102 Bug 811636 - Close the child FD in the parent asap in order to detect when the child closes its FD. r=dhylands 2013-07-09 10:37:33 +08:00
Xavier Fung 1db230cd9a Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg 2013-07-10 11:19:42 +09:00
Ed Morley b4e5d925e1 Bug 855686 - Attempt to log cmdline for launched process; r=ted 2013-07-08 18:54:02 +01:00
Joey Armstrong 38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Ms2ger dd8f07a495 Bug 888573 - Remove bit_cast; r=Waldo 2013-07-10 11:54:35 +02:00
Joey Armstrong 53426849e7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Catalin Iacob 09cfbe927e Bug 798914 (part 2) - Use newly introduced mozilla::MallocSizeOf in chromium. r=njn.
--HG--
extra : rebase_source : 3488c0e9140919a78b9a8658f54a6dc162935653
2013-06-16 14:12:19 +02:00
Ms2ger 8d71159d4c Bug 883537 - Remove dead testing code from chromium; r=bsmedberg 2013-06-23 09:14:36 +02:00
Ms2ger d8bad3012d Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg 2013-06-23 09:14:26 +02:00
Justin Lebar 3837ac1912 Bug 885158 - If a message is sent on a closed IPC channel, delete it immediately. r=bent
Our old behavior was to enqueue it until the channel gets destructed.

--HG--
extra : rebase_source : 9766774838257d9e1a6adc15d3b4cf9e38fefcbe
2013-06-21 13:58:47 -07:00
David Anderson 7957b611c2 Bug 868919 - Confirm that the child process has received fd handles on OSX before releasing them. r=bent 2013-06-21 09:32:02 +12:00
Alex Xu 577bfccf43 Bug 853208 - Fix build break on Gentoo 2013-06-15 20:44:37 -04:00
Nathan Froyd 3d5d16ad9c Bug 871596 - part 3 - replace memcpys of POD datatypes in Pickle with something smarter; r=bent 2013-06-05 13:01:05 -04:00
Nathan Froyd 1a69354879 Bug 871596 - part 2 - add a new memberAlignmentType to replace the scattered uint32_t alignments; r=bent 2013-05-30 11:31:35 -04:00
Nathan Froyd 46164cd78e Bug 871596 - part 1 - rewrite Pickle's alignment mechanism to be more obviously optimizable; r=bent 2013-05-30 11:29:45 -04:00
Ehsan Akhgari f6ad445a82 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Martin Stransky d8da1b5a38 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Mark Hammond 70cbb76fa4 Bug 875210 - child processes on Windows inherit (only) stdout and stderr. r=aklotz 2013-05-30 23:21:36 +10:00
Kyle Huey 0d78767303 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jan Beich 952029dd65 Bug 877139 - Fix a few freebsd typos in bug 864774. r=glandium 2013-05-29 20:56:09 -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
Matt Woodrow 3690846a48 Bug 870176 - Import chromium bug 20249. r=dvander 2013-05-10 09:02:50 +12:00
Daniel Holbert ce245d2647 Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar 2013-04-26 10:11:00 -04:00
Bill McCloskey 5071cc169c Bug 860885 - Turn off Chromium IPC [debug] spew (r=glandium) 2013-04-23 12:14:47 -07:00
Jan Beich fee087f8a9 Bug 864013 - Add libevent config for BSDs. r=landry 2013-04-23 10:58:11 +02:00
Ehsan Akhgari dbe39a6f7f Bug 863559 - Do not leak the mach port in PlatformThread::CurrentId; r=jlebar 2013-04-19 14:37:41 -04:00
Ryan VanderMeulen cd0138cd77 Merge m-c to inbound. 2013-04-18 14:01:31 -04:00
Justin Lebar 3aef51e08f Bug 857152 - Make IPC channels more robust against use after being closed. r=bent 2013-04-03 15:54:00 +02: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