[1106] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r1071 - trunk/owl

daemon@ATHENA.MIT.EDU (geofft@MIT.EDU)
Thu Oct 29 18:13:04 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
Date: Sat, 31 May 2008 22:17:38 -0400 (EDT)
To: dirty-owl-hackers@mit.edu
From: geofft@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU

Author: geofft
Date: 2008-05-31 22:17:37 -0400 (Sat, 31 May 2008)
New Revision: 1071

Modified:
   trunk/owl/commands.c
   trunk/owl/functions.c
   trunk/owl/owl.c
Log:
Clean up some crufty stubs that haven't been implemented in years,
and fix a couple of typos.


Modified: trunk/owl/commands.c
===================================================================
--- trunk/owl/commands.c	2008-05-30 18:24:49 UTC (rev 1070)
+++ trunk/owl/commands.c	2008-06-01 02:17:37 UTC (rev 1071)
@@ -244,7 +244,7 @@
   OWLCMD_ARGS("delbuddy", owl_command_delbuddy, OWL_CTX_INTERACTIVE,
 	      "delete a buddy from a buddylist",
 	      "delbuddy <protocol> <screenname>",
-	      "Delete the named buddy to your buddylist.  <protocol< can be aim or zephyr\n"),
+	      "Delete the named buddy from your buddylist.  <protocol> can be aim or zephyr\n"),
 
   OWLCMD_ARGS("join", owl_command_join, OWL_CTX_INTERACTIVE,
 	      "join a chat group",
@@ -749,7 +749,7 @@
               ""),
 
   OWLCMD_ARGS("message", owl_command_message, OWL_CTX_ANY,
-              "Display an informatative message",
+              "Display an informative message",
               "message <message>",
               ""),
 

Modified: trunk/owl/functions.c
===================================================================
--- trunk/owl/functions.c	2008-05-30 18:24:49 UTC (rev 1070)
+++ trunk/owl/functions.c	2008-06-01 02:17:37 UTC (rev 1071)
@@ -1632,10 +1632,6 @@
 #endif    
   }
 
-  if (owl_message_is_type_aim(m)) {
-    owl_fmtext_append_bold(&fm, "\nAIM Specific Information:\n");
-  }
-
   owl_fmtext_append_bold(&fm, "\nOwl Message Attributes:\n");
   owl_message_attributes_tofmtext(m, &attrfm);
   owl_fmtext_append_fmtext(&fm, &attrfm);
@@ -1964,14 +1960,6 @@
 #endif
   
 
-  owl_fmtext_append_normal(&fm, "\nMemory Usage:\n");
-  owl_fmtext_append_normal(&fm, "  Not currently available.\n");
-  /*
-  sprintf(buff, "%sMemory Malloced: %i\n", buff, owl_global_get_malloced(&g));
-  sprintf(buff, "%sMemory Freed: %i\n", buff, owl_global_get_freed(&g));
-  sprintf(buff, "%sMemory In Use: %i\n", buff, owl_global_get_meminuse(&g));
-  */
-
   owl_fmtext_append_normal(&fm, "\nAIM Status:\n");
   owl_fmtext_append_normal(&fm, "  Logged in: ");
   if (owl_global_is_aimloggedin(&g)) {

Modified: trunk/owl/owl.c
===================================================================
--- trunk/owl/owl.c	2008-05-30 18:24:49 UTC (rev 1070)
+++ trunk/owl/owl.c	2008-06-01 02:17:37 UTC (rev 1071)
@@ -602,16 +602,6 @@
         owl_function_error("Internal error: received login notice that is neither login nor logout");
       }
     }
-
-    /* check for burning ears message */
-    /* this is an unsupported feature */
-    if (owl_global_is_burningears(&g) && owl_message_is_burningears(m)) {
-      char *buff;
-      buff = owl_sprintf("@i(Burning ears message on class %s)", owl_message_get_class(m));
-      owl_function_adminmsg(buff, "");
-      owl_free(buff);
-      owl_function_beep();
-    }
   }
 
   /* log the message if we need to */


home help back first fref pref prev next nref lref last post