naruse
f1eff95745
Update Oniguruma's UnicodeData to 5.1.
...
* tool/enc-unicode.rb: added for generate name2ctype.kwd.
contributed by Run Paint Run Run [ruby-core:24775]
use like following:
ruby19 tool/enc-unicode.rb enc/unicode/UnicodeData.txt \
enc/unicode/Scripts.txt > enc/unicode/name2ctype.kwd
* enc/unicode.c (CodeRanges): move definitions to name2ctype.h.
* enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd,
enc/unicode/name2ctype.src: updated to v5.1.
* enc/unicode/UnicodeData.txt, enc/unicode/Scripts.txt: added v5.1.
* Makefile.in: add rule to generate name2ctype.kwd from
UnicodeData.txt and Scripts.txt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 16:15:38 +00:00
naruse
649f648ec1
Fix for Linux compatibility
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 14:33:11 +00:00
naruse
0fd1688bf5
Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P.
...
* configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P
when AC_PROG_MKDIR_P doesn't set MKDIR_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 13:36:32 +00:00
nobu
ebbe19e1ad
* random.c (rand_init, random_load): use already defined macro.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 09:21:39 +00:00
nobu
8e6ea3712b
* bignum.c (rb_big_clone, bigmul1_normal, bigdivrem): trivial
...
optimization.
* bignum.c (big2dbl): truncates zero digits to get rid of possible
underflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 08:38:28 +00:00
nobu
7734d17849
* Makefile.in (enc/unicode/name2ctype.h): explicitly ignores the
...
result of diff and turns -e option off, because *BSD make passes
it by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 03:22:30 +00:00
nobu
b55c4210ef
* Makefile.in (enc/unicode/name2ctype.h): explicitly ignores the
...
result of diff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 02:42:55 +00:00
nobu
24dc34e3f4
* configure.in (DLDFLAGS): use linker_flag and changed undefined
...
and multiply_defined behaviors. cf [ruby-core:25086].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 17:16:40 +00:00
kou
b0947c5e04
* lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bug
...
that RSS Maker doesn't accept 'false' as guid's isPermaLink.
Reported by Joe Holt. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 12:31:22 +00:00
usa
9096abd36a
* include/ruby/missing.h (vsnprintf): rollback a part of r24179, because
...
it's meaningless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 10:00:18 +00:00
nobu
355e0f4efd
* st.c (st_delete_safe): deals with packed entries.
...
[ruby-core:25080]
* st.c (st_cleanup_safe): ditto. [ruby-core:25081]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 07:36:02 +00:00
usa
16fc2951b1
* win32/Makefile.sub (MAKEDIRS): define.
...
* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 04:24:24 +00:00
usa
012a13180a
* win32/Makefile.sub (MAKEDIRS): define.
...
* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 04:23:56 +00:00
nobu
4f867dddc4
* configure.in (RUBY_CHECK_SIZEOF): set cross_compiling only when
...
universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 04:14:12 +00:00
svn
d93cb9e058
* 2009-08-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 03:55:40 +00:00
nobu
3bf1ea2217
* win32/Makefile.sub (enc/unicode/name2ctype.h): use md instead of
...
$(MAKEDIRS).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 03:55:26 +00:00
akr
7c2d363bae
* bootstraptest/runner.rb (main): "usage" description updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-23 06:24:33 +00:00
akr
0ebb7c1c9b
* bootstraptest/runner.rb (Dir.mktmpdir): updated to latest.
...
(in_temporary_working_directory): temporary directory name changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-23 06:15:00 +00:00
svn
e709b20486
* 2009-08-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 16:19:29 +00:00
akr
832fd6825c
* thread.c (rb_thread_schedule): don't recur infinitely.
...
(rb_threadptr_execute_interrupts): ditto.
[ruby-dev:38060]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 16:19:18 +00:00
akr
00b8444c93
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 06:42:05 +00:00
akr
97ed18f1da
YAML parser don't need identity hash.
...
revert the part of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 06:23:48 +00:00
akr
dfc3fccef3
* ext/syck/rubyext.c (id_hash_new): new function to create a hash
...
which key is compared by object id.
(syck_parser_load): use id_hash_new for bonus->data.
(syck_parser_load_documents): ditto.
(syck_emitter_reset): ditto.
* lib/yaml.rb (YAML.quick_emit): give the object itself to eimitter.
don't use object_id and hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 04:52:09 +00:00
naruse
0570b9969b
* Makefile.in: use CP and MV macros.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 04:17:38 +00:00
akr
c89714924c
fix rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 03:40:35 +00:00
akr
b2a83ef6f2
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22 03:19:53 +00:00
nobu
7e97b9af80
* lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.
...
[ruby-dev:39153]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 16:29:33 +00:00
akr
461bd62fec
* enumerator.c (ary2sv): add dup argument.
...
(enumerator_next): call ary2sv with dup=0.
(enumerator_peek): call ary2sv with dup=1 to return duplicated array.
(enumerator_peek_values_m): new function to return duplicated array.
(Init_Enumerator): use enumerator_peek_values_m as
Enumerator#peek_value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 15:51:35 +00:00
akr
7609494ffd
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 15:18:57 +00:00
svn
72ef81730f
* 2009-08-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 15:14:37 +00:00
mame
f72b854c7d
* thread.c (rb_check_deadlock): decrease number of sleepers before
...
deadlock detection because the deadlock exception makes main thread
run. [ruby-dev:39142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 15:14:29 +00:00
akr
3a855da47b
* enumerator.c (get_next_values): extracted from
...
enumerator_next_values.
(enumerator_next_values): use get_next_values.
(enumerator_peek_values): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 13:39:35 +00:00
nobu
a7b920686a
* enc/unicode/name2ctype.h: split from enc/unicode.c and made a
...
perfect hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 08:01:09 +00:00
nobu
a606038c6a
* enc/utf_8.c (code_to_mbc): suppressed a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 06:37:36 +00:00
naruse
7fa7345609
Rename FMODE_STRIP_BOM to FMODE_SETENC_BY_BOM.
...
* include/ruby/io.h, io.c (FMODE_SETENC_BY_BOM):
renamed from FMODE_STRIP_BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 06:17:06 +00:00
naruse
f7207fa2fc
Change modestr syntax for BOM to "BOM|UTF-*".
...
* io .c (rb_io_fmode_modestr): change modestr syntax for BOM
to "BOM|UTF-*".
* io.c (parse_mode_enc): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 06:16:53 +00:00
naruse
7510468707
use rl_prep_terminal only on Windows. [ruby-core:25009]
...
* ext/readline/readline.c (readline_readline): use rb_prep_terminal
only on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 06:04:21 +00:00
nobu
09cbac3f86
* lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to get
...
rid of loading rubygems and searching all gems always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 22:25:52 +00:00
nobu
7439c06ab7
* configure.in (RUBY_PROGRAM_VERSION, RUBY_RELEASE_DATE): extracts
...
from version.h for cross-compiling.
* template/fake.rb.in (RUBY_VERSION, RUBY_DESCRIPTION): use above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 22:14:58 +00:00
nobu
e22b92dce4
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 15:08:07 +00:00
svn
cb5fdf4e92
* 2009-08-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 15:06:42 +00:00
nobu
4b82d3b6b8
* io.c (rb_sysopen_internal): removed const qualifier.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 15:06:36 +00:00
nobu
36c9cddf6c
* io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 14:56:23 +00:00
mame
4c5d7d53b2
* parse.y (reduce_nodes_gen): preserve NODE_FL_NEWLINE flag during
...
node reducing. [ruby-core:24463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 14:42:16 +00:00
naruse
681754c29d
Fix: change terminal's size on Widows when the window size is changed
...
* ext/readline/readline.c (readline_get): add rl_prep_terminal(1).
insited by jitte [ruby-list:43546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 05:44:28 +00:00
nobu
bfc94fde25
* parse.y (ENABLE_SELECTOR_NAMESPACE): defaulted to 0.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 03:11:01 +00:00
nobu
4a7cf7638c
* parse.y (ivar2_hash_type): disabled for now.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 03:09:08 +00:00
matz
ec5e3c551d
* thread.c (rb_thread_terminate_all): do not ignore interrupt when
...
reaping threads on termination. [ruby-dev:39107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 00:42:16 +00:00
akr
ce46bc6345
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19 20:26:38 +00:00
akr
fb99416115
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19 20:21:19 +00:00