Module CS/libs/cssys/general/

back to main page

Summary Period: 1999-05-06 to 2003-06-22

Modules

[root]/CS/libs/cssys/general

Lines Of Code


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

Authors

Author Changes Lines of code Lines per change
Totals 136 (100.0%) 4198 (100.0%) 30.8
sunshine 37 (27.2%) 1090 (26.0%) 29.4
andyz 11 (8.1%) 977 (23.3%) 88.8
norman 8 (5.9%) 886 (21.1%) 110.7
res2002 20 (14.7%) 405 (9.6%) 20.2
matzebraun 13 (9.6%) 375 (8.9%) 28.8
jorrit 25 (18.4%) 289 (6.9%) 11.5
bdavis 4 (2.9%) 97 (2.3%) 24.2
thebolt00 1 (0.7%) 26 (0.6%) 26.0
alquarra 1 (0.7%) 22 (0.5%) 22.0
andy 4 (2.9%) 8 (0.2%) 2.0
philwyett 5 (3.7%) 6 (0.1%) 1.2
wouter 1 (0.7%) 5 (0.1%) 5.0
duhprey 1 (0.7%) 5 (0.1%) 5.0
mgeisse 1 (0.7%) 3 (0.1%) 3.0
vengeance2001 1 (0.7%) 1 (0.0%) 1.0
thieber 1 (0.7%) 1 (0.0%) 1.0
rhad 1 (0.7%) 1 (0.0%) 1.0
iplayfast 1 (0.7%) 1 (0.0%) 1.0

Most Recent Commits

res2002 2003-06-22 22:52

Changed the plugin scanning process, now the scanning for plugin
files and the retrieval of metadata is split up.
Added a "special case" for static plugins when checking whether
a class is already registered; in particular, when the class already
registered is inside a static plugin, no message is emitted.

24 lines of code changed in:

philwyett 2003-06-20 23:45

Removed '#include "csutil/string.h"', which does not exist from appdir.cpp.

0 lines of code changed in:

vengeance2001 2003-06-20 22:48

Fixed compile error.

1 lines of code changed in:

sunshine 2003-06-20 20:39

Eric Sunshine disabled default recursion for now by the plugin discovery
code. Many developers run their programs from within the source tree, and
the recursive scan of the source tree are needlessly excessive. In
general, recursive scan during plugin discovery is useful, but we need to
think it out more before re-enabling it.

9 lines of code changed in:

sunshine 2003-06-20 20:01

Eric Sunshine made the following changes:

-*- Renamed csGetAppPath() to csGetAppDir() to better reflect its
function.

-*- Added a new csGetAppPath() which returns the actual absolute path to
the executable (as opposed to csGetAppDir() which returns the
directory containing the executable).

-*- Added csGetResourceDir() as complement of csGetAppDir(). On many
platforms, the resource path is the same as the application path, but
this might not be true for all platforms. For instance, on MacOS/X,
csGetAppDir() needs to return the directory in which the .app wrapper
is contained, however csGetResourceDir() needs to return the Resources
directory inside the wrapper.

-*- Added platform-specific csGetAppDir() and csGetResourceDir() for
MacOS/X.

-*- Updated the generic csGetPluginPaths() so that it includes the result
of csGetResourceDir() in the plugin path list.

-*- The above changes should allow the MacOS/X port to once again locate
its plugin modules.

-*- Fixed bug: In the case of a bare program name as argv[0] (as opposed
to an absolute or relative path), the default csGetAppDir() in
cssys/general simply returned the first component of PATH which
actually existed, rather than returning the component of PATH which
contained the application.

-*- Fixed bug: The default csGetAppDir() in cssys/general was always using
';' as the path delimiter, even though that only works for Windows.
Now uses ':' for Unix and Unix-like platforms.

-*- Fixed bug: The default csGetPluginPaths() in cssys/general was
attempting to prevent pushing "/" onto the plugin path list (because
"/" has ambiguous meaning under Windows), but was instead actually
preventing addition of any absolute path to the list (that is, any
path beginning with "/").

-*- Renamed iCommandLineParser::GetAppPath() to GetAppDir() to better
reflect its function.

