Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 00:11, Moviga Technologies a écrit :
>> All controls and controls elements should have a specific CSS class
>> (whose name begins with "gw-") that will allow to customize their
>> apparence.
>>
>> If there is a "style.css" file in the root folder of your project, it
>> will be automatically used by the gb.web.form component to generate the
>> web site stylesheet.
>>
>> That way, you can customize the look of everything as you like.
>>
>> As for widget themes, I will make one default, and let Gambas users
>> define the others!
>
> Yes, I understand this. I was just thinking it could be handy with a
> dropdown list with some extra styles besides the default one - kind of
> like with the editor styles.
>
> I found two bugs. See attached picture.
> If I put a timer and set Enabled to true and hit run, the page does not
> load.
>

First bug will be fixed.

As for the Timer: never use a running Timer inside a web application, 
because it activates the event loop, which runs once the Main function 
is terminated, and so the program never terminates. Unless you stop the 
timer yourself later.

Anyway, a Timer is not really useful in that context.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Deprecated controls and components

2015-11-14 Thread adamn...@gmail.com
Hi Benoît,

A few questions.

1. How are you marking a control as being deprecated e.g. LCDNumber?  It would 
be quite handy at the moment for us to do the same thing. We have a significant 
number of clean up work going on currently and I'd like to be able to mark some 
old custom controls the same way.

2. Similarly, how are you marking components as deprecated, e.g. gb.sdl? I note 
that deprecated components no longer appear in the selection list for project 
properties even though the source is still in the repo.  

3. The Embedder control is now deprecated, is there a replacement?

regards
bruce 

-- 
B Bruen 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 15/11/2015 03:29, Sebastian Kulesz a écrit :
> Hi Benoît, just a heads up that the gb.web.form component is missing from
> the comp/src/order file. That's the only thing stopping it from being
> included in the PPA. I would fix it myself, but I don't have access to the
> svn tree from where I'm at.
>

Oops, fixed.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Deprecated controls and components

2015-11-14 Thread Benoît Minisini
Le 15/11/2015 03:03, adamn...@gmail.com a écrit :
> Hi Benoît,
>
> A few questions.
>
> 1. How are you marking a control as being deprecated e.g. LCDNumber?
> It would be quite handy at the moment for us to do the same thing. We
> have a significant number of clean up work going on currently and I'd
> like to be able to mark some old custom controls the same way.

Public Const _Group As String = "Deprecated"

>
> 2. Similarly, how are you marking components as deprecated, e.g.
> gb.sdl? I note that deprecated components no longer appear in the
> selection list for project properties even though the source is still
> in the repo.

In the project property dialog, "information" tab : set the component 
advancement to "Deprecated".

For components written in C/C++, you must update the *.component file by 
hand.

To see deprecated components in the component list, click on the little 
button located at the top left of the list.

>
> 3. The Embedder control is now deprecated, is there a replacement?

No. This feature will disappear with Wayland I guess, so supporting it 
is worthless.

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Sebastian Kulesz
Hi Benoît, just a heads up that the gb.web.form component is missing from
the comp/src/order file. That's the only thing stopping it from being
included in the PPA. I would fix it myself, but I don't have access to the
svn tree from where I'm at.

On Sat, Nov 14, 2015 at 8:31 PM, Jussi Lahtinen 
wrote:

