1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

2950 Commits

Author SHA1 Message Date
Witold Filipczyk
ca69d121d1 Last part of previous commit, which didn't apply cleanly. 2007-07-16 22:14:30 +02:00
Kalle Olavi Niemitalo
6503ebf8a3 Name the exec_on_terminal() fg values. 2007-07-16 22:08:50 +02:00
Kalle Olavi Niemitalo
da8d813c4e NEWS: mention bug 766 2007-07-16 21:57:45 +02:00
Kalle Olavi Niemitalo
b7618e7335 CSS bug 766: Parse the id and class attributes in advance.
time elinks -no-connect -no-home 'http://rss.slashdot.org/Slashdot/slashdot/to?m=5878'
Wait until finished loading, then press q and Enter.

before	19.96user 0.16system 0:25.97elapsed 77%CPU (0avgtext+0avgdata 0maxresident)k
	0inputs+0outputs (0major+3630minor)pagefaults 0swaps
after	6.46user 0.12system 0:12.66elapsed 52%CPU (0avgtext+0avgdata 0maxresident)k
	0inputs+0outputs (0major+3630minor)pagefaults 0swaps
before	18.02user 0.19system 0:23.86elapsed 76%CPU (0avgtext+0avgdata 0maxresident)k
	0inputs+0outputs (0major+3572minor)pagefaults 0swaps
after	5.73user 0.15system 0:10.02elapsed 58%CPU (0avgtext+0avgdata 0maxresident)k
	0inputs+0outputs (0major+3628minor)pagefaults 0swaps
before	19.80user 0.15system 0:25.14elapsed 79%CPU (0avgtext+0avgdata 0maxresident)k
	0inputs+0outputs (0major+3461minor)pagefaults 0swaps
after	6.28user 0.13system 0:11.91elapsed 53%CPU (0avgtext+0avgdata 0maxresident)k
	0inputs+0outputs (0major+3626minor)pagefaults 0swaps
2007-07-16 21:57:39 +02:00
Witold Filipczyk
8e7daa1a29 mailcap on slave: Fixed memleak. 2007-07-16 17:09:02 +02:00
Witold Filipczyk
40d3102bc7 Avoid races. 2007-07-16 11:37:28 +02:00
Kalle Olavi Niemitalo
8785ffc980 CSS: Document reparent_selector and make it static. 2007-07-16 11:32:08 +02:00
Kalle Olavi Niemitalo
abd900eeff CSS: Don't call list_empty within args of DBG. 2007-07-16 11:32:03 +02:00
Kalle Olavi Niemitalo
83d870a6d9 CSS: Move /* #define DEBUG_CSS */ to stylesheet.h.
That's where src/document/css/README says it should be.
2007-07-16 11:31:58 +02:00
Witold Filipczyk
4cf3130b53 IPC: simplification. Only one semaphore is required. 2007-07-15 16:35:12 +02:00
Witold Filipczyk
ab4e622452 Revert "IPC: slave_sem initialized to 1."
This reverts commit 539ed3a513.
2007-07-15 16:14:55 +02:00
Witold Filipczyk
539ed3a513 IPC: slave_sem initialized to 1. 2007-07-15 14:28:35 +02:00
Witold Filipczyk
c246b67ff9 Compilation fix, a bit ugly. 2007-07-15 14:07:19 +02:00
Witold Filipczyk
4a3559e0b2 IPC: Check headers. 2007-07-15 14:00:24 +02:00
Witold Filipczyk
f45d4c1782 Mailcap on slave terminals seems to work right.
Mailcap is AFAIK specific to UNIX like systems, so using shared memory
and semaphores is allowed. Using IPC it was easy.
IMHO, without shared memory it is much harder to do.
The code needs clenup, checking for header files etc.
2007-07-15 00:33:06 +02:00
Witold Filipczyk
6913f1b4f7 mime: Pass @term to the get_mime_handler.
@term will be used by proper mailcap handling on slave terminals.
2007-07-14 22:24:20 +02:00
Witold Filipczyk
199232b501 ipc: Added two semaphores and a shared memory block.
They will be used by mailcap on slave terminals.
2007-07-14 21:47:04 +02:00
Witold Filipczyk
9729ab5a58 Semaphores: The code taken from "UNIX Network Programming"
by W. Richard Stevens.
2007-07-14 20:02:59 +02:00
Witold Filipczyk
92f2e793e8 interlink: exported get_sun_path.
It will be used by semaphores and a shared memory in the future.
2007-07-14 16:45:32 +02:00
Witold Filipczyk
b196d8ee01 bug 181: Simplification. Reverted changes causing incompatibility. 2007-07-13 19:28:45 +02:00
Witold Filipczyk
6bc992250b bug 181: Allow edit textareas using an external editor on slave terminals.
Added EVENT_TEXTAREA used to notify the master terminal
about end of execution of an external program on a slave terminal.
The format of data sent to the master terminal by exec_on_slave_terminal
has changed. Now after 0, fg the value of term is sent.
Therfore this release of ELinks is incompatible with previous releases.
2007-07-12 21:20:58 +02:00
Kalle Olavi Niemitalo
4cca8f1a2c http doc: "e.g." rather than "ie." when it's an example 2007-07-12 18:25:21 +02:00
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