1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
Commit Graph

175 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
2668602edc 1031: Mention in NEWS. 2008-07-16 14:55:31 +03:00
Kalle Olavi Niemitalo
e9d4d3aef2 Fix crash after a tab was opened during reload.
Commit 0b99fa70ca "Bug 620: Reset form
fields to default values on reload" made render_document() decrement
vs->form_info_len to 0 while vs->form_info remained non-NULL.
copy_vs() then copied the whole structure with copy_struct and did not
change form_info because form_info_len was 0.  Both view_state
structures had form_info pointing to the same memory block, causing a
segfault when destroy_vs() tried to free that block a second time.

Reported by أحمد المحمودي.
2008-07-15 11:43:03 +03:00
Kalle Olavi Niemitalo
6b05cdb3a0 1030: List the bug in NEWS.
(cherry picked from commit 295c7760f7)
2008-07-14 22:38:52 +03:00
Kalle Olavi Niemitalo
ddd36cafb4 Bug 1029: List in NEWS. 2008-07-12 01:59:18 +03:00
Kalle Olavi Niemitalo
079b97d21b Bug 1026: Protect callback of elinks.load_uri from GC 2008-07-12 01:37:51 +03:00
Kalle Olavi Niemitalo
12bb8fdfe7 NEWS: sync from 0.11.4.GIT
http://elinks.cz/release.html is generated from NEWS of elinks-0.12;
thus we should have all the news of 0.11.4.GIT here too.
2008-07-11 22:22:27 +03:00
Kalle Olavi Niemitalo
4649d0ccba Bug 951 should not be removed from NEWS before 0.12.0.
That's because the bug was in 0.11.4 as well.
2008-07-11 19:09:07 +03:00
Kalle Olavi Niemitalo
fd27acf784 Bug 1027, SMJS: make null mean "none" in elinks.keymaps
elinks.keymaps.main["/"] = null;
used to crash ELinks with a segfault in JS_ObjectIsFunction.
Fix that by recognizing JSVAL_NULL explicitly and treating it as "none".
Likewise, if keymap_get_property would return "none" to ECMAScript,
return JSVAL_NULL instead.
2008-07-11 17:08:35 +03:00
Kalle Olavi Niemitalo
314a41588c Bug 951: weaken pointer from JSObject to cache_entry
The SpiderMonkey scripting module handles the "pre-format-html" event
by constructing a JSObject for the struct cache_entry and then calling
elinks.preformat_html(cache_entry, view_state) if such a function
exists.  The problem with this was that each such JSObject kept the
struct cache_entry locked until SpiderMonkey garbage-collected the
JSObject, even if the user had not defined an elinks.preformat_html
function and the JSObject was thus never needed at all.  To work
around that, the SpiderMonkey scripting module ran a garbage
collection whenever the user told ELinks to flush caches.

Remove the SpiderMonkey scripting module's use of object_lock and
object_unlock on struct cache_entry, and instead make the pointers
weak so that ELinks can free the cache_entry whenever it wants even if
a JSObject is pointing to it.  Each cache_entry now has a pointer back
to the JSObject; done_cache_entry calls smjs_detach_cache_entry_object,
which follows the pointer and detaches the cache_entry and the JSObject
from each other.

This commit does not yet remove the workaround mentioned above.
2008-07-07 23:24:43 +03:00
Kalle Olavi Niemitalo
9c73f02083 NEWS: mention bug 1021, sync with 0.11.4.GIT
Because http://elinks.cz/release.html is made from this file,
I think we'll have to list both 0.11.4.GIT and 0.12pre1.GIT
even though it's a bit difficult to explain which fixes are
in which releases.
2008-07-04 23:01:42 +03:00
Kalle Olavi Niemitalo
aa681786d9 NEWS: list bug 955; add 0.12pre1.GIT section 2008-07-03 13:48:08 +03:00
Kalle Olavi Niemitalo
26a0afd8ae NEWS: 0.12pre1 was released on 2008-07-01 2008-07-01 15:31:39 +03:00
Kalle Olavi Niemitalo
c0ef72117d ELinks 0.12pre1 2008-07-01 03:11:44 +03:00
Kalle Olavi Niemitalo
d2a263ad4f NEWS: remove commented-out sections 2008-07-01 03:02:38 +03:00
Kalle Olavi Niemitalo
e0ffe66677 NEWS: 0.11.4 released, 674 and 770 fixed, 451 bogus 2008-06-21 01:49:34 +03:00
Kalle Olavi Niemitalo
ed17eb18df Bug 1016: Avoid JSFunctionSpec.
(cherry picked from commit 6bfaa7ca8d)