> My condolences as well.
> It's a shame how so few rotten minds can ruin so many innocent lives.
>
>
> Jussi
>
> On Sat, Nov 14, 2015 at 9:05 PM, Benoît Minisini <
> gam...@users.sourceforge.net> wrote:
>
> > Le 14/11/2015 19:57, ML a écrit :
> > > *On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
> > >> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
> > >>> Haha! I am laughing! :D That's a good reason!
> > >>> My condolences to you by the way. It is very sad to see what has
> > >>> happened. Do you live in Paris?
> > >> Yep.
> > >> As I said to a friend, the "great" leaders of our "free" world were
> > >> thinking about giving antitank rockets to the "moderate" terrorists
> just
> > >> a week ago to pester the russians. What a beautiful firework they
> could
> > >> do in Paris with that. The number of deaths record will be beaten
> > >> easily. :-(
> > > Benoît,
> > >
> > > GLAD to hear (read?) that you're OK after looking open-mouthed to the
> > > yellowish news. Also, my condolences to you on the brutal nonsense.
> > > (as usual in our local news, they found an argentine "survivor" whom
> > > they gave plenty of airtime)
> > > I did not abandon ODBC, by the way, just sharpening my C.
> > >
> > > Ok back on topic. I have 3.8.3. Out of curiosity after reading this
> > > thread I wanted to create a web project.
> > > I did, and ran it. A Firefox opened with all the environment values in
> a
> > > nice table. But I could not find anywhere a place to add a new form.
> How
> > > do I add a Form in a web app? Or am I talking my usual nonsense?
> > >
> > > Regards,
> > > An alleviated zxMarce.
> >
> > At the moment gb.web.form is in development, so I use it as a debugging
> > project as usual.
> >
> > A normal web app will use gb.web.form and create WebForms, like a GUI
> > app just uses gb.gui and create Forms.
> >
> > Of course, there are a lot of differences and subtle tricks. So you
> > should know what a CGI script is, HTML, CSS and JavaScript to know
> > exactly what you are doing.
> >
> > --
> > Benoît Minisini
> >
> >
> >
> --
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Deprecated controls and components

2015-11-14 Thread adamn...@gmail.com
On Sun, 15 Nov 2015 03:19:07 +0100
Benoît Minisini  wrote:

> Le 15/11/2015 03:03, adamn...@gmail.com a écrit :
> > Hi Benoît,
> >
> > A few questions.
> >
> > 1. How are you marking a control as being deprecated e.g. LCDNumber?
> > It would be quite handy at the moment for us to do the same thing. We
> > have a significant number of clean up work going on currently and I'd
> > like to be able to mark some old custom controls the same way.
> 
> Public Const _Group As String = "Deprecated"
> 
> >
> > 2. Similarly, how are you marking components as deprecated, e.g.
> > gb.sdl? I note that deprecated components no longer appear in the
> > selection list for project properties even though the source is still
> > in the repo.
> 
> In the project property dialog, "information" tab : set the component 
> advancement to "Deprecated".
> 
> For components written in C/C++, you must update the *.component file by 
> hand.
> 
> To see deprecated components in the component list, click on the little 
> button located at the top left of the list.
> 
> >
> > 3. The Embedder control is now deprecated, is there a replacement?
> 
> No. This feature will disappear with Wayland I guess, so supporting it 
> is worthless.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


Excellent!
Thanks
bruce

-- 
B Bruen 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Moviga Technologies
 

Haha! I am laughing! :D That's a good reason! 

My condolences to you by the way. It is very sad to see what has
happened. Do you live in Paris? 
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Frank


Op 14-11-15 om 17:00 schreef Benoît Minisini:
> Le 14/11/2015 16:49, Frank a écrit :
>> Hello,
>>
>> I have been reading this thread about the new component. This will not 
>> enable me to create a html mail newsletter to be send, right?
>> I have been searching to create a mailbody in HTML to send via 
>> desktop.sendmail
>>
>> swissgamba
>>
> Mail is not related to the Web (HTTP protocol).
>
> To send a mail, you must use the SMTP protocol (gb.net.smtp). And to
> create the mail to send, you must use the gb.mime component.
>
i thought so already..I'll continue figuring out how to use these components. 
thanks


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Moviga Technologies
 

Why then is the timer available among the controls to drop on the
WebForm? 

  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 16:49, Frank a écrit :
> Hello,
>
> I have been reading this thread about the new component. This will not enable 
> me to create a html mail newsletter to be send, right?
> I have been searching to create a mailbody in HTML to send via 
> desktop.sendmail
>
> swissgamba
>

Mail is not related to the Web (HTTP protocol).

To send a mail, you must use the SMTP protocol (gb.net.smtp). And to 
create the mail to send, you must use the gb.mime component.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 16:18, Moviga Technologies a écrit :
>
>
> Haha! I am laughing! :D That's a good reason!
>
> My condolences to you by the way. It is very sad to see what has
> happened. Do you live in Paris?

Yep.

As I said to a friend, the "great" leaders of our "free" world were 
thinking about giving antitank rockets to the "moderate" terrorists just 
a week ago to pester the russians. What a beautiful firework they could 
do in Paris with that. The number of deaths record will be beaten 
easily. :-(

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection

2015-11-14 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4-

Comment #2 by Wouter WOLKERS:

I have the exact same issue, here is the debug output:

Gambas 3.8.3
Ubuntu 15.10

Running from remote session (SSH+X or x2go)

cannot get the info from system information since gambas crashes

wouter@server:~/install/gambas3-3.8.3/app/src/gambas3$ gbc3 -agt
OK
wouter@server:~/install/gambas3-3.8.3/app/src/gambas3$ gdb gbx3
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gbx3...done.
(gdb) run
Starting program: /usr/bin/gbx3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdc8ed700 (LWP 32046)]
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x0

Program received signal SIGSEGV, Segmentation fault.
X11_get_current_desktop () at x11.c:575
575 desktop = *((int *)data);
(gdb) bt
#0  X11_get_current_desktop () at x11.c:575
#1  0x75f6e97d in MyMainWindow::initProperties (this=this@entry=
0xac1da0, which=which@entry=-1) at CWindow.cpp:1631
#2  0x75f6f46e in MyMainWindow::present (this=this@entry=0xac1da0,
parent=parent@entry=0x0) at CWindow.cpp:1673
#3  0x75f70bc6 in MyMainWindow::showActivate (this=0xac1da0,
transient=) at CWindow.cpp:1752
#4  0x0040b39d in EXEC_native_quick () at gbx_exec.c:1211
#5  0x0040bfbb in EXEC_native_check (defined=)
at gbx_exec.c:1161
#6  0x0043b481 in EXEC_loop () at gbx_exec_loop.c:1151
#7  0x0040abcc in EXEC_function_loop () at gbx_exec.c:931
#8  0x0040b2c6 in EXEC_function_real () at gbx_exec.c:895
#9  0x0040c127 in EXEC_public_desc (class=,
object=object@entry=0x0, desc=desc@entry=0x9a02b8, nparam=nparam@entry=0)
at gbx_exec.c:1616
#10 0x00404b53 in main (argc=1, argv=0x7fffe408) at gbx.c:416
(gdb)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 15:17, Moviga Technologies a écrit :
>
>
> Why then is the timer available among the controls to drop on the
> WebForm?
>

