Alexandra Latysheva
aef95ad002
don't use const with absl::string_view
2020-10-29 05:33:36 +00:00
Christian Blichmann
728355da87
Emit non-type template args as part of forward decls
...
This change allows us to emit forward declarations to classes that are
templated. For headers generated by the proto compiler this is sometimes
necessary.
Note:
- This will only emit types for a single level of template instantiations.
That is, template template arguments are not supported.
- Typedefs only occurring in template arguments will be fully desugared
and thus will not be available under their aliased name in the generated
API code. This is consistent with the Python based generator (which
does not emit these at all and relies on text extraction).
Signed-off-by: Christian Blichmann <cblichmann@google.com>
2020-10-28 16:48:04 +01: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
Latysheva Alexandra
225b57aed3
Merge pull request #3 from alexelex/alexelex-libtiff
...
review
2020-10-28 02:16:40 +06:00
Sandboxed API Team
ea379ef4d6
Cleans up statusor.h includes.
...
PiperOrigin-RevId: 339050213
Change-Id: Iea5747f907b294503cdb37e1c25cf787c7e83dcf
2020-10-26 09:08:41 -07:00
Christian Blichmann
609a370634
Build fixes and parameter passing for the Clang header generator
...
PiperOrigin-RevId: 338994867
Change-Id: I40f03738ae38bac4bf217c24bd935d5d3572c1f2
2020-10-26 01:42:47 -07:00
Christian Blichmann
19a8e38a51
Support AArch64 and PPC64 in third party dependencies
...
PiperOrigin-RevId: 338992825
Change-Id: I2f77ea8379e55007a22ad0461efc98f41a01ad44
2020-10-26 01:22:23 -07:00
Alexandra Latysheva
de377ffd2d
default values (remove 123 and 456)
2020-10-23 12:39:52 +00:00
Maciej Szawłowski
28bb32add6
Allow empty sapi_embedded_dir
flag in the header generator - empty sapi_embedded_name
still disallowed
...
PiperOrigin-RevId: 338656398
Change-Id: Ib2ca3d63ff9bed654669d948286f73d430753a20
2020-10-23 05:36:01 -07: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
Christian Blichmann
040d76be28
Simplify libunwind build files
...
Sandbox2 and SAPI only use the `unwind-ptrace-wrapped` target.
PiperOrigin-RevId: 338450188
Change-Id: Iee7d7aeda244cad90dae8b5228316f506efc3deb
2020-10-22 05:03:15 -07:00
Latysheva Alexandra
58f19a7d67
Merge pull request #2 from alexelex/alexelex-libtiff
...
pr rewiew fixes
2020-10-20 02:57:12 +06: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
Sandboxed API Team
834d356bce
Cleans up statusor.h includes.
...
PiperOrigin-RevId: 337370254
Change-Id: Ibcbc2921f96d32675720ddc7adb621dd53894dfa
2020-10-15 13:25:30 -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
Wiktor Garbacz
29e5d03201
Use string_view instead of char* in CStr ctor
...
PiperOrigin-RevId: 337045297
Change-Id: If97b405cc2bf1904456bf502fc7d027c7df2ac7a
2020-10-14 02:04:05 -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
Latysheva Alexandra
e5b8f271b4
Merge pull request #1 from alexelex/alexelex-libtiff
...
review fixes
2020-10-11 17:08:21 +06: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
Alexandra Latysheva
69fbe39293
Declare all vars on separate lines
2020-10-11 09:44:02 +00:00
Alexandra Latysheva
d190abf2e2
using from .h to .cc
2020-10-11 09:40:47 +00:00
Alexandra Latysheva
1785e39d4b
add nolint to every include '*.h' that is added by this pr
2020-10-11 08:20:40 +00:00
Andrei Medar
150fd02ed4
Implemented requested changes
2020-10-09 13:52:17 +00:00
Andrei Medar
519b5af157
Added ld_preload example usage
2020-10-08 10:58:21 +00:00
Copybara-Service
33bc36ae3d
Merge pull request #62 from andreimedar:libarchive
...
PiperOrigin-RevId: 336042102
Change-Id: I7b1ceaa794851c10e07dbdef4f4e37000edc25d4
2020-10-08 02:06:50 -07:00
Andrei Medar
f038f7aa3f
added empty line at the end of files (was removed by clang-format)
2020-10-07 14:36:24 +00:00
root
c63302f731
Changed constants naming in unit tests.
2020-10-07 12:52:55 +00:00
Andrei Medar
04f4ff5960
Removed computer specific code
2020-10-07 11:51:59 +00:00
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