Kalle Olavi Niemitalo
c57cd5c343
More missing va_ends.
...
Somehow, these slipped from commit
af14d00d17
yesterday.
2007-09-04 15:03:17 +02:00
Witold Filipczyk
9680714765
Revert "ipc: Added two semaphores and a shared memory block."
...
This reverts commit 199232b501
.
2007-09-02 17:00:15 +02:00
Witold Filipczyk
69d7208ade
Revert "IPC: Check headers."
...
This reverts commit 4a3559e0b2
.
2007-09-02 16:58:07 +02:00
Witold Filipczyk
5e145576b0
Revert "IPC: simplification. Only one semaphore is required."
...
This reverts commit 4cf3130b53
.
2007-09-02 16:57:20 +02:00
Witold Filipczyk
cdcbdd720d
Revert "IPC: added the prefix 'my' to the semaphore functions."
...
This reverts commit e6e8b3407d
.
2007-09-02 16:56:10 +02:00
Kalle Olavi Niemitalo
646e6b5c49
Declare element types of lists.
2007-07-27 18:54:13 +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
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
4a3559e0b2
IPC: Check headers.
2007-07-15 14:00:24 +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
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
Laurent MONIN
e1332c29ce
Insert newlines and remove parenthesis in -version and Info box display.
2007-05-01 20:36:49 +02:00
Laurent MONIN
c496a7eaf6
Enhance version and features display. Wrap on spaces when features
...
are sent to console using -version, and let Info dialog do the job in
interactive mode.
2007-05-01 20:32:52 +02:00
Kalle Olavi Niemitalo
12d94d3408
Cast the NULL argument of string_concat to unsigned char *.
...
string_concat reads the args with va_arg(ap, const unsigned char *),
and the NULL macro may have the wrong type (e.g. int).
Many places pass string literals of type char * to string_concat.
This is in principle also a violation, but I'm ignoring it for now
because if it becomes a problem with some C implementation, then so
will the use of unsigned char * with printf "%s", which is so
widespread in ELinks that I'm not going to try fixing it now.
2007-05-01 20:05:12 +02:00
Kalle Olavi Niemitalo
d00d702e7d
Fix compiler errors without HAVE_VARIADIC_MACROS.
2007-05-01 20:04:10 +02:00
Witold Filipczyk
dd34591c74
Revert "Added macro foreach_module_builtin. Killed some warnings of gcc-4.2."
...
This reverts commit 99cff6aa70
.
2007-02-18 09:44:35 +01:00
Witold Filipczyk
f8c0fe013b
Revert "Killed warnings: uri_cache always evaluate as true"
...
This reverts commit f0717304f0
.
2007-02-18 09:42:20 +01:00
Witold Filipczyk
f0717304f0
Killed warnings: uri_cache always evaluate as true
...
in the debug mode by adding macros object_lock_without_assert,
object_unlock_without_assert, object_nolock_without_assert.
These macros are almost identical to object_lock, object_unlock,
object_nolock. New macros do not use the always true assertion
for uri_cache.
2007-02-05 21:50:38 +01:00
Witold Filipczyk
99cff6aa70
Added macro foreach_module_builtin. Killed some warnings of gcc-4.2.
2007-01-18 17:05:16 +01:00
Witold Filipczyk
678d52551d
epoll: use EPOLLHUP
...
Read data when EPOLLIN or EPOLLHUP events occur.
2007-01-08 20:28:22 +01:00
Witold Filipczyk
6528b3c574
epoll: w_max is number of open descriptors.
...
Slave instances of ELinks quit properly.
2007-01-07 21:57:40 +01:00
Witold Filipczyk
216d6c7ec8
Slave terminals work with epoll.
2007-01-07 17:36:30 +01:00
Witold Filipczyk
85cb16d14c
Added ELINKS_EPOLL_SIZE to the setup.h. 128 is enough for most uses.
2007-01-03 12:54:05 +01:00
Witold Filipczyk
e195690acd
Minor optimisation (?).
2006-12-31 19:58:23 +01:00
Witold Filipczyk
87e10dd412
epoll is fashionable.
...
Added the configuration option --enable-epoll. Use epoll instead of select.
2006-12-31 19:05:43 +01:00
Witold Filipczyk
87702bd491
Merge with master
2006-12-25 12:39:49 +01:00
Kalle Olavi Niemitalo
bad1b588dd
select_loop: If select fails, save its errno.
2006-12-25 10:09:13 +02:00
Witold Filipczyk
4e93cbf496
Added the keybinding ('R' by default) for reading documents out using
...
the festival program. ELinks automatically scrolls down when read line
is at the bottom of the page. Press 'R' for start or stop reading.
2006-12-11 18:48:44 +01:00
Kalle Olavi Niemitalo
c150331668
Bug 868: check_timers: Don't keep pointers to other timers past timer->func.
2006-12-02 21:00:32 +02:00
Kalle Olavi Niemitalo
bddafe5f7e
Document how timer callbacks erase timer IDs; add some assertions.
...
Tangential to bug 868.
2006-12-02 18:35:03 +02:00
Witold Filipczyk
d2006fd3dd
Always terminate ELinks when using -remote.
...
The side effect: ELinks doesn't clear screen with -remote 'openURL(...)'.
2006-10-27 18:59:36 +02:00
Kalle Olavi Niemitalo
c33d195ff4
Garbage-collect SMJS objects before flushing caches.
2006-09-25 23:43:32 +03:00
Kalle Olavi Niemitalo
359b131c6b
Bug 810: Add a few comments pointing to the bug.
2006-09-24 00:21:03 +03:00
Kalle Olavi Niemitalo
92cb452a9e
Rename CONFIG_UTF_8 to CONFIG_UTF8.
...
The configure script no longer recognizes "CONFIG_UTF_8=yes" lines
in custom features.conf files. They will have to be changed to
"CONFIG_UTF8=yes". This incompatibility was deemed acceptable
because no released version of ELinks supports CONFIG_UTF_8.
The --enable-utf-8 option was not renamed.
2006-09-17 16:12:47 +03:00
Witold Filipczyk
2a6125e3d0
Merge with utf8. src/document/plain/renderer.c replaced by utf8 version
2006-07-21 13:12:06 +02:00
Witold Filipczyk
a69ef92723
assertm(fd >= 0 && fd < FD_SETSIZE) always fails under Windows, so
...
this assertion is excluded on that platform
2006-06-25 12:36:46 +02:00
Laurent MONIN
1d3656a317
Pass a pointer to a hash pointer to free_hash() to ensure hash pointer
...
is NULL on return.
2006-05-31 19:33:36 +02:00
Laurent MONIN
54099f5286
Do not export init_hash(),strhash() and hash_size() anymore, use a
...
wrapper named init_hash8() instead.
2006-05-31 19:17:01 +02:00
Witold Filipczyk
5558284c08
win32: IMHO slightly better select implementation
2006-05-21 12:59:00 +02:00
Miciah Dashiel Butler Masters
7f312c546c
Create a module for src/viewer, which subsumes some existing modules
...
as submodules
2006-05-20 15:01:24 +00:00
Miciah Dashiel Butler Masters
e91b46de5f
Modularise viewer/text/marks
2006-05-20 15:01:24 +00:00
Miciah Dashiel Butler Masters
a0bcf254ae
Modularise src/terminal
2006-05-20 15:01:24 +00:00
Miciah Dashiel Butler Masters
337958d4e4
Modularise HTTP authentication
2006-05-20 15:01:23 +00:00
Miciah Dashiel Butler Masters
4bb87288f8
Document the difference between builtin_modules and main_modules
2006-05-20 15:01:23 +00:00
Miciah Dashiel Butler Masters
5dcac5c32d
Modularise config/kbdbind
2006-05-20 15:01:22 +00:00
Witold Filipczyk
cbb507a6b5
WIN32 port: introduced VT100 decoder. ELinks is able to display first page
...
of the document. Keyboard doesn't work, Windows style path either.
I tested it only under Wine.
2006-05-20 14:05:45 +02:00
Witold Filipczyk
3dc145bde2
Changes related to Win32 port. S_IRWXG and S_IRWXO were undefined
...
under crossmingw32. init_static_version must be called after init_options
because ELinks wanted to read "verbose" option before it was initialized.
2006-05-18 21:46:42 +02:00
Witold Filipczyk
55176d79de
Added info about lzma to the "About" dialog
2006-03-31 20:35:08 +02:00