Commit Graph

772 Commits

Author SHA1 Message Date
Ryan VanderMeulen
8dc9129e87 Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Sotaro Ikeda
0941fe3c91 Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Benoit Jacob
15ef84b8b5 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
28ff3ad25f 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
981c6431d3 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
22b1521b6f Bug 889085 - Make our sheets semi-transparent. r=mstange. 2014-01-18 12:52:22 +01:00
Markus Stange
01d6616d38 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
9eba76141c Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Bill McCloskey
330ab3980f Bug 951908 - Ensure child processes shut down propertly on Macs (r=bent,smichaud) 2014-01-15 13:09:41 -08:00
Ryan VanderMeulen
cc9bcd2414 Backed out changeset 347d5704cbe1 (bug 930793) for frequent Linux mochitest-bc orange.
CLOSED TREE
2014-01-15 14:11:20 -05:00
Josiah Bruner
1c3760823d 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
1122de401a Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : 5b466917ad1b1b5ef75119cfbeba75861cb49823
2014-01-15 14:00:52 +02:00
Steven Michaud
1d1add2df0 Bug 722676 - View menu item stays selected when returning from opened window. r=josh 2014-01-13 16:01:52 -06:00
Benoit Jacob
873406e3f0 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
300f4ba3a9 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
535a216635 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
9046e4d349 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
cb3b85db05 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
bbcac476df 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
c3bd0d0486 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
5beca4573d Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob
c1f0c05cb0 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Ehsan Akhgari
eaa7491d77 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
8f6d1daf18 Bug 932656 - Use CGSSetWindowBackgroundBlurRadius for blurring the background behind context menus. r=smichaud 2014-01-03 16:53:41 +01:00
Markus Stange
647a2cf7b7 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
f03a06aea1 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
6fd2f46d19 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
eae4be4eb8 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
3eedf5ced4 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
b258d7f789 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
46c03ea60d Bug 888615 - [Australis] Only draw window titles for windows with drawtitle=true. r=smichaud 2013-12-17 17:19:25 +01:00
Markus Stange
a03621a375 Bug 888615 - Back out changeset 2250a49996a2 because of an incomplete commit message. 2013-12-17 17:18:05 +01:00
Markus Stange
caf259a985 Bug 888615 - Only draw window titles for windows with drawtitle=true. r=smichaud 2013-12-17 17:11:14 +01:00
Markus Stange
7433f2e788 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
754772e1cf 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
a9c5083a32 Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Wes Kocher
7b1ededbc4 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Masayuki Nakano
55820aa967 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
6517f3b849 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
daefac40cc Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Ben Turner
0cffbe0bf4 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
58325c73be 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
a1bcd56fe8 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
87cd3345ad Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
6c86bf2741 Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Jonathan Watt
34f76a78c2 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
6b23195449 Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud 2013-12-06 12:16:55 +09:00
Josh Aas
f4d099d728 Bustage fix for bug 852648, v2. CLOSED TREE 2013-12-05 18:16:47 -06:00
Josh Aas
9fa313560f Bustage fix for patch for bug 852648. Bustage doesn't show up in clobber builds, thus it didn't show on try. CLOSED TREE 2013-12-05 18:05:02 -06:00
Josh Aas
a11f4bc407 Bug 852648: Add support for native Notification Center alerts on OS X. r=wchen,mstange 2013-12-05 17:05:10 -06:00