Commit Graph

91525 Commits

Author SHA1 Message Date
Aryeh Gregor
b6e35957b0 Bug 279330 part 1 - Remove erroneous NS_ERRORs; r=ehsan 2012-04-17 13:18:08 +03:00
Alexander Surkov
0510462ce9 Bug 743680 - fix clang build, followup, rs=smaug 2012-04-17 18:56:02 +09:00
Gian-Carlo Pascutto
5a7a52d29a Bug 745863 - Debug logging is not compiled out in NSSBridge. r=wesj 2012-04-17 11:25:54 +02:00
Mark Banner
725f0b699e Bug 741972 - Test failures on ESR when channel is set to ESR, TEST-UNEXPECTED-FAIL | test_AddonRepository_compatmode.js | compatmode-strict@tests.mozilla.org == compatmode-ignore@tests.mozilla.org and more. Change tests to re-use the new AddonManager.checkCompatibility attribute for future-proofing channel additions/changes. r=bmcbride 2012-04-17 10:24:24 +01:00
Jonathan Kew
c04607daca bug 745261 - check calls to SetupCairoFont for failure. r=jdaggett 2012-04-17 09:50:26 +01:00
Alexander Surkov
4f680aaceb Bug 733848 - fix image url in name/test_markup.html test, r=marcoz 2012-04-17 17:49:09 +09:00
Henri Sivonen
c6c8e61892 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
Pallani Kumaran
6984ac06d5 Bug 739866 - Store last accessed timestamp for tabbrowser tabs [r=zpao] 2012-04-16 23:17:54 -07:00
Timothy Nikkel
4061c74e60 Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc 2012-04-17 01:04:05 -05:00
Robert O'Callahan
7da215f576 Bug 728983. Part 2: When display items for multiple frames are merged, track the merged frames and mark them all as having an associated container layer. This ensures that invalidations are processed correctly. r=mattwoodrow 2012-04-17 17:45:04 +12:00
Robert O'Callahan
e7e04f4dc1 Bug 728983. Part 1: Add nsDisplayItem::GetMergedFrames. r=mattwoodrow 2012-04-17 17:44:32 +12:00
Andrei
8227b2af4a Bug 739191 - get rid nsAccUtils::GetDocAccessibleFor(const nsIPresShell* aPresShell), r=surkov, f=tbsaunde 2012-04-17 14:29:47 +09:00
Frédéric Wang
c99aefe86b Bug 732834 - fix an error in the MathML stylesheet. r=karlt
--HG--
extra : rebase_source : 19e6787233ac4a7075152bb188b4f127e582be51
2012-04-17 13:01:10 +12:00
Karl Tomlinson
6317aac66c b=497498 prevent GetTargetDragData (and IsTargetContextList) from being called without a target GtkWidget r=roc
--HG--
extra : rebase_source : 4c6d856abbe49913b74da4d9640d47a9870c2210
2012-04-17 13:00:26 +12:00
Karl Tomlinson
a986c13433 b=497498 move early drag end code to drag_motion_event_cb and correct return value r=roc
--HG--
extra : rebase_source : 418991e220b53a3254179bf45e18ab90a1124dff
2012-04-17 13:00:26 +12:00
Karl Tomlinson
e73fd150d2 b=497498 use nsIDragSession::getCurrentSession to remove sIsDraggingOutOf r=roc
--HG--
extra : rebase_source : 7bddb51489d329bbe403228bf15306a896823749
2012-04-17 13:00:26 +12:00
Karl Tomlinson
f9461360c8 b=497498 split drag event dispatch code from GTK signal handling methods r=roc
--HG--
extra : rebase_source : f8d7a93c9ca2f11fdc46587585aec6fb0bcfd091
2012-04-17 13:00:26 +12:00
Karl Tomlinson
956fad188e b=497498 use a helper method for dispatching destination drag events r=roc
--HG--
extra : rebase_source : fd151e844ca1454d585e8c254e1b91668427fdc6
2012-04-17 13:00:25 +12:00
Karl Tomlinson
7ecdbb6054 b=497498 use event coordinates for source drag end point instead of new cursor position r=roc
--HG--
extra : rebase_source : 7ed5076bab1d1dfac9d0865292754a3509109d9c
2012-04-17 13:00:25 +12:00
Karl Tomlinson
68970d9145 b=497498 use event and widget coordinates for drop point instead of new cursor position r=roc
--HG--
extra : rebase_source : 4b02c77acc7b2d0023fc43df675f8ca07201439d
2012-04-17 13:00:25 +12:00
Karl Tomlinson
0885e3e508 b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc
--HG--
extra : rebase_source : 776784c43b2d3e8edb4a4a91d507f74fce03f589
2012-04-17 13:00:25 +12:00
Karl Tomlinson
b05d90bc1d b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin
--HG--
extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725
2012-04-17 13:00:25 +12:00
Karl Tomlinson
2c389fc4a8 b=497498 don't set a drag context with the new widget for a leave event on the old widget r=enndeakin
--HG--
extra : rebase_source : b400dbecba51ab69d85f66a986c8f14fccf6dc09
2012-04-17 13:00:25 +12:00
Karl Tomlinson
b226e5e48a b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin
--HG--
extra : rebase_source : 3c766e3ecb09a1aef295e8e0e9aca215f53e49c0
2012-04-17 12:59:56 +12:00
Karl Tomlinson
ab51140cf9 b=497498 Only dispatch drop events when canDrop has been set via dragover and only indicate successful drop when the drop is sent r=enndeakin
--HG--
extra : rebase_source : deb15db236d3e1cd2880e056090e1caff59af0d5
2012-04-04 16:29:55 +12:00
Jeff Walden
4c415c06fb Bug 736591 - Reduce the amount of string allocation attempted in ecma_5/RegExp/regress-617935.js to hopefully reduce intermittent orange. (The limit the test previously checked is no longer correct, so the allocation need not be repeated quite so many times as it was before this patch.) r=luke 2012-04-16 17:34:36 -07:00
Hessam Salehi
0b4dedebcb Bug 722986 - Make WebContentConverter use the per-window Private Browsing APIs in order to decide how to behave; r=ehsan 2012-04-16 23:51:04 -04:00
Wes Johnston
c6d882c609 Bug 739446 - Fix test bustage. r=mfinkle 2012-04-16 19:28:20 -07:00
Brad Lassey
b38b1c9fea bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage, follow up to require a JNI env for nsJNIString constructor r=kats 2012-04-16 18:31:05 -04:00
Brad Lassey
2fd2307892 bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage r=kats 2012-04-16 17:25:04 -04:00
Jeff Muizelaar
e8e8b306a5 Bug 739510. JSObjectBuilder: Speed up construction of char * properties. r=ehsan
This eliminates two additional copies: NS_ConvertASCIItoUTF16 and
PromiseFlatString by constructing the JSString directly. It is also designed so
that literal strings will have their strlen computed at compile time.

