aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
AgeCommit message (Expand)AuthorFilesLines
2013-06-27*sigh*Evan Huus1-3/+5
2013-06-27Misc little cleanups to wmem tree (comments, whitespace, assertions)Evan Huus1-9/+4
2013-06-27Remove debugging lines from wmem_test, I think I've figured out the problem.Evan Huus1-26/+0
2013-06-25Arrays seems to be where the failure is, so remove excess verbiage around otherEvan Huus1-47/+19
2013-06-25makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes.Chris Maynard1-1/+1
2013-06-24Fix wmem_tree.h ifdef guards, hopefully fixing the check-abi buildbot.Evan Huus1-2/+2
2013-06-24So it comes to this...Evan Huus1-0/+54
2013-06-22Make assertions in tree lookup more useful and fix formatting.Evan Huus1-8/+7
2013-06-20From Michal Labedzki viaEvan Huus1-1/+1
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