15 years agoFixed up t/core_events.t to work. Still a little black magical as Event seems to...
Kartik Thakore [Mon, 9 Nov 2009 16:44:10 +0000]
Fixed up t/core_events.t to work. Still a little black magical as Event seems to be DESTROY'd magically by  GC

15 years agoremoved new() and DESTROY() for all events but SDL::Event
Tobias Leich [Mon, 9 Nov 2009 16:31:57 +0000]
removed new() and DESTROY() for all events but SDL::Event

15 years agoWindows need pump_events before wait_events
Kartik Thakore [Mon, 9 Nov 2009 15:22:34 +0000]
Windows need pump_events before wait_events

15 years agoExit the infinite event loop if no pending events
Kartik Thakore [Mon, 9 Nov 2009 15:09:11 +0000]
Exit the infinite event loop if no pending events

15 years agoMade an event loop for testing if events are poll properly
Kartik Thakore [Mon, 9 Nov 2009 14:52:47 +0000]
Made an event loop for testing if events are poll properly

15 years agocleanup
Tobias Leich [Mon, 9 Nov 2009 14:22:17 +0000]
cleanup

15 years agoCleaned up t/core_video.t
Kartik Thakore [Mon, 9 Nov 2009 13:59:51 +0000]
Cleaned up t/core_video.t

15 years agoFixed use_ok bug for t/core_events.t. Made 00-load.t test for loading modules
Kartik Thakore [Mon, 9 Nov 2009 11:44:03 +0000]
Fixed use_ok bug for t/core_events.t. Made 00-load.t test for loading modules

15 years agoGot random fails because we were not pumping events before polling
Kartik Thakore [Mon, 9 Nov 2009 11:20:20 +0000]
Got random fails because we were not pumping events before polling

15 years agoadded some constants from SDL_keysym.h
Tobias Leich [Mon, 9 Nov 2009 08:42:53 +0000]
added some constants from SDL_keysym.h

15 years agoGot wait_event messes with Test_More as we are faking event. Fixed it to use done_testing
Kartik Thakore [Mon, 9 Nov 2009 01:23:33 +0000]
Got wait_event messes with Test_More as we are faking event. Fixed it to use done_testing

15 years agoGot wait_event to work. 25t/core_events.t imple.
Kartik Thakore [Mon, 9 Nov 2009 01:19:01 +0000]
Got wait_event to work. 25t/core_events.t imple.

15 years agocleanup 20t/core_events.t Events
Kartik Thakore [Mon, 9 Nov 2009 01:08:01 +0000]
cleanup 20t/core_events.t Events

15 years agoGot Event working. Events at 25%. Poll_event and Push_event done
Kartik Thakore [Mon, 9 Nov 2009 00:57:51 +0000]
Got Event working. Events at 25%. Poll_event and Push_event done

15 years agomoved the constant-tests to the right place
Tobias Leich [Sun, 8 Nov 2009 21:32:58 +0000]
moved the constant-tests to the right place

15 years agokeysym.xs
Tobias Leich [Sun, 8 Nov 2009 19:50:53 +0000]
keysym.xs

15 years agoadded SDL_keysym struct
Tobias Leich [Sun, 8 Nov 2009 19:41:54 +0000]
added SDL_keysym struct

15 years agoMerge branch 'redesign' of github.com:kthakore/SDL_perl into redesign
Tobias Leich [Sun, 8 Nov 2009 16:31:03 +0000]
Merge branch 'redesign' of github.com:kthakore/SDL_perl into redesign

15 years agoadded more event constants and their tests
Tobias Leich [Sun, 8 Nov 2009 16:30:09 +0000]
added more event constants and their tests

15 years agoEvents which can have multiple types should get and set type
Kartik Thakore [Sun, 8 Nov 2009 16:07:31 +0000]
Events which can have multiple types should get and set type

15 years agoEvents which can have multiple types should get and set type
Kartik Thakore [Sun, 8 Nov 2009 16:06:06 +0000]
Events which can have multiple types should get and set type

15 years agoadded more event constants and their tests
Tobias Leich [Sun, 8 Nov 2009 15:59:59 +0000]
added more event constants and their tests

15 years agoupdated changes
Kartik Thakore [Sun, 8 Nov 2009 12:11:06 +0000]
updated changes

15 years agoFinshed Quit, Resize and SysWMEvent
Kartik Thakore [Sun, 8 Nov 2009 03:07:18 +0000]
Finshed Quit, Resize and SysWMEvent

15 years agoFinish MouseMotionEvent and fixed some tyops
Kartik Thakore [Sun, 8 Nov 2009 02:59:32 +0000]
Finish MouseMotionEvent and fixed some tyops

15 years agoFinish MouseButtonEvent
Kartik Thakore [Sun, 8 Nov 2009 02:45:04 +0000]
Finish MouseButtonEvent

