[prev in list] [next in list] [prev in thread] [next in thread]
List: monetdb-checkins
Subject: MonetDB: pyapi - Merge with default branch.
From: Sjoerd Mullender <commits () monetdb ! org>
Date: 2015-04-30 7:41:59
Message-ID: hg.26d840949c0a.1430379719.6315528441665844383 () monetdb2 ! cwi-incubator ! nl
[Download RAW message or body]
Changeset: 26d840949c0a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=26d840949c0a
Modified Files:
NT/wincompile.py
clients/Tests/MAL-signatures.stable.out
clients/Tests/MAL-signatures.stable.out.int128
clients/mapiclient/Tests/tomograph--help.stable.err
clients/mapiclient/eventparser.c
clients/mapiclient/eventparser.h
clients/mapiclient/tachograph.c
clients/mapiclient/tomograph.c
Branch: pyapi
Log Message:
Merge with default branch.
diffs (truncated from 1135 to 300 lines):
diff --git a/NT/wincompile.py b/NT/wincompile.py
--- a/NT/wincompile.py
+++ b/NT/wincompile.py
@@ -65,6 +65,7 @@ def process(args, recursive = False):
dirname = os.path.dirname(arg)
p = subprocess.Popen(['lib', '/nologo', '/list', arg],
shell = False,
+ universal_newlines = True,
stdout = subprocess.PIPE)
for f in p.stdout:
argv.append(os.path.join(dirname, f.strip()))
@@ -78,10 +79,11 @@ argv = process(sys.argv[1:])
if verbose:
sys.stdout.write('EXECUTE: %s\n' % ' '.join(argv))
sys.stdout.flush()
-p = subprocess.Popen(argv, shell = False, stdout = subprocess.PIPE, stderr = \
subprocess.PIPE) +p = subprocess.Popen(argv, shell = False, universal_newlines = \
True, + stdout = subprocess.PIPE, stderr = subprocess.PIPE)
out, err = p.communicate()
-sys.stdout.write(out.replace('\r\n', '\n'))
-sys.stderr.write(err.replace('\r\n', '\n'))
+sys.stdout.write(out)
+sys.stderr.write(err)
if p.returncode and not verbose:
sys.stderr.write('failed invocation: %s\n' % ' '.join(argv))
sys.stderr.flush()
diff --git a/clients/Tests/MAL-signatures.stable.out \
b/clients/Tests/MAL-signatures.stable.out
--- a/clients/Tests/MAL-signatures.stable.out
+++ b/clients/Tests/MAL-signatures.stable.out
@@ -37722,7 +37722,7 @@ command color.color(s:str):color
address CLRcolor;
comment Converts string to color
-command color.#fromstr():color
+command color.#fromstr():void
address color_fromstr;
command color.green(c:color):int
address CLRgreen;
@@ -37764,7 +37764,7 @@ command color.str(s:color):str
address CLRstr;
comment Converts color to string
-command color.#tostr():str
+command color.#tostr():void
address color_tostr;
command color.value(c:color):flt
address CLRvalue;
@@ -37802,13 +37802,13 @@ pattern daytime.>(v:daytime,w:daytime):b
address CMDvarGT;
comment Equality of two daytimes
-command daytime.#fromstr():daytime
+command daytime.#fromstr():void
address daytime_tz_fromstr;
pattern daytime.isnil(v:daytime):bit
address CMDvarISNIL;
comment Nil test for daytime value
-command daytime.#tostr():str
+command daytime.#tostr():void
address daytime_tostr;
pattern date.!=(v:date,w:date):bit
address CMDvarNE;
@@ -37838,13 +37838,13 @@ command date.date(s:date):date
address MTIMEdate_date;
comment Noop routine.
-command date.#fromstr():date
+command date.#fromstr():void
address date_fromstr;
pattern date.isnil(v:date):bit
address CMDvarISNIL;
comment Nil test for date value
-command date.#tostr():str
+command date.#tostr():void
address date_tostr;
command factories.getDeparture():bat[:oid,:timestamp]
address FCTgetDeparture;
@@ -38364,7 +38364,7 @@ command inet.broadcast(X_1:inet):inet
address INETbroadcast;
comment Returns the broadcast address for network
-command inet.#cmp():int
+command inet.#cmp():void
address INETcompare;
command inet.#fromstr():void
address INETfromString;
@@ -38398,7 +38398,7 @@ command inet.new(s:str):inet
address INETnew;
comment Create an inet from a string literal
-command inet.#null():inet
+command inet.#null():void
address INETnull;
command inet.setmasklen(X_1:inet,X_2:int):inet
address INETsetmasklen;
@@ -38562,7 +38562,7 @@ command json.filter(name:json,pathexpr:s
address JSONfilter;
comment Filter all members of an object by a path expression, returning an \
array.Non-matching elements are skipped.
-command json.#fromstr():json
+command json.#fromstr():void
address JSONfromString;
comment Validate a string to be JSON compliant. A NOOP if valid json, NULL \
otherwise.
@@ -38644,7 +38644,7 @@ command json.text(j:json):str
address JSONjson2text;
comment Convert JSON values to their plain string equivalent.
-command json.#tostr():str
+command json.#tostr():void
address JSONtoString;
comment Convert JSON to its string equivalent. Dealing with escape characters
@@ -39034,19 +39034,19 @@ pattern mal.manifold(mod:str,fcn:str,a:a
address MANIFOLDevaluate;
pattern mal.multiplex(mod:str,fcn:str,a:any...):any...
address MANIFOLDremapMultiplex;
-command mbr.#cmp():int
+command mbr.#cmp():void
address mbrCOMP;
-command mbr.#fromstr():mbr
+command mbr.#fromstr():void
address mbrFROMSTR;
-command mbr.#hash():int
+command mbr.#hash():void
address mbrHASH;
command mbr.mbr(v:str):mbr
address mbrFromString;
-command mbr.#null():int
+command mbr.#null():void
address mbrNULL;
command mbr.#read():void
address mbrREAD;
-command mbr.#tostr():str
+command mbr.#tostr():void
address mbrTOSTR;
command mbr.#write():void
address mbrWRITE;
@@ -41287,7 +41287,7 @@ pattern sysmon.stop(id:int):void
address SYSMONstop;
pattern sysmon.stop(id:sht):void
address SYSMONstop;
-command timezone.#fromstr():timezone
+command timezone.#fromstr():void
address tzone_fromstr;
command timezone.str(z:timezone):str
address MTIMEtzone_tostr;
@@ -41297,7 +41297,7 @@ comment Utility function to create a tim
command timezone.timestamp(s:str):timestamp
address MTIMEtimestamp_fromstr;
-command timezone.#tostr():str
+command timezone.#tostr():void
address tzone_tostr;
pattern timestamp.!=(v:timestamp,w:timestamp):bit
address CMDvarNE;
@@ -41339,13 +41339,13 @@ command timestamp.epoch{unsafe}():timest
address MTIMEcurrent_timestamp;
comment unix-time (epoch) support: seconds since the Unix epoch
-command timestamp.#fromstr():timestamp
+command timestamp.#fromstr():void
address timestamp_fromstr;
pattern timestamp.isnil(v:timestamp):bit
address CMDvarISNIL;
comment Nil test for timestamp value
-command timestamp.#tostr():str
+command timestamp.#tostr():void
address timestamp_tostr;
command timestamp.unix_epoch{unsafe}():timestamp
address MTIMEunix_epoch;
@@ -41451,7 +41451,7 @@ command udf.reverse(ra1:str):str
address UDFreverse;
comment Reverse a string
-command url.#fromstr():url
+command url.#fromstr():void
address URLfromString;
comment Convert a string to an url.
@@ -41519,7 +41519,7 @@ command url.new(p:str,h:str,prt:int,f:st
address URLnew4;
comment Construct URL from protocol, host, port, and file
-command url.#tostr():str
+command url.#tostr():void
address URLtoString;
comment Convert url to string equivalent
@@ -41531,11 +41531,11 @@ command url.url(s:str):url
address URLnew;
comment Create an URL from a string literal
-command uuid.#cmp():int
+command uuid.#cmp():void
address UUIDcompare;
-command uuid.#fromstr():uuid
+command uuid.#fromstr():void
address UUIDfromString;
-command uuid.#hash():int
+command uuid.#hash():void
address UUIDhash;
command uuid.isaUUID(u:str):bit
address UUIDisaUUID;
@@ -41545,45 +41545,45 @@ command uuid.new():uuid
address UUIDgenerateUuid;
comment Generate a new uuid
-command uuid.#null():uuid
+command uuid.#null():void
address UUIDnull;
command uuid.prelude():void
address UUIDprelude;
-command uuid.#read():uuid
+command uuid.#read():void
address UUIDread;
command uuid.str(u:uuid):str
address UUIDuuid2str;
comment Coerce a uuid to its string type
-command uuid.#tostr():str
+command uuid.#tostr():void
address UUIDtoString;
command uuid.uuid(s:str):uuid
address UUIDstr2uuid;
comment Coerce a string to a uuid, validating its format
-command uuid.#write():int
+command uuid.#write():void
address UUIDwrite;
command wkb.FromText{unsafe}(w:str,type:int):wkb
address wkbFromText;
-command wkb.#cmp():int
+command wkb.#cmp():void
address wkbCOMP;
-command wkb.#del():int
+command wkb.#del():void
address wkbDEL;
-command wkb.#fromstr():wkb
+command wkb.#fromstr():void
address wkbFROMSTR;
-command wkb.#heap():int
+command wkb.#heap():void
address wkbHEAP;
-command wkb.#hash():int
+command wkb.#hash():void
address wkbHASH;
-command wkb.#length():int
+command wkb.#length():void
address wkbLENGTH;
-command wkb.#null():int
+command wkb.#null():void
address wkbNULL;
-command wkb.#put():int
+command wkb.#put():void
address wkbPUT;
command wkb.#read():void
address wkbREAD;
-command wkb.#tostr():str
+command wkb.#tostr():void
address wkbTOSTR;
command wkb.wkb{unsafe}(v:str):wkb
address wkbFromString;
@@ -41637,7 +41637,7 @@ pattern xml.forest(val:xml...):xml
address XMLforest;
comment Construct an element list
-command xml.#fromstr():xml
+command xml.#fromstr():void
address XMLfromString;
comment Convert a string to an xml.
@@ -41675,7 +41675,7 @@ command xml.text(src:xml):str
address XMLxmltext;
comment Extract text from an xml atom
-command xml.#tostr():str
+command xml.#tostr():void
address XMLtoString;
comment Convert xml to string equivalent
@@ -41731,9 +41731,9 @@ command zrule.define(m:int,d:int,w:int,h
address MTIMEruleDef0;
comment Introduce a synomym timezone rule.
-command zrule.#fromstr():zrule
+command zrule.#fromstr():void
address rule_fromstr;
-command zrule.#tostr():str
+command zrule.#tostr():void
address rule_tostr;
# 21:33:51 >
diff --git a/clients/Tests/MAL-signatures.stable.out.int128 \
b/clients/Tests/MAL-signatures.stable.out.int128
--- a/clients/Tests/MAL-signatures.stable.out.int128
+++ b/clients/Tests/MAL-signatures.stable.out.int128
@@ -48605,7 +48605,7 @@ command color.color(s:str):color
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic