summaryrefslogtreecommitdiff
path: root/glib/garray.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'wip/smcv/gptrarray-null-term' into 'main'Simon McVittie2023-01-101-0/+3
|\
| * garray: Update NULL termination after copying array contentSimon McVittie2023-01-101-0/+3
* | Merge branch 'wip/smcv/gptrarray-memcpy-nothing' into 'main'Simon McVittie2023-01-101-1/+1
|\ \
| * | garray: Avoid calling memcpy with no itemsSimon McVittie2023-01-101-1/+1
| |/
* | docs: Fix return type in cmpint exampleCédric Bellegarde2023-01-101-1/+1
|/
* Merge branch 'ptr-array-sort-values' into 'main'Philip Withnall2023-01-061-2/+82
|\
| * garray: Add g_ptr_array_sort_values[_with_data]() wrappersMarco Trevisan (Treviño)2023-01-061-2/+82
| * garray: Add support adding literal valuesMarco Trevisan (Treviño)2022-12-161-2/+8
* | garray: Add some additional length assertionsPhilip Withnall2022-12-291-0/+2
* | garray: Fix a doc typo in g_ptr_array_sort()Marco Trevisan (Treviño)2022-12-211-1/+1
* | garray: Add g_array_new_take() and g_array_new_take_zero_terminated()Marco Trevisan (Treviño)2022-12-211-0/+114
* | garray: Just use one bit to hold the null teminated stateMarco Trevisan (Treviño)2022-12-191-1/+1
* | garray: Add g_ptr_array_new_from_null_terminated_array()Marco Trevisan (Treviño)2022-12-191-14/+77
* | garray: Add g_ptr_array_new_from_array() to copy a C arrayMarco Trevisan (Treviño)2022-12-191-1/+65
* | garray: Add g_ptr_array_new_take_null_terminated()Marco Trevisan (Treviño)2022-12-191-0/+46
* | garray: Add g_ptr_array_new_take() to take a C array without copiesMarco Trevisan (Treviño)2022-12-191-0/+47
|/
* garray: Add assertions to help static analysisPhilip Withnall2022-11-291-1/+5
* Merge branch 'array-copy-null-terminated' into 'main'Philip Withnall2022-06-071-8/+8
|\
| * garray: Rename an internal helper to make its behaviour clearerPhilip Withnall2022-06-071-8/+8
| * garray: Fix NULL-termination of GPtrArray copiesPhilip Withnall2022-06-071-1/+1
* | garray: Change free/unref semantics under static analysisPhilip Withnall2022-06-071-0/+5
|/
* array: add support for %NULL termination in GPtrArrayThomas Haller2022-05-271-30/+166
* garray: Add missing (transfer full) introspection annotationsPhilip Withnall2022-05-271-4/+5
* glib: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
* Fix non-initialized variable in glib/garray.cLoic Le Page2022-02-181-1/+1
* garray: Fix integer overflows in element capacity calculationsTobias Stoeckmann2022-01-261-4/+5
* Add stricter overflow protection from GArray to g_ptr_array_maybe_expand() tooSebastian Dröge2021-11-251-1/+9
* De-duplicate g_nearest_pow() implementationSebastian Dröge2021-11-251-23/+1
* Fix always true comparison warning in glib/garray.cEmmanuel Fleury2021-11-041-1/+5
* #1331: buffer overflow fixMark Weaver2021-10-191-25/+32
* doc: example for GArray and g_array_set_clear_func()Nitin Wartkar2021-06-071-0/+21
* introspection: Remove 'caller-allocates' from POD typesPhilip Chimento2021-03-201-6/+6
* gbytearray: Do not accept too large byte arraysKrzesimir Nowak2021-02-111-0/+6
* garray: Add missing (transfer) and (nullable) return annotationsPhilip Withnall2020-12-121-2/+2
* array: Avoid sorting 0-sized arraysTimm Bäder2020-12-091-20/+24
* Add some notes on complexity in glib/garray.cEmmanuel Fleury2020-09-021-4/+8
* array: add internal ptr_array_new() helper for creating GPtrArrayThomas Haller2020-05-151-31/+28
* Merge branch 'th/g-ptr-array-variable-cleanups' into 'master'Philip Withnall2020-05-071-7/+9
|\
| * array: combine loop variables in g_ptr_array_remove_range()Thomas Haller2020-05-071-4/+3
| * array: use guint type for loop variable iterating over GPtrArray.len elementsThomas Haller2020-05-071-3/+6
* | array: fix corrupt state of GPtrArray after g_ptr_array_extend_and_steal()Thomas Haller2020-05-071-0/+1
|/
* garray: Clarify documentation in a few placesPhilip Withnall2020-03-031-6/+26
* garray: Fix copying an array with reserved elementsPhilip Withnall2020-02-271-2/+5
* gptrarray: Add an example to the g_ptr_array_steal() docsPhilip Withnall2019-12-121-0/+33
* Merge branch 'wip/smcv/array-memcpy-ub' into 'master'Sebastian Dröge2019-10-241-2/+2
|\
| * array: Avoid use of memcpy(dest, NULL, 0)Simon McVittie2019-10-241-2/+2
* | array: Add tests based on the g_ptr_array_sort[_with_data] doc-commentsSimon McVittie2019-10-241-0/+4
* | array: Fix handling of user_data in doc-commentSimon McVittie2019-10-241-2/+2
* | array: Remove unnecessary casts from doc-commentsSimon McVittie2019-10-241-2/+2
|/
* Merge branch 'add_array_steal_function' into 'master'Philip Withnall2019-10-071-0/+113
|\