Re: [Vala] Newbie need help

2018-10-23 Thread Ulink
Or try this: First, install packages: sudo apt install tcc libgtk-vnc-2.0-dev Second, try this VNC client script: #!/usr/bin/vala --Xcc=-w --cc=tcc --pkg gtk+-3.0 --pkg gtk-vnc-2.0 int main (string[] args) { Gtk.init (ref args); var window = new Gtk.Window ();

Re: [Vala] Newbie need help

2018-10-23 Thread Ulink
> valac -> compiler(ok) > vala -> interpreter what/how/usage As others said before, /usr/bin/vala is a command for using in Vala scripts. It compiles the embedded script code on the fly to a temporary binary and runs it afterwards. Additionally, I'm using tcc (Ubuntu: sudo apt install tcc)

Re: [Vala] Newbie need help

2018-10-23 Thread wolfgang . mauer
Ok, thank's a lot! Von: Al Thomas astav...@yahoo.co.uk Gesendet: 23.10.2018 10:37 An: vala-list@gnome.org,wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de Betreff: Re: [Vala] Newbie need help On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang.ma...@kabelmail.de wolfgang.ma

Re: [Vala] Newbie need help

2018-10-23 Thread Al Thomas via vala-list
> On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang.ma...@kabelmail.de wrote: > what is the difference between valac and vala? (Compiler / Interpreter) > valac -> compiler(ok) > vala -> interpreter what/how/usage valac is the compiler. The command, vala, combines compiling with valac

Re: [Vala] Newbie need help

2018-10-23 Thread Jens Georg
valac - The standard Vala compiler Vala - A programming language. (Description, Specification,...) That isn't the complete truth, there is also vala, the "interpreter" that on-the-fly compiles the vala code and runs it - which works ok for simple files e.g. if you need to check something

Re: [Vala] Newbie need help

2018-10-23 Thread Tal Hadad via vala-list
: [Vala] Newbie need help אל: vala-list@gnome.org Hi all, what is the difference between valac and vala? (Compiler / Interpreter) valac -> compiler(ok) vala -> interpreter what/how/usage ___ vala-list mailing list vala-list@gnome.org

[Vala] Newbie need help

2018-10-23 Thread wolfgang . mauer
Hi all, what is the difference between valac and vala? (Compiler / Interpreter) valac -> compiler(ok) vala -> interpreter what/how/usage ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Newbie need help

2018-10-14 Thread wolfgang . mauer
Hi all, i tryed to do this. (Ubuntu 18, libvala-0.40) var gicon = GLib.ContentType.get_icon("text/x-vala"); var resourceIcon = IconTheme.get_default().lookup_by_gicon(gicon, 16, IconLookupFlags.FORCE_SIZE).load_icon(); But i get a lot of warnings ??? warning: ‘gtk_icon_info_free’ is

Re: [Vala] Newbie need help

2018-10-08 Thread wolfgang . mauer
Yes, downgrade as described and it works ... Thanks a lot Von: Al Thomas astav...@yahoo.co.uk Gesendet: 08.10.2018 12:30 An: vala-list@gnome.org,wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de Betreff: Re: [Vala] Newbie need help On Monday, 8 October 2018, 00:41:45 BST, wolfgang.ma

Re: [Vala] Newbie need help

2018-10-08 Thread Al Thomas via vala-list
> On Monday, 8 October 2018, 00:41:45 BST, wolfgang.ma...@kabelmail.de wrote: > In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54:0,/usr/include/webkitgtk-4.0/webkit2 >                 from >

[Vala] Newbie need help

2018-10-07 Thread wolfgang . mauer
I tried to make example with Using Ubuntu 18 compiling failed with valac -o TestSqlite -g --define=_DEBUG --gresources resource.xml application.vala main.vala --pkg gtk+-3.0 --pkg glib-2.0 --pkg gobject-2.0 --pkg sqlite3 --pkg webkit2gtk-4.0 ./resource.c [GtkChild]

