aboutsummaryrefslogtreecommitdiff
path: root/src/util/program.c
AgeCommit message (Collapse)Author
2012-12-13- osx fixesharsha
git-svn-id: https://gnunet.org/svn/gnunet@25450 140774ce-b5e7-0310-ab8b-a85725594a96
2012-11-19Hardcode svn revision in compiled binariesLRN
git-svn-id: https://gnunet.org/svn/gnunet@25059 140774ce-b5e7-0310-ab8b-a85725594a96
2012-10-09-do not complain if ~/.gnunet/gnunet.conf does not exist, just use defaultsgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@24240 140774ce-b5e7-0310-ab8b-a85725594a96
2012-09-28- fixbartpolot
git-svn-id: https://gnunet.org/svn/gnunet@24102 140774ce-b5e7-0310-ab8b-a85725594a96
2012-09-28- Don't return error on -v, -hbartpolot
git-svn-id: https://gnunet.org/svn/gnunet@24100 140774ce-b5e7-0310-ab8b-a85725594a96
2012-09-28- Exit on -v, -hbartpolot
git-svn-id: https://gnunet.org/svn/gnunet@24099 140774ce-b5e7-0310-ab8b-a85725594a96
2012-06-22-fix #2122 and #2035grothoff
git-svn-id: https://gnunet.org/svn/gnunet@22215 140774ce-b5e7-0310-ab8b-a85725594a96
2012-06-10LRN: new utf8 argv converter for W32, converting strings on command-line to ↵grothoff
UTF-8 for all command-line tools. git-svn-id: https://gnunet.org/svn/gnunet@21867 140774ce-b5e7-0310-ab8b-a85725594a96
2012-05-30speedup mechanism to manipulate gnunet timewachs
git-svn-id: https://gnunet.org/svn/gnunet@21646 140774ce-b5e7-0310-ab8b-a85725594a96
2012-05-15-help seaspider some moregrothoff
git-svn-id: https://gnunet.org/svn/gnunet@21487 140774ce-b5e7-0310-ab8b-a85725594a96
2012-03-15- improve documentationwachs
git-svn-id: https://gnunet.org/svn/gnunet@20512 140774ce-b5e7-0310-ab8b-a85725594a96
2012-03-15- new program_run and run_2wachs
git-svn-id: https://gnunet.org/svn/gnunet@20508 140774ce-b5e7-0310-ab8b-a85725594a96
2011-11-04curly wars / auto-indentationgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@18000 140774ce-b5e7-0310-ab8b-a85725594a96
2011-10-11converting to GNUNET_LOG_from*grothoff
git-svn-id: https://gnunet.org/svn/gnunet@17362 140774ce-b5e7-0310-ab8b-a85725594a96
2011-10-05fixgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@17187 140774ce-b5e7-0310-ab8b-a85725594a96
2011-10-04LRN's big logging rewrite (#1805):grothoff
* GNUNET_BOTTOM_LOGLEVEL and GNUNET_TOP_LOGLEVEL set global levels Use bottom level to force logging to be more verbose than configured Use top level to force logging to be less verbose than configured Obviously, bottom <= top * GNUNET_LOG sets per-component levels GNUNET_LOG looks like this: name[/bottom[/top]]/... name starts with a non-digit character, must not include '/' bottom and top must consist only of digits, or be empty a description is only used if it matches the component exactly as a special exception (for now) the name '*' matches any component per-component loglevels override global loglevels global levels override whatever is given via arguments or in config Examples: test_client/8/8/ run test_client with DEBUG level (usually leads to a timeout, by the way) */2/2/core/8/8/transport/4/4 run everything with WARNING, core - with DEBUG, transport - with INFO *//1/peerinfo/4/ run everything with top loglevel ERROR, global/configured bottom loglevel, and peerinfo - with bottom loglevel INFO and global/configured top loglevel statistics/ does nothing * Added GNUNET_ERROR_TYPE_UNSPECIFIED enum value, to hold -1. Its corresponding string is NULL. * Changed the logger calls as Grothoff suggested - to use static int to hold the result of runtime evaluation of logability. Logging can be unconditionally disabled in advance by defining GNUNET_LOG_CALL_STATUS to 0, and enabled in advance by defining it to 1. * Added GNUNET_CULL_LOGGING, which, if defined, completely culls out all logging calls at compile time. * Log definition parsing is only done once, results are cached. * Changed definition format, now it looks like this: [component|*|];[file|*|];[function|*|];[from_line[-to_line]];level/[component...] All field separators are mandatory (but some fields could be empty or be '*'). Line definition must be either empty or "number" or "number-number" Level definition must not be empty, and is a string representation of the level (i.e. DEBUG, WARNING, INFO, etc). Definition entry must end with a slash, whether or not there's another entry after it. File name is matched to the end of __FILE__, which allows file name to match not only the base name, but also directories leading to it. * Removed default WARNING loglevel from program and service utility code. Now they default to NULL (UNSPECIFIED) level, which can be overriden by GNUNET_LOG definition, if no level is specified via config or commandline. Log levels from config or commandline are overriden by GNUNET_FORCE_LOG. If GNUNET_*LOG are undefined, and no levels came from config or commandline, logger internally defaults to WARNING level. Add --enable-logging configure option git-svn-id: https://gnunet.org/svn/gnunet@17162 140774ce-b5e7-0310-ab8b-a85725594a96
2011-09-18fixing #1781grothoff
git-svn-id: https://gnunet.org/svn/gnunet@16939 140774ce-b5e7-0310-ab8b-a85725594a96
2011-09-17fixgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@16918 140774ce-b5e7-0310-ab8b-a85725594a96
2011-09-14fixfixgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@16821 140774ce-b5e7-0310-ab8b-a85725594a96
2011-09-14fixing 1753grothoff
git-svn-id: https://gnunet.org/svn/gnunet@16820 140774ce-b5e7-0310-ab8b-a85725594a96
2011-08-15indentationgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@16583 140774ce-b5e7-0310-ab8b-a85725594a96
2011-08-15indentationgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@16581 140774ce-b5e7-0310-ab8b-a85725594a96
2011-07-28set clock offsetnevans
git-svn-id: https://gnunet.org/svn/gnunet@16256 140774ce-b5e7-0310-ab8b-a85725594a96
2011-07-25clockskew codenevans
git-svn-id: https://gnunet.org/svn/gnunet@16166 140774ce-b5e7-0310-ab8b-a85725594a96
2011-07-01testcase for nat test codegrothoff
git-svn-id: https://gnunet.org/svn/gnunet@15819 140774ce-b5e7-0310-ab8b-a85725594a96
2011-06-16resolver API changegrothoff
git-svn-id: https://gnunet.org/svn/gnunet@15647 140774ce-b5e7-0310-ab8b-a85725594a96
2010-11-05big scheduler refactoring, expect some issuesnevans
git-svn-id: https://gnunet.org/svn/gnunet@13565 140774ce-b5e7-0310-ab8b-a85725594a96
2010-08-15leakgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@12557 140774ce-b5e7-0310-ab8b-a85725594a96
2010-06-25cleaning argz messgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@11952 140774ce-b5e7-0310-ab8b-a85725594a96
2010-06-13pass only unsigned char to isspace and the likegrothoff
git-svn-id: https://gnunet.org/svn/gnunet@11720 140774ce-b5e7-0310-ab8b-a85725594a96
2010-03-15fixgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@10598 140774ce-b5e7-0310-ab8b-a85725594a96
2010-03-10allow -l for daemonsgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@10538 140774ce-b5e7-0310-ab8b-a85725594a96
2009-11-16fixgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@9562 140774ce-b5e7-0310-ab8b-a85725594a96
2009-11-16moregrothoff
git-svn-id: https://gnunet.org/svn/gnunet@9561 140774ce-b5e7-0310-ab8b-a85725594a96
2009-11-16bugfixgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@9543 140774ce-b5e7-0310-ab8b-a85725594a96
2009-11-01fixing bio testcase and a bug in bio.c, also indentinggrothoff
git-svn-id: https://gnunet.org/svn/gnunet@9379 140774ce-b5e7-0310-ab8b-a85725594a96
2009-09-22documentation cleanupgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@9013 140774ce-b5e7-0310-ab8b-a85725594a96
2009-07-26const-ing of config-handlesgrothoff
git-svn-id: https://gnunet.org/svn/gnunet@8791 140774ce-b5e7-0310-ab8b-a85725594a96
2009-05-29nggrothoff
git-svn-id: https://gnunet.org/svn/gnunet@8472 140774ce-b5e7-0310-ab8b-a85725594a96