Commit Graph

55 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
d572383d8b merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Mark Banner
eec027bbee Bug 1223573 - Part 4. Build system changes for Loop as a system add-on. r=mikedeboer,r=glandium 2015-11-29 17:08:35 +00:00
Phil Ringnalda
f9e1e3dd9f Back out 8 changesets (bug 1223573) for Win7 PGO xperf unexpected access failures
CLOSED TREE

Backed out changeset 19876a153a00 (bug 1223573)
Backed out changeset 14251062e347 (bug 1223573)
Backed out changeset 081b0af71d6e (bug 1223573)
Backed out changeset 21ebe3534e58 (bug 1223573)
Backed out changeset d6754894897c (bug 1223573)
Backed out changeset 1b4d6308002e (bug 1223573)
Backed out changeset a13b3bba5529 (bug 1223573)
Backed out changeset f3ccccf5b6fe (bug 1223573)
2015-11-27 21:39:23 -08:00
Mark Banner
62de6d0f29 Bug 1223573 - Part 4. Build system changes for Loop as a system add-on. r=mikedeboer,r=glandium 2015-11-27 18:57:40 +00:00
Armen Zambrano Gasparnian
b285892070 Bug 1223123 - Enable pulse_audio for Linux64 TC desktop jobs + proper window manager. r=dustin 2015-11-25 14:56:02 -05:00
Nick Alexander
9bcadfad8b Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian
The sub-project definitions are still in the object directory (and
still installed by |mach gradle-install); over time, we'll migrate
them out.

The Gradle wrapper and {settings,build}.gradle in topsrcdir are
identical to those in mobile/android/gradle.  I don't like the
duplication, but I also don't want the burden of keeping the two
configurations identical.  We'll move away from the configuration
using mobile/android/gradle as quickly as we can.
2015-10-21 15:07:55 -07:00
Mike Conley
f8b2e40580 Bug 1214256 - Add talos virtualenv and tp5n files to .hgignore and .gitignore. r=gps 2015-10-13 12:35:42 -04:00
Michael Ratcliffe
49de3d4930 Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps 2015-09-30 14:44:48 +01:00
J. Ryan Stinnett
79ff031964 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
Andreas Tolfsen
c324053c1c Bug 1153822: Adjust Marionette responses to match WebDriver protocol
Introduce protocol version levels in the Marionette server.
On establishing a connection to a local end, the remote will return a
`marionetteProtocol` field indicating which level it speaks.

The protocol level can be used by local ends to either fall into
compatibility mode or warn the user that the local end is incompatible
with the remote.

The protocol is currently also more expressive than it needs to be and
this expressiveness has previously resulted in subtle inconsistencies
in the fields returned.

This patch reduces the amount of superfluous fields, reducing the
amount of data sent.  Aligning the protocol closer to the WebDriver
specification's expectations will also reduce the amount of
post-processing required in the httpd.

Previous to this patch, this is a value response:

    {"from":"0","value":null,"status":0,"sessionId":"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}"}

And this for ok responses:

    {"from":"0","ok":true}

And this for errors:

    {"from":"0","status":21,"sessionId":"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}","error":{"message":"Error loading page, timed out (onDOMContentLoaded)","stacktrace":null,"status":21}}

This patch drops the `from` and `sessionId` fields, and the `status`
field from non-error responses.  It also drops the `ok` field in non-value
responses and flattens the error response to a simple dictionary with the
`error` (previously `status`), `message`, and `stacktrace` properties,
which are now all required.

r=jgriffin
2015-05-21 11:26:58 +01:00
Armen Zambrano Gasparnian
b697d67b1e Bug 1186963 - Ignore files generated by running a Mozharness script. DONTBUILD. r=gps 2015-07-24 09:30:18 -04:00
Ted Mielczarek
9ee8d30886 bug 1172655 - Add GeckoEmbed XCode project (NPOTB) 2015-06-15 07:46:08 -04:00
Mark Banner
cb30f89446 Bug 1105490 - Remove old ToS generation code from Loop Standalone. r-dmose,r=ted NPOTB DONTBUILD 2015-03-30 21:45:53 +01:00
Nick Alexander
4f393b3ebb Bug 1098239 - Rewrite mobile/android Gradle integration. r=me
This is a big patch, but it's essentially NPOTB.  The part that is POTB
is ... removing Gradle integration from the build.  I've implemented
|mach gradle-install| as a substitute for the build system stuff; it's
just so much easier to iterate on a mach command than a moz.build and
Makefile.in.