Because things are not finished. :-)

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Frank
Hello,

I have been reading this thread about the new component. This will not enable 
me to create a html mail newsletter to be send, right?
I have been searching to create a mailbody in HTML to send via desktop.sendmail

swissgamba


Op 14-11-15 om 16:29 schreef Benoît Minisini:
> Le 14/11/2015 16:18, Moviga Technologies a écrit :
>>
>> Haha! I am laughing! :D That's a good reason!
>>
>> My condolences to you by the way. It is very sad to see what has
>> happened. Do you live in Paris?
> Yep.
>
> As I said to a friend, the "great" leaders of our "free" world were
> thinking about giving antitank rockets to the "moderate" terrorists just
> a week ago to pester the russians. What a beautiful firework they could
> do in Paris with that. The number of deaths record will be beaten
> easily. :-(
>


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread ML
*On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
>> Haha! I am laughing! :D That's a good reason!
>> My condolences to you by the way. It is very sad to see what has
>> happened. Do you live in Paris?
> Yep.
> As I said to a friend, the "great" leaders of our "free" world were 
> thinking about giving antitank rockets to the "moderate" terrorists just 
> a week ago to pester the russians. What a beautiful firework they could 
> do in Paris with that. The number of deaths record will be beaten 
> easily. :-(
Benoît,

GLAD to hear (read?) that you're OK after looking open-mouthed to the
yellowish news. Also, my condolences to you on the brutal nonsense.
(as usual in our local news, they found an argentine "survivor" whom
they gave plenty of airtime)
I did not abandon ODBC, by the way, just sharpening my C.

Ok back on topic. I have 3.8.3. Out of curiosity after reading this
thread I wanted to create a web project.
I did, and ran it. A Firefox opened with all the environment values in a
nice table. But I could not find anywhere a place to add a new form. How
do I add a Form in a web app? Or am I talking my usual nonsense?

Regards,
An alleviated zxMarce.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 19:57, ML a écrit :
> *On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
>> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
>>> Haha! I am laughing! :D That's a good reason!
>>> My condolences to you by the way. It is very sad to see what has
>>> happened. Do you live in Paris?
>> Yep.
>> As I said to a friend, the "great" leaders of our "free" world were
>> thinking about giving antitank rockets to the "moderate" terrorists just
>> a week ago to pester the russians. What a beautiful firework they could
>> do in Paris with that. The number of deaths record will be beaten
>> easily. :-(
> Benoît,
>
> GLAD to hear (read?) that you're OK after looking open-mouthed to the
> yellowish news. Also, my condolences to you on the brutal nonsense.
> (as usual in our local news, they found an argentine "survivor" whom
> they gave plenty of airtime)
> I did not abandon ODBC, by the way, just sharpening my C.
>
> Ok back on topic. I have 3.8.3. Out of curiosity after reading this
> thread I wanted to create a web project.
> I did, and ran it. A Firefox opened with all the environment values in a
> nice table. But I could not find anywhere a place to add a new form. How
> do I add a Form in a web app? Or am I talking my usual nonsense?
>
> Regards,
> An alleviated zxMarce.

At the moment gb.web.form is in development, so I use it as a debugging 
project as usual.

A normal web app will use gb.web.form and create WebForms, like a GUI 
app just uses gb.gui and create Forms.

Of course, there are a lot of differences and subtle tricks. So you 
should know what a CGI script is, HTML, CSS and JavaScript to know 
exactly what you are doing.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Moviga Technologies
> Yep.
> 
> As I said to a friend, the "great" leaders of our "free" world were
> thinking about giving antitank rockets to the "moderate" terrorists 
> just
> a week ago to pester the russians. What a beautiful firework they could
> do in Paris with that. The number of deaths record will be beaten
> easily. :-(

Europe as we know it is about to change it seems.

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #842: IDE Crash when rename a Form beginning on "_"

2015-11-14 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.842=L21haW4-

Comment #1 by Jorge CARRIÓN:

After the crash a new form with de new name is created but the original form 
with the original name still remains.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Jussi Lahtinen
My condolences as well.
It's a shame how so few rotten minds can ruin so many innocent lives.


Jussi

On Sat, Nov 14, 2015 at 9:05 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Le 14/11/2015 19:57, ML a écrit :
> > *On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
> >> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
> >>> Haha! I am laughing! :D That's a good reason!
> >>> My condolences to you by the way. It is very sad to see what has
> >>> happened. Do you live in Paris?
> >> Yep.
> >> As I said to a friend, the "great" leaders of our "free" world were
> >> thinking about giving antitank rockets to the "moderate" terrorists just
> >> a week ago to pester the russians. What a beautiful firework they could
> >> do in Paris with that. The number of deaths record will be beaten
> >> easily. :-(
> > Benoît,
> >
> > GLAD to hear (read?) that you're OK after looking open-mouthed to the
> > yellowish news. Also, my condolences to you on the brutal nonsense.
> > (as usual in our local news, they found an argentine "survivor" whom
> > they gave plenty of airtime)
> > I did not abandon ODBC, by the way, just sharpening my C.
> >
> > Ok back on topic. I have 3.8.3. Out of curiosity after reading this
> > thread I wanted to create a web project.
> > I did, and ran it. A Firefox opened with all the environment values in a
> > nice table. But I could not find anywhere a place to add a new form. How
> > do I add a Form in a web app? Or am I talking my usual nonsense?
> >
> > Regards,
> > An alleviated zxMarce.
>
> At the moment gb.web.form is in development, so I use it as a debugging
> project as usual.
>
> A normal web app will use gb.web.form and create WebForms, like a GUI
> app just uses gb.gui and create Forms.
>
> Of course, there are a lot of differences and subtle tricks. So you
> should know what a CGI script is, HTML, CSS and JavaScript to know
> exactly what you are doing.
>
> --
> Benoît Minisini
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user