Commit Graph

2145 Commits

Author SHA1 Message Date
Mats Palmgren
aee71c967d Bug 463537. Fix --disable-wave. r=kinetik,sr=roc,a=beltzner 2008-11-18 21:16:35 +13:00
Dão Gottwald
2ef1cd7ae3 Backed out changeset b98316b61797 2008-11-16 19:18:45 +01:00
Jeff Muizelaar
0d07727bdc Bug 461202 - Turn on SSE2 pixman optimizations 2008-11-16 17:06:59 +01:00
Jim Blandy
f71987ab85 Bug 464127 - Don't use -Os with Intel C/C++ compilers r=ted.mielczarek
Intel recommends against the use of -Os, and using it seems to produce
incorrect code in many recent versions of Intel's compilers.

js/src/Makefile.in tries to use -Os only with G++, but it tests
INTEL_CC, not INTEL_CXX --- even though almost all the sources are
C++.  Check INTEL_CXX instead.
2008-11-14 14:15:02 -08:00
Jim Blandy
53dfdc8fdd Bug 464379: remove committed debugging 'echo'. r=bsmedberg
Here's the commit that added this:

    1.1764 <benjamin@smedbergs.us> 2007-01-31 08:12
    No bug: checking to see which tinderboxes don't have python available.

It seems unlikely that this echo was meant to stay in the configure script.
2008-11-14 14:10:29 -08:00
Matthew Gregan
f7e186f1bd b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-07 09:53:20 +13:00
Justin Dolske
89e231a89c Backed out changeset 30bfb150da06 2008-11-05 16:36:12 -08:00
Matthew Gregan
de578aa7e0 b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-06 11:25:04 +13:00
Benjamin Smedberg
ac504e8fcc 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
cf764b38c9 Backed out changeset 18403769ec19 2008-11-04 21:54:41 +13:00
Matthew Gregan
d8b40d2f2b Bug 449315 - Support WAV format in <audio> element - r+sr=roc 2008-11-04 21:29:10 +13:00
Fabien Tassin
b1f1bbdef9 Bug 462467 - js/src/configure fails when building --with-system-nspr; r=ted.mielczarek 2008-10-31 18:08:50 +01:00
Gavin Sharp
903ac9e18c 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
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
976e5b924c b=460717 Increase required Pango build-time version to 1.14. r+sr=roc 2008-10-29 10:25:22 -07: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
Josh Aas
6500879b56 back out changeset 47259b642835, b=456662 2008-10-28 17:00:32 -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
Phil Ringnalda
013d4ad380 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
32b5008f0f Bug 438397 - "-fshort-wchar shouldn't be hardcoded in pkgconfig" [r=bsmedberg] 2008-10-20 22:25:16 -05:00
Mike Hommey
38fe8a10f1 Bug 258429 - "Crash at startup on mips" [sr=bsmedberg] 2008-10-20 21:31:13 -05:00
Uli Link
9a2ee1e01a 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
d82afbfedb Bug 434501 - xpcom assembly should be built as position independant; r=benjamin 2008-10-20 14:18:12 +02:00
Shawn Wilsher
03ecc66294 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
6bc377055b Disable prebinding for trunk builds, drop support from mozilla-central tree part, r=ted 2008-10-11 21:14:48 -07:00
Walter Meinl
2d09f092a9 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
eeb50bfa79 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
52af527d8c 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
dc6e3121cb 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
62272b2629 Bug 438331 - Remove WIN16 (support) code everywhere; (Cv1-MozillaC) <configure.in>; r=ted.mielczarek 2008-10-08 15:55:16 +02:00
Axel Hecht
fe4b2da0ed bug 457082, configure --disable-compile-environment busted on windows, atl etc, r=ted 2008-10-08 14:35:59 +02:00
Arpad Borsos
02e588847d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Anton Rogaynis
c62a92eb66 Bug 457214 - Broken Qt port configuring. r=ted.mielczarek 2008-09-29 16:44:42 -05:00
Antonio Gomes
58eb741e6f 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
967197adb0 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
fe93fbe086 Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg 2008-09-28 21:06:06 +08:00
Ginn Chen
1732d1353c Bug 455670 Clear MOZ_FIX_LINK_PATHS for Solaris, r=bsmedberg 2008-09-28 21:02:25 +08:00
Shawn Wilsher
427d421e12 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
cae7bed540 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
2d399de5e3 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
40ef3f4b57 Bug 451263 - Implement moz-icon for Qt port. r=vladimir. 2008-09-20 04:03:23 -04:00
Benjamin Smedberg
f0fdeb2ef7 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
3e6c793e30 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
Robert O'Callahan
b62a92e835 Backing out bug 449443 (SQLite upgrade) 2008-09-17 12:19:51 +12:00
Shawn Wilsher
97a60acb58 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
f711420e4a Bug 454786 - Configuration Changes to allow WinCE resource and assembly compiling; r=ted.mielczarek 2008-09-16 14:18:56 +02:00
Oleg Romashin
bed72a5865 Bug 445934 - Layout linking broken in NS_OSSO disable-libxul configuration. r=ted.mielczarek 2008-09-13 07:47:45 +03:00
Oleg Romashin
df8945bc5a Bug 454391 - Building of Qt port for N810 is failed. r=ted.mielczarek 2008-09-13 07:40:02 +03:00