Commit Graph

257993 Commits

Author SHA1 Message Date
Mounir Lamouri
d4a17bc900 Bug 674725 - Part F - .mozSms returns null if the platform doesn't have SMS supports. r=smaug 2011-11-21 16:16:24 +01:00
Mounir Lamouri
0659dd9b0c Bug 674725 - Part E - SmsService stub. r=smaug sr=cjones 2011-11-20 23:30:04 +01:00
Mounir Lamouri
5e28ea2ee9 Bug 674725 - Part D - Temporary security model for WebSms. r=smaug 2011-11-25 01:37:40 +01:00
Mounir Lamouri
a247b87e1e Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
fd980cdec8 Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Mounir Lamouri
c7a20af56e Bug 674725 - Part A - Makefiles. r=smaug 2011-11-20 19:23:49 +01:00
Mounir Lamouri
7854dd2a53 Bug 705156 - Fix flaky test embedding/test/test_window_open_units.html. r=roc 2011-11-25 10:46:10 +01:00
Mounir Lamouri
870b77f6eb Merge mozilla-central into mozilla-inbound. 2011-11-25 10:51:57 +01:00
Alexander Surkov
5bb7f189cb Bug 701669 - crash when changing profile in profile manager, r=tbsaunde 2011-11-25 12:32:49 +08:00
Makoto Kato
e999cc59bc Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
Robert O'Callahan
f9ccb9e0ae 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
0054c8e097 Bug 655836. Reftest 2011-11-25 15:07:05 +13:00
Robert O'Callahan
5215c01596 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
f08642b928 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Andras Timar
f06d7ab919 Bug 696014, Remove Bluu search engine from Hungarian builds, r=milos,nthomas 2011-11-25 14:32:04 +13:00
Masayuki Nakano
b05d40e755 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
8499f13041 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
6527f742e1 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
8f03dc5066 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
47118512ce 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
e64bc45f0a Bug 705168 - Followup to remove some references to the tracer in the methodjit r=dvander 2011-11-24 19:38:57 +01:00
L. David Baron
b98f691766 Add reftest annotations for failure state on Mac OS X 10.7 (Lion) so we can enable the reftest suite on Lion unit test machines. (Bug 700503)
This marks 4 gradient-related tests previously marked as failing on Mac
as failing on only 10.5 and 10.6, since they pass on 10.7.

It also marks one Arabic-shaping-related test as failing, for which bug
705044 has been filed.
2011-11-24 09:14:37 -08:00
Marco Bonardo
f7047bc790 Bug 702761 - AsyncGetFaviconURLForPage should not warn on missing icons.
r=dietrich
2011-11-24 17:08:41 +01:00
Marco Bonardo
b123f3854f Bug 703592 - Useless warning in FetchItemInfo.
r=dietrich
2011-11-24 17:08:39 +01:00
Ed Morley
6603663db5 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-24 15:50:30 +00:00
Rob Campbell
1951e17923 merge fx-team to m-c 2011-11-24 11:44:28 -04:00
Henri Sivonen
775543c40b 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
bdb6c0bfa6 Tests for bug 704837, r=roc 2011-11-24 16:16:46 +02:00
Simon Montagu
83dc6b0d97 Test for next-continuations before doing bidi resolution. Bug 704837, r=roc 2011-11-24 16:16:42 +02:00
Dao Gottwald
7c18e11657 Bug 700333 - Highlighter close button has a bogus hover state on Windows; r=rcampbell 2011-11-24 09:22:20 -04:00
Andrew McCreight
c1272e0158 Bug 668855, part 6: test weak maps and the cycle collector. r=gal 2011-11-24 07:35:57 -05:00
Jonathan Kew
7056934aed bug 701637 - clean up mark-skipping loops in gsub/gpos code. r=behdad 2011-11-24 07:13:40 +00:00
Heather Arthur
d18cd79b81 Bug 702342 - Filter Button should remain popped up when unchecking a suboption if any of the other suboptions remain checked. r=msucan 2011-11-23 19:02:23 -08:00
Heather Arthur
eb35df5d5b Bug 653427 - Prompt to save file before closing Scratchpad window, r=msucan 2011-11-23 18:49:03 -08:00
L. David Baron
9316570c37 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
20e2347ed6 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
0e6b37ad63 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
00c3df434c 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
d765f6035f 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
a825911696 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
1e5ca9ce1a 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
af0ddba78e Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
93a3cc8415 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
f1feb010c8 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
8b75e4b142 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
65f7568bbd Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
4d84af3591 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
774de62abb 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
637b872e98 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
6ef87a5b92 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