211 lines of code changed in:

res2002 2003-06-19 17:32

Added the ability to load a single plugin and further improved
SCF factory 'contexts'.

4 lines of code changed in:

res2002 2003-06-19 16:08

Made the following changes:
- Split scfInitialize() into two versions, one with (argc, argv),
one with (csPluginPaths*) arguments.
- Improved 'context' handling a bit.
- Added iSCF->ScanPluginsPath() for convenience.
- Fixed general csGetAppPath () to return 0 on an empty argv[0].

2 lines of code changed in:

res2002 2003-06-19 00:20

Restored the 'old' unix csGetPluginPaths ().

0 lines of code changed in:

res2002 2003-06-18 22:14

Made the following changes:
Added some documentation about per-user configs.
Fixed csGetAppPath() on unix.
On Win32, external .csplugin files are supported again (in
addition to embedded metadata.)
SCF factories have internally a 'context' now. The 'context'
basically identifies the directory of a plugin and is used to
decide whether duplicate class ID will be reported or not.
Eliminated a bit of redundant code and used more macros in
the GL extension manager to reduce it's bloat a bit.
Renamed "win32/syspath.cpp" to "win32/winsyspath.cpp".

4 lines of code changed in:

res2002 2003-06-17 23:57

Duhprey's fix incorrectly cut off a part of the path.

4 lines of code changed in:

duhprey 2003-06-17 23:50

Quick fix to return current working directory instead of App's full path

5 lines of code changed in:

res2002 2003-06-17 19:01

Made the following changes:
- Added a few helpers to deal with native paths and plugin paths.
- All platforms now use the same plugin paths:
<app dir>, $CRYSTAL/lib, $CRYSTAL/crystal, $CRYSTAL
(where $CRYSTAL is the CS installation dir)

93 lines of code changed in:

res2002 2003-06-16 21:01

Removed find library stuff, changed csLoadLibrary() to use fully qualified paths.

7 lines of code changed in:

res2002 2003-06-15 21:07

Added a work around for a static linking problem to static.mak.
Renamed csScanPluginsDir() to csScanPluginDir(), added
csScanPluginDirs(), and implemented a general csGetPluginMetadata().
Removed the fopen() hack.
Added Jamfiles for the render loop loader/standard rendersteps
along with some minor compile fixes.
Updated the MSVC6 makefile templates.

135 lines of code changed in:

thebolt00 2003-06-15 20:33

- Marten added the class csProcessorCapabilities to allow CS to query processorspecific extensions and information. Some functions in this class is processorspecific and some parts compilerdependnat so we must protect certain areas with #defines

26 lines of code changed in:

res2002 2003-06-15 01:32

Explanation for ugly fopen() hack.

35 lines of code changed in:

alquarra 2003-06-15 01:24

fixed a bug opening the csPhysicalFile stuff

now it has a temporal hack with a fopen/fread area in csScanPluginsDir()

22 lines of code changed in:

res2002 2003-06-14 20:51

Do something sensible.

4 lines of code changed in:

res2002 2003-06-14 20:38

Changed the way how SCF plugin scanning works:
- Moved scanning invokation to scfInitialize().
- A platform-dependent function, csScanPluginsDir(), returns
plugin filenames and metadata.
- Such a function is provided for Win32. For unix and macosx,
the "old" function that scans for .csplugin files is used.
Made the following changes:
- The DirectDraw configure time test now also tests for
DirectSound, and thus changed the makefile var nomenclature to
"DirectX".
- Slight changed the way DLLs are loaded on Win32: now
LoadLibraryEx() is used with a flag which causes Windows to
first look for the actual file in the specified directory.
- On Win32, plugin metadata is now contained inside the DLL.
Worked around problems with static linking. Specifically, it was
assumed that a factory function is always only used for a single
class. This is not always the case (e.g. the bezier loader.)

86 lines of code changed in:

matzebraun 2003-06-11 22:48

moved platformconfig.cpp to general as the macosx target is also using it at the moment and maybe other posix like systems will too

62 lines of code changed in:

(81 more)


Generated by StatCvs v0.2-dev