Commit Graph

1513 Commits

Author SHA1 Message Date
Masayuki Nakano
5da5ad2aec Bug 1176955 part.3 nsTextStore shouldn't notify TSF of selection change which is caused by selection set event r=m_kato 2015-07-17 11:25:00 +09:00
David Anderson
65475c97d0 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
Xidorn Quan
5963d09c4e Bug 1183651 - Avoid operating refcount of fullscreen task runnable inside the transition thread. r=jimm
--HG--
extra : source : df714d699348ea188ec6e2456560c60ce600408a
2015-07-16 09:54:19 +10:00
Jeff Muizelaar
7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Botond Ballo
9eadc95b3f Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Xidorn Quan
2bd387e6a3 Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm
--HG--
extra : source : 8f2cb5a9c1370d9335464c61227c56b685ce057c
2015-07-13 20:44:36 +10:00
Xidorn Quan
1bc3349587 Bug 1160014 part 3 - Backout code from bug 634586. r=jimm
The code was for improving fullscreen transition. However, it doesn't seem to
be an improvment anymore. Instead, it causes various bugs like bug 649067,
bug 646374, bug 1053783. Also see bug 634586 comment 33 which shows that this
code causes performance issue on slow machine. According to my test, removing
this code could improve the speed switching to fullscreen from normal mode.

--HG--
extra : source : bc1aca3cb33b6692620f676233ae51402df159b4
2015-07-13 20:44:36 +10:00
David Anderson
90b6f30863 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-07-13 01:12:41 -07:00
Masayuki Nakano
76a33e0454 Bug 1176950 nsTextStore should keep storing locked content until NOTIFY_IME_OF_COMPOSITION_UPDATE is notified r=emk 2015-07-12 18:56:23 +09:00
Nigel Babu
64f3815bd7 Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Masayuki Nakano
c1fdc81cac Bug 1176954 part.4 Define IMENotification::TextChangeDataBase and whose member names should be same as IMEContentObserver::TextChangeData's r=smaug 2015-07-11 10:53:55 +09:00
Xidorn Quan
d381dcaca6 Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm
--HG--
extra : source : ac50a37a67b04f715f9faee1720e6bf8158bd83e
2015-07-11 10:08:59 +10:00
Xidorn Quan
8ebed79a9d Bug 1160014 part 3 - Backout code from bug 634586. r=jimm
The code was for improving fullscreen transition. However, it doesn't seem to
be an improvment anymore. Instead, it causes various bugs like bug 649067,
bug 646374, bug 1053783. Also see bug 634586 comment 33 which shows that this
code causes performance issue on slow machine. According to my test, removing
this code could improve the speed switching to fullscreen from normal mode.

--HG--
extra : source : 863ff8dbf2164eb82c9a4694a9ec0ae85edd917f
2015-07-11 10:08:59 +10:00
Carsten "Tomcat" Book
c082163e2e Backed out changeset 83b04f47bdaf (bug 1175005) 2015-07-10 08:39:33 +02:00
David Anderson
4a507c66a0 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm)
--HG--
extra : rebase_source : e82d07880330bbc8c584da01a6359a50a8179862
2015-06-17 23:12:00 -07:00
Xidorn Quan
d0b0e66312 Bug 1181912 - Remove the usage of nsString for window class names. r=jimm
This patch causes change to pref ui.window_class_override not take
effect until next boot of the application.

