Changeset fe67f1f
- Timestamp:
- Apr 18, 2004, 11:55:42 AM (20 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 818a073
- Parents:
- 7fad773
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r7fad773 rfe67f1f 1 1 $Id$ 2 2 3 2.1.8-pre-1 4 Do OLC formatting for anything coming from olc.matisse 5 Improvements to popup size algorithm (from gildea) 6 3 7 2.1.7 4 8 The colorclass command is added, to make colorization easy -
owl.h
r7fad773 rfe67f1f 59 59 static const char owl_h_fileIdent[] = "$Id$"; 60 60 61 #define OWL_VERSION 2.1. 762 #define OWL_VERSION_STRING "2.1. 7"61 #define OWL_VERSION 2.1.8-pre-1 62 #define OWL_VERSION_STRING "2.1.8-pre-1" 63 63 64 64 /* Feature that is being tested to redirect stderr through a pipe. -
popwin.c
rad96951 rfe67f1f 19 19 glines=owl_global_get_lines(&g); 20 20 gcols=owl_global_get_cols(&g); 21 if (glines > 24) {22 pw->lines=glines/2;23 startline=glines/4;24 } else {25 pw->lines=(glines*3)/4;26 startline=glines/8;27 }28 21 29 pw->cols=(gcols*15)/16; 30 startcol=gcols/32; 31 if (pw->cols > 100) { 32 pw->cols=100; 33 startcol=(gcols-100)/2; 34 } 22 pw->lines = owl_util_min(glines,24)*3/4 + owl_util_max(glines-24,0)/2; 23 startline = (glines-pw->lines)/2; 24 25 pw->cols = owl_util_min(gcols,100)*15/16 + owl_util_max(gcols-100,0)/2; 26 startcol = (gcols-pw->cols)/2; 35 27 36 28 pw->borderwin=newwin(pw->lines, pw->cols, startline, startcol); -
util.c
r1bb1e67 rfe67f1f 725 725 } 726 726 727 int owl_util_max(int a, int b) 728 { 729 if (a>b) return(a); 730 return(b); 731 } 732 733 int owl_util_min(int a, int b) 734 { 735 if (a<b) return(a); 736 return(b); 737 } 738 727 739 /**************************************************************************/ 728 740 /************************* REGRESSION TESTS *******************************/ -
zephyr.c
r405d5e6 rfe67f1f 351 351 352 352 /* deal with MIT Athena OLC messages */ 353 if (!strcasecmp(n->z_class, "olc") && 354 !strcasecmp(n->z_sender, "olc.matisse@ATHENA.MIT.EDU")) { 353 if (!strcasecmp(n->z_sender, "olc.matisse@ATHENA.MIT.EDU")) { 355 354 return(owl_zephyr_get_field(n, 1)); 356 355 } … … 372 371 373 372 /* No zsig for OLC messages */ 374 if (!strcasecmp(n->z_class, "olc") && 375 !strcasecmp(n->z_sender, "olc.matisse@ATHENA.MIT.EDU")) { 373 if (!strcasecmp(n->z_sender, "olc.matisse@ATHENA.MIT.EDU")) { 376 374 return(""); 377 375 }
Note: See TracChangeset
for help on using the changeset viewer.