Conflicts:

	src/ecmascript/spidermonkey/form.c
	src/scripting/smjs/elinks_object.c
2008-06-17 00:25:59 +03:00
Kalle Olavi Niemitalo
28d2c6ef9a NEWS update, from elinks-0.11 and otherwise 2008-06-15 23:07:58 +03:00
Kalle Olavi Niemitalo
c2cf48f9e6 NEWS: bug 917 was fixed, but was not in previous versions 2008-06-15 20:13:18 +03:00
Kalle Olavi Niemitalo
04f62c1ebb NEWS: Enhancement 121 (internal copiousoutput) was reverted.
I am reverting all copiousoutput support because of bug 917.
2008-06-15 14:41:47 +03:00
Kalle Olavi Niemitalo
a833d6d093 Bug 1015: Define and use Py_ssize_t. 2008-06-09 23:18:03 +03:00
Kalle Olavi Niemitalo
5e4a565603 Bug 1014: Fix incompatible pointer type in init_perl.
The second argument of PERL_SYS_INIT3 should be a char ***
but ELinks was giving it a char *(*)[1].

Also, enlarge the array to 2 elements, so that my_argv[my_argc] == NULL
like in main().  PERL_SYS_INIT3 seems hardly documented at all so I'm
not sure this is necessary, but it shouldn't hurt.
(cherry picked from commit 8d0677e76a)
2008-06-08 20:40:17 +03:00
Kalle Olavi Niemitalo
2e1df1dc78 Bug 1012: Compile with -fno-strict-overflow or -fwrapv.
(cherry picked from commit b7312e6882)
2008-05-10 23:31:05 +03:00
Kalle Olavi Niemitalo
be3d0d1be0 NEWS: temporarily mention bug 991 2008-04-28 22:05:17 +03:00
Kalle Olavi Niemitalo
2463c1b2f8 Bug 939: Documented the fix.
The fix itself is in the parent commit.
(cherry picked from commit 4c390589ea,
 rewriting the NEWS entry because the bug also occurred on Debian)
2008-04-28 11:04:27 +03:00
Kalle Olavi Niemitalo
1ab670cfce NEWS: the elinks-0.11 branch is at 0.11.4rc1.GIT already 2008-04-28 11:03:40 +03:00
Kalle Olavi Niemitalo
2f79826bc0 NEWS: mention bug 1000
(cherry picked from commit 74c22adc69)
2008-03-02 17:45:30 +02:00
Kalle Olavi Niemitalo
b18190d01a Bug 1003: fix bug number in previous commit
(cherry picked from commit 0bb128238e)
2008-03-01 17:27:13 +02:00
Kalle Olavi Niemitalo
8b5de30f72 Bug 1001: fix uninitialized-pointer crash in URI rewriting
(cherry picked from commit 6d2e034007)
2008-03-01 16:09:41 +02:00
Kalle Olavi Niemitalo
79b69e0bf9 encoding: documentation 2008-02-24 20:45:33 +02:00
Kalle Olavi Niemitalo
a9da2d5802 NEWS: mention bug 534 2008-02-17 21:54:19 +02:00
Kalle Olavi Niemitalo
1127b66240 NEWS update 2008-02-17 21:49:09 +02:00
Y Giridhar Appaji Nag
4a1e296c3b Bug 1002: Fix build failure on Debian GNU/Linux arch powerpc
Change char id to enum bittorrent_message_id id to prevent FTBFS on
powerpc and s390
(cherry picked from commit 01b0c81227,
 with a conflict)
