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

13488 Коммитов

Автор SHA1 Сообщение Дата
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
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
Ehsan Akhgari ea346b3dff Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
Ehsan Akhgari 8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Chris Lord ae4d4e2f4d Bug 805028 - Use ComputeRenderIntegrity to calculate accurate checkerboard. r=kats
Use ComputeRenderIntegrity so that checkerboarding values remain accurate when
progressive tiles are enabled.
2012-10-25 17:23:47 +01:00
Ehsan Akhgari f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -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
Geoff Brown 1b26174e2e Bug 797942 - Update compositor size on SIZE_CHANGED or SetCompositor, but only at startup; r=snorp 2012-10-23 13:53:00 -06:00
Karl Tomlinson a6c5033f1a b=793501 attach DocumentViewer to top GTK widget r=roc
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson d78f616130 b=793501 invalidate new regions of even toplevel resized windows r=roc
--HG--
extra : transplant_source : %F1%A6%EDiKo%13%8D%8B%F5%7E%F9%2A%D2%D6%AC_%CA%ED%90
2012-10-23 11:40:50 +13:00
Karl Tomlinson 337feb8044 b=793501 don't log child window XIDs as this has the side effect of creating X Windows early r=roc
--HG--
extra : transplant_source : -%3AP%3F%8F4V%F3%C2K%B7s%89%DA%0D%3A%DC6O%97
2012-10-23 11:40:24 +13:00
Karl Tomlinson aee0e92d79 b=793501 don't use a separate GdkWindow for MozContainer (unless necessary) r=roc
--HG--
extra : transplant_source : %FA1%A7%EA%3D%D8a%87%F4%E0%93%9FeP%89%EB%DD%DAI%12
2012-10-23 11:39:59 +13:00
Karl Tomlinson b52f17890d b=793501 remove unused event handler parameters r=roc
--HG--
extra : transplant_source : %E9%E8%FD1/%11u6%A2C%91%0B%5C%BA%C0P%E2%17S%09
2012-10-23 11:33:30 +13:00
Karl Tomlinson 06d7fccaeb b=793501 set gFocusWindow on fallback instead of early, which interfered with container window focus change detection in SetFocus() r=roc
--HG--
extra : transplant_source : %AD%07%A7%EB/%D6M%F3i%21%85d%8D%E8%92K%D6%1D%1F8
2012-10-23 11:31:53 +13: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
Neil Deakin 41349782e7 Bug 772808, Menuitems should inherit hidden attribute from commands, r=neil,smichaud 2012-10-19 16:04:07 -04:00
Jim Chen 0ad7d13f76 Bug 792928 - Don't select entire text when event offsets are out of bounds; r=masayuki 2012-10-19 14:45:54 -04:00
Isaac Aggrey f3cb73b9c7 Bug 794510: Part 1 - Build with NO_NSPR_10_SUPPORT by default; r=ehsan,glandium,wtc 2012-10-11 01:00:54 -05:00
Peter Van der Beken f52e02e082 Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02: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 3e6bdd99b9 Bug 786956 Rewrite FSFlagsChanged handler r=smichaud 2012-10-19 10:17:07 +09:00
Brian Smith 9a21ea4912 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Geoff Brown 012c73a24e Backed out changeset a7a10b14ff06 (bug 797942) 2012-10-18 10:00:26 -06:00
Steven Michaud 01f5802859 Bug 802856 - Plugins don't always get focused in HiDPI mode if you click on them. r=jfkthame 2012-10-18 10:53:32 -05: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 614aaa7e59 Merge the last PGO-green inbound changeset to m-c. 2012-10-17 22:10:08 -04:00
Jonathan Kew b7f17599ce bug 794038 followup - add #include "nsIPresShell.h" to nsChildView.mm to avoid relying on fragile indirect inclusion. rs=Ms2ger 2012-10-17 20:50:06 +01:00
Wes Johnston 4f59d4b93f Bug 695407 - Support modifier keys with touch events. r=blassey 2012-10-16 17:01:50 -07:00
Masayuki Nakano 6fac36bac0 Bug 705057 part.5 Add automated tests for composition event management by nsIMEStateManager and TextComposition r=smaug 2012-09-26 14:47:51 +09: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
Masayuki Nakano b1133a0c74 Bug 705057 part.3 XP level code shouldn't call nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() directly r=smaug+ehsan 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
Steven Michaud 90b6155078 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Jonathan Kew 5d9598eeab bug 794038 pt 2.2 - don't attempt to change HiDPI mode on-the-fly in response to prefs or configuration changes. r=smichaud 2012-10-16 20:41:20 +01: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 2476c89ec7 bug 794038 pt 0.9 - provide an unscaledDevicePixelsPerCSSPixel attribute on nsIBaseWindow to expose the default device-pix/css-pix ratio. r=roc 2012-10-16 20:41:19 +01:00
Masayuki Nakano b3e881682d Bug 795230 Use ASCII capable keyboard layout for computing charCode if current input source is an IME mode and open r=smichaud 2012-10-16 10:43:50 +09: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
Josh Aas 1f16e46c3e Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Chris Lord b3c7e8e90c Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Matt Woodrow 3d78c0f3e8 Bug 797431 - Add 'alternate paint' flag to PaintWindow, and don't clear ForcedRepaint on the view when it is set. r=roc 2012-10-15 17:53:37 +13:00
Matt Woodrow c26250b08d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Oleg Romashin f53967a6a6 Bug 801428 - MozQWidget does not build due to wrong return value type. r=romaxa. DONTBUILD because NPOTB 2012-10-14 10:28:26 -07:00
Ehsan Akhgari 6a957a69f0 Silence a compiler warning about initialization order of nsIdleServiceDaily members, no bug
--HG--
extra : rebase_source : e78d2c0f443dd67ec147f38ee48d2e52e8ea92f8
2012-10-13 17:31:02 -04:00
Robert O'Callahan 978bfcfd63 Bug 626245. Part 1: Refactor test_plugin_scroll_invalidation to definitely wait for a paint between each call to waitForPaint. r=matspal
The current code sets the plugin size to 0,0 and then does some stuff after a setTimeout(0), then
sets the size back to 1,1 and expects to be sure to get a new paint event. This is wrong since
the timing of plugin geometry changes isn't guaranteed, so we might simply not resize the plugin
between setting the size to 0,0 and 1,1.

