usa
727371f88a
* include/ruby/win32.h: check definition existance before defining
...
errno macros.
* win32/win32.c (errmap): define winsock errors mappings.
these are VC++10 support. see [ruby-core:29278]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 05:58:07 +00:00
naruse
e41936441b
Surpress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 03:01:52 +00:00
nobu
2ff26f2220
* template/fake.rb.in: hooks for extconf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 02:21:40 +00:00
naruse
00adf578df
Fix wrong regexp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 00:53:34 +00:00
naruse
b3ac1c3fb8
Refix previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 00:53:14 +00:00
naruse
75ba1d6ac4
Fix previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 00:22:04 +00:00
naruse
9ea41e083c
Remove warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 21:27:40 +00:00
naruse
8287d55340
* lib/rexml/text.rb (REXML::Text.check): comment out
...
broken logic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 21:21:53 +00:00
naruse
40bc864003
* lib/rexml/parsers/baseparser.rb (LETTER, DIGIT):
...
always use POSIX charclass.
* lib/rexml/parsers/baseparser.rb (NAMECHAR):
remove duplicated range.
* lib/rexml/xmltokens.rb (NCNAME_STR, NAMECHAR): ditto.
* lib/rexml/parsers/xpathparser.rb (PathExpr): ditto.
* lib/rexml/text.rb (REXML::Text#initialize):
initialize @parent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 21:08:12 +00:00
svn
34fb945348
* 2010-04-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 15:30:25 +00:00
marcandre
634616d7f3
* test/matrix/test_vector.rb: Oups, removed another obsolete test
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 15:30:18 +00:00
naruse
500c78c610
* re.c (make_regexp): use onig_new_with_source to keep
...
sourcefile and sourceline.
* re.c (onig_new_with_source): copied from onig_new in
regcomp.c for keep sourcefile and sourceline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 10:57:38 +00:00
usa
54da3ecbcb
* include/ruby/win32.h, win32/win32.c (EWOULDBLOCK): VC10 already
...
defined EWOULDBLOCK. based on a patch from Charlie Savage,
see [ruby-core:29255]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 04:26:33 +00:00
naruse
10c9ed2493
* ext/psych/lib/psych/core_ext.rb: remove before alias.
...
* ext/syck/lib/syck.rb: don't warn called by itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 04:12:14 +00:00
usa
f1c86c1bb2
* win32/mkexports.rb (each_export): VC10 support.
...
a patch from Charlie Savage in [ruby-core:29254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 04:09:45 +00:00
naruse
b847ca06bf
Don't warn when YAML.quick_emit is called by Object#to_yaml.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 02:42:37 +00:00
svn
563cd015e5
* 2010-04-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-04 15:11:08 +00:00
marcandre
daad4e2433
* test/matrix/test_matrix.rb (class): Cleanup tests
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-04 15:10:44 +00:00
akr
782e379f29
* time.c (cmp): optimize for fixnums.
...
(lt): use cmp.
(gt): ditto.
(le): ditto.
(ge): ditto.
(wlt): use wcmp.
(wgt): ditto.
(wle): ditto.
(wge): ditto.
(time_subsec): use wmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-04 13:20:29 +00:00
naruse
0cd2058bb3
Remove circular dependency of syck.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-04 04:41:25 +00:00
naruse
b919cb1d93
* include/ruby/ruby.h: replace snprintf and vsnprintf by
...
ruby_snprintf and ruby_vsnprintf. [ruby-dev:40909]
* configure.in: don't check snprintf(3) and vsnprintf(3).
* include/ruby/missing.h: don't delare snprintf and vsnprintf.
* include/ruby/ruby.h: include stdarg.h.
* sprintf.c: include vsnprintf.c
* vsnprintf.c: renamed from missing/vsnprintf.c.
* vsnprintf.c: remove useless ifdefs.
* win32/mkexports.rb: use ruby_snprintf and ruby_vsnprintf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-04 01:10:53 +00:00
akr
9c50406bd5
* time.c (lt): call <=> instead of <.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-04 00:45:02 +00:00
tenderlove
eb71e5cd67
* lib/yaml: Moved to ext/syck/lib, Syck only uses Syck constant.
...
* lib/yaml.rb: Added an engine manager for choosing YAML engine.
* ext/syck/lib/syck/rubytypes.rb: squashed warnings when using Psych
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 21:50:47 +00:00
svn
ca926ad017
* 2010-04-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 21:00:08 +00:00
marcandre
93f4317f89
* array.c (rb_ary_product): Don't limit based on size when a block is given
...
cf [ruby-core:29240]
* test/ruby/test_array.rb (class): Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 20:59:56 +00:00
kazu
88a4bf912d
fix rdoc. see r26808
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 14:57:20 +00:00
akr
8587c246e9
* time.c: don't define STRUCT_WIDEVAL.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 13:48:37 +00:00
nobu
8acd03f0f7
* lib/rdoc/rdoc.rb (RDoc#{setup,update}_output_dir): store mtimes
...
per files in the flag file.
* lib/rdoc/rdoc.rb (RDoc#normalized_file_list): skip already
processed and unmodified files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 09:15:13 +00:00
nobu
d38090cff5
* common.mk (rdoc): independent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 09:09:43 +00:00
nobu
f01510d074
* common.mk (rdoc): no force-update, and add RDOCFLAGS.
...
* lib/rdoc/options.rb (RDoc#parse): no-force-update option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 06:09:37 +00:00
nobu
6decf411c6
* random.c (random_rand): raise ArgumentError on nil, as the
...
documentation implies. [ruby-core:29075]
* random.c (rb_f_rand): mentioned the case of when max is nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 01:51:26 +00:00
naruse
a9aeb765c5
Remove platform dependent test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 23:18:51 +00:00
marcandre
94ab139bc9
* array.c (rb_ary_product): Make defensive copy in case of block...
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 22:44:17 +00:00
marcandre
d0a98a0e90
* array.c (rb_ary_product): Test for reentry
...
* test/ruby/test_array.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 22:25:49 +00:00
marcandre
7cf6ecd9de
* array.c (rb_ary_product): Accept a block [ruby-core:29045]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 21:56:34 +00:00
akr
8d8ff193b6
* tool/file2lastrev.rb (VCS#relative_to): path and @srcdir may have
...
different relative-ness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 19:48:04 +00:00
nobu
4b4dbeb93f
property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 18:51:55 +00:00
kazu
fe0aab0911
* lib/benchmark.rb (Benchmark::Tms#add): fix NameError.
...
[ruby-dev:40906]
* test/benchmark/test_benchmark.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 18:22:29 +00:00
nobu
eb86567b69
* lib/rdoc/parser/ruby.rb (RDoc#make_message): no empty lines.
...
* lib/rdoc/stats.rb (RDoc::Normal#print_file): send to stdout and
flush always
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 16:50:14 +00:00
nobu
e654e593a5
* lib/rdoc/parser/ruby.rb (RDoc#error): get rid of magic number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 16:45:47 +00:00
svn
de286af376
* 2010-04-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 15:03:29 +00:00
nobu
58a93ce441
* lib/rdoc/class_module.rb (RDoc#merge): get rid of stack overflow.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 15:03:18 +00:00
nobu
232ced7342
* lib/rdoc/parser/c.rb (RDoc#handle_method): see source files in
...
source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 13:28:10 +00:00
nobu
166fedb45d
* lib/rdoc/rdoc.rb: reverted r27186 to add generators.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 13:13:45 +00:00
nobu
386962af11
* NEWS: added reverse_lookup option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 12:17:50 +00:00
nobu
871c693c8a
* ChangeLog: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 07:43:32 +00:00
nobu
cf25ae4551
* test/rdoc/test_rdoc_ri_driver.rb (with_dummy_pager): don't grap
...
terminal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 06:26:24 +00:00
nobu
bb471e3268
* ChangeLog: fixed tab expand width.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:44:42 +00:00
nobu
aae8b872d5
* lib/rdoc/rdoc.rb (RDoc::Generator): defer by autoload.
...
* lib/rdoc/generator/darkfish.rb: use normal library instead of
gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:43:27 +00:00
nobu
88ccbf048f
* test/rdoc/test_rdoc_parser.rb (test_class_can_parse): parse rdoc
...
as ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:40:39 +00:00