Commit Graph

52133 Commits

Author SHA1 Message Date
Josh Aas
a675e2f394 Set MACOSX_DEPLOYMENT_TARGET properly per-architecture. Stop incorrectly targeting Mac OS X 10.5 for 64-bit builds by default. b=583318 r=ted a=blocking-final+ 2010-08-20 18:10:15 -04:00
Jim Chen
eaaf4b7e6b Bug 588456 - Properly commit Android IME composition on blur; r=mwu a=blocking-fennec 2010-08-20 17:07:26 -07:00
Dave Townsend
b5ebf047af Bug 588925: Cancelling an upgrade AddonInstall needs to remove the pendingUpgrade property from the existing addon. r=robstrong, a=blocking-betaN 2010-08-20 12:47:03 -07:00
Dave Townsend
8c7b40022a Bug 572966: Test that InstallTrigger callbacks can redirect to a relative url. r=robstrong, a=blocking-b5 2010-08-20 15:48:05 -07:00
Olli Pettay
7f42094ff8 Bug 588643 - Crash in [@ nsDocShell::SetHistoryEntry ], r=bent/neil, a=blocking 2010-08-21 00:26:52 +03:00
Mounir Lamouri ext:(%2C%20David%20Zbarsky%20%3Cdzbarsky%40gmail.com%3E)
f8ab79e415 Bug 582412 - Implement @formmethod, @formenctype. r=smaug sr=sicking a2.0=blocking 2010-08-20 19:47:30 +02:00
Robert Sayre
ae7a641fb5 Merge tracemonkey to mozilla-central. a=very many blockers 2010-08-20 17:09:59 -04:00
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
5b98449eb6 Bug 582057, part h: Add an nsIWidget::CreateChild interface to sweep (relevant to this bug) code dealing with native widgets under the widget/src/* rug. sr=roc 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Chris Jones
56e14668e0 Bug 582057, part f: Split out window initialization code in preparation for multiple CreateWidget* methods. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
68143e26fe Bug 582057, part e: Simplify the logic for creating popup widgets. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
4aa2f7ef7b Bug 582057, part d: Simplify nsView::LoadWidget and return early if it fails. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
7e921c626f Bug 582057, part c: Initialize default widget init data earlier so that it's always available. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Chris Jones
355220de11 Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
c633db44e6 Bug 582075, part 0.5: Add support for aInitData=NULL to the Windows nsWindow implementation. r=dougt 2010-08-20 14:29:01 -05:00
Chris Jones
0039a39a0b Bug 582057, part 0: Log the repaint region bounding rect in DumpPaintEvent. r=roc 2010-08-20 14:29:01 -05:00
Robert O'Callahan
8cbf8e9f2a Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Robert O'Callahan
06241c1e45 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Robert O'Callahan
e2e4b00b49 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-20 14:29:01 -05:00
Robert Sayre
d598acd055 Merge mozilla-central to tracemonkey. 2010-08-20 10:04:58 -04:00
Ryan VanderMeulen
e2afcb8aa4 Bug 588977 - Fix MSVC warning spam by casting as floats. r=roc a2.0=joe 2010-08-20 14:45:07 +02:00
Chris Jones
d1bb68aac7 Bug 585817, part 0: Use gfxWindowsPlatform::GetScreenDC to compute the minimum widget size. r=roc 2010-08-19 21:19:00 -05:00
Brad Lassey
33816aedc6 bug 588470 - Fennec crashes when opening the download manager after a download is started r=mwu a=blocking-fennec-2.0a1+ 2010-08-19 18:33:06 -07:00
Edmund Wong
1bb7d157fb Bug 576026 - runtests.py.in is an interpolated file and shouldn't be. r=ted, a=bsmedberg
--HG--
rename : testing/mochitest/runtests.py.in => testing/mochitest/runtests.py
2010-08-21 12:52:22 -07:00
Rich Walsh
6c1bf4fc0c Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 3 - nsWindow. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:51:00 -07:00
Rich Walsh
420a678bbd Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 2 - MozCairo and Thebes. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:50:32 -07:00
Rich Walsh
b78cd74449 Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 1 - Cairo. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:47:43 -07:00
Jacek Caban
3ad9308f83 Bug 587322 - Compilation broken on MOZ_WINSDK_TARGETVER < MOZ_NTDDI_LONGHORN. r=robarnold, a=dbaron 2010-08-21 12:43:53 -07:00
Michal Novotny
d265e0adb1 Bug 513008 - Eliminate synchronous reads from cache, r=jduell,sdwilsh, sr=shaver, a=betaN+ 2010-08-21 11:16:40 -07:00
Bas Schouten
4e42d7bf1a Bug 585817, part -1: Create and expose a scratch DC from gfxWindowsPlatform. r=roc 2010-08-19 20:26:00 -05:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Jonas Sicking
0b25dbb018 Backout 2d6ead22831c (bug 588977) due to orange. a=backout 2010-08-20 10:25:52 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Clint Talbert
22d247b3a4 Bug 584611 - Correct mochitest test detection to search for test_* r=jmaher a=NPOTB 2010-08-20 08:27:58 -07:00
Dão Gottwald
a73729aa3e Backing out bogus CSS from bug 583386. a=backout 2010-08-20 15:57:17 +02:00
Luke Wagner
bff8e4e9d4 Bug 589015 - js_watch_set doesn't need that crazy dummy frame (r=mrbkap) 2010-08-19 18:02:17 -07:00
Nicholas Nethercote
4aa312b6f5 merge 2010-08-19 16:46:27 -07:00
Brian Hackett
2aeb294c19 Interface for JSStackFrame.argc, bug 586533. r=lw 2010-08-19 16:44:12 -07:00
Nicholas Nethercote
efa83280f0 Update nanojit-import-rev stamp. 2010-08-19 16:22:30 -07:00
Bill McCloskey
5113963733 Bug 564548: faster special cases for Math.pow, r=gal 2010-08-19 14:17:56 -07:00
Edwin Smith
8a316147b9 Bug 584935 - Speed up register iteration loops by using BSF instruction (r=nnethercote+)
Changed all the register iteration loops to use lsbSet/msbSet functions
that use fast find-first-bit intrinsics when available.  Typical loops of
the form:

  for (Register r = FirstReg; r <= LastReg; r = nextReg(r))
    if (predicate(r))
	  /* use r */