I'm landing this with self-review because this lessens the impact of the
Gradle integration on the build system and because I am the only person
who understands either the old or the new system.

You'll need to run |mach gradle-install| at top level to configure the
new Gradle integration.  But |mach gradle ...| does the right thing
configuration steps too.

This patch rewrites most of the Gradle integration.  The major changes
are:

* all .gradle files move into mobile/android/gradle;
* all the Gradle projects live in the object directory;
* mozconfig exposed to all build.gradle files;
* simplification of Android configuration between build.gradle files;
* support for user-specified version of build tools;
* first steps towards supporting builds from the source directory;
* bumps Gradle to 2.2.1;
* bumps the Android-Gradle plugin to 0.14.4.

This is seemingly a step backwards given that we'd prefer to ship the
.idea directory in the source directory.  But in fact we get closer to
that; it's possible to run ./gradlew in the source directory and get a
reasonable build.  We'll progress with this in time.  The win right now
is that the projects are nested, which makes importing work better on
Linux machines.

Unfortunately IntelliJ 13 and 14 now have conflicting Android-Gradle
plugin version requirements, so we now only support IntelliJ 14.0.2 and
above.

--HG--
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/base/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/branding/AndroidManifest.xml
rename : mobile/android/gradle/omnijar/gradle_AndroidManifest.xml => mobile/android/gradle/omnijar/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_code/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_resources/AndroidManifest.xml
rename : mobile/android/thirdparty/gradle_AndroidManifest.xml => mobile/android/gradle/thirdparty/AndroidManifest.xml
2014-12-22 19:49:04 -08:00
Rémy HUBSCHER
602593b663 Bug 1044411 - Generate Loop ToS static content, r=abr,dmose; rs=ted for .hgignore changes
Bug 1044411 - Generate Loop ToS static content, priv-policy bits removed
2014-08-26 12:58:00 -05:00
Ting-Yu Lin
d43420060d Bug 1065252 - Ignore Emacs .dir-locals.el. r=ted
Ignore Emacs's directory variable files .dir-locals.el in all directory.
It allows me to write ((c-mode . ((mode . c++)))) to view all .h files
in C++ mode especially for those .h files generated by IDL without
proper Emacs modeline.

DONTBUILD because NPOTB
2014-09-09 23:40:00 +02:00
James Graham
ae43c663b6 Bug 945222 - Initial import of web-platform-tests testsuite 4/4 : Integration with build system, mach and mozharness, r=ahal,gps
--HG--
extra : rebase_source : 0d704f5a3edcbcef56d15b76ef26aae1b7232c4d
2014-09-04 12:52:43 +01:00
Adam Roach [:abr]
d00ec8b041 Bug 1031025 - Add generated/downloaded Loop unit test files r=jorendorff 2014-06-27 15:25:03 -05:00
Till Schneidereit
46a900b2b0 Bug 997250 - Change .hgignore to ignore directories matching ^js/src/.*-obj. r=jorendorff DONTBUILD
--HG--
extra : rebase_source : 6ffcc91bfa1007dd2ca6541e7c311224247d265d
2014-04-23 22:41:51 +02:00
Anthony Jones
93019cbd7b Bug 908503: Change to stagefright demuxer; r=cpearce
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
Bug 908503: Remove Chrome demuxer; r=cpearce
Bug 908503: Add conversion to Annex B; r=cpearce
2014-05-22 14:42:39 +12:00
Ting-Yu Lin
d50cd1d4fd Bug 1007486 - Ignore tag files generated by GNU Global. r=ted 2014-05-07 20:32:00 -04:00
Botond Ballo
db81338f37 Bug 894094 - Add .idea folder (created by JetBrains IDEs) to .hgignore. r=BenWa 2013-07-16 10:32:55 -04:00
Panos Astithas
3c856b6536 Bug 861197 - chrome.manifest files created by the devtools loader should be ignored; r=dcamp; DONTBUILD because NPOTB 2013-04-30 10:22:25 +03:00
Dave Townsend
ca287bb2e6 Bug 793928: Ship the Add-on SDK APIs as part of the platform. r=gps 2013-02-01 11:20:17 -08:00
Gregory Szorc
d114857533 Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
Gregory Szorc
7aaa376790 Bug 783727 - Part 5: Add psutil to virtualenv; r=ted
It is optional so if your machine does not support building Python C
extensions things should still work.
2012-09-19 11:20:19 -07:00
Gregory Szorc
87bacd47a4 Bug 758823 - Don't create egg-info directories when populating virtualenv; r=ted
This patch basically bypasses setup.py for pure Python packages. Instead
of producing .egg-info directories in the source tree, it merely
installs .pth files pointing back to the source directory. As a result,
this is less junk in the source tree.

