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

252558 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert af38a5be63 Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
Marco Castelluccio d3f9d68e9e Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Ed Morley 683589351f 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 b3f49b92ba 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 fa63f6d2c9 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 b47daece8e 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 84b8b6bf64 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 d2b6891283 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 4bf1621dbc Bug 673742: Allow postMessage()ing File and FileLists between same-origin windows. r=sicking 2011-08-12 12:58:43 -04:00
Kyle Huey 19993c8e8d Backout Bug 650494 for causing a startup assertion/crash. 2011-08-12 12:58:33 -04:00
Kyle Huey 92fccd2a28 Backed out changeset b021d1f9f57d 2011-08-12 12:58:06 -04:00
Kyle Huey ccbb26c3ab 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 36d6f9a425 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 790cf2a235 Bug 650494: Remove nsIXULPrototypeCache. r=smaug 2011-08-12 09:12:59 -04:00
Benoit Jacob 09f3b97ace 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 e90e748022 Bug 669116 - Add memory reporter for the spell checker; r=njn,khuey 2011-08-11 10:57:08 -04:00
Chris Leary 59db38b83f Bug 675269: shell arguments bound to global |arguments|. (r=dvander) 2011-08-15 13:57:53 -07:00
Jeff Walden e5483b3b1e 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 1b36104399 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 149bee7552 (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 c527718508 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 134048d0e8 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 87efe6e992 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 83996d7c43 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 06c1893a2d 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 c3b3536b52 Bug 675252 - Check for locale updates before updating Fennec. r=mfinkle 2011-08-15 10:42:52 -07:00
Wes Johnston 9d07b8a701 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 20bd92144e 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 63e1fb2bc2 Bug 580194 - use inverted tabbrowser icons on glass and dark personas. r=shorlander 2011-08-15 17:43:36 +02:00
Stephen Horlander df4e880496 Bug 580194 - add inverted tabbrowser icons 2011-08-15 17:42:53 +02:00
Edgar Flores 153c6aff41 Bug 624743 - Resource protocol shouldn't use nsDependentCString. r=bsmedberg 2011-08-11 21:43:00 -04:00
Benoit Jacob 495c9c0f00 Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob 8d3a866b35 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 cb62b5e34b 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 f54286f835 Bug 678053 - blacklist geforce <= 7 for WebGL on Mac - r=jrmuizel 2011-08-11 18:17:50 -04:00
Benoit Jacob 87b84c8733 Back out Bug 591057 / cset 02d5f1c5d438 because of 4% Ts regression 2011-08-11 14:24:52 -04:00
Steven Michaud 21ffbbde09 Bug 668953 - Support two-finger horizontal swipe on OS X Lion. r=bgirard 2011-08-11 12:42:23 -05:00
Rafael Ávila de Espíndola 58c0c20c7a Bug 677648 - Change the type of the 'advance' variable in gfxTextRun::AdjustAdvancesForSyntheticBold, to allow using it to initialize the mAdvance field of DetailedGlyph using clang in c++0x mode; r=roc 2011-08-11 15:40:59 +02:00
Rafael Ávila de Espíndola 67523116c9 Bug 678036 - Fix the build with clang in c++0x mode. The first field of a nanojit::CallInfo is a uintptr_t, fix the cast. r=cdleary 2011-08-11 15:39:13 +02:00
Ms2ger 56beecce2a Bug 677340 - Return already_AddRefed instead of nsCOMPtr from various functions in editor/; r=ehsan 2011-08-11 15:29:59 +02:00
Ms2ger 3245ed0541 Bug 677101, part d - Remove some includes from nsHTMLInputElement.cpp; r=volkmar 2011-08-11 15:29:59 +02:00
Ms2ger 3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger 4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri 43d40b8987 Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Mike Hommey 3defbb398d Bug 677247 - Fix-up test and re-enable it. rs=khuey 2011-08-11 11:42:02 +02:00
Mike Hommey 424509fd82 Backout be17ceae8d60 (test for bug 677247) due to win debug perma-orange
The test crashes when building with no optimization, but does so on the path
that bug 677247 doesn't touch.
2011-08-11 11:01:06 +02:00
Jan Varga e55a38f214 Bug 677463 - <menuitem>.label should return .textContent if there's no label content attribute r=smaug 2011-08-11 08:07:26 +02:00
Blair McBride ad4d8689c3 Backout 84ce41f8cec7 due to leak. 2011-08-11 18:04:02 +12:00
Mike Hommey f4cd3c4810 Bug 677247 - Test hook unregistration. r=ehsan 2011-08-11 07:55:11 +02:00
Mike Hommey 2b57c3eacd Bug 677247 - Unregister Dll hooks when WindowsDllInterceptor is destructed. r=ehsan 2011-08-11 07:54:57 +02:00