Review Request 43398: CMake: Added AppC spec protocol buffer to build.

2016-02-09 Thread Alex Clemmer
to 'mcypark'. Repository: mesos Description --- CMake: Added AppC spec protocol buffer to build. Diffs - src/CMakeLists.txt 4a2954498efa48a4eb43f82827ff1d6f5f65d389 Diff: https://reviews.apache.org/r/43398/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43399: Windows: Added `stout/os/read.hpp` include to `windows/os.hpp`.

2016-02-09 Thread Alex Clemmer
--- Thanks, Alex Clemmer

Review Request 43410: Windows: Added support for dynamic library loading.

2016-02-09 Thread Alex Clemmer
/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 43410: Windows: Added support for dynamic library loading.

2016-02-09 Thread Alex Clemmer
/3rdparty/stout/include/stout/windows/dynamiclibrary.hpp PRE-CREATION Diff: https://reviews.apache.org/r/43410/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 43411: Windows: Added dynamic library loading tests to build.

2016-02-09 Thread Alex Clemmer
/3rdparty/stout/tests/CMakeLists.txt 3c65d0422dc6e198180d53d1c9e6cb2839137434 3rdparty/libprocess/3rdparty/stout/tests/dynamiclibrary_tests.cpp 27626ae28db090f1a002239ff5c674b82e8fc9a8 Diff: https://reviews.apache.org/r/43411/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43409: Windows: Added `src/resource_estimator.cpp` to build.

2016-02-09 Thread Alex Clemmer
: mesos Description --- Windows: Added `src/resource_estimator.cpp` to build. Diffs - src/CMakeLists.txt 9ab84c0898b3adce6063cc50b04ee74cf1471609 Diff: https://reviews.apache.org/r/43409/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43411: Windows: Added dynamic library loading tests to build.

2016-02-09 Thread Alex Clemmer
/stout/tests/dynamiclibrary_tests.cpp 27626ae28db090f1a002239ff5c674b82e8fc9a8 Diff: https://reviews.apache.org/r/43411/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43413: CMake:[1/2] Allow downloading third-party dependencies from mirror.

2016-02-09 Thread Alex Clemmer
7f83dc84997d3b824d1f63012894bd9fc5284053 Diff: https://reviews.apache.org/r/43413/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43407: CMake: Force GMock to build and link statically.

2016-02-09 Thread Alex Clemmer
: mesos Description --- CMake: Force GMock to build and link statically. Diffs - 3rdparty/libprocess/3rdparty/CMakeLists.txt 9b61376ea6aad304607c20c9823d9ef19013eca0 Diff: https://reviews.apache.org/r/43407/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 43410: Windows: Added support for dynamic library loading.

2016-02-09 Thread Alex Clemmer
Diff: https://reviews.apache.org/r/43410/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 43411: Windows: Added dynamic library loading tests to build.

2016-02-09 Thread Alex Clemmer
3c65d0422dc6e198180d53d1c9e6cb2839137434 3rdparty/libprocess/3rdparty/stout/tests/dynamiclibrary_tests.cpp 27626ae28db090f1a002239ff5c674b82e8fc9a8 Diff: https://reviews.apache.org/r/43411/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 43409: Windows: Added `src/resource_estimator.cpp` to build.

2016-02-09 Thread Alex Clemmer
Remoortere and Michael Park. Repository: mesos Description --- Windows: Added `src/resource_estimator.cpp` to build. Diffs - src/CMakeLists.txt 9ab84c0898b3adce6063cc50b04ee74cf1471609 Diff: https://reviews.apache.org/r/43409/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 43407: CMake: Force GMock to build and link statically.

2016-02-09 Thread Alex Clemmer
Remoortere and Michael Park. Repository: mesos Description --- CMake: Force GMock to build and link statically. Diffs - 3rdparty/libprocess/3rdparty/CMakeLists.txt 9b61376ea6aad304607c20c9823d9ef19013eca0 Diff: https://reviews.apache.org/r/43407/diff/ Testing --- Thanks, Alex

Review Request 43418: Windows: Added slave/status_update_manager.cpp and other files.

2016-02-09 Thread Alex Clemmer
--- Thanks, Alex Clemmer

Review Request 43414: CMake:[2/2] Canonicalize location of third-party dependencies.

