ViewVC logotype

Log of /eggdrop1.9/src/terminal.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

Links to HEAD: (view) (download) (as text) (annotate)
Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 13 22:20:58 2007 UTC (12 years, 3 months ago) by sven
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10
 * Added a owner to sockbufs. Ugly but necessary.
 * Some more botnet stuff. Bots can actually link now.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 3 23:43:46 2007 UTC (12 years, 6 months ago) by sven
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9

 * Added netstring filter.
 * Created botnet module. (Just the framework, does nothing atm.)

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 14 15:21:13 2007 UTC (12 years, 8 months ago) by sven
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8

 * Fixed various compiler warnings about diffent signedness.
 * Added a new bind: bot. Works just like in eggdrop1.6
 * Added a new struct: botnet_entity. This is used in places where a certain
   event might be caused by either a bot or a partyline user.
 * Added backend for botnet broadcasts, botmsgs (zapf) and botbroadcasts
 * Added oldbotnet support for actchan, zapf and zapf-broad messages.
 * Improved oldbotnet assocs for mapping 1.6 channel numbers to 1.9 channel
   names. Don't send real assoc messages out because the 1.6 assoc module is
   horribly broken.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 13 12:23:41 2007 UTC (12 years, 11 months ago) by sven
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7

 * Added doxy.h for the doxygen main and related pages.
 * Fixed a bug in bind_rem_list.
 * Added a function to send text to a partymember with printf like formatting
 * Added a owner struct to partymembers so they can be deleted if their module
   is unloaded.
 * Unlinked the config vars of the server amd all partyline modules on unload.
 * All partymembers are deleted on bot shutdown or resart.

 * Reworked the way modules are unloaded:
   The module API has now two closeing functions, close() and unload(). close()
   is called by the module_unload function as it was before and should end all
   normal operation for the module. unload() is called by the main loop and
   should take care of terminating and freeing memory.
   This allows module to unload themself, ie a dcc partyline user unloading the
   dccparty module or a python script unloading the pythonscript module.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 14:51:24 2006 UTC (13 years, 1 month ago) by sven
Branch: MAIN
Changes since 1.6: +10 -8 lines
Diff to previous 1.6

 * 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
 * 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
 * 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.

 * 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.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 6 03:59:30 2006 UTC (13 years, 11 months ago) by sven
Branch: MAIN
Changes since 1.5: +12 -5 lines
Diff to previous 1.5

 * lots of memory corrupting .restart fun

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 23 21:12:57 2004 UTC (15 years, 5 months ago) by stdarg
Branch: MAIN
Changes since 1.4: +18 -12 lines
Diff to previous 1.4
* Basic command line parameter access for scripts/modules (not finished)
* Remove special case for stdin/stdio from socket.c

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 23 17:24:43 2004 UTC (15 years, 5 months ago) by wingman
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
* 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.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 22 20:12:37 2004 UTC (15 years, 5 months ago) by wingman
Branch: MAIN
Changes since 1.2: +36 -5 lines
Diff to previous 1.2
* "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...

* Debugging realloc behaved wrong if size == 0 was supplied (equals free
  call now)

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 21 01:14:06 2004 UTC (15 years, 5 months ago) by stdarg
Branch: MAIN
Changes since 1.1: +23 -19 lines
Diff to previous 1.1
* Removed special-case for stdin from sockbuf.c
* Made terminal.c use separate idx's for stdin/stdout
* Made timestamp format configurable
* Didn't test anything since it doesn't build for me

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 20 13:33:48 2004 UTC (15 years, 5 months ago) by wingman
Branch: MAIN
* 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).

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

ViewVC Help
Powered by ViewVC 1.1.23