Commit Graph

1500 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
56828d94d4 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Mike Hommey
cc8c6bd422 Bug 973144 - Support DEFINES['FOO']=False in moz.build for -UFOO. r=gps 2014-02-25 15:41:57 +09:00
Wes Kocher
fb2960f6d9 Merge m-c to fx-team 2014-02-24 18:29:49 -08:00
Nick Alexander
784070eb6f Bug 975622 - Follow-up: Fix test. r=bustage 2014-02-24 18:23:02 -08:00
Nick Alexander
2fa27e7783 Bug 976353 - Part 2: Make AndroidEclipse backend install clean up defaults. r=rnewman
This installs:

* Remove unused imports
* Add missing '@Override' annotations
* Add missing '@Override' annotations to implementations of interface methods
* Add missing '@Deprecated' annotations
* Remove unnecessary casts
* Remove unnecessary '$NON-NLS$' tags
* Organize imports
* Remove trailing white spaces on all lines

The installation is "per project", when it could in theory be shared,
because it's quite difficult to actually arrange the sharing.  We'd need
to write into an Eclipse workspace (which we don't currently even know).
2014-02-24 18:14:05 -08:00
Nick Alexander
4903c775c9 Bug 976353 - Part 1: Make AndroidEclipse backend install formatting defaults. r=rnewman
The most important part here is 4 spaces, no tabs.  We can iterate on
other things over time.

The installation is "per project", when it could in theory be shared,
because it's quite difficult to actually arrange the sharing.  We'd need
to write into an Eclipse workspace (which we don't currently even know).
2014-02-24 18:14:05 -08:00
Nick Alexander
11fa6a9f50 Bug 975152 - Part 0: Allow res=None in AndroidEclipseProjectData. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander
b0e5624a64 Bug 975622 - Part 2: Add post builder. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander
6d4ec3a286 Bug 975622 - Part 1: Rename existing builder and target to pre. r=bnicholson 2014-02-24 18:14:03 -08:00
Martin Thomson [:mt]
26687a6d1b Bug 972168 - Add root relative destination paths to mochitest support files. r=ted 2014-02-13 10:15:11 -08:00
Ryan VanderMeulen
2503c869df Merge m-c to inbound. 2014-02-25 15:28:35 -05:00
Ralph Giles
cdf15c77ce Bug 964559 - Run ogg mochitests unconditionally. r=doublec
Now that support is always enabled, we can remove the conditionals
on the ogg-dependent tests.

The canplay test previously run only if ogg was disabled is updated
to verify that the runtime pref works when set to a non-default
'false' value.
2014-02-21 13:55:00 -08:00
Ralph Giles
6ee0e2315b Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Ed Morley
1e4b4d9b83 Backed out changeset 2912b402523d (bug 968245) for multiple test failures; CLOSED TREE 2014-02-25 17:05:52 +00:00
Gregory Szorc
fd7bbc4e67 Bug 968245 - Regenerate mozinfo.json as part of build backend; r=glandium
Previously, mozinfo.json was only generated as configure time.
Unfortunately, the build dependencies did not capture this relationship.
So, changes to mozinfo.py (or any supporting Python file) would not
trigger mozinfo regeneration, possibly leading to clobbers.

This patch moves mozinfo.json generation from the body of config.status
to the build backend. We had to add an AC_SUBST so the build config
knows when to build mozinfo.json. This was needed because js/src's build
system doesn't define all the required variables to create mozinfo.json.
Once js/src's configure/config.status is merged into the main build
config tree, this workaround can be removed.

While we were here, mozinfo.json was made to have consistent output and
its changes are now viewable with config.status --diff.
2014-02-05 20:53:47 -08:00
Ehsan Akhgari
7dfca7e5e5 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Nick Alexander
d9941b45f7 Bug 974268 - Fix bad comment syntax in AndroidEclipse template. r=me 2014-02-18 22:28:01 -08:00
Gregory Szorc
07b004e489 Bug 687388 - Disable test_visualstudio.py due to failures in automation; r=me
It looks like builders are inconsistently configured. Some have objdirs
on different drives from source dirs. This is confusing the test because
of a relpath issue.
2014-02-18 12:48:23 -08:00
Ehsan Akhgari
dc55b42b39 Bug 973649 - Add logic for CFLAGS, CXXFLAGS and LDFLAGS to moz.build; r=mshal 2014-02-18 15:30:27 -05:00
Gregory Szorc
1c7c8d0e41 Bug 687388 - Visual Studio project generation; r=mshal
A new moz.build-based build backend for Visual Studio project generation
has been added. The build backend can be used by specifying
'VisualStudio' to the backend option of config.status or mach
build-backend. e.g. `mach build-backend -b VisualStudio`.

Usage docs have been added to build/docs/visualstudio.rst.
2014-02-14 16:31:14 -08:00
Nick Alexander
586bb1e90d Bug 973807 - Fixes to AndroidEclipse build backend. r=me
Largest changes: run mach less frequently and add build logging.
2014-02-18 00:08:41 -08:00
Ehsan Akhgari
4a5a119bb8 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Cameron McCormack
1b1bd46424 Fix error in lldb string serialiation; no bug. (DONTBUILD, NPOTB) 2014-02-17 15:22:59 +11:00
Gregory Szorc
18973e80c8 Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted 2013-11-18 11:55:33 -08:00
Nick Alexander
631eb02a14 Bug 853045 - Second follow-up: Fix bustage caused by .hgignore. r=me 2014-02-13 22:58:48 -08:00
Nick Alexander
ec66a39d7d Bug 853045 - Follow-up: Address review comment and avoid bustage. r=me 2014-02-13 22:25:26 -08:00
Nick Alexander
9e6a19baf6 Bug 853045 - Part 6: Allow running AndroidEclipse backend in |mach build-backend|. r=gps
This adds and uses a --backend parameter to config_status.py.
2014-02-13 22:19:50 -08:00
Nick Alexander
539a3b6d79 Bug 853045 - Part 5: Advertise where Eclipse projects were written. r=gps 2014-02-13 22:19:50 -08:00
Nick Alexander
1da09f1f95 Bug 853045 - Part 3: Add AndroidEclipseBackend. r=gps
test_recursive_make.py depends on the test data added by this commit, so
it's here rather than in the earlier commit.
2014-02-13 22:19:49 -08:00
Nick Alexander
c8a1c6486b Bug 853045 - Part 2: Add frontend and RecursiveMakeBackend for Android Eclipse projects. r=gps 2014-02-13 22:19:49 -08:00
Nick Alexander
8e71d01d22 Bug 853045 - Part 1: Add Android Eclipse project templates to mozbuild. r=gps 2014-02-13 22:19:49 -08:00
Nick Alexander
9347026ba6 Bug 971525 - Optionally make FileCopier only delete symlinked directories it needs to replace. r=gps 2014-02-13 22:19:48 -08:00
Nathan Froyd
0ea46c69cf Bug 969085 - try harder to resolve relative paths in MozconfigLoader; r=gps 2014-02-10 10:43:59 -05:00
Andrew Halberstadt
1e41416c09 Bug 965789 - Check if a clobber is needed before invoking make install-tests, r=gps 2014-02-13 14:36:55 -06:00
Nick Alexander
577d27d59f Bug 971272 - Post: Add informational test showing unnecessary directories may be created. r=gps 2014-02-13 09:09:09 -08:00
Nick Alexander
d3e844066c Bug 971272 - Part 3: Use required_directories in FileCopier.copy. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
7ce0a8041d Bug 971272 - Part 2: Expose FileRegistry.required_directories. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
a266af3f79 Bug 971272 - Part 1: Guard against adding {foo, foo/bar} to FileRegistry. r=gps
This already raised if the order was [foo, foo/bar].  But it didn't
prevent adding [foo/bar, foo].

The only sub-classes of FileRegistry are FileCopier and Jarrer.

FileCopier.copy threw in the previously unhandled case: the order of
creation is the same as the order of addition, so that foo is created
after foo/bar.

A zip file index can contain both foo and foo/bar.  I don't think we
should rely on this property in our use of Jarrer, but if we already do,
I guess we need to move these guards into FileCopier.  Let's hope that's
not the case!

(For the record: On my Mac OS X system, unzipping such a zip file
prompts the user for what to do, depending on the order of the entries
in the zip index.)
2014-02-13 09:09:08 -08:00
Nick Alexander
4dd3ef64d9 Bug 971265 - Add --no-remove-empty-directories to process_install_manifest.py. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
3fb261db1a Bug 971265 - Pre: Don't write file in test_util.py. r=gps 2014-02-13 09:09:07 -08:00
Ryan VanderMeulen
0c544f5044 Merge m-c to inbound. 2014-02-13 10:31:44 -05:00
Ted Mielczarek
885918ec7c Bug 971802 - Make mozpack capable of storing unix file permissions in jars. r=glandium 2014-02-13 07:47:00 -05:00
Wes Kocher
0030b662fb Merge fx-team to mozilla-central 2014-02-12 16:26:16 -08:00
Ted Mielczarek
f1cf359973 Bug 969585 - Fix installing support files from a manfiest with just disabled tests. r=gps 2014-02-13 07:46:59 -05:00
Gregory Szorc
3a7d02b052 Bug 958561 - Measure Sync with Firefox Health Report; r=rnewman
Metrics for Sync have been added to Firefox Health Report. If Sync is
not configured, we'll report that fact and the supported and preferred
Sync protocols (1.1 or 1.5).

If Sync is configured, we report the daily counts of sync attempts and
how many are successful vs errored. We also report daily counts of the
device types attached to the account.
2014-02-05 08:08:14 -08:00
Ehsan Akhgari
7f2491ff3e Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Jacek Caban
7b65057ef0 Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Brian O'Keefe
020833237c Bug 772828 - Part a: add support for RESOURCE_FILES in moz.build; r=mshal 2013-11-05 13:37:49 -05:00
Ehsan Akhgari
be1e735a00 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari
b73cab2c42 Bug 969757 follow-up, fix two comments, DONTBUILD 2014-02-10 20:55:57 -05:00