Commit Graph

74975 Commits

Author SHA1 Message Date
Oleg Romashin
bc66c9bdd2 Bug 678431 - Compilation without MOZ_MEDIA defined is broken r=Olli.Pettay 2011-08-14 19:31:36 -07:00
Phil Ringnalda
34e9bd3e8e Bug 678781 - warnings-as-errors - format '%p' expects type 'void*', but argument 4 has type 'JSScript*' in InvokeHelpers.cpp:880:80, r=billm 2011-08-14 15:34:22 -07:00
Phil Ringnalda
fa03efb938 Bug 590415 - Mark 368020-1.html as random on WinXP, since we've clearly made it so 2011-08-14 14:47:36 -07:00
Ben Turner
82bf696f9e Bug 678057 - 'Workers: overrideMimeType() removed from XHR, breaks web content, diverges from main-thread XHR'. r=sicking.
--HG--
extra : transplant_source : %D5r%ADtwT%DF%BAO-2sav%CCD%E2Y%B2Q
2011-08-13 12:43:51 -07:00
Daniel Holbert
4b973d587a Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
Marco Castelluccio
b8fd68e0c6 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Ed Morley
dc3c793de5 Bug 665532 - Fix unused variable warnings in nsWifiMonitor.cpp by removing now unneeded LOG()s; r=dougt 2011-08-14 10:39:20 -07:00
L. David Baron
22f0790155 Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness).  Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
L. David Baron
e9801c3364 Remove nsPresContext::GetMetricsFor, which was always a bad idea since it uses the generally-incorrect language-from-charset. (Bug 678671, patch 4) r=roc
This fixes the one remaining caller (the debugging code to visually
display reflow counts!) to just pass a null language, since it's just
debugging code.
2011-08-14 10:08:04 -07:00
L. David Baron
219025b071 Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.

This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent.  It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
L. David Baron
0cd491390d Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
2c717f398d Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Geoff Lankow
9fa69f3c96 Bug 669390 - Update mobile settings to use type="menulist"; r=mfinkle 2011-08-14 16:06:01 +12:00
Geoff Lankow
c5860ebd02 Bug 669390 - Allow setting a preference value from the menulist inline preferences; r=Unfocused 2011-08-14 16:05:24 +12:00
Geoff Lankow
377fbcde2c Bug 669345 - Add support for radio button elements for inline preferences; r=Unfocused 2011-08-14 15:53:49 +12:00
Jonathan Hage
0292adecf2 Bug 669713 - Increment the scriptlevel of the over child in <munderover accent=true> when rendered as a supscript; r=karlt 2011-08-14 11:17:22 +02:00
Steffen Wilberg
5041f3a069 Bug 678660: Hide about:newaddon from about:about, because it closes itself. r=rstrong 2011-08-14 10:00:25 +02:00
Joshua Cranmer
8c61a13356 Bug 676857 - Make it an error if interfaces have too many methods.
The error is made at compile-time, and also causes an error if trying to make a
stub like this. Finally, it also refuses to load such an interface.

