Commit Graph

571 Commits

Author SHA1 Message Date
Masayuki Nakano
1cf4b4233a Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
a899a68a7f Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
dfa18ff7c5 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
9fc5453724 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
cb5e8fa5ed Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
a3f2b0b40c Bug 920377 part.16 Get rid of nsAlternativeCharCode r=roc 2013-10-01 16:22:57 +09:00
Steven Michaud
3e9a2316b2 Bug 917702 - Unexpected Mouse Coordinate Return when MouseEnter or MouseExit Event Fired. r=spohl 2013-09-30 12:05:48 -05:00
Matt Woodrow
f60df94d8e Bug 886999 - Backout c3a044164b5f for causing deadlocks (Bug 920979) 2013-09-30 14:31:50 +13:00
Matt Woodrow
ebc311f303 Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel 2013-09-30 12:17:35 +13:00
Ehsan Akhgari
019f6a95dd Backed out changeset a73ffb0d0c97 because of build bustage 2013-09-29 17:20:07 -04:00
Ehsan Akhgari
996fe50ca8 Remove a number of unused variables, no bug 2013-09-29 16:42:12 -04:00
Markus Stange
018eb43241 Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
Masayuki Nakano
b02623b48f Bug 920377 part.14 Get rid of nsSimpleGestureEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
3d0f63c0e7 Bug 920377 part.4 Get rid of nsContentCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
a7105d6006 Bug 920377 part.2 Get rid of nsPluginEvent r=roc 2013-09-27 15:20:54 +09:00
Matt Woodrow
443460f257 Bug 886999 - Avoid touching the GL context from the main thread on mac, and lock the context when touching it from other threads. r=mstange 2013-09-26 15:49:59 +12:00
Masayuki Nakano
ee772d1cbc Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
38b1de7ee7 Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
18aa9b09b2 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Benoit Jacob
5a16c8030b Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
0f90257361 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Masayuki Nakano
224a14c928 Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc 2013-09-24 19:04:16 +09:00
Masayuki Nakano
0b6d808310 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Stephen Pohl
493baa5454 Bug 917761: Reland improvements for bug 678392 that were backed out along with bug 673875. r=smichaud,felipc 2013-09-23 09:02:55 -04:00
Anthony Jones
af656ab898 Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow 2013-09-23 15:28:16 +12:00
Carsten "Tomcat" Book
725d8a196f Merge m-c to fx-team 2013-09-18 12:32:43 +02:00
Mike de Boer
8cc485b46d Bug 870865: update disabled text color on OSX. r=mstange, ui-r=shorlander 2013-09-18 11:06:07 +02:00
Mina Almasry
c7a175bba8 Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Steven Michaud
366bf6eb2c Bug 909678 - Send right-mouse-dragged and other-mouse-dragged events to plugins. r=spohl,roc 2013-09-17 18:36:03 -05:00
stefanh@inbox.com
bcd2b365d7 Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange. 2013-09-15 00:44:50 +02:00
Masayuki Nakano
8f393ec07c Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Ryan VanderMeulen
d2e73511c3 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Milan Sreckovic
ec49f86c3b Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.

