Module CS/include/cssys/macosx/

back to main page

Summary Period: 2002-12-21 to 2003-06-20

Modules

[root]/CS/include/cssys/macosx

Lines Of Code


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

Authors

Author Changes Lines of code Lines per change
Totals 5 (100.0%) 323 (100.0%) 64.6
sunshine 4 (80.0%) 322 (99.7%) 80.5
jorrit 1 (20.0%) 1 (0.3%) 1.0

Most Recent Commits

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.

2 lines of code changed in:

jorrit 2003-05-29 08:04

Replaced NULL with 0.

1 lines of code changed in:

sunshine 2002-12-21 11:50

Eric Sunshine removed the NextStep, OpenStep, and MacOS/X Server 1.0
(Rhapsody) ports of Crystal Space. Implementation files which were
shared with the remaining MacOS/X port were relocated from "next"
directories in the project tree to "macosx" directories. Class names,
SCF names, resources, makefile variables, makefile targets, etc. were
renamed so as to mention "OSX", "MACOSX", or "Cocoa" as appropriate
instead of the older "NeXT", "NEXT", and "next". The following files
and directories were tagged with NEXT_OBSOLETE in order to simplify
recovery from the CVS Attic if necessary.

data/config/next.cfg
docs/texinfo/build/platform/next.txi
docs/texinfo/internal/platform/next.txi
include/cssys/next
libs/cssys/next
plugins/video/canvas/next

320 lines of code changed in:


Generated by StatCvs v0.2-dev