[elinks-users] [ANNOUNCE] ELinks-0.10.5

2005-05-03 Thread Jonas Fonseca
Hello,

This monthly update to the stable branch mostly brings you lots of bug
fix and minor improvements. There is however also some changes which are
a bit more experimental namely support for less aggressive caching. It
is not perfect but it seems to do the right thing most of the time.
Finally, the documentation is now available as one file in either plain
text or HTML version.

Following is a summary of the changes in ELinks 0.10.5.

New features:

  - Most of the .txt files in the doc/ directory was lifted to the XML
format defined in RFC 2629. It should make it easier to browse the
documentation. Both .txt and .html version is available.

Feature updates and improvements:

  - Try to add support for a less aggressive caching strategy. Disable
document.cache.ignore_cache_control to try it. It will try to
better honour info in the Expires, Pragma and Cache-Control in both
the HTTP and the HTML headers. Inspired by Links2.

  - Introduce a workaround for document refreshing leading to never
ending file download. It should do the right thing in most cases and
the remaining ones the you will just have to reload to restart the
refreshing. 

  - Make the gopher code more robust for URIs without entity info.

  - Make it possible to have a specific features.conf file for each
build tree and to change compile-time settings without modifying a
file that is tracked by CVS.  

  - Show link image info in the document dialog.  

  - Improve error reporting for connections by showing which URI failed.
Furthermore, make it clearer when an IP version specific URIs
(http6://...) failed.

  - NNTP error messages are now translated.

  - Add --config-dump which dump a configuration file with default
options to stdout. Helpfull for package maintainers when providing
an example config file.  

  - Don't sleep after config errors when --dump or --source was
specified.

Bugs fixed:

  - Fix form bug which caused form controls to be associated with the
wrong -element.

  - Only set a link's accesskey if the accesskey attribute's value is
not an empty string.

  - Only show link title if it is actually there.

  - Fixes crash with refreshing downloads and mailcap asking disabled.  

  - Fix the exit code when passing --config-* command line switches.

  - Skip non-link chars from attribute values. Fixes HTML highlighting
of hrefs links with newlines etc in the value.  

  - Fix the set_option() and get_option() functions available from Lua
scripts to compile with Lua 4.

  - Fix configuration error on Solaris.

  - Fix dependency error for building util/scanner.o.

Add to this various smaller fixes, cleanups and translation updates.
The complete changelog is available in the package.

Please, if a bug you reported in bugzilla (http://bugzilla.elinks.or.cz)
has been fixed help to close it or verify whether the bug is infact
fixed.

As always you are more than welcome to join the insomniacs hanging out
at the #elinks IRC channel on irc.freenode.net if you want to report
issues or meet developers.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] openssl vs. gnu-tls

2005-05-03 Thread Daniel Macks
Does it matter (features, compatibility, other end-user experience
issues) which crypto support method I use?

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks

___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] openssl vs. gnu-tls

2005-05-03 Thread Jonas Fonseca
Daniel Macks <[EMAIL PROTECTED]> wrote Tue, May 03, 2005:
> Does it matter (features, compatibility, other end-user experience
> issues) which crypto support method I use?

There are some minor differences. OpenSSL is generally better
integrated and more configurable.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] Re: ELinks-0.10.5 missing util/time.h?

