Masatoshi Kimura
d79bff15ab
Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame
...
MozReview-Commit-ID: 6Ha8XrJBSiU
2017-04-13 07:20:35 +09:00
Kan-Ru Chen
3f7e846190
Bug 1194751 - Part 6.1 change nsScreenManagerAndroid::ScreenForId to a concrete method. r=snorp
...
nsIScreen::GetId and nsIScreenManager::ScreenForId is removed in patch
part 6. These methods are still used by Fennec on Android to implement
Presentation API support so I changed them to concrete methods in
nsScreenAndroid and nsScreenManagerAndroid.
nsScreenAndroid and nsScreenManagerAndroid does not use the generic
Screen and ScreenManager class because its implementation is quite
different.
MozReview-Commit-ID: 4rxxIgvNxMb
2017-03-09 19:30:53 +08:00
Kan-Ru Chen
f338a740fd
Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley
...
This is the most important part of the patch series. It removes the
PScreenManager protocol and use ScreenManager directly in the content
processes.
Initial and subsequent updates are sent via PContent::RefreshScreens.
struct ScreenDetails are kept to serialize Screen over IPC.
nsIScreenManager::ScreenForNativeWidget is removed because
nsIWidget::GetWidgetScreen can replace it. nsIScreen::GetId is removed
because it's not useful for the more general Screen class.
MozReview-Commit-ID: 5dJO3isgBuQ
2017-03-09 19:30:26 +08:00
Kan-Ru Chen
2eb57bf5a2
Bug 1194751 - Part 2. Remove unused nsIScreen::LockMinimumBrightness and related methods. r=snorp
...
It's not used anywhere in gecko or addons. Remove it will make
removing PScreenManager easier.
MozReview-Commit-ID: K3BHnktO7wU
2017-03-09 19:16:29 +08:00
Kan-Ru Chen
4adb5cec0c
Bug 1194751 - Part 1. Remove nsIScreenManager::GetNumberOfScreens. r=jimm
...
It's not used anywhere. Remove it will make removing PScreenManager
easier.
MozReview-Commit-ID: 5dn8kDhTZVl
2017-03-09 19:16:24 +08:00
James Willcox
38db513bfd
Bug 1314974 - Make GeckoView on Android work again r=jchen
2016-11-14 14:55:29 -06:00
KuoE0
bce02309bd
Bug 1282003 - (Part 2) Add screenManagerHelper in Java. r=snorp
...
MozReview-Commit-ID: BLw6e7dgldt
2016-09-23 23:03:00 +08:00
KuoE0
f3d2a6ae30
Bug 1282003 - (Part 1) Add display type/density info and addScreen/removeScreen function. r=snorp
...
MozReview-Commit-ID: 52IoWc1xevL
2016-10-03 16:23:23 +08:00
Sebastian Hengst
5d2242e78d
Backed out changeset ddf5af982d8b (bug 1282003) for Android xpcshell X3 crash while running test_ext_alarms.js. r=backout
2016-10-06 20:39:25 +02:00
Sebastian Hengst
40b616d84d
Backed out changeset 13db73034f80 (bug 1282003)
2016-10-06 20:37:05 +02:00
KuoE0
4712420500
Bug 1282003 - (Part 2) Add screenManagerHelper in Java. r=snorp
...
MozReview-Commit-ID: BLw6e7dgldt
2016-09-23 23:03:00 +08:00
KuoE0
a5fe447743
Bug 1282003 - (Part 1) Add display type/density info and addScreen/removeScreen function. r=snorp
...
MozReview-Commit-ID: 52IoWc1xevL
2016-10-03 16:23:23 +08:00
Jim Chen
7db9a1b7e6
Bug 1292323 - Update WrapForJNI usages; r=snorp
...
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.
Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Jim Chen
e8f534d407
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book
58f5467519
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
0ea27022be
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
James Willcox
45766654b2
Bug 1182665 - Don't try to call JNI methods in nsScreenManagerAndroid if it's not available r=esawin
2015-09-28 09:36:59 -05:00
James Willcox
751e8882c2
Bug 1182665 - Use a direct JNI call to determine screen size in nsScreenManagerAndroid r=jchen
2015-09-28 09:36:56 -05:00
Nicholas Nethercote
0929981996
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Jim Chen
60b2a7d4b1
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Mike Conley
bf9347dcdd
Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
...
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
2014-07-14 13:22:26 -04:00
Mike Conley
66d80357a6
Backed out bdf72cebcd85 to fix a CLOSED TREE.
2014-07-14 12:20:16 -04:00
Mike Conley
9f79707de3
Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
...
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
2014-07-14 11:57:06 -04:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
snigdha
724d084f99
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ryan VanderMeulen
86af8bac61
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
238d3a6bf5
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Chris Kitching
69fdb42135
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
4501219603
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e115439e46
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Chris Lord
c3aabd3407
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-07-04 14:53:25 +01:00
Ehsan Akhgari
6a7064a975
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
Chris Lord
50319e6e66
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-05-29 15:25:40 +01:00
Trevor Saunders
0912ad014d
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
Chris Lord
b43c75dc8a
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-05-28 18:50:16 +01:00
Ryan VanderMeulen
ffbcd55751
Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
...
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
5962935c94
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-05-02 18:25:16 +01:00
Jonathan Kew
bb5d358e00
bug 851520 - add systemDefaultScale attribute to nsIScreenManager, and use it to decide when to remove browser.content.full-zoom prefs during UI migration if running on windows/hi-dpi. r=roc,adw
2013-04-09 22:07:02 +01:00
Jonathan Kew
b4ca5c05af
backout 4149244358fd and 5ad0e08799d9 (bug 851520) for b2g bustage on a CLOSED TREE
2013-04-09 21:57:12 +01:00
Jonathan Kew
f1fd1e6bc5
bug 851520 part 1 - expose systemDefaultScale attribute on nsIScreenManager. r=roc
2013-04-09 14:28:55 +01:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Benoit Jacob
eb504165d5
Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg
2012-07-05 10:32:10 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Wu
f1e6818a57
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 19:01:12 -05:00
Ryan VanderMeulen
acf11eb53e
Back out 2175db811fad (bug 734081) due to Android reftest failures.
2012-03-08 18:41:28 -05:00
Michael Wu
d152d3ffa3
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 17:06:54 -05:00
Chris Jones
5e1c7f9903
Bug 672166: Get rid of nsIScreen_MOZILLA_2_0_BRANCH and create nsBaseScreen for shared code. sr=roc
2012-01-04 18:12:48 -08:00
Chris Jones
b2f2b057f7
Backed out changeset 64d814cd18b3
2012-01-04 01:17:38 -08:00
Chris Jones
8d6defca48
Bug 714416: Get rid of nsIScreen_MOZILLA_2_0_BRANCH and create nsBaseScreen for shared code. sr=roc
2012-01-03 21:56:05 -08:00