[parrot/parrot] 721ca7: nci: bring back t sig, for nci cstring support

GitHub noreply at github.com
Wed Jan 14 17:41:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 721ca731aa94053adaaa4051e7bb85a0d07350fe
      https://github.com/parrot/parrot/commit/721ca731aa94053adaaa4051e7bb85a0d07350fe
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M include/parrot/nci.h
    M src/nci/libffi.c
    M src/nci/signatures.c

  Log Message:
  -----------
  nci: bring back t sig, for nci cstring support

WIP. needed in most external code. #601


  Commit: 34f28acb1ac87d8cbefff4d50f384352488d484d
      https://github.com/parrot/parrot/commit/34f28acb1ac87d8cbefff4d50f384352488d484d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M include/parrot/datatypes.h
    M src/nci/libffi.c
    M src/nci/signatures.c
    M src/pmc/structview.pmc

  Log Message:
  -----------
  nci: add cstr, pshort/pint/plong

the old 't' type as string,
and the pnum types for PMC access to integers (Integer).

fail: only t/pmc/nci_13.pir v (void) special-case


  Commit: 810217e84578e04ac02955d297022441ecdbcdc4
      https://github.com/parrot/parrot/commit/810217e84578e04ac02955d297022441ecdbcdc4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M src/nci/libffi.c
    M src/nci/signatures.c

  Log Message:
  -----------
  nci: special-case v signature (void)

void needs to be rhs singleton. check for this at run-time,
not just compile-time.