2008-02-10 14:34:21 +02:00
Kalle Olavi Niemitalo
6555359f8e Debian bug 464384: fix cast warning in ssl_connect
There are warnings about casts in the Debian amd64 build logs:
http://buildd.debian.org/fetch.cgi?&pkg=elinks&ver=0.11.3-2&arch=amd64&stamp=1200348983&file=log

	[CC]   src/intl/gettext/dcigettext.o
/build/buildd/elinks-0.11.3/src/intl/gettext/dcigettext.c: In function '_nl_find_msg':
/build/buildd/elinks-0.11.3/src/intl/gettext/dcigettext.c:745: warning: cast from pointer to integer of different size
/build/buildd/elinks-0.11.3/src/intl/gettext/dcigettext.c:746: warning: cast from pointer to integer of different size
...
	[CC]   src/network/ssl/socket.o
/build/buildd/elinks-0.11.3/src/network/ssl/socket.c: In function 'ssl_connect':
/build/buildd/elinks-0.11.3/src/network/ssl/socket.c:219: warning: cast to pointer from integer of different size

The warnings in _nl_find_msg were caused by alignof, which I already
fixed.  This commit ought to fix the gnutls_transport_set_ptr call in
ssl_connect.  This warning did not yet happen in bug 464384 because
the others broke the build before it got that far.
2008-02-09 15:19:20 +02:00
Kalle Olavi Niemitalo
d529a1f24d NEWS sync from 0.11.4rc0.GIT
Specifically 0.11.4rc0.GIT (c72730628a).
I changed the heading for that version though.
2008-02-09 14:11:50 +02:00
Laurent MONIN
9ba7079735 Patch: fix for bug 938
This patch prevents  handle_itrm_stdin() and clear_handlers(itrm->in.std) to be
called when -remote is set and in.std < 0.
It adds two assertions for in.std >= 0 in handle_itrm_stdin() and
unhandle_itrm_stdin().
May be a bad fix, please test and review.

[Added a NEWS entry.  --KON]
2008-02-09 14:11:21 +02:00
Kalle Olavi Niemitalo
3b93dcc472 Debian bug 464384: fix cast warning in alignof 2008-02-09 00:24:45 +02:00
Kalle Olavi Niemitalo
a3d093bd25 Bug 54: Don't disable XON/XOFF flow control.
Do not clear the IXON flag in termios.c_iflag.
Bug 54 did not actually ask for this flag to be kept,
but the cable I am using doesn't seem to have the handshake
lines connected right, so XON/XOFF is a must at 38400 bps,
at least until ELinks learns to send padding based on terminfo.

Any user who has bound actions to Ctrl+S or Ctrl+Q and finds that
they no longer work should just "stty -ixon" before running ELinks.
We don't have any default bindings for those keys, fortunately.
2008-02-04 23:22:15 +02:00
Kalle Olavi Niemitalo
cb1454918a Bug 54: Don't force 8-bit characters and no parity.
Actually, don't use the cfmakeraw function at all,
and don't look for it during configure either.

(cherry picked from commit 87f1661314
 but moved the NEWS entry into the 0.12 section)
2008-02-04 23:19:40 +02:00
Kalle Olavi Niemitalo
7e8e52d33f NEWS: mention bug 503 2008-02-03 20:44:06 +02:00
Kalle Olavi Niemitalo
49ea10a74d Bug 994: Treat only termios.c_cc[VERASE] as "Backspace".
When setting the tty device to raw mode, save the VERASE character.
Later, compare incoming bytes to that.

