1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00
Commit Graph

3078 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
83e3cb1efb configure.in: Actually the snapshots aren't daily. 2007-07-12 18:25:14 +02:00
Kalle Olavi Niemitalo
5a6740a3ad NEWS: sync from 0.11.3.GIT 2007-07-10 18:35:53 +02:00
Kalle Olavi Niemitalo
46f7a7fc89 NEWS: mention bugs 613, 714, 961 2007-07-10 18:35:48 +02:00
Kalle Olavi Niemitalo
1a343f53a5 Don't treat spidermonkeydir="" and luadir="" as special.
Previously, an empty string as spidermonkeydir or luadir meant
that the LIBS and CFLAGS variables should be used unchanged.  A few
commits ago however, the configure script was changed to require
test -f "$spidermonkeydir$spidermonkeyinclude/jsapi.h" and
test -f "$luadir/include/lua$suffix/lua.h" to succeed.  These
commands interpret spidermonkeydir="" and luadir="" as the root
directory.  This behaviour was inconsistent with the part that
decides whether to add the directory to *_LIBS and *_CFLAGS or not.

The inconsistency could be solved in two ways.  Either (a) add an
exception so that the test -f is skipped if the variable is empty,
or (b) treat an empty string as the root directory throughout.

Because the Makefile of SpiderMonkey always installs to a subdirectory
of the specified include directory, and ELinks uses #include <jsapi.h>
without specifying that subdirectory in source code, it seems unlikely
that the SpiderMonkey header files would ever be in the default
include path.  I am therefore implementing solution (b) here.

