akr
298d66296d
revert last commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 10:12:14 +00:00
akr
01d7d19077
* enc/trans/make_transdb.rb: error message improved.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 09:35:38 +00:00
usa
7f8e24d43f
* enc/trans/utf_16_32.trans (from_UTF_8): rename from to_UTF_16BE
...
because it was not collect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 05:06:05 +00:00
yugui
2e094d086a
* enc/emacs_mule.c (svn:executable): dropped executable bit.
...
* enc/make_encdb.rb (svn:executable): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 05:04:30 +00:00
nobu
043d9fe44e
* ChangeLog: fixed ML reference of r15966.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 04:59:35 +00:00
usa
6d4a6a309b
* win32/Makefile.sub (COMPILERFLAG): new compiler flag to compile
...
enc/trans/japanese*.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 03:59:39 +00:00
akr
a2ada174a5
* enc/trans/japanese_euc.trans: splitted from japanese.trans to avoid
...
compiler limitation. reported by usa.
* enc/trans/japanese_sjis.trans: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 03:39:11 +00:00
usa
11ba62be29
* win32/Makefile.sub (miniruby): new target.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 03:32:32 +00:00
nobu
14cf8d09ca
* marshal.c (struct load_arg): data is now st_table.
...
* marshal.c (mark_load_arg): marks data and compat_tbl.
* marshal.c (r_object0): no need to check if reentered.
* marshal.c (marshal_load): make the wrapper with mark_load_arg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 02:47:38 +00:00
nobu
3977007d18
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 02:46:58 +00:00
usa
7247d1a857
* win32/win32.c (gettimeofday): easier calculation. use the definition
...
of the Gregorian calender.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 01:51:41 +00:00
yugui
2ede3bfee8
* common.mk (distclean-golf): moved golf_prelude.c here from
...
distclean-local.
(GOLFPRELUDE): added.
(distclean-local): moved golf_prelude.c into distclean-golf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 01:36:37 +00:00
usa
0c26c309d4
* win32/win32.c (gettimeofday): calc tv_sec and tv_usec from system
...
time by myself. [ruby-dev:36084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 01:17:28 +00:00
akr
784ccb5806
* transcode_data.h (o3): prevent sign extension on 64bit environment.
...
(o4): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 19:01:27 +00:00
akr
5727e9c980
* tool/transcode-tblgen.rb: comment removed in generated code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 18:26:58 +00:00
akr
c5759bfb5b
* tool/transcode-tblgen.rb: define TRANSCODE_TABLE_INFO in generated
...
code. use it in rb_transcoder.
* enc/trans/newline.trans: use TRANSCODE_TABLE_INFO.
* enc/trans/iso2022.trans: ditto.
* enc/trans/utf_16_32.trans: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 18:18:50 +00:00
akr
6058eeaf03
* tool/transcode-tblgen.rb: record infos and BYTE_LOOKUPs as index of
...
word_array to avoid relocation.
* transcode.c (transcode_restartable0): add word_array to get infos
and BYTE_LOOKUPs.
* transcode_data.h (BYTE_LOOKUP_INFO): change return type to
uintptr_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 18:06:28 +00:00
akr
3b090adf7c
* tool/transcode-tblgen.rb: don't need to cast offsets array.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 17:49:13 +00:00
akr
7908180df1
* tool/transcode-tblgen.rb: record offsets array as index of
...
byte_array to avoid relocation.
* transcode.c (transcode_restartable0): add byte_array to get offsets
array.
* transcode_data.h (BYTE_LOOKUP_BASE): change return type to
uintptr_t.
(rb_transcoder): add fields: byte_array, word_array and word_size.
* enc/trans/newline.trans: follow rb_transcoder change.
* enc/trans/iso2022.trans: ditto.
* enc/trans/utf_16_32.trans: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 17:40:32 +00:00
akr
6c835ee50a
* tool/transcode-tblgen.rb: make infos arrays and BYTE_LOOKUPs into
...
single array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 17:06:07 +00:00
yugui
4bec0938a1
* common.mk (clean-golf): added.
...
(distclean-golf): added.
(realclean-golf): added.
(clean): added clean-golf.
(distclean): added distclean-golf.
(realclean): added realclean-golf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 16:51:06 +00:00
yugui
1ff83a064f
* common.mk (realclean-local): added newline.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 16:33:26 +00:00
svn
aa029500bf
* 2008-09-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 16:22:54 +00:00
akr
752e053a1d
* transcode_data.h (BYTE_LOOKUP): change to uintptr_t array.
...
(BYTE_LOOKUP_BASE): follow the type change.
(BYTE_LOOKUP_INFO): ditto.
(PType): ditto.
(rb_transcoding): ditto.
* tool/transcode-tblgen.rb: follow the type change.
* transcode.c: ditto.
* enc/trans/newline.trans: ditto.
* enc/trans/iso2022.trans: ditto.
* enc/trans/utf_16_32.trans: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 16:22:49 +00:00
akr
2ae7b0328e
* transcode_data.h (BYTE_LOOKUP_BASE): abstract accessor for
...
BYTE_LOOKUP.
(BYTE_LOOKUP_INFO): ditto.
* transcode.c (transcode_restartable0): use BYTE_LOOKUP_BASE and
BYTE_LOOKUP_INFO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 14:33:56 +00:00
akr
edf1d608c7
* tool/transcode-tblgen.rb: gather infos arrays and BYTE_LOOKUPs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 14:16:30 +00:00
shugo
bf2473d869
added acknowledgment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 13:55:49 +00:00
yugui
add4d16477
* lib/mkmf.rb (distclean): added RM_RF conftest.dSYM.
...
Fixes distclean-ext problem on Mac OS X.
(RM_RF): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 13:44:54 +00:00
shugo
bb1d005da6
* lib/rexml/document.rb: limit entity expansion.
...
* lib/rexml/entity.rb: ditto.
* test/rexml/test_document.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 13:41:38 +00:00
akr
339dfc32a7
* tool/transcode-tblgen.rb: make offsets arrays into single array.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 13:21:06 +00:00
akr
03ec9b1aac
* tool/transcode-tblgen.rb: gather offsets array at top.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 12:52:58 +00:00
yugui
b6b1931b7b
* .: removed rubyspec from svn:ignore subversion property.
...
rubyspec directory is no longer used.
* spec: added mspec and rubyspec to svn:ignore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 12:13:10 +00:00
akr
9f8cf6559a
* tool/transcode-tblgen.rb: ValidEncoding['eucJP-ms'] defined.
...
"\xA2\xAF".encode("utf-8", "eucJP-ms") should raise
Encoding::ConversionUndefined, not Encoding::InvalidByteSequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 10:38:16 +00:00
usa
03f1a06114
* ChangeLog: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 09:32:40 +00:00
usa
9b1508a5ce
* ChangeLog: ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 09:30:08 +00:00
usa
4badcec903
* win32/win32.c (gettimeofday): shouldn't use mktime(2) because it's
...
buggy about handling summer time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 09:28:54 +00:00
naruse
8087f26de6
fix changelog [ruby-dev:36070]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 08:31:54 +00:00
naruse
3960c2f7a7
* enc/euc_jp.c (euc-jp-ms): euc-jp-ms is not EUC-JP not an alias of
...
eucJP-ms.
* enc/trans/japanese.trans (eucJP-ms): eucJP-ms is the correct
name of the encoding in Ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 08:24:55 +00:00
nobu
cb50168eb0
* ext/digest/md5/md5init.c (md5), ext/digest/rmd160/rmd160init.c
...
(rmd160) ext/digest/sha1/sha1init.c (sha1),
ext/digest/sha2/sha2init.c (sha256, sha384, sha512): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 07:48:53 +00:00
naruse
a7cdd20204
* enc/trans/japanese.trans: fix mapping priority.
...
IBM extended is prior than NEC selected IBM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 06:16:42 +00:00
naruse
7ae5e9c960
* tool/transcode-tblgen.rb (transcode_compile_tree): use the first
...
mapping when some mappings are given for a character.
[ruby-dev:36068]
* tool/transcode-tblgen.rb: expandtab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:54:36 +00:00
yugui
d7cffe9768
* README.EXT (Appendix A): fixed the name of class
...
Enumerator. Enumerable::Enumerator was renamed just
Enumerator at revision 18564.
* README.EXT (Appendix A): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:45:06 +00:00
usa
ae80b4fac2
* tool/transcode-tblgen.rb: set ERB source filename for error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:39:48 +00:00
nobu
c6c4ce81c2
* enc/depend: transdb.c may not present.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:37:04 +00:00
naruse
7ea3d11e22
* enc/trans/japanese.trans: fix Ruby 1.8 compatibility.
...
* enc/trans/japanese.trans: fix mapping priority. [ruby-dev:36068]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:27:48 +00:00
naruse
629da9d049
* test/ruby/test_transcode.rb (test_windows_31j): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:25:18 +00:00
yugui
a4ee7c2c3b
* README.EXT (Data-types): fixed for current status.
...
(Manipulating Ruby data): mentioned some more functions.
(Class/module definition): ditto.
(Global variables shared between C and Ruby):
fixed prototypes for the getter/setter's of global variables.
(Appendix A): mentioned some more files.
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 05:08:44 +00:00
nobu
a107e1e998
* lib/fileutils.rb (copy_stream, fu_copy_stream0, copy_file): use
...
IO.copy_stream to get rid of extraneous conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 02:31:56 +00:00
usa
d4c5212794
* strftime.c (rb_strftime): calc timezone offset by myself if system
...
doesn't provide timezone info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 17:58:13 +00:00
akr
0f81455429
* tool/transcode-tblgen.rb: change "illegal" to "invalid".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 17:49:08 +00:00