Граф коммитов

198773 Коммитов

Автор SHA1 Сообщение Дата
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
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
Simon Bunzli ec5f3fa85c 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 3147856cfd 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 55868a9871 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 b84750e8c5 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 b148f70864 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 a4e0e0c8e9 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 0430a4d084 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 2bb839d2b7 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 f0960b87c7 Bug 458579 - Feed tab missing in page info; r=gavin.sharp 2008-10-29 04:37:44 +01:00
Reed Loden ff1e525b62 Bug 460911 - Make the installer complain about missing files on stdout; r=benjamin 2008-10-29 04:22:06 +01:00
Aiko 6c5153a970 Bug 461754 - Wrong error handling in nsMIMEInfoWin.cpp; r=benjamin 2008-10-29 03:48:00 +01:00
Serge Gautherie 8f125f2d4a Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString|; (Ev1c) <nsWindow.*>; r=emaijala sr=mats.palmgren 2008-10-29 03:02:59 +01:00
Shawn Wilsher bb55f79549 backout merge 2008-10-28 20:10:20 -04:00
Shawn Wilsher 1611973b8c Backed out changeset 25a7e822742a to fix windows bustage 2008-10-28 20:09:43 -04:00
Josh Aas 6500879b56 back out changeset 47259b642835, b=456662 2008-10-28 17:00:32 -07:00
Josh Aas d1b2a835f0 bug 456662 bustage fix, remove reference to MoreFiles 2008-10-28 16:10:09 -07:00
L. David Baron 600e161d6c Merge. 2008-10-28 15:51:35 -07:00
Gavin Sharp f86fcaed34 Fix warning introduced by bug 459604 2008-10-28 18:47:37 -04:00
Chris Double a566862e65 Bug 457964 - changed media paused type to boolean - r+sr=roc 2008-10-29 10:54:17 +13:00
Shawn Wilsher 2ebdec533a Bug 462047 - nsPlacesDBFlush.js should have an error handler.
This changeset adds the handleError method from mozIStorageStatementCallback to
nsPlacesDBFlush so we can report errors to the error console if they occur.
r=dietrich
2008-10-28 17:44:35 -04:00
Ted Mielczarek ad910f4456 move sqlite-version.h rules below rules.mk so 'make -C db/sqlite3/src' does the right thing. rs=sdwilsh 2008-10-28 17:42:27 -04:00
Jesse Ruderman d4208347b6 Add bug number to FIXME comment 2008-10-28 14:42:21 -07:00
Mats Palmgren aa5ab223e6 Fix various mistakes in handling of mBorderImageLoaders. (Bug 446328) r+sr=dbaron 2008-10-28 14:38:37 -07:00
L. David Baron c74a025b24 Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:44 -07:00
L. David Baron 5b935e6daa Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:17 -07:00
L. David Baron 255e82d38e Merge backout of changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:35:18 -07:00
L. David Baron d0aa1c2f04 Backed out changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
--HG--
rename : layout/base/nsImageLoadNotifier.cpp => layout/base/nsImageLoader.cpp
rename : layout/base/nsImageLoadNotifier.h => layout/base/nsImageLoader.h
2008-10-28 14:34:03 -07:00
L. David Baron b1d916a5d1 Merge backout of changeset d7338fec7266 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:12:44 -07:00
L. David Baron 70d9811e9b Backed out changeset d7338fec7266 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:12:02 -07:00
Jason Orendorff 2caf9e1492 Fix red on mozilla-central because js.cpp doesn't build on Windows. No bug#. 2008-10-28 13:07:45 -07:00
Jim Blandy 20dbf6a5a5 Bug 433083: Build SpiderMonkey stand-alone shell by default. r=ted. 2008-10-28 12:33:55 -07:00
Josh Aas f41089f107 fix new/malloc/delete/free mismatches. b=458104 r=mstange sr=dougt 2008-10-28 12:29:16 -07:00
Josh Aas 7557171094 Optimizations and 64-bit work for Mac OS X filesystem code. b=456662 r=smichaud sr=dougt 2008-10-28 12:15:56 -07:00
Chris Double d9288b89d8 Bug 459938 - Fix yuv2rgb in liboggplay to display correct colours - rs=roc 2008-10-29 07:58:22 +13:00
Chris Double c30d7092f8 Bug 450891 - Stop liboggz writing debug to stdout - rs=roc 2008-10-29 07:55:10 +13:00
Justin Dolske f0ebe74863 Bug 461810 - Video content menu should operate on .currentSrc, not .src. r=gavin 2008-10-28 11:52:04 -07:00
Chris Double ce95db55c7 Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc 2008-10-29 07:48:39 +13:00
Olli Pettay c2c8f363fe Bug 422856, Improve XHR cycle collection, r+sr=sicking 2008-10-28 20:30:10 +02:00
Chris Double 4a072fa783 Bug 448680 - Starting <video> playback causes master volume to jump to max - r+sr=roc 2008-10-29 05:17:59 +13:00