also improve and harmonize the nci exception messages


  Commit: d49cce75cf088b3a9506064e03894d81b546b351
      https://github.com/parrot/parrot/commit/d49cce75cf088b3a9506064e03894d81b546b351
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M src/libnci_test.def
    M src/nci_test.c
    M t/pmc/nci.t

  Log Message:
  -----------
  nci: re-add old nci tests for t,2,3,4  [GH #601]

WIP


  Commit: 96b9985aa782d13f229ebd600fee0fa83238978e
      https://github.com/parrot/parrot/commit/96b9985aa782d13f229ebd600fee0fa83238978e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog for rurban/t-nci-sig-gh601

SDL is now usable again. #436, #601, #605


  Commit: 531f7be87802bb5894ea2eb07f3a7a538f231fd9
      https://github.com/parrot/parrot/commit/531f7be87802bb5894ea2eb07f3a7a538f231fd9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M t/pmc/nci.t

  Log Message:
  -----------
  [test] tune the nci tests a bit


  Commit: 7e6afa15c2604147895e4141c5059198242a712e
      https://github.com/parrot/parrot/commit/7e6afa15c2604147895e4141c5059198242a712e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M src/call/args.c
    M t/pmc/nci.t

  Log Message:
  -----------
  [test] fix nci.t nci_pv, skip the v sig in args

And harmonize one more wrong signature type error message.


  Commit: 58cf310fa5fe27d2b9a1f9269ebf1194ceeacb19
      https://github.com/parrot/parrot/commit/58cf310fa5fe27d2b9a1f9269ebf1194ceeacb19
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M src/nci_test.c
    M t/pmc/nci.t

  Log Message:
  -----------
  [test] fix nci_vP, cannot check for PMCNULL, be we can check for NULL


  Commit: d315a956ea69cf2621cdaef4289cc4814538ebc9
      https://github.com/parrot/parrot/commit/d315a956ea69cf2621cdaef4289cc4814538ebc9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M config/gen/makefiles/root.in
    M src/libnci_test.def
    M src/nci/libffi.c
    M src/nci/signatures.c
    M src/nci_test.c
    M t/pmc/nci.t

  Log Message:
  -----------
  nci: make 234 destructive, improve v, add nci_ii2 test

234 do work now.
On big endian I need to add the ptr offset to the integer.
On both endians mask the unused bits, so that the result will not be
influenced by them.


  Commit: 74f4d8946adc62a45e6a52effb9a203cecb45f20
      https://github.com/parrot/parrot/commit/74f4d8946adc62a45e6a52effb9a203cecb45f20
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M ChangeLog
    M config/gen/makefiles/root.in
    M include/parrot/datatypes.h
    M include/parrot/nci.h
    M src/call/args.c
    M src/libnci_test.def
    M src/nci/libffi.c
    M src/nci/signatures.c
    M src/nci_test.c
    M src/pmc/structview.pmc
    M t/pmc/nci.t

  Log Message:
  -----------
  Merge branch 'smoke-me/t-nci-sig-gh601'

Smoked ok


  Commit: 996c3537a2ce397b16d768cc753a2f09f707ac6c
      https://github.com/parrot/parrot/commit/996c3537a2ce397b16d768cc753a2f09f707ac6c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M runtime/parrot/library/SDL.pir
    M runtime/parrot/library/SDL/Event.pir
    M runtime/parrot/library/SDL/EventHandler.pir

  Log Message:
  -----------
  [examples] SDL: fix concat and replace t with p sig

really need to revert  0a8cc07d1cc5e remove support for deprecated "t" nci signatures


  Commit: 989494bc4049c44b7b27727f6e70b159f9a84e6c
      https://github.com/parrot/parrot/commit/989494bc4049c44b7b27727f6e70b159f9a84e6c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M runtime/parrot/library/SDL.pir

  Log Message:
  -----------
  SDL: fix example to use t sig again


  Commit: b5a24025bfdfb1f6f6d00a0e052d9372dedfedbe
      https://github.com/parrot/parrot/commit/b5a24025bfdfb1f6f6d00a0e052d9372dedfedbe
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M runtime/parrot/library/SDL.pir

  Log Message:
  -----------
  SDL: more libSDL_ttf-2.0 choices to search for


  Commit: 53df8f437cc86ee8b7a56ea2c4ef8e28f8fb4340
      https://github.com/parrot/parrot/commit/53df8f437cc86ee8b7a56ea2c4ef8e28f8fb4340
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M runtime/parrot/library/SDL.pir

  Log Message:
  -----------
  [examples] SDL: print SDLLIBPATH= only on failure


  Commit: 56515373e2d6f5054fbd9b9df9a48d6b9c8f6bd4
      https://github.com/parrot/parrot/commit/56515373e2d6f5054fbd9b9df9a48d6b9c8f6bd4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M examples/sdl/mandel.pir
    M runtime/parrot/library/SDL.pir

  Log Message:
  -----------
  SDL: simplify loader

there are no error messages, when loading a .so failed.
so do not bother the user with messages when everything went ok.


  Commit: 238acce44c769cd0ad8d4cf0b2ede428ffcdb194
      https://github.com/parrot/parrot/commit/238acce44c769cd0ad8d4cf0b2ede428ffcdb194
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M t/examples/shootout.t

  Log Message:
  -----------
  t/examples/shootout.t: add timings, enable TEST_PROG_ARGS

-O1 and -O2 currently fails with fasta. A optimizer bug!


  Commit: f44f00a340c768d841437e1fc0c56a9bb5d3db41
      https://github.com/parrot/parrot/commit/f44f00a340c768d841437e1fc0c56a9bb5d3db41
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M runtime/parrot/library/SDL/StopWatch.pir

  Log Message:
  -----------
  SDL: fix setattribute

need a str now. find_global was also deprecated with 2.9 TT #1660


  Commit: 0d3a06723a0d3bca084e5039003415800a708646
      https://github.com/parrot/parrot/commit/0d3a06723a0d3bca084e5039003415800a708646
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M examples/sdl/minesweeper/field.pir
    M examples/sdl/minesweeper/mines.pir
    M runtime/parrot/library/SDL/StopWatch.pir

  Log Message:
  -----------
  SDL: fight bitrot: wrong library/ paths, find_global GH #601


  Commit: 5b9bb634a765a0c024a884eb2319eee1775337fa
      https://github.com/parrot/parrot/commit/5b9bb634a765a0c024a884eb2319eee1775337fa
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M MANIFEST
    R examples/nci/sdl_blue_rectangle.pir
    M examples/sdl/minesweeper/field.pir
    M t/examples/catchall.t

  Log Message:
  -----------
  SDL: remove wrong examples/nci/sdl_blue_rectangle.pir

we have a modern nci examples/sdl/blue_rect.pir instead.
Closes #436


  Commit: bd200f82c64d73f037a914fbfd28db28c4e31dba
      https://github.com/parrot/parrot/commit/bd200f82c64d73f037a914fbfd28db28c4e31dba
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M ChangeLog
    M examples/library/ncurses_life.pir
    M runtime/parrot/library/Curses.pir
    M runtime/parrot/library/SDL.pir
    M runtime/parrot/library/ncurses.declarations
    M runtime/parrot/library/ncurses.pir

  Log Message:
  -----------
  fix ncurses and Curses nci

nci: replace b by t, 234 do work now.
improve loadlib tries and add error handling.
examples/library/ncurses_life.pir tested ok


  Commit: c1a8d82371a2a44e94e284e3ed1a2058473aa79b
      https://github.com/parrot/parrot/commit/c1a8d82371a2a44e94e284e3ed1a2058473aa79b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M src/nci/libffi.c
    M src/nci_test.c

  Log Message:
  -----------
  [codingstd] nci_test.c, libffi.c


  Commit: 78eda161bc3b4a9a3ac0d97c6a7816bf89aae169
      https://github.com/parrot/parrot/commit/78eda161bc3b4a9a3ac0d97c6a7816bf89aae169
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M ChangeLog
    M MANIFEST
    M examples/library/ncurses_life.pir
    R examples/nci/sdl_blue_rectangle.pir
    M examples/sdl/mandel.pir
    M examples/sdl/minesweeper/field.pir
    M examples/sdl/minesweeper/mines.pir
    M runtime/parrot/library/Curses.pir
    M runtime/parrot/library/SDL.pir
    M runtime/parrot/library/SDL/Event.pir
    M runtime/parrot/library/SDL/EventHandler.pir
    M runtime/parrot/library/SDL/StopWatch.pir
    M runtime/parrot/library/ncurses.declarations
    M runtime/parrot/library/ncurses.pir
    M src/nci/libffi.c
    M src/nci_test.c
    M t/examples/catchall.t
    M t/examples/shootout.t

  Log Message:
  -----------
  Merge branch 'smoke-me/SDL-gh601'

Smoked ok. Some SDL examples are still broken though.


Compare: https://github.com/parrot/parrot/compare/08bfc0b5c19c...78eda161bc3b


More information about the parrot-commits mailing list