Commit Log (Page 151 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-06-14 to 2001-06-11 (Commits 5195-5244 of 12744)

sunshine 2001-06-14 17:55

Eric Sunshine added a makefile debugging facility which allows the user to
easily view the expansion of any makefile variable. To use, invoke the
makefile target `show' and set the makefile variable `V' to the name of
the variable of interest. For instance, to display the expansion of
$(SRC.SOFT3D), invoke "make show V=SRC.SOFT3D".

14 lines of code changed in:

sunshine 2001-06-14 16:56

Removed an incorrectly placed CS_IMPLEMENT_PLUGIN.

0 lines of code changed in:

sunshine 2001-06-14 16:44

Fixed botched entry.

7 lines of code changed in:

jorrit 2001-06-14 16:32

Update.

10 lines of code changed in:

sunshine 2001-06-14 16:10

Eric Sunshine eliminated all of the special platform-specific glue
libraries and objects with which applications and plugin were required to
link in the past. Rather than maintaining special object files and static
libraries, the platform-specific glue is now implemented on-the-fly via
macros.

-*- Eliminated all of the platform-specific special implementation files:

cssys/os2/dllentry.cpp
cssys/ps2/dummy.cpp
cssys/unix/dummy.cpp
cssys/win32/dllentry.cpp
cssys/win32/exeentry.cpp

-*- Removed the Windows-specific special static link libraries along with
their project files:

cswin32exe.lib
cswin32dll.lib
libcswin32exe.dsp
libcswin32dll.dsp

-*- Eliminated the MSVC dependencies upon libcswin32exe.dsp and
libcswin32dll.dsp.

-*- Eliminated the SRC.SYS_CSSYS_EXE and SRC.SYS_CSSYS_DLL system-level
makefile variables which controlled how the special implementation
files were inserted into the build process.

-*- Added the new macro CS_IMPLEMENT_PLUGIN to cssysdef.h. This macro
should be placed at the global scope in exactly one compilation unit
comprising a plugin module. For maximum portability, each plugin
module must employ this macro. Some platforms override the definition
of this macro in order to augment the implementation of the plugin
module with any special implementation details required by the
platform. For example, the Windows port uses this macro to implement
the DllMain() function.

-*- Added the new macro CS_IMPLEMENT_APPLICATION to cssysdef.h. This
macro should be placed at the global scope in exactly one compilation
unit comprising an application. For maximum portability, each
application should employ this macro. Platforms override the
definition of this macro in order to augment the implementation of an
application with any special implementation details required by the
platform. For example, the Windows port uses this macro to implement
the WinMain() function.

-*- cssysdef.h for OS/2 now defines CS_IMPLEMENT_PLUGIN to implement
_DLL_InitTerm() and a version of getenv() which works for plugin
modules.

-*- cssysdef.h for Unix now defines CS_IMPLEMENT_PLUGIN to implement
main() in plugin modules if requested by the platform-specific
makefile. Currently, the Linux, FreeBSD, and Hurd makefiles request
this augmentation.

-*- cssysdef.h for Windows now defines CS_IMPLEMENT_PLUGIN to implement
DllMain(), and CS_IMPLEMENT_APPLICATION to define WinMain().

-*- Completely re-worked and simplified the convoluted `main' versus
`csMain' versus `WinMain' issue on Windows. In the past, the Windows
port tried renaming all `main' functions to `csMain' (via the
C-preprocessor), and then implemented its own `main' and `WinMain'
functions which acted as covers to `csMain'. With the new, much
simpler scheme, `WinMain' is merely a thin cover over `main' and
global renaming is unnecessary.

-*- Augmented all applications and plugin modules with the new
CS_IMPLEMENT_APPLICATION and CS_IMPLEMENT_PLUGIN macros.

319 lines of code changed in:

jorrit 2001-06-14 14:19

Some small changes. BugPlug now works correctly with apps that don't
have a font server.

5 lines of code changed in:

mgeisse 2001-06-14 13:55

fixed a missing bracket in DECLARE_TYPED_SCF_VECTOR

1 lines of code changed in:

philwyett 2001-06-14 11:27

