From ronstk at ...124... Sun Aug 19 22:43:07 2007 From: ronstk at ...124... (ron) Date: Sun, 19 Aug 2007 22:43:07 +0200 Subject: [Gambas-devel] MySQL: case FIELD_TYPE_BLOB Message-ID: <200708192243.07415.ronstk@...124...> Hi Benoit, I found in '/2.0/trunk/gb.db.mysql/src/main.c' case FIELD_TYPE_BLOB: // TEXT 175 //fprintf(stderr, "FIELD_TYPE_BLOB: %d\n", len); 176 if (len == 16777215 || len <= 0) // LONG BLOB 177 return DB_T_BLOB; 178 else 179 return GB_T_STRING; 16777214 return GB_T_STRING; 16777215 return DB_T_BLOB; 16777216 return GB_T_STRING; Should it no be 'if (len >= 16777215 || len <= 0)' ? :) Ron From ronstk at ...124... Sun Aug 19 23:44:45 2007 From: ronstk at ...124... (ron) Date: Sun, 19 Aug 2007 23:44:45 +0200 Subject: [Gambas-devel] MySQL: case FIELD_TYPE_BLOB In-Reply-To: <200708192243.07415.ronstk@...124...> References: <200708192243.07415.ronstk@...124...> Message-ID: <200708192344.45297.ronstk@...124...> On Sunday 19 August 2007 22:43, ron wrote: > Hi Benoit, > I found in '/2.0/trunk/gb.db.mysql/src/main.c' > > case FIELD_TYPE_BLOB: // TEXT > 175 //fprintf(stderr, "FIELD_TYPE_BLOB: %d\n", len); > 176 if (len == 16777215 || len <= 0) // LONG BLOB > 177 return DB_T_BLOB; > 178 else > 179 return GB_T_STRING; > > > 16777214 return GB_T_STRING; > 16777215 return DB_T_BLOB; > 16777216 return GB_T_STRING; > > Should it no be 'if (len >= 16777215 || len <= 0)' ? :) > > Ron > 405 // query_fill() only gets this constant, whatever the blob is 406 case FIELD_TYPE_BLOB: 407 if (len == 16777215 || len <= 0) // LONG BLOB 408 { 409 val->type = GB_T_NULL; 410 break; 411 } Investigating the magic number '16777215' TINYBLOB Blob up to 255 bytes N+1 TINYTEXT Text up to 255 chars N+1 BLOB Blob up to 65535 N+2 TEXT Text up to 65535 N+2 MEDIUMBLOB -> 16777215 N+3 MEDIUMTEXT -> 16777215 N+3 LONGBLOB -> 4GB N+4 LONGTEXT -> 4GB N+4 Must be 'if (len > 16777215 || len <= 0)' ??? :) Ron From gambas.fr at ...176... Tue Aug 21 23:23:12 2007 From: gambas.fr at ...176... (Fabien Bodard) Date: Tue, 21 Aug 2007 23:23:12 +0200 Subject: [Gambas-devel] About the new logo Message-ID: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> Hi Benoit, Where have you found this new gambas picture ? It's good gambas warrior ! is it a gpl picture ? , can we have the original file ? Regards, Fabien Bodard From gambas at ...1... Tue Aug 21 23:30:14 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 21 Aug 2007 23:30:14 +0200 Subject: [Gambas-devel] About the new logo In-Reply-To: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> References: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> Message-ID: <200708212330.15070.gambas@...1...> On mardi 21 ao?t 2007, Fabien Bodard wrote: > Hi Benoit, > > Where have you found this new gambas picture ? > > It's good gambas warrior ! > > is it a gpl picture ? , can we have the original file ? > > Regards, > Fabien Bodard > It comes from a photography I found with google image (ggi://gambas in konqueror). I had to extract the gambas from the photography, and fill the missing part by hand. So maybe we can make what you want with it now. I don't know... Regards, -- Benoit Minisini From gambas.fr at ...176... Tue Aug 21 23:40:02 2007 From: gambas.fr at ...176... (Fabien Bodard) Date: Tue, 21 Aug 2007 23:40:02 +0200 Subject: [Gambas-devel] About the new logo In-Reply-To: <200708212330.15070.gambas@...1...> References: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> <200708212330.15070.gambas@...1...> Message-ID: <6324a42a0708211440v294e53aaoe152717a86b8f5a8@...178...> ok i've found it ! hum be carefull it is mabe the restaurant logo.... 2007/8/21, Benoit Minisini : > On mardi 21 ao?t 2007, Fabien Bodard wrote: > > Hi Benoit, > > > > Where have you found this new gambas picture ? > > > > It's good gambas warrior ! > > > > is it a gpl picture ? , can we have the original file ? > > > > Regards, > > Fabien Bodard > > > > It comes from a photography I found with google image (ggi://gambas in > konqueror). > > I had to extract the gambas from the photography, and fill the missing part by > hand. > > So maybe we can make what you want with it now. I don't know... > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas.fr at ...176... Tue Aug 21 23:44:05 2007 From: gambas.fr at ...176... (Fabien Bodard) Date: Tue, 21 Aug 2007 23:44:05 +0200 Subject: [Gambas-devel] About the new logo In-Reply-To: <6324a42a0708211440v294e53aaoe152717a86b8f5a8@...178...> References: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> <200708212330.15070.gambas@...1...> <6324a42a0708211440v294e53aaoe152717a86b8f5a8@...178...> Message-ID: <6324a42a0708211444u3daa8f76ocfc5bcbd3a09a7da@...178...> this is not bad too :-) http://www.librosdelinux.com/new/index.php?option=content&task=view&id=43&Itemid=27 From ronstk at ...124... Wed Aug 22 00:32:18 2007 From: ronstk at ...124... (ron) Date: Wed, 22 Aug 2007 00:32:18 +0200 Subject: [Gambas-devel] About the new logo In-Reply-To: <6324a42a0708211440v294e53aaoe152717a86b8f5a8@...178...> References: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> <200708212330.15070.gambas@...1...> <6324a42a0708211440v294e53aaoe152717a86b8f5a8@...178...> Message-ID: <200708220032.18904.ronstk@...124...> On Tuesday 21 August 2007 23:40, Fabien Bodard wrote: > ok i've found it ! > Where where where? :) I will google but gives about 277,000 for 'gambas restaurant' :( For Benoit: http://www.jp-petit.org/humour/Dubai/gambas.gif Ron From ronstk at ...124... Wed Aug 22 01:18:09 2007 From: ronstk at ...124... (ron) Date: Wed, 22 Aug 2007 01:18:09 +0200 Subject: [Gambas-devel] About the new logo In-Reply-To: <200708212330.15070.gambas@...1...> References: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> <200708212330.15070.gambas@...1...> Message-ID: <200708220118.09978.ronstk@...124...> On Tuesday 21 August 2007 23:30, Benoit Minisini wrote: > On mardi 21 ao?t 2007, Fabien Bodard wrote: > > Hi Benoit, > > > > Where have you found this new gambas picture ? > > > > It's good gambas warrior ! > > > > is it a gpl picture ? , can we have the original file ? > > > > Regards, > > Fabien Bodard > > > > It comes from a photography I found with google image (ggi://gambas in > konqueror). > > I had to extract the gambas from the photography, and fill the missing part by > hand. > > So maybe we can make what you want with it now. I don't know... > > Regards, > LOL there are only two kind of gambas on the world. The foot pictures and the program pictures. Mixed on the first 5 pages (100 pictures) average 5 each page makes 25 pieces is 25% !!!. Your the man Benoit. Ron -- Nice to compare 'firefox' versus 'ie', you can't miss. From ronstk at ...124... Thu Aug 23 20:41:03 2007 From: ronstk at ...124... (ron) Date: Thu, 23 Aug 2007 20:41:03 +0200 Subject: [Gambas-devel] MySQL: case FIELD_TYPE_BLOB In-Reply-To: <200708192344.45297.ronstk@...124...> References: <200708192243.07415.ronstk@...124...> <200708192344.45297.ronstk@...124...> Message-ID: <200708232041.04151.ronstk@...124...> On Sunday 19 August 2007 23:44, ron wrote: > On Sunday 19 August 2007 22:43, ron wrote: > > Hi Benoit, > > I found in '/2.0/trunk/gb.db.mysql/src/main.c' > > > > case FIELD_TYPE_BLOB: // TEXT > > 175 //fprintf(stderr, "FIELD_TYPE_BLOB: %d\n", len); > > 176 if (len == 16777215 || len <= 0) // LONG BLOB > > 177 return DB_T_BLOB; > > 178 else > > 179 return GB_T_STRING; > > > > > > 16777214 return GB_T_STRING; > > 16777215 return DB_T_BLOB; > > 16777216 return GB_T_STRING; > > > > Should it no be 'if (len >= 16777215 || len <= 0)' ? :) > > > > Ron > > > 405 // query_fill() only gets this constant, whatever the blob is > 406 case FIELD_TYPE_BLOB: > 407 if (len == 16777215 || len <= 0) // LONG BLOB > 408 { > 409 val->type = GB_T_NULL; > 410 break; > 411 } > > > Investigating the magic number '16777215' > > > TINYBLOB Blob up to 255 bytes N+1 > TINYTEXT Text up to 255 chars N+1 > BLOB Blob up to 65535 N+2 > TEXT Text up to 65535 N+2 > MEDIUMBLOB -> 16777215 N+3 > MEDIUMTEXT -> 16777215 N+3 > LONGBLOB -> 4GB N+4 > LONGTEXT -> 4GB N+4 > > Must be 'if (len > 16777215 || len <= 0)' ??? :) > > > Ron > Futher investigating shows me that I must be correct and there is something wrong now. The value 16777215 equals to 0x00FFFFFF The if condition must be 'if (len > 16777215 || len <= 0)' Kicked by me. From chintanraoh at ...176... Sat Aug 25 13:30:00 2007 From: chintanraoh at ...176... (chintan) Date: Sat, 25 Aug 2007 17:00:00 +0530 Subject: [Gambas-devel] Gambas test cases In-Reply-To: <6324a42a0708211444u3daa8f76ocfc5bcbd3a09a7da@...178...> References: <6324a42a0708211423n2d1abff6u8f4cc49c0a0e711d@...178...> <200708212330.15070.gambas@...1...> <6324a42a0708211440v294e53aaoe152717a86b8f5a8@...178...> <6324a42a0708211444u3daa8f76ocfc5bcbd3a09a7da@...178...> Message-ID: <1188041401.7523.12.camel@...326...> Hi, I was doing some testing of Gambas programs in ppc32. Until now i have compiled and tested the "trunk/main" folder for few a test cases. Everything is working fine except for requirement of "-fsigned-char" option for gcc during compilation. Swapping of class seems to work fine until now. I am currently testing only command line Gambas and loading of classes and calling of functions. Currently i have the need for more test cases so that things can things can be tested properly. So, please give some more test cases if anybody has already a collection of one :). Thanking you, Chintan Rao H From chintanraoh at ...176... Sat Aug 25 13:36:52 2007 From: chintanraoh at ...176... (chintan) Date: Sat, 25 Aug 2007 17:06:52 +0530 Subject: [Gambas-devel] Gambas test cases Message-ID: <1188041812.7523.14.camel@...326...> Hi, Sorry the same mail i sent previously went to wrong post. :(. I was doing some testing of Gambas programs in ppc32. Until now i have compiled and tested the "trunk/main" folder for few a test cases. Everything is working fine except for requirement of "-fsigned-char" option for gcc during compilation. Swapping of class seems to work fine until now. I am currently testing only command line Gambas and loading of classes and calling of functions. Currently i have the need for more test cases so that things can things can be tested properly. So, please give some more test cases if anybody has already a collection of one :). Thanking you, Chintan Rao H From chintanraoh at ...176... Sun Aug 26 05:15:06 2007 From: chintanraoh at ...176... (chintan) Date: Sun, 26 Aug 2007 08:45:06 +0530 Subject: [Gambas-devel] IDE bug:Crash while chosing directory as theme in color tab Message-ID: <1188098107.5179.6.camel@...326...> Hi, gambas2 ( refering to lastest stable version) crashes when i goto Tools->options->color->open ,select a directory and click the okay button. The problem is with btnImport_Click() in Foption.class. I added the line IF Exist(Dialog.Path & "/") THEN RETURN to check whether a file selected is directory or not and everything worked fine :). Thanking you, Chintan Rao H