Commit Graph

168 Commits

Author SHA1 Message Date
Wes Kocher
98cc17f28e Back out cd6b4a1ef09c (bug 886988) for mochitest failures on a CLOSED TREE 2013-07-03 15:33:37 -07:00
David Anderson
1292241064 Bug 886988 - Reset the nsChildView layer manager when we change the transparency mode. r=roc 2013-07-03 16:35:50 -04:00
Ryan VanderMeulen
5fb609ce8a Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Matt Woodrow
f3a27aa8eb Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Matt Woodrow
730912181e Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Ehsan Akhgari
c7abd3766b Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Masayuki Nakano
6915957f39 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Markus Stange
5614ca7e79 Bug 676241 part 6/9/11: Correct titlebar drawing. r=bgirard, r=smichaud, r=mattwoodrow 2013-05-23 16:49:17 +02:00
Markus Stange
6c341cc5b5 Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
44e222759c Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
7690d75b34 Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh 2013-05-22 11:48:47 +02:00
Markus Stange
cb9767fc2d Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange
caf54a46dc Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh 2013-05-22 11:48:47 +02:00
Matt Woodrow
376d7ac524 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Brandon Waterloo
90b12d2cea Bug 863841 - Implement recognition of double-tap gestures with smartMagnifyWithEvent (Mountain Lion and up), and magnifyWithEvent (Lion). r=smichaud, r=masayuki
On 10.6 SDK, it was necessary to change nsCocoaWindow.mm/h in order to make it call magnifyWithEvent for double-tap gestures properly.
2013-04-29 11:24:26 -04:00
Steven Michaud
1f864af0a8 Bug 851128 - Backout patch because it caused bug 862417 and bug 864053. r=bgirard 2013-04-22 16:41:50 -05:00
Matt Woodrow
c93aad99cd Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Steven Michaud
e13adf7c77 Bug 861317 - nsChildView::WillPaint terribly inefficient when drawing to titlebar. r=bgirard 2013-04-18 18:40:40 -05:00
Nicholas Cameron
73f2c36a38 Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow 2013-04-17 09:35:57 +12:00
Stephen Pohl
3fed83e74d Bug 673875 - Reproduce bounce behaviour when reaching top and bottom of documents. r=smichaud, r=felipc 2013-04-12 23:04:52 -04:00
Guilherme de Araujo
dabbde79f2 Bug 851128 - Introduce custom recognition for the double-tap gesture. r=smichaud
Cocoa does not implement the double-tap gesture by default, so the gesture had to be recognized manually.
2013-04-10 14:38:26 -04:00
Bas Schouten
b439abe1f3 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Stephen Pohl
fb5e086e62 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Andre Reinald
58de34b7a2 Bug 675410 - Fix bottom rounded corners, hopefully in the same openGL context as the rest of the window. r=mstange, r=bgirard 2013-03-27 11:49:02 -04:00
Masayuki Nakano
b7c9ef59d8 Bug 558976 part.3 Implement nsIWidget::NotifyIME() on Cocoa r=smichaud 2013-03-06 15:14:34 +09:00
Markus Stange
d64370e5e4 Bug 676250 - Make OpenGL painting bypass the Cocoa setNeedsDisplay/drawRect machinery. r=bgirard. 2013-03-05 10:21:28 -05:00
Jim Mathies
bd82d0b8d9 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Matt Woodrow
fcc4e0e2fd Bug 841308 - Make WillPaintWindow be called for cocoa popups. r=roc 2013-02-26 10:18:48 +13:00
Chris Pearce
c077417a39 Bug 805261 - Implement nsChildView::GetScreenBounds() (MacOSX). r=BenWa 2013-02-11 11:31:00 +13:00
Robert Strong
70d4cf7361 Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
2d71bc7936 Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc 2013-02-08 13:56:50 -08:00
Josh Aas
6cca5db344 Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-05 15:40:34 -06:00
Josh Aas
db8f8bd1e1 Back out fix for bug 647216 due to test failures. CLOSED TREE 2013-02-04 10:05:06 -06:00
Josh Aas
3b7d143de0 Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-04 09:00:42 -06:00
Matt Woodrow
47f5425b13 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
Timothy Nikkel
c210449fd7 Bug 829886. Implement GetClientBounds for nsChildViews on Mac so that it returns correct values. r=smichaud
This has the side effect of making clicks on transformed select dropdowns to work.
2013-01-15 14:47:42 -06:00
Steven Michaud
2c997c515c Bug 825734 - Plugins stop rendering when top half of plugin scrolled off top of page, in HiDPI mode. r=jfkthame 2013-01-04 16:39:22 -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
Josh Aas
deb9073056 Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04: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
Josh Aas
c6a752c36c Bug 647216: Add ability to handle mouse events in the title bar on OS X. Work started by Markus Stange and Paul O'Shannessy. r=mstange 2012-10-26 15:42:50 -04: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
Jonathan Kew
69d8813220 bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud 2012-10-16 20:41:20 +01:00
Josh Aas
9198e7804c Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Matt Woodrow
72a07361c2 Bug 797431 - Add 'alternate paint' flag to PaintWindow, and don't clear ForcedRepaint on the view when it is set. r=roc 2012-10-15 17:53:37 +13: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
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