Fixed #includes so only GCC compilers use
"unistd.h" and MSVC 5/6 use "io.h"

7 lines of code changed in:

philwyett 2001-06-14 11:04

Removed zlib png and jpeg libs from MSVC
projects files and placed in the makefiles for
apps or plugins in which they are required.

3 lines of code changed in:

jorrit 2001-06-14 10:33

Did a VERY small optimization to the octree traversal code with
regards to selecting front2back/back2front modes.

2 lines of code changed in:

jorrit 2001-06-14 09:51

Set default quad-tree depth to 6 instead of 4. This seems to give
much better results for newsky.zip.

2 lines of code changed in:

jorrit 2001-06-14 09:38

Fixed the bug in the visibility checker. The minimum and maximum
heights were correctly calculated but not scaled and translated
according to the parameters given by the terrfunc user.

3 lines of code changed in:

jorrit 2001-06-14 09:32

- Added csBox2::SquaredOriginDist() similar to the already existing
csBox3 version.
- Added csBox2/3::SquaredOriginMaxDist() which returnes the maximum
squared distance instead of the minimum one.
- Using the above functions added another optimization to the
terrain visibility checker. Again this does not solve the bug though.

83 lines of code changed in:

jorrit 2001-06-14 08:49

Made the terrain visibility checker more efficient and more robust.
The calculation of the extent works completely different now and
first calculates the left/right indices of the bounding box. Then
it will compute the angles only of those two vertices instead of
all four vertices. This speeds up vis testing a little.
Unfortunatelly it doesn't solve a bug which seems to cull away
terrain blocks wrongly.

8 lines of code changed in:

jorrit 2001-06-14 08:03

Update.

39 lines of code changed in:

norman 2001-06-14 08:02

added Clear similar to softrenderer, now bumptest wont crash at exit but still leaves unreleased instances when using opengl renderer

22 lines of code changed in:

mgeisse 2001-06-14 01:52

added DECLARE_TYPED_SCF_VECTOR again (a version of typed vectors
that controls the reference count of the contained objects). This time it
should work correctly.

69 lines of code changed in:

neverjade 2001-06-14 01:16

More work on the parser, as well as some additional work on the preferences manager. The parser now adds window and skin definition trees into the preference manager. (In other words, the parser is now useful. :-)

There is a difference between skin and window definitions that may not seem obvious at first. That is, skin definitions specify global options for components and window defintions specify local, unique options. In other words, the background texture for all items would be specified in a skin definition. As would the texture used for buttons, for checkboxes, scrollbars, etc. A window definition is used to specify stuff like the caption, where the component goes, exactly what type of window it is, etc.

Window definitions currently take a skin definition as a parameter of their grammatical structure. I'm not sure this is a good idea, and I will probably change that. Multiple skin definitions and window definitions can exist in a single file. There is no need to predeclare anything, since there are no interdependencies. I may add an include statement which will allow a single file to include other files that it may depend upon.

I am thinking through the ramifications of allowing modular code, e.g.

component "Sex Frame" is "Frame"
{
component "Male" is "Radio Button"
{ ... }
component "Female is "Radio Button"
{ ... }

}

then later:

window "new player"
{

named component "Sex Frame"
}


This may make some things a lot easier, especially when you have gui constructs that you'd like to use in other places.

-={C}=-

217 lines of code changed in:

norman 2001-06-13 23:07

textures and materials are now freed when renderer is closed, this also solved the unreleased instances at exit of bumptest

18 lines of code changed in:

norman 2001-06-13 23:05

materials are freed now

6 lines of code changed in:

mgeisse 2001-06-13 19:59

fixed a problem with DECLARE_GROWING_ARRAY where the text-based
macro expansion messed up a type specification.

10 lines of code changed in:

jorrit 2001-06-13 16:05

Update.

2 lines of code changed in:

jorrit 2001-06-13 16:04

Fixed SCF_TRACE for embedded SCF interfaces. scfRefCount was printed
but that field no longer exists for embedded interfaces. So this
has been replaced with scfParent->scfRefCount.

2 lines of code changed in:

jorrit 2001-06-13 14:47

