Commit Graph

6618 Commits

Author SHA1 Message Date
Steven Michaud
98fd2dd6d1 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
e950c2164e 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
994b25cbb3 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
1006b28234 Bug 900839 - Remove unused variables in nsNativeThemeCocoa.mm. r=dzbarsky 2013-08-01 22:46:10 -07:00
Ryan VanderMeulen
d2dee60bec Merge m-c to inbound. 2013-08-01 20:25:21 -04:00
Ryan VanderMeulen
501ddf3329 Merge m-c to fx-team. 2013-08-01 16:35:13 -04:00
David Zbarsky
f2ea7c733f Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
c882d5964c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
Brian R. Bondy
4d9f367669 Bug 900111 - Fix CSSIntPoints and LayoutDeviceIntPoint usage in APZC Metro implementation. r=kats 2013-08-01 13:44:41 -04:00
David Zbarsky
ec4563559d merge backout 2013-08-01 01:54:34 -07:00
David Zbarsky
93caf8a63e backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
Nicholas Cameron
4772e654e1 merge backout, a=me 2013-08-01 18:39:19 +12:00
Nicholas Cameron
f67c88d7e9 back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
David Zbarsky
c59f81b1cd Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
290d2c27a6 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron
9d09b0b60d Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow 2013-08-01 16:52:36 +12:00
Nicholas Cameron
068a3c90a4 Bug 874721. CompositorD3D9, r=Bas 2013-08-01 16:50:52 +12:00
Stephen Pohl
4975c64924 Bug 874570: Make scrollbar frames smaller for small overlay scrollbars. r=smichaud 2013-08-01 17:01:22 -04:00
Edwin Flores
ab2e1211cc Bug 882342 - Blacklist Motorola XT890 running Android 4.1 for H264 playback r=bjacob 2013-08-01 15:12:14 +12:00
Birunthan Mohanathas
b984af7279 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
32b4d9e44e Bug 900044 - MetroCompositorParent is no longer needed. r=kats 2013-07-31 20:59:27 -04:00
Brian R. Bondy
2c82773b87 Bug 900044 - Get rid of viewport-needs-updating and related code. r=kats 2013-07-31 20:59:24 -04:00
Wes Kocher
515cc50f07 Merge m-c to inbound 2013-07-31 17:36:03 -07:00
Ehsan Akhgari
e4c675b65d Backed out changeset 197b12188f3a (bug 893973) for causing bug 9000007 2013-07-31 17:06:38 -04:00
Nicholas Cameron
a2cdf1ab09 Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Ryan VanderMeulen
02d1dbe0d8 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
David Zbarsky
0d3882f4c1 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
46494d4c25 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Ryan VanderMeulen
7c692c494b Merge m-c to birch. 2013-07-30 15:43:05 -04:00
Kartikaya Gupta
d334e608da Bug 866232 - Update the Windows Metro code to handle APZCTreeManager. r=BenWa, bbondy 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
40271aeb0c Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
0ab038a3d2 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
047677d3e3 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
7229dec7e1 Bug 898897 - Update GonkDisplayJB to support JB MR2, r=vlad 2013-07-30 13:36:53 -04:00
Ryan VanderMeulen
6054b3a67b Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Ryan VanderMeulen
1b206895a6 Merge m-c to birch. 2013-07-30 13:11:10 -04:00
Martin Stransky
583d02b3cd Bug 899460 - Remove MOZ_GTK_EXPANDER. r=karlt 2013-07-30 10:03:44 -04:00
Martin Stransky
423a9be741 Bug 897404 - Port GTK2 to GTK3 - treeview rendering, expander fix. r=karlt 2013-07-30 10:03:14 -04:00
David Zbarsky
fdbb43c394 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
10f3eae40e Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
David Zbarsky
d3fdca2e8d Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
David Zbarsky
0240aeb948 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
Michael Vines
e40523d01b Bug 895665 - Gonk support for dev input audio jack events. r=mwu 2013-07-29 21:27:48 -07:00
Chris Kitching
be8d84a3fa 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
96392aa492 Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc
--HG--
extra : rebase_source : 4e63339d0aa2ca732c1d12c4abcf891b70ee0056
2013-07-31 08:51:45 +12:00
Ryan VanderMeulen
2a93f2cff1 Merge m-c to inbound. 2013-07-30 15:41:57 -04: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
Markus Stange
ecaf594ecd Bug 898126 - Cache client hit test values, r=jimm 2013-07-29 13:19:34 +02:00
Kartikaya Gupta
dc291eb209 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
64dbc43c4d 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
00e61e639b Bug 901129 - Remove XUL Fennec's MOZ_ONLY_TOUCH_EVENTS flag. r=kats 2013-08-05 10:32:01 -07:00
Carsten "Tomcat" Book
0d5021bdcc Merge mozilla-central to mozilla-inbound 2013-08-05 11:59:14 +02:00
David Zbarsky
f9946af078 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-08-05 00:51:22 -04:00
David Zbarsky
b9427f8d2b Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Nicholas Cameron
01b5ddf493 backout incorrect change from warning to assertion from bug 874721. r=me 2013-08-05 11:20:02 +12:00
Nicholas Cameron
dd58f82344 Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Timothy Nikkel
991b1b9a96 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
c7944656a1 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
991fb80d47 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
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Daniel Holbert
cb038f099c Bug 896292: Mark widget/gtk2 as FAIL_ON_WARNINGS. r=karlt r=gps 2013-07-24 15:41:55 -07:00
Joe Drew
662c1a77ce Bug 882190 - Remove empty variable assignment. r=glandium
--HG--
extra : rebase_source : 3b4c06182d01e8ba98fb7dbb3516a165bc599d75
2013-07-26 10:42:16 -04:00
Daniel Holbert
f8107c844e 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
80f58dff4e Bug 869940 - APZC Metro winrt implementation. r=jimm 2013-07-25 13:15:16 -04:00
Arnaud Bienner
e9ec0f66a3 Bug 875753 - Color input: Gtk widget. r=karlt 2013-06-22 15:39:43 +02:00
Markus Stange
0f26569e5a Bug 897260 - Don't go through DispatchMouseEvent when sending hit test events. r=jimm 2013-07-25 14:25:39 +02:00
Masayuki Nakano
b181171f7d 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
c3b1ef1a90 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
be99de5b45 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
d75d632341 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
87981fb43c 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
9cfb44c724 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
4f0af33543 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
247d68c8c2 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
cec9a79596 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
c26c4b645c 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
40af7581a5 Backout 04bde6c5fb16 (bug 896292) for PGO-only build bustage on a CLOSED TREE 2013-07-24 19:28:18 -07:00
Daniel Holbert
4b376ff6ea Bug 896292: Mark widget/gtk2 as FAIL_ON_WARNINGS. r=karlt r=gps 2013-07-24 15:41:55 -07:00
Ryan VanderMeulen
abe5f8d26d Merge m-c to inbound. 2013-07-24 18:22:45 -04:00
Ed Morley
a4c659faee Merge mozilla-central and fx-team 2013-07-24 13:37:09 +01:00
Tim Taubert
4c63bf75c7 merge m-c to fx-team 2013-07-24 12:15:50 +02:00
Ms2ger
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Tim Taubert
967a2f8c25 Bug 894876 - part 1 - Add support for GDK_BUTTON_RELEASE in nsWindow::SynthesizeNativeMouseEvent(); r=karlt 2013-07-24 09:58:50 +02:00
Ms2ger
7d7359c752 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
f79359461b Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
c17d0c9cf2 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
ffdcf14f78 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Nicholas Cameron
936a43cf50 Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow 2013-08-01 10:20:24 +12:00
Markus Stange
357a5710a9 Bug 898415 - Fix context menu hittest event position. r=jimm 2013-08-09 19:56:53 +02:00
Nicholas Cameron
d29ce699f6 Bug 874721. OMTC Windows window resizing. r=mattwoodrow 2013-07-23 11:02:22 +12:00
Edwin Flores
fea6fd5d1a Bug 889433 - Blocklist h264 playback on Sony devices running Android 4.2 r=doublec 2013-07-23 06:34:09 +12:00
Alexander Surkov
56737532c1 Bug 891338 - Popup accessibility broken, r=tbsaunde, roc, f=marcoz, jamie 2013-07-22 11:58:19 -04:00
Chris Lord
8c0e0a398a Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Daniel Holbert
41d5c44f7d Bug 896032: Don't bother capturing return value from CallGetService in nsGtkKeyUtils.cpp, since we don't use it. r=smontagu 2013-07-21 15:53:53 -07:00
Steven Michaud
8501ad844e Bug 893973 - crash in -[ChildView keyDown:], log debugging info to Breakpad's app notes. r=ted,masayuki 2013-07-19 16:21:25 -05:00
Timothy Nikkel
3c38237ade Bug 891424. Hide cocoa window's when they are destroyed, otherwise they can stay on screen, and remove a different fix for the same bug that caused a regression. r=smichaud
We also remove a different fix for this same bug that caused some regressions: calling RemoveChild so that the nsCocoaWindow actually dies.
2013-07-19 15:57:59 -05:00
Ryan VanderMeulen
c17b9138c8 Backed out changeset 01d5bde15738 (bug 893973) for OSX bustage.
CLOSED TREE
2013-07-19 13:56:36 -04:00
Steven Michaud
12394a989e Bug 893973 - crash in -[ChildView keyDown:], add debugging info to Breakpad's app notes. r=ted,masayuki 2013-07-19 12:08:18 -05:00
J. Ryan Stinnett
e6ab16060b Bug 893670 - Part 2: Expand NativeKeyBindings tests. r=masayuki
--HG--
extra : rebase_source : 9a4c15b3c2bb3631db9cf5f5b91aecefa9528db5
2013-07-18 13:34:26 -05:00