aboutsummaryrefslogtreecommitdiff
path: root/src/common/memarea.c
Commit message (Expand)AuthorAge
* Kill comments saying to remove asserts once bug930 is solved.•••It's okay to leave the asserts in: the code doesn't appear in profiles. Nick Mathewson2010-10-15
* Rename log.h to torlog.h•••This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }' Nick Mathewson2010-07-09
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-17
|\|
| * Fix an assertion-failure in memarea_alloc() on 64-bit platforms.•••The trick is that we should assert that our next_mem pointer has not run off the end of the array _before_ we realign the pointer, since doing that could take us over the end... but only if we're on a system where malloc() gives us ram in increments smaller than sizeof(void*). Nick Mathewson2009-05-17
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | Add sentinel values to the end of memarea chunks.•••This might detect some possible causes of bug 930, and will at least make sure we aren't doing some dumb memory-corruption stuff with the heap and router-parsing. Nick Mathewson2009-05-12
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Actually do that memarea_strndup fix right. Not only must you not examine un...•••svn:r19095 Nick Mathewson2009-03-21
* fix from lark: make memarea_strndup() work even at the end of a mmap chunk. ...•••svn:r19094 Nick Mathewson2009-03-21
* Add some asserts to try to catch bug 930•••svn:r19074 Nick Mathewson2009-03-18
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Make freelist_len in memarea.c static; document a few variables.•••svn:r17741 Nick Mathewson2008-12-22
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ...•••svn:r17729 Nick Mathewson2008-12-22
* Resolve many DOCDOCs.•••svn:r17662 Nick Mathewson2008-12-17
* The chunk_size field in memarea_t was never actually set. Remove the whole t...•••svn:r17195 Nick Mathewson2008-11-05
* r19249@catbus: nickm | 2008-04-08 14:04:02 -0400••• Oops. Fix one last memarea freelist bug. svn:r14322 Nick Mathewson2008-04-08
* r19247@catbus: nickm | 2008-04-08 13:50:01 -0400••• Fix behavior of memarea freelists. svn:r14321 Nick Mathewson2008-04-08
* r19245@catbus: nickm | 2008-04-08 13:33:27 -0400••• Oops. It turns out that there are some subtle differences between >= and <. svn:r14320 Nick Mathewson2008-04-08
* r19243@catbus: nickm | 2008-04-08 13:28:59 -0400••• Use a freelist to hold a few recent memarea chunks. We do a kazillion memarea allocs and frees; that cant be good for us. svn:r14319 Nick Mathewson2008-04-08
* r19072@catbus: nickm | 2008-03-26 13:50:24 -0400••• Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely. svn:r14201 Nick Mathewson2008-03-26
* r19062@catbus: nickm | 2008-03-26 12:56:25 -0400••• Fix whitespace svn:r14197 Nick Mathewson2008-03-26
* r19049@catbus: nickm | 2008-03-26 12:33:25 -0400••• Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies. svn:r14194 Nick Mathewson2008-03-26