Update.

6 lines of code changed in:

mgeisse 2001-06-13 13:59

added a 'const' version of 'operator []' to DECLARE_GROWING_ARRAY

2 lines of code changed in:

jorrit 2001-06-13 13:53

Some better messages.

10 lines of code changed in:

jorrit 2001-06-13 13:39

- Discovered an obsolete ddg.h include. Removed it.
- Thanks to Wouter we finished visibility testing for the terrain
engine.
- Extended the iTerrFuncState interface to enable/disable this
visibility testing (enabled by default).
- Also added VISTEST keyword to the terrain loader plugin.
- Added new command in BugPlug to enable/disable terrain visibility.

54 lines of code changed in:

philwyett 2001-06-13 13:26

Removed more un-needed libs from MSVC project files and moved
libs only used by some projects to that projects makefile.

Still a work in progress :-)

1 lines of code changed in:

philwyett 2001-06-13 11:26

Removed unused libs from MSVC project files.

Moved ddraw lib to makefiles where it is required

A work in progress...

2 lines of code changed in:

jorrit 2001-06-13 09:21

Added a small patch from Alistair Leslie <AlistairL@optushome.com.au>
to make sure that the impexp importer doesn't crash when it cannot
write to ivcon.log. In that case it will write to standard
output.

4 lines of code changed in:

jorrit 2001-06-13 09:18

- Increased robustness of the Spider in BugPlug a little. If there
are no sectors it will not start hunting. There is also a timeout
of 20 frames. If the camera has not been found in that time then
the hunt will be canceled.
- Added the ability to do mouse selection in BugPlug.

193 lines of code changed in:

jorrit 2001-06-13 08:12

Update

63 lines of code changed in:

neverjade 2001-06-13 00:58

Lots more work on the parser. The parse tree is nearly completely constructed, only discarded at the very top layer. The parser can currently properly parse the following definition:

skin "Normal Window"
{
Texture: "/lib/windows/texture.png"
Another: "/lib/tex/windows/defbackgr.png"
Wack: "/libandstuff/dir/garbage.png"
}

window "New User" from "Normal Window"
{
Frame: (100, 200) - (400, 500)
Style: Bitmapped
Overlay: "/lib/windows/newuserovl.png"
Back: "/lib/windows/newuserbck.png"

component "User Name" is "Textbox"
{
Frame: (10, 30) - (390, 45)
Style: NoFrame
Caption: "Name:"
}

component "User Sex Frame" is "3dFrame"
{
Frame: (10, 50) - (250,100)
Style: ThreeDee
Caption: "Sex"

component "Male" is "Radio Button"
{
Frame: (5, 5) - (200, 30)
Caption: "Male"
}

component "Female" is "Radio Button"
{
Frame: (5, 35) - (200, 50)
Caption: "Female"
}


}
}


Components can be nested as deeply as you want. So far I'm assuming that coordinates of children are expressed inside their parent's rectangle. Any integers that occur can be normal infix expressions using addition, subtraction, multiplication, and division (parenthetical solving is, of course, included). I don't expect you to need more than that, but if you do let me know.

I'm vaguely thinking of adding some sort of macro variable system where you can assign certain variables a value, and then use those values later down as offsets. As in:

define FirstRadFrame = (10,10) - (100,35)

component "bla" is "Radio Button"
{
Frame: (FirstRadFrame.Left, FirstRadFrame.Top+15) - (FirstRadFrame.Right, FirstRadFrame.Bottom+15)
}

-={C}=-

250 lines of code changed in:

jorrit 2001-06-12 20:37

Fixed a bug in the assert of the Spider destructor.

1 lines of code changed in:

neverjade 2001-06-12 20:07

More progress on the parser. Implemented the very helpful patches sent to me by Eric Sunshine, so the test harness now functions properly with the plugin.

The parser now recognizes complete skin defintions, and constructs a proper parse tree of the results, though it currently discards the results at the top level.

-={C}=-

218 lines of code changed in:

jbit 2001-06-12 18:00

Resize bugfix.

4 lines of code changed in:

mgeisse 2001-06-12 16:42

