[Gambas-user] Code writing (Fabien Bodard)

Andrea Bertini and.bertini at ...626...
Sun Jul 31 21:32:44 CEST 2011


thx fabien

Andrea BERTINI
Rome-Italy





2011/7/30 <gambas-user-request at lists.sourceforge.net>

> Send Gambas-user mailing list submissions to
>        gambas-user at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
>        gambas-user-request at lists.sourceforge.net
>
> You can reach the person managing the list at
>        gambas-user-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
>
> Today's Topics:
>
>   1. Re: another make error (Matti)
>   2. Re: another make error (Beno?t Minisini)
>   3. gb3 requirements on openSUSE 11.4 (Matti)
>   4. Re: Gambas-user Digest, Vol 62, Issue 49 (Andrea Bertini)
>   5. Re: Gambas-user Digest, Vol 62, Issue 49 (Andrea Bertini)
>   6. Possible bug in g3 ide (Andrea Bertini)
>   7. Re: Future email ehnaced control (Fabien Bodard)
>   8. Re: Code writing (Fabien Bodard)
>   9. Re: gb3: gb.opengl will not render alpha channel of       2D
>      texture (Laurent Carlier)
>
>
> ---------- Messaggio inoltrato ----------
> From: Matti <math.eber at ...221...>
> To: gambas-user at lists.sourceforge.net
> Date: Sat, 30 Jul 2011 13:22:16 +0200
> Subject: Re: [Gambas-user] another make error
> Maybe there are different versions, maybe it was my fault.
> I had a package 'libiodbc-devel' installed and replaced it by
> 'unixODBC-devel'. Now, 'make' doesn't complain about ODBC anymore.
>
> Instead, I have an error about CDial_moc.cpp now.
> Will see what I can do...
>
>
> Am 29.07.2011 23:31, schrieb Benoît Minisini:
>
>> Here it is.
>>>
>>> Am 29.07.2011 01:30, schrieb Benoît Minisini:
>>>
>>>> Can you send me the contents of /usr/include/sqlext.h ?
>>>>
>>>
>> Mmm. Your sqlext.h is completely different from mine. Are there different
>> ODBC
>> libraries on Linux?
>>
>>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: "Benoît Minisini" <gambas at ...1...>
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Date: Sat, 30 Jul 2011 13:41:51 +0200
> Subject: Re: [Gambas-user] another make error
> > Maybe there are different versions, maybe it was my fault.
> > I had a package 'libiodbc-devel' installed and replaced it by
> > 'unixODBC-devel'. Now, 'make' doesn't complain about ODBC anymore.
> >
>
> How could two different libraries have the two same non-compatible include
> files? Pfff...
>
> > Instead, I have an error about CDial_moc.cpp now.
> > Will see what I can do...
> >
>
> "make clean" to clean up the compilation before doing a "make" again?
>
> --
> Benoît Minisini
>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: Matti <math.eber at ...221...>
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Date: Sat, 30 Jul 2011 15:21:02 +0200
> Subject: [Gambas-user] gb3 requirements on openSUSE 11.4
> Installing the requirements, I run from one trouble into another, it's
> horrible.
>
> Right now, 'make' complains about a missing file '-ljscore'.
>
> I found a mail from Paolo in this list, but the link to his "Extended" repo
> of 11.4 doesn't work.
> Then I downloaded libqt4-4.7.3-8.1.i586.rpm, but this won't install because
> of a wrong version of libstdc++.so.6. Downloaded
> libstdc++46-4.6.1_20110701-2.**10.i586.rpm, but this is in conflict with
> something else, and so on...
>
> Has anyone of you fixed the '-ljscore' problem and can give me a hint?
>
> Thanks
> Matti
>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: "Andrea Bertini" <and.bertini at ...626...>
> To: gambas-user at lists.sourceforge.net
> Date: Sat, 30 Jul 2011 16:36:07 +0200
> Subject: Re: [Gambas-user] Gambas-user Digest, Vol 62, Issue 49
> yes, of course
>
> Andrea Bertini
>
> In data 30 luglio 2011 alle ore 06:19:50, <gambas-user-request at ...1048...**
> sourceforge.net <gambas-user-request at lists.sourceforge.net>> ha scritto:
>
>  Send Gambas-user mailing list submissions to
>>        gambas-user at ...720...**net<gambas-user at lists.sourceforge.net>
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://lists.sourceforge.net/**lists/listinfo/gambas-user<https://lists.sourceforge.net/lists/listinfo/gambas-user>
>> or, via email, send a message with subject or body 'help' to
>>        gambas-user-request at ...1048...**sourceforge.net<gambas-user-request at lists.sourceforge.net>
>>
>> You can reach the person managing the list at
>>        gambas-user-owner at ...1048...**sourceforge.net<gambas-user-owner at ...843...ists.sourceforge.net>
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Gambas-user digest..."
>>
>
>
>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: "Andrea Bertini" <and.bertini at ...626...>
> To: gambas-user at lists.sourceforge.net
> Date: Sat, 30 Jul 2011 16:39:12 +0200
> Subject: Re: [Gambas-user] Gambas-user Digest, Vol 62, Issue 49
> fantastic, i will wait for this new component. Look in gambas-it.org for
> component grid.box by milio, ciao
>
> Andrea Bertini
>
> In data 30 luglio 2011 alle ore 06:19:50, <gambas-user-request at ...1048...**
> sourceforge.net <gambas-user-request at lists.sourceforge.net>> ha scritto:
>
>  Hi,
>> I added support for any mime type and any charset in revision #3954.
>> Can you check that and tell me if it works for you?
>> Regards,
>>
>>
>
>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: Andrea Bertini <and.bertini at ...626...>
> To: gambas-user at lists.sourceforge.net
> Date: Sat, 30 Jul 2011 16:53:03 +0200
> Subject: [Gambas-user] Possible bug in g3 ide
> I can report a bug g3: in some cases if you close the program and reopen
> the
> program, some controls (buttons, panels) are missing from the form,
> changing their
> size and location.
>
>
> Andrea BERTINI
> Rome-Italy
>
>
>
> ---------- Messaggio inoltrato ----------
> From: Fabien Bodard <gambas.fr at ...626...>
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Date: Sat, 30 Jul 2011 17:46:55 +0200
> Subject: Re: [Gambas-user] Future email ehnaced control
> Le 30 juillet 2011 01:22, Benoît Minisini
> <gambas at ...1...> a écrit :
> >> We can send email but not to receive. Do you plan to enhance actual
> >> control?
> >>
> >> Thx
> >>
> >>
> >> Andrea BERTINI
> >> Rome-Italy
> >
> > You mean a POP3 component plus a MIME messages component ? Something to
> be
> > done for sure.
> >
> > It can even be written in Gambas I think. But some routines must be
> written in
> > C (base64...) so that the mail contents can be decoded efficiently.
>
> in the past i've used the gb.xml routine for base64
>
> > Regards,
> >
> > --
> > Benoît Minisini
> >
> >
> ------------------------------------------------------------------------------
> > Got Input?   Slashdot Needs You.
> > Take our quick survey online.  Come on, we don't ask for help often.
> > Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> > http://p.sf.net/sfu/slashdot-survey
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Fabien Bodard
>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: Fabien Bodard <gambas.fr at ...626...>
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Date: Sat, 30 Jul 2011 18:15:00 +0200
> Subject: Re: [Gambas-user] Code writing
> 2011/7/29 Andrea Bertini <and.bertini at ...626...>:
> > I use g3. is there the solution to write code of a single command on few
> > lines?
> >
> > In vb i can write in this way:
> >
> > function (..........)
> > code.......................... _
> >         code
>
> yes you can break a line after a symbol, a ", a comma
>
> function toto(titi as string,
>                   tata as integer,
>                   toto as float) as integer
>
>
>
>
>
>
> >
> > Andrea BERTINI
> > Rome-Italy
> >
> ------------------------------------------------------------------------------
> > Got Input?   Slashdot Needs You.
> > Take our quick survey online.  Come on, we don't ask for help often.
> > Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> > http://p.sf.net/sfu/slashdot-survey
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Fabien Bodard
>
>
>
>
> ---------- Messaggio inoltrato ----------
> From: Laurent Carlier <lordheavym at ...626...>
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Date: Sat, 30 Jul 2011 18:57:08 +0200
> Subject: Re: [Gambas-user] gb3: gb.opengl will not render alpha channel of
> 2D texture
> Le Samedi 30 Juillet 2011 00:19:41, Kevin Fishburne a écrit :
> > I've been researching this for hours and nothing I try works. The image
> > used for the texture has an alpha channel, but it is displayed as black
> > instead of transparent. I'm starting to think that the line:
> >
> > Gl.TexImage2D(t1)
> >
> > isn't passing the presence of an alpha channel to OpenGL, but that's
> > just a guess. Normally you specify the image format there, but those
> > parameters aren't supported yet in the gb3 implementation.
> >
> > The project is attached. You can move the little wizard around with the
> > ASDW keys and rotate with the QE keys. Any help appreciated...I'm going
> > crazy and am calling it quits for the night
>
> This is what i do in the sdl component to get alpha blending:
>
> glEnable(GL_BLEND);
> glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
>
> So it should be in gambas3 code:
>
> Gl.Enable(Gl.GL_BLEND)
> Gl.BlendFunc(Gl.GL_SRC_ALPHA, Gl.GL_ONE_MINUS_SRC_ALPHA)
>
> ++
>
>
>
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list