Commit graph

4291 commits

Author SHA1 Message Date
naruse
31c1883a54 * dir.c (fnmatch_helper): use rb_enc_precise_mbclen and
fail if bytes are invalid. [ruby-dev:38307]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-15 03:00:31 +00:00
nobu
205c4b490c * dir.c (bracket): if same in bytes, path is matching.
[ruby-dev:38305]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-14 09:11:29 +00:00
naruse
87335c3e2f * sprintf.c (rb_str_format): check encoding compatibility only on
real parts.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-13 02:00:30 +00:00
nobu
207becd942 * dir.c (bracket, fnmatch_helper): compare bytewise first, to get
rid of invalid byte sequence.  [ruby-dev:38303]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-12 10:54:59 +00:00
nobu
6e785b17b6 * configure.in (Makefile): phoeny ruby target needs empty command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-10 23:45:59 +00:00
nobu
8191f129b5 * instruby.rb, mkconfig.rb: deal with --program-transform-name
better.  now supports s, y commands and single addressing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-09 18:01:26 +00:00
svn
7bce595970 * 2009-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-09 14:59:58 +00:00
nobu
34f01201f9 * configure.in (LIBRUBY_SO): removed redundant additional version
numbers.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-08 00:46:00 +00:00
nobu
8ebd0d4320 * numeric.c (flo_to_s): reduce fragments if no precision lost.
c.f. [ruby-core:23075]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 16:08:23 +00:00
nobu
aaec30f96a * ext/stringio/stringio.c (strio_path): removed. [ruby-dev:38254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 01:47:15 +00:00
nobu
a3e7e369bc * include/ruby/intern.h (Init_stack): moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-05 08:59:02 +00:00
nobu
c2b381c5c0 * mkconfig.rb (sitearch): default to arch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-03 22:38:54 +00:00
nobu
2b7279ba5f * ext/extmk.rb: quotes arguments with spaces always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-03 03:45:58 +00:00
nobu
b6e82baca5 * win32/Makefile.sub (config.h): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 22:42:29 +00:00
svn
2fa90ebea0 * 2009-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-31 18:49:51 +00:00
svn
7fd6fb63d1 * 2009-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-30 23:20:50 +00:00
svn
c3faa28bb7 * 2009-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-29 16:00:52 +00:00
nobu
896db7d625 * lib/pathname.rb (Pathname#relative_path_from): compares path
components according to system default case-sensitiveness.
  [ruby-core:22829]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-28 23:59:28 +00:00
nobu
72122dd947 * lib/mkmf.rb (link_command, cc_command, cpp_command): should not
override extout defined in extmk.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27 18:17:07 +00:00
svn
f0c0f504f4 * 2009-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 16:21:04 +00:00
nobu
340d9c59fd * bin/{irb,rdoc}: executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 01:31:24 +00:00
svn
9eb6a24f3f * 2009-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-24 22:44:24 +00:00
svn
be974b81dd * 2009-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-24 08:11:06 +00:00
nobu
15265f8be6 * enc/depend (link_so): replaces $(TARGET) with basename of the
target.  [ruby-talk:330286]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-22 21:51:18 +00:00
nobu
6a64e9e4ac * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL as
application name for batch files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-22 05:51:58 +00:00
svn
f6e1b6ec74 * 2009-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20 17:39:51 +00:00
svn
6de469ae06 * 2009-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19 15:31:29 +00:00
nobu
b7800329d3 * configure.in (RUBY_CHECK_SIZEOF): allows qualified name.
* configure.in (RUBY_REPLACE_TYPE): checks more strictly.

* configure.in (struct stat.st_size, struct stat.st_blocks),
  (struct stat.st_ino): check for size.

* lib/mkmf.rb (check_sizeof): allows qualified name.

* file.c (rb_stat_ino, rb_stat_blocks): check by size.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19 09:49:51 +00:00
svn
d0182b81b3 * 2009-03-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-17 17:43:53 +00:00
svn
ea9628c3bc * 2009-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-17 01:15:38 +00:00
nobu
40819d4599 * Makefile.in, common.mk, win32/Makefile.sub: added preprocessing rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 00:29:00 +00:00
nobu
f621b32e58 * proc.c (bmcall): should not uninitialized variable. a patch from
pegacorn at [ruby-dev:38169].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-14 17:09:33 +00:00
svn
e9299bc22f * 2009-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-13 22:42:21 +00:00
nobu
0f71c10acb * util.c (rv_strdup): macro to duplicate nul-terminated string.
[ruby-core:22852]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-12 23:06:51 +00:00
nobu
1c2cc09063 * tool/ytab.sed: replaces backslashes with slash for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 16:08:24 +00:00
nobu
cb434b4a80 * signal.c (sig_trap): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 19:22:11 +00:00
nobu
31d1d0a829 * configure.in (load_relative): new option to enable load path
relative to libruby_so.

* ruby.c (ruby_init_loadpath_safe): added the case using dladdr().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 15:06:22 +00:00
svn
4bcd1853af * 2009-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 16:12:13 +00:00
svn
0d5171c5f8 * 2009-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 16:56:56 +00:00
svn
888d294784 * 2009-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 03:10:48 +00:00
nobu
e2421845df * configure.in (RUBY_LIB_VERSION_STYLE): sets full or minor style
not to show RUBY_VERSION_MAJOR and so on.

* version.h (RUBY_LIB_VERSION): makes from RUBY_LIB_VERSION_STYLE.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 10:25:41 +00:00
svn
5361beca99 * 2009-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:57:41 +00:00
svn
5f05be456b * 2009-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 15:06:44 +00:00
svn
5371f5cb26 * 2009-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 15:57:20 +00:00
svn
8dba4cdf88 * 2009-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 16:56:45 +00:00
svn
d6802f03b8 * 2009-03-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 15:57:37 +00:00
svn
fe017d1450 * 2009-03-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 05:10:41 +00:00
svn
4012672433 * 2009-02-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 15:21:28 +00:00
svn
6792751d4f * 2009-02-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 05:23:16 +00:00
svn
20bb7abc6e * 2009-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-25 15:26:30 +00:00