Re: [Gambas-user] to all SuSE users

2016-09-20 Thread T Lee Davidson
For Leap 42.1, kdesu is in the standard repository and kdesudo is not. However, 
kdesudo is available via a non-standard repository.


On 09/20/2016 04:53 PM, Karl Reinl wrote:
> Salut,
>
> tests on a freshly updated SuSE, to check Desktop.RunAsRoot from
> gb.desktop shows that SuSE has no kdesudo, but uses kdesu instead.
> Can anybody confirm that, or do I have a wired installation.
>
> thanks in advanced
>

-- 
Lee
__

"Artificial Intelligence is no match for natural stupidity."

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


Re: [Gambas-user] IDE extensions?

2016-09-20 Thread adamn...@gmail.com
On Sun, 18 Sep 2016 17:39:13 +0300
Jussi Lahtinen  wrote:

> I have no opinion for or against. But what would the extensions do? I think
> the IDE pretty much have all the possible useful things..?
> I guess something special without general usage. I would be interested in
> hearing some ideas.
> 
> 
> Jussi
> 
Here's a few we have already (not farm produce though).

A class skeleton code builder/rebuilder. It parses a class and allows visual 
addition/modification/deletion of properties, methods, etc. It doesn't provide 
or allow for editing for actual procedural code but does build code for 
accessors and some other mechanical procedures (such as skeleton code for 
initialising the class infrastructure in the constructor. (It also reformats 
the code so that all procedures are layed out in groups: public, private, (some 
other mechanicals we use), accessors, handlers.)

A form reviewer: This utility provides a means to review a Gambas3 form 
definition file highlighting missing features (tooltips etc) and duplicated 
features (shortcuts and accelerators). It is meant to assist in checking that 
all the useability factors of a form in a project have been completed properly 
before releasing the containing project.

A library component installation manager: This project:
* displays information about gambas applications, libraries and 
components that are either installed on the local computer or which have 
installable packages,
* highlights packages that have been superseeded (i.e. there is a later package 
version available),
* provides a mechanism to install specific package versions on the local 
computer.

A task manager: Simple, "emphasis" on simple, to do list for gambas projects - 
just what the world needs, another todo list! :-)

A tool to "generate a procedure to handle command line arguments suitable for 
the gb.args component."

Several other code generators suitable only for the way we "do things" here.


So I for one would prefer to see that there was no forced dependency on the 
farm. i.e. allow for locally installed tools. In fact, given the current state 
of versioning in the farm using a shared extension would leave the client 
developer at the whim of the extension developer. Suppose version 1.2 of an 
extension is the one I want to use even thought there is a version 3.6 
available?

(in fact back in gambas2 days we had modified the IDE to allow for such 
extensions (I called them "AddIns"). It was fairly simple to implement in the 
gb2 IDE code and provided almost all of what Benoit mentioned (passing the 
project context, current class etc) and also had it's own "manager" to allow 
for adding/removing/activating/deactivating specific addins. 

bruce
-- 
B Bruen 

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


[Gambas-user] Request for testing on Centos7

2016-09-20 Thread Jim Brown

Hi

Does anyone have any testing suites for new builds of Gambas?  I want to  
test the 3.9.1 Gambas build on Centos 7.

For some background, about 5 months ago I managed to get Gambas 3.8.4 RPMs  
(binary and source) built and working on Centos 7. I was quite happy with  
this, the only thing missing was SDL2, this didn't work due to some  
missing dependencies.  I never used SDL2 in any of the tiddly little progs  
I developed, so it was no great loss to me.

With the release of 3.9.1, I decided to have a try at building this latest  
version and due to a combination of updated RPMs and my increasing  
knowledge I now also have SDL2 working.  So far my testing of the new  
Gambas build consists of downloading projects from the "Software Farm" and  
running them.  This is obviously not a very thorough testing regime and  
before I do anything else with the RPMs, I would like to test as much as  
possible.

So this is where you come in, if anyone has a test suite of any kind they  
run against new (or old) builds of Gambas then I would be grateful if you  
could provide them.

Thanks
Jim Brown

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


[Gambas-user] Is it possible to receive events on an array of 'Process' objects?

2016-09-20 Thread Phil Underhill
Hi all,

I'm working on a project that would benefit from being able to receive
events from an array of Process controls. I've been successful in
creating the array, but the Process.Read and Process.Error events
don't seem to be triggered once the controls are in the array.

For example...

Public myConns As New Process[]

Public Sub something()
  Dim connShell as Process
  Shell "/usr/bin/blah" For Read As "connShell"
  myConns.Add(connShell)
End

Public Sub Process_Error(connError As String)
  Debug "An error occured"
End

Public Sub Process_Read()
  Debug "There's something to read"
End


In the above example the events are never triggered. Is there an
alternative way I should be doing this, or is it not possible?

Many thanks.

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


Re: [Gambas-user] IDE extensions?

2016-09-20 Thread Christof Thalhofer
Hello,

Am 17.09.2016 um 23:09 schrieb BenoƮt Minisini:

> Would people be interested in some sort of IDE extensions?

Yes.

> The idea is making a dedicated tag in the software farm for IDE extensions.
> 
> Then, once installed, the extension program is automatically detected by 
> the IDE.
> 
> Then a menu entry will be added in the IDE.
> 
> When the user clicks on that menu entry, the extension program is run. 
> It will receive the project path in its argument, and eventually other 
> informations: the current edited file for example, or whatever else is 
> needed.
> 
> This is the principle.
> 
> If anymone is interested in something like that, please tell.

I'm currently writing a project for unittesting for Gambas, it is
inspired from http://comunit.sourceforge.net/ and PHPUnit. I would like
to share it on GitHub and if the quality is ok and you agree, name it
"GUnit" or "GbUnit" or so and share it with the Gambas community.

At the moment I am unsure, whether to make a library or a component with it.

This could eventually be a nice candidate for an IDE extension. But I
would like to invoke it by keyboard shortcut, because it would be
something one uses nearly as often as "F5" if one does test driven
programming.

Also it could be an integrated part of the IDE (like profiling) because
it has to run inside the project it has to test. It could be a component
and if a project uses this component, the IDE could recognize it and
runs it by keyboard shortcut.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur



signature.asc
Description: OpenPGP digital signature
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user