Commit Graph

19870 Commits

Author SHA1 Message Date
Robert O'Callahan
be904c4d3d Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky 2008-09-06 20:52:56 +12:00
Robert O'Callahan
43ba0d18d7 Bug 422283. Make sure that an overflow container's next-in-flows are always also overflow containers. This means that when we convert a normal frame into an overflow container, we need to scan through its next-in-flows and make them overflow containers too. r=fantasai,sr=mats 2008-09-06 20:48:09 +12:00
Robert O'Callahan
b934dd7421 Bug 442291. Avoid the bitblit scrolling path completely if the area to be repainted is more than half the area to scroll. The goal is to avoid the synchronous repaint required by bitblitting (synchronicity is required to minimize the delay between blitting and repainting --- the intermediate display is very ugly). Also, make scroll-induced full-view repainting DEFERRED, so that it's less urgent and more apt to coalesce, so we drop frames more easily when painting can't keep up during scrolling. r+sr=bz 2008-09-06 20:42:47 +12:00
Robert O'Callahan
1bc2d8883a Bug 446529. Disable uncommon ligatures on Mac/ATSUI. Make sure we don't enable common ligatures if ATSUI has disabled them by default for this font (e.g. for Courier). r=vlad 2008-09-06 20:37:58 +12:00
Vladimir Vukicevic
7c80853b9f Enable tracemonkey/nanojit for ARM. 2008-09-06 01:19:29 -07:00
Simon Bünzli
78649b88bb Bug 342635 - wrong scroll behaviour after loading new page while session restoring. r=dietrich 2008-09-06 05:42:39 +02:00
Simon Bünzli
fd23220e6f Bug 367052 - about:blank shows up in back arrow history of restored blank tabs. r=dietrich 2008-09-06 05:32:15 +02:00
Brendan Eich
a8474f5a5b Merge. 2008-09-05 20:31:05 -07:00
Simon Bünzli
2d0c4fb542 Bug 453831 - Focus in limbo after multi-tab launch pref set. r=dietrich 2008-09-06 05:27:49 +02:00
Brendan Eich
ba17412f5e Easy fixes to avoid aborting on V8/raytrace.js: MAX_CALLDEPTH doubled to 10; JSOP_NOT handles int and undefined. 2008-09-05 18:57:32 -07:00
Brendan Eich
623433f549 Merge. 2008-09-05 18:34:16 -07:00
Brendan Eich
fc936fa1da Checkpoint arguments tour-de-force (453730). 2008-09-05 18:29:08 -07:00
Vladimir Vukicevic
4a51b1989f [arm] Use preindexed STR instruction instead of separate STR and SUB in asm_pusharg 2008-09-05 18:24:58 -07:00
Boris Zbarsky
26eb4b45f5 Bug 453702. Don't try to convert |length| to a number for various array-like class resolve hooks. 2008-09-05 21:10:35 -04:00
Boris Zbarsky
ff8624d5d7 Bug 443769. Fix operator precedence snafu. r+sr=dbaron 2008-09-05 21:10:35 -04:00
Boris Zbarsky
ecd6b938cf Bug 452238. Remove unused imports collection code. r+sr=dbaron 2008-09-05 21:10:35 -04:00
Clint Talbert
9b17856f09 bug 451264 allowing reftest-wait and reftest-print together r=dbaron 2008-09-05 17:30:45 -07:00
Clint Talbert
49fdeda16f bug 451264 allow reftest-wait and reftest-print together r=dbaron 2008-09-05 17:28:03 -07:00
Vladimir Vukicevic
de76f2638d [arm] Have asm_quad copy direct from const to destination, if there's no register allocated for the const -- don't load into fp reg just to store it. 2008-09-05 17:24:54 -07:00
Vladimir Vukicevic
66c6f5db3a [arm] use arm_ADDi and let it take care of LD32 if necessary. 2008-09-05 17:23:36 -07:00
Doug Turner
aa344f7ce1 Bug 452489 - Fixes OOM predicate on OSSO to use the high water mark. r=bsmedberg 2008-09-05 17:21:36 -07:00
Vladimir Vukicevic
0b61a36a81 [arm] Don't load arg into a register in asm_pusharg if it's not in one already. 2008-09-05 17:19:31 -07:00
Vladimir Vukicevic
5c53ce04cc [arm] Don't use STMIA + ADD to move a fp call result into memory; use two STRs. Also use Scratch + tmp reg for asm_mmq, instead of just tmp. 2008-09-05 17:18:33 -07:00
Vladimir Vukicevic
7f39cd73d0 [arm] speed up store64 with constant value; also use xor for imm0 loads into a gp reg 2008-09-05 17:17:25 -07:00
Vladimir Vukicevic
02b2a31dc8 [arm] make asm_quad stick its constants into the instruction stream, with a branch over, to ensure that the data is close enough for a PC-relative FLDD 2008-09-05 17:15:23 -07:00
Vladimir Vukicevic
6ef2cd20aa [arm] Make ADDi into a function, since it's doing a lot of work 2008-09-05 17:14:05 -07:00
Ginn Chen
2763e5d63e Make TraceMonkey build on Solaris x86 with Sun Studio 12 (bug 452588, r=danderson). 2008-09-05 16:56:03 -07:00
Ben Turner
cb1f4f55af Bug 451731 - "Update caps, dom, xpconnect for Bug 451729 (checkObjectAccess moving to the JSContext)". r+sr=jst. 2008-09-05 16:26:04 -07:00
Ben Turner
1e5c70827f Bug 451729 - " Allow runtime's security callbacks to be overridden by a context". r=brendan. 2008-09-05 16:24:53 -07:00
David Anderson
85d4033733 Fixed a verbosity mode memory leak in LirNameMap::addName (bug 453895, r=sayrer). 2008-09-05 16:05:13 -07:00
Ginn Chen
a3f5be56ad Added new macro AVMPLUS_UNIX to reduce redundancy and add Solaris support to the TM browser build (bug 452589, r=dvander). 2008-09-05 15:15:00 -07:00
Johnny Stenback
6a65adf854 Fixing second part of bug 453571. Use more [optional] idl arguments, and less nsAXPCNativeCallContext. r+sr=bzbarsky@mit.edu 2008-09-05 14:54:53 -07:00
Johnny Stenback
459725c0bc Fixing first part of bug 453571. Use more [optional] idl arguments, and less nsAXPCNativeCallContext. r+sr=mrbkap@gmail.com 2008-09-05 14:51:24 -07:00
David Anderson
9937dc1262 Trace through Math.log as a known native (bug 453868, r=brendan). 2008-09-05 14:25:01 -07:00
David Anderson
ba87213e86 Abort tracing if a callee encounters a primitive |this| and doesn't support it (bug 453701, r=brendan). 2008-09-05 13:55:03 -07:00
Josh Aas
c523de62a0 don't try to build dead scriptable plugin on windows, bustage fix 2008-09-05 16:54:31 -04:00
Jason Orendorff
edf679ff71 Merge more work by Jim Blandy on bug 97954. 2008-09-05 15:05:26 -05:00
Boris Zbarsky
004fdca443 Fixing test to match new reality 2008-09-05 15:38:45 -04:00
Josh Aas
674a183dd1 remove xpcom plugin api samples from npapi sdk. b=453857,453862 rs=jst 2008-09-05 15:35:57 -04:00
Brian Crowder
fc76bf076f Bug 453156 - NTML broken by embedding patch in bug 422772, r/sr=bsmedberg 2008-09-05 12:09:06 -07:00
Benjamin Smedberg
7dcf85d822 Bug 453658 - /s /S /w /W in character classes perform very poorly. r=crowder (showed up as Dromaeo test "DOM MOdification (Prototype): update()" 2008-09-05 14:21:32 -04:00
Kai Engert
5159954062 Bug 453227, fix import cert failure, see comment 80 and 81, update to NSS_3_12_1_RC2, r=wtc 2008-09-05 20:13:38 +02:00
Wan-Teh Chang
ea7a436eed Bug 453372 - Import NSPR_4_7_2_BETA3. r=kaie. 2008-09-05 11:03:20 -07:00
Ted Mielczarek
b55123fb1c bug 428009 - bustage fix for the --disable-tests case 2008-09-05 13:40:35 -04:00
Boris Zbarsky
0c7e65dbe7 Bug 394416. Feed sniffing should apply to fewer MIME types. r=sayrer 2008-09-05 13:39:19 -04:00
Boris Zbarsky
d080316010 Bug 451053. Move nsMutationGuard into a shared location and use it to assert some invariants. r+sr=sicking 2008-09-05 13:39:19 -04:00
Doug Turner
959d105265 bug 452672 - pref to disable OOM dialog r/sr=jst 2008-09-05 10:25:02 -07:00
Jim Blandy
90d588b595 Bug 97954: Compute fully-substituted values of NSPR_CFLAGS and NSPR_LIBS. r=bsmedberg
This patch depends on compute-libxul-dist-in-configure.patch.  The
comments there explain why we need 'fully-substituted values'.

The computation of NSPR_CFLAGS and NSPR_LIBS in the top-level
configure.in is non-trivial.  To avoid duplicating all that in the
SpiderMonkey configure script, we'd like to just pass the values we've
computed down to that script as arguments.  So:

. The values should contain complete filenames, and ought not contain
  references to makefile variables only meaningful to the main build
  machinery.  In particular, they shouldn't be recursively expanded
  variables that refer to LIBXUL_DIST.

. We should set NSPR_LIBS and NSPR_CFLAGS, not the temporaries _libs
  and _cflags, because these values are what we want to pass down to
  SpiderMonkey.  A later patch in the series uses these values.
2008-09-05 10:19:25 -07:00
Jim Blandy
403d36f471 Bug 97954: Don't cite Makefile variables in the value for LIBXUL_DIST. r=bsmedberg
Background:

Thread-safe SpiderMonkey needs NSPR for threading support, so it uses
the values of NSPR_CFLAGS and NSPR_LIBS to compile and link.  The
configure script puts values for those variables in
$(DEPTH)/config/autoconf.mk.  They're recursively expanded Make
variables, and the configure script gives them values that cite the
value of LIBXUL_DIST.

LIBXUL_DIST is itself a recursively expanded variable which usually
refers to $(DIST), but refers to $(LIBXUL_SDK) if we're building
against a separate XUL tree.

Once SpiderMonkey has its own configure script, that script should
take options specifying values to use for NSPR_CFLAGS and NSPR_LIBS.
The values we pass to it shouldn't try to reference $(LIBXUL_DIST) or
any other variable from the surrounding makefiles: a stand-alone
Spidermonkey's configuration and build system shouldn't mention LIBXUL
at all.  SpiderMonkey doesn't depend on LIBXUL, only NSPR, which just
happens to be installed in the same dist directory as LIBXUL.

That means we need to compute fully-substituted values for NSPR_CFLAGS
and NSPR_LIBS, suitable for stand-alone use in the top-level configure
script, which we can pass down to the SpiderMonkey configure script
(once it has one).

The first step is to actually compute an independent value for
LIBXUL_DIST, one that doesn't refer to either $(DIST) or
$(LIBXUL_SDK).  This means we need to make that choice in the
configuration script, not in autoconf.mk.  Subsequent patches will use
this to compute fully-substituted values for NSPR_LIBS and NSPR_CFLAGS.
2008-09-05 10:19:21 -07:00
Jim Blandy
90bf6a2d1e Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE.  However, that name
is very similar to that of an existing header file, jsconfig.h.  This
patch renames the existing header file, and updates all references to
it.

--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00