Commit Graph

84997 Commits

Author SHA1 Message Date
Makoto Kato
8a1baaa906 Bug 717526 - fix warning of nsStringAPI.h on Win64. r=dbaron 2012-01-25 15:43:27 +09:00
Jeff Walden
a1c3f8065a Bug 566700 - Remove sharp-syntax generation from the toSource methods. r=dmandelin
--HG--
extra : rebase_source : c0b47ed9fd5569e24f8ab058e7cb4e8df0941f68
2012-01-20 23:39:37 -08:00
Jeff Walden
5ea3eea94f Bug 566700 - Remove sharp variable support. r=dmandelin
--HG--
extra : rebase_source : 623f6ef8eb050d626b8c7a828949e291b34abc9a
2012-01-07 00:55:32 -06:00
Jeff Muizelaar
84e78d7e00 Bug 720721. Properly transform the clip path in DrawTargetCG. r=mwoodrow
This is a little tricky because we can't put a save/restore pair
around the operation because then we'll loose the clip.
2012-01-24 15:14:50 -05:00
Luke Wagner
73a1588f02 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Terrence Cole
4f446e3a9a Bug 720891 - Despecialize the optimization for TypeObject marking; r=bhackett
This is not worth the cognitive burden and prevents us from nicely compacting
the Marker function definitions.
2012-01-24 16:28:41 -08:00
Matt Brubeck
5077ebeaea Bug 718296 - Use third-party fixup on location bar searches [r=wesj] 2012-01-24 18:39:22 -08:00
Bill McCloskey
6ee3ac4d49 Bug 720853 - Add read barrier for atom table (r=luke) 2012-01-24 18:32:56 -08:00
Bill McCloskey
5432dc90b6 Bug 720848 - Trace through watchpoints from TraceRuntime (r=jorendorff) 2012-01-24 18:32:17 -08:00
Honza Bambas
3b16857c51 Bug 717773 - Crash [@ SpdySession::LogIO] on gmail part 2 r=mcmanus 2012-01-24 20:59:48 -05:00
Wes Johnston
8e90572458 Bug 720058 - Follow up for review comments. r=bnicholson 2012-01-25 02:34:09 +01:00
Matt Brubeck
0978981988 Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
L. David Baron
3c6538e862 Make selects and things inside them not be containers for font size inflation, so that font inflation inflate selects appropriately along with what surrounds them. (Bug 706609, patch 8) r=roc 2012-01-24 17:21:29 -08:00
L. David Baron
411a77c90f Apply font size inflation to 'line-height: normal' by using the metrics of the inflated font rather than multiplying the inflation by the result for the uninflated font. (Bug 706609, patch 7) r=roc
This matters primarily because it makes font inflation easier to test by
avoiding rounding differences.  It fixes two existing tests that were
disabled and also makes it possible to test font inflation of selects
(since options have line-height: normal ! important in the UA style
sheet).
2012-01-24 17:21:29 -08:00
L. David Baron
67a0afcf6e Honor inflation during intrinsic width computation when needed. (Bug 706609, patch 6) r=roc
This is the second of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
d789ef0b1b Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
ba70aee5a1 Set inflation container to null during ComputeSize calls for inflation containers, when we should not have inflation applied. (Bug 706609, patch 4.5) r=roc 2012-01-24 17:21:29 -08:00
L. David Baron
0ce777d92e Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
58d3dd0576 Make floating :first-letter frames not be containers for font size inflation, to avoid triggering assertions. (Bug 706609, patch 3.5) r=roc 2012-01-24 17:21:28 -08:00
L. David Baron
5f13418d9a Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron
bc9d84082d Add member variables to pres context to track, during reflow and intrinsic sizing, the current inflation container and its width. (Bug 706609, patch 2) r=roc
This is the first of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron
a2396850d4 Add a frame state bit for whether a frame is a container for font size inflation (Bug 706609, patch 1) r=roc
This moves the logic currently in
nsLayoutUtils::IsContainerForFontSizeInflation into frame initialization
so that we can (later, for bug 706193) make that logic more complicated.
2012-01-24 17:21:28 -08:00
L. David Baron
4292c12ab7 Fix error report for unexpected character terminating style attribute. (Bug 720163) r=bzbarsky 2012-01-24 17:21:28 -08:00
Wes Johnston
3541580df1 Bug 719309 - Follow up. Rename a variable. r=mfinkle 2012-01-25 01:41:02 +01:00
Christopher De Cairos
57cbddb595 Bug 686137 - Make nsMediaDecoder::RequestFrameBufferLength virtual. r=kinetik 2012-01-25 13:38:23 +13:00
Christopher De Cairos
3fd6013dea Bug 686137 - Add test for setting mozFrameBufferLength. r=kinetik 2012-01-25 13:38:22 +13:00
Wes Johnston
89eb7a6804 Bug 716595 - Don't alter selection if we cancel a select dialog. r=mleibovic 2012-01-25 01:31:33 +01:00
Wes Johnston
0e1b165b9b Bug 720058 - Only allow showing one select ui at a time. r=bnicholson 2012-01-25 01:31:33 +01:00
Wes Johnston
07974eb3e9 Bug 715925 - Indent options in opt groups. r=sriram 2012-01-25 01:31:33 +01:00
Wes Johnston
98723cafe4 Bug 301471 - Autofocus the Try Again button in the net error dialog. r=bz 2012-01-25 01:31:33 +01:00
Wes Johnston
e544791167 Bug 719309 - Hook up touch events pref and disable them for now. r=mfinkle 2012-01-25 01:31:33 +01:00
Wes Johnston
a8f3aaa251 Bug 719240 - Delay sending touchmove events until touches have moved a minimum distance. r=mfinkle 2012-01-25 01:31:33 +01:00
Wes Johnston
b15cefee9e Bug 603008 - Only delay panning on pages with touch listeners. r=mfinkle 2012-01-25 01:31:33 +01:00
Wes Johnston
93c69a88ea Bug 603008 - Android widget multitouch implementation. r=blassey,kats 2012-01-25 01:31:33 +01:00
Steve Workman
c542c8f61b Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2012-01-20 15:14:46 -08:00
Jeff Muizelaar
223038ca63 Bug 719917. Add some more network and plugin related SAMPLE_LABELs. r=bgirard
--HG--
extra : rebase_source : d21f4ffb244ae661e1ca222c02a8fa8b40a071bd
2012-01-18 19:53:35 -05:00
Terrence Cole
9f235d9fdf Bug 720840 - Call MarkStringUnbarriered directly; r=billm
We have a special marker function for handling the Atom list because we need to
call JS_SET_TRACING_INDEX externally to avoid clobbering the index.  However,
nobody cares about the index here and if they do, they can add custom debug
code.  It is better at this point to have a consistent and correct interface,
thus we remove the specialized atomized string marking in favor of the existing
markers.  Additionally, this is only used during root marking so we can switch
to using MarkRoot for the extra assertions.

