Commit Graph

199 Commits

Author SHA1 Message Date
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Jim Mathies
65b601bac4 merge backout 2012-06-28 07:29:26 -05:00
Jim Mathies
cd5e62eefd Bug 769212 - backout of bug 733630 due to bug 769212. r=backout 2012-06-28 07:29:15 -05:00
Masayuki Nakano
bacb625593 Bug 733630 Use native window border size if there is no content under mouse cursor r=jimm 2012-06-27 21:47:50 +09:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Robert O'Callahan
5be552f376 Bug 761034. Backout patch for bug 610713 since it didn't fix anything and caused regressions. r=bas 2012-06-24 01:08:12 +12:00
Mats Palmgren
e77c8dbeb1 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Nicolas Silva
f6cc408925 Bug 758048 - Move PopupType from the Windows widget implementation to the cross platform base class and use it to determine when to accelerate windows. r=bbondy 2012-05-31 13:52:09 -04:00
Hub Figuière
1887a4efa8 Bug 761589 - Refactor accessibility.force_disabled to work on Mac too and make it tri-state. r=tbsaunde 2012-06-19 16:19:13 -07:00
Masayuki Nakano
b3b4ce8dce Bug 757688 part.8 Make sure test_keycodes.xul emulates correct key events r=jimm 2012-06-15 18:52:51 +09:00
Masayuki Nakano
00843733cd Bug 757688 part.7 Make nsWindow for Windows possible to test dead keys r=jimm 2012-06-15 18:52:51 +09:00
Masayuki Nakano
7515c8fa8e Bug 757688 part.6 Add numpad keys to printable key table and remove KeyboardLayout::IsNumpadKey() r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
8537e76129 Bug 757688 part.5 Make KeyboardLayout stateless for non-dead keys r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
54f556ce26 Bug 757688 part.4 Remove GetShiftState() and move SetShiftState() to VirtualKey r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
d4be9b7172 Bug 757688 part.3 Don't use VirtualKey::ShiftState for the arguments of public methods of KeyboardLayout r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
2121dacb90 Bug 757688 part.2 Move nsModifierKeyState to KeyboardLayout and redesign it r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
869547297d Bug 757688 part.1 Make KeyboardLayout::IsDeadKey() stateless r=jimm 2012-06-15 18:52:50 +09:00
Jacek Caban
c26cf6639c Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (widget/windows parts); r=bsmedberg
--HG--
extra : rebase_source : d67cd14b1cc4de45275a895b307a843e22455ff2
2012-06-14 14:28:06 -04:00
Jim Mathies
2f392f7fb0 Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
Ali Juma
e493e1b95b Bug 703484 - Part 1c: Disable OMTC on Windows because it crashes. r=bgirard 2012-06-13 15:53:38 -04:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Jim Mathies
8dd63d0840 Bug 776865 - change mWindow to mWidget in nsNativeDragTarget to avoid confusion. r=bbondy. 2012-07-25 10:09:16 -05:00
Jim Mathies
7b5478d84b Bug 776902 - msvc nullptr fix for nsFilePicker. r=bbondy 2012-07-25 04:22:03 -05:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Jignesh Kakadiya
876532fb30 Bug 733627 - nsWindow::GetNonClientMargins() is using ::GetSystemMetrics(SM_CYFRAME) for both horizontal and vertical borders r=jimm 2012-06-10 12:42:08 +09:00
Ehsan Akhgari
ca80281227 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Ehsan Akhgari
701213914b Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari
b29a2f9ea8 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Tim Abraldes
cde2e2bad4 bug 753274. Make nsWindow::SubclassWindow only fail if mWnd is an invalid window AND we're trying to apply a subclass (rather than remove a subclass). r=jimm 2012-06-04 00:17:22 -07:00
Mats Palmgren
37020cf426 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
2e6a4d1853 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Marco Castelluccio
74a121900c Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Masayuki Nakano
e1bf990e3d Bug 759346 Append alternative keycodes from virtual keycode if the virtual keycode is an OEM keycode which indicates a character but the character cannot be inputted by the key r=jimm 2012-05-30 09:47:03 +09:00
Phil Ringnalda
7b9a678b28 Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243 2012-05-28 22:48:52 -07:00
Trevor Saunders
3b1f9183dc bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Mats Palmgren
ab42326d3a Bug 575294. part=3/4 r=roc 2012-05-29 02:50:42 +02:00
Jignesh Kakadiya
a648a70684 Bug 754384 - nsDragService's mNativeDragTarget is completely unused. r=khuey 2012-05-27 16:54:46 -04:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Brian R. Bondy
67c92b0d6e Bug 710935 - Measure lag in handling user input. r=bsmedberg 2012-05-25 09:22:19 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
ce8dcb1be3 Bug 630810 part.1 Should convert from native keycode to DOM keycode for every keys on Windows r=smaug+jimm, sr=roc 2012-05-17 16:04:16 +09:00
Jacek Caban
d5f0f251b0 Bug 754582 - Fixed unused-result warnings in Windows-specific code r=benjamin 2012-05-16 10:48:45 +02:00
Kyle Huey
d1f5ba30a6 Back out bug 703484 on this CLOSED TREE. 2012-05-15 20:19:37 -07:00
Marco Castelluccio
92d44d2322 Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard 2012-05-15 15:56:56 -04:00
Oleg Romashin
74e1c2a605 Bug 754866 - Make mozilla.widget.disable-native-theme export shared bool across widgets. r=roc 2012-05-15 09:01:48 -04:00
Kyle Huey
597ebc965e Bug 728663: Stop holding a completely unnecessary and leaky reference to the drag source on the drag service. r=jimm 2012-05-11 11:32:08 -07:00
Phil Ringnalda
8f891d4949 Merge again 2012-05-04 19:50:34 -07:00
Masayuki Nakano
00374f8aa9 Bug 751929 Insert break at WM_*CHAR case in constructor of mozilla::widget::NativeKey r=jimm 2012-05-05 07:47:46 +09:00
Masayuki Nakano
db46c52123 Bug 751881 Set keycode to keypress event at WM_CHAR handler when charcode is 0 r=jimm 2012-05-05 07:47:46 +09:00
James H
195f84a411 Bug 688929 - Prevent saving window attributes before WM_WINDOWPOSCHANGED on window restore. r=jimm 2012-05-04 22:46:35 -04:00
Doug Turner
13bd86f4fd Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Michael Kaply
5d546d1c3c Bug 744992 - Do not go into the preview code if it is null. r=benb,jmathies 2012-05-03 18:33:50 -04:00
Masayuki Nakano
20b775c926 Bug 166240 part.2 Add support KeyboardEvent.location on Windows r=jimm 2012-05-03 17:35:02 +09:00
Robert O'Callahan
be76e09cf5 Bug 653994. Avoid trying to paint plugin widgets in the case where a plugin fails to subclass our window. r=bsmedberg 2012-05-03 16:29:04 +12:00
Masayuki Nakano
0efb0397d8 Bug 630811 part.4 Support new modifiers on all events derived from nsInputEvent on Windows r=jimm 2012-04-25 12:00:02 +09:00
Masayuki Nakano
ba56663cd3 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
423cee2da1 Bug 731878 part.3 Set modifiers and buttons of nsMouseEvent on Windows r=jimm 2012-04-25 12:00:01 +09:00
Robert O'Callahan
0e7a3f34be Bug 610713. Disable acceleration in popup widgets to work around Windows/driver bugs. r=bas 2012-04-10 11:52:50 +12:00
Honza Bambas
7bd39f12b6 Bug 744887 - Build error: nsFilePicker.cpp(227) : error C2065: 'nsPIDOMWindow' : undeclared identifier, r=jmathies 2012-04-14 01:49:11 +02:00
Paolo Amadini
f59a485dfb Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
David Humphrey (:humph)
9534b79926 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Diana Koenraadt
1ae25dbcdc Bug 722864 - change nsFilePicker to no longer use global Private Browsing service. Instead, use nearest relevant docshell; r=jimm 2012-04-09 21:53:46 +02:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Avi Halachmi (:avih)
d19ba25120 Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies] 2012-03-26 13:34:10 +02:00
Jim Mathies
a1e8e78064 Bug 737984 - win8 dev kit fixup for win widget gesture input headers, r=bbondy. 2012-03-22 09:18:49 -05:00
Masayuki Nakano
b65d0bd050 Bug 672175 part.17 System settings of mouse wheel on Windows should be able to be overridden by prefs for testing r=jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
13041ff659 Bug 672175 part.16 Implement nsIWidget::SynthesizeNativeMouseScrollEvent() on Windows r=jimm 2012-03-22 09:59:12 +09:00
aceman
4309767464 Bug 457803 - Fix compiler warning "nsDragService.cpp(146) : warning C4146: unary minus operator applied to unsigned type". r=vlad 2012-03-19 18:52:07 -04:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Doug Sherk
47a2b3f329 Bug 711656: backout 7ce4d9b55863 r=none 2012-03-15 14:15:31 -04:00
Jonathan Kew
384de9b74a bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Steven Michaud
e1f0184f34 Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek. 2012-03-12 15:13:14 -05:00
Honza Bambas
538f4da2e3 Bug 733988 - Build bustage: WinMouseScrollHandler.cpp(1217) after bug 672175 landing, include nsGkAtoms.h, r=masayuki 2012-03-08 17:24:17 +01:00
Cameron McCormack
982211b8db Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack
00db874245 Bug 725475 - Use more hidden scrollbars to tempt Synaptics drivers into giving us scrolling messages. r=jmathies 2012-03-08 13:16:47 +11:00
Matt Brubeck
3e24a1e507 Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
6e827e6979 Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
2542d1946e Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
5b4fdb50ca Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
c94a290db2 Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
6647675fdb Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Malen Sok
fd0cf175a4 Bug 722163 - Convert JumpListBuilder to use LazyIdleThread. r=khuey 2012-03-06 15:42:53 -05:00
Masayuki Nakano
c6d4d0e166 Bug 672175 part.14 Move WM_MOUSE*WHEEL and WM_*SCROLL handlers into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
4db9d68d5d Bug 672175 part.13 Compute cursor position at WM_MOUSEWHEEL and WM_MOUSEHWHEEL in MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
ce5528b944 Bug 672175 part.12 Move MOZ_WM_*SCROLL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
e7f08b8bf7 Bug 672175 part.11 Move MOZ_WM_MOUSE*WHEEL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
6fdb75eb3a Bug 672175 part.10 Initialize mouse scroll events in MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
880e328387 Bug 672175 part.9 Implement NS_QUERY_SCROLL_TARGET_INFO event dispatcher on MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
0ac3f07305 Bug 672175 part.8 Compute modifier key state in MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
e901857ad9 Bug 672175 part.7 Manage last wheel scroll message information by MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
48de337c85 Bug 672175 part.6 Summarize native mouse wheel events by MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
213ff5ec16 Bug 672175 part.5 Move device specific code to MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
bd3b76da6b Bug 672175 part.4 Move HasRegistryKey() in nsWindow.cpp to WinUtils r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
1d11687ef5 Bug 672175 part.3 MouseScrollHandler should manage user prefs r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
8ad139dc75 Bug 672175 part.2 MouseScrollHandler should manage system settings r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
189b45d779 Bug 672175 part.1 Implement MouseScrollHandler for Windows r=jimm 2012-03-06 12:20:28 +09:00
Jacek Caban
05b476cac2 Bug 731943 - Get rid of no longer needed mingw hacks r=jimm 2012-03-02 11:27:06 +01:00