Commit Graph

198614 Commits

Author SHA1 Message Date
Olli Pettay
88ee062746 Bug 461772, don't crash when using XBL in external svg docs, r+sr=bz 2008-10-30 12:35:44 +02:00
Mook (sb)
a3c8811bc4 Bug 442419 - allow custom max for progressmeter; r=enndeakin, sr=roc 2008-10-30 13:04:23 +03:30
Zack Weinberg
c37ce49fde Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc (tests) 2008-10-30 12:57:43 +03:30
Zack Weinberg
49e5fb47de Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc 2008-10-30 12:54:58 +03:30
Simon Bünzli
264cb1ded4 Bug 459567 - reuse the Session Restore page's window for restoring the session; r=dietrich 2008-10-30 12:46:43 +03:30
Simon Bünzli
6823b6ae45 Bug 459950 - Polish about:sessionrestore; r=l10n, ui-r=faaborg 2008-10-30 12:40:48 +03:30
Marco Bonardo
caedf6ca4c Bug 462206 - finalize statements in nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:51:34 +01:00
Marco Bonardo
0b5b8f64ca Bug 462205 - add statementCallback interface to nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:45:21 +01:00
Marco Bonardo
a05f287958 Bug 462204 - Don't try to cancel a not existant timer in nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:42:36 +01:00
Marco Bonardo
5f64e01cf3 Bug 462213 - make migrateV8 tolerant to downgrade-upgrade paths, r=sdwilsh 2008-10-30 09:37:49 +01:00
Marco Zehe
e8f2f9b5dc bug 458058 - Crash [@ CallQueryInterface<nsINode, nsIDOMElement>(nsINode*, nsIDOMElement**) ], r=aaronlev 2008-10-30 09:24:09 +01:00
Andreas Gal
e18dbca68d Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson). 2008-10-28 22:40:10 -07:00
Robert O'Callahan
821ebc1415 Fixing bustage 2008-10-29 22:48:16 -07:00
Josh Aas
9213c5adc9 support testing of lazy update behavior in native menu tests. b=446352 r=mstange sr=roc 2008-10-29 22:36:01 -07:00
Robert O'Callahan
7f65b0327b Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst 2008-10-29 22:28:25 -07:00
Robert O'Callahan
7b504839f4 Bug 448603. Support direct loading of Ogg audio and video files by creating a synthetic <video> document. r=doublec,sr=bzbarsky 2008-10-29 22:20:08 -07:00
Daniel Holbert
f4db7fac7a Trivial whitespace cleanup in 2 places in nsViewportFrame.cpp. (whitespace only; cleared in #developers) 2008-10-29 17:41:56 -07:00
Jim Blandy
4b4e1290be (fix tree burn; no bug): The js/src subtree needs its own copy of pgomerge.py.
--HG--
rename : build/win32/pgomerge.py => js/src/build/win32/pgomerge.py
2008-10-29 15:26:11 -07:00
Josh Aas
1c4ac98a6c don't target a specific sdk in the default plugin, bustage fix, b=428973 2008-10-29 14:54:51 -07:00
Shawn Wilsher
8e48a3e072 Bug 462077 - Lazily create Extensions object (FUEL)
This lazily creates the Extensions object off of Application so we do not take
the hit of initializing the object during startup if we do not need it.
r=gavin
2008-10-29 16:56:46 -04:00
Mats Palmgren
0143eb7353 Bug 461239. Be a bit more careful with unsigned arithmetic. r+sr=bzbarsky 2008-10-29 13:40:04 -07:00
Karl Tomlinson
03e0cb54e4 fallback reftest (missing files). b=455647 2008-10-29 13:23:43 -07:00
Boris Zbarsky
21e86516a4 Bug 439965. Make sure to flush frames on our parent before checking whether editing is on, since editing depends on the presshell. r+sr=peterv 2008-10-29 13:12:24 -07:00
Dão Gottwald
fdca08cb77 Bug 461633 - remove obsolete tabstrip-box rule from pinstripe's tabbox.css. r=neil 2008-10-29 20:09:48 +01:00
Jason Orendorff
166a0eacbc Merge fix for Win32 burn. 2008-10-29 11:34:15 -07:00
Jim Blandy
a5f017e260 Fix Win32 burn: js/src/config/autoconf.mk shouldn't override MOZ_MEMORY-related LIB and PATH exported from top-level config/autoconf.mk 2008-10-29 11:30:36 -07:00
John Daggett
a09bd4d55e Merging for bug 458861 2008-10-29 11:29:47 -07:00
John Daggett
40f64ca9de Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Jason Orendorff
c8abc5a5df Merge bug 97954 (autoconf build environment for SpiderMonkey) again. 2008-10-29 11:01:17 -07:00
Josh Aas
5a6f428861 bustage fix for opt builds, b=428973 2008-10-29 11:00:47 -07:00
Jason Orendorff
0617949df9 Merge bug 97954 (autoconf build environment for SpiderMonkey).
--HG--
rename : configure.in => js/src/configure.in
2008-10-29 10:59:10 -07:00
Karl Tomlinson
2575e3beac fallback reftest. b=455647 2008-10-29 10:43:07 -07:00
Josh Aas
ad9bc83b79 New default plugin for Mac OS X. b=428973 r/sr=jst 2008-10-29 10:43:47 -07:00
Steven Michaud
395df82dd9 New version of JEP (0.9.6.5). b=461677 r=josh sr=jst 2008-10-29 10:38:08 -07:00
Karl Tomlinson
976e5b924c b=460717 Increase required Pango build-time version to 1.14. r+sr=roc 2008-10-29 10:25:22 -07:00
Karl Tomlinson
22ab506605 b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00
Shawn Wilsher
da47747760 Bug 454740 - Asynchronous storage should batch/chunk results
This changeset batches results obtained by the async storage API so we are not
flooding the calling thread with so many events.
r=asuth
2008-10-29 13:13:32 -04:00
Philipp Kewisch
4a8ab3f0a5 Additional fix for bug 462025 as discussed with aaronlev,surkov 2008-10-29 18:03:20 +01:00
Dietrich Ayala
12f3f33c31 Bug 462050 - load the microsummary service after delayedStartup, w/ other non-essential services (r=myk) 2008-10-29 09:50:55 -07:00
Johnathan Nightingale
6f0f1e07f4 Redesign certificate error page for Firefox as about:certerror. b=431826, r=gavin, ui-r=beltzner 2008-10-29 11:54:51 -04:00
Jim Blandy
49680acf08 Bug 97954: Compare SpiderMonkey's copies of build files with originals at check time. r=luser
SpiderMonkey now has its own copy of some of the files from ./config
and ./build.  Since there is a decent amount of churn in that area, I
don't want it to become a burden to make merges back and forth.  This
patch adds a comment explaining the 'identical if present' policy, and
runs a script to verify that it's actually being observed.
2008-10-29 08:40:39 -07:00
Jim Blandy
b04f90894c Bug 97954: Record configuration details in an installable header. r=bsmedberg
Have js/src/configure create a header file, js-config.h, that records
configure-controlled options that affect the SpiderMonkey API, like
'--enable-threadsafe'.  js-config.h is namespace-clean, so it can be
installed with jsapi.h.

This means that clients can configure SpiderMonkey however they like,
and then simply #include "jsapi.h" and have everything work; they
don't have to remember to match their own compiler -D flags with those
SpiderMonkey's configure script chose.  For example, mozilla-config.h
needn't concern itself with JS_THREADSAFE.

It seems to me this could also be done by having js-config --cflags
print -D options.  The approach taken here seems a bit more robust: if
you can find jsapi.h at all, then you know you're getting the right
settings.
2008-10-29 08:29:37 -07:00
Jim Blandy
3ba206cdb7 Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile.  Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR.  Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR.  Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.

Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.

Give SpiderMonkey it its own copies of many of the files from ./config
and ./build.  These are all exact copies, except as follows:

. js/src/config/Makefile.in: js/src only has a subset of
  js/src/config, and thus a subset of the makefile targets.

. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
  variables to set, not set by the top-level configure script, so it
  needs a custom automake.mk template.

. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
  so that we can build without having an NSPR source tree handy.

Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.

Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.

Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library.  Don't include the js-config script in
Macintosh packages.

Teach client.mk how to rebuild js/src/configure.

Tell Mercurial to ignore files generated by autoconf in js/src.

Further work:

. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
  This is fixed in a subsequent patch.

. js/src/configure is a trimmed copy of ./configure.  It could be
  trimmed more.

--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Jim Blandy
99ff28d035 Bug 97954: Delete SpiderMonkey's custom build system for separate builds. r=bsmedberg
SpiderMonkey has, at present, two separate build systems: one used for
in-tree builds, and one used for SpiderMonkey-only builds.

The former is constituted entirely by js/src/Makefile.in.  This is a
typical Mozilla makefile, leaning on the top-level config/*.mk files
for most of the details.

The latter is comprised by a shadow build system, all in js/src:
Makefile.ref, config.mk, rules.mk, jsconfig.mk, and config/*.mk.
These are superseded by the separate build system implemented in a
later patch; we delete them all here.

This patch consists entirely of deletions; there are no textual changes.
2008-10-29 08:29:04 -07:00
Markus Stange
5b40f65ab0 Bug 459751 - about:sessionrestore switches button placement, r=zeniko 2008-10-29 15:22:10 +01:00
Markus Stange
1c1d59c2bd Bug 459546 - Make about:sessionrestore look good on all platforms, Mac part. Also fixes bug 459740. r=zeniko 2008-10-29 15:20:18 +01:00
Johnathan Nightingale
db64bf2dc6 Rephrase Clear Private Data's "Authenticated Sessions." b=460338 r=mconnor ui-r=faaborg 2008-10-29 09:22:10 -04:00
Alexander Surkov
afcca424eb Bug 461767 - don't create nslinkableaccessible if 'click' event handler is registered, r=aaronlev, marcoz 2008-10-29 16:55:28 +08:00
Alexander Surkov
9138981c0f Bug 455482 - In a select nested within a label, the accname contains each option's text, should only contain label's text, patch=Eitan, r=me, marcoz 2008-10-29 16:53:43 +08:00
Philipp Kewisch
d9a06e8869 Fix bug 462025 - Venkman crashes in nsDocAccessible::HasFlag (regression). r=aaronlev 2008-10-29 09:43:21 +01:00