ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/src/s_user.c
Revision 502 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 19:49:25 2006 UTC (18 years, 1 month ago) by michael
File length: 39354 byte(s)
Diff to previous 475
- Implemented CAP command handler based uppon ircu's m_cap()
- Added somewhat outdated draft-mitchell-irc-capabilities-01.txt until
  I get the latest version from kev.
- Added "multi-prefix" cap so clients supporting "multi-prefix"
  may recieve multi prefixed NAMES replies, e.g. @%+nick1 @+nick2 ..
- Fixed "make clean" for src/conf/

Revision 475 - (view) (annotate) - [select for diffs]
Modified Sat Feb 18 02:34:20 2006 UTC (18 years, 2 months ago) by adx
File length: 39317 byte(s)
Diff to previous 471
+ make it compile, and maybe even run...

Revision 471 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 10:01:53 2006 UTC (18 years, 2 months ago) by michael
File length: 39341 byte(s)
Diff to previous 458
- Don't allocate new dlink_node pointer on each client creation,
  rather reuse localClient->lclient_node for linking it into
  unknown_list and move it into local_client_list after client
  registration.

Revision 458 - (view) (annotate) - [select for diffs]
Modified Sun Feb 12 20:45:14 2006 UTC (18 years, 2 months ago) by michael
File length: 39461 byte(s)
Diff to previous 398
- Small changes so register_local_user() only takes 2 parameters instead of 4

Revision 398 - (view) (annotate) - [select for diffs]
Modified Tue Feb 7 12:00:21 2006 UTC (18 years, 2 months ago) by michael
File length: 39528 byte(s)
Diff to previous 365
- Ripped out lazylinks as discussed on irc. the main concept wasn't very well
  designed and will be done in a better way some day.  Anyways, they propably
  never worked and were considered bloat by most people.  Good bye!

Revision 365 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 20:48:35 2006 UTC (18 years, 3 months ago) by adx
File length: 41165 byte(s)
Diff to previous 332
+ this should fix the bug with low ping timeouts for servers.
keep cleaning up the conf stuff.

Revision 332 - (view) (annotate) - [select for diffs]
Modified Sun Dec 25 12:53:19 2005 UTC (18 years, 3 months ago) by michael
File length: 41120 byte(s)
Diff to previous 221
- Got rid of do_local_user() function

Revision 221 - (view) (annotate) - [select for diffs]
Modified Thu Nov 3 15:36:27 2005 UTC (18 years, 5 months ago) by michael
File length: 42205 byte(s)
Diff to previous 211
- Finished WATCH implementation
- Added missing 'return' after register_remote_user() call in
  nick_from_server() which would cause an extra hash_del/strcpy/hash_add
  combination.

Revision 211 - (view) (annotate) - [select for diffs]
Modified Tue Nov 1 21:42:01 2005 UTC (18 years, 5 months ago) by adx
File length: 42144 byte(s)
Diff to previous 158
- reorganisations which aim at:
  1) moving read_conf_files() at the end of daemon bootup process,
  2) making load_*_modules a part of conf parsing, after the 1st pass

Revision 158 - (view) (annotate) - [select for diffs]
Modified Wed Oct 19 09:35:52 2005 UTC (18 years, 6 months ago) by michael
File length: 42598 byte(s)
Diff to previous 139
- Fixed bug where we would increase Count.invisi even
  if invisible_on_connect is off

Revision 139 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 06:01:13 2005 UTC (18 years, 6 months ago) by db
File length: 42590 byte(s)
Diff to previous 129
- get rid of map_conf_item and unmap_conf_item
- Use an union in struct ConfItem, but only allocate memory needed


Revision 129 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 20:27:45 2005 UTC (18 years, 6 months ago) by michael
File length: 42577 byte(s)
Diff to previous 128
- Don't do any client/oper conf attach at all if any possible

Revision 128 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 19:29:26 2005 UTC (18 years, 6 months ago) by db
File length: 42690 byte(s)
Diff to previous 126
- still need a temporary copy of the client auth block
  for much the same reasons as a copy of the passwd is needed.
- need a copy of the oper conf for get_oper_name() so reuse no longer
  needed temporary spot for client auth block


Revision 126 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 02:41:46 2005 UTC (18 years, 6 months ago) by db
File length: 42742 byte(s)
Diff to previous 101
- attach/conf cleanup take 2
- Each client has now one AccessItem for its connect
  stored in localClient->iline
- The corresponding class is now stored in localClient->class

The ramifications of this move are, there is no conf list to traverse
to find the AccessItem, the class is instantly available from the localClient
struct without having to traverse the confs list and indirectly through the
aconf. This speeds up get_sendq etc. functions. As a bonus, at least
4 fewer bytes are used in the Client struct, since a dlink list is 4 words.
It does mean there is no longer a separate conf oper, which leads to the
kludge of patching the clients iline into an oper conf when
a client opers up. I don't think the oper flags are used after the client
is opered, so the patching operation may not be necessary.

- Server confs are stored in ->serv->sconf as before but attaching
  happens much earlier.
- server hub/leaf masks continues to be a dlink list but linked from
  the ->serv which is only allocated for servers.

- cleaned up some comments, added a comment, notably to check_server()
  which badly needed it.
- Pass ClassItem or AccessItem etc. in when it makes more sense than passing
  in struct ConfItem. This simplified and clarified rebuild_cidr_class()

And lo, there was a great rejoicing.


Revision 101 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 03:52:14 2005 UTC (18 years, 6 months ago) by db
File length: 42768 byte(s)
Diff to previous 69
- First pass at s_conf.c cleanup for attach clients
- attach_conf() is gone replaced with attach_iline()
  Clients/servers have one single I line "attached", i.e. the confs
  list is gone.
- Add attach_leaf_hub()
  Add a leaf or hub mask to the given server, ->serv must exist
  since there can be a list of hub masks and leaf masks, this continues
  to be a dlink list
- Removed redundant find_conf_exact()
  This function can be replaced in all cases with find_exact_name_conf()
  notably because all find_conf_exact did differently was count whether
  an oper conf would cause an already connected client to exceed class limits.
- oper_up() now takes an extra conf pointer pointing to the found
  oper conf, the oper flags are set in the client->iline as necessary
  in oper_up()
- Cleaned up more prototypes that should have been moved from s_conf.h
  to parse_aline.h notably. find_kill() and find_gkill()
- m_stats.c needs more cleanup since memory in attached "confs" is now
  not counted. This should be replaced with iline memory count and
  hub/leaf confs memory count.
  

Revision 69 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 16:09:51 2005 UTC (18 years, 6 months ago) by adx
File length: 42629 byte(s)
Diff to previous 55
- splitted ircd/libio, all headers connected with libio sources have been
  moved for internal use only. To use libio interface, include "libio.h"
  (which is already done in "stdinc.h")


Revision 55 - (view) (annotate) - [select for diffs]
Modified Mon Oct 3 11:15:26 2005 UTC (18 years, 6 months ago) by michael
File length: 42898 byte(s)
Diff to previous 33
- Re-added an equivalent of H6's sixth O-line field (Modes to get on operup).
- Updated efnet's example.conf to reflect the new
  opers_bypass_callerid directive
- Misc style corrections to s_user.c while on it

Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (18 years, 6 months ago) by knight
File length: 42757 byte(s)
Diff to previous 32
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (18 years, 6 months ago) by knight
File length: 42757 byte(s)
Diff to previous 31
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (18 years, 6 months ago) by knight
File length: 42757 byte(s)
Diff to previous 30
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 6 months ago) by adx
File length: 42808 byte(s)
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

(Current path doesn't exist after revision 1586)

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a