Commit Graph

6336 Commits

Author SHA1 Message Date
Kartikaya Gupta
5ce3e1c211 Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
6b45d7c64f Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa 2013-06-14 16:11:29 -04:00
Vladimir Vukicevic
d88ff928f5 b=879624; un-blocklist RDP for hardware accel if server is Win8/2012; r=bjacob 2013-06-14 15:34:41 -04:00
Jim Chen
331bf1f64b Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa 2013-06-14 12:42:10 -04:00
Jim Chen
af22401d62 Bug 863777 - Implement native stack JNI calls using the profiler API; r=BenWa 2013-06-14 12:42:10 -04:00
Jim Chen
7ac143ee85 Bug 863777 - Add native stack JNI method definitions; r=kats 2013-06-14 12:42:10 -04:00
Ehsan Akhgari
8ee5a78089 Bug 882948 - Add widget level support for AeroLite for Winodws Server 2012/2013; r=roc 2013-06-13 18:41:26 -04:00
Ehsan Akhgari
0cae3ba5bd Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Kartikaya Gupta
fa8050e549 Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Ryan VanderMeulen
8ac6e127df Merge m-c to inbound. 2013-06-11 21:03:14 -04:00
Sotaro Ikeda
5f4621e3f4 Bug 881565 - nsAppShell fails to compile with JB Gonk, r=mwu 2013-06-11 16:47:44 -04:00
Benoit Jacob
ad9a5a5ba1 Bug 879172 - Recognize a device as Sony as soon as its Manufacturer string contains Sony as substring - r=joe, CLOSED TREE 2013-06-11 14:55:13 -04:00
Ryan VanderMeulen
9c0624b2a8 Backed out changeset 90f4975ba986 (bug 879172) for Android bustage on a CLOSED TREE. 2013-06-11 16:13:56 -04:00
JosiahOne
7537f55f0e Bug 881713 - Use onClick: for double-click actions in drawInTitlebar windows. r=smichaud 2013-06-11 13:33:32 -04:00
Benoit Jacob
e64785ee7d 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
1d2c4c97c5 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
KO Myung-Hun
a9ff0a7621 Bug 768742 - Support multiple clauses of OS/2 IME. r=masayuki 2013-06-11 08:12:07 -04:00
Ryan VanderMeulen
52f3758e3b Merge m-c to inbound. 2013-06-10 12:26:38 -04:00
Kartikaya Gupta
752fd9f999 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
8eed7300fd 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
8cf123d18d Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Martin Stransky
9386e8c35b 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
fb0816d02d Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Federico Paolinelli
12c13db841 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
07d696288b Bug 880753: Add public nsLookAndFeel::UseOverlayScrollbars method. r=smichaud 2013-06-07 12:44:24 -07:00
Evan Wallace
337f06d856 Bug 879374 - Add mozPressure support for OS X. r=smichaud 2013-06-07 08:40:28 -04:00
Markus Stange
970bda8200 Bug 866027 - Recreate window corner mask when window resolution changes. r=bgirard 2013-06-07 11:50:25 +02:00
JosiahOne
2d855a9726 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
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