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

262 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 199abc8ce2 Bug 1097354 - Silence "adding an unknown subview" warning by calling _addKnownSubview. r=smichaud 2014-11-18 11:36:07 -05:00
Markus Stange 17e4391566 Bug 1095210 - Record native invalidations in -[BaseWindow _setNeedsDisplayInRect:] so that invalidations occurring during -[ChildView viewWillDraw] are not lost. r=smichaud 2014-11-07 13:11:48 -05:00
Markus Stange 1c0e700dea Bug 1018845 - Make the fullscreen button easier to see on dark backgrounds. r=roc 2014-11-03 22:14:10 -05:00
Gijs Kruitbosch a64f8dab5f Bug 1075653 - Make tooltips use vibrancy on Yosemite. r=smichaud 2014-09-12 14:10:09 +01:00
Markus Stange df1a517459 Bug 1081160 - Update window shadows for Yosemite. r=smichaud 2014-10-14 11:14:05 +02:00
Steven Michaud 3820df645b Bug 1069658 - The slide-down titlebar in fullscreen mode is transparent on Yosemite. r=mstange 2014-10-13 17:05:59 -05:00
Sebastian Hengst 1e915ce56f Bug 1078033 - Remove remaining Camino code. r=ted 2014-10-10 17:00:29 +02:00
Markus Stange 5b1c77960e Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Markus Stange 318cce364d Bug 1055018 - Draw CoreUI widgets through -[NSAppearance _drawInRect:context:options:] on 10.10 in order to pick up the 10.10 look. r=smichaud 2014-08-28 02:15:27 +02:00
Neil Deakin 708b9a6541 Bug 1045000, deminiaturize before making the window key to fix flickering window, r=smichaud 2014-08-19 20:01:32 -04:00
Jonathan Watt 1ac56ed5ef Bug 991640 - Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts. r=mattwoodrow 2014-06-10 07:02:21 +01:00
Markus Stange 8e904d450a Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-28 15:22:16 +02:00
Ed Morley d61cfb0350 Backed out changeset 4b2db2286258 (bug 870238) 2014-05-14 15:54:39 +01:00
Markus Stange 33f538a660 Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-14 14:33:52 +02:00
Steven Michaud 3836ce17c9 Bug 996848 - Rewrite Mac nsAppShell native event handling. r=spohl 2014-05-10 11:58:07 -05:00
Ed Morley 567c128d78 Backed out changeset 4341602f99b0 (bug 996848) for reftest failures on OS X 2014-05-07 18:44:01 +01:00
Steven Michaud ffd68891ee Bug 996848 - Rewrite Mac nsAppShell native event handling. r=spohl 2014-05-07 11:13:27 -05:00
Steven Michaud b8044236fc Bug 995603 - Ensure mouse-enter/exit events are sent to plugins as appropriate. r=mstange,masayuki 2014-04-30 11:55:40 -05:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Neil Deakin 382114ad8c Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Masayuki Nakano 2cb29d75ec Bug 977959 part.5 Make NativeKeyBindings classes non-refcountable r=neil 2014-03-14 22:13:32 +09:00
Masayuki Nakano 3e7755472a Bug 977959 part.4 Remove nsINativeKeyBindings r=roc+karlt
--HG--
rename : widget/gtk/nsNativeKeyBindings.cpp => widget/gtk/NativeKeyBindings.cpp
rename : widget/gtk/nsNativeKeyBindings.h => widget/gtk/NativeKeyBindings.h
2014-03-14 22:13:32 +09:00
Masayuki Nakano 0ae5a1bafc Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Markus Stange 09adfbd660 Bug 968838 - Refuse reentrant calls to nsCocoaWindow::DoResize. r=smichaud 2014-03-13 13:21:56 +01:00
Makoto Kato b051059a2f Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato 3a637833dd Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato 8471094535 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book 88049146b5 Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato 0cbf66c2db Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Masayuki Nakano e173e98fbd Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Markus Stange a16062d39b Bug 958674 - Return true from nsCocoaWindow::IsVisible while nsCocoaWindow::Show(true) is running. r=smichaud
--HG--
extra : rebase_source : 566f89c38316440243b178eb46d5048bcf416a32
2014-02-03 17:55:26 +01:00
Markus Stange f2de24d7ff Bug 958674 - Paint popup synchronously when showing the window, like we do for normal windows. r=smichaud
--HG--
extra : rebase_source : f0c62a48c4410ad293f8a9ed0b4a1b30abe349e9
2014-02-03 17:54:55 +01:00
Neil Deakin a2d526d45d Bug 943759, [Australis], support mousethrough on panels to allow mouse events to pass through to the content behind, implemented on Windows, Mac and Linux, use this for the UI tour highlight, r=neil,jmathies,karlt 2014-01-31 08:27:43 -05:00
Markus Stange fc6f4b74e8 Bug 958674 - Invalidate the popup content view when showing the popup. r=smichaud 2014-01-28 00:04:41 +01:00
Markus Stange 731751c24b Bug 957192 - Ignore unnecessary invalidations from NSView / NSWindow. Improves scrolling performance with plugins. r=smichaud 2014-01-08 10:37:59 +01:00
Markus Stange 07f9dfa286 Bug 932656 - Use CGSSetWindowBackgroundBlurRadius for blurring the background behind context menus. r=smichaud 2014-01-03 16:53:41 +01:00
Markus Stange 3b7de5fbc9 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 46699eb451 Bug 942913 - Make sheets return YES from isVisibleOrBeingShown while the sheet opening animation runs so that we don't refuse to composite them during the animation. r=smichaud 2013-11-25 19:00:55 +01:00
Matthew Noorenberghe be474fa47a Merge mozilla-central to UX 2013-11-05 01:04:20 -08:00
Neil Deakin f3270a29d5 Bug 596723, Don't consume clicks outside of arrow panels by default, always consume the clicks on anchors of all popups, r=dao,neil 2013-11-04 11:22:24 -05:00
Gijs Kruitbosch f298c06fde Merge mozilla-central and ux 2013-11-01 09:20:15 +01:00
Blake Kaplan b313542a2b Bug 923961 - Force b2g-desktop to composite on OSX. r=mstange 2013-10-29 13:57:16 -07:00
Markus Stange 454295facd Bug 851652 - Change position of the standardWindowButtons for Australis [r=smichaud r=mnoorenberghe+bmo r=jaws r=roc]
--HG--
extra : rebase_source : 4936bfc62a4712871caa5d767b1dd2e496e0826c
2013-06-12 23:42:00 +02:00
Gijs Kruitbosch 0aa036514a Merge mozilla-central and ux 2013-10-25 10:23:03 +02:00
Gijs Kruitbosch cf532beaaa Merge mozilla-central and ux 2013-10-23 00:37:14 +02:00
Markus Stange 14e8e85cab Bug 914437 - Don't composite windows that are not open. r=mattwoodrow 2013-10-09 10:39:22 -04:00
Gijs Kruitbosch b4a7a6d253 Merge mozilla-central and ux 2013-10-11 10:08:05 +02:00
Ehsan Akhgari bb7810ceea Bug 924019 - Do not assume that PRUnichar and UniChar/unichar are the same type; r=smichaud 2013-10-10 12:59:40 -04:00
Gijs Kruitbosch 581cdb7e45 Merge mozilla-central and ux 2013-10-02 20:41:14 +02:00
Masayuki Nakano a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Gijs Kruitbosch 61d5ef43b7 Merge mozilla-central and ux 2013-09-26 10:26:16 +02:00
Ryan VanderMeulen 623bf74951 Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Masayuki Nakano f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Gijs Kruitbosch 3f371ab30b Merge mozilla-central and ux 2013-09-18 14:54:29 +02:00
Mina Almasry 94bdd8d0fe Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Markus Stange 4ab38a4556 Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
--HG--
extra : rebase_source : b534eb4c339392c4a2ad60424510c7d264f13d3a
2013-10-09 10:39:22 -04:00
Gijs Kruitbosch f69da9ef1f Merge m-c to UX 2013-08-07 21:09:10 +02:00
Masayuki Nakano 2c377c18cd 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
Matthew Noorenberghe 3a8e5aed4e Merge mozilla-central to UX 2013-08-06 23:06:26 -07:00
Matthew Noorenberghe 116c1b7c2a Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Timothy Nikkel 7fe33ccd60 Bug 896053. Unlink sibling/child lists of widgets for nsCocoaWindow's correctly. r=smichaud 2013-08-05 23:32:23 -05:00
Gijs Kruitbosch bae02ad2bc Merge m-c to ux 2013-07-23 11:04:55 +02:00
Gijs Kruitbosch 6cd359a5e6 Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
Timothy Nikkel 6a5f13253e 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
Timothy Nikkel 7d3be384bc 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 b100c90df8 Bug 891424. Directly remove nsCocoaWindow's from their parent in Destroy(). This allows us to stop implementing GetParent because the mac widget code has some assumptions about that always returning null. r=smichaud
This reverts implementing GetParent on nsCocoaWindow's (ie back out bug 869151) because the mac widget code has some assumptions about that. Instead we just remove nsCocoaWindow's from their mParent in Destroy() which will still keep bug 869151 fixed.
2013-07-09 22:52:19 -05:00
Ryan VanderMeulen e98ab3e52f Backed out changeset a6b9f94bf21b (bug 891424) for assertions. 2013-07-09 17:15:41 -04:00
Timothy Nikkel 336cfcaf31 Bug 891424. Directly remove nsCocoaWindow's from their parent in Destroy(). This allows us to stop implementing GetParent because the mac widget code has some assumptions about that always returning null. r=smichaud
This reverts implementing GetParent on nsCocoaWindow's (ie back out bug 869151) because the mac widget code has some assumptions about that. Instead we just remove nsCocoaWindow's from their mParent in Destroy() which will still keep bug 869151 fixed.
2013-07-09 15:14:01 -05:00
Gijs Kruitbosch 9068f66933 Merge mozilla-central and ux-central 2013-06-08 00:09:29 +02:00
Mike Conley f41456b05e Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-27 11:19:45 -04:00
Markus Stange 5a0070db14 Bug 676241 part 7: Update comments. 2013-05-23 16:49:17 +02:00
Markus Stange 0193e2af91 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 5c8a7ce3f9 Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud 2013-05-23 16:49:17 +02:00
Markus Stange 28619d13b1 Bug 676241 - Back out _drawTitleBar swizzling from UX (originally landed in bug 865374 and bug 868211) because it's no longer necessary. 2013-05-23 19:53:03 +02:00
Markus Stange 3b948a3f0a Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange f5b49e385b Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange cf696e0d39 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Masayuki Nakano f43eab8fd4 Bug 807893 part.2 Cocoa widget should manage secure input mode with input context at changing the context and changing focus r=smichaud 2013-05-25 01:27:52 +09: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
JosiahOne b6e6255920 Bug 853105 - Allow double-click to minimize on windows with drawInTitlebar enabled. r=mstange, r=smichaud 2013-05-20 17:38:54 -04:00
Markus Stange 2811567976 Bug 676241 part 7: Update comments. 2013-05-23 16:49:17 +02: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 023d5dea92 Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud 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 df0daeb0fd Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +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
Mike Conley cfbf815906 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-13 13:04:32 -04:00
Markus Stange 3bbae4a42e Bug 868211 - Simplify Mac implementation of -moz-window-button-box. r=smichaud 2013-05-03 19:31:01 +02:00
Steven Michaud 530f5d9453 Bustage fix for Bug 865374 - fixes problems for OSX versions without the fullscreen button. r=bgirard 2013-05-02 19:31:49 -04:00
Mike Conley 40ddc57727 Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04:00
Mike Conley df89bb355e Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-02 12:41:21 -04:00
Mike Conley aeaa0c7ef7 Automated merge with https://hg.mozilla.org/mozilla-central 2013-04-25 17:55:05 -04:00
Mike Conley 9746ee6856 Automated merge with https://hg.mozilla.org/mozilla-central 2013-04-23 10:50:24 -04:00
Nicolas Silva a1ee3bf807 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Markus Stange 78a27ca962 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Mike Conley c519c6a5f8 Automated merge with https://hg.mozilla.org/mozilla-central 2013-04-19 16:58:03 -04:00
Markus Stange ac855585e9 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +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
Mike Conley 58712ea44c Bug 625989 - Always draw in the titlebar on OSX. r=josh,dao f=mstange 2013-03-01 13:48:18 -05:00
Timothy Nikkel a589fe78da Bug 869151. Implement GetParent for nsCocoaWindow so that nsBaseWidget::Destroy can find the parent and remove from the child list when destroying. r=smichaud 2013-05-09 18:57:20 -05:00
Timothy Nikkel 704372c4c0 Bug 870568. Change assertion about destroying an nsCocoaWindow while modal to a warning because the code handles that case. r=smichaud 2013-05-09 18:57:19 -05:00
Ryan VanderMeulen 66808396a3 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Milan Sreckovic 5413b28258 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
Steven Michaud 5eab0658e4 Bug 861317 - nsChildView::WillPaint terribly inefficient when drawing to titlebar. r=bgirard 2013-04-18 18:40:40 -05:00
Ehsan Akhgari 93b18e529b Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Nicolas Silva faf423d4c4 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Timothy Nikkel 525f063f2a Bug 864219. nsCocoaWindow::DoResize should be explicit about converting doubles to ints. r=jfkthame 2013-04-22 15:18:28 -05:00
Ryan VanderMeulen 42cef9be70 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva bb0bda95b2 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04: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
Jonathan Kew 8c14d15d30 bug 853252 - check for changed backing scale when we receive a windowDidChangeScreen message. r=smichaud 2013-04-12 08:45:50 +01: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
Benoit Girard 5abb1852ee Bug 699538 - Only register the event tap while our app is in the background and has a context menu open, because that's the only scenario we need it for. r=smichaud
--HG--
extra : rebase_source : 2f188f88e73fa12ca05731f3786443d833fe50c8
2011-11-07 11:43:10 -05:00
Masayuki Nakano ccb7608efe Bug 558976 part.3 Implement nsIWidget::NotifyIME() on Cocoa r=smichaud 2013-03-06 15:14:34 +09: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
Steven Michaud 79834d480d Bug 740923 - Lion Fullscreen: Black area when opening new windows. r=bgirard 2013-02-05 15:23:55 -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
Jonathan Kew eb51eaad4d Bug 831342 - Quite noisy rollupWidget warnings on OSX, r=smichaud 2013-01-28 15:34:00 -06:00
Matt Woodrow b567e17307 Bug 831829 - Fix OSX titlebar painting from being upside-down and tiled. r=roc 2013-01-19 14:07:32 +13: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
Mats Palmgren b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Jim Mathies 5a00e1c7fb Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Jonathan Kew c844b04c48 bug 820327 - work around potentially misleading backingScaleFactor returned by windows with zero area. r=roc 2012-12-14 09:46:16 +00: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
Jonathan Kew 5f9d375273 bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud 2012-12-06 17:31:34 +00:00
Jonathan Kew bb8f6f0e44 bug 803030 - convert display to device pixels before creating the popup child view. r=smichaud 2012-10-18 11:38:26 +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 06ee8a3792 bug 794038 pt 2.1 - update mSizeConstraints when the device resolution of the window changes. r=smichaud 2012-10-16 20:41:20 +01: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
Jonathan Kew aac5523940 bug 794038 pt 1.3 - nsCocoaWindow::Resize should only constrain the window to its current screen if no new position was passed. r=smichaud 2012-10-16 20:41:20 +01:00
Jonathan Kew 702db29c1c bug 794038 pt 1.0 - use global display pixel coordinates to persist and restore XUL window position and size. r=roc 2012-10-16 20:41:19 +01: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
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
Steven Michaud 6b4d1dab50 Bug 764176 - Cap area of rectangles passed to CUIDraw. r=mstange 2012-08-01 10:30:31 -05:00
Neil Deakin b0640922cf Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mark Capella eddd048c93 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella ab782c26b2 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Steven Michaud e0daa8c6e9 Bug 752294 - Handle failure to enter fullscreen mode because window is invisible. r=bgirard 2012-06-20 10:52:13 -05:00
Steven Michaud 5b6eb32d24 Bug 757618 - Closing window while in Lion fullscreen mode leaves one on blank screen for 10-15 seconds. r=bgirard 2012-06-18 10:20:02 -05:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paul O’Shannessy 310f71dc8b Bug 752149 - [OS X] nsCocoaWindow::ConstrainPosition uses wrong screen in multi-display setup [r=smichaud]
Specifically, when loading the position from persisted attributes and the window
should open on a 2nd display, it opens on the 1st.
2012-05-18 15:16:50 -07:00
Cameron McCormack c24ba0581d Bug 715024 - Remove duplicate functions on nsCocoaFeatures and nsToolkit. r=bgirard 2012-05-17 17:53:20 +10:00