aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
AgeCommit message (Expand)AuthorFilesLines
2013-06-19Rework wmem scoping limits so that users can still get a handle to a pool whenEvan Huus4-28/+32
2013-06-19Add wmem_strbuf_new_label as just a sized new for label lengths.Evan Huus1-0/+3
2013-06-19Clean up wmem_strsplit to remove a bunch of weird switch statements andEvan Huus1-21/+16
2013-06-18Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so weEvan Huus5-0/+159
2013-06-18Add wmem_alloc_array, wmem_strsplit, wmem_strconcat.Evan Huus4-27/+195
2013-06-18Refactor insert32 to use lookup_or_insert32 with the right flags.Evan Huus1-59/+17
2013-06-18Refactor lookup_or_insert32 to remove a bunch of continue and break statementsEvan Huus1-29/+24
2013-06-18Simplify node structure. Use a boolean for whether or not it's a subtree, and anEvan Huus1-34/+35
2013-06-18Factor function for node creation out and use it in several places.Evan Huus1-55/+39
2013-06-18Scrap wmem_memdup, it's not actually as useful as I thought it would be.Evan Huus3-48/+0
2013-06-18Factor common code for red-black tree array lookups into a helper function andEvan Huus1-38/+12
2013-06-18Remove wmem_tree_create_subtree, it does nothing we can't do withEvan Huus1-16/+1
2013-06-18Factor string-packing code into a common function to use in both insert_stringEvan Huus1-48/+25
2013-06-18Add test block for wmem_tree_lookup32_array_le(), fix other tests where certainEvan Huus1-2/+26
2013-06-18Wmem tree tests with non-trivial keys.Evan Huus1-3/+5
2013-06-18Re-port a bunch of the red-black tree code from wmem with fewer modifications,Evan Huus3-138/+315
2013-06-18Add tests for red-black tree array keys, if0-ed out until I can make them notEvan Huus1-4/+74
2013-06-17Extract some common code for array lookups, and replace some DISSECTOREvan Huus1-42/+18
2013-06-17Fix the test to respect the new behaviour.Evan Huus1-1/+2
2013-06-17Much smarter handling of autoreset trees.Evan Huus2-9/+27
2013-06-16More callback tweaks, to permit unregistering a callback from the same placeEvan Huus6-24/+63
2013-06-16Fix include to use "" not <> for local headers.Evan Huus1-1/+1
2013-06-16Rework the user callback code a bit to make it saner to use with the auto-resetEvan Huus6-37/+50
2013-06-16Simplify the tree code slightly - just don't call the transform functionEvan Huus1-14/+11
2013-06-16Add warning comment to tree autoreset function about allocatorEvan Huus1-0/+6
2013-06-16Fix occasional wmem_test failure, allocator destruction order mattersEvan Huus1-4/+1
2013-06-15Most of a red-black tree implementation for wmem, based heavily on the ememEvan Huus5-1/+966
2013-06-09Add memdup function to wmem.Evan Huus3-0/+48
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