continued work on csparser (renaming functions and removing fatal_exit). To
make the code more readable, I added a function to handle the error output
for unknown tokens (as all those error messages were up to 3 lines of
identical code except one word). Also added a convenience method to
csObject that adds all child objects of another object as children. Using this
method I fixed the bug that allowed static lights to have only one key-value
pair attached to them.

17 lines of code changed in:

sunshine 2001-06-12 15:39

Removed the now obsolete DO_COREDUMP makefile variable.

1 lines of code changed in:

sunshine 2001-06-12 15:31

Eric Sunshine applied a more correct fix to SCF following Jorrit's
patch today. DECLARE_FAST_INTERFACE() now correctly employs the
opaque scfInterfaceID rather than uint32.

19 lines of code changed in:

jorrit 2001-06-12 11:28

Fixed some documentation with regards to recent changes.

23 lines of code changed in:

jorrit 2001-06-12 11:21

Fixed a bug with BugPlug. It will now work correctly together with
Iso engine and other applications that don't use the 3D engine.
Previously it assumed there always was an iEngine. Now it just
disables all functionality that has to do with iEngine (like the
Spider). All other functionality will work though.

20 lines of code changed in:

jorrit 2001-06-12 11:10

Update.

3 lines of code changed in:

jorrit 2001-06-12 11:08

- Removed dumper.cpp and dumper.h. They are obsolete and BugPlug
will soon get nearly all the functionality which was in Dumper.
- Removed obsolete (and useless) unix specific signal handling
in walktest.cpp.
- Removed the commands 'gamma', 'dblbuff', 'dump', 'coorddump',
'fov', and 'fovangle' from WalkTest. Extended BugPlug to have
the equivalent functionality.
- Beware! In the dark recesses of BugPlug there now lives a creature
so awful and fierce that even the mightiest heroes don't dare to
look at it! When the sun shines over the mountains and fields,
everything is well and Spider remains hidden in its dark cave.
However, when the moonlight is dim or shaded, and nasty bugs crawl
over the country, Spider will weave its web of deceit over the
infected land! Unaware of the great danger, an unsuspecting wanderer
might look over the country. Here Spider will strike! It will put
a curse on the wanderer which will reveal his whereabouts to Spider
at any time in the future! The only remedy to this curse is death!

482 lines of code changed in:

jorrit 2001-06-12 08:16

Fixed a compile error and warning in SCF.

4 lines of code changed in:

jorrit 2001-06-12 08:08

Update.

25 lines of code changed in:

mgeisse 2001-06-12 03:17

changed the way the ID numbers for QUERY_INTERFACE_FAST are
stored. There is now an inline wrapper function around each ID variable,
DECLARE_FAST_INTERFACE.

This has two advantages: Firstly, it requires much less code (just one
macro per interface compared to three). Secondly, as inline functions are
local to their compilation unit, there are no more problems with duplicate
symbols (as it was the case with global variables).

63 lines of code changed in:

mgeisse 2001-06-12 01:18

changed the incorrect usage of IMPLEMENT_IBASE to
IMPLEMENT_IBASE_EXT in two cases

4 lines of code changed in:

sunshine 2001-06-11 22:35

Eric Sunshine made the following changes to AWS:

-*- Fixed up the SCF goop so that the plugin loads properly and registers
all of its plublic classes. In particular, added registration for the
awsPrefManager class. Also added a missing IMPLEMENT_FACTORY() for
this class.

-*- Replaced use of static_cast<> with STATIC_CAST() for better
portability.

-*- Removed the `i' prefix from the names of the AWS files in
CS/include/ivaria and merged them into aws.h.

-*- Repaired a couple minor makefile defects.

51 lines of code changed in:

sunshine 2001-06-11 21:47

Re-introduced some extra searching-logic into csFindLoadLibrary in
NeXTDynamicLibrary.cpp so that scfreg can once again find plugin modules
which are stored in the "components" subdirectory of the current
directory.

4 lines of code changed in:

rbate 2001-06-11 21:12

Codewarrior is very picky with the floating point constants passed to templated routines. Making sure all parameters are floats.

1 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