Граф коммитов

257956 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight c1272e0158 Bug 668855, part 6: test weak maps and the cycle collector. r=gal 2011-11-24 07:35:57 -05:00
Andrew McCreight 6c1273d231 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 0bdc164384 Bug 668855, part 5: scan weak maps. r=gal 2011-11-24 07:35:57 -05:00
Andrew McCreight fa0cc49dda Bug 668855, part 4: store weak map info in CC data structure. r=gal 2011-11-24 07:35:56 -05:00
Andrew McCreight 1e19f81390 Bug 668855, part 3: hook up CC to JS WeakMap callback. r=peterv 2011-11-24 07:35:56 -05:00
Andrew McCreight 5b34144669 Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
Andrew McCreight 8a8de0249a Bug 668855, part 1: add JS weak map tracing interface. r=billm 2011-11-24 07:35:56 -05:00
Alexander Surkov dcf73a7c49 Bug 699037 - Remove a11y dependency on e10s build flag, r=davidb 2011-11-24 19:31:49 +08:00
Alexander Surkov 279a5e8eb0 Bug 287740 - expose axis object attribute on table cells, r=marcoz 2011-11-24 19:31:41 +08:00
Alexander Surkov 677bfef278 Bug 704754 - expose abbr object attribute on header cells, r=marcoz 2011-11-24 19:31:34 +08:00
Alexander Surkov 3b4b35835a Bug 704416 - HTML acronym and abbr names should be provided by @title, r=marcoz 2011-11-24 19:31:25 +08:00
Geoff Lankow 8ebd020946 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 a92e5e5471 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 0a3166779a 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 ec227b4a78 Merge mozilla-central and mozilla-inbound 2011-11-24 09:08:33 +00: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
Matt Brubeck 30ff4d7a2e Back out da3319e4987c (bug 704482) because of test_smilAccessKey.xhtml failure 2011-11-23 19:02:43 -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
L. David Baron 5a12e5a841 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
L. David Baron e94622c2dd 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-23 18:48:23 -08:00
L. David Baron 59c0a28be1 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-23 18:48:23 -08:00
Lucas Rocha cd93642b6e Bug 701374 - Add native method to check creation of fixup URIs (r=dougt)
--HG--
extra : rebase_source : fd623dc1db9b110f8f0085ca0377c29697331093
2011-11-23 09:48:00 -08:00
Lucas Rocha cdd9cf7ffa Bug 701374 - Add macros for wrappers with return value (r=dougt)
--HG--
extra : rebase_source : 9fbc2c264d08fea75542471370db6e228dba6226
2011-11-23 09:46:26 -08:00
Matt Brubeck 436e9b153b Merge mozilla-central and mozilla-inbound 2011-11-23 10:08:26 -08:00
Oleg Romashin d56fa1bc3d Bug 703945 - blank screen after rotate on every site. r=mbrubeck 2011-11-23 08:30:40 -08:00
David Anderson 961177f5ab Initial removal in bug 698201 did not apply correctly (leftover r=dmandelin). 2011-11-23 09:50:56 -05:00
Kyle Huey c03fa0a540 Bug 692635: Transaction abort events should bubble. r=sicking 2011-11-23 09:15:15 -05:00
Kyle Huey 1d1f1cf7eb Bug 702809: Allow creating indexes with empty keyPaths. r=sicking 2011-11-23 09:15:15 -05:00
Andrew McCreight 33d43f5ad9 Bug 704207 - HeapValue::gcKind should return JSGCTraceKind. r=billm 2011-11-23 09:14:04 -05:00
Rafael Ávila de Espíndola c9b08aeb85 Bug 676607 - Update the mozconfig files to point to the new gcc. r=catlee. 2011-11-23 09:07:32 -05:00
Alexander Surkov 0d29f1c82b Bug 703198 - JAWS doesn't announce combobox navigation in collapsed combobox, perf version, r=marcoz 2011-11-23 20:50:33 +08:00
Ed Morley c965e7cae0 Merge mozilla-central and mozilla-inbound 2011-11-23 12:12:23 +00:00
Masatoshi Kimura 47b6cb7d79 Bug 704284 - Crashtest, r=hsivonen 2011-11-23 10:22:41 +02:00
Dave Townsend 27dc153e62 Bug 699175: The current theme is not active when updating Firefox and the add-ons database schema changes. r=Unfocused 2011-11-22 18:28:27 -08:00
Myk Melez e24de41c00 no bug - update revision of Add-on SDK being tested; test-only 2011-11-22 16:28:04 -08:00