Commit Graph

75057 Commits

Author SHA1 Message Date
Ms2ger
5067dcabc0 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
c046ca0ed7 Backout bug 675075 for bustage 2011-08-14 20:05:20 +02:00
Ms2ger
d6c9f62e8c Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage 2011-08-14 19:52:28 +02:00
Ms2ger
3980c93ae7 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug 2011-08-14 19:22:29 +02:00
Matheus Kerschbaum
d996705797 Bug 677529 - Remove manual jspubtd.h inclusions from IDL files. r=Ms2ger 2011-08-14 19:12:35 +02:00
Ms2ger
ec8c8feeed Bug 677529 - Check return values in pyidl's Method::needsJSTypes; f=Matheus r=khuey 2011-08-14 19:12:21 +02:00
Marco Castelluccio
f7facf9181 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 19:04:54 +02:00
Ed Morley
c9d40f8583 Bug 665532 - Fix unused variable warnings in nsWifiMonitor.cpp by removing now unneeded LOG()s; r=dougt 2011-08-14 19:04:06 +02:00
Siddharth Agarwal
8d7591a3ec Bug 678475 - Make mozconfig-find always return an absolute path. Patch adapted from code by Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org>. r=ted 2011-08-14 22:04:46 +05:30
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
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
Kyle Huey
c0e19976c5 Bug 673742: Allow postMessage()ing File and FileLists between same-origin windows. r=sicking 2011-08-12 12:58:43 -04:00
Kyle Huey
e1aa86b64b Backout Bug 650494 for causing a startup assertion/crash. 2011-08-12 12:58:33 -04:00
Kyle Huey
b6ebaf7360 Backed out changeset b021d1f9f57d 2011-08-12 12:58:06 -04:00
Kyle Huey
ce4b8a179a Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted 2011-08-12 12:07:09 -04:00
Kyle Huey
b7936f88be Bug 678479: Add a --regen argument to header.py and typelib.py to regenerate the IDL parser. r=ted 2011-08-12 12:06:46 -04:00
Marco Castelluccio
0eb13677f5 Bug 650494: Remove nsIXULPrototypeCache. r=smaug 2011-08-12 09:12:59 -04:00
Benoit Jacob
7c39744842 Bug 676413 - fix the crossOrigin attribute test - r=smaug
This is not a limited-enumerated attribute, so let's use reflectString instead.
2011-08-11 18:17:59 -04:00
Ehsan Akhgari
8f9833776e Bug 669116 - Add memory reporter for the spell checker; r=njn,khuey 2011-08-11 10:57:08 -04:00
Chris Leary
44ce315942 Bug 675269: shell arguments bound to global |arguments|. (r=dvander) 2011-08-15 13:57:53 -07:00
Jeff Walden
98b0739498 Bug 678998 - Rename IsFunctionQName to GetLocalNameFromFunctionQName and make it infallible, now that QName's localName slot stores an atom and conversion to jsid can be infallible. r=luke
--HG--
extra : rebase_source : 5f0958ab3053b07ca87eb5955b274e3bd551d23d
2011-08-15 00:12:48 -04:00
Jeff Walden
dbd2819cf5 Bug 678998 - Make the QName localName slot store a local name that's been atomized, for simplicity. r=luke
--HG--
extra : rebase_source : 87d44a95111da809436322d95abd506e1c7beb00
2011-08-15 00:12:48 -04:00
Daniel Holbert
4f7855da4c (no bug) Use C-style instead of C++-style comment in jsopcode.h. rs=mrbkap 2011-08-15 12:11:41 -07:00
Rafael Ávila de Espíndola
6ee4a6409e Bug 678361 - Fix missing corner case from bug 655339. r=smichaud.
With this the check for a broken egrep is also used when building with
CC="gcc -arch i386" CXX="g++ -arch i386".
2011-08-15 15:09:24 -04:00
Rafael Ávila de Espíndola
f09e29fb23 Bug 674647 - Update OS X mozconfig snippets. r=ted.mielczarek.
Pass --target to configure in mozconfig.leopard. It is needed by the gcc
in 10.6. Without this gcc would look for the 10.6 CRT files in the 10.5 SDK
and fail.

Don't include the kernel version in  universal/mozconfig.common for consistency.

--HG--
extra : rebase_source : 0b8beaa6a6eef94700269218311421fa3031cbc5
2011-08-15 14:45:37 -04:00
Daniel Holbert
429357d73b Bug 678845: Add "u" suffix to large integer literal values in testIndexToString.cpp, to fix GCC warning. r=Waldo 2011-08-15 11:44:17 -07:00
Scott Johnson
933fb53b10 Bug 673984 - Fix crash in nsImageLoader::DoRedraw by clearing image loaders even on ignore of frame destruction callbacks. [r=dbaron,dholbert] 2011-08-15 11:44:15 -07:00
Robert Longson
f7e6cfcfc3 Bug 678250 - Filter bounds rounded before scaling so small filters may be too large. r=roc 2011-08-15 19:41:57 +01:00
Wes Johnston
77e3901fd6 Bug 675252 - Check for locale updates before updating Fennec. r=mfinkle 2011-08-15 10:42:52 -07:00
Wes Johnston
6b5a926e25 Bug 668029 - Pull strings out of available locales list when using localePicker. r=mfinkle 2011-08-15 10:42:50 -07:00
Rafael Ávila de Espíndola
c8cc80b651 Bug 678069 - Fix build with clang and c++0x. r=joshmoz.
mShWidth and mShHeight are used in an initializer list for NPRect in fields
that have type uint16_t. Change their definitions to match.
2011-08-15 13:07:40 -04:00
Dão Gottwald
287ccc294f Bug 580194 - use inverted tabbrowser icons on glass and dark personas. r=shorlander 2011-08-15 17:43:36 +02:00
Stephen Horlander
54d348015a Bug 580194 - add inverted tabbrowser icons 2011-08-15 17:42:53 +02:00
Edgar Flores
f676a11de4 Bug 624743 - Resource protocol shouldn't use nsDependentCString. r=bsmedberg 2011-08-11 21:43:00 -04:00
Benoit Jacob
da8591f8ce Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
0a3e57c7ac Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz 2011-08-10 18:25:22 -04:00
Boris Zbarsky
a7f91c37d8 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Benoit Jacob
3c303c4734 Bug 678053 - blacklist geforce <= 7 for WebGL on Mac - r=jrmuizel 2011-08-11 18:17:50 -04:00