| 00:23:33 | | <-- Rigo has quit (Ping timeout: 180 seconds) |
| 00:25:12 | | --> Rigo (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 00:31:19 | | <-- Rigo has quit (Ping timeout: 180 seconds) |
| 00:33:27 | | --> Rigo (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 05:57:38 | | --> Belxjander (~Belxjande@2af52808.540cf85.xtra.co.nz) has joined #AmigaDev |
| 06:39:55 | | <-- Belxjander has quit (Ping timeout: 180 seconds) |
| 07:39:45 | | --> neax-afk (~neax@189efabc.2f2211d7.xtra.co.nz) has joined #amigadev |
| 08:04:59 | | -!- neax-afk is now known as neax |
| 09:15:22 | | --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev |
| 09:16:46 | | <-- BinoX has quit (Quit: WookieChat 2 on AmigaOS4 Pre4) |
| 12:28:22 | | <-- neax has quit (Ping timeout: 180 seconds) |
| 12:51:12 | | --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 12:51:16 | | <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_)) |
| 12:51:18 | | -!- Rigo_ is now known as Rigo |
| 13:29:24 | | <-- Orgin has quit (Ping timeout: 180 seconds) |
| 14:16:14 | nicomen | sup? |
| 14:48:24 | | <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_)) |
| 14:48:29 | | --> Rigo (~repairs@Rigo.Amigaworld.Net) has joined #amigadev |
| 15:48:47 | | --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 15:48:52 | | <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_)) |
| 15:48:52 | | -!- Rigo_ is now known as Rigo |
| 16:00:38 | | --> Dessimat0r (~lol@23fa4838.f4f1334.broadband.ntl.com) has joined #amigadev |
| 16:53:32 | | --> number6 (~user@2430b3da.31b34b44.dialup.citynet.net) has joined #amigadev |
| 17:47:33 | | --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 17:47:38 | | <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_)) |
| 17:47:38 | | -!- Rigo_ is now known as Rigo |
| 18:25:08 | | <-- number6 has left #amigadev |
| 18:42:03 | | --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev |
| 18:42:07 | BinoX | Evenin' all :) |
| 18:47:51 | BinoX | off to play heretic 2 :) |
| 18:48:00 | BinoX | Yes.. I'm slacking from deving :p |
| 19:02:42 | | <-- Rigo has quit (Ping timeout: 180 seconds) |
| 19:04:35 | | --> Rigo (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 19:25:24 | | --> watertonian (~watertoni@2803ef39.22cbf9e3.rcsntx.swbell.net) has joined #amigadev |
| 19:29:23 | | --> antique (~user@362b7f89.3a07d0d4.cust.smrtcall.net) has joined #amigadev |
| 19:31:15 | antique | Is there an EASY way to find ':' in a string? |
| 19:34:24 | watertonian | anybody here run a dataflyer 1200 scsi+ |
| 19:35:08 | antique | not me |
| 19:39:08 | nicomen | strstr ? |
| 19:50:39 | | --> Orgin (~Banana@Network-Admin.AmigaWorld.net) has joined #amigadev |
| 19:53:01 | | <-- watertonian has quit (Ping timeout: 180 seconds) |
| 20:04:34 | | <-- antique has quit (Ping timeout: 180 seconds) |
| 20:34:37 | | --> antique (~user@362b7f89.3a07d0d4.cust.smrtcall.net) has joined #amigadev |
| 20:35:49 | antique | nico: if i want to print a struct List using printf(),printf("list=%s",my_list); ????? |
| 20:37:56 | nicomen | like print_r in php? |
| 20:38:05 | nicomen | you need to traverse it manually |
| 20:38:13 | nicomen | and know the structure |
| 20:39:46 | antique | well,i've made a struct list. and used addtail() so it should in theory hold some info???? but when i set up my_list in my listview gadget,it shows NOTHING! :( |
| 20:41:48 | antique | my_list = AllocVec (sizeof(struct List ),MEMF_CLEAR); |
| 20:41:48 | antique | NewList (my_list); |
| 20:41:48 | antique | for (i = 0; i < tot-1; i ++) |
| 20:41:48 | antique | { |
| 20:41:48 | antique | node = AllocVec (sizeof(struct Node ),MEMF_CLEAR); |
| 20:41:49 | antique | node->ln_Name = navn[i]; |
| 20:41:52 | antique | AddTail(my_list,node); |
| 20:41:56 | antique | } |
| 20:42:51 | nicomen | afaik you will be changing all the previously added "node" each time you do allocvec |
| 20:43:48 | antique | but the node should be changed every loop,as it will get a new entry,and that entry will be added to my_list.... |
| 20:44:05 | | --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev |
| 20:44:19 | | --> itix (~ilkleht@1f49225e.2d34f077.humppa.jyu.fi) has joined #amigadev |
| 20:44:29 | itix | hi |
| 20:44:33 | antique | hi |
| 20:44:36 | nicomen | then declare the node inside the for loop or somethng |
| 20:44:39 | nicomen | or ask itix ;D |
| 20:45:02 | antique | the node is inside the loop. :) |
| 20:45:09 | antique | itix: you smart? hehe |
| 20:45:52 | nicomen | not the declaration |
| 20:46:15 | | --> neax (~neax@189efabc.2f2211d7.xtra.co.nz) has joined #amigadev |
| 20:46:17 | nicomen | but nevermind, I'm just bablin now |
| 20:46:20 | antique | shoudl i put that outside you mean? |
| 20:46:29 | antique | *should |
| 20:46:35 | nicomen | no, just ignore me |
| 20:48:17 | | --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 20:48:22 | | <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_)) |
| 20:48:24 | | -!- Rigo_ is now known as Rigo |
| 20:52:01 | itix | what are you trying to do? |
| 20:53:42 | antique | make a listview gadget,the gadget works but the lisview is EMPTY. :( |
| 21:02:25 | antique | itix: any knowledge of this? |
| 21:03:06 | itix | mmh |
| 21:03:15 | itix | it must be 10 years when i dealt with intuition gadgets |
| 21:03:28 | itix | why it is empty? |
| 21:03:41 | itix | how data is added? |
| 21:06:35 | | <-- Dessimat0r has quit (Quit: ) |
| 21:06:44 | antique | first i read in data from a directory. adds them to char *tab_album[1000].. |
| 21:07:03 | antique | my_list = AllocVec (sizeof(struct List ),MEMF_CLEAR); |
| 21:07:03 | antique | NewList (my_list); |
| 21:07:03 | antique | node = AllocVec (sizeof(struct Node ),MEMF_CLEAR); |
| 21:07:03 | antique | for (i = 0; i < tot-1; i ++) |
| 21:07:03 | antique | { |
| 21:07:04 | antique | node->ln_Name = tab_album[i]; |
| 21:07:07 | antique | AddTail(&my_list,node); |
| 21:07:08 | antique | } |
| 21:07:47 | itix | allocmem must be inside loop |
| 21:08:00 | itix | allocvec i mean |
| 21:08:43 | itix | and you should check did allocvec() succeed |
| 21:08:55 | itix | if you dont you get nice hitflood |
| 21:09:51 | itix | if you dont you get nice hitflood when allocation fails |
| 21:10:10 | | <-- antique has quit (Ping timeout: 180 seconds) |
| 21:13:49 | | --> antique (~user@362b7f89.3a07d0d4.cust.smrtcall.net) has joined #amigadev |
| 21:14:48 | antique | ITIX: my_list = AllocVec (sizeof(struct List ),MEMF_CLEAR); |
| 21:14:48 | antique | NewList (my_list); |
| 21:14:48 | antique | for (i = 0; i < tot-1; i ++) |
| 21:14:48 | antique | { |
| 21:14:48 | antique | node = AllocVec (sizeof(struct Node ),MEMF_CLEAR); |
| 21:14:49 | antique | node->ln_Name = tab_album[i]; |
| 21:14:52 | antique | AddTail(my_list,node); |
| 21:14:56 | antique | } |
| 21:16:44 | itix | better |
| 21:16:51 | itix | you should check for return values |
| 21:17:04 | antique | how do i do that? |
| 21:17:47 | itix | if ((node = AllocVec(sizeof(struct Node), MEMF_CLEAR)) == NULL) break; |
| 21:21:09 | antique | ok! but still nothing in my listview. strange.... |
| 21:23:06 | antique | the tab_album[i] holds some text,i know as i write that in a text file. |
| 21:24:11 | | <-- neax has quit (Ping timeout: 180 seconds) |
| 21:25:42 | | --> neax (~neax@189efabc.2f2211d7.xtra.co.nz) has joined #amigadev |
| 21:26:33 | itix | i think you must call refreshgadgets() or something |
| 21:28:07 | antique | but i make the list ready before i open the window,so shouldn't that text be in the listview the first time i open the window with the attached listview? :/ |
| 21:32:44 | itix | i guess it should |
| 21:32:52 | itix | but is the list added porperly to the listview? |
| 21:33:20 | antique | should be yes |
| 21:41:02 | | --> Dessimat0r (~lol@23fa4838.f4f1334.broadband.ntl.com) has joined #amigadev |
| 21:53:39 | | --> Belxjander (~Belxjande@2af52808.540cf85.xtra.co.nz) has joined #AmigaDev |
| 22:09:44 | antique | how can i check the LAST character of a string for ':'?? need to know if that is the last character,else i need to add another letter. |
| 22:13:17 | zerohero | string handling in c is awfull |
| 22:13:28 | zerohero | int x = strlen(string); |
| 22:13:50 | zerohero | if(string[x] == ':') ...; else ...; |
| 22:14:06 | zerohero | actually it's |
| 22:14:10 | zerohero | if(string[x - 1] == ':') ...; else ...; |
| 22:14:15 | antique | miss blitzbasic there. |
| 22:21:16 | antique | thanks zero: that worked great. :) one less bug. :) |
| 22:21:35 | zerohero | np :) |
| 22:22:26 | antique | zero: what have you done for os4 lately? :) |
| 22:24:00 | zerohero | i'm working on a gui for mkisofs + dvdrecord for afxgroup |
| 22:24:27 | zerohero | the mkisofs part is mostly working, will add some more options for it |
| 22:24:44 | zerohero | don't have a cd/dvd-burner in the miggy atm, so i can't test dvdrecord |
| 22:27:47 | zerohero | tho some school projects have taken most of my time lately |
| 22:28:58 | | --> kryptonix (~neax@2c4e124f.2ae78891.xtra.co.nz) has joined #amigadev |
| 22:29:28 | | <-- neax has quit (Ping timeout: 180 seconds) |
| 22:29:40 | antique | zero: i'll get dvd recorder soon. :) |
| 22:30:11 | | -!- kryptonix is now known as neax |
| 22:30:13 | zerohero | antique: i can't afford one atm, both me and my wide are students :( |
| 22:30:17 | zerohero | lol |
| 22:30:27 | zerohero | my wife, and no, she's not so wide ;) |
| 22:30:27 | antique | wide? or wife? hehe |
| 22:30:47 | antique | zero: white men can't make women wide. hehe |
| 22:33:43 | antique | zero: gonna get my a1 soon. :) |
| 22:36:37 | zerohero | nice with an a1, but then you have to learn reaction ;) |
| 22:36:52 | antique | do i? |
| 22:37:11 | zerohero | nah, gadtools is still there, but reaction is the chosen gui |
| 22:37:17 | zerohero | there's also mui of course |
| 22:38:27 | antique | :) |
| 22:38:36 | antique | it's just an SE but will do for now |
| 22:39:08 | antique | mkisofs? what's that? |
| 22:39:17 | Rigo | ReAction makes life a lot easier than Gadtools any day |
| 22:39:53 | antique | but i only know gadtools from blitz. that's why. |
| 22:40:25 | Rigo | yeuk! :) |
| 22:40:41 | zerohero | mkisofs is a tool to make iso files, ie cd/dvd images that dvdrecord later can burn to cd/dvd |
| 22:40:42 | antique | do i need to spank you? hehe |
| 22:40:58 | antique | zero: ok! |
| 22:42:53 | antique | zero: nutsaboutamiga is going to help me with the listiview gadget. :) need that to fix my program. :) |
| 22:43:33 | zerohero | antique: it shouldn't be a big problem, since you seem to be doing it correct |
| 22:43:59 | antique | zero: hope not,BUT it's strange coding gadtools,hehe! |
| 22:44:31 | antique | zero: bb_GTListView(1,1,20,10,450,266,"",my_list); |
| 22:44:35 | zerohero | antique: yeah, everything pre-mui is weird |
| 22:48:16 | | <-- Belxjander has quit (Ping timeout: 180 seconds) |
| 22:49:42 | antique | zero: which a1 you got? |
| 22:50:18 | | --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev |
| 22:50:22 | | <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_)) |
| 22:50:25 | | -!- Rigo_ is now known as Rigo |
| 22:50:50 | zerohero | antique: a1 xe g4 |
| 22:51:16 | antique | zero: nice. lucky you.hehe |
| 22:51:28 | zerohero | antique: yeah, i know :) |
| 22:51:45 | antique | zero: don't push it,hehe! :) |
| 22:52:07 | zerohero | haha |
| 22:56:05 | | <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!) |
| 22:58:31 | | --> Varthall (~Varthall@297f4433.2142b218.f4.ngi.it) has joined #amigadev |
| 23:13:23 | | <-- antique has quit (Quit: ppc 604e 233mhz) |
| 23:19:38 | itix | n8 |
| 23:19:41 | | <-- itix has quit (Quit: Client exiting) |
| | |