[elinks-dev] Re: [patch] tell the selected submit button to the server

2006-02-06 Thread Kalle Olavi Niemitalo
A revised patch, should compile better with CONFIG_ECMASCRIPT. This is also at http://www.iki.fi/kon/2006/elinks.git#submit-button. diff --git a/src/viewer/text/link.c b/src/viewer/text/link.c index 019743f..70d6627 100644 --- a/src/viewer/text/link.c +++ b/src/viewer/text/link.c @@ -860,18

[elinks-dev] Is onsubmit being called for reset buttons too?

2006-02-09 Thread Kalle Olavi Niemitalo
I haven't compiled ELinks with CONFIG_ECMASCRIPT yet, but the code that calls the onsubmit script seems to be in the wrong place. It is now (commit 6fe1a431f1ce4614c31eb4fcfe9d088c7a2c42f6) in call_onsubmit_and_submit() in src/viewer/text/link.c. goto_current_link() calls that if

[elinks-dev] [patch 1/3] check-accelerator-conflicts.pl v1.5 suggests better and is more verbose.

2006-03-11 Thread Kalle Olavi Niemitalo
normally returns Cundef if there are plurals. Documented the new methods Cmsgid_begin_lineno and Cmsgstr_begin_lineno. -=item Z2006-02-28 Kalle Olavi Niemitalo [EMAIL PROTECTED] +=item Z2006-02-18 Kalle Olavi Niemitalo [EMAIL PROTECTED] Locale::PO now preserves unrecognized flags, although

[elinks-dev] [patch 2/3] accel-check: Use only one context for tab_menu.

2006-03-11 Thread Kalle Olavi Niemitalo
Accelerator conflicts between some items of tab_menu and link_menu are not being properly detected: - ~Pass frame URI to external command may be displayed together with Pass tab URI to e~xternal command, but that is not declared. - Pass link URI to e~xternal command is declared as being in

[elinks-dev] Re: [patch] some fixes for the Python scripting backend

2006-07-24 Thread Kalle Olavi Niemitalo
0fee8f6e18d4f81c5222a20c08f8701f90adf87e author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 01 Jul 2006 14:43:37 +0300 committer Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 01 Jul 2006 14:43:37 +0300 Makefile.config.in |2 +- Makefile.lib |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[elinks-dev] Re: [patch 1/5] Define separate structs for events passed

2006-08-05 Thread Kalle Olavi Niemitalo
Miciah Dashiel Butler Masters [EMAIL PROTECTED] writes: It looks messy, but I don't know whether there is a better approach. I'll need to think about it more. Of course, Jonas is the boss. There are three reasons to have separate data formats for the interlink protocol and for internal use in

[elinks-dev] [patch 01/11] terminal: Decode UTF-8 only from bytes, not from codes of special keys.

2006-08-05 Thread Kalle Olavi Niemitalo
terminal: Decode UTF-8 only from bytes, not from codes of special keys. --- commit ec5615acd7252563fc4745f14a7afbba049227fa tree 026faf147a0a62f70a1865795e270b9e76d48de4 parent 40e257bedd59c35b4a54c5e85e4391383ad6bf84 author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 05 Aug 2006 13:42:08 +0300

[elinks-dev] [patch 02/11] terminal: Do not call toupper with potentially out-of-range values.

2006-08-05 Thread Kalle Olavi Niemitalo
the bug already. --- commit 129c5bb4dcafbfcf62d75c3e02db45699fb56536 tree eff984b17a0b9497ecafe88e5134db0f029fc2b9 parent ec5615acd7252563fc4745f14a7afbba049227fa author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 05 Aug 2006 13:30:00 +0300 committer Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat

[elinks-dev] Re: [patch 1/5] Define separate structs for events

2006-08-05 Thread Kalle Olavi Niemitalo
Miciah Dashiel Butler Masters [EMAIL PROTECTED] writes: How about a separate routine to convert from interlink_event to term_event? For EVENT_KBD, the conversion from interlink_event to term_event can be many-to-many if CONFIG_UTF_8 is not defined. I don't think it would be a good idea to

[elinks-dev] UTF-8: ELinks assumes towlower uses UCS-4

2006-08-06 Thread Kalle Olavi Niemitalo
src/viewer/text/search.c (lowered_string): #if defined(CONFIG_UTF_8) defined(HAVE_WCTYPE_H) ret[textlen] = utf8 ? towlower(ret[textlen]) : tolower(ret[textlen]); #else ret[textlen] = tolower(ret[textlen]); #endif If CONFIG_UTF_8 is defined, then

[elinks-dev] Unicode character database licensing inclusion (was: [patch 10/11] UTF-8: New function unicode_fold_label_case and a related script.)

2006-08-10 Thread Kalle Olavi Niemitalo
Jonas Fonseca [EMAIL PROTECTED] writes: We already have derivative work of the Unicode SGML entity table. So adding this to the documentation should be done anyway. Is the license at http://www.unicode.org/copyright.html#Exhibit1 compatible with the GNU General Public License, so that a work

