Parrot 6.10.0 "New Caledonian lorikeet" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Fridays 13:30 UTC
Set by moderator on 21 November 2014.
01:55 kid51 joined 07:43 bighugedog joined 07:52 Reini joined
dalek rrot: d4cc5c2 | rurban++ | / (3 files):
[GH #828] Optimize print_n/i and say_n/i

print_n/nc/i/ic and the say variants go through a full Parrot_io_printf with 3 va_start/va_end scenarios and a custom format string parser, and through char* -> STRING->char* conversion until the fixed FLOATVAL_FMT or INTVAL_FMT printf is done. Just to print a single int or number.
This also lost precision for non-double floatval's - if cast to (double). Now avoided.
08:05
rrot/smoke-me/va_arg-float-gh828: df855de | rurban++ | / (3 files):
[config] Extend auto::infnan probe to other --floatval #1146

also check the real output for isnan and isinf. maybe we should also check for NAN != NAN
08:08
rrot/smoke-me/va_arg-float-gh828: bf6a756 | rurban++ | / (3 files):
[GH# 828] Avoid passsing non-double through va_list

va_list does not support float, long double nor __float128 on most systems. Promote FLOATVAL to double to avoid that.
rrot/smoke-me/va_arg-float-gh828: 944f977 | rurban++ | / (7 files):
[GH #828] Fix most tests for non-double floatval

Add more needed precisions to numeric tests, tested with intel long double.
Change a magic number in t/library/test_more.t 888.81<=>888.82 1e-2
   was not stable enough for intel long double
Use t/pmc/testlib/annotations.pbc for binary comparisons of packfiles since
   stringifying non-double numbers is not stable enough.
Fix src/dynoplibs/sys.ops doublesize to numvalsize. This only works for double.
rrot/smoke-me/va_arg-float-gh828: e53dc70 | rurban++ | / (4 files):
[GH #828] Probe if double is needed for va_arg or if native floatval does fine

Set new feature.h PARROT_VA_PTR_FLOATVAL to double or the given floatval, and use it in src/call/args.c
Print "stack|register (double)" in Configure va_arg result if a cast is required and precision is lost.
Still some va_arg casts missing, multidispatch.t and nci.t fail.
rrot/smoke-me/va_arg-float-gh828: e619be3 | rurban++ | src/ (2 files):
[GH #828] Use more va_arg PARROT_VA_PTR_FLOATVAL
rrot/smoke-me/va_arg-float-gh828: 135b0c5 | rurban++ | config/gen/config_h/feature_h.in:
[cage] ident #define properly
rrot/smoke-me/va_arg-float-gh828: 2cfa257 | rurban++ | src/pmc/float.pmc:
use PARROT_VA_PTR_FLOATVAL in float.pmc
08:17 travis-ci joined
travis-ci parrot/parrot#1316 (master - d4cc5c2 : Reini Urban): The build passed. 08:17
Change view : github.com/parrot/parrot/compare/9...cc5c2300bd
Build details : travis-ci.org/parrot/parrot/builds/41792010
08:17 travis-ci left 08:25 travis-ci joined
travis-ci parrot/parrot#1317 (smoke-me/va_arg-float-gh828 - 2cfa257 : Reini Urban): The build failed. 08:25
Change view : github.com/parrot/parrot/compare/d...fa2570ee2c
Build details : travis-ci.org/parrot/parrot/builds/41792169
08:25 travis-ci left
dalek rrot/smoke-me/nan-tests-gh1147: 1f93182 | rurban++ | / (3 files):
math dynop: Fix cmod_p_p_n* for NaN and Inf #1147

Return a string in this case.
12:14
rrot/smoke-me/nan-tests-gh1147: 682465a | rurban++ | / (3 files):
math dynop: Fix cmod_p_p_n* for NaN and Inf #1147

Return a string in this case.
12:26
12:27 travis-ci joined
travis-ci parrot/parrot#1318 (smoke-me/nan-tests-gh1147 - 1f93182 : Reini Urban): The build passed. 12:27
Change view : github.com/parrot/parrot/commit/1f93182a58a9
Build details : travis-ci.org/parrot/parrot/builds/41800502
12:27 travis-ci left 12:41 travis-ci joined
travis-ci parrot/parrot#1319 (smoke-me/nan-tests-gh1147 - 682465a : Reini Urban): The build passed. 12:41
Change view : github.com/parrot/parrot/compare/1...2465a65d8f
Build details : travis-ci.org/parrot/parrot/builds/41801161
12:41 travis-ci left 13:35 kid51 joined
dalek rrot/smoke-me/nan-tests-gh1147+422: 682465a | rurban++ | / (3 files):
math dynop: Fix cmod_p_p_n* for NaN and Inf #1147

Return a string in this case.
13:55
rrot/smoke-me/nan-tests-gh1147+422: c910c1d | rurban++ | / (9 files):
[core] Fix floor, ceil and complex, integer math ops for NaN/Inf

Closes #422: Rounding Inf and NaN (in fact all math ops with floats), throw EXCEPTION_LOSSY_CONVERSION, "Invalid number" when Nan/Inf => Int otherwise returns a String PMC or if Float passes Nan/Inf through.
Closes GH #1147, no remaining NaN/Inf TODO tests.
14:08 travis-ci joined
travis-ci parrot/parrot#1320 (smoke-me/nan-tests-gh1147+422 - c910c1d : Reini Urban): The build passed. 14:08
Change view : github.com/parrot/parrot/compare/6...10c1db1ae1
Build details : travis-ci.org/parrot/parrot/builds/41805453
14:08 travis-ci left
dalek rrot: df855de | rurban++ | / (3 files):
[config] Extend auto::infnan probe to other --floatval #1146

also check the real output for isnan and isinf. maybe we should also check for NAN != NAN
14:29
rrot: 682465a | rurban++ | / (3 files):
math dynop: Fix cmod_p_p_n* for NaN and Inf #1147

Return a string in this case.
rrot: c910c1d | rurban++ | / (9 files):
[core] Fix floor, ceil and complex, integer math ops for NaN/Inf

Closes #422: Rounding Inf and NaN (in fact all math ops with floats), throw EXCEPTION_LOSSY_CONVERSION, "Invalid number" when Nan/Inf => Int otherwise returns a String PMC or if Float passes Nan/Inf through.
Closes GH #1147, no remaining NaN/Inf TODO tests.
rrot: 1c30618 | rurban++ | t/pmc/integer.t:
[test] fix t/pmc/integer.t for long double

GH #828
rrot: 7b712b4 | rurban++ | src/ops/math.ops:
[codingstd] fix hard tabs in math.ops
rrot/smoke-me/nan-tests-gh1147+422: 1c30618 | rurban++ | t/pmc/integer.t:
[test] fix t/pmc/integer.t for long double

GH #828
14:40 travis-ci joined
travis-ci parrot/parrot#1322 (smoke-me/nan-tests-gh1147+422 - 1c30618 : Reini Urban): The build has errored. 14:40
Change view : github.com/parrot/parrot/compare/c...30618e1fad
Build details : travis-ci.org/parrot/parrot/builds/41807331
14:40 travis-ci left 14:42 travis-ci joined
travis-ci parrot/parrot#1321 (master - 7b712b4 : Reini Urban): The build passed. 14:42
Change view : github.com/parrot/parrot/compare/d...712b41e587
Build details : travis-ci.org/parrot/parrot/builds/41807322
14:42 travis-ci left
dalek rrot: e25be6d | rurban++ | / (3 files):
[config] Configure warn_experimental flags

warn on non-default gc, intval and floatval. Closes #1148
15:14
15:26 travis-ci joined
travis-ci parrot/parrot#1323 (master - e25be6d : Reini Urban): The build passed. 15:26
Change view : github.com/parrot/parrot/compare/7...5be6df87ca
Build details : travis-ci.org/parrot/parrot/builds/41809977
15:26 travis-ci left
dalek rrot/smoke-me/test-capture-gh892: ce4d422 | rurban++ | / (6 files):
[GH #892] Implement our own capture, rm lib/IO/CaptureOutput.pm

No need to ship a IO::CaptureOutput. Use the new capture function in t/configure/033-step.t and t/configure/034-step.t. t/configure/034-step.t tests now the new replace_stash option correctly. See [GH #891].
15:27
15:41 travis-ci joined
travis-ci parrot/parrot#1324 (smoke-me/test-capture-gh892 - ce4d422 : Reini Urban): The build passed. 15:41
Change view : github.com/parrot/parrot/compare/5...4d42296e11
Build details : travis-ci.org/parrot/parrot/builds/41810755
15:41 travis-ci left
dalek rrot/smoke-me/intval-int-gh1145: df24a36 | rurban++ | include/parrot/parrot.h:
[core] work on --intval=int support, ptr truncation

See GH #1145 This fixes the truncated func ptr in NativePCCMethod.invoke
16:10
rrot/rurban/va_arg-float-gh828: bf6a756 | rurban++ | / (3 files):
[GH# 828] Avoid passsing non-double through va_list

va_list does not support float, long double nor __float128 on most systems. Promote FLOATVAL to double to avoid that.
16:11
rrot/rurban/va_arg-float-gh828: 944f977 | rurban++ | / (7 files):
[GH #828] Fix most tests for non-double floatval

Add more needed precisions to numeric tests, tested with intel long double.
Change a magic number in t/library/test_more.t 888.81<=>888.82 1e-2
   was not stable enough for intel long double
Use t/pmc/testlib/annotations.pbc for binary comparisons of packfiles since
   stringifying non-double numbers is not stable enough.
Fix src/dynoplibs/sys.ops doublesize to numvalsize. This only works for double.
rrot/rurban/va_arg-float-gh828: e53dc70 | rurban++ | / (4 files):
[GH #828] Probe if double is needed for va_arg or if native floatval does fine

Set new feature.h PARROT_VA_PTR_FLOATVAL to double or the given floatval, and use it in src/call/args.c
Print "stack|register (double)" in Configure va_arg result if a cast is required and precision is lost.
Still some va_arg casts missing, multidispatch.t and nci.t fail.
rrot/rurban/va_arg-float-gh828: e619be3 | rurban++ | src/ (2 files):
[GH #828] Use more va_arg PARROT_VA_PTR_FLOATVAL
rrot/rurban/va_arg-float-gh828: 135b0c5 | rurban++ | config/gen/config_h/feature_h.in:
[cage] ident #define properly
rrot/rurban/va_arg-float-gh828: 2cfa257 | rurban++ | src/pmc/float.pmc:
use PARROT_VA_PTR_FLOATVAL in float.pmc
16:23 travis-ci joined
travis-ci parrot/parrot#1325 (smoke-me/intval-int-gh1145 - df24a36 : Reini Urban): The build passed. 16:23
Change view : github.com/parrot/parrot/commit/df24a36eb830
Build details : travis-ci.org/parrot/parrot/builds/41813140
16:23 travis-ci left 16:36 Reini joined 16:58 Hunger joined 17:52 FROGGS__ joined
dalek rrot/smoke-me/null-call-gh1024: be882a2 | rurban++ | / (5 files):
More fixes when calling an empty const Sub from :immediate #1024

Throw on NULL PMC arguments also for CallContext (sub args) with "CallContext: Empty PMC argument" Closes GH #1024, t/compilers/imcc/syn/const.t test 41
18:21
18:33 travis-ci joined
travis-ci parrot/parrot#1326 (smoke-me/null-call-gh1024 - be882a2 : Reini Urban): The build was broken. 18:33
Change view : github.com/parrot/parrot/commit/be882a275431
Build details : travis-ci.org/parrot/parrot/builds/41820695
18:33 travis-ci left 18:59 kid51_ joined
dalek rrot/smoke-me/null-call-gh1024: 17897ad | rurban++ | / (11 files):
WONTFIX empty registers -1 from :immediate #1024

We cannot fix :immediate for such all cases, as the globals are not fixed up within compile-time :immediate calls by definition, they are even cleared to be fixed up by the immediate call. See trac.parrot.org/parrot/ticket/1324 Disable t/compilers/imcc/syn/const.t test 41
But add --debugging assertions for most cases: set_p_pc, set_p_p. Also throw on NULL PMC arguments for CallContext (sub args) with "CallContext: Empty PMC argument"
Closes GH #1024
21:18
rrot/smoke-me/null-call-gh1024: 4f11a9b | rurban++ | src/ops/ (2 files):
[core] better set_p_p? assertions #1024
21:25
rrot: 17897ad | rurban++ | / (11 files):
WONTFIX empty registers -1 from :immediate #1024

We cannot fix :immediate for such all cases, as the globals are not fixed up within compile-time :immediate calls by definition, they are even cleared to be fixed up by the immediate call. See trac.parrot.org/parrot/ticket/1324 Disable t/compilers/imcc/syn/const.t test 41
But add --debugging assertions for most cases: set_p_pc, set_p_p. Also throw on NULL PMC arguments for CallContext (sub args) with "CallContext: Empty PMC argument"
Closes GH #1024
21:29
rrot: 4f11a9b | rurban++ | src/ops/ (2 files):
[core] better set_p_p? assertions #1024
21:30 travis-ci joined
travis-ci parrot/parrot#1327 (smoke-me/null-call-gh1024 - 17897ad : Reini Urban): The build was fixed. 21:30
Change view : github.com/parrot/parrot/compare/b...897adc34f2
Build details : travis-ci.org/parrot/parrot/builds/41831729
21:30 travis-ci left 21:42 travis-ci joined
travis-ci parrot/parrot#1328 (smoke-me/null-call-gh1024 - 4f11a9b : Reini Urban): The build was fixed. 21:42
Change view : github.com/parrot/parrot/compare/1...11a9bb9bc1
Build details : travis-ci.org/parrot/parrot/builds/41832198
21:42 travis-ci left 21:52 travis-ci joined
travis-ci parrot/parrot#1329 (master - 4f11a9b : Reini Urban): The build passed. 21:52
Change view : github.com/parrot/parrot/compare/e...11a9bb9bc1
Build details : travis-ci.org/parrot/parrot/builds/41832629
21:52 travis-ci left 22:29 lauleon joined
dalek rrot/smoke-me/intval-int-gh1145: 891dd90 | rurban++ | include/parrot/parrot.h:
[core] work on --intval=int support, ptr truncation

See GH #1145 This fixes the truncated func ptr in NativePCCMethod.invoke
23:15
rrot/smoke-me/intval-int-gh1145: e963637 | rurban++ | / (11 files):
intval=int: fixed several ptr<->intval casts

See GH #1145
23:27 travis-ci joined
travis-ci parrot/parrot#1330 (smoke-me/intval-int-gh1145 - e963637 : Reini Urban): The build passed. 23:27
Change view : github.com/parrot/parrot/compare/d...6363701553
Build details : travis-ci.org/parrot/parrot/builds/41838714
23:27 travis-ci left