--HG--
extra : rebase_source : 05169480e6ffbf42a9f5cc131dc775c699841b19
2012-03-26 23:35:28 -04:00
Jeff Muizelaar
eca1c1caae Bug 726352. Move SAMPLE_LABEL from nsEventListenerManager::HandleEventInternal r=smaug
This moves it to nsEventDispatcher::Dispatch which is not as hot.

--HG--
extra : rebase_source : 93005aaf4b341047d8512ebbda7de5d7e7433b1d
2012-04-16 14:43:06 -04:00
Terrence Cole
d0699e95a8 Bug 735549 - Generate the JS reftest suite's manifests automatically; r=dmandelin
--HG--
extra : rebase_source : 910bca5b40e37a69427cb3ab1332f24c00a0b2e7
2012-03-22 18:52:12 -07:00
Bobby Holley
dd4ac27670 Bug 745661 - Make TI assertion handle safe mode, too. r=khuey 2012-04-16 16:57:36 -07:00
Scott Johnson
9f2b7450a2 Bug 745993: Fix failing reftest from bug 708175. [r=dbaron] 2012-04-16 18:39:25 -05:00
Kai Engert
311fe61764 Bug 633471, crash if I delete a PKCS#11 certificate when smart card is logged out. Patch contributed by timeless and Ludovic Rousseau, plus my cleanup. r=kaie 2012-04-17 01:36:46 +02:00
Margaret Leibovic
560c31224c Bug 735747 - Form autocomplete doesn't trigger oninput event. r+a=mfinkle 2012-04-16 16:12:01 -07:00
OHZEKI Tetsuharu
8cdfd67610 Bug 745445 - Remove arguments.callee from browser.js. r=dao 2012-04-16 18:35:34 -04:00
Brendan Dahl
510745db5f Bug 743264 - Update pdf.js to version 0.2.536. r=mossop 2012-04-16 13:44:58 -07:00
Kan-Ru Chen
c0b3125379 Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
L. David Baron
1b065cd809 Add tests for font.size.inflation.lineThreshold preference and the associated threshold behavior. (Bug 706193, patch 5) r=roc 2012-04-16 15:32:12 -07:00
L. David Baron
c1ad19f6be Use the font inflation data to disable font inflation for small pieces of text. (Bug 706193, patch 4) r=roc
This merely hooks up the computation done in the previous patches for
this bug to the decision on whether to do font size inflation.
2012-04-16 15:32:12 -07:00
L. David Baron
be1535321a Build font data structure by walking the necessary text. (Bug 706193, patch 3) r=roc
Compute the amount of text in the scope of an nsFontInflationData
object.  This walks the text that's inside of the block formatting
context at which this object is rooted, excluding the text that's inside
any nested BFC.  Using the amount of text, the font sizes of the text,
and the line threshold preference, we compute whether to enable font
size inflation within that block formatting context.
2012-04-16 15:32:12 -07:00
L. David Baron
8c67e2ae8b Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text.  Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous.  Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
L. David Baron
fccc8b20a7 Add a preference for the threshold at which we have enough text within a BFC to use font size inflation. (Bug 706193, patch 1) r=roc
The basic principle behind this preference is that we don't want to use
font size inflation when all the text that we would have inflated would
fit within a line or two.  We're better off preserving the layout than
inflating a small amount of text.  However, we don't want the inflation
decision to vary between adjacent paragraphs, so this decision needs to
be made once for each block formatting context.

Once the later patches for this bug cause this preference to be honored,
this will be a change in behavior.  The old behavior can be obtained by
setting the preference to 0.
2012-04-16 15:32:11 -07:00
L. David Baron
d577687945 Fix mistake in manifest file from bug 708175 (causing some tests to be double-run and some not at all). 2012-04-16 14:17:29 -07:00
L. David Baron
670a9a3836 Fix compilation error by fixing up more code. (Bug 735262) r=jrmuizel 2012-04-16 15:32:11 -07:00
Mark Finkle
3000a6135a Bug 739446 - Default AMO bookmark should point to android native addons r=wesj 2012-04-16 17:57:47 -04:00
David Humphrey (:humph)
a6fb05536e Bug 745255 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert
3bb9bd9b04 Bug 745272: Replace comparison of unsigned value >=0 with a useful comparison. r=humph r=cpearce 2012-04-16 14:29:14 -07:00