Commit Graph

33349 Commits

Author SHA1 Message Date
Robert O'Callahan
956121ecec Bug 508945. Additional fixes for plugin printing when the plugin has borders or padding. r=dbaron
--HG--
extra : rebase_source : ea7b64d55c43a04c72ad38529aa35c3a3bb7a127
2009-09-11 13:44:20 +12:00
Robert O'Callahan
794f4fa11d Bug 508495. Remove CreateWidgetForView from nsIFrame and nsObjectFrame since it's no longer used there. r=dbaron
--HG--
extra : rebase_source : c400af6f507ea046e952b9c612dc2d7fca00ff91
2009-09-30 07:32:43 +10:00
Robert O'Callahan
0661a95762 Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Robert O'Callahan
2e6f2bd071 Bug 513082. Round out 'region of moving visible content' to device pixels to reduce incidence of stray subpixel rectangles causing unnecessary painting. r=dbaron
--HG--
extra : rebase_source : a976be084de5b610089cebe1da9a9c5a2e580cb2
2009-09-07 12:35:14 +12:00
Robert O'Callahan
3574bf3fd3 Bug 510856. Additional scrolling tests.
--HG--
extra : rebase_source : 053c6aae0cc3b458647b296ffb6ce885af2ef7a4
2009-09-07 12:35:13 +12:00
Robert O'Callahan
07ec9a4619 Bug 517818. Wave decoder should not look beyond the Wave data area to see if we have a 'next frame' to play. r=kinetik
--HG--
extra : rebase_source : 9964f0fe36d35745354f5723b5d82b1fc18520d6
2009-09-30 07:32:41 +10:00
Robert O'Callahan
f98d7a8ba5 Bug 517818. Treat HTTP errors (other than 416 'Requested Range Not Available') as network errors. And do not allow an error page to be treated as media data. r=kinetik
--HG--
extra : rebase_source : 47f44d18ff0d2c33f2642ae5bedb132cc43eb3cb
2009-09-30 07:32:30 +10:00
Robert O'Callahan
463d7e407a Bug 517818. When nsMediaCache::Update wants to read from the end of the stream, don't resume if we're already suspended. And if the channel is not already positioned at the end, suspend instead of seeking to the end, since there is no point in seeking to the end and it may cause harmful side effects. r=doublec
--HG--
extra : rebase_source : e816c61621f5dd7c670687cf1a70d2eccb488dd6
2009-09-30 06:48:05 +10:00
Robert O'Callahan
3f31ace6a0 Bug 510856. ComputeRepaintRegionForCopy should not look outside the update rect for moving and non-moving visible content. r=dbaron
--HG--
extra : rebase_source : 4b2bb7ca8ca883c4d2ba6e14f5a43c82c831fc32
2009-09-07 12:35:13 +12:00
Robert O'Callahan
34fb2c86a0 Bug 396392. Fix test to not assume that the height of a block matches the height of the text inside it.
--HG--
extra : rebase_source : a733ab3f27f2c54a09ad28c8274c119ac0edbe11
2009-09-25 17:18:21 +12:00
Robert O'Callahan
79306e31ef Bug 442715. Invalidate the whole border-box when an element's size changes and its background is being clipped by a border-radius. r=dbaron
--HG--
extra : rebase_source : b9e738ebd64cbcc871a7d1a7178e1eccf64e66f1
2009-09-25 11:52:13 +12:00
Robert O'Callahan
56caf25e1b Bug 509693. Don't use SW_SCROLLCHILDREN if some child has a descendant window that's outside the scrolled rectangle. r=jmathies
--HG--
extra : rebase_source : d6762b4e570d90e7a2561597ddc071383a923092
2009-09-24 21:37:01 +12:00
Robert O'Callahan
69525d5240 Bug 509693. Make Windows test plugin in windowed mode have a child widget, and add API so we can check that that child widget is in the right place. r=josh
--HG--
extra : rebase_source : ad7de0da07561499e68229503945713c2f390aa1
2009-09-24 21:35:17 +12:00
Robert O'Callahan
7fa763ef88 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh
--HG--
extra : rebase_source : 14ebf24d00378e65e75b75692b9d82a020966db1
2009-09-24 21:32:20 +12:00
Robert O'Callahan
e4bc55769e Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Dão Gottwald
d21bfbc361 Testing impact on Ts Shutdown 2009-10-02 01:51:49 +02:00
Ted Mielczarek
d5ed615fdd bug 518641 followup, don't try to copy files around if the test-package directories don't exist.
--HG--
extra : rebase_source : baa18363c47218f4020b19c9782155c9aae27992
2009-10-01 18:07:52 -04:00
Blake Kaplan
1b993d3f38 Bug 518991 - Implement access controls in COWs. For now, this is opt-in default unsafe. r=jst 2009-09-30 19:38:57 -07:00
Ben Newman
c68af46729 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Boris Zbarsky
754044a90f Bug 519987. Test and assert. r=sicking 2009-10-01 16:17:26 -04:00
Boris Zbarsky
b0047bd1a2 Bug 514120. Don't bother looking for XBL bindings on non-XUL nodes in display:none subtrees. r=sicking,enn 2009-10-01 16:17:25 -04:00
Shawn Wilsher
168578cfbc Bug 494828 - Stop using our own mutexes and use SQLite's where possible.
Part 2: Use the helper object in a few places where we had our own mutexes.
r=asuth

