Commit Log (Page 129 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-10-05 to 2001-10-01 (Commits 6295-6344 of 12744)

sunshine 2001-10-05 22:50

Applied the correct fix.

2 lines of code changed in:

philwyett 2001-10-05 22:33

Reverted Erics changes due to it breaking csStrNew and the whole MSVC port.

11 lines of code changed in:

sunshine 2001-10-05 20:25

Eliminated an "unused variable" warning from ogl_g3dcom.cpp.

2 lines of code changed in:

sunshine 2001-10-05 19:50

Eric Sunshine made the following changes:

-*- Added an Apple/NeXT-specific implementation of csSleep() so that
applications once again link on Apple/NeXT platforms. This is needed
now that the default implementation in csSystemDriver::Sleep() has
been removed. Ultimately, however, this function needs to be
eliminated since it is an improper way to release the CPU on platforms
which employ a native black-box run-loop mechanism. It also causes
the native user environment to incorrectly hang, and is therefore a
bad-thing.

-*- Added a implementation of csSleep() to the BeOS port.

12 lines of code changed in:

sunshine 2001-10-05 19:13

Eric Sunshine fixed the Apple/NeXT ports so that they once again compile
following Jorrit's recent changes to the system driver and related
facilities. In particular, these changes were made to NeXTAssistant:

-*- Now suspends and resumes the virtual time clock using the new
iVirtualClock object which is available via the object registry,
rather than invoking csSystem's newly protected
SuspendVirtualTimeClock() and ResumeVirtualTimeClock() methods.

-*- Since csSystem::NextFrame() is now private,
NeXTAssistant::advance_state() now advances the state of the engine
manually by invoking iVirtualClock::Advance() and
iEventQueue::Process(), thus duplicating the two bits of remaining
functionality in csSystem::NextFrame().

13 lines of code changed in:

sunshine 2001-10-05 18:33

Fixed a number of documentation errors in virtclk.h.

13 lines of code changed in:

sunshine 2001-10-05 18:19

-*- Eliminated "unused variable" compilation warnings from
csutil/parser.cpp, initapp.cpp, system.cpp.

-*- Removed dead code from system.cpp which resulted after Jorrit's recent
changes.

6 lines of code changed in:

sunshine 2001-10-05 17:46

Fixed some bugs in cygwin.mak.

2 lines of code changed in:

jorrit 2001-10-05 15:10

- Made csSystemDriver::NextFrame() and HandleEvent() private so
that it is no longer possible to inherit from SysSystemDriver.
- Removed Sleep() from csSystemDriver and iSystem. Instead there
is now csSleep() which should be called instead.

29 lines of code changed in:

philwyett 2001-10-05 14:53

Removed ref to old win32itf.h and added winhelp.h.

1 lines of code changed in:

jorrit 2001-10-05 13:59

- Removed the metademo application since flarge also demonstrates
the metaballs plugin.
- Converted isotest application to use the new csInitializer system.
- Converted mdltest application to use the new csInitializer system.
- Converted perftest application to use the new csInitializer system.
- Converted ptlab application to use the new csInitializer system.
- Converted phyztest application to use the new csInitializer system.
- Converted pysimple application to use the new csInitializer system.
- Converted video application to use the new csInitializer system.
- Converted awstest application to use the new csInitializer system.
- Converted g2dtest application to use the new csInitializer system.
- Converted gfxtest application to use the new csInitializer system.
- Converted viewmesh application to use the new csInitializer system.
- Converted simple2 application to use the new csInitializer system.
- Converted simpmap application to use the new csInitializer system.
- Converted simplept application to use the new csInitializer system.
- Converted cslight application to use the new csInitializer system.
- Converted csfedit application to use the new csInitializer system.

912 lines of code changed in:

jorrit 2001-10-05 10:51

- Converted demosky application to use the new csInitializer system.
- Converted demosky2 application to use the new csInitializer system.
- Converted isotest application to use the new csInitializer system.

248 lines of code changed in:

jorrit 2001-10-05 09:49

- Removed csInitializer::SetupObjectRegistry(). Instead
csInitializer::Initialize() will now setup the object registry
will all known objects.
- Removed csInitializer::LoadReporter(). Instead load the
reporter and reporter listener using csInitializer::RequestPlugins().
Added CS_PLUGIN_REPORTER and CS_PLUGIN_REPORTERLISTENER for that
purpose.
- Significantly changed the syntax of csInitializer::RequestPlugins().
Instead of a bitmask for requesting additional plugins the
function now accepts a var-arg list for all needed plugins. For
every plugin you need, you must give the name (like
"crystalspace.graphics3d.software"), the SCF ID of the
interface implemented by that plugin and the version number of
that interface. To make this easier there is a macro
CS_REQUEST_PLUGIN which works as follows:
CS_REQUEST_PLUGIN("crystalspace.graphics3d.software", iGraphics3D)
To make things even easier there are even defines for a few standard
plugins:
- CS_REQUEST_VFS
- CS_REQUEST_FONTSERVER
- CS_REQUEST_IMAGELOADER
- CS_REQUEST_SOFTWARE3D
- CS_REQUEST_OPENGL3D
- CS_REQUEST_ENGINE
- CS_REQUEST_LEVELLOADER
- CS_REQUEST_REPORTER
- CS_REQUEST_REPORTERLISTENER
- CS_REQUEST_CONSOLEOUT
You need to end the list with CS_REQUEST_END. The simple1
tutorial contains an example of this.
NOTE! For a very short period it is actually required to
also included the FuncID in the name of the plugin (similar to
what you used to give with System->RequestPlugin() in the past).
The above defines already do that so if you use them you're safe.
Otherwise you have to keep in mind that this FuncID will have to
be removed in the near future.
- Changed all apps using the new system to the above modifications.
- Converted the demo app to use the new csInitializer system.
- Added iObjectRegistry* parameter to
csInitializer::DestroyApplication(). DestroyApplication() will now
also remove the registered iEventHandler (with
csInitializer::SetupEventHandler()) from the event queue.
- When an application does CS_QUERY_REGISTRY() to obtain the pointer
to some plugin it also has to do IncRef() on that pointer to
indicate to the system that it is using that pointer. At destruction
time a DecRef() should happen. A few apps (demo and blocks) where
not following that system so I fixed them (reminder: unlike
CS_QUERY_PLUGIN, CS_QUERY_REGISTRY does NOT increase the reference
on the returned pointer).
- Converted cswseng application to use the new csInitializer system.
- Converted cswstest application to use the new csInitializer system.
- Converted picview application to use the new csInitializer system.

409 lines of code changed in:

jorrit 2001-10-05 07:53

Commit.

4 lines of code changed in:

jbit 2001-10-04 15:47

static csString::Format() methods for safely formatting integral types.

41 lines of code changed in:

jorrit 2001-10-04 14:26

- Converted WalkTest so it no longer inherits from SysSystemDriver.
- Converted Squawk so it no longer inherits from SysSystemDriver.

40 lines of code changed in:

jorrit 2001-10-04 13:53

- Removed support for old and obsolete 'debug_level' in system
driver.
- Made a new class csCommandLineHelper (in csutil/cmdhelp.h) which
now has the functionality to give commandline help to the user
(i.e. support the '-help' commandline option).
Previously this functionality used to be in the system driver.
If you want to have commandline help in your application you need
to do something like:
if (csCommandLineHelper::CheckHelp (object_reg))
{
csCommandLineHelper::Help (object_reg);
exit (0);
}
This should be done after loading all plugins so that those plugins
get a chance to give their commandline help.
WARNING! This change breaks commandline help for ALL applications
except simple1 tutorial. The other apps will get commandline help
back as soon as they are converted to the new csInitializer system.
- Implemented commandline help in Walktest to use the new system.
This means that it will use the new csCommandLineHelper to check
for commandline help and it also means that listens to the
global cscmdCommandLineHelp message to give its own additional
help (csCommandLineHelper will send such a global broadcast message).
- Since we have an event handler in WalkTest now I also used it
to drive the frame drawing. This means that WalkTest now has a
SetupFrame() and FinishFrame() which are called in cscmdProcess
and cscmdFinalProcess respectively. As a consequence bugplug will
now again work correctly with WalkTest.
- Did the same as I did with WalkTest to all other apps that also
required their own commandline help (metademo, ptlab, pysimp,
and squawk). Those programs now also use SetupFrame() and
FinishFrame().
- csInitializer::RequestPlugins() no longer loads the image loader,
the level loader and the font server by default.
- Changed csInitializer::RequestPlugins() so that it accepts a
bit-field for all plugins that need to be loaded. The following
values are currently accepted:
- CS_PLUGIN_NONE
- CS_PLUGIN_3D
- CS_PLUGIN_ENGINE
- CS_PLUGIN_LEVELLOADER
- CS_PLUGIN_IMAGELOADER
- CS_PLUGIN_FONTSERVER
- CS_PLUGIN_DEFAULT
- CS_PLUGIN_ALL
CS_PLUGIN_DEFAULT corresponds to CS_PLUGIN_3D, CS_PLUGIN_ENGINE,
and CS_PLUGIN_FONTSERVER.
- Modified Blocks so it no longer inherits from SysSystemDriver.
- Fixed a bug in the software sound renderer where it would not
test if the sound driver was actually there in Open().
- Fixed a signficant bug in the sound renderer. The Initialize()
routine could fail if the sound driver was not found. In that
case the plugin will not be loaded. However, earlier in the
Initialize() routine the sound renderer was actually registering
it's iEventHandler to the event manager. And this was not
unregistered if there was an error. The end result was that
the next event send to the system would cause a crash since the
registered event handler was no longer valid. I fixed this problem
by moving the registration of the event handler after checking
if the sound driver is there. However this is an IMPORTANT point
and I hope there are no other plugins that are making the same
mistake!
- Converted Bumptest so it no longer inherits from SysSystemDriver.

512 lines of code changed in:

philwyett 2001-10-04 00:47

Quick fix of Python plugin

4 lines of code changed in:

philwyett 2001-10-04 00:36

Quick fix of the python plugin.

33 lines of code changed in:

neverjade 2001-10-04 00:25

Christopher:

+ Fixed awsPrefManager so that it properly cleans up registered constants.

9 lines of code changed in:

norman 2001-10-03 22:48

updated to reflect latest changes to iMaterialList

7 lines of code changed in:

neverjade 2001-10-03 22:09

Christopher:

+ Added support for MouseEnter and MouseExit messages.

26 lines of code changed in:

norman 2001-10-03 21:18

added class id for mp3 loader

3 lines of code changed in:

norman 2001-10-03 21:17

added (disabled) mp3 loader

1 lines of code changed in:

norman 2001-10-03 21:09

removed the unused vars

3 lines of code changed in:

mgeisse 2001-10-03 20:44

made the following changes:
- renamed the following methods in iSectorList, iMaterialList and iTextureList:
AddBlah() to Add(), RemoveBlah() to Remove() and GetBlahCount() to
GetCount()
- fixed an old bug that was present in many sub-subclasses of csVector. If
a subclass of csVector calls DeleteAll() in the destructor, and a subclass
of that class overrides FreeItem(), it must also override the destructor again
and call DeleteAll() there.
- added a new kind of typed vector called 'restricted access vector'. These
vectors do not allow to assign elements directly, but only through methods
like Push() and Replace(). They also contain three virtual methods,
PrepareItem() which is called for every added element, FreeItem() which is
called for every deleted element, and PopItem() which is called for every
item that was removed with the Pop() function.
- re-implemented iBase-vectors with this new kind of typed vector, since
they are actually a subset.

278 lines of code changed in:

neverjade 2001-10-03 20:41

Slightly modified interface.

1 lines of code changed in:

neverjade 2001-10-03 20:40

Updated for bug help.

38 lines of code changed in:

norman 2001-10-03 12:58

additional readme to point to the ogg vorbis package on the net

6 lines of code changed in:

philwyett 2001-10-03 12:14

Pre 0.90 bug fix.

Fixed Win32 GL canvas so it correctly clips to screen in fullscreen mode.

11 lines of code changed in:

jorrit 2001-10-03 09:31

- Added the following functions to csInitializer:
- InitializeSCF()
- CreatePluginManager()
- CreateEventQueue()
- CreateVirtualClock()
- CreateCommandLineParser()
- CreateConfigManager()
These functions are responsible for splitting up the initialization
process even more. The functions above are practically essential
for any CS application.
- Added new csInitializer::CreateEnvironment() which calls all
of the above new functions and also calls CreateObjectRegistry()
(and returns it). Since most apps will want to call those functions
anyway it makes sense to have one call to do all that.

145 lines of code changed in:

jorrit 2001-10-03 09:11

Disabled 3ds plugin from compilation.

1 lines of code changed in:

jorrit 2001-10-03 08:42

Update.

202 lines of code changed in:

philwyett 2001-10-03 06:06

Adds plgsndogg to MSVC build process.

Fixed unknown type int64_t for MSVC.

Upadated MSVC project files.

Note: To build the ogg vorbis plugin requires you
have winlibs 0.19i. This new version of winlibs
adds al the files necessary to build the plugin.

5 lines of code changed in:

norman 2001-10-03 02:56

added classid for ogg vorbis

3 lines of code changed in:

norman 2001-10-03 02:54

added ogg plugin to user.mak (it is NOT enabled by default)

2 lines of code changed in:

norman 2001-10-03 02:45

since everybody talks about it but no one seems to implement it - here is ogg vorbis fo CS :)