--HG--
extra : rebase_source : b4448f7fde8990a727bf2893e53688690e170535
2012-01-24 15:21:44 -08:00
Gavin Sharp
420e738e86 Bug 717105: add TelemetryTimestamps module to collect arbitrary timestamps with telemetry, and start using it for browser startup and sessionstore, r=zpao, r=taras 2012-01-10 16:19:06 -08:00
Benoit Jacob
b62ac022b9 back out Bug 696495 for linux m1 orange. 2012-01-24 17:37:44 -05:00
Jeff Walden
5da7a5ab8e Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger
--HG--
extra : rebase_source : 2794602c5fa7b1ee5a2d891b7ef0696985ceccd4
2012-01-24 10:30:46 -08:00
Jeff Walden
7757853965 Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger
--HG--
extra : rebase_source : 2b9e2c5ffff4c017489f54c504b90dacb02f8654
2012-01-24 10:29:55 -08:00
Jeff Walden
d3e68a0462 Bug 720759 - Export mfbt's guard object classes to avoid warnings using them in exported APIs. r=Ms2ger
--HG--
extra : rebase_source : d1de7a9549e1fe0d047b3882ebca711fc0a47b94
2012-01-24 09:22:47 -08:00
Patrick Walton
a91400a930 Bug 710533 - Tint the checkerboard with the background color of the page. r=Cwiiis 2012-01-23 20:10:24 -08:00
Daniel Holbert
3dd501a196 Bug 720815: Remove extra semicolons after NS_DECL_EVENT_HANDLER() statements. r=bent 2012-01-24 14:01:57 -08:00
Hub Figuière
c885ce74b6 Bug 369710 - Alerts are now usable with VoiceOver. r=tbsaunde
--HG--
extra : rebase_source : 0f5af488624a5c0ade97688b8af246c91637e6d4
2012-01-24 13:00:24 -08:00
Vivien Nicolas
be98dfe2eb Bug 720811 - this._activeCall is null if the call has not been answered r=philikon 2012-01-24 22:25:21 +01:00
Justin Lebar
5726a3c7e6 Bug 696162 - Followup: Use static_cast rather than reinterpret_cast, where appropriate. 2012-01-24 16:17:28 -05:00
Benoit Jacob
3b8b1dcef4 Bug 696495 - texture-mips.html failures might be workaroundable by setting minification filter before glGenerateMipmap call - r=jgilbert 2012-01-24 16:12:31 -05:00
Benoit Jacob
069451351b Bug 707460 - Fix WebGL framebuffer statuses and errors - r=jgilbert 2012-01-24 16:12:31 -05:00
Benoit Jacob
b248d21643 Bug 706674 - WebGLFramebufferAttachment's are not WebGLRectangleObject's - r=jgilbert
The main change is: remove the WebGLRectangleObject inheritance from
WebGLFramebufferAttachment, and instead have WebGLFramebufferAttachment
query its texture or renderbuffer for their dimensions, when needed.

In the course of doing this, a couple other needed changes appeared:
 - let WebGLTexture::ImageInfo inherit WebGLRectangleObject, so that WebGLFramebufferAttachment can return a pointer to it right away in the texture case
 - add a FramebufferRectangleObject() method to WebGLContext, that will return the dimensions of the bound FBO if there is one, otherwise will just return the contexts' own dimensions.
 - in order to do that, it was very convenient to let WebGLContext inherit WebGLRectangleObject so that FramebufferRectangleObject() could just return a pointer to that in the no-bound-FBO case.
 - move WebGLRectangleObject up in the file, above WebGLContext
 - there was a plain bug in WebGLFramebufferAttachment::HasAlpha(), we were not using the right image info within the texture.
2012-01-24 16:12:31 -05:00