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

2663 Commits

Author SHA1 Message Date
Witold Filipczyk
0ff55c3ac2 configure.in: Faster lookup for SpiderMonkey. 2007-07-06 02:14:16 +03:00
Kalle Olavi Niemitalo
9ef3dd5e29 Debian bug 431211: Correct GNU GPL version in debian/copyright. 2007-07-06 02:08:22 +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
69e9a586ba 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-02 23:48:03 +03:00
Kalle Olavi Niemitalo
1ea44dcda5 Bug 957: if_assert_failed in ecmascript_put_interpreter.
[ Forward ported from commit 566039624f
  in ELinks 0.11.3.GIT.  --KON ]
2007-07-02 23:46:54 +03:00
Kalle Olavi Niemitalo
c1e89ee375 NEWS: mention bug 936 2007-07-02 21:11:47 +03:00
Kalle Olavi Niemitalo
045c5509f5 Bug 936: Allow Autoconf 2.59 too, for elinks.cz compatibility. 2007-07-02 21:05:03 +03:00
Kalle Olavi Niemitalo
b2d95b11f5 Bug 936: Require Autoconf 2.61 or later. 2007-07-02 20:19:33 +03:00
Kalle Olavi Niemitalo
6572a506f2 Bug 936: Create stamp-h.in in autogen.sh. 2007-07-02 20:08:57 +03:00
Witold Filipczyk
e1a4414ad7 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-02 19:58:45 +03:00
Witold Filipczyk
d791854f52 configure: Check for see-2.0 or later. 2007-07-02 19:57:23 +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
Witold Filipczyk
ba7ed23424 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-27 23:16:37 +03:00
Kalle Olavi Niemitalo
871a1befad 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-24 18:46:22 +03:00
Kalle Olavi Niemitalo
f0ab7774ea NEWS: temporarily mention bug 920 2007-06-23 23:30:30 +03:00
Kalle Olavi Niemitalo
90518c7d23 Bug 920, move_download: Sort the queue before calling cancel_download. 2007-06-23 23:28:54 +03:00
Kalle Olavi Niemitalo
a38cc74ee0 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-23 18:08:08 +03:00
Witold Filipczyk
4e310fd9aa contrib: Tool for view pages offline.
This tool is intended for developers to make debugging ELinks more fun.
2007-06-23 16:08:58 +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
78133cfeee 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 00:01:04 +03:00
Kalle Olavi Niemitalo
1f68e44a42 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-21 22:49:44 +03:00
Witold Filipczyk
057c3be77c bug 957 fixed. 2007-06-21 22:33:19 +03:00
Kalle Olavi Niemitalo
58e3ebf2e7 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-21 21:34:36 +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
0cf15ca9d9 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 19:50:05 +03:00
Witold Filipczyk
581ef57bb4 URI file: Fixed. CGI scripts work, URI fragments work too. 2007-06-17 19:46:07 +03:00
Witold Filipczyk
4fe68ce6fd uri, file: Commented out broken code.
CGI scripts using GET method didn't work.
2007-06-17 19:45:55 +03:00
Witold Filipczyk
1b0bad8cbc test, CGI: added a simple form to test CGI. 2007-06-17 19:42:54 +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
cf959c614b Merge with http://elinks.cz/elinks.git#elinks-0.12 2007-06-10 15:19:57 +03:00
Kalle Olavi Niemitalo
55f4307511 SEE compatibility in forms.namedItem.html. 2007-06-10 15:16:51 +03:00
Kalle Olavi Niemitalo
c7b3a8c423 SEE: Always use SEE_no_enumerator instead of NULL.
Although <see/object.h> of SEE 2.0.1131 has a comment saying that
SEE_objectclass.enumerator is optional and may be left NULL, SEE
crashes if one tries to enumerate the properties of an object created
from such a class.  Conveniently, it provides a suitable stub function.

http://www.adaptive-enterprises.com.au/bugs/show_bug.cgi?id=75
2007-06-10 15:10:32 +03:00
Kalle Olavi Niemitalo
c9b2fbbd46 SMJS: Fix error "forms.namedItem is not a function".
Commit 63752c854b303f5f58636a512a137bf3702e051b on 2004-12-27
seems to have broken this.
2007-06-10 13:11:53 +03:00
Kalle Olavi Niemitalo
174b1f3af5 NEWS: ELinks 0.10.0 and later are GPLv2 only. 2007-06-10 13:08:50 +03:00
Witold Filipczyk
28d4cb232c Polish translation was updated. 2007-06-07 12:39:05 +02:00
Kalle Olavi Niemitalo
619c90588d SMJS: Correct sense of JS_ValueToInt32 return value test.
I made this bug in commit b53525e98e.
2007-05-30 03:11:27 +03:00
Kalle Olavi Niemitalo
5ad9e40c1b Merge with http://elinks.cz/elinks.git#elinks-0.12 2007-05-30 03:06:42 +03:00
Witold Filipczyk
7988a6ce2f onsubmit: Reverted commit fa93d05b7e.
I don't remember why I cleared "returns", but it doesn't work
with www.hypermedia.pl/altkom/ and probably with many more sites.

[ From commit e887efc611 on the witekfl
  branch.  --KON ]
2007-05-30 02:35:25 +03:00
Witold Filipczyk
ac3608bda0 ECMAScript: evaluating onclick, onsubmit etc. done in the right way.
Scripts such as onsubmit are called as a function not as a script.

[ From commit 688ca8cf31 on the witekfl
  branch.  --KON ]
2007-05-30 02:35:18 +03:00
Witold Filipczyk
e741932d58 SEE: Renamed ELinks functions with the "SEE" prefix to distinguish them
from SEE functions.

[ Backported from commit c5b102ba08 on
  the witekfl branch.  --KON ]
2007-05-30 02:35:06 +03:00
Laurent MONIN
8673a5c2d9 French translation was updated. 2007-05-28 14:27:50 +02:00
Jonas Fonseca
7fe7b42093 Remove unused add handler in the option_type_info struct 2007-05-28 12:42:11 +02:00
Jonas Fonseca
f839666e97 TODO: minor rephrasing and cleanups 2007-05-28 12:04:43 +02: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
26766defe7 SMJS: Assert that form_number of input_class is in range. 2007-05-27 19:18:44 +03:00
Kalle Olavi Niemitalo
33b5884821 SEE: Assert that js_input.form_number is in range. 2007-05-27 19:10:44 +03:00
Kalle Olavi Niemitalo
a38b22b356 SEE: Define the synthetic argv as an array.
This does not change the behaviour but perhaps makes the code clearer.
2007-05-27 18:53:31 +03:00