1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-02 02:15:28 +00:00
Commit Graph

1268 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
783b52a41e NEWS: mention bug 1021 2008-07-04 22:46:32 +03:00
Kalle Olavi Niemitalo
bced779fdb Bug 1021: initialize version in http_got_header
gcc-4.3 -O2 was complaining that http_got_header may use uninitialized
version.major and version.minor.  That indeed happened with HTTP/0.9
servers, and the PRE_HTTP_1_1(version) check then had an undefined
result, so http->close could remain 0 even though it should have
become 1; fortunately, it was then set to 1 anyway, because there was
no Content-Length header.  The undefined version was also saved in
http->recv_version, but it appears nothing ever reads that.  So in the
end, the bug did not cause any symptoms at runtime, but the warning
broke the build on gcc-4.3 if ELinks was configured with --enable-debug.
(cherry picked from commit 5c0128d82d)
2008-07-04 22:40:58 +03:00
Kalle Olavi Niemitalo
19e2b5fd83 grafthistory: support curl
Mac OS X comes with curl (in the com.apple.pkg.BSD package)
but not with wget.
(cherry picked from commit 14cb43f403)
2008-07-03 11:41:34 +03:00
Kalle Olavi Niemitalo
332438b0c7 grafthistory: keep the downloaded pack, speed up git gc
To segregate the historical commits (can't remember why),
I originally placed their pack in an alternate object store,
but later I found that a *.keep file does the job as well.
This gives a considerable speedup in git gc.  It takes some
more disk space but OTOH you might then run gc more often
and have fewer loose objects.

real      user      sys      (tested in this order)
1m15.900s 0m59.732s 0m4.336s gc after clone&graft without *.keep
0m23.162s 0m17.549s 0m1.588s gc after clone&graft with *.keep
0m06.932s 0m04.440s 0m0.588s gc after clone&graft&gc with *.keep
0m32.214s 0m24.138s 0m2.284s gc after clone&graft&gc without *.keep

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%.
(cherry picked from commit d2c5aeb2c7)
2008-07-03 11:41:23 +03:00
Kalle Olavi Niemitalo
c6421966a7 grafthistory: comment about downloading the pack index
(cherry picked from commit 6139c2ffb5)
2008-07-03 11:41:08 +03:00
Kalle Olavi Niemitalo
80bb49dfff grafthistory: exit if a command fails
(cherry picked from commit bc42af691b)
2008-07-03 11:40:57 +03:00
Kalle Olavi Niemitalo
521a21d74e grafthistory: git-* commands are deprecated
The fully dashed form git-update-server-info is deprecated
in Git 1.5.4 and will cease to work in Git 1.6.0 (unless
PATH is modified).  Use git update-server-info instead.
(cherry picked from commit 31255d4a4d)
2008-07-03 11:40:46 +03:00
Kalle Olavi Niemitalo
cbb4f79818 THANKS: Remove link to HSTI webpage as the domain is for sale.
(cherry picked from commit 74e2b217b2)
2008-07-02 20:26:39 +03:00
Kalle Olavi Niemitalo
9f520d331d NEWS: 0.11.4 was released on 2008-06-20 2008-06-21 01:44:38 +03:00
Kalle Olavi Niemitalo
fa7f953d15 NEWS: unlist bogus "bug 451"
When fixing bug 1014, I had added the wrong bug number 451 to NEWS.
Later, I had noticed bug 1014 was missing from NEWS, and added that too.
Don't mention bug 451, which was tagged INVALID already in 2004
and has no real connection to the ELinks 0.11.4 release.
2008-06-21 01:12:54 +03:00
Jonas Fonseca
08433c422c elinks-0.11.4.GIT 2008-06-20 22:16:36 +02:00
Jonas Fonseca
8015269e36 elinks-0.11.4 2008-06-20 21:58:14 +02:00
Jonas Fonseca
044021c532 Update manpages for 0.11.4 2008-06-20 21:57:12 +02:00
Jonas Fonseca
84b6662967 Update po files 2008-06-20 21:47:17 +02:00
Kalle Olavi Niemitalo
e790cdd030 NEWS: Remove the "should be removed" section.
The ELinks 0.11.4 release seems imminent.
2008-06-20 21:58:35 +03:00
Kalle Olavi Niemitalo
e9b7f5d29f NEWS: Critical bug 674 is a duplicate of 956. 2008-06-20 21:57:28 +03:00
Kalle Olavi Niemitalo
6bfaa7ca8d Bug 1016: Avoid JSFunctionSpec. 2008-06-17 00:12:21 +03:00
Kalle Olavi Niemitalo
b166ce38b2 NEWS: mention bug 1014
According to <http://bugzilla.elinks.cz/show_bug.cgi?id=1014#c3>,
I should have already added this to NEWS.  Apparently I hadn't.
2008-06-15 23:06:40 +03:00
Kalle Olavi Niemitalo
8d0677e76a 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.
2008-06-08 20:38:50 +03:00
Paul B. Mahol
9dbfdb4738 Recognize Insert key on cons25 (FreeBSD console)
(cherry picked from commit b03ddccf08)

Conflicts:

	AUTHORS
	src/terminal/kbd.c
2008-05-31 21:30:40 +03:00
Miciah Dashiel Butler Masters
200e7ee259 save_textarea_file: don't return a dangling pointer if open fails
If fdopen failed, save_textarea_file would free the filename, but it still returned the pointer to the filename.  With this commit, save_textarea_file will return NULL if fdopen fails.
2008-05-21 20:30:33 +00:00
Witold Filipczyk
e95971db0f pl.po: Question marks. 2008-05-16 11:22:38 +02:00
Witold Filipczyk
d52150ff9d Test commit. 2008-05-15 19:24:39 +02:00
Witold Filipczyk
e752099b09 Test whether CIA works. 2008-05-15 18:11:27 +02:00
Kalle Olavi Niemitalo
b7312e6882 Bug 1012: Compile with -fno-strict-overflow or -fwrapv. 2008-05-10 23:30:00 +03:00
Kalle Olavi Niemitalo
481041ae48 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 10:59:20 +03:00
Witold Filipczyk
26a4033cca fsp: Fixed a serious bug.
*fresult pointed to nowhere. On FreeBSD *fresult == NULL
and directories weren't displayed.
Check also if safe_write writes all data.
(cherry picked from commit 06bcc48487)
2008-04-28 10:40:14 +03:00
Witold Filipczyk
23ff9ac7a9 bittorrent: Overflow occuring when a piece was rejected. 2008-03-25 22:37:13 +01:00
Kalle Olavi Niemitalo
003d09ed78 elinks.conf.5: quoting corrections
In set and unset commands, the <option> must not be quoted.  In the
sample protocol.user.mailto.unix setting, the internal quotes were
using some manpage syntax, resulting in incorrect HTML output.
(cherry picked from commit 857c27e8b6)
2008-03-08 16:27:17 +02:00
Miciah Dashiel Butler Masters
bec425d650 elinks.conf.5: Correct description of 'unset' directive
The 'unset' directive does not take a value.
(cherry picked from commit dc7731d30d)
2008-03-08 16:27:17 +02:00
Kalle Olavi Niemitalo
bedf76bda4 update-man: Install manpages to srcdir, not builddir.
elinks.1.in, elinkskeys.5, and elinks.conf.5 are included in the Git tree,
so they are initially in the srcdir, and that's were the new versions must go.
(cherry picked from commit 9cae6a4fa4)
2008-03-08 16:27:17 +02:00
Kalle Olavi Niemitalo
183eafcc02 keys2doc: Change \"foo\" to "foo".
(cherry picked from commit d73632d7de)
2008-03-08 16:27:16 +02:00
Jonas Fonseca
190b340c90 Update Danish translation 2008-03-06 16:22:37 +01:00
Witold Filipczyk
af66d330c9 Mark option changed in "File extensions -> Add".
Previously, file extensions added or modified via the menu did not get
saved to elinks.conf when config.saving_style was 3 (the default).
This patch makes the file-extension dialog box call option_changed,
which then sets OPT_TOUCHED, so that the option appears modified in
the option manager and will be saved.

[ Reported by Witek; original patch by me; adapted to 0.11 by Witek;
  commit message by me.  --KON ]
2008-03-04 23:46:17 +02:00
Adam Golebiowski
bc640bf7d1 pl.po: Shortcut key for File/resize terminal changed from 't' to 'r'. 2008-03-04 22:12:38 +01:00
Witold Filipczyk
eda6c6ba24 Polish translation was updated. 2008-03-04 13:17:05 +00:00
Jonas Fonseca
f52d0a70ba elinks-0.11.4rc1.GIT 2008-03-04 10:26:11 +01:00
Jonas Fonseca
56ac81c474 elinks-0.11.4rc1 2008-03-04 10:23:09 +01:00
Jonas Fonseca
2bfc7b3724 Minor fixes and improvements to option strings
This syncs some changes (ie. -> e.g. etc.) from elinks-0.12 or beyond.
I noticed them while updating the web pages, and apologize that I will
not spent the time to attribute it to the individual commits.

Update elinks.conf(5) while at it.
2008-03-03 03:03:11 +01:00
Jonas Fonseca
0ecc8b9d60 Add description and version info to manpages
This adopts customized docbook manpage header from git's
Documentation/asciidoc.conf and does away with a couple of
ugly hacks.
2008-03-03 02:51:25 +01:00
Jonas Fonseca
8fd01fa28d elinks.conf(5): Rewrite using AsciiDoc 8.2.1 and DocBook XSL 1.72.0
This removes the SMB config options from the manpage.
2008-03-03 02:35:32 +01:00
Jonas Fonseca
9a51cae5a1 elinkskeys(5): Rewrite using AsciiDoc 8.2.1 and DocBook XSL 1.72.0 2008-03-03 02:34:52 +01:00
Jonas Fonseca
3de420d72f keys2doc: fix handling of dots (.) in description list term
Quote character keybindings to workaround unescaped (resulting to
invisible) dots in elinkskeys(5).
2008-03-03 01:59:01 +01:00
Jonas Fonseca
dc497964e9 keys2doc: map the KBD_MOD_SHIFT modifier to Shift-prefix 2008-03-03 01:39:28 +01:00
Jonas Fonseca
3ea7939b0d elinks(1): update and polish; leave out the platform section
The list of platforms are better maintained on the homepage.
2008-03-02 23:29:17 +01:00
Jonas Fonseca
b09b149986 elinks(1): Rewrite using AsciiDoc 8.2.1 and DocBook XSL 1.72.0
It basically rewrites the nroff formatting of the elinks(1) manpage and
is mainly checked in separately to make it easier to review later
updates.
2008-03-02 23:15:25 +01:00
Kalle Olavi Niemitalo
74c22adc69 NEWS: mention bug 1000 2008-03-02 16:36:29 +02:00
Witold Filipczyk
3a4c053bd5 bug 1000: Do not discard the query part of URI. 2008-03-02 13:52:19 +02:00
Kalle Olavi Niemitalo
0bb128238e Bug 1003: fix bug number in previous commit 2008-03-01 16:57:43 +02:00
Kalle Olavi Niemitalo
6d2e034007 Bug 1001: fix uninitialized-pointer crash in URI rewriting 2008-03-01 15:33:41 +02:00