aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
Commit message (Expand)AuthorAge
...
* make it compile•••svn:r923 Roger Dingledine2003-12-14
* extend smartlist with _remove() and _subtract()•••svn:r922 Roger Dingledine2003-12-14
* remove obsolete code•••svn:r914 Roger Dingledine2003-12-14
* extend smartlist with a few smarter operations•••svn:r910 Roger Dingledine2003-12-13
* minor tweaks to the smartlist operations•••svn:r903 Roger Dingledine2003-12-13
* add a 'smartlist' building block that picks random elements from a list•••svn:r897 Roger Dingledine2003-12-13
* Make router/directory parsing nondestructive and more const-friendly•••svn:r890 Nick Mathewson2003-12-08
* Fix incorrect error message•••svn:r862 Nick Mathewson2003-11-21
* add a tor_malloc_zero wrapper: tor_malloc and memset 0•••svn:r836 Roger Dingledine2003-11-18
* fix trivial typo•••svn:r808 Roger Dingledine2003-11-13
* break out the string manipulation routines•••svn:r804 Roger Dingledine2003-11-12
* Check in a working cross-platform timegm•••svn:r779 Nick Mathewson2003-11-10
* bugfix for win32 with lots of users•••plus general cleanup on switch_id() svn:r684 Roger Dingledine2003-10-27
* Use daemon(3) function where available.•••svn:r665 Nick Mathewson2003-10-23
* switch_id() no longer tries to log the user name when it's calld on•••Windows, since we don't know whether it's the user or the group that was set. svn:r659 Steven Hazel2003-10-22
* - fixed a bug in the id switching code -- setgid has to happen before••• setuid, because after we setuid we don't have the priviledges we need to setgid anymore, duh. merged switch_user() and switch_group() into switch_id(), since that code has to be wound together. - return -1 from switch_id() if it's not defined to do anything else. - moved daemoinize(), write_pidfile(), and switch_id() from main.c to util.c svn:r656 Steven Hazel2003-10-22
* include our own timegm() impl, since it's not portable•••svn:r635 Roger Dingledine2003-10-20
* we've been stomping on memory while reading config•••doesn't seem to have bitten us yet, but let's fix that :) svn:r619 Roger Dingledine2003-10-18
* rewrite close_logs so it could possibly work•••remove deadbeef memory-clobber testing (for now) svn:r616 Roger Dingledine2003-10-18
* Build without warnings on OS X.•••svn:r595 Nick Mathewson2003-10-15
* Add tor_realloc to mirror tor_malloc•••svn:r582 Nick Mathewson2003-10-14
* change WARNING to WARN•••svn:r570 Roger Dingledine2003-10-10
* some early bugfixes•••our log() conflicts with log(3) distribute only the correct files from doc/ and src/config/ sometimes laptops go back in time. i guess that's ok for now. and bump the version number because we're live. svn:r544 Roger Dingledine2003-10-07
* wrap strdup; prefer time() to gettimeofday()•••svn:r538 Roger Dingledine2003-10-04
* clean some includes•••svn:r535 Roger Dingledine2003-10-04
* Make testcases run again; more sanity checking to descriptor generation.•••svn:r532 Nick Mathewson2003-10-01
* bugfixes and features: closer to making dirserv work•••fix a variety of seg faults don't try to list OPs in running-routers write cached-directory to disk when rebuilding the dir on boot, dirservers load approved-routers file on boot, dirservers load cached directory file svn:r508 Roger Dingledine2003-09-29
* more cleanup and rearranging•••still not finished integrating new dirserv stuff svn:r507 Roger Dingledine2003-09-29
* shift read_file_to_str() into util.c•••svn:r504 Roger Dingledine2003-09-28
* finish enforcing the log convention•••svn:r494 Roger Dingledine2003-09-26
* make writing descs work•••svn:r492 Roger Dingledine2003-09-26
* Refactor common file code into util.c; add published to descriptors•••svn:r487 Nick Mathewson2003-09-26
* fix the cpuworker circ-had-vanished bug (maybe)•••still several (many) tls-related bugs outstanding. svn:r454 Roger Dingledine2003-09-14
* implemented cpuworkers•••please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402 Roger Dingledine2003-08-20
* Tor now builds on win32.•••svn:r400 Nick Mathewson2003-08-14
* Attempt to make sockets code work right on windows.•••svn:r398 Nick Mathewson2003-08-14
* Make windows happier still•••svn:r392 Nick Mathewson2003-08-12
* Stop trying to #include the world in util.c•••svn:r390 Nick Mathewson2003-08-12
* Adopt socketpair implementation from perl. For now, always use it.•••svn:r389 Nick Mathewson2003-08-12
* Add abstraction for fork vs thread.•••svn:r387 Nick Mathewson2003-08-12
* Start of port to win32. Missing are:••• - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380 Nick Mathewson2003-08-12
* fix typos, streamline•••svn:r337 Roger Dingledine2003-06-18
* Change many files to new log_fn format•••svn:r333 Nick Mathewson2003-06-17
* replace malloc with tor_malloc; remove broken/unused crypto_pk_set_key•••svn:r292 Roger Dingledine2003-05-20
* Apply algebra; remove a condition•••svn:r246 Nick Mathewson2003-04-17
* tv_udiff: do not modify arguments, and compute results correctly.•••svn:r245 Nick Mathewson2003-04-17
* more cleanup•••svn:r242 Roger Dingledine2003-04-16
* Factor out timeval-related functions.•••svn:r237 Nick Mathewson2003-04-16