Commit Graph

4986 Commits

Author SHA1 Message Date
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
Gian-Carlo Pascutto
de0b4eb79e Bug 762620 - Log the actual DailyCallback events. r=blassey 2012-06-28 14:57:54 +02:00
Martin Stransky
d5ece17979 Bug 627699 - Port GTK2 to GTK3, gtk2compat.h extension. r=karlt 2012-06-27 20:15:32 -04: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
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
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
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
bedca2df54 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
27a53b1d70 Bug 539356 - Part 17 - Don't paint widgets that an invisible or empty bounds. r=roc
* * *
Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint
2012-06-11 16:45:39 +12:00
Matt Woodrow
5076b975a0 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
f1c27870fb Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-11 16:44:08 +12:00
Ryan VanderMeulen
846a6a41bf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Jim Straus
dc1ddec369 Bug 740719 - Fix b2g-gonk shutdown hang. r=cjones 2012-06-09 17:07:18 -04:00
Jignesh Kakadiya
a60ea367c5 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
Michael Wu
b82a3ac93b Bug 743631 - Use keyCode instead of scanCode and use a lookup table, r=cjones 2012-06-06 18:41:08 -04:00
Ehsan Akhgari
d8e8691a41 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
cc9274685a Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari
56d6ff421f 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
Eitan Isaacson
bd9e788491 Bug 755976 - Send empty text and selection when IME is disabled. r=cpeterson 2012-06-07 11:09:00 -07:00
James Willcox
af687b7aba Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey 2012-06-06 22:39:36 -04:00
James Willcox
2f1fe9627e Bug 759799 - Hook up Hal WakeLocks on Android r=blassey 2012-06-06 22:39:01 -04:00
Hub Figuière
0e7a590476 Bug 759736 - Only instanciate a11y on Mac if VO is running. r=tbsaunde,smichaud 2012-06-06 17:26:45 -07:00
Chris Jones
4a587a40fc Bug 761962: Prefer out-of-process content to omtc when they contend. r=ajuma 2012-06-06 12:44:52 -07:00
Fabrice Desré
69a0a31ac9 Bug 762153 - Force input devices to not report hovering key [r=mwu] 2012-06-06 11:39:33 -07:00
Ehsan Akhgari
ccdd37d975 Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Benoit Girard
13541e24a7 Backout dd81ac5bb79d (Bug 703484) for regressing OMTC OGL on Mac. 2012-06-06 11:23:39 -04:00
Benoit Girard
d1f843f6af Backout bea5301cf21f (Bug 703484) for regressing OMTC OGL on Mac. 2012-06-06 11:23:39 -04:00
Mounir Lamouri
57ef1552f9 Bug 663119 - Implement native vertical meters for MacOS X. r=bgirard 2012-06-06 09:58:00 +02:00
Mounir Lamouri
b6d5e9f628 Bug 662870 - Use a native rendering for meter elements on MacOS X. r=bgirard 2012-06-06 09:56:28 +02:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Brad Lassey
78eae2f149 backout bug 755070 2012-06-04 20:15:37 -04:00
Brad Lassey
4efe3882f3 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats 2012-06-04 11:56:31 -04:00
Brad Lassey
5a7ccf9bfd bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Tim Abraldes
738ea85c5a 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
Phil Ringnalda
5082a2ad9e Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Mats Palmgren
c2a41cfbd3 Merge backout 2012-06-03 18:06:29 +02:00
Mats Palmgren
70c0bbb075 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
1e38ee6675 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Brad Lassey
7dea2d33ac bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
--HG--
extra : rebase_source : 2a7c299c7133da06638d9ef1d27d4b4653072dce
2012-06-01 18:54:48 -04:00
Kartikaya Gupta
c97a446579 Bug 760458 - When taking thumbnail screenshots account for RTL pages as well. r=bnicholson 2012-06-01 23:50:57 -04:00
Matt Brubeck
1f99b61afd Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070 2012-06-01 17:45:02 -07:00
Kartikaya Gupta
4b169bce37 Bug 760458 - When taking thumbnail screenshots account for RTL pages as well. r=bnicholson 2012-06-01 20:30:46 -04:00
Masayuki Nakano
5d2e09b94f Bug 757049 Don't use length of UTF-16 for character counts of UTF-8 used by GTK APIs in nsGtkIMModule::OnRetrieveSurroundingNative() and nsGtkIMModule::DeleteText() r=karlt 2012-06-03 12:27:48 +09:00
Brad Lassey
903870d276 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats
--HG--
extra : rebase_source : be056e08b6a7d8aa339b12cbeb58d42054f5a118
2012-06-01 18:54:47 -04:00
Chris Peterson
621a31e62f Bug 756429 - Part 2: Assert sanity of composition string's state changes. r=blassey 2012-06-01 09:48:13 -07:00
Brad Lassey
a128356276 bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc), follow up to guard against changes to MessageQueue r=snorp a=johnath 2012-06-01 14:40:10 -04:00
Mounir Lamouri
691f2a4383 Bug 663365 - Implement the rules for the fallback to the default rendering for the meter element. r=roc
--HG--
rename : widget/reftests/progressbar-fallback-default-style-ref.html => widget/reftests/meter-fallback-default-style-ref.html
rename : widget/reftests/progressbar-fallback-default-style.html => widget/reftests/meter-fallback-default-style.html
2012-05-16 18:31:01 +02:00
Brad Lassey
57d721013b bug 759146 - follow up to fix bad merge 2012-05-31 23:24:07 -04:00
Brad Lassey
e2a1dbe98f bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc) r=snorp 2012-05-31 20:07:07 -04:00
Jeff Muizelaar
8094c9788d Bug 759866. Crash more aggressively if we aren't going to be able to paint. r=bgirard
This should make it easier to get an idea how common these kinds of failures are.

--HG--
extra : rebase_source : c5c029ebfe723fc4d32d604528beb1769c21d98c
2012-05-31 17:51:52 -04:00
Masayuki Nakano
7b1139ae5e Bug 759524 Fix the condition of NS_ASSERTION in TISInputSourceWrapper::InitKeyPressEvent() r=smichaud 2012-05-31 10:25:26 +09:00
Marco Castelluccio
5b892a2174 Bug 703484 - Part 3: Fix android OMTC whitelist. r=ajuma
--HG--
extra : rebase_source : e16788c85616fa92bfe724266b60435b446e9124
2012-05-30 14:56:56 -04:00
Marco Castelluccio
715c60f1c1 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
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00