aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ruby.c (proc_options): encoding libraries cannot be loaded untilnobu2008-01-152-8/+12
| | | | | | | load path is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak: strip out empty lines from CPP output.nobu2008-01-152-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full pathnobu2008-01-154-4/+22
| | | | | | | | | to get rid of ./ruby.exe. * win32/enc-setup.mak: workaround for Borland make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.nobu2008-01-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir whenusa2008-01-153-2/+7
| | | | | | | | invoking ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (us_ascii.o): add dependecies. [ruby-dev:33111]usa2008-01-152-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): check if backtrace is empty. [ruby-core:15040]nobu2008-01-142-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: simplified dummy objects dependencies.nobu2008-01-142-7/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (OBJS): moved encoding.o from COMMONOBJS.nobu2008-01-147-5/+24
| | | | | | | | | | | | * common.mk (dmyencoding.o): added. [ruby-dev:33099] * configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added dmyencoding.o. * dmyencoding.c (rb_locale_charmap): returns nil for miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): specifying limit should not generate brokenmatz2008-01-143-3/+20
| | | | | | byte sequence. strings should be rounded. [ruby-dev:33088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.naruse2008-01-142-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.matz2008-01-143-1/+8
| | | | | | * bootstraptest/runner.rb (main): expand -I directory path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/enc-setup.mak (BUILTIN_ENCOBJS): depends on enc/Makefile.in.usa2008-01-142-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_char_to_option_kcode): use rb_enc_find_index() insteadmatz2008-01-145-11/+16
| | | | | | | | of using fixed index value. * enc/Makefile.in (encsrcdir): make US-ASCII built-in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb: Shorter method name completion. Same methodeban2008-01-142-8/+78
| | | | | | | | | | | | used for const missing. do_while and do_until added. Enumerator gains all of Array's abilities. Ex: '123'.m{|i|i*2} #=> "112233" '123'.pe #=> '123'.perm*' ' #=> "123 132 213 231 312 321" base on a patch from Darren Smith <darrenks AT ml1.net>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/us_ascii.c: wrong alias name: ANSI_X3.4-1986.matz2008-01-143-3/+9
| | | | | | * rubytest.rb: add -I#{srcdir} to load encoding DLL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: clear thread structure.ko12008-01-143-1/+28
| | | | | | | | | (TODO: survey that child process should clear mutex or not). * bootstraptest/test_knownbug.rb, test_thread.rb: move a fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update last test.akr2008-01-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: add "flunk" method.ko12008-01-143-5/+16
| | | | | | | | * bootstraptest/test_knownbug.rb: fix to use flunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a test.akr2008-01-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.h: remove dangerous assembler sentence.ko12008-01-142-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_encoding): return US-ASCII when charmap is nil.naruse2008-01-144-4/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb: scape should be an alias to shellescape. amatz2008-01-142-1/+7
| | | | | | | patch from Masahiro Kawato <m-kawato AT mwb.biglobe.ne.jp> in [ruby-dev:33060]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.1: a patch to describe --encoding. a patch from Yuguimatz2008-01-144-3/+47
| | | | | | | | <yugui AT yugui.sakura.ne.jp> in [ruby-dev:33079]. * ruby.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_prepare_re): initialize error message buffer.akr2008-01-142-9/+20
| | | | | | | | | | | | | (rb_reg_search): ditto. (rb_reg_check_preprocess): ditto. (rb_reg_new_str): ditto. (rb_enc_reg_new): ditto. (rb_reg_compile): ditto. (rb_reg_initialize_m): ditto. (rb_reg_s_union_m): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.drbrain2008-01-1431-2799/+2509
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/ruby182_test_unit_fix.rb: removed.nobu2008-01-142-29/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Jan 14 10:45:45 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-01-142-1/+5
| | | | | | | | | * enc/ascii.c: Exchanged order of arguments for one ENC_ALIAS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: do not reference Time directly from the inside oftadf2008-01-142-9/+14
| | | | | | | definitions. [ruby-dev:33059] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/*.c: add replicas and aliases.naruse2008-01-137-10/+84
| | | | | | | * enc/make_encdb.h: add duplicate and undefined check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * define replica encoding "CP949".naruse2008-01-131-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h: remove ONIG_ENCODING_* and OnigEncoding*naruse2008-01-1314-74/+1383
| | | | | | | | | | | | | which are not builtin. * regenc.{c,h} (onigenc_mb2_code_to_mbclen, onigenc_mb4_code_to_mbclen): fix prototype. * enc/big5.c, enc/euc_kr.c, enc/euc_tw.c, enc/gb18030.c, enc/koi8_r.c, enc/windows_1251.c: imported from Oniguruma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/make_encdb.h: sort encoding names by original name.naruse2008-01-1320-7/+52
| | | | | | | * encoding.c, enc/*.c: define replicas and aliases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c: add documents.naruse2008-01-132-4/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): moved initialization from encdb.h.nobu2008-01-133-16/+23
| | | | | | | | | * enc/make_encdb.rb (enc_name_list): constified. * enc/make_encdb.rb (enc_init_db): moved some functions to encoding.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file): local variable was not initialized when -x flagnobu2008-01-132-3/+5
| | | | | | | is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file): script files should not be affected by locale.nobu2008-01-132-2/+11
| | | | | | | [ruby-dev:33054] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): fixed typo.nobu2008-01-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Cleanup RDocdrbrain2008-01-138-211/+201
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Complete RDoc namespace changedrbrain2008-01-1315-46/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Reorganize RDoc generatorsdrbrain2008-01-1315-251/+258
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (ENCINDEX_EUC_JP, ENCINDEX_SJIS): removed.naruse2008-01-137-23/+29
| | | | | | | | | | | | | | | (rb_enc_init): EUC-JP and Shift_JIS are not builtin now. * enc/Makefile.in: ditto. * common.mk: ditto. * ruby.c (proc_options): ditto. * enc/shift_jis.c, enc/euc_jp.c: fixes for romove from builtin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_table): packed all enc_table stuff.nobu2008-01-133-60/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): revert removing SJIS.naruse2008-01-135-15/+35
| | | | | | | | | | | | | | * enc/sjis.c: move to enc/shift_jis.c, to make encoding name equal to filename for convinience of loading lib. * enc/shift_jis.c: moved from enc/sjis.c. * common.mk: follows enc/shift_jis.c. * enc/Makefile.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (incs): includes encdb.h.nobu2008-01-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (MV): use move instead of ren. [ruby-Bugs-17019]nobu2008-01-133-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/make_encdb.rb: set properties.nobu2008-01-131-64/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/make_encdb.rb: should work on Ruby 1.8. [ruby-dev:33069]matz2008-01-124-11/+16
| | | | | | * common.mk (encdb.h): pass enc dir from outside to make_encdb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-121-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_aliases): don't see enc_table_alias when it wasn't ↵naruse2008-01-121-2/+2
| | | | | | initialized yet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e