Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 1cff1e2f07 Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Ehsan Akhgari f6ad445a82 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Masayuki Nakano 98454102d1 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Markus Stange eb38858a89 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 2f11737055 Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange a91a6fe8ca Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange e77f2f2de0 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 78a27ca962 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange fa88a744ef Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh
--HG--
extra : rebase_source : 23f17c9bd93ae34ce171ebe24b3576b4c825795e
2013-05-22 11:48:47 +02:00
Matt Woodrow 99faba83a1 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Brandon Waterloo 2bd5581bfd 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 98ce0c16a8 Bug 851128 - Backout patch because it caused bug 862417 and bug 864053. r=bgirard 2013-04-22 16:41:50 -05:00
Matt Woodrow 4dc092eab6 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Steven Michaud 5eab0658e4 Bug 861317 - nsChildView::WillPaint terribly inefficient when drawing to titlebar. r=bgirard 2013-04-18 18:40:40 -05:00
Nicholas Cameron 3a4be4332a Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Stephen Pohl 6d01aff5b2 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 ext:(%2C%20Brandon%20Waterloo%20%3Cbrandon.waterloo%40gmail.com%3E) 9b3c9bf246 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 839048be74 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 0cd77e174b Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Andre Reinald 828da5ee16 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 ccb7608efe Bug 558976 part.3 Implement nsIWidget::NotifyIME() on Cocoa r=smichaud 2013-03-06 15:14:34 +09:00
Markus Stange ec144e2ee5 Bug 676250 - Make OpenGL painting bypass the Cocoa setNeedsDisplay/drawRect machinery. r=bgirard. 2013-03-05 10:21:28 -05:00
Jim Mathies 8b05668989 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Matt Woodrow 2ed4bbe377 Bug 841308 - Make WillPaintWindow be called for cocoa popups. r=roc 2013-02-26 10:18:48 +13:00
Chris Pearce de2176af78 Bug 805261 - Implement nsChildView::GetScreenBounds() (MacOSX). r=BenWa 2013-02-11 11:31:00 +13:00
Robert Strong bbc574349b Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl 6f6c60460f 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 74249f548e 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 1bd545cb01 Back out fix for bug 647216 due to test failures. CLOSED TREE 2013-02-04 10:05:06 -06:00
Josh Aas 41e8b6b37d 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 c4cfe33e02 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 f2649622e7 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 40dcbd7846 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 81c7d507db 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 6b25f9216f Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Nicolas Silva 51dd83878a 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 8a78b3c63d 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 344c63740a 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 0b248b4c40 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 dbb5179c04 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 171fa34718 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 1f16e46c3e Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Matt Woodrow 3d78c0f3e8 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 d4ed66097a bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Josh Aas b5fd385545 Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Ehsan Akhgari e368dc9c85 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
Neil Deakin 6b29afdf4b Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin 2e9eced59a 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 e7d98cacc8 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Masayuki Nakano 8e9af33a49 Bug 719320 part.14 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Cocoa r=smaug+smichaud 2012-08-12 10:42:37 +09:00