aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Improve listdir unit testsEsteban Manchado Velázquez2012-03-08
|
* Improve a bit asprintf unit testsEsteban Manchado Velázquez2012-03-08
|
* Rewrite the find_str_at_start_of_line unit testsEsteban Manchado Velázquez2012-03-08
|
* Improve/extend strtok_r unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | * Add several failing tests (embedded in an "#if 0" block) for behaviour that doesn't match strtok_r * Add another, passing, more interesting test * Use test_eq_ptr(NULL, ...) instead of test_assert(NULL == ...)
* Improve tor_sscanf testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | * Add many new test cases, tweak/improve existing ones, reorganize them a bit * Switch the parameters in all test_eq calls so the expected value is the first * Change all the "r = tor_sscanf(...);\ntest_eq(1, r)" to the more compact "test_eq(1, tor_sscanf(...))". It may be a tiny bit harder to find the tor_sscanf calls (it's the long lines anyway), but it saves a lot of lines, which should help readability.
* Small fix in tor_sscanf documentationEsteban Manchado Velázquez2012-03-08
|
* Improve test case for read_escaped_data unit testEsteban Manchado Velázquez2012-03-08
|
* Trivial readability changes in mmap unit testsEsteban Manchado Velázquez2012-03-08
|
* Clean up and improve gzip unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | * Switch some test_eq parameters so the expected is always the first parameter * Drop some manual checks of compressed format magic numbers (they're pointless and they make the unit tests less readable and more fragile, considering we're already indirectly checking those magic numbers via the detect_compression_method function) * Add a couple of extra assertions
* Add/improve the rest of the strmisc testsEsteban Manchado Velázquez2012-03-08
|
* Improve tor_snprintf testsEsteban Manchado Velázquez2012-03-08
|
* Add/improve tests for str{,case}cmp{start,end}Esteban Manchado Velázquez2012-03-08
|
* Add more/better tests in test_util_strmiscEsteban Manchado Velázquez2012-03-08
|
* Trivial cosmetic fix in test commentsEsteban Manchado Velázquez2012-03-08
|
* Organize test_util_time in blocksEsteban Manchado Velázquez2012-03-08
| | | | | | * Separate the tests for different functions with a comment * Move some test init code further down, closer to where it was actually being used
* Add test for comments in the config parserEsteban Manchado Velázquez2012-03-08
|
* Remove duplicated macro definitionEsteban Manchado Velázquez2012-03-08
|
* Add test for broken hex parsingEsteban Manchado Velázquez2012-03-08
| | | | | | * The test currently fails, but it's commented out (with an "#if 0") * As a broken octal actually gives a parse error, it seems fair that this fails, too
* Fix typo in config parser documentationEsteban Manchado Velázquez2012-03-08
|
* Improve config parser escaped content testsEsteban Manchado Velázquez2012-03-08
|
* Add tests for escaped content in configEsteban Manchado Velázquez2012-03-08
|
* Add quoted content tests for the config parserEsteban Manchado Velázquez2012-03-08
|
* Fix documentation URLs in config file commentsEsteban Manchado Velázquez2012-03-08
|
* Merge remote-tracking branch 'public/bug4361'Nick Mathewson2012-03-08
|\ | | | | | | | | Conflicts: src/or/command.c
| * Add comments and changes file for 4361; tweak control flow a bitNick Mathewson2011-11-03
| |
| * Do not send a NETINFO cell as a client until after we have got a CERT cellfrosty2011-11-03
| |
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-03-08
|\ \
| * | Fix compile warnings in openbsd mallocSebastian Hahn2012-03-08
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-03-08
|\| |
| * | Merge remote-tracking branch 'karsten/geoip-march2012' into maint-0.2.2Nick Mathewson2012-03-08
| |\ \
| | * | Update to the March 2012 GeoIP database.Karsten Loesing2012-03-08
| | | |
* | | | Remove misleading function comment (bug 5324)Roger Dingledine2012-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the distant past, connection_handle_read() could be called when there are pending bytes in the TLS object during the main loop. The design since then has been to always read all pending bytes immediately, so read events only trigger when the socket actually has bytes to read. Resolves bug 5324.
* | | | Merge remote-tracking branch 'public/bug4760'Nick Mathewson2012-03-05
|\ \ \ \
| * | | | Set IPV6_V6ONLY on listener sockets bound to IPv6 addresses.Nick Mathewson2012-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we don't do this, [::] can be interpreted to mean all v4 and all v6 addresses. Found by dcf. Fixes bug 4760. See RFC 3493 section 5.3 for more info.
* | | | | Don't leak the env_vars_sorted smartlist in process_environment_makeNick Mathewson2012-02-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by Coverity. No changes/ file, because this bug has not been in a release yet.
* | | | | Merge remote-tracking branch 'sebastian/bug5231'Nick Mathewson2012-02-29
|\ \ \ \ \
| * | | | | Don't cannibalize already cannibalized circuitsSebastian Hahn2012-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures we don't build circuits that have 5 hops or more. Patch contributed by wanoskarnet, thanks!
* | | | | | Merge branch 'maint-0.2.2'Roger Dingledine2012-02-29
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | new ip address for maatuskaRoger Dingledine2012-02-29
| | | | | |
* | | | | | whitespace fixRoger Dingledine2012-02-29
| |/ / / / |/| | | |
* | | | | When not fetching v2 dir info, don't require it for cleaning descriptorsDaniel Bryg2012-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | Bugfix on 0.2.2.26-beta, which introduced the idea of caches not cacheing v2 info. Fixes bug 4838.
* | | | | Merge remote-tracking branch 'sebastian/bug5161'Nick Mathewson2012-02-20
|\ \ \ \ \
| * | | | | Don't redeclare environ if std headers already didSebastian Hahn2012-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would cause a redundant redeclaration warning on some versions of Linux otherwise.
* | | | | | Merge remote-tracking branch 'pmezard/armv5'Nick Mathewson2012-02-20
|\ \ \ \ \ \
| * | | | | | Fix off-by-one error in test_util_make_environmentPatrick Mézard2012-02-20
| |/ / / / /
* / / / / / Fix crypto_hmac_sha256 documentation commentRobert Ransom2012-02-20
|/ / / / /
* | | | | document a cool attack that we evaluatedRoger Dingledine2012-02-17
| | | | |
* | | | | Use get_environment(), not environ.Nick Mathewson2012-02-17
| | | | |
* | | | | Merge branch 'bug5105-v2-squashed'Nick Mathewson2012-02-17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/transports.c
| * | | | | Add unit tests for easily tested, non-trivial utility functionsRobert Ransom2012-02-17
| | | | | |