aboutsummaryrefslogtreecommitdiff
path: root/src/or/ntmain.c
Commit message (Expand)AuthorAge
* Be more careful calling wcstombs•••The function is not guaranteed to NUL-terminate its output. It *is*, however, guaranteed not to generate more than two bytes per multibyte character (plus terminating nul), so the general approach I'm taking is to try to allocate enough space, AND to manually add a NUL at the end of each buffer just in case I screwed up the "enough space" thing. Fixes bug 5909. Nick Mathewson2012-06-07
* Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson2012-06-04
* Rename nonconformant identifiers.•••Fixes bug 4893. These changes are pure mechanical, and were generated with this perl script: /usr/bin/perl -w -i.bak -p s/crypto_pk_env_t/crypto_pk_t/g; s/crypto_dh_env_t/crypto_dh_t/g; s/crypto_cipher_env_t/crypto_cipher_t/g; s/crypto_digest_env_t/crypto_digest_t/g; s/aes_free_cipher/aes_cipher_free/g; s/crypto_free_cipher_env/crypto_cipher_free/g; s/crypto_free_digest_env/crypto_digest_free/g; s/crypto_free_pk_env/crypto_pk_free/g; s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g; s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g; s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g; s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g; s/crypto_new_cipher_env/crypto_cipher_new/g; s/crypto_new_digest_env/crypto_digest_new/g; s/crypto_new_digest256_env/crypto_digest256_new/g; s/crypto_new_pk_env/crypto_pk_new/g; s/crypto_create_crypto_env/crypto_cipher_new/g; s/connection_create_listener/connection_listener_new/g; s/smartlist_create/smartlist_new/g; s/transport_create/transport_new/g; Nick Mathewson2012-01-18
* Convert instances of tor_malloc+tor_snprintf into tor_asprintf•••These were found by looking for tor_snprintf() instances that were preceeded closely by tor_malloc(), though I probably converted some more snprintfs as well. (In every case, make sure that the length variable (if any) is removed, renamed, or lowered, so that anything else that might have assumed a longer buffer doesn't exist.) Nick Mathewson2012-01-16
* Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-11-21
|\
| * All NT service configuration commands should make the process exit.•••Fixes bug 3963; fix on 0.2.0.7-alpha. Nick Mathewson2011-09-08
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Trivial Conflicts in src/common/crypto.c src/or/main.h src/or/or.h Nick Mathewson2011-03-16
|\|
| * Doxygen documentation for about 100 things that didn't have any•••About 860 doxygen-less things remain in 0.2.2 Nick Mathewson2011-03-16
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\|
| * Merge remote branch 'sebastian/bug2314' into maint-0.2.2Nick Mathewson2011-01-03
| |\
| | * Fix compile wanrings revealed by gcc 4.5 on mingwSebastian Hahn2010-12-27
* | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\| |
| * | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2011-01-03
| |\ \ | | |/ | |/|
| | * Bump copyright statements to 2011Nick Mathewson2011-01-03
* | | Remove an XXX in ntmain.c: a simple function call per loop is not so expensive.Nick Mathewson2010-10-15
|/ /
* | Consistency issues in load_windows_system_library patch. Thanks SebastianNick Mathewson2010-09-24
* | Use load_windows_system_library in place of LoadLibraryNick Mathewson2010-09-21
* | Make the windows build succeed with or without -DUNICODE enabled.•••This should keep WinCE working (unicode always-on) and get Win98 working again (unicode never-on). There are two places where we explicitly use ASCII-only APIs, still: in ntmain.c and in the unit tests. This patch also fixes a bug in windoes tor_listdir that would cause the first file to be listed an arbitrary number of times that was also introduced with WinCE support. Should fix bug 1797. Nick Mathewson2010-08-20
* | Fix up compilation on windows.Nick Mathewson2010-08-19
* | Create ntmain.hSebastian Hahn2010-07-27
* | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\|
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Whitespace fixNick Mathewson2009-09-28
* | Fix some win32 compilation warningsNick Mathewson2009-09-28
|/
* Spell-check Tor.Nick Mathewson2009-05-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* r19092@catbus: nickm | 2008-03-27 12:43:29 -0400••• Stop supporting anything besides CMD_RUN_TOR in ntmain.c. Based on patch from Sebastian Hahn. svn:r14215 Nick Mathewson2008-03-27
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500••• Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484 Nick Mathewson2008-02-12
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17914@catbus: nickm | 2008-02-05 16:12:16 -0500••• Remove or downgrade some XXX020 items. svn:r13388 Nick Mathewson2008-02-05
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400••• Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761 Nick Mathewson2007-10-04
* r15005@catbus: nickm | 2007-09-10 09:49:03 -0400••• Undo brokenness from merge conflict. svn:r11414 Nick Mathewson2007-09-10
* svn:r11412Nick Mathewson2007-09-10
* Fix compilation of ntmain.c.•••svn:r11395 Nick Mathewson2007-09-06
* r14940@catbus: nickm | 2007-09-06 13:22:26 -0400••• Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed. svn:r11388 Nick Mathewson2007-09-06