nobu
160daa1dbc
* lib/rdoc/options.rb ():
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 01:24:05 +00:00
nobu
0ced605434
* win32/win32.c (rb_w32_open_osfhandle): reverted to old definition.
...
[ ruby-Bugs-16948 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-10 01:53:52 +00:00
nobu
9779076300
* win{32,ce}/Makefile.sub: merged.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 11:02:10 +00:00
usa
3450321ff7
* 2008-01-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 01:57:24 +00:00
nobu
555d072892
* win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03 16:20:29 +00:00
nobu
bf89a51315
* io.c (fptr_finalize): clear errno first. [ruby-talk:284492]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03 02:29:04 +00:00
usa
3a215c9110
* 2007-01-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02 01:57:02 +00:00
nobu
3729e62609
* trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for cross
...
compiling.
* configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib
moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 21:50:40 +00:00
nobu
9e1da70e14
* intern.h, string.c (rb_str_set_len): added for upgrading path from
...
1.8 to 1.9. [ruby-dev:32807]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 02:01:24 +00:00
nobu
b655714f18
* common.mk: should not pass MAKEFLAGS to recursive make.
...
+ normal make: MFLAGS are set and command line options and macros
are all passed silently.
+ GNU make: ditto, and all options and macros in MAKEFLAGS are in
effect.
+ nmake: MFLAGS is not set and MAKEFLAGS has only options without
hyphen, no macros exist in any variables.
+ Borland make: ditto, and command line macros cannot override
macros in makefile, so passing them is vain.
* {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not
set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:56:33 +00:00
nobu
2bd1fa4ace
* bignum.c (rb_cstr_to_inum): an underscore succeeding after octal
...
prefix is allowed. [ruby-core:14139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 01:52:31 +00:00
nobu
12320eb505
* Makefile.in (RUNRUBY): added RUNRUBYOPT.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17 03:21:27 +00:00
nobu
049b420f68
* configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined
...
and its type.
* configure.in (timezone, altzone): check for recent cygwin.
* missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14 01:01:42 +00:00
knu
b0388e77e3
* array.c (rb_ary_slice_bang): If an invalid negative index (<=
...
-size) is given, do not raise an exception but return nil just
like slice() does.
* test/ruby/test_array.rb (TestArray::test_slice,
TestArray::test_slice!): Pull in test cases from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10 15:08:31 +00:00
matz
39a6f7e34e
* lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
...
regular expression. a patch from Ueda Satoshi
<s-ueda AT livedoor.jp>. [ruby-dev:32514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10 09:31:55 +00:00
nobu
ee1717dc3e
* lib/cgi.rb (read_multipart): exclude blanks from header values.
...
[ruby-list:44327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 03:39:04 +00:00
nobu
727ae9a4f5
* range.c (step_i, range_step): support non-fixnum steps.
...
[ruby-talk:282100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-05 06:15:23 +00:00
nobu
786a92feb0
* bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezing
...
preceeding 0s. [ruby-core:13873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-04 02:23:52 +00:00
kou
6b42073a34
* lib/rss/rss.rb, test/rss/test_version.rb, NEWS: 0.2.1 -> 0.2.2.
...
* lib/rss/maker/itunes.rb: fixed new_itunes_category.
* lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because
of consistency.
* test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed
needless UTF-8 characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-02 06:51:07 +00:00
nobu
54062fed11
* parse.y (newline_node): set line from outermost node before removing
...
NODE_BEGIN. [ruby-dev:32406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-30 18:30:49 +00:00
nobu
a57d0b0926
* parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-29 07:59:12 +00:00
nobu
b76bf9f66f
* bignum.c (rb_big2str0): do not clobber space for sign.
...
* sprintf.c (remove_sign_bits): extends sign bit first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-28 00:51:44 +00:00
matz
641be733a6
* object.c (nil_plus): remove unused function. [ruby-core:13737]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-20 16:18:05 +00:00
nobu
449873048f
* lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18 00:09:50 +00:00
suke
017429c76c
ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-17 05:25:09 +00:00
nobu
d8d2fe124a
* lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-16 02:16:43 +00:00
matz
2d1ccd3826
* lib/cgi/session.rb (CGI::Session::FileStore::restore): use
...
lockfile for exclusive locks. a patch from <tommy AT tmtm.org>.
[ruby-dev:32296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-15 09:17:58 +00:00
nobu
349377aab4
* numeric.c (round): fallback definition.
...
* numeric.c (flo_divmod, flo_round): use round() always.
[ruby-dev:32269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13 16:34:45 +00:00
shyouhei
9bb7c21970
* numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12 18:41:31 +00:00
matz
8343f008c1
* misc/ruby-mode.el (ruby-parse-partial): handle stringified
...
symbols properly using ruby-forward-string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12 04:55:19 +00:00
matz
01b0b42333
* random.c: update MT URL.[ruby-core:13305].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-08 22:29:09 +00:00
matz
1be73cbce9
* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for
...
nkf conversion. a patch from <moonwolf AT moonwolf.com>.
[ruby-dev:32183]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-06 18:37:49 +00:00
matz
308f4f2df2
* parse.y (call_args): remove "parenthesize argument(s) for future
...
version" warning. when I added this warning, I had a plan to
reimplement the parser that is simpler than the current one.
since we abandoned the plan, warning no longer required.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04 16:28:11 +00:00
matz
35c9feaeb7
* array.c (rb_ary_assoc): check and convert inner arrays (assocs)
...
using #to_ary.
* hash.c (rb_hash_s_create): check and convert argument hash
using #to_hash.
* hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of
hash conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-02 06:30:26 +00:00
nobu
92d83c9354
* numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-26 08:01:41 +00:00
nobu
42cff90a29
* io.c (rb_io_tell, rb_io_seek): check errno too. [ruby-dev:32093]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25 05:19:33 +00:00
kou
57a639494a
* lib/rss.rb, lib/rss/, test/rss/, sample/rss/: merged from trunk.
...
- 0.1.6 -> 2.0.0.
- fixed image module URI. Thanks to Dmitry Borodaenko.
- supported Atom.
- supported ITunes module.
- supported Slash module.
* NEWS: added an entry for RSS Parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-21 12:19:43 +00:00
nobu
d95e0da764
* marshal.c (r_bytes0): check if source has enough data.
...
[ruby-dev:32054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-15 00:58:09 +00:00
nobu
f31e0ec7fc
* win32/mkexports.rb: deal with __fastcall name decorations.
...
[ruby-list:44111]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13 18:55:54 +00:00
matz
27158958fa
* lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): typo
...
fixed. [ruby-list:44099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-12 15:36:00 +00:00
matz
a6ea67016c
* re.c (match_values_at): make #select to be alias to #values_at
...
to adapt RDoc description. [ruby-core:12588]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-12 14:36:02 +00:00
usa
7adaab39da
* 2007-10-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-11 05:34:58 +00:00
matz
015014380b
* string.c (rb_str_to_i): update RDoc since base can be any value
...
between 2 and 36. [ruby-talk:272879]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-06 14:17:55 +00:00
knu
7b55a1e2ae
2007-10-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-05 06:58:18 +00:00
usa
b5aaf376b0
* win32/win32.c (init_env): initialize HOME and USER environment
...
variables unless set. [ruby-core:12328] (merge from trunk)
* win32/win32.c (NtInitialize, getlogin): ditto.
* configure.in, win32/Makefile.sub (LIBS): need to link shell32
library for SH* functions on mswin32 and mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-02 12:18:35 +00:00
matz
ac7497416d
* eval.c (remove_method): should not remove undef place holder.
...
[ruby-dev:31817]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 13:44:21 +00:00
nobu
8ca32b6e6e
* parse.y (yyerror): limit error message length. [ruby-dev:31848]
...
* regex.c (re_mbc_startpos): separated from re_adjust_startpos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25 20:12:19 +00:00
nobu
7522f72276
* gc.c (os_obj_of, os_each_obj): hide objects to be finalized.
...
[ruby-dev:31810]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-23 00:05:07 +00:00
nobu
cfea253c0f
* ext/stringio/stringio.c (strio_init): separate from strio_initialize
...
to share with strio_reopen properly. [ruby-Bugs-13919]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-21 20:19:51 +00:00
nobu
b21b9a46cf
* string.c (str_alloc): defaults to null_str instead of NULL.
...
[ruby-dev:31774]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-20 16:46:21 +00:00