406 lines of code changed in:

norman 2001-10-03 02:42

extended AddToBufferStatic to handle streamed sounds

43 lines of code changed in:

philwyett 2001-10-03 01:33

Fixed fullscreen bug where display misses depth.

1 lines of code changed in:

neverjade 2001-10-02 22:59

Fixed a few minor bugs regarding component naming.

20 lines of code changed in:

neverjade 2001-10-02 19:28

Christopher:

+ Modified the grammar slightly to be in line with the whole window/skin idea. This change had been made in the code a long time ago, I just had to update the parser's rules.

+ Fixed a few definitions so that they use registered constants for window frame styles.

11 lines of code changed in:

neverjade 2001-10-02 19:25

Modified interface.

9 lines of code changed in:

neverjade 2001-10-02 19:25

Christopher:

+ Fixed a couple of bugs related to searching for a window def when there are none.

+ Added in the text-attribute to the parser. This means that a user can now specify Frame styles as follows:

Style: wfsNormal | wfsMinMaxClose

+ Text constants are part of the expression solver, so you can use all normal arithmetic operators (+, -, *, /, &, |, ^, "()", etc.) with them. The expression is solved at parse-time, so it becomes a constant when queried. Text constants resolve to an integer value in all cases.

+ Added RegisterConstant(), ConstantExists() and GetConstantValue() to the awsPreferenceManager so that constants can be used by the parsing engine.

