Commit Graph

6324 Commits

Author SHA1 Message Date
Ryan VanderMeulen
7211f55f91 Backed out changeset 90f4975ba986 (bug 879172) for Android bustage on a CLOSED TREE. 2013-06-11 16:13:56 -04:00
JosiahOne
8b4203daf6 Bug 881713 - Use onClick: for double-click actions in drawInTitlebar windows. r=smichaud 2013-06-11 13:33:32 -04:00
Benoit Jacob
aa04f35f5a Bug 879172 - Recognize a device as Sony as soon as its Manufacturer string contains Sony as substring - r=joe 2013-06-11 14:55:13 -04:00
Kartikaya Gupta
c78c6af9f4 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
KO Myung-Hun
97d46d7ee2 Bug 768742 - Support multiple clauses of OS/2 IME. r=masayuki 2013-06-11 08:12:07 -04:00
Ryan VanderMeulen
254db91ed2 Merge m-c to inbound. 2013-06-10 12:26:38 -04:00
Kartikaya Gupta
3add0c36b5 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
21233ee23c Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
8125a1cac7 Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Martin Stransky
572a55316c Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt 2013-06-10 08:36:26 -04:00
Sotaro Ikeda
2d8e4dae08 Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Federico Paolinelli
55bcb1df9b Bug 876485 - Moved clipboard code from GeckoAppShell to a separate Clipboard class. Changed jni calls to new methods. r=cpeterson 2013-06-07 13:39:37 -07:00
Stephen Pohl
d775786d2c Bug 880753: Add public nsLookAndFeel::UseOverlayScrollbars method. r=smichaud 2013-06-07 12:44:24 -07:00
Evan Wallace
4df7cb90f2 Bug 879374 - Add mozPressure support for OS X. r=smichaud 2013-06-07 08:40:28 -04:00
Markus Stange
ca377fa6dd Bug 866027 - Recreate window corner mask when window resolution changes. r=bgirard 2013-06-07 11:50:25 +02:00
JosiahOne
489a85aa1e Bug 853105 - Allow double-click to minimize on windows with drawInTitlebar enabled. r=mstange, r=smichaud 2013-05-20 17:38:54 -04:00
Ed Morley
836a321fdf Merge latest green birch changeset and mozilla-central 2013-06-06 10:44:11 +01:00
Alexandre Lissy
8da3611a5b Bug 879695 - Notify the modem that screen state has been changed. r=vicamo,kanru
This seems to be needed on some devices to ensure proper low power state
of the modem.
---
 dom/system/gonk/RadioInterfaceLayer.js | 15 +++++++++++++++
 widget/gonk/nsWindow.cpp               |  9 +++++++++
 2 files changed, 24 insertions(+)
2013-06-06 15:28:59 +08:00
Michael Wu
d2b4696cee Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
Ryan VanderMeulen
5c3a853c0c Backed out changeset fe9dcdf48551 (bug 879374) for mochitest-3 crashes. 2013-06-05 13:28:44 -04:00
Evan Wallace
c883dde215 Bug 879374 - Add mozPressure support for OS X. r=smichaud 2013-06-05 12:16:38 -04:00
Alfredo Yang
f46ff90dd3 Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Martin Stransky
268e071e68 Bug 878781 - Port GTK2 to GTK3 - widget minor fixes. r=karlt 2013-06-04 08:23:29 -04:00
Ryan VanderMeulen
eed17358d0 Merge m-c to inbound. 2013-06-03 11:58:20 -04:00
Tim Chien
e7048f5a98 Bug 878029 - Update GetDefaultScaleInternal() in Gonk to match AOSP spec. r=mwu 2013-06-03 08:30:28 -04:00
Kartikaya Gupta
a470c3e0a4 Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa 2013-06-03 10:00:02 -04:00
Kartikaya Gupta
94f09001ff Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
3bec007d2f Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
d45ced53de Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
83f51d55ac Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Nicholas Cameron
6ee6b3fdfb Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Ehsan Akhgari
d767884115 Bug 876129 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : ef4ac31003d75fb0fe17b493d7267ba3306e77bf
2013-05-30 22:23:49 -04:00
Chris Peterson
b0637c312a Bug 877503 - Add MOZ_FINAL to some Android classes to fix gcc 4.7 warnings-as-errors. blanket-r=ehsan rs=tbsaunde 2013-05-30 11:26:02 -07:00
Ehsan Akhgari
cd8af7ed45 Backed out changeset cfca6afaaf9b (bug 865806) because it doesn't speak the secret phrase "nsIDocumentInlines.h" (on a CLOSED TREE, because that's how I roll) 2013-05-31 13:08:55 -04:00
Ehsan Akhgari
2f767e9604 Bug 865806 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : 6c0dba10c1ac4f08914632179e15c13c2ff271aa
2013-05-30 22:23:49 -04:00
Timothy Arceri
4edc7eae77 Bug 877409 - Replace depreciated GDK_ROOT_PARENT(). r=karlt 2013-05-31 11:48:33 -04:00
Ehsan Akhgari
e5a87be26a Bug 865806 - Part 1: Continue walking up the frame tree when hitting a transparent frame as we're trying to determine whether a given element's background is dark or not; r=roc
This heuristic improvement gives us correct dark background detection in
pdf.js, among other cases.

