Commit Graph

14680 Commits

Author SHA1 Message Date
Ryan VanderMeulen
0094fbe60a Merge m-c to b2g-inbound. 2013-08-07 14:41:41 -04:00
Jim Mathies
927cdb51b4 Bug 888236 - Add metro specific window classes and messages to ipc defer message processing. r=bsmedberg 2013-08-07 09:55:12 -05:00
Frank Wein
73bc871f6d Bug 901880 - Compile failure in nsColorPicker.cpp: error: ‘gtk_color_selection_dialog_get_color_selection’ was not declared in this scope, r=karlt
--HG--
rename : widget/gtk2/compat/gtk/gtkcolorselectiondialog.h => widget/gtk2/compat/gtk/gtkcolorseldialog.h
2013-08-07 12:04:51 +02:00
Masayuki Nakano
2c377c18cd Bug 893973 nsIWidget::SetInputContext() should check it has focus before calling secure event input API r=smichaud 2013-08-07 11:49:21 +09:00
Michael Vines
530aef2a1d Bug 811924 - Center boot animation on black background. r=mwu
Change-Id: I110e75331fa5455c226a9b4d23748372ca9ccbe9
---
 widget/gonk/libdisplay/BootAnimation.cpp |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)
2013-08-06 15:12:27 -07:00
Chris Peterson
3f4b5f2360 Bug 847709 - Remove unused mRendererIDs code in widget/cocoa. r=jrmuizel 2013-08-01 22:25:16 -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
Ryan VanderMeulen
1aea707926 Merge m-c to fx-team. 2013-08-06 10:16:50 -04:00
Timothy Nikkel
7fe33ccd60 Bug 896053. Unlink sibling/child lists of widgets for nsCocoaWindow's correctly. r=smichaud 2013-08-05 23:32:23 -05:00
Ryan VanderMeulen
5682a9a738 Merge m-c to fx-team. 2013-08-05 23:22:11 -04:00
Brian R. Bondy
a880c542f1 Bug 901025 - Allow GDI rendering mode when OMTC is enabled. r=jimm 2013-08-05 22:00:48 -04:00
Brian R. Bondy
4e460d2b5b Bug 901071 - D2D rendering always being disabled for Windows 8.1 on Intel hardware. r=bjacob 2013-08-05 22:00:42 -04:00
Martin Stransky
0b56a7a51b Bug 890022 - Port GTK2 to GTK3 - scroll mouse button does not work. r=karlt 2013-08-05 20:10:59 -04:00
Carsten "Tomcat" Book
992792ad07 Merge m-i to m-c 2013-08-05 11:18:59 +02:00
Jim Mathies
daba6e8019 Bug 863676 - Handle WM_GETOBJECT calls for UiaReturnRawElementProvider internally rather that relying on WinRT WindowServer def proc handling. Addresses sporadic soft keyboard issues in metrofx. Also includes misc. cleanup and logging improvements in UIABridge. r=bbondy 2013-08-03 16:18:45 -05:00
Ryan VanderMeulen
93007c3658 Merge m-c to fx-team. 2013-08-02 17:09:31 -04:00
Wes Johnston
f36d020ed4 Bug 896350 - Don't close notifications unless explicitly requested to. r=blassey 2013-08-02 11:04:49 -07:00
Gijs Kruitbosch
f65bc5bc5b Merge m-c to fx-team 2013-08-02 15:47:01 +02:00
Josh Aas
b20de2d2d0 Bug 869083 - Fix OS X apps code to return failure on failure to launch app. r=felipc, r=smichaud 2013-08-02 08:06:22 -04:00
Ms2ger
50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
bf6618a13c Bug 900096 - Cleanup Touch some; r=dzbarsky 2013-08-02 09:06:35 +02:00
Ms2ger
1571fe39c1 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
9803a2ddf3 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Ms2ger
61364639a4 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #4); r=mshal 2013-08-02 09:03:42 +02:00
Steven Michaud
0a7b766b43 Bug 893973 - crash in -[ChildView keyDown:], log more debugging info to Breakpad's app notes, rev1. r=masayuki 2013-08-01 20:35:34 -05:00
Po-Chun Chang
3384deb05e Bug 897262 - Iterate from the end of "mBrightnessLocks" and break the first time when "brightness" is set. r=BenWa 2013-08-01 21:21:32 -04:00
Marco Castelluccio
1fbeffb203 Bug 846765 - Dragging from Downloads window and dropping in Finder creates weird shortcut. r=BenWa 2013-08-01 21:21:31 -04:00
Chris Peterson
2200b43737 Bug 900839 - Remove unused variables in nsNativeThemeCocoa.mm. r=dzbarsky 2013-08-01 22:46:10 -07:00
Ryan VanderMeulen
506982a7d0 Merge m-c to inbound. 2013-08-01 20:25:21 -04:00
Ryan VanderMeulen
7fe0b0251b Merge m-c to fx-team. 2013-08-01 16:35:13 -04:00
David Zbarsky
08edbc4f4a Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
8423ce77eb Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
Brian R. Bondy
a796876d2f Bug 900111 - Fix CSSIntPoints and LayoutDeviceIntPoint usage in APZC Metro implementation. r=kats 2013-08-01 13:44:41 -04:00
David Zbarsky
f53061a41d merge backout 2013-08-01 01:54:34 -07:00
David Zbarsky
3d161603d7 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
Nicholas Cameron
a518fa0c24 merge backout, a=me 2013-08-01 18:39:19 +12:00
Nicholas Cameron
b4b5c9799b back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
David Zbarsky
a8e04c91cc Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
d52c9a362c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron
e571990a03 Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow 2013-08-01 16:52:36 +12:00
Nicholas Cameron
e86327c405 Bug 874721. CompositorD3D9, r=Bas 2013-08-01 16:50:52 +12:00
Stephen Pohl
588fed6532 Bug 874570: Make scrollbar frames smaller for small overlay scrollbars. r=smichaud 2013-08-01 17:01:22 -04:00
Edwin Flores
d3fc908cc3 Bug 882342 - Blacklist Motorola XT890 running Android 4.1 for H264 playback r=bjacob 2013-08-01 15:12:14 +12:00
Birunthan Mohanathas
8d04962d67 Bug 712105 - Use default cursor rather than last cursor for 'cursor: context-menu' on Windows and OS/2. r=jimm 2013-07-31 21:15:25 -04:00
Brian R. Bondy
80bb4d62bc Bug 900044 - MetroCompositorParent is no longer needed. r=kats 2013-07-31 20:59:27 -04:00
Brian R. Bondy
784f023fb0 Bug 900044 - Get rid of viewport-needs-updating and related code. r=kats 2013-07-31 20:59:24 -04:00
Wes Kocher
4b7937b86f Merge m-c to inbound 2013-07-31 17:36:03 -07:00
Ehsan Akhgari
d9a90f1254 Backed out changeset 197b12188f3a (bug 893973) for causing bug 9000007 2013-07-31 17:06:38 -04:00
Nicholas Cameron
6a449045ab Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Ryan VanderMeulen
fd758076bd Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
David Zbarsky
aeb27e1255 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
9c0441b53f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Ryan VanderMeulen
e109a696f7 Merge m-c to birch. 2013-07-30 15:43:05 -04:00
Kartikaya Gupta
d026dad2d8 Bug 866232 - Update the Windows Metro code to handle APZCTreeManager. r=BenWa, bbondy 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
215476e2eb Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
6762cc18a8 Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa 2013-07-30 14:03:42 -04:00
Kartikaya Gupta
2c0ffd470e Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
Michael Wu
0e3b95d897 Bug 898897 - Update GonkDisplayJB to support JB MR2, r=vlad 2013-07-30 13:36:53 -04:00
Ryan VanderMeulen
55f1829235 Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Ryan VanderMeulen
769a4293c7 Merge m-c to birch. 2013-07-30 13:11:10 -04:00
Martin Stransky
b643e53730 Bug 899460 - Remove MOZ_GTK_EXPANDER. r=karlt 2013-07-30 10:03:44 -04:00
Martin Stransky
e11e60ac69 Bug 897404 - Port GTK2 to GTK3 - treeview rendering, expander fix. r=karlt 2013-07-30 10:03:14 -04:00
David Zbarsky
f78d53fa48 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
67334df0d5 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
David Zbarsky
d057bf162a Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
David Zbarsky
35194cdbac Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
Michael Vines
0fa4b89233 Bug 895665 - Gonk support for dev input audio jack events. r=mwu 2013-07-29 21:27:48 -07:00
Chris Kitching
349b02b241 Bug 897123 - Make GeckoAppShell.pumpMessageLoop waste less CPU time r=jchen
--HG--
extra : rebase_source : 7d5ffa3f2b9d29ff245886c40f4083e7451daec1
2013-07-26 12:02:00 -07:00
Nicholas Cameron
71e821ee4d Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc
--HG--
extra : rebase_source : 4e63339d0aa2ca732c1d12c4abcf891b70ee0056
2013-07-31 08:51:45 +12:00
Ryan VanderMeulen
5079ebb23d Merge m-c to inbound. 2013-07-30 15:41:57 -04: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
Markus Stange
86cead439b Bug 898126 - Cache client hit test values, r=jimm 2013-07-29 13:19:34 +02:00
Kartikaya Gupta
826de6c0c7 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
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
Wes Johnston
fc77e517a2 Bug 901129 - Remove XUL Fennec's MOZ_ONLY_TOUCH_EVENTS flag. r=kats 2013-08-05 10:32:01 -07:00
Carsten "Tomcat" Book
72350922ef Merge mozilla-central to mozilla-inbound 2013-08-05 11:59:14 +02:00
David Zbarsky
267331a573 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-08-05 00:51:22 -04:00
David Zbarsky
11ac59e6e6 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Nicholas Cameron
64ecc95c2b backout incorrect change from warning to assertion from bug 874721. r=me 2013-08-05 11:20:02 +12:00
Nicholas Cameron
f742a26a6e Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Timothy Nikkel
7d3be384bc 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
17ff349e2b 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
be97f39501 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
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Daniel Holbert
ed8bccacc9 Bug 896292: Mark widget/gtk2 as FAIL_ON_WARNINGS. r=karlt r=gps 2013-07-24 15:41:55 -07:00
Joe Drew
11e2b523b8 Bug 882190 - Remove empty variable assignment. r=glandium
--HG--
extra : rebase_source : 3b4c06182d01e8ba98fb7dbb3516a165bc599d75
2013-07-26 10:42:16 -04:00
Daniel Holbert
206b61e281 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
5b9488e54f Bug 869940 - APZC Metro winrt implementation. r=jimm 2013-07-25 13:15:16 -04:00
Arnaud Bienner
70bdf3b468 Bug 875753 - Color input: Gtk widget. r=karlt 2013-06-22 15:39:43 +02:00
Markus Stange
4411a7ad7f Bug 897260 - Don't go through DispatchMouseEvent when sending hit test events. r=jimm 2013-07-25 14:25:39 +02:00
Masayuki Nakano
dde8930062 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
5f1ed1963c 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
43dc72f530 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
4d5158de01 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
236130b569 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
162b4fa956 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
5c78ca14e0 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
33a5b971f9 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
7318911de9 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
e07e1329ce 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