[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev add toggling trace log on/off in partial mode [patch]
From: |
Leonid Pauzner |
Subject: |
lynx-dev add toggling trace log on/off in partial mode [patch] |
Date: |
Mon, 22 Feb 1999 16:19:31 +0300 (MSK) |
* Add toggling trace log on/off in partial mode, when the downloading
still in progress - LP
Minore glitches also removed.
BTW, is it intentional that LYK_FASTFORW_LINK / LYK_FASTBACKW_LINK
recently added in partial mode scroll by pages, not link by lynk?
diff -u old/lyutils.c ./lyutils.c
--- old/lyutils.c Fri Feb 19 16:24:30 1999
+++ ./lyutils.c Mon Feb 22 15:45:30 1999
@@ -2188,6 +2188,11 @@
else if (display_partial && (NumOfLines_partial > 2))
/* OK, we got several lines from new document and want to scroll... */
{
+ /* There is a subset of mainloop() actions available at this stage:
+ ** no new getfile() cyrcle possible until the previous finished.
+ ** Currently we have scrolling and toggling of trace log here.
+ */
+
int res;
switch (keymap[c+1])
{
@@ -2252,6 +2257,11 @@
break;
case LYK_REFRESH :
break ;
+ case LYK_TRACE_TOGGLE: /* Toggle TRACE mode. */
+ WWW_TraceFlag = ! WWW_TraceFlag;
+ if (LYOpenTraceLog())
+ HTUserMsg(WWW_TraceFlag ? TRACE_ON : TRACE_OFF);
+ break;
default :
return ((int)FALSE) ;
}
diff -u old/htmime.c ./htmime.c
--- old/htmime.c Mon Jan 18 19:07:48 1999
+++ ./htmime.c Sun Feb 21 19:59:06 1999
@@ -1991,7 +1991,6 @@
int LYhndl;
*qm2 = '\0';
- LYLowerCase(s+2);
invalid = ((LYhndl = UCGetLYhndl_byMIME(s+2)) < 0 ||
UCCanTranslateFromTo(LYhndl,
current_char_set));
diff -u old/lyglobal.h ./lyglobal.h
--- old/lyglobal.h Fri Feb 19 16:24:20 1999
+++ ./lyglobal.h Sun Feb 21 19:58:40 1999
@@ -265,7 +265,6 @@
extern char *http_error_file; /* Place HTTP status code in this file */
extern char *authentication_info[2]; /* Id:Password for protected documents */
extern char *proxyauth_info[2]; /* Id:Password for protected proxy server
*/
-extern char *UC_TEMPcharset; /* temporary in UCGetLYhndl_byMIME */
extern BOOLEAN HEAD_request; /* Do a HEAD request */
extern BOOLEAN scan_for_buried_news_references;
extern BOOLEAN bookmark_start; /* Use bookmarks as startfile */
- lynx-dev add toggling trace log on/off in partial mode [patch],
Leonid Pauzner <=