[parrot/parrot] 5b4300: [cage] Fix c++ Wcast-qual and -Wunused-result, PTR...

GitHub noreply at github.com
Fri Dec 19 15:45:11 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 5b4300103ecd7b6b36ec284b81308db39cf7c146
      https://github.com/parrot/parrot/commit/5b4300103ecd7b6b36ec284b81308db39cf7c146
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M include/parrot/parrot.h
    M src/io/api.c
    M src/io/filehandle.c
    M src/io/io_private.h
    M src/io/pipe.c
    M src/string/encoding/shared.c

  Log Message:
  -----------
  [cage] Fix c++ Wcast-qual and -Wunused-result, PTR_UNCONST

in the io and string api.
We really need to bypass the const qualifier for our io api.
Add a new PTR_UNCONST macro.


  Commit: b71b78ae8f7d679c1e7c0200dbf5ac0a27219a6d
      https://github.com/parrot/parrot/commit/b71b78ae8f7d679c1e7c0200dbf5ac0a27219a6d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M include/parrot/atomic/gcc_x86.h
    M src/atomic/gcc_x86.c
    M src/gc/gc_ms2.c
    M src/longopt.c
    M src/ops/core.ops
    M src/ops/core_ops.c
    M src/string/spf_render.c

  Log Message:
  -----------
  [cage] more --cage fixes

undeclared snprintf
duplicate declarations
unused vars


  Commit: 34a52040c40933d673f8c62ed1d6a457a319cb7c
      https://github.com/parrot/parrot/commit/34a52040c40933d673f8c62ed1d6a457a319cb7c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M compilers/imcc/imcc.l
    M compilers/imcc/imclexer.c
    M compilers/imcc/instructions.c
    M frontend/parrot2/main.c
    M frontend/parrot_debugger/main.c
    M frontend/pbc_merge/main.c
    M src/call/pcc.c
    M src/gc/gc_ms2.c
    M src/io/api.c
    M src/io/buffer.c
    M src/string/encoding/utf8.c

  Log Message:
  -----------
  [cage] more --cage fixes

remove some -Wunused-variable and unneeded function calls, io cleanup
fix one logical autoflush error in Parrot_io_open
add pbc_merge_annotations to pbc_merge,
remove some dead functions: setup_imcc, do_a_better_error_message,
  Parrot_pcc_add_invocant
use switch for gc_get_info (I trust the compilers not to overdo it)


  Commit: b8558c96fcda42f0f2489be7f329048fd4ce098f
      https://github.com/parrot/parrot/commit/b8558c96fcda42f0f2489be7f329048fd4ce098f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M compilers/imcc/imcparser.c
    M compilers/imcc/imcparser.h
    M src/ops/core_ops.c
    M src/ops/experimental.ops
    M src/ops/io.ops
    M src/ops/object.ops

  Log Message:
  -----------
  [cage] more --cage fixes: ops, imcc.y

remove unneeded variables and signature function calls
regenerate the parser,


  Commit: a611766b599737e7610c405fbcd4da419b7940e5
      https://github.com/parrot/parrot/commit/a611766b599737e7610c405fbcd4da419b7940e5
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/platform/generic/io.c

  Log Message:
  -----------
  [io] re-enable async io on linux

linux is Obsolete (not POSIX compliant)
http://sourceforge.net/p/predef/wiki/OperatingSystems/


  Commit: 8fab150056b6c724d3e3a9f00886120022a95603
      https://github.com/parrot/parrot/commit/8fab150056b6c724d3e3a9f00886120022a95603
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M lib/Parrot/Pmc2c/PMC.pm
    M src/vtables.c

  Log Message:
  -----------
  [cage] remove more redundant duplicate declarations

in dynpmc: see GH #741

src/vtables.c: Parrot_gbl_initialize_core_pmcs is already declared now


  Commit: 949fdfba8990e59fa5c34230cb889050460e7a14
      https://github.com/parrot/parrot/commit/949fdfba8990e59fa5c34230cb889050460e7a14
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/interp/api.c
    M src/thread.c

  Log Message:
  -----------
  [cage] more --cage fixes: interp

remove unneded num_thr


  Commit: 4788480b9879308cd434790f8b710d8e64b057ff
      https://github.com/parrot/parrot/commit/4788480b9879308cd434790f8b710d8e64b057ff
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M frontend/parrot_debugger/main.c
    M include/parrot/parrot.h
    M src/io/api.c
    M src/io/filehandle.c
    M src/io/pipe.c
    M src/string/encoding/shared.c

  Log Message:
  -----------
  [cage] undo instable PTR_UNCONST, fix codingstd


  Commit: 279355737e0222ca41950f3896de760e0f823352
      https://github.com/parrot/parrot/commit/279355737e0222ca41950f3896de760e0f823352
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M tools/dev/parrot.supp

  Log Message:
  -----------
  [tools] add gc_gms_is_pmc_ptr/trace_mem_block to parrot.supp valgrind

suppressions


  Commit: 918d8ca5e64e6ad5939bb12e7ab840dd2e3b3ce4
      https://github.com/parrot/parrot/commit/918d8ca5e64e6ad5939bb12e7ab840dd2e3b3ce4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M compilers/imcc/imcc.l
    M compilers/imcc/imclexer.c
    M compilers/imcc/imcparser.c
    M compilers/imcc/imcparser.h
    M compilers/imcc/instructions.c
    M frontend/parrot2/main.c
    M frontend/parrot_debugger/main.c
    M frontend/pbc_merge/main.c
    M include/parrot/atomic/gcc_x86.h
    M include/parrot/parrot.h
    M lib/Parrot/Pmc2c/PMC.pm
    M src/atomic/gcc_x86.c
    M src/call/pcc.c
    M src/gc/gc_ms2.c
    M src/interp/api.c
    M src/io/api.c
    M src/io/buffer.c
    M src/io/filehandle.c
    M src/io/io_private.h
    M src/io/pipe.c
    M src/longopt.c
    M src/ops/core.ops
    M src/ops/core_ops.c
    M src/ops/experimental.ops
    M src/ops/io.ops
    M src/ops/object.ops
    M src/platform/generic/io.c
    M src/string/encoding/shared.c
    M src/string/encoding/utf8.c
    M src/string/spf_render.c
    M src/thread.c
    M src/vtables.c
    M tools/dev/parrot.supp

  Log Message:
  -----------
  Merge branch 'smoke-me/cast-cage'


  Commit: 0d8d1fc2d592c82a2c68e1ce5f2a501a1f9fb163
      https://github.com/parrot/parrot/commit/0d8d1fc2d592c82a2c68e1ce5f2a501a1f9fb163
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog for smoke-me/cast-cage merge


Compare: https://github.com/parrot/parrot/compare/6aa51883f931...0d8d1fc2d592


More information about the parrot-commits mailing list