In libgvc.vapi :
[CCode (cname = "gvLayout")]
public int layout (Graph graph, [CCode (type = "char*")] string
layout_engine);
Does [CCode (type = "char*")] limit string to ascii only?
If not should I just use char*?
___
vala-list mailing list
https://raw.githubusercontent.com/agrellum/NetRexx-Samples/master/vala.syntax
See this post to add it.
https://superuser.com/questions/386904/is-it-possible-and-how-make-user-customization-for-syntax-highlighting-in-buil
___
vala-list mailing list
You can look at the old code base here.
https://sourceforge.net/p/netrexx/code/ci/netrexx4android/tree/GObjexx.tar.gz?format=raw
Just want to get it out there and working.
Can not think and reason like I used too.
___
vala-list mailing list
Thanks, for the replys.
Finishing a Vala project, I started 3 years ago.
The Rexx data type and functions for the GObject system.
Just writing unit tests and working out bugs.
I am working with unichar in Vala.
From Wikipedia,
"Unicode 11.0, contains a repertoire of 137,439 characters" -
// simple vala code
void main () {
long i = 77;
stdout.printf ("%ld\n", i);
// outputs 77
stdout.printf ("%u\n", uint.MIN);
// outputs 0
if (i < uint.MIN) {
stdout.printf ("Never made it here.\n");
}
stdout.printf ("%u\n", uint.MAX);
// outputs 4294967295
//
error: unexpected token:
* The '//' operator.
using this code documentation
/**
* The '//' operator.
*/
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
#pkg install pkg://openindiana.org/developer/vala
Thanks for answering my questions.
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
ot convert message: Conversion from character set 'UTF-8' to
'646' is not supported
Conversion from character set '646' to 'UTF-8' is not supported
Terminated
Could be how iconv, glib or dbus is built or setup here.
On Wed, Nov 8, 2017 at 9:54 AM, Jason Martin <agrel...@gmail.com> wrote:
>
This is my latest patch with some things removed. CC fixed in oi-userland
Makefile and removed more cflags to build 32 and 64
https://github.com/agrellum/oi-userland/blob/vala/components/developer/vala/patches/tests.patch
Four tests failed but I now have test snapshots setup.
All but three pass now. My patch below. Comments might help someone.
/control-flow/bug736774-2
ERROR:/export/home/agrellum/vala-0.36.6/tests/_test/main.c:111:control_flow_bug736774_2_main:
assertion failed: (keep != "test")
control_flow.bug736774_2.check: line 2: 17168 Abort
Should test enum-string-marshalling.vala include a Packages: statement?
gio-unix-2.0 posix
I got my tests somewhat working but I had to create a run one at a time
script.
#!/usr/bin/env bash
for testfile in "$@"; do
echo $testfile
./testone.sh $testfile
done
244 Pass OK. The ones
Just a update:
I settled with just "printf" and not "env printf" in the patch for
testrunner.sh
System has multiple compilers and I found that out using by adding valac -v
flag in VALAFLAGS in testrunner.sh
Had to add VALAFLAGS="$VALAFLAGS --cc=gcc ; this might
be a flag
I have replaced echo -n -e or echo -e and I think that works. (patch below)
And I get a _test dir under tests but I do not think the check files are
right.
Example: annotations.deprecated.check
set -e
./test /annotations/deprecated
And my main.vala has all tests combined in one big program.
It looks like the first echo -n problem is on line 222 in testrunner.sh
if $VALAC $VALAFLAGS -o test$EXEEXT $([ -z "$PACKAGES" ] || echo $PACKAGES
| xargs -n 1 echo -n " --pkg") main.vala &>log; then
TEST: Building... FAIL
Unknown option -n
Trying to update to vala-0.36.6 from vala-0.36.4 but on solaris or sunos:
echo takes no options.
>From checkall:
echo -n -e " /basic-types/integers: \033[72G"
((all++))
if bash basic_types.integers.check &>log; then
echo -e "\033[0;32mOK\033[m"
else
((fail++))
echo -e
GLib.Math.pow10.vala
GLib.Math.pow10f.vala
These functions are missing on some platforms:
Some of the core dumps are truly meant to be core dumps.
Maybe a good vala example (someone more qualified than me) of trapping
signals would be handy?
___
With help; got developer/vala (openindiana.org) 0.36.4-2017.0.0.2
into https://github.com/OpenIndiana/oi-userland
940 examples from https://github.com/valadoc/valadoc-org
62 examples from https://github.com/acmeism/RosettaCodeData
974 PASSED
Skipped --pkg gee-1.0 and some more examples
Still
Redone with OpenIndiana Hipster's primary build framework oi-userland
https://github.com/OpenIndiana/oi-userland
Still get cores with all my build variations
Example GLib.Array.prepend_vals.vala gdb states:
0xfec96f9b in strlen () from /lib/libc.so.1
Then I installed the Vala 0.29.3 from:
I am porting some Java software to Vala but I cannot understand why the
following code will not work like I think it should.
Vala 0.26.2, libgee-0.8 on Xubuntu 15.04
Thanks in advance. I have used many variations and casts but I cannot get
@get or has_key for Gee.HashMap to work. (website
19 matches
Mail list logo