Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Ahson Khan c317e45896
Rename push ignore deprecations and pop warnings macro from AZ_ to _az_ to indicate they are for internal use only. (#2474)
* Rename push ignore deprecations and pop warnings macro from AZ_ to _az_ to indicate they are for internal use only.

* Update paho_iot_pnp_with_provisioning_sample.c

* Update test_az_iot_provisioning_client_register_get_request_payload.c

* Update clang format to avoid unwanted indentation with statement macros
2023-01-10 16:51:30 -08:00
Ahson Khan a5bf3a02b5
Clean-up the .clang-format file and run clang-format on all .c and .h files in the repo. (#1243)
Ran the following at the root of the repo:
```bash
find . \( -iname '*.h' -o -iname '*.c' \) -exec clang-format -i {} \;
```
2020-09-17 07:11:47 +00:00
Anton Kolesnyk a5af625e83
Macro cleanup (#1162) 2020-08-31 11:05:29 -07:00
Anton Kolesnyk a20134e42d
Update clangformat to be in sync with the IoT team, and add IoT facility codes. (#377)
* Update clangformat to be in sync with the IoT team

* Add IoT facility codes

* comments for #endifs and #elses
2020-02-22 15:06:25 -08:00
Sergey Shandar 1819e46d03
JSON parser (#27)
* core library template.

* az_core

* let

* minor

* AZ_CSTR

* az_str and az_static_assert.

* az_cstr

* length

* stream

* az_http

* test

* test

* more functions

* additional options

* data state

* another try

* more

* strange

* number draft

* az_json_number

* number + string

* keywords

* az_json_token

* data types.

* data types

* Slices and index ranges.

* JSON token

* reorder

* readme

* Thoughts about reactive parser.

* something new

* errors

* digit, string

* state

* readme files

* issues

* comments

* notes

* it works

* readme.md

* a lot

* pointers

* another test

* No need for JSON state.

* No need for az_sign.h

* Stack overflow check.

* az_const_str_eq

* minor.

* ++*p => *p += 1

* C99 unions, stack push/pop.

* more tests.

* Update documentation.

* Symols.

* az_is_digit => isdigit

* Changes.

* Simplify number parsing.

* test

* Less nested `if`.

* AZ_MAKE_ERROR / AZ_MAKE_RESULT

* RETURN_IF_NOT_OK.

* az_const_str

* az_dec_number

* Test

* AZ_SPAN

* Span of bytes.

* tests

* run tests

* enable_testing()

* Fix test

* Address comments.

* az_json_read.

* az_span

* Reader

* const bug

* Tabs -> spaces (#37)

* Remove the last tab occurrence (appeared after the most recent merge) (#38)

* Tabs -> spaces

* internal PR (#39)

* az_option_byte

* refactoring for az_json_read_keyword_rest

* az_json_read_string_rest

* az_span_reader improved.

* az_const_span_sub

* clang-format.

* CLANG

* address comments

* formatting.

* Add core error for any argument-related errors (#40)

* Comments.

* Update clang-format and reformat core files (#42)

Update clang-format and reformat core files

* Remove az_option

* Revert "Remove az_option"

This reverts commit bad54a6170.

* EOF

* Add prefix/suffix header files; Switch to 100 char width style (#43)

* Add prefix/suffix header files

* Switch code formatting back to 100 char max width

* EOL@EOF

* Fix forgotten instance to include epilog

* Shorten the name for AZ_CORE_ERROR_ARGUMENT, as seen in another Sergey's branch. (#44)

* _az_cfg

* AZ_ERROR_FLAG

* static assert

* counter

* inline static_assert

* dummy

* another one

* dummy function.

* defaults

* static inline

* static

* main

* GCC

* UNIX
2019-10-01 20:48:21 -07:00