aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Expand)AuthorAge
* r12570@catbus: nickm | 2007-04-30 10:49:50 -0400••• Add an extra lock to try to get unit tessts passing reliably again. svn:r10062 Nick Mathewson2007-04-30
* r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400••• Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention. svn:r9995 Nick Mathewson2007-04-21
* r12418@catbus: nickm | 2007-04-16 20:58:25 -0400••• Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness. svn:r9977 Nick Mathewson2007-04-17
* A hack I've been wanting for a while: when building a -dev version•••from an SVN repository, use the current svn revision in the platform string and in the output of --version. svn:r9976 Nick Mathewson2007-04-16
* Fix some proposal-104 bugs.•••svn:r9972 Nick Mathewson2007-04-16
* r12403@catbus: nickm | 2007-04-16 13:55:03 -0400••• Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970 Nick Mathewson2007-04-16
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400••• Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944 Nick Mathewson2007-04-11
* r12344@catbus: nickm | 2007-04-10 21:27:25 -0400••• Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942 Nick Mathewson2007-04-11
* r12338@catbus: nickm | 2007-04-10 20:29:05 -0400••• Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940 Nick Mathewson2007-04-11
* r12336@catbus: nickm | 2007-04-10 17:34:25 -0400••• Unit tests and debugging for memory pool implementation. svn:r9938 Nick Mathewson2007-04-11
* r12182@catbus: nickm | 2007-03-15 10:58:12 -0400••• Clarify section of dir-spec.txt that explains how "v" resolution happens. svn:r9829 Nick Mathewson2007-03-15
* r12098@catbus: nickm | 2007-03-06 18:48:50 -0500••• Try to make unit tests happier on 64-bit platforms. svn:r9752 Nick Mathewson2007-03-06
* r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500••• More unit tests: gcov is fun. svn:r9748 Nick Mathewson2007-03-06
* r12080@catbus: nickm | 2007-03-04 21:40:55 -0500••• Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736 Nick Mathewson2007-03-05
* r11987@catbus: nickm | 2007-02-28 12:34:04 -0500••• add another u64-related unit test. svn:r9681 Nick Mathewson2007-02-28
* r11982@catbus: nickm | 2007-02-28 11:55:41 -0500••• Add unit tests for tor_parse_uint64 svn:r9678 Nick Mathewson2007-02-28
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11715@catbus: nickm | 2007-02-08 14:07:03 -0500••• Oops; the change in tor_version_is_obsolete broke a unit test. svn:r9529 Nick Mathewson2007-02-08
* r11639@catbus: nickm | 2007-02-05 13:33:38 -0500••• Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483 Nick Mathewson2007-02-05
* r11978@Kushana: nickm | 2007-01-15 18:54:25 -0500••• Apparently, the OpenBSD linker thinks it knows C better than I do, and gets to call me names for having strcat and strcpy and sprintf in my code--whether I use them safely or not. All right, OpenBSD. You win... this round. svn:r9360 Nick Mathewson2007-01-15
* Make the unit tests work again.•••The foo_init() funcs need to happen before we call options_act() and friends. svn:r9331 Roger Dingledine2007-01-11
* r11806@Kushana: nickm | 2007-01-03 00:12:21 -0500••• Fix unit test broken by r9239. svn:r9248 Nick Mathewson2007-01-03
* r11597@Kushana: nickm | 2006-12-15 15:49:27 -0500••• Add a rudimentary line-wrapping function for use in dumping comments in config files. svn:r9132 Nick Mathewson2006-12-15
* r11456@Kushana: nickm | 2006-12-07 10:09:55 -0500••• oops; removed one unmap too many in the tests. svn:r9040 Nick Mathewson2006-12-07
* r11451@Kushana: nickm | 2006-12-07 10:06:30 -0500••• Apparently Windows takes a dim view of unlinking a file while it is mapped. Silly windows, did nobody ever tell you about inodes? svn:r9038 Nick Mathewson2006-12-07
* build on 64-bit again•••svn:r8801 Roger Dingledine2006-10-23
* r9320@Kushana: nickm | 2006-10-22 15:56:27 -0400••• fix unittests; add more tests for smartlist stuff; make tests cache generated RSA keys (to speed up unittest run time by 30% and encourage people to run them more). svn:r8796 Nick Mathewson2006-10-23
* checkpoint some changes as i read diffs•••svn:r8780 Roger Dingledine2006-10-20
* r9276@Kushana: nickm | 2006-10-19 17:08:15 -0400••• Add some more unit tests for policies. svn:r8764 Nick Mathewson2006-10-19
* r9275@Kushana: nickm | 2006-10-19 16:45:19 -0400••• Split smartlist tests into their own function, and add a couple more. Re-enable strmap iteration tests. Remove tests for code that doesnt exist any more (parse_nickname_list, identity ciphers). svn:r8763 Nick Mathewson2006-10-19
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400••• Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762 Nick Mathewson2006-10-19
* r8967@totoro: nickm | 2006-10-08 23:38:50 -0400••• Fix some test and warn failures in last commit svn:r8665 Nick Mathewson2006-10-09
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400••• The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664 Nick Mathewson2006-10-09
* r8838@totoro: nickm | 2006-10-02 15:24:39 -0400••• Partial implementation of revised nickname syntax for controllers. Implement ability to look up routers by "verbose" nicknames; add a per-v1-control-connection flag to turn the feature on in events. Needs testing, spec, ability to actually turn on the flag, double-checking that we wont overflow any nickname buffers, and changelog. svn:r8582 Nick Mathewson2006-10-03
* r8879@Kushana: nickm | 2006-09-21 17:20:31 -0400••• Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation. svn:r8444 Nick Mathewson2006-09-21
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700••• Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020 Nick Mathewson2006-08-11
* r6979@Kushana: nickm | 2006-07-31 13:16:58 -0400••• Add assert_ok functions for strmap and digestmap; use them in unit test code. svn:r6958 Nick Mathewson2006-07-31
* r6958@Kushana: nickm | 2006-07-29 18:54:15 -0400••• Looks like we might need a priority queue. svn:r6953 Nick Mathewson2006-07-31
* Remove code to special-case "-cvs" ending, since it has not actually mattered...•••svn:r6898 Nick Mathewson2006-07-25
* when an exit node gets a malformed begin cell, don't complain to•••the node operator, since he can't do anything about it. svn:r6733 Roger Dingledine2006-07-06
* Make some more verbose gcc warnings go away.•••svn:r6680 Nick Mathewson2006-06-22
* Next batch of memory miserdom: mmap cached-routers file. This is sure to bre...•••svn:r6675 Nick Mathewson2006-06-22
* Add tests for several of the more recently committed functions.•••svn:r6639 Nick Mathewson2006-06-18
* now we can tell dirserv_dump_directory_to_string() whether we want•••it to include down/invalid descriptors or not. svn:r6618 Roger Dingledine2006-06-13
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.•••svn:r6396 Nick Mathewson2006-04-18
* Remove DER64 functions in trunk: they will never be used again unless the dir...•••svn:r6376 Nick Mathewson2006-04-10
* Refactor and consolidate addr/exit policies into a new policies.c.•••Fix some minor bugs and memory leaks along the way. svn:r6246 Roger Dingledine2006-03-27
* When the controller's *setconf commands fail, collect an error message•••in a string and hand it back. This starts to resolve bug 275. svn:r6241 Roger Dingledine2006-03-26
* Add some functions to escape values from the network before sending them to t...•••svn:r6087 Nick Mathewson2006-03-05
* try to fix bug with spurious "everything is broken" warning•••svn:r5994 Nick Mathewson2006-02-13