aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
AgeCommit message (Expand)AuthorFilesLines
2013-03-12From David Arnold:Jaap Keuter1-3/+3
2013-03-11Minor improvements to block allocator debugging.Evan Huus1-4/+5
2013-03-10Glib docs recommend using the slice API if you know you won't need to realloc.Evan Huus3-14/+14
2013-03-09Add the appropriate new WS_DLL_* declarations to the wmem API.Evan Huus5-0/+29
2013-03-09Remove the wmem slab. It was an optimization mimicking the emem slabEvan Huus6-211/+6
2013-03-08Add a debug function (ifdef'ed out by default) and fix another two bugs found byEvan Huus1-1/+56
2013-03-08Add another pair of assertions.Evan Huus1-0/+2
2013-03-08Use only simple allocators until I can work out the kinks with the blockEvan Huus1-2/+2
2013-03-08Should fix assertion failure seen by Anders on -dev.Evan Huus1-1/+17
2013-03-02Export some wmem functions using the new scheme.Evan Huus2-0/+14
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-1/+1
2013-02-26Fix spelling/typos found using a list of commonly misspelled words.Bill Meier1-2/+2
2013-02-23Remove blocks from the free list when gc'ing them in wmem's block allocator.Evan Huus1-2/+3
2013-02-22Fix an *extraordinarily* embarassing copy-paste error. Much thanks to BillEvan Huus1-2/+2
2013-02-22Validate that the pointer passed to wmem_free is valid when using theEvan Huus1-1/+3
2013-02-14If the requested wmem allocator is NULL, take that to mean manually-managedEvan Huus1-0/+13
2013-02-14Add an option for bypassing the wmem slab similar to the one forEvan Huus1-1/+13
2013-02-08Use the new realloc API when growing a string-buffer.Evan Huus1-5/+1
2013-02-08Fix issue where using realloc() to shrink a chunk could result inEvan Huus1-0/+3
2013-02-08Add explicit casts to pacify MSVC buildbot.Evan Huus1-6/+6
2013-02-08Make use of the new garbage-collection routines when closing a file.Evan Huus1-0/+4
2013-02-08Expose the new wmem API functions, and use a consistent order ofEvan Huus3-15/+26
2013-02-08Rewrite the block allocator to support the new wmem API (realloc, free, gc).Evan Huus1-90/+600
2013-01-23Convert the strict allocator to use a hash table similarly to the simpleEvan Huus1-49/+138
2013-01-23Handle NULL-pointers and 0-lengths in a much simpler allocator-agnostic way,Evan Huus2-32/+37
2013-01-23Add wrapper functions for realloc, free and gc, but don't expose them in theEvan Huus1-0/+18
2013-01-22More fixes for handling of NULL-pointers and 0-lengths in calls toEvan Huus1-9/+18
2013-01-20NULL is also a valid return for g_malloc if the requested size is 0.Evan Huus1-2/+6
2013-01-20Don't add the new block to the hash table if it is NULL, which is aEvan Huus1-1/+5
2013-01-19Rewrite wmem_allocator_simple to track allocations using a GHashTable instead ofEvan Huus1-27/+71
2013-01-19Add three more slots to the wmem allocater definition (not yet implementedEvan Huus4-6/+27
2013-01-15Add missing header #include as the slab is part of the API even if nobodyEvan Huus1-0/+1
2013-01-15Use the block allocator for wmem's file-scope by default.Evan Huus1-1/+1
2013-01-04Add convenience macros wmem_new and wmem_new0Evan Huus1-1/+3
2012-12-29Add a cast to pacify MSVC.Evan Huus1-1/+2
2012-12-29Implement wmem_strbuf_append_printf.Evan Huus2-7/+39
2012-12-28Add a strict allocator that does canaries and various other things, forEvan Huus5-1/+249
2012-12-27Make the alignment amount for the wmem block allocator into a #defineEvan Huus1-4/+12
2012-12-27Pre-declare just the enum, and not the typedef to avoid redefinition warnings.Evan Huus1-3/+3
2012-12-27Change the format of the environment variable slightly to allow overridingEvan Huus1-7/+19
2012-12-27Store the type of each wmem allocator.Evan Huus2-4/+17
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
2012-12-19See if *this* squelches the MSVC errors.Guy Harris1-3/+4
2012-12-19Implement a basic singly-linked for wmem.Evan Huus6-56/+240
2012-12-19Try to fix windows builds - MSVC doesn't like g_assert_not_reached() ?Evan Huus1-0/+3
2012-12-19Make the wmem string-buffer marginally useful but providing some accessors soEvan Huus2-0/+18
2012-12-19Dispatch all allocator creations through a single function using an enum toEvan Huus3-14/+38
2012-12-18Rename allocator_glib to allocator_simple, since the block allocator alsoEvan Huus5-33/+32
2012-12-18Use 'new' instead of 'create' a consistent manner.Evan Huus9-17/+17
2012-12-15Basic wmem string-buffer. Not yet feature-equivalent to the emem version.Evan Huus4-0/+227