+ These types of parameters are queried the same way that all other parameters are, so there is no additional syntax needed for component designers.

-={C}=-

246 lines of code changed in:

jorrit 2001-10-02 15:36

Fix

4 lines of code changed in:

wouter 2001-10-02 12:27

changed picview app
- title of main window is now 'Image view' not '3d view' :-)
- main window has smaller border, no menus/buttons, and cannot me moved/sized.
- redraw is OK when no image is being displayed.
- image is positioned nicely at original size.

16 lines of code changed in:

jorrit 2001-10-02 11:16

- Changed the csInitialize... functions in cstool to static member
functions of the class csInitializer. There are now the following
functions in csInitializer:
- CreateObjectRegistry()
- RequestPlugins()
- Initialize()
- LoadReporter()
- SetupObjectRegistry()
- OpenApplication()
- CloseApplication()
- SetupEventHandler()
- MainLoop()
- DestroyApplication()
SetupObjectRegistry() will now try to find the following plugins
and if present it will add them to the object registry as default
plugins (with NULL tag):
- iVFS
- iGraphics3D
- iGraphics2D
- iFontServer
- iEngine
- iConsoleOutput
- iLoader
- iImageIO
- iReporter
- iStandardReporterListener
- Added cscmdProcess and cscmdFinalProcess. There are now the following
broadcast events relevant to frame processing:
- cscmdPreProcess: this is called first and allows apps and
plugins to basically do some preprocessing before rendering.
- cscmdProcess: in this pass the application should render
to the screen. But NOT the actual printing of the display.
That should happen in cscmdFinalProcess.
- cscmdPostProcess: in this pass plugins or apps can add
additional information on top of the previously rendered
display. Some uses are HUD overlays or debugging information.
- cscmdFinalProcess: this is the final pass. The application
should use this pass to actually print the resulting
display to the 3D driver.
So most apps will be interested in catching cscmdProcess and
cscmdFinalProcess.
- Modified the simple1 tutorial app to all the changes above.
Instead of NextFrame() there is SetupFrame() and FinishFrame().
- Fixed BugPlug so that it no longer does FinishDraw() and
Print() in its cscmdPostProcess handler. This will now have to be
done by the application in cscmdFinalProcess. This has the very
nice effect that BugPlug can now properly overlay messages on
top of the 3D view without the flicker effect. Note that BugPlug
will now only work correctly (for these overlays) for apps that
actually use the new cscmdFinalProcess system. Add this moment
only simple1 does that.
- Added iVirtualClock which is a new interface that implements some
stuff that used to be in iSystem. The following functions are there:
Advance(), Suspend(), Resume(), GetElapsedTicks(), and
GetCurrentTicks().
- Removed iSystem::SuspendVirtualTimeClock(), ResumeVirtualTimeClock(),
and GetElapsedTime(). Use iVirtualClock now.
The system driver now implements iVirtualClock and puts it in the
registry with NULL tag.
- The system driver will now register a lot of the common objects
using the NULL tag instead of a name. The NULL tag is meant to be
for default objects so this is better.

