Commit Graph

5507 Commits

Author SHA1 Message Date
Karl Tomlinson
775c8ac0e2 b=806583 remove unnecessary extra space added for textfield/entry in 1556064f1c20 r=mattwoodrow
--HG--
extra : transplant_source : %D4%A1%80%A3%C6%DD%21%E7%3D4%EC%7B%7E%10%A0%98%F9%D5%CCu
2012-11-07 10:52:36 +13:00
Karl Tomlinson
6fabcae1de b=806583 don't draw the entry background outside its widget r=roc
--HG--
extra : transplant_source : %1D1%E5x6%22%C2%9A%1E%B5%A6%81%1E%B0%B5%BF%D8J%13k
2012-11-07 10:52:36 +13:00
Karl Tomlinson
4c12b2c467 b=808873 return toplevel GtkWidget for NS_NATIVE_SHELLWIDGET and use it r=roc
--HG--
extra : transplant_source : _gK%D6%5D%96%1A%3A%3A%21j%40E%09%FF%84%D3%8F%C6%A5
2012-11-07 10:50:37 +13:00
Olivier Langlois
a23425253c b=805529 wake up for Gecko events even in a nested event loop r=karlt
--HG--
extra : transplant_source : %D2%AF%8B%EFm%9E%7B%999%231%DF%A8%CD%3FW%B8%908j
2012-11-02 12:29:20 +13:00
Vicamo Yang
6a20e6d6e6 Bug 775997 - Part 2/2: Android implementation. r=dougt 2012-11-06 13:32:07 -08:00
Jonathan Kew
77eac3c517 bug 803383 - scale quartz surface properly to ensure full-resolution backing store is used when compositing xul:panels. r=smichaud 2012-11-06 17:01:58 +00:00
Oleg Romashin
40588c778f Bug 808358 - nsWindow.cpp:388:5: error: expected unqualified-id before if 2012-11-03 21:00:08 -07:00
Seth Fowler
f5d66e49dc Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe 2012-11-03 23:04:07 -04:00
Masayuki Nakano
20ae75b52f Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin 2012-11-03 15:32:26 +09: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
6bcfeb8db8 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
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
Jonathan Kew
d5189b4ea2 bug 803030 - convert display to device pixels before creating the popup child view. r=smichaud 2012-10-18 11:38:26 +01: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
Jim Chen
a7b63d6254 Bug 807544 - Add #ifdef to make XUL Fennec compile. r=gbrown 2012-11-01 19:23:14 -04:00
Matt Joras
ff4f9747f3 Bug 798033 - Removes 'using namespace' from widget headers - r=roc 2012-11-01 18:09:15 -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
Jim Chen
60abcfab6e Bug 805162 - l. Avoid unnecessarily setting selection, which can lead to side-effects in automated tests; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen
9f43267b5e Bug 805162 - k. Use AutoIMEMask class to manage IME update masking variables; r=blassey 2012-11-01 16:11:03 -04:00
Jim Chen
2742499b9e Bug 805162 - d. Redefine and implement Gecko to Java IME notifications in widget; r=blassey 2012-11-01 16:11:02 -04:00
Jim Chen
68a7b9f3f8 Bug 805162 - c. Implement new Java to Gecko IME events in widget; r=blassey 2012-11-01 16:11:02 -04:00
Jim Chen
5eb185a057 Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey 2012-11-01 16:11:02 -04:00
Ehsan Akhgari
2f22873e1d Merge mozilla-central into mozilla-inbound 2012-11-01 10:42:41 -04:00
Ed Morley
aaa0204c8a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-01 13:42:02 +00:00
Olli Pettay
d0a8a75542 Bug 779306 - Wildcard for 'all events', nsIEventListenerService.addListenerForAllEvents(target, listener), r=jst 2012-11-01 13:42:29 +01:00
Josh Aas
bceb631bc5 Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
Ed Morley
403e0dfe0c Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE 2012-11-01 00:16:35 +00:00
Jim Chen
7bdcf529ae Bug 805162 - k. Use AutoIMEMask class to manage IME update masking variables; r=blassey 2012-10-31 17:35:32 -04:00
Jim Chen
d340a5d041 Bug 805162 - d. Redefine and implement Gecko to Java IME notifications in widget; r=blassey 2012-10-31 17:35:31 -04:00
Jim Chen
2d1f585b16 Bug 805162 - c. Implement new Java to Gecko IME events in widget; r=blassey 2012-10-31 17:35:31 -04:00
Jim Chen
92ad86f0fb Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey 2012-10-31 17:35:31 -04:00
Justin Lebar
7b1e19d395 Bug 771195 - Follow-up: Fix debug build error on a CLOSED TREE. r=me 2012-10-31 14:08:07 -04:00
Justin Lebar
8a80bd0a22 Bug 771195 - Fire memory pressure events on Gonk. r=dhylands 2012-10-31 13:29:14 -04:00
Vicamo Yang
61710782ee Bug 797277 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-31 17:10:53 +08:00
Karl Tomlinson
db53fb4a2e b=746775 log CaptureRollupEvents parameters r=roc
--HG--
extra : transplant_source : %1F%2A-h%A1%B4C%8FsnH%02L%DD%B0%25%AE%B5%22%9F
2012-10-31 15:44:46 +13: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
683e1373fd Bug 805357 part.1 nsIMEStateManager should always call nsIWidget::OnIMEFocusChange(false) when our editor loses focus r=smaug 2012-10-31 08:22:22 +09:00
Jonathan Kew
9b7556492c bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud 2012-10-29 09:22:30 +00:00
Karl Tomlinson
b421f98f6e Bug 707623 - gtk_grab_add(mShell) instead of (mContainer) to avoid double key event dispatch r=roc, feedback=mconley. 2012-10-30 11:49:10 -04:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Ed Morley
523547711d Backout 95752d95cf73, 190933b35023, 6834d09f8f09, 53e3e62c2b3d & f39ba5076599 (bug 797277) for xpcshell failures 2012-10-30 12:15:07 +00:00
Vicamo Yang
7a4ef31162 Bug 797277 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:55:44 +08:00
Vicamo Yang
008bac0748 Bug 742790 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:53:31 +08: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
Phil Ringnalda
c89f106824 Merge m-c to m-i 2012-10-29 14:37:11 -07:00
Ian Neal
56c13c2c52 Bug 805753 - Gtk 2.10 compat layer misses gtk_widget_set_has_window r=roc 2012-10-28 22:13:50 +00:00
Ryan VanderMeulen
6a2ec3c438 Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs. 2012-10-28 00:24:02 -04:00
Mats Palmgren
5865f17728 Bug 805957. r=roc 2012-10-27 03:02:57 +02:00
Masayuki Nakano
0e84dea80a Bug 801989 part.7 Set InputContext::mNativeIMEContext on Gonk r=cjones 2012-10-27 08:35:21 +09:00
Masayuki Nakano
664b429ec5 Bug 801989 part.6 Set InputContext::mNativeIMEContext on OS/2 r=daveryeo 2012-10-27 08:35:21 +09:00
Masayuki Nakano
177c5da203 Bug 801989 part.5 Set InputContext::mNativeIMEContext on Android r=nchen 2012-10-27 08:35:21 +09:00
Masayuki Nakano
f1c949206f Bug 801989 part.4 Set InputContext::mNativeIMEContext on Mac r=smichaud 2012-10-27 08:35:21 +09:00
Masayuki Nakano
95c555747c Bug 801989 part.3 Set InputContext::mNativeIMEContext on Linux r=karlt 2012-10-27 08:35:21 +09:00
Masayuki Nakano
d6a450d5bc Bug 801989 part.2 Set InputContext::mNativeIMEContext on Windows r=jmathies 2012-10-27 08:35:21 +09: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
Josh Aas
0174ed527f 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
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
Andrew Quartey
6eb0ddf707 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
9cded8fa00 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
Ehsan Akhgari
78b2656cbc 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
45bbf04571 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
03be701616 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
cc10f75d87 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
7f1001416d 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
2e4dc8b044 Bug 801579 - Don't mix nsresult with HRESULT (widget/windows part) r=jmathies 2012-10-24 10:57:08 +02:00
Geoff Brown
e4723ad4fb 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
41af1327ed 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
6d326e610f 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
75b79d8505 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
2af1a82062 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
ab7dbaf2a9 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
ce9fcd3e84 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
51595d3e62 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
3e7a4bd757 Bug 772808, Menuitems should inherit hidden attribute from commands, r=neil,smichaud 2012-10-19 16:04:07 -04:00
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