This is somewhat complicated because "stty verase undef"
sets termios.c_cc[VERASE] = _POSIX_VDISABLE, and e.g. Linux
defines _POSIX_VDISABLE as 0 but that must not cause ELinks
to treat incoming null bytes as backspaces.  Furthermore,
some systems may use different VDISABLE values for different
terminal devices, in which case _POSIX_VDISABLE is undefined
and ELinks must instead read the value from fpathconf().
2008-02-02 13:19:55 +02:00
Kalle Olavi Niemitalo
4f1f4edd5c NEWS update
All interesting changes made in 0.12.GIT until now are listed.
2008-01-26 22:42:32 +02:00
Kalle Olavi Niemitalo
9699a03e74 Don't assume sizeof(int)==4 in bittorrent
(cherry picked from commit f3bad399e2)
2008-01-26 16:47:47 +02:00
Kalle Olavi Niemitalo
4e7980d727 NEWS: sync from 0.11.3.GIT
Specifically ELinks 0.11.3.GIT (7515c9753f).
2008-01-22 00:45:09 +02:00
Kalle Olavi Niemitalo
e5922e4fe1 Bug 997: Fix unlikely stack corruption in get_pasv_socket.
It is unlikely because the standard members of struct sockaddr_in
(sin_family, sin_port, sin_addr) already require at least 8 bytes
and I don't know of any system that has size_t larger than that.
Besides, at least glibc pads the structure to 16 bytes.
2008-01-22 00:42:13 +02:00
Kalle Olavi Niemitalo
0c1b52637f get_pasv_socket: Use AF_INET6 when appropriate.
When get_pasv6_socket was merged into get_pasv_socket on 2005-04-15,
the AF_INET6 of get_pasv6_socket was lost and the merged function
always returned AF_INET sockets.  This then made getsockname fill
only part of the struct sockaddr_in6, and ELinks sent to the server
an EPRT command that had half the bits missing from the IPv6 address.
At least ftp.funet.fi then rejected the command, helpfully saying
what the address should have been.

This commit fixes active FTP over IPv6.  Passive FTP was already fixed
in 0.11.3.GIT (887d650efe), on 2007-05-01.
2008-01-22 00:41:25 +02:00
Kalle Olavi Niemitalo
654108c4f9 NEWS: Mention the five new move-* actions. 2007-12-16 01:16:50 +02:00
Witold Filipczyk
588e914470 bug 978: Python's webbrowser.open_new_tab(URL) works since now. 2007-11-22 19:10:45 +01:00
Kalle Olavi Niemitalo
cbcc0e8230 NEWS: Bug 975 was not in previous versions. 2007-11-19 22:57:55 +02:00
Kalle Olavi Niemitalo
507f779d8e NEWS: sync from elinks-0.11 2007-11-11 11:00:26 +02:00
Kalle Olavi Niemitalo
e667c43cd3 Bug 975: Fix int/size_t pointer type mismatch.
On machines where sizeof(size_t) > sizeof(int), this could corrupt the stack.
I think -Wno-pointer-sign added by configure hid this bug until now.
STRLEN is correct in Perl 5.6.0 and later, perhaps earlier too.
2007-11-10 19:28:01 +02:00
Kalle Olavi Niemitalo
916ba6783a NEWS: mention bug 972
Bug 972 was fixed in this commit, and reported afterwards:

    commit b1cc717789
    Author: Kalle Olavi Niemitalo <kon@iki.fi>
    Date:   Fri Jul 20 17:57:01 2007 +0300

        Preserve underlines in links when justifying.

I'm not fully updating NEWS yet.  Just this one bug.
2007-09-26 08:26:18 +03:00
Kalle Olavi Niemitalo
15c28eaa18 NEWS: mention bugs 723, 869 2007-07-29 14:06:34 +03:00
Kalle Olavi Niemitalo
14c5017238 NEWS: mention bug 744 2007-07-19 17:18:54 +03:00
Kalle Olavi Niemitalo
d6481a680a NEWS: mention MinGW 2007-07-18 00:45:32 +03:00
Kalle Olavi Niemitalo
a0d7c3e7f6 NEWS: mention bug 766 2007-07-15 23:41:17 +03:00
Kalle Olavi Niemitalo
71a1739f82 NEWS: sync from 0.11.3.GIT 2007-07-10 17:01:09 +03:00
Kalle Olavi Niemitalo
c862cf2bce NEWS: mention bugs 613, 714, 961 2007-07-10 15:27:30 +03:00
Kalle Olavi Niemitalo
b727c55786 NEWS: sync with 0.11.3.GIT 2007-07-02 23:56:25 +03:00
Kalle Olavi Niemitalo
c377f54230 NEWS: mention bug 960
[ From commit e1e81db035 in ELinks
  0.11.3.GIT.  --KON ]