--HG--
extra : rebase_source : d7cee523260b0ba1e44e6d7bf41d1636772722a9
2012-10-08 17:45:16 +13:00
Jonathan Kew 346de56102 bug 800668 - doubling of Cocoa widget sizes should depend on whether the context is HiDPI, not on the zoom factor. r=mstange 2012-10-13 13:10:54 +01:00
Andrew Quartey 3ca8d029a6 Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Josh Matthews c8eb573b6f Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews b84562cef3 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Jim Mathies a2cd3f0dee Bug 792037 - Improve idle daily logic such that we shorten idle time waits if it has been a long time since the last idle-daily. Improves telemetry data collection on Win8 tablets. r=gpascutto, mak77 2012-10-12 08:02:24 -05:00
Josh Matthews 138935b14a Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews fcd1ce5c84 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews abbb0715c2 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Trevor Saunders 000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Jonathan Kew 5bc86b5824 bug 799900 - [HiDPI] account for device-pixel scaling for IME window position. r=smichaud 2012-10-10 19:09:29 +01:00
Ehsan Akhgari 6076e8eed0 Backout changeset 56bc99190c79 (bug 792037) for seemingly breaking all of the AndroidNoIon opt tests 2012-10-09 20:43:39 -04:00
Jim Mathies a62587d315 Bug 792037 - Improve idle daily logic such that we shorten idle time waits if it has been a long time since the last idle-daily. Improves telemetry data collection on Win8 tablets. r=gpascutto, mak77 2012-10-09 14:45:28 -05: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
Wes Johnston 5d4a9e0c25 Bug 795053 - Unlock locked profiles on Android. r=blassey 2012-10-05 12:35:26 -07:00
Steven Michaud 45495233e6 Bug 797834: Fix build error on OSX 10.6 in nsMacWebAppUtils; r=dwalkowski 2012-10-04 11:30:00 -07:00
Chris Lord 66a018ae62 Bug 794130 - Fix intermittent crash in AndroidBridge::ShouldAbortProgressiveUpdate. r=blassey
I messed up the JNI code in AndroidJavaWrappers for this function. It was
always returning false and sometimes crashing.
2012-10-05 15:41:03 +01:00
Geoff Brown 4a3354e734 Bug 797942: Propagate SIZE_CHANGED to LayerManagerOGL; r=cwiiis 2012-10-05 04:26:33 -06:00
Josh Matthews a9c2289382 Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -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
Ryan VanderMeulen 44a8d6faa6 Backout e5269e137290, (bug 794606), e94dbc151121 (bug 794602), and 0ea0cfc7f6f4 (bug 792821) due to mochitest-other orange on a CLOSED TREE. 2012-10-04 19:34:19 -04:00
Josh Matthews 13630d0f8f Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Jeff Muizelaar 62bb43ba59 Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.

