Changeset d40ad8b


Ignore:
Timestamp:
Aug 7, 2010, 9:06:17 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
86f740e
Parents:
335413f1
git-author:
David Benjamin <davidben@mit.edu> (08/07/10 19:28:31)
git-committer:
David Benjamin <davidben@mit.edu> (08/07/10 21:06:17)
Message:
Punt OWL_WEBBROWSER_* and userclue

That code hasn't been used for quite some time, and only one of those
browsers is still in active development anyway.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • doc/code.txt

    r44cc9ab rd40ad8b  
    167167===========================================================================
    168168
    169 
    170 MISC THINGS
    171 -----------
    172 
    173 userclue:  right now userclue is just used to decide if you sub to
    174            classes other than the default.  If you don't it doesn't bother
    175            making your personal messages bold since there's no point in
    176            making every message bold.
    177 
    178 
    179 
    180 ===========================================================================
    181 
    182169Conventions and Design Criteria
    183170-------------------------------
  • global.c

    re488ec5 rd40ad8b  
    7474 
    7575  owl_global_set_config_format(g, 0);
    76   owl_global_set_userclue(g, OWL_USERCLUE_NONE);
    7776  owl_global_set_no_have_config(g);
    7877  owl_history_init(&(g->msghist));
     
    508507  if (g->thishost) return(g->thishost);
    509508  return("");
    510 }
    511 
    512 /* userclue */
    513 
    514 void owl_global_set_userclue(owl_global *g, int clue) {
    515   g->userclue=clue;
    516 }
    517 
    518 void owl_global_add_userclue(owl_global *g, int clue) {
    519   g->userclue|=clue;
    520 }
    521 
    522 int owl_global_get_userclue(const owl_global *g) {
    523   return(g->userclue);
    524 }
    525 
    526 int owl_global_is_userclue(const owl_global *g, int clue) {
    527   if (g->userclue & clue) return(1);
    528   return(0);
    529509}
    530510
  • owl.h

    r2b83ad6 rd40ad8b  
    173173#define OWL_CTX_EDITMULTI    0x2000
    174174#define OWL_CTX_EDITRESPONSE 0x4000
    175 
    176 #define OWL_USERCLUE_NONE       0
    177 #define OWL_USERCLUE_CLASSES    1
    178 #define OWL_USERCLUE_FOOBAR     2
    179 #define OWL_USERCLUE_BAZ        4
    180 
    181 #define OWL_WEBBROWSER_NONE     0
    182 #define OWL_WEBBROWSER_NETSCAPE 1
    183 #define OWL_WEBBROWSER_GALEON   2
    184 #define OWL_WEBBROWSER_OPERA    3
    185175
    186176#define OWL_VARIABLE_OTHER      0
     
    610600  time_t lastinputtime;
    611601  char *startupargs;
    612   int userclue;
    613602  int nextmsgid;
    614603  int hascolors;
  • zephyr.c

    re488ec5 rd40ad8b  
    148148  if (ret_sd || ret_bd || ret_u) {
    149149    owl_function_error("Error loading zephyr subscriptions");
    150   } else if (ret_u!=-1) {
    151     owl_global_add_userclue(&g, OWL_USERCLUE_CLASSES);
    152150  }
    153151
Note: See TracChangeset for help on using the changeset viewer.