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

1262 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
96fc8419df Bug 936: Allow Autoconf 2.59 too, for elinks.cz compatibility.
[ From commit 045c5509f5f89ad31b0493bdf28fd8676d86e445 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:54:18 +03:00
Kalle Olavi Niemitalo
c4873ba243 Bug 936: Require Autoconf 2.61 or later.
[ From commit b2d95b11f531516c6abbc5924ae828ae0337cac9 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:53:44 +03:00
Kalle Olavi Niemitalo
45767788b1 Bug 936: Create stamp-h.in in autogen.sh.
[ From commit 6572a506f2d434f831e5b372fa8ceb5ab37cdeaa in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:53:11 +03:00
Witold Filipczyk
6bec461302 contrib: Tool for view pages offline.
This tool is intended for developers to make debugging ELinks more fun.

[ From commit 4e310fd9aaa817e96887fd8e271f0221590a982b in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:51:49 +03:00
Witold Filipczyk
9470cbbc1e test, CGI: added a simple form to test CGI.
[ From commit 1b0bad8cbc33fcdb74b4dd362d1af8fe3e4cdd18 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:50:33 +03:00
Kalle Olavi Niemitalo
a8fd05b401 SMJS: Fix error "forms.namedItem is not a function".
Commit 63752c854b303f5f58636a512a137bf3702e051b on 2004-12-27
seems to have broken this.

[ From commit c9b2fbbd46c35948c229b6bcfd65f1b9a5755056 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:49:09 +03:00
Kalle Olavi Niemitalo
8d02ae75c8 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
    :)

[ From commit 9f75e1f094109ab10c473672484aa36bd4a01092 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:41:42 +03:00
Kalle Olavi Niemitalo
1f98a67552 Reapply 5a49b9f1, "NEWS: mention bug 951"
Revert commit 5a49b9f14d4b8bb30bfada4958c22e6a8cfab21e of 2007-05-28,
"NEWS: mention bug 951", which was reverted in commit
f55367933653b37a8d298697bccfdf462fb29cde on 2007-05-30.
It is now safe to apply because bug 956 has been fixed.
2007-07-02 22:36:08 +03:00
Kalle Olavi Niemitalo
907ef0b7d3 Reapply 644908c1, "Garbage-collect SMJS objects before flushing caches."
Reapply commit 644908c130210ed7b17a3bd1241244576b94c546 of 2007-05-28,
"Garbage-collect SMJS objects before flushing caches." which was reverted
in commit 6cd6a843d1592f8fe69370d33cc7f3a341d3531c on 2007-05-30.
It is now safe to apply because bug 956 has been fixed.
2007-07-02 22:34:11 +03:00
Kalle Olavi Niemitalo
e1e81db035 NEWS: mention bug 960 2007-07-02 22:28:15 +03:00
Kalle Olavi Niemitalo
ba54124f16 Bug 960: Redefine LOADMSGCAT_USE_MMAP instead of HAVE_MMAP.
And add a prominent notice as stipulated in GNU GPL version 2 section 2a.
2007-07-02 22:24:47 +03:00
Kalle Olavi Niemitalo
566039624f Bug 957: if_assert_failed in ecmascript_put_interpreter. 2007-07-02 22:21:40 +03:00
Kalle Olavi Niemitalo
13b1d26946 Bug 957: Assert that the ECMAScript interpreter is not running.
Add ecmascript_interpreter.backend_nesting, increment it when
beginning to evaluate an expression, and decrement it when evaluation
finishes.  Then assert that it is zero in ecmascript_put_interpreter.
This detects bug 957 and similar ones before they corrupt memory.

[ Backported from commit 58e3ebf2e70bf228ab741a39bcaf99e61b0ffb3a in
  ELinks 0.12.GIT.  --KON ]
2007-07-02 22:21:33 +03:00
Kalle Olavi Niemitalo
0cf60aefb5 NEWS: Bug 755 was fixed.
[ Backported from commit a0b3a3a349a49859a81a1e76e695e939b07e3ebc in
  ELinks 0.12.GIT.  --KON ]
2007-07-02 22:20:34 +03:00
Kalle Olavi Niemitalo
cd855a269c Bug 755: A hack to make SMJS preserve integers as private data.
The previous code cast the integer (long actually) to void * and gave
that to JS_SetPrivate.  This did not work because JS_SetPrivate
expects pointers to be aligned and replaces the least significant bit
with a tag.

[ From attachment 379 of bug 755.  This is less clean than attachment
  380 (aka commit 871a1befad3d9c37c59f228154d12fe37f594703 in ELinks
  0.12.GIT) but avoids the need to raise the SpiderMonkey version
  requirement in the ELinks 0.11 stable branch.  --KON ]
2007-07-02 22:17:39 +03:00
Kalle Olavi Niemitalo
c16a37a9ad SMJS: comment changes
[ Backported from commit 9743729cb11a085bb934b4d243316b8a808333e0 in
  ELinks 0.12.GIT.  --KON ]
2007-07-02 22:17:34 +03:00
Kalle Olavi Niemitalo
59b8eeb7fb SMJS: Use JS_GetInstancePrivate where applicable.
This is a further precaution against reading a pointer from the wrong
type of object.  All of the JS_GetPrivate calls were already protected
with JS_InstanceOf checks if assertions are enabled, and many of them
also if assertions are not enabled.

[ Backported from commit 99f648b911d4199944314723d3f3e4f55b844b67 in
  ELinks 0.12.GIT.  --KON ]
2007-07-02 22:17:29 +03:00
Witold Filipczyk
9bbd795787 bug 755: Fixed.
Remember the index of struct form_state in vs->form_info
instead of the pointer to it. The pointer may change,
the index is persistent.
The field ecmascript_obj of the struct form_state is unused.

[ Backported from commit ecc03ad608cea63b89877935529b2881336852cd in
  ELinks 0.12.GIT.  --KON ]
2007-07-02 22:17:22 +03:00
Kalle Olavi Niemitalo
a15079282a NEWS: mention bug 956 (and bug 954) 2007-07-02 22:17:06 +03:00
witekfl
3faeda97cb Make SpiderMonkey consistent with SEE. Do not cache ecmascript_objs
[ Backported from commit b4d9b7f5a60a64a26fcfffcb66a376cae5b31bc1 in
  ELinks 0.12.GIT, to fix bug 956.  --KON ]
2007-07-02 22:13:55 +03:00
Kalle Olavi Niemitalo
19831ea185 NEWS: sync with 0.12.GIT 2007-06-17 20:32:24 +03:00
Kalle Olavi Niemitalo
38497c4b37 Compare screen_driver.name with strcmp, not memcmp.
screen_driver_change_hook was comparing only strlen(name) characters
and ignoring the '\0'.  To reproduce the bug in ELinks 0.11.3 and
ELinks 0.12.GIT:

- Run TERM=screen elinks.
- In another terminal, run TERM=scr elinks.  Quit this slave ELinks.
- Open the terminal options dialog and set 16 colors.
- Open the option manager and change the terminal.scr.colors option to
  1 and back to 0.
- Note that ELinks no longer displays colors.

That bug could be fixed just by using len+1 instead of len.  However,
there is also another bug: memcmp may compare the specified number of
bytes, even if some of the earlier ones differ; thus, it could in
principle read past the end of the malloc block and thereby crash
ELinks.  Using strcmp may be a little slower but I do not believe it
could become a bottleneck.

[ Backported from commit f6f5eeceb75c4c034810486d558417cd23e09a54 in
  ELinks 0.12.GIT.  --KON ]
2007-06-17 20:10:42 +03:00
Kalle Olavi Niemitalo
b641515fcc Ignore src/ID and src/TAGS.
The former is for GNU id-utils and the latter is for GNU Emacs.
2007-06-17 19:41:14 +03:00
Kalle Olavi Niemitalo
fc356aefd7 NEWS: mention query parsing in file: URIs for local CGI 2007-06-17 14:23:01 +03:00
Witold Filipczyk
e96665134a Fix query-part parsing in file: URIs (local CGI).
It was broken in 0.11.2.GIT (a64dd281e9169ebfea963ad64ec36e4c7782aa67).
Since then, $QUERY_STRING has been empty for <file:///foo/bar?query>.
uri.data is documented as containing both the path and the query.

[ Commit message by me.  --KON ]
2007-06-17 13:40:39 +03:00
Kalle Olavi Niemitalo
6cd6a843d1 Revert 644908c1, "Garbage-collect SMJS objects before flushing caches."
Revert commit 644908c130210ed7b17a3bd1241244576b94c546,
"Garbage-collect SMJS objects before flushing caches."

The extra garbage collections increase the risk of crashing because of
dangling pointers in form_state.ecmascript_obj.  I don't think I'll
have time to properly document the bug and backport the fix before
the 0.11.4 release, so I'm reverting the change instead.
2007-05-30 00:56:01 +03:00
Kalle Olavi Niemitalo
f553679336 Revert 5a49b9f1, "NEWS: mention bug 951"
Revert commit 5a49b9f14d4b8bb30bfada4958c22e6a8cfab21e,
"NEWS: mention bug 951"

The extra garbage collections increase the risk of crashing because of
dangling pointers in form_state.ecmascript_obj.  I don't think I'll
have time to properly document the bug and backport the fix before
the 0.11.4 release, so I'm reverting the change instead.
2007-05-30 00:54:29 +03:00
Kalle Olavi Niemitalo
cfa6a6795d NEWS: add severities of bugs and sort accordingly 2007-05-28 11:21:40 +03:00
Kalle Olavi Niemitalo
5a49b9f14d NEWS: mention bug 951 2007-05-28 11:20:35 +03:00
Kalle Olavi Niemitalo
644908c130 Garbage-collect SMJS objects before flushing caches.
[ Backported from commit c33d195ff49597a808324791cb93a91cd37a868d in
  ELinks 0.12.GIT.  --KON ]
2007-05-28 11:14:00 +03:00
Kalle Olavi Niemitalo
d43e49d41e List "Triggered When" before "Arguments" in the event template.
That's the order in all existing event descriptions.

[ From commit 7a1644c252fab38e49f9cabbb466213a71737773 in ELinks
  0.12.GIT.  --KON ]
2007-05-28 11:11:23 +03:00
Kalle Olavi Niemitalo
bab045df73 List events in alphabetical order.
[ From commit 538e8eb8a51fddc93ef952704f33b8efa518efa6 in ELinks
  0.12.GIT.  --KON ]
2007-05-28 11:10:56 +03:00
Kalle Olavi Niemitalo
01c54027b9 NEWS: mention bug 461 2007-05-28 11:08:47 +03:00
Kalle Olavi Niemitalo
b935fbc6ca Bug 461: Ensure contrast when filling with spaces.
So that the cursor will be visible in the Linux console.

[ From commit c2ca46cb811936a28d1f7f5d78d84466e9e077a6 in ELinks
  0.12.GIT.  --KON ]
2007-05-28 11:08:06 +03:00
Kalle Olavi Niemitalo
8dbeec1c7e NEWS: mention ${CPPFLAGS} vs. ${AM_CFLAGS} 2007-05-28 10:55:27 +03:00
Kalle Olavi Niemitalo
78c0e74df0 build: Don't use $(AM_CFLAGS) anymore. Use $(CPPFLAGS) instead.
$(AM_CFLAGS) is one of the variables set by Automake, which ELinks no
longer uses.  $(CPPFLAGS) should be used whenever the C preprocessor
is run, according to the GNU Coding Standards.  (My build environment
does have an important -I option there.)

[ From commit 40e257bedd59c35b4a54c5e85e4391383ad6bf84 in ELinks
  0.12.GIT.  --KON ]
2007-05-28 10:53:18 +03:00
Kalle Olavi Niemitalo
65ea828654 NEWS: mention the SpiderMonkey check 2007-05-28 10:08:56 +03:00
Miciah Dashiel Butler Masters
98f8f536c4 Update SpiderMonkey configure check Debian compatibility
Support the new libmozjs packages in Debian unstable that replace the
old libsmjs packages.

[ From commits b2ec6e0a3e2c5b66ecb9d539236040e1391a833a and
  368504f73689f9f34913c29f5567596e4ab34b53 in ELinks 0.12.GIT.  --KON ]
2007-05-28 09:59:28 +03:00
Kalle Olavi Niemitalo
770b24f41e NEWS: Bug 950 now has a number. 2007-05-24 01:05:13 +03:00
Kalle Olavi Niemitalo
10504c626d NEWS: markup changes from 0.12.GIT 2007-05-11 09:47:03 +03:00
Kalle Olavi Niemitalo
646438fd95 NEWS: mention config/install-sh on SunOS 2007-05-11 09:45:30 +03:00
Kalle Olavi Niemitalo
33ba3bd8d4 Prepend $(top_builddir) to @INSTALL@ if it is relative.
Reported to elinks-users on 2006-08-23.

[ From commit 57a9871ea1c36f2a378dca139ff4fea8980bb1f6 in ELinks 0.12.GIT.
  Should fix an error building ELinks in the source directory on SunOS.
  The error was again reported to elinks-users on 2007-05-10.  --KON ]
2007-05-11 09:42:48 +03:00
Kalle Olavi Niemitalo
156f9722b2 NEWS: mention CVE-2007-2027 2007-05-06 10:19:38 +03:00
Jonas Fonseca
652a4bf663 Mention testing of po updates without installing ELinks
Also, fix bugzilla URL.
2007-05-03 12:39:28 +02:00
Jonas Fonseca
928f364ba2 Check if the program path contains "src/" before using ../po files
Don't look for gettext message catalogs in ../po/ unless ELinks is being
run as src/elinks, ./src/elinks, or .../src/elinks.

Discovered by Arnaud Giersch, this alternate fix (than what is in debian
package 0.11.1-1.4) closes debian bug #417789 and redhat bug #235411.
Also reported in: CVE-2007-2027.

Restricting it to only work with --enable-debug was also considered,
however, it is an important feature for translaters so this less
paranoid fix was chosen.
2007-05-03 12:39:22 +02:00
Kalle Olavi Niemitalo
908dbc2440 NEWS: bug 788 is more severe than mere warnings 2007-05-02 01:33:05 +03:00
Kalle Olavi Niemitalo
d580626a3c configure.in: Advertise smb2.c to be included in ELinks 0.12.0.
Should have been in commit af82ab8af7a2d368f56689a7e86316da9a520c40.
Related to commit a5656701ef7061d4acb0dc22105153d3169e315e in ELinks 0.12.GIT.
2007-05-02 01:05:44 +03:00
Kalle Olavi Niemitalo
6e755f0a2f NEWS: mention bug 788 2007-05-02 00:49:50 +03:00
Kalle Olavi Niemitalo
ba1f7d3b95 Bug 788: Define n_a variables if the POPpx macro of Perl needs them.
The configure script checks whether it is possible to compile a use of
POPpx without an n_a variable; if not, the source code then defines
those variables.  This is slower than including Perl's patchlevel.h
and comparing the version numbers to 5.8.8 but I expect this to be
more reliable as well.

[ Backported from commit 432969a3a96790f92ea0097795a36cfbf264999d in
  ELinks 0.12.GIT.  --KON ]
2007-05-02 00:47:11 +03:00
Petr Baudis
aedb588e2b Fix perl pre_format_html hook wrt. binary files
When trying to view a binary file, this hook would cut it at the first
'\0'.

[ From commit 5af21a8d29e1eb5995ba7fd6ed4f6a2a966ac452 in ELinks
  0.12.GIT.  --KON ]
2007-05-02 00:27:58 +03:00