Age | Commit message (Expand) | Author | Files | Lines |
2013-01-23 | Convert the strict allocator to use a hash table similarly to the simple | Evan Huus | 1 | -49/+138 |
2013-01-23 | Handle NULL-pointers and 0-lengths in a much simpler allocator-agnostic way, | Evan Huus | 2 | -32/+37 |
2013-01-23 | Add wrapper functions for realloc, free and gc, but don't expose them in the | Evan Huus | 1 | -0/+18 |
2013-01-22 | More fixes for handling of NULL-pointers and 0-lengths in calls to | Evan Huus | 1 | -9/+18 |
2013-01-20 | NULL is also a valid return for g_malloc if the requested size is 0. | Evan Huus | 1 | -2/+6 |
2013-01-20 | Don't add the new block to the hash table if it is NULL, which is a | Evan Huus | 1 | -1/+5 |
2013-01-19 | Rewrite wmem_allocator_simple to track allocations using a GHashTable instead of | Evan Huus | 1 | -27/+71 |
2013-01-19 | Add three more slots to the wmem allocater definition (not yet implemented | Evan Huus | 4 | -6/+27 |
2013-01-15 | Add missing header #include as the slab is part of the API even if nobody | Evan Huus | 1 | -0/+1 |
2013-01-15 | Use the block allocator for wmem's file-scope by default. | Evan Huus | 1 | -1/+1 |
2013-01-04 | Add convenience macros wmem_new and wmem_new0 | Evan Huus | 1 | -1/+3 |
2012-12-29 | Add a cast to pacify MSVC. | Evan Huus | 1 | -1/+2 |
2012-12-29 | Implement wmem_strbuf_append_printf. | Evan Huus | 2 | -7/+39 |
2012-12-28 | Add a strict allocator that does canaries and various other things, for | Evan Huus | 5 | -1/+249 |
2012-12-27 | Make the alignment amount for the wmem block allocator into a #define | Evan Huus | 1 | -4/+12 |
2012-12-27 | Pre-declare just the enum, and not the typedef to avoid redefinition warnings. | Evan Huus | 1 | -3/+3 |
2012-12-27 | Change the format of the environment variable slightly to allow overriding | Evan Huus | 1 | -7/+19 |
2012-12-27 | Store the type of each wmem allocator. | Evan Huus | 2 | -4/+17 |
2012-12-26 | Fix a bunch of warnings. | Guy Harris | 1 | -1/+1 |
2012-12-19 | See if *this* squelches the MSVC errors. | Guy Harris | 1 | -3/+4 |
2012-12-19 | Implement a basic singly-linked for wmem. | Evan Huus | 6 | -56/+240 |
2012-12-19 | Try to fix windows builds - MSVC doesn't like g_assert_not_reached() ? | Evan Huus | 1 | -0/+3 |
2012-12-19 | Make the wmem string-buffer marginally useful but providing some accessors so | Evan Huus | 2 | -0/+18 |
2012-12-19 | Dispatch all allocator creations through a single function using an enum to | Evan Huus | 3 | -14/+38 |
2012-12-18 | Rename allocator_glib to allocator_simple, since the block allocator also | Evan Huus | 5 | -33/+32 |
2012-12-18 | Use 'new' instead of 'create' a consistent manner. | Evan Huus | 9 | -17/+17 |
2012-12-15 | Basic wmem string-buffer. Not yet feature-equivalent to the emem version. | Evan Huus | 4 | -0/+227 |
2012-12-08 | Put in a cast to silence a stupid MSVC warning. | Evan Huus | 1 | -1/+4 |
2012-12-08 | Make sure the wmem block allocator returns aligned memory. | Evan Huus | 1 | -0/+17 |
2012-11-25 | Add strdup_printf and strdup_vprintf to the wmem string utilities. | Evan Huus | 2 | -0/+40 |
2012-11-25 | Allocate wmem memory in blocks of 8MB, not 10, because powers of two are nice. | Evan Huus | 1 | -2/+2 |
2012-11-24 | Make the wmem scopes friendly to the valgrind script like emem is. | Evan Huus | 1 | -1/+9 |
2012-11-24 | Reorder the wmem scopes to be ordered by lifetime, which makes more sense than | Evan Huus | 1 | -16/+16 |
2012-11-24 | Add a simple block allocator to wmem (no canaries or anything yet) and use it | Evan Huus | 4 | -1/+246 |
2012-11-09 | Enter and leave wmem's file scope appropriately. | Evan Huus | 1 | -1/+13 |
2012-11-08 | Use const in wmem where possible. | Evan Huus | 10 | -14/+14 |
2012-11-03 | Wmem stack implementation using the wmem slab implementation to allocate frames. | Evan Huus | 4 | -0/+192 |
2012-11-03 | Add wmem scopes for packet and file lifetimes. The file lifetime scope isn't | Evan Huus | 6 | -13/+269 |
2012-11-03 | Rename wmem_permanent_scope -> wmem_epan_scope to reflect the fact that it | Evan Huus | 2 | -6/+6 |
2012-10-27 | Experimental slab allocator logic for wmem. | Evan Huus | 4 | -2/+189 |
2012-10-27 | Create init and cleanup functions for wmem as a whole. | Evan Huus | 2 | -0/+30 |
2012-10-27 | Make the allocator destructor part of wmem_allocator_t. This avoids two | Evan Huus | 5 | -11/+20 |
2012-10-24 | Don't use g_slist_free_full() it needs a more recent GLIB than we officially | Evan Huus | 1 | -2/+11 |
2012-10-24 | wmem_allocator_t is defined in wmem_core.h; redefining it elsewhere will | Guy Harris | 1 | -2/+0 |
2012-10-24 | Include wmem_core.h to define the wmem_allocator_t typedef. | Guy Harris | 1 | -0/+1 |
2012-10-24 | We're no longer defining the structure in a typedef definition, so we | Guy Harris | 1 | -1/+1 |
2012-10-24 | Make it a little more like the Makefile.am for the ftypes subdirectory. | Guy Harris | 1 | -6/+4 |
2012-10-24 | Have wmem_core.h define the wmem_allocator_t typedef, with an incomplete | Guy Harris | 2 | -1/+3 |
2012-10-24 | Fix autotools build - missed a few spots that needed updating for wmem. | Evan Huus | 1 | -1/+1 |
2012-10-24 | Basic skeleton for wmem. | Evan Huus | 11 | -0/+692 |