[parrot/parrot] d265b1: Merge branch 'rurban/socket-gh909'

GitHub noreply at github.com
Fri Jan 11 20:53:18 UTC 2013


  Branch: refs/heads/rurban/socket-gh909
  Home:   https://github.com/parrot/parrot
  Commit: d265b1d9c2b9166990d5b7d3f85819ecc8cfefae
      https://github.com/parrot/parrot/commit/d265b1d9c2b9166990d5b7d3f85819ecc8cfefae
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M src/pmc/socket.pmc
    M t/pmc/socket.t

  Log Message:
  -----------
  Merge branch 'rurban/socket-gh909'


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

  Changed paths:
    M api.yaml

  Log Message:
  -----------
  Add api.yaml entry for GH #909 Socket.read(>512)


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

  Changed paths:
    M api.yaml

  Log Message:
  -----------
  Edit last api.yaml note, wrong ending single quote


  Commit: 6dbc04d48454149e7caa695f1fbd0c31d96aab10
      https://github.com/parrot/parrot/commit/6dbc04d48454149e7caa695f1fbd0c31d96aab10
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M lib/Parrot/Pmc2c/Emitter.pm
    M lib/Parrot/Pmc2c/PCCMETHOD.pm

  Log Message:
  -----------
  [GH #641] Fix wrong PCCMETHOD line-directives (only .c)

PCCMETHOD only emits .c level lines, no PMC level ones. This generates now
proper directives for all _nci_ methods.


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

  Changed paths:
    M ChangeLog
    M src/pmc/socket.pmc

  Log Message:
  -----------
  [codingstd] Add missing ChangeLog lines, fix socket.pmc line lengths


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

  Changed paths:
    M src/dynpmc/Rules.in

  Log Message:
  -----------
  [GH #921] Fix tabs in src/dynpmc/Rules.mak cygwin/hpux

These missing tabs caused to miss the addgenerated lines for dynpmc libs.


  Commit: 73c6d3287051da1083264f9801e88e135890800f
      https://github.com/parrot/parrot/commit/73c6d3287051da1083264f9801e88e135890800f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M lib/Parrot/Install.pm

  Log Message:
  -----------
  [GH #921] cygwin Fix Could not create //usr/local/share/parrot/4.11.0-devel/MANIFEST

catdir with "" creates //.


  Commit: f79c114de0bb8a643b9bc9d21854bc0ab2779667
      https://github.com/parrot/parrot/commit/f79c114de0bb8a643b9bc9d21854bc0ab2779667
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M config/auto/pmc.pm
    M lib/Parrot/Pmc2c/PMC.pm
    M src/dynpmc/Rules.in

  Log Message:
  -----------
  [GH #922] addgenerated dynpmc headers in make, not pmc2c

rakudo and nqp do not have to clean a generated MANIFEST.generated.


  Commit: b1d06620885c963b6f017dce1bf36211914697a6
      https://github.com/parrot/parrot/commit/b1d06620885c963b6f017dce1bf36211914697a6
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M t/op/say.t

  Log Message:
  -----------
  [GH #893] add test for threaded say, mixup with \n

Test that for each say a \n is printed per thread.
Test it on a multi-core machine with

    watch prove -v t/op/say.t


  Commit: 4fff43a7634efa791b075794a07541420b36e297
      https://github.com/parrot/parrot/commit/4fff43a7634efa791b075794a07541420b36e297
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M src/ops/core_ops.c
    M src/ops/io.ops

  Log Message:
  -----------
  [GH #893] improve concurrent say. concat with \n, then puts

Provide better atomicity with threads. To avoid mixing strings with
newlines in most cases. This is not foolproof of course.
concat only if it will not extend the already allocated buffer to
avoid copying.
make bootstrap-ops for say


  Commit: d7886d8b0b3ed47f2442863e9f68bc46b41415c0
      https://github.com/parrot/parrot/commit/d7886d8b0b3ed47f2442863e9f68bc46b41415c0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M src/ops/core_ops.c
    M src/ops/io.ops
    M t/op/say.t

  Log Message:
  -----------
  [GH #893] Refactor better atomic say op: test for 80% success, concat if the buflen < 80

Since even SREGs are constant, Parrot_str_concat will always create a copy. So allow small cheap copies.


  Commit: 49a6dacdb0806f5c06d6420034b93979d5e983cd
      https://github.com/parrot/parrot/commit/49a6dacdb0806f5c06d6420034b93979d5e983cd
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M src/ops/core_ops.c
    M src/ops/io.ops
    M t/op/say.t

  Log Message:
  -----------
  Merge branch 'rurban/threaded-say-gh893'


  Commit: 324272550a6c95fd7542918711352c753be8f287
      https://github.com/parrot/parrot/commit/324272550a6c95fd7542918711352c753be8f287
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M t/op/say.t

  Log Message:
  -----------
  [codingstd] cuddled else in t/op/say.t


  Commit: 5874ae98412a8c61ea07abc33661511f89055f62
      https://github.com/parrot/parrot/commit/5874ae98412a8c61ea07abc33661511f89055f62
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-11 (Fri, 11 Jan 2013)

  Changed paths:
    M t/pmc/task.t

  Log Message:
  -----------
  [GH #907] skip task.t until rurban/task.t-gh907 is merged


  Commit: 756c6dfcf0b1429d8c701e2070419bc0b18d1f6b
      https://github.com/parrot/parrot/commit/756c6dfcf0b1429d8c701e2070419bc0b18d1f6b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-11 (Fri, 11 Jan 2013)

  Changed paths:
    M MANIFEST
    A t/stress/threads.t

  Log Message:
  -----------
  add t/stress/threads.t for GH #880 and GH #875


  Commit: cfb36e87c86255e5fef54d9750d4ca0708c3a78e
      https://github.com/parrot/parrot/commit/cfb36e87c86255e5fef54d9750d4ca0708c3a78e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-11 (Fri, 11 Jan 2013)

  Changed paths:
    M src/pmc/socket.pmc

  Log Message:
  -----------
  [spec] Update the socket doc for read and recv, to clarify our changed POSIX like behaviour

Before the high-level read() returned the wanted amount of bytes.
Now it behaves the same as recv().
We need to add a setsockopt(optname, optvalue) method.


Compare: https://github.com/parrot/parrot/compare/2da776e436ea...cfb36e87c862


More information about the parrot-commits mailing list