Commit Graph

367 Commits

Author SHA1 Message Date
Matthew Gregan
873fa1824f b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-07 09:53:20 +13:00
Justin Dolske
f701f9d7f5 Backed out changeset 30bfb150da06 2008-11-05 16:36:12 -08:00
Matthew Gregan
c39fd04c4a b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-06 11:25:04 +13:00
Benjamin Smedberg
6cd85a8589 Bug 462740 - Building spidermonkey on Windows with -j3 fails: conflicts in PDB files. Related to bug 382297 and bug 286179, where we flip-flop back and forth about this. Document the way things should actually be! 2008-11-04 14:38:40 -05:00
Chris Double
0f3552d820 Backed out changeset 18403769ec19 2008-11-04 21:54:41 +13:00
Matthew Gregan
243e1e2e70 Bug 449315 - Support WAV format in <audio> element - r+sr=roc 2008-11-04 21:29:10 +13:00
Fabien Tassin
ead7d20bbe Bug 462467 - js/src/configure fails when building --with-system-nspr; r=ted.mielczarek 2008-10-31 18:08:50 +01:00
Gavin Sharp
38ee55800c Bug 462405: don't run subconfigures (fixes build bustage) when building --with-libxul-sdk, r=jimb, sr=bsmedberg 2008-10-30 15:55:20 -04: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
d52d18f621 b=460717 Increase required Pango build-time version to 1.14. r+sr=roc 2008-10-29 10:25:22 -07: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
Josh Aas
074998c2bd back out changeset 47259b642835, b=456662 2008-10-28 17:00:32 -07:00
Josh Aas
6852fb9eee 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
Phil Ringnalda
6be9fe2f63 Bug 450015 - Remove support for extensions=all, since this is exactly why we can't have nice things, r=ted 2008-10-27 19:53:34 -07:00
Riku Voipio / Mike Hommey
eaf1a59aa3 Bug 438397 - "-fshort-wchar shouldn't be hardcoded in pkgconfig" [r=bsmedberg] 2008-10-20 22:25:16 -05:00
Mike Hommey
8115570fad Bug 258429 - "Crash at startup on mips" [sr=bsmedberg] 2008-10-20 21:31:13 -05:00
Uli Link
2f1f59f274 Bug 450909 - "missing support for AIX target in configure.in" (set XPCOMABI on AIX and raise minimum compiler version) [r=cls] 2008-10-20 21:25:49 -05:00
Mike Hommey
715ce2c1f5 Bug 434501 - xpcom assembly should be built as position independant; r=benjamin 2008-10-20 14:18:12 +02:00
Shawn Wilsher
27e8ca1479 Bug 449443 - Upgrade to SQLite 3.6.4
This changeset contains the changes needed to Mozilla code.
r=Mano
2008-10-16 15:59:31 -04:00
Phil Ringnalda
87c60313c6 Disable prebinding for trunk builds, drop support from mozilla-central tree part, r=ted 2008-10-11 21:14:48 -07:00
Walter Meinl
a04b09093c Bug 454097 - [OS/2] get rid of VisualAge in configures; m-c part; r=mozilla 2008-10-11 03:01:28 +02:00
Marco Perez
c5b241521b Bug 458583 - $target_os case fails for FreeBSD in configure.in (topsrcdir); m-c part; r=ted.mielczarek 2008-10-10 14:13:51 +02:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Axel Hecht
138bbf954c bug 457082, configure --disable-compile-environment busted on windows, atl etc, bustage fix, r=ted 2008-10-08 15:57:17 +02:00
Serge Gautherie
9ec11778b6 Bug 438331 - Remove WIN16 (support) code everywhere; (Cv1-MozillaC) <configure.in>; r=ted.mielczarek 2008-10-08 15:55:16 +02:00
Axel Hecht
14ddd66c9e bug 457082, configure --disable-compile-environment busted on windows, atl etc, r=ted 2008-10-08 14:35:59 +02:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Anton Rogaynis
fd441c1339 Bug 457214 - Broken Qt port configuring. r=ted.mielczarek 2008-09-29 16:44:42 -05:00
Antonio Gomes
9a7f95dc0b Bug 454841 - glib.h not found when building qt-cairo backend without --disable-elf-dynstr-gc; r=ted.mielczarek 2008-09-29 00:24:40 +02:00
Ginn Chen
3b81208252 Bug 450717 dep file for pixman-mmx.c isn't generated with GCC, r=ted.mielczarek 2008-09-28 21:18:09 +08:00
Ginn Chen
c4b7d9bda9 Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg 2008-09-28 21:06:06 +08:00
Ginn Chen
45fd620eb4 Bug 455670 Clear MOZ_FIX_LINK_PATHS for Solaris, r=bsmedberg 2008-09-28 21:02:25 +08:00
Shawn Wilsher
778e74a3cb backout of changesets 7e8ed11500ae and cac36f3599e0 (bug 449443)
We have to backout bug 456910 because of a Tp regression, which means we need
to back this out :(
2008-09-26 15:52:54 -04:00
Shawn Wilsher
699140b381 Bug 449443 - Upgrade to SQLite 3.6.3
This changeset contains the needed bits of our code.
r=Mano
2008-09-25 23:27:17 -04:00
Karl Tomlinson
a1f89017f4 b=454730 Move shutdown of GTK's fontmap from gfxPlatformGtk to nsAppRunner r=roc sr=bsmedberg 2008-09-26 10:38:25 +12:00
Oleg Romashin
2f3f67b169 Bug 451263 - Implement moz-icon for Qt port. r=vladimir. 2008-09-20 04:03:23 -04:00
Benjamin Smedberg
31cc134e02 Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron 2008-09-19 11:07:22 -04:00
Vladimir Vukicevic
6e6bf3a103 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
Robert O'Callahan
7f59b79685 Backing out bug 449443 (SQLite upgrade) 2008-09-17 12:19:51 +12:00
Shawn Wilsher
176b1ee974 Bug 449443 - Upgrade to SQLite 3.6.2
This changeset contains the changes to Mozilla code for the upgrade of SQLite.
r=Mano
2008-09-16 09:48:30 -04:00
John Wolfe
f086876844 Bug 454786 - Configuration Changes to allow WinCE resource and assembly compiling; r=ted.mielczarek 2008-09-16 14:18:56 +02:00
Oleg Romashin
fc5fa8db11 Bug 445934 - Layout linking broken in NS_OSSO disable-libxul configuration. r=ted.mielczarek 2008-09-13 07:47:45 +03:00
Oleg Romashin
575fdb8374 Bug 454391 - Building of Qt port for N810 is failed. r=ted.mielczarek 2008-09-13 07:40:02 +03:00
Robert Kaiser
2c0122f06d bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil 2008-09-11 01:08:57 +02:00
Brad Lassey
f7f1eae0c2 Bug 437950 - Support for mailto: r=cbiesinger 2008-09-10 12:10:23 -04:00
Brad Lassey
2a654b5834 Bug 453867 - Change NS_HILDON by MOZ_PLATFORM_HILDON p=tonikitoo r=ted 2008-09-10 12:08:44 -04:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Ted Mielczarek
6550f442ba bug 454256 - --enable-static firefox builds should error in configure. r=bsmedberg 2008-09-09 13:59:11 -04:00