were transformed by replacing the per-iteration predicate with a single
mask calculation, then iterating through only the 1 bits in the mask:

  RegisterMask set = /* calculate predicate with bitmask ops */;
  for (Register r = lsReg(set); set; r = lsNextReg(set))
    /* use r */

Iteration can be low-to-hi with lsReg/lsNextReg, or hi-to-low with msReg/msNextReg.
Primitives are provided for 32 and 64-bit masks.  PPC and MIPS need a 64-bit
mask, for example, even on 32-bit systems.

Refactoring details:

I renamed msbSet() to msbSet32() as part of adding [msb|lsb]Set[32|64], which
affected the AccSet code trivially.

I used if (sizeof(RegisterMask) == 4) to choose between 32 and 64bit
implementations, counting on a sane compiler to strip out the provably dead
path. An alternative would be to move the definitions of lsReg() and msReg() to
NativeXXX.h, after the RegisterMask typedef, allowing backends to hardcode the
choice.  Given we have six backends and one more on the way, it seemed better
to centralize the code and also avoid more ifdefs.

I moved the definitions of msbSet/lsbSet to nanojit.h, where other such helpers
already live.  It didn't seem appropriate to keep adding to LIR.h since the
helpers will now be used in several places in nanojit.

RegAlloc::managed is now set in Assembler.cpp instead of each backend; six
lines of code replaced by one.

prevreg() was dead after these changes.  Additionally, I hand-inlined nextreg()
in the other backends, because the usage was highly specialized -- those call
sites depended on nextreg being reg+1, (or reg+2) not some generic iteration.

I removed RegAlloc::countActive() since the only case was testing countActive()
== 0, which is equivalent to activeMask() == 0.

--HG--
extra : convert_revision : c7009f5cd83ea028b98f59e1f8830a76ba27c1dd
2010-08-19 16:04:19 -04:00
Robert Sayre
b54b2278b9 Merge from mozilla-central 2010-08-19 13:50:37 -04:00
Dan Witte
450bb6ea23 Merge m-c -> e10s. 2010-08-19 09:26:45 -07:00
Jim Mathies ext:(%2C%20Rob%20Arnold%20%3Crobarnold%40cs.cmu.edu%3E)
69070bf96e Bug 559613 - Reuse the rendering context for tab previews and drop the cache time to 5 seconds. r=robarnold,jimm sr=vlad
a=blocking2.0
2010-08-19 08:22:46 -07:00
Shawn Wilsher
f85cdd7d11 Backed out changeset 8caf58f301b2 (bug 178506 - save original last-modified date on file downloads) since it is no longer the right thing to do.
a=shaver (via irc)
2010-08-19 08:22:02 -07:00
Robert Sayre
43c1350df6 Merge mozilla-central to tracemonkey. 2010-08-19 11:18:37 -04:00
Axel Hecht
919cdfddf9 bug 559961, explicitly abspath optimizejars.py, js, too, r=khuey, a=bustage-fix 2010-08-19 16:46:38 +02:00