1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00
Commit Graph

2915 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
54178b189f Bug 744: Consume semicolons and fix parameters of stubs.
Most stub protocol handlers were protocol_external_handler_T when they
should have been protocol_handler_T.
2007-07-19 18:25:58 +02:00
Jonas Fonseca
22cfb0b71c Add stub.o to cleaned files and more protocol module and handler stubs 2007-07-19 18:25:52 +02:00
Kalle Olavi Niemitalo
fd9468f0b6 Bug 744: More tests and fix failures. 2007-07-19 18:25:47 +02:00
Kalle Olavi Niemitalo
fa289ee12a Bug 744: Add tests. There are four failures. 2007-07-19 18:25:42 +02:00
Jonas Fonseca
fa786070f0 Remove normalization of "//" to "/"
This patch changes normalize_uri() to no replace "//" with "/" in URIs. This
fixed this bug but will also lead to possibility that duplicate entries can
exist in ELinks' cache. ELinks might be able to detect in another way by
hashing the content or something.

[ From attachment 310 of bug 744.  --KON ]
2007-07-19 18:25:38 +02:00
Kalle Olavi Niemitalo
d5e57fc2dd Added TODO comments about TERM_EXEC_NEWWIN. 2007-07-18 20:37:40 +02:00
Kalle Olavi Niemitalo
2f30e63ed2 doc: Don't generate HTML for po/perl/ 2007-07-18 20:37:31 +02:00
Kalle Olavi Niemitalo
20fb01fa51 NEWS: mention MinGW 2007-07-18 20:37:23 +02:00
Kalle Olavi Niemitalo
44fb868897 Win32: Get socklen_t from <ws2tcpip.h>. 2007-07-18 20:37:15 +02:00
Kalle Olavi Niemitalo
5b08cc5a5b Win32: Put .elinks in Application Data if %HOME% is undefined. 2007-07-18 20:37:10 +02:00
Kalle Olavi Niemitalo
fa33920da2 Win32: Don't check file_is_dir if name ends with backslash. 2007-07-18 20:37:04 +02:00
Kalle Olavi Niemitalo
b787dc49d0 Win32: End local subdir HREFs with "/" not "\".
The href attribute is supposed to be URL and so the directory
separator should not depend on the conventions of the local operating
system.
2007-07-18 20:36:59 +02:00
Kalle Olavi Niemitalo
313e7f48f8 proxy: Ignore files created via Makefile.
gen.c wrote "%d.txt" files, but adding "*.txt" to .gitignore might
cause future documentation to be ignored.  Rename to "%d.http".
2007-07-17 18:30:20 +02:00
Kalle Olavi Niemitalo
8a3ce7805a Rename accelerator checking scripts. 2007-07-17 18:30:08 +02:00
Witold Filipczyk
e6e8b3407d IPC: added the prefix 'my' to the semaphore functions.
sem_wait is already in libc (/usr/include/semaphore.h).
shmat returns -1 on failure, so check for it.
2007-07-16 23:18:05 +02:00
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