[svn:parrot-pdd] r33695 - in trunk: . compilers/imcc compilers/pct/src/PCT config/gen/makefiles docs docs/pdds include/parrot languages/WMLScript/src languages/lua languages/lua/src/lib languages/perl6/src/classes src src/dynoplibs src/gc src/io src/ops src/packfile src/pmc src/stm t/compilers/imcc/syn t/op t/pmc t/src t/steps

[email protected]
Newsgroups perl.perl6.internals
Message-ID <[email protected]>
Author: allison
Date: Mon Dec  8 21:16:33 2008
New Revision: 33695

Modified:
   trunk/docs/pdds/pdd22_io.pod

Changes in other areas also in this revision:
Added:
   trunk/src/io/core.c
      - copied unchanged from r33691, /branches/pdd22io_part2/src/io/core.c
   trunk/src/io/socket_api.c
      - copied unchanged from r33691, /branches/pdd22io_part2/src/io/socket_api.c
   trunk/src/io/socket_unix.c
      - copied unchanged from r33691, /branches/pdd22io_part2/src/io/socket_unix.c
   trunk/src/io/socket_win32.c
      - copied unchanged from r33691, /branches/pdd22io_part2/src/io/socket_win32.c
   trunk/src/io/utf8.c
      - copied unchanged from r33691, /branches/pdd22io_part2/src/io/utf8.c
Removed:
   trunk/src/io/io.c
   trunk/src/io/io_buf.c
   trunk/src/io/io_layers.c
   trunk/src/io/io_passdown.c
   trunk/src/io/io_stdio.c
   trunk/src/io/io_unix.c
   trunk/src/io/io_utf8.c
   trunk/src/io/io_win32.c
   trunk/src/io/unix_socket.c
   trunk/src/io/win32_socket.c
   trunk/src/pmc/parrotio.pmc
Modified:
   trunk/MANIFEST
   trunk/compilers/imcc/instructions.c
   trunk/compilers/imcc/main.c
   trunk/compilers/imcc/parser_util.c
   trunk/compilers/imcc/pbc.c
   trunk/compilers/pct/src/PCT/HLLCompiler.pir
   trunk/config/gen/makefiles/root.in
   trunk/docs/tests.pod
   trunk/include/parrot/io.h
   trunk/include/parrot/string_funcs.h
   trunk/languages/WMLScript/src/wmlsstdlibs.pir
   trunk/languages/lua/luac2pir.pir
   trunk/languages/lua/luad.pir
   trunk/languages/lua/src/lib/luaaux.pir
   trunk/languages/lua/src/lib/luaperl.pir
   trunk/languages/perl6/src/classes/Object.pir
   trunk/src/debug.c
   trunk/src/dynoplibs/myops.ops
   trunk/src/embed.c
   trunk/src/events.c
   trunk/src/exceptions.c
   trunk/src/extend.c
   trunk/src/gc/dod.c
   trunk/src/gc/register.c
   trunk/src/global.c
   trunk/src/inter_create.c
   trunk/src/interpreter.c
   trunk/src/io.c
   trunk/src/io/api.c
   trunk/src/io/buffer.c
   trunk/src/io/io_private.h
   trunk/src/io/unix.c
   trunk/src/io/win32.c
   trunk/src/jit.c
   trunk/src/malloc.c
   trunk/src/multidispatch.c
   trunk/src/oo.c
   trunk/src/ops/io.ops
   trunk/src/ops/ops.num
   trunk/src/packdump.c
   trunk/src/packfile.c
   trunk/src/packfile/pf_items.c
   trunk/src/packout.c
   trunk/src/pbc_merge.c
   trunk/src/pdump.c
   trunk/src/pmc/coroutine.pmc
   trunk/src/pmc/filehandle.pmc
   trunk/src/pmc/pccmethod_test.pmc
   trunk/src/pmc/sub.pmc
   trunk/src/pmc/unmanagedstruct.pmc
   trunk/src/runops_cores.c
   trunk/src/spf_vtable.c
   trunk/src/stacks.c
   trunk/src/stm/backend.c
   trunk/src/string.c
   trunk/src/sub.c
   trunk/src/thread.c
   trunk/src/trace.c
   trunk/src/warnings.c
   trunk/t/compilers/imcc/syn/op.t
   trunk/t/op/interp.t
   trunk/t/op/string_cs.t
   trunk/t/op/stringu.t
   trunk/t/pmc/filehandle.t
   trunk/t/pmc/io.t
   trunk/t/pmc/parrotio.t
   trunk/t/src/basic.t
   trunk/t/src/compiler.t
   trunk/t/src/exit.t
   trunk/t/src/extend.t
   trunk/t/src/warnings.t
   trunk/t/steps/auto_pmc-01.t

Log:
[pdd22io] Merging the pdd22io_part2 branch into trunk for r32922 to r33687.


Modified: trunk/docs/pdds/pdd22_io.pod
==============================================================================
--- trunk/docs/pdds/pdd22_io.pod	(original)
+++ trunk/docs/pdds/pdd22_io.pod	Mon Dec  8 21:16:33 2008
@@ -250,6 +250,15 @@
 Accessor (get only) for the I/O stream's read mode. This returns the mode
 string used to open the I/O stream.
 
+=item C<encoding>
+
+  $S0 = $P1.encoding()
+  $P0.encoding($S1)
+
+Accessor (get and set) for the I/O stream's encoding attribute. Currently,
+the only valid value to set is 'utf8' which turns on UTF-8 reading/writing
+mode for the stream. The default behavior is fixed-width 8-bit characters.
+
 =item C<get_fd> [RT #48312]
 
   $I0 = $P1.get_fd()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.