2007-07-02 23:49:06 +03:00
Kalle Olavi Niemitalo
c1e89ee375 NEWS: mention bug 936 2007-07-02 21:11:47 +03:00
Kalle Olavi Niemitalo
2002e245d6 Bug 755: Document that SpiderMonkey 1.5 RC3 no longer works.
The SpiderMonkey support in ELinks now uses JS_GetReservedSlot,
which was added in SpiderMonkey 1.5 RC3a, released on 2001-05-11.
So ELinks no longer supports earlier versions of SpiderMonkey.
However, be careful not to claim that ELinks needs "SpiderMonkey
1.5 RC3a or later", because we haven't tested 1.5 RC3a.
(I guess we didn't test zlib 1.2.0.2 either... oh, well.)
2007-06-27 23:40:41 +03:00
Kalle Olavi Niemitalo
f0ab7774ea NEWS: temporarily mention bug 920 2007-06-23 23:30:30 +03:00
Kalle Olavi Niemitalo
e0984481b0 NEWS: mention bug 957, in the commented-out part 2007-06-23 16:08:47 +03:00
Kalle Olavi Niemitalo
9f75e1f094 Link to gitweb at repo.or.cz, rather than pasky.or.cz.
The history converted from CVS is not in repo.or.cz though, so keep
referring to pasky.or.cz for that.  (We don't seem to use
"gitweb.elinks.cz", which is a DNS alias for pasky.or.cz.)

<paakku> Do you think we should maybe point people to gitweb at
    repo.or.cz rather than pasky.or.cz?
<pasky> absolutely
<pasky> actually I thought we already are pointing people at
    repo.or.cz
<pasky> at least there was some movement to do that already, I believe
    :)
