Commit Graph

775 Commits

Author SHA1 Message Date
Markus Stange
cd9edd0871 Bug 958674 - Invalidate the popup content view when showing the popup. r=smichaud 2014-01-28 00:04:41 +01:00
David Zbarsky
0bbd7b8bd8 Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
c2e7c2cd0a Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical 2014-01-27 15:25:20 -05:00
Ryan VanderMeulen
faf802a81e Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Sotaro Ikeda
f903a20e0d Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
stefanh@inbox.com
579105656d Bug 889085 - Make our sheets semi-transparent. r=mstange. 2014-01-18 12:52:22 +01:00
Markus Stange
f8c4f53e80 Bug 959570 - Don't draw rounded corners and a highlight line in fullscreen mode. r=smichaud 2014-01-17 11:06:15 +01:00
Olli Pettay
63f95f00c7 Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Bill McCloskey
c04ea40fa3 Bug 951908 - Ensure child processes shut down propertly on Macs (r=bent,smichaud) 2014-01-15 13:09:41 -08:00
Ryan VanderMeulen
3d4fa83a0c Backed out changeset 347d5704cbe1 (bug 930793) for frequent Linux mochitest-bc orange.
CLOSED TREE
2014-01-15 14:11:20 -05:00
Josiah Bruner
2244449f0a Bug 411273 - Switch busy/wait cursor on OS X to use the system's busyButClickableCursor. r=smichaud 2014-01-14 09:36:41 -05:00
Olli Pettay
b5e3affd28 Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : 5b466917ad1b1b5ef75119cfbeba75861cb49823
2014-01-15 14:00:52 +02:00
Steven Michaud
ed93d3fdf2 Bug 722676 - View menu item stays selected when returning from opened window. r=josh 2014-01-13 16:01:52 -06:00
Benoit Jacob
06f7a9c4a2 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
2d5774ca0a Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Markus Stange
f0cc834cf2 Bug 958025 - Disable the scissor test in nsChildView::DrawWindowOverlay so that window controls are visible again. r=bjacob 2014-01-09 17:59:24 +01:00
Olli Pettay
ca3cda3676 Bug 953435 - Browser hang on Mac if an AfterProcessNextEvent callback tries to spin the event loop, r=nfroyd+smichaud
--HG--
extra : rebase_source : e999d852f5f73b18f37ff6a5488cc171c95d9e61
2014-01-09 00:10:06 +02:00
Markus Stange
b1e09791ca Bug 957192 - Ignore unnecessary invalidations from NSView / NSWindow. Improves scrolling performance with plugins. r=smichaud 2014-01-08 10:37:59 +01:00
Benoit Jacob
e61b5e8193 Bug 956401 - 5/9 - Let DrawWindow{Under,Over}lay take care of saving and restoring GL state - r=nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob
e9a9d5ea27 Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob
f820c67cd0 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Markus Stange
ed8dbc7427 Bug 932656 - Use CGSSetWindowBackgroundBlurRadius for blurring the background behind context menus. r=smichaud 2014-01-03 16:53:41 +01:00
Markus Stange
f155279429 Bug 880620 - Don't use NSGradient for drawing the titlebar highlight line gradient. Manual drawing is faster. r=BenWa 2014-01-03 16:53:33 +01:00
Jonathan Kew
3f274f987e bug 952928 - Ensure an autorelease pool is in place in InitializeVersionNumbers() before calling Cocoa APIs. r=benwa 2013-12-29 11:32:02 +00:00
Masayuki Nakano
c07e1fbe35 Bug 950564 part.2 Fix complex text input panel width as focused plugin width if it's not too narrow r=smichaud 2013-12-23 09:14:58 +09:00
Masayuki Nakano
7a9446edee Bug 950564 ComplexTextInputPanel should be positioned to bottom-left of the focused plugin feedback=emk, r=smichaud 2013-12-20 08:19:17 +09:00
Isura Edirisinghe
1542439ab5 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Masayuki Nakano
da4f6206c0 Bug 947115 All tests shouldn't use nsIDOMWindowUtils.sendNativeKeyEvent() directly. Use synthesizeNativeKey() instead. r=smaug 2013-12-18 16:02:46 +09:00
Markus Stange
591f402d35 Bug 888615 - [Australis] Only draw window titles for windows with drawtitle=true. r=smichaud 2013-12-17 17:19:25 +01:00
Markus Stange
57996a27c2 Bug 888615 - Back out changeset 2250a49996a2 because of an incomplete commit message. 2013-12-17 17:18:05 +01:00
Markus Stange
eb920566fc Bug 888615 - Only draw window titles for windows with drawtitle=true. r=smichaud 2013-12-17 17:11:14 +01:00
Markus Stange
2e8c31eda8 Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud 2013-12-17 17:11:13 +01:00
Markus Stange
4438906cc8 Bug 888615 - [Australis] Reland the patch for bug 877767 which was backed out in the landing of Australis. 2013-12-17 17:11:13 +01:00
Jonathan Watt
6c8fbf340c Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Wes Kocher
b7e717b615 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Masayuki Nakano
e468ad900b Bug 912858 part.3 Implement KeyboardEvent.key for printable keys on Mac r=smichaud+smaug 2013-12-11 01:14:54 +09:00
Nicholas Cameron
f215004cc4 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
8205294bd7 Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Ben Turner
5e46d041d5 Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda
617e2b2636 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
ebb90c9836 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
31581c859c Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Jonathan Watt
83950e2b2e Bug 947728 part 1 - Introduce a new 'number-input' value for -moz-appearance that behaves exactly as 'textfield' does. r=roc 2013-12-08 23:23:28 +00:00
Masayuki Nakano
f5a70fa693 Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud 2013-12-06 12:16:55 +09:00