Commit Graph

5431 Commits

Author SHA1 Message Date
Jim Chen
726441b618 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
8c55998b7e 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
12024180f9 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
1340c7cdd9 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
18e9980094 Bug 786956 Rewrite FSFlagsChanged handler r=smichaud 2012-10-19 10:17:07 +09:00
Brian Smith
035e8b8432 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
7a4456ac61 Backed out changeset a7a10b14ff06 (bug 797942) 2012-10-18 10:00:26 -06:00
Steven Michaud
80856ff077 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
30c391dc2e 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
2fddae71d0 Merge the last PGO-green inbound changeset to m-c. 2012-10-17 22:10:08 -04:00
Jonathan Kew
b002d87035 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
e35cf4d375 Bug 695407 - Support modifier keys with touch events. r=blassey 2012-10-16 17:01:50 -07:00
Masayuki Nakano
ff19355413 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
2c502bf9dd 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
a654e6725b 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
1d624b2909 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
9ced310bfe Bug 799970 - 'Activate HangMonitor for non-queued messages on Windows'. r=bsmedberg. 2012-10-16 12:56:57 -07:00
Steven Michaud
5a116d7578 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Jonathan Kew
1c41ba97e7 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
22922f0b48 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
12f1ce33e2 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
8efafc8f60 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
6217ad6b5a 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
7abd9c1d78 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
2b7e7c4652 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
f736e7eb78 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
c23d372216 Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Chris Lord
5bf1712318 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
6b28b8fa9e 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
9ff7dbd84d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Oleg Romashin
f2b32e1157 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
837fadd85b 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
ee0d05cd79 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
9475a2e7d3 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
6d6e443bea Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Josh Matthews
e5b76c73ef 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
31e9ef66cd 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
bc22bb3396 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
e82f309179 Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
d64a2c9b5a 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
d09d8af2a1 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
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Jonathan Kew
e673d4717d bug 799900 - [HiDPI] account for device-pixel scaling for IME window position. r=smichaud 2012-10-10 19:09:29 +01:00
Ehsan Akhgari
2211c9f7cd Backout changeset 56bc99190c79 (bug 792037) for seemingly breaking all of the AndroidNoIon opt tests 2012-10-09 20:43:39 -04:00
Jim Mathies
2790f986cc 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
b78362ef97 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
52bc1b4f6a Bug 795053 - Unlock locked profiles on Android. r=blassey 2012-10-05 12:35:26 -07:00
Steven Michaud
9674a8be45 Bug 797834: Fix build error on OSX 10.6 in nsMacWebAppUtils; r=dwalkowski 2012-10-04 11:30:00 -07:00
Chris Lord
1169964027 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
739a30b89c Bug 797942: Propagate SIZE_CHANGED to LayerManagerOGL; r=cwiiis 2012-10-05 04:26:33 -06:00
Josh Matthews
f56c4d461a 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
111eb5cae4 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
d3510ae5f7 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
fe1c85126f 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
fb8c5e5cd5 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
cea8d6a6c4 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
911d2e8fa2 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
6dd8da7e08 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
df7bec0941 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
2fd6b9c187 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
b8c27399bb 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
17899b042b 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
b26e70da47 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
42ce6714fc 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
21f22f5076 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Ed Morley
de54424867 Bug 561929 - Disable test_bug478536.xul for frequent timeouts 2012-10-03 11:48:09 +01:00
Julian Seward
d6b4ed5b37 Bug 795284. r=blassey 2012-10-02 22:09:13 -04:00
Irving Reid
f916243ee3 Bug 796086 - Add handlers for Objective-C exceptions, r=smichaud 2012-10-02 17:11:43 -04:00
Wes Johnston
eb45f03470 Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Steven Michaud
8650a61e2a Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Wes Johnston
9c5ce438a5 backout c1b386c21158 2012-10-02 11:48:31 -07:00
Wes Johnston
56f7132a32 Bug 795013 - Fix check for filter masks in Android file picker. r=blassey 2012-10-02 11:00:17 -07:00
Wes Johnston
a53605eb50 Bug 795013 - Only use */* filter if no extension or mimetype filters exist r=blassey 2012-10-02 11:00:15 -07:00
Wes Johnston
35fde7d44d Bug 795053 - Add ability to unlock a profile from Java. r=blassey 2012-10-02 11:00:13 -07:00
Benoit Girard
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Vladimir Vukicevic
9e4b9dbd5b b=792845; kill WARNING: GetScaneCodeWithExtendedFlat() returns without extended flag; r=masayuki 2012-09-20 16:18:11 -04:00
Isaac Aggrey
e5d101621c 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
990268d0ba 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
224349df20 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-29 11:39:23 -05:00
Jonathan Kew
4ae1951644 bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Jonathan Kew
336fd34232 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
Jonathan Kew
11d040b12b bug 674373 pt 3 - remove unused nsBaseWidget::SetBounds method. r=roc 2012-09-29 12:34:58 +01:00
Markus Stange
32d45e7bcc bug 674373 pt 1 - Mac OS X native theme rendering support for HiDPI display. r=smichaud 2012-08-13 17:45:57 +01:00
Jim Mathies
a9ac6b95cd Bug 795307 - backout e320e0e3ec41 due to red 2012-09-28 16:17:58 -05:00
Jim Mathies
946fb90448 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:48:36 -05:00
Ehsan Akhgari
3648c996b6 Backout changeset 0c18edd01cd4 (bug 795307) for broken builds on Windows 2012-09-28 15:40:00 -04:00
Jim Mathies
53302dbdca Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:11:12 -05:00
Mark Finkle
625a487aed Bug 795132 - Cache DPI to avoid making JNI calls r=blassey 2012-09-28 15:05:50 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
62d7406c52 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Matt Woodrow
51851e8ae8 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
1d675c61d6 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Matt Woodrow
c900597192 Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc 2012-08-29 17:39:01 +12:00
Justin Dolske
9f261a32cd Bug 792592 - Need HiDPI versions of our custom OS X cursors. images=shorlander r=me 2012-09-28 01:27:11 -07:00
Justin Dolske
65d4bf3711 Bug 784909 - Add support for app-provided HiDPI mouse pointer/cursor. r=josh 2012-09-28 01:27:11 -07:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
74825f516b Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson
fbc6176a6f b=794285 restore support for building against GTK+ 2.10 r=glandium
--HG--
extra : transplant_source : %D0%2B6%19%96%99%8D%21%F5%5D8%92%FC%1E%1D%BB%B77h%81
2012-09-27 12:23:00 +12:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00