[elinks-dev] [patch] do_file_menu: Correct the order of arguments in SET_MENU_ITEM invocations.

2006-08-12 Thread Kalle Olavi Niemitalo
. This bug did not affect the binary because HKS_SHOW is defined as 0 anyway. --- commit 68168548cee7cd99e5ac0a94732b45726de556ca tree 45784bb66e015c069f25128fd75fb5c994be8748 parent a14074a763969a74f617b9c938cf7024e44e88d9 author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 12 Aug 2006 19:39:45 +0300

[elinks-dev] Re: UTF-8 decoding changes for handle_interlink_event

2006-08-25 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: I'd like to merge http://www.iki.fi/kon/2006/elinks.git#utf8min to the main repository. I have now committed patches that have a similar effect. pgpSxhRKhVSur.pgp Description: PGP signature ___ elinks

[elinks-dev] Turkish dotted and dotless I

2006-08-27 Thread Kalle Olavi Niemitalo
In Turkish and some other languages, there are upper-case and lower-case variants of both dotted i/İ and dotless ı/I. If I understand correctly, Turkish users expect case-insensitive comparisons to treat i as equivalent to İ, and ı as equivalent to I. ELinks does case-insensitive comparisons in

[elinks-dev] UTF-8: fix scrolling of input fields

2006-08-27 Thread Kalle Olavi Niemitalo
In the current version, input fields do not scroll when CONFIG_UTF_8 is defined. The bug is that draw_form_entry() always begins drawing from the beginning of fs-value, even when fs-vpos is nonzero. I have fixed the bug in this branch: http://www.iki.fi/kon/2006/elinks.git#inputfield-scroll

[elinks-dev] Re: UTF-8: fix scrolling of input fields

2006-09-02 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: In the current version, input fields do not scroll when CONFIG_UTF_8 is defined. The bug is that draw_form_entry() always begins drawing from the beginning of fs-value, even when fs-vpos is nonzero. I have checked in a fix. I also made

[elinks-dev] Re: Crash bug and proposed patch

2006-09-13 Thread Kalle Olavi Niemitalo
joey [EMAIL PROTECTED] writes: I recently ran into a crash bug with elinks. I've provided a backtrace, a sample document, and a proposed patch. Basically, html_special() in src/document/html/renderer.c sets document-refresh without checking to see if document is a valid pointer first (inside

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-19 Thread Kalle Olavi Niemitalo
M. Levinson [EMAIL PROTECTED] writes: The patch includes documentation for Python programmers in doc/python.txt, and the documentation is also available internally from Python code via Python's introspection API. Both currently seem to contain the same text. Would it be a good idea to

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-21 Thread Kalle Olavi Niemitalo
M. Levinson [EMAIL PROTECTED] writes: Would the attached version of the patch work correctly under Debian? diff --git a/mrldev:src/scripting/python/python.c b/mrldev:src/scripting/python/python.c index cf9e0c0..e1bc374 100644 Yes, that works. pgppFXvTNd5eH.pgp Description: PGP signature

[elinks-dev] [elinks-web patch 2/2] The elinks-bugs mailing list is out of order.

2006-10-21 Thread Kalle Olavi Niemitalo
The elinks-bugs mailing list is out of order. --- commit d525268fed3208c8432d409a28a136c9baf97884 tree 2a0a4a4d4baf25cfe423186f58868e26584d7094 parent ccebedf2f56986a5e6f282fca90eca03722a92bc author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 21 Oct 2006 14:38:17 +0300 committer Kalle Olavi

[elinks-dev] SA22920 (ELinks SMB vulnerability) alternative workaround

2006-11-16 Thread Kalle Olavi Niemitalo
Regarding SA22920 (ELinks smb Protocol File Upload/Download Vulnerability). You list three solutions: Don't visit untrusted web sites; Implement restrictive firewall rules for SMB traffic; Uninstall the smbclient program from systems where it is not needed. I would like to note that it is also

[elinks-dev] CVE-2006-5925 in ELinks bugzilla

