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

172 Коммитов

Автор SHA1 Сообщение Дата
Dmitry Bezhetskov 6fdb9a9637 Bug 1713081 - Fix to use the default clang from upstream for SM WASI. r=glandium
To compile SM to .wasm we need to use clang from wasi-sdk, this patch
allows us to use default clang-12 from mozilla's repo.
We remove usage of rpath-link flag because wasm-ld doesn't support it,
enable single thread model because wasi is single threaded
and finally add <unistd.h> becase it is forbidden to use read/write/lseek
without this header.

Differential Revision: https://phabricator.services.mozilla.com/D116207
2021-06-02 06:00:10 +00:00
Mike Hommey 14c1084f72 Bug 1679938 - Don't recurse the build into mfbt for projects that don't need it. r=firefox-build-system-reviewers,mhentges
While all toolkit and js-based projects make use of mfbt, some others,
like tools/crashreporter and tools/update-packaging, don't.

So instead of including mfbt from the top-level directory, include it
from the relevant project top-level mozbuilds.

This allows to remove the dependency on mfbt files in the hash for the
minidump-stackwalk and mar-tools toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D98378
2020-12-01 23:52:03 +00:00
Mike Hommey 2d9d6639b7 Bug 1574058 - Backout changeset c5acba2f11e0 (bug 1418425). r=froydnj
It was remaining from an earlier iteration of bug 1418425 that uses
zlib's crc32 function, but ended up unused because in the end it was
done differently.

Interestingly, the corresponding host objects are not built currently,
and actually fail to build when built manually (or with build system
changes that make them built).

Differential Revision: https://phabricator.services.mozilla.com/D42073

--HG--
extra : moz-landing-system : lando
2019-08-15 13:17:39 +00:00
Mike Hommey 2abcc3d7cb Bug 1553363 - Generalize the *_impl goop for allocation functions in mozglue. r=froydnj
The current situation is suboptimal, where we have the same goop
repeated in multiple files, and where things kinda sorta work out fine
thanks to the linker for files that would have been forbidden, except
when the linker doesn't do its job, which apparently happen on
mingwclang builds.

This change only really covers C++ code using operator new/delete, and
not things that would be using malloc/free, because it's easier.
malloc/free is left for a followup.

Differential Revision: https://phabricator.services.mozilla.com/D32119

--HG--
extra : moz-landing-system : lando
2019-05-29 22:49:42 +00:00
David Major c80009663b No bug - add a comment explaining why zlib's sources can't be unified. DONTBUILD 2019-01-18 22:03:40 -05:00
Sylvestre Ledru ab3de45f4b Bug 1418425 - Compile zlib as host lib r=glandium
MozReview-Commit-ID: 5jXyVhRI0kD

--HG--
extra : rebase_source : eb4df10567fa341b3611b568a397b01210f449aa
2017-11-26 22:59:14 +01:00
Csoregi Natalia 3ce27a72d5 Backed out 5 changesets (bug 1418425) requested per comment #83. on a CLOSED TREE
Backed out changeset 0ecc98bd0822 (bug 1418425)
Backed out changeset 7b7725d1d3c3 (bug 1418425)
Backed out changeset 2e95ebdcae6d (bug 1418425)
Backed out changeset 47fbcaf5ad05 (bug 1418425)
Backed out changeset 142001babb39 (bug 1418425)
2018-01-15 15:30:30 +02:00
Sylvestre Ledru 775012af02 Bug 1418425 - Compile zlib as host lib r=glandium
MozReview-Commit-ID: 5jXyVhRI0kD

--HG--
extra : rebase_source : 0d189eb31853f4eb693cc6ffb3188f9104881274
2017-11-26 22:59:14 +01:00
Narcis Beleuzu 26be8043ca Backed out 5 changesets (bug 1418425) for windows build bustage "mbsdiff.exe : fatal error LNK1120". on a CLOSED TREE
Backed out changeset 8154486d3e00 (bug 1418425)
Backed out changeset d32ae48690a7 (bug 1418425)
Backed out changeset 772538a846cb (bug 1418425)
Backed out changeset 29fd023f999f (bug 1418425)
Backed out changeset 218077e82115 (bug 1418425)
2018-01-12 11:32:58 +02:00
Sylvestre Ledru 413bf6cea3 Bug 1418425 - Compile zlib as host lib r=glandium
MozReview-Commit-ID: 5jXyVhRI0kD

