[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright doc/gtkshell.1 gtkshell/add_options.c...

From: Jeffrey Bedard
Subject: [Antiright-devel] antiright doc/gtkshell.1 gtkshell/add_options.c...
Date: Sun, 25 Feb 2007 10:48:38 +0000

CVSROOT:        /sources/antiright
Module name:    antiright
Changes by:     Jeffrey Bedard <jefbed> 07/02/25 10:48:38

Modified files:
        doc            : gtkshell.1 
        gtkshell       : add_options.c arguments.c 
Removed files:
        doc            : HACKING 

Log message:
        Removed HACKING as it is largely irrelevant.  Began the process of
        updating the gtkshell manual page.  


Index: doc/gtkshell.1
RCS file: /sources/antiright/antiright/doc/gtkshell.1,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- doc/gtkshell.1      7 Feb 2007 16:44:23 -0000       1.2
+++ doc/gtkshell.1      25 Feb 2007 10:48:38 -0000      1.3
@@ -3,11 +3,21 @@
 gtkshell \- invocation configurable GUI shell
 .B gtkshell
-.B [-a[u[[l
+.B [-a[[e 
+command icon
+command/label icon
 .B ][p
-.B ]]]d[DdeFfi]ho[egnrsu]][
+.B ]]]d[DdeFfi]ho[Eefghnru]][
 .B ]
@@ -25,17 +35,20 @@
 .B \-\-help
 Shows the command line help information.
-.B \-\-fifo 
-Starts a fifo server instance.  COMMAND is the command to which the server 
writes.  FIFO is the FIFO file from where the data that is written into COMMAND 
-.B \-A
+.B \-a
 Adds a widget.  Secondary option
-.B b
+.B I
 adds an icon button, with
 .I label
 as both label and command and 
 .I icon
 as the xbm or xpm icon to be displayed.  Secondary option
+.B i
+adds an icon button, with
+.I command
+.I icon
+as the xbm or xpm icon to be displayed.  Secondary option
 .B C
 adds a color selector.  Secondary option 
 .B c

Index: gtkshell/add_options.c
RCS file: /sources/antiright/antiright/gtkshell/add_options.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gtkshell/add_options.c      23 Feb 2007 03:11:51 -0000      1.6
+++ gtkshell/add_options.c      25 Feb 2007 10:48:38 -0000      1.7
@@ -49,25 +49,34 @@
     gsh_count (argc, counter);
     gsh_text_editor (gsh, argv[*counter]);
   case 'I':
     gsh_handle_add_unlabeled_image_button (
                                           gsh, argc, argv, counter);
   case 'i':
     gsh_handle_add_image_button (
                                 gsh, argc, argv, counter);
   case 'l':
     gsh_count (argc, counter);
     gsh_add_label (gsh, argv[(*counter)]);
   case 't':
+               if (argc != counter)
     gsh_count (argc, counter);
     gsh_setup_command_entry (gsh, argv[(*counter)]);
   case 'T':
     gsh_text_area (gsh);
   case 'u':
     gsh_handle_updated_arguments (
                                  gsh, argc, argv, counter);

Index: gtkshell/arguments.c
RCS file: /sources/antiright/antiright/gtkshell/arguments.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6

Index: doc/HACKING
RCS file: doc/HACKING
diff -N doc/HACKING
--- doc/HACKING 26 Sep 2005 21:52:04 -0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,35 +0,0 @@
-All applicable code should follow GNU C style.  
-All code must be written either C, bourne shell, awk, or sed.  C++ code is not 
-to be inserted into any of the antiright core components.  This may change in 
-the future, but it is most likely that it will not.  
-Changes are to be recorded on cvs checkin.  
-Code should produce no warnings when compiled with GNU gcc using the -Wall and 
--W flags. 
-No linking in of new external libraries without my permission is allowed.  
-This is simply to ensure the small footprint of the AntiRight Desktop 
-Only one argument to a function is to be given per line, with the exception of 
sets such as coordinates and resource-value pairs.
-Spaces are to be left around operators.
-Assertions must contain a statement producting a boolean result.  Do not just 
pass a variable, unless it is boolean.
-Certain naming conventions are to be followed:
-Global variables and functions are to begin with the prefix antiright_ or ar_. 
 If the function or variable is in a client application, the client's name may 
be used as the prefix, such as arcd_play or xmtextedit_print_cb.
-New variables should be defined as follows:  The type and whether or not the 
variable is a pointer should be the suffix.  All should be in lowercase unless 
a constant is being defined.   Such is as follows:  
-    antiright_form_widget, antiright_label_xmstring, 
-Shortcut and old style suffixes may also be used:
-       int             _value
-       double          _value
-       XmString        _motif_string
-       char*           _string
-       Boolean         _flag
-       XtCallbackProc  _cb

reply via email to

[Prev in Thread] Current Thread [Next in Thread]