← Previous day | Index | Channel Index | Today | Next day → | Search | Google Search | Plain-Text | plain, newest first
All times shown according to UTC.
| Time | Nick | Message |
|---|---|---|
| 00:01 | shadowpaste | "FROGGS" at 217.168.144.84 pasted "without sleep or delay" (59 lines) at http://scsys.co.uk:8001/36896 |
| 00:02 | kthakore | FROGGS: um .. yeah so that is definately device async |
| 00:02 | FROGGS: perl doesn't handle the SDL interrupts | |
| 00:02 | FROGGS: :p | |
| 00:03 | FROGGS | maybe passing SDL::Audio::open() to a var, then delay, would help |
| 00:03 | hmmm, or not | |
| 00:03 | dont know | |
| 00:04 | its to late for me | |
| 00:04 | kthakore | kk |
| 00:06 | FROGGS | good night buddy... |
| 00:06 | se ya tomorrow... | |
| 00:06 | kthakore | FROGGS: night dad |
| 02:34 | garu | kthakore, meep? |
| 02:34 | kthakore | garu: I iz dyin |
| 02:34 | * garu | handles kthakore a health pack |
| 02:35 | garu | :) |
| 02:35 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r2ebf959 10/ src/Image.xs : XPM IS TEH ANAL RAPE - http://bit.ly/4Fb4l2 |
| 02:35 | SDL_perl: 03Kartik Thakore 07redesign * raa4cb7f 10/ t/image_xpm_array.t : FUUUUUUUUUUUUUUUUUUUUUUUUUU - http://bit.ly/6sPyV4 | |
| 02:35 | kthakore | garu: there |
| 02:35 | ANAL RAPE | |
| 02:35 | kill me now | |
| 02:36 | garu | ...and suddenly the channel became R-rated |
| 02:36 | kthakore, noooooooooooooo | |
| 02:36 | don't die | |
| 02:36 | live | |
| 02:36 | LIVE | |
| 02:36 | kthakore | lol |
| 02:36 | ok | |
| 02:36 | garu | kthakore, how'd the freebsd thing went? |
| 02:36 | could Apocalypse help? | |
| 02:37 | kthakore | garu: fixed |
| 02:37 | garu: it works on freebsd now | |
| 02:38 | garu | yay |
| 02:39 | kthakore | garu: what is the fucking format for XPM |
| 02:39 | FUCK | |
| 02:39 | FUCK | |
| 02:39 | ANAL | |
| 02:39 | I KEEEL YOU ALLL | |
| 02:39 | garu | xpm? the graphic? |
| 02:39 | * kthakore | goes on RAGE and knocks over CN tower |
| 02:39 | kthakore | garu: ya |
| 02:40 | garu | what's the problem? |
| 02:40 | it's plain text | |
| 02:41 | kthakore, xpm does include some characters that might screw over lists and strings, like qw( " ' , ) | |
| 02:41 | so you probably need to escape them (if that's the problem) | |
| 02:42 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * rd1841c6 10/ (src/Image.xs t/image_xpm_array.t): Skipping test for now ... I HATE YOU :( - http://bit.ly/4uklgh |
| 02:42 | kthakore | garu: git pull |
| 02:42 | garu | aye aye sir |
| 02:42 | kthakore | garu: and run |
| 02:42 | garu | heh |
| 02:43 | kthakore | perl Build test --test_files t/image_xpm_array.t --verbose |
| 02:44 | garu | "All tests successful." |
| 02:44 | but you skipped the bad one, aye? | |
| 02:44 | heh, there's only one | |
| 02:45 | kthakore | yay |
| 02:45 | invalid format | |
| 02:45 | the code reads for this | |
| 02:45 | garu | kthakore, that @test thingie is valid xpm? |
| 02:46 | kthakore | if(sscanf(line, "%d %d %d %d", &w, &h, &ncolors, &cpp) != 4 || w <= 0 || h <= 0 || ncolors <= 0 || cpp <= 0) { |
| 02:46 | garu should be | |
| 02:46 | garu | let me see |
| 02:46 | kthakore | http://svn.libsdl.org/trunk/SDL_image/IMG_xpm.c |
| 02:46 | search for sscanf( line, "%d %d %d | |
| 02:46 | so on | |
| 02:46 | from first like | |
| 02:46 | line | |
| 02:46 | which is '30 30 9 1'."\n", | |
| 02:47 | should work right? | |
| 02:48 | garu | nope, gimp doesn't like it either |
| 02:48 | kthakore | crap |
| 02:48 | wth | |
| 02:48 | I copied from gimp | |
| 02:48 | garu: lol did you just put this in a text file and open? | |
| 02:48 | garu | yup |
| 02:48 | bad? | |
| 02:48 | kthakore | you need to but it in /* XPM */ |
| 02:48 | static char * test_xpm[] = { | |
| 02:49 | garu: XPM is just an array | |
| 02:49 | garu | right |
| 02:49 | crap | |
| 02:49 | kthakore | but for this function we are giving it char ** |
| 02:49 | which is test_xpm | |
| 02:49 | I can load this fine with loadXPM | |
| 02:49 | garu | give me a second |
| 02:49 | kthakore | ok |
| 02:52 | shadowpaste | "garu" at 187.67.161.216 pasted "smallest possible valid xpm" (5 lines) at http://scsys.co.uk:8001/36904 |
| 02:52 | garu | maybe we can start from there, reduce our scope a little |
| 02:52 | let me see what happens | |
| 02:52 | kthakore | ok |
| 02:54 | Invalid format description | |
| 02:54 | my conversion is fucked | |
| 02:54 | hold on | |
| 02:54 | garu | damn |
| 02:55 | well, at least now we have a smaller sample to try, might be a little easier to debug | |
| 03:00 | kthakore | crap |
| 03:01 | some where my array is cut in half | |
| 03:01 | lol | |
| 03:03 | garu | heh |
| 03:03 | that's awesoe | |
| 03:03 | *awesome | |
| 03:03 | kthakore, now you know where to look :) | |
| 03:03 | kthakore | ok |
| 03:03 | garu | kthakore, go sleep, mate |
| 03:03 | you look tired | |
| 03:04 | the bug will still be here tomorrow (unfortunately) | |
| 03:04 | unless acme wakes up :P | |
| 03:05 | kthakore | lol found it |
| 03:05 | but stupidest hack for it | |
| 03:05 | garu: c didn't know how long the fukcing strings where | |
| 03:06 | garu | no kidding |
| 03:06 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * rd2eb8e5 10/ (src/Image.xs t/image_xpm_array.t): Stupid ugly hack for this - http://bit.ly/90VVgy |
| 03:06 | garu | I thought XS placed \0's all around |
| 03:06 | kthakore | nope |
| 03:06 | it is anal rape | |
| 03:07 | * kthakore | puts the CN tower back |
| 03:09 | garu | kthakore, yay, we can haz xpm :) |
| 03:11 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r4a5144d 10/ t/image_xpm_array.t : Real picture - http://bit.ly/8DI31L |
| 03:11 | kthakore | garu: try that |
| 03:13 | garu: good night | |
| 03:15 | garu | kthakore, black circle on white square, blue background |
| 03:15 | kthakore++ | |
| 03:15 | kthakore | garu: ???? work or no |
| 03:15 | garu | that's what appeared |
| 03:16 | Result: PASS | |
| 03:16 | kthakore | garu: the dot? |
| 03:18 | garu | a black dot on a white square background, with the window having a blue background |
| 03:18 | what were you expecting? "two frogs on a bench" ? | |
| 03:22 | kthakore | garu: a pic of you in heels |
| 03:22 | :p | |
| 03:22 | garu | meh |
| 03:23 | kthakore | garu: there no go make sprites :p |
| 03:23 | for our game | |
| 03:23 | garu | hm? |
| 03:23 | kthakore | MoP |
| 03:23 | garu | ah, "now" |
| 03:24 | kthakore | make xpm sprites |
| 03:24 | garu | why? are they any better? |
| 03:24 | kthakore | yes |
| 03:25 | it is like 8 bit awesomeness | |
| 03:25 | retro ftw | |
| 03:26 | garu | heh |
| 03:26 | kthakore | w/e i am going to sleep after RAGS |
| 03:26 | ops | |
| 03:26 | RAGE | |
| 03:27 | garu | g'night! |
| 03:28 | kthakore | thanks for help |
| 03:31 | garu | don't mention it |
| 08:57 | FROGGS joined #sdl | |
| 10:28 | kthakore | FROGGS: hi |
| 10:29 | FROGGS: image is done i think | |
| 10:29 | FROGGS | cool |
| 10:29 | (kthakore: hi) | |
| 10:30 | kthakore | FROGGS: checkout xpm code |
| 10:31 | it was anal rape to do | |
| 10:33 | FROGGS | looks interesting O.o |
| 10:34 | kthakore | t/image_xpm so on |
| 10:34 | FROGGS | but why isXPM() and not is_XPM() ? |
| 10:34 | kthakore | crap ... |
| 10:34 | dunno didnt see it | |
| 10:36 | i will change | |
| 10:37 | FROGGS | it passes on my windows |
| 10:38 | kthakore | FROGGS: did u see dot on blue window? |
| 10:38 | FROGGS | yes, with the white quare and the black dot |
| 10:38 | d it is AA | |
| 10:38 | s/^d/and/ | |
| 10:39 | kthakore | kk |
| 10:39 | AA? | |
| 10:39 | FROGGS | anti aliazed |
| 10:39 | did i spelled it correct? | |
| 10:39 | kthakore | aliased |
| 10:39 | FROGGS | k |
| 10:39 | kthakore | xpm is teh awes0m3 |
| 10:40 | for sprites | |
| 10:40 | FROGGS | what does it mean? exchangable portable bitmap? |
| 10:40 | kthakore | pix map |
| 10:40 | FROGGS | x pixmap |
| 10:40 | kk | |
| 10:41 | kthakore | faster way to make sprites on game load |
| 10:43 | FROGGS: so want me to leave gfx out for this weekend release? | |
| 10:44 | crap i gtg syu | |
| 10:45 | study | |
| 10:45 | kk | |
| 10:46 | FROGGS | would be better i think, there no real test |
| 10:51 | kthakore | kk |
| 10:51 | if you get it done let me know | |
| 10:52 | FROGGS | k |
| 10:57 | kthakore | FROGGS: after i doc image i am going to do net |
| 10:57 | FROGGS | and then pong! |
| 10:57 | ;o) | |
| 10:57 | kthakore | acme any plans for mixer? |
| 10:57 | FROGGS: yup ;) multiplayer | |
| 10:58 | FROGGS | or something like connect four... |
| 10:58 | kthakore | ya thag too |
| 11:19 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * rbd9eeb9 10/ (src/Image.xs t/image.t): is to is_ - http://bit.ly/88Z9JI |
| 11:19 | kthakore | FROGGS: done |
| 11:19 | FROGGS | hmmmm |
| 11:20 | whats with this: loadXPM_rw() ? �.� | |
| 11:22 | kthakore | Lo |
| 11:22 | :p | |
| 11:22 | I fix later | |
| 11:22 | FROGGS | ;o) |
| 11:22 | to early in the morning, right? | |
| 11:43 | kthakore | :p |
| 11:59 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r960741b 10/ src/Image.xs : fixed load_ - http://bit.ly/8MyDbm |
| 11:59 | kthakore | FROGGS: done |
| 12:26 | FROGGS | �.� |
| 12:26 | kthakore | FROGGS: whut now? |
| 12:27 | FROGGS | hehe |
| 12:27 | guess what | |
| 12:27 | kthakore | I hate you |
| 12:27 | whut? | |
| 12:27 | FROGGS | i know ;o) |
| 12:27 | loadtyped_rw | |
| 12:27 | but its just one | |
| 12:27 | kthakore | Lp |
| 12:29 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * rd0c6a4f 10/ (src/Image.xs t/image.t): image last load_ - http://bit.ly/7EA5XP |
| 12:29 | kthakore | there |
| 12:29 | I go to $work now | |
| 12:29 | FROGGS | k |
| 12:29 | kthakore | acme: this guy is worst then you |
| 12:29 | worse :P | |
| 12:29 | FROGGS | i am wurst? |
| 12:29 | O.o | |
| 12:29 | kthakore | FROGGS: go play with IE |
| 12:29 | FROGGS | hehe |
| 12:30 | kthakore | IE 5.5 |
| 12:30 | FROGGS | i do that right now actually |
| 12:30 | kthakore | doom doom doom |
| 12:30 | FROGGS | no... ie7 -.- |
| 12:30 | kthakore | ok cya |
| 12:30 | FROGGS | bye |
| 13:16 | SmokeMachine joined #sdl | |
| 13:58 | kthakore | hi |
| 13:58 | hi SmokeMachine | |
| 14:05 | /win 3 | |
| 14:15 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r4679aa9 10/ (CHANGELOG t/image.t): Updated changelog and finished up test - http://bit.ly/66Uu3K |
| 14:21 | kthakore | /win 17 |
| 14:45 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r11ae9e6 10/ lib/pods/SDL/Image.pod : Added pod stub for SDL::Image - http://bit.ly/5xmPxP |
| 15:08 | kthakore | /win 5 |
| 15:08 | /win 5 | |
| 15:52 | cler | |
| 15:52 | clear | |
| 15:52 | clear | |
| 17:24 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r78b5db4 10/ (lib/SDL/Image.pm lib/pods/SDL/Image.pod t/image.t): Added constants for image and update docs [#72] - http://bit.ly/6e1xBm |
| 19:50 | kthakore | /win 6 |
| 19:55 | Ryan52: hi | |
| 19:59 | /win 6 | |
| 19:59 | /win 6 | |
| 19:59 | ... | |
| 20:01 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * rdaa664c 10/ (lib/pods/SDL/Image.pod t/image.t): more docs - http://bit.ly/8ek1KR |
| 21:45 | FROGGS joined #sdl | |
| 21:45 | FROGGS | hi there |
| 22:33 | kthakore_mp joined #sdl | |
| 22:33 | kthakore_mp | FROGGS: hi |
| 22:33 | FROGGS | hi kthakore |
| 22:33 | kthakore_mp | FROGGS: i got some docs done for inage |
| 22:33 | image | |
| 22:34 | FROGGS | ohh, let me have a look |
| 22:34 | kthakore_mp | sdl.perl.org |
| 22:37 | FROGGS | thats cool |
| 22:37 | kthakore_mp | FROGGS: also L<SDL::Video::set_color_key> |
| 22:37 | links dont work | |
| 22:37 | it points to SDL-Video::set....html | |
| 22:38 | CIA-2 | SDL_perl: 03Tobias Leich 07redesign * rb66d95a 10/ (src/Core/Audio.xs src/Core/Joystick.xs): fixed warning: assignment from incompatible pointer type - http://bit.ly/7mnJDt |
| 22:38 | FROGGS | hmmmm |
| 22:39 | kthakore | yay |
| 22:39 | FROGGS | if you are linking from inside SDL::Video you can do L<SDL::Video::set_color_key|/set_color_key> |
| 22:40 | kthakore | can we have it do this |
| 22:40 | if it cannot find a SDL::... link | |
| 22:40 | it will try | |
| 22:40 | SDL-Video.html#set_colo | |
| 22:40 | so on | |
| 22:40 | as that way atleast it comes to SDL-Video.html | |
| 22:40 | FROGGS | hmmmm |
| 22:41 | how does the parser from cpan handles this? | |
| 22:41 | kthakore | oh I have link for you |
| 22:41 | hold on | |
| 22:43 | Chttp://blogs.perl.org/users/jo[…]style-html-1.html | |
| 22:43 | http://blogs.perl.org/users/jo[…]style-html-1.html | |
| 22:44 | FROGGS | cool |
| 22:45 | i'll try that tomorrow | |
| 22:45 | kthakore | kk |
| 22:45 | FROGGS: I am going to release your code with next release | |
| 22:46 | FROGGS: screw it | |
| 22:46 | I don't have the time to pick out code | |
| 22:46 | FROGGS | k, i'm working on it right now |
| 22:48 | kthakore | FROGGS: oh ok |
| 23:50 | CIA-2 | SDL_perl: 03Kartik Thakore 07redesign * r8b06499 10/ lib/pods/SDL/Image.pod : Cleaning up the docs - http://bit.ly/6yC7BK |
| 23:50 | SDL_perl: 03Kartik Thakore 07redesign * r548b67d 10/ (src/Core/Audio.xs src/Core/Joystick.xs): Merge branch 'redesign' of github.com:kthakore/SDL_perl into redesign - http://bit.ly/7qQ9BM | |
| 23:50 | SDL_perl: 03Kartik Thakore 07redesign * r7ea86a4 10/ (src/SDL.xs t/core_surface.t): Cleaned up SDL.xs and t/core_surface.t - http://bit.ly/7DpLbQ | |
| 23:57 | FROGGS | kthakore: how can i see what i added to git in order to commit? |
← Previous day | Index | Channel Index | Today | Next day → | Search | Google Search | Plain-Text | plain, newest first