--HG--
extra : rebase_source : 0260fe4e64e6a9047c915ef1a6e77c7f92d81e24
2017-11-26 22:59:14 +01:00
Andreea Pavel 88a00ab51b Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE
Backed out changeset 228743018ded (bug 1418425)
Backed out changeset f29f7bb3059a (bug 1418425)
Backed out changeset 1d798e14223b (bug 1418425)
Backed out changeset fd4af65bf966 (bug 1418425)
Backed out changeset 656649ecfb11 (bug 1418425)

--HG--
extra : amend_source : 686bbebdb6f490496f9c69ccff4ac22bbb495ad5
2017-12-12 17:48:45 +02:00
Sylvestre Ledru 6a6832462b Bug 1418425 - Compile zlib as host lib r=glandium
MozReview-Commit-ID: 5jXyVhRI0kD

--HG--
extra : rebase_source : 5c80f5210f895cc935937e380c6f406b8fb61f1f
2017-11-26 22:59:14 +01:00
Joel Maher ad033bbef8 Bug 1345618 - add BUG_COMPONENT to modules/* files. r=jfkthame,mcmanus,rstrong
MozReview-Commit-ID: G3hG5C4P5jS
2017-03-09 05:33:31 -05:00
Glenn Randers-Pehrson bf60b78bbe Bug 1328099 - Update in-tree zlib to version 1.2.11. r=jrmuizel 2017-01-17 17:31:50 -05:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ehsan Akhgari 50e4a0fff6 Bug 1202099 - Fix a clang 3.7 build warning (treated as error) in zlib
This is the following commit from upstream: e54e1299404101a5a9d0cf5e45512b543967f958
2015-09-08 09:46:26 -04:00
Mike Hommey 89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey a1486ce449 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey 0a1fb8d11c Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Joey Armstrong a5a9fe258e bug 870406: move CSRCS to mozbuild - patch #4. r=mshal 2013-09-20 16:46:57 -04:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Brian O'Keefe 11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Daniel Jeter II cc77fc221b Bug 866964 - Upgrade zlib to version 1.2.8. r=joe 2013-05-13 15:25:17 -04:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc 89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc 3416b992a8 Bug 784841 - Part 18y: Convert /modules; r=glandium 2013-02-25 12:47:23 -08:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey 125aebf06d Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Daniel Jeter II 26cc7c4f60 Bug 751697 - Upgrade zlib to version 1.2.7. r=joe 2012-05-07 18:33:23 -04:00
Daniel Jeter II bd6853712a Bug 722391 - Upgrade to zlib 1.2.6; rs=joe 2012-04-09 10:11:07 -07:00
Gregory Szorc 1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Ed Morley 859a495df8 Bug 686170 - Remove modules/zlib/standalone; r=ted 2011-09-24 02:16:45 +01:00
Matheus Kerschbaum 6eb93f7dd3 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ed Morley 8f81bdd6cf Bug 655010 - Remove WinCE code from mozilla owned parts of ImageLib; r=joe 2011-05-05 17:14:27 -04:00
Walter Meinl 859a94a18d Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Wan-Teh Chang aca937ac81 Bug 573137: Revert a change to zutil.h in changeset fb3a132de4ec.
The availability of vsnprintf in recent versions of MSVC has been
addressed in zlib 1.2.3.5 (8 Jan 2010).  r=n/a a=blocking2.0:final
2010-09-18 17:59:41 -07:00
Wan-Teh Chang 02613d71bf Bug 573137: Upgrade to zlib 1.2.5. The patch is contributed
by Daniel Jeter II <djeter@ripleycable.net>.  r=wtc,joedrew.
a=joedrew and blocking2.0:final
2010-09-18 17:17:37 -07:00
Wan-Teh Chang 943ac870e6 Bug 573137: Remove zlib docs and man page.
r=joedrew (see bug 573137 comment 21) a=NPOTB
2010-09-18 12:38:43 -07:00
Justin Dolske ee048fd6af Bug 431950 - disable scary-but-harmless zlib trace warnings in debug builds. r=bholley 2009-09-13 13:26:31 -07:00
Benjamin Smedberg 6df221580d Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Phil Ringnalda 538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Ginn Chen 61f1976cbb Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00