Module CS/include/inetwork/

back to main page

Summary Period: 2001-03-09 to 2003-06-25

Modules

[root]/CS/include/inetwork

Lines Of Code


Total Lines Of Code: 639 (2003-07-11 20:29)

Authors

Author Changes Lines of code Lines per change
Totals 43 (100.0%) 905 (100.0%) 21.0
philwyett 12 (27.9%) 308 (34.0%) 25.6
sunshine 12 (27.9%) 303 (33.5%) 25.2
okt 7 (16.3%) 263 (29.1%) 37.5
ab031ns 6 (14.0%) 18 (2.0%) 3.0
matzebraun 3 (7.0%) 8 (0.9%) 2.6
jorrit 2 (4.7%) 4 (0.4%) 2.0
norman 1 (2.3%) 1 (0.1%) 1.0

Most Recent Commits

okt 2003-06-25 01:51

Manually applied a patch to cssocket, that was intended for ensocket.
The patch adds multicast support, submitted by Ladislav Foldyna.
Also added #warning's and printf's to deprecated files and functions.

33 lines of code changed in:

matzebraun 2003-06-23 21:54

oops, deprecated the wrong one

4 lines of code changed in:

matzebraun 2003-06-23 21:42

marked iNetworkSocket as deprectaed with a #warning

4 lines of code changed in:

jorrit 2003-05-29 08:04

Replaced NULL with 0.

4 lines of code changed in:

okt 2003-05-10 04:14

Finished updating cssocket for UDP, and changed the network manager so it can manage sockets from cssocket as well as those from ensocket.

97 lines of code changed in:

sunshine 2003-04-11 14:41

Removed obsolete comment.

0 lines of code changed in:

okt 2003-04-02 21:26

Updates to the "old" sockets driver: nicer interface for toggling TCP/UDP and some appropriate functions now return csPtr.

28 lines of code changed in:

sunshine 2003-03-28 15:51

Eric Sunshine fixed the following problems with the ensocket driver.
These problems were identified via simple visual inspection (not via
testing).

-*- Fixed bug: In non-blocking mode, csNetworkSocket2::Recv() would ignore
the requested number of bytes and always read only a single byte.

-*- Fixed bug: csNetworkSocket2 constructor was setting socket_ready to
true even if socket set up failed.

-*- Fixed bug: Closing the socket failed to clear socket_ready.

-*- Fixed bug: csNetworkDriver2 constructor was setting last_error to
wrong error code if if WSAStartup() failed.

-*- Fixed numerous problems where the "last error" code was being
mismanaged, which made it almost completely pointless for clients to
call csNetworkSocket2::LastError() since the result was usually
incorrect.

-*- Fixed bug: csNetworkSocket2::Send() was not honoring contract; failed
to return -1 in all cases upon error.

-*- Fixed several problems with incorrect checking of return codes from
socket functions; was mixing up -1, 0, 1 as return codes.

-*- Fixed bugs where csNetworkSocket2 read/write methods immediately
reported failure for datagram sockets if the socket was not
"connected", even though these operations are valid for
non-connected datagram sockets.

-*- Fixed bug: csNetworkSocket2::Accept() was leaking a file descriptor.

-*- Fixed bug: csNetworkSocket2:Connect() ignored requests to connect a
datagram socket even though this operation is valid.

-*- Fixed bug: In blocking mode, csNetworkSocket2::ReadLine() failed to
respect then buffer size specified by the client, and would happily
trash memory beyond the end of the supplied buffer.

-*- Fixed bug: In non-blocking mode, csNetworkSocket2::ReadLine() would
only read a single byte of data per invocation. Now it consumes as
much data as available (up to end-of-line) before returning.

-*- Eliminated unnecessary copying of received "line" in
csNetworkSocket2::ReadLine().

-*- Performed some refactoring of the code to simplify and eliminate
redundancy.

-*- Purged unnecessary junk from headers which polluted the global
namespace.

