summaryrefslogtreecommitdiff
path: root/tests/intset.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop calling g_type_init()Simon McVittie2014-01-071-2/+0
| | | | | | | | It was deprecated in GLib 2.36, and we already have a hard dependency on that version. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Add config.h include in all source filesXavier Claessens2012-02-061-0/+2
|
* Use _unref instead of _free _destroy when possible.Xavier Claessens2011-11-161-2/+2
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Change uses of TpIntSet to TpIntsetPhilip Withnall2010-09-141-13/+13
|
* intset test: test iteration more systematicallySimon McVittie2010-05-241-16/+58
|
* tp_intset_is_empty: addSimon McVittie2010-05-211-0/+4
| | | | | Now that we're using a different representation of int sets, checking for empty intsets is very, very cheap.
* fd.o #16170: TpIntSet: cope better with sparse setsSimon McVittie2010-05-211-2/+18
| | | | | | | | | | When we stop refcounting handles, it will become more important that clients and services both cope gracefully with sparse sets, since the average numeric value of a handle will increase. Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Conflicts: tests/intset.c
* intset test: explicitly NULL all the pointers to give valgrind better cluesSimon McVittie2010-04-161-1/+18
|
* Register TpIntSet as a boxed typeSimon McVittie2010-04-161-2/+14
|
* tests: remove test- prefix from all sourcesSimon McVittie2009-03-171-0/+138
As well as making tab completion work better, this means .gitignore can be much simpler.