Commit Graph

4936 Commits

Author SHA1 Message Date
Ehsan Akhgari
eb552ca591 Bug 722872 - Part 2: Move the nsClipboardPrivacyHandler implementation aways from using the global private browsing service; r=roc 2012-06-26 11:41:12 -04:00
Ehsan Akhgari
a95b6edeea 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
Masayuki Nakano
547a5d0713 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
Masayuki Nakano
716e1fb23c Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Ed Morley
f6a25c1386 Merge mozilla-central to mozilla-inbound 2012-06-26 19:08:17 +01:00
Cody Brocious
def2104970 Bug 743612: Fix OMTC on gonk. r=cjones 2012-06-26 16:38:50 +02:00
Chris Jones
28fa6f918e Backed out changeset a22ca1e05bb8 2012-06-26 16:48:28 +02:00
Cody Brocious
4267fc4142 Bug 743612: Fix OMTC on gonk. r=cjones 2012-06-26 16:38:50 +02:00
Michael Wu
fa6675da3c Bug 768377 - Back out Bug 762153 due to regression on akami, r=cjones 2012-06-26 04:30:43 -07:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
William Hamilton
ecbbe9b02f Bug 766933 - Amend an nsIScreen_MOZILLA_2_0_BRANCH comment to nsIScreen; f=edmorley r=roc DONTBUILD 2012-06-25 19:59:07 +01:00
Robert O'Callahan
280436777c 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
ad5fb5584f Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Andreas Gal
56cd840bbe Support 32-bit color depth in gonk widget backend (bug 767288, r=cjones). 2012-06-22 01:18:54 -07:00
Nicolas Silva
dbe233d2e7 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
Nomis101
bb3c491b5f Bug 638004 - Various "...deprecated for NSScrollWheel. Please use..." messages to console on first trackpad scroll. r=mstange 2012-06-20 20:34:45 +02:00
Dan Walkowski
31027a44b5 Bug 756308. Implement MacWebAppUtils to allow callers to locate and manipulate native webapps on Mac. r=josh 2012-06-20 17:19:13 -07:00
David Zbarsky
9581de470d Bug 766344 - Fix some casts in nsChildView.mm r=josh 2012-06-20 12:48:50 -07:00
Michael Wu
c254bd48c2 Bug 763849 - Uninitialised value use in nsWindow::Show(bool aState), r=cjones 2012-06-12 16:00:21 +08:00
Michael Wu
a2ff0178c0 Bug 763771 - Uninitialised value use in TouchInputMapper::abortPointerUsage, r=cjones 2012-06-12 16:07:02 +08:00
Steven Michaud
6a527ce74a Bug 752294 - Handle failure to enter fullscreen mode because window is invisible. r=bgirard 2012-06-20 10:52:13 -05:00
Ben Turner
fc968e2de7 Bug 766446 - 'nsEvent needs a copy constructor that calls MOZ_COUNT_CTOR'. r=bz. 2012-06-19 21:04:06 -07:00
Ehsan Akhgari
8d5747b8cb 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 (more widget parts); r=roc 2012-06-19 23:28:45 -04:00
Hub Figuière
cd89dee94c 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
Martin Stransky
c2a30c889c Bug 627699 - Port GTK2 to GTK3, export gtk2compat.h; r=karlt 2012-06-19 10:59:03 -04:00
Ehsan Akhgari
32d9a6d919 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 parts); r=roc
--HG--
extra : rebase_source : 36430dcdd81a80d8ee2cd21f698a9289f327e2b6
2012-06-18 21:28:00 -04:00
Kartikaya Gupta
8effaf0ad1 Bug 753665 - Ensure the mParent reference is nulled out when destroying a child window. r=blassey 2012-06-18 22:29:52 -04:00
Steven Michaud
eca50d3f20 Bug 757618 - Closing window while in Lion fullscreen mode leaves one on blank screen for 10-15 seconds. r=bgirard 2012-06-18 10:20:02 -05:00
Eitan Isaacson
1a7bf52bf4 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07:00
Masayuki Nakano
2339b4a770 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
17f2bb043c 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
0ec2ab908f 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
80fef9ec68 Bug 757688 part.5 Make KeyboardLayout stateless for non-dead keys r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
b403f4d15f Bug 757688 part.4 Remove GetShiftState() and move SetShiftState() to VirtualKey r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
1280ae9968 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
bdafe1e737 Bug 757688 part.2 Move nsModifierKeyState to KeyboardLayout and redesign it r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
e108421e79 Bug 757688 part.1 Make KeyboardLayout::IsDeadKey() stateless r=jimm 2012-06-15 18:52:50 +09:00
Jacek Caban
75ffb08b04 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
d0b684c0ba 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
Brad Lassey
17abebe181 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
Marco Castelluccio
b5556afb6f Bug 703484 - Part 3: Fix android whitelist. r=ajuma 2012-06-13 15:54:02 -04:00
Ali Juma
69f6669b19 Bug 703484 - Part 1c: Disable OMTC on Windows because it crashes. r=bgirard 2012-06-13 15:53:38 -04:00
Ali Juma
b57d6a338b Bug 703484 - Part 1b: Disable Basic Layers OMTC on OS X because it crashes. r=bgirard 2012-06-13 15:53:11 -04:00
Marco Castelluccio
48bb82e1e3 Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard 2012-06-13 15:52:09 -04:00
Kartikaya Gupta
7178944e03 Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel 2012-06-13 13:49:40 -04:00
Gian-Carlo Pascutto
c06d43bad3 Bug 762620 - Log IdleService activity on Android. r=mfinkle 2012-06-13 11:50:40 +02:00
Gian-Carlo Pascutto
fcff57bee9 Backed out changeset 86cd5f375c7d (Bug 762620) 2012-06-13 09:40:06 +02:00
Gian-Carlo Pascutto
cca9eefd99 Bug 762620 - Log idleService activity on Android. r=mfinkle 2012-06-13 09:21:08 +02:00
Oleg Romashin
6ada385401 Bug 763156 - Remove QSound and QtMultimedia dependency from Qt port. r=dougt 2012-06-12 22:58:16 -04:00
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00