Commit Graph

67 Commits

Author SHA1 Message Date
Masayuki Nakano
68f1050915 Bug 829952 Reimplement system scroll speed override stuff for D3E WheelEvent feedback=avih, r=smaug+roc, sr=roc 2013-03-15 18:03:16 +09:00
Masayuki Nakano
11b866300f Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
b34fa8551e Bug 558976 part.1 Merge nsIWidget::ResetInputState(), nsIWidget::CancelComposition(), nsIWidget::OnIMEFocusChange() and nsIWidget::OnIMESelectionChange() r=roc, sr=roc 2013-03-06 15:14:31 +09:00
Matt Woodrow
f40488f317 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
23cabe0437 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
f9b9491b81 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
aa8404a74a 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
9ccd2a254b 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
8c1774d31e 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
48a06e31e4 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
0f83ed44e6 Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Masayuki Nakano
b7ca37a234 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
d9bee4aec7 Bug 795887 - Document sleep and process suspend notifications. r=roc 2012-11-09 10:34:10 -05:00
Karl Tomlinson
c553a32f09 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
12b00cd718 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
8ecdaabd92 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
d76bb01beb 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
c56bc18541 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
0cfc89daef 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
b958709d6e 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
2cf5d23c2c bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Chris Jones
57b18a645d 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
842d94b624 Bug 782729 - Ensure pointer lock code always passes screen coords to SynthesizeNativeMouseMove. r=smaug 2012-09-25 11:43:27 +12:00
Neil Rashbrook
a092240bc8 Bug 793494 Allow non-libxul code to include nsIWidget.h again r=roc 2012-09-24 00:26:43 +01:00
Jim Mathies
1be60a7fb4 Bug 786979 - Use a new constant for returning ICoreWindow from GetNativeData. r=bbondy 2012-09-07 14:51:02 -05:00
Zoe Bellot
c7a4582c95 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
0fd9123eac 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
1adf216f21 Bug 783449 - Move android specific NeedsPaint checks into the android widget implementation. r=roc 2012-08-20 22:00:50 +12:00
Ed Morley
7a68f05d39 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d 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
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
3e40b0b005 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
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Matt Woodrow
0fe44d8b7f 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
114c3551c2 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
0116f41a88 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
e1405e0a93 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
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Jones
cbd13d8e9d Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
Mark Capella
fd9b625002 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella
430f93c039 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Chris Jones
9af2a80734 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
b609251ce5 Bug 774017 - Remove extra ;. r=khuey. 2012-07-16 11:00:50 -04:00
Ehsan Akhgari
45fb0d4893 Backout changeset d9f3358435ba (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:53 -04:00
Ehsan Akhgari
74e9cbc920 Backout changeset b7b89bbdd7ab (bug 539356) because of performance and correctness regressions 2012-07-03 20:15:58 -04:00
Ehsan Akhgari
50c48849de Backout changeset 6e8c5c011767 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:05 -04:00
Matt Woodrow
3900adf612 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
fc782c15da 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