Commit Graph

1526 Commits

Author SHA1 Message Date
Masayuki Nakano
77af769e9d Bug 1186015 part.1 Rename nsIMEContext to mozilla::widget::IMEContext r=jimm 2015-07-23 12:31:28 +09:00
David Major
640a4ba0b5 Bug 1159604: Use a fallible allocation in nsClipboard::GetGlobalData. r=bbondy
--HG--
extra : rebase_source : 9f114676dbbf5c9e7435fbc095070ec2bc558696
2015-07-22 10:31:17 -04:00
Xidorn Quan
fa0f673bce Bug 1186384 - Consider device pixel scale on fullscreen transition window. r=jimm
--HG--
extra : source : c0ec2052accce9b41897f64f0b1aa20289e8b5d4
extra : amend_source : 9e61b5b1f65d3c5cea3c02fb6d25b1d4ae631079
2015-07-22 23:02:22 +10:00
Masayuki Nakano
ea12486e61 Bug 1184449 part.2 nsIMM32Handler should store selection range as far as possible r=m_kato 2015-07-22 12:40:32 +09:00
Masayuki Nakano
9d9bd4c975 Bug 1184449 part.1 IMENotifiation::SelectionChangeData should store selected string r=smaug 2015-07-22 12:40:32 +09:00
Jeff Muizelaar
da5c0faf20 Bug 1180379. Split out GMAX4500 and block those devices from D2D. r=Bas
This line of cards seems to have lots of bugs. Let's block them
until we can figure out what works where.

--HG--
extra : rebase_source : 0aa9ff707a43e26204930301d55a79f41027ccb9
2015-07-21 18:04:48 -04:00
Justin Dolske
4b36568537 Bug 1184942 - Use DPI scaling factor to ensure top window border is correct thickness. r=jimm 2015-07-21 11:24:16 -07:00
David Anderson
ddaede9c8e Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Ryan VanderMeulen
734c9eb563 Backed out changesets 90446493d402 and c4f4027f9f3a (bug 1179051) for crashes. 2015-07-19 22:39:20 -04:00
David Anderson
28d2dc3e58 Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Ryan VanderMeulen
a33e05c88c Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
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
Ryan VanderMeulen
e5e20485f9 Merge m-c to fx-team. a=merge 2015-07-16 16:23:27 -04: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
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
Gijs Kruitbosch
34c0ac27ca Bug 1173725 - part 1: force top border to be visible on windows 10 and don't cut out caption buttons, r=jimm
--HG--
extra : commitid : JFN92Gfp4xt
extra : rebase_source : e131e3c13d1936aa9f44587535ae5e9ac19cdd1f
2015-07-10 12:07:03 +01: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