15 years agoFininshed up KeyBoardEvent
Kartik Thakore [Sun, 8 Nov 2009 02:16:25 +0000]
Fininshed up KeyBoardEvent

15 years agoFinish JoyHatEvent done
Kartik Thakore [Sun, 8 Nov 2009 01:23:42 +0000]
Finish JoyHatEvent done

15 years agoFinished up JoyButtonEvent
Kartik Thakore [Sun, 8 Nov 2009 01:15:31 +0000]
Finished up JoyButtonEvent

15 years agoFinished up ExposeEvent, JoyAxisEvent, and JoyBallEvent.
Kartik Thakore [Sun, 8 Nov 2009 01:04:23 +0000]
Finished up ExposeEvent, JoyAxisEvent, and JoyBallEvent.

15 years agoFinished up ActiveEvent
Kartik Thakore [Sun, 8 Nov 2009 00:23:28 +0000]
Finished up ActiveEvent

15 years agoadded new() methods and their tests
Tobias Leich [Sat, 7 Nov 2009 23:10:19 +0000]
added new() methods and their tests

15 years agoMade UserEvent new and code work with test. Ignore data1,data2 for now
Kartik Thakore [Sat, 7 Nov 2009 22:05:54 +0000]
Made UserEvent new and code work with test. Ignore data1,data2 for now

15 years agoPerldoc needs newlines
Kartik Thakore [Fri, 6 Nov 2009 20:07:33 +0000]
Perldoc needs newlines

15 years agoBorrowed PDL run4flat's tutorial on SDL + PDL for our cookbook
Kartik Thakore [Fri, 6 Nov 2009 20:02:37 +0000]
Borrowed PDL run4flat's tutorial on SDL + PDL for our cookbook

15 years agomoved to SDL::Game::Event
Tobias Leich [Fri, 6 Nov 2009 18:57:27 +0000]
moved to SDL::Game::Event

15 years agoadded event tests
Tobias Leich [Fri, 6 Nov 2009 17:40:46 +0000]
added event tests

15 years agoTypo fixes of typo fixes :p
Kartik Thakore [Fri, 6 Nov 2009 16:47:13 +0000]
Typo fixes of typo fixes :p

15 years agoTypo fixes. NULL is a pointer cannot be assinged to integer value.
Kartik Thakore [Fri, 6 Nov 2009 16:45:14 +0000]
Typo fixes. NULL is a pointer cannot be assinged to integer value.

15 years agoAdded WMManagement Stubs. Fixed count
Kartik Thakore [Fri, 6 Nov 2009 16:25:07 +0000]
Added WMManagement Stubs. Fixed count

15 years agoMerge branch 'redesign' of github.com:kthakore/SDL_perl into redesign
Tobias Leich [Fri, 6 Nov 2009 16:20:21 +0000]
Merge branch 'redesign' of github.com:kthakore/SDL_perl into redesign

15 years agoadded event accessors
Tobias Leich [Fri, 6 Nov 2009 16:19:52 +0000]
added event accessors

15 years agoBetter error reporting for SDL::Video::map_RGB[A]
Kartik Thakore [Fri, 6 Nov 2009 15:36:56 +0000]
Better error reporting for SDL::Video::map_RGB[A]

15 years agoRename, move MixChunk and MixMusic to the right place
Leon Brocard [Fri, 6 Nov 2009 14:21:57 +0000]
Rename, move MixChunk and MixMusic to the right place

15 years agoFix typo^Wmemleak
Leon Brocard [Fri, 6 Nov 2009 14:01:51 +0000]
Fix typo^Wmemleak

15 years agoImplement MixMusic
Leon Brocard [Fri, 6 Nov 2009 13:51:49 +0000]
Implement MixMusic

15 years agoBetter defaults, test playing a sound
Leon Brocard [Fri, 6 Nov 2009 13:34:02 +0000]
Better defaults, test playing a sound

15 years agoMerge branch 'redesign' of git@github.com:kthakore/SDL_perl into redesign
Leon Brocard [Fri, 6 Nov 2009 13:04:12 +0000]
Merge branch 'redesign' of git@github.com:kthakore/SDL_perl into redesign

15 years agoImplement MixChunk
Leon Brocard [Fri, 6 Nov 2009 13:04:08 +0000]
Implement MixChunk

15 years agoMerge branch 'redesign' of git@github.com:kthakore/SDL_perl into redesign
magnet [Thu, 5 Nov 2009 23:59:24 +0000]
Merge branch 'redesign' of git@github.com:kthakore/SDL_perl into redesign

15 years agoAdded UserEvent
Kartik Thakore [Thu, 5 Nov 2009 23:48:37 +0000]
Added UserEvent

15 years agoadded QuitEvent
Tobias Leich [Thu, 5 Nov 2009 21:11:48 +0000]
added QuitEvent

