[svn:parrot] r49101 - in branches/gc_massacre/src: . interp io pmc string
bacek at svn.parrot.org
bacek at svn.parrot.org
Fri Sep 17 23:46:21 UTC 2010
Author: bacek
Date: Fri Sep 17 23:46:20 2010
New Revision: 49101
URL: https://trac.parrot.org/parrot/changeset/49101
Log:
Update a handful of comments still mentioning charsets
Modified:
branches/gc_massacre/src/dynext.c
branches/gc_massacre/src/hash.c
branches/gc_massacre/src/interp/inter_create.c
branches/gc_massacre/src/io/socket_unix.c
branches/gc_massacre/src/io/socket_win32.c
branches/gc_massacre/src/pmc/bytebuffer.pmc
branches/gc_massacre/src/string/encoding.c
Modified: branches/gc_massacre/src/dynext.c
==============================================================================
--- branches/gc_massacre/src/dynext.c Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/dynext.c Fri Sep 17 23:46:20 2010 (r49101)
@@ -529,8 +529,7 @@
=item C<static STRING * clone_string_into(Interp *d, Interp *s, PMC *value)>
Extracts a STRING value from PMC C<value> in interpreter C<s>. Copies that
-string into the pool of interpreter C<d> using the default encoding
-and charset.
+string into the pool of interpreter C<d> using the default encoding.
=cut
Modified: branches/gc_massacre/src/hash.c
==============================================================================
--- branches/gc_massacre/src/hash.c Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/hash.c Fri Sep 17 23:46:20 2010 (r49101)
@@ -285,7 +285,7 @@
*search_key, const void *bucket_key)>
Compare two strings. Returns 0 if they are identical. Considers differing
-charset or encoding to be distinct.
+encodings to be distinct.
*/
Modified: branches/gc_massacre/src/interp/inter_create.c
==============================================================================
--- branches/gc_massacre/src/interp/inter_create.c Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/interp/inter_create.c Fri Sep 17 23:46:20 2010 (r49101)
@@ -447,7 +447,7 @@
interp->evc_func_table_size = 0;
}
- /* strings, charsets, encodings - only once */
+ /* strings, encodings - only once */
Parrot_str_finish(interp);
PARROT_CORE_OPLIB_INIT(interp, 0);
Modified: branches/gc_massacre/src/io/socket_unix.c
==============================================================================
--- branches/gc_massacre/src/io/socket_unix.c Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/io/socket_unix.c Fri Sep 17 23:46:20 2010 (r49101)
@@ -349,7 +349,7 @@
AGAIN:
if ((error = recv(io->os_handle, buf, 2048, 0)) >= 0) {
bytesread += error;
- /* The charset should probably be 'binary', but right now httpd.pir
+ /* The encoding should probably be 'binary', but right now httpd.pir
* only works with 'ascii'
*/
*s = Parrot_str_new_init(interp, buf, bytesread,
Modified: branches/gc_massacre/src/io/socket_win32.c
==============================================================================
--- branches/gc_massacre/src/io/socket_win32.c Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/io/socket_win32.c Fri Sep 17 23:46:20 2010 (r49101)
@@ -299,7 +299,7 @@
AGAIN:
if ((error = recv((int)io->os_handle, buf, 2048, 0)) >= 0) {
bytesread += error;
- /* The charset should probably be 'binary', but right now httpd.pir
+ /* The encoding should probably be 'binary', but right now httpd.pir
* only works with 'ascii'
*/
*s = Parrot_str_new_init(interp, buf, bytesread,
Modified: branches/gc_massacre/src/pmc/bytebuffer.pmc
==============================================================================
--- branches/gc_massacre/src/pmc/bytebuffer.pmc Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/pmc/bytebuffer.pmc Fri Sep 17 23:46:20 2010 (r49101)
@@ -303,10 +303,9 @@
=over 4
-=item C<get_string(string charset, string encoding)>
+=item C<get_string(string encoding)>
-Create a string with the buffer content and the charset and encoding
-specified.
+Create a string with the buffer content and the encoding specified.
=cut
@@ -328,7 +327,7 @@
=item C<get_string_as(string as)>
-Create a string with the buffer content and the same charset and encoding
+Create a string with the buffer content and the same encoding
as the string argument.
=cut
@@ -365,7 +364,7 @@
=item C<static STRING * build_string(PARROT_INTERP, const unsigned char
*content, INTVAL size, const STR_VTABLE *encoding)>
-Build a string fro the buffer content with the charset and encoding specified.
+Build a string from the buffer content with the encoding specified.
=cut
Modified: branches/gc_massacre/src/string/encoding.c
==============================================================================
--- branches/gc_massacre/src/string/encoding.c Fri Sep 17 23:45:55 2010 (r49100)
+++ branches/gc_massacre/src/string/encoding.c Fri Sep 17 23:46:20 2010 (r49101)
@@ -290,7 +290,7 @@
=item C<void Parrot_str_internal_register_encoding_names(PARROT_INTERP)>
Helper function for initializing characterset encoding names. We can't create
-the STRING names until the default encodings and charsets are already initted,
+the STRING names until the default encodings are already initted,
so the name generation is split into a second init stage.
=cut
@@ -351,8 +351,7 @@
=item C<void Parrot_encodings_init(PARROT_INTERP)>
-Creates the initial charsets and encodings, and registers the initial
-charset converters.
+Creates the initial encodings.
=cut
More information about the parrot-commits
mailing list