I suppose similar considerations apply to Lua but did not check that
carefully.
2007-07-10 18:35:39 +02:00
Kalle Olavi Niemitalo
2a1371d292 Debian bug 431211: Correct GNU GPL version in debian/copyright. 2007-07-07 09:10:34 +02:00
Witold Filipczyk
be20f22f04 Moved debian to contrib/debian. 2007-07-07 09:10:23 +02:00
Witold Filipczyk
f4384eaf10 Autoupdated configure.in and config/m4/*.m4. Obsolete macros removed. 2007-07-05 15:03:59 +02:00
Witold Filipczyk
286982f787 configure.in: X11 - try link an executable using -lX11. 2007-07-05 14:34:06 +02:00
Witold Filipczyk
84da0c5ccb configure.in: Speedup lua finding. 2007-07-03 18:20:14 +02:00
Witold Filipczyk
b2d783351b configure.in: Faster lookup for SpiderMonkey. 2007-07-03 14:21:32 +02:00
Kalle Olavi Niemitalo
6d67c3681c NEWS: sync with 0.11.3.GIT 2007-07-03 07:59:46 +02:00
Kalle Olavi Niemitalo
03569b6a59 NEWS: mention bug 960
[ From commit e1e81db035 in ELinks
  0.11.3.GIT.  --KON ]
2007-07-03 07:59:41 +02:00
Kalle Olavi Niemitalo
3071f2b60b Bug 960: Redefine LOADMSGCAT_USE_MMAP instead of HAVE_MMAP.
And add a prominent notice as stipulated in GNU GPL version 2 section 2a.

[ From commit ba54124f16 in ELinks
  0.11.3.GIT.  --KON ]
2007-07-03 07:59:36 +02:00
Kalle Olavi Niemitalo
e2ce792ec9 Bug 957: if_assert_failed in ecmascript_put_interpreter.
[ Forward ported from commit 566039624f
  in ELinks 0.11.3.GIT.  --KON ]
2007-07-03 07:59:30 +02:00
Kalle Olavi Niemitalo
47762bd388 NEWS: mention bug 936 2007-07-02 20:41:24 +02:00
Kalle Olavi Niemitalo
d08f16de96 Bug 936: Allow Autoconf 2.59 too, for elinks.cz compatibility. 2007-07-02 20:41:01 +02:00
Kalle Olavi Niemitalo
75d794e538 Bug 936: Require Autoconf 2.61 or later. 2007-07-02 20:40:33 +02:00
Kalle Olavi Niemitalo
732d35c666 Bug 936: Create stamp-h.in in autogen.sh. 2007-07-02 20:40:03 +02:00
Witold Filipczyk
82c832f514 DOM ecmascript: Removed unused functions. register_row does the job. 2007-07-02 11:46:01 +02:00
Witold Filipczyk
1db5affa6d DOM Ecmascript: Compilation fix when compiled --with-see. 2007-07-01 12:54:05 +02:00
Witold Filipczyk
81bef35b02 configure.in: Do not check for SEE without --enable-see.
Use #error instead of choke_on_see(), because choke_on_see could
be defined by some library (very unlikely).
2007-07-01 12:49:11 +02:00
Witold Filipczyk
a033323639 configure: Check for see-2.0 or later. 2007-06-30 18:42:27 +02:00
Kalle Olavi Niemitalo
cb4b6bc0ac 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-29 18:24:02 +02:00
Witold Filipczyk
6d2f111a11 Bug 755: Check for JS_GetReservedSlot in configure.in
I'm not sure if JS_GetReservedSlot exists in all versions of the SpiderMonkey.
IMHO the configure script should check for JS_GetReservedSlot.
The patch in the attachment.
2007-06-29 18:23:56 +02:00
Witold Filipczyk
f0c720c19b DOM ecmascript: Defined getElementById. 2007-06-29 17:37:33 +02:00
Witold Filipczyk
fc8c5fa024 DOM ecmascript: register/unregister anchors, applets, forms, images and links. 2007-06-28 15:25:45 +02:00
Witold Filipczyk
6efff6f21d DOM ecmascript: Defined properties of HTMLDocument. 2007-06-28 14:47:35 +02:00
Witold Filipczyk
6949b91db1 DOM ecmascript: moved the ecmascript_ctx to the struct dom_node.
JSContext is accessible from every node.
2007-06-28 14:17:17 +02:00
Kalle Olavi Niemitalo
4c81e5e1c8 Bug 755: Save the form_state index in a reserved slot, not 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.  By using JS_SetReservedSlot instead, we get control of
the jsval conversions and can store the integer properly.
2007-06-25 18:42:05 +02:00
Kalle Olavi Niemitalo
6308bcd919 NEWS: temporarily mention bug 920 2007-06-24 11:59:37 +02:00
Kalle Olavi Niemitalo
af2f6e995a Bug 920, move_download: Sort the queue before calling cancel_download. 2007-06-24 11:59:30 +02:00
Kalle Olavi Niemitalo
712ffb13ee Change connection.pri[] to int, reverting part of 7215c964e4.
Revert part of commit 7215c964e40afe953787d7831b04182fbaba4662,
"Use real types (enum connection_{state,priority})." of 2005-06-14.

connection.pri[] is indexed by enum connection_priority, but its
elements are merely reference counts; they are never assigned from
or compared to enum connection_priority.  Defining the elements
as int will result in more readable output from GDB.

Noted in bug 920.
2007-06-24 11:59:24 +02:00
Witold Filipczyk
7101479366 DOM, ecmascript: Export jsrt. It will be used by DOM.
Nothing special else. I have no inspiration to do more.
2007-06-24 11:48:28 +02:00
Kalle Olavi Niemitalo
0668b4fd5c NEWS: mention bug 957, in the commented-out part 2007-06-23 19:20:32 +02:00
Kalle Olavi Niemitalo
16909ddddd Regenerated manpages.
In doc/man/man1/elinks.1.in, only the date had changed, so I'm
omitting that file from this commit.
2007-06-22 18:34:07 +02:00
Kalle Olavi Niemitalo
a6ca579b9e elinkskeys.5: Revert 8f030fcb63, which ESR did not review.
Revert 8f030fcb63, "Hack elinkskeys.5
with sed some more, to please ESR."  I asked ESR on 2007-01-06 and
2007-06-09 whether the changes were OK, but he never answered.  So I'm
reverting the changes until someone with troff knowledge reviews them.
2007-06-22 18:33:27 +02:00
Kalle Olavi Niemitalo
9a5a2ecc34 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.
2007-06-22 18:31:36 +02:00
Kalle Olavi Niemitalo
ddcf329fa8 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-22 18:30:30 +02:00
Witold Filipczyk
52ebd40f32 contrib: Tool for view pages offline.
This tool is intended for developers to make debugging ELinks more fun.
2007-06-21 14:01:47 +02:00
Witold Filipczyk
a895696ca8 bug 957 fixed. 2007-06-21 10:31:12 +02:00
Witold Filipczyk
f9c2e832b0 date file,ftp: added forgotten spaces. 2007-06-19 09:28:50 +02:00
Witold Filipczyk
a3f45e7ff3 ftp, date: The same trick as for files. 2007-06-18 20:15:05 +02:00
Witold Filipczyk
ea4c09efd4 date: added the width for the month field to the date format.
Since glibc-2.6 Polish locale uses Roman numbers for months in dates.
VIII is 4 bytes long, so %4b. Without this directory listings look ugly.
It adds one space per line in the C locale. IMHO it is not a big problem.
2007-06-18 20:01:08 +02:00
Kalle Olavi Niemitalo
0031fb4e0d NEWS: sync with 0.11.3.GIT and update 2007-06-17 21:11:26 +02:00
Kalle Olavi Niemitalo
cb1658f399 URI: Inline check_uri_file.
And reorder the characters in the string given to strcspn(), to match
their expected order in the URI.  This is also how strcspn() is called
elsewhere in uri.c.
2007-06-17 21:11:20 +02:00
Witold Filipczyk
b2b4e67e0d DOM, ecmascript: removed superflous assignments. 2007-06-16 18:45:54 +02:00
Witold Filipczyk
b28eeb8a38 http-equiv: Do not parse more than one http-equiv="Content-Type".
Other browsers use only the first occurence of http-equiv="Content-Type".
ELinks parsed all and used the last one for the charset.
Noticed at http://gazetaolsztynska.wm.pl/ .
2007-06-15 21:10:19 +02:00
Witold Filipczyk
123e3c9ad7 test, CGI: added a simple form to test CGI. 2007-06-15 14:39:24 +02:00
Witold Filipczyk
58570dfe3b cdplayer: Simplification. 2007-06-14 17:10:47 +02:00
Witold Filipczyk
5f99ad9f88 contrib: cdplayer 2007-06-14 13:54:05 +02:00