Commit Graph

1500 Commits

Author SHA1 Message Date
Mike Hommey
d135674d47 Bug 1043799 - Remove leftovers from bug 1043344. r=gps 2014-07-25 20:12:57 +09:00
Gregory Szorc
2a36e1785d Bug 1043524 - Define group variable is an existing parser is passed; r=jgraham
While I was here, I removed the try..except in favor of failing fast.
Before, we were only making cosmetic changes. Now, we actually need the
group for mach to work. It makes sense to stop ignoring errors.

This fixes a regression from d53d1c6cdf13 / bug 951733.
2014-07-24 11:35:15 -07:00
Paul Adenot
20cea91126 Bug 1043025 - Null-check when getting the parent object of an AudioContext because we might not have a window all all time during shutdown. r=roc 2014-07-24 12:01:13 +02:00
Boris Zbarsky
24458b2903 Bug 1044049. Bump bindings to unify 32 files per unified file instead of 16, since we keep getting more bindings. r=ehsan 2014-07-26 01:41:26 -04:00
Ted Mielczarek
fbe78789eb bug 462159 - Use install manifests to track header files from dist/include back to srcdir in symbolstore.py. r=gps 2014-07-18 16:33:34 -04:00
Nathan Froyd
290e0cb364 Bug 1044165 - fix BuildReaderError exception printing to cope properly with SyntaxError; r=gps
Some moz.build syntax errors cause the thrown SyntaxError object to not include
an offset field, leading to all sorts of hilarity when we try printing messages
depending on SyntaxError.offset.  Check for this case and simply don't print
the caret if so.
2014-07-25 14:27:44 -04:00
Wes Kocher
ca30797996 Merge m-c to inbound 2014-07-25 16:23:51 -07:00
Gregory Szorc
e78609e62e Bug 1039806 - UnboundLocalError: local variable 'output'; r=mshal
DONTBUILD (NPOTB)
2014-07-16 16:02:31 -07:00
Mike Hommey
d674c9a855 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Mike Hommey
ca220510ae Bug 1043285 - Fix StrictOrderingOnAppendList.__add__ to not throw when the list content is not sorted. r=gps 2014-07-25 07:09:27 +09:00
Mike Hommey
a6419effba Bug 1042982 - Make shared libraries go after static libraries on program linkage command lines. r=gps
Also remove a branch that can never happen.
2014-07-24 13:44:39 +09:00
Jeff Walden
97655cf3ff Invert exception types in the exception specification corresponding to |import dbus; ...stuff that might throw a dbus exception| so that failure to import dbus will be caught, rather than triggering a "NameError: name 'dbus' is not defined" error. Followup to bug 981146, r=trivial 2014-07-25 14:33:39 -07:00
Jonathan Griffin
3c82e66e41 Bug 1042270 - Add is_mulet condition to mach, r=ahal 2014-07-22 14:41:09 -07:00
Alexandre Poirot
6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Tom Schuster
1c25c3296a Bug 981146 - Make a dbus-based notification appear when the build completes (if the build took >300s, a pre-existing limit) on some Linux systems. (Works on Fedora, doesn't work on Debian/Ubuntu -- just needs someone to perform the trivial work [if you run Debian] of determining what packages are needed to make this patch's additions work. Patches welcome!) r=gps 2014-06-09 12:46:15 -07:00
byron jones
a1e3fb8f0f Bug 1042517 - Typos in mach's help for the run command; rs=edmorley DONTBUILD 2014-07-22 23:44:00 +01:00
Mike Hommey
d943389fd7 Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps 2014-07-23 13:33:06 +09:00
Mike Hommey
f57b07da4f Bug 1041839 - Write all-tests.json faster. r=gps 2014-07-23 13:32:03 +09:00
Mike Hommey
af83e46067 Bug 1041820 - Replace DefaultOnReadDict with defaultdict. r=gps 2014-07-23 13:31:43 +09:00
Mike Hommey
3a4c10762c Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Mike Hommey
b5bb751ed8 Bug 1036894 part 5 - Hook the USE_LIBS and HOST_USE_LIBS moz.build variables to library linkage. r=gps 2014-07-23 13:29:37 +09:00
Mike Hommey
37133a65ee Bug 1036894 part 4 - Allow to track library linkage for all kinds of programs and libraries. r=gps 2014-07-23 13:29:31 +09:00
Mike Hommey
99c9b32825 Bug 1036894 part 3 - Emit objects for programs after emitting libraries. r=gps 2014-07-23 13:29:24 +09:00
Mike Hommey
431b803c44 Bug 1036894 part 2 - Add proper frontend data for HOST_LIBRARY_NAME instead of using a passthrough. r=gps 2014-07-23 13:29:17 +09:00
Mike Hommey
374a9e1abc Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey
13488dca0e Bug 1041960 - Remove subtiers from make backend. r=gps 2014-07-23 13:28:54 +09:00
Jonathan Griffin
2ef660ddd5 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
cdd4736014 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
85fb1826cb Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Alexandre Poirot
7bb6381d42 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Mike Shal
34edaf7427 Bug 978211 - run make from mach without a shell; r=gps 2014-07-18 10:14:29 -04:00
Mike Shal
037bd936ae Bug 914563 - re-enable build resource recording on Windows; r=gps 2014-07-15 13:59:10 -04:00
Mike Shal
97bf691103 Bug 978211 - OSX automation configs; r=glandium 2014-07-03 22:05:45 -04:00
Mike Shal
09fce23d0a Bug 1036093 - ignore mach exceptions when printing binary paths; r=gps 2014-07-11 10:55:40 -04:00
Mike Hommey
2d0876a533 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
a59c994972 Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Mike Hommey
0bd1397f96 Bug 936384 - Display nicer errors when failing to validate moz.build sandboxes. r=gps 2014-07-10 14:11:40 +09:00
Mukilan Thiyagarajan
8d8c7b6e8b Bug 1000994 - Allow specifying SONAME of a shared library in moz.build. r=glandium 2014-07-09 00:47:00 +02:00
Carsten "Tomcat" Book
41a15251fb merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
330dae419d Bug 1033836 - Support TESTING_JS_MODULES in moz.build; r=glandium 2014-07-02 16:43:11 -07:00
Carsten "Tomcat" Book
555fc49595 merge fx-team to mozilla-central a=merge 2014-07-03 13:54:51 +02:00
Wes Kocher
88633df933 Merge m-c to fx-team 2014-07-02 19:10:42 -07:00
Gregory Szorc
96c0ce82ef Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.
2014-07-02 14:05:42 -07:00
Mike Hommey
4b6cfb59e5 Bug 762358 - Fixup the fixup not to break on windows. r=me 2014-07-03 09:38:47 +09:00
Mike Hommey
f5d5aedd31 Bug 762358 - Fixup test_objdir_config_status to use config.guess output as base. r=gps 2014-07-03 08:33:14 +09:00
Mike Hommey
52f2fae467 Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Mike Hommey
deb44483f4 Bug 1031132 - Refactor mach environment to use logic from MachCommandBase instead of its own. r=gps
Also don't print section titles when there is nothing under them, and move
move the ObjdirMismatchException handling to MachCommandBase.
2014-07-03 07:15:31 +09:00
Mike Hommey
4d4669852a Bug 1030717 - Don't try to create the mach state directory until it's actually needed. r=gps 2014-07-03 07:15:31 +09:00
Mike Hommey
fb188f4dca Bug 1031129 - Fix ObjdirMismatchException logic to throw properly on m-c. r=gps 2014-07-03 07:15:30 +09:00
Nathan Froyd
3775c69de7 Bug 1025998 - part 1 - make convert_def_file.py handle the DATA keyword; r=glandium 2014-06-16 16:09:25 -04:00