15 years agoadded SysWMEvent
Tobias Leich [Thu, 5 Nov 2009 21:04:54 +0000]
added SysWMEvent

15 years agoadded ExposeEvent
Tobias Leich [Thu, 5 Nov 2009 20:50:36 +0000]
added ExposeEvent

15 years agoAdded tool I used to do that
Kartik Thakore [Thu, 5 Nov 2009 20:12:05 +0000]
Added tool I used to do that

15 years agoAdded stubs for Events
Kartik Thakore [Thu, 5 Nov 2009 20:11:34 +0000]
Added stubs for Events

15 years agoFixed JoyButtonEvent
Kartik Thakore [Thu, 5 Nov 2009 19:47:13 +0000]
Fixed JoyButtonEvent

15 years agoadded ResizeEvent
Tobias Leich [Thu, 5 Nov 2009 18:57:27 +0000]
added ResizeEvent

15 years agoadded JoyBallEvent
Tobias Leich [Thu, 5 Nov 2009 18:51:08 +0000]
added JoyBallEvent

15 years agoadded JoyHatEvent
Tobias Leich [Thu, 5 Nov 2009 18:43:41 +0000]
added JoyHatEvent

15 years agofix axis
Tobias Leich [Thu, 5 Nov 2009 18:27:43 +0000]
fix axis

15 years agoadded JoyAxisEvent
Tobias Leich [Thu, 5 Nov 2009 18:15:30 +0000]
added JoyAxisEvent

15 years agoadded MouseButtonEvent
Tobias Leich [Thu, 5 Nov 2009 18:08:20 +0000]
added MouseButtonEvent

15 years agoMerge branch 'redesign' of git@github.com:kthakore/SDL_perl into redesign
magnet [Thu, 5 Nov 2009 18:07:06 +0000]
Merge branch 'redesign' of git@github.com:kthakore/SDL_perl into redesign

15 years agoUpdated Video.pod
magnet [Thu, 5 Nov 2009 18:05:59 +0000]
Updated Video.pod

15 years agofixed KeyboardEvent::keysym, added MousMotionEvent
Tobias Leich [Thu, 5 Nov 2009 17:59:30 +0000]
fixed KeyboardEvent::keysym, added MousMotionEvent

15 years agoAdded ActiveEvent to Build.PL
Kartik Thakore [Thu, 5 Nov 2009 17:23:14 +0000]
Added ActiveEvent to Build.PL

15 years agoadded KeyboardEvent structure
Tobias Leich [Thu, 5 Nov 2009 17:16:32 +0000]
added KeyboardEvent structure

15 years agofixed filename typo
Tobias Leich [Thu, 5 Nov 2009 16:59:54 +0000]
fixed filename typo

15 years agoMerge branch 'redesign' of github.com:kthakore/SDL_perl into redesign
Tobias Leich [Thu, 5 Nov 2009 16:40:49 +0000]
Merge branch 'redesign' of github.com:kthakore/SDL_perl into redesign

15 years agoCRLF to LF
Tobias Leich [Thu, 5 Nov 2009 16:39:27 +0000]
CRLF to LF

15 years agoMultiTheadPOC.pl added. It shows quickly how we can use Inline::C to do threading...
Kartik Thakore [Thu, 5 Nov 2009 15:52:17 +0000]
MultiTheadPOC.pl added. It shows quickly how we can use Inline::C to do threading with SDL MultiThreading. You need to install Inline::C btw :)

15 years agoRandom fail in core_video fixed???
Kartik Thakore [Thu, 5 Nov 2009 02:55:31 +0000]
Random fail in core_video fixed???

15 years agoAdded stubs Event and ActiveEvent
Kartik Thakore [Thu, 5 Nov 2009 02:51:37 +0000]
Added stubs Event and ActiveEvent

15 years agoFix of typemap for Event objects
Kartik Thakore [Thu, 5 Nov 2009 02:29:27 +0000]
Fix of typemap for Event objects

15 years agoRolled back peep,poll,wait event. As the data structures have not be implmented prope...
Kartik Thakore [Thu, 5 Nov 2009 02:02:31 +0000]
Rolled back peep,poll,wait event. As the data structures have not be implmented properly. The wstat 11 error before was due to a segv cause by using T_PTR type on SDL_Event * it needs to be O_OBJECT. Please take a look at src/Core/objects/Rect.xs

15 years agoChecked merge conflicts
Tobias Leich [Wed, 4 Nov 2009 21:17:35 +0000]
Checked merge conflicts

15 years agoStarted the cookbook
Kartik Thakore [Wed, 4 Nov 2009 20:20:39 +0000]
Started the cookbook

