Changeset 1dafc7e
- Timestamp:
- Jan 13, 2013, 9:09:20 AM (12 years ago)
- Parents:
- c068c03 (diff), 007081e (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:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r06470d7 r007081e 871 871 void owl_function_loadsubs(const char *file) 872 872 { 873 int ret, ret2; 874 const char *foo; 873 int ret, ret2, ret3; 875 874 char *path; 876 875 … … 884 883 885 884 /* for backwards compatibility for now */ 886 ret2=owl_zephyr_loaddefaultsubs(); 885 ret2 = owl_zephyr_loaddefaultsubs(); 886 ret3 = owl_zephyr_loadbarnowldefaultsubs(); 887 887 888 888 if (!owl_context_is_interactive(owl_global_get_context(&g))) return; 889 889 890 foo=file?file:"file"; 891 if (ret==0 && ret2==0) { 890 if (ret == 0 && ret2 == 0 && ret3 == 0) { 892 891 if (!file) { 893 892 owl_function_makemsg("Subscribed to messages."); … … 895 894 owl_function_makemsg("Subscribed to messages from %s", file); 896 895 } 897 } else if (ret ==-1) {898 owl_function_error("Could not read %s", f oo);899 } else {896 } else if (ret == -1) { 897 owl_function_error("Could not read %s", file ? file : "file"); 898 } else if (ret2 == -1) { 900 899 owl_function_error("Error subscribing to messages"); 900 } else { 901 owl_function_error("Error subscribing to instanced personals"); 901 902 } 902 903 } -
aim.c
rf271129 r8258ea5 707 707 { 708 708 aim_clientready(sess, fr->conn); 709 owl_function_debugmsg("conninitdone_admin: initializ tion done for admin connection");709 owl_function_debugmsg("conninitdone_admin: initialization done for admin connection"); 710 710 return(1); 711 711 } … … 836 836 params = va_arg(ap, struct aim_icbmparameters *); 837 837 va_end(ap); 838 839 owl_function_debugmsg("faimtest_icbmparaminfo: ICBM Parameters: maxchannel = %d, default flags = 0x%08x, max msg len = %d, max sender evil = %f, max rec iever evil = %f, min msg interval = %u",838 839 owl_function_debugmsg("faimtest_icbmparaminfo: ICBM Parameters: maxchannel = %d, default flags = 0x%08x, max msg len = %d, max sender evil = %f, max receiver evil = %f, min msg interval = %u", 840 840 params->maxchan, params->flags, params->maxmsglen, ((float)params->maxsenderwarn)/10.0, ((float)params->maxrecverwarn)/10.0, params->minmsginterval); 841 841 -
commands.c
r39a531d r8258ea5 1033 1033 OWLCMD_ARGS_CTX("popless:start-search", owl_viewwin_command_start_search, OWL_CTX_POPLESS, 1034 1034 "starts a command line to search for particular string", 1035 "popless:start-search [-r] [init al-value]",1035 "popless:start-search [-r] [initial-value]", 1036 1036 "Initializes the command-line to search for initial-value. If\n" 1037 1037 "-r is used, the search will be performed backwards.\n\n" … … 2190 2190 if (!strcmp(argv[0], "-f")) { 2191 2191 if (argc<2) { 2192 owl_function_makemsg("Too few arg ments to the view command");2192 owl_function_makemsg("Too few arguments to the view command"); 2193 2193 return(NULL); 2194 2194 } … … 2202 2202 } else if (!strcmp(argv[0], "-s")) { 2203 2203 if (argc<2) { 2204 owl_function_makemsg("Too few arg ments to the view command");2204 owl_function_makemsg("Too few arguments to the view command"); 2205 2205 return(NULL); 2206 2206 } … … 2209 2209 argv+=2; 2210 2210 } else { 2211 owl_function_makemsg("Too few arg ments to the view command");2211 owl_function_makemsg("Too few arguments to the view command"); 2212 2212 return(NULL); 2213 2213 } -
editwin.c
r7803326 r8258ea5 619 619 620 620 if (!g_utf8_validate(s, -1, NULL)) { 621 owl_function_debugmsg("owl_editwin_insert_string: received non- utf-8 string.");621 owl_function_debugmsg("owl_editwin_insert_string: received non-UTF-8 string."); 622 622 return 0; 623 623 } -
filter.c
r30781f6 rc068c03 124 124 125 125 op1 = owl_filter_parse_primitive_expression(argc-i, argv+i, &skip); 126 if(!op1) goto err; 126 127 i += skip; 127 if(!op1) goto err;128 128 129 129 while(i < argc) { -
help.c
rd6b8b50 r8258ea5 107 107 " unsuball Unsubscribe from all zephyr classes\n" 108 108 " load-subs Load zephyr subscriptions from a file\n" 109 " zpunt Sup ress messages from a zephyr triplet\n"109 " zpunt Suppress messages from a zephyr triplet\n" 110 110 " zlog Send a login or logout notification\n" 111 111 " zlist Print a list of zephyr buddies logged in\n" -
perl/lib/BarnOwl.pm
rb303ba2 r374089a 93 93 command line, and C<MESSAGE> is the zephyr body to send. 94 94 95 =cut 96 97 sub zephyr_zwrite { 98 my ($command, $message) = @_; 99 my $ret = BarnOwl::Internal::zephyr_zwrite($command, $message); 100 die "Error sending zephyr" unless $ret == 0; 101 } 102 95 103 =head2 ztext_stylestrip STRING 96 104 -
perl/lib/BarnOwl/Complete/Client.pm
rd973a73 r4626016 20 20 21 21 my %show = ( 22 information => undef,23 22 colors => undef, 24 23 commands => undef, -
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r678f607 r8258ea5 320 320 . "configure [<muc>]\n" 321 321 . " Configures a MUC.\n" 322 . " Necessary to init alize a new MUC.\n"322 . " Necessary to initialize a new MUC.\n" 323 323 . " At present, only the default configuration is supported.\n" 324 324 . " The MUC is taken from the current message if not supplied.\n\n" -
perlglue.xs
rb303ba2 r374089a 96 96 RETVAL 97 97 98 void99 zephyr_zwrite(cmd,msg)100 const char *cmd101 const char *msg102 PREINIT:103 int i;104 CODE:105 i = owl_zwrite_create_and_send_from_line(cmd, msg);106 107 98 const utf8 * 108 99 ztext_stylestrip(ztext) … … 475 466 } 476 467 468 int 469 zephyr_zwrite(cmd,msg) 470 const char *cmd 471 const char *msg 472 CODE: 473 RETVAL = owl_zwrite_create_and_send_from_line(cmd, msg); 474 OUTPUT: 475 RETVAL 476 477 477 MODULE = BarnOwl PACKAGE = BarnOwl::Editwin 478 478 -
variable.c
rd126a19 r8258ea5 354 354 OWLVAR_BOOL( "narrow-related" /* %OwlVarStub:narrow_related */, 1, 355 355 "Make smartnarrow use broader filters", 356 "Causes smartfil er to narrow to messages \"related\" to \n"356 "Causes smartfilter to narrow to messages \"related\" to \n" 357 357 "the current message, as well as ones to the same place.\n\n" 358 358 "for Zephyr, this controls whether to narrow to e.g. class-help or\n" -
zcrypt.c
r048b1ff rd72ba1e 866 866 867 867 err = call_filter(argv, in, &out, &status); 868 free(in); 868 869 if(err || status) { 869 870 g_free(out);
Note: See TracChangeset
for help on using the changeset viewer.