Hi,
In fact my version of vala makes Win64 binaries so I just put
gspawn-win64-helper-console.exe and all is now perfect.
(in fact I've read something about win32 gspawn when vala was linking my
project so I've thought that I've need gspawn-win32, ooops)
Regards
Raum
> Hi,
ute helper program (Invalid argument)
Do you have an idea ? where am I wrong ?
thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
Hi,
A long time ago I've writed a page 'how to build vala' and I think I will
update this page
Perhaps you could find indpiration
Http://linbox.free.fr/vala
Regards
RaumLe 21 sept. 2018 7:48 AM, Daniel Brendle a écrit :
>
> On 9/20/18 2:40 AM, oyster via vala-list wrote:
> > thanks, but t
Hi all,
I don't understand why I can't sotr my array... :-/ (glib.array)
Could you give me an advice ?
My code below..
Thanks
Raum
-
public class FileAndChunks {
public string filename;
public int64 size;
}
int so
ck_fs" which is better and my lastest
"graph_map".
Regards
Raum
> Hello list,
>
> i would like to learn Vala and plan to port a Mono-GNOME-App to Vala. I
> already seen the documentation.
>
> Maybe you know some small Vala apps where i can see the code in action
ing.
>
> I also saw an application capable of running a delphi application on the
> web! It was amazing .. I will try to find the link.
>
> Someone has knowledges about glib and webassembly ?
>
> Regards
>
> Raum
> https://www.github.com/Raumy
>
>
>> Do
knowledges about glib and webassembly ?
Regards
Raum
https://www.github.com/Raumy
> Do we really still need a Vala to JS converter? I didn't try, but I think
> it's possible to compile the whole GLib to WebAssembly with only slight
> modifications, so Vala can run in browser n
xt release ;-)
Regards
Raum
>> - Original Message -
>
>> From: "r...@no-log.org"
>> Sent: Wednesday, 1 March 2017, 9:40
>> Subject: Re: [Vala] .me cast resurrection on "Re: The future of Vala"
>
>> By the way, I think I understand Vala
Vala could be used to develop stand alone
application (server or client side) but not for "web applications" which
used asynchronous oriented developpement.
Any opinion ? :)
Thanks
Regards
Raum - powerfull thread necromancer
>
>> I've read on HN (https://news.ycomb
pjmlp 21 hours ago [-]
> Yep, GNOME seems to be adopting Rust, with librsvg and
GNOME Builder being the first places to spot it.
Do you have more informations about state of vala and rust ?
Regards
Raum
ps: original thread in HN "I miss Delphi" :
https://news.ycom
; (...)
>
> But the result is a partially black rectangle with some with points
>
> Have you some advices ? :)
>
> Thanks.
>
> Regards
>
> Raum
> ___
> vala-list mailing list
> vala-list@gnome.org
> https:
urce_pixbuf (context, pixbuf, 0, 0);
context.paint ();
(...)
But the result is a partially black rectangle with some with points
Have you some advices ? :)
Thanks.
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://ma
9sxs9ekWC0/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=8NoJzcuPtRovVOesoOjRT4iuZGU
and the link to the video https://www.youtube.com/watch?v=V9sxs9ekWC0)
Thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
9sxs9ekWC0/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=8NoJzcuPtRovVOesoOjRT4iuZGU
and the link to the video https://www.youtube.com/watch?v=V9sxs9ekWC0)
Thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
a,
uint target_type, uint time) {
(...)
case 2:
string data = (string) selection_data.get_data ();
print ("%s\n", data);
this.add (new Gtk.Label (data));
break;
b and, because Vala is great
(wink) less demand on Stack Overflow ^___^ (well, it's a joke :) But I
think a lot of questions have been asked through this mailing list instead
of StackOverflow)
Just to share my hapiness to see Vala, for once, in a chart and finally in
a good position... ^__^
Reg
b and, because Vala is great
(wink) less demand on Stack Overflow ^___^ (well, it's a joke :) But I
think a lot of questions have been asked through this mailing list instead
of StackOverflow)
Just to share my hapiness to see Vala, for once, in a chart and finally in
a good position... ^__^
Reg
Hi,
Problem between windows and linux API, probably...
Either you can take a look to one of my project wich worked on linux
https://github.com/Raumy/check_fs
Regards
Le 9 janv. 2016 10:30, Chris Daley a écrit :
>
> Hi all,
>
> One possible solution to this problem that would be Windows only i
Hello
My objective was not to monitor un real tome so... No :-)
Regards
Le 6 août 2015 20:33, Al Thomas a écrit :
>
> > From: Raum
> > Sent: Wednesday, 5 August 2015, 8:19
> > Subject: Re: [Vala] Simple filewalker code. Comments?
> >
> > Hello
>
Hello
I've tried to code something similar
https://github.com/Raumy/check_fs
(It uses md5 hash to check changed files on filesystems)
I should write a makefile and more comments ^_^ (main class name ils testapp...
So you should consider this ils not finished :-) )
You should have a look to ch
on, using GTK and libnetframes.
>> You should add the directory where libnetframes is located to your lib
>> path if you want to execute npc.
>>
>> Under Windows, you need to install mingw32 and a lot of files... :)
>>
>> I've some diff
Exchange Chart...
You can use this code as example or contribute, or give me advice for a
better code.
Some comments in my code are in french, sorry ;)
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
quot;1/1", it's ok
--
I didn't compile this code on Windows/MingW but I've a similar code
which working...
Where am I wrong ?
Thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
quot;1/1", it's ok
--
I didn't compile this code on Windows/MingW but I've a similar code
which working...
Where am I wrong ?
Thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
? (which can give me some
informations where I should optimize my code ?)
If you want to "experiment" the lags, check version 1.4 on
https://sourceforge.net/projects/netpackclean/ and give me your opinion
Thanks
Regards
Raum
___
vala-list mai
ry to clean up my code and use vala's best practices later (or if
someone want to have a look ;))
Regards
Raum
> I have a tree of nodes, something like this in pseudocode:
> class Node
> ArrayList kidnodes
> Node parent
>
> So - each node has kids and a parent.
>
&g
);
Application app = new Application ();
app.show_all ();
Gtk.main ();
return 0;
}
}
### Compilation ##
$ valac --pkg gtk+-3.0 sample.vala
Thanks
Regards
Raum
Adv/pub : https://sourceforge.net/projects/netpackclean/
__
not sure I've the right to include tshark in my binary package... :-?
Linux binary certainly at the end of day... For source code, I need to
clean and document them ;)
https://sourceforge.net/projects/netpackclean/
It was'nt so complicated to create this tools and I'll see
it that I
> would have to reinstall linux to make it work. I'll search for reinstall
> only glib
>
> Thanks
>
> Raum
>
>> Seems like it is problem with glib2 package, try to reinstall i
I've downloaded source tarball of Vala 0.22, compiled and install it but
no effect... :-/
I was wondering if it was not a system problem. But I can not admit that I
would have to reinstall linux to make it work. I'll search for reinstall
only glib
Thanks
Raum
> Seems like
Do you have an idea why it's running on Windows but not on Linux ?
Thanks
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
tions]
$ ./seek
seekable: true
What's going wrong ? o_O
Thanks
raum
Message original
Objet: [Fwd: Binary File is not seekable ?!?]
De: r...@no-log.org
Date:Ven 25 octobre 2013 8:5
Ok ehm.. I've searched in the wrong place it seems... sorry. :)
Thanks
>
>
>
>
>
>>
>> From: "r...@no-log.org"
>>To: vala-list@gnome.org
>>Sent: Tuesday, 24 September 2013, 13:36
>>Subject: [Vala] How to convert a string to float ?
>>
>>
>>To convert a string to i
get_string: assertion
`G_VALUE_HOLDS_STRING (value)' failed
(null)
get_double()
(spawn.exe:4056): GLib-GObject-CRITICAL **: g_value_get_double: assertion
`G_VALUE_HOLDS_DOUBLE (value)' failed
0.00
get_string()
3.4
---
Thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
c:(.text+0x47): undefined reference to
`pcap_lib_version'
collect2: ld returned 1 exit status
error: cc exited with status 1
Compilation failed: 1 error(s), 0 warning(s)
I will try the fix explained in the web page.
Regards,
Raum
> On Fri, 2013-09-20 at 15:49 +0200, r...@no-log.org wrote:
>
s obviously present in /opt/include/pcap/ folder ?
Thanks
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
I think it's running. I've compressed test.vala into test.7z then :
$ valac --pkg libarchive test.vala
$ ./test.exe
version libarchive 3.1.2
test.vala
Well, now I'll test files decompression :)
Raum
> Sorry, I've sent the wrong vapi file. Please find in attachem
Sorry, I've sent the wrong vapi file. Please find in attachement the
correct files.
Regards
Raum
> I'm not sure but a compatible version 3 libarchive.vapi should be similar
> to these files in attachement.
>
> Am I correct ?
>
> Indeed I need to read 7z
I had a look to libarchive... It seems libarchive 3.0 could handle 7Zip
format (for reading) but unfortunately there is only a vapi file for
version 2...
I've read some pages about "how to generate vapi" but I didnt success...
Should I try to write by hand a vapi file ?
Thanks
> On Mon, 2013-08
Hello,
I've downloaded and build 7Zip library and I've these files compiled
(under Windows using MingW32, with prefix /opt) :
/src/lib7zip-1.6.5/Lib7Zip/lib7zip.a
/src/lib7zip-1.6.5/Lib7Zip/lib7zip.dll
/src/lib7zip-1.6.5/Lib7Zip/lib7zip.h
"make install" command didn't copy these files under /opt
Well, Im' trying something like :
var file = File.new_for_path ("some_file.txt");
var file_info = file.query_info ("*::*", 0);
int64 file_stamp =
file_info.get_attribute_int64(FileAttribute.TIME_ACCESS);
stdout.printf ("%" + int64.FORMAT + "\n", file_stamp);
But result is
TE_STANDARD_TYPE, 0);
int64 file_stamp =
file_info.get_attribute_int64(FileAttribute.TIME_ACCESS);
stdout.printf ("%" + int64.FORMAT + "\n", file_stamp);
return :
0
Someone could help me ? :)
Thanks
Raum
___
vala-list mailing list
Ehm, ok, I've finally understood :)
I've read too fast your first answer, sorry... (and english is not my
natural langage...)
Ok, well, thanks a lot :)
Regards
Raum
> Nope, it is not strange, it is what it should be.
>
> %lld is not valid on windows, so it is taken as %d.
Ok, the value stored in int type variable is correct (I mean 12) but try
the following code :
void main() {
int64 val6 = 96;
int val7 = (int) (val6 / 8);
stdout.printf ("val6: %lld, val7 : %d\n", val6, val7);
stdout.printf ("%d\n", val7);
}
output :
$ a
val6: 96, val7 : 0
12
Int6
My problem is not how to ouput an int64 but I need to divide a int64 by 8
and store the result in int type...
int64 val6 = 96;
int val7 = (int) (val6 / 8);
val7 = 0 ? Why ?
$ test
val1: 96, val2 : 0
val4: 96, val5 : 12
val6: 96, val7 : 0
$
Thanks
> You can also use int64.FORMAT lik
Ooops, wrong cut & paste, I mean :
(...)
int64 val1 = 96;
int64 val2 = val1 / 8;
stdout.printf ("val1: %lld, val2 : %lld\n", val1, val2);
int val4 = 96;
int val5 = val4 / 8;
stdout.printf ("val4: %d, v
There is something I do not understand. I try to make a simple operation
and here is the result.
(...)
int64 val1 = 96;
int64 val2 = val1 / 8;
stdout.printf ("val1: %lld, val2 : %d\n", val1, val2);
int val4 = 96;
int v
Hello,
I wondered if it 's possible to recover memory information or memory leaks
other than "mem_set_vtable(mem_profiler_table);" and without using a
third party software like valgrind ?
Thanks
Raum
___
vala-list mailing list
vala
Hello
You could try this package I've just compiled. It's running under MingW.
http://linbox.free.fr/cross-compile/binaries/vala-0.19.0-bin.tar.xz
And check this directory for libs and more :
http://linbox.free.fr/cross-compile/binaries
Regards
Raum
> On Wed, 20 Feb 2013 2
Ehm... you were right... thanks !! *\o/*
^__^
Regards
Raum
> On 12/12/2012 03:54 PM, r...@no-log.org wrote:
>> Hello,
>>
>> Could you have a look to this code :
>> http://pastebin.com/cscSFCEP
>>
>> My file name is template5.vala (yes, I've
add
method, so it shows "adding test2"... k
stdout.printf ("size : %d\n", o1.size); // it prints "size: 1" so object
"test2" has been added to o1... I think...
cObject o2 = o1.get(0);
stdout.printf ("++--> %s\n", o2.name); // it shows "null
pile/binaries/install/ et
http://linbox.free.fr/cross-compile/binaries/src).
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
I may have asked a bit too soon.
It seems TextView must go inside a scrolled window.
Forgive me ^___^
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
Hi,
I've got a problem with Gtk 3 / Glade... When I add too much lines in my
textview, it gets bigger and recovers the other widgets of my window !
Below, you could see my code... Where am I wrong ? Any advice ??
thanks
Regards
-- TEST4.VALA ---
terminated.
error: cc exited with status 1
Compilation failed: 1 error(s), 0 warning(s)
$
So... ehm.. I'll use --pkg gtk+-2.0 ^___^ (except if you have any idea :) )
Regards
Raum
- GTK1.VALA -
using Gtk;
int main (string[] args) {
Gtk.init (ref ar
Hello
It's ok... it's functionnal... just a bug :)
Regards
Raum
Le 05/10/2012 22:25, Raum a écrit :
Well, I'll provide an installation in the following directories :
d:\cross-compile\mingw (linked to /usr/local)
d:\cross-compile\msys (linked to /usr)
At the end of the pro
_mingw_CRTStartup':
C:\MinGW\msys\1.0\src\mingwrt/../mingw/crt1.c:193: undefined reference
to `__dyn_tls_init_callback'
collect2: ld returned 1 exit status
error: cc exited with status 1
Solution:
Le chemin vers PKG_CONFIG n'es tpas bon...
export PKG_CONFIG_PATH="/usr/local/li
Ok I've found my PKG_CONFIG environnement variable was wrong...
# export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig'
# valac -v -g test4.vala
# test4
Hello
*\o/*
Raum
> Hello,
>
> Thanks but it's not related to "libraries declaration" under Windows
Hello,
Thanks but it's not related to "libraries declaration" under Windows but
how I missed something when I've compiled Vala 0.18... or something
related to PATH
I think I should try to recompile and reinstall...
Thanks
Regards
Raum
> I learned that under Wind
1
Compilation failed: 1 error(s), 0 warning(s)
And at last, I could get errors from "libxml/tree.h not found"
Do you have some advices ?
Thanks
Raum
> Well... I've compiled and installed pkg-config-0.27.1 and it seems it's
> ok...
>
> L:\>valac test.vala
>
Well... I've compiled and installed pkg-config-0.27.1 and it seems it's ok...
L:\>valac test.vala
L:\>test
hello world
Sorry to have disturbed you for not much.. ^__^
Regards
Raum
ps: I'll prepare some packages to download in next hours...
glib-2.34.0-mingw32-bin.tar.xz
his problem ?! Did I break the
compilator when trying to compile with Mingw ?
Thanks
Raum
> Hi,
>
> Feel free to help me to improve (or correct ;-) ) this mini how-to and
> report if something doesn't work.
>
> Next step, I think I'll try to bundle clang... :-?
>
CFLAGS="-O0 -g -pipe -Wall -march=i686 -mms-bitfields -mthreads"
./configure --prefix=/build --with-pcre=internal --enable-silent-rules
--disable-modular-tests
# make
# make install
and it's ok...
Regards
Raum
ps: I'm preparing packages for vala 0.18.0, glib 2.34, libgee,
t; /src/glib-2.34.0# ./configure --prefix=/build --with-pcre=internal
> --enable-silent-rules --disable-modular-tests --disable-static
>
> (perhaps we need these variables...not sure)
> export CPPFLAGS="-DG_ATOMIC_OP_USE_GCC_BUILTINS=1"
> export LDFLAGS="-Wl,--enable-a
Ok, so which one ? the "traversable" thing is implemented since Libgee
0.7.. :-?
And a thing which also irritates me (sorry...), it is to see the
documentation referring now to the version 0.8...
http://valadoc.org/libgee-0.8/index.htm
Thanks
Raum
> On Thu, Sep 27, 2012 at 10:
ct : Object, Iterable {
>^^^
Do you have a sample of code for this ? Because, due of lack of
documentation, I didn't understand exactly why now I need to use
"traversable".
Thanks :)
Raum
ps: to compile libgee, If you followed my p
Adjustement
# cd /src/glib-2.34.0/
# export LIBFFI_CFLAGS='-I /mingw/lib/libffi-3.0.11/include'
# export LIBFFI_LIBS=-lffi
# export CFLAGS="-O0 -g -pipe -Wall -march=i686 -mms-bitfields -mthreads"
# configure --prefix=/build --disable-modular-tests
# make
> Hello,
>
> I've tried to compile libgee
;
export lt_cv_deplibs_check_method="pass_all"
()
/src/glib-2.34.0# make
/src/glib-2.34.0# make install
And that's probably all...
Have fun
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
Hi,
Feel free to help me to improve (or correct ;-) ) this mini how-to and
report if something doesn't work.
Next step, I think I'll try to bundle clang... :-?
Thanks
Raum
(...)
I think I've successed to compile vala 0.18 under Windows. You could have
a look to my page (ta
Hello,
I think I've successed to compile vala 0.18 under Windows. You could have
a look to my page (tarball available for testing) :
http://linbox.free.fr/vala
Here it is :
--
How to compile Vala under Windows
--
# First step :
c:\
ommend you give it up and compile
>Vala directly on Windows. But maybe that's just be being angsty.
Ehm... ok... something like "w32api" ? Well, I'll see for mingw32
compilation... I wish it's more easy ;)
Thanks
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
e répertoire « /compil/vala »
make: *** [all] Erreur 2
Do you have some hints ?? :)
Thanks
Raum
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
Really strange...
This code below is correct and a window appears !
==
using GLib;
using SDL;
int WinMain(string[] argc)
{
SDL.Surface *screen;
if( SDL.init( InitFlag.VIDEO ) < 0 )
{
stdout.printf( "Impossible d'initialiser SDL: %s\n",
SDL
Ehm.. I don't have any idea or any clue
I've tried to create C code and compile it :
-
/* test2.c generated by valac 0.12.0, the Vala compiler
* generated from test2.vala, do not modify */
#include
#include
#include
#include
#include
#i
Well, I've tried but I've got the same error.
SDL package : SDL-devel-1.2.15-mingw32.tar.gz
(copy files from tarball to directories "include", "lib" and "bin").
To correct a "-lcom32dlg" error, I've installed :
http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-3.17/w32api-3.17-
Ehm, perhaps I can't use Visual Studio dependencies with MinGW.
I've downloaded these packages :
http://www.libsdl.org/release/SDL-devel-1.2.15-VC.zip
Perhaps I should download (gasp, =__= I didnt notice..)
http://www.libsdl.org/release/SDL-devel-1.2.15-mingw32.tar.gz
I'll try and keep you infor
Hello,
I've got this message :
---
C:\vala-0.12.0>valac --pkg sdl -X -lsdl -X -mwindows --verbose test2.vala
gcc -o 'C:/vala-0.12.0\test2' 'C:/vala-0.12.0/test2.vala.c' -mms-bitfields
-Ic:/vala-0.12.0/include/glib-2.0 -Ic:/vala-0.12.0/lib/glib-2.0/include
-
int main (string[] args) {
>stdout.printf ("Hello world!");
>return 0;
> }
> --
>
> Result :
> ---
>>>valac --pkg sdl test2.vala
>
>>>test2
> Hello world!
> --
>
> Where am i wrong ?
>
> Thanks !
>
> Regards
>
> Raum
>
>
>
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
---
>>valac --pkg sdl test2.vala
>>test2
Hello world!
--
Where am i wrong ?
Thanks !
Regards
Raum
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
79 matches
Mail list logo