2006-11-18 Thread Kalle Olavi Niemitalo
As a developer of ELinks, I have added CVE-2006-5925 to our bug tracking system and confirmed that the vulnerability exists: http://bugzilla.elinks.cz/show_bug.cgi?id=841 This could be worth adding to the references list. We may also publish a separate security advisory later. (I'm only

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-26 Thread Kalle Olavi Niemitalo
M. Levinson [EMAIL PROTECTED] writes: Good question. I formatted it to resemble output from the pydoc program (and the interactive Python interpreter's help system) so it would have the look of other Python API documentation that should be familiar to many Python programmers; installing it

[elinks-dev] Re: Reading out documents using festival

2006-12-04 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: BTW, could you look at SMB prototocol, bug 844? Fonseca already accepted bug 844 before you posted attachment 298, so I'll leave it to him. pgp3WYn85Bg1n.pgp Description: PGP signature ___ elinks-dev

[elinks-dev] Replace Py_XDECREF with Py_CLEAR in cleanup_python?

2006-12-08 Thread Kalle Olavi Niemitalo
src/scripting/python/core.c: void cleanup_python(struct module *module) { if (Py_IsInitialized()) { python_done_keybinding_interface(); Py_XDECREF(python_hooks); Py_Finalize(); } } Now if the Python scripting module is initialized

Re: [elinks-dev] BRF charset support

2006-12-14 Thread Kalle Olavi Niemitalo
Samuel Thibault [EMAIL PROTECTED] writes: As I said, I submitted it in the bugzilla. Yes, thank you. I just meant it was good to do both. - encoding form data in HTTP POST requests. I'm not sure what you mean by this. I mean, if there is a document encoded in BIG5 and it contains form

[elinks-dev] witekfl branch: quoting for FLITE_SYSTEM

2006-12-26 Thread Kalle Olavi Niemitalo
commit e965d07055f5dd3e046469232e4b3986fb60cbaf speech: added flite - the alternative synthesis engine. write_to_festival inserts backslashes in front of double-quotes and backslashes so that Festival can distinguish them from string delimiters. Now if FLITE_SYSTEM is selected, the output

Re: [elinks-dev] witekfl branch: quoting for FLITE_SYSTEM

2006-12-28 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: Thanks for the report. I'll use '' to quote. I think your commit 60fc3bd04fe3f85c66d1dadbc8ba4f56f576f611 doesn't really fix this, because \ is not special inside ''. For example: $ cat 'begin # \'$(date)\' # end' cat: begin # \Thu: No such file or

Re: [elinks-dev] Remove current_url parameter of Python goto_url_hook?

2007-01-01 Thread Kalle Olavi Niemitalo
M. Levinson [EMAIL PROTECTED] writes: The decision isn't up to me, but I think this is a good idea. Here's a patch that would update the documentation and hooks.py, as well as hooks.c. I applied the patch as 26473f72f59641aa60277f14f703f8a76dda5a82, so that users of snapshots will notice it

Re: [elinks-dev] Remove current_url parameter of Python goto_url_hook?

2007-01-04 Thread Kalle Olavi Niemitalo
M. Levinson [EMAIL PROTECTED] writes: I don't expect this to be an issue. Instead of adding new arguments to the hooks, it will be simpler and more flexible to make any additional data available to them by extending the API of the embedded interpreter's builtin elinks module. In other words,

[elinks-dev] What to do with ELinks 0.10.6.GIT

2007-01-04 Thread Kalle Olavi Niemitalo
ELinks 0.10.6 was released on 2005-09-15. It seems that after the release, bug fixes were first backported until 2005-09-23, and then the branch was dormant until I backported some recent fixes on 2006-11-26 and later. So most bugs fixed in 0.11.* or 0.12.GIT after the release have presumably

Re: [elinks-dev] What to do with ELinks 0.10.6.GIT

2007-01-05 Thread Kalle Olavi Niemitalo
Adam Golebiowski [EMAIL PROTECTED] writes: What about releasing 0.10.7 together with a notice that this is the last release of the 0.10.x branch and it will be no longer maintained? I don't see why anyone should want to upgrade to 0.10.7 but not to 0.11.2, especially if 0.10.7 were the last

Re: [elinks-dev] Question, Reproducible Error

2007-01-28 Thread Kalle Olavi Niemitalo
Lydgate [EMAIL PROTECTED] writes: One question: is it possible to map the higher mouse buttons 4, 5, etc., to back and forward to elinks running in xterm? I ask because elinks seems very capable of interpreting 1 2 and 3. Would the solution be at an elinks, xterm, or X (e.g. xbindkeys)

Re: [elinks-dev] Question, Reproducible Error

2007-01-28 Thread Kalle Olavi Niemitalo
Lydgate [EMAIL PROTECTED] writes: But if I understand you correctly, even adding 6 and 7 in X would not be enough, and buttons 6 and 7 would need to be defined in elinks? Although I would think that something like: Btn6Up:U\n\ would bypass that limitation (assuming default keybindings)

[elinks-dev] witekfl branch status

2007-01-28 Thread Kalle Olavi Niemitalo
bzip2 Should be merged before 0.12. Needs review. This ostensibly helps with bug 517. epoll I don't think this should be merged. If ELinks has to keep supporting select() too, I think the maintenance burden outweighs any advantages epoll may have. It may be

Re: [elinks-dev] witekfl branch status

2007-02-25 Thread Kalle Olavi Niemitalo
acckey This seems to fix a bug; please advise how to reproduce the bug. bug844 Needs review and testing. bug916 Needs review and testing. bug927 Will merge. bug935 If you test this with UTF-8 then I'll merge it. epoll I don't think this should be merged. If ELinks has to keep

Re: [elinks-dev] [PATCH] error.c: fix gcc warning (vasprintf)

2007-02-27 Thread Kalle Olavi Niemitalo
Alexey Tourbin [EMAIL PROTECTED] writes: va_start(params, fmt); - vasprintf((char **) buf, fmt, params); + rv = vasprintf((char **) buf, fmt, params); + if (rv 0) { + perror(vasprintf); + return; + } va_end(params);

Re: [elinks-dev] witekfl branch status

2007-02-27 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: Do you think that maintaining 3 versions of ELinks is reasonable? With this few people hacking on ELinks, I think it would be better to maintain just one stable and one development branch. Thus, the ELinks 0.10 branch should be dropped now, and the

[elinks-dev] dangling pointer crash in write_to_festival (was: witekfl branch status)

2007-03-06 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: This feature does not collide with screen readers. I just want to listen to ELinks sometimes. I tried applying the speech commits to master, but it crashes if, during the speech, I close the tab and thereby cause the struct document_view to be freed:

Re: [elinks-dev] witekfl branch status

2007-03-11 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: On Sun, Feb 25, 2007 at 10:52:47AM +0200, Kalle Olavi Niemitalo wrote: spaces2 Decode %20 in local filenames and enclose them with ''. This seems suspicious. What if there is '' or '\' in the filename

Re: [elinks-dev] witekfl branch status

2007-03-14 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: On Sun, Feb 25, 2007 at 10:52:47AM +0200, Kalle Olavi Niemitalo wrote: acckey This seems to fix a bug; please advise how to reproduce the bug. html body a href=/ accesskey=aStart/a /body /html And ALT-A doesn't work. I saved that HTML

Re: [elinks-dev] witekfl branch status

2007-03-22 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: ?2007-03-09 c09cc0398fb1c10c99076524782eee6c1e45fcef fsp: download resuming ?2007-03-09 967a15b7f4427dc94ddd9fe1092f6a20104caa2a smb: download resuming When one aborts dowload, may resume it later. It works for http and ftp, why not do it

[elinks-dev] do_smb if auth-password contains '@' or '/'?

2007-03-22 Thread Kalle Olavi Niemitalo
In do_smb, we have: add_to_string(string, smb://); add_to_string(string, auth-user); add_char_to_string(string, ':'); add_to_string(string, auth-password); add_char_to_string(string, '@');

Re: [elinks-dev] do_smb if auth-password contains '@' or '/'?

2007-03-24 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: - Is it possible to have @ or '/' in auth-password, or would they have already been converted to %40 and %2F before do_smb runs? auth-password contains the string as typed by the user in the auth dialog; it is not converted

Re: [elinks-dev] witekfl branch status

2007-03-25 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: On Sun, Mar 18, 2007 at 09:12:23PM +0200, Kalle Olavi Niemitalo wrote: bug620 This resets forms when I resize the window. Not acceptable. It's difficult because it should be done only once when the document is fully loaded after reloading

Re: [elinks-dev] Elinks crash

2007-04-17 Thread Kalle Olavi Niemitalo
Yan Seiner [EMAIL PROTECTED] writes: OK, I'm playing on dangerous ground... Javascript. So elinks died... :-( Unfortunately I can't get a core as I am running on a read-only embedded system I don't see anything script-related in your backtrace. I however see parse_sgml, which is

Re: [elinks-dev] unprotected error in call to Lua API

2007-04-17 Thread Kalle Olavi Niemitalo
Alexey Tourbin [EMAIL PROTECTED] writes: Ported to lua-5.1. This seems to be ELinks bug 742. http://bugzilla.elinks.cz/show_bug.cgi?id=742 ___ elinks-dev mailing list elinks-dev@linuxfromscratch.org

Re: [elinks-dev] [PATCH] error.c: fix gcc warning (vasprintf)

2007-04-20 Thread Kalle Olavi Niemitalo
Alexey Tourbin [EMAIL PROTECTED] writes: + rv = vasprintf((char **) buf, fmt, params); + if (rv 0) + buf = fmt; va_end(params); elinks_internal(assertion failed: %s, buf); if (buf) free(buf); It can then call free(fmt) and probably get a SIGSEGV.

Re: [elinks-dev] GnuTLS improvements

2007-04-20 Thread Kalle Olavi Niemitalo
Simon Josefsson [EMAIL PROTECTED] writes: The patch to socket.? removes some never needed code with GnuTLS, and removes the need for the no_tls variable and the ssl_set_no_tls() function altogether by replacing each occurrence of setting the no_tls variable, and calling the function if that

Re: [elinks-dev] GnuTLS improvements

2007-04-21 Thread Kalle Olavi Niemitalo
Simon Josefsson [EMAIL PROTECTED] writes: Because trying to do the same handshake another time will not make it work better. If I understand the OpenSSL code part correctly, it disables TLS (i.e., then only SSL 3.0 is supported). The GnuTLS code does not disable TLS. It used to disable

[elinks-dev] set_line() ignores wrap_nbsp when document == NULL

2007-04-23 Thread Kalle Olavi Niemitalo
In ELinks 0.12.GIT (097195bef43f162627670245f07c1dac31566bf0), set_hline() respects html_context-options-wrap_nbsp when part-document != NULL, but not when part-document == NULL. Is it a bug? This code was added to set_hline() on 2003-11-27, imported as Git commit

Re: [elinks-dev] Edit mode not exiting cleanly on Back

2007-05-08 Thread Kalle Olavi Niemitalo
Yan Seiner [EMAIL PROTECTED] writes: What happens is that the screen is not resetting the reverse mode. If I am in an edit field and in edit mode and hit back, the reverse mode is carried over to the previous screen. If I enter that screen via a link, it displays correctly. If am not in

Re: [elinks-dev] Edit mode not exiting cleanly on Back

2007-05-08 Thread Kalle Olavi Niemitalo
Yan Seiner [EMAIL PROTECTED] writes: Thanks. Is this going to be fixed in CVS or should I just try and hack around it? I don't know if any ELinks developer is interested in fixing this bug. It has rather little impact and the fix is not obvious. If you post a patch, it may be accepted to

[elinks-dev] Why utf8_linux_frame_seqs?

2007-05-16 Thread Kalle Olavi Niemitalo
In ELinks 0.12.GIT (f8f99cc04ea0ff1f64c0452f5232e1b2567493c2): - If UTF-8 I/O is disabled, then src/terminal/screen.c outputs normal characters in the terminal charset, and frame characters usually in a separate frame charset. To switch between the charsets, it outputs strings from

Re: [elinks-dev] Why utf8_linux_frame_seqs?

2007-05-20 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: You can remove utf8_linux_frame_seqs. Thank you. I have removed it. pgpFjvtg0lSVU.pgp Description: PGP signature ___ elinks-dev mailing list elinks-dev@linuxfromscratch.org

Re: [elinks-dev] increased risk of ECMAScript crashes in ELinks 0.11.3.GIT

2007-05-29 Thread Kalle Olavi Niemitalo
Jonas Fonseca [EMAIL PROTECTED] writes: Ok, thanks for the warning, however, I thought that I expressed that I do not really consider ECMAScript related crashes as something to worry about for the current stable version. 2007-05-27: paakku fonseca: Should bug 755 be fixed in 0.11.3.GIT or

Re: [elinks-dev] Memory allocation

2007-05-30 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: When there is no more memory say sorry and exit. That would be okay for noninteractive uses such as elinks -dump. However I would hate to lose state because of running out of memory. AFAIK, ui.sessions.snapshot does not save session cookies, form data,

Re: [elinks-dev] Solaris build fixes

2007-06-03 Thread Kalle Olavi Niemitalo
John Hawkinson [EMAIL PROTECTED] writes: --- src/encoding/gzip.c 2007/05/31 22:40:05 1.1 +++ src/encoding/gzip.c 2007/06/02 22:22:20 @@ -33,7 +33,9 @@ static int gzip_read(struct stream_encoded *stream, unsigned char *data, int len) { +#ifdef HAVE_GZCLEARERR

[elinks-dev] ELinks 0.11.3 and other changes to FSF's Free Software Directory

2007-06-04 Thread Kalle Olavi Niemitalo
ELinks 0.11.3 was released on 2007-04-15. Always use elinks.cz, not elinks.or.cz. http://ftp.pld-linux.org/pool/e/elinks/ has only ELinks 0.4pre18, which is awfully old. PLD has later versions available, e.g. ftp://ftp.pld-linux.org/dists/2.0/PLD/i386/PLD/RPMS/elinks-0.11.2-2.i386.rpm but

Re: [elinks-dev] Solaris build fixes

2007-06-05 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: On Tue, Jun 05, 2007 at 12:29:46AM +0300, Kalle Olavi Niemitalo wrote: clearerr() needs a FILE *, not a file descriptor. And gzip_open() calls fdopen() itself, so ELinks never sees the FILE *. I should have written that gz_open() in zlib calls

[elinks-dev] ELinks 0.10.0 and later are GPLv2 only

2007-06-07 Thread Kalle Olavi Niemitalo
http://directory.fsf.org/Elinks.html claims Licensed under The GNU General Public License, Version 2 or later. This seems to have been true originally. In elinks-0.9.3/src/dialogs/info.c: This program is free software; you can redistribute it and/or modify it under the terms of the GNU

Re: [elinks-dev] pwmd patch

2007-06-11 Thread Kalle Olavi Niemitalo
Ben Kibbey [EMAIL PROTECTED] writes: +++ b/src/formhist/formhist.c @@ -355,7 +374,21 @@ get_form_history_value(unsigned char *url, unsigned char *name) + * FIXME If theres a pwmd error a message box pops up. + * src/viewer/text/form.c seems to call this

Re: [elinks-dev] CGI scripts using GET don't work

2007-06-17 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: Here is the patch for 0.11.3: diff --git a/src/protocol/uri.c b/src/protocol/uri.c index df22646..e9c3b39 100644 Thank you, applied. pgpA77cwgPZGK.pgp Description: PGP signature ___ elinks-dev mailing

[elinks-dev] Submit ELinks to the Free Translation Project?

2007-06-24 Thread Kalle Olavi Niemitalo
Of the thirty PO files bundled with ELinks 0.11.3, only nine are more than half complete. To attract people to complete the translations, I propose to submit ELinks to the Free Translation Project: http://www.iro.umontreal.ca/translation/HTML/maintainers.html AFAIK, maintainers of ELinks have

[elinks-dev] fg parameter of exec_on_terminal

2007-07-14 Thread Kalle Olavi Niemitalo
, and because Witek seems to be working on bug 638. Name the exec_on_terminal() fg values. --- commit aa00b6f8e969c0c2c929e6591790283c0796aaf2 tree 6c5d84304acb74b15f6a1733aa6b9c65ba0302d9 parent eccc8c23f0901b8560f27741a631d858c04203a4 author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 14 Jul 2007

Re: [elinks-dev] onkeypress support!

2007-07-20 Thread Kalle Olavi Niemitalo
Howard Kapustein [EMAIL PROTECTED] writes: Q1. How should I submit my patches? I can provide modified source files, diffs, both or other. I think diff -up would be preferred. Also please add yourself to AUTHORS. Currently ELinks is licensed under GPLv2. There has been some talk of restoring

Re: [elinks-dev] ELinks 0.12 release plans

2007-07-20 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: The bugs blocking the ELinks 0.12.0 release are listed here: http://bugzilla.elinks.cz/buglist.cgi?target_milestone=0.12-M1target_milestone=0.12-M2bug_status=NEWbug_status=ASSIGNEDbug_status=REOPENED I think we should release 0.12pre1 when all

Re: [elinks-dev] lua50 or lua51 in 0.12?

2007-07-22 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: Which version of LUA 5.0 or 5.1 should ELinks-0.12 use? Currently it supports only 5.0, but 5.1 is newer. IMO now is good time to switch to 5.1. Bug 742 - port elinks to lua-5.1 http://bugzilla.elinks.cz/show_bug.cgi?id=742 I think it would be good

[elinks-dev] [PATCH] download.txt: No more Cogito. Describe branches.

2007-08-04 Thread Kalle Olavi Niemitalo
author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 04 Aug 2007 22:07:36 +0300 committer Kalle Olavi Niemitalo [EMAIL PROTECTED] Sat, 04 Aug 2007 22:08:17 +0300 download.html | 121 +- download.txt | 127

[elinks-dev] disable mouse (was: Sponsor development of the key motion.)

2007-08-09 Thread Kalle Olavi Niemitalo
Ligesh [EMAIL PROTECTED] writes: Also I want to know if I can disable the need to press shift key while copy/pasting from/to elinks. It appears the toggle-mouse action (not bound to a key by default) would stop ELinks from requesting mouse events. However, this works on the master terminal

Re: [elinks-dev] The Links/Links2/ELinks browsers are unusable on Debian GNU/Hurd

2007-12-19 Thread Kalle Olavi Niemitalo
Fabienne Ducroquet [EMAIL PROTECTED] writes: I've found that the function free_itrm is called later and it unsets these modes. free_itrm should be called only if an error or EOF occurs in terminal handling, or when ELinks is exiting. It is called by select_loop line 305 while i = 7 and n

Re: [elinks-dev] The Links/Links2/ELinks browsers are unusable on Debian GNU/Hurd

2007-12-20 Thread Kalle Olavi Niemitalo
Fabienne Ducroquet [EMAIL PROTECTED] writes: On Thu, Dec 20, 2007 at 06:29:51AM +0200, Kalle Olavi Niemitalo wrote: I mean, the compiler might merely have decided to load the address of free_itrm into a register at that point, or something like that. But how could I see

Re: [elinks-dev] upcoming Debian ELinks 0.11.3-1; release 0.11.4?

2008-01-14 Thread Kalle Olavi Niemitalo
Jonas Fonseca [EMAIL PROTECTED] writes: Do you or anybody else have any comments on outstanding issues for this release? There are several bugs that have been fixed in 0.12 or 0.13 and should perhaps be backported: 723 cri - After choosing a link from right frame ELinks crashes. 756 cri -

Re: [elinks-dev] unrecognized options in elinks.conf

2008-01-20 Thread Kalle Olavi Niemitalo
Jonas Fonseca [EMAIL PROTECTED] writes: Yeah, they are probably not generally useful besides for users and developers who should be knowing what they do. But it also feels a bit wrong to simply drop the warnings. With the option you propose, maybe the a single shorter warning message is

Re: [elinks-dev] Bug#337159: elinks: Does not recover from CTRL-Z

2008-01-22 Thread Kalle Olavi Niemitalo
Qingning Huo [EMAIL PROTECTED] writes: So what is the real reason of this bug, elinks is somehow confused whether it is at foreground? The reason is that fg in Bash nowadays does not send SIGCONT to the job if Bash has seen from waitpid() that the job is already running. ELinks expects to

Re: [elinks-dev] Bug#337159: elinks: Does not recover from CTRL-Z

2008-01-23 Thread Kalle Olavi Niemitalo
Y Giridhar Appaji Nag [EMAIL PROTECTED] writes: See also: http://bugs.debian.org/331409#57 Thank you for the pointer. However, I think it would be wrong to reopen bug 331409 for the Bash-ELinks interaction, because it was originally about a busy loop in Bash and that's not what happens in bug

[elinks-dev] parse_bencoding_integer does not detect all overflows

2008-01-26 Thread Kalle Olavi Niemitalo
In src/protocol/bittorrent/bencoding.c, parse_bencoding_integer does: off_t integer = 0; ... for (; pos length isdigit(string[pos]); pos++) { if (integer (off_t) integer * 10) return 0; integer = (off_t) integer * 10 +

[elinks-dev] Bug#464073: elinks: 07_local-CGI-query-fix.diff patches the wrong function in 0.12

2008-02-04 Thread Kalle Olavi Niemitalo
Package: elinks Version: 0.12~20080127-1 Severity: minor I see this in debian/patches/07_local-CGI-query-fix.diff: --- a/src/protocol/uri.c +++ b/src/protocol/uri.c @@ -143,7 +143,7 @@ static int check_whether_file_exists(unsigned char *name) { /* Check POST_CHAR etc ... */ -

Re: [elinks-dev] [patch/rfc] grafthistory: keep the downloaded pack, speed up git gc

2008-02-27 Thread Kalle Olavi Niemitalo
Jonas Fonseca [EMAIL PROTECTED] writes: +# Total size of .git/objects/pack/ was 90592 KiB without *.keep +# and 97397 KiB with *.keep. So *.keep reduced gc time by 70-80% +# but increased disk space usage by 7.5%. Maybe without this? Why, is it too revealing? I thought a user might notice

Re: [elinks-dev] Big files upload

2008-05-19 Thread Kalle Olavi Niemitalo
Witold Filipczyk [EMAIL PROTECTED] writes: (b) is not acceptable. I chose /dev/urandom. Okay but please add error handling and a check that fread() got all the bytes it wanted. E.g. on Windows, there will be neither /dev/urandom nor /dev/prandom, and ELinks should detect this rather than

Re: [elinks-dev] [PATCH] bzip2 still shows garbage in 0.13.GIT

2008-06-08 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: The following patch fixes this for me. Do you think it could cause any problems? I pushed something equivalent to master and elinks-0.12. pgp0EFVPj4Axl.pgp Description: PGP signature ___ elinks-dev

Re: [elinks-dev] Monthly snapshots

2008-06-20 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: I would much rather pay for hosting elsewhere. By the way, do you have any statistics on the disk and network usage at elinks.cz? pgpmYBB4vqdY8.pgp Description: PGP signature ___ elinks-dev mailing

Re: [elinks-dev] proposed ELinks 0.12pre1 release announcement

2008-07-01 Thread Kalle Olavi Niemitalo
: 768 files changed, 127871 insertions(+), 75184 deletions(-) 911 days, 2250 commits, 19 authors as listed below: Adam Golebiowski Eric Wald Jens Seidel Jonas Fonseca Kalle Olavi Niemitalo Laurent MONIN M. Levinson Miciah Dashiel Butler Masters Nerijus Baliunas Paul B. Mahol Pavol Babincak

[elinks-dev] ELinks 0.11.4 and 0.12pre1 update to Free Software Directory

2008-07-01 Thread Kalle Olavi Niemitalo
The Free Software Directory at http://directory.fsf.org/ lists ELinks 0.11.3 as the latest version. However, ELinks 0.11.4 was released on 2008-06-20, and ELinks 0.12pre1 was released today on 2008-07-01; please see http://elinks.cz/news.html for details on these releases. I have attempted to

[elinks-dev] Why does potfiles.list go in $(srcdir)?

2008-07-04 Thread Kalle Olavi Niemitalo
I'm changing contrib/mkdist to include po/elinks.pot in the ELinks release (not snapshot) tarballs, as recommended at http://translationproject.org/html/maintainers.html. Because mkdist checks the source out from the Git repository, which does not contain po/elinks.pot, it must build this file

Re: [elinks-dev] elinks crashes

2008-07-14 Thread Kalle Olavi Niemitalo
here.) -- Fix crash after a tab was opened during reload. --- commit b07fecc2be6eeb7e20e555f6128e50f1ed4ee7f9 tree 5df3f87ddb3ed9bae1126009cd755f7137c89cf6 parent 6b05cdb3a0a12e8cf8bae3860b1a59e86d3076a1 author Kalle Olavi Niemitalo

[elinks-dev] Why is timeout in struct document?

2008-07-21 Thread Kalle Olavi Niemitalo
When a script in a web page calls window.setTimeout, ELinks sets document.timeout. So, when two tabs are displaying the same document (e.g. test/ecmascript/scroll.html), only one of the tabs can have a timeout at a time. If that tab is closed, then nothing has a timeout any more. That does not

Re: [elinks-dev] please don't git describe in 0.12

2008-08-10 Thread Kalle Olavi Niemitalo
in this commit. --- commit c97654d02a95e6701481204121a4f4c59e8f3088 tree 9abf39a8d8dca5308ae77923702606bf630778b1 parent 71b9979bc74b66c1cf961d5c74de5c0b3cbf00a4 author Kalle Olavi Niemitalo [EMAIL PROTECTED] Sun, 10 Aug 2008 17:56:45 +0300 committer Kalle Olavi Niemitalo [EMAIL PROTECTED] Sun, 10 Aug 2008

[elinks-dev] gnutls/openssl.h changed to GPLv3+

2008-08-16 Thread Kalle Olavi Niemitalo
elinks-0.12/configure.in does: # Verify if the MD5 compatibility layer is usable. CONFIG_GNUTLS_OPENSSL_COMPAT=yes EL_CHECK_OPTIONAL_LIBRARY(CONFIG_GNUTLS_OPENSSL_COMPAT, [GNU TLS OpenSSL compatibility],

Re: [elinks-dev] elinks 0.13-20080905 internal error with a certian HTML file.

2008-09-14 Thread Kalle Olavi Niemitalo
I have pushed to master two patches that should together fix the crash: 0f6add14f263a032d9ad2e6060d5971c24777e59 Update document.comb_x and comb_y when splitting lines. 8548108e39a9427f69ddba5a5256d4a38cc0f408 Make document.comb_{x,y} not relative to part.box. As documented in configure --help

Re: [elinks-dev] [PATCH] Add support for nss_compat_ossl library (OpenSSL replacement).

2008-09-20 Thread Kalle Olavi Niemitalo
Kamil Dudka [EMAIL PROTECTED] writes: On Sunday 07 September 2008 02:05:07 Kalle Olavi Niemitalo wrote: Because you don't consider the nss_compat_ossl support stable, I think the configure script should select it only if the user explicitly requests it or no other SSL library is available. I

Re: [elinks-dev] 0.12pre2 and 0.11.5 next weekend?

2008-09-21 Thread Kalle Olavi Niemitalo
I have done steps 1-2 of doc/release.txt for elinks-0.11.5 and elinks-0.12pre2, i.e. the signed tags are in http://elinks.cz/elinks.git/. However, the elinks.cz server isn't letting me log in, so the tarballs and signature files are only at pasky.or.cz:~kon so far. pgpzjMwQxlc56.pgp

Re: [elinks-dev] [PATCH] Add support for nss_compat_ossl library (OpenSSL replacement).

2008-09-27 Thread Kalle Olavi Niemitalo
Kamil Dudka [EMAIL PROTECTED] writes: If you agree I forward this report to nss_compat_ossl maintainer. OK, I see you already did. Support for nss_compat_ossl must be requested by user now. I'm going to apply this version, but I noticed something odd. It appears you made the configure

Re: [elinks-dev] [PATCH] Add support for nss_compat_ossl library (OpenSSL replacement).

2008-09-27 Thread Kalle Olavi Niemitalo
Kamil Dudka [EMAIL PROTECTED] writes: Yes, if you specify DIR manually, pkg-config is not used. I think the same approach as here: https://fedoraproject.org/wiki/Nss_compat_ossl#Sample_Application I see. It's just that I had NSS in /usr from Debian but built and installed nss_compat_ossl in

[elinks-dev] Removing unclearly licensed test files

2008-09-28 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: test/align.html: from www.czech-tv.cz, no explicit license, so you may have to remove this test/css/idnes_mail.html: apparently from idnes.cz, no explicit license, so you may have to remove this test/erreurs_en.htm: unclear origin

Re: [elinks-dev] Crash when download ends

2008-09-28 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo [EMAIL PROTECTED] writes: I guess we should make destroy_terminal() search for download.term pointers to that terminal, and reset them to NULL. struct download is used in these structures: I wasn't thinking straight. The pointer is file_download.term, not download.term

[elinks-dev] libsmbclient GPLv3 license conflict

2008-10-01 Thread Kalle Olavi Niemitalo
Samba 3.2.0, released on 1 July 2008, switched to version 3 of the GNU General Public License. http://news.samba.org/releases/3.2.0/ AFAIK, this also applies to libsmbclient. So it may be illegal to distribute ELinks binaries linked with the current libsmbclient. The Debian elinks 0.12~pre1-1

Re: [elinks-dev] Crash when download ends (Crashes again !)

2008-10-03 Thread Kalle Olavi Niemitalo
أحمد المحمودي [EMAIL PROTECTED] writes: This time, the crash happened with the following scenario: 1. in tty4, I run elinks and browsed to freshmeat.net 2. in tty6, I ran elinks and went to download latest 0.13 snapshot of elinks. 3. After the download started, I closed the

[elinks-dev] charset licences in ELinks, and debian/copyright

2008-10-05 Thread Kalle Olavi Niemitalo
This mail became pretty long, so I'm listing the most important matters at the top and the details at the bottom. In commit d33968506bf39500f56ee120d4a98a30b5f114d4 in git://git.debian.org/git/collab-maint/elinks.git

Re: [elinks-dev] charset licences in ELinks, and debian/copyright

2008-10-06 Thread Kalle Olavi Niemitalo
Y Giridhar Appaji Nag [EMAIL PROTECTED] writes: The license is more permissive than GPLv2 and my understanding is that it is in the ELinks licensing terms that there should be an exception to allow works under the Unicode Consortium licensing to be used with it. That is, if a copy of these

  1   2   >