Commit Graph

10102 Commits

Author SHA1 Message Date
Nathan Froyd
8780083336 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
Ryan VanderMeulen
fa1beb6109 Backed out 3 changesets (bug 1000870) for frequent Linux test failures.
Backed out changeset 7983770003a3 (bug 1000870)
Backed out changeset 80d8e9adb532 (bug 1000870)
Backed out changeset 6a730e15246e (bug 1000870)
2015-06-29 13:42:45 -04:00
Andrew Comminos
aa2a91dcfe Bug 1175171 - Deallocate GTK's KeymapWrapper on shutdown. r=karlt 2015-06-26 11:28:00 -04:00
Maksim Lebedev
68a3d6339a Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Maksim Lebedev
8bc1ce4947 Bug 1171073 - Suppress content scrolling issue on 64-bit platforms. r=kats 2015-06-26 08:45:00 +02:00
Andrew Comminos
dc28f4581f Bug 1131978 - Acknowledge GDK's scale factor in scale calculation. r=karlt 2015-06-26 10:19:00 +02:00
Boris Chiou
a152303d7e Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51:00 +02:00
Makoto Kato
59cb5a71fa Bug 1176843 - Don't query caret rect on layout change. r=masayuki 2015-06-26 00:08:29 -07:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Masayuki Nakano
f34c89eecf Bug 1177388 Create ContentCacheInParent and ContentCacheInChild for making their purpose clearer r=m_kato 2015-06-26 08:21:13 +09:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Botond Ballo
e42ed2bdd7 Bug 1177024 - Fix clang warnings-as-errors in GTK3 build. r=karlt 2015-06-21 15:27:07 -04:00
Boris Chiou
785d7bcf18 Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro 2015-06-23 15:06:00 +02:00
Boris Chiou
1940eaaf97 Bug 1144012 - Part 3: Wrap vsync code. r=sotaro 2015-06-23 15:05:00 +02:00
Boris Chiou
fdeeb70b83 Bug 1144012 - Part 2: Use wrapper in HwcComposer2D. r=sotaro
Use UniquePtr to access HwcHAL Object becasue only HwcComposer2D
takes the responsibility of HwcHAL.
2015-06-23 15:03:00 +02:00
Boris Chiou
81b20e341f Bug 1144012 - Part 1: Create HwcDevice wrapper. r=sotaro
Use HwcHALBase as a base class which has two subclasses, HwcICS and HwcHAL.
1. HwcICS for Android ICS
2. HwcHAL for Android JB/KK/L or later.
3. mHwc is wrappd into HwcHAL/HwcICS.
2015-06-23 15:02:00 +02:00
Chris Peterson
9be1d32410 Bug 1175049 - Fix non-universal 32-bit build on OS X with Xcode 6.3 tools. r=josh 2015-06-14 00:20:27 -07:00
Seth Fowler
88d81c70d9 Bug 1150534 - Synchronously decode favicons before calling GetFrame. r=tn 2015-06-19 21:49:50 -07:00
Andrew Comminos
7f080470bd Bug 1171696 - Require room for scrollbar sliders and draw troughs only when there is room for a slider or buttons on GTK. r=karlt 2015-06-17 07:27:00 -04:00
Carsten "Tomcat" Book
594e483c7c Backed out changeset ed0707ffd26f (bug 1000870) for ongoing test failures in test_pointerevent 2015-06-19 12:50:20 +02:00
Milan Sreckovic
c4b81c75b7 Bug 1019063 - Check for ::CreateDCW failing when printing. r=dvander 2015-06-18 08:18:00 +02:00
Maksim Lebedev
852303cf3e Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
David Anderson
80d42470d3 Fix a widget size check bug in nsWindow::CaptureWidgetOnScreen. (bug 1173117 part 3, r=mattwoodrow) 2015-06-18 13:42:42 -07:00
Daniel Holbert
4e7ff2332a Bug 1175005 followup: Add 'override' annotation to new GetMonitors() method in GfxInfoBase.h. rs=ehsan 2015-06-18 12:09:08 -07:00
Masayuki Nakano
1c54259955 Bug 549674 part.1 Commit composition string at setting value of <input> or <textarea> r=smaug 2015-06-18 23:56:20 +09:00
Jim Mathies
ff4d648127 Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz 2015-06-17 15:39:09 -05:00
Bob Owen
5b9fc140ef 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
42f85ae201 Add nsIGfxInfo::GetMonitor support for Linux. (bug 1175005 part 4, r=nical) 2015-06-17 23:12:13 -07:00
David Anderson
44b1489c4e Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
David Anderson
96c65e5112 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-06-17 23:12:00 -07:00
David Anderson
cd5404f214 Add an nsIGfxInfo function to query monitors. (bug 1175005 part 1, r=mattwoodrow) 2015-06-17 23:11:55 -07:00
Masayuki Nakano
360ff0cac8 Bug 1175382 TextRangeArray::TargetClauseOffset() and TextRangeArray::TargetClauseLength() shouldn't be public and same name methods of WidgetCompositionEvent should be used r=m_kato 2015-06-18 13:43:18 +09:00
Matt Woodrow
9e8da30efe Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel 2015-06-17 21:09:16 -07:00
Kartikaya Gupta
d38c245003 Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta
c87431caf0 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Tom Tromey
42f21664cb Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Andrea Marchesini
0bf63bcbef Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:21:39 +01:00
Andrea Marchesini
52e65b4ed2 Bug 1174479 - Improve the AnimationPart file reading algorithm, r=ehsan 2015-06-17 12:16:31 +01:00
Masayuki Nakano
b98e5ea495 Bug 1172219 part.3 Modify nsTextStore::mSelection with new selection in OnSelectionChangeInternal() r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
19bb802dc7 Bug 1172219 part.2 Notify TSF of layout creation and destruction r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
44c188515b 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
Karl Tomlinson
cb35746ae4 bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.
2015-06-11 09:34:27 +12:00
Karl Tomlinson
22bade1154 bug 147419 remove meaningless GetPrintMethod() r=roc 2015-06-16 11:02:34 +12:00
Karl Tomlinson
89adacf27d bug 147419 remove print(|.<modulename>)(|.printer_<printername>).filename pref reading code r=roc
There are no default pref values, and even if some have been set, the value
is subsequently overridden by the print.print_to_filename pref, which exists
if saved from a previous nsPrintSettingsGTK.
2015-06-10 19:11:49 +12:00
Karl Tomlinson
1da3a931ae bug 147419 use GTK default paper size and orientation r=roc
In the nsPrintSettingsGTK constructor, gtk_paper_size_new(nullptr) gets the
system default paper size from the locale and gtk_page_setup_new() sets
default orientation to portrait.

These are subsequently overridden by prefs if any have been saved from
a previous nsPrintSettingsGTK.
2015-06-10 18:51:46 +12:00
Karl Tomlinson
5666d871f9 bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.
2015-06-10 18:10:28 +12:00
Masayuki Nakano
2aac11f4a9 Bug 1173678 ContentCache should return union rect even if some character rects are not cached but the first character of the range is cached r=m_kato 2015-06-17 10:03:58 +09:00
Masayuki Nakano
6fcde0fcbd Bug 1171814 ContentCache should store first character rect because Yosemite's Japanese IME sometimes tries to query it r=m_kato 2015-06-17 10:03:58 +09:00
Jim Chen
d87c122bba Bug 1112212 - Implement dummy-key-events mode for Android; r=esawin 2015-06-16 19:02:39 -04:00
Jim Chen
4357641669 bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki 2015-06-16 19:02:39 -04:00