Re: [Vala] Newbie need help

2018-10-03 Thread wolfgang . mauer
>Does it run on any OS (Windows, Linux?)? Yes, runs on Linux, Windows AND Mac :-) But i need to increase performance... Von: Ulink ul...@gmx.at Gesendet: 03.10.2018 12:49 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help You can use mono without recompile anything on other cp

Re: [Vala] Newbie need help

2018-10-03 Thread Ulink
> You can use mono without recompile anything on other cpu's, including > ARM/MIPS !!! > I have a project for SetTopBoxes witch runs on Arm32/Mips32 with the same > dll's (AnyCPU) Of course, because it's managed (byte) code, something like java vm code. Does it run on any OS (Windows,

Re: [Vala] Newbie need help

2018-10-03 Thread wolfgang . mauer
all :-( >But you have already managed it? No, maybe I'm too stupid to do that With Geany my project (4 files) compiles/build only one vala-file :-( Wolfgang Von: Ulink ul...@gmx.at Gesendet: 03.10.2018 07:40 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help I wanted to try p

Re: [Vala] Newbie need help

2018-10-02 Thread Ulink
> I wanted to try porting a bigger C# project to vala (performance/etc.) but i > think this is not a good idea. Indeed, it is. > As long as I have to deal with > buildsystem/ctags/plugins/autocomplete/whatever and not with my actual > work > It just wastes my time. But you have already

Re: [Vala] Newbie need help

2018-10-02 Thread wolfgang . mauer
ng.ma...@kabelmail.de Gesendet: 02.10.2018 21:10 An: Al Thomas via vala-list lt;vala-list@gnome.orggt;,lt;vala-list@gnome.orggt; Betreff: Re: [Vala] Newbie need help I do not want to say anything bad about vala I startet at "Vala for C# Programmers" and everything looks very easy a

Re: [Vala] Newbie need help

2018-10-02 Thread wolfgang . mauer
ng Vala needs to understand that development model. Maybe that's why a cant use is. Von: Al Thomas via vala-list vala-list@gnome.org Gesendet: 02.10.2018 20:36 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help On Tuesday, 2 October 2018, 19:10:29 BST, wolfgang.ma...@kabelmail.de

Re: [Vala] Newbie need help

2018-10-02 Thread Al Thomas via vala-list
> On Tuesday, 2 October 2018, 19:10:29 BST, wolfgang.ma...@kabelmail.de wrote: > So thank's a lot for help, but back to monodevelop ... > Wolfgang > PS. Maybe the vala-team should think about it The 'vala-team' is anyone using Vala. It is a community driven open source project.

Re: [Vala] Newbie need help

2018-10-02 Thread wolfgang . mauer
should think about it Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 19:19 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Hi, Works! Thank's a lot!!! You are welcome. Well, as coming from C# and VS2017/Monodevelop i tryed the following: Label label = new Label("mylabel&

Re: [Vala] Newbie need help

2018-10-02 Thread wolfgang . mauer
that there is no IDE just for vala like monodevelop for C# ? Wolfgang Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 16:13 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Hi, I used geany/geany-plugins from git, now debugger works fine ;-) Perfect. So maybe last problem/question

Re: [Vala] Newbie need help

2018-10-02 Thread Ulink
Hi, > I used geany/geany-plugins from git, now debugger works fine ;-) Perfect. > So maybe last problem/question ;-) NP, ask as much as you want. We need new Vala warriors ;-) > "autocompletion" works with vala? If, i can't get it work Primary, geany does autocompletion based on opened

Re: [Vala] Newbie need help

2018-10-02 Thread wolfgang . mauer
I used geany/geany-plugins from git, now debugger works fine ;-) So maybe last problem/question ;-) "autocompletion" works with vala? If, i can't get it work Wolfgang Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 12:32 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie

Re: [Vala] Newbie need help

