188989e067
Update copyright year
2024-01-07 12:41:02 +01:00
15ba1db248
Update copyrights
2023-08-31 12:57:30 +02:00
3dc7f71098
Update copyright year
2022-02-25 17:46:43 +01:00
22162f82b2
Update copyright year
2021-01-22 21:58:38 +01:00
59d9ecd9c0
* Update copyright year to 2020
2020-01-10 00:33:02 +01:00
4b9edbad2d
Update Copyright statements to be compatible with update-copyright module
2019-09-10 23:41:56 +02:00
634ca7633b
Rename wget_stringmap types
...
* include/wget/wget.h: Rename wget_stringmap types
* unit-tests/stringmap_perf.c: Likewise
* unit-tests/test.c: Likewise
2019-08-12 11:25:02 +02:00
12f1a03693
Changed G_GNUC_WGET prefix to WGET_GCC
...
* include/wget/wget.h: Changed G_GNUC_WGET prefix to WGET_GCC
* */*.[ch]: Likewise
2019-08-08 17:13:24 +02:00
2750a09f77
Rename wget_stringmap_t -> wget_stringmap
...
* include/wget/wget.h: Rename wget_stringmap_t -> wget_stringmap
* libwget/stringmap.c: Likewise
* src/options.c: Likewise
* src/plugin.c: Likewise
* src/wget.c: Likewise
* unit-tests/stringmap_perf.c: Likewise
* unit-tests/test.c: Likewise
2019-07-18 12:42:19 +02:00
6a3f1d53c0
Typedef hashmap functions not as pointer
...
* include/wget/wget.h: Remove '*' signature from function typedefs
* libwget/*.c: Amend casts
* src/*.c: Likewise
* unit-tests/stringmap_perf.c: Likewise
2019-07-17 12:11:09 +02:00
baa5ef562f
Add sc_prohibit_free to 'make syntax-check'
...
* cfg.mk: Add sc_prohibit_free rule plus exceptions
* examples/print_css_urls3.c: Remove unneeded comment
* fuzz/libwget_base64_fuzzer.c: Use wget_free() instead of free()
* fuzz/libwget_cookie_fuzzer.c: Likewise
* fuzz/libwget_css_url_fuzzer.c: Likewise
* fuzz/libwget_http_client_fuzzer.c: Likewise
* fuzz/libwget_utils_fuzzer.c: Likewise
* libwget/vector.c: Likewise
* src/options.c: Likewise
* src/wget_main.h: Likewise
* tests/test-compression.c: Likewise
* tests/test-cookies-http_state.c: Likewise
* tests/test-metalink.c: Likewise
* unit-tests/stringmap_perf.c: Likewise
This rule checks for calling free(). Instead, either use wget_free() or
the convenience macro xfree().
2019-06-24 16:04:23 +02:00
d55c540b1b
Simplify hashmap and stringmap API
...
* include/wget/wget.h: Replace _put() by _put_noalloc() functions to
keep memory allocations outside the library functions.
* libwget/stringmap.c: Likewise
* libwget/hashmap.c: Likewise
* libwget/*.c: Likewise
* src/*.c: Likewise
* unit-tests/*.c: Likewise
2019-06-21 16:04:29 +02:00
aa2b8f400f
Add sc_prohibit_sprintf and sc_prohibit_printf and fix code
...
* cfg.mk: New syntax rules sc_prohibit_sprintf and sc_prohibit_printf
* fuzz/*.c: Apply rules
* libwget/*.c: Likewise
* src/*.c: Likewise
* tests/*.[ch]: Likewise
* unit-tests/*.c: Likewise
2019-06-17 16:39:24 +02:00
cdb3600791
Update copyrigght to 2019
2019-01-02 12:42:53 +01:00
3688ffb941
Update copyright to 2018
2018-04-30 20:52:11 +02:00
fa600c4f04
Move unit tests from tests/ to unit-tests/
...
* Makefile.am: Add unit-tests
* cfg.mk: Make syntax-check work with unit-tests/
* configure.ac: Add unit-tests/Makefile
* tests/Makefile.am: Remove unit tests
* unit-tests/Makefile.am: New file with unit test rules
* unit-tests/*.c: Moved from tests/
* unit-tests/files: Moved from tests/
unit-tests/ is for library/API unit testing.
tests/ is for testing wget2 utility.
2017-05-31 20:51:10 +02:00