Commit Graph

91489 Commits

Author SHA1 Message Date
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
Paul O’Shannessy
e917a0c643 Bug 745342 - Use more lazy services from Services.jsm [r=dietrich] 2012-04-16 14:26:10 -07:00
Paul O’Shannessy
37f627c71b Bug 732292 - use XPCOMUtils.defineLazyModuleGetter in sessionstore [r=dietrich] 2012-04-16 14:26:10 -07:00
Mark Finkle
173ecd079e 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
9c14478ca6 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
73ceded1fe Bug 745942: make android builds use ccache. r=khuey 2012-04-16 17:02:16 -04:00
Asaf Romano
b54a3bf5d9 Butage fix for bug 745466 (that test is not valid on windows). 2012-04-16 23:47:42 +03:00
Wes Johnston
979e479318 Bug 745834 - Fix test bustage. r=mfinkle 2012-04-16 12:47:17 -07:00
David Anderson
f84d3b7b8d Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson
9e6c5a8a5f 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
2b1abddde3 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
fb35fc6fd2 Bug 742771 - Fix last title after OOM. r=blassey 2012-04-16 11:56:56 -07:00
Asaf Romano
163327fae2 Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03:00
Wes Johnston
1559635ebd Bug 745834 - Set encryption type correctly in java. r=mfinkle 2012-04-16 11:27:17 -07:00
Wes Johnston
31d31d347e Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Chris Lord
00c58ed60d 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
b05ef0f78f Bug 741699 - telemetry for uiautomation.dll r=askalski f=davidb 2012-04-05 07:34:44 -04:00
David Bolter
035d830e83 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
ea6d392281 Merge mozilla-central and mozilla-inbound 2012-04-16 11:04:07 -04:00
Ehsan Akhgari
6e625f3ba4 Merge the last green PGO build on mozilla-inbound to mozilla-central 2012-04-16 11:03:05 -04:00
JP Rosevear
719a612354 Bug 745401 - Fix logic error in draw event coalescing. r=kats 2012-04-16 10:31:13 -04:00
Kartikaya Gupta
0cc27e70b7 Bug 744699 - Call setDisplayPort on the correct presShell. r=roc 2012-04-16 09:48:04 -04:00
Benoit Girard
bf86ece599 Bug 745556 - Include shared library info in text profile dump for android symbolication. r=jmuizelaar 2012-04-16 09:32:18 -04:00
Joel Maher
f4f7625d91 Bug 745727 - deploy a new talos.zip for tcheck2 and non null revision/sourcestamps. r=armenzg 2012-04-16 09:27:13 -04:00
Max Li
ec2619d62c Bug 739883 - decomtaminate impl of GetSummary() on accessible tables, r=tbsaunde, f=surkov 2012-04-15 22:41:58 -04:00
Justin Lebar
354aaee162 Bug 745502 - Fix a null-pointer exception in pushState. r=smaug 2012-04-16 19:54:08 +10:00
Mounir Lamouri
e980c7d0bd Bug 745495 - Fix crash when using screen object from removed iframe. r=smaug 2012-04-16 11:33:35 +02:00
pcheng@gmx.com
c5469403d7 Bug 742657 - move nsAccUtils::GetRoleMapEntry(nsINode *aNode) into nsARIAMap, r=tbsaunde, f=surkov 2012-04-16 18:24:23 +09:00
Robert Longson
58735a46be Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Nicholas Nethercote
809407a18d Bug 745068 - Minor front-end cleanups. r=jorendorff.
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Robert O'Callahan
659fb75915 Bug 735898. Part 5: Simple tweaks to avoid wrapping empty lists and to reorder boolean tests. r=mattwoodrow 2012-04-16 17:43:47 +12:00
Robert O'Callahan
99b4ec2a83 Bug 735898. Part 4: Create Inner/Outer box-shadow items only if we actually have inset/outset shadows. r=mattwoodrow 2012-04-16 17:43:33 +12:00
Ms2ger
1316ee9afc Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger
974d88e1f3 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger
cb0259bd68 Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz 2012-04-14 15:09:19 +02:00
Ms2ger
f14df3792d Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger
68be407858 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00