Commit Graph

318 Commits

Author SHA1 Message Date
Timothy Nikkel
f999d590f4 Bug 787818. Send activate and deactivate notifications to the correct window. r=enndeakin 2012-11-16 17:40:28 -06:00
Mark Straver
7ec9d68d3e Bug 783338 - Correct widget height on VS2012 (subsystem >= 6). r=jimm 2012-11-16 18:34:31 -05:00
Benoit Jacob
986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Nicholas Cameron
e907939a76 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Tim Abraldes
f6c58bdda9 bug 795832. Make sure MOUSEEVENTF_HWHEEL is defined. r=jimm 2012-11-13 13:09:58 -08:00
Masayuki Nakano
e11469e287 Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Masayuki Nakano
066467c7e0 Bug 805767 part.2 Implement nsIWidget::GetIMEUpdatePreference() on Windows for TSF r=emk 2012-11-13 22:04:45 +09:00
Brian R. Bondy
fd4768384a Bug 795887 - Document sleep and process suspend notifications. r=roc 2012-11-09 10:34:10 -05:00
Marco Bonardo
f5d87462b2 Bug 799609 - Disable Places in B2G - Part 3 - Allow widget to be built without Places
r=jimm
2012-11-09 10:55:56 +01:00
Ehsan Akhgari
fe6567581a Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Michael Kaply
fe69b25bf8 Bug 800498 - Check for null context in MainWindowHook. r=jmathies 2012-11-07 08:27:24 -06:00
Jim Mathies
4dfae7eef7 Bug 750901 - Revert change to nsClipboard and remove ancient crufty commented out code. r=bbondy 2012-11-02 09:30:57 -05:00
Jim Mathies
e21debf331 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
Benoit Jacob
0ed67f9ee7 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
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
Mike Conley
998dbff9fa Bug 746775 - Clicks to close a context-menu in a panel are also consumed by the panel. r=jmathies,enndeakin. 2012-10-29 12:54:52 -04:00
Ryan VanderMeulen
0e22196909 Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs. 2012-10-28 00:24:02 -04:00
Masayuki Nakano
709e35de01 Bug 801989 part.2 Set InputContext::mNativeIMEContext on Windows r=jmathies 2012-10-27 08:35:21 +09: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
Andrew Quartey
5d03f6af91 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Jim Mathies
d79e59cd73 Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Neil Deakin
e76c2ec778 Bug 782547, allow killfocus and deactivate messages to arrive in any order, remove blur suppression code, r=jmathies 2012-10-24 16:05:29 -04:00
Jacek Caban
43d2a9ba40 Bug 801579 - Don't mix nsresult with HRESULT (widget/windows part) r=jmathies 2012-10-24 10:57:08 +02:00
Timothy Nikkel
63e3338f4e Bug 802456. Make all popup type windows on Windows have the composited style to work around a bug in Windows. r=jimm 2012-10-20 16:05:14 -05:00
James H
4955da63dd Bug 802316 - Remove WS_EX_COMPOSITED style from popups with WS_EX_LAYERED to prevent invisible context menus. r=roc 2012-10-17 16:18:22 -04:00
Masayuki Nakano
affac42d19 Bug 705057 part.4 Emulate the behavior of nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() if the composition is synthesized r=smaug+roc, sr=roc 2012-09-26 14:47:51 +09:00
James H
8bd40a8324 Bug 801301 - Fix popup submenus opening behind their parent on Windows XP. r=roc
--HG--
extra : rebase_source : 25c1b7bf5db71b40130816d629c4d54707290a49
2012-10-14 18:04:05 -04:00
Ben Turner
03f0a71b4d Bug 799970 - 'Activate HangMonitor for non-queued messages on Windows'. r=bsmedberg. 2012-10-16 12:56:57 -07:00
Oleg Romashin
4648f9b9e0 Bug 801471 - Failed to convert nsresult to HRESULT in nsDataObj.cpp on windows build. r=jmathies 2012-10-14 23:20:49 -07:00
Matt Woodrow
c26250b08d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
James H
1e0bf4e944 Bug 610713 - Fix popup menus leaving behind artifacts when using hardware acceleration and a basic Windows theme. r=jmathies 2012-09-13 21:31:53 -04:00
Robert O'Callahan
25d8a9eeb3 Bug 603880. Implement nsWindow::GetDefaultScale on Windows based on LOGPIXELSY, set by font DPI settings. r=jmathies
--HG--
extra : rebase_source : 9f557d71a0aff00cf51093983809d7bbda477294
2012-10-05 15:29:10 +13:00
Jacek Caban
fe4bf5159a Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (widget/windows part) r=jmathies
--HG--
extra : rebase_source : e7f460a18397aa903fb2ba3f9ba7e5fe67d76db6
2012-10-04 10:33:24 +02:00
Vladimir Vukicevic
6712fed689 b=792845; kill WARNING: GetScaneCodeWithExtendedFlat() returns without extended flag; r=masayuki 2012-09-20 16:18:11 -04:00
Jim Mathies
1f0a409256 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-29 11:39:23 -05:00
Jonathan Kew
ed41d7aef7 bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Jim Mathies
61af2e3bd0 Bug 795307 - backout e320e0e3ec41 due to red 2012-09-28 16:17:58 -05:00
Jim Mathies
4af416bc9c Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:48:36 -05:00
Ehsan Akhgari
29d0084f79 Backout changeset 0c18edd01cd4 (bug 795307) for broken builds on Windows 2012-09-28 15:40:00 -04:00
Jim Mathies
520a3a8c6b Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:11:12 -05:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Chris Pearce
8890e16348 Bug 782729 - Make Windows nsWindow::SynthesizeNativeMouseEvent accept coords in screen coords, not widget coords, to match other widget implementations. r=smaug,jimm 2012-09-18 14:36:16 +12:00
Jim Mathies
88ccb13216 Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
063a9840ee Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Bas Schouten
5b1df2aaa8 Bug 792190: Relax D3D9 driver version requirements. r=bjacob 2012-09-21 22:12:28 +00:00
Benoit Jacob
f0ba2b574b Bug 790086 - Try removing the Optimus WebGL/ANGLE blacklist - r=jgilbert
What could possibly go wrong?
2012-09-21 13:44:35 -04:00
Brian R. Bondy
9edffdfab0 Bug 737833 - Disallow AppUserModelID registration calls for immersive mode. r=rstrong 2012-09-17 15:22:33 -04:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Bas Schouten
48b8f6125b Bug 791742: Consider driver version substrings in decimals. r=joedrew 2012-09-17 20:50:38 +00:00
Koosha Khajeh Moogahi
dcf81f4fb0 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Siddharth Agarwal
e842bcc287 Bug 789830 - Graphics driver DriverVersion and DriverDate no longer present in registry with some Windows 8 installs, breaking about:support and driver blacklisting. Assume a driver version of 0.0.0.0 in such cases. r=joe 2012-09-17 23:26:24 +05:30
Jacek Caban
8e12f7baa0 Bug 791230 - nsTextStore.cpp fails to compile on GCC (mingw) r=masayuki 2012-09-14 16:13:46 +02:00
Masayuki Nakano
4dfed85b87 Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 13:51:00 +09:00
Joe Drew
c40a1cc753 Bug 783517 - Block all AMD drivers for hardware acceleration on Windows 8 due to mysterious crashes, but leave as-yet unreleased drivers unblocked. r=bjacob
--HG--
extra : rebase_source : a7871f074930ff8e1fcb7f208462a69ebf5dd34b
2012-09-13 18:39:37 -04:00
Masayuki Nakano
0519c353d0 Backout 3a20a844caec due to landed wrong patch 2012-09-14 11:35:23 +09:00
Masayuki Nakano
044651734e Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 10:38:58 +09:00
Masayuki Nakano
e6288de56d Bug 789703 Allow to query the selection without write lock in InsertTextAtSelection() r=jimm 2012-09-14 10:38:58 +09:00
Masayuki Nakano
08eb97ed50 Bug 544773 part.2 Move old helper methods in nsTextStore.cpp to the chunk for new helper methods r=jimm 2012-09-12 08:53:12 +09:00
Masayuki Nakano
ef02e15d4c Bug 544773 part.1 TSF module should log its behavior r=jimm 2012-09-12 08:53:12 +09:00
Brian R. Bondy
7253faa97c Bug 787769 - Clipboard option for CF_DIB is now explicitly specified. r=jimm 2012-09-06 22:48:16 -04:00
Aryeh Gregor
291bfa222b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Makoto Kato
1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Brian R. Bondy
462a60f579 Bug 787808 - Create common base class for Win32 and WinRT filepickers. r=jimm 2012-09-03 11:25:08 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Joe Drew
1c6c7b1741 Bug 706908 - Support Windows 8 from gfxInfo and the graphics blacklist. r=bjacob 2012-08-31 12:42:07 -04:00
Timothy Nikkel
8156eed68a Bug 786421. If we are asked to repaint while resizing a window on Windows and the new size matches the old size just repaint and don't do a bunch of extra work. r=jimm 2012-08-31 11:16:52 -05:00
Masayuki Nakano
6f66e83933 Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug 2012-08-30 10:05:16 +09:00
Neil Deakin
11697a706a Bug 783899, notify the view for resize events before the webshellwindow, fixing thunderbird window size when maximized, r=jmathies 2012-08-24 08:42:15 -04: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
Tim Abraldes
a865bb103c bug 758280. Refactor the way we handle WM_NCCALCSIZE messages and how we keep track of our frame offsets. r=jimm 2012-08-20 12:11:31 -07:00
Joe Drew
022bcccbfb Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow 2012-08-15 17:55:38 -04:00
Neil Deakin
c4c73ac86c Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -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
Neil Deakin
e7d98cacc8 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
db533c012d Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
fb4d59f2de Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
a534b0b037 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
2ed511feda Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Ryan VanderMeulen
c7b834b885 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
f5096646cb Bug 719320 part.12 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Windows r=smaug+jimm 2012-08-12 10:42:37 +09:00
Masayuki Nakano
5c5f0a16d2 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Honza Bambas
15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Brian R. Bondy
e4dab07b80 Bug 781646 - Windows widget AudioSession::Start should not fail if COM is already initialized. r=jimm 2012-08-09 20:54:35 -04:00
Sergey Glushchenko
a2ebf3852f Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
d5fd370a09 Backout 31f42dd24f25 (bug 460969) for mochitest-other failures in test_bug444800.xul 2012-07-31 16:29:25 +01:00
Eddy Bruel
3600f06313 Bug 460969 - Fix image from clipboard code; r=netzen 2012-07-31 14:47:18 +02:00
Eddy Bruel
7628fb4bc8 Bug 460969 - Fix image to clipboard code; r=netzen 2012-07-31 14:11:55 +02: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
David Zbarsky
c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nicholas Cameron
952f2e4661 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
ab776ca738 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxInfo). r=Bas 2012-07-25 12:46:20 +12:00
Nicholas Cameron
dbc18f6058 Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc 2012-04-26 10:04:36 +12:00
Ed Morley
f527443623 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-26 13:04:00 +01:00
Nicholas Cameron
e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
c934b676bb Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
ac279f9a88 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxInfo). r=Bas 2012-07-25 12:46:20 +12:00
Jim Mathies
8efcc81190 Bug 762948 - follow up to remove Windows line endings. r=nobug DONTBUILD 2012-07-25 10:15:28 -05:00