2018-10-02 Thread Ulink
> THERE IS NO DEBUGGER -> Ubuntu 18.04 Calm down man, we will survive it ;-) > Witch distri do you use? Mine is Ubuntu 16.04. Tried on 18.04 recently and unfortunately you are right: there is no package geany-plugin-debugger :-( Take a look at

Re: [Vala] Newbie need help

2018-10-02 Thread wolfgang . mauer
use? Wolfgang Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 09:08 An: vala-list@gnome.org Betreff: [Vala] Newbie need help I tried, but ubuntu has no debugger plugin ☹ sudo apt-get install geany geany-plugins geany-plugin-addons devhelp Restart Geany and activate it via "Tools - Plugin Manager -

[Vala] Newbie need help

2018-10-02 Thread Ulink
> I tried, but ubuntu has no debugger plugin ☹ sudo apt-get install geany geany-plugins geany-plugin-addons devhelp Restart Geany and activate it via "Tools - Plugin Manager - Debugger". For the "HighlightSelectedPlugin", which is very convenient, try this: * Download

Re: [Vala] Newbie need help

2018-10-01 Thread Wolfgang Mauer
I tried, but ubuntu has no debugger plugin ☹ -Ursprüngliche Nachricht- Von: vala-list Im Auftrag von Ulink Gesendet: Montag, 1. Oktober 2018 08:50 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Hi Wolfgang, I'm using Geany and the "Deb

Re: [Vala] Newbie need help

2018-10-01 Thread rastersoft
Hi: Check out my project "autovala", that greatly simplifies creating the CMake and Meson files for a project. http://www.rastersoft.com/programas/autovala.html With it, you can use any text editor while keeping the advantages of an IDE for the build part. El 30/9/18 a las 21:57, Wolfgang

Re: [Vala] Newbie need help

2018-10-01 Thread Ulink
Hi Wolfgang, I'm using Geany and the "Debugger" and the "GeanyHighlightSelectedWord" plugins. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Newbie need help

2018-09-30 Thread Andy Lees via vala-list
. Good Luck! On Mon, Oct 1, 2018 at 8:13 AM Wolfgang Mauer wrote: > Well, for beginner's like me, I think auto-completion is very important and > a "must" > > Wolfgang > > -Ursprüngliche Nachricht- > Von: Vivien Kraus > Gesendet: Montag, 1. Oktober 2018 00

Re: [Vala] Newbie need help

2018-09-30 Thread Vivien Kraus
Wolfgang Mauer writes: Hello, > Hi all, > I'm a C# developer (MS/MONO) and like to try vala. > I'm wondering there is not a really useful IDE?! > > Current i use Monodevelop/VS2017 to develop C# programs and debug my > application. > This is very comfortable for writing and debugging. > > I

Re: [Vala] Newbie need help

2018-09-30 Thread Al Thomas via vala-list
> On Sunday, 30 September 2018, 22:57:23 BST, Wolfgang Mauer wrote: > Does that mean that vala-dvelopers must use command-line tools? (Back to the> > 80's ;-)) > Please give me a hand if there are some useful IDE's. If you want to develop for the Linux platform then use GNOME Builder. It

Re: [Vala] Newbie need help

2018-09-30 Thread Wolfgang Mauer
Well, for beginner's like me, I think auto-completion is very important and a "must" Wolfgang -Ursprüngliche Nachricht- Von: Vivien Kraus Gesendet: Montag, 1. Oktober 2018 00:03 An: Wolfgang Mauer Cc: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Wolfgang Ma

[Vala] Newbie need help

2018-09-30 Thread Wolfgang Mauer
Hi all, I'm a C# developer (MS/MONO) and like to try vala. I'm wondering there is not a really useful IDE?! Current i use Monodevelop/VS2017 to develop C# programs and debug my application. This is very comfortable for writing and debugging. I tried glade-builder and anjuta, but both are not