Commit Graph

80446 Commits

Author SHA1 Message Date
Robert O'Callahan
7d22b4bdb5 Bug 705173. Make mDependentTargets weak by tracking the inverse relationship in mDependingOnTargets. In Flush(), remove dependencies on other targets. r=bas 2011-11-25 15:12:40 +13:00
Bas Schouten
59cd17accf Bug 655836. Reftest 2011-11-25 15:07:05 +13:00
Robert O'Callahan
5755e41c5c Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-25 15:06:22 +13:00
Robert O'Callahan
4f2e71dc44 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Andras Timar
c4eccb8507 Bug 696014, Remove Bluu search engine from Hungarian builds, r=milos,nthomas 2011-11-25 14:32:04 +13:00
Masayuki Nakano
87c08c8383 Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
Benoit Girard
6af0f7b28d Bug 703231 - [Mac] Fix scan lines while decoding images caused by high quality down scaling. r=joe 2011-11-24 18:23:19 -05:00
Josh Matthews
6ea3a93652 Bug 700931 - Avoid using the HARDWARE field on Android SDK versions <8. r=dougt 2011-11-24 17:46:29 -05:00
Rafael Ávila de Espíndola
88cee3b620 Bug 705133 - move all linux CC and CXX lines to a central mozconfig snippet. r=catlee. 2011-11-24 14:58:06 -05:00
Tom Schuster
c70627a126 Bug 602212 - Use error message from js.msg when CSP blocks a call to eval r=jorendorff 2011-11-24 19:39:02 +01:00
Tom Schuster
f8c682c633 Bug 705168 - Followup to remove some references to the tracer in the methodjit r=dvander 2011-11-24 19:38:57 +01:00
Marco Bonardo
3c9e0f567d Bug 702761 - AsyncGetFaviconURLForPage should not warn on missing icons.
r=dietrich
2011-11-24 17:08:41 +01:00
Marco Bonardo
374c8bedd0 Bug 703592 - Useless warning in FetchItemInfo.
r=dietrich
2011-11-24 17:08:39 +01:00
Henri Sivonen
4271bf21d4 Bug 705072 - Limit HTML support in XHR to responseType == "document" to avoid changing the behavior for legacy users. r=smaug. 2011-11-24 17:28:12 +02:00
Simon Montagu
ecefb5a4cf Tests for bug 704837, r=roc 2011-11-24 16:16:46 +02:00
Simon Montagu
a411d41922 Test for next-continuations before doing bidi resolution. Bug 704837, r=roc 2011-11-24 16:16:42 +02:00
Andrew McCreight
4453584b8b Bug 668855, part 6: test weak maps and the cycle collector. r=gal 2011-11-24 07:35:57 -05:00
Andrew McCreight
83651515d2 Bug 653248 - Mark weak map values reachable only from XPCOM gray, not black. r=billm 2011-06-14 17:48:27 -07:00
Andrew McCreight
a526a1e44e Bug 668855, part 5: scan weak maps. r=gal 2011-11-24 07:35:57 -05:00
Andrew McCreight
bb93bea281 Bug 668855, part 4: store weak map info in CC data structure. r=gal 2011-11-24 07:35:56 -05:00
Andrew McCreight
708d4efa28 Bug 668855, part 3: hook up CC to JS WeakMap callback. r=peterv 2011-11-24 07:35:56 -05:00
Andrew McCreight
46b5e713df Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
Andrew McCreight
ac98a89fba Bug 668855, part 1: add JS weak map tracing interface. r=billm 2011-11-24 07:35:56 -05:00
Alexander Surkov
1b5c11ed5b Bug 699037 - Remove a11y dependency on e10s build flag, r=davidb 2011-11-24 19:31:49 +08:00
Alexander Surkov
4a30ef1f61 Bug 287740 - expose axis object attribute on table cells, r=marcoz 2011-11-24 19:31:41 +08:00
Alexander Surkov
2d482f7133 Bug 704754 - expose abbr object attribute on header cells, r=marcoz 2011-11-24 19:31:34 +08:00
Alexander Surkov
3bc9bdfa53 Bug 704416 - HTML acronym and abbr names should be provided by @title, r=marcoz 2011-11-24 19:31:25 +08:00
Geoff Lankow
0da1c7db6e Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
Geoff Lankow
0aff5db248 Bug 703867 - Update /dom/tests/browser/browser_popup_blocker_save_open_panel.js to use MockFilePicker.jsm; r=jst,mounir 2011-11-25 00:17:16 +13:00
Ginn Chen
50adec56f2 Bug 704729 - Fix compilation error with Solaris Studio because of extra semi-colon. r=smaug 2011-11-24 11:42:10 +01:00
Ed Morley
e57dd3a282 Merge mozilla-central and mozilla-inbound 2011-11-24 09:08:33 +00:00
Jonathan Kew
416c120a7f bug 701637 - clean up mark-skipping loops in gsub/gpos code. r=behdad 2011-11-24 07:13:40 +00:00
Matt Brubeck
22477b5b6b Back out da3319e4987c (bug 704482) because of test_smilAccessKey.xhtml failure 2011-11-23 19:02:43 -08:00
L. David Baron
89ed9560ba Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc 2011-11-23 18:48:24 -08:00
L. David Baron
5ef7f84c99 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-23 18:48:24 -08:00
L. David Baron
abb8d1c39a Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets):  see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
46718a5759 Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal 2011-11-23 18:48:23 -08:00
L. David Baron
b4141b61eb Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-23 18:48:23 -08:00
L. David Baron
25c4c1ad91 Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
4053e3de9f Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
c83c4441ad Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
2ca5929d4e Apply font size inflation to text. (Bug 627842, patch 9) r=roc
This applies the font size inflation to reflow and painting of text
frames.  However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
14c99d00c7 Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
70b87a1b05 Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
96482a27d1 Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
b5db9e038b When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-23 18:48:23 -08:00
L. David Baron
3917f9c2e1 Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
L. David Baron
1fc147e17f Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc
Fixes assertion on layout/reftests/bugs/409084-1a.html once the rest
of the inflation patches land.
2011-11-23 18:48:23 -08:00
L. David Baron
3305bb2f9c Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
51ec63eaad When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc 2011-11-23 18:48:23 -08:00