summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | Fix assertion in addressmap_clear_excluded_trackexithostsNick Mathewson2011-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 3923; bugfix on 0.2.2.25-alpha; bugfix from 'laruldan' on trac.
* | | | | | | | | | bump to 0.2.3.3-alpha-devRoger Dingledine2011-09-02
| | | | | | | | | |
* | | | | | | | | | merge in one moretor-0.2.3.3-alphaRoger Dingledine2011-09-02
| | | | | | | | | |
* | | | | | | | | | Merge branch 'maint-0.2.2'Roger Dingledine2011-09-02
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Correct man page: multiple control auth styles can be set at onceRoger Dingledine2011-09-02
| | |_|_|_|/ / / / | |/| | | | | | |
* | | | | | | | | bump to 0.2.3.3-alphaRoger Dingledine2011-09-02
| | | | | | | | |
* | | | | | | | | fold in last changes itemRoger Dingledine2011-09-01
| | | | | | | | |
* | | | | | | | | Handle test case where fgets() sees EOF on the last readSteven Murdoch2011-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some platforms, with non-blocking IO, on EOF you first get EAGAIN, and then on the second read you get zero bytes and EOF is set. However on others, the EOF flag is set as soon as the last byte is read. This patch fixes the test case in the latter scenario.
* | | | | | | | | Merge branch 'bug3888'Nick Mathewson2011-09-01
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Changes file for bug3888Nick Mathewson2011-09-01
| | | | | | | | | |
| * | | | | | | | | Explicitly set bucket_cfg to NULL after we freed itSebastian Hahn2011-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix bug 3888.
* | | | | | | | | | Fix double-closing a stdio streamSteven Murdoch2011-09-01
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After a stream reached eof, we fclose it, but then test_util_spawn_background_partial_read() reads from it again, which causes an error and thus another fclose(). Some platforms are fine with this, others (e.g. debian-sid-i386) trigger a double-free() error. The actual code used by Tor (log_from_pipe() and tor_check_port_forwarding()) handle this case correctly.
* | | | | | | | | clean 0.2.3.3-alpha changelogRoger Dingledine2011-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ready when you are, nick
* | | | | | | | | Tweaks on last process-launch patchesNick Mathewson2011-08-31
| | | | | | | | |
* | | | | | | | | Make a version of tor_read_all_handle() for non-Windows platformsSteven Murdoch2011-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainly used for testing reading from subprocesses. To be more generic we now pass in a pointer to a process_handle_t rather than a Windows- specific HANDLE.
* | | | | | | | | Fix off-by-one error when allocating memory in test_util_split_lines()Steven Murdoch2011-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Triggered "failed OVER picket-fence magic-number check (err 27)" when memory debugging using dmalloc is enabled (at 'low' or higher).
* | | | | | | | | First draft of an 0.2.3.3-alpha changelogNick Mathewson2011-08-31
| | | | | | | | |
* | | | | | | | | Add a missing include to util.c to get waitpid() on LinuxNick Mathewson2011-08-31
| | | | | | | | |
* | | | | | | | | Rename tor_join_cmdline to tor_join_win_cmdline; tweak doxygenNick Mathewson2011-08-30
| | | | | | | | |
* | | | | | | | | Merge remote-tracking branch 'sjmurdoch/bug2046'Nick Mathewson2011-08-30
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Document limitation of log_from_handle with partial readsSteven Murdoch2011-08-30
| | | | | | | | | |
| * | | | | | | | | Factor out and re-write code for splitting lines from a handleSteven Murdoch2011-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now handles non-printable characters and will not output a spurious new-line if given a partial line.
| * | | | | | | | | Refactor out command line formattingSteven Murdoch2011-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now correctly handles whitespace, quotes and backslashes. Passes all unit tests.
| * | | | | | | | | Add a sanity checkSteven Murdoch2011-08-29
| | | | | | | | | |
| * | | | | | | | | Replace two magic tristates with #define'd namesSteven Murdoch2011-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - process_handle_t.status - return value of tor_get_exit_code()
| * | | | | | | | | Make signature of tor_spawn_background more conventionalSteven Murdoch2011-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conventionally in Tor, structs are returned as pointers, so change tor_spawn_background() to return the process handle in a pointer rather than as return value.
| * | | | | | | | | Appease "make check-spaces"Steven Murdoch2011-08-24
| | | | | | | | | |
| * | | | | | | | | Improve comments and fix one bugSteven Murdoch2011-08-24
| | | | | | | | | |
| * | | | | | | | | We don't need to find our own path, just tell Windows to searchSteven Murdoch2011-08-24
| | | | | | | | | |
| * | | | | | | | | Find test-child.exe by looking in same directory as test.exeSteven Murdoch2011-08-24
| | | | | | | | | |
| * | | | | | | | | Fix compilation errors under *nixSteven Murdoch2011-08-23
| | | | | | | | | |
| * | | | | | | | | Fix test cases to handle MSYS style paths (/c/foo rather than c:/foo)Steven Murdoch2011-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix test case to expect 1 on successfully spawning a subprocess
| * | | | | | | | | Tidy up subprocess codeSteven Murdoch2011-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Better error handling - Write description of functions - Don't assume non-negative process return values
| * | | | | | | | | Fix some compiler warningsSteven Murdoch2011-08-22
| | | | | | | | | |
| * | | | | | | | | Revert change to libminiupnpc search pathSteven Murdoch2011-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was supposed to fix an oddity with library searching in autoconf but it didn't actually fix anything.
| * | | | | | | | | Merge branch 'bug1983-port-tor-fw-helper-to-windows' into bug2046Steven Murdoch2011-08-22
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in src/tools/tor-fw-helper/Makefile.am src/tools/tor-fw-helper/tor-fw-helper-upnp.c src/tools/tor-fw-helper/tor-fw-helper.c
| | * | | | | | | | | Correct reference to libiphlpapi from libiphlapiSteven Murdoch2011-08-22
| | | | | | | | | | |
| | * | | | | | | | | Appease "make check spaces"Steven Murdoch2011-08-22
| | | | | | | | | | |
| | * | | | | | | | | Only link ws2_32 and iphlapi on windows.Nick Mathewson2011-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a tweak for the tor-fw-helper port to windows.
| | * | | | | | | | | Link and build tor-fw-helper on WindowsSteven Murdoch2011-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update configure script to test for libminiupnpc along with the libws2_32 and libiphlpapi libraries required by libminiupnpc - When building tor-fw-helper, link in libiphlpapi - Link in libminiupnpc statically becasue I could not get the DLL to link properly - Call WSAStartup before doing network operations - Fix up a compiler warning about uninitialized backend_state N.B. The changes to configure.in and Makefile.am will break on non- Windows platforms.
| * | | | | | | | | | Merge remote branch 'origin/master' into bug2046Steven Murdoch2011-08-18
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Complete logging of output from port forwarding helperSteven Murdoch2011-08-18
| | | | | | | | | | | |
| * | | | | | | | | | | Test case for reading the partial output of a background processSteven Murdoch2011-07-25
| | | | | | | | | | | |
| * | | | | | | | | | | Fix compilation on non-Windows platformsSteven Murdoch2011-07-23
| | | | | | | | | | | |
| * | | | | | | | | | | If hProcess is NULL, read_all_handle returns if it would blockSteven Murdoch2011-07-23
| | | | | | | | | | | |
| * | | | | | | | | | | Use PeekNamedPipe to avoid blocking ReadFile when there is nothing to readSteven Murdoch2011-07-22
| | | | | | | | | | | |
| * | | | | | | | | | | Add code to read all from a handle, but this block foreverSteven Murdoch2011-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://stackoverflow.com/questions/3722409/windows-child-process-with-redirected-input-and-output for a potential solution
| * | | | | | | | | | | Add Windows version of tor_spawn_background and ancillary functionsSteven Murdoch2011-07-21
| | | | | | | | | | | |
| * | | | | | | | | | | Generalize process spawning so its test compiles (but fails) in WindowsSteven Murdoch2011-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - pid, stdout/stderr_pipe now encapsulated in process_handle - read_all replaced by tor_read_all_from_process_stdin/stderr - waitpid replaced by tor_get_exit_code Untested on *nix
| * | | | | | | | | | | Under Windows, call WSAStartup before using the networkSteven Murdoch2011-07-21
| | | | | | | | | | | |