Commit Graph

423 Commits

Author SHA1 Message Date
Andrei Medar
7e6872ee26 Added first basic test 2020-09-29 22:50:43 +00:00
Andrei Medar
267686afb6 Added test helper class 2020-09-29 19:27:40 +00:00
Andrei Medar
e6e564f412 renamed main project folder 2020-09-28 15:35:51 +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
root
0625f30f7a Cleaned up the code files + added some comments 2020-09-25 15:46:06 +00: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
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
doinachiroiu
29310a2305 Required changes resolved 2020-09-24 14:38:52 +00:00
doinachiroiu
3db70e6bea Changed name of variable 2020-09-24 14:36:30 +00:00
doinachiroiu
56649c5513 Resolving returning error for Transform and RasterIO functions 2020-09-24 14:16:33 +00:00
Copybara-Service
5604c85129 Merge pull request #53 from doinachiroiu:master
PiperOrigin-RevId: 333505714
Change-Id: I719108c1e7df20185a8ba5dcf3906821c47a9ee3
2020-09-24 06:57:28 -07:00
doinachiroiu
db7fc0aa53 Removing trailing whitespace 2020-09-24 10:12:30 +00:00
doinachiroiu
08d570a02c Small README update 2020-09-24 09:41:50 +00:00
doinachiroiu
a84fbbac62 Required changed resolved 2020-09-24 09:40:30 +00:00
Andrei Medar
97cf3d7374 added .gitignore file 2020-09-24 09:10:45 +00:00
doinachiroiu
2b8a1be547 Added GDAL submodule on .gitmodules 2020-09-23 18:46:49 +00:00
doinachiroiu
257de22805 Update README with static build info 2020-09-23 18:43:21 +00:00
doinachiroiu
7c52e77c85 Updated README 2020-09-23 18:35:19 +00:00
doinachiroiu
0639b18cba Added license 2020-09-23 15:49:44 +00:00
doinachiroiu
2da83c2afa GDAL good version 2020-09-23 15:39:49 +00:00
doinachiroiu
da81ea096e Empty gdal 2020-09-23 15:37:14 +00:00
doinachiroiu
93e30c724b Initial version of raster GeoTIFF workflow 2020-09-23 15:34:26 +00:00
Christian Blichmann
9331eabd7e Copybara import of the project:
Including changes for GitHub -> internal migration

--
b5d7e43dde by Federico Stazi <34340238+FedericoStazi@users.noreply.github.com>:

Initial curl commit
--
24786c44d8 by Federico Stazi <fstazi@google.com>:

Added gitignore and curl submodule

--
6d5cfd575a by Federico Stazi <fstazi@google.com>:

Added new line at the end of files

--
c7423c5f8a by Federico Stazi <fstazi@google.com>:

Remove SHARED from add_sapi_library

--
05c0a4b004 by Federico Stazi <fstazi@google.com>:

Fix includes

--
5be51fabbe by Federico Stazi <fstazi@google.com>:

Improve comments

--
34338411b8 by Federico Stazi <fstazi@google.com>:

Improve style

--
8c68ac221f by Federico Stazi <fstazi@google.com>:

Address review comments

--
ac1112ae4d by Federico Stazi <fstazi@google.com>:

Minor fix

--
f47e1cc6ac by Federico Stazi <fstazi@google.com>:

Implement all curl methods

--
9291231275 by Federico Stazi <fstazi@google.com>:

Address reviews and improve code style

--
1b0a8edfd4 by Federico Stazi <fstazi@google.com>:

Minor fix

--
cea046d3e2 by Federico Stazi <fstazi@google.com>:

Implement stricter policy

--
cf23888b88 by Federico Stazi <fstazi@google.com>:

Improve and extend examples

--
6167cafbde by Federico Stazi <fstazi@google.com>:

Implement tests

--
9fed2ec097 by Federico Stazi <fstazi@google.com>:

Improved error handling

--
e446ec81a1 by Federico Stazi <fstazi@google.com>:

Address review comments

--
cf41ec4701 by Federico Stazi <34340238+FedericoStazi@users.noreply.github.com>:

Fix project name
--
9a4293a3cf by Federico Stazi <fstazi@google.com>:

Fix project name

--
bbebeee1a6 by Federico Stazi <fstazi@google.com>:

Fix test mock server

--
eb783de3f5 by Federico Stazi <fstazi@google.com>:

Address review comments

--
cf6cb89bca by Federico Stazi <fstazi@google.com>:

Minor mock server fix

--
b52d9e6e4f by Federico Stazi <fstazi@google.com>:

Address review comments

PiperOrigin-RevId: 333292204
Change-Id: I9ff27348028d9f22486492dc92c0859ff8f44d68
2020-09-23 08:00:10 -07:00
Christian Blichmann
00e724fb8a CMake build improvements
- Try to fix Ninja needlessly rebuilding everything every time
  See https://stackoverflow.com/questions/47087237/cmake-and-ninja-rebuild-unnecessary-files/47100426#47100426
- Since SAPI requires CMake >= 3.12, remove custom `list_join`

