Commit Graph

64 Commits

Author SHA1 Message Date
Matt Woodrow
c93564a7fb Bug 832641 - Invalidate popups when they become visible rather than handling invalidations while they are hidden. r=roc 2013-01-23 18:46:36 +13:00
Matt Woodrow
c2fad8e94f Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc 2013-01-17 11:59:23 +13:00
Robert O'Callahan
106f5d95d1 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13: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
Jonathan Kew
f41e69bc70 bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud 2012-12-06 17:31:34 +00:00
Chris Jones
0263e5a9c4 Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
This is a rollup of the following patches

part 0: Add a dynamic cast to ColorLayer*

part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees

part 2: Let widgets expose Composer2Ds, if they have them

part 3: Expose a layers ogl "friend" API that Composer2D will consume

part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline

part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08: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
Masayuki Nakano
fdcbf2722b Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Masayuki Nakano
c2ec08b400 Bug 805767 part.1 nsTextStateManager should use nsIWidget::GetIMEUpdatePreference() instead of the result of nsIWidget::OnIMEFocusChange() r=smaug 2012-11-13 22:04:44 +09:00
Brian R. Bondy
de23937f9a Bug 795887 - Document sleep and process suspend notifications. r=roc 2012-11-09 10:34:10 -05:00
Karl Tomlinson
4c12b2c467 b=808873 return toplevel GtkWidget for NS_NATIVE_SHELLWIDGET and use it r=roc
--HG--
extra : transplant_source : _gK%D6%5D%96%1A%3A%3A%21j%40E%09%FF%84%D3%8F%C6%A5
2012-11-07 10:50:37 +13: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
Masayuki Nakano
e33e735f92 Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc 2012-10-31 08:22:23 +09:00
Masayuki Nakano
00776d0733 Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc 2012-10-27 08:35:20 +09: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
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
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
Chris Jones
37fc3e77dc Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc 2012-09-24 21:15:18 -07:00
Chris Pearce
1a1fe842d7 Bug 782729 - Ensure pointer lock code always passes screen coords to SynthesizeNativeMouseMove. r=smaug 2012-09-25 11:43:27 +12:00
Neil Rashbrook
ae88e50535 Bug 793494 Allow non-libxul code to include nsIWidget.h again r=roc 2012-09-24 00:26:43 +01:00
Jim Mathies
b570a88e32 Bug 786979 - Use a new constant for returning ICoreWindow from GetNativeData. r=bbondy 2012-09-07 14:51:02 -05:00
Zoe Bellot
45603aa9ce Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-26 23:16:22 -03: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
Matt Woodrow
aefb4e4803 Bug 783449 - Move android specific NeedsPaint checks into the android widget implementation. r=roc 2012-08-20 22:00:50 +12:00
Ed Morley
7435db4163 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot
d60647c1bf Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-17 12:02:18 +02: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
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
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Matt Woodrow
a82d761c0e Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-08-13 22:10:10 +12:00
Matt Woodrow
28f02dfe0a Bug 539356 - Part 17 - Don't paint widgets that an invisible or empty bounds. r=roc
* * *
Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint
2012-08-13 22:10:10 +12:00
Matt Woodrow
18847f5874 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-08-13 22:10:10 +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
Mark Capella
7103242b4f Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella
bf92974758 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04: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
Rafael Ávila de Espíndola
b65e73a1b7 Bug 774017 - Remove extra ;. r=khuey. 2012-07-16 11:00:50 -04:00
Ehsan Akhgari
829b35a778 Backout changeset d9f3358435ba (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:53 -04:00
Ehsan Akhgari
b860e57c8b Backout changeset b7b89bbdd7ab (bug 539356) because of performance and correctness regressions 2012-07-03 20:15:58 -04:00
Ehsan Akhgari
0597a14136 Backout changeset 6e8c5c011767 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:05 -04:00
Matt Woodrow
e980d568fc Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
c3fc0ac3a2 Bug 539356 - Part 17 - Don't paint widgets that an invisible or empty bounds. r=roc
* * *
Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint
2012-06-30 15:06:12 +12:00
Matt Woodrow
4dffec4e63 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-06-30 15:06:12 +12:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Timothy Nikkel
c512b3f366 Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc 2012-04-17 01:04:05 -05:00