mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 10:42:47 +01:00
3153 lines
79 KiB
Text
3153 lines
79 KiB
Text
androsyn 2008/03/30 16:34:18 UTC (25177)
|
|
Log:
|
|
Remove DISABLE_SSL_COMP stuff completely. Force our outbound connections to use TLSv1
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/30 15:45:01 UTC (25175)
|
|
Log:
|
|
remove that trailing 0 from the undef
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/30 15:04:05 UTC (25173)
|
|
Log:
|
|
reenable openssl compression
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/28 17:19:12 UTC (25151)
|
|
Log:
|
|
have rb_event_addonce return an ev_entry - get event.h too
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_event.h (File Modified)
|
|
|
|
|
|
androsyn 2008/03/28 17:17:51 UTC (25149)
|
|
Log:
|
|
fix a compile error
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/28 17:15:47 UTC (25147)
|
|
Log:
|
|
have rb_event_addonce return an ev_entry
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/27 18:24:58 UTC (25145)
|
|
Log:
|
|
add some more get_last_err() calls, some of these might not be needed, but they don't hurt really either
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/27 18:14:01 UTC (25143)
|
|
Log:
|
|
call get_last_err() after doing SSL_shutdown
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/17 13:04:36 UTC (25137)
|
|
Log:
|
|
fix libssl detection on operating systems that don't automagically pull in dependant libraries
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2008/03/17 08:13:41 UTC (25129)
|
|
Log:
|
|
add a stub rb_ssl_shutdown
|
|
|
|
Modified:
|
|
libratbox/trunk/src/nossl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/03/10 20:26:45 UTC (25107)
|
|
Log:
|
|
only fclose(param) if we opened it successfully
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/02/25 17:36:12 UTC (25091)
|
|
Log:
|
|
clear ssl comp for outbound connections too
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/02/20 17:35:47 UTC (25083)
|
|
Log:
|
|
fix autoconf again..
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2008/02/20 17:22:00 UTC (25081)
|
|
Log:
|
|
fix autoconf check for ssl libraries
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2008/01/28 21:05:30 UTC (25050)
|
|
Log:
|
|
replace ERR_get_error calls with get_last_err which pops all errors off of the openssl error stack and returns the last one
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 18:34:02 UTC (25048)
|
|
Log:
|
|
actually change ptrdiff_t to uintptr_t as that is what we really want
|
|
|
|
Modified:
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 16:17:04 UTC (25044)
|
|
Log:
|
|
missed a ptrdiff_t cast
|
|
|
|
Modified:
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 16:14:08 UTC (25042)
|
|
Log:
|
|
oops..lets try that again
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_tools.h (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 16:11:34 UTC (25040)
|
|
Log:
|
|
some inline related cleanups
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_tools.h (File Modified)
|
|
libratbox/trunk/src/export-syms.txt (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 16:03:08 UTC (25038)
|
|
Log:
|
|
- Use ptrdiff_t in a few places.
|
|
- Move libratbox_config.h to be the first header included.
|
|
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/crypt.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
libratbox/trunk/src/nossl.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/patricia.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/rb_memory.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/snprintf.c (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
libratbox/trunk/src/unix.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 15:38:26 UTC (25036)
|
|
Log:
|
|
remove int rc as it never gets used
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 15:36:02 UTC (25034)
|
|
Log:
|
|
get rid of old_flags in sigio.c
|
|
|
|
Modified:
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 04:54:13 UTC (25032)
|
|
Log:
|
|
replace u_short/u_char usage to unsigned short and unsigned char
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_patricia.h (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 04:01:19 UTC (25026)
|
|
Log:
|
|
remove AC_PROG_CC check
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 03:54:00 UTC (25022)
|
|
Log:
|
|
Okay.. its 2008. Require a C99 capable compiler.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/rb_memory.h (File Modified)
|
|
libratbox/trunk/src/rb_memory.c (File Modified)
|
|
libratbox/trunk/src/snprintf.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 03:10:15 UTC (25018)
|
|
Log:
|
|
export return values for ssl related stuff
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/23 00:23:20 UTC (25016)
|
|
Log:
|
|
Enable SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER in openssl.c
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/21 06:26:05 UTC (25006)
|
|
Log:
|
|
close dh param file after opening it
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/21 06:05:04 UTC (25002)
|
|
Log:
|
|
update sigio warning
|
|
|
|
Modified:
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/21 05:56:49 UTC (25000)
|
|
Log:
|
|
- cleanup errno handling in epoll.c
|
|
- make some fairly large buffers in signalfd_handler static rather than allocated off the static
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/21 04:37:08 UTC (24998)
|
|
Log:
|
|
remove a pointless memset from rawbuf.c as the block heap memsets already
|
|
|
|
Modified:
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/20 20:32:37 UTC (24988)
|
|
Log:
|
|
check that msg.msg_controllen > 0 when receiving fds.
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/20 19:41:04 UTC (24980)
|
|
Log:
|
|
- fix a cast issue in execv
|
|
- fix a shadowed variable in kqueue.c
|
|
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/unix.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/20 19:38:36 UTC (24978)
|
|
Log:
|
|
wrap struct timer_data in USE_TIMER_CREATE
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2008/01/16 14:51:07 UTC (24962)
|
|
Log:
|
|
fix ifdefs in sigio.c
|
|
|
|
Modified:
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 20:45:16 UTC (24942)
|
|
Log:
|
|
- Add support for sigio doing timed events as well..
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 20:44:03 UTC (24938)
|
|
Log:
|
|
add rb_helper_write_queue to the list of exported symbols
|
|
|
|
Modified:
|
|
libratbox/trunk/src/export-syms.txt (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 20:43:23 UTC (24936)
|
|
Log:
|
|
tweak the helper write code a bit
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_helper.h (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 18:17:39 UTC (24934)
|
|
Log:
|
|
When using sigio, if we have a socket that is already set O_ASYNC, clear
|
|
the O_ASYNC bit, fcntl() the flags without O_ASYNC and then re-register it.
|
|
This clears out any old si_fd field that might exist from having the fd passed
|
|
from another process.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 17:35:30 UTC (24932)
|
|
Log:
|
|
actually revert that, going to do this differently
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 17:34:24 UTC (24930)
|
|
Log:
|
|
set sockets nonblocking and the like when receving them
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 17:23:33 UTC (24928)
|
|
Log:
|
|
some cleanups in the openssl code
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/14 01:16:00 UTC (24926)
|
|
Log:
|
|
If delay == -1, pass NULL to kevent() for the timeout.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/13 21:49:14 UTC (24924)
|
|
Log:
|
|
fix a few things that the sparse warned about
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/rb_memory.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/13 02:53:11 UTC (24922)
|
|
Log:
|
|
work around a glibc header bug on 32bit systems and fix a prototype issue
|
|
|
|
Modified:
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/13 02:51:16 UTC (24920)
|
|
Log:
|
|
fix a thinko in kqueue.c as well
|
|
|
|
Modified:
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/13 02:50:35 UTC (24918)
|
|
Log:
|
|
add event-int.h to kqueue.c
|
|
|
|
Modified:
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/11 00:01:14 UTC (24880)
|
|
Log:
|
|
it seems that doing a readv from a signalfd socket is buggy
|
|
|
|
Modified:
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/10 18:21:17 UTC (24874)
|
|
Log:
|
|
abort if rb_restart == NULL or rb_die == NULL and we are called
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/10 16:33:54 UTC (24866)
|
|
Log:
|
|
reconsidered having rb_ctime take a pointer to time_t, so just have it take a time_t like before
|
|
|
|
Modified:
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/10 16:18:11 UTC (24862)
|
|
Log:
|
|
- Tweak rb_ctime to take a size argument.
|
|
- Tweak both rb_ctime and rb_date to take a time_t * instead of a time_t
|
|
- Also modify rb_ctime to internally defined day and month names.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/08 20:24:51 UTC (24854)
|
|
Log:
|
|
hand ssl errors to the accept callback instead of closing the fd behind the callers back
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/03 19:42:17 UTC (24840)
|
|
Log:
|
|
When the commio system isn't setup, add events like normal. Once commio
|
|
event processing is ready, add all scheduled events into it.
|
|
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/event-int.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/03 02:58:14 UTC (24832)
|
|
Log:
|
|
forgot to commit commio-ssl.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-ssl.h (File Modified)
|
|
|
|
|
|
androsyn 2008/01/02 20:41:25 UTC (24828)
|
|
Log:
|
|
oops move rb_supports_ssl to rb_commio.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
|
|
|
|
androsyn 2008/01/02 20:40:10 UTC (24826)
|
|
Log:
|
|
add prototype for rb_supports_ssl
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-ssl.h (File Modified)
|
|
|
|
|
|
androsyn 2008/01/02 19:56:27 UTC (24824)
|
|
Log:
|
|
add rb_supports_ssl function to allow a caller to figure out if we support ssl or not
|
|
|
|
Modified:
|
|
libratbox/trunk/src/export-syms.txt (File Modified)
|
|
libratbox/trunk/src/nossl.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/02 19:51:38 UTC (24822)
|
|
Log:
|
|
add commio-ssl.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-ssl.h (File Added)
|
|
|
|
|
|
androsyn 2008/01/02 19:47:32 UTC (24820)
|
|
Log:
|
|
tidy up openssl vs nossl code.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/src/Makefile.am (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/nossl.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2008/01/02 15:43:50 UTC (24810)
|
|
Log:
|
|
forgot to add this
|
|
|
|
Modified:
|
|
libratbox/trunk/include/event-int.h (File Added)
|
|
|
|
|
|
androsyn 2008/01/02 08:17:05 UTC (24808)
|
|
Log:
|
|
- Add support for doing timers using the commio handlers.
|
|
-- epoll currently sorta supports it if the system has both signalfd and timer_create support (tested on Linux 2.6.24-rc6 + glibc 2.7)
|
|
-- kqueue supports it if EVFILT_TIMER is supported. (not tested yet)
|
|
|
|
- Add a file called export-syms.txt that allows libtool to only export certain symbols in this list to the rest of the world.
|
|
This keeps the internal commio functions and the like internal.
|
|
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/Makefile.in (File Modified)
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/include/rb_event.h (File Modified)
|
|
libratbox/trunk/include/rb_helper.h (File Modified)
|
|
libratbox/trunk/src/Makefile.am (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/export-syms.txt (File Added)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/29 01:51:41 UTC (24802)
|
|
Log:
|
|
fix some braindamage here
|
|
|
|
Modified:
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/28 01:59:05 UTC (24792)
|
|
Log:
|
|
macros + order of operations will eat your brains
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/28 01:54:04 UTC (24790)
|
|
Log:
|
|
okay must sleep now..after this stuff...
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/28 01:50:46 UTC (24788)
|
|
Log:
|
|
fix a thinko
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/28 01:45:30 UTC (24786)
|
|
Log:
|
|
get rid of a stale define
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/28 00:36:41 UTC (24784)
|
|
Log:
|
|
change fd hash a bit
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/27 17:52:30 UTC (24780)
|
|
Log:
|
|
forgot to merge in one diff
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/27 17:50:13 UTC (24778)
|
|
Log:
|
|
Make the ssl read/write code a bit more sane and add some ways of exporting out ssl error codes.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
jilles 2007/12/26 16:37:43 UTC (24776)
|
|
Log:
|
|
Fix type checking on file descriptor being received over socket.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/26 03:56:52 UTC (24774)
|
|
Log:
|
|
make balloc.c use rb_uintptr_t
|
|
|
|
Modified:
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/26 02:32:07 UTC (24772)
|
|
Log:
|
|
have the fd handling code try to figure out what type of file descriptor the passed socket is
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/26 01:13:59 UTC (24770)
|
|
Log:
|
|
change return/input type to rb_get/set_type
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/25 23:29:41 UTC (24768)
|
|
Log:
|
|
reorder the _fde struct and get rid of some unused RB_FD flags
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/25 20:50:16 UTC (24766)
|
|
Log:
|
|
move FD types back into rb_commio.h a few things do need them
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
|
|
|
|
androsyn 2007/12/25 20:25:12 UTC (24762)
|
|
Log:
|
|
get rid of an unused variable
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/25 20:23:18 UTC (24760)
|
|
Log:
|
|
Tidy up some commio flag related things and make the struct a bit smaller by dynamically allocating
|
|
the F->desc field.
|
|
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/20 18:22:40 UTC (24752)
|
|
Log:
|
|
Fix a really stupid off by one error when using linebuf_get in raw mode. Also add the \0 regardless if the buffer is raw or not.
|
|
This bug has been hanging around for about 6 years.
|
|
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/17 18:43:17 UTC (24721)
|
|
Log:
|
|
make balloc.c compile with --enable-warnings --disable-balloc
|
|
|
|
Modified:
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/11 17:53:17 UTC (24693)
|
|
Log:
|
|
another openssl related tweak
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
|
|
|
|
androsyn 2007/12/10 19:24:09 UTC (24679)
|
|
Log:
|
|
replace the snprintf implementation with the one from the linux kernel as this is a fair bit faster than our current one, it also doesn't need to fallback to the system snprintf, though it doesn't handle floating point..oh well..
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/rb_tools.h (File Modified)
|
|
libratbox/trunk/src/snprintf.c (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/10 19:15:41 UTC (24677)
|
|
Log:
|
|
get rid of the dlink node too
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/12/10 19:15:19 UTC (24675)
|
|
Log:
|
|
get rid of bogus ev = ptr->data stuff
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/28 19:35:34 UTC (24637)
|
|
Log:
|
|
turn on DISABLE_SSL_COMP
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/26 20:30:59 UTC (24615)
|
|
Log:
|
|
meh..just return the revision
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/26 20:20:12 UTC (24613)
|
|
Log:
|
|
actually Rev makes more sense here
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/26 20:19:24 UTC (24611)
|
|
Log:
|
|
fix id tag
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/26 20:18:12 UTC (24609)
|
|
Log:
|
|
forgot to commit ratbox_lib.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/11/26 20:09:05 UTC (24607)
|
|
Log:
|
|
add rb_lib_version
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/26 20:01:07 UTC (24605)
|
|
Log:
|
|
have helpers replace fds 0-2 with /dev/null
|
|
|
|
Modified:
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/19 17:14:40 UTC (24551)
|
|
Log:
|
|
missed an IPV6 to RB_IPV6 change
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_patricia.h (File Modified)
|
|
|
|
|
|
androsyn 2007/11/19 17:13:31 UTC (24549)
|
|
Log:
|
|
add ctype.h to ratbox_lib.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/11/19 17:04:32 UTC (24547)
|
|
Log:
|
|
add some autoconf goop for better detecting ipv6 and change the IPV6 define to RB_IPV6
|
|
|
|
Modified:
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/patricia.c (File Modified)
|
|
|
|
|
|
jilles 2007/11/17 15:35:48 UTC (24543)
|
|
Log:
|
|
Fix 100% cpu usage after certain SSL errors.
|
|
One way to trigger this was to telnet (non-SSL) to an
|
|
SSL port, then close the connection.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
jilles 2007/11/17 14:50:14 UTC (24541)
|
|
Log:
|
|
Avoid crash in a certain case where the sending process died.
|
|
Apparently CMSG_FIRSTHDR returns NULL in certain cases
|
|
where the sending process died and the file descriptors
|
|
are not available.
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/15 19:44:57 UTC (24525)
|
|
Log:
|
|
add rb_ssl_start_connected with ssld in ratbox needs
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/13 19:48:49 UTC (24505)
|
|
Log:
|
|
fix minor bug in rb_send_fd_buf
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/08 16:18:17 UTC (24477)
|
|
Log:
|
|
change rb_lib_init not to init linebufs as not everything will likely need linebufs
|
|
|
|
Modified:
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/06 17:26:57 UTC (24459)
|
|
Log:
|
|
add rb_get_type and rb_set_type
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/05 17:15:41 UTC (24451)
|
|
Log:
|
|
set rb_pipe fds non blocking by default
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/11/02 17:32:00 UTC (24439)
|
|
Log:
|
|
add rb_ssl_start_accepted
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/10/24 15:49:39 UTC (24434)
|
|
Log:
|
|
tweak the fd passing stuff to pass more than one fd if needed
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/10/23 20:28:27 UTC (24426)
|
|
Log:
|
|
rename patricia.h to rb_patricia.h and add it to ratbox_lib.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/patricia.h (File Deleted)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/include/rb_patricia.h (File Added)
|
|
libratbox/trunk/src/patricia.c (File Modified)
|
|
|
|
|
|
androsyn 2007/10/23 20:26:01 UTC (24424)
|
|
Log:
|
|
Add patricia.c to libratbox
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/include/patricia.h (File Added)
|
|
libratbox/trunk/src/Makefile.am (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
libratbox/trunk/src/patricia.c (File Added)
|
|
|
|
|
|
androsyn 2007/10/23 18:30:20 UTC (24422)
|
|
Log:
|
|
deal with not having a ancillary message
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/10/22 20:42:11 UTC (24420)
|
|
Log:
|
|
add some functions to pass fds back and forth over unix sockets
|
|
|
|
Modified:
|
|
libratbox/trunk/include/rb_commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/09/05 02:34:21 UTC (24384)
|
|
Log:
|
|
fix event_time_min stuff to actually work right
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/09/05 01:49:21 UTC (24382)
|
|
Log:
|
|
move up the first rb_set_time()
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 22:08:54 UTC (24380)
|
|
Log:
|
|
Rerun libtoolize and get newer versions of libtool
|
|
|
|
Modified:
|
|
libratbox/trunk/config.guess (File Modified)
|
|
libratbox/trunk/config.sub (File Modified)
|
|
libratbox/trunk/ltmain.sh (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 19:34:44 UTC (24374)
|
|
Log:
|
|
make the WIN32_LEAN_AND_MEAN stuff actually go into outfile
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 19:30:58 UTC (24372)
|
|
Log:
|
|
rebuild makefiles with automake 1.10
|
|
|
|
Modified:
|
|
libratbox/trunk/Makefile.in (File Modified)
|
|
libratbox/trunk/aclocal.m4 (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 17:54:44 UTC (24354)
|
|
Log:
|
|
add limits.h
|
|
|
|
Modified:
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 17:23:20 UTC (24352)
|
|
Log:
|
|
remove unused variable
|
|
|
|
Modified:
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 17:18:49 UTC (24350)
|
|
Log:
|
|
tweak compile flags for interix
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 17:09:40 UTC (24348)
|
|
Log:
|
|
damn caps
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 17:05:14 UTC (24346)
|
|
Log:
|
|
define all_source for a platform that needs it :/
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 17:00:09 UTC (24342)
|
|
Log:
|
|
some minor header tweaks
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/09/04 16:49:33 UTC (24340)
|
|
Log:
|
|
add arpa/inet.h check
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
|
|
|
|
androsyn 2007/09/01 01:53:03 UTC (24326)
|
|
Log:
|
|
link against libcrypto as well as libssl
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 22:05:45 UTC (24324)
|
|
Log:
|
|
some header tweaks and renames
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/balloc.h (File Deleted)
|
|
libratbox/trunk/include/commio.h (File Deleted)
|
|
libratbox/trunk/include/event.h (File Deleted)
|
|
libratbox/trunk/include/helper.h (File Deleted)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/linebuf.h (File Deleted)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/include/rawbuf.h (File Deleted)
|
|
libratbox/trunk/include/rb_balloc.h (File Added)
|
|
libratbox/trunk/include/rb_commio.h (File Added)
|
|
libratbox/trunk/include/rb_event.h (File Added)
|
|
libratbox/trunk/include/rb_helper.h (File Added)
|
|
libratbox/trunk/include/rb_linebuf.h (File Added)
|
|
libratbox/trunk/include/rb_rawbuf.h (File Added)
|
|
libratbox/trunk/include/rb_snprintf.h (File Added)
|
|
libratbox/trunk/include/rb_tools.h (File Added)
|
|
libratbox/trunk/include/snprintf.h (File Deleted)
|
|
libratbox/trunk/include/tools.h (File Deleted)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/crypt.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/rb_memory.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/snprintf.c (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
libratbox/trunk/src/unix.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 21:48:41 UTC (24322)
|
|
Log:
|
|
actually get rid of the posix_c_source stuff for now..
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 15:10:15 UTC (24320)
|
|
Log:
|
|
move the rb_event_run() call until after rb_select
|
|
|
|
Modified:
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 14:48:03 UTC (24318)
|
|
Log:
|
|
i don't think these rb_set_times() are needed here
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 03:26:15 UTC (24316)
|
|
Log:
|
|
make the rb_lib_loop not blow up when next = 0
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 02:08:52 UTC (24314)
|
|
Log:
|
|
tweak the event code a little bit more
|
|
|
|
Modified:
|
|
libratbox/trunk/include/event.h (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 01:47:38 UTC (24312)
|
|
Log:
|
|
set rb_timeout_ev to NULL after doing rb_event_delete
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/31 01:21:42 UTC (24308)
|
|
Log:
|
|
tweak some of the event stuff
|
|
|
|
Modified:
|
|
libratbox/trunk/include/event.h (File Modified)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/30 20:35:13 UTC (24304)
|
|
Log:
|
|
make sure event_time_min is updated when rescheduling events. Also if rb_lib_loop is passed zero for a delay, just delay until the next event needs to be run
|
|
|
|
Modified:
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/30 20:00:06 UTC (24302)
|
|
Log:
|
|
add rb_event_next to get the time when the next event should run
|
|
|
|
Modified:
|
|
libratbox/trunk/include/event.h (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/30 19:29:48 UTC (24300)
|
|
Log:
|
|
make it build again
|
|
|
|
Modified:
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/08/30 19:15:10 UTC (24298)
|
|
Log:
|
|
fix a few more autoconf things
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/30 18:55:22 UTC (24296)
|
|
Log:
|
|
fix the intptr/intmax checks
|
|
|
|
Modified:
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/08/30 16:57:59 UTC (24294)
|
|
Log:
|
|
generate a header file that can be installed with the library that isn't the standard autoconf header so we don't clash
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/commio.h (File Modified)
|
|
libratbox/trunk/include/linebuf.h (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/include/rb_memory.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/crypt.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/29 20:16:46 UTC (24292)
|
|
Log:
|
|
put epoll info into a struct
|
|
|
|
Modified:
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/29 20:16:18 UTC (24290)
|
|
Log:
|
|
make heap_lists be malloced
|
|
|
|
Modified:
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/29 19:49:43 UTC (24288)
|
|
Log:
|
|
remove some unneeded macros from acinclude.m4
|
|
|
|
Modified:
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
|
|
|
|
androsyn 2007/08/29 19:47:49 UTC (24286)
|
|
Log:
|
|
More portablity cleanups with autoconf and other things
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/crypt.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/29 17:54:50 UTC (24284)
|
|
Log:
|
|
Make the detection of intXX_t types work a bit better
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
libratbox/trunk/aclocal.m4 (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
|
|
|
|
androsyn 2007/08/27 19:29:16 UTC (24282)
|
|
Log:
|
|
fix some minor issues in acinclude.m4
|
|
|
|
Modified:
|
|
libratbox/trunk/acinclude.m4 (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
|
|
|
|
androsyn 2007/08/27 19:25:53 UTC (24280)
|
|
Log:
|
|
move struct msghdr msg into the HAVE_SENDMSG ifdef too
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/27 19:18:19 UTC (24278)
|
|
Log:
|
|
deal with platforms not having sendmsg
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/27 19:12:20 UTC (24276)
|
|
Log:
|
|
change strcasecmp to strcmp
|
|
|
|
Modified:
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/27 04:00:24 UTC (24272)
|
|
Log:
|
|
s/ignoreErrno/rb_ignore_errno/g
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 23:55:44 UTC (24270)
|
|
Log:
|
|
change a few cases of ircd-ratbox to libratbox
|
|
|
|
Modified:
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 23:46:25 UTC (24268)
|
|
Log:
|
|
Change IRCD_PREFIX to RB_PREFIX
|
|
|
|
Modified:
|
|
libratbox/trunk/Makefile.in (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 23:38:03 UTC (24266)
|
|
Log:
|
|
change some defines and what not from IRCD_ to RB_
|
|
|
|
Modified:
|
|
libratbox/trunk/include/balloc.h (File Modified)
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/commio.h (File Modified)
|
|
libratbox/trunk/include/event.h (File Modified)
|
|
libratbox/trunk/include/helper.h (File Modified)
|
|
libratbox/trunk/include/linebuf.h (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/include/rawbuf.h (File Modified)
|
|
libratbox/trunk/include/rb_memory.h (File Modified)
|
|
libratbox/trunk/include/snprintf.h (File Modified)
|
|
libratbox/trunk/include/tools.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 22:54:04 UTC (24264)
|
|
Log:
|
|
don't export rb_event_find
|
|
|
|
Modified:
|
|
libratbox/trunk/include/event.h (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 17:45:02 UTC (24262)
|
|
Log:
|
|
- Fix poll and sigio not to be some braindamaged i think.
|
|
- Actually update the rawbuf length left when using rawbuf flush.
|
|
- Fix some openssl issues with accepting connections
|
|
|
|
|
|
Modified:
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 15:11:18 UTC (24258)
|
|
Log:
|
|
fix rb_rb_dlink_list_length calls
|
|
|
|
Modified:
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 15:08:42 UTC (24256)
|
|
Log:
|
|
doubled rb by accident on rb_dlink_list_length
|
|
|
|
Modified:
|
|
libratbox/trunk/include/tools.h (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 01:20:13 UTC (24254)
|
|
Log:
|
|
change __MINGW32__ ifdefs to WIN32 and so on
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/commio.h (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/23 01:16:21 UTC (24252)
|
|
Log:
|
|
make things compile with mingw32 again
|
|
|
|
Modified:
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/nossl.c (File Modified)
|
|
libratbox/trunk/src/unix.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/22 19:11:55 UTC (24248)
|
|
Log:
|
|
rename ircd_memory.c to rb_memory.c
|
|
|
|
Modified:
|
|
libratbox/trunk/src/Makefile.am (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
libratbox/trunk/src/ircd_memory.c (File Deleted)
|
|
libratbox/trunk/src/rb_memory.c (File Added)
|
|
|
|
|
|
androsyn 2007/08/22 19:10:33 UTC (24246)
|
|
Log:
|
|
rename dlink_* to rb_dlink_ and so on
|
|
|
|
Modified:
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/linebuf.h (File Modified)
|
|
libratbox/trunk/include/tools.h (File Modified)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/22 18:44:30 UTC (24242)
|
|
Log:
|
|
rename functions from ircd_ to rb_
|
|
|
|
Modified:
|
|
libratbox/trunk/include/balloc.h (File Modified)
|
|
libratbox/trunk/include/commio-int.h (File Modified)
|
|
libratbox/trunk/include/commio.h (File Modified)
|
|
libratbox/trunk/include/event.h (File Modified)
|
|
libratbox/trunk/include/helper.h (File Modified)
|
|
libratbox/trunk/include/ircd_memory.h (File Deleted)
|
|
libratbox/trunk/include/linebuf.h (File Modified)
|
|
libratbox/trunk/include/ratbox_lib.h (File Modified)
|
|
libratbox/trunk/include/rawbuf.h (File Modified)
|
|
libratbox/trunk/include/rb_memory.h (File Added)
|
|
libratbox/trunk/include/snprintf.h (File Modified)
|
|
libratbox/trunk/include/tools.h (File Modified)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/crypt.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/ircd_memory.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
libratbox/trunk/src/nossl.c (File Modified)
|
|
libratbox/trunk/src/openssl.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Modified)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/snprintf.c (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
libratbox/trunk/src/unix.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/22 18:39:41 UTC (24240)
|
|
Log:
|
|
deal with some of the s/libircd/libratbox/ name changes
|
|
|
|
Modified:
|
|
libratbox/trunk/Makefile.in (File Modified)
|
|
libratbox/trunk/configure (File Modified)
|
|
libratbox/trunk/configure.ac (File Modified)
|
|
libratbox/trunk/include/ircd_lib.h (File Deleted)
|
|
libratbox/trunk/include/libircd_config.h.in (File Deleted)
|
|
libratbox/trunk/include/libratbox_config.h.in (File Added)
|
|
libratbox/trunk/include/ratbox_lib.h (File Added)
|
|
libratbox/trunk/src/Makefile.am (File Modified)
|
|
libratbox/trunk/src/Makefile.in (File Modified)
|
|
libratbox/trunk/src/balloc.c (File Modified)
|
|
libratbox/trunk/src/commio.c (File Modified)
|
|
libratbox/trunk/src/crypt.c (File Modified)
|
|
libratbox/trunk/src/devpoll.c (File Modified)
|
|
libratbox/trunk/src/epoll.c (File Modified)
|
|
libratbox/trunk/src/event.c (File Modified)
|
|
libratbox/trunk/src/helper.c (File Modified)
|
|
libratbox/trunk/src/ircd_lib.c (File Deleted)
|
|
libratbox/trunk/src/ircd_memory.c (File Modified)
|
|
libratbox/trunk/src/kqueue.c (File Modified)
|
|
libratbox/trunk/src/linebuf.c (File Modified)
|
|
libratbox/trunk/src/poll.c (File Modified)
|
|
libratbox/trunk/src/ports.c (File Modified)
|
|
libratbox/trunk/src/ratbox_lib.c (File Added)
|
|
libratbox/trunk/src/rawbuf.c (File Modified)
|
|
libratbox/trunk/src/select.c (File Modified)
|
|
libratbox/trunk/src/sigio.c (File Modified)
|
|
libratbox/trunk/src/snprintf.c (File Modified)
|
|
libratbox/trunk/src/tools.c (File Modified)
|
|
libratbox/trunk/src/unix.c (File Modified)
|
|
libratbox/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/22 01:29:24 UTC (24237)
|
|
Log:
|
|
Don't free fde_t's until after the poll loops have finished
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 18:53:10 UTC (24233)
|
|
Log:
|
|
make ircd_get_sockerr use ircd_fde_t as well
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 18:45:08 UTC (24231)
|
|
Log:
|
|
tweak ircd_set_buffers
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 18:28:05 UTC (24229)
|
|
Log:
|
|
add santy checking to ircd_get_fd
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 18:24:36 UTC (24227)
|
|
Log:
|
|
add ircd_get_fde
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 18:18:16 UTC (24225)
|
|
Log:
|
|
remove some crufty code in helper.c
|
|
|
|
Modified:
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 18:13:55 UTC (24223)
|
|
Log:
|
|
rename fde_t to ircd_fde_t
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio-int.h (File Modified)
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/include/linebuf.h (File Modified)
|
|
libircd/trunk/include/rawbuf.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/21 17:58:34 UTC (24221)
|
|
Log:
|
|
make commio functions take an fde_t instead of a fd, this saves a lot of looking up of fds from the fd hash..now i've just got to fix a bunch of code
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio-int.h (File Modified)
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/include/linebuf.h (File Modified)
|
|
libircd/trunk/include/rawbuf.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/15 17:06:59 UTC (24211)
|
|
Log:
|
|
cleanup the fde_t struct a bit so that accept and connect data are only allocated as needed
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio-int.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/15 16:07:57 UTC (24209)
|
|
Log:
|
|
remove some warnings
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio-int.h (File Modified)
|
|
|
|
|
|
androsyn 2007/08/15 16:06:31 UTC (24207)
|
|
Log:
|
|
move UIO_MAXIOV stuff to commio-int.h
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio-int.h (File Modified)
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/15 02:16:03 UTC (24205)
|
|
Log:
|
|
fix error message
|
|
|
|
Modified:
|
|
libircd/trunk/include/rawbuf.h (File Modified)
|
|
|
|
|
|
androsyn 2007/08/13 18:56:55 UTC (24203)
|
|
Log:
|
|
cleanup time handling a bit
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/13 18:41:03 UTC (24199)
|
|
Log:
|
|
remove pointless crypt prototype from ircd_lib.h
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/08/13 18:08:44 UTC (24195)
|
|
Log:
|
|
remove ircd_currenttime macro and friends and just use the function call
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/13 18:06:14 UTC (24193)
|
|
Log:
|
|
add ircd_lib_loop
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/10 23:06:48 UTC (24191)
|
|
Log:
|
|
tweak some of rawbufs data types a bit
|
|
|
|
Modified:
|
|
libircd/trunk/include/rawbuf.h (File Modified)
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/10 02:07:22 UTC (24189)
|
|
Log:
|
|
remove memmove call in rawbuf.c
|
|
|
|
Modified:
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/06 20:23:06 UTC (24187)
|
|
Log:
|
|
make ircd_free_rawbuffer free all buffers associated with the head
|
|
|
|
Modified:
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/06 17:33:37 UTC (24185)
|
|
Log:
|
|
fixed a bug where we passed the helpers sendq instead of the helper itself to ircd_helper_write_sendq
|
|
|
|
Modified:
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/06 17:30:54 UTC (24183)
|
|
Log:
|
|
fix a minor buglet in ircd_rawbuf_get and add ircd_rawbuf_length
|
|
|
|
Modified:
|
|
libircd/trunk/include/rawbuf.h (File Modified)
|
|
libircd/trunk/src/rawbuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/08/06 17:07:09 UTC (24181)
|
|
Log:
|
|
add rawbuf.c and rawbuf.h, this implements a buffering system similiar to linebuf.c but no reference counting and is 8bit clean
|
|
|
|
Modified:
|
|
libircd/trunk/Makefile.in (File Modified)
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/include/rawbuf.h (File Added)
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
libircd/trunk/src/rawbuf.c (File Added)
|
|
|
|
|
|
androsyn 2007/08/06 13:18:20 UTC (24179)
|
|
Log:
|
|
tidy up the _buf_line struct a bit
|
|
|
|
Modified:
|
|
libircd/trunk/include/linebuf.h (File Modified)
|
|
|
|
|
|
jilles 2007/07/31 21:07:15 UTC (24135)
|
|
Log:
|
|
Fix kqueue and devpoll for r24007.
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/26 16:09:58 UTC (24117)
|
|
Log:
|
|
if we call the helper_restart function, we need to return immediately
|
|
|
|
Modified:
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/26 14:35:22 UTC (24115)
|
|
Log:
|
|
sanity check in ircd_ssl_shutdown
|
|
|
|
Modified:
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 23:44:09 UTC (24111)
|
|
Log:
|
|
fix dhparam handling
|
|
|
|
Modified:
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 20:06:10 UTC (24109)
|
|
Log:
|
|
change return value
|
|
|
|
Modified:
|
|
libircd/trunk/src/nossl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 20:04:45 UTC (24107)
|
|
Log:
|
|
check for errors when loading keyfiles and the like
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/nossl.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 19:17:27 UTC (24103)
|
|
Log:
|
|
add a prototype for ircd_get_random
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 19:13:50 UTC (24101)
|
|
Log:
|
|
add ircd_get_random
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/nossl.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 17:52:33 UTC (24099)
|
|
Log:
|
|
missed a commit
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 17:52:14 UTC (24097)
|
|
Log:
|
|
dont use writev on ssl sockets as its rather pointless
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 16:19:02 UTC (24091)
|
|
Log:
|
|
remove ircd_slow_list_length and LIST_SANITY_CHECK
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 16:10:07 UTC (24089)
|
|
Log:
|
|
the libircd_abi stuff is no longer needed as we end up having the same size irc_sockaddr_storage regardless now
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/libircd_abi.h.in (File Deleted)
|
|
|
|
|
|
androsyn 2007/07/25 15:50:00 UTC (24085)
|
|
Log:
|
|
add a GET_SS_FAMILY macro
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 15:45:24 UTC (24083)
|
|
Log:
|
|
do some hackishness to make SET_SS_LEN compile issues get tripped up on platforms that don't need it
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 15:35:12 UTC (24081)
|
|
Log:
|
|
uncondtionally make irc_sockaddr_storage 128 bytes. Tweak some of the macros relating to sockaddr_storage as well
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 15:15:41 UTC (24079)
|
|
Log:
|
|
- Remove timeout handler once we are ready to handoff the SSL connection to the callback.
|
|
- Disable SSLv2 incoming connection support as these are widely accepted to be insecure.
|
|
- Add an ifdef if we want to disable compression support in openssl
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/25 02:43:50 UTC (24075)
|
|
Log:
|
|
Split client and server ssl contexts.
|
|
Fix a minor compile error with ipv6
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 20:26:03 UTC (24073)
|
|
Log:
|
|
case the void * ->ssl member to SSL * where necessary
|
|
|
|
Modified:
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 19:18:15 UTC (24071)
|
|
Log:
|
|
remove a debugging fprintf
|
|
|
|
Modified:
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 19:09:40 UTC (24069)
|
|
Log:
|
|
add outbound ssl connect code
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/openssl.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 17:55:17 UTC (24061)
|
|
Log:
|
|
move a bunch of commio.h things into commio-int.h which doesn't get included by users of the library
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio-int.h (File Added)
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 17:25:41 UTC (24059)
|
|
Log:
|
|
various prototype cleanups and the like
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
libircd/trunk/src/unix.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 17:19:38 UTC (24057)
|
|
Log:
|
|
add prototype for ircd_crypt
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 17:12:40 UTC (24055)
|
|
Log:
|
|
Move openssl functions into openssl.c
|
|
Add a nossl.c wrapper to keep functions that are exported to maintain the ABI.
|
|
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/nossl.c (File Added)
|
|
libircd/trunk/src/openssl.c (File Added)
|
|
|
|
|
|
androsyn 2007/07/24 16:12:13 UTC (24051)
|
|
Log:
|
|
its helpful when your helper loop actually loops
|
|
|
|
Modified:
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 15:57:08 UTC (24049)
|
|
Log:
|
|
Do openssl detection in autoconf and wrap the ssl code in ifdefs
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/Makefile.in (File Modified)
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Modified)
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 15:08:34 UTC (24047)
|
|
Log:
|
|
forgot to rename ircd_helper_read
|
|
|
|
Modified:
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 15:06:15 UTC (24045)
|
|
Log:
|
|
tweak the helper read api a bit
|
|
|
|
Modified:
|
|
libircd/trunk/include/helper.h (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 14:58:05 UTC (24043)
|
|
Log:
|
|
change ircd_helper_read to take a ircd_helper pointer. Add an ircd_helper_loop() function as well
|
|
|
|
Modified:
|
|
libircd/trunk/include/helper.h (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 14:49:26 UTC (24041)
|
|
Log:
|
|
do printf format checking on ircd_helper_write
|
|
|
|
Modified:
|
|
libircd/trunk/include/helper.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 03:37:24 UTC (24039)
|
|
Log:
|
|
move struct _ircd_helper defintion to helper.c leaving just forward declarations in helper.h
|
|
|
|
Modified:
|
|
libircd/trunk/include/helper.h (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 03:25:03 UTC (24037)
|
|
Log:
|
|
move some struct definitions into balloc.c out of balloc.h
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/24 03:21:09 UTC (24035)
|
|
Log:
|
|
move struct ev_entry to event.c
|
|
|
|
Modified:
|
|
libircd/trunk/include/event.h (File Modified)
|
|
libircd/trunk/src/event.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/23 19:02:51 UTC (24033)
|
|
Log:
|
|
get rid of this break that was breaking stuff
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 17:39:33 UTC (24031)
|
|
Log:
|
|
add a missing semicolon
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 17:38:39 UTC (24029)
|
|
Log:
|
|
add check for a missing pre callback
|
|
add missing prototypes
|
|
reduce ssl accept timeout to 10 seconds
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 15:31:11 UTC (24025)
|
|
Log:
|
|
initialize the type variable earlier
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 15:28:45 UTC (24023)
|
|
Log:
|
|
remove an unused variable
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 15:26:05 UTC (24021)
|
|
Log:
|
|
oops. don't ircd_open a file handle twice
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 15:09:36 UTC (24019)
|
|
Log:
|
|
add missing ircd_accept_tcp prototype
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 15:07:47 UTC (24017)
|
|
Log:
|
|
slightly change the ACPRE callback again
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 15:04:40 UTC (24015)
|
|
Log:
|
|
slightly change the ACPRE callback
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 14:47:32 UTC (24009)
|
|
Log:
|
|
Add an accept pre-callback to so that we can do things like dline/reject cache processing early
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 14:32:24 UTC (24007)
|
|
Log:
|
|
Change FD_* enums into a bitmask called IRCD_FD
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 03:01:32 UTC (24005)
|
|
Log:
|
|
first part of my currently busted ssl/tls code
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2007/07/20 02:58:45 UTC (24003)
|
|
Log:
|
|
add a missing balloc commit
|
|
|
|
Modified:
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
jilles 2007/02/11 19:25:02 UTC (23608)
|
|
Log:
|
|
Don't lose a kqueue update when there are very many at a time.
|
|
|
|
charybdis r3205 (nenolod)
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
androsyn 2007/02/01 17:37:46 UTC (23565)
|
|
Log:
|
|
remove in6addr_any check
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Modified)
|
|
|
|
|
|
androsyn 2007/02/01 17:10:04 UTC (23559)
|
|
Log:
|
|
re-reun autotools
|
|
|
|
Modified:
|
|
libircd/trunk/Makefile.in (File Modified)
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
jilles 2007/02/01 17:05:13 UTC (23555)
|
|
Log:
|
|
export #define IPV6 to ircd code via a new autogenerated include/libircd_abi.h,
|
|
fixes instability with --enable-ipv6
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/include/libircd_abi.h.in (File Added)
|
|
|
|
|
|
androsyn 2007/02/01 16:49:21 UTC (23551)
|
|
Log:
|
|
fix SET_SS_LEN for bsd from dho
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2007/01/29 14:23:09 UTC (23543)
|
|
Log:
|
|
change offset from char* to uintptr_t as we have autoconf goo to find/define uintptr_t for us
|
|
|
|
Modified:
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
jilles 2007/01/27 13:22:02 UTC (23517)
|
|
Log:
|
|
Make NOBALLOC have the regular blockheap functions fall back
|
|
to ircd_malloc()/ircd_free(), instead of using #defines. This
|
|
ensures NOBALLOC does not change the ABI.
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
jilles 2007/01/27 13:19:53 UTC (23515)
|
|
Log:
|
|
Minor balloc tweaks:
|
|
- don't do arithmetic on void pointers
|
|
- allocate the correct amount of memory (not too much)
|
|
- add a standards-violating check on the pointer in ircd_bh_free()
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
jilles 2007/01/13 23:22:11 UTC (23453)
|
|
Log:
|
|
Unbreak compile with --disable-balloc.
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
|
|
|
|
androsyn 2007/01/08 15:35:04 UTC (23397)
|
|
Log:
|
|
change false to no for disabling fortran and c++ in autoconf
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2007/01/08 15:32:40 UTC (23391)
|
|
Log:
|
|
Disable checks for fortran, c++ and java...
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 17:11:39 UTC (23355)
|
|
Log:
|
|
more blockheap usage stuff
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:36:28 UTC (23353)
|
|
Log:
|
|
fix typo
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:34:52 UTC (23351)
|
|
Log:
|
|
forgot to add the user data to the usage cb typedef
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:31:00 UTC (23349)
|
|
Log:
|
|
change usage callback to include a user data variable
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:26:58 UTC (23347)
|
|
Log:
|
|
change descriptions on internal blockheaps to make them as being created by libircd
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:22:18 UTC (23345)
|
|
Log:
|
|
- make libircd link against libcrypt if it needs it
|
|
- fix balloc buglet
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:16:58 UTC (23343)
|
|
Log:
|
|
- change the block heap code to add a description
|
|
- add a function to walk over all the block heaps and call a user callback
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/include/balloc.h (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/snprintf.c (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2007/01/05 16:16:31 UTC (23341)
|
|
Log:
|
|
tweak libircd makefiles a little bit. change crypt() call in libircd to ircd_crypt()
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/crypt.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2006/12/28 15:26:02 UTC (23315)
|
|
Log:
|
|
if POSIX_SPAWN_USEVFORK exists, use it
|
|
|
|
Modified:
|
|
libircd/trunk/src/unix.c (File Modified)
|
|
|
|
|
|
androsyn 2006/12/28 15:07:04 UTC (23313)
|
|
Log:
|
|
add support for posix_spawn
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Modified)
|
|
libircd/trunk/libtool (File Deleted)
|
|
libircd/trunk/src/unix.c (File Modified)
|
|
|
|
|
|
androsyn 2006/12/28 14:47:57 UTC (23311)
|
|
Log:
|
|
only compile mem frobbing if MEM_FROB is defined
|
|
|
|
Modified:
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/12/18 20:02:21 UTC (23303)
|
|
Log:
|
|
some more splitout cleanups
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
libircd/trunk/src/unix.c (File Modified)
|
|
|
|
|
|
androsyn 2006/11/12 07:52:53 UTC (23281)
|
|
Log:
|
|
some portability cleanups
|
|
|
|
Modified:
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/11/12 07:32:54 UTC (23277)
|
|
Log:
|
|
sigh..try this again
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/11/12 07:32:13 UTC (23275)
|
|
Log:
|
|
forgot a const
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/11/12 07:30:59 UTC (23273)
|
|
Log:
|
|
it should be okay to cast ircd_iovec to iovec..the other way i was doing it blew up in *weird* ways
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/11/12 06:53:22 UTC (23271)
|
|
Log:
|
|
attempt at fixing devel..take 1
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/libtool (File Modified)
|
|
libircd/trunk/src/balloc.c (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/crypt.c (File Modified)
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/event.c (File Modified)
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
libircd/trunk/src/ircd_memory.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
libircd/trunk/src/snprintf.c (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
libircd/trunk/src/unix.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/13 23:57:58 UTC (23251)
|
|
Log:
|
|
automake hates me
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Modified)
|
|
|
|
|
|
alz 2006/10/13 19:55:38 UTC (23249)
|
|
Log:
|
|
Return 0
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
|
|
|
|
alz 2006/10/13 19:54:37 UTC (23247)
|
|
Log:
|
|
More crack
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
alz 2006/10/13 19:52:51 UTC (23245)
|
|
Log:
|
|
Androsyn is on crack
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/event.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/13 19:23:10 UTC (23243)
|
|
Log:
|
|
alz smells like feet
|
|
|
|
Modified:
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/13 19:20:09 UTC (23241)
|
|
Log:
|
|
because alz is too lazy to commit fixes himself
|
|
|
|
Modified:
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/13 19:17:38 UTC (23239)
|
|
Log:
|
|
commit a missing commit
|
|
|
|
Modified:
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/13 19:16:32 UTC (23237)
|
|
Log:
|
|
remove SELECT_TYPE msg
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Modified)
|
|
|
|
|
|
androsyn 2006/10/13 19:07:39 UTC (23233)
|
|
Log:
|
|
fix ircd_strlcpy/cat when the OS actually has those funcs
|
|
|
|
Modified:
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/libtool (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 05:47:23 UTC (23222)
|
|
Log:
|
|
Actually add configure.ac to the repo...
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/configure.ac (File Added)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 05:05:19 UTC (23216)
|
|
Log:
|
|
not thinking straight here :P
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:58:00 UTC (23214)
|
|
Log:
|
|
Add some crude dynamic io type selection
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:43:10 UTC (23212)
|
|
Log:
|
|
add timeout code back to sigio
|
|
|
|
Modified:
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:41:09 UTC (23210)
|
|
Log:
|
|
oops..wtf was that
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:26:42 UTC (23208)
|
|
Log:
|
|
add ircd_get_iotype prototype
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:23:53 UTC (23206)
|
|
Log:
|
|
fix more stupid things
|
|
|
|
Modified:
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:17:32 UTC (23204)
|
|
Log:
|
|
everything should work now
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:03:59 UTC (23202)
|
|
Log:
|
|
lets try this like this
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 04:00:43 UTC (23200)
|
|
Log:
|
|
oops. move that code outside of that ifdef
|
|
|
|
Modified:
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:56:52 UTC (23198)
|
|
Log:
|
|
remove an unused function declaration
|
|
|
|
Modified:
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:55:56 UTC (23196)
|
|
Log:
|
|
add a missing linefeed at the end of the file
|
|
|
|
Modified:
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:55:35 UTC (23194)
|
|
Log:
|
|
fix some shadowed variables
|
|
|
|
Modified:
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:53:38 UTC (23192)
|
|
Log:
|
|
add a missing linefeed at the end of the file
|
|
|
|
Modified:
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:53:12 UTC (23190)
|
|
Log:
|
|
add a missing linefeed at the end of the file
|
|
|
|
Modified:
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:51:42 UTC (23188)
|
|
Log:
|
|
get the other half of that last commit
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/Makefile.in (File Modified)
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/include/event.h (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 03:50:43 UTC (23186)
|
|
Log:
|
|
Change the way we do i/o loop detection quite a bit
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/event.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 02:34:52 UTC (23184)
|
|
Log:
|
|
fix autoconf/automake again
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 02:32:00 UTC (23182)
|
|
Log:
|
|
fix automake
|
|
|
|
Modified:
|
|
libircd/trunk/Makefile.in (File Modified)
|
|
libircd/trunk/src/Makefile.am (File Modified)
|
|
libircd/trunk/src/Makefile.in (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 02:29:23 UTC (23180)
|
|
Log:
|
|
change the caller of ircd_lib to ircd_lib_init in helper.c
|
|
|
|
Modified:
|
|
libircd/trunk/src/helper.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 02:27:06 UTC (23178)
|
|
Log:
|
|
add some things autoconf needs
|
|
|
|
Modified:
|
|
libircd/trunk/config.guess (File Added)
|
|
libircd/trunk/config.sub (File Added)
|
|
libircd/trunk/depcomp (File Added)
|
|
|
|
|
|
androsyn 2006/10/12 02:09:06 UTC (23174)
|
|
Log:
|
|
rename ircd_lib() to ircd_lib_init()
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 01:58:07 UTC (23172)
|
|
Log:
|
|
- Some more namespace cleanups
|
|
- Add a README and TODO
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/README (File Added)
|
|
libircd/trunk/TODO (File Added)
|
|
libircd/trunk/include/commio.h (File Modified)
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/devpoll.c (File Modified)
|
|
libircd/trunk/src/epoll.c (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
libircd/trunk/src/kqueue.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
libircd/trunk/src/poll.c (File Modified)
|
|
libircd/trunk/src/ports.c (File Modified)
|
|
libircd/trunk/src/select.c (File Modified)
|
|
libircd/trunk/src/sigio.c (File Modified)
|
|
libircd/trunk/src/tools.c (File Modified)
|
|
libircd/trunk/src/win32.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 01:33:35 UTC (23170)
|
|
Log:
|
|
more strlcpy changes
|
|
|
|
Modified:
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
libircd/trunk/src/commio.c (File Modified)
|
|
libircd/trunk/src/event.c (File Modified)
|
|
libircd/trunk/src/ircd_lib.c (File Modified)
|
|
libircd/trunk/src/ircd_memory.c (File Modified)
|
|
libircd/trunk/src/linebuf.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 01:27:25 UTC (23168)
|
|
Log:
|
|
make ircd_lib.h use the renamed headers
|
|
|
|
Modified:
|
|
libircd/trunk/include/ircd_lib.h (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 01:25:06 UTC (23166)
|
|
Log:
|
|
change strlcpy to ircd_strlcpy. rename config.h to libircd_config.h
|
|
|
|
Modified:
|
|
libircd/trunk/configure (File Modified)
|
|
libircd/trunk/include/ircd_memory.h (File Modified)
|
|
libircd/trunk/include/libircd_config.h.in (File Added)
|
|
libircd/trunk/include/tools.h (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 01:16:22 UTC (23164)
|
|
Log:
|
|
- Move .h files into include, .c files into src
|
|
- Import a cut down autoconf from ircd
|
|
- Change the init code so that ircd_lib gets passed an fd heap size
|
|
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/COPYING (File Added)
|
|
libircd/trunk/CREDITS (File Added)
|
|
libircd/trunk/INSTALL (File Added)
|
|
libircd/trunk/Makefile.am (File Deleted)
|
|
libircd/trunk/Makefile.am (File Added)
|
|
libircd/trunk/Makefile.in (File Modified)
|
|
libircd/trunk/acinclude.m4 (File Added)
|
|
libircd/trunk/aclocal.m4 (File Added)
|
|
libircd/trunk/balloc.c (File Deleted)
|
|
libircd/trunk/balloc.h (File Deleted)
|
|
libircd/trunk/commio.c (File Deleted)
|
|
libircd/trunk/commio.h (File Deleted)
|
|
libircd/trunk/configure (File Added)
|
|
libircd/trunk/crypt.c (File Deleted)
|
|
libircd/trunk/devpoll.c (File Deleted)
|
|
libircd/trunk/epoll.c (File Deleted)
|
|
libircd/trunk/event.c (File Deleted)
|
|
libircd/trunk/event.h (File Deleted)
|
|
libircd/trunk/helper.c (File Deleted)
|
|
libircd/trunk/helper.h (File Deleted)
|
|
libircd/trunk/include/ (File Added)
|
|
libircd/trunk/include/balloc.h (File Added)
|
|
libircd/trunk/include/commio.h (File Added)
|
|
libircd/trunk/include/event.h (File Added)
|
|
libircd/trunk/include/helper.h (File Added)
|
|
libircd/trunk/include/ircd_lib.h (File Added)
|
|
libircd/trunk/include/ircd_memory.h (File Added)
|
|
libircd/trunk/include/linebuf.h (File Added)
|
|
libircd/trunk/include/snprintf.h (File Added)
|
|
libircd/trunk/include/tools.h (File Added)
|
|
libircd/trunk/install-sh (File Added)
|
|
libircd/trunk/ircd_lib.c (File Deleted)
|
|
libircd/trunk/ircd_lib.h (File Deleted)
|
|
libircd/trunk/ircd_memory.c (File Deleted)
|
|
libircd/trunk/ircd_memory.h (File Deleted)
|
|
libircd/trunk/kqueue.c (File Deleted)
|
|
libircd/trunk/libtool (File Added)
|
|
libircd/trunk/linebuf.c (File Deleted)
|
|
libircd/trunk/linebuf.h (File Deleted)
|
|
libircd/trunk/ltmain.sh (File Added)
|
|
libircd/trunk/missing (File Added)
|
|
libircd/trunk/poll.c (File Deleted)
|
|
libircd/trunk/ports.c (File Deleted)
|
|
libircd/trunk/select.c (File Deleted)
|
|
libircd/trunk/sigio.c (File Deleted)
|
|
libircd/trunk/snprintf.c (File Deleted)
|
|
libircd/trunk/snprintf.h (File Deleted)
|
|
libircd/trunk/src/ (File Added)
|
|
libircd/trunk/src/Makefile.am (File Added)
|
|
libircd/trunk/src/Makefile.in (File Added)
|
|
libircd/trunk/src/balloc.c (File Added)
|
|
libircd/trunk/src/commio.c (File Added)
|
|
libircd/trunk/src/crypt.c (File Added)
|
|
libircd/trunk/src/devpoll.c (File Added)
|
|
libircd/trunk/src/epoll.c (File Added)
|
|
libircd/trunk/src/event.c (File Added)
|
|
libircd/trunk/src/helper.c (File Added)
|
|
libircd/trunk/src/ircd_lib.c (File Added)
|
|
libircd/trunk/src/ircd_memory.c (File Added)
|
|
libircd/trunk/src/kqueue.c (File Added)
|
|
libircd/trunk/src/linebuf.c (File Added)
|
|
libircd/trunk/src/poll.c (File Added)
|
|
libircd/trunk/src/ports.c (File Added)
|
|
libircd/trunk/src/select.c (File Added)
|
|
libircd/trunk/src/sigio.c (File Added)
|
|
libircd/trunk/src/snprintf.c (File Added)
|
|
libircd/trunk/src/tools.c (File Added)
|
|
libircd/trunk/src/unix.c (File Added)
|
|
libircd/trunk/src/win32.c (File Added)
|
|
libircd/trunk/tools.c (File Deleted)
|
|
libircd/trunk/tools.h (File Deleted)
|
|
libircd/trunk/unix.c (File Deleted)
|
|
libircd/trunk/win32.c (File Deleted)
|
|
|
|
|
|
androsyn 2006/10/12 00:41:26 UTC (23162)
|
|
Log:
|
|
damnit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:39:36 UTC (23161)
|
|
Log:
|
|
automated serno/changelog
|
|
|
|
Modified:
|
|
libircd/trunk/ChangeLog (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:39:28 UTC (23160)
|
|
Log:
|
|
i think it works now..really
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:34:12 UTC (23157)
|
|
Log:
|
|
work you piece of shit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:31:31 UTC (23156)
|
|
Log:
|
|
test commit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:29:54 UTC (23155)
|
|
Log:
|
|
test commit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:27:07 UTC ()
|
|
Log:
|
|
test commit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:26:28 UTC ()
|
|
Log:
|
|
test commit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:25:15 UTC ()
|
|
Log:
|
|
test commit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:22:44 UTC ()
|
|
Log:
|
|
test commit
|
|
|
|
Modified:
|
|
libircd/trunk/tools.c (File Modified)
|
|
|
|
|
|
androsyn 2006/10/12 00:21:54 UTC ()
|
|
Log:
|
|
here is a new changelog for libircd
|
|
|
|
|
|
Modified:
|
|
libircd/trunk/ChangeLog (File Added)
|
|
|
|
|