-*- Repaired a lot of Doxygen comment problems in headers.

-*- Added missing `const' qualifiers.

-*- Eliminated the convoluted and obfuscated fd_maskset and fd_list[]
instance variables and related logic from csNetworkSocket2. These
were an unnecessary complication.

-*- Eliminated the unnecessary sin_size, addr_len, and host_ent instance
variables.

-*- Fixed bugs reported by David van Laatum <david@daboyz.dyndns.org>
where csNetworkSocket2 methods were not taking EWOULDBLOCK into
account for non-blocking connections. Instead, EWOULDBLOCK was being
interpreted as a "disconnect" error.

-*- Applied behavioral change, from David van Laatum: Accepted connections
now inherit the blocking mode of the parent rather than being set to
block unconditionally. (This matches the behavior of the older
`socket' driver in CS/plugins/net/driver/socket.)

90 lines of code changed in:

okt 2003-03-23 14:42

Updated the API and fixed a few problems in the plugin.

2 lines of code changed in:

ab031ns 2002-12-23 22:25

Renamed/corrected header defines to CS coding-style.

18 lines of code changed in:

philwyett 2002-11-28 04:59

Eliminated const char* vs char*.

1 lines of code changed in:

okt 2002-11-27 23:40

Added the network manager plugin and interface.
It polls sockets for data each frame, and posts csevNetwork events when data is received.

103 lines of code changed in:

norman 2002-09-02 21:44

added include of cssys/sockets.h

1 lines of code changed in:

philwyett 2002-04-17 10:19

- Update of his plugin by Erik Namtvedt

Adds:

- Removed Set ();
- Added doxygen comments.
- General cleanup.

152 lines of code changed in:

philwyett 2002-04-16 23:22

- Added LGPL copyrights. and did some minor code cleaning.

55 lines of code changed in:

philwyett 2002-04-11 21:11

- Fixed a 8.3 filename issue pojnted out by Norman Kraemer

33 lines of code changed in:

philwyett 2002-04-11 13:20

- Added "ensocket" network plugin, docs and test app submitted by Erik Namtvedt.

This is a System independent network driver. This driver implements a
tcp/ip networking interface. The network driver and socket driver
currently support BSD compliant calls.

Note: Some operating systems may not support all the functions of this plugin.

67 lines of code changed in:

sunshine 2001-06-30 03:03

Eric Sunshine made the following changes to the project:

-*- Added a "CS_" prefix to the following platform-specific configuration
macros:

SOFTWARE_2D_DRIVER --> CS_SOFTWARE_2D_DRIVER
OPENGL_2D_DRIVER --> CS_OPENGL_2D_DRIVER
GLIDE_2D_DRIVER --> CS_GLIDE_2D_DRIVER
SOUND_DRIVER --> CS_SOUND_DRIVER

-*- Added a "CS_" prefix to the following csVector-related macros.
Furthermore, DECLARE_TYPED_SCF_VECTOR has been renamed to
CS_DECLARE_TYPED_IBASE_VECTOR in order to more clearly indicate that
this array type works with reference-counted iBase objects.

BEGIN_TYPED_VECTOR() --> CS_BEGIN_TYPED_VECTOR()
FINISH_TYPED_VECTOR() --> CS_FINISH_TYPED_VECTOR()
DECLARE_TYPED_VECTOR() --> CS_DECLARE_TYPED_VECTOR()
DECLARE_TYPED_SCF_VECTOR() --> CS_DECLARE_TYPED_IBASE_VECTOR()
DECLARE_TYPED_VECTOR_HELPER()
--> CS_CS_DECLARE_TYPED_VECTOR_HELPER()
DECLARE_TYPED_VECTOR_NODELETE()
--> CS_CS_DECLARE_TYPED_VECTOR_NODELETE()

