Module CS/apps/tests/unittest/

back to main page

Summary Period: 2002-04-26 to 2003-06-15

Modules

[root]/CS/apps/tests/unittest

Lines Of Code


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

Authors

Author Changes Lines of code Lines per change
Totals 35 (100.0%) 386 (100.0%) 11.0
jorrit 16 (45.7%) 306 (79.3%) 19.1
frumpel 2 (5.7%) 22 (5.7%) 11.0
sunshine 6 (17.1%) 21 (5.4%) 3.5
res2002 4 (11.4%) 16 (4.1%) 4.0
matzebraun 1 (2.9%) 10 (2.6%) 10.0
azverkan 1 (2.9%) 7 (1.8%) 7.0
philwyett 4 (11.4%) 3 (0.8%) 0.7
lazy_puba 1 (2.9%) 1 (0.3%) 1.0

Most Recent Commits

philwyett 2003-06-15 23:39

Eliminated the link errors in the apps on Linux.

1 lines of code changed in:

jorrit 2003-05-29 08:07

Replaced NULL with 0.

1 lines of code changed in:

sunshine 2003-04-27 11:33

Eric Sunshine made the following changes:

-*- Modified configure.ac so that it emits a SRCDIR property to
config.mak. This value represents the --srcdir argument given to the
configure script (or "." if --srcdir is omitted). This points at the
directory containing the CS source code (which may differ from the
build directory, which is typically the current working directory).

-*- Modified makefiles and build scripts throughout the project so that
they respect $(SRCDIR). This allows the project to be built in a
directory other than the source directory, thus it is possible to
place the source directory on a readonly filesystem (such as a
CD-ROM), or to share a single NFS-mounted source directory among
different builds, where each build inhabits its own directory. For
example, if CS resides at /home/CS and you wish to build the project
in /home/build:

% cd /home/build
% ../CS/configure
% make -k all
% make install

(Note that the Jam-base build system already supports this build
paradigm.)

