Commit Graph

6308 Commits

Author SHA1 Message Date
Ed Morley
ba374cc04b Merge latest green birch changeset and mozilla-central 2013-06-06 10:44:11 +01:00
Alexandre Lissy
5ff9e00e05 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
a6e67842ea Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
Ryan VanderMeulen
31c1714212 Backed out changeset fe9dcdf48551 (bug 879374) for mochitest-3 crashes. 2013-06-05 13:28:44 -04:00
Evan Wallace
875763f809 Bug 879374 - Add mozPressure support for OS X. r=smichaud 2013-06-05 12:16:38 -04:00
Alfredo Yang
f3f1eae58a Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Martin Stransky
dcfdc43973 Bug 878781 - Port GTK2 to GTK3 - widget minor fixes. r=karlt 2013-06-04 08:23:29 -04:00
Ryan VanderMeulen
c943988608 Merge m-c to inbound. 2013-06-03 11:58:20 -04:00
Tim Chien
58cbdd692d Bug 878029 - Update GetDefaultScaleInternal() in Gonk to match AOSP spec. r=mwu 2013-06-03 08:30:28 -04:00
Kartikaya Gupta
390f0e432f Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa 2013-06-03 10:00:02 -04:00
Kartikaya Gupta
7a734ca654 Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34 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
e1db212150 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
e856edd560 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
68501eed17 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
b9bb211b66 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
9755fce1d6 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
f21406d5f8 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
e3a11dcced Bug 877409 - Replace depreciated GDK_ROOT_PARENT(). r=karlt 2013-05-31 11:48:33 -04:00
Ehsan Akhgari
574b61e8c5 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
b2018ae86d 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
7f6f0f474c Bug 797615 - Cosmetic cleanup for the getDisplayPort JNI wrapper. r=Cwiiis 2013-05-30 09:55:08 -04:00
Timothy Arceri
961ec3a003 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
708c9d9d49 Bug 874689 - Re-delete files from merge conflict. 2013-05-30 07:51:23 -04:00
Ryan VanderMeulen
31c9996924 Merge m-c to inbound. 2013-05-30 07:47:14 -04:00
Jacek Caban
c4be0ccdfc Bug 855975 - Include typo fix. 2013-05-30 11:52:14 +02:00
Oleg Romashin
d6d1948115 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
14784660ce Bug 855975 part.22 Move sModifierKeyMap from nsWindowDefs.h to KeyboardLayout.h r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
deb01d1e15 Bug 855975 part.21 Rename nsFakeCharMessage with widget::NativeKey::FakeCharMsg r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
49bc7406ab 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
838fa772a2 Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
d8b50c6c85 Bug 855975 part.18 Merge widget::NativeKey::DispatchKeyDown() into widget::NativeKey::HandleKeyDown() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
e4d4596767 Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
da5d92d2e0 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
30bf421779 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
1a7102e066 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
77f6812c7f 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
c8623ab9ad 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
b272cd6a97 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
09667587b0 Bug 855975 part.10 Move nsWindow::DispatchPluginEvent() to nsWindowBase r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
4eb35f33ea 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
106ef94c92 Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
556c1de91f Bug 855975 part.7 Implement widget::NativeKey::DispatchKeyDownEvent() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
427c32ac58 Bug 855975 part.6 Move nsWindow::OnKeyUp() to widget::NativeKey::HandleKeyUpMessage() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
b47fe5bf34 Bug 855975 part.5 Move nsWindow::DispatchKeyEvent() to widget::NativeKey::DispatchKeyEvent() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
02cbe37549 Bug 855975 part.4 Move nsWindow::InitKeyEvent() to widget::NativeKey::InitKeyEvent() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
852214ecc6 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
a178dc2642 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
85c5e63185 Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm 2013-05-29 15:34:47 +09:00
André Reinald
c8eb6afa60 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
fe9b343359 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
86ba0943c8 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
9da7d06d1d Bug 874689 - Move android file picker to a js component. r=mfinkle 2013-05-28 16:28:30 -07:00
Trevor Saunders
4a839150dd 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
6fec3659b8 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
97bbee45a5 bug 876270 - crash in mozilla::plugins::parent::_getvalue r=snorp 2013-05-28 12:49:04 -04:00
Chris Lord
7d45dd3311 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-28 18:50:16 +01:00
Mike Shal
994cfe0b6b 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
0cf8e74945 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
2acc2dfcba Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
e41e125889 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
af71451b2c 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
db93e5e899 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
fb14551e52 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Markus Stange
c1f38a9837 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
66fb5cfd84 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Markus Stange
ddf3106bdf Bug 676241 part 7: Update comments. 2013-05-23 16:49:17 +02:00
Markus Stange
0f6c6dbcbb 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
323a20cb6f Bug 676241 part 5: Don't invalidate unnecessarily in OMTC mode. r=mattwoodrow 2013-05-23 16:55:50 +02:00
Markus Stange
e61aece191 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
893a9122a4 Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
8d7ccf203f Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
a8a6de76c8 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
ea03392fcc Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Markus Stange
82b48366b9 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
54ef3d2952 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
7b49365fa6 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange
7343081400 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
c53450ff86 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
423c992573 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
d1cf343ec6 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
3222252b7a 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
Ehsan Akhgari
cb75c641f1 Backed out changeset b097bd9fd24c because of Windows build bustage 2013-05-19 11:29:19 -04:00
Ehsan Akhgari
e43574cf4f 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
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
David Zbarsky
8649b6e814 Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Tim Abraldes
4a868b408f bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. This time without bustage! r=bbondy 2013-05-16 21:22:21 -07:00
Phil Ringnalda
eb385de2df Back out 9675dce26f53 (bug 839342) for browser-chrome bustage 2013-05-16 20:09:24 -07:00
Tim Abraldes
b11ea57c38 bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. r=bbondy 2013-05-16 17:47:46 -07:00
Tatiana Meshkova
99a1bcec07 Bug 876530 - Fix implicit conversions to already_AddRefed in Qt widget. r=romaxa 2013-05-27 16:29:36 -07:00
Martin Stransky
87109d6546 Bug 627699 - Port GTK2 to GTK3, nsLookAndFeel part. r=karlt 2013-05-29 19:26:40 -04:00
Martin Stransky
e15e35e4b3 Bug 627699 - Port GTK2 to GTK3, set radio button active/inactive. r=karlt 2013-05-29 19:26:40 -04:00
Martin Stransky
69e3f6279f Bug 627699 - Port GTK2 to GTK3, menubar is transparent in gtk3. r=karlt 2013-05-29 19:26:40 -04:00
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Stephen Pohl
9bdedbea3e Bug 877085: Fix crash when trying to obtain the width of non-disappearing scrollbars. r=smichaud 2013-05-29 13:28:42 -07:00
Brad Lassey
193ec09252 bug 856445 - Startup crash on LG Optimus Black (LG P970), don't init sms objects we don't use if sms support isn't enabled r=bnicholson 2013-05-29 00:52:40 -04:00
Timothy Arceri
1c99af43e0 Bug 876553 - Rotate the filepicker preview image base on the exif orientation tag r=karlt 2013-05-30 00:05:51 +08:00
Wes Johnston
2daa3823b4 Bug 874689 - Move android file picker to a js component. r=mfinkle 2013-05-29 08:08:55 -07:00