Commit Graph

91505 Commits

Author SHA1 Message Date
Karl Tomlinson
89750d568a 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
6d38f25d46 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
9d71843903 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
ebaf6ea2db 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
dab6aa349c 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
ab97535c2d 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
aec05325da 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
f074cdf938 Bug 739446 - Fix test bustage. r=mfinkle 2012-04-16 19:28:20 -07:00
Brad Lassey
6bcb2c0088 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
367badb60b bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage r=kats 2012-04-16 17:25:04 -04:00
Jeff Muizelaar
1fcd79bd68 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
b650f987fb 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
5ac24e9b9c 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
a496ec55ac Bug 745661 - Make TI assertion handle safe mode, too. r=khuey 2012-04-16 16:57:36 -07:00
Scott Johnson
a08bade180 Bug 745993: Fix failing reftest from bug 708175. [r=dbaron] 2012-04-16 18:39:25 -05:00
Kai Engert
58c1126cda 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
d9a5512be6 Bug 735747 - Form autocomplete doesn't trigger oninput event. r+a=mfinkle 2012-04-16 16:12:01 -07:00
OHZEKI Tetsuharu
c216db0ba9 Bug 745445 - Remove arguments.callee from browser.js. r=dao 2012-04-16 18:35:34 -04:00
Brendan Dahl
d065204697 Bug 743264 - Update pdf.js to version 0.2.536. r=mossop 2012-04-16 13:44:58 -07:00
Kan-Ru Chen
aa08af3ddb Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
L. David Baron
8fbdd66f00 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
49760f2add 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
903cd57ef8 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
1984592c22 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
e0255c8170 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
0764743261 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
5e31c7d89a Fix compilation error by fixing up more code. (Bug 735262) r=jrmuizel 2012-04-16 15:32:11 -07:00
Mark Finkle
8a91f7ddcb Bug 739446 - Default AMO bookmark should point to android native addons r=wesj 2012-04-16 17:57:47 -04:00
David Humphrey (:humph)
f328f058c3 Bug 745255 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert
6e5356dd30 Bug 745272: Replace comparison of unsigned value >=0 with a useful comparison. r=humph r=cpearce 2012-04-16 14:29:14 -07:00
Paul O’Shannessy
e86dac60a4 Bug 745342 - Use more lazy services from Services.jsm [r=dietrich] 2012-04-16 14:26:10 -07:00
Paul O’Shannessy
50631b0bae Bug 732292 - use XPCOMUtils.defineLazyModuleGetter in sessionstore [r=dietrich] 2012-04-16 14:26:10 -07:00
Mark Finkle
54c1606dfc Bug 745750 - HTML entities in a download title will break the Download Manager r=wesj 2012-04-16 17:21:18 -04:00
Jim Blandy
b0a75a4062 Bug 743026: Make the --verbose flag to runxpcshelltests.py also show the command, environment, and cwd. r=ted 2012-04-16 14:19:07 -07:00
Chris AtLee
5fde47335e Bug 745942: make android builds use ccache. r=khuey 2012-04-16 17:02:16 -04:00
Asaf Romano
52433dbe9d Butage fix for bug 745466 (that test is not valid on windows). 2012-04-16 23:47:42 +03:00
Wes Johnston
461716622b Bug 745834 - Fix test bustage. r=mfinkle 2012-04-16 12:47:17 -07:00
David Anderson
3a7a15cbe2 Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson
38bfcb0aba Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
David Anderson
f0a562ebba Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Brian Nicholson
d7e158b8a3 Bug 742771 - Fix last title after OOM. r=blassey 2012-04-16 11:56:56 -07:00
Asaf Romano
15eb8aba42 Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03:00
Wes Johnston
d884df195a Bug 745834 - Set encryption type correctly in java. r=mfinkle 2012-04-16 11:27:17 -07:00
Wes Johnston
c87af9265a Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Chris Lord
cba5ec4bed Bug 745738 - Handle multiple devices on android install target. r=mfinkle
Allow specifying the install target via an environment variable. If there are
multiple devices connected and the target isn't set, bail out with a helpful
error message and list the devices.
2012-04-16 16:10:58 +01:00
Max Li
3a7a39d8d3 Bug 741699 - telemetry for uiautomation.dll r=askalski f=davidb 2012-04-05 07:34:44 -04:00
David Bolter
4ca1d7950d Bug 729154 - Telemetry for a11y instantiation by unknown cause. r=tbsaunde f=surkov
This change includes a small refactor, combining our compat and telemetry data structures. We get all fancy pants with bitflags and such.
2012-04-16 11:04:53 -04:00
Ehsan Akhgari
a5648598ae Merge mozilla-central and mozilla-inbound 2012-04-16 11:04:07 -04:00
Ehsan Akhgari
3965f85543 Merge the last green PGO build on mozilla-inbound to mozilla-central 2012-04-16 11:03:05 -04:00
JP Rosevear
b859d6b310 Bug 745401 - Fix logic error in draw event coalescing. r=kats 2012-04-16 10:31:13 -04:00