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

GitHub noreply at github.com
Wed Jan 14 13:07:23 UTC 2015


  Branch: refs/heads/rurban/SDL
  Home:   https://github.com/parrot/parrot
  Commit: 122361587238630fb1aae6a5481f531e4c26a5a9
      https://github.com/parrot/parrot/commit/122361587238630fb1aae6a5481f531e4c26a5a9
  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: a29c9a641bb8a6fd19a844d7566bbe9e8d73f0f2
      https://github.com/parrot/parrot/commit/a29c9a641bb8a6fd19a844d7566bbe9e8d73f0f2
  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: 03f8bd04fdb3fd0403e473f2a386ab66f5f5c5fa
      https://github.com/parrot/parrot/commit/03f8bd04fdb3fd0403e473f2a386ab66f5f5c5fa
  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: 858fe7394a8a3363df7fef7e27717e5d04aa1f6d
      https://github.com/parrot/parrot/commit/858fe7394a8a3363df7fef7e27717e5d04aa1f6d
  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: b6ae4c236bfe9fdd5982fb126db51b8eaa7f593c
      https://github.com/parrot/parrot/commit/b6ae4c236bfe9fdd5982fb126db51b8eaa7f593c
  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: 10dbab8e1cdb2e52b0655b6499560dc1df5abc7c
      https://github.com/parrot/parrot/commit/10dbab8e1cdb2e52b0655b6499560dc1df5abc7c
  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: 1ae102643a96c261fc1eb6d8a052f27922eea12f
      https://github.com/parrot/parrot/commit/1ae102643a96c261fc1eb6d8a052f27922eea12f
  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: 1a4aff50274bcf97734d66688d0399420b5e7f4b
      https://github.com/parrot/parrot/commit/1a4aff50274bcf97734d66688d0399420b5e7f4b
  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: b94f5a033345bd855bc5907fd00d090f10aa9116
      https://github.com/parrot/parrot/commit/b94f5a033345bd855bc5907fd00d090f10aa9116
  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: 8f7b863661910189e808d83ea2ecfde56f223d19
      https://github.com/parrot/parrot/commit/8f7b863661910189e808d83ea2ecfde56f223d19
  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: a28cd1dfd1a5f27730ed910eab21ff999bf9e212
      https://github.com/parrot/parrot/commit/a28cd1dfd1a5f27730ed910eab21ff999bf9e212
  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: 5fcb61ba42fde9b7967722e2d43dfececc982b43
      https://github.com/parrot/parrot/commit/5fcb61ba42fde9b7967722e2d43dfececc982b43
  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: 4776b76b5970b4e09ca2a8d37d60feb25047bdd7
      https://github.com/parrot/parrot/commit/4776b76b5970b4e09ca2a8d37d60feb25047bdd7
  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: 217532d247591d8646169658af8f29413ff25346
      https://github.com/parrot/parrot/commit/217532d247591d8646169658af8f29413ff25346
  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: 794dde33c10bc2e59568e64c29837edc3437c592
      https://github.com/parrot/parrot/commit/794dde33c10bc2e59568e64c29837edc3437c592
  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: 9085e15d9dbe394f7ac46c76599399dbdd52f7ff
      https://github.com/parrot/parrot/commit/9085e15d9dbe394f7ac46c76599399dbdd52f7ff
  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: 3ce48cfbc4837444a14a988ed2201c0fb8f887ae
      https://github.com/parrot/parrot/commit/3ce48cfbc4837444a14a988ed2201c0fb8f887ae
  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: 3fde7fd6a0eae52c5eb9801ba484458a98586985
      https://github.com/parrot/parrot/commit/3fde7fd6a0eae52c5eb9801ba484458a98586985
  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: fd4ce7f3ca9d24842b97d1743f302d7344219eb0
      https://github.com/parrot/parrot/commit/fd4ce7f3ca9d24842b97d1743f302d7344219eb0
  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


Compare: https://github.com/parrot/parrot/compare/217930a2e927...fd4ce7f3ca9d


More information about the parrot-commits mailing list