--HG--
extra : source : 0621c55ca921ceae77f3d0130362796a085b7646
2015-07-10 10:15:48 +10:00
Joel Maher
c3b714ef3f bug 1175005: performance regression. backout_59a89d5db8f0 2015-07-09 11:48:47 +01:00
Masayuki Nakano
af7ad0b0ba Bug 1181714 nsTextStore should store previous focused document manager until new document manager actually gets focus r=m_kato 2015-07-09 17:30:07 +09:00
Xidorn Quan
d54d12611a Bug 1181395 - Avoid runtime conversion or copy of names of window classes on Windows. r=jimm
--HG--
extra : source : 9ba468db37a17a3f39191b8802283e88589e4135
2015-07-09 08:00:33 +10:00
Dragana Damjanovic
7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Bill McCloskey
43786e09b5 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-06 19:58:44 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Phil Ringnalda
166cfe8460 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
72a845c0e6 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-02 17:18:10 -07:00
Carsten "Tomcat" Book
ad3fbbadfa Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-07-02 15:47:27 +02:00
Nicolas Silva
930d9df184 Bug 1156182 - Ensure nsWindow::Destroy() is called before destroying mPresentLock to avoid a race with the compositor thread. r=Bas 2015-07-02 11:40:53 +02:00
Gijs Kruitbosch
6c7bdf6516 Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted
--HG--
extra : commitid : 1L4B5pNkYee
extra : rebase_source : 46f0e98bbd152a2cca96f59cd08162c36765af01
extra : amend_source : 6c51f311f57777dd146a85d1de885468f8876271
2015-06-16 19:51:29 +01:00
Nathan Froyd
974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Maksim Lebedev
f741e102c2 Bug 1171073 - Suppress content scrolling issue on 64-bit platforms. r=kats 2015-06-26 08:45:00 +02:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Seth Fowler
dab8830c77 Bug 1150534 - Synchronously decode favicons before calling GetFrame. r=tn 2015-06-19 21:49:50 -07:00
Milan Sreckovic
50bc2f0ddc Bug 1019063 - Check for ::CreateDCW failing when printing. r=dvander 2015-06-18 08:18:00 +02:00
David Anderson
1445a2c07f Fix a widget size check bug in nsWindow::CaptureWidgetOnScreen. (bug 1173117 part 3, r=mattwoodrow) 2015-06-18 13:42:42 -07:00
Bob Owen
dce35c582d Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm 2015-06-15 16:08:51 +01:00
David Anderson
a88d8de555 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-06-17 23:12:00 -07:00
Matt Woodrow
330af331a0 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel
--HG--
extra : rebase_source : dbfeb9aaa25ab1fbedbcae63f63886bb12d8bb9e
2015-06-17 21:09:16 -07:00
Masayuki Nakano
0334e767a2 Bug 1172219 part.3 Modify nsTextStore::mSelection with new selection in OnSelectionChangeInternal() r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
1bf1f161f4 Bug 1172219 part.2 Notify TSF of layout creation and destruction r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
a4c5e98133 Bug 1172219 part.1 nsTextStore shouldn't notify IME while events are being dispatched and until they have not been handled yet r=emk 2015-06-17 14:00:33 +09:00
Maksim Lebedev
422b4a8ae2 Bug 1171712 - Implement separated InkColletor and InkCollectorEvent classes. r=smaug, r=jimm 2015-06-12 08:35:00 -04:00
Mason Chang
d9bbdbb005 Bug 1173617. Don't cache titlebar caption sizes unless the widget has a titlebar. r=jimm 2015-06-15 08:53:20 -07:00
Gijs Kruitbosch
6edca573d9 Bug 1165303 - avoid hiding and reshowing the window in response to our own settext messages because it makes Windows 10 unhappy, r=jimm
--HG--
extra : rebase_source : 8099bd5d3d59d6014f0e5f4fff9da040c66a7d06
extra : histedit_source : 94cc3d18dd5976310066392fcbc076c4256c4205
2015-06-09 20:18:36 +01:00
Xidorn Quan
7699870266 Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Maksim Lebedev
7d95c85ba5 Bug 1171101 - Remove pointer events and gesture scrolling dependencies. r=smaug 2015-06-05 03:34:00 -04:00
Neil Deakin
0fb1a1b843 Bug 1121946, Implement e10 cursor drag feedback on Windows, r=jmathies 2015-06-05 08:33:29 -04:00
Masayuki Nakano
56767ce3c5 Bug 1171847 Remove unnecessary ',' in logging code in nsTextStore::Initialize() r=m_kato 2015-06-05 19:19:35 +09:00
David Anderson
46807997bc Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
--HG--
extra : rebase_source : f750028018bc04eddf31a1e3810e013b1d8f1631
2015-06-04 14:19:06 -07:00