1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

981 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
c7987e331c NEWS: mention bug 927 2007-04-01 11:34:00 +03:00
Witold Filipczyk
a3862170ff Fix the memleak. Part II of the 927 bugfix.
[ From commit 27a66f59d9fff662667ae06ed7f09ecf154f9e9a in ELinks
  0.12.GIT.  --KON ]
2007-04-01 11:30:46 +03:00
Witold Filipczyk
7a56204271 The fix for the bug 927.
When tables were rendered first time html_format_part was called with
document==NULL. <meta http-equiv=Refresh.../> was inside a table,
so document was NULL. Second time the table knew its dimensions
and document was not NULL.

[ From commit e01785e462659972bcae53bff130a9300d714e6c in ELinks
  0.12.GIT.  --KON ]
2007-04-01 11:30:24 +03:00
Kalle Olavi Niemitalo
6bf41676b3 NEWS: show the severities of bugs; mention bug 872 2007-04-01 11:20:51 +03:00
Kalle Olavi Niemitalo
22524ad32b NEWS: mention bug 767 2007-04-01 11:02:20 +03:00
Laurent MONIN
b918ab57de Let be more tolerant with buggy meta refresh. It should fix bug 767.
[ From commit 36a277540ca578d3769d3225137bd008974fbbe2 in ELinks
  0.12.GIT.  --KON ]
2007-04-01 10:57:35 +03:00
Kalle Olavi Niemitalo
73696e34ce NEWS: mention bug 24 2007-04-01 00:39:39 +03:00
Kalle Olavi Niemitalo
935f02c0f0 BFU: Fix infinite loops in menus that have only unselectable elements.
src/bfu/menu.c (scroll_menu): Let neither menu->selected nor pos
become -2.

src/bfu/menu.c (menu_mouse_handler): Call set_menu_selection directly
rather than via scroll_menu, as sel is already known to be selectable.
(Not required for fixing the bug.)

src/bfu/menu.c (menu_search_handler): Break infinite loops also if
menu->selected is -1 initially.

src/bfu/menu.c (menu_handler): Instead of tweaking menu->selected
directly, let scroll_menu do it.

