Commit Graph

75 Commits

Author SHA1 Message Date
Jim Mathies
bd82d0b8d9 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Jonathan Kew
7f38342e15 bug 816485 - interpreting the devPixelsPerPx value from about:config should not depend on locale. r=roc 2013-02-26 09:01:10 +00:00
Mounir Lamouri
782b6e3277 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Matt Woodrow
9eb3eb36fb Bug 831829 - Fix OSX titlebar painting from being upside-down and tiled. r=roc 2013-01-19 14:07:32 +13:00
Joe Drew
c870b1fba7 Bug 829710 - Restore hardware-accleration check for 10.6.x, x <= 2, mistakenly removed in bug 598401. r=BenWa 2013-01-11 22:59:48 -05:00
Nicholas Nethercote
3529724202 Bug 825079 - Fix -Wint-to-pointer-cast warnings and remove trailing whitespace in nsBaseWidget.cpp. r=roc. 2013-01-01 14:38:48 -08:00
Timothy Nikkel
921d67040d Bug 824868. Make AutoLayerManagerSetup save the layer manager it is using so we are sure to use the right oen when it goes out of scope to clean up. r=roc 2012-12-26 23:55:41 -06:00
Timothy Nikkel
5999fe93d6 Bug 813024. Restore mTemporarilyUseBasicLayerManager to the previous value instead of setting it to false when using an AutoUseBasicLayerManager object. r=roc 2012-12-17 00:35:39 -06:00
Jonathan Kew
3fac204237 bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Alexander Surkov
27e34b45af Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Nicolas Silva
8457bc94cd Bug 806428 - Fix crash in omtc-linux caused by nsBaseWidget::SetLayersAcceleration, and rename xxxAcceleratedRendering into xxxLayersAcceleration for concistency. r=BenWa 2012-11-15 19:55:15 +01:00
Robert O'Callahan
e5bd27621d Bug 804062. Move device-pixels-per-CSS-pixel preference logic into nsIWidget::GetDefaultScale. r=jfkthame
The only behavior change caused by this patch should be that nsDeviceContexts with no widget
(mainly printing, I think), default to a devpixel-per-CSS-pixel ratio of 1.0, ignoring
any prefs set.
2012-10-31 11:31:35 +11:00
Neil Deakin
26ade209e9 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Masayuki Nakano
6f1c4ded8d Bug 705057 part.4 Emulate the behavior of nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() if the composition is synthesized r=smaug+roc, sr=roc 2012-09-26 14:47:51 +09:00
Jonathan Kew
7e2064a07c bug 794038 pt 1.0 - use global display pixel coordinates to persist and restore XUL window position and size. r=roc 2012-10-16 20:41:19 +01:00
Chris Jones
f113e7090d Bug 780920, part 2: Let clients query a widget's 'real' compositor, when the widget doesn't draw directly to its OS window. r=roc 2012-10-04 00:05:24 -07:00
Benoit Girard
789871769f Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Jonathan Kew
2eb99fd900 bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Jonathan Kew
95836926f5 bug 674373 pt 3 - remove unused nsBaseWidget::SetBounds method. r=roc 2012-09-29 12:34:58 +01:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Aas
c57b0e9247 Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Andrew Quartey
a56d78ae28 Bug 783383 - Add null-checks for nsBaseWidget::mWidgetListener r=tn 2012-08-17 11:36:34 -04:00
Neil Deakin
ae68fe90a2 Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -04:00
Neil Deakin
d91faf11ff Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
6e8cca82a3 Bug 743975 - Remove events that are now unused, r=smaug 2012-08-15 14:52:42 -04:00
Neil Deakin
827278e08b Bug 743975 - add a getpresshell method to the widget listener, r=tn 2012-08-15 14:52:42 -04:00
Neil Deakin
13597b29c2 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin
7f92776b52 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
650e2a6a9e Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
b5d102c9b2 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
ba908b62d4 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
2e97f51f7d Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Matt Woodrow
7788b19a27 Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones 2012-08-15 13:10:40 +12:00
Neil Deakin
63fc1904f5 Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
David Zbarsky
9f192bc533 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Jones
899b7ffef9 Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
David Zbarsky
7f0b27a36b [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Chris Jones
96c1791798 Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc 2012-07-17 16:59:45 -07:00
Chris Jones
0504d076dc Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc 2012-07-17 16:59:45 -07:00
Nicolas Silva
d7f3ab4df0 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Nicolas Silva
3058baf378 Bug 771307 - Disable OMTC for popup widgets that are not XUL panels. r=ajuma 2012-07-05 23:08:28 -04:00
Benoit Jacob
28cbf710ba Bug 766251 - 3/5 - fatal-assert GL layers support on android in nsBaseWidget on Android - r=jrmuizel 2012-07-05 10:12:43 -04:00
Nicolas Silva
e9699019f2 Bug 758048 - Move PopupType from the Windows widget implementation to the cross platform base class and use it to determine when to accelerate windows. r=bbondy 2012-05-31 13:52:09 -04:00
Ehsan Akhgari
96b315555e Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (widget parts); r=roc 2012-06-18 21:28:00 -04:00
Marco Castelluccio
b2af8a83ad Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard 2012-06-13 15:52:09 -04:00
Chris Jones
fe0f5b692e Bug 761962: Prefer out-of-process content to omtc when they contend. r=ajuma 2012-06-06 12:44:52 -07:00
Benoit Girard
1eca0db270 Backout bea5301cf21f (Bug 703484) for regressing OMTC OGL on Mac. 2012-06-06 11:23:39 -04:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00