Commit Graph

426 Commits

Author SHA1 Message Date
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
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
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
Latysheva Alexandra
58f19a7d67
Merge pull request #2 from alexelex/alexelex-libtiff
pr rewiew fixes
2020-10-20 02:57:12 +06: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
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
Alexandra Latysheva
5449e2f0df renamed g_in_dir in local variable style 2020-10-04 17:58:21 +00:00
Alexandra Latysheva
b6abae3356 rewtite pixels and clusters check for clarify. sapi::StatusOr -> absl::StatusOr (building problems). resolved review issues 2020-10-04 17:38:10 +00:00
Alexandra Latysheva
6497a40bff last for now 2020-10-01 17:11:28 +00:00
Alexandra Latysheva
fea40e017f format 2020-10-01 16:56:45 +00:00
Alexandra Latysheva
2869fba479 example 2020-10-01 16:49:59 +00:00
Alexandra Latysheva
477de3b6b7 last for today 2020-09-30 19:17:23 +00:00
Alexandra Latysheva
0f8cbd1bfc some more fixes 2020-09-30 18:45:48 +00:00
Alexandra Latysheva
d513f18c2e resolved part of issues 2020-09-30 17:54:47 +00:00
Alexandra Latysheva
8b36b3e5af clang-format again 2020-09-26 11:27:13 +00:00
Alexandra Latysheva
71e43cd99c main fixes 2020-09-25 21:21:07 +00:00
Alexandra Latysheva
309b476a3d wrong clang-google-style parts 2020-09-23 21:33:11 +00:00
Alexandra Latysheva
6a2f0cebd8 wrong clang-google-style parts 2020-09-23 21:32:45 +00:00
Alexandra Latysheva
6f3acfabb0 gstyle 2020-09-23 21:18:17 +00:00
Alexandra Latysheva
358d919ea0 remove unused funcs 2020-09-23 20:48:59 +00:00
Alexandra Latysheva
673154e65c from local repo to fork 2020-09-23 20:21:33 +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
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