Граф коммитов

337 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 2e8831888f Bug 1049887 - Ensure we properly restore the scissor rect state in the GL context after running Java code. r=snorp
The C++ GLContext wrapper doesn't know about the changes to the GL state that the
Java code does, so Java must be careful to restore the GL state to the way
it was. The ScopedGLState RAII code doesn't quite accomplish this because of caching
in the C++ GLContext wrapper, so we have to do this directly from Java code.
2014-08-20 10:38:51 -04:00
Kartikaya Gupta 80b3b6bf72 Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Kartikaya Gupta 96362eb56b Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
Benoit Jacob db65b34b46 Bug 586656 - Serialize external "pluginEvent" structs in WidgetGUIEvent so that plugin events work in e10s - r=masayuki,jimm 2014-07-23 15:55:51 -04:00
Jonathan Watt ec0cb99206 Bug 1028825 - Get rid of the Thebes backed gfxContext in Android's nsWindow.cpp. r=Cwiiis 2014-06-23 16:33:23 +01:00
Jonathan Watt 197045f650 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-17 10:37:45 +01:00
Kartikaya Gupta 0c6293c666 Bug 1018980 - Kill some dead code in Fennec from the pre-OMTC days. r=snorp 2014-06-02 11:13:09 -04:00
Victor Porof 9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Masayuki Nakano 0fb6924886 Bug 865649 part.5 Set KeyboardEvent.code value on Android and Gonk r=smaug+nchen+mwu 2014-05-25 11:09:00 +09:00
Birunthan Mohanathas 5f1fde8824 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
Kartikaya Gupta 650dde0466 Bug 988800 - Catch and ignore situations where we try to composite on a destroyed LayerRenderer instance. r=Cwiiis 2014-04-03 11:01:07 -04:00
snigdha 9cc482da68 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
Neil Deakin 382114ad8c Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Ryan VanderMeulen 0d7b59001e Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha a441998156 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
Masayuki Nakano 3a0ba16d1a Bug 974318 part.8 Use WidgetTextEvent::mRanges on Android r=jchen 2014-03-04 22:48:28 +09:00
Masayuki Nakano 4fac2c03ae Bug 961704 part.2 Add an option to nsIMEUpdatePreference which prevents to be notified selection/text changes caused by composition r=smaug 2014-02-26 09:48:02 +09:00
Jim Chen a6e6fc47d1 Bug 974560 - Send compositionupdate event for each text event; r=cpeterson 2014-02-24 12:27:58 -05:00
Mark Capella adf9f2c495 Bug 927882 - Standardize TextSelection caret positioning logic for soft keyboards, r=jchen, wesj, f=margaret 2014-02-19 22:19:43 -05:00
Masayuki Nakano e173e98fbd Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Masayuki Nakano a6beb97339 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Makoto Kato fb46140e84 Bug 966130 - Turn off listening ipc:content-created observer if not e10s. r=blassey 2014-02-05 16:43:59 +09:00
Makoto Kato 95d1734bbb Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Benoit Jacob 61df69f208 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob e5ed95579b Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Jim Chen 9305d633e9 Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Benoit Jacob f89d762216 Bug 956401 - 5/9 - Let DrawWindow{Under,Over}lay take care of saving and restoring GL state - r=nrc 2014-01-07 15:02:18 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano dbfed943bb Bug 951021 Android widget should set modifier state at dispatching events derived from WidgetInputEvent r=nchen 2013-12-18 11:25:10 +09:00
Masayuki Nakano 674761425d Bug 912858 part.5 Implement KeyboardEvent.key for printable keys on Android r=jchen+smaug 2013-12-11 01:14:54 +09:00
Nicholas Cameron 9bfee51338 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Phil Ringnalda 74b2dea823 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron 93ca5b4477 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicolas Silva 717653dea3 Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Chris Kitching f7dde79803 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-11-12 10:41:01 -08:00
Chris Kitching 36c7d139c0 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Ryan VanderMeulen 2c440594a5 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)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching ce5cac707e Bug 913985 - Part 6: remove redundant AndroidBridge::Bridge() checks. r=kats 2013-11-12 10:41:01 -08:00
Chris Kitching c4e86cb63e Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Masayuki Nakano 7448bd613c Bug 600117 part.4 Implement KeyboardEvent.repeat on Android r=nchen 2013-11-07 20:17:33 +09:00
Masayuki Nakano be61dffd74 Bug 920425 part.19 Use mozilla::WidgetEvent::AsTextEvent() r=smaug 2013-10-18 15:10:24 +09:00
Kartikaya Gupta 4f47532b89 Bug 924791 - Ensure hover event refpoints are converted from CSSPixels to LayoutDevicePixels. r=wesj 2013-10-15 17:11:39 -04:00
Mina Almasry a4c51500ad Bug 698437 - Allow spatial navigation with directional controller. r=kats 2013-10-12 13:59:50 -04:00
Birunthan Mohanathas ffe5416a8e Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan 2013-10-10 16:42:52 -04:00
Masayuki Nakano 9aaf116c1c Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Masayuki Nakano 84078f9904 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano 255381c975 Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano 06d15e629f Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano b809719e9d Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00