L. David Baron
2a79ab5726
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-15 17:02:01 +13:00
L. David Baron
58c07a0fce
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
9bdb215c12
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-15 17:02:01 +13:00
L. David Baron
fb0468e983
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
182cc99879
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-15 17:02:01 +13:00
L. David Baron
1922ba1843
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
9bbf22c233
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-15 17:02:00 +13:00
L. David Baron
443c311ad2
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-15 17:02:00 +13:00
L. David Baron
7a61a331c0
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-15 17:02:00 +13:00
L. David Baron
0771ac796f
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-15 17:02:00 +13:00
L. David Baron
5270d5913f
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-15 17:02:00 +13:00
L. David Baron
9c01fd07df
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
8ee0331573
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-15 17:02:00 +13:00
Scott Johnson
ec9daedef4
Bug 702503 - Remove PR_TRUE/PR_FALSE added with bug 666446 and replace with bool values. r=dholbert
...
--HG--
extra : rebase_source : 6156ccbce49e7eeeb38488802a6f100d419b8335
2011-11-15 15:45:43 +13:00
Scott Johnson
b64f6c4e3d
Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
...
--HG--
extra : rebase_source : 37becb5bb6a987fafb90a340284d284614dc64ae
2011-11-15 10:59:19 +13:00
Daniel Holbert
d8a14067a4
back out 10814cd743e3 (from bug 693940) since it breaks moz-filedata URIs in SVG-as-an-image
2011-11-08 12:49:12 -08:00
Gregory Szorc
2ebcbe0053
Bug 700519 - Remove -fpascal-strings from Darwin compiler flags; r=ted
2011-11-08 12:10:22 -08:00
Joe Drew
4d0c4d8a91
Back out bug 674619 since it does things I didn't realize when I reviewed it.
2011-11-08 13:24:35 -05:00
Richard Newman
5282fc60f8
Bug 700711 - Bump Sync version number.
2011-11-08 10:08:24 -08:00
Kyle Huey
025c952e95
Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent
2011-11-08 12:51:37 -05:00
Christian Legnitto
f6714f779c
Bug 700688, Version bump
2011-11-08 09:12:57 -08:00
Christian Legnitto
4cf7cad98a
Added tag AURORA_BASE_20111108 for changeset 54bfd8bf682e
2011-11-08 09:06:38 -08:00
Igor Bazarny
9bb3c9491a
Bug 691547. Don't record a navigationStart for a docshell when one of its descendants navigates. r=bzbarsky
2011-11-08 11:51:20 -05:00
Ali Juma
0d085dc0f3
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Ed Morley
db98e97165
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-08 14:56:02 +00:00
Matheus Kerschbaum
d57bd99869
Bug 597789 - Remove --disable-rdf; r=ted
2011-11-08 11:42:54 +00:00
Timothy Zhu
1d466d7f71
Bug 662173 - DataTransfer.getData should lowercase its argument; r=enndeakin
2011-11-08 11:42:53 +00:00
Honza Bambas
c07aa37c2a
Bug 700402 - ABORT: syntimer not null, creting SYN retry timer after connection manager shutdown, r=mcmanus
2011-11-08 11:56:46 +01:00
Ed Morley
22c348f2a4
Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao
2011-11-08 10:43:36 +00:00
Tim Taubert
187b007890
Bug 698936 - dragleave is fired on previous drop target after successful drop; r=enndeakin
2011-11-08 10:55:47 +01:00
Octoploid
567bcd2964
Bug 698264 - build fails because of undefined C++11 user-defined literals r=benjamin
2011-11-08 10:33:56 +01:00
Jacek Caban
5a659330d6
Bug 699170 - Tons of JS_* redefined warnings on mingw r=ted
2011-11-08 10:25:51 +01:00
Jacek Caban
b6b6d57875
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Ed Morley
5fdd01ccd9
Merge mozilla-central and mozilla-inbound
2011-11-08 08:21:25 +00:00
Phil Ringnalda
883920eef6
No bug, no r=, no a=, Try to defuse test_history_expiration daylight saving time timebomb by going back an extra day
2011-11-08 00:08:47 -08:00
Ed Morley
f49167fdae
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-08 08:01:18 +00:00
bjarne@runitsoft.com
991bfd6cf4
Bug 699780 - Redundant call to Seek() in nsStorageStream::GetOutputStream(); r=bsmedberg
2011-11-08 07:41:54 +00:00
Ed Morley
ce2b56f89d
Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor
2011-11-08 07:38:22 +00:00
Jonas Sicking
2dd81675ab
Bug 692659: Fix sort order for PREV cursors on indexes. r=bent
2011-11-07 23:34:59 -08:00
Timothy Zhu
cfa79ec82d
Bug 616774 followup: Remove nullchecks after new that are no longer needed. r=sicking
2011-11-07 22:27:27 -08:00
Timothy Zhu
d65455bac6
Bug 616774: Make XPath expressions like "--expr" coerce into a number. r=sicking
2011-11-07 22:27:23 -08:00
Jonas Sicking
31b5a0020a
Bug 692674: Set the errorCode to "ABORT_ERR" for all pending requests when a transaction is aborted, even ones that failed for other reasons. r=bent
2011-11-07 22:27:03 -08:00
Jonas Sicking
7e32cb55d7
Bug 694135: Don't throw if there are unknown properties in the options objects to createObjectStore/createIndex. r=bent
2011-11-07 22:25:51 -08:00
Ralph Giles
39f574a8ac
Bug 697821 - Disable libtheora assembly on XCode 4.2. r=khuey
...
The version of llvm-gcc included with Apple's XCode 4.2
toolchain can't compile the inline assembly in the libtheora
library. This is a regression from the 4.1 release.
Check for this version and disable assembly if found.
Also update the check for clang < v2.9 from bug 627981,
which had similar problems, to set the same flag.
2011-11-08 00:57:00 -05:00
Randell Jesup
f839e11b18
Bug 693586: Add circular buffer support to jprof r=dbaron
2011-11-08 00:34:40 -05:00
Nick Hurley
e2646cb5fa
bug 699409 - telemetry for memory used by records in the disk cache map. r=jduell
2011-11-07 23:41:52 -05:00
Boris Zbarsky
077d914854
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05:00
Matt Woodrow
80804dd3ce
Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc
2011-11-08 16:57:55 +13:00
Ben Turner
17f9b9bc5d
Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking.
2011-11-07 18:08:02 -08:00
Terrence Cole
97d3decc41
Bug 700357 - Run GC_SHRINK more frequently; r=billm
...
Currently we only run this on idle when allocating memory. There
are plans in place to also run these when clicking the Minimize
Memory button in about:memory, and when we are under memory
pressure. This change causes GC_SHRINK to also run when doing so
will result in "lots" of pages being decommitted to the OS.
2011-11-07 13:47:14 -08:00