-*- Modified configure.ac so that it emits EXTENSIVE_MEMDEBUG to
config.mak since this variable is used by Makefile.in for the
`showconfig' target.

-*- Modified configure.ac so that it emits MONITOR_MAKEFILE_CACHE when the
value is either "yes" or "no", instead of emitting it only when the
value is "yes". This was necessary because CS/mk/cache.mak prints the
value of this variable as part of $(SYSMODIFIER).

3 lines of code changed in:

sunshine 2003-04-10 17:56

Eric Sunshine made the following changes to the makefiles:

-*- Converted the remaining "application" makefiles so that they place
their generated files in a personalized subdirectory of $(OUT), rather
than placing them directly in $(OUT). This lifts the monolithic
restriction that all applications must use distinct names for their
source files.

-*- Converted the application makefiles to augment OUTDIRS with their
personalized output directories, rather than each having a custom
directory creation rule. Not only does this simplify the makefiles
slightly, but it also fixes a problem where the personalized output
directories of plugin modules were not created when an application
makefile target (such as "make walktest") was invoked explicitly and
when the project had been configured with --disable-plugins.

-*- Updated CS/mk/template.mak to reflect the aforementioned changes.

-*- Fixed formatting of help messages emitted by "make help" for several
makefiles.

7 lines of code changed in:

matzebraun 2003-04-08 20:15

added the Jamfiles

10 lines of code changed in:

frumpel 2003-03-03 02:02

Rudolf Potucek updated makefiles in apps/ directory to
remove vpath and generate the object files in separate
subdirectories of $(OUT). THis should allow identical
filenames to coexist in different directories of the
build tree. Also added a rm command for the *.txt console
output files generated on the windows platform. The following
files may generate problems:
apps/demo/demo.mak
apps/tests/netmtst/netmtst.mak
apps/tests/perl5tst/perl5tst.mak
apps/tools/tbconv/tbconv.mak
apps/video/video.mak
as the filename and the internal build name differ and I cannot
test which name the *.txt file will be given.

1 lines of code changed in:

frumpel 2003-03-02 00:16

Removed vpath and converted output directory as per Eric Sunshine's
changes to blocks.mak.

21 lines of code changed in:

sunshine 2002-10-08 12:52

Eric Sunshine made the following changes to the "install" makefile target:

-*- Fixed bugs in install.mak which prevented it from copying all of the
images from the CS/docs/html directory and subdirectories.

-*- Simplified some of the operations in install.mak to ease future
maintenance (though, this file could use a lot more work).

-*- Augmented install.mak so that it is now capable of copying files into
the installation directory at an arbitrary directory depth.

-*- Using the above enhancement, flarge, partsys, and isomap are now
copied into appropriate subdirectories of ${INSTALL_DIR}/data.
Although these demonstration files are not required for development
(that is, they do not belong in the SDK), it is now deemed important
that they should be present in order to reduce problem reports from
novice users. As an example, if a novice user installed the project
and then double-clicked on WalkTest to launch it, WalkTest would
terminate immediately on account of its inability to find its
"default" map file (which is typically "flarge"). This was not only
confusing for novice users, but it also made Crystal Space appear
fragile (since the user might think that it had merely crashed). On
the other hand, with the map files installed, even a novice user can
double-click on WalkTest and successfully interact with it.

-*- Fixed a number of makefiles throughout the project which failed to
specify their configuration and data files for installation. Also
fixed a few makefiles which placed their configuration and script
files in the wrong locations.

2 lines of code changed in:

sunshine 2002-10-03 14:25

Eric Sunshine upgraded the build process so that the Apple/NeXT ports now
create application wrappers for generated GUI programs. The new script
CS/libs/cssys/next/appwrap.sh knows how to wrap applications for MacOS/X,
MacOS/X Server (Rhapsody), OpenStep, and NextStep. Support files
appropriate to each platform, such as Info.plist, are inserted into the
wrapper. Added .icns and .tiff application icons. These are also copied
into the wrapper and referenced from the synthesized .plist files. There
are a couple important reasons for creating appication wrappers for the CS
programs:

- It allows programs to be launched from the Finder/Workspace. Without
application wrappers, programs can only be launched from the
command-line. Note that you must set the user default
CrystalSpaceRoot to point at the Crystal Space directory (either the
installed or development directory) in order for this to work since
Crystal Space programs need to be able to find their resources.

- Presumably this will solve the problem on MacOS/X where CS programs
can not obtain keyboard input. Apparently, Cocoa considers programs
not contained within app wrappers to be "background" programs, thus
they are never allowed to have keyboard focus. A properly formed
application wrapper is reported to cure this problem.

3 lines of code changed in:

sunshine 2002-10-01 11:38

Eliminated a slew of compilation warnings.

2 lines of code changed in:

azverkan 2002-09-23 17:42

* Add unittest to the make check target

7 lines of code changed in:

jorrit 2002-09-09 12:04

- Modified a few relevant functions in iDebugHelper to return
csPtr.
- Changed iCollideSystem->CreateCollider() to return csPtr.
- Removed unittest.h app header. It is not needed.
- Fixed unit tester of syntax services.

27 lines of code changed in:

jorrit 2002-09-06 10:54

- iEngine->CreateDynLight() returns a csPtr now.
- Removed all calls to DecRef() in Blocks application. Uses
csRef now.
- Removed (almost) all calls to DecRef() in csdemo.
- Removed all calls to DecRef() in vsh.
- Removed all calls to DecRef() in simpcd tutorial.
- Removed a few more DecRef() calls in some other apps.

11 lines of code changed in:

jorrit 2002-08-09 14:06

- Added (empty) unittest implementation for csutil. More specifically
for the XML parsing tools.
- Added unittest implementation for syntax services to test the
new XML functions. ParseVector() already seems to work but there
are still a few problems.
- Extended unittest app to call the new unittests.
- Fixed a stupid bug in iXmlNode::GetAttribute() (for TinyXML parser).
- Fixed a bug in iObjectRegistry::Register() where it would accidently
increase the ref count on the object with a given tag if that tag
was already defined.

15 lines of code changed in:

res2002 2002-08-08 18:49

- changed some clean targets to be same name as the build
targets (eg walkclean -> walktestclean)

5 lines of code changed in:

sunshine 2002-08-07 13:06

Eric Sunshine (hopefully) worked around a problem caused by buggy stat()
on Win9x and WinME where a bogus result is returned if the path has a
trailing slash. This causes problems with the makefile dependency rules
which depend upon $(OUTBASE), $(OUTOS), $(OUTPROC), or $(OUT), all of
which end with a slash, since make thinks that those directories don't
exist even when they are present. Consequently, make tries invoking
$(MKDIR) on already-present directories. The work-around was to redefine
these variable so without the trailing slash. Also updated all makefiles
throughout the project to take into account that these variables are no
longer defined with a trailing slash.

4 lines of code changed in:

res2002 2002-08-05 18:42

- changed the make targets of all applications
to the name of the resulting binary the way
Eric Sunshine suggested. e.g. 'walk' became
'walktest'.
- did the same for all plugins.
- in some cases, the MSVC project differed from
the name for all other platforms, changed those.
- flipped the order of the include directories for
MSVC resource compiler so the right 'volatile.h'
is used.
- added include dirs for resource compiler to msvc7
projects.

8 lines of code changed in:

res2002 2002-08-03 04:24

- changed syntax for use of windows resources again; makefile var is
now "$(<project>.EXE).WINRSRC"
- resource files are now used on mingw
- on mingw version information for the dlls/exes is generated

1 lines of code changed in:

res2002 2002-08-02 21:24

- windows resource files are now specified w/ <project>.WINRSRC
instead in DSP.<project>.RESOURCES

2 lines of code changed in:

lazy_puba 2002-07-22 00:28

Changed all the awsKey and KeyContainer classes over to use an iXXX equivalent
for the public API. This should fix the build problems with awsecomp.h on external
apps. Also I fixed awstest to properly set up the engine view component.
Finally I added the csRectRegionDebug class and used it to fully debug
csRectRegion which had bugs in both Include() and Exclude(). As best I can tell it is
now bug-free.

1 lines of code changed in:

(11 more)


Generated by StatCvs v0.2-dev