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

9 Коммитов

Автор SHA1 Сообщение Дата
Rob Lemley 618c2fead7 Bug 1730711 - Build and include RNP commandline tools with distribution. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D126030

--HG--
extra : amend_source : 4dd450b9d3c7982346c619bb4a8625ff03a1b4ca
2021-10-27 13:50:52 +03:00
Geoff Lankow 0e154d21c2 Backed out changeset dfd512c51382 (bug 1730711) for breaking the macOS build. 2021-10-26 11:43:08 +13:00
Rob Lemley dae22533f8 Bug 1730711 - Build and include RNP commandline tools with distribution. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D126030

Depends on D126029
2021-10-21 23:17:15 +00:00
Rob Lemley a05db740d5 Bug 1730711 - Include a real getopt implementation for Windows. r=kaie
Copied from ipc/chromium/src/third_party/libevent/WIN32-Code, with small modifications.

Differential Revision: https://phabricator.services.mozilla.com/D126029
2021-10-21 23:17:12 +00:00
Rob Lemley 92e7fca398 Bug 1678441 - Add license headers to build related files. r=justdave
Differential Revision: https://phabricator.services.mozilla.com/D97675
2020-11-19 20:49:55 +00:00
Rob Lemley 1721efbbc5 Bug 1664885 - [RNP] Use RNP's built-in support for MSVC rather than our own. r=kaie
With https://github.com/rnpgp/rnp/pull/1232 being merged upstream, we can
remove most of the workarounds from the niwcompat directory.
What remains is dirent.h, which RNP pulls in via vcpkg and an empty getopt.h
header file.
getopt itself is not required by librnp.so, it's only used by some commandline
utilities. However, uniwin.h imports it unconditionally so an empty header file
is included for compatibilty.

Differential Revision: https://phabricator.services.mozilla.com/D90161

--HG--
extra : moz-landing-system : lando
2020-09-14 20:25:22 +00:00
Rob Lemley 4dc2d3eeb7 Bug 1630376 - Add errno.h header to RNP clang-cl compatibility code. DONTBUILD r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D71092

--HG--
extra : moz-landing-system : lando
2020-04-21 01:00:13 +00:00
Rob Lemley ba96d00476 Bug 1621785 - Follow-up: Fix lint tests. rs=butsage-fix
The third-party code should not be checked, added fixes for remaining failures.
2020-04-15 14:10:17 -04:00
Rob Lemley 3ecb036a24 Bug 1621785 - Compatibility headers for building RNP with clang-cl. r=kaie
These are missing defines and a few functions that are used by
the RNP library but are not part of the Microsoft runtime.

dirent.h is an MIT licensed "header" file that contains opendir(),
readdir(), and closedir() for Windows. Copyright and license are
included in the file itself.

sys/time.h contains an implementation of gettimeofday() for Windows
that's used in rnp/src/lib/crypto/s2k.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D70739

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:01 +00:00