--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Chris Lord 5c25992386 Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.

--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04: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
Chris Jones 8ba567a4d1 Bug 780920, part 2: Let clients query a widget's 'real' compositor, when the widget doesn't draw directly to its OS window. r=roc 2012-10-04 00:05:24 -07:00
Karl Tomlinson 0efeffb9df b=408284 don't shape for transparency on ARGB windows r=roc
--HG--
extra : rebase_source : d4e07ba252b1ec13c887ecab2f06361752890b3b
2012-10-03 19:53:57 +13:00
Chris Coulson 134089aa9e b=408284 use ARGB visuals for popup windows when window manager is compositing r=karlt
--HG--
extra : rebase_source : c562667491b564562f5350a9b8a5f0b7d882be7e
2012-10-03 19:53:53 +13:00
Chris Coulson 9acc7f79b0 b=408284 let MozContainer widgets inherit parent colormap instead of explicitly setting rgb colormap r=karlt
--HG--
extra : rebase_source : 1b7f60d38ffa20c404c777a5ba1e1cc3383f19a0
2012-10-03 19:53:46 +13:00
Karl Tomlinson 7e9d459eaf b=408284 clear transparency bitmap when window is hidden r=roc
--HG--
extra : rebase_source : ac16e4b25da2684fd7fd80a6d16ceb2ae2d4caaf
2012-10-03 11:37:06 +13:00
Karl Tomlinson 552b3ebfca b=408284 no need to apply transparency bitmap on each show r=roc
--HG--
extra : rebase_source : 5f75d84bbf2ae142f85287da0b1998219fe4585e
2012-10-03 11:36:08 +13:00
Karl Tomlinson 8cbe6991f8 b=795812 shape out translucent windows where alpha < 1/2 r=roc
--HG--
extra : rebase_source : 86d6d748e7e87ab527b8ee88e3dee1abb16133be
2012-10-03 11:35:28 +13:00
Andrew Quartey 54074fe47f Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Ed Morley c6e7857415 Bug 561929 - Disable test_bug478536.xul for frequent timeouts 2012-10-03 11:48:09 +01:00
Julian Seward 9c9f388b72 Bug 795284. r=blassey 2012-10-02 22:09:13 -04:00
Irving Reid 6c64d52c63 Bug 796086 - Add handlers for Objective-C exceptions, r=smichaud 2012-10-02 17:11:43 -04:00
Wes Johnston 294974b16e Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Steven Michaud 144130a844 Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Wes Johnston c161af875f backout c1b386c21158 2012-10-02 11:48:31 -07:00
Wes Johnston 0cf674b337 Bug 795013 - Fix check for filter masks in Android file picker. r=blassey 2012-10-02 11:00:17 -07:00
Wes Johnston 561686d4b4 Bug 795013 - Only use */* filter if no extension or mimetype filters exist r=blassey 2012-10-02 11:00:15 -07:00
Wes Johnston f84327cacf Bug 795053 - Add ability to unlock a profile from Java. r=blassey 2012-10-02 11:00:13 -07:00
Benoit Girard 3ffd913d8e Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Vladimir Vukicevic 6712fed689 b=792845; kill WARNING: GetScaneCodeWithExtendedFlat() returns without extended flag; r=masayuki 2012-09-20 16:18:11 -04:00
Isaac Aggrey 00ccc3bc2e Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan 2012-09-30 21:10:22 -05:00
Mounir Lamouri 8b69632999 Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking 2012-09-30 14:47:48 +01: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 d4ed66097a bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01: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