[ From commit 0a8633d07e660813f630e4ab389bb4da9be8bb63 in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:33:45 +03:00
Kalle Olavi Niemitalo
220b0d770a BFU: Fix searching in menus past unselectable items.
The bug was that menu_search_handler gave scroll_menu an incorrect
count because it didn't know that scroll_menu skips unselectable
items.

[ From commit 9fa5ae374f94ce1d7f4b27618920e10f282aba7f in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:32:03 +03:00
Kalle Olavi Niemitalo
22f1dedaad NEWS: mention bug 886 2007-04-01 00:19:56 +03:00
Kalle Olavi Niemitalo
681f34d8d0 Bug 886: Set cookies_dirty if a cookie is edited via the manager.
If the appropriate option is set, this now causes the cookies to be
immediately saved as well.

[ From commit 3cd0fbe5f07357268a215041979b6fa816e782a5 in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:16:36 +03:00
Kalle Olavi Niemitalo
0bdbb983b8 Bug 886: Update cookies_dirty after delete_cookie calls as appropriate.
[ From commit fad9c75cc6b04ea1f7513763d308dd1d96c5af74 in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:15:47 +03:00
Kalle Olavi Niemitalo
f311f3ea93 Bug 886: Postpone resaving the cookies until a bottom half.
[ From commit b79210ea1b047ec06d6ee7de3a2c21006f3da42e in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:13:25 +03:00
Kalle Olavi Niemitalo
89f1e654c6 Bug 886: Document why delete_cookie does not set cookies_dirty.
[ From commit 8ecf105cd52219ab4672a1e74b6e406250a19cc0 in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:11:26 +03:00
Kalle Olavi Niemitalo
72186129ec NEWS: mention bug 908 2007-04-01 00:03:04 +03:00
Miciah Dashiel Butler Masters
83663ac993 Re-use @fs in activate_link instead of introducing a new local variable
This optimisation is made possible by commit
4a9b80eea041d076fffde873ed8aa9a2a7487efa.

[ From commit 896cdab771ba94c78d61bdfaf3e6057d82d74804 in ELinks
  0.12.GIT.  --KON ]
2007-04-01 00:00:26 +03:00
Kalle Olavi Niemitalo
4a9b80eea0 Bug 908, activate_link: Set fs->state before the fs pointer becomes invalid.
[ From commit 15dce57bc9523d1ba3b36dcbfd6ed347189e1ae6 in ELinks
  0.12.GIT.  --KON ]
2007-03-31 23:59:14 +03:00
Kalle Olavi Niemitalo
9b7217e286 NEWS: mention bug 772 2007-03-31 23:07:37 +03:00
Kalle Olavi Niemitalo
0003e4762c Bug 772: Recognize ESC [ Z as Shift-Tab, and bind it like Alt-Tab by default.
[ From commit b42f0ba153dd5e8685999049198cd7eed2b871fb in ELinks
  0.12.GIT.  I'll add a NEWS entry as a separate commit.  --KON ]
2007-03-31 23:05:53 +03:00
Kalle Olavi Niemitalo
b406adce1f NEWS: mention bug 769 2007-03-31 23:00:51 +03:00
Laurent MONIN
fd83797cae HTTP DIGEST AUTH: fix wrong sizeof(), patch by Vitaly Lavrov (added to
AUTHORS). Close bug 769.

[ From commit c2ca89cab1e1bcfab5825648bde15c8ded21a7d6 in ELinks
  0.12.GIT.  I'll add a NEWS entry as a separate commit.  --KON ]
2007-03-31 22:55:52 +03:00
Kalle Olavi Niemitalo
e2f0608b89 NEWS: More details about Python goto_url_hook changes. 2007-03-28 00:21:32 +03:00
Kalle Olavi Niemitalo
9836e718cc NEWS: -remote changes don't deserve two separate entries. 2007-03-27 23:54:59 +03:00
Kalle Olavi Niemitalo
af82ab8af7 Advertise smb2.c to be included in ELinks 0.12.0. 2007-03-27 01:41:26 +03:00
Kalle Olavi Niemitalo
4829e4ad42 NEWS update
All relevant changes up to f135339a1a0257eae9568a59c703deb7a899772a.
2007-03-27 01:19:52 +03:00
Kalle Olavi Niemitalo
f135339a1a add_string_to_string: Don't fail if @from is empty.
Old versions of add_string_to_string returned the target string
unmodified if from->source pointed to a null character, which usually
meant that the source string was empty.  That was changed in commit
5e18576391f75ad84e04f9c8a30b93d08f0b92ab on 2004-11-03 so that
add_string_to_string instead returned NULL in that situation.  The
change seems to have been inadvertent.

I'm now reverting that change and also making add_string_to_string
check the emptiness of the source string based on the stored length
only, rather than on any null characters.  So the function can now
also be used with non-C strings containing embedded null characters.
Note that the previous version did not completely prevent embedded
null characters either, because it checked only the first character.

[ From commit 4a23d7fd82923008d4750e2cefd0b0aa576c2124 in ELinks
  0.12.GIT.  --KON ]
2007-03-18 21:18:02 +02:00
Witold Filipczyk
fd70a5b352 get_attr_value: do not do trim_chars
trim_chars was called only in debug mode and the results of the get_attr_val
for value=" something " in debug mode differ from normal and fastmem mode.

[ From commit e347122e6dff75dcb7fc1dc877c77ad16ed13c07 in ELinks
  0.12.GIT.  --KON ]
2007-03-18 13:50:34 +02:00
Witold Filipczyk
8104dc80cd accesskey: start iterating with next link.
Rotating between links with the same accesskey works.

[ Backported from commit d2970e57af189164275f334b8d0d5d505294fcc7
  in ELinks 0.12.GIT.  --KON ]
2007-03-18 13:22:42 +02:00
Witold Filipczyk
94ff057a6c Accesskey didn't work as it should.
[ Backported from commit 682ad62a974490246a7387a8bbdf197108c71137
  in ELinks 0.12.GIT.  --KON ]
2007-03-18 13:21:36 +02:00
Kalle Olavi Niemitalo
518cf082db add_html_to_string: If out of memory, roll back and return NULL.
[ Backported from commits 28645973e564a3e3018c00dcd4023e9bfcec471b
  and b7dddaa6853a404070265a2cfb8535e90f265801 in ELinks 0.12.GIT.
  --KON ]
2007-03-18 12:38:19 +02:00
Kalle Olavi Niemitalo
1c3c19c91b ftp, add_file_cmd_to_str: Check errors from string functions.
Use goto for error handling.  Free all strings in the same place.

[ Bug 942; backported from commit c6b8fa71511fa84a01ca8fa73e494427c7732742
  in ELinks 0.12.GIT.  --KON ]
2007-03-18 12:31:29 +02:00
Kalle Olavi Niemitalo
465166a940 Reject CR and LF characters in FTP pathnames.
[ Bug 942; backported from commit adfde652b99c297bc05fd4876249669cc34a01ad
  in ELinks 0.12.GIT.  --KON ]
2007-03-18 12:29:11 +02:00
Witold Filipczyk
feb3f21b34 ftp: ftp didn't handle filenames with spaces.
[ Bug 942; backported from commit 3f4de99f16ac819f292ca568095d7032d88e5a8b
  in ELinks 0.12.GIT.  I omitted the part of the patch that decodes
  FTP URLs for HTML TITLE, because I think it's an enhancement rather
  than a bug fix.  --KON ]
2007-03-18 12:28:06 +02:00
Kalle Olavi Niemitalo
2f4b3dae69 string_assert: First arg of elinks_internal is a format string.
[ Backported from commit a73d165fd7de7390f9ac6b5b6a47a676e7fbaa3f
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 14:02:17 +02:00
Kalle Olavi Niemitalo
0286a66c98 XBEL: Fix us-ascii charset lookup.
Previously, print_xml_entities did look up the charset, but did not
save the result anywhere and just used 0, leading to further lookups
in subsequent calls.  It worked by accident though, because the
codepage index of us-ascii currently is 0.

[ Backported from commit e325b748be810a08c2b6284b5b3d7a9ad765440d
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 14:01:08 +02:00
Kalle Olavi Niemitalo
fe886d198d textarea_edit: Cast size_t fx_maxlength to match "%u".
[ Backported from commit 0dfb88c802234c505d168b7536a09bfeebafa907
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 14:00:18 +02:00
Kalle Olavi Niemitalo
0b7097ca9f cgi: Avoid assertion failure when the POST data is empty.
[ Backported from commit 701e7e3e648fd86e0f152c9bda31796fe2a9be4e
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 13:57:34 +02:00
Witold Filipczyk
daf5d88405 cgi: Fix the possible memleak and close pipes in case of error.
[ Backported from commit 035ce283c7c284993260b21e796f4a3b5ee4b3d7
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 13:55:30 +02:00
Witold Filipczyk
a64dd281e9 POST method of CGI did not work. It works now.
[ Backported from commit eef7924ff1ff7508912fe592a7177d214944dfe3
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 13:50:09 +02:00
Kalle Olavi Niemitalo
8d9837a015 cgi: Ensure correct type of NULL pointer to variadic execl.
[ Backported from commit 4c636d74f1ee418b2dd6bc175954abb4ceb38b35
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 13:48:36 +02:00
Witold Filipczyk
4a624fceb8 cgi: set_nonblocking_fd
[ Backported from commit 2828d587b2eb78826ba8df9485fb5c5544a2f0e4
  in ELinks 0.12.GIT.  --KON ]
2007-03-11 13:47:26 +02:00
Kalle Olavi Niemitalo
7fdad68e7e Bug 937, http_send_header: Initialize the entry pointer.
In ELinks 0.12.GIT, it was already initialized before the bug 937 fix.
2007-02-25 17:11:38 +02:00
Kalle Olavi Niemitalo
7c0027bf26 Bug 937, http_send_header: Don't send all headers to CONNECT proxy.
Backported from ELinks 0.12.GIT (4e4dddb4cc729bd62ce120bf0b58e6476a092506).
2007-02-25 15:17:03 +02:00
Jens Seidel
4270182455 [INTL:de] German PO file corrections
[ From Debian bug 313696 --KON ]
2007-01-04 09:39:39 +02:00
Kalle Olavi Niemitalo
1f65dd2802 Bug 919, mem_mmap_realloc: Don't overflow the buffer when shrinking it.
The bug was possible only #ifndef HAVE_MREMAP, thus not on Linux.

Backported from ELinks 0.12.GIT (4ae90c798c7bdd46f9f306169df6064c469783c3).
2007-01-02 20:43:58 +02:00
Jonas Fonseca
d18333075d Bug 899: Fix size handling in FTP directory listings
This fixes parse_ftp_number to use off_t instead of long to store its
(intermediate) result and return type. It also introduces an OFFT_MAX type
"limit" that is used for validating the size of the parsed number.

A test-case for was added in 37c9bf3f7515c22f6d9e6e553de834f60185cac9 to
test-ftp-parser and the patch has been confirmed to fix the test-case by
adamg and me.  This closes bug 899, which is a duplicate of debian bug
403139.
2006-12-18 18:55:21 +01:00
Adam Golebiowski
fbe800e685 Small typo in polish translation. 2006-12-06 11:02:27 +01:00
Adam Golebiowski
308de298a6 Polish translation was updated. 2006-12-05 20:37:21 +01:00
Jonas Fonseca
a81e623492 Merge with git+ssh://pasky/srv/git/elinks#elinks-0.11 2006-12-04 21:59:49 +01:00
Jonas Fonseca
5e0dcf1aaf Bug 831: Make it possible to quote args given to -remote
This fixes the problem with URLs that contain commas and are passed to
ELinks using: -remote openURL(URL). Fixes bug 831.
2006-12-04 21:59:18 +01:00