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

19060 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book b26729a177 merge mozilla-inbound to mozilla-central a=merge 2015-10-22 11:45:11 +02:00
Wes Kocher 5d86c836d6 Merge m-c to b2ginbound, a=merge CLOSED TREE 2015-10-21 16:40:00 -07:00
Fabrice Desré f48726bc24 Bug 1216839 - Crash when loading icon from android:// protocol with xhr r=sicking 2015-10-21 13:53:08 -07:00
Wes Kocher b8596f28a2 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
Jim Chen aacb32b312 Bug 1207642 - Work around Dalvik bug by realigning stack on JNI entry. r=snorp
Use the force_align_arg_pointer attribute to force realigning stack at JNI entry points.
2015-10-21 08:27:00 -04:00
Wes Kocher e076823935 Merge fx-team to central, a=merge 2015-10-20 14:53:07 -07:00
Jared Wein 42419dbc74 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN
--HG--
extra : rebase_source : 43ef8eaa19e6de5bce20a391dc248b1271a3e8d4
2015-10-15 22:58:56 -04:00
Carsten "Tomcat" Book 3198b767f9 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Gijs Kruitbosch e182a0c49c Bug 1213845 - enable osk support on windows 8, but hide it behind a preference, r=jaws
--HG--
extra : commitid : HGvNNv1htDF
extra : rebase_source : 7c39d7903bfda6040a202d6784c5a4e469a7eeed
extra : amend_source : af5a54a5fe9f3120c30dfe6ac3b607da596364e9
2015-10-16 16:28:13 +01:00
Gijs Kruitbosch a9af7b7120 Bug 1211805 - rework keyboard detection for on-screen keyboard, r=jaws
--HG--
extra : commitid : 4W25HdPNNOS
extra : rebase_source : d49ee1de93691ee77d395d2ea1005103fdf8a3ec
extra : amend_source : 2fbd7b8f946fa8672d000ca0457d5cb1386d0569
2015-10-16 17:47:25 +01:00
Carsten "Tomcat" Book b4d42f370a merge mozilla-inbound to mozilla-central a=merge 2015-10-19 11:38:22 +02:00
Chris Peterson 7aaa6c74c3 Bug 1215892 - Fix clang's -Wimplicit-fallthrough warnings in gfx. r=BenWa
gfx/gl/GLBlitHelper.cpp:395:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

gfx/layers/apz/src/AsyncPanZoomController.cpp:1087:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/AsyncPanZoomController.cpp:1196:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/GestureEventListener.cpp:411:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:292:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:295:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

