summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix typos.akr2008-08-312-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (numeric_abs2): new.tadf2008-08-314-2/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ignore callback-*.c.akr2008-08-310-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-08-311-14/+121
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_devel?): checks if the compiler works.nobu2008-08-312-10/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Temporarily uses git://github.com/yugui/rubyspec.gityugui2008-08-312-1/+7
| | | | | | | | until specs for 1.9 is merged into git://github.com/rubyspec/rubyspec.git. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode.c): set source_encoding andakr2008-08-313-6/+41
| | | | | | | | | destination_encoding as encoding object. (ecerr_source_encoding): new method. (ecerr_destination_encoding): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.log_open): opens in binary mode to get rid ofnobu2008-08-312-5/+11
| | | | | | | extra CR. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func, try_var, have_struct_member),nobu2008-08-313-6/+19
| | | | | | | | | | | (scalar_ptr_type?, scalar_type?): use MAIN_DOES_NOTHING. * lib/mkmf.rb (MAIN_DOES_NOTHING): defaults to ordinary main. * win32/Makefile.sub (config): for MAIN_DOES_NOTHING for wince. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/README (How to run): added.yugui2008-08-312-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec (config): added.yugui2008-08-312-1/+20
| | | | | | | | | | * spec/default.mspec (target): replaced the built ruby to runruby.rb. Improved $LOAD_PATH on running specs. * spec/default.mspec (flags): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2008-08-311-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (make_econv_exception): rename instance variable namesakr2008-08-313-18/+25
| | | | | | | | | for storing encoding names. (ecerr_source_encoding_name): method renamed. (ecerr_destination_encoding_name): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_putback): associate encoding to the result.akr2008-08-313-2/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h: rename RB_UBF_DFL toko12008-08-317-11/+20
| | | | | | | | | | RUBY_UBF_IO and RUBY_UBF_PROCESS. Because there is no default (universal) unblocking function. * ext/socket/socket.c, file.c, io.c, process.c, thread.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_insert_output): raise ArgumentError on failure.akr2008-08-313-6/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_thread.rb: add a test.ko12008-08-312-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans (us_ascii_map): don't define 8bit bytes.akr2008-08-313-1/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (lookup_order_table): constified.nobu2008-08-311-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_last_error): new method.akr2008-08-313-0/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_primitive_convert): make two arguments,akr2008-08-313-2/+21
| | | | | | | destination_byteoffset and destination_bytesize, optional. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (make_econv_exception): error message simplified.akr2008-08-312-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/coverage/coverage.c (rb_mCoverage): removed unneeded static variable.nobu2008-08-313-9/+15
| | | | | | | | | * ext/socket/socket.c (unix_recv_io): ditto. * ext/socket/socket.c (mConst): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): fix fornobu2008-08-312-3/+9
| | | | | | | initialization of r18168. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/eventids2.c (ripper_init_eventids2): use rb_intern_const.nobu2008-08-313-49/+57
| | | | | | | | | * ext/ripper/tools/generate.rb (generate_eventids1): ditto. * ext/ripper/tools/generate.rb (generate_eventids2_table): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/mkcallback.rb (rb_dl_init_callbacks): fix indent.akr2008-08-312-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.c (Init_ossl_config): removed C99ism.nobu2008-08-311-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement.akr2008-08-312-6/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_putback): make max argument optional.akr2008-08-303-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_econv_putback): putback from last byte.akr2008-08-303-1/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_putback): renamed from econv_primitive_putback.akr2008-08-303-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_insert_output): renamed fromakr2008-08-303-7/+12
| | | | | | | econv_primitive_insert_output. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_econv.rb: follow econv_primitive_errinfo change.akr2008-08-302-10/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_primitive_errinfo): 5th element (partial_input)akr2008-08-302-15/+15
| | | | | | | | removed from result. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/mkcallback.rb: split callback.h to callback-[0-9].c to reduceakr2008-08-304-28/+69
| | | | | | | | | memory consumption on compilation. [ruby-dev:31898] * ext/dl/depend: add dependency for callback-[0-9].[co]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-31svn2008-08-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/mkcallback.rb (foreach_proc_entry): extracted.akr2008-08-302-37/+52
| | | | | | | | | (gencallback): ditto. (gen_push_proc_ary): ditto. (gen_push_addr_ary): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix failures [ruby-dev:35937].seki2008-08-302-3/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/test/test_import.rb: fix character code.akr2008-08-303-9/+15
| | | | | | | | * ext/dl/test/test_func.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c: added a static variable for nurat_to_f.tadf2008-08-303-2/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_open, rb_w32_read, rb_w32_write): fallback tousa2008-08-302-0/+23
| | | | | | | | | MSVCRT if text mode is specified. this case will not be used from ruby itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): EOF is not error.usa2008-08-302-1/+6
| | | | | | | | ref [ruby-dev:36050] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (struct token_info): constified.nobu2008-08-302-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (token_info_get_column, token_info_has_nonspaces),nobu2008-08-302-6/+11
| | | | | | | (token_info_push, token_info_pop): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (token_info_push): -w warns indentation level mismatch.matz2008-08-302-25/+190
| | | | | | | | based on a patch from Yukina Yamano presented at RubyKaigi'07. See <http://jp.rubyist.net/RubyKaigi2007/Log0609-LT06.html> and <http://www.logic-junction.com/products/rubyend.html> (Japanese). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.c (Init_ossl_config): memory leak fixed.matz2008-08-304-1/+27
| | | | | | | | | a patch <shinichiro.hamaji at gmail.com> in [ruby-dev:35880]. * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto. * ext/strscan/strscan.c (strscan_do_scan): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): fix fornobu2008-08-302-2/+9
| | | | | | | initialization of r18168. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/mkcallback.rb: fix continuation line detection.akr2008-08-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem whichakr2008-08-302-8/+18
| | | | | | | is caused by 'GC.stress=true; require "dl"'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c: remove include pragma for "ruby/intern.h".ko12008-08-302-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e