Copybara-Service
6f8e758177
Merge pull request #56 from alexelex:master
...
PiperOrigin-RevId: 346286713
Change-Id: Ib052758d6a7deaa1c62660fd43d8f0e31f42bc09
2020-12-08 03:15:35 -08:00
Copybara-Service
08bb2f80d1
Merge pull request #69 from alexelex:libpng-master
...
PiperOrigin-RevId: 346072038
Change-Id: I23a9e6704106e2834a5900522a1be06341c6421a
2020-12-07 05:34:46 -08:00
Copybara-Service
fbf3e84799
Merge pull request #65 from andreimedar:libarchive
...
PiperOrigin-RevId: 343290002
Change-Id: I1f29e4acfc7d423be63fd52e7a78ceb209d29115
2020-11-19 07:53:41 -08:00
Copybara-Service
e6bb05a15d
Merge pull request #55 from FedericoStazi:libuv
...
PiperOrigin-RevId: 343278766
Change-Id: I708fdc1cd98d5fbb2abcf3261d1cecd65cec46fe
2020-11-19 06:32:47 -08:00
Christian Blichmann
2acec65a58
Add an AllowAccess()
convenience function to PolicyBuilder
...
Drive-by: Apply convenience functions in policies.
PiperOrigin-RevId: 340404977
Change-Id: I906106b61c1837d23ddaff15d8792ec79d3d3189
2020-11-03 02:21:21 -08:00
Alexandra Latysheva
a5b5cd9a02
add forgotten license to wrapper
2020-10-30 15:47:36 +00:00
Alexandra Latysheva
4bd158a68f
use ctest for testing and set testing environment for using test data
2020-10-30 14:52:53 +00:00
Latysheva Alexandra
0710361ed4
update helper
2020-10-30 20:41:26 +06:00
Alexandra Latysheva
219da51823
use ctest for testing and set testing environment for using test data
2020-10-30 14:34:33 +00:00
Alexandra Latysheva
64d04a80e5
use api->sandbox() instead of send sandbox as an argument
2020-10-30 14:02:34 +00:00
Alexandra Latysheva
56615d5d57
use absl::StarusOr<Data> as a return value instead on pointer to constructed value; rename variable
2020-10-30 13:41:55 +00:00
Alexandra Latysheva
dcf397bb97
Merge branch 'libpng-master' of github.com:alexelex/sandboxed-api into libpng-master
2020-10-30 13:27:40 +00:00
Alexandra Latysheva
9068b28d28
remove default constructors; reword some errors; skip check is there is enough free space
2020-10-30 13:27:25 +00:00
Latysheva Alexandra
113e6c8229
update readme
2020-10-30 19:07:40 +06:00
Latysheva Alexandra
3a83fe68c9
rewrite readme and correct mistakes in it
2020-10-30 19:05:37 +06:00
Alexandra Latysheva
36c816c693
add small documentation to readme
2020-10-30 13:00:05 +00:00
Alexandra Latysheva
94abb95771
order targets in CMakeLists alphabetically
2020-10-30 12:46:13 +00:00
Alexandra Latysheva
bfbb4f70c4
remove default image in the example and rewrite usage
2020-10-30 12:36:42 +00:00
Alexandra Latysheva
7b6b2d2fe8
use &sapi: ✌️ :NullPtr instead of sapi: ✌️ :NullPtr().PthBoth() as NULL inside the sandbox; remove unused wrapper for png_write_end
2020-10-30 11:17:45 +00:00
Alexandra Latysheva
2e2e0c741e
use inline for constants in the header
2020-10-29 05:58:27 +00:00
Alexandra Latysheva
aef95ad002
don't use const with absl::string_view
2020-10-29 05:33:36 +00:00
Alexandra Latysheva
bcecc9e74a
init libpng
2020-10-28 15:40:57 +00:00
Alexandra Latysheva
ce12cac60c
add header for data and move there common consts
2020-10-28 14:04:14 +00:00
Alexandra Latysheva
b74b3c80fc
use local variable instead of dynamic variable in TiffSapiSandbox::ModifyPolicy
2020-10-28 13:16:15 +00:00
Alexandra Latysheva
bb871df80f
format; use explicit for construct with default values; rewrite GetImagePath usage
2020-10-28 12:54:06 +00:00
Alexandra Latysheva
8ceb08dbf4
absl_string -> std_string as Sandbox param
2020-10-28 12:04:12 +00:00
Alexandra Latysheva
b41bcccab7
parametrize test
2020-10-28 12:03:23 +00:00
Alexandra Latysheva
124680eb89
remove unused includes
2020-10-28 10:32:55 +00:00
Sandboxed API Team
ea379ef4d6
Cleans up statusor.h includes.
...
PiperOrigin-RevId: 339050213
Change-Id: Iea5747f907b294503cdb37e1c25cf787c7e83dcf
2020-10-26 09:08:41 -07:00
Alexandra Latysheva
de377ffd2d
default values (remove 123 and 456)
2020-10-23 12:39:52 +00:00
Alexandra Latysheva
b6a47abf01
PtrBefore/PtrBoth/PtrAfter
2020-10-23 06:54:36 +00:00
Alexandra Latysheva
418bc3f356
using absl
2020-10-22 16:19:27 +00:00
Copybara-Service
cba334a9d1
Merge pull request #64 from bohdanty:gdal_sandbox
...
PiperOrigin-RevId: 337856019
Change-Id: Ib1d9c5614f02da4df8d624f006f31ea09bb5c560
2020-10-19 08:08:03 -07:00
Alexandra Latysheva
1350cfb3b6
bool status -> bool status_ok (tests:raw_decode)
2020-10-19 10:40:19 +00:00
Alexandra Latysheva
316828a219
auto& -> const auto&; bool status -> bool status_ok
2020-10-19 10:36:47 +00:00
happyCoder92
2e3b118ec9
Merge branch 'master' into gdal_sandbox
2020-10-19 10:05:44 +02:00
Bohdan Tyshchenko
5159b67d7d
Moved test data to paths to environment variables
...
Added environment variables to remove relative paths from the code
2020-10-16 09:15:11 -07:00
Bohdan Tyshchenko
5711a66d77
Comments fix, code update to correspond latest SAPI version
...
Comments fix
Changed sapi::StatusOr to absl::StatusOr
Code changes according to new CStr(absl::string_view) constructor
2020-10-15 08:13:11 -07:00
Bohdan Tyshchenko
b1a1aef39e
Project architecture redesign, coding style update
...
Put duplicated code inside the transaction, which is used by both tests and raster_to_gtiff
Removed <filesystem> header, reimplemented one of its utilities for file checking
Code style changes
Replaced .data() with .c_str() for std::string
Updated README to show how to build both GDAL and PROJ inside the build folder and how to link them to the sandbox
2020-10-13 13:03:04 -07:00
Alexandra Latysheva
9eb518c57a
move using to namespace
2020-10-11 11:06:18 +00:00
Latysheva Alexandra
77c44f9c87
add flags to readme
2020-10-11 17:02:47 +06:00
Latysheva Alexandra
7750b43c56
remove tabs in readme
2020-10-11 16:54:37 +06:00
Alexandra Latysheva
554c03bec9
use absl format string
2020-10-11 10:53:08 +00:00
Alexandra Latysheva
60541cc8ea
clang-format
2020-10-11 10:30:10 +00:00
Alexandra Latysheva
16d904e174
code block
2020-10-11 10:24:55 +00:00
Alexandra Latysheva
64b74c97e0
4 spaces -> 2 spaces
2020-10-11 10:23:42 +00:00
Alexandra Latysheva
1d1c4b9579
clear array initialization
2020-10-11 10:18:53 +00:00
Alexandra Latysheva
466259a985
using auto* for pointers
2020-10-11 10:13:27 +00:00
Alexandra Latysheva
ab3f992c78
using auto* for pointers
2020-10-11 10:11:56 +00:00
Alexandra Latysheva
6945f7304f
replace all unsigned except in wrapper
2020-10-11 10:01:59 +00:00