Commit Log (Page 135 of 255)

back to main page

Pages: << Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 Next >>

Summary Period: 2001-08-28 to 2001-08-26 (Commits 5995-6044 of 12744)

jorrit 2001-08-28 12:54

Forgot to commit.

42 lines of code changed in:

jorrit 2001-08-28 12:54

- Added iCollectionList and iCameraPositionList.
- Added iCameraPosition::Set().
- Removed the following functions from iEngine:
- FindTexture() (either use iRegion::FindTexture() or else
GetTextureList()->FindByName())
- FindMaterial() (same)
- FindCameraPosition() (same)
- FindCollection() (same)
- FindLight() (same)
- CreateCollection() (use new iCollectionList::NewCollection())
- GetCollectionCount() (same)
- GetCollection() (same)
- GetCameraPositionCount() (use new iCameraPositionList)
- GetCameraPosition() (same)
- CreateCameraPosition() (same)
Added the following two functions:
- GetCollections() (returns new iCollectionList)
- GetCameraPositions() (returns new iCameraPositionList)

551 lines of code changed in:

sunshine 2001-08-28 10:06

Eric Sunshine fixed a problem in csutil.mak where CFG.CSUTIL was
incorrectly given the value "scf.cfg mouse.cfg", rather than the correct
value of "scf.cfg data/config/mouse.cfg".

4 lines of code changed in:

philwyett 2001-08-28 10:00

Changed light code to reflect Jorrits changes.

4 lines of code changed in:

jorrit 2001-08-28 09:42

- Added iLight::GetLightID().
- Removed iSector::AddLight, GetLightCount, and GetLight.
Instead there is now GetLights() which returns an object of type
iLightList. Note that iLightList::AddLight() accepts an iLight
instead of iStatLight. You can get the iLight from an iStatLight
by calling QueryLight().

257 lines of code changed in:

jorrit 2001-08-28 08:40

Fixed a bad bug with terrain engine and the new vertex buffers.
This bug would cause crashes in various cases.

1 lines of code changed in:

sunshine 2001-08-28 04:39

Eric Sunshine made the following changes to the project:

-*- Fixed the new makefile caching facility so that it works correctly
with DOS's `echo' command.

