| Commit message (Expand) | Author | Age |
... | |
* | | | Fix compile warnings on windows | Sebastian Hahn | 2011-11-15 |
|/ / |
|
* | | Fix a compile warning on OS X 10.6 and up | Sebastian Hahn | 2011-10-11 |
* | | Add a missing comma in tor_check_port_forwarding•••My fault; fix for bug 4213.
| Nick Mathewson | 2011-10-10 |
* | | Merge remote-tracking branch 'asn2/bug3656'•••Conflicts:
src/common/util.c
src/common/util.h
src/or/config.h
src/or/main.c
src/test/test_util.c
| Nick Mathewson | 2011-10-07 |
|\ \ |
|
| * | | Make it compile on Windows™. | George Kadianakis | 2011-10-07 |
| * | | Put some sense into our logging.•••Transform our logging severities to something more sensible.
Remove sneaky printf()s.
| George Kadianakis | 2011-09-12 |
| * | | Make check-spaces happy. | George Kadianakis | 2011-09-11 |
| * | | Enforce transport names being C identifiers.•••Introduce string_is_C_identifier() and use it to enforce transport
names according to the 180 spec.
| George Kadianakis | 2011-09-11 |
| * | | Introduce tor_terminate_process() function. | George Kadianakis | 2011-09-11 |
| * | | Improve the code a tad.•••* Use strcmpstart() instead of strcmp(x,y,strlen(y)).
* Warn the user if the managed proxy failed to launch.
* Improve function documentation.
* Use smartlist_len() instead of n_unconfigured_proxies.
* Split managed_proxy_destroy() to managed_proxy_destroy()
and managed_proxy_destroy_with_transports().
* Constification.
| George Kadianakis | 2011-08-15 |
| * | | Reuse get_string_from_pipe() in log_from_pipe(). | George Kadianakis | 2011-07-18 |
| * | | Replaced ST_* enum prefix for stream status with IO_STREAM_*. | George Kadianakis | 2011-07-18 |
| * | | Make some utility functions.•••* Create a function that will get input from a stream, so that we can
communicate with the managed proxy.
* Hackish change to tor_spawn_background() so that we can specify an
environ for our spawn.
| George Kadianakis | 2011-07-13 |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts:
configure.in
src/or/circuitbuild.c
| Nick Mathewson | 2011-09-09 |
|\ \ \
| | |/
| |/| |
|
| * | | Check for lround with autoconf; fall back to rint. | Nick Mathewson | 2011-08-30 |
* | | | Fix double-closing a stdio stream•••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.
| Steven Murdoch | 2011-09-01 |
* | | | Tweaks on last process-launch patches | Nick Mathewson | 2011-08-31 |
* | | | Make a version of tor_read_all_handle() for non-Windows platforms•••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.
| Steven Murdoch | 2011-09-01 |
* | | | Add a missing include to util.c to get waitpid() on Linux | Nick Mathewson | 2011-08-31 |
* | | | Rename tor_join_cmdline to tor_join_win_cmdline; tweak doxygen | Nick Mathewson | 2011-08-30 |
* | | | Merge remote-tracking branch 'sjmurdoch/bug2046' | Nick Mathewson | 2011-08-30 |
|\ \ \ |
|
| * | | | Document limitation of log_from_handle with partial reads | Steven Murdoch | 2011-08-30 |
| * | | | Factor out and re-write code for splitting lines from a handle•••Now handles non-printable characters and will not output a spurious
new-line if given a partial line.
| Steven Murdoch | 2011-08-30 |
| * | | | Refactor out command line formatting•••Now correctly handles whitespace, quotes and backslashes. Passes all unit tests.
| Steven Murdoch | 2011-08-29 |
| * | | | Add a sanity check | Steven Murdoch | 2011-08-29 |
| * | | | Replace two magic tristates with #define'd names•••- process_handle_t.status
- return value of tor_get_exit_code()
| Steven Murdoch | 2011-08-29 |
| * | | | Make signature of tor_spawn_background more conventional•••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.
| Steven Murdoch | 2011-08-28 |
| * | | | Appease "make check-spaces" | Steven Murdoch | 2011-08-24 |
| * | | | Improve comments and fix one bug | Steven Murdoch | 2011-08-24 |
| * | | | We don't need to find our own path, just tell Windows to search | Steven Murdoch | 2011-08-24 |
| * | | | Fix compilation errors under *nix | Steven Murdoch | 2011-08-23 |
| * | | | Tidy up subprocess code•••- Better error handling
- Write description of functions
- Don't assume non-negative process return values
| Steven Murdoch | 2011-08-22 |
| * | | | Fix some compiler warnings | Steven Murdoch | 2011-08-22 |
| * | | | Merge remote branch 'origin/master' into bug2046 | Steven Murdoch | 2011-08-18 |
| |\ \ \ |
|
| * | | | | Complete logging of output from port forwarding helper | Steven Murdoch | 2011-08-18 |
| * | | | | Test case for reading the partial output of a background process | Steven Murdoch | 2011-07-25 |
| * | | | | Fix compilation on non-Windows platforms | Steven Murdoch | 2011-07-23 |
| * | | | | If hProcess is NULL, read_all_handle returns if it would block | Steven Murdoch | 2011-07-23 |
| * | | | | Use PeekNamedPipe to avoid blocking ReadFile when there is nothing to read | Steven Murdoch | 2011-07-22 |
| * | | | | Add code to read all from a handle, but this block forever•••See http://stackoverflow.com/questions/3722409/windows-child-process-with-redirected-input-and-output
for a potential solution
| Steven Murdoch | 2011-07-22 |
| * | | | | Add Windows version of tor_spawn_background and ancillary functions | Steven Murdoch | 2011-07-21 |
| * | | | | Generalize process spawning so its test compiles (but fails) in Windows•••- 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
| Steven Murdoch | 2011-07-21 |
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-08-24 |
|\ \ \ \ \
| |_|/ / /
|/| | / /
| | |/ /
| |/| | |
|
| * | | | lround() missing in MSVC•••lround() is missing in MS Visual-C's <math.h>. Not available anywhere.
Here is an easy patch.
| Gisle Vanem | 2011-08-24 |
* | | | | Merge branch 'bug1692-squashed' | Nick Mathewson | 2011-08-10 |
|\ \ \ \ |
|
| * | | | | Add smartlist_[v]asprintf_add•••I should have added this before implementing #2411.
| Robert Ransom | 2011-08-10 |
* | | | | | Get rid of an unused parameter warning on win | Sebastian Hahn | 2011-08-09 |
|/ / / / |
|
* | | | | Initial patch to build Tor with msvc and nmake•••We'll still need to tweak it so that it looks for includes and
libraries somewhere more sensible than "where we happened to find
them on Erinn's system"; so that tests and tools get built too;
so that it's a bit documented; and so that we actually try running
the output.
Work done with Erinn Clark.
| Nick Mathewson | 2011-08-01 |
* | | | | Turn streq_opt into a generic strcmp_opt. | Nick Mathewson | 2011-07-19 |
* | | | | Implement stream isolation•••This is the meat of proposal 171: we change circuit_is_acceptable()
to require that the connection is compatible with every connection
that has been linked to the circuit; we update circuit_is_better to
prefer attaching streams to circuits in the way that decreases the
circuits' usefulness the least; and we update link_apconn_to_circ()
to do the appropriate bookkeeping.
| Nick Mathewson | 2011-07-19 |
| |/ /
|/| | |
|