-*- Added a "CS_" prefix to the following `sysdef' request macros.
Furthermore, each macro name now contains the word "provide" since
these macros are used by client code to request that cssysdef.h
provides certain facilities.

SYSDEF_ACCESS --> CS_SYSDEF_PROVIDE_ACCESS
SYSDEF_ALLOCA --> CS_SYSDEF_PROVIDE_ALLOCA
SYSDEF_CASE --> CS_SYSDEF_PROVIDE_CASE
SYSDEF_DIR --> CS_SYSDEF_PROVIDE_DIR
SYSDEF_GETCWD --> CS_SYSDEF_PROVIDE_GETCWD
SYSDEF_GETOPT --> CS_SYSDEF_PROVIDE_GETOPT
SYSDEF_MKDIR --> CS_SYSDEF_PROVIDE_MKDIR
SYSDEF_PATH --> CS_SYSDEF_PROVIDE_PATH
SYSDEF_SELECT --> CS_SYSDEF_PROVIDE_SELECT
SYSDEF_SOCKETS --> CS_SYSDEF_PROVIDE_SOCKETS
SYSDEF_TEMP --> CS_SYSDEF_PROVIDE_TEMP
SYSDEF_UNLINK --> CS_SYSDEF_PROVIDE_UNLINK

-*- Updated apimod19.txi to mention the above macro name changes.

1 lines of code changed in:

sunshine 2001-06-29 15:43

Eric Sunshine made the following changes to the project:

-*- Repaired a bad assumption which plagued most SCF interfaces
implemented by plugin modules. The problem was that most such
interfaces inherited from iPlugIn rather than iBase. This made the
potentially invalid assumption that these interfaces would always be
implemented as plugin modules. The reason that this is an invalid
assumption is that the packaging into a plugin is merely an
implementation detail. For instance, since the iImageIO interface was
derived from iPlugIn, all image loaders were expected to implement
HandleEvent(), which is a rather silly requirement for an image
loader. All interfaces which were inheriting from iPlugIn now instead
inherit from iBase. Actual plugin modules now directly implement
iPlugIn, as well as implementing the various interfaces which used to
be derived from iPlugIn.

-*- Fixed a number of canvas implementations which were using
SCF_DECLARE_IBASE() and SCF_IMPLEMENT_IBASE() rather than the _EXT()
versions.

-*- Fixed a number of 2D canvases which implemented iEventPlug but
neglected to mention iEventPlug in the SCF_IMPLEMENT_IBASE() block.

-*- Eliminated the cscmdConsoleStatusChange event and re-implemented this
notification facility via an SCF class named iConsoleWatcher.

-*- Augmented `haspython.sh' so that it now also checks /usr/local/python
in addition to /usr and /usr/local.

-*- Changed the `soft' makefile target to `soft3d' to be consistent with
other renderer targets such as `gl3d', `null3d', and `line3d'; and to
disambiguate from the "software" sound renderer. Also changed
`infinite' target to `inf3d'.

-*- Renamed FindBone() and FindFrameSet() to csFindBone() and
csFindFrameSet() in order to avoid pollution of the global namespace.

-*- Removed the obsolete igraphic/loader.h header.

1 lines of code changed in:

sunshine 2001-03-16 14:33

Eric Sunshine renamed all of the pure SCF interface header files.
Considering that that these files were recently organized into well-named
subdirectories, it is possible to use more descriptive names for the files
themselves. Also dropped the `i' prefix.

Here are just a few examples of the new more meaningful and descriptive
names:

iengine/idlight.h --> iengine/dynlight.h
iengine/imeshobj.h --> iengine/mesh.h
imesh/imeshobj.h --> imesh/object.h
imesh/mfire.h --> imesh/fire.h
imap/ildrplug.h --> imap/reader.h
imap/isvrplg.h --> imap/writer.h
isound/isnddrv.h --> isound/driver.h
isound/isndlstn.h --> isound/listener.h
ivideo/imater.h --> ivideo/material.h

211 lines of code changed in:

(1 more)


Generated by StatCvs v0.2-dev