nobu
5172e595c9
* ext/iconv/iconv.c (iconv_convert): append unchanged portion
...
after overflow. [ruby-dev:21006]
* ext/iconv/extconf.rb: check if iconv() 2nd argument is const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 01:31:43 +00:00
nobu
0770898bb9
* ext/iconv/iconv.c (check_iconv): check if Iconv instance.
...
* ext/iconv/iconv.c (iconv_convert): stringify argument.
* ext/iconv/iconv.c (iconv_failure_initialize): limit
inspect message. [ruby-dev:20785]
* ext/iconv/iconv.c (rb_str_derive): share with original
string if possible. [ruby-dev:20785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 01:11:20 +00:00
nobu
3b1e7ac785
* ext/iconv/charset_alias.rb, ext/iconv/extconf.rb: make wrapper
...
script which maps charset names. [ruby-dev:20625]
* ext/iconv/iconv.c (charset_map): charset name map.
* ext/iconv/iconv.c (iconv_dfree): no exception while
finalization.
* ext/iconv/iconv.c (iconv_s_conv): new method Iconv.conv.
[ruby-dev:20588]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 19:51:42 +00:00
matz
f595d5b0d2
* array.c (rb_ary_values_at): new method to replace select(index..).
...
* hash.c (rb_hash_values_at,env_values_at): ditto.
* re.c (match_values_at): ditto.
* struct.c (rb_struct_values_at): ditto.
* re.c (match_select): add iterator behavior.
* ext/curses/curses.c, ext/digest/sha2/sha2.c, ext/iconv/iconv.c,
ext/racc/cparse/cparse.c: include "ruby.h" at the top to shut up
"_FILE_OFFSET_BITS redefined" warning on Solaris.
* class.c (rb_class_protected_instance_methods): now gives
warnings to show migration path. The default will be reversed
on Jan 2004.
* numeric.c (num_step): "1.1.step(1.5,0.1)" to work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-04 16:03:24 +00:00
nobu
3780ede6ef
* ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,
...
ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c,
ext/stringio/stringio.c, ext/strscan/strscan.c,
ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c:
use rb_define_alloc_func().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 11:23:40 +00:00
eban
4f26f3b890
* configure.in: modify program_prefix only if specified
...
--program-prefix.
* configure.in: don't generate ext/extmk.rb.
* Makefile.in: execute directly $(srcdir)/ext/extmk.rb.
remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb.
* {win32,bccwin32}/Makefile.sub: ditto.
* instruby.rb: ditto.
* ext/extmk.rb: renamed from ext/extmk.rb.in.
* lib/mkmf.rb (module Logging): create log files (mkmf.log)
in each extension module directories.
* ext/extmk.rb: ditto.
* lib/mkmf.rb (macro_defined?): new method.
* ext/.cvsignore: remove extmk.rb.
* ext/*/.cvsignore: add "*.def".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08 09:08:15 +00:00
matz
253581c432
* re.c (rb_reg_s_quote): # also should be quoted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07 08:32:01 +00:00
nobu
ba90943088
* ext/iconv/iconv.c (iconv_try): should initialize exceptions
...
properly. (ruby-bugs-ja:PR#232)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07 07:09:02 +00:00
nobu
a411f0365b
copied from ext/etc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18 06:13:43 +00:00
nobu
5979f0e288
* ext/digest: add depend file.
...
* ext/digest/md5: ditto.
* ext/digest/rmd160: ditto.
* ext/digest/sha1: ditto.
* ext/digest/sha2: ditto.
* ext/iconv/MANIFEST: ditto.
* ext/stringio/MANIFEST: ditto.
* ext/syslog: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-18 09:24:39 +00:00
eban
2059c382a6
* ext/iconv/extconf.rb: workaround for GNU libiconv.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-18 03:54:10 +00:00
nobu
cdb6be67ca
* ext/iconv/depend: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-17 11:07:46 +00:00
nobu
23beb1a9dd
* ext/iconv/iconv.c: fixed document, Iconv#new is no longer an
...
iterator. thanks to Tanaka Akira <akr@m17n.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-15 05:05:34 +00:00
nobu
5fab414c02
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-14 13:10:57 +00:00