2016-02-09 Thread Alex Clemmer
/43414/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43417: Windows: Marked functions in headers `inline` to avoid linker errors.

2016-02-09 Thread Alex Clemmer
046388189823c0c41ce6cc135d5d3838e9131087 3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/rmdir.hpp 9a592c4ec9f45fdd8ae8c724c3cab67876de72f5 Diff: https://reviews.apache.org/r/43417/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43415: CMake: Moved Windows build to version of glog that builds with CMake.

2016-02-09 Thread Alex Clemmer
/Process3rdpartyConfigure.cmake d36fa2fbe903fb278e6c00b47bfa4b81cf8f4673 Diff: https://reviews.apache.org/r/43415/diff/ Testing --- Thanks, Alex Clemmer

Review Request 43416: Windows: Removed ambiguous call to `::write`.

2016-02-09 Thread Alex Clemmer
/43416/diff/ Testing --- Thanks, Alex Clemmer

Review Request 42981: Rename `IO::DUPLICATE` to avoid conflict with Windows macro.

2016-01-29 Thread Alex Clemmer
://reviews.apache.org/r/42981/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 40851: Windows:[1/2] Add patch for Windows ZK version.

2016-01-27 Thread Alex Clemmer
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40851/#review116638 --- Ship it! Ship It! - Alex Clemmer On Jan. 27, 2016, 10:29

Re: Review Request 42016: Windows:[2/2] Use ZK in Windows build.

2016-01-27 Thread Alex Clemmer
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42016/#review116640 --- Ship it! Ship It! - Alex Clemmer On Jan. 27, 2016, 10:29

Re: Review Request 40851: Windows:[1/2] Updated zookeeper-3.4.5.patch to fix VS2015 build.

2016-01-27 Thread Alex Clemmer
> On Jan. 27, 2016, 3 a.m., Alex Clemmer wrote: > > Aside from the relatively minor comments below, I have one major > > suggestion: I'd like to point Windows builds at ZK commit > > 06d3f3fa1bff258e62c0670309ad1849b1434bb1[1], (or _some_ commit later in the > >

Re: Review Request 42016: Windows: Apply patch.exe without elevation prompt

