Gregory Szorc
2c5427b5d0
Bug 903149 - Part 3: Support for minifying packaged JavaScript; r=glandium
2013-09-11 19:54:19 -07:00
Nick Alexander
ccbfc3c856
Bug 971525 - Optionally make FileCopier only delete symlinked directories it needs to replace. r=gps
2014-02-13 22:19:48 -08:00
Nick Alexander
f1b0cc2217
Bug 971272 - Post: Add informational test showing unnecessary directories may be created. r=gps
2014-02-13 09:09:09 -08:00
Nick Alexander
d022342df3
Bug 971272 - Part 3: Use required_directories in FileCopier.copy. r=gps
2014-02-13 09:09:08 -08:00
Nick Alexander
f52b37797f
Bug 971272 - Part 2: Expose FileRegistry.required_directories. r=gps
2014-02-13 09:09:08 -08:00
Nick Alexander
b3c684284a
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
9b3eecf85d
Bug 971265 - Add --no-remove-empty-directories to process_install_manifest.py. r=gps
2014-02-13 09:09:08 -08:00
Ted Mielczarek
188466ab56
Bug 971802 - Make mozpack capable of storing unix file permissions in jars. r=glandium
2014-02-13 07:47:00 -05:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Mike Hommey
459d8c3649
bug 903620 - Make ExecutableFile support being put directly into a jar. r=gps
2014-02-06 13:22:35 -05:00
Brian O'Keefe
d3b4ea8269
Bug 935987 - Part 3: Add preprocessed file support to install manifests; r=gps
...
--HG--
extra : rebase_source : a6897be53064bd171bd9280735c513c6ff539a4f
2013-12-14 09:46:48 -05:00
Brian O'Keefe
5a35523e65
Bug 935987 - Part 2: Add preprocessed files to mozpack.files; r=gps
...
--HG--
extra : rebase_source : fe32f92b22aecc82ea1b6d95a5ee43e274a9f8be
2013-11-06 14:46:05 -05:00
Gregory Szorc
6ad74fa93f
Bug 941245 - Allow FileFinder to ignore patterns; r=glandium
...
--HG--
extra : rebase_source : 0dd3f11dcf97abc57962e820ede241b82d715624
extra : amend_source : ef75cc5f516ecba0062002c7432e7b257bff5209
2013-11-20 13:12:21 -08:00
Mike Hommey
fbe3253bb8
Bug 948275 - Use mozpack.path instead of os.path in mozbuild.frontend and mozbuild.backend modules. r=gps
2013-12-11 15:20:31 +09:00
Gregory Szorc
8a8d29bfb9
Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
...
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.
The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.
--HG--
extra : amend_source : 3fe659f7ad6930ef54316b5babac6b83bee240af
2013-12-09 19:02:35 +09:00
Ryan VanderMeulen
0fe6654a46
Backed out changesets 572624d76edf and 17a5f2e554e8 (bug 934739) for causing bug 947879.
2013-12-09 17:24:14 -05:00
Gregory Szorc
41c3a56159
Bug 934739 - Part 2b: Fix build bustage; r=glandium on a CLOSED TREE
2013-12-09 19:02:35 +09:00
Gregory Szorc
e325e585af
Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
...
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.
The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.
--HG--
extra : rebase_source : 1a89d397beffb75be6c7fe431003d10924c33cf0
2013-12-09 16:43:55 +09:00
Mike Hommey
91af4c88d7
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mike Hommey
e06a7f532c
Bug 934334 - Fix packager's jar chrome formatter to handle resource:// urls. r=gps
2013-11-07 10:37:45 +09:00
Gregory Szorc
63995b9d13
Bug 920637 - FileCopier should create destination directory if it doesn't exist; r=glandium
2013-10-04 15:00:39 +02:00
Gregory Szorc
cb70d30253
Bug 918392 - Handle symlinked directories properly; r=glandium
2013-09-24 10:44:27 -07:00
Gregory Szorc
a5b1f59879
Bug 911375 - Part 3: Remove PurgeManifest; r=glandium
2013-09-16 17:50:04 -07:00
Gregory Szorc
47fdb1a58b
Bug 911375 - Part 1: Add support for optional existing files; r=glandium
2013-09-03 22:16:47 -07:00
Gregory Szorc
d065e6449f
Bug 911362 - FileCopier support for not removing unreferenced files; r=glandium
2013-09-03 19:38:07 -07:00
Mike Hommey
4a03fd83b6
Bug 893976 - Avoid importing buildconfig globally from mozpack.executables. r=gps
2013-07-30 08:57:28 +09:00
Mike Hommey
5b1a1afd94
Bug 893976 - Use (cached) regular expressions for mozpack.path.match. r=gps
2013-07-30 08:57:27 +09:00
Mike Hommey
d5467c1467
Bug 893976 - Allow to skip FileFinder executables detection. r=gps
2013-07-30 08:57:27 +09:00
Gregory Szorc
b1e1ca60e9
Bug 890097 - Part 4: Fix unit test for FileCopier; r=bustage
2013-07-23 16:02:59 -07:00
Gregory Szorc
6364fb66d1
Bug 890097 - Part 3: Capture detailed information for FileCopier actions; r=glandium
2013-07-23 14:37:04 -07:00
Gregory Szorc
9b17426319
Bug 890097 - Part 2: InstallManifest class for managing file installs; r=glandium
2013-07-23 14:36:40 -07:00
Gregory Szorc
cba2b27e6b
Bug 890097 - Part 1: Use more Pythonic API for PurgeManifest; r=glandium
2013-07-23 14:35:01 -07:00
Gregory Szorc
3762673046
Bug 845050 - FileCopier support for symlinks; r=glandium
2013-07-17 11:44:33 -07:00
Gregory Szorc
e361973f01
Bug 889678 - Fix mozpack purge manifest tests and bug in version detection code; r=glandium
2013-07-02 22:55:55 -07:00
Gregory Szorc
e65cc254d8
Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium
...
--HG--
extra : rebase_source : bfe9c0eb27d5b19e26e557af8762bb45c21b949e
2013-06-25 11:04:03 -07:00
Gregory Szorc
809a9b75b1
Bug 884587 - Part 0: Teach FileCopier how to remove unwritable files on Windows; r=glandium
...
--HG--
extra : rebase_source : 2a340802af58159adaf2c11b0928e237c746f699
2013-06-28 14:46:56 -07:00
Nick Alexander
66582b795d
Bug 887121 - Make packager install and szip .so libraries in assets/ directly. r=glandium
...
This adds a Component type to the mozbuild.mozpack package manifest
parser, and teaches the packager to accept components of the form
[name destdir="dir"]. Then we update the Android package manifest and
simplify the packager code.
I would have liked to make the packager put mozglue.so and
MOZ_CHILD_PROCESS_NAME in lib/$(ABI_DIR) directly, but this turned out
to be awkward. Since MOZ_CHILD_PROCESS_NAME needs to have lib/ in its
name to load successfully on Android, we would have to add notation in
package manifests to install bin/lib/*plugin-container* to
lib/$(ABI_DIR)/*plugin-container*.
2013-06-28 09:10:57 -07:00
Ehsan Akhgari
a8bfea6116
Backed out 2 changesets (bug 884587) because of Windows build bustage on a CLOSED TREE
...
Backed out changeset 0244a34bc419 (bug 884587)
Backed out changeset 796961a384b4 (bug 884587)
2013-06-25 16:38:55 -04:00
Gregory Szorc
f8d99eeb9b
Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium
2013-06-25 11:04:03 -07:00
Ryan VanderMeulen
6f4b79afc6
Backed out 2 changesets (bug 884587)
...
Backed out changeset 447ff64adbb1 (bug 884587)
Backed out changeset 8d90527c22c6 (bug 884587)
2013-06-25 15:22:37 -04:00
Gregory Szorc
d16a589a6d
Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium
2013-06-25 11:04:03 -07:00
Gregory Szorc
aa3092833f
Bug 884569 - Support for removing untracked files from a directory; r=glandium
...
--HG--
extra : rebase_source : e98fcbf839085ad6bc2e7a8fd3353834557caeec
2013-06-19 19:57:48 -07:00
Mike Hommey
45813814b9
Bug 871080 - Send chrome manifest entries first to package formatters, before e.g. resource manifest entries. r=gps
2013-05-15 19:22:46 +02:00
Jacek Caban
3ceff3f3da
Bug 865216 - Recognize exacutables on WINNT in is_executable. r=glandium
2013-04-25 10:02:37 +02:00
Mike Hommey
88bd252a5b
Bug 852950 - Use signature sniffing for Elf and Mach-O binaries for dependentlibs.py. r=ted
2013-03-20 20:11:16 +01:00
Mike Hommey
783cda7efd
Bug 846740 - Treat chrome searchplugins as non-chrome when doing l10n-repack. r=gps
2013-03-06 07:28:41 +01:00
Mike Hommey
00650d4203
Bug 846740 - Move most l10n-repack code under mozpack.packager, refactor it, and add a unit test. r=gps
...
--HG--
rename : toolkit/mozapps/installer/l10n-repack.py => python/mozbuild/mozpack/packager/l10n.py
2013-03-06 07:26:32 +01:00
Mike Hommey
762ef4ff93
Bug 840094 - Change how nsZipArchive logging works. r=taras,r=gps
...
Now log in a single file given by the MOZ_JAR_LOG_FILE environment variable.
Log entries contain the URI of the Zip archive, followed by the path in the
archive.
* * *
Bug 840094 - Fixup for debug builds failure because of nsZipArchive::CloseArchive being called several times
2013-02-19 11:02:12 +01:00
Mike Hommey
b5e71e994c
Bug 835214 - Avoid re-stripping executables already stripped. r=ted
...
Also rework UnifiedExecutableFile so that it leaves stripping to ExecutableFile.
2013-02-03 07:20:33 +01:00
Mike Hommey
5df98a6b44
Bug 836218 - Always copy files instead of skipping when destination is newer when doing l10n-repacks. r=ted
2013-02-03 07:20:24 +01:00