Commit Graph

6522 Commits

Author SHA1 Message Date
David Zbarsky
795f349564 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
4a6c9a63c0 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Nicholas Cameron
c2432afc85 Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc
--HG--
extra : rebase_source : 4e63339d0aa2ca732c1d12c4abcf891b70ee0056
2013-07-31 08:51:45 +12:00
Ryan VanderMeulen
1c2e96e8f9 Merge m-c to inbound. 2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
37174a2eb7 Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Martin Stransky
a6c83155aa Bug 899460 - Remove MOZ_GTK_EXPANDER. r=karlt 2013-07-30 10:03:44 -04:00
Martin Stransky
d451e7a3d5 Bug 897404 - Port GTK2 to GTK3 - treeview rendering, expander fix. r=karlt 2013-07-30 10:03:14 -04:00
David Zbarsky
70990dd2d4 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
82250218e6 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
David Zbarsky
3b2bbf2c84 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
David Zbarsky
bd41b3d233 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
Chris Kitching
8193e363bb Bug 897123 - Make GeckoAppShell.pumpMessageLoop waste less CPU time r=jchen
--HG--
extra : rebase_source : 7d5ffa3f2b9d29ff245886c40f4083e7451daec1
2013-07-26 12:02:00 -07:00
Ehsan Akhgari
5ee21d6d3f 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
Markus Stange
09baafe4f5 Bug 898126 - Cache client hit test values, r=jimm 2013-07-29 13:19:34 +02:00
Kartikaya Gupta
c5f640cdd8 Bug 891607 - Fix typo resulting in a bad surface size in some startup scenarios. r=Cwiiis 2013-07-29 14:38:06 -04:00
Trevor Saunders
6b3c839046 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
Timothy Nikkel
ea8b9e98de Bug 892994. On retina screens cocoa rounds widget coordinates to even pixel values, so account for that when placing widgets so we don't get confused. r=mstange 2013-07-30 11:22:41 -05:00
Timothy Nikkel
d39427d39a Bug 899430. Correct incorrect use GetDefaultScale in TextInputHandler to BackingScaleFactor. r=jfkthame
We are converting between cocoa points and dev pixels, cocoa points do not know about our prefs but GetDefaultScale takes into account our prefs, which is wrong.
2013-07-30 11:22:39 -05:00
Steven Michaud
19dbe2b725 Bug 893973 - crash in -[ChildView keyDown:], log more debugging info to Breakpad's app notes. r=masayuki 2013-07-30 10:42:29 -05:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Daniel Holbert
2bc833ff88 Bug 896292: Mark widget/gtk2 as FAIL_ON_WARNINGS. r=karlt r=gps 2013-07-24 15:41:55 -07:00
Joe Drew
769a261051 Bug 882190 - Remove empty variable assignment. r=glandium
--HG--
extra : rebase_source : 3b4c06182d01e8ba98fb7dbb3516a165bc599d75
2013-07-26 10:42:16 -04:00
Daniel Holbert
b9c3f59eda Bug 875753 followup: Annotate our gtk2 'nsColorPicker' class as MOZ_FINAL to fix -Wdelete-non-virtual-dtor build warning. blanket-r=ehsan 2013-07-25 12:08:01 -07:00
Brian R. Bondy
e82a6906e6 Bug 869940 - APZC Metro winrt implementation. r=jimm 2013-07-25 13:15:16 -04:00
Arnaud Bienner
5937850e84 Bug 875753 - Color input: Gtk widget. r=karlt 2013-06-22 15:39:43 +02:00
Markus Stange
b1f439e748 Bug 897260 - Don't go through DispatchMouseEvent when sending hit test events. r=jimm 2013-07-25 14:25:39 +02:00
Masayuki Nakano
eda073062e Bug 501496 part.8 Native key event tests should prevent default only when the event is keypress r=smaug 2013-07-25 15:09:29 +09:00
Masayuki Nakano
ea85490c9a Bug 501496 part.7 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Gonk r=smaug+mwu 2013-07-25 15:09:28 +09:00
Masayuki Nakano
b59b2eefee Bug 501496 part.6 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Android r=smaug+nchen 2013-07-25 15:09:28 +09:00
Masayuki Nakano
2cb44b1062 Bug 501496 part.5 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on OS/2 r=smaug 2013-07-25 15:09:28 +09:00
Masayuki Nakano
43e466927e Bug 501496 part.4 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Qt r=smaug+romaxa 2013-07-25 15:09:28 +09:00
Masayuki Nakano
ada2c64b2d Bug 501496 part.3 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Cocoa r=smaug+smichaud 2013-07-25 15:09:28 +09:00
Masayuki Nakano
669229185b Bug 501496 part.2 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on GTK r=smaug+karlt 2013-07-25 15:09:28 +09:00
Masayuki Nakano
ee07abab87 Bug 501496 part.1 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Windows r=smaug+jimm 2013-07-25 15:09:28 +09:00
Masayuki Nakano
a4499513a4 Bug 896362 part.2 Add tests for VK_ABNT_C1 and VK_ABNT_C2 r=jimm+smaug 2013-07-25 15:04:17 +09:00
Masayuki Nakano
23ca32449a Bug 896362 part.1 Support VK_ABNT_C1 and VK_ABNT_C2 (keyCode and location) r=jimm+smaug 2013-07-25 15:04:17 +09:00
Wes Kocher
2395e0eb76 Backout 04bde6c5fb16 (bug 896292) for PGO-only build bustage on a CLOSED TREE 2013-07-24 19:28:18 -07:00
Daniel Holbert
333cc9495d Bug 896292: Mark widget/gtk2 as FAIL_ON_WARNINGS. r=karlt r=gps 2013-07-24 15:41:55 -07:00
Ryan VanderMeulen
274e2e8dc0 Merge m-c to inbound. 2013-07-24 18:22:45 -04:00
Ed Morley
17741e0915 Merge mozilla-central and fx-team 2013-07-24 13:37:09 +01:00
Tim Taubert
e72bd0c472 merge m-c to fx-team 2013-07-24 12:15:50 +02:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Tim Taubert
6791ba2fdd Bug 894876 - part 1 - Add support for GDK_BUTTON_RELEASE in nsWindow::SynthesizeNativeMouseEvent(); r=karlt 2013-07-24 09:58:50 +02:00
Ms2ger
fb6790e6d8 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Botond Ballo
f1334508a1 Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Joshua Cranmer
7b9a04da79 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
4c0a3ad9a6 Bug 884061 - Part 3x: Use NS_DECL_THREADSAFE_ISUPPORTS in widget/, r=jimm
--HG--
extra : rebase_source : 9e6f7d33802b3f8698616fa6f68c8500f275ae9c
2013-07-18 21:24:15 -05:00
Botond Ballo
a0929ab998 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Nicholas Cameron
28ef8d9e83 Bug 874721. OMTC Windows window resizing. r=mattwoodrow 2013-07-23 11:02:22 +12:00
Edwin Flores
a77ccf0aa9 Bug 889433 - Blocklist h264 playback on Sony devices running Android 4.2 r=doublec 2013-07-23 06:34:09 +12:00