2005-05-03 Thread Jonas Fonseca
Bennett Todd <[EMAIL PROTECTED]> wrote Tue, May 03, 2005:
> When I tried to build it on Bent Linux, the compile failed,
> complaining about a missing util/time.h. Output of the end of the
> compile (grabbed with screen's hardcopy operator), and the spec file
> I used to build it, I append. Bent Linux is a static linking
> uclibc-based distro of mine, but it hasn't had problems with elinks
> before.

Yeah, I just figured that out myself. Will update the tarballs ASAP.

[...]
> gcc -DHAVE_CONFIG_H -I../.. -I../../src  -g -Wall -Werror 
> -fno-strict-aliasing -c button.c
> gcc -DHAVE_CONFIG_H -I../.. -I../../src  -g -Wall -Werror 
> -fno-strict-aliasing -c checkbox.c
> gcc -DHAVE_CONFIG_H -I../.. -I../../src  -g -Wall -Werror 
> -fno-strict-aliasing -c dialog.c
> gcc -DHAVE_CONFIG_H -I../.. -I../../src  -g -Wall -Werror 
> -fno-strict-aliasing -c group.c
> gcc -DHAVE_CONFIG_H -I../.. -I../../src  -g -Wall -Werror 
> -fno-strict-aliasing -c hierbox.c
> In file included from ../../src/sched/connection.h:6,
>  from ../../src/sched/download.h:6,
>  from ../../src/dialogs/download.h:7,
>  from hierbox.c:20:
> ../../src/cache/cache.h:8:23: util/time.h: No such file or directory
> make[3]: *** [hierbox.o] Error 1
> make[3]: Leaving directory 
> `/var/tmp/bpmbuild.3033/build/elinks-0.10.5/src/bfu'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/var/tmp/bpmbuild.3033/build/elinks-0.10.5/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/bpmbuild.3033/build/elinks-0.10.5'
> make: *** [all-recursive-am] Error 2
> /usr/bin/bpmbuild: build failed

Thanks for reporting it.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] Re: ELinks-0.10.5 -- util/time.h

2005-05-03 Thread Alexey Tourbin
On Tue, May 03, 2005 at 09:25:47PM +0200, Jonas Fonseca wrote:
> Hello,
> 
> This monthly update to the stable branch mostly brings you lots of bug
> fix and minor improvements. There is however also some changes which are
> a bit more experimental namely support for less aggressive caching. It

Hello,

I've got the error:

gcc -DHAVE_CONFIG_H -I../.. -I../../src  -pipe -Wall -O2 -march=i686 -Wall  
-fno-strict-aliasing -c hierbox.c
In file included from ../../src/sched/connection.h:6,
 from ../../src/sched/download.h:6,
 from ../../src/dialogs/download.h:7,
 from hierbox.c:20:
../../src/cache/cache.h:8:23: util/time.h: No such file or directory
make[3]: *** [hierbox.o] Error 1
make[3]: Leaving directory `/home/at/RPM/BUILD/elinks-0.10.5/src/bfu'


pgp88fjVd2F0U.pgp
Description: PGP signature
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Re: ELinks-0.10.5 -- util/time.h

2005-05-03 Thread Jonas Fonseca
Alexey Tourbin <[EMAIL PROTECTED]> wrote Wed, May 04, 2005:
> On Tue, May 03, 2005 at 09:25:47PM +0200, Jonas Fonseca wrote:
> > Hello,
> > 
> > This monthly update to the stable branch mostly brings you lots of bug
> > fix and minor improvements. There is however also some changes which are
> > a bit more experimental namely support for less aggressive caching. It
> 
> Hello,
> 
> I've got the error:
> 
> gcc -DHAVE_CONFIG_H -I../.. -I../../src  -pipe -Wall -O2 -march=i686 -Wall  
> -fno-strict-aliasing -c hierbox.c
> In file included from ../../src/sched/connection.h:6,
>  from ../../src/sched/download.h:6,
>  from ../../src/dialogs/download.h:7,
>  from hierbox.c:20:
> ../../src/cache/cache.h:8:23: util/time.h: No such file or directory
> make[3]: *** [hierbox.o] Error 1
> make[3]: Leaving directory `/home/at/RPM/BUILD/elinks-0.10.5/src/bfu'

I have uploaded new and fixed tarballs. Sorry about that.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] Re: ELinks-0.10.5

2005-05-03 Thread Alexey Tourbin
On Tue, May 03, 2005 at 09:25:47PM +0200, Jonas Fonseca wrote:
>   - Fix the set_option() and get_option() functions available from Lua
> scripts to compile with Lua 4.

Lua5 detection seems to be broken.

checking for Lua... yes
checking for lauxlib.h... yes
checking for lua_pcall... yes
checking for LUA 5 or better... checking for Ruby... no
checking for SpiderMonkey... no


configure:6830: checking for LUA 5 or better
configure:6839: gcc -o conftest -pipe -Wall -O2 -march=i686 -Wall -rdynamic 
conftest.c -llua -llualib -lm -ldl  -lgpm -lz -lbz2 -lexpat 1>&5
configure: In function `main':
configure:6835: error: too many arguments to function `lua_open'
configure: failed program was:
#line 6832 "configure"
#include "confdefs.h"
#include 
int main() {
lua_State *L = lua_open(0); lua_pushboolean(L, 1); lua_close(L); return 0;
; return 0; }


$ grep LUA_VERSION /usr/include/lua.h
#define LUA_VERSION "Lua 5.0.2"
$ grep lua_open /usr/include/lua.h
LUA_API lua_State *lua_open (void);
$ grep include  /usr/include/lualib.h
#include "lua.h"
$



pgpwaBAap9R0o.pgp
Description: PGP signature
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Re: ELinks-0.10.5

2005-05-03 Thread Jonas Fonseca
Alexey Tourbin <[EMAIL PROTECTED]> wrote Wed, May 04, 2005:
> On Tue, May 03, 2005 at 09:25:47PM +0200, Jonas Fonseca wrote:
> >   - Fix the set_option() and get_option() functions available from Lua
> > scripts to compile with Lua 4.
> 
> Lua5 detection seems to be broken.

I've fixed it and will upload once again. Thanks for the feedback.

> checking for Lua... yes
> checking for lauxlib.h... yes
> checking for lua_pcall... yes
> checking for LUA 5 or better... checking for Ruby... no
> checking for SpiderMonkey... no
> 
> 
> configure:6830: checking for LUA 5 or better
> configure:6839: gcc -o conftest -pipe -Wall -O2 -march=i686 -Wall 
> -rdynamic conftest.c -llua -llualib -lm -ldl  -lgpm -lz -lbz2 -lexpat 1>&5
> configure: In function `main':
> configure:6835: error: too many arguments to function `lua_open'
> configure: failed program was:
> #line 6832 "configure"
> #include "confdefs.h"
> #include 
> int main() {
> lua_State *L = lua_open(0); lua_pushboolean(L, 1); lua_close(L); return 0;
> ; return 0; }
> 
> 
> $ grep LUA_VERSION /usr/include/lua.h
> #define LUA_VERSION "Lua 5.0.2"
> $ grep lua_open /usr/include/lua.h
> LUA_API lua_State *lua_open (void);
> $ grep include  /usr/include/lualib.h
> #include "lua.h"
> $

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] [ANNOUNCE] ELinks-0.10.5

2005-05-03 Thread Jonas Fonseca
Jonas Fonseca <[EMAIL PROTECTED]> wrote Tue, May 03, 2005:
> Hello,
> 
> This monthly update to the stable branch mostly brings you lots of bug
> fix and minor improvements. There is however also some changes which are
> a bit more experimental namely support for less aggressive caching. It
> is not perfect but it seems to do the right thing most of the time.
> Finally, the documentation is now available as one file in either plain
> text or HTML version.
> 
> Following is a summary of the changes in ELinks 0.10.5.

I hope things have settled down now. 0.10.5 was upgraded to also include
the following changes:

Tue May  3 21:19:27 2005  Jonas Fonseca <[EMAIL PROTECTED]>:

* configure.in (REL_0_10):

Roll back to 0.10.5, once more.  

Tue May  3 21:14:48 2005  Jonas Fonseca <[EMAIL PROTECTED]>:

* configure.in (REL_0_10):

Fix configuration of 'LUA 5 or better'.  

Tue May  3 21:08:07 2005  Jonas Fonseca <[EMAIL PROTECTED]>:

* AUTHORS (REL_0_10):

Readd Sergey E. Galanov since the Lua {set,get}_option() functions
was readded.  

Tue May  3 21:03:03 2005  Adam Golebiowski <[EMAIL PROTECTED]>:

* po/pl.po (REL_0_10):

Dropped old, commented out entries 

Tue May  3 20:33:33 2005  Jonas Fonseca <[EMAIL PROTECTED]>:

* src/cache/cache.h (REL_0_10):

Oops, use util/ttime.h and not util/time.h. (Why do I have
util/time.h) in my 0.10 cvs).  

Tue May  3 20:01:36 2005  Adam Golebiowski <[EMAIL PROTECTED]>:

* po/pl.po (REL_0_10):

Polish translation was updated (8 fuzzies and 6 untraslated
strings).  

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] Re: ELinks-0.10.5

2005-05-03 Thread Alexey Tourbin
On Tue, May 03, 2005 at 11:41:26PM +0200, Jonas Fonseca wrote:
> Tue May  3 21:14:48 2005  Jonas Fonseca <[EMAIL PROTECTED]>:
>   * configure.in (REL_0_10):
>   Fix configuration of 'LUA 5 or better'.  

Nope, I can't see any changes in configure.in and configure.

Anyway, Lua-5.0 defines LUA_TBOOLEAN, while Lua-4.0 does not:

$ grep BOOL lua-4.0.1/include/*.h
$ grep BOOL lua-5.0.2/include/*.h
lua-5.0.2/include/lua.h:#define LUA_TBOOLEAN1
lua-5.0.2/include/lua.h:#define lua_isboolean(L,n)  (lua_type(L,n) == 
LUA_TBOOLEAN)
$

I think you can take advantage of this without altering configure.


pgpn6Z6qaedra.pgp
Description: PGP signature
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Re: ELinks-0.10.5

2005-05-03 Thread Jonas Fonseca
Alexey Tourbin <[EMAIL PROTECTED]> wrote Wed, May 04, 2005:
> On Tue, May 03, 2005 at 11:41:26PM +0200, Jonas Fonseca wrote:
> > Tue May  3 21:14:48 2005  Jonas Fonseca <[EMAIL PROTECTED]>:
> > * configure.in (REL_0_10):
> > Fix configuration of 'LUA 5 or better'.  
> 
> Nope, I can't see any changes in configure.in and configure.

I hope I got it right this time. New tarball available.

> Anyway, Lua-5.0 defines LUA_TBOOLEAN, while Lua-4.0 does not:
> 
> $ grep BOOL lua-4.0.1/include/*.h
> $ grep BOOL lua-5.0.2/include/*.h
> lua-5.0.2/include/lua.h:#define LUA_TBOOLEAN1
> lua-5.0.2/include/lua.h:#define lua_isboolean(L,n)  (lua_type(L,n) == 
> LUA_TBOOLEAN)
> $
> 
> I think you can take advantage of this without altering configure.

Yes. I think the reason for doing it in configure was that some specific
calling conventions needed to be checked for.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users