Commit Graph

455 Commits

Author SHA1 Message Date
Matt Woodrow
533c54f64d Bug 884334 - Make sure WidgetShutdownObserver doesn't attempt to use the widget pointer after it has been destroyed. r=roc 2013-06-19 14:21:01 +12:00
Matt Woodrow
957665f5c7 Bug 877534 - Use a shutdown listener to destroy the compositor from nsBaseWidget. r=roc
This prevents a case where the nsBaseWidget isn't destroyed until the cycle collector is shutdown,
and we are too late in the shutdown sequence to process the events that get queued during
Compositor teardown.
2013-06-17 14:50:32 +12:00
Vladimir Vukicevic
bf2b401b0c b=879624; un-blocklist RDP for hardware accel if server is Win8/2012; r=bjacob 2013-06-14 15:34:41 -04:00
Kartikaya Gupta
dbc0077c31 Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Martin Stransky
572a55316c Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt 2013-06-10 08:36:26 -04:00
Ehsan Akhgari
d767884115 Bug 876129 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : ef4ac31003d75fb0fe17b493d7267ba3306e77bf
2013-05-30 22:23:49 -04:00
Ehsan Akhgari
cd8af7ed45 Backed out changeset cfca6afaaf9b (bug 865806) because it doesn't speak the secret phrase "nsIDocumentInlines.h" (on a CLOSED TREE, because that's how I roll) 2013-05-31 13:08:55 -04:00
Ehsan Akhgari
2f767e9604 Bug 865806 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : 6c0dba10c1ac4f08914632179e15c13c2ff271aa
2013-05-30 22:23:49 -04:00
Ehsan Akhgari
e5a87be26a Bug 865806 - Part 1: Continue walking up the frame tree when hitting a transparent frame as we're trying to determine whether a given element's background is dark or not; r=roc
This heuristic improvement gives us correct dark background detection in
pdf.js, among other cases.

--HG--
extra : rebase_source : 5a8f920da1b63f6452ec709745b2154b6fc17ceb
2013-05-30 14:27:57 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Masayuki Nakano
9f1395d4f8 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Markus Stange
07bad85738 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Ehsan Akhgari
7440abb0bd Bug 865806 follow-up: fix a typo
DONTBUILD because this is a comment change.

