Commit Graph

18902 Commits

Author SHA1 Message Date
timeless@mozdev.org
b0c349250f Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos
1f62482141 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Arpad Borsos
3e79d3b3d0 Bug 451825 - Remove |MOZ_CO_PROJECT| remnants; <mozilla-central> part; r=ted.mielczarek 2008-09-06 19:51:56 +02:00
Serge Gautherie
86b2ef55a5 Bug 445753 - "Rewrite" <nsSidebar.js> |function srGetStrBundle()|; Bv2-FF; r=gavin.sharp 2008-09-06 18:56:23 +02:00
Serge Gautherie
9bda9dddb4 Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString|; (Cv1a) <nsDataObj.cpp>; r=emaijala sr=mats.palmgren 2008-09-06 18:24:45 +02:00
Serge Gautherie
979070b411 Bug 449281 - In <TestPipe.cpp>, "warning C4273: 'NS_NewPipe2' : inconsistent dll linkage", when without |--enable-libxul|; Av3; r=benjamin 2008-09-06 18:03:38 +02:00
Mats Palmgren
46d11df5f3 Minor code cleanup. b=182554 r+sr=roc 2008-09-06 17:52:33 +02:00
Marco Bonardo
016e09eab3 Bug 451499 - wrong folder icon appears on smart bookmarks, r=dietrich 2008-09-06 17:21:55 +02:00
Alex Vincent
6eb7885801 Bug 453254 - nsZipReaderCache::GetZip doesn't null-check the zipFile argument. r+sr=biesi 2008-09-06 17:06:47 +02:00
L. David Baron
4d83879649 Change evaluation of media queries like (width) where actual values are lengths; treat zero lengths as false in such cases, per http://lists.w3.org/Archives/Public/www-style/2008Aug/0190.html and spec clarification. (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
54d29eda1e Make min-/max- prefixed media features without values be parse errors, per http://lists.w3.org/Archives/Public/www-style/2008Sep/0002.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
ffb24827c5 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
Zack Weinberg
83829cd801 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Robert O'Callahan
ea7596e60c Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures 2008-09-07 00:35:20 +12:00
Robert O'Callahan
521ac66ad9 Bug 243519. Fix the crashtest so that it doesn't bomb out with a JS error without completing the actual test. And make it (and Acid3) actually pass without screwing up the frame tree. 2008-09-06 22:21:37 +12:00
Simon Bünzli
9d71890e4a Bug 381349 - Session Restore: trigger save operation when scrolling. r=dietrich 2008-09-06 11:50:01 +02:00
Robert O'Callahan
f7339a0460 Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-06 21:35:05 +12:00
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
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
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
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
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
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
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
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
Robert Strong
acf9005b85 Bug 353177 - Details link has ugly focus while downloading an update. r=dietrich 2008-09-05 09:57:23 -07:00