Commit Graph

447 Commits

Author SHA1 Message Date
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jim Mathies
f07ef3ba59 Bug 950288 - Update the last run id when the browser launches so it's always up to date. r=bbondy 2013-12-16 11:06:08 -06:00
Trevor Saunders
c2b2fcd3d4 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Brian R. Bondy
e2cb100a24 Bug 945829 - Metrofox hangs on startup when trying to show the profile chooser dialog. r=jimm 2013-12-13 12:12:00 -05:00
Jim Mathies
5e155a22a4 Bug 949590 - When switching browsers, wait for the previous instance to close the profile before launching. r=bbondy 2013-12-13 09:51:21 -06:00
Bill McCloskey
1c2ce4d177 Bug 948238 - Fix ASAN bustage on a CLOSED TREE 2013-12-12 15:27:07 -08:00
Bill McCloskey
1281160358 Bug 929012 - Annotate on crash reports that content processes are turned on (r=bsmedberg) 2013-12-12 14:17:37 -08:00
Bill McCloskey
88328fd5a2 Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Aaron Klotz
b9579cbc83 Bug 945784: Prepends a newline to InvalidateCaches entry before writing to compatibility.ini; r=bbondy 2013-12-03 16:17:02 -07:00
Jacek Caban
74601a78d4 Bug 944913 - Fixed char16_t/wchar_t mismatch in tollkit/. r=ehsan
--HG--
extra : rebase_source : c33427dd7c1c2db3d2741b8c2e0d1b4a0359a0a4
2013-12-03 16:07:22 +01:00
Marina Samuel
c4016d3e33 Bug 934032 - Add View on Metro feature to Desktop Firefox in Australis. r=bbondy 2013-11-19 13:06:58 -05:00
Ryan VanderMeulen
c0054e0452 Merge m-c to inbound. 2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
a841a65c0f Merge fx-team to m-c. 2013-11-22 15:23:22 -05:00
Trevor Saunders
15a29c7ef2 bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Hector Zhao
628db0cbea Bug 606575 - Profile local data dir (ProfLD / NS_APP_USER_PROFILE_LOCAL_50_DIR) is incorrect for a newly created profile. r=Neil 2013-11-19 11:46:00 +08:00
Chris Kitching
43102ed4c2 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Masatoshi Kimura
3d5cee9515 Bug 925599 - Replace GetVersionEx() in toolkit/. r=bsmedberg 2013-11-22 12:35:40 +09:00
Ryan VanderMeulen
51ab56ef96 Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (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-11-19 10:56:09 -05:00
Chris Kitching
fc69db0ffb Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Jonas Finnemann Jensen
698b895a6f 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-11-05 07:45:20 -05:00
David Major
c93c631ad9 Bug 921609 - Annotate system manufacturer in crash reports. r=jimm 2013-10-26 21:24:53 -04:00
David Rajchenbach-Teller
9ddf4f6916 Bug 881667 - Implement nsIAppStartup::startingUp. r=bsmedberg 2013-10-11 12:00:19 -04:00
Birunthan Mohanathas
c8d9f9225c Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan 2013-10-10 16:36:42 -04:00
Benjamin Smedberg
44eb5c3cab Bug 921046 - Implement a retry loop when locking the profile on startup, so that if a previous instance is shutting down, we will just start with a slight delay, r=Mossop r=froydnj 2013-10-09 10:38:35 -04:00
Masayuki Nakano
24b754535a Bug 912956 part.4 Create mozilla/TextEvents.h r=roc 2013-09-24 19:04:15 +09:00
Mike Hommey
0865485bec Bug 910248 - Add a crash report annotation indicating when the signal handler can't get the crash address. r=ted 2013-08-30 11:15:08 +09:00
Mike Hommey
51ff65dcd8 Bug 910074 - Move crash reporter annotations added in bug 867530 after both SetExceptionHandler call and xpcom initialization. r=ted 2013-08-30 11:11:42 +09:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
David Major
c6505e583f Bug 765288 - Annotate user agent locale in crash report. r=ted 2013-08-26 10:33:10 -04:00
David Anderson
69dc419e91 Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Ehsan Akhgari
085494b95d 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
Suyash Agarwal
c2e88b3f13 Bug 890037 - Remove extra space from the output of "thunderbird -version". r=bsmedberg 2013-07-18 16:29:17 -04:00
Tom Schuster
3864c304c1 Bug 886903 - Send correct UserAgent data for content process. r=jdm 2013-04-22 18:41:59 +02:00
Ryan VanderMeulen
97083e557a Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
f5ccc808eb Bug 886903 - Send correct UserAgent data for content process. r=jdm 2013-04-22 18:41:59 +02:00
Trevor Saunders
5d9268dfa8 bug 886526 - remove nsStaticComponents.{h,cpp} r=bsmedberg 2013-06-15 05:50:25 -04:00
Trevor Saunders
90fb8e6096 bug 886526 - remove XPCOM_TRANSLATE_NSGM_ENTRY_POINT r=bsmedberg 2013-06-15 02:33:35 -04:00
Benoit Girard
945cb3c483 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Phil Ringnalda
ea17398276 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Benoit Girard
5a4e5c64c2 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Timothy Arceri
b34c47ba20 Bug 877409 - Remove old GTK_CHECK_VERSION/gtk_check_version for versions of GTK already covered by the minimum GTK build requirement 2.10. r=karlt 2013-05-30 08:10:02 -04:00
Phil Ringnalda
315cb76195 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard
da3a0b92cd Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Julian Seward
38e97ed8fa Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Mats Palmgren
62ca06180b 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
Jonathan Kew
e7d3bbfbdf bug 866365 - declare both firefox.exe and plugin-container.exe as dpi-aware via their manifests. r=jimm,gps 2013-05-07 09:16:43 +01:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Matt Brubeck
4e11c5a9d8 Bug 863897 - Update doc comment for CheckArg in nsAppRunner.cpp [r=bsmedberg]
DONTBUILD (comment-only change)
2013-04-22 16:00:17 -07:00