These restrictions only apply to script-implementable interfaces.
2011-08-05 11:34:13 -07:00
Ehsan Akhgari
00c1c060f7 Merge mozilla-central and mozilla-inbound 2011-08-13 20:35:04 -04:00
Rob Campbell
750760ea90 merge fx-team to m-c 2011-08-13 11:21:59 -03:00
Jonathan Kew
ef8cece286 bug 678181 - back out second part of bug 668813 (changeset 431a8297db1f) on suspicion of causing crashiness. r=backout 2011-08-13 13:34:56 +01:00
Kyle Huey
7230dcfcf8 Merge b-s to m-c. 2011-08-13 08:27:55 -04:00
ffxbld
a902b9800a Automated blocklist update from host mv-moz2-linux-ix-slave17 2011-08-13 02:45:07 -07:00
Dave Townsend
0ccbf2cd23 Backout changeset d980e7a3aa49 from bug 677424 due to test failures. 2011-08-12 21:59:55 -07:00
Dave Townsend
d9cbf2900c Bug 596343: Users should have exclusive control over selecting their add-ons. r=Unfocused 2011-08-12 16:55:34 -07:00
Dave Townsend
14105d23b0 Backed out changeset 6d6e8fecaf37 from bug 596343 due to build failures 2011-08-12 15:47:34 -07:00
Dave Townsend
026995192b Bug 596343: Users should have exclusive control over selecting their add-ons. r=Unfocused 2011-08-12 13:45:45 -07:00
Dave Townsend
ae1c38cd55 Bug 476430: Disable third-party add-ons by default and offer them to the user. r=Unfocused, r=robstrong 2011-08-12 13:50:47 -07:00
Robert Strong
5e54eb0416 Bug 677674 - absolute path is required to build test pilot. r=dtownsend 2011-08-12 13:39:47 -07:00
Jeff Muizelaar
49d871e1d4 Bug 664930 - Handle the case where an edge lies at the left most coordinate and initialize the rest of the data; r=bjacob 2011-08-12 15:18:06 -04:00
Mark Finkle
b445c46d73 Bug 639794 - Opening a webpage from an external app should hide sidebars and panels [r=mbrubeck] 2011-08-13 20:11:32 -04:00
Jason Orendorff
fbb0edbd8d Merge jsdbg2 to mozilla-inbound. See bug 672829. 2011-08-13 13:29:18 -05:00
Bernd
d39ebba03b bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
Bernd
539f4434ae bug 678447 - prevent splitting of tables inside columnsets during printing r=roc 2011-08-13 18:37:43 +02:00
Jason Orendorff
a1ebe4283d Mark test regress-677589.js as shell-only, since it tests the shell-only clone() function. no_r=me. 2011-08-13 07:05:43 -05:00
Jason Orendorff
e1a7105345 Fix GCC bogus opt-only warning in jsoptparse.cpp. no_r=me. 2011-08-13 07:00:33 -05:00
Jason Orendorff
36ce3d311c Fix opt-only linker error due to missing #include (probably due to a bad merge). r=try_server_red. 2011-08-13 06:57:35 -05:00
Robert Sayre
84d46f8730 Bug 678656 - fix some warnings in js/src/jsemit.cpp. r=dmandelin. 2011-08-13 06:54:16 -05:00
Jason Orendorff
d0dae6067c Merge from mozilla-central to jsdbg2. 2011-08-12 18:18:59 -05:00
Jason Orendorff
b213ad1587 Address review comment from bhackett (bug 672829 comment 84). 2011-08-12 17:22:43 -05:00
Andrew McCreight
04563d23c1 Bug 677358 - change GC+CC button to a CC button in about:memory. r=njn 2011-08-12 11:48:18 -07:00
Jonathan Hage
822cfb4c1d Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt 2011-08-13 17:22:12 +02:00
Markus Stange
aeee3d5192 Bug 678481 - Send a mouse move event after switiching into or out of drawintitlebar mode so that Gecko knows about the changed mouse position relative to the Gecko content area. r=josh 2011-08-13 16:25:39 +02:00
Markus Stange
e55033752d Bug 678002 / bug 678184 - Don't call +[NSGraphicsContext setCurrentContext:] when drawing window contents into the titlebar because it's unnecessary and results in erratic behavior for unknown reasons. r=josh 2011-08-13 16:15:46 +02:00
Vidar Haarr
5869e7ff62 Bug 232691 - Replace nsString emptyString; with EmptyString() in nsHTMLEditRules; r=ehsan 2011-08-13 14:59:48 +02:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Phil Ringnalda
d3b432509b Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Paul Biggar
373ea045df No bug: Fix comment where "new_array" should be "array_new" (rs=sfink). 2011-08-12 17:15:59 -07:00
Mark Finkle
fb4bf0810e Bug 677999 - Make home screen bookmark icons pretty [r=wjohnston] 2011-08-12 14:00:14 -04:00
Mark Finkle
cd886d4532 Bug 677975 - Exception [nsIShellService.createShortcut] @ BookmarkHelper.js :: <TOP_LEVEL> :: line 92 [r=wjohnston] 2011-08-12 14:00:12 -04:00