15 years agoAdded docs, XS , PM and test file stubs for SDL::MultiThread
Kartik Thakore [Wed, 4 Nov 2009 19:03:27 +0000]
Added docs, XS , PM and test file stubs for SDL::MultiThread

15 years agoMerge branch 'redesign' of github.com:FROGGS/SDL_perl into redesign
Tobias Leich [Wed, 4 Nov 2009 19:33:24 +0000]
Merge branch 'redesign' of github.com:FROGGS/SDL_perl into redesign

15 years ago+wait_event()
Tobias Leich [Wed, 4 Nov 2009 19:25:48 +0000]
+wait_event()

15 years agoAdded docs, XS , PM and test file stubs for SDL::MultiThread
Kartik Thakore [Wed, 4 Nov 2009 19:03:27 +0000]
Added docs, XS , PM and test file stubs for SDL::MultiThread

15 years agoMinor clean up. Removes warnings of pointer cast during compile
Kartik Thakore [Wed, 4 Nov 2009 18:39:46 +0000]
Minor clean up. Removes warnings of pointer cast during compile

15 years agoMinor clean up. Removes warnings of pointer cast during compile
Kartik Thakore [Wed, 4 Nov 2009 18:39:46 +0000]
Minor clean up. Removes warnings of pointer cast during compile

15 years agochecking for corrent 'action' in peep_events()
Tobias Leich [Wed, 4 Nov 2009 17:24:09 +0000]
checking for corrent 'action' in peep_events()

15 years agochecking for corrent 'action' in peep_events()
Tobias Leich [Wed, 4 Nov 2009 17:24:09 +0000]
checking for corrent 'action' in peep_events()

15 years ago15% of events. My stupid code didn't account of 0array being 1 less the actual count.
Kartik Thakore [Wed, 4 Nov 2009 16:56:38 +0000]
15% of events. My stupid code didn't account of 0array being 1 less the actual count.

15 years agoMerge branch 'redesign' of git://github.com/FROGGS/SDL_perl into redesign
Kartik Thakore [Wed, 4 Nov 2009 16:52:30 +0000]
Merge branch 'redesign' of git://github.com/FROGGS/SDL_perl into redesign

15 years agoadded pump_events(), peep_events() and poll_event()
Tobias Leich [Wed, 4 Nov 2009 16:46:07 +0000]
added pump_events(), peep_events() and poll_event()

15 years agoFixed up new_from. It is usable but it cause wierd XS behaviour so we don't recommend...
Kartik Thakore [Wed, 4 Nov 2009 16:36:18 +0000]
Fixed up new_from. It is usable but it cause wierd XS behaviour so we don't recommend anyone to use this right now

15 years agoAdded preliminary docs for SDL::Surface
Kartik Thakore [Wed, 4 Nov 2009 14:29:37 +0000]
Added preliminary docs for SDL::Surface

15 years agoRemoved wrapping functions. Cleaned up SDL.xs.
Kartik Thakore [Wed, 4 Nov 2009 10:22:03 +0000]
Removed wrapping functions. Cleaned up SDL.xs.

15 years agoBricas hack for a horrible but needed function
Kartik Thakore [Tue, 3 Nov 2009 20:58:35 +0000]
Bricas hack for a horrible but needed function

15 years agoAdded setters to SDL::Surface set_pixel_RGB and set_pixel_RGBA. Deprecreating SDL...
Kartik Thakore [Tue, 3 Nov 2009 19:30:07 +0000]
Added setters to SDL::Surface set_pixel_RGB and set_pixel_RGBA. Deprecreating SDL::SurfacePixel

15 years agoAdded SurfacePixel and its test for now so we can duplicated function for it with...
Kartik Thakore [Tue, 3 Nov 2009 18:51:11 +0000]
Added SurfacePixel and its test for now so we can duplicated function for it with set_pixel and get_pixel

15 years ago[WIP] SDL::SurfacePixel turned on again. Needs to be cleaned up
Kartik Thakore [Tue, 3 Nov 2009 18:38:58 +0000]
[WIP] SDL::SurfacePixel turned on again. Needs to be cleaned up

15 years agoMark version, linked_version as implemented
Leon Brocard [Tue, 3 Nov 2009 16:15:20 +0000]
Mark version, linked_version as implemented

15 years agoWrap SDL_version
Leon Brocard [Tue, 3 Nov 2009 16:13:36 +0000]
Wrap SDL_version

15 years agoNow compiling src/Core/Events.XS for SDL::Events
Kartik Thakore [Tue, 3 Nov 2009 14:33:26 +0000]
Now compiling src/Core/Events.XS for SDL::Events

15 years agoImplemented and add TODO tests for SDL::Video::GL_*. 97t/core_video.t done
Kartik Thakore [Tue, 3 Nov 2009 14:13:35 +0000]
Implemented and add TODO tests for SDL::Video::GL_*. 97t/core_video.t done