aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
AgeCommit message (Expand)AuthorFilesLines
2013-05-26First batch of doxygen for wmem. Remove some things from README.wmem now thatEvan Huus6-7/+186
2013-05-22Minor refactor: make the framework responsible for allocating and freeing theEvan Huus9-65/+49
2013-05-20Make the minimum supported GLib version 2.16.Gerald Combs1-14/+0
2013-05-16Use a readable name for the wmem callback test. Warn that reallocing memoryEvan Huus1-5/+5
2013-05-08Round two of wmem cleanup callbacks. While the emem tree behaviour will requireEvan Huus9-80/+238
2013-05-07Add user callbacks to wmem. This feature is a generic way to transparently mimicEvan Huus6-8/+157
2013-05-04Stub out the wmem test suite for older Glibs. This should restoreEvan Huus1-0/+14
2013-04-30In part from Raúl Pérez Clavero via https://bugs.wireshark.org/bugzilla/sho...Evan Huus3-0/+50
2013-04-26Wmem string-buffer improvements:Evan Huus3-5/+71
2013-04-25Annotate wmem functions for better compiler warnings and optimization.Evan Huus4-11/+24
2013-04-24Add truncate function to wmem strbuf.Evan Huus3-1/+24
2013-04-22Add tests for wmem stack, and misc. tweaks to other tests.Evan Huus1-7/+40
2013-04-22Convert another instance of g_assert_cmpuint to g_assert.Gerald Combs1-3/+3
2013-04-22Improve wmem strbuf tests, add tests for string util. functionsEvan Huus1-0/+49
2013-04-22Don't use g_assert_cmpuint, its definition breaks the WindowsEvan Huus1-8/+8
2013-04-21Add wmem string-buffer tests and fix associated bugs.Evan Huus2-13/+60
2013-04-10Add wmem tests for the singly-linked list implementation.Evan Huus1-1/+50
2013-03-27Loop the timing test 128 times so that statistics work more in our favour.Evan Huus1-11/+15
2013-03-27Add a timing test to check that the block allocator is actually faster than theEvan Huus1-0/+42
2013-03-27Generalize the allocator test function and use it to test the simple andEvan Huus1-14/+66
2013-03-27Copy over a missing flag in the block allocator to fix the build-bot failureEvan Huus1-1/+7
2013-03-27Fix -Wshadow that happens with some old versions of gcc (not mine, for someEvan Huus2-19/+20
2013-03-27Greatly improve wmem tests, including random fuzz-style testing. ImproveEvan Huus2-21/+112
2013-03-24Replace implicit conversions with explicit casts.Guy Harris1-4/+4
2013-03-24Fix a few small bugs in the block allocator and add some more assertions to itEvan Huus2-45/+46
2013-03-24Initial simple block allocator tests, not being run by default because they'reEvan Huus3-25/+93
2013-03-23Add wmem unit test binary (still empty) to nmake build and toEvan Huus1-1/+17
2013-03-20 From beroset:Bill Meier5-25/+25
2013-03-20Add empty placeholder wmem test suite. Hopefully my automake skills wereEvan Huus2-1/+51
2013-03-20Trivial tweaks to clean up cppcheck warnings.Evan Huus3-4/+7
2013-03-20More block allocator fixes and cleanup. Most of the issues seem to have beenEvan Huus1-8/+44
2013-03-19Add more and stricter wmem block allocator debug functions.Evan Huus2-17/+40
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