-*- Fixed a problem where the MSVC generation mechanism was not properly
interacting with the new makefile caching facility. The problem was
that the `msvcgen' makefile target temporarily augments the PLUGINS
variable on-the-fly, but the makefile caching facility knew nothing
about this augmentation, thus it assumed that the cache was
up-to-date.

-*- Reverted Philip's change to jobber.pl in which he attempted to fix
this same problem. Unfortunately, Philip's change attempted only to
address the problem for the automated MSVC generation phase, but did
nothing to fix it for manual runs invoked via the `msvcgen' makefile
target. The correct fix which Eric applied handles all such cases.
(Also, although Philip altered the jobber.pl script in the CVS
repository, he neglected to update the actual live script on the
SourceForge shell machine which gets invoked by `cron'.)

24 lines of code changed in:

sunshine 2001-08-28 04:32

Eric Sunshine made the following changes to the project:

-*- Fixed a problem where the MSVC generation mechanism was not properly
interacting with the new makefile caching facility. The problem was
that the `msvcgen' makefile target temporarily augments the PLUGINS
variable on-the-fly, but the makefile caching facility knew nothing
about this augmentation, thus it assumed that the cache was
up-to-date.

-*- Reverted Philip's change to jobber.pl in which he attempted to fix
this same problem. Unfortunately, Philip's change attempted only to
address the problem for the automated MSVC generation phase, but did
nothing to fix it for manual runs invoked via the `msvcgen' makefile
target. The correct fix which Eric applied handles all such cases.
(Also, although Philip altered the jobber.pl script in the CVS
repository, he neglected to update the actual live script on the
SourceForge shell machine which gets invoked by `cron'.)

7 lines of code changed in:

philwyett 2001-08-27 22:06

Changed jobber to use:

"make msvcgen USE_MAKEFILE_CACHE=no"

1 lines of code changed in:

norman 2001-08-27 20:22

added include of csutil/csevent.h

1 lines of code changed in:

norman 2001-08-27 20:10

- fixed paths
- changed target names to be different from output (remember on unix there is no default extension for executables so awstest$(EXE) will be awstest and if u then have a target awstest we get a circular dependency)

13 lines of code changed in:

sunshine 2001-08-27 19:57

One more fix for DOS's bizarre ECHO command which prints out status
information (ECHO is on) when given no arguments.

0 lines of code changed in:

sunshine 2001-08-27 19:53

Fixed formatting of awstest help message.

1 lines of code changed in:

sunshine 2001-08-27 19:49

Applied a patch for DOS/Windows shells which couldn't grok the backslash
emitted by CS/mk/cache.mak for the cache file.

2 lines of code changed in:

neverjade 2001-08-27 19:38

Updated test harness to get definitions file from /data/temp/awstest.def

1 lines of code changed in:

neverjade 2001-08-27 19:33

Added test.def into /data/temp as awstest.def

69 lines of code changed in:

neverjade 2001-08-27 19:26

Added awstest back in under /apps/tests/awstest

549 lines of code changed in:

neverjade 2001-08-27 19:15

This is the first commit of the AWS test harness. I expect this code to change often, but I need to be able to demonstrate some of the bugs that I'm experiencing, and this is as good a place as any.

This project relies on another file which must be in the same directory as the awstest executable: test.def. The def file contains currently acceptable syntax for skin and window definitions.

-={C}=-

1 lines of code changed in:

sunshine 2001-08-27 18:37

Eric Sunshine added a makefile caching mechanism to the project. The
caching mechanism can significantly reduce the amount of time each `make'
invocation takes to actually start building the desired target. Details
follow.

-*- The makefile caching facility is aimed at speeding up the build
process on machines with slow disk subsystems. In general, the build
process is slowed considerably by GNU make having to search out and
read subcomponent makefiles repeatedly during a build session. At the
time of this writing, the makefile system invokes CS/mk/subs.mak a
total of five times in order to search out and read nearly every
single makefile in the project. On machines with slow disk
subsystems, this repeated searching and reading can be agonizingly
time-consuming. In order to alleviate this particular problem,
makefile information is cached so that it can be retrieved quickly
when later needed.

-*- Makefile caching is controlled by the USE_MAKEFILE_CACHE variable.
The default value of this variable is set to `yes' in user.mak. This
variable can also be set from the command line at makefile
configuration time and becomes a persistent setting in config.mak.
Example: make linux USE_MAKEFILE_CACHE=yes

-*- In order to prevent the makefile cache from becoming outdated, it can
be refreshed automatically anytime any of its source makefiles is
changed. However, monitoring the source makefiles for changes slows
down the build process slightly, so this option can be disabled, if
desired, by setting the MONITOR_MAKEFILE_CACHE variable to `no'. By
default, for safety and accuracy, this variable is set to `yes' in
user.mak. It can also be set from the command line at makefile
configuration time and becomes a persistent setting in config.mak.
Example: make linux MONITOR_MAKEFILE_CACHE=yes

-*- Note that the makefile cache is also refreshed any time user.mak or
the configured platform-specific makefile is changed. These two files
are monitored unconditionally, regardless of the setting of
MONITOR_MAKEFILE_CACHE.

-*- The makefile target `recache' can be used to manually refresh the
makefile cache at any time. This can be useful after editing a
makefile if automatic refresh has been disabled by setting
MONITOR_MAKEFILE_CACHE to `no'.

-*- USE_MAKEFILE_CACHE and MONITOR_MAKEFILE_CACHE are written to
config.mak at makefile configuration time in order to make the
settings persistent.

-*- The actual cache is stored in the file cache.mak in the root directory
of the project. It is removed when the makefile targets `distclean'
and `unknown' are invoked.

The new makefile CS/mk/cache.mak contains the above description, as well
as documentation explaining how caching is carried out internally.

The cache is created using the `echo' and `cat' commands. If you find
that these commands are not available on your platform, you can disable
caching altogether by using "USE_MAKEFILE_CACHE=no" on the command line
when configuring the makefile system. If this is a permanent or
persistent issue, then USE_MAKEFILE_CACHE=no can be inserted into the
appropriate platform-specific makefile.

For anyone using a machine with a slow disk subsystem, consider setting
MONITOR_MAKEFILE_CACHE to `no' to make the build process even speedier.
On my machine, the difference is considerable. Be aware, however, that if
developers change makefiles (*.mak) in the CVS repository, you will need
to manually refresh the makefile cache by invoking "make recache" after
updating from CVS.

293 lines of code changed in:

jorrit 2001-08-27 17:58

Fixes to other plugins.

0 lines of code changed in:

jorrit 2001-08-27 17:49

Fixed oss driver.

0 lines of code changed in:

sunshine 2001-08-27 17:11

Fixed incorrect documentation for the new iComponent and iEventHandler
interfaces.

46 lines of code changed in:

jorrit 2001-08-27 16:07

Split iPlugin interface into iComponent and iEventHandler and
removed iPlugin interface. iComponent now contains the Initialize()
function and iEventHandler contains HandleEvent. The idea is
that event handling is a seperate concept from plugins so
HandleEvent does not belong in iPlugin. In addition the notion
of initializing is not plugin specific either so it also doesn't
belong to iPlugin. This means there is actually nothing left
in iPlugin so it is removed :-)
To change code to work with this you basically have to replace
iPlugin with iComponent. If you also need events (i.e. you used
HandleEvent) then you have to additionally create a new
embedded iEventHandler interface object.

1310 lines of code changed in:

sunshine 2001-08-27 14:02

Eric Sunshine added a dummy constructor to G3DPolygonDPFX to pacify the
NextStep compiler which complained that it wasn't able to instantiate the
object. This problem cropped up when the subcomponent G3DTexturedVertex
was re-derived from csVector2 (which has a constructor).

10 lines of code changed in:

sunshine 2001-08-27 13:53

Once again compiles following the removal of the csObjectRegistry
implementation from csSystemDriver.

1 lines of code changed in:

jorrit 2001-08-27 11:44

- Moved implementation of iObjectRegistry from system driver to
csutil (csObjectRegistry class). Replaced the object registry
in the system driver with this implementation.
- Made CS_QUERY_REGISTRY variants safe by putting brackets around
the first argument.

214 lines of code changed in:

philwyett 2001-08-27 11:17

Removed old include files for iWin32 Sys Driver.

0 lines of code changed in:

jorrit 2001-08-27 11:06

Removed iWin32SystemDriver and merged the three functions
(GetInstance(), GetIsActive(), and GetCmdShow()) with iWin32Helper.

37 lines of code changed in:

jorrit 2001-08-27 10:23

Update.

45 lines of code changed in:

jorrit 2001-08-27 10:08

Fixed the OpenGL renderer so that DrawPolygonMesh correctly
replaces the texture handles when going to the software renderer
for a procedural texture.

28 lines of code changed in:

jorrit 2001-08-27 09:55

- Did a new change to iPolygonBuffer. Materials for polygons are now
treated indirectly. So AddPolygon() accepts an index into a table
with materials instead of a material handle. In addition added
the functions iPolygonBuffer::AddMaterial(), GetMaterial(),
GetMaterialCount(), and SetMaterial() to operate on the material
array. This change was done to make it easier to replace the material
handles from the wrappers when needed. This replacing is needed
in two cases:
1. The material wrapper is registered/prepared again
(possibly for another 3D renderer) so the handle has changed.
2. The procedural software renderer for OpenGL also wants to
replace material handles.
- Changed the treatment of DrawPolygonMesh (FASTMESH flag) in csThing
by sorting the polygons on material first and then creating a
material table. Also the material handles are correctly updated
every time the thing is drawn which is how it should be.
- Renamed G3DTriangleMesh::fxmode to mixmode for consistency with
other similar structures.
- Added G3DPolygonMesh::mixmode.
- Set G3DPolygonMesh::mixmode to CS_FX_COPY for now. This fixes a bug
with the mixmode not being initialized correctly resulting
(sometimes) in semi-transparent things.

182 lines of code changed in:

jorrit 2001-08-27 08:27

- Extended iPolygonBuffer to have more specific support for
lightmapped polygons. This means that iPolygonBuffer will be more
closely tied to DrawPolygonMesh() which will be changed to
work with iPolygonBuffer.
- The DefaultDrawPolygonMesh() now works with the new polygon buffers.
Note that there are still some bugs with it though. The main problem
is that clipping doesn't work yet.
- When the new CS_THING_FASTMESH flag is set for a thing the new
DrawPolygonMesh will be used. This flag can also be set in the
map file for things (FASTMESH keyword).
- Removed a few obsolete keywords in thing loader.
- Removed obsolete support for CS_ENTITY_INVISIBLE and
CS_ENTITY_CAMERA in csThing. This support is already present
in csMeshWrapper and is not needed in csThing.
- Removed a piece of totally unneeded code in thing drawing. It
was actually calculating the tesselation resolution for curves
and then never using the result (nor needing it at all).
- Fixed a bad bug in csThing::GetRadius(). It would only return
a valid center the first time it was called. Otherwise it would
return bogus values.
- Implemented csThing::DrawTest() so that a thing will not be
even considered for rendering if behind the Z=0 plane. This can
significantly speed up rendering for levels containing lots of
things. Even for flarge this actually speeds up FPS a little
(one example: 31.6 FPS -> 32.6 FPS).
- Extended the test in csThing::DrawTest() to also include frustum
clipping. This also gives a small additional speed increase.
- Removed G3DVertex class since this is equivalent to using
csVector2 instead.
- DefaultDrawTriangleMesh now also understands lazy clipping but
this is not yet used by the software renderer.
- Added clip_portal, clip_plane, and clip_z_plane to G3DPolygonMesh
to support the same kind of clipping capabilities as with
G3DTriangleMesh.
- Implemented clipping in DefaultDrawPolygonMesh.

671 lines of code changed in:

jorrit 2001-08-27 08:07

Fixed a linking error in povie.mak.

40 lines of code changed in:

norman 2001-08-27 00:49

fixed the double window problem in cases the softdriver was requested via RequestPlugin but then overriden on the commandline via -video option

1 lines of code changed in:

miklby 2001-08-26 20:16

- Update

4 lines of code changed in:

miklby 2001-08-26 20:10

- Fixed walktest crasher in line 3d caused
by proctex (ignoring PrepareAnim() failure)

1 lines of code changed in:

jorrit 2001-08-26 19:24

Update.

1 lines of code changed in:

philwyett 2001-08-26 19:12

Fix for crashers. Now insted of doing a CS_ASSERT on the un-initialezed
member "iObjectRegisrty* object_reg" to performing it on the function
parameter "iObjectRegistry* r".

1 lines of code changed in:

philwyett 2001-08-26 18:47

Blind fix on app. Currently cannot test as
no CS app compiled with MSVC runs
because of crashers on execute at the mo.

1 lines of code changed in:

norman 2001-08-26 18:34

added missing argument to CS_QUERY_REGISTRY

1 lines of code changed in:

philwyett 2001-08-26 18:34

Added CSTOOL to fix link error.

Manual update of MSVC project files.

1 lines of code changed in:

norman 2001-08-26 18:15

umm, now even features the closing ">"

1 lines of code changed in:

norman 2001-08-26 18:14

added ctype.h include (for isspace)

1 lines of code changed in:

philwyett 2001-08-26 18:09

Added return value to Initialize ()

2 lines of code changed in:

norman 2001-08-26 18:06

in Include made the reference to the region members non-const since they are changed in the chopEdgeIntersection routine (gcc did chok upon that)

1 lines of code changed in:

sunshine 2001-08-26 18:04

Very minor (though untested) fixes for Win32 system driver following
event-system changes.

6 lines of code changed in:

norman 2001-08-26 18:04

commented out the undefined method Exclude

1 lines of code changed in:

norman 2001-08-26 18:03

added const to Exclude parameter

1 lines of code changed in:

sunshine 2001-08-26 16:47

Eliminated a warning in datastrm.cpp regarding undeclared function
isspace().

3 lines of code changed in:

sunshine 2001-08-26 16:34

Eric Sunshine made the following changes to the project:

-*- Removed all event related code and functionality from csSystemDriver
and the cssys library as part of the continuing effort to eliminate
the monolithic system driver concept. All event related functionality
has been generalized and moved into the csutil library.

-*- Rather than the system driver being responsible for event related
activities, an object of type iEventQueue is now available to clients
via the shared object registry (iObjectRegistry) and is registered
with the name "crystalspace.event.queue".

-*- Added new SCF interface iEventQueue. All event-related activities in
CS are now performed by interacting with an object implementing this
interface. Everything related to a particular event queue is now
maintained by that queue rather than being manually maintained by the
system driver. Examples of ancillary functions and objects now
maintained by the event queue include event outlets, event cords, and
event handlers. iEventQueue provides the following main functions
(along with some other minor ones):

- Process(); Processes the event queue, dispatching each contained
event to the appropriate event handler. Also responsible for
sending the cscmdPreProcess and cscmdPostProcess events to
interested listeners. This method takes over all the major
functionality which used to be handled by iSystem::NextFrame().
Re-implemented iSystem::NextFrame() as a very thin cover over this
method.

- Dispatch(); Actually dispatches each event retrieved from the queue
by Process(). This method takes over all the major functionality
which used to be handled by iSystem::HandleEvent().

- RegisterListener(); Entities interested in listening for events
register with the event queue via this method. This replaces the
old iSystem::CallOnEvents() method. Also added RemoveListener() to
provide a way for entities to stop listening; and
ChangeListenerTrigger() to provide a way for entities to alter the
set of event types in which they are interested.

- CreateEventOutlet(); Returns a new event outlet to the caller.
Replaces iSystem::CreateEventOutlet().

- GetEventOutlet(); Returns the shared event outlet for this
particular event queue (for those cases where creating a new one is
overkill). Replaces iSystem::GetSystemEventOutlet().

- GetEventCord(); Returns the event cord for a particular category and
subcategory. Replaces iSystem::GetEventCord().

-*- The system driver now registers itself as an event listener with the
shared event queue just like all other modules which are interested in
events. This allows csSystemDriver to listen for the cscmdQuit event
in order to set its `Shutdown' variable appropriately. It also allows
the HandleEvent() method in subclasses of csSystemDriver to function
as expected. Note that this is a merely a temporary state of affairs,
as the system driver will soon cease to exist.

-*- Converted all applications, plugin modules, and other support code to
work with the new event system organization.

-*- Because the generic input drivers, csKeyboardDriver, csMouseDriver,
and csJoystrickDriver, are tied closely to event outlets, they were
also moved from cssys to csutil.

-*- The generic input drivers, csKeyboardDriver, csMouseDriver, and
csJoystrickDriver, are themselves now responsible for listening for
the cscmdFocusChanged event, rather than relying upon the system
driver to do so on their behalf.

-*- Added new SCF interfaces: iKeyboardDriver, iMouseDriver,
iJoystickDriver.

-*- Objects implementing iKeyboardDriver, iMouseDriver, and
iJoystickDriver are now made available via the shared object registry
(iObjectRegistry) under the following names, respectively:

crystalspace.driver.input.generic.keyboard
crystalspace.driver.input.generic.mouse
crystalspace.driver.input.generic.joystick

-*- Converted all applications and plugin modules to access the generic
drivers directly from the shared object registry rather than calling
upon iSystem methods to interact with these objects. Removed all
knowledge of these drivers from iSystem and csSystemDriver.

-*- Moved the utility functions csParseKeyDef() and csGetKeyDesc() in
cskeys.h and cskeys.cpp from cssys to csutil since they are totally
generic and have no platform-specific bindings.

-*- Fixed a nasty bug in csEventCord where it failed to unlock itself in
some cases when posting an event.

-*- Fixed a bad bug in csEventCord where it was leaking all events posted
to it.

-*- Fixed broken logic in iObjectRegistry::Unregister() where it did not
actually remove the entry for the object, but instead just left a
dangling (and potentially) dead pointer.

-*- iObjectRegistry implementation now correctly reference counts the
contained objects. It also now protects itself against modification
during its own destruction, since some of the objects which it is
removing from itself might also get destroyed and might try modifying
the registry.

-*- Moved mouse driver settings out of system.cfg and into mouse.cfg.
csMouseDriver is now responsible for accessing these settings itself
rather than relying upon the system driver to do so.

-*- Fixed bug in definition of SCF_IMPLEMENT_IBASE table for
csSystemDriver. The table neglected to mention that csSystemDriver
implements iObjectRegistry and iPluginManager. Added mention of
iPlugin which csSystemDriver now implements so that it can listen for
events from the event queue.

-*- Eliminated compilation warnings in aseie.cpp, dxfie.cpp, hrcie.cpp,
ivie.cpp, objie.cpp, povie.cpp, smfie.cpp, stlaie.cpp, and vlaie.cpp
about non-virtual destructor.

-*- Eliminated compilation warning about unused variable in md2ie.cpp.
Also fixed a memory leak.

-*- Eliminated compilation warning about `float' assigned to `int' in
spr2d.cpp.

-*- Fixed broken header-protection macros in intarray.h.

-*- Fixed g2dtest so that it once again actually displays a window. This
had been broken for quite some time.

-*- csSchedule no longer unnecessarily depends upon the system driver.

-*- csSchedule no longer publishes its private utility class.

-*- The cssys library no longer relies upon the csgeom library.

-*- Eliminated several compilation warnings from AWS. Worked around a
couple NextStep compiler shortcomings.

-*- Rewrote csRectRegion in csgeom so that it no longer relies upon the
csutil library. I think it is best if we keep csgeom free of any
csutil dependencies.

-*- Fixed csRectRegion so that, at destruction time, it no longer leaks
each of the csRect structures in its `region' list.

-*- Fixed the comment-style in csrectrg.h so that Doxygen will produce
proper documentation for csRectRegion.

-*- Repaired some overfull and underfull `hbox' warnings reported by TeX
for tutorial/wincvs/step1.txi.

-*- Finally, note that I eliminated quite a few unnecessary #include
directives from the event-related headers and from isys/system.h &
cssys/system.h. Since I am unable to test-compile every single port
of CS and every driver, port maintainers may have to add an #include
statement here and there in platform-specific and/or driver-specific
code.

563 lines of code changed in:

Pages: << Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 Next >>


Generated by StatCvs v0.2-dev