430 lines of code changed in:

neverjade 2001-10-01 23:26

Christopher:

+ Added event broadcast to children. Events propagate as follows:

1. The window first gets a chance at all events. If it uses them, then propagation stops there.
2. Mouse events propagate to the window that contains it. Equally, mouse events only propagate down the hierarchy to components that contain the mouse. Mouse events are NEVER propagated to any component that does not contain the mouse, except for MouseExit messages which are sent to the component that just lost the mouse.
3. Keyboard events propagate to EVERY child of the active window until one decides to accept them. This will change in the future so that the currently focused component gets keyboard messages. The other common way to do this is to limit keystrokes to the field that the mouse is over. I dislike this way of doing business, however, since it requires you to not bump the mouse.

-={C}=-

69 lines of code changed in:

neverjade 2001-10-01 22:42

Christopher:

+ Fixed the resize bug. Window moving and resizing should now be fine. Except for the "core dump on move to low" bug. Not sure what's causing that, and I have a feeling that it could be in the proctex code.

6 lines of code changed in:

neverjade 2001-10-01 22:36

Christopher:

+ Fixed a small bug that had to do with invalidating windows when focus changed.
+ Added a bit of code to awsWindow::OnDraw() that makes the titlebar of the focused window be bright.
+ Fixed the dumb bug where if you had two window on screen, one of them would disappear if you moved the other.

next up for windows: close, max and minimize buttons. Also, fixing the resize bug.

-={C}=-

27 lines of code changed in:

norman 2001-10-01 21:19

iso compiles again

32 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