--HG--
extra : rebase_source : 3f2f703274df0405bc395191dec8f522e5aa4e40
2009-07-22 15:18:33 -07:00
Dão Gottwald
4863e688bc Bug 518859 - Lightweight theme not applied to titlebar. r=enn 2009-10-01 20:57:37 +02:00
Steve Snyder
6a4d539353 Bug 512865. qcms: Improve SSE2 performance, add SSE support. r=jrmuizel
This patch greatly improves the performance of QCMS transformations on x86 &
x86_64 systems.  Some notes:

0. On 32-bit x86 systems it does runtime selection between non-SIMD, SSE, and
SSE2 code paths.

1. On x86_64 systems the SSE2 code path is always taken.  The non-SIMD and SSE
code paths are left intact, but contemporary versions of the GCC and MSVC
compilers will see that they cannot be reached and optimize them away.

2. The execution of the SSE2 code path is reduced by 67%, relative to the
original Intel/Microsoft formatted ASM code.  The relative performance is seen
on a Pentium4 (Northwood) 2.4GHz CPU with DDR1 RAM.

3. The SSE code path provides a 80% reduction in execution time, relative to
the non-SIMD code path.  The relative performance is seen on a Pentium3
(Coppermine) 1.26GHz CPU with SDRAM.

4. The code has been split out into separate files so that it can be built
with different cflags (-msse, and -msse2) when using gcc.

5. Try to land again, this time with __attribute__((__force_align_arg_pointer__))
to avoid crashes on linux.
2009-10-01 14:19:41 -04:00
Ted Mielczarek
bbfd17804c bug 519727 - test_bug430120.js fails on OS X Universal builds. r=mossop
--HG--
extra : rebase_source : 06e499cb88ab25633d27e467e5783ce20194c102
2009-10-01 14:17:27 -04:00
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
Shawn Wilsher
e4b4c35f3c Bug 519270 - Upgrade to SQLite 3.6.18
This changeset contains the changes to SQLite code.
2009-10-01 10:17:03 -07:00
Shawn Wilsher
210ef32add Bug 519270 - Upgrade to SQLite 3.6.18
This changeset contains the changes to mozilla code for the upgrade.
2009-10-01 10:17:02 -07:00
Shawn Wilsher
88bb83f4b2 Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Dietrich Ayala
f66429541f Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Boris Zbarsky
25c2a2fded Bug 488249 followup. Make some more HTML nodeinfos use the right namespace. 2009-10-01 11:54:10 -04:00
Benjamin Smedberg
3c188b80ba Force rebuild of nsLocalFileUnix.cpp
--HG--
extra : rebase_source : 4bae544468e94d7d5bcbebe5d5de042c59b5b168
2009-10-01 11:23:54 -04:00
Dão Gottwald
4d33dfaf56 Attempt to address Ts Shutdown regression, follow-up to bug 334697 2009-10-01 17:00:06 +02:00
Benjamin Smedberg
f2b4e282b8 Add sys/quota.h to the system headers the correct way (followup to bug 72892) 2009-10-01 10:40:11 -04:00
Blair McBride
c648d9f0ec Bug 467601 - long page titles hide tagging icon and tags' text in location bar dropdown list. r=enn 2009-10-01 16:12:29 +02:00
Blair McBride
814a48f0a5 Bug 432213 - Bookmark dialog position incorrectly when bookmarking frame. r=mak77, ui-r=limi 2009-10-01 16:10:53 +02:00
Dão Gottwald
2a893dd50b add missing semicolons 2009-10-01 16:07:21 +02:00
Martin Stránský
485d0bfba9 Bug 72892 - nsLocalFile::GetDiskSpaceAvaialble ignores quotas for unix, r=bsmedberg
--HG--
extra : rebase_source : 3bd5a75f7548a1ca45ff96676a752f23a2e9a13d
2009-09-30 14:26:10 -04:00
Wladimir Palant
3d03f60b04 Bug 469856 (patch from Bug 413171) - "could not initialize the application's security component" with non-native characters in the profile path, r=bsmedberg moa=kaie
--HG--
extra : rebase_source : b1ca64d17ceee32c4702e49568a6ba3e04e800f1
2008-12-15 11:35:40 +01:00
Gijs Kruitbosch
bf943f9594 Bug 514872 - nsWildCard ~ regexp was broken. r=jwalden+bmo (Jeff Walden) 2009-10-01 08:46:28 -04:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Dão Gottwald
69f90982c1 Bug 334697 - Implement pie-chart throbber. r=vlad, ui-r=beltzner 2009-10-01 14:31:24 +02:00
Graeme McCutcheon
8578164461 Bug 519695 - Assorted findbar nits: set up the highlight search range in a more straightforward way, return the correct result from _highlightDoc, and remove some whitespace. r=gavin 2009-10-01 12:03:22 +01:00
Dão Gottwald
73990be06c merge 2009-10-01 12:12:55 +02:00
Dão Gottwald
a1a3afbb88 Backed out bug 334697 to see if it caused a Ts Shutdown regression 2009-10-01 12:11:50 +02:00
Dão Gottwald
d001b590f3 Bug 453063 - Support for fullscreen video playback. r=dolske, ui-r=boriss 2009-10-01 10:49:00 +02:00
Daniel Holbert
28bd582ea8 Bug 519875: Rename SpacerFrame::GetType method to GetSpacerType so that it won't hide inherited method nsFrame::GetType. r=dbaron 2009-10-01 00:19:21 -07:00
Daniel Holbert
d369b7dab0 Bug 519883: Use PRPackedBool instead of PRBool for bitfields in nsObjectLoadingContent. r=sicking 2009-10-01 00:18:12 -07:00