Changeset 8fa8d0c
- Timestamp:
- Jun 26, 2011, 12:40:52 AM (14 years ago)
- Parents:
- bad4496 (diff), af562f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/ax_check_flag.m4
rf2a96c0 raf562f5 81 81 CPPFLAGS="$CPPFLAGS $4 $1" 82 82 AC_PREPROC_IFELSE([AC_LANG_PROGRAM()], 83 [AS_VAR_SET( [CACHEVAR],[yes])],84 [AS_VAR_SET( [CACHEVAR],[no])])83 [AS_VAR_SET(CACHEVAR,[yes])], 84 [AS_VAR_SET(CACHEVAR,[no])]) 85 85 CPPFLAGS=$ax_check_save_flags]) 86 AS_ VAR_IF([CACHEVAR], "yes",86 AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], 87 87 [m4_default([$2], :)], 88 88 [m4_default([$3], :)]) … … 97 97 _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" 98 98 AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], 99 [AS_VAR_SET( [CACHEVAR],[yes])],100 [AS_VAR_SET( [CACHEVAR],[no])])99 [AS_VAR_SET(CACHEVAR,[yes])], 100 [AS_VAR_SET(CACHEVAR,[no])]) 101 101 _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) 102 AS_ VAR_IF([CACHEVAR], "yes",102 AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], 103 103 [m4_default([$2], :)], 104 104 [m4_default([$3], :)]) … … 112 112 LDFLAGS="$LDFLAGS $4 $1" 113 113 AC_LINK_IFELSE([AC_LANG_PROGRAM()], 114 [AS_VAR_SET( [CACHEVAR],[yes])],115 [AS_VAR_SET( [CACHEVAR],[no])])114 [AS_VAR_SET(CACHEVAR,[yes])], 115 [AS_VAR_SET(CACHEVAR,[no])]) 116 116 LDFLAGS=$ax_check_save_flags]) 117 AS_ VAR_IF([CACHEVAR], "yes",117 AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], 118 118 [m4_default([$2], :)], 119 119 [m4_default([$3], :)]) … … 124 124 AC_DEFUN([AX_APPEND_FLAG], 125 125 [AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX 126 AC_REQUIRE([AC_PROG_GREP]) 127 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[]FLAGS)])dnl 128 AS_VAR_SET_IF([FLAGS], 129 [AS_IF([AS_ECHO(" $[]FLAGS ") | $GREP " $1 " 2>&1 >/dev/null], 130 [AC_RUN_LOG([: FLAGS already contains $1])], 131 [AC_RUN_LOG([: FLAGS="$FLAGS $1"]) 132 AS_VAR_APPEND([FLAGS], [" $1"])])], 133 [AS_VAR_SET([FLAGS],[$1])]) 126 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])dnl 127 AS_VAR_SET_IF(FLAGS, 128 [case " AS_VAR_GET(FLAGS) " in 129 *" $1 "*) 130 AC_RUN_LOG([: FLAGS already contains $1]) 131 ;; 132 *) 133 AC_RUN_LOG([: FLAGS="$FLAGS $1"]) 134 AS_VAR_SET(FLAGS, ["AS_VAR_GET(FLAGS) $1"]) 135 ;; 136 esac], 137 [AS_VAR_SET(FLAGS,["$1"])]) 134 138 AS_VAR_POPDEF([FLAGS])dnl 135 139 ])dnl AX_APPEND_FLAG -
doc/barnowl.1
rfa1b15b rbad4496 1 .TH barnowl 1 "23 Jun 2008"1 .TH BARNOWL 1 "24 Jun 2011" 2 2 .SH NAME 3 barnowl \- ttybased zephyr client3 BarnOwl \- tty\(hybased zephyr client 4 4 .SH SYNOPSIS 5 5 .B barnowl 6 [ \-n 7 ] 8 [ \-d 9 ] 10 [ \-D 11 ] 12 [ \-v 13 ] 14 [ \-h 15 ] 16 [ \-c 17 .I configfile 18 ] 19 [ \-t 20 .I tty 21 ] 22 [ \-s 23 .I configdir 24 ] 6 [\-n] 7 [\-d] 8 [\-D] 9 [\-v] 10 [\-h] 11 [\-c \fICONFIGFILE\fP] 12 [\-t \fITTY\fP] 13 [\-s \fICONFIGDIR\fP] 25 14 .br 26 15 .SH DESCRIPTION 27 16 .B BarnOwl 28 is a fully integrated tty 29 it supports AOL Instant Messenger, MIT Zephyr, and Jabber. It is30 curses -based, allows for emacs-style editing of outgoing messagesand31 uses perl as an extension and configuration language. BarnOwlwill17 is a fully integrated tty\(hybased instant messaging client. Currently 18 it supports AOL Instant Messenger, MIT Zephyr, Jabber, IRC, and Twitter. It is 19 curses\(hybased, allows for emacs\(hystyle editing of outgoing messages, and 20 uses Perl as an extension and configuration language. \fBBarnOwl\fP will 32 21 also run happily without a configuration file. 33 22 34 Once BarnOwl is started, typing 'h'will display a help screen.35 Typing \ ':\' enters command mode, allowing the user to type a barnowl23 Once \fBBarnOwl\fP is started, typing \(oqh\(cq will display a help screen. 24 Typing \(oq:\(cq enters command mode, allowing the user to type a \fBBarnOwl\fP 36 25 command line. 37 26 38 .PP 39 .SH USE 40 The following command line options are avilable when running barnowl: 27 .SH OPTIONS 28 The following command\-line options are avilable when running \fBBarnOwl\fP: 29 .TP 30 \fB\-n\fP, \fB\-\-no\-subs\fP 31 Do not subscribe to zephyr messages on startup. By default, \fBBarnOwl\fP 32 subscribes to the default subscriptions and to anything found in 33 \fI~/.zephyr.subs\fP. When this option is used, no subscriptions are loaded. 41 34 42 .B \-n 43 .IP 44 Do not subscribe to zephyr messages on startup. By default BarnOwl 45 subscribes to the default subscriptions and to anything found in 46 ~/.zephyr.subs. When this option is used no subscriptions are loaded. 47 .LP 35 .TP 36 \fB\-c\fP, \fB\-\-config\-file\fP=\fIFILE\fP 37 Specify an alternate config file for \fBBarnOwl\fP to use. By default, 38 \fBBarnOwl\fP uses \fI~/.barnowlconf\fP if it exists, and \fI~/.owlconf\fP otherwise. 48 39 49 .B \-c \fIconfigfile\fP 50 .IP 51 Specifiy an alternate config file for BarnOwl to use. By default, 52 barnowl uses ~/.barnowlconf if it exists, and ~/.owlconf otherwise. 53 .LP 40 .TP 41 \fB\-s\fP, \fB\-\-config\-dir\fP=\fIDIR\fP 42 Specify an alternate configuration directory. By default, \fBBarnOwl\fP uses 43 \fI~/.owl/\fP. 54 44 55 .B \-s \fIconfigdir\fP 56 .IP 57 Specify an alternate configuration directory. By default, BarnOwl uses 58 ~/.owl/. 59 .LP 45 .TP 46 \fB\-t\fP, \fB\-\-tty\fP=\fITTY\fP 47 Specify the tty name to use for the zephyr location. 60 48 61 .B \-t \fItty\fP 62 .IP 63 Specifiy the tty name to use for the zephyr location. 64 .LP 49 .TP 50 \fB\-v\fP, \fB\-\-version\fP 51 Print the version number of \fBBarnOwl\fP and exit. 65 52 66 . B \-v67 .IP68 Print the version number of barnowl and exit. 69 .LP 53 .TP 54 \fB\-d\fP, \fB\-\-debug\fP 55 Enable debugging. By default, debugging information is placed in 56 \fI/var/tmp/barnowl\-debug.PID\fP. 70 57 71 .B \-d 72 .IP 73 Enable debugging. By default debugging information is placed in 74 /var/tmp/owldebug. 75 .LP 58 .TP 59 \fB\-h\fP, \fB\-\-help\fP 60 Print command\(hyline option help. 76 61 77 .B \-D 78 .IP 79 Enable debugging, but first delete any existing debugging file. 80 .LP 81 82 .B \-h 83 .IP 84 Print command line option help. 85 .LP 86 87 .SH AUTHOR 62 .SH AUTHORS 88 63 Written by Nelson Elhage and Alejandro Sedeno at the Massachusetts 89 Institute of Technology. Based on Owl by James Kretchmar.64 Institute of Technology. Based on Owl by James Kretchmar. 90 65 91 66 Comments, questions, and bug reports may be mailed to 92 \fBbug -barnowl@mit.edu\fP.67 \fBbug\-barnowl@mit.edu\fP. -
functions.c
rce68f23 rb8a3e00 127 127 128 128 text="" 129 " barnowl version " OWL_VERSION_STRING "\n"129 "BarnOwl version " OWL_VERSION_STRING "\n" 130 130 "Copyright (c) 2006-2011 The BarnOwl Developers. All rights reserved.\n" 131 131 "Copyright (c) 2004 James Kretchmar. All rights reserved.\n" … … 1305 1305 { 1306 1306 owl_function_popless_text( 1307 "This is barnowl version " OWL_VERSION_STRING ".\n\n"1308 " barnowl is a fork of the Owl zephyr client, written and\n"1307 "This is BarnOwl version " OWL_VERSION_STRING ".\n\n" 1308 "BarnOwl is a fork of the Owl zephyr client, written and\n" 1309 1309 "maintained by Alejandro Sedeno and Nelson Elhage at the\n" 1310 1310 "Massachusetts Institute of Technology. \n" … … 1315 1315 "The name 'owl' was chosen in reference to the owls in the\n" 1316 1316 "Harry Potter novels, who are tasked with carrying messages\n" 1317 "between Witches and Wizards. The name ' barnowl' was chosen\n"1317 "between Witches and Wizards. The name 'BarnOwl' was chosen\n" 1318 1318 "because we feel our owls should live closer to our ponies.\n" 1319 1319 "\n" -
owl.c
r2244836 rb8a3e00 89 89 break; 90 90 case 'v': 91 printf("This is barnowl version %s\n", OWL_VERSION_STRING);91 printf("This is BarnOwl version %s\n", OWL_VERSION_STRING); 92 92 exit(0); 93 93 case 'h': … … 584 584 owl_function_adminmsg("", 585 585 "-----------------------------------------------------------------------\n" 586 "Welcome to barnowl version " OWL_VERSION_STRING ".\n"586 "Welcome to BarnOwl version " OWL_VERSION_STRING ".\n" 587 587 "To see a quick introduction, type ':show quickstart'. \n" 588 588 "Press 'h' for on-line help. \n" -
owl_perl.h
r06adc25 rb8a3e00 13 13 * * args - a code block responsible for pushing args (other than the object) 14 14 * * err - a string with a %s format specifier to log in case of error 15 * * fatalp - if true, perl errors terminate barnowl15 * * fatalp - if true, perl errors terminate BarnOwl 16 16 * * ret - a code block executed if the call succeeded 17 17 * -
perl/lib/BarnOwl.pm
rbcde7926 rb8a3e00 52 52 The BarnOwl module contains the core of BarnOwl's perl 53 53 bindings. Source in this module is also run at startup to bootstrap 54 barnowl by defining things like the default style.54 BarnOwl by defining things like the default style. 55 55 56 56 =for NOTE … … 80 80 =head2 zephyr_getrealm 81 81 82 Returns the zephyr realm barnowl is running in82 Returns the zephyr realm BarnOwl is running in 83 83 84 84 =head2 zephyr_getsender 85 85 86 Returns the fully-qualified name of the zephyr sender barnowl is86 Returns the fully-qualified name of the zephyr sender BarnOwl is 87 87 running as, e.g. C<nelhage@ATHENA.MIT.EDU> 88 88 … … 239 239 =head2 create_style NAME OBJECT 240 240 241 Creates a new barnowl style with the given NAME defined by the given241 Creates a new BarnOwl style with the given NAME defined by the given 242 242 object. The object must have a C<description> method which returns a 243 243 string description of the style, and a and C<format_message> method -
perl/lib/BarnOwl/Hooks.pm
r3aa0522 rb8a3e00 146 146 } 147 147 148 # These are the internal hooks called by the barnowl C code, which148 # These are the internal hooks called by the BarnOwl C code, which 149 149 # take care of dispatching to the appropriate perl hooks, and deal 150 150 # with compatibility by calling the old, fixed-name hooks. -
perl/lib/Module/Install/BarnOwl.pm
r3519d06 rb8a3e00 8 8 =head1 DESCRIPTION 9 9 10 Module::Install::BarnOwl is a M::I module to help building barnowl10 Module::Install::BarnOwl is a M::I module to help building BarnOwl 11 11 modules, 12 12 … … 28 28 29 29 As well as make rules to generate Jabber.par, and to put some 30 additional barnowl-specific information into META.yml30 additional BarnOwl-specific information into META.yml 31 31 32 32 =cut -
perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
r5c6d661 rb8a3e00 10 10 =head1 DESCRIPTION 11 11 12 This module implements IRC support for barnowl.12 This module implements IRC support for BarnOwl. 13 13 14 14 =cut -
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
rc8d9f84 rb8a3e00 10 10 =head1 DESCRIPTION 11 11 12 This module implements Jabber support for barnowl.12 This module implements Jabber support for BarnOwl. 13 13 14 14 =cut … … 36 36 if($IO::Socket::SSL::VERSION eq "0.97") { 37 37 BarnOwl::error("You are using IO::Socket:SSL 0.97, which \n" . 38 "contains bugs causing it not to work with barnowl's\n" .38 "contains bugs causing it not to work with BarnOwl's\n" . 39 39 "Jabber support. We recommend updating to the latest\n" . 40 40 "IO::Socket::SSL from CPAN. \n"); -
perl/modules/Jabber/lib/BarnOwl/Module/Jabber/ConnectionManager.pm
r2cca044 rb8a3e00 8 8 =head1 DESCRIPTION 9 9 10 A class to keep track of all the active connection in the barnowl11 jabber module10 A class to keep track of all the active connection in the BarnOwl 11 Jabber module 12 12 13 13 =cut -
perl/modules/Twitter/README
r8c6e2c1 rb8a3e00 118 118 the sender. Has no effect if poll_for_tweets is false. 119 119 120 * oauth_key, oauth_secret (strings, default barnowl's consumer credentials)120 * oauth_key, oauth_secret (strings, default BarnOwl's consumer credentials) 121 121 These are the OAuth consumer key and secret to use to negotiate an 122 122 OAuth connection to Twitter. These credentials must be enabled for -
perl/modules/Twitter/lib/BarnOwl/Module/Twitter.pm
rf6e1262 rb8a3e00 193 193 194 194 sub poll_messages { 195 # If we are reloaded into a barnowl with the old195 # If we are reloaded into a BarnOwl with the old 196 196 # BarnOwl::Module::Twitter loaded, it still has a main loop hook 197 197 # that will call this function every second. If we just delete it, -
scripts/do-release
r74312ad rb8a3e00 9 9 cat >&2 <<EOF 10 10 Usage: $0 [options] 11 Generate a barnowl release tarball.11 Generate a BarnOwl release tarball. 12 12 13 13 OPTIONS: … … 37 37 else 38 38 VERS=$(perl -ne 'print $1 if m{^AC_INIT\(\[[^\]]+\],\s*\[([^\]]+)\]}' configure.ac) \ 39 || die "Unable to parse barnowl version"39 || die "Unable to parse BarnOwl version" 40 40 fi 41 41 TAG=barnowl-$VERS -
util.c
r3cdd6d2 rb8a3e00 221 221 /* 222 222 * Appends 'tmpl' to 'buf', replacing any instances of '%q' with arguments from 223 * the varargs provided, quoting them to be safe for placing in a barnowl223 * the varargs provided, quoting them to be safe for placing in a BarnOwl 224 224 * command line. 225 225 */
Note: See TracChangeset
for help on using the changeset viewer.