PiperOrigin-RevId: 333281764
Change-Id: I334d67d7ee54d21824b19e60a7a7f1e43bb5a057
2020-09-23 06:43:01 -07:00
Andrei Medar
e0e0f1cd5f cleaned up some code. Fixed a bug where a temporary directory would be deleted even when it was not created 2020-09-22 18:30:07 +00:00
root
c2c3f6b44d added cleanup struct to remove temporary directory 2020-09-21 15:11:10 +00:00
root
6c9a26d326 Finished the create function of the tar example 2020-09-21 13:30:43 +00:00
Wiktor Garbacz
f91f843f50 Use size_t/uintptr_t instead of uintptr_t or uint64_t where appropriate
PiperOrigin-RevId: 332449107
Change-Id: I623c320c7f31bb73b92799dfbeb9a1e8ce0cdb3b
2020-09-18 07:45:03 -07:00
Wiktor Garbacz
c33f1fb03e Simplify casts
Drive-by: check for malloc failure in sapi:✌️:Array
PiperOrigin-RevId: 332446225
Change-Id: I375ea94845e04dffc3353d70737402daa66ae50a
2020-09-18 07:23:19 -07:00
Wiktor Garbacz
08a956a415 Use opaque void* instead of uint8_t* in Comms
PiperOrigin-RevId: 332441641
Change-Id: I09902e98726a0bd57b47d3454ddcb6ef05021d56
2020-09-18 06:48:57 -07:00
Wiktor Garbacz
9ffa5afba6 Remove unnecessary TLV struct
Drive-by: Zero-copy RecvString
PiperOrigin-RevId: 332412385
Change-Id: I169ffa78f016ec2d55c1a3677ea97beed095123c
2020-09-18 02:23:22 -07:00
Christian Blichmann
45c208b19a Update .clang-format to prefer & and * to be close to the type
PiperOrigin-RevId: 332412318
Change-Id: I4cd6d295ef68292c9412722829729142578c4c9f
2020-09-18 02:22:43 -07:00
Copybara-Service
c663427cf9 Merge pull request #49 from bohdanty:master
PiperOrigin-RevId: 332240434
Change-Id: I9e71cf3d3ab50e3a379e3c651b931ca95692666f
2020-09-17 08:36:07 -07:00
Copybara-Service
d4274251a6 Merge pull request #50 from Manwi23:master
PiperOrigin-RevId: 332214390
Change-Id: If9e87dc52cf1e5e2266135c38b6c4429f7f78e5f
2020-09-17 05:28:19 -07:00
Christian Blichmann
13c28403a6 Implement system include detection for CMake build
The Bazel build already queries the current toolchain for its system include
directories. This change brings feature parity and is necessary for systems
with unusual include locations.

PiperOrigin-RevId: 332195812
Change-Id: Ie81d614d21e90b4bd9edf2084ef80bf0d85dd750
2020-09-17 03:08:11 -07:00
Andrei Medar
7e24ee2232 Added sandbox policy for extract function 2020-09-16 15:57:31 +00:00
Maciej Szawłowski
a68b851c2c Added TypeKind.CHAR_U handling in the generator.
PiperOrigin-RevId: 331988119
Change-Id: I8301c5041c32da185202ed34292e6a2988ecff46
2020-09-16 06:00:55 -07:00
Katarzyna Miernikiewicz
5eed4ec606
Merge branch 'master' into master 2020-09-15 18:26:58 +02:00
Andrei Medar
9ec90b741c added extraction example to minitar 2020-09-15 16:16:09 +00:00
Copybara-Service
da41899797 Merge pull request #51 from doinachiroiu:master
PiperOrigin-RevId: 331767052
Change-Id: I286e746fec6248c88df563be00da9451ddd63eb7
2020-09-15 07:46:03 -07:00
root
9789eb6768 added a part of the example code 2020-09-14 14:39:16 +00:00
Christian Blichmann
ed0086eb66 Fix dynamic binary startup on PPC and newer glibc (> 2.19)
This allows the `_llseek` syscall when it is defined.

PiperOrigin-RevId: 331498182
Change-Id: I2760b264e3a82000b38d278a9c280501a3dbc724
2020-09-14 01:18:33 -07:00
Bohdan
e8a15ea151 Moved tests to root folder, removed unused headers 2020-09-13 18:20:10 +03:00
Katarzyna Miernikiewicz
71e6237cf7 cast changes 2020-09-11 16:35:52 +00:00
Christian Blichmann
21f7373e76 Initial changes to support AArch64
This is a work in progress:
- Syscall tables need work
- Only tested on real hardware using one of our test hosts

As a drive-by, this change also enables the open source version to function on
POWER.

Another side-effect of this change is that the default policies no longer
check for different host architectures at runtime. On x86_64, we do not need
to check for PPC or AArch64 specifice and vice versa.

PiperOrigin-RevId: 331137472
Change-Id: Ic6d6be5cbe61d83dbe13d5a0be036871754b2eb8
2020-09-11 06:34:27 -07:00
Christian Blichmann
c19949eb7b Use inclusive language
PiperOrigin-RevId: 331116936
Change-Id: I7084b24440a1c78c0d70030da900330f0b8d954f
2020-09-11 03:14:12 -07:00