Permalink
Commits on Mar 25, 2012
Commits on Mar 23, 2012
  1. Fix a nasty bug in event_queue_reinsert_timeout()

    nmathewson committed Mar 23, 2012
    What was I thinking?  The old function could handle heap-to-heap
    transitions, and transitions within the same common timeout queue, but
    it completely failed to handle heap/queue transitions, or transitions
    between timeout queues.
    
    Now, alas, it's complicated.  I should look hard at the assembly here
    to see if it's actually better than the alternatives.
  2. Add a unit test for event_base_dump_events()

    nmathewson committed Mar 23, 2012
    This function uses a C program to generate its output, and then uses a
    Python program to check it for correctness.  On systems without
    Python, we just make sure that the C program doesn't crash.
    
    It's likely that we should be requiring some particular python version.
    This is an alpha, though: I'm sure somebody will tell us which.
  3. Merge pull request #47 from rosslagerwall/patch-1

    nmathewson committed Mar 23, 2012
    Fix typo in whatsnew-2.1.txt
Commits on Mar 22, 2012
  1. Use libevent_global_shutdown() to clean up in unit tests.

    nmathewson committed Mar 22, 2012
    This bumps coverage up by a few lines. Every little bit helps.
  2. Fix another bug from rebase of libevent_global_shutdown patch

    nmathewson committed Mar 22, 2012
    This one affected machines without a builtin arc4random
  3. Add credits to README

    nmathewson committed Mar 22, 2012
  4. Add a new libevent_global_shutdown() to free all globals before exiting.

    Mark Ellzey authored and nmathewson committed Jul 12, 2011
    Mark Ellzey added a function libevent_shutdown() which calls a set of
    private functions:
    
           * event_free_globals()
           * event_free_debug_globals()
           * event_free_debug_globals_locks()
           * event_free_evsig_globals()
           * evsig_free_globals()
           * evsig_free_globals_locks()
           * evutil_free_globals()
           * evutil_free_secure_rng_globals()
           * evutil_free_secure_rng_globals_lock()
    
    Nick tweaked this libevent global shutdown code:
    
      - rename the function to emphasize that it's for global resources
      - write more in the doxygen
      - make function brace style consistent
      - add a missing void in a function definition.
Commits on Mar 19, 2012
  1. Rename event-test.c to event-read-fifo.c.

    rosslagerwall committed Mar 19, 2012
    Treat it as an example of reading from a named pipe, not an initial
    teaching tool.
Commits on Mar 18, 2012
  1. On Unix, remove event.fifo left by sample/event-test.c.

    rosslagerwall committed Mar 18, 2012
    This fifo would result in grep hanging when doing a recursive grep
    through the Libevent sources.
    
    event.fifo gets removed on SIGINT or normal exit.
Commits on Mar 15, 2012
Commits on Mar 13, 2012