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

11 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 0b25d43eaf Bug 1393242 - Use hglib for get_files_in_working_directory(); r=mshal
And convert consumers to context managers because hglib requires that.

MozReview-Commit-ID: Ckf1yBYeUlm

--HG--
extra : rebase_source : 985220032bced1a7077fd9b04ca8ad6de822c887
2017-08-23 15:21:16 -07:00
Nicolas B. Pierron 702d71cbd0 Bug 1376921 - Remove mips from the list of checked MacroAssemblers. r=tcampbell 2017-06-29 18:49:10 +00:00
Gregory Szorc 2b1957d1e5 Bug 1361172 - Rewrite code for finding files in VCS checkout; r=glandium
We're getting an intermittent failure running `hg manifest` in CI. I
have no clue why.

What I do know is that we now have the mozversioncontrol Python package
for containing utility code for interacting with version control. It is
slightly more robust and I'm willing to support it more than I am
check_utils.py.

This commit adds a new API to our abstract repository class to obtain the
files in the working directory by querying version control.

Since I suspect cwd was coming into play in automation, I've also
added a utility function to mozversioncontrol to attempt to find
a version control checkout from the current working directory. It
simply traces ancestor paths looking for a .hg or .git directory.

Finally, I've ported all callers of the now-deleted API to the new
one. The old code had some "../.." paths in it, meaning it only
worked when cwd was just right. Since we resolve the absolute path
to the checkout and store it on the repo object, I've updated the
code so it should work no matter what cwd is as long as a repo can
be found. I'm not 100% confident I found all consumers assuming cwd.
But it's a start.

I'm not 100% confident this will fix the intermittent issues in CI. But
at least we should get a better error message and at least we'll be
running less hacky code.

MozReview-Commit-ID: AmCraHXcTEX

--HG--
extra : rebase_source : 815ae369776577ad374333920fd645d412a55148
2017-05-18 16:06:49 -07:00
Luke Wagner 3562506a11 Bug 1240583 - Odin: add MacroAssembler::repatchThunk (r=bbouvier)
MozReview-Commit-ID: Blj499Wb0Hb

--HG--
extra : rebase_source : 27eddbc7d41beea7351610cfe2c02787952439be
2016-02-10 09:22:36 -06:00
Heiher 0545767f1c Bug 1213746 - IonMonkey: MIPS64: Import MacroAssembler-mips64. r=lth f=rankov
---
 config/check_macroassembler_style.py          |    2 +-
 js/src/jit/MacroAssembler.h                   |   14 +-
 js/src/jit/mips64/MacroAssembler-mips64-inl.h |  109 +
 js/src/jit/mips64/MacroAssembler-mips64.cpp   | 2754 +++++++++++++++++++++++++
 js/src/jit/mips64/MacroAssembler-mips64.h     | 1283 ++++++++++++
 js/src/moz.build                              |    1 +
 6 files changed, 4159 insertions(+), 4 deletions(-)
 create mode 100644 js/src/jit/mips64/MacroAssembler-mips64-inl.h
 create mode 100644 js/src/jit/mips64/MacroAssembler-mips64.cpp
 create mode 100644 js/src/jit/mips64/MacroAssembler-mips64.h
2015-11-07 05:51:06 +08:00
Heiher 1a1f9a1869 Bug 1218652 - IonMonkey: MIPS: Add mips-shared in check macroassembler style. r=arai
---
 config/check_macroassembler_style.py | 2 +-
 js/src/jit/MacroAssembler.h          | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
2015-10-28 07:35:06 +08:00
Nicolas B. Pierron c11c19d476 Bug 1184959 part 1 - check_macroassembler_style: Only add an inline prefix in the output, if the methods are inlined. r=h4writer 2015-08-17 11:32:15 +02:00
Nicolas B. Pierron a5a7fd9006 Bug 1184959 part 0 - check_macroassembler_style: Remove default values from the signature. r=h4writer 2015-08-17 11:32:14 +02:00
Heiher 4444ba08a7 Bug 1182936 part 3 - Rename mips to mips32 in check_macroassembler_style.py. r=nbp 2015-08-12 11:22:01 +02:00
Heiher dbf162b6fd Bug 1183487 - Fix sorting in check_macroassembler_style.py. r=nbp 2015-07-13 19:57:00 -04:00
Nicolas B. Pierron 96bd1b779a Bug 1178772 - Add check_macroassembler_style.py: Verify that each MacroAssembler declaration maps to all its definitions. r=h4writer 2015-07-09 14:35:29 +02:00