The .hgignore and .gitignore entries for egg-info directories have been
removed because there should no longer be egg-info directories any more.
People should clean up these orphaned directories manually. This can be
accomplished by running:

  $ hg status -u | grep .egg-info | xargs rm -rf
  $ git ls-files -o '*.egg-info*' | xargs rm -rf
2012-09-04 10:45:45 -07:00
Kartikaya Gupta
fb2403b191 Bug 760094 - Ignore egg-info directories in source tree. r=ted 2012-05-31 12:24:17 -04:00
Ehsan Akhgari
03ce493c17 Bug 756516 - Ignore .clang_complete files; r=BenWa
DONTBUILD
2012-05-18 13:55:58 -04:00
Doug Turner
405e695d4d Bug 746470 - Add mozconfig* to the hg ignore file. r=khuey 2012-05-02 09:43:45 -07:00
Till Schneidereit
5739bcd7fa Bug 726573: Change .hgignore and .gitignore to ignore Eclipse IDE project files in subdirectories, too. r=khuey 2012-02-13 14:36:16 -08:00
Jonathan Watt
6706d020f5 Bug 718442 - Have .hgignore and .gitignore ignore the project files Eclipse IDE. r=khuey.
--HG--
extra : rebase_source : d02b562c1764de4e8b2acf92f74f5e1ca1782b25
2012-01-16 21:31:44 +00:00
Kyle Huey
457ad7e77a Bug 715113: Update Snappy to r56. r=bent 2012-01-05 11:26:14 -05:00
Richard Newman
65ce71b277 Bug 686354 - hgignore addition for Vim swap files. r=ted 2011-09-12 17:25:24 -07:00
Justin Lebar
da3ad81eec Bug 589306 - mozconfig* files shouldn't be hgignored. r=ted, a=npotb 2010-08-27 14:19:45 -07:00
Ehsan Akhgari
b54512ef4f Bug 560357 - .hgignore should ignore ctags, r=ted 2010-04-29 10:33:37 +02:00
Marco Bonardo
4f0bde9d4d Bug 537271 - Add .pyo files to .hgignore, r=ted 2010-01-08 13:57:46 +01:00
Jim Blandy
7f21163e78 No bug: Ignore idutils index files wherever they appear; ignore SpiderMonkey test logs. r=jorendorff 2009-10-16 11:48:16 -07:00
Ben Newman
baf70a3ff9 [HTML5] Remove unneeded parser/html/java/translator directory (bug 518224). r=hsivonen
--HG--
extra : rebase_source : 2d3d248bb554f66206568e55690fe1b0cd198515
2009-09-25 12:57:09 -07:00
Ben Newman
8f8e0b0b48 Bug 504447 - Make overzealous \.class$ pattern in .hgignore more precise. r=dbaron sr=jst 2009-07-17 13:50:20 -07:00
Ben Newman
9f9cf0e5b4 Bug 499141 - [HTML5] Check in the Java to C++ translator. r+sr=jst 2009-07-14 17:39:30 -07:00
Gavin Sharp
6f79c25b4d Bug 488864 - have hgignore ignore all (.)mozconfig* files; r=ted.mielczarek 2009-04-22 02:42:14 +02:00
Serge Gautherie
f089acf0c5 Bug 451273 - Add ".DS_Store" to .hgignore; (Bv1) "Root" the file; r=ted.mielczarek 2009-03-24 00:58:39 +01: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
Gavin Sharp
d9b7a7a51b Backed out changeset 7fdbccdc1e94 2008-08-26 19:40:21 -04:00
Gavin Sharp
6b325928cd Bug 452135: add nsBadCertHandler to packages-static, patch by Manish Singh <manish@flock.com>, r=me 2008-08-26 19:39:16 -04:00
Jesse Ruderman
908eef2884 Add ".DS_Store" to .hgignore (bug 451273). r=luser 2008-08-23 21:21:00 -07:00
Edward Lee
f0036b5555 Bug 448622 - Ignore obj/objdir without hyphen for hgignore. r=ted 2008-07-31 22:44:18 -07:00
Jim Blandy
d2f545575d Bug 439651 - ignore ID file (idutils) and TAGS (etags), r=bsmedberg 2008-07-09 13:03:31 -04:00
Benjamin Smedberg
03e5761766 Bug 417635 - import NSPR and NSS into hg, r=ted 2008-06-06 08:34:40 -04:00