--HG--
extra : rebase_source : 5a8f920da1b63f6452ec709745b2154b6fc17ceb
2013-05-30 14:27:57 -04:00
Kartikaya Gupta
e10ad61242 Bug 797615 - Guard against isBrowserContentDocumentDisplayed returning true prematurely. r=Cwiiis
Prior to this change, isBrowserContentDocumentDisplayed returned false
from the time that the isFirstPaint flag was set in layout to the time
that layout handed off the rendered document to the compositor. However
the way the function is used meant that it needs to return false until
the compositor actually composites the "first-paint" rendering,
otherwise other events can sneak in and run before the compositor. This
patch moves the tracking for the flag into GeckoLayerClient so that it
can be queried and modified synchronously from both the Gecko thread in
browser.js and the compositor thread in setFirstPaintViewport.
2013-05-30 09:55:23 -04:00
Kartikaya Gupta
310eebaf46 Bug 797615 - Cosmetic cleanup for the getDisplayPort JNI wrapper. r=Cwiiis 2013-05-30 09:55:08 -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
Ryan VanderMeulen
7f7638884d Bug 874689 - Re-delete files from merge conflict. 2013-05-30 07:51:23 -04:00
Ryan VanderMeulen
827fcbe731 Merge m-c to inbound. 2013-05-30 07:47:14 -04:00
Jacek Caban
761b7eb101 Bug 855975 - Include typo fix. 2013-05-30 11:52:14 +02:00
Oleg Romashin
bcc3049fc2 Bug 877191 - Gonk does not compile with later m-c on 4.6 compiler. r=mwu
From 0ff67b491787206102e3f079026bdb54339f69bf Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/GonkGPSGeolocationProvider.cpp |    6 +++---
 dom/system/gonk/GonkGPSGeolocationProvider.h   |    1 +
 widget/gonk/nsIdleServiceGonk.h                |    7 +++----
 3 files changed, 7 insertions(+), 7 deletions(-)
2013-05-29 17:43:17 -07:00
Masayuki Nakano
7876b3cf4a Bug 855975 part.22 Move sModifierKeyMap from nsWindowDefs.h to KeyboardLayout.h r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
c640b77df0 Bug 855975 part.21 Rename nsFakeCharMessage with widget::NativeKey::FakeCharMsg r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
cd49d4d2e3 Bug 855975 part.20 Sort out the scope of the methods of widget::NativKey r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
922f0b5231 Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
7551a416f9 Bug 855975 part.18 Merge widget::NativeKey::DispatchKeyDown() into widget::NativeKey::HandleKeyDown() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
4c48e1c742 Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
1ab228a001 Bug 855975 part.16 Move keydown message redirect manager from nsWindow to widget::RedirectedKeyDownMessageManager r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
efc4a11cf0 Bug 855975 part.15 Use widget::NativeKey::mCommittedCharsAndModifiers directly in the methods of widget::NativeKey r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
0632e355e7 Bug 855975 part.14 Move following WM_*CHAR message handler from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventForFollowingCharMessage() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
ccb55145e2 Bug 855975 part.13 widget::NativeKey should manage following WM_*CHAR message if it's initialized with WM_*KEYDOWN r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
ef51fe1b90 Bug 855975 part.12 Move special keypress event handling from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsAndDiscardsCharMessages r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
5034f64df3 Bug 855975 part.11 Sort out the if statement which checks whether the native keydown message needs to be handled without following char messages r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
9f79fc90e0 Bug 855975 part.10 Move nsWindow::DispatchPluginEvent() to nsWindowBase r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
784d35b1d8 Bug 855975 part.9 Move keypress events dispatcher of nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsWithKeyboardLayout() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
ce806a1c37 Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
3482380faf Bug 855975 part.7 Implement widget::NativeKey::DispatchKeyDownEvent() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
d555902428 Bug 855975 part.6 Move nsWindow::OnKeyUp() to widget::NativeKey::HandleKeyUpMessage() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
bdba6b134a Bug 855975 part.5 Move nsWindow::DispatchKeyEvent() to widget::NativeKey::DispatchKeyEvent() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
06784d3861 Bug 855975 part.4 Move nsWindow::InitKeyEvent() to widget::NativeKey::InitKeyEvent() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
daf9f3cb8e Bug 855975 part.3 Wrap MapVirtualKeyEx() API for converting VK to ScanCode with widget::KeyboardLayout r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
4b2966d23d Bug 855975 part.2 Wrap MapVirtualKeyEx() API for converting native key event to VK or Unichar with widget::NativeKey r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
ba96c80c90 Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm 2013-05-29 15:34:47 +09:00
André Reinald
fbbd7c5262 Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange
Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange

--HG--
extra : rebase_source : 002fdce7f49d852e567438481609be58dd76bcc4
2013-05-21 12:58:00 -07:00
André Reinald
3a7449434c Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Ryan VanderMeulen
7b98f2c6d3 Backed out changesets 3c08a0d87dc5, b6147b141643, and a38ef60582d9 (bug 874689) for Android build bustage.
CLOSED TREE
2013-05-28 21:35:26 -04:00
Wes Johnston
85e49826ce Bug 874689 - Move android file picker to a js component. r=mfinkle 2013-05-28 16:28:30 -07:00
Trevor Saunders
11be8dcfb7 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Brian R. Bondy
8b50d41538 Bug 875609 - Refactor jump list code to decode images on the main thread. r=jimm 2013-05-28 14:08:48 -04:00
Brad Lassey
ac960c354c bug 876270 - crash in mozilla::plugins::parent::_getvalue r=snorp 2013-05-28 12:49:04 -04:00
Chris Lord
11527759ab Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-28 18:50:16 +01:00
Mike Shal
6f32ddf61c 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
Stephen Pohl
7546829bc2 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
0e3edb584a Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
622d3dddfd Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Masayuki Nakano
3fd2b773dd Bug 807893 part.3 Add tests for secure input mode of Cocoa widget r=smichaud 2013-05-25 01:27:52 +09:00
Masayuki Nakano
400296b5fd Bug 807893 part.2 Cocoa widget should manage secure input mode with input context at changing the context and changing focus r=smichaud 2013-05-25 01:27:52 +09:00
Masayuki Nakano
9f1395d4f8 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Aryeh Gregor
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Markus Stange
b7401674b3 Bug 875441 - Don't keep reapplying the 2x scale in HiDPI mode when drawing the titlebar buttons. r=mattwoodrow 2013-05-24 08:12:27 +02:00
Markus Stange
07bad85738 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Markus Stange
e534890bb4 Bug 676241 part 7: Update comments. 2013-05-23 16:49:17 +02:00
Markus Stange
a9a7f95579 Bug 676241 part 6/9/11: Correct titlebar drawing. r=bgirard, r=smichaud, r=mattwoodrow 2013-05-23 16:49:17 +02:00
Markus Stange
99f84a8f8d Bug 676241 part 5: Don't invalidate unnecessarily in OMTC mode. r=mattwoodrow 2013-05-23 16:55:50 +02:00
Markus Stange
315c1661f4 Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud 2013-05-23 16:49:17 +02:00
Markus Stange
57c0f53375 Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
84efe84c4c Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
fd431675f5 Bug 676241 part 1: Don't draw rounded corners in -moz-appearance titlebar / toolbar rendering. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
8ade205eb2 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Markus Stange
eb3eb8c485 Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh 2013-05-22 11:48:47 +02:00
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Markus Stange
e129b2f0f9 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange
359f366595 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Markus Stange
9eb8298b72 Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh
--HG--
extra : rebase_source : 23f17c9bd93ae34ce171ebe24b3576b4c825795e
2013-05-22 11:48:47 +02:00
Ehsan Akhgari
7440abb0bd Bug 865806 follow-up: fix a typo
DONTBUILD because this is a comment change.

--HG--
extra : transplant_source : %7D%C6%13%95%CE%3C%01U%CB7%E8%CF%E3%14%87%14%05%C8G%FD
2013-05-21 11:04:16 -04:00
Gijs Kruitbosch
f07b63c125 Bug 874391 - Missing nullchecks in nsNativeTheme::IsDarkBackground(nsIFrame*), r=roc
--HG--
extra : rebase_source : e9161f3fbce9b53e4c74314cc94fb9556f7a9548
2013-05-21 16:27:31 +02:00
Ehsan Akhgari
58637fe4e1 Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00