widget/GfxInfoBase.cpp:1015:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:57:38 -07:00
Phil Ringnalda 98800b5233 Merge m-c to b-i
CLOSED TREE
2015-10-17 20:00:32 -07:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Masayuki Nakano 07adf60de2 Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
Wes Kocher cd1f054e01 Merge m-c to b2ginbound, a=merge 2015-10-16 12:33:40 -07:00
Hansu Kim 634317f368 Bug 1112712 - DOM key mapping for soft1 soft2 and call keys r=schien
--HG--
extra : amend_source : 12897e7dc7681ea285088153a258983e6b90e5a1
2015-10-16 11:04:11 -07:00
Nathan Froyd 82415576a3 Bug 1212027 - followup - qualify PBrowserParent in GonkPermission.cpp; r=me
Landing this on a CLOSED TREE
2015-10-16 22:04:07 -04:00
Carsten "Tomcat" Book 077cb7307e Merge m-c to mozilla-inbound 2015-10-16 14:45:26 +02:00
Carsten "Tomcat" Book 15c4d32dd7 merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda ddeeb376bd Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein 74567c8e04 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein 9f2bd66799 Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein 49b796aa96 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Felipe Gomes af0b8f3d1f Bug 605813 - Re-enable test_taskbar_progress.xul on Windows. r=me 2015-10-15 18:39:28 -03:00
Masayuki Nakano 41c2c97fb2 Bug 376679 part.5 nsPluginInstanceOwner::ProcessEvent() should create WM_MOUSE*WHEEL message from WidgetWheelEvent data r=smaug+jimm 2015-10-16 13:19:27 +09:00
Sotaro Ikeda de007b81ed Bug 1210514 - Fix color inversion when BasicCompositor is used on gonk r=nical 2015-10-15 00:26:08 -07:00
Jim Chen 13b339824b Bug 1211919 - Allow quitting when asked explicitly; r=snorp
Right now we don't allow quitting Fennec when the last nsWindow closes
(e.g. when the last GeckoView is destroyed) because we want to keep the
Gecko thread running throughout the app process lifetime. However, when
we are asked to quit explicitly through nsIAppStartup::Quit, we should
release the hold on nsAppStartup and allow quitting to continue.
2015-10-15 15:49:48 -04:00
Nathan Froyd fe57e31ffe Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm 2015-10-07 14:30:33 -04:00
Henri Sivonen 947db1c98d Bug 943294 - Leave dealing with legacy codepages for clipboard data to Windows itself. r=jmathies. 2015-10-13 09:46:51 +03:00
Gijs Kruitbosch a8cc7601a0 Bug 1203574 - use ShowNA for everything except aero basic / aero lite, to get caption button metrics, r=jimm
--HG--
extra : commitid : 8Q5THh7Z8r4
extra : rebase_source : 89ab1026c64ba514ccb27202b91b12ac67b492ff
2015-10-20 11:40:15 +01:00
byron jones 273ea1d9f5 Bug 1214511 - Show copies, page range selection, and more on the expanded OSX print dialog. r=mstange
--HG--
extra : rebase_source : 35c676a47b1a9a1fad43b0ae22db0f5fc7c1a170
2015-10-18 09:22:00 +02:00
Carsten "Tomcat" Book cb2752ed21 Merge m-c to mozilla-inbound 2015-10-20 12:32:20 +02:00
Henri Sivonen 8e7d52f4f7 Bug 1214616 - Remove encoding conversion methods from nsPrimitiveHelpers. r=emk. 2015-10-20 12:06:27 +03:00
Karl Tomlinson 066ed3cf45 bug 1216916 clean up when InvokeDragSessionWithImage/Selection() fails r=roc
--HG--
extra : rebase_source : b889d5e90430957af59086ec2c66e8d83e700e2f
2015-10-21 20:12:42 +13:00
Karl Tomlinson 92cf9adfb9 bug 1216916 clean up when InvokeDragSession() fails r=roc
--HG--
extra : rebase_source : 3e29c8454779b50d9eef9f4ea24aec537b8f865c
2015-10-21 22:16:40 +13:00
Henri Sivonen 41d99381eb Bug 943296 - widget/gtk/nsDragService.cpp should assume Gtk uses UTF-8. r=karlt. 2015-10-14 15:28:50 +03:00
Andrew Comminos ffd56892f2 Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt 2015-10-13 19:14:54 -07:00
David Anderson ac5a8fd819 Block some Radeon drivers that crash on D3D9. (bug 1213107, r=jrmuizel) 2015-10-13 16:45:40 -07:00
Carsten "Tomcat" Book 51460284dc Merge m-c to mozilla-inbound
--HG--
extra : rebase_source : ff3eb8adeb22d7c5166ce9fbb4ac693e0585b254
2015-10-13 12:27:01 +02:00
Reuben Morais 1e26ba3392 Bug 748391 - Implement markMessageRead on the Android backend. r=snorp 2015-10-13 01:08:51 -03:00
Andrew Comminos 6eb995ca1d Bug 1187385 - Use GTK style padding for entry widgets. r=karlt 2015-10-13 00:08:21 -07:00
Martin Stransky 5a246716d1 Bug 1210249 - don't mess with toplevel widget when client side decorations are enabled. r=karlt 2015-10-12 09:56:00 +02:00
Chris Peterson 21b38ce0cc Bug 1216416 - Fix -Wimplicit-fallthrough warnings in widget/cocoa. r=spohl
widget/cocoa/nsChildView.mm:1664:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
widget/cocoa/nsChildView.mm:1761:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
widget/cocoa/nsNativeThemeCocoa.mm:3700:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-06 21:03:59 -07:00
Brian Birtles e81ac381a9 Bug 1212102 - Drop unnecessary assertion comparing timestamps in SystemTimeConverter; r=karlt 2015-10-21 15:26:46 +09:00
Hiroyuki Ikezoe c080139694 Bug 1167627 - Part 5: Use mozinfo in widget/. 2015-08-25 14:54:00 +02:00
Lee Salzman 17a52110f3 Bug 1196494 - part 2: only update nsWindow client offset when _NET_FRAME_EXTENTS property actually changes. r=eihrul 2015-10-09 09:24:48 -04:00
Masayuki Nakano a6ebc050de Bug 1211352 part.5 PuppetWidget should cache only the focused editor rect information while a plugin has focus r=m_kato 2015-10-10 10:21:02 +09:00
Masayuki Nakano ecbd3e99b6 Bug 1211352 part.4 PuppetWidget::GetIMEUpdatePreference() should request only position change notifications while a plugin has focus r=m_kato 2015-10-10 10:21:02 +09:00