Commit Graph

21075 Commits

Author SHA1 Message Date
Josh Aas
e89bdbc526 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
1693b53c02 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
c98e2689e7 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
d0fa1eee37 Trivial whitespace cleanup in 2 places in nsViewportFrame.cpp. (whitespace only; cleared in #developers) 2008-10-29 17:41:56 -07:00
Jim Blandy
0704b2cc96 (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
a3f4911317 don't target a specific sdk in the default plugin, bustage fix, b=428973 2008-10-29 14:54:51 -07:00
Shawn Wilsher
5995227d4a 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
7c3274fca7 Bug 461239. Be a bit more careful with unsigned arithmetic. r+sr=bzbarsky 2008-10-29 13:40:04 -07:00
Karl Tomlinson
03c8d63898 fallback reftest (missing files). b=455647 2008-10-29 13:23:43 -07:00
Boris Zbarsky
e275a6b622 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
ecd5580928 Bug 461633 - remove obsolete tabstrip-box rule from pinstripe's tabbox.css. r=neil 2008-10-29 20:09:48 +01:00
Jason Orendorff
c3a5884bfe Merge fix for Win32 burn. 2008-10-29 11:34:15 -07:00
Jim Blandy
11426062d7 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
0aef30e369 Merging for bug 458861 2008-10-29 11:29:47 -07:00
John Daggett
f37b60578a Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Jason Orendorff
35b80ef9f8 Merge bug 97954 (autoconf build environment for SpiderMonkey) again. 2008-10-29 11:01:17 -07:00
Josh Aas
b9ead506a6 bustage fix for opt builds, b=428973 2008-10-29 11:00:47 -07:00
Jason Orendorff
bd1d65158a 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
b189b1fd41 fallback reftest. b=455647 2008-10-29 10:43:07 -07:00
Josh Aas
dd1c5e81eb New default plugin for Mac OS X. b=428973 r/sr=jst 2008-10-29 10:43:47 -07:00
Steven Michaud
b0632c2e1d New version of JEP (0.9.6.5). b=461677 r=josh sr=jst 2008-10-29 10:38:08 -07:00
Karl Tomlinson
d52d18f621 b=460717 Increase required Pango build-time version to 1.14. r+sr=roc 2008-10-29 10:25:22 -07:00
Karl Tomlinson
9283404bc5 b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00
Shawn Wilsher
dc609f2b37 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
5d4521a3df Additional fix for bug 462025 as discussed with aaronlev,surkov 2008-10-29 18:03:20 +01:00
Dietrich Ayala
0bec887d87 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
d010d61ed4 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
e8bc490fa7 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
216f4ef465 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
f83d8c9ea3 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
c18332dabc 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
055f5b9bfb Bug 459751 - about:sessionrestore switches button placement, r=zeniko 2008-10-29 15:22:10 +01:00
Markus Stange
5ca77b0379 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
c0b015bca5 Rephrase Clear Private Data's "Authenticated Sessions." b=460338 r=mconnor ui-r=faaborg 2008-10-29 09:22:10 -04:00
Alexander Surkov
29e275b9c7 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
79acde7092 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
52ceb97fd5 Fix bug 462025 - Venkman crashes in nsDocAccessible::HasFlag (regression). r=aaronlev 2008-10-29 09:43:21 +01:00
Dave Townsend
74c5d65028 Bug 460334: sessionstore-windows-restored fires too early. r=zeniko 2008-10-29 08:40:12 +00:00
Justin Dolske
3799b16701 Bug 448909 - Need more controls WHATWG Video tag (followup patch). r=mconnor 2008-10-29 00:35:49 -07:00
Simon Bunzli
a61e3edeee Bug 427186 - Session store shouldn't clobber its data file after failed restore; r=dietrich 2008-10-29 06:23:44 +01:00
Zack Weinberg
5bbc7938bd Bug 168117 - Need to implement nsIWidget::SetParent on the Mac; v4; r=(joshmoz + smichaud) sr=roc 2008-10-29 06:19:42 +01:00
Daniel
4b653f7ab0 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc 2008-10-29 06:11:40 +01:00
Jim Mathies
4ba1e76c42 Bug 426544 - Disable browser.download.manager.alertOnEXEOpen and set internet zone bit on all downloaded files; v3; r=sdwilsh 2008-10-29 05:53:30 +01:00
Jesper Kristensen
b5c0e51f77 Bug 401292 - application and addon updates fail when Danish Government browser extension is installed; r=(dveditz + kaie) 2008-10-29 05:39:28 +01:00
Frédéric WANG
7cc6add571 Bug 449746 - Switch content is not displayed with requiredExtensions="http://www.w3.org/1999/xhtml" or requiredExtensions="http://www.w3.org/1998/Math/MathML"; r=(longsonr + mozbugz + roc) 2008-10-29 05:21:06 +01:00
Serge Gautherie
072cb01113 Bustage fix (= missed additional change) for
Bug 460635 - There should be one async execution thread per mozStorageConnection connection; v1.2; r=(bugmail + sdwilsh)
2008-10-29 05:09:23 +01:00
Andrew Sutherland
6d099dfd18 Bug 460635 - There should be one async execution thread per mozStorageConnection connection; v1.2; r=(bugmail + sdwilsh) 2008-10-29 04:53:19 +01:00
Natch
ac8ac56423 Bug 458579 - Feed tab missing in page info; r=gavin.sharp 2008-10-29 04:37:44 +01:00
Reed Loden
efaba0b614 Bug 460911 - Make the installer complain about missing files on stdout; r=benjamin 2008-10-29 04:22:06 +01:00
Aiko
c8e12cfbf9 Bug 461754 - Wrong error handling in nsMIMEInfoWin.cpp; r=benjamin 2008-10-29 03:48:00 +01:00