aboutsummaryrefslogtreecommitdiff
path: root/src/ext
AgeCommit message (Collapse)Author
2013-08-02Prepare patch for ticket 5129 for merging.Peter Retzlaff
- Preserve old eventdns code. - Add function to close sockets cross-platform, without accounting. - Add changes/ file.
2013-03-18Remove an unused local variable.Nick Mathewson
2013-03-18Check return values from fcntl and setsockoptNick Mathewson
(Based on a patch from flupzor; bug #8206)
2013-02-14Use torint.h in curve25519-donna*.cNick Mathewson
This will get it building on systems that lack stdint.h
2013-02-04Whoops: evdns_log, not tor_log, in src/ext/eventdns.cNick Mathewson
2013-02-01Rename log() to tor_log() for loggingNick Mathewson
This is meant to avoid conflict with the built-in log() function in math.h. It resolves ticket 7599. First reported by dhill. This was generated with the following perl script: #!/usr/bin/perl -w -i -p s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g; s/\blog\(/tor_log\(/g;
2013-01-30Rename all of the macros in tor_queue.h to start with TOR_Nick Mathewson
2013-01-16Update the copyright date to 201.Nick Mathewson
2013-01-11Handle EWOULDBLOCK as EAGAIN if they happen to be different.Nick Mathewson
Fixes bug 7935. Reported by 'oftc_must_be_destroyed'.
2013-01-03Update our copy of curve25519-donna-c64.Nick Mathewson
This now matches upstream at version 59a896970a1ad0a6cd7d0. (Adam took my patches.)
2013-01-03Use always_inline only with inline; otherwise GCC gripesNick Mathewson
2013-01-02curve25519-donna-c64: make endian-neutralness fns staticNick Mathewson
2013-01-02curve25519-donna-c64: work on bigendian and alignment-happy systemsNick Mathewson
There was one place in curve25519-donna-c64 that was relying on unaligned access and relying on little-endian values. This patch fixes that. I've sent Adam a pull request.
2013-01-02Make curve25519-donna work with our compiler warnings.Nick Mathewson
2013-01-02Add fallback implementations for curve25519: curve25519_donnaNick Mathewson
This is copied from Adam Langley's curve25519-donna package, as of commit 09427c9cab32075c06c3487aa01628030e1c5ae7.
2012-11-03Add an SLIST_ENTRY definition back on non-win32Nick Mathewson
Otherwise we break openbsd headers. Fixes bug 7293; bug not on any released Tor.
2012-11-01Rename SLIST_ENTRY to TOR_SLIST_ENTRY to fix windows compilationNick Mathewson
Apparently winnt.h defines a different SLIST_ENTRY of its own. Bug not in any version of Tor.
2012-10-30Add a copy of the queue(3) manpage to the git repository.Nick Mathewson
See 7105
2012-10-30Merge branch 'bsd_queue' of ssh://git-rw.torproject.org/nickm/torAndrea Shepard
2012-10-15Fix a reserved identifier that my scripts missedNick Mathewson
My scripts missed it because it was in eventdns.c, which was in ext, but it _was_ using one of our identifiers. That's probably because eventdns.c has drifted a bit since we forked it. I'm not going to fix the other reserved identifiers in eventdns.c, since that would make it drift even more.
2012-10-15Merge remote-tracking branch 'public/bug1031'Nick Mathewson
2012-10-12typo in src/ext/README; caught by rransom (thanks!)Nick Mathewson
2012-10-12Add a copy of OpenBSD's sys/queue.h as tor_queue.hNick Mathewson
There are as many divergent implementations of sys/queue.h as there are operating systems shipping it, it would seem. They have some code in common, but have drifted apart, and have added other stuff named differently. So I'm taking a relatively sane one, and hoping for the best. I'm taking OpenBSD's in particular because of the lack of external dependencies, the presence of a CIRCLEQ (we could use one of those in places), and the liberal licensing terms. I'm naming the file tor_queue.h, since historically we've run into trouble having headers with the same names as system headers (log.h, for example.)
2012-10-12Move strlcpy and strlcat into src/ext tooNick Mathewson
2012-10-12Distribute src/ext/README.Nick Mathewson
2012-10-12Add a README file for the src/ext directory.Nick Mathewson
2012-10-12Clean up reserved identifier usage in src/ext include guardsNick Mathewson
2012-10-11Move all externally maintained source files into src/extNick Mathewson
The rationale for treating these files differently is that we should be checking upstream for changes as applicable, and merging changes upstream as warranted.