--HG--
extra : transplant_source : %7D%C6%13%95%CE%3C%01U%CB7%E8%CF%E3%14%87%14%05%C8G%FD
2013-05-21 11:04:16 -04:00
Gijs Kruitbosch
f07b63c125 Bug 874391 - Missing nullchecks in nsNativeTheme::IsDarkBackground(nsIFrame*), r=roc
--HG--
extra : rebase_source : e9161f3fbce9b53e4c74314cc94fb9556f7a9548
2013-05-21 16:27:31 +02:00
Ehsan Akhgari
58637fe4e1 Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00
Ehsan Akhgari
213c5abc58 Backed out changeset b097bd9fd24c because of Windows build bustage 2013-05-19 11:29:19 -04:00
Ehsan Akhgari
64250b24f2 Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
d16b1c60b8 Bug 871316 - Fix rooting hazards in InfoObject; r=till 2013-05-12 18:29:53 -04:00
Matt Woodrow
2c2db73896 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
e782ac7a86 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Bas Schouten
e758a47254 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Kyle Huey
0adceb0fa5 Back out bug 830347. 2013-05-08 12:04:11 -07:00
Bas Schouten
5238c34998 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Stephen Pohl
15b6f78be0 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Michael Wu
ed39602eed Bug 867703 - Remote default scale value, r=roc 2013-05-01 19:06:19 -04:00
Matt Woodrow
c727739057 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Matt Woodrow
ace055b629 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Nicholas Cameron
15ca66c5f1 Bug 788319. Rename RenderToEGLSurface. r=kats 2013-04-30 15:16:04 +12:00
Nicholas Cameron
98fdef5930 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
Ms2ger
23b44f251c Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn 2013-04-26 08:49:47 +02:00
Nicolas Silva
b18dc950c7 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
Ehsan Akhgari
34e21f4536 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
e4c0f3bbfd 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
Ryan VanderMeulen
4272b0bfcf 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
b00da928b1 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
Matt Woodrow
546d90da40 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Jacek Caban
1c067cdb8f Bug 863221 - Crash in nsBaseWidget::NotifyUIStateChanged when GetPresShell returns NULL. r=roc 2013-04-18 15:24:30 +02:00
Cykesiopka
ad4255f8b7 Bug 530352 - Remove last nsIFileSpec comment. r=vlad 2013-04-18 07:40:09 -04:00
Kartikaya Gupta
6cdf4a4e04 Bug 860613 - Create an android-specific subclass of CompositorParent to be able to pick the target layer for APZC. r=BenWa 2013-04-17 17:39:13 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jan Horak
37a0233c17 Bug 446041 - Force sharing printer settings in Linux because GTK doesn't have support for per printer settings. r=roc 2013-04-15 12:28:38 -04:00
Jonathan Kew
3ef1da119b bug 861403 - fix mixing of device pixels with global display pixels in MoveClient and ResizeClient calculations. r=roc 2013-04-15 13:17:22 +01:00
Jan Horak
f0bc6ca1f9 Bug 539427 - Save print resolution (DPI) and duplex settings between print jobs, if they're available. r=roc, sr=smaug 2013-04-11 09:10:42 -04:00
Ryan VanderMeulen
157e0c8c4f Backed out changeset b6612169995a (bug 539427) for bustage. 2013-04-11 08:13:42 -04:00
Jan Horak
7480bd40ea Bug 539427 - Save resolution (dpi) and duplex settings. r=roc, sr=smaug 2013-04-11 07:48:09 -04:00
Bas Schouten
7d182a2102 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
Jonathan Kew
b9cb582a30 bug 851520 - add systemDefaultScale attribute to nsIScreenManager, and use it to decide when to remove browser.content.full-zoom prefs during UI migration if running on windows/hi-dpi. r=roc,adw 2013-04-09 22:07:02 +01:00
Jonathan Kew
e5cabfad75 backout 4149244358fd and 5ad0e08799d9 (bug 851520) for b2g bustage on a CLOSED TREE 2013-04-09 21:57:12 +01:00
Jonathan Kew
bcaf4cdf19 bug 851520 part 1 - expose systemDefaultScale attribute on nsIScreenManager. r=roc 2013-04-09 14:28:55 +01:00
Jonathan Kew
eb690ba741 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
aceman
b20aad1de4 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
David Zbarsky
76ad7e5429 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Eddy Bruel
4b988f6ada Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin 2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
5ab122ae8b Backed out changeset d5d98779e401 (bug 846906) - again - for test failures on a CLOSED TREE. 2013-04-04 10:58:33 -04:00
Eddy Bruel
740434ef83 Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin 2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
f38d9e1c17 Backed out changeset 061b9318815b (bug 846906) for accidentally removing mach. 2013-04-04 10:42:28 -04:00
Eddy Bruel
a916b147c4 Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin 2013-04-04 15:24:32 +02:00
Eddy Bruel
06a39284c0 Bug 846881 - Add NULL checks to PuppetWidget; r=bz 2013-04-02 20:32:59 +02:00
Daniel Holbert
73ac707d5b (no bug) Remove terminal "." at the end of warning & assertion in nsBaseWidget.cpp, to fix ".:" in "warningmessage.: line-of-source-code". DONTBUILD because just tweaking assertion-message 2013-04-02 10:49:04 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jonathan Watt
6759296438 Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc 2013-03-28 20:25:05 +00:00
Aaron Klotz
1e49024f2a Bug 852117: Back out 794d86e866c3 due to big jump in mallocs r=me
--HG--
extra : rebase_source : d084a5d7a2f7675a1f53fc91cb87f486797c79f8
2013-03-26 17:16:59 -06:00
Aaron Klotz
91532305d9 Bug 852117: Adds CrashReporter annotations for nested loops r=roc 2013-03-26 10:40:32 -06:00
Jonathan Kew
859533d335 bug 854115 - add #include "nsIContent.h" to nsNativeTheme.h because of the use of nsAutoTArray<nsCOMPtr<nsIContent>... there. r=Ms2ger 2013-03-25 20:24:14 +00:00
David Zbarsky
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Chris Lord
e74007c62d Bug 852526 - Make sure the compositor starts unpaused and with a size. r=kats
This changes compositor creation so that we can specify an initial size and
makes sure the local variable in nsWindow reflects that the compositor starts
unpaused.
2013-03-20 22:45:07 +00:00
Jeff Gilbert
9f91b26f70 Bug 848201 - Only blocklist the 8.982.*.* for Win8 AMD cards - r=bjacob,joe 2013-03-19 17:44:10 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Andrea Marchesini
9196b955c3 Bug 832923 - Implement <input type='file'> on B2G, r=mounir, r=fabrice 2013-03-19 18:49:16 +01:00
Jonathan Kew
13b6a3c96b bug 824386 - (win-hidpi) nsScreenWin needs to account for logical dpi (resolution scale factor). r=jimm 2013-03-19 17:24:25 +00:00
Ehsan Akhgari
11fa0de577 Bug 851816 - Fix the Copy Image command on Linux in private windows; r=roc 2013-03-17 16:40:41 -04:00
Ms2ger
69401c3aeb Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Jonathan Watt
02ce4ceb97 Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
Masayuki Nakano
878e9a226e Bug 829952 Reimplement system scroll speed override stuff for D3E WheelEvent feedback=avih, r=smaug+roc, sr=roc 2013-03-15 18:03:16 +09:00
Benoit Jacob
feda0f5a7e Bug 843273 - block Direct2D on Intel drivers <= 8.15.10.2302 - r=joe 2013-03-12 15:40:29 -04:00
Seth Fowler
6a2ce39f70 Bug 843895 (Part 1) - Add an aWhichFrame parameter to imgIContainer::Draw. r=joe 2013-03-10 18:43:37 -07:00
Masayuki Nakano
e71fc2d290 Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
85b5fca5af Bug 558976 part.1 Merge nsIWidget::ResetInputState(), nsIWidget::CancelComposition(), nsIWidget::OnIMEFocusChange() and nsIWidget::OnIMESelectionChange() r=roc, sr=roc 2013-03-06 15:14:31 +09:00
Jim Mathies
09831683f1 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Neil Rashbrook
9980a170e6 Bug 658829 part 3 - move GetProgress*Value to nsNativeTheme r=jimm
--HG--
extra : rebase_source : 562107a9a653f352900073b096bce0b85aa423f4
2013-02-25 00:26:07 +00:00
Jim Mathies
fc26ef8819 Bug 658829 part 1 - preliminary cleanup r=bbondy
--HG--
extra : rebase_source : d2c506e0a64a4686dbf7d18b2c89bafcd83ea015
2013-02-25 00:16:02 +00:00
Irving Reid
74b2a08782 Bug 844958: Correctly reschedule idle-daily timer if it fires early r=mak 2013-02-28 16:16:19 -05:00
Seth Fowler
a7ffe81d52 Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz 2013-02-28 12:22:43 -08:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
093513a011 Bug 784841 - Part 18μ: Convert /widget; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Irving Reid
204ed419da Bug 842149: count idle observers to handle the case where observers de-register themselves while idle r=jlebar 2013-02-21 11:29:30 -05:00
Andrew Quartey
e7457f12a0 Bug 715767 - Make LayerManagerD3D10::ReportFailure threadsafe. r=joe 2013-02-25 09:07:16 -05:00
Julian Viereck
ad640d40e0 Bug 743252 - Implement moznomarginboxes attribute. r=roc 2013-02-20 10:50:21 -05:00
L. David Baron
5ef4421fa5 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
ed0e6eb8a7 Bug 781360 patch 2: Rename nsRuleNode::GetPresContext to PresContext, since it can never return null. r=dholbert 2013-02-16 13:04:54 -08:00
L. David Baron
8f3a364f1f Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".

nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
L. David Baron
b387f0fbea Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Jonathan Kew
12b61943d2 bug 816485 - interpreting the devPixelsPerPx value from about:config should not depend on locale. r=roc 2013-02-26 09:01:10 +00:00
Trevor Saunders
36453999ea bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Mounir Lamouri
9ad0959156 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Chris Jones
ae2267c2fc Bug 835591: Disable cross-process IME when it's not used. r=roc 2013-01-28 15:56:28 -08:00
Robert O'Callahan
7d5297cfef Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
ff003c47b7 Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Robert O'Callahan
1664912887 Bug 826817. Part 1: Send WillPaintWindow/DidPaintWindow from all widget implementations. r=tnikkel 2013-01-28 13:34:03 -06:00
Michael Wu
dadbf60745 Bug 834327 - Disable idleservice spam on gonk, r=gcp 2013-01-25 14:00:31 -08:00
Chris Jones
7fc6c94ab7 Bug 834760: Null-check mAttachedWidgetListener. r=mwu 2013-01-25 11:51:16 -08:00
Oleg Romashin
f45b8b872b Bug 832159 - Move internal part of InputData (nsEvent conversion) out from the header. r=drs, r=smaug 2013-01-23 18:30:48 -05:00
Matt Woodrow
d880949cfb Bug 831829 - Fix OSX titlebar painting from being upside-down and tiled. r=roc 2013-01-19 14:07:32 +13:00
Mats Palmgren
d5826be6d7 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
Ehsan Akhgari
dbaf74bc59 Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Joe Drew
17334fe537 Bug 829710 - Restore hardware-accleration check for 10.6.x, x <= 2, mistakenly removed in bug 598401. r=BenWa 2013-01-11 22:59:48 -05:00
Trevor Saunders
14a806d47d no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Ehsan Akhgari
ac66f2835b Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
Robert O'Callahan
a9f8b202ea Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
9abe8bbe09 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Nicholas Nethercote
726f15f354 Bug 825079 - Fix -Wint-to-pointer-cast warnings and remove trailing whitespace in nsBaseWidget.cpp. r=roc. 2013-01-01 14:38:48 -08:00
Timothy Nikkel
3930f84ffc Bug 824868. Make AutoLayerManagerSetup save the layer manager it is using so we are sure to use the right oen when it goes out of scope to clean up. r=roc 2012-12-26 23:55:41 -06:00
Daniel Holbert
9ef3a645cc Bug 822804: Mark variables destIdx & destPos in GfxDriverInfo.h as unsigned, to fix build warning for unsigned/signed comparison. r=Bas 2012-12-22 09:29:04 -08:00
Timothy Nikkel
36be428d56 Bug 813024. Restore mTemporarilyUseBasicLayerManager to the previous value instead of setting it to false when using an AutoUseBasicLayerManager object. r=roc 2012-12-17 00:35:39 -06:00
Jonathan Kew
32056fc79c bug 821679 - handle display-to-device pixel scaling of mouse-click position when creating drag image. r=roc 2012-12-14 20:25:51 +00:00
Timothy Nikkel
648561a1a1 Bug 805745. Paint notification can flush (via WillPaint), so re-check if the listener still exists after on puppet widget backend. r=cjones 2012-12-12 15:57:08 -06:00
Jonathan Kew
31bd43b8c2 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
Shelly Lin
7e73632714 Bug 803039 - Correct the logic of finding user activity in IdleTimerCallback (fixes bug 811459). r=jlebar 2012-12-03 10:21:00 +08:00
Shelly Lin
4d69d166b5 Bug 803039 - Use TimeStamp instead of PRTime to store the idle time. r=jlebar 2012-10-26 10:17:36 +08:00
Cameron McCormack
79e0aada3b Bug 817913 - Don't have static functions in GfxDriverInfo.h. r=bas 2012-12-05 15:51:52 +11:00
Benoit Jacob
8cd6a3db7a Bug 816695 - Blocklist llvmpipe graphics driver - r=jgilbert 2012-12-04 11:40:21 -05:00
Benoit Jacob
59b4bcfc53 Bug 799544 - block the old Mesa 'Software Rasterizer' -- recommend LLVMpipe instead - r=joe 2012-11-22 13:53:11 -05:00
Benoit Jacob
074f94d249 Bug 813818 - just return nsString by value in GfxInfoBase getters, not perf critical, not worth doing fancy things - r=joe 2012-11-22 13:53:11 -05:00
Benoit Jacob
aa8677747a Bug 813818 - Return EmptyString() instead of a new nsString() in GfxInfoBase string getters - r=joe 2012-11-22 13:53:11 -05:00
Masayuki Nakano
bc39d12867 Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00
Alexander Surkov
37336125af Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Nicolas Silva
09a07039c9 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
Gregor Wagner
2569870d17 Backout ed6074493479 Bug 803039 2012-11-16 10:21:47 -08:00
Masayuki Nakano
c2ec08b400 Bug 805767 part.1 nsTextStateManager should use nsIWidget::GetIMEUpdatePreference() instead of the result of nsIWidget::OnIMEFocusChange() r=smaug 2012-11-13 22:04:44 +09:00
Chris Jones
3b6afccf0e Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc 2012-11-07 19:51:55 -08:00
Shelly Lin
d3798f2adb Bug 803039 - Use TimeStamp instead of PRTime to store the idle time. r=jlebar 2012-10-26 10:17:36 +08:00
Jim Mathies
d85ffc372c Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy 2012-11-02 06:54:44 -05:00
Andrew Quartey
36ae7e6c05 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Benoit Jacob
4e2144c12a Bug 806369 - Stagefright blacklisting. Also extends Android Gfxinfo to support blacklist rules by Android API version, Model, Product, Hardware, Manufacturer - r=joe,doublec 2012-11-01 17:13:10 -04:00
Robert O'Callahan
4b853e748f 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
Masayuki Nakano
e33e735f92 Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc 2012-10-31 08:22:23 +09:00
Masayuki Nakano
df393c0357 Bug 806300 Use intptr_t instead of int64_t for the 3rd argument of GetInputContext() of PBrowser r=cjones, feedback=Ms2ger 2012-10-30 10:58:29 +09:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Masayuki Nakano
00776d0733 Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc 2012-10-27 08:35:20 +09:00
Neil Deakin
88623b8f02 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