--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Ms2ger
279ef8f6af Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Jacob
94f74c705d Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Masayuki Nakano
c4bb3c14e4 Bug 892539 modifier flag database should be reset if we detect mismatch between the stored data and the latest information via key event r=smichaud 2013-08-29 13:26:43 +09:00
Matt Woodrow
f6e05d5b54 Bug 908822 - Disable azure content on windows for now. r=nrc 2013-08-26 21:06:37 +12:00
Masayuki Nakano
e16d8e4b0e Bug 907612 part.2 Get rid of nsNativeKeyEvent r=roc+gps, sr=jst 2013-08-24 16:24:32 +09:00
Masayuki Nakano
6ac5b1524f Bug 897885 part.1 Handle kVK_JIS_KeypadComma in widget::TextInputHandler r=smichaud 2013-08-24 13:53:01 +09:00
Guillaume Abadie
fcd4bed6e9 bug 907946 - re-enable EXT_packed_depth_stencil on OS X 10.9 - r=bjacob,jgilbert 2013-08-22 20:13:59 -04:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
4d0ead0110 Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Stephen Pohl
137e8534cd Revert 366e6a39d71a from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:22:03 -04:00
Stephen Pohl
9838c75c5b Revert fd6c7792b048 from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:21:59 -04:00
Stephen Pohl
4acd55bd55 Bug 904561: Followup for RTL support. r=smichaud 2013-08-21 16:33:55 -04:00
Stephen Pohl
6091137378 Bug 904561: Restrict the growing of overlay scrollbars on hover to OSX 10.8 and above. r=smichaud 2013-08-21 15:44:17 -04:00
David Anderson
69dc419e91 Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Mounir Lamouri
26e4252897 Bug 875756 - Implement nsIColorPicker for Cocoa. r=mstange 2013-08-16 12:09:39 +01:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Ms2ger
5b19b311dc Bug 904178 - Part d: Use nsIDocument in nsMenuItemIconX::GetIconURI; r=smichaud 2013-08-14 09:03:40 +02:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Josh Aas
012bc8c6e1 Bug 903788 - Fix a few memory leaks in Cocoa file picker code. r=smichaud 2013-08-12 13:29:00 -04:00
Jonathan Watt
e6caf7d133 Bug 894840, part 1 - Refactor and move the mode storage to nsBaseFilePicker. r=mounir 2013-07-22 10:12:32 +01:00
Trevor Saunders
b2dc01f1a7 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Nicholas Cameron
780473491b Bug 901382. Don't fall back to basic OMTC. r=mattwoodrow 2013-08-09 11:32:26 +12:00
Chris Peterson
3519691290 Bug 847709 - Remove unused mRendererIDs code in widget/cocoa. r=jrmuizel 2013-08-01 22:25:16 -07:00
Masayuki Nakano
161f821bd8 Bug 893973 nsIWidget::SetInputContext() should check it has focus before calling secure event input API r=smichaud 2013-08-07 11:49:21 +09:00
Timothy Nikkel
25d9b92cad Bug 896053. Unlink sibling/child lists of widgets for nsCocoaWindow's correctly. r=smichaud 2013-08-05 23:32:23 -05:00
Ryan VanderMeulen
00913f13e0 Merge m-c to fx-team. 2013-08-02 17:09:31 -04:00
Gijs Kruitbosch
695592c483 Merge m-c to fx-team 2013-08-02 15:47:01 +02:00
Josh Aas
6981984662 Bug 869083 - Fix OS X apps code to return failure on failure to launch app. r=felipc, r=smichaud 2013-08-02 08:06:22 -04:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Steven Michaud
98fd2dd6d1 Bug 893973 - crash in -[ChildView keyDown:], log more debugging info to Breakpad's app notes, rev1. r=masayuki 2013-08-01 20:35:34 -05:00
Marco Castelluccio
994b25cbb3 Bug 846765 - Dragging from Downloads window and dropping in Finder creates weird shortcut. r=BenWa 2013-08-01 21:21:31 -04:00
Chris Peterson
1006b28234 Bug 900839 - Remove unused variables in nsNativeThemeCocoa.mm. r=dzbarsky 2013-08-01 22:46:10 -07:00
David Zbarsky
f2ea7c733f Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
Stephen Pohl
4975c64924 Bug 874570: Make scrollbar frames smaller for small overlay scrollbars. r=smichaud 2013-08-01 17:01:22 -04:00
David Zbarsky
93caf8a63e backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
c59f81b1cd Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
Ehsan Akhgari
e4c675b65d Backed out changeset 197b12188f3a (bug 893973) for causing bug 9000007 2013-07-31 17:06:38 -04:00
Nicholas Cameron
a2cdf1ab09 Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
David Zbarsky
0d3882f4c1 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
Timothy Nikkel
991b1b9a96 Bug 892994. On retina screens cocoa rounds widget coordinates to even pixel values, so account for that when placing widgets so we don't get confused. r=mstange 2013-07-30 11:22:41 -05:00
Timothy Nikkel
c7944656a1 Bug 899430. Correct incorrect use GetDefaultScale in TextInputHandler to BackingScaleFactor. r=jfkthame
We are converting between cocoa points and dev pixels, cocoa points do not know about our prefs but GetDefaultScale takes into account our prefs, which is wrong.
2013-07-30 11:22:39 -05:00
Steven Michaud
991fb80d47 Bug 893973 - crash in -[ChildView keyDown:], log more debugging info to Breakpad's app notes. r=masayuki 2013-07-30 10:42:29 -05:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Masayuki Nakano
9cfb44c724 Bug 501496 part.3 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Cocoa r=smaug+smichaud 2013-07-25 15:09:28 +09:00
Robert O'Callahan
7faf004c0a Fix Mac bustage for bug 889219 on a CLOSED TREE 2013-07-25 00:40:45 +12:00
Robert O'Callahan
e9025f3008 Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Steven Michaud
8501ad844e Bug 893973 - crash in -[ChildView keyDown:], log debugging info to Breakpad's app notes. r=ted,masayuki 2013-07-19 16:21:25 -05:00
Timothy Nikkel
3c38237ade Bug 891424. Hide cocoa window's when they are destroyed, otherwise they can stay on screen, and remove a different fix for the same bug that caused a regression. r=smichaud
We also remove a different fix for this same bug that caused some regressions: calling RemoveChild so that the nsCocoaWindow actually dies.
2013-07-19 15:57:59 -05:00
Ryan VanderMeulen
c17b9138c8 Backed out changeset 01d5bde15738 (bug 893973) for OSX bustage.
CLOSED TREE
2013-07-19 13:56:36 -04:00
Steven Michaud
12394a989e Bug 893973 - crash in -[ChildView keyDown:], add debugging info to Breakpad's app notes. r=ted,masayuki 2013-07-19 12:08:18 -05:00
J. Ryan Stinnett
c18627a32f Bug 893670 - Part 1: Restore Emacs shortcuts in textareas. r=masayuki
--HG--
extra : rebase_source : 14dc48ad891f41c38854fd1078971361d459e73a
2013-07-17 20:00:26 -05:00
Matt Woodrow
e5615c4e91 Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Matt Woodrow
25483332a6 Bug 894891 - Move texture transform from the RGBATextureLayerExternal shader into the vertex shader, and combine the two GL_TEXTURE_EXTERNAL shaders. r=jrmuziel 2013-07-18 23:05:06 -04:00
David Zbarsky
ff2b9a1250 Bug 895116: Use RGBARectProgram in nsChildView r=mattwoodrow 2013-07-17 23:54:09 -07:00
Masayuki Nakano
06d95e0415 Bug 893973 Check if the keydown event received view actually has focus and separate the MOZ_CRASH() for each case r=smichaud 2013-07-17 11:08:44 +09:00
Stephen Pohl
fee7bac8dd Bug 868498: Enable switching between overlay and regular scrollbars without browser restart on Mac OSX. r=roc 2013-07-16 08:58:44 -04:00
Matt Woodrow
0debdb2a99 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
ba37340fd8 Bug 892966 - Don't rely on being able to retrieve the current surface from a gfxContext when drawing cocoa menus. r=jrmuizel 2013-07-12 17:19:28 -04:00
Masayuki Nakano
2b384461ff Bug 810225 part.4 Replace NSInputManager in IMEInputHandler::KillIMEComposition() with NSTextInputContext r=smichaund 2013-07-13 11:53:24 +09:00