Log of /eggdrop1.9/src/main.c
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.191 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 6 00:05:40 2007 UTC
(13 years, 2 months ago)
by
sven
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.190: +1 -3 lines
Diff to
previous 1.190
,
to
selected 1.43
* Added a new socketfilter that provides a per socket timer for easy
implementation of various timeouts.
* All sockets that expect user logins now have a 60 second timeout for
the user to supply a valid login.
* All botnet sockets now have a 30 second timeout for the bot to do a
successful login. After that it has a 90 second timeout after which
a ping will be sent. After another 90 seconds the socket is closed.
Revision
1.190 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 9 01:32:32 2007 UTC
(13 years, 8 months ago)
by
sven
Branch:
MAIN
Changes since
1.189: +10 -2 lines
Diff to
previous 1.189
,
to
selected 1.43
* Created a double linked list to hold all user records. Hash tables are
great, but sometimes you just have to go through all records.
* Refuse to actively link to bots with a negative priority. Incoming
connections from these bots will still be acceppted.
* Refuse partyline logins from bots. Bots usually don't have a password
set, so that might be exploitable.
* Ping connected bots if they haven't sent anything for 5 minutes.
* Started to structure the user settings and documented it with a Doxygen
page.
* Added autolinking for bots based on a priority. See botnet_autolink()
documentation for details.
Revision
1.189 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 14 14:51:24 2006 UTC
(14 years, 2 months ago)
by
sven
Branch:
MAIN
Changes since
1.188: +4 -1 lines
Diff to
previous 1.188
,
to
selected 1.43
Misc:
* Bind table flag BIND_BREAKABLE now includes BIND_STACKABLE, doesn't make
sense otherwise.
* If the line buffer contains more than one line of text do a check if the
index is still valid after every callback (the sockbuf might have been
deleted).
* Added a "Doxygen" file in the root dir. It will generate html output in
doc/developer/html. (The dir will be created by doxygen.)
Partyline stuff:
* Partychan join and quit functions have an extra parameter indicating if
the event is triggered because of someone joining/quitting or botnet
restructuring.
* Renamed partychan_msg() to chan_msg and made it static. It can now either
msg the whole channel or just everyone on the local bot on the channel.
* New functions partychan_msg() (works like before) and localchan_msg() to
send it to every local user of the chan.
* Added stuff to the partymember struct: A pointer to the bot the user is
on, a malloc'd string containing the full unique name in the form
"id:nick@bot", a pointer into this string to the full name "nick@bot"
and a pointer to the common name of the user, "nick" for local users and
"nick@bot" for users on other bots.
* The id of a partymember is no longer unique, only unique to the bot the
user is on. The nick was never unique. TODO: Change the script modules
to take care of that!
* A partymember is now part of two double linked lists: A list of all
partymembers and a list of all partymembers on the bot.
* Removed the partymember_lookup_* functions. partymember_lookup() takes
cares of all the stuff.
* Added functions to count all users on a bot and delete all users on a bot.
Ircpartyline:
* IRC requires nicks to be unique for everyone and useing the usual "@" in
the "nick@bot" form doesn't work at all on IRC. Therefor the nick format
is now: "nick*bot:id" for remote users and "nick:id" for local users.
Script stuff:
* Added a new script parameter: 'B': A bot.
* TODO: Change the script modules to use it!
Botnet stuff:
* Added botnet.[ch]. Fully documented!
* Changed the oldbotnet module to use the new botnet API. Only very basic
stuff works atm: Bot links, unlinks, partymember joins, quits and chatter.
But at least it doesn't matter any more if the bot is a leaf or a hub.
Revision
1.187 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 8 04:40:13 2005 UTC
(15 years, 8 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.186: +10 -11 lines
Diff to
previous 1.186
,
to
selected 1.43
* fix some bugs with initializing mode lists and arg lists for auto-joined channels
* experimental code to help user searching based on a host (in ircmasks.c)
* use random-replacement for userhost cache management (may need tuning)
Revision
1.186 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 17 05:14:07 2004 UTC
(16 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.185: +3 -25 lines
Diff to
previous 1.185
,
to
selected 1.43
* Added a few includs to common.h
* Removed duplicate includes from a bunch of files
* Added tcl date parsing a la "clock scan"
* Fixed some issues with configure (maybe)
Revision
1.184 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 26 09:42:09 2004 UTC
(16 years, 4 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.183: +9 -9 lines
Diff to
previous 1.183
,
to
selected 1.43
* module_load checks modname_LTX_start in addition to start.
* add linked list info to xml nodes
* there were some memory errors somewhere... no idea where... so for now I've changed it back to the old config api and commented out the help system
Revision
1.183 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 19 18:39:36 2004 UTC
(16 years, 5 months ago)
by
darko
Branch:
MAIN
Changes since
1.182: +2 -2 lines
Diff to
previous 1.182
,
to
selected 1.43
- Added timeutil.c and timeutil.h - this is where (obviously) time related
stuff should go.
- Finalized some of the channel mask stuff now that time functions exist.
- Fixed issue where egg_set_params() was called char* instead of char**
Revision
1.182 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jul 4 23:55:35 2004 UTC
(16 years, 6 months ago)
by
darko
Branch:
MAIN
Changes since
1.181: +3 -1 lines
Diff to
previous 1.181
,
to
selected 1.43
- Added global_sanity_check() and channel_sanity_check() . For now it takes
care only about a few basic flags.
- Made a lookup table unsigned long flagmap[256] that maps characters to
the values used by flags_t members.
- Changed members of flags_t to be unsigned long instead of int. int is not
guaranteed to be longer than 16 bits.
Revision
1.181 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 30 17:07:20 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.180: +13 -11 lines
Diff to
previous 1.180
,
to
selected 1.43
* Added support for single and double linked lists
* Added some more xml validation errors
* Added some TODO's
* Added MIN/MAX_<datatype> #define's. Someone should really add a check
for limit.h if it provides these types.
* Changed default value of variant's int to MIN_INT so our config api
can differ between non-set ints (0 is too commonly used as a real
value). So if variant's int is MIN_INT the attribute is not written.
Revision
1.178 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 23 17:24:43 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.177: +6 -6 lines
Diff to
previous 1.177
,
to
selected 1.43
* Added xml_save_str to save xml_node_t into a char *
* Made xml reader more spec compliant and a first start of error handling.
Now at least we handle some xml errors. Prior you just got "Error while
loading config file.".
* Added top level elements to config.xml and users.xml.
Revision
1.177 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 22 23:20:23 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.176: +4 -1 lines
Diff to
previous 1.176
,
to
selected 1.43
* 50 downs, 0 to go 8-). The core and libeggdrop are now init/shutdown
memleak free. Though there'll be still leaks after a normal run.
* More xml cleanups. It's really irritating, xml_node_add just "copies"
the node to the parent, xml_node_append_child "moves" the node the parent.
I think i'll drop the "copy" functions since it's more intuitive that
if i call xml_node_add/append_child the child is "moved", not copied.
Revision
1.176 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 22 21:55:32 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.175: +1 -2 lines
Diff to
previous 1.175
,
to
selected 1.43
* 20 blocks down, 50 to go...
* Renamed xml_node_destroy to xml_node_delete (i guess the majority of our
delete functions is or should be called delete)
* Added a new xml_node_destroy_callbacked where you can supply a free()
callback which is called for every child node's client_data
* Finished last shutdown function (though it's not right see XXX in
script_shutdown).
* Fixed some mem leaks here and there
* Made debug output configurable through mem_dbg_set_options. Valid options
are
MEM_DEBUG_NONE /* no mem debug output at all */
MEM_DEBUG_PRINT_ERRORS /* print errors */
MEM_DEBUG_PRINT_EACH_CALL /* each call is print */
Revision
1.175 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 22 20:12:37 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.174: +21 -10 lines
Diff to
previous 1.174
,
to
selected 1.43
* "wild_match() in match.c forgot to allow for trailing *'s in the string
containing mask" (patch by Darko Ilic)
* Added most *_shutdown() methods, though still 187 blocks allocated...
damn...
* Debugging realloc behaved wrong if size == 0 was supplied (equals free
call now)
Revision
1.174 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 22 10:54:42 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.173: +28 -17 lines
Diff to
previous 1.173
,
to
selected 1.43
* Fixed -DDEBUG (wasn't supplied in lib/eggdrop and modules)
* Reformatted help and xml to match our coding rules
* Added simple memory tracking functions
* Added a debugging switch (-d, --debug) which isn't very usefull for
anyone but me since it's a normal eggdrop run w/o the main loop ;-). It
helps me finding mem leaks by doing
./eggdrop -d && cat memory.log
Yeah, will be removed, but not yet currently coz there are still ~270
memory blocks allocated when eggdrop is shut down.
Revision
1.171 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jun 20 13:33:48 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.170: +296 -176 lines
Diff to
previous 1.170
,
to
selected 1.43
* Moved terminal mode out of telnetparty into core. No more need to
load telnetparty in order to get a console.
* Started the beginning (heh) of '.restart'. Currently only the framework
works, meaning if you do '.restart' the old stuff isn't cleared since
currently everything leaks a <section>_shutdown() method :-/.
At least we can test memory leaks (and i guess there are a lot) this way
by doing a restart and check if there's a single byte of memory allocated
(there _shouldn't_ be any).
Revision
1.170 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 19 18:07:01 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.169: +49 -12 lines
Diff to
previous 1.169
,
to
selected 1.43
* Added new (debugging) command: .binds
* Added "framework" for init/shutdown/restart. We should really try to avoid
use of exit system call. More cleanups to come later.
Revision
1.169 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 17 13:32:44 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.168: +9 -5 lines
Diff to
previous 1.168
,
to
selected 1.43
* Added new TAG: DDC for "this feature is document". After we are sure
that all source code variables/commands/functions/ are tagged with either
DDD or DDC we'll remove them.
* Made module Makefile.am's more centralized by moving common stuff
to acconfig/module.mk.
* Introducted new help system. It's now on per module basis and localized.
Default language is "en_EN" else not otherwise specified. Beside the
%b formattings of 1.6 it has all features of the 1.6 help system.
It's also more intelligent since help files are automaticly bound to
module load/unload events. You don't need to manually load module help
files any more. (Though unloading not tested yet... 8-))
* Fixed some tweaks here and there.
Revision
1.168 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 15 11:54:33 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.167: +10 -6 lines
Diff to
previous 1.167
,
to
selected 1.43
* Fixed all current compile warnings
* Terminal mode was entered even if there was no -t command line arg.
Currently this is fixed with a global int symbol, but imho we might
need to find a better way to deal with accessing command line args
in modules (and mapping them back to the core).
Revision
1.167 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 15 11:24:46 2004 UTC
(16 years, 7 months ago)
by
wingman
Branch:
MAIN
Changes since
1.166: +9 -4 lines
Diff to
previous 1.166
,
to
selected 1.43
* Assertion outputs shouldn't be done via putlog
* stdin/stdout can now be used with sockbufs (just create a new sockbuf
with socket fileno(stdout))
* Added terminal mode (--terminal/-t). Though not the best solution yet
since telnetparty needs to be loaded but it's much easier now to
debug/test things now.
* Added two new binds:
init: executed after everything (core,modules,scripts) is loaded
and right before main loop.
shutdown: executed before shutting down the bot (currently never
called since we'll never leave our main loop and there
are places like party_die which calls exit() manually).
Revision
1.154 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 16 03:13:51 2003 UTC
(17 years, 1 month ago)
by
wcc
Branch:
MAIN
Changes since
1.153: +300 -352 lines
Diff to
previous 1.153
,
to
selected 1.43
* main.c cleanups.
* Added pidfile and die_on_sigterm to config.
* Added 'act' party command.
* Started a 'status' party command.
* Removed config.tcl.
* General cleanups.
Revision
1.151 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 11 08:37:39 2003 UTC
(17 years, 7 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.150: +64 -34 lines
Diff to
previous 1.150
,
to
selected 1.43
* guppy needed something to read on the bathroom
* new approach to create the initial user -- we prompt for the owner's handle
when the bot starts with -m, and then generate a random password and print
it out.
Revision
1.135 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 15 05:04:58 2003 UTC
(17 years, 11 months ago)
by
wcc
Branch:
MAIN
Changes since
1.134: +4 -6 lines
Diff to
previous 1.134
,
to
selected 1.43
* Removed share.mod (will be part of the new botnet module).
* More transfer removal.
* More botnet removal.
* Regenerated gettext stuff.
* More doc stuff.
* Removed eggdrop.conf (replaced by config.tcl for now).
Revision
1.134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 14 20:55:02 2003 UTC
(17 years, 11 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.133: +21 -18 lines
Diff to
previous 1.133
,
to
selected 1.43
* Added autoload section to xml config file and got rid of the -p option (preload).
* To load your old config file, rename it to blah.tcl and put <script>blah.tcl</script> in the autoload section.
* Added sample config.xml and config.tcl files.
* Moved some more script functions to the script module.
Revision
1.126 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 3 23:16:09 2002 UTC
(18 years, 2 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.125: +3 -4 lines
Diff to
previous 1.125
,
to
selected 1.43
* Moved md5 code to lib/eggdrop so I can use it for password hashing
* Passwords are stored as standard hex encoding of md5(salt + password)
* Started moving script interface functions to modules/script
Revision
1.121 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 20 02:06:25 2002 UTC
(18 years, 4 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.120: +5 -4 lines
Diff to
previous 1.120
,
to
selected 1.43
* Moved several things from the core into libegg
* Server module uses new network code
* Lots of stuff removed from the server module, like flood stuff, which should go into a new module
* Moved some things from irc module to server module (mostly bind stuff, like pub)
* Not everything works right now, but I wanted to get it into cvs in case my computer dies a horrible death. I'm going to combine irc/server (mostly) and make a new one for all the default protection stuff.
* Right now server messages are not queued. I thought the code was pretty much beyond repair. The new queueing code will hopefully be more maintainable.
* I'm not sure I added/removed all the files necessary! Let me know if it doesn't compile for you.
Revision
1.120 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 18 06:12:32 2002 UTC
(18 years, 7 months ago)
by
guppy
Branch:
MAIN
Changes since
1.119: +1 -2 lines
Diff to
previous 1.119
,
to
selected 1.43
- removed userflag +k
- removed userflag +h
- removed all the code related to .strip since stdarg is going to redo it in a
better fashion using network filters.
- removed woobie since woobie is useless and we would be much better suited with
a "sample" module that actually does something useful
Revision
1.118 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 12 15:35:44 2002 UTC
(18 years, 8 months ago)
by
ite
Branch:
MAIN
Changes since
1.117: +1 -2 lines
Diff to
previous 1.117
,
to
selected 1.43
* Now always preforking
* More minor configure macros cleanup
* Let's try to detect JS_NewObject() instead of JS_Now() for javascript library detection.
* Js headers to be corectly detected when --with-jsinc isn't passed to ./configure
Revision
1.116 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 5 15:19:11 2002 UTC
(18 years, 8 months ago)
by
wingman
Branch:
MAIN
Changes since
1.115: +15 -11 lines
Diff to
previous 1.115
,
to
selected 1.43
Changes:
* removed patch.h
* added proper <filename>.h to (nearly) all <filename.h>
* moved fixcolon to server.mod and irc.mod
* moved ip2long to net.h
* removed some unused function (forgot the name :-P)
Todo:
* move config.h #include's away from main.h to files which
needs them
* clean up lib/eggdrop/module.h
(now not just main.h is included but nearly all .h files from
the core, but i guess this fixes itself when the global func
table is abandon - then the modules must be revised too and
we can clean up module.h)
And i'll bet i forgot something... ;-)
Revision
1.114 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri May 3 01:21:16 2002 UTC
(18 years, 9 months ago)
by
ite
Branch:
MAIN
Changes since
1.113: +99 -46 lines
Diff to
previous 1.113
,
to
selected 1.43
* Now using getopt_long() for command line processing. Might not be defnitive.
* Workarounded an issue on cygwin which prevented binmode.o to be linked in.
* Minor configure macros cleanup
Revision
1.111 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Apr 1 13:33:33 2002 UTC
(18 years, 10 months ago)
by
ite
Branch:
MAIN
Changes since
1.110: +5 -5 lines
Diff to
previous 1.110
,
to
selected 1.43
* Got rid of strncpyz() in favour of BSD's strlcpy(). Fallback function provided.
* BSD's strlcat() provided as fallback function.
* Fallback functions weren't linked as expected when needed.
Revision
1.110 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Mar 26 01:06:22 2002 UTC
(18 years, 10 months ago)
by
ite
Branch:
MAIN
Changes since
1.109: +2 -3 lines
Diff to
previous 1.109
,
to
selected 1.43
* moved script API to libeggdrop (without using the bot context)
* fixed a wrong function name in perlscript
* do not use the bot context in registry for now
Revision
1.108 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 25 02:59:50 2002 UTC
(18 years, 11 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.107: +7 -9 lines
Diff to
previous 1.107
,
to
selected 1.43
* Added 'timers' and 'timer_info' commands
* Removed some unnecessary usage of time(NULL) in logfile.c
* New global variable egg_timeval_now (like 'now' but with microseconds)
* Fixed some bugs, cleaned up some code, in egg_timer.c
Revision
1.105 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 19 20:08:58 2002 UTC
(19 years ago)
by
ite
Branch:
MAIN
Changes since
1.104: +3 -1 lines
Diff to
previous 1.104
,
to
selected 1.43
* varoius header inclusion cleanups
* moved FILEDB* defines from src/egg.h to a more suitable place in modules/filesys/filesys.h
* moved NORMAL and QUICK defines from src/egg.h to a more suitable place in modules/irc/irc.h
* fixed a warning in modules/perlscript/perlscript.c
* created src/misc.h and src/logfile.h. Moved in them the respective prototypes from src/proto.h, and the respective defines from src/egg.h
* moved private structures from src/dns.h to src/dns.c
* moved src/dns.c's related prototypes from src/egg.h to src/dns.h
* moved RES_* defines from src/egg.h to dns.h
* removed some unneeded defines here and there
* moved LOG_* defines from src/egg.h to src/logfile.h
* dns_events wasn't static
Revision
1.94 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 21 06:02:48 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.93: +4 -3 lines
Diff to
previous 1.93
,
to
selected 1.43
* Changed the FILT bind to use a global variable instead of returning a string.
This will make it easier for multiple callbacks to act on one string.
* Made a new config variable called "dcc_command_chars" that lets you change
which chars represent a command on the console. Default is "./".
Revision
1.93 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 20 08:04:22 2001 UTC
(19 years, 3 months ago)
by
guppy
Branch:
MAIN
Changes since
1.92: +2 -1 lines
Diff to
previous 1.92
,
to
selected 1.43
* Okay, after talking to various #eggdrop people and seeing x+1 people running eggdrop1.7 as production bots -- I added a
small warning to the output of ./eggdrop for 1.7 that tells them this is a development version and that they shouldn't run it
unless they are testing it. Sound good? It better :P~ hehe
Revision
1.91 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 19 01:55:05 2001 UTC
(19 years, 3 months ago)
by
tothwolf
Branch:
MAIN
Changes since
1.90: +7 -7 lines
Diff to
previous 1.90
,
to
selected 1.43
* removed obsolete EGG_CHECK_FUNC_VSPRINTF autoconf macro
* removed obsolete EGG_HEADER_STDC autoconf macro
* added EGG_C_LONG_LONG autoconf macro
* added EGG_FUNC_C99_VSNPRINTF autoconf macro
* added EGG_REPLACE_SNPRINTF autoconf macro
* added EGG_TYPE_32BIT autoconf macro
* removed unused dlfcn.h header check from configure.ac
* removed AC_CHECK_SIZEOF long and int from configure.ac
* added many required autoconf macros to configure.ac
* added AC_REPLACE_FUNCS to configure.ac for compat functions
* many configure.ac cleanups
* updated compat/snprintf.c with latest version from Samba
* added code to link libm with compat library for snprintf.c
* added support for LIBOBJS to compat/Makefile.am
* added memset back to compat
* added memcpy back to compat
* many compat cleanups
* renamed egg_strcasecmp() to strcasecmp()
* renamed egg_strncasecmp() to strncasecmp()
* renamed egg_snprintf() to snprintf()
* renamed egg_vsnprintf() to vsnprintf()
* renamed egg_strftime() to strftime()
* renamed egg_inet_aton() to inet_aton()
* renamed egg_inet_ntop() to inet_ntop()
* renamed egg_inet_pton() to inet_pton()
* exported strftime() for modules
* exported inet_ntop() for modules
* exported inet_pton() for modules
* exported vasprintf() for modules
* exported asprintf() for modules
* renamed u_32bit_t typedef to u_32int_t
* extended stat.h to support standard bits and checks
* major function changes:
+ egg_strcasecmp -> strcasecmp
+ egg_strncasecmp -> strncasecmp
+ egg_snprintf -> snprintf
+ egg_vsnprintf -> vsnprintf
+ egg_strftime -> strftime
+ egg_inet_aton -> inet_aton
+ egg_inet_ntop -> inet_ntop
+ egg_inet_pton -> inet_pton
Revision
1.90 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 18 09:06:43 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.89: +4 -41 lines
Diff to
previous 1.89
,
to
selected 1.43
Fixed a bug in msprintf.
Added SCRIPT_FREE_VAR flag, to automatically free a script_var_t.
Added first config variables (for logging) via tclscript.mod.
Separated the logging stuff into logfile.c.
Added a command, "stoplog", which lets you close a logfile.
Removed "max-logs" since the logfiles are in a linked list (it was kind of pointless).
Revision
1.87 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 15 09:54:01 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.86: +2 -2 lines
Diff to
previous 1.86
,
to
selected 1.43
script.c: Forgot to push the script event on the event stack.
main.c: timer_destroy_all() was being called in the wrong place.
tclscript.c: Documentation error in a comment.
Revision
1.86 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 15 09:27:08 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.85: +2 -1 lines
Diff to
previous 1.85
,
to
selected 1.43
Updates to timer code.
Updates to tcl module.
Convenience functions for scripting.
Script journal for late scripting modules.
Got rid of anonymous union in script_var_t.
Revision
1.84 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 14 14:09:35 2001 UTC
(19 years, 3 months ago)
by
ite
Branch:
MAIN
Changes since
1.83: +1 -9 lines
Diff to
previous 1.83
,
to
selected 1.43
* STATIC is #defined again on static builds.
* Removed code for old module loading emulation on static builds.
* Updated README and INSTALL: new static build explanation.
* More string's gettextized-
* Synched po/eggdrop.pot with sources.
Revision
1.83 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 14 04:44:36 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.82: +3 -1 lines
Diff to
previous 1.82
,
to
selected 1.43
Added code for tclscript.mod
Made it compile correctly with configure et al (hopefully...)
Removed stuff for encodings from tcl.c
egglib/msprintf - like sprintf but mallocs a big enough buffer for you (no overruns, no truncated data)
egglib/mstack - simple stack structure (push, pop) that grows with malloc and is accessible in array form
Revision
1.82 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 13 12:00:22 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.81: +9 -3 lines
Diff to
previous 1.81
,
to
selected 1.43
Added code for C-based microsecond-precision timers.
Made utimer and timer use the new timer stuff. (But utimers and timers don't work with it yet, either does killtimer + killutimer, maybe somebody else can update those :) or I'll do it later)
Added new tcl command, mutimer, to make a timer with a fractional second (i.e. mutimer 500000 hi == run 'hi' after 1/2 second)
Made net.c change the select() timeout based on the shortest timer.
Added a guard clause to lostdcc(n) to make sure n is valid.
When the socket table is reallocated, now the new sockets are marked SOCK_UNUSED (heh).
Fixed a typo in filesys.mod (mine) (looked up the wrong bind table)
Revision
1.80 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 12 02:27:45 2001 UTC
(19 years, 3 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.79: +6 -3 lines
Diff to
previous 1.79
,
to
selected 1.43
Moved some stuff from main.c to botnet.c (for modularizing botnet)
Changed irctoupper to _irctoupper in match.c (temporary fix, cuz something is making it crash (I think irctoupper isn't initialized or exported or something))
Added code to expand the socket table when it's full.
Revision
1.79 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 10 10:44:04 2001 UTC
(19 years, 3 months ago)
by
tothwolf
Branch:
MAIN
Changes since
1.78: +7 -26 lines
Diff to
previous 1.78
,
to
selected 1.43
all expmem functions and support removed
all memory status/debugging code removed
all #ifdef DEBUG_MEM code removed
nmalloc macro/n_malloc function removed, use malloc() now
mod_malloc function removed
my_strdup function removed, use malloc_strcpy macro now
channel_malloc removed, use malloc_memset macro now
n_malloc_null function removed, use malloc_memset macro now
user_malloc macro/_user_malloc function removed, use malloc() now
nrealloc macro/n_realloc function removed, use realloc() now
mod_realloc function removed
nfree macro/n_free function removed, use free() now
mod_free function removed
my_free macro removed, use free_null macro now
Tcl_Free compat macro now uses free() instead of removed n_free function
malloc->strcpy now uses malloc_strcpy macro
free(ptr);ptr=NULL; now uses free_null macro
malloc->bzero now uses malloc_memset macro
get_data_ptr macro/_get_data_ptr function removed, use malloc_memset macro now
compat memcpy removed
compat memset removed
egg_memcpy/my_memcpy misuse/mess changed to memcpy
egg_bzero/bzero macro removed, use memset() now
many uninitialized pointers now default to NULL
match.c is now compiled on it's own instead of being included into tclhash.c
match.c cleanup, removed broken/incomplete ircII compat code
wild_match macro removed, _wild_match function renamed to wild_match
wild_match_per function no longer declared static
added prototypes for wild_match and wild_match_per functions
Major function/macro changes:
nmalloc -> malloc()
nrealloc -> realloc()
nfree -> free()
Bugs found and fixed during audit:
buffer overflow in adduser()
Bugs fixed when code was removed:
typo in filedb3.c: EBUG_MEM -> DEBUG_MEM
extra egg_bzero call from filesys.c
Revision
1.78 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 28 03:15:34 2001 UTC
(19 years, 4 months ago)
by
stdarg
Branch:
MAIN
Changes since
1.77: +4 -13 lines
Diff to
previous 1.77
,
to
selected 1.43
This is a big patch!
Created several new bind tables (raw, msg, msgm, pub, pubm) to see how it
would work. Seems to work well so far, although there could be bugs.
Added most of the new important bind table functions to the global table.
Revision
1.76 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Aug 21 00:21:17 2001 UTC
(19 years, 5 months ago)
by
ite
Branch:
MAIN
Changes since
1.75: +10 -4 lines
Diff to
previous 1.75
,
to
selected 1.43
Gettext phase 2:
* Replced dummy _() define with the real one and added language domain binding
code.
* added gettext's related m4 macros to aclocal
* added misc/config.guess and misc/config.sub system detection scripts
* added the po subdirectory containing:
- eggdrop.pot: the template translation file.
- POTFILES.in: a list of the source files containing _("") macros
- update.pl: a small perl script to generate eggdrop.pot from the sources
and to update existing translation files (*.po)
- ChangeLog: list of changes in that directory.
* added VERSION and VERSION_NUM (replacing EGG_VERSION and EGG_VERSION_NUM)
defines for versioning information. The version (+patch excepted) now changes
by just editing an entry in top of configure.in.
* removed EGG_VERSION_MAX and EGGDROP_VERSION_MIN C macros that wheren't used
anywhere.
* Modified bootstrap script
* added and and modified .cvsignore files
Revision
1.74 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Aug 13 16:52:13 2001 UTC
(19 years, 5 months ago)
by
guppy
Branch:
MAIN
Changes since
1.73: +5 -11 lines
Diff to
previous 1.73
,
to
selected 1.43
Cleaned up the output of .status inregards to TCL ...
Instead of showing:
Using Tcl library: /usr/local/lib/tcl8.3
Tcl version: 8.3 (header version 8.3)
Tcl patchlevel: 8.3.3 (header patchlevel 8.3.3)
TCL isn't threaded
We now show:
Tcl library: /usr/lib/tcl8.3
Tcl version: 8.3.2 (header version 8.3.2)
and is TCL is threaded:
Tcl library: /usr/lib/tcl8.3
Tcl version: 8.3.2 (header version 8.3.2)
Tcl is threaded
Do we even need to show the header version?
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
Wed Sep 27 19:48:54 2000 UTC
(20 years, 4 months ago)
by
fabian
Branch:
MAIN
Changes since
1.42: +16 -31 lines
Diff to
previous 1.42
fabian: applied threaded_libtcl_support patch
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.