Commit Graph

140503 Commits

Author SHA1 Message Date
bc80cb1791 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
d8ad390726 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Arpad Borsos
ce76729245 Bug 451825 - Remove |MOZ_CO_PROJECT| remnants; <mozilla-central> part; r=ted.mielczarek 2008-09-06 19:51:56 +02:00
Serge Gautherie
aed0b5dbfb Bug 445753 - "Rewrite" <nsSidebar.js> |function srGetStrBundle()|; Bv2-FF; r=gavin.sharp 2008-09-06 18:56:23 +02:00
Serge Gautherie
c3a6cee4d1 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
1832755360 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
664d2fe1c6 Minor code cleanup. b=182554 r+sr=roc 2008-09-06 17:52:33 +02:00
Marco Bonardo
b8a08d05dd Bug 451499 - wrong folder icon appears on smart bookmarks, r=dietrich 2008-09-06 17:21:55 +02:00
Alex Vincent
aba1998590 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
6b03cfe768 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
72a98d0e57 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
f30e355ea8 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
064c424a92 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
26dac5de7f Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures 2008-09-07 00:35:20 +12:00
Robert O'Callahan
e8aaf454ff 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
ba69ad8ae3 Bug 381349 - Session Restore: trigger save operation when scrolling. r=dietrich 2008-09-06 11:50:01 +02:00
Robert O'Callahan
296840fa17 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
ea438e03d9 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
c260987e94 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
a7f12d1e07 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
5c9b462dcd 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
5dc7f51526 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
e76934248c 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
6d6579fbd8 Bug 453831 - Focus in limbo after multi-tab launch pref set. r=dietrich 2008-09-06 05:27:49 +02:00
Boris Zbarsky
e3801fb959 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
8bb698b6e8 Bug 443769. Fix operator precedence snafu. r+sr=dbaron 2008-09-05 21:10:35 -04:00
Boris Zbarsky
bf26444ccb Bug 452238. Remove unused imports collection code. r+sr=dbaron 2008-09-05 21:10:35 -04:00
Clint Talbert
b5bb2912ac bug 451264 allowing reftest-wait and reftest-print together r=dbaron 2008-09-05 17:30:45 -07:00
Clint Talbert
e3d7e55a6a bug 451264 allow reftest-wait and reftest-print together r=dbaron 2008-09-05 17:28:03 -07:00
Doug Turner
5e46466129 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
e787c1557e 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
0c47c0b9ae 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
d5d0717e96 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
9b77543553 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
92f82715af don't try to build dead scriptable plugin on windows, bustage fix 2008-09-05 16:54:31 -04:00
Jason Orendorff
140108dab1 Merge more work by Jim Blandy on bug 97954. 2008-09-05 15:05:26 -05:00
Boris Zbarsky
bb9ca2dcce Fixing test to match new reality 2008-09-05 15:38:45 -04:00
Josh Aas
6428dedf9c remove xpcom plugin api samples from npapi sdk. b=453857,453862 rs=jst 2008-09-05 15:35:57 -04:00
Brian Crowder
36bb2b30b6 Bug 453156 - NTML broken by embedding patch in bug 422772, r/sr=bsmedberg 2008-09-05 12:09:06 -07:00
Benjamin Smedberg
c5897a8363 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
538d807673 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
622235899f Bug 453372 - Import NSPR_4_7_2_BETA3. r=kaie. 2008-09-05 11:03:20 -07:00
Ted Mielczarek
9e0be25c3a bug 428009 - bustage fix for the --disable-tests case 2008-09-05 13:40:35 -04:00
Boris Zbarsky
3c296dec61 Bug 394416. Feed sniffing should apply to fewer MIME types. r=sayrer 2008-09-05 13:39:19 -04:00
Boris Zbarsky
6eabf8f654 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
39787023fa bug 452672 - pref to disable OOM dialog r/sr=jst 2008-09-05 10:25:02 -07:00
Jim Blandy
5e6b75c930 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
2c78886d3a 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
d8cc274426 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.
2008-09-05 10:19:17 -07:00
Robert Strong
2eb567f85b Bug 353177 - Details link has ugly focus while downloading an update. r=dietrich 2008-09-05 09:57:23 -07:00