lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx2.8.5dev.16b.patch.gz


From: Leonid Pauzner
Subject: Re: lynx-dev lynx2.8.5dev.16b.patch.gz
Date: Sun, 3 Aug 2003 19:21:28 +0400 (MSD)

3-Aug-2003 10:01 Thomas Dickey wrote:
> There's a new interim patch toward dev.17 (fixes the parsing bugs I commented
> on, but doesn't incorporate everything on my to-do list).  See

>       ftp://invisible-island.net/temp/lynx2.8.5dev.16b.patch.gz

Thanks.

> 2003-08-?? (2.8.5dev.17)

The following two my patches where sent to lynx-dev,
not present in your note:

> From: "Leonid Pauzner" <address@hidden>
> Date: Wed, 18 Jun 2003 21:57:05 +0400 (MSD)
> Subject: lynx-dev patch (lazy HTuncache_current_document)

>>   f) If a document is in the cache (or the rendering is in memory), on
>>      reload it should not be cleared from the cache until the
>>      connection to the server is opened; if the connection fails, the
>>      user should have a choice to reuse the old version;

> Here it is (not much tested but looks OK):

> * If a document is in the cache (the rendering is in memory), on
>   reload it should not be cleared from the cache until the
>   connection to the server is opened; if the connection fails, the
>   user will reuse the old version (request by IZ).
>   [Implementation: instead of using HTuncache_current_document() in
>   LYMainLoop.c, we just mark HTMainText with HText_setNoCache().
>   If HTLoad() succeeds, the old copy will be auto-uncached in HText_new(),
>   otherwise we will reuse the old copy with a warning.]


>  src/gridtext.c                  |    3 +--
>  src/lymainlo.c                  |   32 ++++++++++++++++----------------
>  www/library/implemen/htaccess.c |   39
> ++++++++++++++++++++++++++++-----------
>  3 files changed, 45 insertions, 29 deletions

 and

> From: "Leonid Pauzner" <address@hidden>
> Date: Thu, 19 Jun 2003 15:31:09 +0400 (MSD)
> Subject: Re: lynx-dev patch (lazy HTuncache_current_document)

> Followup (fix HTLoadDocument):

>  src/gridtext.c                  |  115
> +++++++++++++++++++---------------------
>  src/gridtext.h                  |    2
>  src/lyoption.c                  |    6 --
>  www/library/implemen/htaccess.c |   16 ++++-
>  4 files changed, 73 insertions, 66 deletions

> BTW, we now got a new gettext string:

> +     if (text && status < 0 && (HText *)HTAnchor_document(anchor) == text) {
> +           HTAlert(gettext("Loading failed, use a previous copy."));
>             CTRACE((tfp, "HTAccess: Loading failed, use a previous copy.\n"));

> IMHO, the rest HTuncache_current_document() calls
> could also be removed from LYMainLoop.c



; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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