Commit Graph

73 Commits

Author SHA1 Message Date
Mounir Lamouri
9ad0959156 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Matt Woodrow
d880949cfb Bug 831829 - Fix OSX titlebar painting from being upside-down and tiled. r=roc 2013-01-19 14:07:32 +13:00
Joe Drew
17334fe537 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
726f15f354 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
3930f84ffc 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
36be428d56 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
31bd43b8c2 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
37336125af Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Nicolas Silva
09a07039c9 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
4b853e748f 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
88623b8f02 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
2c502bf9dd 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
6217ad6b5a 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
6dd8da7e08 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
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Jonathan Kew
4ae1951644 bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Jonathan Kew
11d040b12b bug 674373 pt 3 - remove unused nsBaseWidget::SetBounds method. r=roc 2012-09-29 12:34:58 +01:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Aas
d7572b6aef Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Ehsan Akhgari
8c296bbcd4 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
be470ea107 Bug 783383 - Add null-checks for nsBaseWidget::mWidgetListener r=tn 2012-08-17 11:36:34 -04:00
Neil Deakin
7724d8898d Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -04:00
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
d5239674af Bug 743975 - Remove events that are now unused, r=smaug 2012-08-15 14:52:42 -04:00
Neil Deakin
7382e749d4 Bug 743975 - add a getpresshell method to the widget listener, r=tn 2012-08-15 14:52:42 -04:00
Neil Deakin
0413e44a55 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
193db1ca6c Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
fae99fd13d Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
34ac541af0 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
fe2b5ecb78 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
510f6f1a72 Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Matt Woodrow
02d2f04bf6 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
28413e223c 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
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Jones
bbab5e6e40 Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
David Zbarsky
7f0f075928 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Chris Jones
62d23842f9 Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc 2012-07-17 16:59:45 -07:00
Chris Jones
ec578f2342 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
60e5603d68 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Nicolas Silva
e1c2702575 Bug 771307 - Disable OMTC for popup widgets that are not XUL panels. r=ajuma 2012-07-05 23:08:28 -04:00
Benoit Jacob
3304b14a29 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
dbe233d2e7 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
32d9a6d919 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
--HG--
extra : rebase_source : 36430dcdd81a80d8ee2cd21f698a9289f327e2b6
2012-06-18 21:28:00 -04:00
Marco Castelluccio
48bb82e1e3 Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard 2012-06-13 15:52:09 -04:00
Chris Jones
4a587a40fc Bug 761962: Prefer out-of-process content to omtc when they contend. r=ajuma 2012-06-06 12:44:52 -07:00
Benoit Girard
d1f843f6af Backout bea5301cf21f (Bug 703484) for regressing OMTC OGL on Mac. 2012-06-06 11:23:39 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jeff Muizelaar
8094c9788d Bug 759866. Crash more aggressively if we aren't going to be able to paint. r=bgirard
This should make it easier to get an idea how common these kinds of failures are.

--HG--
extra : rebase_source : c5c029ebfe723fc4d32d604528beb1769c21d98c
2012-05-31 17:51:52 -04:00
Marco Castelluccio
715c60f1c1 Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00