summaryrefslogtreecommitdiff
path: root/glib/garray.c
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
| * Add g_array_steal(), g_ptr_array_steal() and g_byte_array_steal()Paolo Bonzini2019-10-071-0/+113
* | Add full examples to g_ptr_array_sort() and g_ptr_array_sort_with_data()Lee Bigelow2019-10-071-2/+72
|/
* garray: Fix reference to GLIB_SIZEOF_INTAlexander Larsson2019-09-021-1/+1
* Optimize g_nearest_pow() function in glib/garray.cJeffrey Stedfast2019-08-251-4/+12
* garray: Fix binary search for non-existent elements on the leftPhilip Withnall2019-07-161-5/+7
* garray: Rewrite binary search calculation to avoid integer overflowPhilip Withnall2019-07-161-1/+1
* gptrarray: Correctly set copied array length in g_ptr_array_copy()Philip Withnall2019-07-161-0/+2
* gptrarray: Set free func on copied array in g_ptr_array_copy()Philip Withnall2019-07-161-0/+5
* Add g_array_binary_search() to garray APIEmmanuel Fleury2019-07-091-0/+81
* Adding a function g_array_copy() to glib/garray.cEmmanuel Fleury2019-06-271-0/+28
* Adding g_ptr_array_extend_and_steal() function to glib/garray.cEmmanuel Fleury2019-06-271-0/+32
* Adding g_ptr_array_extend() function to glib/garray.cEmmanuel Fleury2019-06-261-0/+51
* Adding g_ptr_array_copy() function to glib/garray.cEmmanuel Fleury2019-06-261-0/+46
* Fixing signedness in g_ptr_array_insert():glib/garray.cEmmanuel Fleury2019-01-281-1/+1
* Fixing signedness in g_ptr_array_maybe_expand():garray.cEmmanuel Fleury2019-01-281-2/+2
* docs: Simplify the text for g_array_freeDebarshi Ray2018-09-241-9/+9
* docs: Use the correct terminology for g_array_freeDebarshi Ray2018-09-241-5/+5