Andrei Medar
e87e583bca
Merge remote-tracking branch 'upstream/master' into libarchive
...
Merge fork with upstream for pull request.
2020-10-07 10:10:08 +00:00
Andrei Medar
efff53149d
Implemented requested changes (variable names, functions return absl::Status/absl::StatusOr)
2020-10-07 10:07:13 +00:00
Christian Blichmann
afa232cc17
Clang generator: Remember "seen" types when collecting related types
...
This change includes a small refactoring to remember which types the generator
has already seen during header generations. Otherwise we may loop indefinitely
on certain complex types. One such type is `std::FILE` in Clang's libc++.
PiperOrigin-RevId: 335589238
Change-Id: I5bbe03b6c7fc89c743163f5534075d7912ed4e58
2020-10-06 01:04:49 -07:00
Christian Blichmann
b74cf8839b
Minor ForkClient
improvements
...
- Use a `constexpr inline` string constant for the forkserver env var
- Add annotation for the comms channel mutex
PiperOrigin-RevId: 335395005
Change-Id: Ic058c19c3704f182aa7ed7b8e8964b2fc5082800
2020-10-05 05:10:16 -07:00
Andrei Medar
725f665b79
Added one extra test
2020-10-02 16:52:13 +00:00
Andrei Medar
589776b6f9
Modified sandbox to limit ioctl. Use .value() instead of manually checking .ok().
2020-10-02 15:52:29 +00:00
Copybara-Service
569c7d84b0
Merge pull request #54 from Manwi23:jsonnet
...
PiperOrigin-RevId: 335017461
Change-Id: I583444057bb4d8c8c33694fbba4d3717bb22101a
2020-10-02 06:47:45 -07:00
Andrei Medar
7e1d9179e5
Solved some pr comments
2020-10-02 10:56:14 +00:00
Copybara-Service
47ba5c8e39
Merge pull request #61 from FedericoStazi:curl
...
PiperOrigin-RevId: 334994112
Change-Id: Iedd065f33cdb5ebda796722d0a4d158ba719ff2c
2020-10-02 03:15:25 -07:00
Andrei Medar
b4c64dac69
Added FetchContent command to cmake so that patches are applied automatically to libarchive clone
2020-10-01 19:01:50 +00:00
Wiktor Garbacz
83a08daff7
Change int64
to size_t
in Buffer
...
PiperOrigin-RevId: 334802978
Change-Id: I7e421b1a6a98138139003cc4dc2a548ebe366e3e
2020-10-01 06:45:38 -07:00
Christian Blichmann
575f24f5df
Internal change
...
PiperOrigin-RevId: 334569306
Change-Id: Ibf1b3a24b57b02ce1c5e6106e5331520dfdf7112
2020-10-01 06:45:25 -07:00
Andrei Medar
c5d44eab37
Removed computer specific line in CMakeLists.txt
2020-10-01 00:17:15 +00:00
Andrei Medar
efe48ccca6
Added unit tests. Cleaned up the code and added comments. Added README
2020-10-01 00:15:33 +00:00
Federico Stazi
2025cea89c
Fix formatting in README
2020-09-30 11:18:30 +01:00
Copybara-Service
d292a9af7b
Merge pull request #52 from andreimedar:master
...
PiperOrigin-RevId: 334560525
Change-Id: I605ce78638ebfd7a88811879c4185bb4e107d915
2020-09-30 02:56:32 -07:00
Andrei Medar
525acea7c4
Fixed small typo
2020-09-29 22:58:35 +00:00
Andrei Medar
7e6872ee26
Added first basic test
2020-09-29 22:50:43 +00:00
Andrei Medar
95ef6fc683
Merge remote-tracking branch 'upstream/master'
...
Sync lodepng project.
2020-09-29 19:32:08 +00:00
Andrei Medar
815fd35930
removed computer specific line in CMakeLists.txt
2020-09-29 19:31:30 +00:00
Andrei Medar
267686afb6
Added test helper class
2020-09-29 19:27:40 +00:00
Federico Stazi
fec2124ee1
Add namespaces and improve error handling in examples
2020-09-29 13:50:13 +00:00
Maciej Szawłowski
d806e0df3b
Deferred cursor.mangled_name access - on some versions of libclang this causes sigsegv when accessing certain cursor's mangled_name
...
PiperOrigin-RevId: 334360148
Change-Id: I27ef72b1938052d68b65f99d05d34dcb9f7433f8
2020-09-29 05:48:27 -07:00
Christian Blichmann
0b1951ea4c
Add OpenJPEG and libcurl submodules
2020-09-29 12:23:42 +02:00
Andrei Medar
e6e564f412
renamed main project folder
2020-09-28 15:35:51 +00:00
Andrei Medar
e4a631251c
renamed project folder
2020-09-28 15:11:44 +00:00
Andrei Medar
b04d718554
Modified CMakeLists.txt indentation
2020-09-28 15:03:00 +00:00
root
eef5b8bdeb
Reorganized project structure in order to make functions testable
2020-09-28 15:00:33 +00:00
Katarzyna Miernikiewicz
17b3f78f94
minor changes
2020-09-28 14:45:16 +00:00
Katarzyna Miernikiewicz
a7077093af
Merge branch 'master' into jsonnet
2020-09-28 16:43:07 +02:00
Katarzyna Miernikiewicz
bfa6b2502b
Google style added
2020-09-28 14:41:32 +00:00
Sandboxed API Team
376ca05c56
Allow sandboxes to specify custom notifiers.
...
PiperOrigin-RevId: 334154462
Change-Id: Ia62242913731ab017a9bf8733a77a647582af243
2020-09-28 07:38:30 -07:00
Katarzyna Miernikiewicz
e411799d0d
requested changes applied
2020-09-28 14:33:43 +00:00
Christian Blichmann
83836b16ac
Add PFFFT submodule
2020-09-28 12:14:38 +02:00
Katarzyna Miernikiewicz
ac7c1ee1ee
NOLINT added, changed using CHECKS to a function returning absl::Status
2020-09-25 16:03:06 +00:00
root
0625f30f7a
Cleaned up the code files + added some comments
2020-09-25 15:46:06 +00:00
Christian Blichmann
cd75f94094
Migrate guetzli to absl::StatusOr<>
...
PiperOrigin-RevId: 333731054
Change-Id: I1446b1b58387dbd7c4853b146249bee7deb8c307
2020-09-25 07:43:34 -07:00
Christian Blichmann
88c980218f
Build fixes for recent Bazel versions
...
We need to add the `oss-internship-2020` and `examples/hello_sapi`
directories to `.bazelignore`, so that `bazel build ...` works on a clean
working copy. This is because the Bazel builds in these directories use their
own `WORKSPACE.bazel` and this does not nest well, leading to all kinds of
hard to debug errors.
PiperOrigin-RevId: 333728800
Change-Id: Ie2e68dd39bf6f8eb21af29d8ae3ae12971b408db
2020-09-25 07:25:31 -07:00
Copybara-Service
0fa81cf706
Merge pull request #58 from Manwi23:openjpeg
...
PiperOrigin-RevId: 333720920
Change-Id: I52e310d1b3384a4159b343b37e44767fc8ef77c8
2020-09-25 06:25:58 -07:00
Katarzyna Miernikiewicz
8f8796b320
changed sapi::StatusOr to absl::StatusOr
2020-09-25 12:00:52 +00:00
Maciej Szawłowski
1b8e8aa757
Disallow empty sapi_embedded_dir
flag in the header generator
...
Ignore cursors with types that are not implemented in python bindings
PiperOrigin-RevId: 333708345
Change-Id: I618a61c960247a9bdf89bc56dcac92e2d37b3220
2020-09-25 04:30:55 -07:00
Katarzyna Miernikiewicz
2276f5d48e
part of the requested changes
2020-09-25 11:20:50 +00:00
Christian Blichmann
35f9268e23
Restructure the Clang based header generator
...
- Support multiple input files
- Better testability
- Support for the `--sapi_isystem` argument, same as the Python generator
PiperOrigin-RevId: 333686891
Change-Id: I3e618165c1bd58bb755e1193617fb0737c29ee77
2020-09-25 01:14:18 -07:00
Andrei Medar
3052967374
added relative path cleanup using file::CleanPath
2020-09-24 18:47:19 +00:00
Andrei Medar
388bcff972
merged .gitmodules with upstream
2020-09-24 18:28:25 +00:00
Andrei Medar
cab74bc7fb
Merge remote-tracking branch 'upstream/master'
2020-09-24 18:18:39 +00:00
Andrei Medar
811dbf8d74
applied requested changes. Modified sapi::StatusOr to absl::StatusOr
2020-09-24 18:17:27 +00:00
Copybara-Service
73be2c4212
Merge pull request #57 from doinachiroiu:master
...
PiperOrigin-RevId: 333529053
Change-Id: I6e2b7b31ecaa4f7ef11fc7b1260d441d897dd41a
2020-09-24 09:22:44 -07:00
doinachiroiu
e0624f7220
Clang-format
2020-09-24 14:42:23 +00:00
doinachiroiu
61e8274954
Coding style fixed
2020-09-24 14:40:01 +00:00