2016-01-25 Thread Alex Clemmer
else (NOT EXISTS ${GNUWIN32_PATCH_EXECUTABLE}) ... endif(NOT EXISTS ${GNUWIN32_PATCH_EXECUTABLE}) ``` Note that the `else` clause behaves the same as it did before, it's not an `elseif` or anything like that. CMakeLists.txt (lines 110 - 113) <https://reviews.apac

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-16 Thread Alex Clemmer
://reviews.apache.org/r/39584/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-16 Thread Alex Clemmer
/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39805: Moved filesystems tests to their own file.

2016-01-15 Thread Alex Clemmer
/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
ated e-mail. To reply, visit: https://reviews.apache.org/r/39803/#review114644 ------- On Jan. 15, 2016, 1:58 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.or

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
return `int` like the ones below? or are they > > supposed to return `bool`? > > Alex Clemmer wrote: > Good catch, they are originally macros, but the expression they return is > `bool`, so let's use that. > > Now that I think about it, let's also remove `S_ISLNK` because we

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-15 Thread Alex Clemmer
autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
return `int` like the ones below? or are they > > supposed to return `bool`? > > Alex Clemmer wrote: > Good catch, they are originally macros, but the expression they return is > `bool`, so let's use that. > > Now that I think about it, let's also remove `S_ISLNK` because we

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
Mesos. Can we just use > > `std::shared_ptr`? > > Alex Clemmer wrote: > Per our Slack conversation: (1) I'm all for judicious use of `typedef`, > and in this case I would really prefer to keep `void *` out of the codebase > where possible. In Windows we expect to make

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
ou meant, because that's what I did! - Alex --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39803/#review114796 ------- On

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-15 Thread Alex Clemmer
15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-14 Thread Alex Clemmer
lt` (which we aren't). Still, it is convention elsewhere in the code, and I don't see any particular reason why this isn't just good to have, so if you don't mind, I'd like to keep it. - Alex --- This is an automatically genera

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-14 Thread Alex Clemmer
15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-14 Thread Alex Clemmer
enerated e-mail. To reply, visit: https://reviews.apache.org/r/39803/#review114299 --- On Jan. 14, 2016, 10:08 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-14 Thread Alex Clemmer
; `((mode) & S_IFMT) == S_IFDIR` rather than to remove the parens around the `mode` symbol itself. Let me know if this is not correct. - Alex --- This is an automatically generated e-mail. To reply, visit: https://r

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-14 Thread Alex Clemmer
15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-14 Thread Alex Clemmer
Mesos. Can we just use > > `std::shared_ptr`? > > Alex Clemmer wrote: > Per our Slack conversation: (1) I'm all for judicious use of `typedef`, > and in this case I would really prefer to keep `void *` out of the codebase > where possible. In Windows we expect to make

Re: Review Request 42035: Windows: Removed the `--switch_user` flag in Windows.

2016-01-13 Thread Alex Clemmer
led only on certain types of Linux. - Alex --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42035/#review114246 ------- O

Re: Review Request 39805: Moved filesystems tests to their own file.

2016-01-12 Thread Alex Clemmer
/os_tests.cpp e0a898d91e3521d4b228621a81412e1dd5ddf63d Diff: https://reviews.apache.org/r/39805/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39805: Moved filesystems tests to their own file.

2016-01-12 Thread Alex Clemmer
/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
/39019/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
d46e262e0fd1c2de36f3bf19d8bd693c23bf58cd Diff: https://reviews.apache.org/r/39019/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-11 Thread Alex Clemmer
/windows/direntsize.hpp PRE-CREATION 3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/ls.hpp 5b41344ead115d14dcee8c87a63ed647002f9aae Diff: https://reviews.apache.org/r/39802/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
/39019/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
lex --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39019/#review113576 --- On Jan. 11, 2016, 10:03 p.m., Alex Clemmer wrote: > > ---

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-11 Thread Alex Clemmer
gt; d46e262e0fd1c2de36f3bf19d8bd693c23bf58cd > > Diff: https://reviews.apache.org/r/39803/diff/ > > > Testing > --- > > `make check` from autotools on Ubuntu 15. > `make check` from CMake on OS X 10.10. > Ran `check` project in VS on Windows 10. > > > Thanks, > > Alex Clemmer > >

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-11 Thread Alex Clemmer
to static_assert that _USE_32BIT_TIME_T is not defined. > > Probably sound advice for _UNICODE and _MBCS as well. Perhaps these static > > asserts should go in windows.hpp? If you put them there, add a comment > > saying why the asserts are necessary (e.g. "Implementation of mtim

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
llocating one extra byte. My bad. - Alex --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39019/#review113853 --- On Jan. 11, 2016, 11:24 a.m., Alex Clemmer wrote: > > --

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-11 Thread Alex Clemmer
/direntsize.hpp PRE-CREATION 3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/ls.hpp 5b41344ead115d14dcee8c87a63ed647002f9aae Diff: https://reviews.apache.org/r/39802/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
/39019/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-11 Thread Alex Clemmer
/include/stout/os/windows/ls.hpp 5b41344ead115d14dcee8c87a63ed647002f9aae Diff: https://reviews.apache.org/r/39802/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-11 Thread Alex Clemmer
his is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39803/#review113835 ------- On Jan. 5, 2016, 12:12 a.m., Alex Clemmer wrote: > > ---

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
reply, visit: https://reviews.apache.org/r/39019/#review113576 ------- On Dec. 23, 2015, 6:44 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-m

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
`free` is meant to be safe for `NULL/nullptr`. > > Why not follow this pattern? > > asserting `directory != NULL` seems like it might surprise people? > > Alex Clemmer wrote: > Well, you are the C++ programmer, so I'll trust your judgement on the > `assert`s here.

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-11 Thread Alex Clemmer
15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-11 Thread Alex Clemmer
just a second > > instance of this antipattern, see the dropped issue on this function). > > Alex Clemmer wrote: > Ok, sorry, it wasn't clear that we wanted to address this in this review. > > I'll update the review with a first cut at this problem. I've fo

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-11 Thread Alex Clemmer
to static_assert that _USE_32BIT_TIME_T is not defined. > > Probably sound advice for _UNICODE and _MBCS as well. Perhaps these static > > asserts should go in windows.hpp? If you put them there, add a comment > > saying why the asserts are necessary (e.g. "Implementation of mtim

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
/39019/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-11 Thread Alex Clemmer
ically generated e-mail. To reply, visit: https://reviews.apache.org/r/39802/#review113581 --- On Jan. 4, 2016, 11:20 a.m., Alex Clemmer wrote: > > --- > This is an automatically

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-11 Thread Alex Clemmer
/stout/include/stout/os/windows/ls.hpp 5b41344ead115d14dcee8c87a63ed647002f9aae Diff: https://reviews.apache.org/r/39802/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39019: Windows: Added dirent compat code for non-Unix systems.

2016-01-11 Thread Alex Clemmer
/39019/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-11 Thread Alex Clemmer
t: https://reviews.apache.org/r/39802/#review113580 ------- On Jan. 4, 2016, 11:20 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39802/ > --

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-11 Thread Alex Clemmer
an invalid handle is not the best idea. At best it > > will be a no-op. > > Alex Clemmer wrote: > So, would you suggest checking if the handle is `INVALID_HANDLE_VALUE` > and closing it only if that's not true? > > Alex Clemmer wrote: > I bring this up mainly beca

Re: Review Request 41108: CMake: Add sasl and dl link flags, add curl link library and add protobuf library directory.

2016-01-11 Thread Alex Clemmer
-- > > (Updated Jan. 8, 2016, 3:29 p.m.) > > > Review request for mesos, Artem Harutyunyan, Alex Clemmer, Joris Van > Remoortere, and Joseph Wu. > > > Bugs: MESOS-3843 > https://issues.apache.org/jira/browse/MESOS-3843 > > > Repository: mesos

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-07 Thread Alex Clemmer
autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Review Request 42035: Windows: Remove the `--switch_user` flag in Windows.

2016-01-07 Thread Alex Clemmer
19c2996c4572b992030f8824380f3979ced7e526 src/slave/slave.cpp 90d0fecd2d83fd174134870a577ac59d79c0006f Diff: https://reviews.apache.org/r/42035/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 42035: Windows: Removed the `--switch_user` flag in Windows.

2016-01-07 Thread Alex Clemmer
--- Thanks, Alex Clemmer

Review Request 42036: Windows: Added `slave/flags.cpp` to Windows build.

2016-01-07 Thread Alex Clemmer
, and Joris Van Remoortere. Repository: mesos Description --- Windows: Added `slave/flags.cpp` to Windows build. Diffs - src/CMakeLists.txt 81afdc6c3e9b062efb181b2f92a9185bdd4acfb1 Diff: https://reviews.apache.org/r/42036/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-05 Thread Alex Clemmer
autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39805: Moved filesystems tests to their own file.

2016-01-05 Thread Alex Clemmer
/os_tests.cpp e0a898d91e3521d4b228621a81412e1dd5ddf63d Diff: https://reviews.apache.org/r/39805/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39834: Made `path_tests.cpp` standalone.

2016-01-04 Thread Alex Clemmer
/path_tests.cpp 821dbb185f09e2f279d95fd354ce2168cddf1bac Diff: https://reviews.apache.org/r/39834/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39805: Moved filesystems tests to their own file.

2016-01-04 Thread Alex Clemmer
/os_tests.cpp e0a898d91e3521d4b228621a81412e1dd5ddf63d Diff: https://reviews.apache.org/r/39805/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39804: Windows: Moved `os::find` to its own file, `stout/os/find.hpp`.

2016-01-04 Thread Alex Clemmer
10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
/3rdparty/stout/include/stout/windows.hpp d46e262e0fd1c2de36f3bf19d8bd693c23bf58cd Diff: https://reviews.apache.org/r/39803/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
n-us/library/14h5k7ff.aspx This should not impact the Windows codebase, no. It is used only in one place, the pid isolator, and we don't need that. - Alex --- This is an automatically generated e-mail. To reply, visit:

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-04 Thread Alex Clemmer
autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-04 Thread Alex Clemmer
autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-04 Thread Alex Clemmer
on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-04 Thread Alex Clemmer
/stout/os/windows/ls.hpp 5b6fba13ce215af5801fd0867f6e774e100689ca Diff: https://reviews.apache.org/r/39802/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
/stout/include/stout/windows.hpp 1a7037d64afeedc340258c92067e95d1d3caa027 Diff: https://reviews.apache.org/r/39803/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
Recommend using RAII pattern (e.g. std::unique_ptr) to eliminate > > leaking of reparsePointData in the presense of exceptions or logic errors. > > > > Since this is C++ code, recommend using new [] instead of malloc/free. > > Alex Clemmer wrote: > I am somewhat em

Re: Review Request 39802: Windows: Implemented `stout/os/windows/ls.hpp`.

2016-01-04 Thread Alex Clemmer
/stout/os/windows/ls.hpp 5b6fba13ce215af5801fd0867f6e774e100689ca Diff: https://reviews.apache.org/r/39802/diff/ Testing --- Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
/3rdparty/stout/include/stout/windows.hpp d46e262e0fd1c2de36f3bf19d8bd693c23bf58cd Diff: https://reviews.apache.org/r/39803/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-04 Thread Alex Clemmer
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39584/#review112667 --- On Jan. 4, 2016, 11:26 p.m., Alex Clemmer wrote: > > --- > This is

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
eviews.apache.org/r/39803/#review112686 --- On Jan. 4, 2016, 11:26 p.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To re

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-04 Thread Alex Clemmer
/3rdparty/stout/include/stout/windows.hpp d46e262e0fd1c2de36f3bf19d8bd693c23bf58cd Diff: https://reviews.apache.org/r/39803/diff/ Testing --- `make check` from autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-04 Thread Alex Clemmer
autotools on Ubuntu 15. `make check` from CMake on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-04 Thread Alex Clemmer
/ comment why here (as well as on L139) we use > > `ErrnoError`, yet elsewhere we use `WindowsError`? > > Alex Clemmer wrote: > `errno` captures errors that have happened in the C standard library, and > `ErrnoError` captures those errors and their messages and lifts t

Re: Review Request 39804: Windows: Moved `os::find` to its own file, `stout/os/find.hpp`.

2016-01-04 Thread Alex Clemmer
on OS X 10.10. Ran `check` project in VS on Windows 10. Thanks, Alex Clemmer

Re: Review Request 39803: Windows: Implemented stout/os/stat.hpp`.

2016-01-03 Thread Alex Clemmer
G? Is it possible for > > both S_IFDIR and S_IFREG to be set? The windows documentation states, "the > > _S_IFREG bit is set if path specifies an ordinary file or a device." What > > happens if the path is "c:\". This is a device and

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2016-01-03 Thread Alex Clemmer
em unless you're really opposed to this. - Alex --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39584/#review110391 ------- On Nov. 16, 2015, 9:13 a.m., Alex Clemmer wrote: > > ---

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2015-12-23 Thread Alex Clemmer
e138> > > > > Consider using ::RemoveDirectory here, which will delete the directory > > when the last handle is closed. Unless that's not the desired behavior... I believe `rmdir` does the same thing, actually. In fact, I remember being unaware of this

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2015-12-23 Thread Alex Clemmer
To reply, visit: https://reviews.apache.org/r/39584/#review110385 ------- On Nov. 16, 2015, 9:13 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 39584: Windows: Implemented `os::rmdir.hpp`.

2015-12-23 Thread Alex Clemmer
ps://reviews.apache.org/r/39584/#review109681 ------- On Nov. 16, 2015, 9:13 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39584/ > -

Re: Review Request 41425: Fix the Mesos pkg-config.

2015-12-23 Thread Alex Clemmer
at least one other distribution channel (such as NuGet), and possibly many. Can we add `alexnaparu` and `dpravat` to the review and get their feedback as well? - Alex Clemmer On Dec. 22, 2015, 8:45 p.m., James Peach wrote

Re: Review Request 41425: Fix the Mesos pkg-config.

2015-12-23 Thread Alex Clemmer
> On Dec. 23, 2015, 9:15 p.m., Alex Clemmer wrote: > > Just as a short note here, `pkg-config` doesn't work well with the rest of > > the Windows tool chain, so it's worth wondering what our distribution story > > should be there. > > > > If the consumer is u

<    3   4   5   6   7   8   9   10   11   12   >