Commit Graph

80566 Commits

Author SHA1 Message Date
Igor Bukanov
07915e53bc Bug 701560 - template version of merge sort. r=luke
This is the second attempt to land this - the previous landing attempt had compilation errors and warnings on 64 bit Linux.
2011-11-16 15:00:32 +01:00
Igor Bukanov
e392c8cc7e Backed out changeset e1587f23d2f0, bug 701560 - compilation errors 2011-11-18 15:52:35 +01:00
Igor Bukanov
b6bc741901 Bug 701560 - template version of merge sort. r=luke 2011-11-16 15:00:32 +01:00
Ms2ger
014b2f8c22 Bug 703374 - Add back an assignment to rv in nsHTMLDocument::StartDocumentLoad; r=hsivonen 2011-11-18 15:09:25 +01:00
Heather Arthur
4f550d641d Bug 669612 - In scratchpad, add * postfix to window title when editor contains unsaved changes. r=msucan 2011-11-09 10:09:54 -08:00
Marco Bonardo
71ee5aede2 Merge last green changeset from mozilla-inbound to mozilla-central 2011-11-09 14:03:07 +01:00
Tim Taubert
0752311514 merge m-c to fx-team 2011-11-09 10:53:12 +01:00
Makoto Kato
506660c53d Bug 521673 - Remove OJI preferences. r=josh 2011-11-09 10:32:00 +09:00
Paul O’Shannessy
1577b30f9e Bug 698565 (6/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Clear out _lastSessionWindowID and _shouldRestore when possible.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
85c1d1f02a Bug 698565 (5/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _host & _scheme out of each entry to the browser.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
3243b3e3e2 Bug 698565 (4/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _hosts from data to a new internal data object.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
844f3bd523 Bug 698565 (3/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _formDataSaved from data to the browser.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
9b318df1a4 Bug 698565 (2/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _tabStillLoading from data to the browser.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
9f8c44dfdf Bug 698565 (1/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Stop excluding keys.
2011-11-08 15:23:42 -08:00
Paul O’Shannessy
b92eedcaac Bug 640136 - onchange & input events are not fired for all form elements on restore [r=dietrich]
--HG--
rename : browser/components/sessionstore/test/browser/browser_476161.js => browser/components/sessionstore/test/browser/browser_form_restore_events.js
rename : browser/components/sessionstore/test/browser/browser_476161_sample.html => browser/components/sessionstore/test/browser/browser_form_restore_events_sample.html
2011-11-08 15:23:42 -08:00
Ed Morley
24695badf6 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Jonathan Griffin
62712c115d Bug 697824 - buildUrl isn't a member of self, a=testonly, DONTBUILD 2011-11-08 13:45:42 -08:00
Kartikaya Gupta
ac70c5daa5 Bug 692185 - Flush PrintWriter prior to extracting printed string; r=blassey
Not flushing the PrintWriter might cause data to get left in the PrintWriter's
internal buffers, and not get written into the underlying StringWriter. This
might explain why the stack trace does not get written out to the crash report.
2011-11-08 16:41:50 -05:00
L. David Baron
e41515d994 Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
241d685dc5 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
fbf62da75f 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-15 17:02:01 +13:00
L. David Baron
963d244cf6 Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal 2011-11-15 17:02:01 +13:00
L. David Baron
e30b812b18 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-15 17:02:01 +13:00
L. David Baron
b4cd814c1e Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
9040cadeb5 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
8b98b80576 Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
db5c82697e 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
2ff820844c 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
20da5c2ff7 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
b162417f65 Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc 2011-11-15 17:02:00 +13:00
L. David Baron
b93eea884b 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
4c284f9e07 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
5a303ca8ac 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
821918f150 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
430f422bc5 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
37be1f5c8b 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
0a1bb1e502 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
5bd63dea97 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
7dade638ff 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
45b5d0bcc0 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
0870b48b40 Bug 700519 - Remove -fpascal-strings from Darwin compiler flags; r=ted 2011-11-08 12:10:22 -08:00
Joe Drew
b2759fbc68 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
a4ec2d71cf Bug 700711 - Bump Sync version number. 2011-11-08 10:08:24 -08:00
Kyle Huey
9c016a6b7b Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent 2011-11-08 12:51:37 -05:00
Christian Legnitto
39061fa675 Bug 700688, Version bump 2011-11-08 09:12:57 -08:00
Christian Legnitto
9c56a228ea Added tag AURORA_BASE_20111108 for changeset 54bfd8bf682e 2011-11-08 09:06:38 -08:00
Igor Bazarny
8b10d6b949 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
5ff47a56c5 Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel 2011-11-08 10:51:44 -05:00
Ed Morley
5403cae15b Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-08 14:56:02 +00:00
Matheus Kerschbaum
61bd0eb1c9 Bug 597789 - Remove --disable-rdf; r=ted 2011-11-08 11:42:54 +00:00