| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fixes #1755.
--
MOS_MIGRATED_REVID=132861187
|
|
|
|
|
|
|
| |
The the theory is that the closing the file handle when the process terminates races with the reader threads, and if the closing happens not while a system call is running but between two, nativeReadStream() would return an error.
--
MOS_MIGRATED_REVID=132851092
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/1680
--
MOS_MIGRATED_REVID=132051176
|
|
|
|
|
|
|
| |
WindowsFileSystem.java does not yet use it.
--
MOS_MIGRATED_REVID=132043739
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that we can properly finish reading from it even if it passed them on to a subprocess that did *not* terminate.
The alternative would be to rely on job control.
Fixes #1708. Hopefully.
Tested by running test_cpp 10 times and observing that it doesn't hang.
--
MOS_MIGRATED_REVID=131945117
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change creates a separate file for GetLastErrorString
and updates the BUILD file and windows_jni.dll builder
script.
A subsequent change will add a new source for file
operations implemented in C++, so the BUILD file updates in
this change are necessary preparations for that.
--
MOS_MIGRATED_REVID=131804375
|
|
|
|
|
|
|
| |
I suspect they were overwritten by an eager sed "s,//,#,g" command.
--
MOS_MIGRATED_REVID=131159373
|
|
|
|
|
|
|
| |
Makes #1664 much less acute.
--
MOS_MIGRATED_REVID=130750731
|
|
|
|
|
|
|
|
|
| |
the logical rollback of commit 67ad82a319ff8959e69e774e7c15d3af904ec23d.
RELNOTES[INC]: Bazel supports Unix domain sockets for communication between its client and server again, temporarily, while we diagnose a memory leak.
--
MOS_MIGRATED_REVID=130027009
|
|
|
|
|
|
|
|
|
| |
It has been superseded by gRPC.
RELNOTES[INC]: Blaze doesn't support Unix domain sockets for communication between its client and server anymore. Therefore, the --command_port command line argument doesn't accept -1 as a valid value anymore.
--
MOS_MIGRATED_REVID=129424092
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
weren't actually running the test:
- Call TerminateProcess() only if the process handle is still open
- Update the tests so that they expect a return value of 0 when reading a stream from a non-existent process
Fixes #1538 .
--
Change-Id: I4de28abbba2e2e89f285d7b8fb75bcd9af345f14
Reviewed-on: https://bazel-review.googlesource.com/4100
MOS_MIGRATED_REVID=127935621
|
|
|
|
|
|
|
| |
This is to maintain some semblance of sanity on pre-Windows 8 systems where nested jobs are not supported. In that case, it's possible that the server is already in a job.
--
MOS_MIGRATED_REVID=127810008
|
|
|
|
|
|
|
| |
--
Change-Id: Ib480661ebbc522007edd77b374d6720d216b4508
Reviewed-on: https://bazel-review.googlesource.com/#/c/4050
MOS_MIGRATED_REVID=127534581
|
|
|
|
|
|
|
|
|
|
|
| |
1. Return EOF for streams representing Windows process pipes.
2. Fix the timing of process.close()
3. Un-synchronized reading of stderr and stdout.
--
Change-Id: Iec98f45db9984be2c2b066962801cbd3ca60da3f
Reviewed-on: https://bazel-review.googlesource.com/#/c/4000/
MOS_MIGRATED_REVID=126910063
|
|
|
|
|
|
|
|
| |
- Use CREATE_NO_WINDOW instead of DETACHED_PROCESS (apparently, that's what we need)
- Remove CREATE_BREAKAWAY_FROM_JOB. We now put the Bazel server into its own job that doesn't allow breakaway processes, so it's superfluous.
--
MOS_MIGRATED_REVID=126791316
|
|
|
|
|
|
|
|
|
| |
Subprocesses now get killed if the Bazel server itself is killed and so do their subprocesses.
Also implemented Subprocess#close() so that we get a little more control over when the native structures are cleaned up.
--
MOS_MIGRATED_REVID=126628000
|
|
|
|
|
|
|
|
|
| |
what CreateProcess() does.
Test cases don't need to be changed because this issue was caught by CreateProcess() instead.
--
MOS_MIGRATED_REVID=126560893
|
|
|
|
|
|
|
|
|
|
|
| |
to Windows process management.
With this change, Bazel can build itself using native Windows process management and Ctrl-C works in server mode as expected. Yay!
Flipping the flag will come in a separate change that's easy to roll back if need be.
--
MOS_MIGRATED_REVID=126408264
|
|
|
|
|
|
|
| |
sane Java API for now)
--
MOS_MIGRATED_REVID=126306559
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126076585
|
|
|
|
|
|
|
|
|
| |
This is the first actual use of Windows JNI!
Also a cleanup of ProcessUtils. Injecting a mock implementation was never used.
--
MOS_MIGRATED_REVID=126068832
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125972319
|
|
|
|
|
|
|
|
|
| |
Tested by hacking in a call to a JNI method into BatchMain.java .
--
Change-Id: I77b0731fa6b81f8cbc80cf2a31d427764fad6ad1
Reviewed-on: https://bazel-review.googlesource.com/#/c/3908/
MOS_MIGRATED_REVID=125955521
|
|
|
|
|
|
|
| |
This is needed for generate_workspace to behave correctly on OS X, see https://bazel-review.googlesource.com/#/c/3460.
--
MOS_MIGRATED_REVID=125428956
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124938322
|
|
|
|
|
|
|
| |
Fixes #1347.
--
MOS_MIGRATED_REVID=124330246
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use FsEvents API (https://developer.apple.com/library/mac/documentation/Darwin/Reference/FSEvents_Ref)
to watch the file system. This change also refactor the LocalDiffAwareness to extract the
WatchService specific part. It now select the FsEventsDiffAwareness on OSX and the
WatchServiceDiffAwareness on Linux.
RELNOTES[NEW]: On OSX, --watchfs now uses FsEvents to be notified of changes from the filesystem
(previously, this flag had no effect on OS X).
Fixes #1074.
--
Change-Id: I927951468e4543a399e0e0ad0f1dd23d38ce15a0
Reviewed-on: https://bazel-review.googlesource.com/3420
MOS_MIGRATED_REVID=123854017
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122257999
|
|
|
|
|
|
|
|
|
|
| |
Broken by commit a6ae3e7a, which added sysctlbyname() without
required headers.
While there, remove unused PATH_MAX2.
--
MOS_MIGRATED_REVID=119619207
|
|
|
|
|
|
|
| |
--
Change-Id: Ib83af0d0a04dc6b173bef1df28d17abc7a3c824d
Reviewed-on: https://bazel-review.googlesource.com/#/c/3120/
MOS_MIGRATED_REVID=119027507
|
|
|
|
|
|
|
|
| |
This target include all non tests targets of Bazel to do integration tests of
bootstrapping.
--
MOS_MIGRATED_REVID=115830741
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114854807
|
|
|
|
|
|
|
| |
This helps avoid confusion with File*S*ystemUtils, which differs in only the case of a character but is a completely different class.
--
MOS_MIGRATED_REVID=113054116
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106634616
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106605250
|
|
|
|
|
|
|
| |
FileStatus#isSpecialFile to help disambiguate between a regular file and a special file, since the file size of a special file cannot be trusted.
--
MOS_MIGRATED_REVID=105903622
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
|
|
| |
--
Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840
MOS_MIGRATED_REVID=101462155
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101218746
|
|
|
|
|
|
|
|
|
| |
Some progress towards #311.
--
Change-Id: I9276519d4a97d358b7c4f4e34a861522d75dd495
Reviewed-on: https://bazel-review.googlesource.com/#/c/1710
MOS_MIGRATED_REVID=99019961
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=98918607
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
stat64 is deprecated and causes compiler warnings on OS X
*** Original change description ***
Switch to stat64/lstat64
Better fix for #174.
--
MOS_MIGRATED_REVID=94482625
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93413161
|
|
|
|
|
|
|
| |
Better fix for #174.
--
MOS_MIGRATED_REVID=93045666
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The stat struct's size field is off_t, which varies in size between 32- and
64-bit systems. The size field in FileStatus.java is a long (which in Java
is always 64 bits) so the size is getting initialized incorrectly.
I can't think of a good way to add this to our integration tests, but I've
tested in manually on a VM.
Fixes #174.
--
MOS_MIGRATED_REVID=93038537
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91681168
|
|
|
|
|
|
| |
--
Change-Id: I97b35fa8d49e31724bddf33ad1f25834bfc67e32
MOS_MIGRATED_REVID=90078101
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90055230
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90050516
|
|
|
|
|
|
|
|
|
|
| |
fstatat does not exists under OS X and it was replaced by a dummy
stub. This resulted in symlinks being seen as unknown file type
when reading directory entries. Ultimately, this leads to the
inability to glob symlinks under OS X.
--
MOS_MIGRATED_REVID=89304190
|