plib-devel Mailing List for PLIB (Page 22)
Brought to you by:
sjbaker
You can subscribe to this list here.
2000 |
Jan
|
Feb
(80) |
Mar
(128) |
Apr
(111) |
May
(157) |
Jun
(70) |
Jul
(116) |
Aug
(465) |
Sep
(574) |
Oct
(325) |
Nov
(163) |
Dec
(182) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(167) |
Feb
(191) |
Mar
(319) |
Apr
(118) |
May
(252) |
Jun
(427) |
Jul
(187) |
Aug
(96) |
Sep
(219) |
Oct
(161) |
Nov
(109) |
Dec
(210) |
2002 |
Jan
(97) |
Feb
(80) |
Mar
(143) |
Apr
(234) |
May
(72) |
Jun
(246) |
Jul
(155) |
Aug
(280) |
Sep
(418) |
Oct
(81) |
Nov
(72) |
Dec
(88) |
2003 |
Jan
(59) |
Feb
(63) |
Mar
(33) |
Apr
(27) |
May
(87) |
Jun
(50) |
Jul
(97) |
Aug
(45) |
Sep
(35) |
Oct
(67) |
Nov
(78) |
Dec
(13) |
2004 |
Jan
(167) |
Feb
(144) |
Mar
(172) |
Apr
(93) |
May
(43) |
Jun
(7) |
Jul
(27) |
Aug
(36) |
Sep
(48) |
Oct
(54) |
Nov
(5) |
Dec
(44) |
2005 |
Jan
(53) |
Feb
(36) |
Mar
(13) |
Apr
(3) |
May
(19) |
Jun
|
Jul
(49) |
Aug
(39) |
Sep
(8) |
Oct
(8) |
Nov
(51) |
Dec
(23) |
2006 |
Jan
(26) |
Feb
(5) |
Mar
(26) |
Apr
(26) |
May
(52) |
Jun
(36) |
Jul
(8) |
Aug
(12) |
Sep
(6) |
Oct
(75) |
Nov
(34) |
Dec
(25) |
2007 |
Jan
(46) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(7) |
Jul
(2) |
Aug
|
Sep
(40) |
Oct
(9) |
Nov
(3) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
(26) |
Apr
|
May
|
Jun
(2) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
|
Nov
(5) |
Dec
(2) |
2009 |
Jan
(63) |
Feb
(4) |
Mar
(12) |
Apr
|
May
(5) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(14) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-27 16:14:14
|
Melchior, That is a good find, but I'm a little concerned about the fix. I would prefer the following code: puListBox.cxx:74 void puListBox::setTopItem( int item_index ) { top = item_index ; + if ( top > num-1 ) + top = num-1; if ( top < 0 ) top = 0 ; - else if ( top > num-1 ) - top = num-1; puPostRefresh () ; } That will handle your case and will also handle a case in which "item_index" is greater than the number of entries. You might wind up crashing anyway, though. I appear to be CVS-challenged again. Would somebody else please put this in for us? John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Melchior FRANZ Sent: Tuesday, April 18, 2006 10:19 AM To: pli...@li... Subject: [Plib-devel] [PATCH] puListBox.cxx: don't crash with empty list + setTopItem(0) The attached patch makes sure that plib doesn't crash if a puListBox was created with an empty list and the top item is set to 0 (which happens on "up" arrow in puList, for example). In this case else if ( top > num-1 ) evaluates to (0 > -1) -> true, which sets top = num-1; -> -1 which accesses invalid memory with list[-1] in puListBox.cxx:135. m. |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-19 14:39:11
|
Gentlemen, This is just a aquick note; I'm on travel right now and in my spare time I am upgrading p-Guide to support the new widget types. I plan to put it out to the community when I get back and work off my backlog, probably in early May. - John F. Fay |
From: Melchior F. <mf...@us...> - 2006-04-18 15:19:10
|
The attached patch makes sure that plib doesn't crash if a puListBox was created with an empty list and the top item is set to 0 (which happens on "up" arrow in puList, for example). In this case else if ( top > num-1 ) evaluates to (0 > -1) -> true, which sets top = num-1; -> -1 which accesses invalid memory with list[-1] in puListBox.cxx:135. m. |
From: Jan R. <slo...@gm...> - 2006-04-16 18:31:13
|
Am Sun, 16 Apr 2006 18:48:29 +0200 schrieb Bram Stolk <br...@sa...>: > > inconsistencies. Can someone please apply it to ssgLoadSGI.cxx? > > applied. Thanks! Jan -- Jan Reucker email: jan dot reucker at web dot de web: http://www.reucker-online.de |
From: Bram S. <br...@sa...> - 2006-04-16 17:46:19
|
Jan Reucker wrote: > Hello, > > while valgrind'ing CRRCsim to find some nasty memory leaks I stumbled > upon a leak in SSG's SGI texture loader. A temporary array is > allocated but never free'd when loading RLE compressed textures. > The attached patch fixes this issue and corrects some minor indentation > inconsistencies. Can someone please apply it to ssgLoadSGI.cxx? > Thanks a lot in advance! applied. Bram |
From: Jan R. <slo...@gm...> - 2006-04-14 13:17:03
|
Hello, while valgrind'ing CRRCsim to find some nasty memory leaks I stumbled upon a leak in SSG's SGI texture loader. A temporary array is allocated but never free'd when loading RLE compressed textures. The attached patch fixes this issue and corrects some minor indentation inconsistencies. Can someone please apply it to ssgLoadSGI.cxx? Thanks a lot in advance! Valgrind reported another leak in ssgInit() (ssg.cxx:128): new ssgContext ; /* Sets the current context with defaults */ Wouldn't it make sense to keep a pointer to this context and have some function like ssgExit() clean it up before exiting from the application? There's another leak in the AC3D loader. The allocation occurs in do_material(char*) (ssgLoadAC.cxx:292) and is never undone, but I've not yet investigated how to fix this one. Kind regards, Jan R. -- Jan Reucker email: jan dot reucker at web dot de web: http://www.reucker-online.de |
From: Bram S. <br...@sa...> - 2006-04-13 16:28:30
|
James 'J.C.' Jones wrote: > On Thu, 2006-04-13 at 09:18 -0500, Fay John F Dr CTR USAF AFSEO/SK > wrote: > >>Everybody else, >> >> We are gathered here to remove the deprecated classes from the >>CVS tree of PUI. If any man know just cause as to why these classes >>should not be removed, speak now, or else forever hold your peace. > > > Put them to the sword! Ok, they're dead. Can someone please try to reproduce my problem with examples/src/ssg/sky ? When switching e.g. between sun and moon, the box is not updated when toggled with the little arrow icons. Also: we should check the docs for pua/pu issues. Bram > > I'll get around to fixing P-Guide in the next month or so. > > Cheers! > -- Bram Stolk, VR Engineer SARA, Amsterdam. tel +31 20 592 3000 "Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition." |
From: James 'J.C.' J. <jc...@uf...> - 2006-04-13 16:05:32
|
On Thu, 2006-04-13 at 09:18 -0500, Fay John F Dr CTR USAF AFSEO/SK wrote: > Everybody else, >=20 > We are gathered here to remove the deprecated classes from the > CVS tree of PUI. If any man know just cause as to why these classes > should not be removed, speak now, or else forever hold your peace. Put them to the sword! I'll get around to fixing P-Guide in the next month or so. Cheers! --=20 James 'J.C.' Jones - <jc...@uf...> - http://pugsplace.net/ "To err is humor." - Anonymous |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-13 14:21:11
|
Bram, The only difference between a deprecated "pu*****" class and its "puAux" equivalent is the addition of the letter "a". Everybody else, We are gathered here to remove the deprecated classes from the CVS tree of PUI. If any man know just cause as to why these classes should not be removed, speak now, or else forever hold your peace. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Wednesday, April 12, 2006 12:06 PM To: pli...@li... Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit? Fay John F Dr CTR USAF AFSEO/SK wrote: > OK, I think the time has come to cut the Gordian knot. The "puComboBox" > class has been deprecated for more than two years and Bram finds that > it doesn't work when the "puAux" equivalent does work. Let us delete it. > Ok, I ripped obsolete classes from my working copy. Do you want me to commit it to the repo? I fixed all examples/ and most demos/ (Not yet demos/p-guide... as I wasnt sure how to handle that one) Remaining issue: docs Do all obsolete puFoo classes have a puaFoo equivalent? If so, is the API the same? Bram |
From: Bram S. <br...@sa...> - 2006-04-12 18:06:43
|
Bram Stolk wrote: > Remaining issue: docs Also remaining: the examples/src/ssg/sky example doesnt work properly: the entryboxes do not update their contents when clicking on the small arrows, even though I use pua classes, and no longer the obsolete stuff from pu Bram |
From: Bram S. <br...@sa...> - 2006-04-12 18:03:36
|
Fay John F Dr CTR USAF AFSEO/SK wrote: > OK, I think the time has come to cut the Gordian knot. The "puComboBox" > class has been deprecated for more than two years and Bram finds that it > doesn't work when the "puAux" equivalent does work. Let us delete it. > Ok, I ripped obsolete classes from my working copy. Do you want me to commit it to the repo? I fixed all examples/ and most demos/ (Not yet demos/p-guide... as I wasnt sure how to handle that one) Remaining issue: docs Do all obsolete puFoo classes have a puaFoo equivalent? If so, is the API the same? Bram > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group > 850-729-6330 > joh...@eg... > > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Bram Stolk > Sent: Monday, April 10, 2006 4:34 PM > To: pli...@li... > Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent > puInput Base commit? > > Fay John F Dr CTR USAF AFSEO/SK wrote: > > > > > > Bram, > > > > The only difference between your "combobox.cxx" and the one I > > used is that your last argument in the creation of the puComboBox > > widget is "true" while mine was "false". When I changed mine to > > "true" it didn't make any difference as far as the input box being > > updated is concerned. > > > > On a whim, I changed the "puCOmboBox" to "puaComboBox" and the > > program quit working. What happened is that I hadn't recompiled the > > "puAux_d.lib" file (I'm running under Windows). When I did this, the > > program started working again. > > Man, this is so confusing. > > For me, it is the opposite: > When changed from puComboBox to puaComboBox it *started* working. > (Note: I had to change the last parm value from true to int for this). > > puaComboBox works, puComboBox does not. > > I made sure that > - I did a make clean > - I did not forget the make install > - I checked all my filesystems for old plib installs: not there > - Re-ran all the configure.in's and autogens (in root dir, and > examples dir). > - Checked which '-L' dirs are used on the link command > - etc, etc. > > Is there anyone who had a working puComboBox on linux? > Because I, as sure as hell, can't get it to work. > > I'll check the fix into CVS though, as it does seem to fix the puA > version, which was broken also according to melchior. > > > > Bram > |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-11 12:50:50
|
OK, I think the time has come to cut the Gordian knot. The "puComboBox" class has been deprecated for more than two years and Bram finds that it doesn't work when the "puAux" equivalent does work. Let us delete it. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Monday, April 10, 2006 4:34 PM To: pli...@li... Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit? Fay John F Dr CTR USAF AFSEO/SK wrote: > > > Bram, > > The only difference between your "combobox.cxx" and the one I > used is that your last argument in the creation of the puComboBox > widget is "true" while mine was "false". When I changed mine to > "true" it didn't make any difference as far as the input box being > updated is concerned. > > On a whim, I changed the "puCOmboBox" to "puaComboBox" and the > program quit working. What happened is that I hadn't recompiled the > "puAux_d.lib" file (I'm running under Windows). When I did this, the > program started working again. Man, this is so confusing. For me, it is the opposite: When changed from puComboBox to puaComboBox it *started* working. (Note: I had to change the last parm value from true to int for this). puaComboBox works, puComboBox does not. I made sure that - I did a make clean - I did not forget the make install - I checked all my filesystems for old plib installs: not there - Re-ran all the configure.in's and autogens (in root dir, and examples dir). - Checked which '-L' dirs are used on the link command - etc, etc. Is there anyone who had a working puComboBox on linux? Because I, as sure as hell, can't get it to work. I'll check the fix into CVS though, as it does seem to fix the puA version, which was broken also according to melchior. Bram |
From: Bram S. <br...@sa...> - 2006-04-10 21:30:49
|
Fay John F Dr CTR USAF AFSEO/SK wrote: > > > Bram, > > The only difference between your "combobox.cxx" and the one I > used is that your last argument in the creation of the puComboBox widget > is "true" while mine was "false". When I changed mine to "true" it > didn't make any difference as far as the input box being updated is > concerned. > > On a whim, I changed the "puCOmboBox" to "puaComboBox" and the > program quit working. What happened is that I hadn't recompiled the > "puAux_d.lib" file (I'm running under Windows). When I did this, the > program started working again. Man, this is so confusing. For me, it is the opposite: When changed from puComboBox to puaComboBox it *started* working. (Note: I had to change the last parm value from true to int for this). puaComboBox works, puComboBox does not. I made sure that - I did a make clean - I did not forget the make install - I checked all my filesystems for old plib installs: not there - Re-ran all the configure.in's and autogens (in root dir, and examples dir). - Checked which '-L' dirs are used on the link command - etc, etc. Is there anyone who had a working puComboBox on linux? Because I, as sure as hell, can't get it to work. I'll check the fix into CVS though, as it does seem to fix the puA version, which was broken also according to melchior. Bram > > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group > 850-729-6330 > joh...@eg... > > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Bram Stolk > Sent: Monday, April 10, 2006 9:41 AM > To: pli...@li... > Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent > puInput Base commit? > > Fay John F Dr CTR USAF AFSEO/SK wrote: > > OK, then, I will echo Melchior's confusion. It works for me, it works > > for him, and it doesn't work for you. How about you send me your > > actual source files and I will make sure that we are actually "singing > > from the same sheet of music." > > > > John F. Fay > > Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 > > joh...@eg... > > > > -----Original Message----- > > From: pli...@li... > > [mailto:pli...@li...] On Behalf Of Bram > > Stolk > > Sent: Monday, April 10, 2006 9:20 AM > > To: pli...@li... > > Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent > > puInput Base commit? > > > > Fay John F Dr CTR USAF AFSEO/SK wrote: > >> Bram, > >> > >> It is indeed applied to "pu.h". Can you send me your sample > >> program please? I will take a quick look into it. > > > > > > It was simply the one posted by Melchior on this list, so the same you > > already tested yourself, I guess. > > > > Bram > > > > > > > -- > Bram Stolk, VR Engineer SARA, Amsterdam. tel +31 20 592 3000 > > "Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit > operating system originally coded for a 4-bit microprocessor by a 2-bit > company that can't stand 1 bit of competition." > |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-10 21:07:11
|
Bram, The only difference between your "combobox.cxx" and the one I used is that your last argument in the creation of the puComboBox widget is "true" while mine was "false". When I changed mine to "true" it didn't make any difference as far as the input box being updated is concerned. On a whim, I changed the "puCOmboBox" to "puaComboBox" and the program quit working. What happened is that I hadn't recompiled the "puAux_d.lib" file (I'm running under Windows). When I did this, the program started working again. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Monday, April 10, 2006 9:41 AM To: pli...@li... Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit? Fay John F Dr CTR USAF AFSEO/SK wrote: > OK, then, I will echo Melchior's confusion. It works for me, it works > for him, and it doesn't work for you. How about you send me your > actual source files and I will make sure that we are actually "singing > from the same sheet of music." > > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 > joh...@eg... > > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Bram > Stolk > Sent: Monday, April 10, 2006 9:20 AM > To: pli...@li... > Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent > puInput Base commit? > > Fay John F Dr CTR USAF AFSEO/SK wrote: >> Bram, >> >> It is indeed applied to "pu.h". Can you send me your sample >> program please? I will take a quick look into it. > > > It was simply the one posted by Melchior on this list, so the same you > already tested yourself, I guess. > > Bram > > -- Bram Stolk, VR Engineer SARA, Amsterdam. tel +31 20 592 3000 "Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition." |
From: Bram S. <br...@sa...> - 2006-04-10 14:40:36
|
Fay John F Dr CTR USAF AFSEO/SK wrote: > OK, then, I will echo Melchior's confusion. It works for me, it works > for him, and it doesn't work for you. How about you send me your actual > source files and I will make sure that we are actually "singing from the > same sheet of music." > > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group > 850-729-6330 > joh...@eg... > > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Bram Stolk > Sent: Monday, April 10, 2006 9:20 AM > To: pli...@li... > Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent > puInput Base commit? > > Fay John F Dr CTR USAF AFSEO/SK wrote: >> Bram, >> >> It is indeed applied to "pu.h". Can you send me your sample >> program please? I will take a quick look into it. > > > It was simply the one posted by Melchior on this list, so the same you > already tested yourself, I guess. > > Bram > > -- Bram Stolk, VR Engineer SARA, Amsterdam. tel +31 20 592 3000 "Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition." |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-10 14:33:36
|
OK, then, I will echo Melchior's confusion. It works for me, it works for him, and it doesn't work for you. How about you send me your actual source files and I will make sure that we are actually "singing from the same sheet of music." John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Monday, April 10, 2006 9:20 AM To: pli...@li... Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit? Fay John F Dr CTR USAF AFSEO/SK wrote: > Bram, > > It is indeed applied to "pu.h". Can you send me your sample > program please? I will take a quick look into it. It was simply the one posted by Melchior on this list, so the same you already tested yourself, I guess. Bram |
From: Bram S. <br...@sa...> - 2006-04-10 14:19:25
|
Fay John F Dr CTR USAF AFSEO/SK wrote: > Bram, > > It is indeed applied to "pu.h". Can you send me your sample > program please? I will take a quick look into it. It was simply the one posted by Melchior on this list, so the same you already tested yourself, I guess. Bram > > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group > 850-729-6330 > joh...@eg... > > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Bram Stolk > Sent: Saturday, April 08, 2006 8:46 AM > To: pli...@li... > Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent > puInput Base commit? > > Melchior FRANZ wrote: >> * Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 23:35: >> >>>To fix the "puaComboBox" widget, please add the following methods to >>>the "puInput" widget definition: >> >> [...] >> >>>This fixes Melchior's and Bram's test case on my Windows box. If >>>somebody would please put it into CVS I would appreciate it. >> >> >> Indeed! Works for me. Thanks. > > That's weird. > It is applied to pu.h, right? > Because it does not work for me: although the entry is changed, the > visible contents is not refreshed, and needs a mouseclick in the > entrybox before the new entry contents is shown. > > stolk@suske:~/src/plib/src/pui$ cvs diff br...@cv...'s > password: > ? .deps > ? Makefile > ? Makefile.in > cvs diff: Diffing . > Index: pu.h > =================================================================== > RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.155 > diff -r1.155 pu.h > 1661a1662,1691 > > > > virtual void setValue ( puValue *pv ) > > { > > puValue::setValue ( pv ) ; > > delete displayed_text ; displayed_text = NULL ; > > } > > > > virtual void setValue ( int i ) > > { > > puValue::setValue ( i ) ; > > delete displayed_text ; displayed_text = NULL ; > > } > > > > virtual void setValue ( float f ) > > { > > puValue::setValue ( f ) ; > > delete displayed_text ; displayed_text = NULL ; > > } > > > > virtual void setValue ( const char *s ) > > { > > puValue::setValue ( s ) ; > > delete displayed_text ; displayed_text = NULL ; > > } > > > > virtual void setValue ( bool b ) > > { > > puValue::setValue ( b ) ; > > delete displayed_text ; displayed_text = NULL ; > > } > > >> >> m. >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language that extends applications into web and mobile media. Attend >> the live webcast and join the prime developer group breaking into this > new coding territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216> >> 42 _______________________________________________ >> plib-devel mailing list >> pli...@li... >> https://lists.sourceforge.net/lists/listinfo/plib-devel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> > _______________________________________________ > plib-devel mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-devel > |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-04-10 12:52:13
|
Bram, It is indeed applied to "pu.h". Can you send me your sample program please? I will take a quick look into it. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Saturday, April 08, 2006 8:46 AM To: pli...@li... Subject: Re: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit? Melchior FRANZ wrote: > * Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 23:35: > >>To fix the "puaComboBox" widget, please add the following methods to >>the "puInput" widget definition: > > [...] > >>This fixes Melchior's and Bram's test case on my Windows box. If >>somebody would please put it into CVS I would appreciate it. > > > Indeed! Works for me. Thanks. That's weird. It is applied to pu.h, right? Because it does not work for me: although the entry is changed, the visible contents is not refreshed, and needs a mouseclick in the entrybox before the new entry contents is shown. stolk@suske:~/src/plib/src/pui$ cvs diff br...@cv...'s password: ? .deps ? Makefile ? Makefile.in cvs diff: Diffing . Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.155 diff -r1.155 pu.h 1661a1662,1691 > > virtual void setValue ( puValue *pv ) > { > puValue::setValue ( pv ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( int i ) > { > puValue::setValue ( i ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( float f ) > { > puValue::setValue ( f ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( const char *s ) > { > puValue::setValue ( s ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( bool b ) > { > puValue::setValue ( b ) ; > delete displayed_text ; displayed_text = NULL ; > } > > m. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend > the live webcast and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 > 42 _______________________________________________ > plib-devel mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-devel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |
From: Melchior F. <mf...@us...> - 2006-04-08 14:27:45
|
* Bram Stolk -- Saturday 08 April 2006 15:46: > It is applied to pu.h, right? It is to be applied to pu.h, yes. > Because it does not work for me: although the entry is changed, > the visible contents is not refreshed, and needs a mouseclick in > the entrybox before the new entry contents is shown. That would indeed be exactly the old bug. But I checked again (just in case I had mixed up two versions on my disk), and it does definitely work. I attached the diff. m. |
From: Bram S. <br...@sa...> - 2006-04-08 13:43:49
|
Melchior FRANZ wrote: > * Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 23:35: > >>To fix the "puaComboBox" widget, please add the following methods to >>the "puInput" widget definition: > > [...] > >>This fixes Melchior's and Bram's test case on my Windows box. If somebody >>would please put it into CVS I would appreciate it. > > > Indeed! Works for me. Thanks. That's weird. It is applied to pu.h, right? Because it does not work for me: although the entry is changed, the visible contents is not refreshed, and needs a mouseclick in the entrybox before the new entry contents is shown. stolk@suske:~/src/plib/src/pui$ cvs diff br...@cv...'s password: ? .deps ? Makefile ? Makefile.in cvs diff: Diffing . Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.155 diff -r1.155 pu.h 1661a1662,1691 > > virtual void setValue ( puValue *pv ) > { > puValue::setValue ( pv ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( int i ) > { > puValue::setValue ( i ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( float f ) > { > puValue::setValue ( f ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( const char *s ) > { > puValue::setValue ( s ) ; > delete displayed_text ; displayed_text = NULL ; > } > > virtual void setValue ( bool b ) > { > puValue::setValue ( b ) ; > delete displayed_text ; displayed_text = NULL ; > } > > m. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > plib-devel mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-devel |
From: Bram S. <br...@sa...> - 2006-03-31 21:31:32
|
Fay John F Dr CTR USAF AFSEO/SK wrote: > This fixes Melchior's and Bram's test case on my Windows box. If > somebody would please put it into CVS I would appreciate it. I wish I could... cvs is stone dead at the moment. SF has had very unreliable cvs service, for at least a year now. |
From: Melchior F. <mf...@us...> - 2006-03-31 14:31:30
|
* Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 23:35: > To fix the "puaComboBox" widget, please add the following methods to > the "puInput" widget definition: [...] > This fixes Melchior's and Bram's test case on my Windows box. If somebody > would please put it into CVS I would appreciate it. Indeed! Works for me. Thanks. m. |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-03-30 21:37:29
|
Gentlemen, To fix the "puaComboBox" widget, please add the following methods to the "puInput" widget definition: <begin quote> virtual void setValue ( puValue *pv ) { puValue::setValue ( pv ) ; delete displayed_text ; displayed_text = NULL ; } virtual void setValue ( int i ) { puValue::setValue ( i ) ; delete displayed_text ; displayed_text = NULL ; } virtual void setValue ( float f ) { puValue::setValue ( f ) ; delete displayed_text ; displayed_text = NULL ; } virtual void setValue ( const char *s ) { puValue::setValue ( s ) ; delete displayed_text ; displayed_text = NULL ; } virtual void setValue ( bool b ) { puValue::setValue ( b ) ; delete displayed_text ; displayed_text = NULL ; } <end quote> This fixes Melchior's and Bram's test case on my Windows box. If somebody would please put it into CVS I would appreciate it. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Melchior FRANZ Sent: Tuesday, March 28, 2006 10:52 AM To: pli...@li... Subject: [Plib-devel] Re: [BUG] puComboBox broken since recent puInputBase commit? * Bram Stolk -- Tuesday 28 March 2006 18:19: > Melchior FRANZ wrote: > > It looks like the recent puInput{,Base} commit broke comboboxes? > > Can someone check (and fix :-)? Selecting a puPopupMenu entry > > doesn't update the puInput any more. > Do you have a test sample? Attached. It's derived from simple.cxx. With a plib from before the puInputBase changes (about two or three weeks back), the input field is updated if you select an entry from the popup. With HEAD it isn't. > I never understood "widget_list" from examples/src/pui If I start > that, it opens a gazzillion windows, none of which are responsive. I've well understood that it's meant to be as useless as it is. I really wonder why there's no application that demonstrates all available widgets. m. |
From: Melchior F. <mf...@us...> - 2006-03-30 18:48:06
|
* Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 20:31: > Hang on, I got it in an e-mail you sent earlier this week. I'm getting onto > it. Too late. I'm just too quick. The version from that message used puComboBox, the new one uses puaComboBox. Both expose the bug. You said "send me a current PLIB and [...]" and that's what I sent -- 3.5MB. No idea if it even got through. As I said in that message, but I'd like to repeat that: "[...] the html files in doc/ don't have that horrible & illegible dark green with dark yellow font, but a combination that doesn't make you cringe. Apart from that it's pure CVS/HEAD." Any chance that this attack on good taste gets fixed some day? Makes plib look bad at first sight. :-} m. |
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-03-30 18:33:30
|
Hang on, I got it in an e-mail you sent earlier this week. I'm getting onto it. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Melchior FRANZ Sent: Thursday, March 30, 2006 12:27 PM To: pli...@li... Subject: [Plib-devel] Re: [BUG] puComboBox broken since recent puInput Base commit? * Fay John F Dr CTR USAF AFSEO/SK -- Thursday 30 March 2006 20:10: > Unfortunately I am CVS-challenged Ahh. OK, that explains it. :-) > Can one of you please send me a current PLIB and test case that shows > what the bug is? I'll send in a minute to the sender address from your message. m. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |