Commit Graph

229 Commits

Author SHA1 Message Date
Katarzyna Miernikiewicz
961441672f style improvement 2020-09-18 10:16:35 +00:00
Katarzyna Miernikiewicz
73522f4844
Merge branch 'master' into jsonnet 2020-09-18 12:09:34 +02:00
Katarzyna Miernikiewicz
3b1def654d updated README 2020-09-18 09:58:52 +00:00
Katarzyna Miernikiewicz
9fec584455 more tests ready 2020-09-17 15:59:03 +00: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
Andrei Medar
7e24ee2232 Added sandbox policy for extract function 2020-09-16 15:57:31 +00:00
Katarzyna Miernikiewicz
6dcac6de05 dummy test works 2020-09-16 14:43:42 +00: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
Katarzyna Miernikiewicz
4c20174f83 base for tests ready 2020-09-15 16:16:05 +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
Katarzyna Miernikiewicz
c9dcda68e9 preparing to add gtest 2020-09-15 13:22:47 +00:00
Katarzyna Miernikiewicz
8bcd99f86e restyling 2020-09-15 10:16:00 +00:00
Katarzyna Miernikiewicz
fa4b39578a transaction fully working 2020-09-15 09:40:43 +00:00
Katarzyna Miernikiewicz
63147e42b3 transaction added 2020-09-14 16:24:21 +00:00
Andrei Medar
0bc5c28cb5 Applied requested changes 2020-09-14 15:23:29 +00:00
root
9789eb6768 added a part of the example code 2020-09-14 14:39:16 +00: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
Andrei Medar
c562f818c6 modified CMake so that the patching part takes place in the build directory 2020-09-11 16:09:09 +00:00
Katarzyna Miernikiewicz
490ffeb683 beginning of work on transaction 2020-09-11 16:08:04 +00:00
Andrei Medar
14a46f792c small fix 2020-09-11 15:11:00 +00:00
Andrei Medar
bae2411996 Added patches section to README 2020-09-11 10:31:43 +00:00
Andrei Medar
92983f2bd7 added patches in order to use the original lodepng repository 2020-09-11 10:29:01 +00:00
root
48935a2e5d small changes to cmake (wip trying to add head patch for libarchive) 2020-09-10 16:52:59 +00:00
Katarzyna Miernikiewicz
b6a1c273fc README update 2020-09-10 15:52:38 +00:00
Katarzyna Miernikiewicz
6e1483243c jsonnet formatter added 2020-09-10 15:42:00 +00:00
Andrei Medar
56481b1c9f added a sandbox file and extracted the functions that will be sandboxed 2020-09-10 15:22:22 +00:00
Katarzyna Miernikiewicz
8b7fd81b21 YAML stream example added 2020-09-10 13:27:22 +00:00
Katarzyna Miernikiewicz
ac3149102f example reorganization 2020-09-10 11:06:31 +00:00
Katarzyna Miernikiewicz
7650657662 multiple files example added 2020-09-10 10:19:06 +00:00
Andrei Medar
de27b90ae4 added helper library 2020-09-09 12:02:40 +00:00
Katarzyna Miernikiewicz
1b307adf5d added README 2020-09-09 09:56:42 +00:00
Katarzyna Miernikiewicz
f7eff228f0 minor fix 2020-09-08 15:28:21 +00:00
Katarzyna Miernikiewicz
dfc9d11f35 enabling usage of files in the same directory as input file 2020-09-08 15:03:22 +00:00
root
ecbd169616 modified usage of sapi:✌️:Array 2020-09-08 14:21:57 +00:00
Andrei Medar
b5bde83c14 corrected error inside CMakeLists 2020-09-08 13:51:22 +00:00
Andrei Medar
e60c3ab254 added gitignore 2020-09-08 11:49:09 +00:00
Andrei Medar
617cc046bc small cleanup 2020-09-08 11:47:25 +00:00
Katarzyna Miernikiewicz
c8da7c3db5 Google style applied 2020-09-08 11:11:08 +00:00
Katarzyna Miernikiewicz
9f0bdf1c63 licence added 2020-09-08 11:03:02 +00:00
Katarzyna Miernikiewicz
78b8e130d7 first jsonnet example 2020-09-08 10:37:17 +00:00
Andrei Medar
357fd5d40e added example rules to CMakeLists.txt 2020-09-07 14:36:43 +00:00
Andrei Medar
a6e0bb6e5b added some more examples 2020-09-07 14:11:39 +00:00
doinachiroiu
1869fe515f Required changes resolved 2020-09-03 14:59:54 +00:00
Katarzyna Miernikiewicz
490bc569ed changed copying files to patching 2020-09-01 11:06:12 +00:00
Andrei Medar
ab8d8cb1b4 added libarchive submodule 2020-09-01 10:29:56 +00:00
Andrei Medar
ed099de7cf created branch and libarchive directory 2020-09-01 10:27:18 +00:00
doinachiroiu
7e22952c42 Setup error handling modified 2020-08-31 11:48:19 +00:00
doinachiroiu
531850afc2 Required changes resolved 2020-08-31 11:17:15 +00:00
Bohdan Tyshchenko
9803d0549f Changed README, Bazel deps and different parts of code according to the review 2020-08-31 02:19:00 -07:00
Andrei Medar
298aa457c1 added more error/warning messages. 2020-08-29 18:54:08 +00:00
Andrei Medar
0df7894409 modified readme 2020-08-28 18:00:52 +00:00
Katarzyna Miernikiewicz
28089de353 workaround to avoid manually copying library files 2020-08-28 15:27:23 +00:00
Andrei Medar
25291a1ab7 modified comments. changed std::equal to absl::equal 2020-08-28 13:29:12 +00:00
Andrei Medar
2db661d655 created a helpers file, removed asserts, removed filsystem header usage, changed constants+functions+tests naming 2020-08-27 19:53:06 +00:00
doinachiroiu
905f86a0ab Small README update regarding variables names 2020-08-27 16:59:58 +00:00
doinachiroiu
b2351ec639 Small coding style corrections 2020-08-27 16:55:55 +00:00
doinachiroiu
60b3b5057c Small README correction 2020-08-27 16:49:09 +00:00
doinachiroiu
4336c005d3 Added output format flag and made other required changes 2020-08-27 16:46:59 +00:00
doinachiroiu
bb623d4c0b Required changes resolved 2020-08-27 12:54:57 +00:00
Katarzyna Miernikiewicz
2c50bea22c more style changes 2020-08-27 08:46:12 +00:00
Katarzyna Miernikiewicz
1b0fbc89bb style fix 2020-08-27 08:39:59 +00:00
Katarzyna Miernikiewicz
4f80af5d1c minor changes 2020-08-27 08:38:57 +00:00
Katarzyna Miernikiewicz
88844fc958 changed README.md 2020-08-26 15:13:37 +00:00
doinachiroiu
5ae99706e2 Added PFFFT_ROOT_DIR 2020-08-26 15:03:25 +00:00
doinachiroiu
c8d07aeaa5 Changing paths for propertly usage of the submodule 2020-08-26 14:56:19 +00:00
doinachiroiu
b08726540a Added PFFFT submodule - master directory 2020-08-26 14:25:11 +00:00
doinachiroiu
139723d3b8 Added LICENSE & coding changes required 2020-08-26 14:18:31 +00:00
Katarzyna Miernikiewicz
9f120598c1 added requested changes 2020-08-26 12:17:18 +00:00
doinachiroiu
8f21b0e931 Coding style update 2020-08-26 11:23:33 +00:00
Katarzyna Miernikiewicz
ba88cd3499 changed VLA to vectors 2020-08-25 14:53:53 +00:00
Katarzyna Miernikiewicz
032053d55d minor fix 2020-08-25 10:20:00 +00:00
Katarzyna Miernikiewicz
050f0af19a minor change 2020-08-25 09:50:19 +00:00
Katarzyna Miernikiewicz
6554f635fc some of the requested changes made 2020-08-24 15:01:42 +00:00
Andrei Medar
47b519dba4 made filenames const, changed main into main_unsandboxed. 2020-08-20 16:37:45 +00:00
doinachiroiu
a2873ac099 Update README.md 2020-08-20 13:15:02 +00:00
doinachiroiu
726a9345ff Enable namespaces 2020-08-20 12:37:34 +00:00
doinachiroiu
fc6e9e82c6 Unnecessary files removed 2020-08-20 11:24:19 +00:00
doinachiroiu
25d18f985d Updated README and change names of main files 2020-08-20 11:19:49 +00:00
doinachiroiu
257e87e076 Added log printing for debug 2020-08-20 08:58:30 +00:00
doinachiroiu
94fcf82dd3 Added comment on Nvalues[] and N purpose 2020-08-20 08:21:32 +00:00
doinachiroiu
096d02625d Modified sapi root to a general path 2020-08-20 07:44:27 +00:00
Bohdan Tyshchenko
465cf9c4bb Codestyle fix 2020-08-19 01:21:30 -07:00
Bohdan Tyshchenko
e99de21e95 Quick update 2020-08-17 13:31:14 -07:00
Bohdan Tyshchenko
b4aca05300 Update after code review 2020-08-17 13:29:07 -07:00
doinachiroiu
06bf6cdd34 Sandbox not active error - resolved 2020-08-17 11:21:56 +00:00
doinachiroiu
3fb4d59545 Sandbox not active error tracking observations 2020-08-17 11:21:49 +00:00
doinachiroiu
d51d558083 Update .gitignore 2020-08-17 11:21:42 +00:00
doinachiroiu
c39787ddc7 Testing pffft - elaborate output 2020-08-17 11:21:33 +00:00
doinachiroiu
2ab097f82f Added README 2020-08-17 11:21:27 +00:00
doinachiroiu
50921e222d Coding style adaptation 2020-08-17 11:21:19 +00:00
doinachiroiu
deb8869bb6 Added .gitignore 2020-08-17 11:21:11 +00:00
doinachiroiu
80dd873375 Initial version sandbox 2020-08-17 11:20:56 +00:00
Andrei Medar
eb2a2c023b moved code in examples directory, modified README 2020-08-14 15:56:57 +00:00
Katarzyna Miernikiewicz
5598690320 added comments; added Google formatting style 2020-08-14 10:38:27 +00:00
Andrei Medar
18f58da954 added useful logs in unit tests 2020-08-13 15:58:47 +00:00
Andrei Medar
11ea152d3c added return EXIT_SUCCESS in main 2020-08-13 15:46:21 +00:00
Andrei Medar
acbfec0cb5 cleaned up code 2020-08-13 14:59:30 +00:00
Andrei Medar
28d671efd7 use std::vector instead of plain C pointers. constexpr for image length 2020-08-13 14:44:18 +00:00
Andrei Medar
ce5b7a3789 modified tests to use EXPECT_THAT checks 2020-08-13 14:02:05 +00:00
Andrei Medar
c556f4358f modified unit tests 2020-08-13 12:30:06 +00:00
Andrei Medar
4451d3229d readme update 2020-08-13 09:14:03 +00:00
Andrei Medar
cc0c998f3f moving .gitmodules doesn't seem to work as intended. Moved it to root 2020-08-13 09:10:21 +00:00
Andrei Medar
53e4603b02 use AddDirectoryAt instead of AddDirectory in the security policy. Move the .gitmodules file to the lodepng folder (works this time) 2020-08-13 09:07:36 +00:00
Andrei Medar
27fcf0eb02 added same examples to normal main.cc. Modified code to use assert 2020-08-13 08:34:43 +00:00
Bohdan Tyshchenko
47fd491e20 Codestyle update 2020-08-12 14:09:40 -07:00
Andrei Medar
c13895e5a8 added the same functionality in the sandboxed file as in the unit tests 2020-08-12 16:08:53 +00:00
Andrei Medar
fd73a06c30 moved .gitmodules to lodepng project folder 2020-08-12 14:09:26 +00:00
Andrei Medar
4cf4f6d093 added submodules, modified the tests to use the current path 2020-08-12 13:59:17 +00:00
Andrei Medar
0707d8d9e2 removed CMakeLists.txt from lodepng folder. Now the library is built from the parent folder 2020-08-12 12:10:05 +00:00
Katarzyna Miernikiewicz
73e6a27b14 fixed typo 2020-08-12 11:59:31 +00:00
Katarzyna Miernikiewicz
785de90c80 Openjpeg sandboxed 2020-08-12 11:50:11 +00:00
Katarzyna Miernikiewicz
57fa728e4b fixed typos 2020-08-12 11:48:40 +00:00
Katarzyna Miernikiewicz
89ef35d4c3 Openjpeg decompress sandboxed 2020-08-12 11:37:59 +00:00
Katarzyna Miernikiewicz
d0f638de4c fixed typo 2020-08-12 11:26:55 +00:00
Katarzyna Miernikiewicz
48144bb100 initial openjpeg commit 2020-08-12 11:24:30 +00:00
Andrei Medar
3d015be05c added some comments in main_unit_test.cc and .gitignore 2020-08-12 11:20:02 +00:00
Bohdan Tyshchenko
6f7110dd4f Added tests for sandboxed library and transaction 2020-08-12 03:45:08 -07:00
Bohdan Tyshchenko
d41a3d6d16 First version of guetzli sandbox 2020-08-11 15:48:48 -07:00
Bohdan Tyshchenko
258dbcd622 Init guetzli sandbox 2020-08-11 15:44:13 -07:00
Andrei Medar
b979486ff1 added some unit tests. main_sandboxed.cc and main.cc have to be changed as well 2020-08-11 14:53:24 +00:00
Andrei Medar
f1361d5d0e added encoding basic example (not working currently) 2020-08-11 07:15:53 +00:00
Andrei Medar
100d7125aa WIP added an encoding use case where the image is generated 2020-08-10 11:05:52 +00:00
Andrei Medar
044814f4ed added gflags for main_sandboxed 2020-08-07 13:50:16 +00:00
Andrei Medar
6ef819133e changed style and added status checks for sapi calls 2020-08-07 12:25:15 +00:00
Andrei Medar
d63ada79cf basic example using sapi 2020-08-07 11:01:41 +00:00
Christian Blichmann
db0dfbb21f Add directories/README for contributions
PiperOrigin-RevId: 323566271
Change-Id: I4ccddea09f5d2ecc2a2e17841693350eec9f7d3a
2020-07-29 11:32:41 +02:00