2007-06-21 10:29:06 +03:00
Kalle Olavi Niemitalo
84032c2148 NEWS: sync with 0.11.3.GIT and update 2007-06-17 20:31:29 +03:00
Kalle Olavi Niemitalo
f0119e1944 Check for gzclearerr in configure. Document needing zlib >= 1.2.0.2.
It was reported at elinks-dev on 2007-06-03 that Solaris 10 comes with
zlib 1.1.4, which does not include gzclearerr(), which ELinks nowadays
requires.  It would be possible to rewrite the decompression support
to use deflate() directly and avoid stdio, in which case gzclearerr()
would not be needed.  That will take some time however, so I'm not
attempting it for ELinks 0.12.0.  Instead, I'm just disabling gzip
decompression entirely if zlib is too old.
2007-06-11 10:15:43 +03:00
Kalle Olavi Niemitalo
174b1f3af5 NEWS: ELinks 0.10.0 and later are GPLv2 only. 2007-06-10 13:08:50 +03:00
Kalle Olavi Niemitalo
444df743cc NEWS: The remaining ECMAScript bugs don't crash ELinks. 2007-05-27 23:20:19 +03:00
Kalle Olavi Niemitalo
a0b3a3a349 NEWS: Bug 755 was fixed. 2007-05-27 20:50:05 +03:00
Kalle Olavi Niemitalo
33242f9375 NEWS: Bug 951 now has a number.
I trust Miciah will change the "their" to "them" if appropriate.
2007-05-27 10:53:48 +03:00
Kalle Olavi Niemitalo
c703202bf9 NEWS: Compilation under gcc 4.x was fixed already in 0.11.3. 2007-05-26 21:29:03 +03:00
Kalle Olavi Niemitalo
1b9c638ccf NEWS: remove what seems to be a duplicate of bug 950 2007-05-26 21:16:53 +03:00
Kalle Olavi Niemitalo
1154021242 NEWS: Bug 950 now has a number. 2007-05-24 01:08:25 +03:00
Kalle Olavi Niemitalo
e59a979075 NEWS: mention bug 461 2007-05-20 19:36:47 +03:00
Kalle Olavi Niemitalo
b9ec321869 Bug 822: Make --enable-utf-8 the default.
Experimental features should be disabled by default, so this is no
longer considered experimental.
2007-05-20 18:07:35 +03:00
Kalle Olavi Niemitalo
de94205969 NEWS: sync from 0.11.3.GIT 2007-05-11 09:47:50 +03:00
Kalle Olavi Niemitalo
c254d66486 NEWS: more AsciiDoc markup 2007-05-06 19:55:36 +03:00
Kalle Olavi Niemitalo
d593d61c85 NEWS: merge most categories, sort by severity, sync 0.11.3.GIT 2007-05-06 11:09:01 +03:00
Kalle Olavi Niemitalo
d1fa336f7f NEWS: prune some build fixes that were backported already 2007-05-04 11:26:34 +03:00
Kalle Olavi Niemitalo
815a70b8ee NEWS: Add newlines to make AsciiDoc realize these are lists. 2007-05-02 11:41:49 +03:00
Kalle Olavi Niemitalo
e4122eee36 NEWS: shorten, reformat, and sort by severity 2007-05-02 11:30:33 +03:00
Kalle Olavi Niemitalo
0c9b740b60 NEWS: updates to bugs 691, 725, 788, 790 2007-05-02 09:43:01 +03:00
Kalle Olavi Niemitalo
e077486e4d NEWS: finished scan of bugzilla.elinks.cz 2007-05-01 23:45:30 +03:00
Kalle Olavi Niemitalo
6b2ef468dc NEWS: sync from 0.11.3.GIT (705f8d549f) 2007-05-01 17:54:46 +03:00
Kalle Olavi Niemitalo
a14b830722 Bug 947, NEWS: The option is wrap_nbsp, not wrap_html. 2007-05-01 13:54:57 +03:00
Kalle Olavi Niemitalo
341d54151f Debian bug 380347: Prevent a buffer overflow in entity_cache. 2007-05-01 11:23:25 +03:00
Kalle Olavi Niemitalo
8b010bb27d NEWS: mention bug 816 2007-04-29 23:33:23 +03:00
Kalle Olavi Niemitalo
65fbb90413 NEWS: mention bugs 928, 947 2007-04-26 23:53:39 +03:00
Kalle Olavi Niemitalo
2f25d3e57c Bug 712, ssl_set_no_tls: Disable TLS protocols for GnuTLS too.
And log this in NEWS, although that may have to be reverted later if
it turns out this change just hides a real bug elsewhere in ELinks.
2007-04-21 13:58:20 +03:00
Kalle Olavi Niemitalo
689d80fada NEWS: Clarify that these are bug numbers.
This will let the elinks-web tree link to the bugs automatically.
2007-04-16 22:49:35 +03:00
Kalle Olavi Niemitalo
dffdb9fdda NEWS: ELinks 0.11.3 was released. 2007-04-16 20:07:32 +03:00
Kalle Olavi Niemitalo
663f9ecfcf NEWS: mention bug 945 2007-04-15 02:22:11 +03:00
Kalle Olavi Niemitalo
13d00f8049 NEWS: Moved Tiny C Compiler advice to a separate file. 2007-04-14 16:53:25 +03:00
Kalle Olavi Niemitalo
3308e41c31 NEWS: List release dates, from mailing list announcements. 2007-04-14 12:31:09 +03:00
Kalle Olavi Niemitalo
753e2c405c NEWS update 2007-04-12 01:05:31 +03:00
Kalle Olavi Niemitalo
253f55b222 NEWS: Mark Tiny C Compiler support experimental because of many problems. 2007-04-09 16:38:13 +03:00
Kalle Olavi Niemitalo
e92e5a4827 NEWS update 2007-04-09 12:35:55 +03:00
Kalle Olavi Niemitalo
9f64320a3b NEWS rearrangements 2007-04-07 00:01:56 +03:00
Kalle Olavi Niemitalo
4b754b33e6 NEWS: Sync from 0.11.2.GIT commit 452d4c0f61. 2007-04-06 14:33:57 +03:00
Kalle Olavi Niemitalo
d093704166 NEWS: Number the future releases. 2007-04-05 11:08:00 +03:00