1Sun Jul 10 22:50:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2
3	* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal): fix
4	  precision treatment errors.
5
6	* test/bigdecimal/test_bigdecimal.rb: add tests for the above change.
7	  fix precision treatment errors.
8
9	* ext/bigdecimal/bigdecimal.c (BigDecimal_power): precision argument
10	  should be optional for its compatibility.
11
12Sun Jul 10 22:38:09 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13
14	* parse.y (var_ref): distinguish vcall from local variable
15	  references.  based on a patch by Michael Edgar michael.j.edgar
16	  AT dartmouth.edu.  Bug #5002
17
18Sun Jul 10 21:51:29 2011  Koichi Sasada  <ko1@atdot.net>
19
20	* internal.h: add comments (cautions).
21
22Sun Jul 10 20:59:38 2011  Shota Fukumori  <sorah@tubusu.net>
23
24	* lib/test/unit.rb: Add new class variable `@@testfile_prefix`.
25	  This is for changing test name prefix. (For testing)
26
27	* test/testunit/tests_for_parallel/ptest_first.rb: Renamed from
28	  test_first.rb
29
30	* test/testunit/tests_for_parallel/ptest_second.rb: Renamed from
31	  test_second.rb
32
33	* test/testunit/tests_for_parallel/ptest_third.rb: Renamed from
34	  test_third.rb
35
36	* test/testunit/tests_for_parallel/ptest_forth.rb: Renamed from
37	  test_forth.rb
38
39	* test/testunit/tests_for_parallel/runner.rb: Remove misc.rb
40
41	* test/testunit/tests_for_parallel/ptest_first.rb: ditto.
42
43	* test/testunit/tests_for_parallel/ptest_second.rb: ditto.
44
45	* test/testunit/tests_for_parallel/ptest_third.rb: ditto.
46
47	* test/testunit/tests_for_parallel/ptest_forth.rb: ditto.
48
49	* test/testunit/tests_for_parallel/misc.rb: Removed because no longer
50	  needed.
51
52	* test/testunit/test_parallel.rb: Fix assertions for above.
53
54Sun Jul 10 16:57:08 2011  Koichi Sasada  <ko1@atdot.net>
55
56	* vm_insnhelper.c (vm_throw): check a class frame.
57	  Fixes Bug #4648.
58	  The patch is contributed by Kazuki Tsujimoto.
59
60	* bootstraptest/test_proc.rb: add tests for above.
61
62Sun Jul 10 17:28:01 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
63
64	* thread_pthread.c (mutex_debug): use exit(EXIT_FAILURE) instead of
65	  exit(1).
66	* thread_pthread.c (add_signal_thread_list): ditto.
67	* thread.c (rb_thread_call_with_gvl): ditto.
68	* util.c (Bug): ditto.
69
70Sun Jul 10 15:58:12 2011  NARUSE, Yui  <naruse@ruby-lang.org>
71
72	* ext/json: Merge json gem 1.5.4+ (f7f78896607b6f6226cd).
73	  [Bug #4700]
74
75Sun Jul 10 16:41:32 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
76
77	* vm_core.h (typedef struct rb_vm_struct): create a new
78	  'inhibit_thread_creation' field.
79	* thread.c (rb_thread_terminate_all): set inhibit_thread_creation.
80	* thread.c (thread_s_new): don't permit to create new thread
81	  if the VM is under destruction. Otherwise evil finalizer code
82	  can make SEGV. [Bug #4992][ruby-core:37858]
83
84	* bootstraptest/test_objectspace.rb: new test for this fix.
85
86Sun Jul 10 16:06:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
87
88	* signal.c (sigsegv): use abort() instead of exit() when nested
89	  SEGV was happen. Because unnested SEGV use abort().
90	  [Bug #5013][ruby-dev:44078]
91
92Sun Jul 10 15:30:00 2011  Kenta Murata  <mrkn@mrkn.jp>
93
94	* load.c (rb_f_autoload): prevent to autoload for singleton
95	  classes.  fixes [Bug #4886] [ruby-dev:43816]
96
97	* bootstraptest/test_autoload.rb: add tests for the above change.
98
99Sun Jul 10 15:09:17 2011  Shota Fukumori  <sorah@tubusu.net>
100
101	* lib/test/unit/assertions.rb: Import documentation patch by Justin
102	  Collins. [ruby-core:37225] [Feature #4903]
103
104Sun Jul 10 14:57:36 2011  Tadayoshi Funaba  <tadf@dotrb.org>
105
106	* ext/date/date_core.c: canonicalizes nth and sf.
107
108Sun Jul 10 14:13:50 2011  Koichi Sasada  <ko1@atdot.net>
109
110	* internal.h (rb_thread_call_with_gvl, rb_thread_call_without_gvl):
111	  make them visible as experimental C APIs.  fixes Feature #4328.
112
113Sun Jul 10 12:18:00 2011  Kenta Murata  <mrkn@mrkn.jp>
114
115	* ext/bigdecimal/bigdecimal.c (BigDecimal_power): support non-integral
116	  exponent.  fixes [Bug #3271]
117
118	* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal): ditto.
119
120	* ext/bigdecimal/bigdecimal.c (BigDecimal_power_op): add a function to
121	  only use for "**" operator.
122
123	* test/bigdecimal/test_bigdecimal.rb: add a bunch of tests for the
124	  above changes.
125
126	* ext/bigdecimal/bigdecimal.c (is_integer): add an utility function.
127
128	* ext/bigdecimal/bigdecimal.c (is_negative): ditto.
129
130	* ext/bigdecimal/bigdecimal.c (is_positive): ditto.
131
132	* ext/bigdecimal/bigdecimal.c (is_zero): ditto.
133
134	* ext/bigdecimal/bigdecimal.c (is_one): ditto.
135
136	* ext/bigdecimal/bigdecimal.c (is_even): ditto.
137
138Sun Jul 10 12:08:39 2011  Yusuke Endoh  <mame@tsg.ne.jp>
139
140	* compile.c (when_vals): when a string literal is written on when
141	  clause, skip string creation to make it faster.  [ruby-dev:44068]
142	  [Feature #5000]
143
144Sun Jul 10 11:35:29 2011  Yusuke Endoh  <mame@tsg.ne.jp>
145
146	* parse.y (reduce_nodes_gen): NODE_RETURN in rescue body must not be
147	  reduced when there is an else clause.  This caused bizarre behavior
148	  in [Bug #4473] [ruby-core:35629] [ruby-core:37884].
149
150Sun Jul 10 09:46:14 2011  Masaya Tarui  <tarui@ruby-lnag.org>
151
152	* range.c (range_max): fix behavior with excluded end value.
153	  [Bug #4591]
154
155Sun Jul 10 09:13:18 2011  Eric Hodel  <drbrain@segment7.net>
156
157	* NEWS:  Fix RubyGems version.  [Ruby 1.9 - Bug #5004]
158
159Sat Jul  9 20:01:59 2011  Tadayoshi Funaba  <tadf@dotrb.org>
160
161	* internal.h: rb_rational_reciprocal is defined in rational.c.
162
163Sat Jul  9 19:48:31 2011  Tadayoshi Funaba  <tadf@dotrb.org>
164
165	* internal.h: added declarations.
166	* complex.c: followed the above change.
167
168Sat Jul  9 17:24:41 2011  Tadayoshi Funaba  <tadf@dotrb.org>
169
170	* NEWS: bigdecimal is not a builtin.
171
172Sat Jul  9 17:17:53 2011  Tadayoshi Funaba  <tadf@dotrb.org>
173
174	* ext/date/date_core.c: some improvements for performance.
175
176Sat Jul  9 16:56:01 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
177
178	* atomic.h (ATOMIC_OR): _InterlockedOr is unavailable in VC6.
179
180	* numeric.c (ULLONG_MAX): fallback definition.
181
182Sat Jul  9 15:59:19 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
183
184	* win32/win32.c (rb_w32_{read,write}): should be signed.
185	  Bug #5001
186
187Sat Jul  9 14:02:20 2011  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
188
189	* lib/cgi/core.rb: fix multipart form parsing bug. [Bug #3866]
190
191Sat Jul  9 11:41:03 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
192
193	* lib/matrix.rb: Add Vector#normalize [ruby-dev:43829]
194
195Sat Jul  9 09:25:06 2011  Eric Hodel  <drbrain@segment7.net>
196
197	* enumerator.c:  Remove "enumeration sequenced by".
198	  [Ruby 1.9 - Bug #4757]
199
200Sat Jul  9 09:14:56 2011  Eric Hodel  <drbrain@segment7.net>
201
202	* io.c:  Note that methods other than IO#gets may increase IO#lineno.
203	  [Ruby 1.9 - Bug #4902]
204
205Sat Jul  9 08:39:39 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
206
207	* common.mk (RUN_OPT): disable gems.
208
209Sat Jul  9 08:37:05 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
210
211	* io.c (rb_io_close): close(2) on a fd which is being read by
212	  another thread causes deadlock on Mac OS X 10.5
213
214Fri Jul  8 21:20:39 2011  NARUSE, Yui  <naruse@ruby-lang.org>
215
216	* addr2line.c: use USE_ELF instead of __ELF__ because Solaris
217	  doesn't define it. USE_ELF is already provided by configure.
218	  patched by Naohisa Goto. [ruby-dev:44066] [Bug #4998]
219
220	* addr2line.h: ditto.
221
222	* vm_dump.c: ditto.
223
224Fri Jul  8 16:40:38 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
225
226	* ext/json/parser/parser.rl (convert_encoding): should not modify
227	  the argument.
228
229	* ext/json/parser/parser.rl (convert_encoding): no needs to use
230	  force_encoding.
231
232Fri Jul  8 15:53:31 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
233
234	* error.c (rb_bug): get rid of segfault after all threads
235	  disposed.
236
237Fri Jul  8 15:01:06 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
238
239	* ext/openssl/ossl.h: include openssl/e_os2.h before checking the
240	  definition of OPENSSL_SYS_WIN32.
241
242Fri Jul  8 14:40:39 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
243
244	* win32/win32.c (wunlink): reverted a part of r32426. it was mistakenly
245	  mixed.
246
247Fri Jul  8 14:29:47 2011  Narihiro Nakamura  <authornari@gmail.com>
248
249	* configure.in: can't subtract void *.
250
251Fri Jul  8 14:33:26 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
252
253	* win32/Makefile.sub (config.h): define GC_MARK_STACKFRAME_WORD.
254	  fixed build problem of r32438.  the value (30) is temporary value.
255	  maybe it's enough by 20~24 according to my observation.
256
257Fri Jul  8 13:47:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
258
259	* thread.c (rb_mutex_unlock_all): folded into
260	  rb_threadptr_unlock_all_locking_mutexes.
261	* thread.c (rb_threadptr_unlock_all_locking_mutexes) ditto.
262
263Fri Jul  8 13:36:02 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
264
265	* thread.c (thread_unlock_all_locking_mutexes): rename to
266	  rb_threadptr_unlock_all_locking_mutexes and remove static.
267	* vm_core.h: add rb_threadptr_unlock_all_locking_mutexes declaration.
268	* thread.c (thread_start_func_2): adjust the above rename.
269
270	* eval.c (ruby_cleanup): call rb_threadptr_unlock_all_locking_mutexes
271	  again after finalizer. [Bug #4988] [ruby-dev:44049]
272
273Fri Jul  8 13:06:09 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
274
275	* cont.c (FIBER_MACHINE_STACK_ALLOCATION_SIZE): Fiber stack size
276	  don't need to keep multiple number of sizeof(VALUE).
277
278Fri Jul  8 11:39:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
279
280	* common.mk (sudo-precheck): true command is not standard on
281	  Windows.
282
283Fri Jul  8 10:39:52 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
284
285	* thread_pthread.c (gvl_destroy): fix cond_t leak.
286
287Fri Jul  8 09:17:59 2011  Eric Hodel  <drbrain@segment7.net>
288
289	* gc.c:  Improve documentation
290
291Thu Jul  7 23:35:31 2011  Narihiro Nakamura  <authornari@gmail.com>
292
293	* gc.c: change water_mark value that may call
294	  gc_mark(lev <= GC_LEVEL_MAX) in gc_mark().
295	  In ruby_stack_check(), water_mark is a value that may call some
296	  C function. Fixes Bug #3781
297
298	* configure.in: define GC_MARK_STACKFRAME_WORD that approximate
299	  size of gc_mark() and gc_mark_children() stackframes.
300
301Thu Jul  7 17:55:05 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
302
303	* test/testunit/test_parallel.rb (TestParallelWorker#teardown): wait
304	  the child process even if the communication pipe is broken.
305
306Thu Jul  7 15:44:42 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
307
308	* encoding.c (rb_enc_set_index, rb_enc_associate_index): should
309	  check if frozen.
310
311	* parse.y (rb_intern3), ruby.c (process_options, ruby_script):
312	  defer freezing after associating encodings.
313
314Thu Jul  7 15:16:51 2011  NARUSE, Yui  <naruse@ruby-lang.org>
315
316	* numeric.c (rb_num2ull): use own switch sentence.
317	  Current implementation can't convert 18446744073709551615.
318
319Thu Jul  7 06:56:15 2011  NARUSE, Yui  <naruse@ruby-lang.org>
320
321	* cont.c (FIBER_STACK_FLAGS): workaround fix for r32420 on FreeBSD.
322
323Thu Jul  7 06:46:12 2011  Eric Hodel  <drbrain@segment7.net>
324
325	* benchmark/driver.rb:  Add difference column to report that averages
326	  across all runs of a benchmark.  [Ruby 1.9 - Feature #4982]
327
328Thu Jul  7 06:19:38 2011  Eric Hodel  <drbrain@segment7.net>
329
330	* lib/rubygems.rb:  Reduce requires to improve `make benchmark`.
331	  [#4962]
332	* lib/rubygems/specification.rb:  Delay initialization of rubygems
333	  until require is called.
334
335Thu Jul  7 04:31:26 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
336
337	* parse.y (arg): rescue_mod is in inverse order from other
338	  modifiers.  patched by michael.j.edgar AT dartmouth.edu at
339	  [ruby-core:36248].  fixed #4716.
340
341Thu Jul  7 00:40:16 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
342
343	* win32/win32.c (kill): check that the process exited or not before
344	  terminating it. [Bug #4943]
345
346Wed Jul  6 23:13:19 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>
347
348	* parse.y (opt_call_args): allow trailing comma after assoc
349	  argument e.g. 'foo(bar:1,)'.  fixed #3456
350
351Wed Jul  6 22:11:12 2011  Shota Fukumori  <sorah@tubusu.net>
352
353	* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Validate date in
354	  "Date:" header
355
356Wed Jul  6 21:29:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
357
358	* cont.c (fiber_machine_stack_alloc): cleanup pointer arithmetic.
359	  "size/sizeof(VALUE)" is ugly and easy confusing.
360	* cont.c (fiber_initialize_machine_stack_context): ditto.
361
362Wed Jul  6 21:24:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
363
364	* cont.c (fiber_machine_stack_alloc): fix mprotect misuse. A stack
365	  guard page should have PROT_NONE.
366	* cont.c (fiber_initialize_machine_stack_context):
367	  th->machine_stack_maxsize shouldn't be included guard pages size.
368	  [Bug #4983][ruby-dev:44043]
369
370Wed Jul  6 21:23:38 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
371
372	* cont.c (fiber_machine_stack_alloc): use MAP_STACK if it's provided.
373
374Wed Jul  6 21:22:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
375
376	* cont.c (fiber_machine_stack_alloc): use MAP_FAILED instead of -1.
377
378Wed Jul  6 21:21:05 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
379
380	* cont.c (fiber_machine_stack_alloc): remove unnecessary cast.
381
382Wed Jul  6 18:10:13 2011  Shota Fukumori  <sorah@tubusu.net>
383
384	* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Adding space after
385	  comma.
386
387	* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Remove variable
388	  `now`. Suppress warning.
389
390Wed Jul  6 12:18:09 2011  Shota Fukumori  <sorah@tubusu.net>
391
392	* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Fix bug depends to
393	  time. The test fails if time past 1 second in line 136-145
394
395Tue Jul  5 15:28:04 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
396
397	* parse.y (parser_here_document): should dispatch heredoc_end
398	  scanner event on an empty here document.  fixed Bug#4543.
399
400Tue Jul  5 13:49:26 2011  Yusuke Endoh  <mame@tsg.ne.jp>
401
402	* addr2line.c: fix r32407 to check HAVE_ALLOCA_H.
403
404Tue Jul  5 14:05:43 2011  NARUSE, Yui  <naruse@ruby-lang.org>
405
406	* lib/webrick/httpauth/digestauth.rb (_authenticate):
407	  Literal texts in HTTP ABNF is case-insensitive (RFC2616 2.1),
408	  and a sample implementation in RFC2617 also ignores the case
409	  of algorithms. So now this ignores those cases.
410	  [ruby-dev:43965] [Feature #4936]
411
412	* lib/webrick/httpauth/digestauth.rb (initialize):
413	  Because of above, opera_hack is useless and removed.
414
415Tue Jul  5 01:30:01 2011  Yusuke Endoh  <mame@tsg.ne.jp>
416
417	* thread_pthread.c (native_sleep): cut the waiting time up to
418	  100,000,000 because Solaris cond_timedwait() return EINVAL if an
419	  argument is greater than current_time + 100,000,000.  This is
420	  considered as a kind of spurious wakeup.  The caller to native_sleep
421	  should care about spurious wakeup.
422
423Tue Jul  5 01:24:26 2011  Yusuke Endoh  <mame@tsg.ne.jp>
424
425	* cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any
426	  Fiber caused SEGV.  I haven't follow up the issue deeply, but it
427	  works when disabling the feature.
428
429Tue Jul  5 01:22:46 2011  Yusuke Endoh  <mame@tsg.ne.jp>
430
431	* addr2line.c: include <alloca.h> to fix a build issue on Solaris.
432
433Tue Jul  5 00:49:05 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
434
435	* ext/coverage/coverage.c: resurrect r32071 + add GC guard for
436	  rb_coverages. [ruby-core:37352] [Bug #4927]
437	  [ruby-core:36539] [Feature #4796]
438
439	* test/coverage/test_coverage.rb resurrect r32071.
440
441Mon Jul  4 22:24:46 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
442
443	* thread_pthread.c (get_stack): For NetBSD/FreeBSD, use
444	  pthread_attr_getstack() if possible. and, remove an assumption
445	  of stack growing direction.
446
447Mon Jul  4 20:42:31 2011  Yusuke Endoh  <mame@tsg.ne.jp>
448
449	* ext/coverage/coverage.c: revert r32071.  The commit caused SEGV on
450	  some minor nonfree OS.  I have no means of debugging the bug.  My
451	  personal opinion is that such OS should be unsupported unless there
452	  is an active maintainer.  [ruby-core:37352]
453
454	* test/coverage/test_coverage.rb: ditto.
455
456Mon Jul  4 07:14:12 2011  NARUSE, Yui  <naruse@ruby-lang.org>
457
458	* thread_pthread.c (get_stack): the return address of get_stack
459	  must be the highest address of the current thread's stack.
460
461Mon Jul  4 06:37:22 2011  Koichi Sasada  <ko1@atdot.net>
462
463	* include/ruby/intern.h, thread_pthread.c (rb_reserved_fd_p,
464	  RB_RESERVED_FD_P): added.  This C API is to limit to access
465	  fds which are used by RubyVM internal.  In this version of
466	  CRuby, return 1 if fd is communication pipe.
467	  If your application needs to close all file descriptors to
468	  present resource leak, skip internal fds using this C API.
469	  We also define a macro RB_RESERVED_FD_P(fd).  So you can write
470	    #ifndef RB_RESERVED_FD_P
471	    #define RB_RESERVED_FD_P(fd) 0
472	    #endif
473	  for Ruby 1.9.2 or previous version to write compatible extensions.
474	  See [ruby-core:37727]
475
476	* thread_win32.c (rb_reserved_fd_p): added (return 0 for any fds).
477
478	* io.c (rb_io_initialize): raise ArgumentError if given fd is reserved by Ruby.
479
480Sun Jul  3 23:43:56 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
481
482	* ext/extmk.rb (extmake): suppresses outputs from extconf.rb.
483	  (extmake) warns a failure in extconf.rb.
484
485Sun Jul  3 13:44:51 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
486
487	* array.c (ary_reject_bang): should not remove elements which are
488	  not yielded.  [Bug #2545]
489
490Sun Jul  3 06:10:26 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
491
492	* thread_pthread.c (get_stack): pthread_attr_getstack() doesn't
493	  return stack start address, but stack base address. Thus,
494	  we need to add stack size for getting stack start address.
495	  And, we don't have to decrease guard size twice.
496	* thread_pthread.c (thread_start_func_1): don't use inaccurate
497	  stack start guess if native_thread_init_stack() can be used.
498	  [Bug #1813] [ruby-core:24540]
499
500Sun Jul  3 04:50:08 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
501
502	* thread_pthread.c (get_stack): add to a care of guard page on Mac
503	  OS X. [Bug #1813] [ruby-core:24540]
504	* signal.c (ruby_signal): SIGBUS use alternative stack too.
505	* signal.c (sigbus): On Mac, thread stack overflow makes SIGBUS
506	  instead of SIGSEGV. thus, added stackoverflow check.
507	* signal.c (default_handler): get rid of compilation warning.
508	* signal.c (Init_signal): ditto.
509
510Sat Jul 02 08:59:20 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
511
512	* test/openssl/test_ocsp.rb
513	* test/openssl/test_x509_cert.rb: Perform SHA-256 tests only if
514	  supported by the available OpenSSL version. Versions < 0.9.8 don't
515	  support it. [ruby-core:37724]
516
517Sat Jul  2 07:17:45 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
518
519	* array.c (rb_ary_reject_bang, rb_ary_delete_if): rejected
520	  elements should be removed.  fixed [Bug #2545]
521
522Sat Jul  2 01:57:00 2011  Kenta Murata  <mrkn@mrkn.jp>
523
524	* NEWS: remove a description of Kernel#respond_to? because it has
525	  been reverted at revision 28564.
526
527Sat Jul  2 00:58:00 2011  Kenta Murata  <mrkn@mrkn.jp>
528
529	* NEWS: describe a change of multiplication of Bignum.
530
531Fri Jul  1 18:52:31 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
532
533	* benchmark/bm_app_erb.rb: increase loop count. too short
534	  measurement time makes less accuracy.
535	* benchmark/bm_app_factorial.rb: ditto.
536	* benchmark/bm_app_mandelbrot.rb: ditto.
537	* benchmark/bm_app_strconcat.rb: ditto.
538
539	* benchmark/bm_io_file_create.rb: ditto.
540	* benchmark/bm_io_file_read.rb: ditto.
541	* benchmark/bm_io_file_write.rb: ditto.
542
543	* benchmark/bm_so_concatenate.rb: ditto.
544	* benchmark/bm_so_lists.rb: ditto.
545	* benchmark/bm_so_matrix.rb: ditto.
546	* benchmark/bm_so_random.rb: ditto.
547	* benchmark/bm_so_sieve.rb: ditto.
548
549	* benchmark/bm_vm_thread_mutex1.rb: ditto.
550	* benchmark/bm_vm_thread_mutex2.rb: ditto.
551	* benchmark/bm_vm_thread_mutex3.rb: ditto.
552
553	* benchmark/bm_vm1_block.rb: cleanup.
554	* benchmark/bm_vm1_const.rb: cleanup.
555	* benchmark/bm_vm1_ensure.rb: cleanup.
556	* benchmark/bm_vm1_ivar.rb: cleanup.
557	* benchmark/bm_vm1_length.rb: cleanup.
558	* benchmark/bm_vm1_neq.rb: cleanup.
559	* benchmark/bm_vm1_not.rb: cleanup.
560	* benchmark/bm_vm1_rescue.rb: cleanup.
561	* benchmark/bm_vm1_simplereturn.rb: cleanup.
562	* benchmark/bm_vm1_swap.rb: cleanup.
563
564	* benchmark/bm_vm2_array.rb: cleanup.
565	* benchmark/bm_vm2_case.rb: cleanup.
566	* benchmark/bm_vm2_defined_method.rb: cleanup.
567	* benchmark/bm_vm2_eval.rb: cleanup.
568	* benchmark/bm_vm2_method.rb: cleanup.
569	* benchmark/bm_vm2_mutex.rb: cleanup.
570	* benchmark/bm_vm2_poly_method.rb: cleanup.
571	* benchmark/bm_vm2_poly_method_ov.rb: cleanup.
572	* benchmark/bm_vm2_proc.rb: cleanup.
573	* benchmark/bm_vm2_regexp.rb: cleanup.
574	* benchmark/bm_vm2_send.rb: cleanup.
575	* benchmark/bm_vm2_super.rb: cleanup.
576	* benchmark/bm_vm2_unif1.rb: cleanup.
577	* benchmark/bm_vm2_zsuper.rb: cleanup.
578
579	* benchmark/bm_vm_thread_alive_check1.rb: cleanup.
580
581Fri Jul  1 15:23:00 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
582
583	* lib/matrix: Add LUP decomposition
584
585Fri Jul  1 15:21:14 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
586
587	* lib/matrix.rb: Allow non integer exponents for Matrix#**
588
589Fri Jul  1 15:13:25 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
590
591	* lib/matrix: Add Eigenvalue Decomposition
592
593Fri Jul  1 15:10:22 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
594
595	* lib/matrix: Add Matrix#round
596
597Fri Jul  1 11:41:12 2011  NARUSE, Yui  <naruse@ruby-lang.org>
598
599	* string.c (tr_trans): free heap ptr when the str is not embedded.
600	  patched by Eric Wong. [Bug #4956] [ruby-core:37708]
601
602Fri Jul  1 11:07:43 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
603
604	* thread.c (do_select): fix memory leak.
605	  Patch by Eric Wong. Thank you! [Bug #4953] [ruby-core:37702]
606
607Fri Jul  1 08:21:28 2011  Koichi Sasada  <ko1@atdot.net>
608
609	* vm_insnhelper.c (vm_getivar): check vm state version
610	  to invalidate inline cache (ivar index).
611	  fixes Bug #4926.
612
613	* vm_insnhelper.c (vm_setivar): ditto.
614
615Fri Jul  1 08:03:15 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
616
617	* error.c, thread_pthread.c (WRITE_CONST): suppress warnings
618	  `ignoring return value'.
619
620Fri Jul  1 06:41:36 2011  Koichi Sasada  <ko1@atdot.net>
621
622	* thread.c (rb_threadptr_check_signal): only wake up main thread.
623
624	* thread.c (rb_threadptr_execute_interrupts_common): check signal
625	  delivery if it is main thread.
626	  fixes [ruby-dev:44005] [Ruby 1.9 - Bug #4950]
627
628	* bootstraptest/test_fork.rb: add a test for above.
629
630	* signal.c (rb_get_next_signal): skip if signal_buff is empty.
631	  (check signal_buff.size first)
632
633	* vm_core.h: remove unused variable rb_thread_t::exec_signal.
634
635	* thread.c (rb_thread_check_trap_pending): check
636	  rb_signal_buff_size() because rb_thread_t::exec_signal
637	  is no longer available.
638
639Fri Jul  1 03:28:25 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>
640
641	* class.c (Init_class_hierarchy): should name BasicObject
642	  explicitly.
643
644	* variable.c (rb_const_defined_0): should not check for
645	  superclasses as const_get.
646
647Fri Jul  1 03:24:03 2011  Tadayoshi Funaba  <tadf@dotrb.org>
648
649	* ext/date/date_core.c: mathn is still alive (should die soon).
650
651Thu Jun 30 23:50:00 2011  Kenta Murata  <mrkn@mrkn.jp>
652
653	* misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular
654	  expression.  Fixes #4546
655
656Thu Jun 30 23:43:30 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
657
658	* ext/openssl/ossl.c/.h: Added ossl_x509_name_sk2ary.
659	* ext/openssl/ossl.c: Replaced ossl_x509_ary2k by generic macro to
660	  simplify future conversions.
661	* ext/openssl/ossl_ssl.c: Implement SSLSocket#client_ca.
662	* test/openssl/test_ssl.rb: Add test for SSLSocket#client_ca.
663	  Thanks to Ippei Obayashi for providing the patch!
664	  [ Ruby 1.9 - Feature #4481 ] [ruby-core:35461]
665
666Thu Jun 30 22:38:58 2011  Koichi Sasada  <ko1@atdot.net>
667
668	* benchmark/bm_vm2_defined_method.rb: added to measure performance of
669	  bmethod (method defined by define_method()).
670
671Thu Jun 30 22:17:04 2011  Koichi Sasada  <ko1@atdot.net>
672
673	* vm_insnhelper.c (vm_call_bmethod): fix to hook call/return event
674	  for methods defined by define_method().  fixes Bug #4613.
675
676	* thread.c (call_trace_proc): Fix to skip if class is not given (0).
677	  Note that ID and Class object are passed for call/return event
678	  if the called method was defined by define_method().
679	  If you are author of tracer/profiler/debugger, this may be an
680	  important change.  You should check passed class as zero or
681	  non-zero instead of checking the event type.
682
683	* test/ruby/test_settracefunc.rb: add a test for above.
684
685Thu Jun 30 21:18:35 2011  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
686
687	* configure.in: Add warnflags for XL/C on AIX during configure
688	  to avoid [Bug #3971]. See [ruby-core:32859]
689
690Thu Jun 30 21:16:04 2011  Tadayoshi Funaba  <tadf@dotrb.org>
691
692	* ext/date/date_core.c (m_ajd): refers a constant.
693
694Thu Jun 30 20:54:25 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
695
696	  * ext/io/console/io-console.gemspec: spin-off gem for 1.9.2.
697
698Thu Jun 30 20:36:23 2011  Tadayoshi Funaba  <tadf@dotrb.org>
699
700	* ext/date/date_core.c: trivial changes.
701
702Thu Jun 30 20:12:36 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
703
704	* test/ruby/test_module.rb: tests for [Bug #3422] and [Bug #3423].
705
706Thu Jun 30 20:03:39 2011  Tadayoshi Funaba  <tadf@dotrb.org>
707
708	* ext/date/date_core.c: modified doc.
709
710Thu Jun 30 19:09:19 2011  Koichi Sasada  <ko1@atdot.net>
711
712	* thread_pthread.c (thread_timer): ignore unknown errno.
713	  (we observed that select(2) was canceled by errno=514 on
714	  boron == Linux/Xen environment)
715
716Thu Jun 30 17:33:25 2011  Koichi Sasada  <ko1@atdot.net>
717
718	* ext/objspace/objspace.c (ObjectSpace.count_tdata_objects):
719	  Fix rdoc.  Fixes Bug #3892.
720
721	* ext/objspace/objspace.c (ObjectSpace.count_tdata_objects):
722	  Change key type if the klass of a object is zero (internal object).
723	  Read rdoc for details.
724
725	* internal.h: export rb_objspace_data_type_name().
726
727Thu Jun 30 17:25:08 2011  Koichi Sasada  <ko1@atdot.net>
728
729	* thread_pthread.c (ping_signal_thread_list, thread_timer):
730	  fix to keep polling state if there are any ping-tasks.
731
732Thu Jun 30 12:25:34 2011  Koichi Sasada  <ko1@atdot.net>
733
734	* thread_pthread.c (rb_thread_create_timer_thread): allocate
735	  machine stack for the timer thread at least 12KB.  FreeBSD 8.2
736	  AMD64 causes machine stack overflow (SIGSEGV) only with
737	  PTHREAD_STACK_MIN (maybe defined as 2KB).
738
739Thu Jun 30 09:36:37 2011  Eric Hodel  <drbrain@segment7.net>
740
741	* lib/weakref.rb:  Attach documentation to WeakRef and add missing
742	  documentation
743
744Thu Jun 30 09:30:14 2011  Eric Hodel  <drbrain@segment7.net>
745
746	* lib/yaml.rb:  Document toplevel YAML and YAML::ENGINE to describe
747	  Psych vs Syck engines.
748
749Thu Jun 30 09:21:52 2011  Eric Hodel  <drbrain@segment7.net>
750
751	* lib/cmath.rb:  Hide handle_no_method_error from RDoc.
752	* error.c:  Document or hide undocumented error classes.
753
754Thu Jun 30 07:49:04 2011  Eric Hodel  <drbrain@segment7.net>
755
756	* hash.c:  Document ENV
757
758Thu Jun 30 06:37:43 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
759
760	* ruby.c (ruby_init_loadpath_safe): ensure RUBYLIB_PREFIX stored
761	  before RUBYLIB, even if MANGLED_PATH is enabled.  fixed #1679.
762	  MANGLED_PATH is disabled by the default and will be removed
763	  completely in the future.
764
765Thu Jun 30 06:32:21 2011  Eric Hodel  <drbrain@segment7.net>
766
767	* lib/drb/drb.rb:  Hide deprecated toplevel DRb constants.
768
769Thu Jun 30 06:17:02 2011  NARUSE, Yui  <naruse@ruby-lang.org>
770
771	* lib/cmath.rb (CMath.log): second argument: b can be nil.
772
773Thu Jun 30 06:23:28 2011  Eric Hodel  <drbrain@segment7.net>
774
775	* thread.c (ruby_thread_s_pass):  Fix typo.
776
777Thu Jun 30 06:16:53 2011  Eric Hodel  <drbrain@segment7.net>
778
779	* lib/rdoc:  Update to RDoc 3.8 which contains fixes for documentation
780	  in trunk.
781
782Thu Jun 30 02:53:26 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
783
784	* thread.c (rb_threadptr_execute_interrupts_common): remove
785	  meaningless native_thread_yield(). It never close a race.
786
787Thu Jun 30 02:41:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
788
789	* thread.c (rb_thread_schedule_limits): minor optimization.
790	  eliminate machine context saving when running time is enough small.
791
792Thu Jun 30 02:28:11 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
793
794	* thread.c (rb_thread_schedule_rec): move interrupt_flag check to
795	  rb_thread_schedule().
796	  And also rename to rb_thread_schedule_limits() and remove
797	  sched_depth argument. It's no longer called recursive.
798	* thread.c (rb_thread_schedule): add to check interrupt_flag as
799	  above explained.
800
801	* thread.c (rb_threadptr_execute_interrupts_rec): rename to
802	  rb_threadptr_execute_interrupts_common() and remove sched_depth
803	  argument. It's no longer called recursive.
804
805	* thread.c (rb_thread_sleep): adapt the renaming.
806	* thread.c (rb_threadptr_execute_interrupts): ditto.
807	* thread.c (rb_thread_execute_interrupts): ditto.
808
809Thu Jun 30 01:31:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
810
811	* thread.c (thread_s_pass): change RDoc description and remove
812	  a sample code. The actual implementation never behave as explained by
813	  an example. It's a documentation bug.
814
815Thu Jun 30 00:54:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
816
817	* thread.c (rb_thread_stop): change RDoc sample code. The old
818	  example is buggy and may cause deadlock. The patch is
819	  suggested by Heesob Park <phasis@gmail.com>. Thank you!
820	  [Bug #3606][ruby-core:31454]
821
822Thu Jun 30 00:49:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
823
824	* thread.c (rb_thread_wakeup): change RDoc sample code. The old
825	  example is buggy and may not display anything by a race.
826	  The patch is suggested by Heesob Park <phasis@gmail.com>.
827	  Thank you! [Bug #3606][ruby-core:31454]
828
829Thu Jun 30 00:43:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
830
831	* thread.c (rb_thread_run): change RDoc. The old example is buggy
832	  and may cause deadlock. The patch is suggested by Heesob Park
833	  <phasis@gmail.com>. Thank you! [Bug #3606][ruby-core:31454]
834
835Thu Jun 30 00:30:15 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
836
837	* lib/cmath.rb: make same exception for Math. fix [Bug #3137].
838
839Thu Jun 30 00:03:20 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
840
841	* lib/irb/completion.rb: complement correctly string literal. fix
842	  [Bug #1145].
843
844Wed Jun 29 23:42:51 2011  Tadayoshi Funaba  <tadf@dotrb.org>
845
846	* ext/date/date_core.c: avoided using timev.
847	* ext/date/date_strftime.c: ditto.
848	* ext/date/date_tmx.h: ditto.
849
850Wed Jun 29 23:17:57 2011  WATANABE Hirofumi  <eban@ruby-lang.org>
851
852	* ext/openssl/ossl.h (OPENSSL_SYS_WIN32): support for mingw(msys).
853
854Wed Jun 29 23:09:14 2011  WATANABE Hirofumi  <eban@ruby-lang.org>
855
856	* ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl with mingw.
857
858Wed Jun 29 22:49:10 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
859
860	* lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760].
861
862Wed Jun 29 22:04:14 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
863
864	* lib/tracer.rb: Tracer.on only if required by -r command-line option.
865	  and consider --disable-gems option.
866	* test/test_tracer.rb: add tests for it.
867
868Wed Jun 29 13:55:36 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>
869
870	* variable.c (rb_const_get_0): should not look for superclasses if
871	  the second optional argument is given for #const_get().
872	  fix [Bug #3422] [Bug #3423]
873
874Wed Jun 29 12:07:27 2011  Eric Hodel  <drbrain@segment7.net>
875
876	* math.c:  Attach documentation for Math.
877	* object.c:  Document NIL, TRUE, FALSE.
878	* io.c:  Improve grammar in ARGF comment.  Document STDIN/OUT/ERR.
879	  Document ARGF global constant.
880	* lib/rake:  Hide deprecated toplevel constants from RDoc (import from
881	  rake trunk).
882	* lib/thwait.rb:  Document ThWait.
883	* lib/mathn.rb:  Hide Math redefinition from RDoc
884	* lib/sync.rb:  Add a basic comment for Sync_m, Synchronizer_m, Sync,
885	  Synchronizer.
886	* parse.y:  Document SCRIPT_LINES__.
887	* hash.c:  Document ENV class and global constant.
888	* vm.c:  Document TOPLEVEL_BINDING.
889	* version.c:  Document RUBY_* constants.
890	* ruby.c:  Document DATA and ARGV.
891
892Wed Jun 29 10:13:12 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
893
894	* lib/matrix.rb: Matrix.zero can build rectangular matrices.
895	  Vector#r should be called #magnitude
896
897Wed Jun 29 10:11:08 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
898
899	* lib/matrix.rb: Add Matrix#diagonal?, hermitian?, normal?,
900	  orthogonal?
901	  permutation?, symmetric?, {lower|upper}triangular?, unitary?, zero?
902
903Wed Jun 29 10:09:35 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
904
905	* lib/matrix.rb: Specialize Matrix#find_index to return [row, col]
906	  and accept the same optional argument as #each
907
908Wed Jun 29 10:07:32 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
909
910	* lib/matrix.rb: Matrix#each{_with_index} can iterate over a subset
911	  of the Matrix
912
913Wed Jun 29 06:21:02 2011  Koichi Sasada  <ko1@atdot.net>
914
915	* thread_pthread.c (native_stop_timer_thread): skip to close
916	  communication pipe to avoid timing bug (process termination timing).
917	  The communication pipe will closed by OS.
918
919Wed Jun 29 06:09:54 2011  Koichi Sasada  <ko1@atdot.net>
920
921	* error.c (rb_async_bug_errno): async-safe bug report function.
922	  In timer thread, signal handler should use it.
923	  The patch is contributed by Eric Wong <normalperson@yhbt.net>.
924	  Refs: [ruby-core:37644] and [ruby-core:37647]
925
926	* thread_pthread.c: use rb_async_bug_errno().
927	  And replace all fprintf() to write().
928
929	* internal.h (rb_async_bug_errno): add decl. of above func.
930
931Tue Jun 28 23:46:08 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
932
933	* lib/tracer.rb: count only non-internal libraries in stack trace,
934	  ignoring custom_require.
935
936Tue Jun 28 21:44:58 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
937
938	* lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.
939
940Tue Jun 28 20:39:29 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
941
942	* lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!).
943	  global_variables, local_variables, and instance_variables returns
944	  Symbols from 1.9 and need to stringify before evaling it.
945	  See #4931.
946
947Tue Jun 28 19:23:01 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
948
949	* signal.c: Now, USE_TRAP_SIGMASK depend on HAVE_PTHREAD_SIGMASK.
950	  The code have already depended on pthread_sigmask since r27464.
951
952Tue Jun 28 15:09:21 2011  NARUSE, Yui  <naruse@ruby-lang.org>
953
954	* lib/benchmark.rb: merge eregon/benchmark.
955	  https://github.com/eregon/ruby/tree/benchmark
956	  patched by Benoit Daloze. [ruby-core:37593] [Bug #4940]
957
958	* lib/benchmark (Benchmark#bmbm): bmbm should be consistent with bm
959	  for the return value.
960
961	* test/benchmark: remove preemptive test instead of skipping
962	  I removed the preemptive test I wrote for Feature #4197.
963	  I'll add it back when the implementation will be able to satisfy it.
964
965	* lib/benchmark (Benchmark#bmbm): remove useless explicit call,
966	  #format is an alias of #to_s test/benchmark: add a test for
967	  format of long time.
968
969	* lib/benchmark: fix label width: always add 1 to ensure there is a
970	  space delimiter even with times over 100s
971	  When I asked for Feature #4197, I wanted to make delimiting spaces
972	  consistent for #bm and #bmbm.
973	  But with times over 100s, the output contains no space between the
974	  label and the first time (user).
975	  Now both ensure there is always a space, even if that means 3 spaces
976	  with times under 10s (because it is formatted as %10.6f)
977
978	* test/benchmark: let labels be a constant
979	  lib/benchmark (Benchmark#realtime): avoid creating an unused Proc
980	  lib/benchmark (Benchmark#benchmark): use ensure clause to restore
981	  STDOUT.sync, as in #bmbm
982
983Tue Jun 28 13:41:51 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
984
985	* thread_win32.c (native_stop_timer_thread): fixed commit miss of
986	  r32244.  grep sources before changing the signature of a function.
987
988Tue Jun 28 11:49:14 2011  Koichi Sasada  <ko1@atdot.net>
989
990	* thread_pthread.c (consume_communication_pipe):
991	  Make "buff" as static.  (Maybe) "buff" can be shared between
992	  any caller (any threads) because no one use the read values.
993	  "buff" (1024 byte) on stack may cause stack overflow on
994	  several environment (we found a crash on FreeBSD).
995	  And remove const value "buff_size", and define CCP_READ_BUFF_SIZE
996	  macro.
997
998Tue Jun 28 11:45:30 2011  Eric Hodel  <drbrain@segment7.net>
999
1000	* lib/rake:  Update rake to fix some bugs and hide deprecated features
1001	  from RDoc.
1002	* lib/rake/version.rb:  Bump version to 0.9.2.1 to distinguish it from
1003	  the released version.
1004	* NEWS:  ditto
1005
1006Tue Jun 28 11:17:28 2011  Eric Hodel  <drbrain@segment7.net>
1007
1008	* lib/rdoc:  Update to RDoc 3.7 (final)
1009	* NEWS:  ditto
1010
1011Tue Jun 28 10:18:42 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1012
1013	* process.c (rb_daemon): fix wrong #endif position.
1014
1015Tue Jun 28 07:50:32 2011  Eric Hodel  <drbrain@segment7.net>
1016
1017	* object.c (Init_Object):  Teach RDoc what Init_class_hierarchy does to
1018	  hook up ri for BasicObject, Object, Module and Class.
1019
1020Tue Jun 28 05:03:32 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1021
1022	* thread.c (rb_thread_local_aref): RDoc fix. Thread#[] example
1023	  had a race. See #4480.
1024
1025Tue Jun 28 01:22:00 2011  Kenta Murata  <mrkn@mrkn.jp>
1026
1027	* ext/bigdecimal/bigdecimal.c (BigMath_s_log): move BigMath.log from
1028	  bigdecimal/math.rb.
1029
1030	* ext/bigdecimal/lib/bigdecimal/math.rb: ditto.
1031
1032	* test/bigdecimal/test_bigdecimal.rb: move test for BigMath.log from
1033	  test/bigdecimal/test_bigmath.rb.
1034
1035	* test/bigdecimal/test_bigmath.rb: ditto.
1036
1037Tue Jun 28 01:19:52 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
1038
1039	* lib/irb/ruby-lex.rb: fix [Bug #4232].
1040
1041Tue Jun 28 00:14:13 2011  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
1042
1043	* lib/drb/drb.rb: fix [Bug #4409]. add DRbServer#here?.
1044
1045	* test/drb/test_drb.rb: ditto.
1046
1047	* test/drb/drbtest.rb: ditto.
1048
1049	* test/drb/ut_eq.rb: ditto.
1050
1051Tue Jun 28 00:08:43 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
1052
1053	* lib/irb/workspace.rb: fix BUG#4793.
1054
1055Mon Jun 27 22:06:12 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1056
1057	* thread_pthread.c (consume_communication_pipe): don't use C99
1058	  style variable length array.
1059
1060Mon Jun 27 22:04:27 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1061
1062	* thread_pthread.c (consume_communication_pipe): change return
1063	  type to void. caller doesn't use it.
1064
1065Mon Jun 27 21:29:50 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1066
1067	* thread_pthread.h (rb_global_vm_lock_struct): add volatile to
1068	  gvl->waiting. now thread_timer() access it w/o lock.
1069
1070Mon Jun 27 21:16:11 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1071
1072	* thread_pthread.c: s/__gvl_acquire/gvl_acquire_common/ and
1073	  s/__gvl_release/gvl_release_common/.
1074
1075Mon Jun 27 11:41:47 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1076
1077	* thread_pthread.c (rb_thread_create_timer_thread):
1078	  the type of return value of write(2) is ssize_t.
1079
1080Mon Jun 27 09:57:02 2011  Koichi Sasada  <ko1@atdot.net>
1081
1082	* thread_pthread.c (rb_thread_create_timer_thread):
1083	  Fixes missing initialization of oflags.
1084
1085Mon Jun 27 09:07:42 2011  Koichi Sasada  <ko1@atdot.net>
1086
1087	* thread_pthread.c: Stop polling in the timer thread when there are
1088	  no waiting thread.  If there are 2 or more runnable threads,
1089	  the timer thread does polling.  Avoid polling makes power save
1090	  for several computers (0.2W per a Ruby process, when I measured).
1091	  If outside-event such as signal or Thread#kill was occurred
1092	  when the timer thread does not do polling, then wake-up
1093	  the timer thread using communication-pipe (the timer thread
1094	  waits this communication-pipe with select(2)).
1095	  The discussion about this modification can be found from the post
1096	  [ruby-core:33456] and other related posts.
1097	  Note that Eric Wong and KOSAKI Motohiro give us the huge
1098	  contributions for this modification.  Thanks.
1099
1100	* thread_pthread.c (rb_thread_wakeup_timer_thread): add a function.
1101	  This function wakes up the timer thread using communication-pipe.
1102
1103	* thread.c (rb_thread_stop_timer_thread): add a parameter which
1104	  specify closing communication-pipe or not.
1105
1106	* thread.c (rb_thread_terminate_all): do not stop timer thread here
1107	  (ruby_cleanup() terminate timer thread).
1108
1109	* signal.c: wake up timer thread using
1110	  rb_thread_wakeup_timer_thread() from signal handler.
1111
1112	* eval.c (ruby_cleanup): use rb_thread_stop_timer_thread(1).
1113
1114	* process.c: use rb_thread_stop_timer_thread(0)
1115	  (reuse communication-pipe).
1116
1117	* thread_win32.c (rb_thread_wakeup_timer_thread): add a dummy
1118	  function.
1119
1120	* vm_core.h: add and fix decl. of functions.
1121
1122Mon Jun 27 08:01:19 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1123
1124	* ext/date/date_parse.c: should use ALLOCA_N.
1125
1126Mon Jun 27 01:34:18 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1127
1128	* test/etc/test_etc.rb (TestEtc#test_get{pw,gr}nam): skip entries
1129	  start with + sign, which means NIS.  these are returned in the
1130	  case that passwd and group entries in /etc/nsswitch.conf are set
1131	  to use "nis" explicitly on Debian.  fixed #3683
1132
1133Mon Jun 27 00:44:53 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1134
1135	* parse.y (rb_parser_end_seen_p): fix documentation about return
1136	  value. patched by Sho Hashimoto. [Bug #4511]
1137
1138Mon Jun 27 00:40:47 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1139
1140	* hash.c (rb_hash_reject): add documentation that Hash#reject
1141	  without block returns enumerator.
1142	  patched by Michael Edgar [Bug #4847] [ruby-core:36800]
1143
1144Sun Jun 26 23:49:21 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1145
1146	* test/date/test_switch_hitter.rb: added a test.
1147
1148 Sun Jun 26 22:21:23 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1149
1150	* ext/date/date_core.c: refactoring.
1151
1152Sun Jun 26 18:03:30 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>
1153
1154	* parse.y: comma at the end of line is no longer allowed.
1155	  A patch from Yukihiro Matsumoto  <matz AT ruby-lang.org>.
1156	  (fixed #3456).
1157
1158Sun Jun 26 13:35:35 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1159
1160	* vm_dump.c (rb_vm_bugreport): change CrashReporter suggestion messages
1161	  on Mac. It should be placed after "-- C level backtrace" line.
1162	  Suggested by Endoh-san.
1163
1164	  <before>
1165	  -- See Crash Report log file under ~/Library/Logs/CrashReporter or ---------
1166	  -- /Library/Logs/CrashReporter, for the more detail of ---------------------
1167	  -- C level backtrace information -------------------------------------------
1168
1169	<after>
1170	  -- C level backtrace information -------------------------------------------
1171
1172	     See Crash Report log file under ~/Library/Logs/CrashReporter or
1173	     /Library/Logs/CrashReporter, for the more detail of.
1174
1175Sun Jun 26 10:08:28 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1176
1177	* ext/openssl/extconf.rb
1178	* ext/openssl/ossl_missing.h/.c: add ASN1_put_eoc if missing.
1179
1180	* ext/openssl/ossl_asn1.c: introduce ossl_asn1_object_size and
1181	  ossl_asn1_put_object to wrap functionality depending on OpenSSL
1182	  version in use.
1183	  Fixes	[ Ruby 1.9 - Bug #4916 ] reported by Hiroshi Nakamura.
1184	  [ruby-core:37286]
1185
1186Sun Jun 26 01:00:15 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1187
1188	* ext/date/date_core.c (date_strftime_internal): removed meaningless braces.
1189	* ext/date/date_core.c (gengo): the value should be int.
1190
1191Sat Jun 25 23:45:30 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
1192
1193	* vm_insnhelper.c (vm_search_superclass): avoid control frame
1194	  stack overrun. currently super() in Proc created in a method
1195	  defined by Module#define_method raise NoMethodError. [Bug #4881]
1196	* test/ruby/test_method.rb t_super_in_proc_from_define_method):
1197	  add test for it.
1198
1199Sat Jun 25 23:23:14 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
1200
1201	* thread.c (sleep_forever): now Kernel#sleep don't wakeup by
1202	  signal handler execution. [Bug #4072]
1203
1204Sat Jun 25 23:14:47 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
1205
1206	* thread.c (rb_threadptr_check_signal): remove unnecessary th->status
1207	  backup. fix race condition which may results unexpected main thread's
1208	  status transition. see #4072
1209
1210Fri Jun 24 19:57:30 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1211
1212	* lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request
1213	  header failed when the request is from 2 or more Apache reverse
1214	  proxies. It's said that all X-Forwarded-* headers will contain more
1215	  than one (comma-separated) value if the original request already
1216	  contained one of these headers.  Since we could use these values as
1217	  Host header, we choose the initial(first) value. See #4922.
1218
1219	* test/webrick/test_httprequest.rb (test_forwarded): Test it.
1220
1221Fri Jun 24 17:06:33 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1222
1223	* process.c (proc_daemon): should not start timer thread
1224	  twice.  fixed Bug#4920.
1225
1226Fri Jun 24 15:54:14 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1227
1228	* ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Try to shutdown SSL
1229	  connection more gracefully. Call SSL_shutdown() max 4 times until it
1230	  returns 1 (success). Bi-directional SSL close has several states but
1231	  SSL_shutdown() kicks only 1 transition per call. Max 4 is from
1232	  mod_ssl.c of Apache httpd that says 'max 2x pending + 2x data = 4'.
1233	  See #4237.
1234
1235Fri Jun 24 07:24:37 2011  Eric Hodel  <drbrain@segment7.net>
1236
1237	* lib/rake/version.rb:  Fixed VERSION to work with tool/rbinstall.rb
1238	* bin/rake:  Import bin/rake from 0.9.2
1239	* tool/rbinstall.rb (install):  Rake::VERSION is now in
1240	  lib/rake/version.rb.  Fixes `make install`
1241
1242Fri Jun 24 07:11:37 2011  Eric Hodel  <drbrain@segment7.net>
1243
1244	* lib/rake: Import Rake 0.9.2
1245
1246Fri Jun 24 00:44:15 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1247
1248	* ext/date/date_core.c (c_valid_{julian,gregorian}_p): fixed the range of month.
1249
1250Fri Jun 24 00:14:23 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1251
1252	* ext/date/date_core.c: trivial changes on text.
1253
1254Thu Jun 23 22:46:57 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1255
1256	* ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper
1257	  for X509_NAME_hash_old in OpenSSL 1.0.0. See #4805
1258
1259	* test/openssl/test_x509name.rb (test_hash): Make test pass with
1260	  OpenSSL 1.0.0.
1261
1262	* NEWS: Add it.
1263
1264Thu Jun 23 19:30:53 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1265
1266	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check
1267	  argument type with NUM2LONG if the arg is not a Time object.
1268	  See #4919.
1269
1270	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_timeout): Check
1271	  type with NUM2LONG. Time as an arg is not allowed. See #4919.
1272
1273	* test/openssl/test_ssl_session.rb (test_session_time,
1274	  test_session_timeout): Test it.
1275
1276Wed Jun 23 13:30:30 2011  Shota Fukumori  <sorah@tubusu.net>
1277
1278	* signal.c(ruby_atomic_exchange): Fix definition style.
1279
1280Wed Jun 22 22:34:05 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1281
1282	* ext/openssl/ossl_ssl.c (ossl_sslctx_session_new_cb): Return 0 to
1283	  OpenSSL from the callback for SSL_CTX_sess_set_get_cb().
1284	  Returning 0 means to OpenSSL that the session is still valid
1285	  (since we created Ruby Session object) and was not freed by us with
1286	  SSL_SESSION_free(). Call SSLContext#remove_session(sess) in
1287	  session_get_cb block if you don't want OpenSSL to cache the session
1288	  internally.
1289	  This potential issue was pointed by Ippei Obayashi. See #4416.
1290
1291	* test/openssl/test_ssl_session.rb (test_ctx_server_session_cb): Test
1292	  it.
1293
1294Wed Jun 22 22:21:17 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1295
1296	* ext/openssl/ossl_ssl_session.c: Respect T_BIGNUM time values. Patch by
1297	  Tomoyuki Chikanaga.
1298	  [ Ruby 1.9 - Bug #4919 ] [ruby-dev:43869]
1299
1300Wed Jun 22 21:29:25 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1301
1302	* ext/socket/depend (SOCK_HEADERS): use $(top_srcdir) instead of
1303	  $(topdir). sorry!
1304
1305Wed Jun 22 19:47:03 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1306
1307	* cont.c (cont_capture): add volatile.
1308	  On clang -O, it is needed to avoid the optimization.
1309	  With this and llvm/clang's recent fix, clang 3.0 can
1310	  build ruby-trunk with -O option.
1311
1312	* cont.c (cont_capture): use for-loop.
1313
1314	* array.c (rb_ary_each): add volatile and use it.
1315
1316	* vm_insnhelper.c (vm_call_cfunc): ditto.
1317
1318Wed Jun 22 18:20:46 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1319
1320	* ext/openssl/ossl_ssl.c (ossl_sslctx_session_remove_cb):
1321	  OpenSSL::SSL::SSLContext#session_remove_cb was broken. It wrongly
1322	  tried to call the session_*new*_cb callback.
1323
1324	* test/openssl/test_ssl_session.rb (class OpenSSL): Test it.
1325
1326Wed Jun 22 17:37:49 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1327
1328	* ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER
1329	  fallback scenarios.
1330
1331	* ext/openssl/ossl_pkey_dsa.c
1332	* ext/openssl/ossl_x509req.c
1333	* ext/openssl/ossl_pkey_rsa.c
1334	* ext/openssl/ossl_pkey_ec.c
1335	* ext/openssl/ossl_ssl_session.c
1336	* ext/openssl/ossl_x509crl.c
1337	* ext/openssl/ossl_pkey.c
1338	* ext/openssl/ossl_pkey_dh.c
1339	* ext/openssl/ossl_x509cert.c
1340	* ext/openssl/ossl_pkcs7.c: Use OSSL_BIO_reset.
1341
1342	* ext/openssl/ossl_ssl.c
1343	* ext/openssl/ossl_cipher.c
1344	* ext/openssl/ossl_pkey_ec.c
1345	* ext/openssl/ossl_pkcs12.c
1346	* ext/openssl/ossl_ssl_session.c: Replace rb_raise occurrences by
1347	  ossl_raise. This automatically flushes OpenSSL's error queue.
1348
1349	* ext/openssl/ossl_pkcs7.c: Raise error if DER fallback for parsing
1350	  fails.
1351
1352	* test/openssl/test_pkey_ec.rb
1353	* test/openssl/test_pkey_dsa.rb
1354	* test/openssl/test_pkey_rsa.rb: Add assertions that OpenSSL.errors is
1355	  empty.
1356
1357	* test/openssl/test_pkey_rsa.rb: Remove initial OpenSSL.errors call in
1358	  test_new.
1359	  [ Ruby 1.9 - Bug #4885 ] [ruby-core:37134]
1360
1361Wed Jun 22 15:01:24 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1362
1363	* ext/openssl/ossl_ssl.c: Use SSL_MODE_RELEASE_BUFFERS if available.
1364	  Thanks, Eric Wong, for providing the patch.
1365	  [ Ruby 1.9 - Feature #4672 ] [ruby-core:36127]
1366
1367Wed Jun 22 14:47:53 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1368
1369	* test/openssl/test_buffering.rb
1370	* test/openssl/test_pkcs12.rb: Inherit from Test::Unit::TestCase
1371	  instead of MiniTest::Unit::TestCase. [ruby-core:37275]
1372
1373Wed Jun 22 12:41:03 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1374
1375	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_to_der):
1376	  OpenSSL::SSL::Session#to_der was broken. Fix buffer handling.
1377
1378	* test/openssl/test_ssl_session.rb (test_session): Test it.
1379
1380Wed Jun 22 12:38:52 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1381
1382	* test/openssl/test_ssl_session.rb: Split out SSL::Session related
1383	  tests from test_ssl.rb
1384
1385Wed Jun 22 03:20:52 2011  Aaron Patterson <aaron@tenderlovemaking.com>
1386
1387	* ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of
1388	  objects.  Thanks to CvX for reporting the bug and a test case.
1389	* test/psych/test_object.rb: test for cyclic object references.
1390
1391Wed Jun 22 02:39:54 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1392
1393	* lib/net/http.rb (Net::HTTP.post_form): Do not ignore query part of
1394	  the given URI to post. See #655.
1395
1396	* test/net/http/test_http.rb, test/net/http/utils.rb: Test it.
1397
1398Wed Jun 22 01:28:13 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1399
1400	* test/openssl/test_x509store.rb (test_set_errors): Redhat is
1401	  distributing a patched version of OpenSSL that allows multiple CRL
1402	  for a key (multi-crl.patch.) Make test pass on such env. See #4122,
1403	  #4554.
1404
1405Tue Jun 21 21:50:37 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1406
1407	* lib/webrick/httpresponse.rb (HTTPResponse#setup_header): Close
1408	  HTTP/1.1 connection when returning an IO object as response body
1409	  without setting HTTPResponse#chunked to true. See #855 no.1.
1410
1411	* test/webrick/test_httpserver.rb: Test it.
1412
1413Tue Jun 21 21:27:34 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1414
1415	* internal.h: move rb_thread_io_blocking_region() declaration
1416	  from intern.h to internal.h. It's still experimental API and
1417	  need more discussion. [ruby-dev:43698]
1418	* include/ruby/intern.h: ditto.
1419
1420	* ext/socket/rubysocket.h: include internal.h.
1421	* ext/socket/depend: add internal.h dependency.
1422	* ext/socket/extconf.rb: add $INCFLAGS to topdir.
1423
1424Tue Jun 21 20:38:47 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1425
1426	* ext/date/date_core.c (datetime_s_*): canonicalize 24 o'clock.
1427
1428Tue Jun 21 19:46:23 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1429
1430	* test/ruby/test_thread.rb (TestThread#test_priority): enable
1431	  this test again. Current GVL respect thread priority rather
1432	  than past.
1433
1434Tue Jun 21 13:25:35 2011  TAKAO Kouji  <kouji@takao7.net>
1435
1436	* ext/readline/readline.c (readline_getc): applied a patch in
1437	  #3827 by by Akio Tajima <artonx AT yahoo.co.jp>. (see #3827)
1438
1439Tue Jun 21 13:16:31 2011  TAKAO Kouji  <kouji@takao7.net>
1440
1441	* ext/readline/extconf.rb: fixed bug, specify --disable-libedit
1442	  then disable libedit, does not specify then check readline and
1443	  libedit if failed checking readline. (fixes #3375)
1444
1445Mon Jun 20 22:52:07 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1446
1447	* process.c (before_exec): use sig_do_nothing instead of SIG_DFL
1448	  for avoiding a race.
1449	* process.c (sig_do_nothing): new function.
1450
1451Mon Jun 20 21:31:03 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1452
1453	* thread_pthread.c (thread_timer): rename timeout_10ms to
1454	  time_quantum. it's no longer 10ms.
1455
1456Mon Jun 20 18:46:02 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1457
1458	* ext/openssl/ossl_cipher.c, ext/openssl/lib/openssl/cipher.rb:
1459	  Documentation fix by Ippei Obayashi. See #4419.
1460
1461Mon Jun 20 15:41:33 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1462
1463	* lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228.
1464	  r31228 was for allowing the 'Cookie:' header which did not have no
1465	  SP after ';' for separating cookie-pairs but RFC6265 requires single
1466	  SP after ';' there.  We allow multiple SPs here for compatibility
1467	  with older WEBrick version.
1468
1469	* test/webrick/test_cookie.rb: Test it.
1470
1471Sun Jun 19 13:31:26 2011  Shota Fukumori  <sorah@tubusu.net>
1472
1473	* NEWS: Introduce --hide-skip on test/unit.
1474
1475Sun Jun 19 10:05:16 2011  Shota Fukumori  <sorah@tubusu.net>
1476
1477	* lib/test/unit/parallel.rb: Override Test::Unit::TestCase#on_parallel_worker?
1478	  only when $0 == __FILE__.
1479
1480	* lib/test/unit/parallel.rb: Run Test::Unit::Worker.run only when
1481	  $0 == __FILE__.
1482
1483Sat Jun 18 23:59:24 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1484
1485	* io.c (fill_cbuf): finish reading at EOF, and the readconv has
1486	  been cleared by another thread while io_fillbuf() is waiting at
1487	  select().  a patch in [ruby-core:37197] by Hiroshi Shirosaki
1488	  <h.shirosaki AT gmail.com>.  fixed #3840
1489
1490Sat Jun 18 21:36:29 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1491
1492	* thread_pthread.c: remove GVL_DEBUG
1493
1494Sat Jun 18 21:32:02 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1495
1496	* vm.c, vm_core.h (rb_vm_stack_to_heap): remove const.
1497	  It makes compilations warnings.
1498
1499Sat Jun 18 18:54:15 2011  Koichi Sasada  <ko1@atdot.net>
1500
1501	* vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place.
1502
1503Sat Jun 18 17:23:38 2011  Tanaka Akira  <akr@fsij.org>
1504
1505	* eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don't
1506	  declare internal functions.
1507
1508	* internal.h, vm_core.h: declare internal functions.
1509
1510	* array.c: include internal.h.
1511
1512	* common.mk: update dependency for array.o.
1513
1514Sat Jun 18 13:39:33 2011  Tanaka Akira  <akr@fsij.org>
1515
1516	* internal.h: declarations declared in include/ruby/*.h removed.
1517
1518Sat Jun 18 12:42:17 2011  Tanaka Akira  <akr@fsij.org>
1519
1520	* method.h, internal.h iseq.h: declare internal functions.
1521
1522	* compile.c, eval.c, iseq.c, object.c, parse.y, proc.c, process.c,
1523	  thread.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c: don't
1524	  declare internal functions.
1525
1526	  Note that rb_method_entry_eq() is defined in vm_method.c but
1527	  there was a declaration in proc.c with different const-ness.
1528	  Now it is declared in method.h with same const-ness to the
1529	  definition.
1530
1531	* object.c (rb_mod_module_exec): don't declare functions declared in
1532	  include/ruby/intern.h.
1533
1534Sat Jun 18 12:05:08 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1535
1536	* include/ruby/backward/classext.h: for evil gems.  fixed #4803
1537
1538Sat Jun 18 11:12:13 2011  Tanaka Akira  <akr@fsij.org>
1539
1540	* common.mk: update dependencies.
1541
1542Sat Jun 18 11:09:03 2011  Tanaka Akira  <akr@fsij.org>
1543
1544	* io.c: suppress warnings.
1545
1546Sat Jun 18 10:22:39 2011  Tanaka Akira  <akr@fsij.org>
1547
1548	* internal.h: declare more internal functions.
1549
1550	* iseq.h (rb_method_get_iseq): declared.
1551
1552	* compile.c, eval.c, eval_error.c, iseq.c, parse.y, proc.c, range.c,
1553	  ruby.c, time.c, util.c, vm.c: don't declare internal functions.
1554
1555	* eval.c, parse.y, thread_pthread.c: non-existing function declarations
1556	  removed.
1557
1558Sat Jun 18 08:12:54 2011  Tanaka Akira  <akr@fsij.org>
1559
1560	* common.mk: dependencies updated.
1561
1562	* tool/update-deps: new file to assist update dependencies in
1563	  common.mk.
1564
1565Sat Jun 18 07:27:27 2011  Tanaka Akira  <akr@fsij.org>
1566
1567	* internal.h: declare internal functions here.
1568
1569	* node.h: declare NODE dependent internal functions here.
1570
1571	* iseq.h: declare rb_iseq_t dependent internal functions here.
1572
1573	* vm_core.h: declare rb_thread_t dependent internal functions here.
1574
1575	* bignum.c, class.c, compile.c, complex.c, cont.c, dir.c, encoding.c,
1576	  enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c, io.c,
1577	  iseq.c, load.c, marshal.c, math.c, numeric.c, object.c, parse.y,
1578	  proc.c, process.c, range.c, rational.c, re.c, ruby.c, string.c,
1579	  thread.c, time.c, transcode.c, variable.c, vm.c,
1580	  tool/compile_prelude.rb: don't declare internal functions declared
1581	  in above headers.  include above headers if required.
1582
1583	  Note that rb_thread_mark() was declared as
1584	  void rb_thread_mark(rb_thread_t *th) in cont.c but defined as
1585	  void rb_thread_mark(void *ptr) in vm.c.  Now it is declared as
1586	  the later in internal.h.
1587
1588Sat Jun 18 02:36:00 2011  Kenta Murata  <mrkn@mrkn.jp>
1589
1590	* ext/bigdecimal/bigdecimal.c (VpNewRbClass): fix type of the 2nd
1591	  argument.
1592
1593	* ext/bigdecimal/bigdecimal.h: ditto.
1594
1595Sat Jun 18 02:30:00 2011  Kenta Murata  <mrkn@mrkn.jp>
1596
1597	* ext/bigdecimal/bigdecimal.c (BigMath_s_exp): move BigMath.exp from
1598	  bigdecimal/math.rb.
1599
1600	* ext/bigdecimal/lib/bigdecimal/math.rb: ditto.
1601
1602	* test/bigdecimal/test_bigdecimal.rb: move test for BigMath.exp from
1603	  test/bigdecimal/test_bigmath.rb.
1604
1605	* test/bigdecimal/test_bigmath.rb: ditto.
1606
1607Sat Jun 18 00:20:54 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1608
1609	* ext/date/date_core.c: do not define wnum[01].
1610
1611Fri Jun 17 18:57:36 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1612
1613	* compile.c (iseq_compile_each): fix return value of obj[a,*b]=c.
1614
1615Fri Jun 17 13:09:45 2011  Eric Hodel  <drbrain@segment7.net>
1616
1617	* ext/curses/curses.c:  Clean up documentation.
1618
1619Fri Jun 17 09:25:14 2011  Eric Hodel  <drbrain@segment7.net>
1620
1621	* ext/curses/curses.c:  Document curses constants.  Patch by Vincent
1622	  Batts.  [Ruby 1.9 - Bug #4880]
1623
1624Fri Jun 17 09:11:05 2011  Eric Hodel  <drbrain@segment7.net>
1625
1626	* object.c:  Document Module#method_added and #method_removed.
1627	  Patch by Bryce Kerley.  [Ruby 1.9 - Feature #4867]
1628
1629Fri Jun 17 08:50:16 2011  Eric Hodel  <drbrain@segment7.net>
1630
1631	* io.c:  Improve documentation of IO and File open and new.
1632	  Patch by Roger Pack.  [Ruby 1.9 - Bug #4790]
1633
1634Fri Jun 17 07:53:50 2011  Eric Hodel  <drbrain@segment7.net>
1635
1636	* lib/csv.rb:  Document #raw_encoding.  Patch by David Czarnecki.
1637	  [Ruby 1.9 - Bug #4874]
1638
1639Fri Jun 17 07:46:50 2011  Eric Hodel  <drbrain@segment7.net>
1640
1641	* lib/benchmark.rb:  Document Benchmark::Tms#memberwise.  Patch by
1642	  David Czarnecki.  [Ruby 1.9 - Bug #4873]
1643
1644Fri Jun 17 07:38:31 2011  Eric Hodel  <drbrain@segment7.net>
1645
1646	* lib/prettyprint.rb:  Improve documentation.  Patch by Ysiad
1647	  Ferreiras.  [#4834]
1648
1649Fri Jun 17 07:23:03 2011  Eric Hodel  <drbrain@segment7.net>
1650
1651	* array.c (rb_ary_drop):  Improve documentation.  Patch by Caley Woods.
1652	  [Ruby 1.9 - Bug #4858]
1653
1654Fri Jun 17 06:11:31 2011  Eric Hodel  <drbrain@segment7.net>
1655
1656	* lib/webrick/log.rb:  Improve documentation of BasicLog and Log.
1657	  Patch by Olivier Brisse.  [Ruby 1.9 - Bug #4833]
1658	* lib/webrick/httpstatus.rb:  Improve documentation of
1659	  WEBrick::HTTPStatus.  Patch by Olivier Brisse.
1660	  [Ruby 1.9 - Bug #4833]
1661
1662Fri Jun 17 04:48:22 2011  Koichi Sasada  <ko1@atdot.net>
1663
1664	* thread_pthread.c, thread_pthread.h: remove unused variables.
1665	  (native_thread_data_t::gvl_cond, native_thread_data_t::gvl_next)
1666
1667Thu Jun 16 14:32:31 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1668
1669	* time.c (rb_time_new): prevent overflow by "* 1000".
1670
1671Fri Jun 17 03:07:36 2011  Koichi Sasada  <ko1@atdot.net>
1672
1673	* benchmark/bm_vm4_thread_create_join.rb,
1674	  benchmark/bm_vm4_thread_mutex[1-3].rb: renamed to
1675	  bm_thread_* (fix last rename).
1676
1677Fri Jun 17 02:26:47 2011  Koichi Sasada  <ko1@atdot.net>
1678
1679	* thread_pthread.c (native_thread_create): fix debug message.
1680	  (add last newline)
1681
1682Thu Jun 16 23:40:49 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1683
1684	* thread.c (rb_thread_schedule_rec): fix {UN,}LIKELY macro misuse.
1685	* gc.c (rb_newobj): ditto.
1686	* vm_insnhelper.c (vm_method_search): ditto.
1687
1688Thu Jun 16 20:06:15 2011  Shota Fukumori  <sorah@tubusu.net>
1689
1690	* test/testunit/test_parallel.rb: Fix Regexp for test.
1691
1692	* test/testunit/tests_for_parallel/test_third.rb: Use
1693	  Test::Unit::TestCase#on_parallel_worker? for detecting worker.
1694
1695	* lib/test/unit/testcase.rb(Test::Unit::TestCase#on_parallel_worker?):
1696	  New Method Test::Unit::TestCase#on_parallel_worker? returns true
1697	  when a testcase is running on parallel worker.
1698	* lib/test/unit/parallel.rb(Test::Unit::TestCase#on_parallel_worker?):
1699	  ditto.
1700
1701Thu Jun 16 19:27:12 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
1702
1703	* test/test_securerandom.rb: Add testcase.  This testcase does NOT aim
1704	  to test cryptographically strongness and randomness.  It includes
1705	  the test for PID recycle issue of OpenSSL described in #4579 but
1706	  it's disabled by default.
1707
1708Thu Jun 16 17:55:07 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1709
1710	* test/ruby/test_io.rb (TestIO#test_copy_stream_socket): fix
1711	  test hanging up issue. Patch by CHIKANAGA Tomoyuki.
1712
1713Thu Jun 16 15:17:39 2011  Eric Hodel  <drbrain@segment7.net>
1714
1715	* variable.c (const_missing):  Add simple example of const_missing.
1716	  Patch by Anuj Dutta.  [Ruby 1.9 - Bug #4794]
1717
1718Thu Jun 16 15:09:29 2011  Eric Hodel  <drbrain@segment7.net>
1719
1720	* lib/monitor.rb:  Improve documentation.  Patch by Sandor Szucs.
1721	  [Ruby 1.9 - Bug #4823]
1722
1723Thu Jun 16 14:54:09 2011  Eric Hodel  <drbrain@segment7.net>
1724
1725	* lib/webrick/utils.rb: Document WEBrick::Utils.  Patch by Olivier
1726	  Brisse.  [Ruby 1.9 - Bug #4819]
1727
1728Thu Jun 16 14:26:46 2011  Eric Hodel  <drbrain@segment7.net>
1729
1730	* lib/webrick/httpservlet/erbhandler.rb:  Allow the ERB document to
1731	  alter the content-type of the response.  [Ruby 1.9 - Bug #4685]
1732
1733Thu Jun 16 14:15:47 2011  Eric Hodel  <drbrain@segment7.net>
1734
1735	* lib/timeout.rb: Clarify timeout duration types.  Patch by Alf Mikula.
1736	  [Ruby 1.9 - Bug #4791]
1737	* lib/net/http.rb: ditto
1738
1739Thu Jun 16 13:25:25 2011  Eric Hodel  <drbrain@segment7.net>
1740
1741	* lib/rdoc*:  Import RDoc 3.7 release candidate
1742
1743Thu Jun 16 11:35:09 2011  Shugo Maeda  <shugo@ruby-lang.org>
1744
1745	* lib/net/imap.rb (search_response): parses SEARCH responses from
1746	  the Yahoo IMAP server correctly.  patched by Mark Nadig.  [Bug #4509]
1747
1748Thu Jun 16 09:12:38 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1749
1750	* fix for build on solaris 10.
1751
1752Thu Jun 16 09:08:39 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1753
1754	* test/io/console/test_io_console.rb (TestIO_Console#test_sync):
1755	  fix for daemon process.
1756
1757Thu Jun 16 07:58:01 2011  Shota Fukumori  <sorah@tubusu.net>
1758
1759	* test/testunit/test_parallel.rb(test_ignore_tzero): Test for r32109.
1760
1761	* test/testunit/tests_for_parallel/test_third.rb: Use another way to
1762	  detect that test is running on worker. This fixes sometimes
1763	  TestParallel failing.
1764
1765Thu Jun 16 07:20:06 2011  Shota Fukumori  <sorah@tubusu.net>
1766
1767	* lib/test/unit.rb(Test::Unit::Runner#_run_parallel): Ignore -j0
1768	  because it makes blocking forever by IO.select.
1769
1770Thu Jun 16 03:08:11 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
1771
1772	* test/testunit/test_parallel.rb (TestParallel::TestParallelWorker#
1773	  setup): now can run on Windows, probably.
1774
1775	* test/testunit/test_parallel.rb (TestParallel::TestParallel#setup):
1776	  ditto.
1777
1778Thu Jun 16 03:00:26 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
1779
1780	* thread.c (do_select): Windows: no need to poll if select(2) is
1781	  cancelable.
1782
1783	* thread_win32.c (native_fd_select): new function to make select(2)
1784	  cancelable.
1785
1786	* thread_win32.c (rb_w32_check_interrupt): new function for checking
1787	  interrupt.
1788
1789	* win32/win32.c (rb_w32_select_with_thread): new function. cancelable
1790	  select(2).
1791
1792	* win32/win32.c (rb_w32_select): use above function internally.
1793
1794Wed Jun 15 23:30:45 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1795
1796	* gc.c: fix a regression by r31690 on AIX because AIX malloc
1797	  return NULL if it's passed 0. But some caller don't expect it.
1798	  patch by Yutaka Kanemoto. [ruby-dev:43779]
1799	(vm_malloc_prepare): return calculated size.
1800	(vm_xmalloc): use above result.
1801	(vm_xcalloc): ditto.
1802
1803Wed Jun 15 23:11:35 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1804
1805	* thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used
1806	  since r32022.
1807
1808Wed Jun 15 21:00:47 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1809
1810	* test/openssl/test_config.rb: execute based on the existence of the
1811	  OpenSSL module.
1812
1813Wed Jun 15 12:35:11 2011  Tanaka Akira  <akr@fsij.org>
1814
1815	* test/ruby/test_io.rb (test_copy_stream_socket): wait a child process
1816	  before SIGUSR1 handler is removed.
1817
1818	* test/pathname/test_pathname.rb (define_assertion): use line number
1819	  for test method names.
1820
1821Wed Jun 15 10:37:43 2011  NARUSE, Yui  <naruse@ruby-lang.org>
1822
1823	* file.c (rb_stat_rdev): use DEVT2NUM.
1824
1825	* file.c (rb_stat_rdev_major): ditto.
1826
1827	* file.c (rb_stat_rdev_minor): ditto.
1828
1829Wed Jun 15 05:12:59 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
1830
1831	* ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's
1832	  the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM
1833	  is defined.
1834
1835Wed Jun 15 04:42:47 2011  Koichi Sasada  <ko1@atdot.net>
1836
1837	* benchmark/bm_vm3_thread_*.rb: renamed bm_vm3_thread_*.rb to
1838	  benchmark/bm_vm_thread_*.rb.
1839
1840Wed Jun 15 04:28:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1841
1842	* benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to
1843	  bm_vm_thread_*. suggested by ko1.
1844	* benchmark/bm_vm4_pipe.rb: ditto.
1845	* benchmark/bm_vm4_alive_check1.rb: ditto.
1846	* benchmark/bm_vm4_pass_flood.rb: ditto.
1847
1848Wed Jun 15 03:52:50 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1849
1850	* benchmark/bm_vm4_pass_flood.rb: new benchmark for GVL fairness.
1851	* benchmark/bm_vm4_alive_check1.rb: ditto.
1852
1853Wed Jun 15 01:27:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1854
1855	* thread_pthread.c (gvl_yield): fix live lock issue on 1-2 cpus
1856	  system. It's additional fix for r32021.
1857	* thread_pthread.c (gvl_init): add switch_wait_cond.
1858	* thread_pthread.h (typedef struct rb_global_vm_lock_struct): ditto.
1859
1860Tue Jun 14 23:16:22 2011  Tanaka Akira  <akr@fsij.org>
1861
1862	* bootstraptest/runner.rb (show_progress): refine verbose mode.
1863	  (exec_test): ditto.
1864
1865Tue Jun 14 23:02:36 2011  Tanaka Akira  <akr@fsij.org>
1866
1867	* bootstraptest/runner.rb (show_progress): extracted from assert_check.
1868	  (assert_check): use show_progress.
1869	  (assert_normal_exit): ditto.
1870	  (assert_finish): ditto.
1871	  (flunk): ditto.
1872
1873Tue Jun 14 22:51:42 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1874
1875	* test/date/test_*.rb: added tests.
1876
1877Tue Jun 14 22:09:58 2011  Tadayoshi Funaba  <tadf@dotrb.org>
1878
1879	* ext/date/date_core.c: renamed some functions.
1880	* ext/date/date_core.c: modified doc.
1881
1882Tue Jun 14 21:26:01 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
1883
1884	* cont.c (cont_save_thread): add new utility function.
1885	  rb_context_t::saved_thread.machine_stack_start and
1886	  machine_stack_end should be cleared immediately after a snapshot of
1887	  current thread is stored to saved_thread. [ruby-dev:43680] [Bug #4855]
1888	  this change aims to get rid of unnecessary GC mark at machine stack.
1889
1890Tue Jun 14 19:50:49 2011  Tanaka Akira  <akr@fsij.org>
1891
1892	* test/ruby/test_autoload.rb: remove temporary directory.
1893
1894Tue Jun 14 11:05:03 2011  Narihiro Nakamura  <narihiro@netlab.jp>
1895
1896	* gc.c (rb_gc_set_params): call initial_expand_heap if
1897	  initial_heap_min_slots is set.
1898
1899Tue Jun 14 11:02:08 2011  Narihiro Nakamura  <narihiro@netlab.jp>
1900
1901	* gc.c: use size_t.
1902
1903Tue Jun 14 01:10:38 2011  Yusuke Endoh  <mame@tsg.ne.jp>
1904
1905	* test/coverage/test_coverage.rb: add a test for restart.  a patch
1906	  from Xavier Shay.  [ruby-core:36745]
1907
1908Tue Jun 14 01:05:10 2011  Yusuke Endoh  <mame@tsg.ne.jp>
1909
1910	* ext/coverage/coverage.c: make it restartable.  [ruby-core:36539]
1911
1912Mon Jun 13 23:55:40 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1913
1914	* thread.c (rb_thread_schedule_rec): call gvl_yield() unconditionally.
1915	* thread_pthread.c: remove HAVE_GVL_YIELD macro.
1916	* thread_win32.c (gvl_yield): new. this fallback logic was moved from
1917	  rb_thread_schedule_rec().
1918
1919Mon Jun 13 23:50:25 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
1920
1921	* ext/io/console/console.c (console_dev): typo.
1922
1923Mon Jun 13 23:38:23 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1924
1925	* parse.y (parser_parse_string): flush delayed token.  based on a
1926	  patch by Masaya Tarui in [ruby-dev:43762].  Bug #4544
1927
1928	* parse.y (yylex): revert r24557.  delayed token at the end of
1929	  string should be flushed already by the above change.
1930
1931Mon Jun 13 23:33:31 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1932
1933	* ext/io/console/console.c (console_dev): console should be
1934	  unbuffered.
1935
1936	* ext/io/console/console.c (console_dev): take care of no-ctty
1937	  case.
1938
1939Mon Jun 13 23:06:12 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1940
1941	* thread_pthread.c: rewrite GVL completely. This fix improve some
1942	  benchmark dramatically (e.g. vm3_thread_mutex result changed
1943	  form 120.601sec to 3.426sec).
1944	* thread_win32.c: ditto.
1945	* thread_pthread.h: ditto.
1946	* vm_core.h: ditto.
1947	* thread.c: ditto.
1948
1949Mon Jun 13 23:11:52 2011  Tanaka Akira  <akr@fsij.org>
1950
1951	* test/socket/test_unix.rb: don't use Thread.abort_on_exception.
1952
1953Mon Jun 13 23:05:01 2011  Tanaka Akira  <akr@fsij.org>
1954
1955	* ext/socket/unixsocket.c (unix_send_io): race condition fixed.
1956	  (unix_recv_io): ditto.
1957	  fixed by Eric Wong.  [ruby-core:35574]
1958
1959	* test/socket/test_unix.rb: test added for above problem.
1960
1961Mon Jun 13 21:41:05 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
1962
1963	* thread_win32.c (native_cond_signal): remove unnecessary rb_bug().
1964	  It's additional fix for r32021. [Bug #4696]
1965
1966Mon Jun 13 20:50:49 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1967
1968	* test/openssl/test_ec.rb
1969	  test/openssl/test_pkey_ec.rb: merge both files into test_pkey_ec.rb.
1970	  Removed redundant group instantiation from PKey tests.
1971	* test/openssl/utils.rb: only create TEST_PKEY_EC_P256V1 if EC is
1972	  defined.
1973
1974Mon Jun 13 20:28:24 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
1975
1976	* test/openssl/digest.rb: remove MDC2 from test, it is not available
1977	  by default in an OpenSSL installation.
1978
1979Mon Jun 13 20:18:55 2011  Koichi Sasada  <ko1@atdot.net>
1980
1981	* vm_core.h, vm_insnhelper.h: move decl. of
1982	  ruby_vm_global_state_version and related macros
1983	  from vm_core.h to vm_insnhelper.h.
1984
1985	* vm.c (vm_clear_all_cache): added.  This function is called
1986	  when ruby_vm_global_state_version overflows.
1987	  TODO: vm_clear_all_inline_method_cache() is only place holder.
1988	        We need to implement it ASAP.
1989
1990	* vm_method.c (vm_clear_global_method_cache): added.
1991
1992Mon Jun 13 19:46:21 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
1993
1994	* lib/cmath.rb: add new method Object#real?. fix #3137
1995
1996Mon Jun 13 18:52:00 2011  Kenta Murata  <mrkn@mrkn.jp>
1997
1998	* ext/bigdecimal/bigdecimal.c (is_kind_of_BigDecimal): new function to
1999	  examine the whether the object is kind of BigDecimal.
2000
2001Mon Jun 13 18:49:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2002
2003	* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): use GetVpValueWithPrec
2004	  for Float and Rational arguments.
2005
2006	* test/bigdecimal/test_bigdecimal.rb (test_new, test_cmp, test_power):
2007	  add and modify tests for the above change.
2008
2009	* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): modify coding style to
2010	  match ruby's standard.
2011
2012Mon Jun 13 18:33:04 2011  Tanaka Akira  <akr@fsij.org>
2013
2014	* lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
2015	  to prevent random number sequence repetition at forked child
2016	  process which has same pid.
2017	  reported by Eric Wong.  [ruby-core:35765]
2018
2019Mon Jun 13 17:02:34 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2020
2021	* lib/net/http.rb (Net::HTTP#use_ssl?): require 'openssl' only when
2022	  https is needed. fixes r31933.
2023
2024Mon Jun 13 14:35:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2025
2026	* lib/cmath.rb (CMath.cbrt): returns the principal value of the cube
2027	  root of the argument.  fix #3676
2028
2029	* test/test_cmath.rb (test_cbrt_returns_principal_value_of_cube_root):
2030	  test for the above change.
2031
2032Mon Jun 13 14:17:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2033
2034	* lib/test/unit.rb (Test::Unit::GlobOption#non_options): fix typo.
2035
2036Mon Jun 13 13:04:20 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2037
2038	* ext/openssl/ossl_digest.c: fix error for digests that have no oid
2039	(e.g. DSS1).
2040	* test/openssl/test_digest.c: add tests for this.
2041
2042Mon Jun 13 12:51:51 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2043
2044	* lib/yaml.rb: load psych only when syck is not loaded.
2045
2046Mon Jun 13 12:23:39 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2047
2048Mon Jun 13 12:23:39 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2049
2050	* ext/psych/lib/psych/deprecated.rb (Object#to_yaml_properties):
2051	  undef to_yaml_properties before redefine it.
2052
2053	* ext/syck/lib/syck/rubytypes.rb: ditto.
2054
2055Mon Jun 13 11:30:10 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2056
2057	* ext/openssl/ossl_digest.c: allow Digests to be created by sn, ln or
2058	  oid.
2059	* test/openssl/test_digest.rb: add tests for this.
2060	  [Ruby 1.9 - Feature #4412] [ruby-core:35319]
2061
2062Mon Jun 13 10:54:03 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2063
2064	* ext/openssl/pkey_dh.c: corrected documentation.
2065	* test/openssl/utils.rb: add test key for DH.
2066	* test/openssl/test_pkey_dh.rb: add tests.
2067
2068Mon Jun 13 10:13:08 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2069
2070	* ext/openssl/pkey_dh.c: clarify difference between DH#public_key and
2071	DH#pub_key in documentation.
2072
2073Mon Jun 13 05:50:43 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2074
2075	* NEWS: introduce PKey.read.
2076
2077Mon Jun 13 05:17:29 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2078
2079	* ext/openssl/ossl_pkey.c: added PKey.read module function that allows
2080	  reading arbitrary public/private keys from DER-/PEM-encoded File or
2081	  string instances.
2082	* ext/openssl/ossl_pkey_dh.c: improved documentation.
2083	* test/openssl/utils.rb: added EC test key.
2084	* test/openssl/test_pkey_rsa.rb
2085	  test/openssl/test_pkey_dsa.rb: Test PKey.read. Reuse keys from
2086	  OpenSSL::TestUtils.
2087	* test/openssl/test_pkey_ec.rb: Created test file for EC tests.
2088	  Test PKey.read.
2089	  [Ruby 1.9 - Feature #4424] [ruby-core:35330]
2090
2091Mon Jun 13 04:42:24 2011  Koichi Sasada  <ko1@atdot.net>
2092
2093	* ext/objspace/objspace.c (total_i): fix to skip no ruby objects.
2094
2095Mon Jun 13 03:07:38 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2096
2097	* test/benchmark/test_benchmark.rb (capture_output):
2098	  replace '-' as space. On NetBSD, subtract between two Process.times
2099	  after and before the short process may return negative value like:
2100	  t0=Process.times; yield; t1=Process.times; p t1.utime-t0.utime
2101
2102Mon Jun 13 02:40:23 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2103
2104	* test/openssl/test_pkey_dsa.rb: Test for DSA#syssign/sysverify.
2105
2106Mon Jun 13 01:59:19 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2107
2108	* ext/openssl/ossl_pkey_dh.c: completed documentation.
2109	* ext/openssl/ossl_pkey_dsa.c: corrected examples. Improved parameter
2110	  sections.
2111
2112Mon Jun 13 00:25:10 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
2113
2114	* ext/openssl/ossl_pkey_dsa.c: completed documentation.
2115
2116Sun Jun 12 23:36:46 2011  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
2117
2118	* lib/drb/drb.rb (kill_sub_thread): remove the method. [ruby-core:34185]
2119
2120Sun Jun 12 21:01:56 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2121
2122	* ext/date/date_core.c (d_lite_marshal_load): should give converted value.
2123
2124Sun Jun 12 20:36:30 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2125
2126	* ext/date/date_core.c: edited doc.
2127
2128Sun Jun 12 18:12:07 2011  Koichi Sasada  <ko1@atdot.net>
2129
2130	* benchmark/bm_vm3_clearmethodcache.rb: added.
2131
2132Sun Jun 12 17:40:29 2011  Koichi Sasada  <ko1@atdot.net>
2133
2134	* vm_method.c (rb_clear_cache*): update only vm state version.
2135
2136	* vm_method.c (rb_method_entry_get_without_cache, rb_method_entry):
2137	  Fill method cache entry with vm state version, and
2138	  check current vm state version for method (cache) look up.
2139	  This modification speed-up invalidating of global method cache table.
2140	  [Ruby 1.9 - Feature #3905] [ruby-core:36908]
2141
2142Sun Jun 12 16:19:48 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
2143
2144	* ext/tk/extconf.rb: fail on Mac OS X. [Bug #4853][ruby-dev:43655]
2145
2146Sun Jun 12 15:56:08 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2147
2148	* thread.c: remove th->transition_for_lock. It's thread unsafe.
2149	  [Bug #4723][ruby-dev:43563]
2150
2151Sun Jun 12 15:47:35 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2152
2153	* thread.c: introduce spurious wakeup safe deadlock check.
2154	  [Bug #4696][ruby-dev:43554]
2155
2156Sun Jun 12 13:33:52 2011  Koichi Sasada  <ko1@atdot.net>
2157
2158	* benchmark/bm_vm3_thread_mutex.rb: remove it.
2159
2160	* benchmark/bm_vm3_thread_mutex[1-3].rb: added 3 benchmarks.
2161	    1: one thread with one mutex (no contention).
2162	    2: two threads with one mutex (contention).
2163	    3: 1000 threads with one mutex (huge number of contention)
2164	  Above removed benchmark was type 3.
2165	  Therefore, this commit adds type 1 and 2 benchmark.
2166
2167Sun Jun 12 11:16:59 2011  Tanaka Akira  <akr@fsij.org>
2168
2169	* io.c: use select() appropriately for sendfile().
2170	  Fixed by Eric Wong.  [ruby-core:36150]
2171	  (maygvl_copy_stream_wait_readwrite): removed.
2172	  (nogvl_copy_stream_sendfile): use nogvl_copy_stream_wait_write and
2173	  maygvl_copy_stream_wait_read instead of
2174	  maygvl_copy_stream_wait_readwrite.
2175
2176Sun Jun 12 09:32:13 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2177
2178	* atomic.h (ATOMIC_OR): _InterlockedOr is not available on mingw.h
2179	* gc.c (rb_gc_set_params): VM_OBJSPACE is disabled on mingw.
2180
2181Sun Jun 12 01:07:09 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2182
2183	* ext/date/date_core.c: edited doc.
2184
2185Sat Jun 11 23:18:00 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2186
2187	* vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT,
2188	  RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing
2189	  interrupt_flag bit lost. [Bug #4770][ruby-dev:43467]
2190	* thread.c (rb_threadptr_execute_interrupts_rec): ditto.
2191	* vm_core.h (typedef struct rb_thread_struct): change type of
2192	  interrupt_flag to rb_atomic_t.
2193	* atomic.h: move atomic ops definition from signal.c.
2194	* signal.c: remove atomic ops definition.
2195	* common.mk (gc, signal, thread, cont): add to dependency to atomic.h.
2196
2197Sat Jun 11 23:23:52 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2198
2199	* ext/date/date_core.c: edited doc.
2200
2201Sat Jun 11 23:02:36 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
2202
2203	* ext/openssl/lib/openssl/buffering.rb (module OpenSSL):
2204	  Buffering#each_byte should return String in accordance with IO in
2205	  1.9.
2206
2207	* test/openssl/test_buffering.rb (class OpenSSL): add tests for getc
2208	  and each_byte.
2209
2210Sat Jun 11 22:41:37 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2211
2212	* time.c: a correction of doc for strftime (%v).
2213
2214Sat Jun 11 22:30:53 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2215
2216	* ext/date/date_core.c: replaced doc for strftime based on Time's one.
2217
2218Sat Jun 11 22:07:56 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2219
2220	* ext/date/date_core.c (datetime_s_{iso8601,rfc3339,xmlschema,rfc2822,httpdate}):
2221	  do not take argument comp.
2222
2223Sat Jun 11 21:58:31 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2224
2225	* ext/date/date_core.c: added examples.
2226
2227Sat Jun 11 19:40:45 2011  Narihiro Nakamura  <authornari@gmail.com>
2228
2229	* gc.c: expand heap if initial_heap_min_slots is bigger than
2230	  HEAP_MIN_SLOTS.
2231
2232Sat Jun 11 19:42:50 2011  WATANABE Hirofumi  <eban@ruby-lang.org>
2233
2234	* ChangeLog (vim): set shiftwidth to 2.
2235
2236Sat Jun 11 19:27:06 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
2237
2238	* ext/openssl/ossl_x509req.c: raise RequestError instead of
2239	  CertificateError when Request#to_der gets an error from OpenSSL.
2240	  Patch from Ippei Obayashi, see #4420. I cannot write a test for
2241	  this... Request does not allow to create broken bytes...
2242
2243Sat Jun 11 19:34:51 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2244
2245	* ext/date/date_core.c (Date::(ABBR_)?(MONTH|DAY)NAMES): should be usascii.
2246
2247Sat Jun 11 19:24:33 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2248
2249	* ext/date/date_core.c: rewrote doc.
2250
2251Sat Jun 11 19:04:15 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2252
2253	* lib/test/unit.rb (Test::Unit::GlobOption#non_options): should run
2254	  with 1.8.
2255
2256Sat Jun 11 18:05:57 2011  WATANABE Hirofumi  <eban@ruby-lang.org>
2257
2258	* bootstraptest/runner.rb: should initialize $stress to avoid warnings.
2259
2260Sat Jun 11 18:02:09 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2261
2262	* io.c (io_getc): should be 7bit if ascii.  fixes #4557
2263
2264Sat Jun 11 16:52:16 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2265
2266	* numeric.c (rb_enc_uint_chr): fix message format. Bug#4869
2267
2268Sat Jun 11 16:28:25 2011  Kouhei Sutou  <kou@cozmixng.org>
2269
2270	* lib/rexml/formatters/pretty.rb
2271	  (REXML::Formatters::Pretty#write_text),
2272	  test/rexml/test_core.rb
2273	  (Tester#test_pretty_format_long_text_finite): don't ignore
2274	  'width' parameter in pretty formatter. fixes #4498
2275	  Reported by Michael Frasca. Thanks!!!
2276
2277Sat Jun 11 16:11:36 2011  Kouhei Sutou  <kou@cozmixng.org>
2278
2279	* test/rexml/test_core.rb
2280	  (Tester#test_pretty_format_long_text_finite): remove needless
2281	  assert_nothing_raised.
2282
2283Sat Jun 11 16:04:03 2011  Kouhei Sutou  <kou@cozmixng.org>
2284
2285	* lib/rexml/parsers/xpathparser.rb
2286	  (REXML::Parsers::XPathParser#parse),
2287	  test/rexml/test_elements.rb
2288	  (ElementsTester#test_each_with_frozen_condition):
2289	  don't modify original XPath. fixes #4161
2290	  Reported by Pavel Shved. Thanks!!!
2291
2292Sat Jun 11 15:53:27 2011  Kouhei Sutou  <kou@cozmixng.org>
2293
2294	* test/rexml/test_elements.rb (ElementsTester): remove needless
2295	  prefix from test name.
2296
2297Sat Jun 11 15:36:36 2011  Martin Duerst  <duerst@it.aoyama.ac.jp>
2298	* common.mk: fixed a grammatical error
2299
2300Sat Jun 11 14:20:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2301
2302	* vm.c (thread_memsize): don't ignore size of th->local_storage.
2303
2304Sat Jun 11 10:32:46 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2305
2306	* lib/mkmf.rb: should quote arch_hdrdir and libpath for the case
2307	  installed prefix contains spaces.
2308
2309Sat Jun 11 10:20:52 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2310
2311	* thread_pthread.c (native_cond_timeout): wrap conditionally used
2312	  label.
2313
2314	* thread_pthread.c (native_sleep): remove unused variable.
2315
2316Sat Jun 11 10:15:50 2011  Tanaka Akira  <akr@fsij.org>
2317
2318	* thread.c (rb_thread_execute_interrupts): use GetThreadPtr to extract
2319	  rb_thread_t from VALUE.
2320	  reported by Motohiro KOSAKI.  [ruby-dev:43700]
2321
2322Sat Jun 11 10:00:49 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2323
2324	* ruby.c (ruby_process_options): add missing return type.
2325
2326Fri Jun 10 23:18:09 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2327
2328	* ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS with
2329	  rb_thread_check_ints(). Because current code can't be compiled.
2330
2331Fri Jun 10 16:38:13 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2332
2333	* encoding.c (rb_locale_charmap): When ruby process is run as Windows
2334	  Service the console codepage is not set, GetConsoleCP returns 0.
2335	  So on such environment, use GetACP().
2336	  http://blogs.msdn.com/b/michkap/archive/2005/02/08/369197.aspx
2337	  patched by Rafal Bigaj [ruby-core:36832] [Bug #4854]
2338
2339Fri Jun 10 14:34:24 2011  Koichi Sasada  <ko1@atdot.net>
2340
2341	* common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb".
2342	  TESTRUN_SCRIPT is used by "make run", "make gdb" and so on.
2343
2344Fri Jun 10 13:01:24 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2345
2346	* test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all
2347	  module related to Rake.
2348
2349Fri Jun 10 09:52:38 2011  Eric Hodel  <drbrain@segment7.net>
2350
2351	* encoding.c:  Mention that Encoding.compatible? can work with more
2352	  than just Strings.
2353
2354Fri Jun 10 02:25:53 2011  Aaron Patterson <aaron@tenderlovemaking.com>
2355
2356	* ext/psych/lib/psych.rb: updating version to match released gem.
2357
2358Fri Jun 10 01:06:29 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2359
2360	* ext/bigdecimal (BigDecimal_to_i): Integer#** may return flonum.
2361
2362Fri Jun 10 00:35:12 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2363
2364	* complex.c (string_to_c_internal): uses rb_reg_nth_match;
2365	* rational.c (string_to_r_internal): ditto.
2366
2367Fri Jun 10 00:25:03 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2368
2369	* gc.c: remove an unused declaration.
2370
2371Fri Jun 10 00:24:04 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2372
2373	* rational.c (string_to_r): Rational#** may return flonum.
2374
2375Thu Jun  9 23:57:53 2011  Tanaka Akira  <akr@fsij.org>
2376
2377	* io.c: fix IO.copy_stream interrupt handling.
2378	  based on the patch by Eric Wong.  [ruby-core:36156]
2379
2380	* vm_core.h (rb_thread_call_with_gvl): don't declare here.
2381
2382	* thread.c: include internal.h.
2383	  (rb_thread_execute_interrupts): new function.
2384
2385	* internal.h (rb_thread_execute_interrupts): declared.
2386	  (rb_thread_call_with_gvl): declared.
2387
2388Thu Jun  9 23:34:01 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2389
2390	* gc.c (rb_objspace_call_finalizer): use rb_typeddata_is_kind_of() for
2391	  type check to get rid of a double free when main Thread has singleton
2392	  class. [ruby-core:36741] [Bug #4828]
2393	* thread.c (rb_obj_is_mutex): add a new utility function.
2394	* vm.c (rb_obj_is_thread): ditto.
2395
2396Thu Jun  9 22:53:49 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2397
2398	* test/ruby/test_thread.rb (TestThread#test_kill_thread_subclass):
2399	  add test for Thread.kill with Thread subclass instance.
2400
2401Thu Jun  9 22:31:47 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2402
2403	* test/ruby/test_thread.rb (TestThread#test_kill_wrong_argument):
2404	  test for [ruby-core:35086].
2405	  partially forward porting r31402 from ruby_1_9_2 branch.
2406
2407Thu Jun  9 18:36:00 2011  Kenta Murata <mrkn@mrkn.jp>
2408
2409	* string.c: Fix the ambiguous description of the behavior of
2410	  rb_str_aref_m with a range.  It returns nil when the beginning of
2411	  the range is greater than the end of the string rather than the range.
2412
2413Thu Jun  9 10:57:03 2011  Aaron Patterson <aaron@tenderlovemaking.com>
2414
2415	* ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
2416	  from YAML files.
2417	* ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
2418	  dumped to YAML files.
2419	* test/psych/test_hash.rb: corresponding test.
2420
2421Thu Jun  9 09:18:51 2011  Aaron Patterson <aaron@tenderlovemaking.com>
2422
2423	* ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
2424	  from YAML files.
2425	* ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
2426	  dumped to YAML files.
2427	* test/psych/test_class.rb: corresponding test.
2428
2429Thu Jun  9 09:05:04 2011  Aaron Patterson <aaron@tenderlovemaking.com>
2430
2431	* ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
2432	  from YAML files.
2433	* ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
2434	  dumped to YAML files.
2435	* test/psych/test_class.rb: corresponding test.
2436
2437Wed Jun  8 21:38:57 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2438
2439	* cont.c (root_fiber_alloc): set root fiber's status RUNNING.
2440	  in cont_mark() only RUNNING fiber's machine stack is marked.
2441	  root fiber's status should be RUNNING at the beginning regardless of
2442	  FIBER_USE_NATIVE. [ruby-core:36735] fixes #4827
2443
2444Tue Jun  7 20:50:11 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2445
2446	* doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
2447	  [Bug #4843] [ruby-dev:43639]
2448	* doc/irb/irb.rd.ja: ditto.
2449	* doc/ChangeLog-YARV: ditto.
2450
2451Tue Jun  7 18:52:55 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2452
2453	* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? of
2454	  Windows has been fixed at r29969.
2455
2456	* test/rubygems/test_gem_stream_ui.rb: now can run tests.
2457
2458Tue Jun  7 18:36:41 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2459
2460	* test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,
2461	  test_self_user_home_user_drive_and_path}): should simply ignore
2462	  meaningless tests instead of skipping them.
2463
2464Tue Jun  7 18:15:00 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2465
2466	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
2467	  should show some messages when skipping tests.
2468
2469Tue Jun  7 13:59:47 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2470
2471	* ext/date/date_core.c (date_s_today, datetime_s_now): check the
2472	  result of localtime_r().
2473
2474Tue Jun  7 13:36:51 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2475
2476	* ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
2477	  command line escape issues on Windows.  fixed #4835.
2478
2479Tue Jun  7 03:18:45 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
2480
2481	* test/ruby/test_io.rb (TestIO#test_s_{,bin}write): do not create a
2482	  file under /tmp. [Bug #4846]
2483
2484Mon Jun  6 22:51:43 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2485
2486	* cont.c: use #if FIBER_USE_NATIVE instead of #ifdef.
2487	  you can suppress use of setcontext for Fiber with compile option
2488	  -DFIBER_USE_NATIVE=0
2489
2490Mon Jun  6 21:59:23 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2491
2492	* test/date/test_switch_hitter.rb: added a test.
2493
2494Mon Jun  6 21:37:45 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2495
2496	* ext/date/date_core.c: added notes.
2497
2498Mon Jun  6 21:02:12 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2499
2500	* ext/date/date_core.c: flattened format to strftimev.
2501	* ext/date/date_core.c (date_strftime_internal): taints run.
2502
2503Mon Jun  6 15:10:17 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2504
2505	* include/ruby/{defines,missing}.h (rb_infinity, rb_nan): move from
2506	  defines.h to missing.h.  (couldn't use RUBY_EXTERN there.)
2507
2508Mon Jun  6 14:35:48 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2509
2510	* test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#
2511	  {test_include_file,test_include_file_encoding_incompatible}): no
2512	  need to write such workaround.  don't hide the bug of ruby. (and the
2513	  bug is already fixed.)
2514
2515Mon Jun  6 14:11:11 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2516
2517	* ext/date/date_core.c (valid_jd_sub): need to convert from VALUE to
2518	  double.
2519
2520	* ext/date/date_core.c (offset_to_sec): get rid of a compiler warning.
2521
2522Mon Jun  6 14:09:08 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2523
2524	* include/ruby/defines.h (rb_infinity, rb_nan): export for Windows.
2525
2526Mon Jun  6 10:54:45 2011  Shota Fukumori  <sorah@tubusu.net>
2527
2528	* lib/test/unit.rb(Test::Unit::Runner#puke):
2529	  Add overriding from MiniTest::Unit#puke. This reverts minitest's fix
2530	  that skip messages are hidden when not verbose mode (-v option).
2531	  To hide skip messages, use --hide-skip option instead.
2532
2533Mon Jun  6 10:52:13 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2534
2535	* lib/net/http.rb: don't use autoload.
2536
2537Mon Jun  6 09:39:43 2011  Aaron Patterson <aaron@tenderlovemaking.com>
2538
2539	* ext/psych/parser.c (parse): release event objects to plug memory
2540	leak.  Thanks Mark J. Titorenko!
2541
2542Sun Jun  5 23:26:15 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2543
2544	* eval.c: remove rb_thread_stop_timer_thread function declaration.
2545	  Instead, include vm_core.h.
2546	* process.c: ditto.
2547
2548Sun Jun  5 21:38:51 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2549
2550	* thread_pthread.c (thread_timer): add to care a spurious wakeup.
2551	  When native_cond_timedwait() return 0 by spurious wakeup, we
2552	  don't have to neither 1) call timer_thread_function and 2)
2553	  exit the timer thread.
2554
2555Sun Jun  5 17:50:01 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2556
2557	* ext/date/date_core.c (m_real_cwyear): new.  derived from m_cwyear.
2558	* ext/date/date_strftime.c: trivial changes.
2559
2560Sun Jun  5 17:22:01 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
2561
2562	* ext/tk/config_list.in: add new options for tcltklib.
2563
2564Sun Jun  5 10:06:50 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2565
2566	* ext/date/date_tmx.h: now does not place decoded data.  allows to
2567	  access indirectly via functions on demand.
2568	* ext/date/date_strftime.c: ditto.
2569	* ext/date/date_core.c: ditto.
2570	* ext/date/date_core.c ({d|dt}_lite_to_s): use strftime.
2571
2572Sun Jun  5 06:22:02 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2573
2574	* NEWS: wrote about changes of date.
2575
2576Sat Jun  4 16:59:26 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2577
2578	* ext/date/date_core.c (d_lite_inspect): changed the format.
2579	* ext/date/date_core.c: refactoring and fixing some bugs.
2580
2581Sat Jun  4 11:30:57 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2582
2583	* class.c (check_mix_method_i, do_mix_method_i): not mix methods
2584	  renamed as nil.
2585
2586Sat Jun  4 04:04:41 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2587
2588	* test/rubygems/test_gem_commands_which_command.rb:
2589	  "missing" exists on ruby's top source directory. [Bug #4815]
2590
2591Fri Jun  3 21:48:12 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2592
2593	* lib/rubygems/test_case.rb: Refix for test-all in separate directory.
2594	  r31147 + r31151.
2595
2596Fri Jun  3 20:58:47 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2597
2598	* ext/date/date_core.c (d_lite_plus): get rid of compiler warnings.
2599
2600Fri Jun  3 20:56:40 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2601
2602	* include/ruby/missing.h, numeric.c (round): moved prototype of round()
2603	  from numeric.c to missing.h.  (note: round() is C99 feature, so ruby
2604	  provides it if not exist in C runtime.)
2605
2606Fri Jun  3 20:42:04 2011  Shota Fukumori  <sorah@tubusu.net>
2607
2608	* lib/test/unit/parallel.rb: Keep $stdin, $stdout before run testcase
2609	  and restore after run. Because some test break $stdin, $stdout.
2610	  Fixes [Bug #4433] [ruby-core:35353]
2611
2612Fri Jun  3 19:58:14 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2613
2614	* io.c (io_fflush): windows -- call fsync() only when the FD is tied to
2615	  file, because if the FD is pipe, it blocks.
2616
2617Fri Jun  3 09:27:31 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2618
2619	* lib/net/http.rb (URI::HTTP#request_uri): return nil when the uri
2620	  is path-rootless form. Bug #4759
2621
2622Thu Jun  2 23:51:03 2011  James Edward Gray II  <jeg2@ruby-lang.org>
2623
2624	* lib/csv.rb: Improve the line ending detection algorithm
2625	  patch by Alexey).
2626
2627Thu Jun  2 20:05:57 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2628
2629	* io.c (rb_io_s_write, rb_io_s_binwrite): return!!!
2630
2631Thu Jun  2 16:29:34 2011  Shota Fukumori  <sorah@tubusu.net>
2632
2633	* io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-core:21701]
2634
2635	* test/ruby/test_io.rb: Test for File.write, File.binwrite.
2636
2637	* NEWS: News for above.
2638
2639Thu Jun  2 12:33:09 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2640
2641	* io.c (io_fflush, rb_io_flush): need to fsync() when ruby calls
2642	  internal flush. [ruby-core:36670] [Bug #4813]
2643
2644Thu Jun  2 07:56:24 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
2645
2646	* ext/tk/tcltklib.c: reduce CPU power required by an eventloop.
2647
2648Tue May 31 21:28:33 2011  Tanaka Akira  <akr@fsij.org>
2649
2650	* test/ruby/test_signal.rb (TestSignal#test_signal_requiring):
2651	  redirect stderr to null device.
2652
2653Thu Jun  2 00:45:26 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
2654
2655	* ext/tk/extconf.rb: fix for uninitialized global variables.
2656	  [Ruby 1.9 - Bug #4811]
2657
2658Wed Jun  1 21:57:08 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2659
2660	* thread_pthread.c (native_sleep): fix 1000times calculation error.
2661	  this is a regression since r31457. [Bug #4808] [ruby-dev:43606]
2662
2663Wed Jun  1 17:19:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2664
2665	* thread_pthread.c: remove unused macro.
2666
2667Wed Jun  1 15:42:18 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2668
2669	* parse.y (peek_n): new macro to see next nth char.
2670
2671Wed Jun  1 15:40:46 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2672
2673	* tool/rbinstall.rb (gem): fix for rubygems change.
2674
2675Wed Jun  1 14:07:57 2011  Ryan Davis  <ryand-ruby@zenspider.com>
2676
2677	* lib/minitest/*: Imported minitest 2.2.2 (r6281)
2678	* test/minitest/*: ditto
2679
2680Wed Jun  1 12:35:50 2011  Ryan Davis  <ryand-ruby@zenspider.com>
2681
2682	* lib/rubygems*: Import rubygems 1.8.5 (released @ 137c80f)
2683	* test/rubygems: Ditto
2684
2685Wed Jun  1 12:34:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2686
2687	* NEWS: add new features of bigdecimal.
2688
2689Wed Jun  1 09:41:14 2011  Eric Hodel  <drbrain@segment7.net>
2690
2691	* lib/cgi/util.rb:  Improve documentation.  Patch by Kuba Fietkiewicz.
2692	  [Ruby 1.9 - Bug #4775]
2693	* lib/cgi/core.rb:  ditto
2694
2695Wed Jun  1 09:26:05 2011  Eric Hodel  <drbrain@segment7.net>
2696
2697	* lib/mathn.rb:  Improve documentation and attach it to Numeric.
2698	  Modified from patch by Anil V.  [Ruby 1.9 - Bug #4762]
2699
2700Wed Jun  1 09:21:30 2011  Eric Hodel  <drbrain@segment7.net>
2701
2702	* lib/prime.rb:  Indent examples enough to appear as code sections.
2703	  Note that Prime is Enumerable.  [#4762]
2704
2705Wed Jun  1 07:34:57 2011  Eric Hodel  <drbrain@segment7.net>
2706
2707	* hash.c (key_i):  Change rdoc from "the first occurrence" to "an
2708	  occurrence" since first occurrence is not a specification of
2709	  Hash#key.  [Ruby 1.9 - Bug #4760]
2710
2711Wed Jun  1 07:26:19 2011  Eric Hodel  <drbrain@segment7.net>
2712
2713	* ext/pty/pty.c (pty_check):  Restore "not reached" comment.
2714	  [Ruby 1.9 - Bug #4756]
2715
2716Wed Jun  1 07:21:40 2011  Eric Hodel  <drbrain@segment7.net>
2717
2718	* ext/zlib/zlib.c:  Fix document-method declarations for set_sync and
2719	  set_comment.  [Ruby 1.9 - Bug #4695]
2720
2721Wed Jun  1 06:43:13 2011  Masaya Tarui  <tarui@ruby-lang.org>
2722
2723	* load.c (loaded_feature_path): cut nonsense loop execution to fix
2724	  performance bug.
2725
2726Wed Jun  1 01:16:02 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2727
2728	* class.c (rb_mix_module): implement Module#mix.
2729
2730Wed Jun  1 01:15:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2731
2732	* io.c (io_encoding_set): should honor already set ecflags since it
2733	  might be set by mode option.  fixed #4804
2734
2735Wed Jun  1 00:34:04 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2736
2737	* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): remove unused
2738	  variable.
2739
2740Wed Jun  1 00:32:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2741
2742	* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): support instantiation from
2743	  a Float through Rational.
2744
2745	* ext/bigdecimal/bigdecimal.c (BigDecimal_new): ditto.
2746
2747	* test/bigdecimal/test_bigdecimal.rb (test_global_new_float): add a test for
2748	  the above changes.
2749
2750	* test/bigdecimal/test_bigdecimal.rb (test_new_with_float): ditto.
2751
2752Wed Jun  1 00:07:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2753
2754	* ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): support coerce with a
2755	  Rational.  The precision used for instantiate a BigDecimal from the
2756	  given Rational is obtained from the receiver BigDecimal.
2757
2758	* test/bigdecimal/test_bigdecimal.rb (test_coerce): add a test for the
2759	  above change.
2760
2761Tue May 31 23:49:08 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2762
2763	* ext/date/date_core.c (offset_to_sec): fixed invalid validation.
2764
2765Tue May 31 23:43:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2766
2767	* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): replace the algorithm for
2768	  coercing from a Rational to stop requiring "bigdecimal/util.rb".
2769	  [ruby-core:34318]
2770
2771	* ext/bigdecimal/bigdecimal.c (GetVpValue): refactoring.
2772
2773	* ext/bigdecimal/bigdecimal.c (BigDecimal_new): support instantiation from a
2774	  Rational.
2775
2776	* test/bigdecimal/test_bigdecimal.rb (test_global_new_with_rational): add a
2777	  test for the above change.
2778
2779	* test/bigdecimal/test_bigdecimal.rb (test_new_with_rational): ditto.
2780
2781Tue May 31 22:44:00 2011  Kenta Murata  <mrkn@mrkn.jp>
2782
2783	* ext/bigdecimal/bigdecimal.c (BigDecimal_new): support instantiation a
2784	  BigDecimal object from an Integer.
2785
2786	* test/bigdecimal/test_bigdecimal.rb (test_new_with_integer):
2787	  add for testing the above change.
2788
2789	* ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): replace its body
2790	  with a BigDecimal_new call.
2791
2792	* test/bigdecimal/test_bigdecimal.rb (test_global_new_with_integer):
2793	  add for testing the above change.
2794
2795Tue May 31 22:24:39 2011  Tadayoshi Funaba  <tadf@dotrb.org>
2796
2797	* ext/date/date_core.c: use simple/complex mode instead of light/right mode.
2798	* test/date/*.rb: followed the above changes.
2799
2800Tue May 31 21:28:33 2011  Tanaka Akira  <akr@fsij.org>
2801
2802	* test/ruby/test_signal.rb (TestSignal#test_signal_requiring):
2803	  initialize SIGINT handler.
2804
2805Tue May 31 17:03:24 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
2806
2807	* lib/net/http.rb, lib/net/protocol.rb: Allow to configure to wait
2808	  server returning '100 continue' response before sending HTTP request
2809	  body. See NEWS for more detail. See #3622.
2810	  Original patch is made by Eric Hodel <drbrain@segment7.net>.
2811
2812	* test/net/http/test_http.rb: test it.
2813
2814	* NEWS: Add new feature.
2815
2816Tue May 31 14:17:49 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2817
2818	* io.c (rb_io_s_pipe): potential bug. the mode of read IO is set as
2819	  DEFAULT_TEXTMODE in call of io_set_encoding(), and of write IO is
2820	  also set as it in call of io_new_instance() via rb_protect().
2821	  so, if DEFAULT_TEXTMODE is not 0, we should check the result of
2822	  extract_binmode() and avoid crush of default IO mode and the result.
2823
2824Tue May 31 13:00:17 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
2825
2826	* strftime.c (rb_strftime_with_timespec): improved style consistency.
2827	  constified some variables.
2828
2829	* test/test_time.rb (TestTime#test_huge_precision): test for #4456.
2830
2831Tue May 31 12:53:10 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2832
2833	* test/io/wait/test_io_wait.rb (TestIOWait#{test_nread,test_ready?,
2834	  test_wait}: give system some time to process the written data.
2835
2836Tue May 31 12:40:49 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2837
2838	* test/ruby/test_io.rb (TestIO#test_open_mode): MUST release resources
2839	  explicitly. fix problem of r31671
2840
2841Tue May 31 10:49:55 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2842
2843	* vm_exec.c: remove conditions for clang
2844	  because clang version 3.0 (trunk 132165) doesn't need them.
2845
2846Mon May 30 22:19:33 2011  Tanaka Akira  <akr@fsij.org>
2847
2848	* test/ruby/test_signal.rb (TestSignal#test_signal_requiring): don't
2849	  close stderr.
2850
2851Mon May 30 20:22:00 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
2852
2853	* test/ruby/test_signal.rb (TestSignal#test_signal_requiring): small
2854	  but critical typo of r31642.  sorry...
2855	  [Bug #4798] [ruby-core:36550]
2856
2857Mon May 30 15:44:16 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2858
2859	* insns.def (opt_mult): as r31805, volatile it.
2860	  Without this, clang -O fails calculation.
2861
2862	* numeric.c (fix_mul): ditto.
2863
2864	* rational.c (f_imul): ditto.
2865
2866Mon May 30 10:26:51 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2867
2868	* numeric.c (int_pow): make sure to assign the result of x * z.
2869	  If xz is optimized out, the value won't overflow.
2870
2871Sun May 29 23:17:29 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2872
2873	* re.c (rb_reg_match): fix rdoc of Regexp#=~.
2874	  patched by Tsuyoshi Sawada. [Bug #4781]
2875
2876Sun May 29 23:10:42 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2877
2878	* lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri):
2879	  keep parse_uri as private. patched by okkez. [Bug #4773]
2880
2881Sun May 29 17:53:03 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
2882
2883	* numeric.c: add #include "internal.h" for rb_big_uminus() prototype.
2884
2885Sun May 29 15:09:05 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2886
2887	* numeric.c (flo_round): fix for negative value.
2888
2889Sun May 29 02:16:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2890
2891	* test/net/http/utils.rb (TestNetHTTPUtils#teardown): add nil check.
2892
2893Sun May 29 00:22:40 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2894
2895	* process.c (before_exec, after_exec): change from macro to function.
2896
2897Sat May 28 19:30:17 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2898
2899	* process.c (before_exec, after_exec): change SIGPIPE handler to SIG_DFL
2900	  before calling execve(). Because r31760 reintroduced an issue that
2901	  system() may hang up (i.e. [ruby-dev:12261]).
2902	* process.c (save_sigpipe, restore_sigpipe): new.
2903
2904Sat May 28 16:08:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2905
2906	* signal.c (Init_signal, default_handler): change default SIGPIPE handler
2907	  from empty function to SIG_IGN. [ruby-dev:43215]
2908	* signal.c (sigpipe): removed.
2909
2910Sat May 28 03:04:27 2011  NARUSE, Yui  <naruse@ruby-lang.org>
2911
2912	* io.c (fill_cbuf): return MORE_CHAR_SUSPENDED when cbuf is not empty.
2913
2914Sat May 28 02:22:48 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2915
2916	* string.c (rb_str_bytesize): rb_str_bytesize() should use LONG2NUM().
2917	  Patch by Nikolai Weibull. [Bug #4789] [ruby-core:36511]
2918
2919Sat May 28 02:06:26 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2920
2921	* io.c (fill_cbuf): Fix test-all crash.
2922
2923Sat May 28 00:58:40 2011  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
2924
2925	* lib/ostruct.rb (method_missing): Handle [] and []= correctly.
2926	  Based on a patch by Caius Durling, bug #4179 [ruby-core:33792]
2927
2928Fri May 27 23:56:54 2011  Kouhei Sutou  <kou@cozmixng.org>
2929
2930	* test/rexml/test_core.rb (Tester::test_text_frozen): split frozen
2931	  string test. refs #4783
2932
2933Fri May 27 22:46:23 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2934
2935	* tool/rbinstall.rb (gem): install gemspec of json.  fixed #4784
2936
2937Fri May 27 22:45:10 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2938
2939	* io.c (validate_enc_binmode): do not clear textmode flag if
2940	  default.  fixed #4732
2941
2942	* io.c (fill_cbuf): finish reading at EOF.
2943
2944Fri May 27 11:31:51 2011  misfo <tedwardo2@gmail.com>
2945
2946	* lib/rexml/text.rb (REXML::Text#initialize): prevent an error
2947	  when passing a frozen string to REXML::Text.new
2948
2949	  dup the string passed in instead of cloning so that it's frozen
2950	  state is ignored
2951
2952Fri May 27 08:47:26 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
2953
2954	* thread.c (ppoll): typo bug fix.
2955
2956Fri May 27 08:35:04 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
2957
2958	* ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
2959
2960	* ext/tk/lib/tk/extconf.rb: cannot make on MinGW [Ruby 1.9 - Bug #4141].
2961
2962Thu May 27 00:34:07 2011  James Edward Gray II  <jeg2@ruby-lang.org>
2963
2964    * lib/csv.rb: Enhance each() to support Enumerator.
2965
2966Thu May 26 10:32:11 2011  James Edward Gray II  <jeg2@ruby-lang.org>
2967
2968    * lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
2969      [Ruby 1.9 - Bug #4785]
2970
2971Thu May 26 15:42:02 2011  Cezary Baginski <cezary.baginski@gmail.com>
2972
2973	* lib/xmlrpc/parser.rb (FaultException): fix to_s and inspect
2974
2975	* test/xmlrpc/parser.rb: test for the above
2976
2977Wed May 25 11:54:31 2011  Eric Hodel  <drbrain@segment7.net>
2978
2979	* ext/curses/curses.c:  Remove color constants block.
2980	  [Ruby 1.9 - Bug #4748]
2981
2982Wed May 25 09:56:45 2011  Eric Hodel  <drbrain@segment7.net>
2983
2984	* ext/curses/curses.c:  Add missing documentation for button state, MIN
2985	  and MAX comments.  Add Curses. to TABSIZE= and ESCDELAY= methods.
2986	  [Ruby 1.9 - Bug #4747]
2987
2988Wed May 25 09:35:31 2011  Eric Hodel  <drbrain@segment7.net>
2989
2990	* lib/benchmark.rb:  Restore nodoc for Benchmark::Job and
2991	  Benchmark::Report.  [Ruby 1.9 - Bug #4726]
2992
2993Wed May 25 09:29:38 2011  Eric Hodel  <drbrain@segment7.net>
2994
2995	* lib/net/pop.rb:  Hide implementation details from RDoc.
2996	  [Ruby 1.9 - Bug #4711]
2997
2998Wed May 25 09:26:29 2011  Eric Hodel  <drbrain@segment7.net>
2999
3000	* lib/net/ftp.rb:  Add :nodoc: for private methods.
3001	  [Ruby 1.9 - Bug #4710]
3002
3003Wed May 25 09:19:17 2011  Eric Hodel  <drbrain@segment7.net>
3004
3005	* ext/zlib/zlib.c:  Fix Document-method declarations.  Improve
3006	  Zlib::GzipFile's method catalog.  [Ruby 1.9 - Bug #4695]
3007
3008Wed May 25 08:22:12 2011  Eric Hodel  <drbrain@segment7.net>
3009
3010	* lib/erb.rb:  Hide documentation for implementation details of ERB.
3011	  [Ruby 1.9 - Bug #4694]
3012
3013Wed May 25 07:58:14 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3014
3015	* lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
3016	  compatibility.
3017
3018Wed May 25 07:13:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3019
3020	* spec/README: update the description.
3021
3022Wed May 25 07:12:16 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3023
3024	* lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.
3025
3026Tue May 24 17:30:36 2011  NARUSE, Yui  <naruse@ruby-lang.org>
3027
3028	* spec/README: fix typo.
3029	  patched by bowsersenior. https://github.com/ruby/ruby/pull/24
3030
3031Tue May 24 07:06:34 2011  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
3032
3033	* ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on
3034	  some environment (reported on [ruby-talk:381444]).
3035
3036	* ext/tk/lib/tk/canvas.rb: support creating a canvas item object from
3037	  an item ID number.
3038
3039	* ext/tk/lib/tk/image.rb: import documents which are pull-requested.
3040	  [Ruby 1.9 - Feature #4595]
3041
3042	* ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g.
3043	  /usr/lib64), add some new configure options (see README.tcltklib),
3044	  and bug fix.
3045
3046	* ext/tk/lib/tk/README.tcltklib: modify docs for some new configure
3047	  options.
3048
3049Tue May 24 04:01:46 2011  Aaron Patterson <aaron@tenderlovemaking.com>
3050
3051	* lib/yaml.rb: switch default YAML engine to Psych, old syck engine
3052	  may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374]
3053
3054Mon May 23 09:45:26 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
3055
3056	* include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. Forgot to
3057	  include this file in the commit r31692. __APPLE__ is not
3058	  CASEFOLD_FILESYSTEM again, from this time.
3059
3060Mon May 23 10:01:02 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3061
3062	* ext/openssl/ossl_asn1.c: Do not parse zero-tagged values as EOC. Do
3063	  not let current length become negative for infinite length constructed
3064	  values. Support constructed values of length zero. Added tests.
3065
3066Mon May 23 09:19:53 2011  Eric Hodel  <drbrain@segment7.net>
3067
3068	* lib/net/smtp.rb:  Document Net::SMTP::Response.  Patch by J.R. Garcia.
3069	  [Ruby 1.9 - Bug #4768]
3070
3071Mon May 23 09:03:52 2011  Shota Fukumori  <sorah@tubusu.net>
3072
3073	* lib/test/unit/parallel.rb: Never Ignore SIGINT. When received
3074	Interrupt, immediately puts result and exit. [ruby-dev:43571]
3075
3076	* lib/test/unit.rb: When received Interrupt, wait results from workers
3077	and collect them. [ruby-dev:43571]
3078
3079Mon May 23 09:08:07 2011  Eric Hodel  <drbrain@segment7.net>
3080
3081	* lib/mathn.rb:  Improve documentation.  Patch by Sandor Szucs.
3082	  [Ruby 1.9 - Bug #4767]
3083
3084Mon May 23 08:45:55 2011  Eric Hodel  <drbrain@segment7.net>
3085
3086	* lib/ostruct.rb:  Improve documentation.  Patch by Franklin Webber.
3087	  [Ruby 1.9 - Bug #4761]
3088
3089Mon May 23 08:35:24 2011  Eric Hodel  <drbrain@segment7.net>
3090
3091	* hash.c:  Improve documentation of Hash#key.  Patch by Utkarsh
3092	  Kukreti.  [Ruby 1.9 - Bug #4760]
3093
3094Mon May 23 08:32:59 2011  Eric Hodel  <drbrain@segment7.net>
3095
3096	* enumerator.c:  Improve documentation.  Patch by Dave Copeland.
3097	  [Ruby 1.9 - Bug #4757]
3098
3099Mon May 23 07:19:45 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3100
3101	* NEWS (openssl): Infinite length support. Different behavior of
3102	  Constructive and Primitive constructors.
3103
3104Mon May 23 06:58:33 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3105
3106	* ext/openssl/ossl_asn1.c: Forbid Constructives whose value is not an
3107	  Array to prevent segfault. Added test.
3108
3109Mon May 23 06:33:17 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3110
3111	* ext/openssl/ossl_asn1.c: Forbid Constructive without infinite
3112	  length. This also prevents a segfault. Added test and improved
3113	  documentation.
3114
3115Mon May 23 05:58:14 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3116
3117	* ext/openssl/ossl_asn1.c: Fix decoding of infinite length values.
3118	  Simplified ossl_asn1_decode0 by splitting it into three separate
3119	  functions. Add tests.
3120	  [Ruby 1.9 - Bug #4374][ruby-core:35123]
3121
3122Mon May 23 04:03:46 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3123
3124	* ext/openssl/ossl_asn1.c (ossl_asn1_initialize): Allow creation of
3125	  Constructives with an explicit tag_class parameter without
3126	  automatically setting tagging to :EXPLICIT. Fixes a bug when encoding
3127	  infinite length primitive values.
3128
3129Mon May 23 04:03:46 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3130
3131	* ext/openssl/ossl_asn1.c (ossl_asn1_cons_to_der): Add an additional
3132	  EOC for infinite length Constructives that are supposed to be encoded
3133	  with explicit tagging. Also tabify method correctly.
3134
3135Mon May 23 03:44:39 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3136
3137	* ext/openssl/ossl_asn1.c (ossl_asn1data_to_der): Remove redundant
3138	  flag tmp_cons.
3139
3140Mon May 23 00:35:00 2001  Kenta Murata  <mrkn@mrkn.jp>
3141
3142	* bignum.c (dump_bignum, bigmul1_balance, big_split, biglsh_bang),
3143	  (bigrsh_bang, big_split3, bigmul1_toom3, bigmul0): implement Toom3 (Toom-Cook)
3144	  multiplication.
3145
3146	* include/ruby/defines.h: add format prefixes for BDIGIT and BDIGIT_DBL.
3147
3148Sun May 22 23:24:02 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3149
3150	* ext/openssl/ossl_asn1.c: Instead of rb_intern use static symbols to
3151	  improve performance.
3152
3153Sun May 22 21:56:51 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3154
3155	* ext/openssl/ossl_asn1.c: Use OpenSSL constants V_ASN1_xxx instead of
3156	  hardcoded numbers for initializing class_tag_map.
3157
3158Sun May 22 21:29:29 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
3159
3160	* include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255.
3161	  Now __APPLE__ is not CASEFOLD_FILESYSTEM again.
3162
3163	* load.c (loaded_feature_path, rb_feature_p, load_lock): Revert r30508.
3164	  See #4255. Make $LOADED_FEATURES scanning case-sensitive again.
3165
3166Sun May 22 18:59:27 2011  Hiroshi Nakamura  <nahi@ruby-lang.org>
3167
3168	* ext/openssl/ossl_asn1.c(ossl_asn1_default_tag): avoid using RCLASS_SUPER
3169	  to make it compilable. Plus, tabify and change variable definition style.
3170
3171Sun May 22 18:26:43 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3172
3173	* gc.c (vm_xcalloc): use calloc provided by platforms.
3174	  fixes #4754
3175
3176Sun May 22 11:44:53 2011  Eric Hodel  <drbrain@segment7.net>
3177
3178	* ext/pty/pty.c:  Improve documentation.  Patch by David Copeland.
3179	  [Ruby 1.9 - Bug #4756]
3180
3181Sun May 22 11:26:39 2011  Eric Hodel  <drbrain@segment7.net>
3182
3183	* lib/timeout.rb:  Improve documentation.  Patch by David Copeland.
3184	  [Ruby 1.9 - Bug #4755]
3185
3186Sun May 22 11:21:41 2011  Eric Hodel  <drbrain@segment7.net>
3187
3188	* lib/ipaddr.rb:  Improve documentation.  Patch by Sandor Szucs.
3189	  [Ruby 1.9 - Bug #4753]
3190
3191Sun May 22 11:14:40 2011  Eric Hodel  <drbrain@segment7.net>
3192
3193	* lib/forwardable.rb:  Document def_delegator.  Patch by Sandor Szucs.
3194	  [Ruby 1.9 - Bug #4752]
3195
3196Sun May 22 11:11:41 2011  Eric Hodel  <drbrain@segment7.net>
3197
3198	* lib/fileutils.rb:  Document block behavior of FileUtils.cd.  Patch by
3199	  Bil Kleb.  [Ruby 1.9 - Bug #4751]
3200
3201Sun May 22 11:07:47 2011  Eric Hodel  <drbrain@segment7.net>
3202
3203	* ext/curses/curses.c:  Complete documentation.  Patch by Vincent
3204	  Batts.  [Ruby 1.9 - Bug #4748]
3205
3206Sun May 22 09:29:43 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3207
3208	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
3209	  use spawn. it prevent that other tests inherit renamed $0.
3210
3211Sun May 22 08:57:13 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3212
3213	* ext/openssl/ossl_asn1.c: Default tag lookup in constant time via hash
3214	  instead of previous linear algorithm.
3215	  [Ruby 1.9 - Feature #4309][ruby-core:34813]
3216
3217Sun May 22 07:54:16 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3218
3219	* ext/openssl/ossl_digest.c: Explain DSS and DSS1 in documentation.
3220
3221Sun May 22 07:10:25 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3222
3223	* test/openssl/test_pkey_dsa.rb: Add tests for sign/verify.
3224
3225Sun May 22 06:07:17 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3226
3227	* test/openssl/test_x509cert.rb: Merge DSA-related tests from ruby_1_8
3228	  branch.
3229
3230Sun May 22 04:11:12 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3231
3232	* thread.c (Init_Thread): add a code comment why the meaningless
3233	  line is necessary.
3234
3235Sun May 22 01:35:12 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3236
3237	* ext/date/date_core.c: modified documentation.
3238
3239Sat May 21 22:46:26 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3240
3241	* ext/date/date_strftime(date_strftime_with_tmx): "%v" means "%e-%b-%Y".
3242
3243Sat May 21 22:14:35 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3244
3245	* io.c (rb_io_extract_modeenc): accept combination hash and
3246	  File::Constants. (eg. File.open('yo', :mode => File::WRONLY))
3247	  [Feature #4742][ruby-core:36338]
3248	* test/ruby/test_io.rb (TestIO#test_open_mode): new test.
3249
3250Sat May 21 21:44:14 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3251
3252	* test/date/test_switch_hitter.rb: new.
3253
3254Sat May 21 21:18:29 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3255
3256	* ext/date/date_{core,parse}.c: moved nearly all core code from ext/date/lib.
3257	* ext/date/lib/{date,date/format}.rb: removed nearly all code.
3258
3259Sat May 21 02:58:46 2011  Eric Hodel  <drbrain@segment7.net>
3260
3261	* ext/.document:  Add curses to documented extensions.
3262	* ext/curses/curses.c:  Improve documentation.  Patch by Vincent Batts.
3263	  [Ruby 1.9 - Bug #4747]
3264
3265Sat May 21 02:51:01 2011  Eric Hodel  <drbrain@segment7.net>
3266
3267	* ext/bigdecimal/lib/bigdecimal/util.rb:  Improve documentation.  Patch
3268	  by Pete Higgins.  [Ruby 1.9 - Bug #4746]
3269
3270Sat May 21 02:44:10 2011  Eric Hodel  <drbrain@segment7.net>
3271
3272	* ext/bigdecimal/lib/bigdecimal/jacobian.rb:  Document isEqual.  Patch
3273	  by Kuba Fietkiewicz.  [Ruby 1.9 - Bug #4744]
3274
3275Sat May 21 02:22:34 2011  Eric Hodel  <drbrain@segment7.net>
3276
3277	* ext/date/lib/date/format.rb:  Document date formats.  Patch by
3278	  Clinton Nixon.  [Ruby 1.9 - Bug #4743]
3279
3280Fri May 20 05:15:19 2011  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3281
3282	* gc.c: Fix build on m68k by 'error: too few arguments to
3283	  function 'mark_locations_array''.
3284
3285Fri May 20 04:23:42 2011  Eric Hodel  <drbrain@segment7.net>
3286
3287	* lib/scanf.rb:  Improve documentation.  Patch by Gabe McArthur.
3288	  [Ruby 1.9 - Bug #4735]
3289
3290Fri May 20 00:58:01 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3291
3292	* enc/trans/ibm737-tbl.rb: greek code page.  fixes #4738
3293
3294Thu May 19 14:44:05 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
3295
3296	* test/ruby/test_signal.rb (test_signal_requiring): skip on Windows.
3297	  we can send SIGINT only to pid 0 and the process itself.
3298
3299Thu May 19 09:07:08 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3300
3301	* lib: revert r31635-r31638 and untabify with expand(1).
3302
3303Thu May 19 07:47:26 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3304
3305	* test/openssl/test_pkey_rsa.rb: Add tests for sign/verify.
3306
3307Thu May 19 07:19:16 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3308
3309	* ext/openssl/ossl_pkey.c: Add documentation.
3310
3311Thu May 19 07:06:56 2011  Eric Hodel  <drbrain@segment7.net>
3312
3313	* lib/benchmark.rb:  Fix indentation.
3314	* lib/net/imap.rb:  Fix indentation of regular expressions.
3315
3316Thu May 19 06:36:11 2011  Eric Hodel  <drbrain@segment7.net>
3317
3318	* lib/net/imap.rb:  Fix indentation of EOF for heredoc.
3319	* lib/debug.rb (Commands):  Fix indentation of EOHELP for heredoc.
3320
3321Thu May 19 06:30:38 2011  Eric Hodel  <drbrain@segment7.net>
3322
3323	* lib/mkmf.rb:  Fix indentation of EOM for heredoc.
3324
3325Thu May 19 06:16:41 2011  Eric Hodel  <drbrain@segment7.net>
3326
3327	* lib:  Convert tabs to spaces for ruby files per
3328	  http://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
3329	  Patch by Steve Klabnik [Ruby 1.9 - Bug #4730]
3330	  Patch by Jason Dew [Ruby 1.9 - Feature #4718]
3331
3332Thu May 19 06:06:07 2011  Eric Hodel  <drbrain@segment7.net>
3333
3334	* lib/cgi/util.rb:  Improve documentation.  Patch by Clinton Nixon.
3335	  [Ruby 1.9 - Bug #4733]
3336	* lib/cgi/core.rb:  ditto
3337	* lib/cgi/cookie.rb:  ditto
3338
3339Thu May 19 06:02:21 2011  Eric Hodel  <drbrain@segment7.net>
3340
3341	* lib/tempfile.rb:  Document Dir.mkdir and Dir.rmdir.  Patch by Clinton
3342	  Nixon.  [Ruby 1.9 - Bug #4728]
3343
3344Thu May 19 05:57:52 2011  Eric Hodel  <drbrain@segment7.net>
3345
3346	* encoding.c:  Improve documentation for Encoding#default_external and
3347	  Encoding#default_internal.
3348
3349Wed May 18 22:45:26 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3350
3351	* ext/io/console/lib/console/size.rb (IO#console_size): new
3352	  method.  (EXPERIMENTAL)
3353
3354Wed May 18 22:41:51 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3355
3356	* internal.h: add for internal use only.
3357
3358Wed May 18 22:36:43 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3359
3360	* eval.c (setup_exception): internal exception should be hidden
3361
3362Wed May 18 20:25:04 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3363
3364	* lib/timeout.rb (Timeout#timeout): don't leak "execution expired"
3365	  exception. [Bug #4283] [ruby-core:34534].
3366
3367Wed May 18 06:09:24 2011  Eric Hodel  <drbrain@segment7.net>
3368
3369	* lib/cmath.rb:  Add some examples and improve documentation.  Patch by
3370	  Sandor Szucs.  [Ruby 1.9 - Bug #4727]
3371
3372Wed May 18 05:40:31 2011  Eric Hodel  <drbrain@segment7.net>
3373
3374	* lib/benchmark.rb:  Remove nodoc from Benchmark::Job and
3375	  Benchmark::Report.  Patch by Sandor Szucs.  [Ruby 1.9 - Bug #4726]
3376
3377Wed May 18 05:29:26 2011  Eric Hodel  <drbrain@segment7.net>
3378
3379	* lib/webrick/compat.rb:  Improve documentation.  Patch by Sandor
3380	  Szucs.  [Ruby 1.9 - Bug #4725]
3381
3382Wed May 18 05:10:35 2011  Eric Hodel  <drbrain@segment7.net>
3383
3384	* lib/tracer.rb:  Improve documentation.  Patch by Richard Ramsden.
3385	  [Ruby 1.9 - Feature #4720]
3386
3387Wed May 18 04:53:41 2011  Eric Hodel  <drbrain@segment7.net>
3388
3389	* lib/cmath.rb:  Improve documentation.  Patch by Jason Dew.
3390	  [Ruby 1.9 - Feature #4717]
3391
3392Wed May 18 04:50:24 2011  Eric Hodel  <drbrain@segment7.net>
3393
3394	* lib/net/ftp.rb:  Improve documentation.  Patch by Vincent Batts.
3395	  [Ruby 1.9 - Bug #4710]
3396
3397Wed May 18 03:14:49 2011  Eric Hodel  <drbrain@segment7.net>
3398
3399	* test/test_singleton.rb:  Add tests from lib/singleton.rb.  Patch by
3400	  Pete Higgins.  [Ruby 1.9 - Bug #4715]
3401
3402Wed May 18 03:03:07 2011  Eric Hodel  <drbrain@segment7.net>
3403
3404	* lib/singleton.rb:  Improve documentation.  Patch by Pete Higgins.
3405	  [Ruby 1.9 - Bug #4709]
3406
3407Tue May 17 21:24:04 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3408
3409	* thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.
3410	  It's meaningless because lock_interrupt doesn't call
3411	  add_signal_thread_list().
3412
3413Tue May 17 20:20:49 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3414
3415	* vm_core.h (rb_thread_struct): add volatile to
3416	  transition_for_lock because it is not protected by lock.
3417
3418Tue May 17 20:08:53 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
3419
3420	* LEGAL (missing/{elf,tgamma,lgamma_r}.c): they've been replaced by
3421	  public domain implementations.
3422
3423	* LEGAL (vsnprintf.c): it has moved to srcdir from missing/.
3424
3425	* LEGAL (missing/crypt.c): list its original license.
3426
3427Tue May 17 19:54:26 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3428
3429	* LEGAL (configure): add missing/setproctitle.c
3430
3431Tue May 17 19:35:01 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3432	Fix FreeBSD test failure.
3433
3434	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
3435	  use ps -o command instead of ps -o cmd. FreeBSD doesn't support
3436	  -o cmd option.
3437
3438Tue May 17 08:04:26 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3439
3440	* ext/openssl/ossl_digest.c: Add documentation.
3441
3442Tue May 17 07:14:58 2011  Eric Hodel  <drbrain@segment7.net>
3443
3444	* lib/net/http.rb:  Improve documentation of proxy configuration
3445	  methods.  Patch by Alf Mikula.  [Ruby 1.9 - Bug #4714]
3446
3447Tue May 17 07:09:01 2011  Eric Hodel  <drbrain@segment7.net>
3448
3449	* lib/net/pop.rb:  Improve documentation.  Patch by Vincent Batts.
3450	  [Ruby 1.9 - Bug #4711]
3451	* lib/net/telnet.rb:  ditto
3452
3453Tue May 17 07:00:41 2011  Eric Hodel  <drbrain@segment7.net>
3454
3455	* lib/net/http.rb:  Fix nodoc for Net::HTTP::version_1_1?.  Patch by
3456	  Alf Mikula.  [Ruby 1.9 - Bug #4713]
3457
3458Tue May 17 06:56:26 2011  Eric Hodel  <drbrain@segment7.net>
3459
3460	* lib/optparse.rb:  Add link to make_switch to improve documentation.
3461	  Patch by David Copeland.  [Ruby 1.9 - Bug #4708]
3462
3463Tue May 17 06:50:40 2011  Eric Hodel  <drbrain@segment7.net>
3464
3465	* lib/observer.rb:  Improve documentation.  Patch by David Copeland.
3466	  [Ruby 1.9 - Bug #4707]
3467
3468Tue May 17 06:42:53 2011  Eric Hodel  <drbrain@segment7.net>
3469
3470	* lib/logger.rb:  Improve documentation.  Patch by David Copeland.
3471	  [Ruby 1.9 - Bug #4706]
3472
3473Tue May 17 06:28:14 2011  Eric Hodel  <drbrain@segment7.net>
3474
3475	* lib/gserver.rb:  Improve documentation.  Patch by David Copeland.
3476	  [Ruby 1.9 - Bug #4705]
3477
3478Tue May 17 06:21:15 2011  Eric Hodel  <drbrain@segment7.net>
3479
3480	* lib/cgi.rb: Add toplevel documentation to class CGI
3481	* lib/cgi/session.rb: Add overview documentation to CGI::Cookie
3482	* lib/cgi/html.rb:  Don't add CGI::TagMaker documentation to CGI.
3483	  Patch by David Copeland.  [Ruby 1.9 - Bug #4704]
3484	* lib/cgi/core.rb:  Clean up CGI documentation.  Patch by David
3485	  Copeland.  [Ruby 1.9 - Bug #4704]
3486	* lib/cgi/cookie.rb:  Clean up CGI::Cookie documentation.  Patch by
3487	  David Copeland.  [Ruby 1.9 - Bug #4704]
3488
3489Tue May 17 05:52:30 2011  Eric Hodel  <drbrain@segment7.net>
3490
3491	* ext/digest: Improve documentation of Digest, Digest::HMAC and
3492	  Digest::SHA2.  Patch by Pete Higgins.  [Ruby 1.9 - Bug #4702]
3493
3494Tue May 17 03:51:42 2011  Eric Hodel  <drbrain@segment7.net>
3495
3496	* lib/abbrev.rb:  Hide copyright and revision information from RDoc.
3497	  Inspired by patch from David Copeland, bug #4703.
3498
3499Tue May 17 03:33:21 2011  Eric Hodel  <drbrain@segment7.net>
3500
3501	* lib/timeout.rb (module Timeout):  Hide internal constants.  Patch by
3502	  Pete Higgins.  [Ruby 1.9 - Bug #4701]
3503
3504Mon May 16 11:21:09 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
3505
3506	* configure.in, win32/Makefile.sub (RUBY_SO_NAME): add CPU as prefix
3507	  of RUBY_SO_NAME on x64/ia64 mswin/mingw.
3508	  [Feature #4602]
3509
3510Mon May 16 08:00:05 2011  Eric Hodel  <drbrain@segment7.net>
3511
3512	* lib/rdoc.rb:  Update to RDoc 3.6.1, allows OpenSSL::Digest to be
3513	  found.
3514
3515Mon May 16 05:49:54 2011  Eric Hodel  <drbrain@segment7.net>
3516
3517	* lib/drb/acl.rb:  Add documentation.
3518
3519Mon May 16 05:13:20 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3520
3521	* ext/openssl/ossl_asn1.c: Add documentation.
3522
3523Mon May 16 00:32:05 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3524
3525	* test/ruby/test_signal.rb (TestSignal#test_signal_process_group):
3526	  skip if the platform doesn't have :pgroup capability. (i.e. skip
3527	  if mswin32)
3528
3529Sun May 15 23:53:31 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3530
3531	* include/ruby/intern.h: resurrect old rb_fd_copy().
3532	* thread.c (rb_fd_copy): ditto.
3533
3534Sun May 15 23:45:11 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3535
3536	* include/ruby/intern.h: remove rb_fd_copy() to rb_fd_dup() and
3537	  rb_w32_fdcopy() to rb_w32_fd_dup().
3538	* win32/win32.c: ditto.
3539	* thread.c: ditto.
3540
3541Sun May 15 22:26:39 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
3542
3543	* signal.c (rb_f_kill): accept '-SIGXXX' style signal with Symbol or
3544	  implicit convertion with #to_str. [ruby-dev:43169] fixes #4362
3545	* test/ruby/test_signal.rb (test_signal_process_group): add a test
3546	  for send signal to process group.
3547
3548Sun May 15 21:22:35 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
3549
3550	* cont.c (cont_init): clear macihne_stack_start/end of saved thread to
3551	  prevent mark machine stack of GC'ed Thread. root Fiber is not
3552	  initialized by fiber_init().
3553	  based on a patch by Serge Balyuk [ruby-core:35891] fixes #4612
3554	* test/ruby/test_fiber.rb (test_gc_root_fiber): add test for it.
3555
3556Sun May 15 21:04:29 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3557
3558	* transcode.c (econv_init): revert r31353.  [ruby-dev:43512]
3559
3560Sun May 15 03:39:35 2011  Eric Hodel  <drbrain@segment7.net>
3561
3562	* ext/zlib/zlib.c:  Improve documentation.  Patch by Vincent Batts.
3563	  [Ruby 1.9 - Bug #4695]
3564
3565Sun May 15 03:23:46 2011  Eric Hodel  <drbrain@segment7.net>
3566
3567	* lib/erb.rb:  Document ERB::Compiler.  Patch by Simon Chiang.
3568	  [Ruby 1.9 - Bug #4694]
3569
3570Sun May 15 00:58:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3571	fix mswin32 build error.
3572
3573	* missing/setproctitle.c: add #ifdef HAVE_UNISTD_H.
3574	* win32/Makefile.sub (MISSING): add setproctitle.obj
3575
3576Sat May 14 22:45:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3577
3578	* missing/setproctitle.c: add to include "ruby/util.h".
3579
3580Sat May 14 19:52:22 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3581
3582	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
3583	  add for $0 test.
3584
3585Sat May 14 19:50:46 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3586
3587	* missing/setproctitle.c (compat_init_setproctitle): use
3588	  ruby_strdup() instead of strdup().
3589
3590Sat May 14 19:37:31 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3591
3592	* include/ruby/missing.h: add setproctitle() declaration.
3593	* missing/setproctitle.c: added.
3594	* configure.in: add check for missing/setproctitle.c.
3595
3596	* ruby.c (ruby_process_options): add to call compat_init_setproctitle().
3597	* ruby.c (set_arg0): remove all platform specific code. it's
3598	  moved to missing/setproctitle.c.
3599	* ruby.c (origarg): remove len field. It's no longer used.
3600	* ruby.c (get_arglen): removed.
3601
3602	This patch makes a lot of cleanup set_arg0 related code and fixes
3603	[Feature #4689].
3604
3605Sat May 14 17:42:21 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
3606
3607	* process.c (rb_proc_times): improve documentation.
3608	  [ruby-core:35785] fixes #4581, reported by Andrew Grimm.
3609
3610Sat May 14 12:12:54 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3611
3612	* test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
3613	  ensure new public key PEM encoding behavior and ensure backward
3614	  compatibility.
3615	  [Ruby 1.9 - Bug #4422] [ruby-core:35328]
3616	* test/openssl/test_pkey_rsa.rb: Remove line with 'puts'.
3617
3618Sat May 14 12:06:49 2011  Eric Hodel  <drbrain@segment7.net>
3619
3620	* lib/rdoc/context.rb (class RDoc):  Fix infinite loop caused by
3621	  re-encountering BasicObject.
3622
3623Sat May 14 10:32:36 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3624
3625	* test/openssl/test_pkey_rsa.rb: Add tests that ensure new public key
3626	  encoding behavior and also ensure backward compatibility.
3627	  [Ruby 1.9 - Bug #4421] [ruby-core:35327]
3628
3629Sat May 14 09:50:10 2011  Eric Hodel  <drbrain@segment7.net>
3630
3631	* lib/yaml/dbm.rb:  Add documentation.  Patch by Justin Collins.
3632	  [Ruby 1.9 - Bug #4693]
3633	* lib/yaml/store.rb:  ditto
3634
3635Sat May 14 09:31:43 2011  Eric Hodel  <drbrain@segment7.net>
3636
3637	* lib/rdoc.rb: Updated to RDoc 3.6
3638
3639Sat May 14 07:30:29 2011  Aaron Patterson <aaron@tenderlovemaking.com>
3640
3641	* ext/psych/lib/psych.rb: released a new gem, so increasing version.
3642
3643Sat May 14 05:08:32 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3644
3645	* ext/openssl/ossl_digest.c
3646	* ext/openssl/ossl_pkey.c
3647	* ext/openssl/ossl_pkey.h
3648	* test/openssl/pkey/test_pkey_rsa.rb
3649	  Reverted premature commit. Sorry for the noise!
3650
3651Sat May 14 05:02:58 2011  Eric Hodel  <drbrain@segment7.net>
3652
3653	* lib/uri.rb:  Add toplevel documentation.  Patch by Vincent Batts.
3654	  [Ruby 1.9 - Bug #4690]
3655
3656Sat May 14 04:19:06 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3657
3658	* NEWS: Describe altered behaviour for RSA and DSA public key
3659	  encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
3660	  [ruby-core:35327,35328]
3661
3662Sat May 14 02:57:52 2011  Eric Hodel  <drbrain@segment7.net>
3663
3664	* lib/ipaddr.rb (unless Socket):  Document valid*? methods.  Patch by
3665	  Sebastian Martinez.  [Ruby 1.9 - Feature #4687]
3666
3667Sat May 14 02:54:04 2011  Eric Hodel  <drbrain@segment7.net>
3668
3669	* lib/rexml/functions.rb:  Add some documentation for REXML::Functions.
3670	  Patch by Sebastian Martinez.  [Ruby 1.9 - Feature #4688]
3671
3672Sat May 14 02:51:42 2011  Eric Hodel  <drbrain@segment7.net>
3673
3674	* lib/resolv.rb:  Hide private method and state-tracking constants from
3675	  RDoc.  Patch by Mark Turner.  [Ruby 1.9 - Feature #4691]
3676
3677Fri May 13 19:23:21 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>
3678
3679	* numeric.c (flo_coerce): Add #flo_coerce documentation.
3680	  Patch by Sebastian Martinez.
3681	  https://github.com/ruby/ruby/pull/21
3682
3683Fri May 13 18:42:22 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>
3684
3685	* README.EXT: fix typo.  Patch by William Blackerby.
3686	  https://github.com/ruby/ruby/pull/19
3687
3688	* README.EXT.ja: ditto.
3689
3690Fri May 13 15:22:34 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
3691
3692	* win32/win32.c (rb_w32_select): check invalid handle before doing
3693	  select operations.  see [ruby-dev:43513], [ruby-dev:43535]
3694
3695Fri May 13 08:34:00 2011  Eric Hodel  <drbrain@segment7.net>
3696
3697	* lib/rdoc/rdoc.rb:  Output summary after documentation report.
3698	* lib/rdoc/stats/normal.rb:  Don't output information for users when
3699	  we're not on a TTY
3700
3701Fri May 13 07:49:02 2011  Eric Hodel  <drbrain@segment7.net>
3702
3703	* lib/fileutils.rb:  Hide internal methods from RDoc.  Patch by Darragh
3704	  Curran.  [Ruby 1.9 - Bug #4684]
3705
3706Fri May 13 07:36:23 2011  Eric Hodel  <drbrain@segment7.net>
3707
3708	* lib/webrick/httpservlet/erbhandler.rb:  Add documentation.
3709
3710Fri May 13 07:04:33 2011  Eric Hodel  <drbrain@segment7.net>
3711
3712	* lib/mathn.rb:  Fix indentation.  Patch by Jason Dew.
3713	  [Ruby 1.9 - Feature #4682]
3714
3715Fri May 13 06:50:43 2011  Eric Hodel  <drbrain@segment7.net>
3716
3717	* lib/mathn.rb:  Add documentation.  Patch by Jason Dew.  [Ruby 1.9 -
3718	  Feature #4667]
3719
3720Fri May 13 05:44:19 2011  Eric Hodel  <drbrain@segment7.net>
3721
3722	* lib/logger.rb (class Logger):  Document Logger#datetime_format.
3723	  Patch by Sergio Gil Perez de la Manga.  [Ruby 1.9 - Bug #4678]
3724
3725Fri May 13 05:39:11 2011  Eric Hodel <drbrain@segment7.net>
3726
3727	* re.c (Init_Regexp): Document option constants.  Patch by Vincent
3728	  Batts.  [Ruby 1.9 - Bug #4677]
3729	* lib/uri/common.rb (module URI):  Documentation for URI.  Patch by
3730	  Vincent Batts.  [Ruby 1.9- Bug #4677]
3731	* lib/uri/ftp.rb (module URI):  ditto
3732	* lib/uri/generic.rb (module URI):  ditto
3733	* lib/uri/http.rb (module URI):  ditto
3734	* lib/uri/https.rb (module URI):  ditto
3735	* lib/uri/ldap.rb (module URI):  ditto
3736	* lib/uri/ldaps.rb (module URI):  ditto
3737	* lib/uri/mailto.rb (module URI):  ditto
3738	* process.c (Init_process):  Document Process constants.  Patch by
3739	  Vincent Batts.  [Ruby 1.9- Bug #4677]
3740
3741Fri May 13 05:16:38 2011  Eric Hodel  <drbrain@segment7.net>
3742
3743	* lib/rss/atom.rb (module RSS):  Document URIs.  Patch by Mark Turner.
3744	  [Ruby 1.9 - #4671]
3745	* lib/rss/rss.rb (module RSS):  Document exception classes.  Patch by
3746	  Mark Turner.  [Ruby 1.9 - #4671]
3747
3748Fri May 13 02:15:18 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3749
3750	* io.c (select_internal): remove unused variable (interrupt_flag).
3751
3752Thu May 12 18:24:34 2011  Kouhei Sutou  <kou@clear-code.com>
3753
3754	* configure.in: limit to "T" type for prefix of external symbols
3755	  because x86_64-w64-mingw32-gcc on Debian GNU/Linux generates the
3756	  following symbol:
3757	    0000000068483390 D _GLOBAL__F__conftest_external
3758
3759	  Approved by nobu.
3760
3761Thu May 12 14:50:52 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
3762
3763	* test/dl/test_base.rb (Fiddle::LIBC_SO): its always msvc*.dll on
3764	  mswin/mingw.
3765
3766Thu May 12 14:47:53 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
3767
3768	* lib/mkmf.rb (Logging.postpone): copy only when temporary logfile
3769	  exists.
3770
3771Thu May 12 12:24:22 2011  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3772
3773	* ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is
3774	  executed.
3775	  However, the problem is not revised in this.
3776	  This adds the control of using function of SSLv2 in made macro by
3777	  function check.
3778
3779Thu May 12 08:10:46 2011  Eric Hodel  <drbrain@segment7.net>
3780
3781	* lib/set.rb (class Set):  Add nodoc to internal-use methods.  Patch
3782	  by Pete Higgins.  [Ruby 1.9 - Bug #4665]
3783
3784Thu May 12 08:01:14 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3785
3786	* ext/openssl/ossl_pkey_ec.c: Allow encryption when PEM-encoding
3787	  Elliptic Curve private keys.
3788	  [ruby-core:35329] [Bug #4423]
3789
3790Thu May 12 07:54:59 2011  Eric Hodel  <drbrain@segment7.net>
3791
3792	* object.c (rb_obj_equal):  Add documentation.  Patch by Vincent Batts.
3793	  [Ruby 1.9 - Bug #4664]
3794	* lib/rexml:  ditto
3795	* lib/mkmf.rb:  ditto
3796	* ext/socket/lib/socket.rb:  ditto
3797
3798Thu May 12 07:30:08 2011  Eric Hodel  <drbrain@segment7.net>
3799
3800	* Various .document files: Update .document files to match files which
3801	  have documentation.
3802
3803Thu May 12 07:18:45 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3804
3805	* ext/openssl/ossl_pkey_dsa.c: Use generic X.509 SubjectPublicKeyInfo
3806	  format for PEM-encoding DSA public keys.
3807	  [ruby-core:35328] [Bug #4422]
3808
3809Thu May 12 06:27:31 2011  Martin Bosslet  <Martin.Bosslet@googlemail.com>
3810
3811	* ext/openssl/ossl_pkey_rsa.c: Use generic X.509 SubjectPublicKeyInfo
3812	  format for encoding RSA public keys.
3813	  [ruby-core:35327] [Bug #4421]
3814
3815Wed May 11 19:45:27 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
3816
3817	* lib/forwardable.rb: support 'delegate :foo => :bar' for to meet
3818	  by specification of RDOC.
3819
3820Wed May 11 08:36:38 2011  Eric Hodel  <drbrain@segment7.net>
3821
3822	* lib/webrick: Add documentation for WEBrick::HTTPAuth
3823
3824Wed May 11 03:06:35 2011  Eric Hodel  <drbrain@segment7.net>
3825
3826	* lib/rss.rb: Add documentation for RSS.  Patch by Steve Klabnik.
3827	  [Ruby 1.9 - Bug #4663]
3828
3829Tue May 10 14:50:32 2011  Shota Fukumori  <sorah@tubusu.net>
3830
3831	* lib/test/unit.rb: Add option for hiding skip messages when test
3832	  ends. #4657
3833
3834	* test/testunit/test_hideskip.rb, test/testunit/test4test_hideskip.rb:
3835	  test for above.
3836
3837Tue May 10 10:53:04 2011  Eric Hodel  <drbrain@segment7.net>
3838
3839	* common.mk (rdoc): Add rdoc-coverage rule
3840
3841Tue May 10 09:13:21 2011  Eric Hodel  <drbrain@segment7.net>
3842
3843	* lib/webrick: Add Documentation
3844
3845Tue May 10 04:22:09  Eric Hodel  <drbrain@segment7.net>
3846
3847	* lib/webrick/log.rb: Hide copyright info from ri
3848	* lib/webrick/httpstatus.rb: ditto
3849	* lib/webrick/htmlutils.rb: ditto
3850	* lib/webrick/httpversion.rb: ditto
3851	* lib/webrick/version.rb: ditto
3852	* lib/webrick/httpauth/userdb.rb: ditto
3853	* lib/webrick/httpauth/authenticator.rb: ditto
3854	* lib/webrick/accesslog.rb: ditto
3855
3856Mon May  9 20:57:13 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3857
3858	* test/ruby/test_{complex,rational}.rb: added tests.
3859
3860Mon May  9 20:29:44 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3861
3862	* complex.c (string_to_c_internal): a refactoring.
3863
3864Mon May  9 18:33:05 2011  NARUSE, Yui  <naruse@ruby-lang.org>
3865
3866	* string.c: Improve documentation for String#start_with? and
3867	  String#end_with?. fixes #4652
3868	  patched by Andrew Grimm <andrew.j.grimm at gmail.com>
3869
3870Mon May  9 13:49:00 2011  Kenta Murata  <mrkn@mrkn.jp>
3871
3872	* complex.c (string_to_c_internal): support scientific notation.
3873	  patched by Tinco Andringa. https://github.com/ruby/ruby/pull/16
3874	  [ruby-core:36046][Bug #4655]
3875
3876Mon May  9 11:52:48 2011  NARUSE, Yui  <naruse@ruby-lang.org>
3877
3878	* numeric.c (int_ord): remove K&R style.
3879	  patched by Daehyub Kim. https://github.com/ruby/ruby/pull/17
3880
3881Sun May  8 22:17:24 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3882
3883	* test/ruby/test_{complex2,complexrational}.rb: use skip.
3884	* test/date/*.rb: ditto.
3885
3886Sun May  8 21:02:31 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3887
3888	* test/ruby/test_{complex2,complexrational}.rb: NEVER SKIP.
3889
3890Sun May  8 21:01:21 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3891
3892	* test/date/test_date_base.rb: fixed.
3893
3894Sun May  8 20:54:11 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3895
3896	* test/date/*.rb: NEVER SKIP.
3897
3898Sun May  8 20:37:33 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3899
3900	* test/date/*.rb: reverted 31432.
3901
3902Sun May  8 20:32:43 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3903
3904	* test/date/*.rb: reverted 31483.
3905
3906Sun May  8 19:39:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3907
3908	* thread_pthread.c (native_cond_timedwait): add to care EINTR.
3909	* thread_pthread.c (thread_timer): remove EINTR check.
3910
3911Sun May  8 19:04:15 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3912
3913	* lib/time.rb (xmlschema): avoid passing any negative numbers.
3914
3915Sun May  8 18:40:03 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3916
3917	* ext/date/date_{parse,strptime}.c: introduced some macros.
3918
3919Sun May  8 17:17:13 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3920
3921	* test/date/*.rb: use skip /w messages.
3922
3923Sun May  8 17:04:55 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3924
3925	* ext/date/lib/date/format.rb (_httpdate): omitted to call zone_to_diff.
3926
3927Sun May  8 16:56:19 2011  Tadayoshi Funaba  <tadf@dotrb.org>
3928
3929	* ext/date/date_core.c (date_s_test_*): use macros.
3930
3931Sun May  8 10:24:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3932
3933	* thread_pthread.c: cleanup signal_thread_list related ifdef.
3934	  1) we don't have to use #ifdef FOO-PLATFORM directly 2) About
3935	  half #ifdef didn't care symbian properly.
3936
3937Sun May  8 05:19:37 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3938
3939	* test/io/wait/test_io_wait.rb: Linux socketpair(2) only support
3940	  AF_UNIX, but windows socketpair doesn't support it. we can't
3941	  avoid platform check. sigh!
3942
3943Sun May  8 00:13:05 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3944
3945	* test/io/wait/test_io_wait.rb: use Socket.pair instead of pipe.
3946	  Windows can only treat a socket.
3947
3948Sat May  7 22:43:48 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3949
3950	* thread.c (rb_fd_zero): remove redundant zero fill.
3951
3952Sat May  7 22:38:04 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3953
3954	* thread.c (rb_fd_init): remove volatile qualifier.
3955
3956Sat May  7 22:34:29 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3957
3958	* thread.c (rb_fd_init_copy): new internal api. It provide efficient
3959	  copy constructor semantics.
3960	* thread.c (do_select): use rb_fd_init_copy().
3961
3962Sat May  7 15:18:06 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3963	fix incorrect native_cond_signal call when deadlock was detected.
3964
3965	* thread.c (lock_func): decrement cond_waiting if timeout was happen.
3966
3967Sat May  7 18:28:37 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3968
3969	* thread_pthread.c (USE_MONOTONIC_COND): check the availability
3970	  more strictly.
3971
3972	* thread_pthread.h (rb_thread_cond_t): ditto.
3973
3974Sat May  7 15:15:10 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3975
3976	fix win32 native_cond_timedwait() makes SIGSEGV.
3977
3978	* thread_win32.h (rb_thread_cond_struct): add prev field instead of
3979	  last. (ie cond_event_entry is now using double linked list instead of
3980	  single)
3981	* thread_win32.c (cond_event_entry): add prev field.
3982
3983	* thread_win32.c (__cond_timedwait): remove entry properly if timeout
3984	  was happen.
3985
3986	* thread_win32.c (native_cond_signal): change for double linked list.
3987	* thread_win32.c (native_cond_broadcast): ditto.
3988	* thread_win32.c (native_cond_initialize): ditto.
3989
3990Sat May  7 12:41:04 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3991	fix mutex deadlock test hang-up.
3992
3993	* thread_win32.c (abs_timespec_to_timeout_ms): fix 1000x calculation
3994	  mistake. (ie fix hang-up native_cond_timedwait())
3995
3996Sat May  7 03:14:13 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
3997
3998	sleep_cond use monotonic time if possible.
3999
4000	* thread_pthread.c (native_thread_init): change sleep_cond
4001	  attribute to monotonic.
4002	* thread_pthread.c (native_sleep): use native_cond_timeout().
4003
4004	* thread_pthread.c (native_cond_timeout): add overflow care.
4005	* thread_win32.c (native_cond_timeout): ditto.
4006
4007Sat May  7 02:49:12 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4008	  fix win32 compile error.
4009
4010	* thread_win32.c (RB_CONDATTR_CLOCK_MONOTONIC): define
4011	  RB_CONDATTR_CLOCK_MONOTONIC always.
4012	* thread_pthread.c (RB_CONDATTR_CLOCK_MONOTONIC): ditto.
4013
4014Sat May  7 02:29:41 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4015
4016	  mutex: deadlock check timeout use monotonic time.
4017
4018	* thread_pthread.c (native_cond_timeout): new internal api.
4019	  it calculate a proper time for argument of native_cond_timedwait().
4020	* thread_win32.c (native_cond_timeout): ditto.
4021
4022	* thread_pthread.c (thread_timer): use native_cond_timeout()
4023	  instead of get_ts.
4024	* thread.c (lock_func): ditto.
4025
4026	* thread_pthread.c (get_ts): removed. use native_cond_timeout().
4027	* thread.c (init_lock_timeout): ditto.
4028
4029Sat May  7 01:54:21 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4030
4031	* thread_pthread.c (get_ts): add monotonic clock capability.
4032	* thread_pthread.c (rb_thread_create_timer_thread): use monotonic
4033	  clock if possible.
4034
4035Sat May  7 01:43:37 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4036
4037	* thread_pthread.h (rb_thread_cond_t): add clockid field. it's
4038	  no longer an alias of pthread_cond_t.
4039	* thread_pthread.c: adapt new rb_thread_cond_t type.
4040	* thread.c (mutex_alloc): ditto.
4041	* thread_win32.c (native_cond_initialize): ditto.
4042	* configure.in: add check for pthread_cond_attr_setclock() and
4043	  clockid_t type.
4044
4045Fri May  6 23:29:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4046
4047	* thread.c (rb_wait_for_single_fd): use ppoll() instead of poll()
4048	  if possible. based on a patch from Eric Wong. [ruby-core:36003].
4049
4050Fri May  6 23:13:43 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4051
4052	* configure.in: remove nanosleep check. we no longer use it.
4053	  r20124 removed last usage.
4054
4055Fri May  6 22:35:56 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4056
4057	* ext/syck/rubyext.c (mktime_do): extra digits are not used.
4058
4059Fri May  6 17:43:07 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4060
4061	* ext/syck/rubyext.c (mktime_do): remove unused variable offset.
4062
4063	* ext/syck/syck.h: use #ifdef instead of #if DEBUG.
4064
4065Fri May  6 16:27:33 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4066
4067	* ext/date/date_core.c (DAY_IN_NANOSECONDS): refix: 31438.
4068	  check with LONG_MAX and cast as long; without this the calculation
4069	  will be done as int and overflow.
4070
4071Fri May  6 15:01:11 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>
4072
4073	* ext/syck/rubyext.c (mktime_do): avoid buffer overrun, by
4074	  silently ignoring lesser significant digits.  Required buffer
4075	  length can be computable so you might at first think of
4076	  allocating enough memory space on the fly using alloca().  That
4077	  is a wrong idea because when using alloca there is always risk
4078	  of integer overflow.  A function that accepts outer-process
4079	  resources like this should not blindly trust its inputs.  In
4080	  this particular case we just want to generate milliseconds
4081	  resolution by strtod() so the string in question needs no more
4082	  length than what we originally have.  Ignoring lesser
4083	  significant digits should suffice I believe.
4084
4085Fri May  6 14:25:53 2011  Tinco Andringa <mail@tinco.nl>
4086
4087	* ext/syck/rubyext.c (mktime_do): YAML.load time correctly parse
4088	  usecs smaller than 1 fixes #4571
4089
4090Thu May  5 22:23:34 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4091
4092	* thread_pthread.c (native_mutex_reinitialize_atfork): removed
4093	  unused macro.
4094	* thread_win32.c (native_mutex_reinitialize_atfork): ditto.
4095
4096Thu May  5 22:09:39 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4097
4098	* ext/date/date_core.c (DAY_IN_NANOSECONDS): long long int is not
4099	  available on all platforms.
4100
4101Thu May  5 17:36:31 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
4102
4103	* eval.c (frame_func_id): store result of method_entry_of_iseq() to
4104	  cfp->me because method_entry_of_iseq() might become expensive.
4105
4106Thu May  5 15:03:51 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
4107
4108	* eval.c (frame_func_id): __method__ return different name from
4109	  methods defined by Module#define_method with a same block.
4110	  [ruby-core:35386] fixes #4606
4111	* eval.c (method_entry_of_iseq): new helper function. search control
4112	  frame stack for a method entry which has given iseq.
4113	* test/ruby/test_method.rb: add tests for #4606
4114
4115Wed May  4 22:13:09 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4116
4117	* benchmark/bm_vm4_pipe.rb: Reduced iterations. Too slow benchmark
4118	  is bad.
4119	* benchmark/bm_vm4_thread_pass.rb: ditto.
4120
4121Wed May  4 22:08:22 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4122
4123	* test/date/test_date_base.rb: don't use no message skip().
4124
4125Wed May  4 21:11:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4126
4127	* benchmark/bm_io_select2.rb: reduce number of using file
4128	  descriptors. because gdb need some fds.
4129
4130Wed May  4 19:00:59 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4131
4132	* thread.c (rb_wait_for_single_fd): Fix wrong return value.
4133	* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
4134	  (TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
4135
4136Wed May  4 18:46:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4137
4138	* ext/-test-/wait_for_single_fd: New. for testing
4139	  rb_wait_for_single_fd() internal function.
4140	  The patch was written by Eric Wong. [ruby-core:35991]
4141
4142	* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto.
4143
4144Wed May  4 12:46:25 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4145
4146	* thread.c (rb_wait_for_single_fd): Added POLLNVAL check.
4147	  based on a patch from Eric Wong at [ruby-core:35991].
4148
4149Wed May  4 11:51:01 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4150
4151	* io.c (rb_f_select): remove useless ifdef.
4152
4153Wed May  4 11:42:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4154
4155	* ext/socket/init.c (wait_connectable): fix error handling code.
4156	  RB_WAITFD_OUT is turned on even though an error occur.
4157
4158Wed May  4 10:12:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4159
4160	* ext/readline/readline.c (readline_event): use rb_wait_for_single_fd().
4161	The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
4162
4163Wed May  4 10:10:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4164
4165	* ext/socket/init.c (wait_connectable): use rb_wait_for_single_fd().
4166	  The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
4167
4168	* ext/socket/init.c (try_wait_connectable, wait_connectable_ensure):
4169	  removed.
4170
4171Wed May  4 10:07:48 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4172
4173	* ext/io/wait/wait.c (io_wait): use rb_wait_for_single_fd().
4174	  The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
4175
4176Wed May  4 10:01:27 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4177
4178	* thread.c (rb_wait_for_single_fd): new. poll(2) based backend for
4179	  rb_wait_for_single_fd().
4180	  Now only Linux uses it.
4181
4182	The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
4183
4184Wed May  4 09:56:57 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4185
4186	* thread.c (rb_wait_for_single_fd): new.
4187	* thread.c (select_single): select(2) based backend for
4188	  rb_wait_for_single_fd().
4189
4190	* io.c (make_writeconv): use rb_wait_for_single_fd() instead of
4191	  rb_thread_fd_select().
4192	* io.c (rb_io_wait_readable): ditto.
4193	* thread.c (rb_thread_wait_fd_rw): ditto.
4194
4195	* io.c (wait_readable): removed.
4196	* thread.c (init_set_fd): new helper function.
4197	* include/ruby/io.h (RB_WAITFD_IN, RB_WAITFD_PRI, RB_WAITFD_OUT):
4198	  new constant for rb_single_wait_fd().
4199
4200	The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531]
4201
4202Wed May  4 08:04:59 2011  Aaron Patterson <aaron@tenderlovemaking.com>
4203
4204	* ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that
4205	  Syck can load UTC times that Psych dumps.
4206
4207Wed May  4 07:33:00 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4208
4209	* thread.c (rb_fd_copy): fix wrong argument.This issue was pointed
4210	  out by Eric Wong. [ruby-core:35982]
4211
4212Tue May  3 20:29:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4213
4214	* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
4215	  Skip sticky bit test if the platform is FreeBSD. It doesn't allow to
4216	  change sticky bit if a target is regular file.
4217
4218Tue May  3 18:23:57 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
4219
4220	* test/date/test_date.rb (TestDate#test_coerce):
4221	  test for [ruby-core:35127].
4222
4223Tue May  3 04:27:53 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4224
4225	* thread.c (rb_thread_select): preserve errno if no error
4226	  occurred.
4227
4228Tue May  3 03:57:04 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4229
4230	* include/ruby/intern.h (rb_w32_fdcopy): add prototype.  fixes
4231	  #4640
4232
4233Mon May  2 01:02:04 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4234
4235	* lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.
4236	  The patch was written by takkanm. [ruby-core:26029][Feature #2190]
4237
4238	* lib/fileutils.rb (FileUtils#fu_mode): new helper function.
4239	* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): ditto.
4240	* lib/fileutils.rb (FileUtils#mode_mask): ditto.
4241	* lib/fileutils.rb (FileUtils#user_mask): ditto.
4242
4243	* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
4244	  new test for the above symbolic mode.
4245	* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_R): ditto.
4246
4247Mon May  2 00:36:12 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4248
4249	* ext/socket/init.c (rsock_connect): add to care EINTR. based
4250	  on a patch from Eric Wong at [ruby-core:35621][Bug #4555]
4251
4252Sun May  1 01:06:24 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4253
4254	* thread.c (rb_thread_select): release GVL while waiting select().
4255
4256Sat Apr 30 23:10:15 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4257
4258	* win32/win32.c (rb_w32_fdcopy): New. This can copy even though
4259	  fdset size exceed FD_SETSIZE.
4260	* include/ruby/intern.h (rb_fd_copy): use rb_w32_fdcopy()
4261
4262Sat Apr 30 20:18:43 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4263
4264	* thread.c (do_select): Change argument type to rb_fdset_t.
4265	  Now do_select() is free from unexpected hangup if
4266	  HAVE_RB_FD_INIT=1 [Bug #4636]
4267
4268	* thread.c (rb_thread_fd_select, rb_thread_wait_fd_rw):
4269	  adapt new argument type.
4270
4271	* thread.c (rb_thread_select): make dummy implementation.
4272
4273Sat Apr 30 20:16:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4274
4275	* thread.c (rb_fd_copy): Change function argument. Now
4276	  rb_fd_copy() has fully copy semantics.
4277	* include/ruby/intern.h: ditto.
4278
4279Sat Apr 30 20:11:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4280
4281	* include/ruby/intern.h (rb_thread_select): mark as deprecated.
4282
4283	* ext/io/wait/wait.c (wait_readable): use rb_thread_fd_select
4284	  instead of rb_thread_select.
4285	* ext/socket/init.c (wait_connectable0): ditto.
4286	* ext/readline/readline.c (readline_event): ditto.
4287	* io.c (rb_io_wait_readable, wait_readable, rb_io_wait_writable,
4288	  wait_writable): ditto.
4289
4290Sat Apr 30 20:06:36 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4291
4292	* thread.c (do_select): remove useless ifdef. time calculation
4293	  is not heavy weight.
4294
4295Sat Apr 30 16:48:36 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4296
4297	* benchmark/bm_io_select3.rb: New.
4298
4299Sat Apr 30 16:27:09 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4300
4301	* io.c (copy_stream_body, rb_io_s_copy_stream): move rb_fd_init()
4302	  from copy_stream_body to rb_io_s_copy_stream. fds of passing
4303	  rb_fd_term() have to be guaranteed initialized.
4304
4305Sat Apr 30 16:13:17 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4306
4307	* benchmark/bm_io_select.rb, benchmark/bm_io_select2.rb: New.
4308	  based on a patch from Eric Wong at [Feature #4531]
4309
4310Sat Apr 30 03:25:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4311
4312	* test/io/wait/test_io_wait.rb: New. for testing ext/io/wait.
4313	  the patch was written by Eric Wong. [Feature #4531]
4314
4315Sat Apr 30 00:34:56 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4316
4317	* include/ruby/win32.h: remove redundant declaration of
4318	  rb_w32_time_subtract().
4319
4320Sat Apr 30 00:16:40 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4321
4322	* thread_pthread.c (gvl_init): fix hangup if GVL_SIMPLE_LOCK=1.
4323	  We don't have to call mutex_unlock() before initialize it!
4324
4325Fri Apr 29 13:15:15 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4326
4327	* thread_win32.c (native_cond_timedwait): New. r31373 caused
4328	  win32 build failure.
4329
4330	* thread_win32.c (__cond_timedwait, abs_timespec_to_timeout_ms):
4331	  New helper functions.
4332
4333	* win32/win32.c (rb_w32_time_subtract): rename from subtract and
4334	  remove static.
4335
4336Fri Apr 29 10:43:09 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4337
4338	* benchmark/bm_vm4_pipe.rb: Add two new benchmark for GVL
4339	  performance. They was written by Koichi Sasada.
4340	* benchmark/bm_vm4_thread_pass.rb: ditto.
4341
4342Fri Apr 29 10:25:31 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4343
4344	* vm_method.c (rb_clear_cache_by_class): Revert r29673. It made
4345	  a segmentation fault regression. [Bug #4289][ruby-core:34554].
4346
4347Fri Apr 29 10:24:51 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4348
4349	* io.c (make_writeconv): do not add textmode newline decorator if any
4350	  newline decorator is set already.  fixes #4618, fixes #4619
4351
4352Fri Apr 29 10:17:42 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4353
4354	* thread.c (lock_func): small cleanup.
4355
4356Fri Apr 29 10:07:13 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4357
4358	* thread.c (rb_mutex_lock, lock_func): Avoid busy loop and
4359	  performance regression. bm_vm3_thread_mutex.rb performance
4360	  change from 109.064sec to 16.331sec. [Feature #4607]
4361
4362	* thread.c (init_lock_timeout): New helper function.
4363
4364Thu Apr 28 16:15:49 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4365
4366	* win32/{win32.c,dir.h} (rb_w32_uopendir): new API to pass UTF-8 path.
4367
4368	* win32/win32.c (opendir_internal, rb_w32_opendir): extract and merge
4369	  common part of rb_w32_opendir() and rb_w32_uopendir().
4370
4371	* dir.c (do_opendir, glob_helper): encoding.
4372
4373	* dir.c (dir_initialize, do_opendir): convert path to UTF-8 and call
4374	  rb_w32_uopendir() instead of rb_w32_opendir() on Windows.
4375	  fixes #4491, reported by Joey Zhou.
4376
4377Thu Apr 28 15:32:53 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4378
4379	* test/dl/test_base.rb (DL::LIBC_SO): its always msvc*.dll on
4380	  mswin/mingw.
4381
4382Thu Apr 28 06:07:06 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4383
4384	* lib/csv.rb (CSV::open): suppress universal newline decorator.
4385	  fixes #4603
4386
4387	* lib/csv.rb (CSV.read): no mode is needed.
4388
4389Thu Apr 28 06:06:56 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4390
4391	* io.c (rb_io_extract_modeenc, rb_f_backquote): set default text
4392	  mode.  fixes #4619
4393
4394	* io.c (pipe_open): set universal newline decorator if needed.
4395
4396Wed Apr 27 11:33:08 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4397
4398	* enc/trans/emoji_iso2022_kddi.trans: ISO-2022-JP-KDDI doesn't have
4399	  CP932 UDA. Another reason is emacs-mule: the implementation of
4400	  stateless-iso-2022-jp doesn't support beyond 94x94 (0x7fxx);
4401	  but CP932 UDA is in 7Fxx-92xx.
4402
4403Wed Apr 27 07:42:44 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4404
4405	* configure.in (STRIP): use proper toolchain.  based on a patch
4406	  from Jon Forums at [ruby-core:35909].  fixes #4617
4407
4408Wed Apr 27 01:20:59 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4409
4410	* ext/date/date_core.c (date_zone_to_diff): renamed.
4411	* ext/date/date_parse.c: ditto.
4412	* ext/date/date_strptime.c: ditto.
4413
4414Wed Apr 27 01:16:59 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4415
4416	* encoding.c (enc_find): accept Encoding objects.
4417
4418Wed Apr 27 00:55:56 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4419
4420	* transcode.c (econv_opts): add newline option.
4421
4422	* io.c (validate_enc_binmode, rb_io_extract_modeenc): set newline
4423	  decorator according to open mode.
4424
4425	* transcode.c (rb_econv_prepare_options): new function, to prepare
4426	  econv options with newline flags.
4427
4428	* include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_MASK): add.
4429
4430Wed Apr 27 00:51:01 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4431
4432	* file.c (rb_file_truncate): fix function.
4433
4434	* include/ruby/win32.h (ftruncate, truncate, ftello, fseeko): non-64
4435	  versions on mingw are useless because they use int32_t.  fixes #4564
4436
4437Wed Apr 27 00:50:33 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4438
4439	* ext/date/date_core.c: modified validation methods.
4440	* ext/date/lib/date.rb: ditto.
4441
4442Wed Apr 27 00:00:37 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4443
4444	* ext/date/date_core.c (dt_lite_set_tmx): should get df value.
4445
4446Tue Apr 26 22:34:04 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4447
4448	* ext/date/lib/date/format.rb (_iso8601): allowed day only civil
4449	  date.  disallowed separatorless day only ordinal date.
4450
4451Mon Apr 25 21:31:36 2011  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4452
4453	* ext/openssl/extconf.rb: Should check SSLv2_*method.
4454	  openssl compiled with "no-ssl2" the extconf don't fail
4455	  when running `make' having this compilation errors.
4456	  Patched by Laurent Arnoud. fixes #4562, #4556
4457
4458Mon Apr 25 20:53:32 2011  Tajima, Akio <artonx@yahoo.co.jp>
4459
4460	* win32/win32.c (kill): accept 0 only sig is SIGINT #4596
4461
4462Mon Apr 25 19:59:47 2011  Tajima, Akio <artonx@yahoo.co.jp>
4463
4464	* win32/win32.c (kill): accept 0 as pid, fixes #4596
4465
4466Mon Apr 25 16:43:45 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4467
4468	* random.c (random_rand): remove unused variables.
4469
4470	* struct.c (rb_struct_define_without_accessor): ditto.
4471
4472	* strftime.c (rb_strftime_with_timespec): ditto.
4473
4474	* sprintf.c: ditto.
4475
4476	* time.c (time_asctime): remove useless GetTimeval().
4477
4478	* thread_pthread.c: cast to (void *) for %p.
4479
4480Mon Apr 25 11:02:11 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4481
4482	* ext/ripper/lib/ripper/sexp.rb: fix rdoc around sexp.
4483	  patched by Sho Hashimoto. fixes #4599
4484
4485Mon Apr 25 08:24:04 2011  Shota Fukumori  <sorah@tubusu.net>
4486
4487	* random.c (rb_f_rand, random_s_rand): RDocs for them.
4488
4489Mon Apr 25 07:18:00 2011  Kenta Murata  <mrkn@mrkn.jp>
4490
4491	* random.c (random_s_rand, Init_Random): Random.rand should behave as
4492	  Random::DEFAULT.rand rather than Kernel#rand.
4493
4494	* random.c (rand_range, random_rand): rand_range function extracted
4495	  from random_rand function.
4496
4497	* random.c (rb_f_rand): accept a Range argument as Random#rand
4498	  [ruby-dev:43427] #4605
4499
4500Mon Apr 25 03:31:06 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4501
4502	* lib/time.rb: require 'date'.
4503	* ext/date/lib/date/format.rb: removed require line.
4504
4505Mon Apr 25 03:08:39 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4506
4507	* ext/date/lib/date/format.rb: require 'date'.
4508
4509Mon Apr 25 03:04:16 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4510
4511	* ext/date/lib/date/format.rb (_iso8601): added a pattern.
4512
4513Mon Apr 25 02:51:22 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4514
4515	* ext/date/lib/date/format.rb: require 'date_core.so'.
4516	  date/format needs methods which are now in date_core.so.
4517	  This breaks make rdoc which uses Date._parse from time.rb.
4518
4519Mon Apr 25 02:47:46 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4520
4521	* ext/date/lib/date/format.rb (_iso8601): fixed a bug of regex.
4522
4523Mon Apr 25 02:12:26 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4524
4525	* ext/date/lib/date/format.rb: an adjustment of regex.
4526
4527Mon Apr 25 01:58:50 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4528
4529	* ext/date/lib/date/format.rb: omitted to call _parse.
4530
4531Mon Apr 25 01:03:03 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4532
4533	* string.c (rb_to_id): remove unused variable.
4534
4535Sun Apr 24 22:19:05 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4536
4537	* complex.c, rational.c: omitted some method calls.
4538
4539Sun Apr 24 02:57:27 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4540
4541	* ext/date/date_parse.c (n2i): takes long.
4542
4543Sun Apr 24 02:51:06 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4544
4545	* ext/date/date_parse.c: reverted.
4546
4547Sun Apr 24 02:25:23 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4548
4549	* include/ruby/intern.h: pcc can't use __builtin_constant_p.
4550
4551	* vm_exec.c: change condition.
4552
4553Sun Apr 24 01:58:01 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4554
4555	* ext/date/date_core.c (leap_p): suppress warning: parentheses.
4556
4557	* ext/date/date_core.c (date_s__parse_internal): remove unused
4558	  variable "str".
4559
4560	* ext/date/date_parse.c (parse_ddd_cb): use RSTRING_LENINT.
4561
4562	* ext/date/date_strftime.c (date_strftime_with_tmx): remove unused
4563	  variable.
4564
4565Sun Apr 24 00:34:23 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4566
4567	* ext/date/date_parse.c: removed some unused macros.  use strchr()
4568	  instead of index().
4569
4570Sat Apr 23 21:29:42 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4571
4572	* ext/date/date_core.c: replacement of implementation of
4573	  _parse.  [experimental]
4574	* ext/date/date_parse.c: new.
4575	* ext/date/lib/date/format.rb: removed ruby version of _parse.
4576
4577Fri Apr 22 12:04:15 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4578
4579	* array.c (rb_ary_sort_bang): fix rdoc.
4580	  patched by burningTyger. https://github.com/ruby/ruby/pull/11
4581
4582Fri Apr 22 11:49:49 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4583
4584	* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):
4585	  XML-RPC's int is 32bit int, and Fixnum also may be beyond 32bit.
4586
4587	* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):
4588	  XML-RPC doesn't allow Infinity and NaN.
4589	  http://www.xmlrpc.com/spec
4590
4591Fri Apr 22 04:16:14 2011  Aaron Patterson <aaron@tenderlovemaking.com>
4592
4593	* ext/psych/parser.c (parse): strings from psych have proper taint
4594	  markings.
4595
4596	* test/psych/test_tainted.rb: test for string taint
4597
4598Thu Apr 21 01:30:02 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4599
4600	* random.c (rb_f_srand): fix rdoc: srand(0)'s 0 is a seed.
4601	  [ruby-core:35833] fixes #4590
4602
4603Thu Apr 21 01:01:28 2011  Masaya Tarui  <tarui@ruby-lang.org>
4604
4605	* win32/win32.c (CreateChild): maximum length of lpCommandLine is
4606	  32,768 characters, including the Unicode terminating null character.
4607
4608Wed Apr 20 21:32:11 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4609
4610	* ext/date/date_strptime.c (date__strptime_internal): do not
4611	  overwrite local variables.
4612
4613Wed Apr 20 14:41:28 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4614
4615	* string.c (rb_str_each_line): check string's length when compare
4616	  separator and string. [ruby-core:35815] fixes #4586
4617
4618Wed Apr 20 00:02:13 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4619
4620	* misc/ruby-mode.el (ruby-parse-partial): use position of open paren.
4621
4622Tue Apr 19 01:00:21 2011  Tajima Akio <artonx@yahoo.co.jp>
4623
4624	* test/ruby/test_io.rb (TestIO#test_cross_thread_close_fd):
4625	  skip cross thread pipe close if windows
4626
4627Mon Apr 18 12:15:46 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4628
4629	* test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):
4630	  avoid float error. [ruby-core:35804]
4631
4632Sun Apr 17 00:20:14 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4633
4634	* ext/date/date_{core,strftime}.c: use struct tmx instead of vtm.
4635	* ext/date/date_tmx.h: new.
4636
4637Sat Apr 16 22:23:52 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4638
4639	* ext/date/date_strftime.c (date_strftime_wo_timespec): changed
4640	  the way of validation of locale modifiers.
4641
4642Sat Apr 16 21:55:12 2011  Tadayoshi Funaba  <tadf@dotrb.org>
4643
4644	* ext/date/date_core.c: replacement of implementation of
4645	  _strptime.  [experimental]
4646	* ext/date/date_strptime.c: new.
4647	* ext/date/lib/date/format.rb: removed ruby version of _strptime.
4648
4649Sat Apr 16 10:18:30 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
4650
4651	* vm.c (Init_VM): suppress warning: "OPT_BASIC_OPERATIONS" is not
4652	  defined.
4653
4654Fri Apr 15 23:41:18 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
4655
4656	* ruby.c (proc_options): suppress warning:
4657	  "ALLOW_DEFAULT_SOURCE_ENCODING" is not defined.
4658
4659Fri Apr 15 15:10:29 2011  Akinori MUSHA  <knu@iDaemons.org>
4660
4661	* lib/uri/generic.rb (#route_from_path): Fix a bug where
4662	  URI('http://h/b/').route_to('http://h/b') wrongly returned './'
4663	  (should be '../b'). [Bug #4476]
4664
4665Fri Apr 15 14:58:06 2011  Akinori MUSHA  <knu@iDaemons.org>
4666
4667	* lib/fileutils.rb (FileUtils#touch): Fix corrupted output when
4668	  mtime is specified in addition to nocreate (and verbose).
4669	  ref [ruby-dev:43401]
4670
4671Thu Apr 14 23:43:43 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4672
4673	* numeric.c (ruby_float_step): wrong loop condition.
4674	  fixes [ruby-core:35753], reported by Joey Zhou.
4675
4676	* test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):
4677	  test above change.
4678
4679Thu Apr 14 22:48:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4680
4681	* lib/test/unit.rb (Test::Unit::Options#setup_options): set possible
4682	  values for completion. no conversion is needed.
4683
4684	* lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): use
4685	  positional arguments instead of keyword arguments.
4686
4687	* lib/test/unit.rb (Test::Unit::Runner#jobs_status): io/console may
4688	  not be available. use 80 as the last resort if IO#winsize and
4689	  COLUMNS are unavailable.
4690
4691	* lib/test/unit.rb (Test::Unit::Runner::Worker#died): rename using a
4692	  verb.
4693
4694	* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): check if worker
4695	  is signaled and use its exit status.
4696
4697	* lib/test/unit.rb (Test::Unit::Runner::Worker#dead): no longer @in
4698	  and @out are separated.
4699
4700Thu Apr 14 21:23:29 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4701
4702	* variable.c (rb_autoload_p): search superclasses as same as actual
4703	  loading.  fixes [ruby-core:35679]
4704
4705Thu Apr 14 21:21:06 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4706
4707	* include/ruby/win32.h (frexp, modf): wrongly declared as pure in
4708	  mingw math.h.
4709
4710	* include/ruby/win32.h (ftruncate, truncate): mingw64 misses
4711	  prototypes.
4712
4713	* win32/win32.c (rb_w32_read): suppress warning.
4714
4715Thu Apr 14 19:55:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4716
4717	* lib/fileutils.rb (FileUtils#touch): fix corrupted output when
4718	  FileUtils.touch(:nocreate => true, :verbose => true) case.
4719	  The patch was written by Hiroyuki Iwatsuki. [ruby-dev:43401]
4720
4721Thu Apr 14 16:01:45 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
4722
4723	* io.c (rb_f_syscall): suppress warning: "HAVE___SYSCALL" is not
4724	  defined.
4725
4726Thu Apr 14 00:41:09 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
4727
4728	* thread.c (thread_fd_close_i): IOError exception should be assigned
4729	  to rb_thread_t::thrown_errinfo.
4730
4731Wed Apr 13 20:12:26 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
4732
4733	* io.c (rb_io_fdatasync): remove unused variable.
4734
4735Tue Apr 12 20:54:12 2011  Tanaka Akira  <akr@fsij.org>
4736
4737	* include/ruby/st.h: parenthesize macro arguments.
4738
4739Tue Apr 12 19:19:50 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4740
4741	* lib/uri/common.rb: avoid race condition. fixes #4572
4742
4743Tue Apr 12 18:07:13 2011  TAKAO Kouji  <kouji@takao7.net>
4744
4745	* ext/readline/extconf.rb: --disable-libedit to disable
4746	  libedit. fixes #4550
4747
4748Tue Apr 12 10:37:39 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4749
4750	* include/ruby/win32.h: VC doesn't have ftruncate() and others, but
4751	  ruby needs HAVE_ macros to use our emulation functions.
4752	  (fix the problem of 31262)
4753
4754Tue Apr 12 01:33:00 2011  Luis Lavena  <luislavena@gmail.com>
4755
4756	* configure.in: properly evaluate existence of truncate, ftruncate
4757	  and ftello for MinGW. [ruby-core:35678]
4758	* win32/win32.c: rename truncate, ftruncate and ftello to avoid
4759	  redefinitions.
4760	* win32/win32.h: ditto.
4761
4762Mon Apr 11 21:51:52 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4763
4764	* io.c: revert r31230. Because it made a regression.
4765	  [ruby-core:35631]
4766
4767Mon Apr 11 21:49:18 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4768
4769	* test/ruby/test_io.rb: Added TestIO#test_cross_thread_close_stdio
4770	  and TestIO#test_cross_thread_close_fd.
4771	  The patch was written by Eric Wong. [ruby-core:35669]
4772
4773Mon Apr 11 21:15:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4774
4775	* file.c (rb_group_member): kill 256K of stack usage.
4776	  the patch was written by Eric Wong. [ruby-core:35699]
4777
4778Mon Apr 11 07:24:13 2011  Eric Hodel  <drbrain@segment7.net>
4779
4780	* ext/openssl/ossl.c:  Fix typo, document version constants.
4781
4782Sun Apr 10 22:23:45 2011  Tanaka Akira  <akr@fsij.org>
4783
4784	* include/ruby/ruby.h: parenthesize macro arguments.
4785
4786Sat Apr  9 23:31:47 2011  Shota Fukumori  <sorah@tubusu.net>
4787
4788	* ext/stringio/stringio.c (strio_each, strio_readlines):
4789	  Use `NUM2LONG` instead of `FIX2INT`. Fixes [ruby-dev:43395].
4790
4791Sat Apr  9 23:22:27 2011  Shota Fukumori  <sorah@tubusu.net>
4792
4793	* ext/stringio/stringio.c (strio_each):
4794	  Fix exception message and don't raise immediately if block is not
4795	  given.
4796	  Fixes [ruby-dev:43394].
4797
4798	* test/stringio/test_stringio.rb (test_each_line_limit_0):
4799	  Fix test for above.
4800
4801Sat Apr  9 21:54:15 2011  Shota Fukumori  <sorah@tubusu.net>
4802
4803	* ext/stringio/stringio.c (strio_each, strio_readlines):
4804	  limit must not be zero. Fixes [ruby-dev:43392].
4805
4806	* test/stringio/test_stringio.rb: Add tests for above.
4807
4808Sat Apr  9 18:01:36 2011  Tanaka Akira  <akr@fsij.org>
4809
4810	* include/ruby/util.h: parenthesize macro arguments.
4811
4812Fri Apr  8 16:01:56 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4813
4814	* ext/stringio/stringio.c (strio_getline): check whether str is
4815	  a string when str and lim are given.
4816	  https://twitter.com/watson1978/status/56225052152168449
4817
4818Thu Apr  7 20:03:52 2011  Tanaka Akira  <akr@fsij.org>
4819
4820	* include/ruby/io.h: parenthesize macro arguments.
4821
4822Wed Apr  6 21:08:31 2011  Tanaka Akira  <akr@fsij.org>
4823
4824	* include/ruby/intern.h: parenthesize macro arguments.
4825
4826Wed Apr  6 15:12:40 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4827
4828	* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize):
4829	  pop pushed error after each try of reading. fixes #4550
4830
4831	* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
4832
4833	* ext/openssl/ossl_pkey_ec.c (ossl_ec_initialize): ditto.
4834
4835Wed Apr  6 11:36:44 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4836
4837	* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize):
4838	  pop pushed error after each try of reading. fixes #4550
4839
4840Tue Apr  5 20:33:43 2011  Tanaka Akira  <akr@fsij.org>
4841
4842	* include/ruby/encoding.h: parenthesize macro arguments.
4843
4844Mon Apr  4 22:02:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4845
4846	* ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL if
4847	  we're not changing the O_NONBLOCK bit. F_SETFL is an expensive
4848	  operation since it needs to affect all processes with the same
4849	  file object.
4850	  The patch is written by Eric Wong. [ruby-core:35556]
4851
4852Mon Apr  4 21:41:26 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4853
4854	* io.c (rb_io_syswrite): While local FS writes are usually
4855	  buffered, the buffers can be full or the file opened with
4856	  O_SYNC. IO#syswrite can also be used on blocking IOs
4857	  (pipe/socket) just like IO#write.
4858	  The patch is written by Eric Wong. [ruby-core:35554]
4859
4860Mon Apr  4 11:50:40 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4861
4862	* test/test_tempfile.rb: simply ignore platform dependent testcases
4863	  instead of skipping.
4864
4865Sun Apr  3 22:52:22 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
4866
4867	* ext/syslog/syslog.c: improve rdoc.
4868	  a patch by Jonas Pfenniger. [ruby-core:35592] fixes #4545
4869
4870Sun Apr  3 22:10:09 2011  Tanaka Akira  <akr@fsij.org>
4871
4872	* ext/zlib/zlib.c: parenthesize macro arguments.
4873
4874Sun Apr  3 21:33:58 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4875
4876	* configure.in: disable fdatasync again on Mac OS X.
4877	  [ruby-core:35493][Bug #4500]
4878
4879Sun Apr  3 21:16:20 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
4880
4881	* io.c (io_reopen): IO#close releases GVL if possible.
4882	  close() may block for certain file types (NFS, SO_LINGER
4883	  sockets, inotify), so let other threads run. The patch was
4884	  created by Eric Wong [ruby-core:35555][Bug #4527]
4885
4886	* io.c (fptr_finalize): ditto.
4887
4888	* io.c (maygvl_fclose): new.
4889	* io.c (nogvl_fclose): ditto.
4890	* io.c (maygvl_close): ditto.
4891	* io.c (nogvl_close): ditto.
4892
4893Fri Apr  1 22:25:50 2011  Tanaka Akira  <akr@fsij.org>
4894
4895	* ext/syslog/syslog.c: parenthesize macro arguments.
4896
4897Fri Apr 1 18:53:06 2011  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
4898
4899	* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
4900	  permitted between tokens' according to RFC2965. Though 'Netscape
4901	  spec' does not define the syntax clearly, make it tolerant as a
4902	  server. As a real-world example, rest-client gem sends
4903	  'Cookie: foo=1;bar=2'
4904
4905	* test/webrick/test_cookie.rb (test_parse_non_whitespace): test it.
4906
4907Fri Apr  1 13:19:20 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4908
4909	* vm_core.h (RUBY_VM_CHECK_INTS_TH): merge a patch by ko1
4910	  in [ruby-dev:43373].
4911
4912Thu Mar 31 23:15:46 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4913
4914	* misc/ruby-mode.el (ruby-brace-to-do-end, ruby-do-end-to-brace):
4915	  adjust space between block beginning and block arguments
4916
4917Thu Mar 31 20:42:05 2011  Tanaka Akira  <akr@fsij.org>
4918
4919	* ext/strscan/strscan.c:  parenthesize macro arguments.
4920
4921Thu Mar 31 18:06:12 2011  Shugo Maeda  <shugo@ruby-lang.org>
4922
4923	* vm_insnhelper.c (vm_get_ev_const): should ignore crefs with
4924	  the NODE_FL_CREF_PUSHED_BY_EVAL flag.
4925
4926Thu Mar 31 16:49:56 2011  Shugo Maeda  <shugo@ruby-lang.org>
4927
4928	* vm_insnhelper.c (vm_get_ev_const): search root cref properly.
4929	  [ruby-dev:43365]
4930
4931Thu Mar 31 14:50:25 2011  Shugo Maeda  <shugo@ruby-lang.org>
4932
4933	* eval.c (rb_mod_s_constants): should ignore crefs with
4934	  the NODE_FL_CREF_PUSHED_BY_EVAL flag.
4935
4936Wed Mar 30 22:55:47 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4937
4938	* misc/ruby-mode.el (ruby-toggle-block): toggle do/end and {}.
4939
4940	* misc/ruby-mode.el (ruby-move-to-block): move to opening of
4941	  block.
4942
4943Wed Mar 30 14:35:15 2011  Shugo Maeda  <shugo@ruby-lang.org>
4944
4945	* vm_insnhelper.h (COPY_CREF): should copy
4946	  the NODE_FL_CREF_PUSHED_BY_EVAL flag to hide constants from
4947	  methods defined by class_eval.  [ruby-dev:43365]
4948
4949Wed Mar 30 00:24:53 2011  Tanaka Akira  <akr@fsij.org>
4950
4951	* ext/stringio/stringio.c: parenthesize macro arguments.
4952
4953Tue Mar 29 21:51:31 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
4954
4955	* object.c (rb_String): Kernel#String should call to_str before to_s.
4956
4957Tue Mar 29 10:28:08 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4958
4959	* test/webrick/test_filehandler.rb
4960	  (WEBrick::TestFileHandler#test_short_filename): the cgi doesn't exist
4961	  on current directory.
4962
4963Tue Mar 29 05:19:57 2011  Tanaka Akira  <akr@fsij.org>
4964
4965	* ext/socket/raddrinfo.c: parenthesize macro arguments.
4966
4967Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
4968
4969	* test/webrick/test_filehandler.rb (test_short_filename):
4970	  read real short filename by cmd because smb mounted files
4971	  have different naming convention.
4972
4973Mon Mar 28 11:38:08 2011  NARUSE, Yui  <naruse@ruby-lang.org>
4974
4975	* ext/date/date_core.c (date_s_today): use int for year.
4976
4977	* ext/date/date_core.c (datetime_s_now): ditto.
4978
4979Mon Mar 28 11:07:41 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4980
4981	* ext/extmk.rb: set MFLAGS from MAKEFLAGS when using nmake.
4982
4983Mon Mar 28 11:07:00 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
4984
4985	* common.mk (love): all you need is love.
4986
4987Sun Mar 27 23:16:31 2011  Tanaka Akira  <akr@fsij.org>
4988
4989	* ext/socket/ipsocket.c: parenthesize macro arguments.
4990
4991Sun Mar 27 16:55:34 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4992
4993	* misc/ruby-mode.el (ruby-mode-map): remove unnecessary
4994	  binding. fixes
4995	  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468952
4996
4997	* misc/ruby-mode.el: suppress warnings at byte compile.  fixes
4998	  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502926
4999
5000Sun Mar 27 11:18:35 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5001
5002	* ext/date/date_core.c: removed unused variables.
5003
5004Sat Mar 26 15:16:09 2011  Tanaka Akira  <akr@fsij.org>
5005
5006	* ext/socket/getaddrinfo.c: parenthesize macro arguments.
5007
5008Sat Mar 26 05:27:34 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5009
5010	* ext/date/lib/date/format.rb (DateTime#strftime): removed because
5011	  date_core defines it.
5012
5013Fri Mar 25 21:59:45 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5014
5015	* ext/date/date_core.c: should not force cast with macros.
5016
5017Fri Mar 25 21:56:10 2011  Tanaka Akira  <akr@fsij.org>
5018
5019	* ext/sdbm/init.c: parenthesize macro arguments.
5020
5021Fri Mar 25 19:39:40 2011  Ben Walton <bwalton@artsci.utoronto.ca>
5022
5023	* test/test_syslog.rb:
5024	  Skip syslog tests that rely on LOG_PERROR unless it's defined
5025
5026	  Instead of checking looking at the platform to determine if the tests
5027	  relying on LOG_PERROR should be run, look for the definition of the
5028	  constant as this will be robust against all platforms as long as the
5029	  underlying syslog.c code sets it up correctly.
5030
5031	  This specifically addresses failures on Solaris 9.
5032
5033	  Use LOG_PID instead of LOG_PERROR in Syslog.open test
5034
5035	  LOG_PERROR isn't a POSIX option for syslog, so it fails on platforms
5036	  that don't define it.  Solaris 9 and 10 are examples of this.
5037
5038	  Use LOG_PID instead.
5039
5040Fri Mar 25 15:42:17 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5041
5042	* ext/sdbm/_sdbm.c (sdbm_open): use size_t.
5043
5044	* ext/syck/bytecode.c: ditto.
5045
5046	* ext/sdbm/_sdbm.c (delpair): use ptrdiff_t.
5047
5048	* ext/sdbm/init.c: use RSTRING_LENINT.
5049
5050	* ext/dl/handle.c: suppress warning: shorten-64-to-32.
5051
5052	* ext/strscan/strscan.c: ditto.
5053
5054	* ext/syck/emitter.c: ditto.
5055
5056	* ext/syck/implicit.c: ditto.
5057
5058	* ext/syck/syck.c: ditto.
5059
5060	* ext/syck/token.c: ditto.
5061
5062Fri Mar 25 12:14:58 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5063
5064	* ext/nkf/nkf-utf8/nkf.c: import nkf 7f18e30.
5065
5066Fri Mar 25 11:49:29 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5067
5068	* test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently
5069	  on Windows, because this tests a platform specific feature and it'll
5070	  never be supported on ruby on Windows.
5071
5072	* test/ruby/test_dir_m17n.rb
5073	  (TestDir_M17N#test_filename_extutf8_invalid,
5074	  TestDir_M17N#test_filename_as_bytes_extutf8): ditto.
5075
5076	* test/open-uri/test_open-uri.rb
5077	  (TestOpenURI#test_find_proxy_case_sensitive_env): ditto.
5078
5079	* test/dl/test_handle.rb (DL::TestHandle#test_NEXT,
5080	  DL::TestHandle#test_DEFAULT): ditto.
5081
5082Thu Mar 24 23:06:29 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5083
5084	* vm_insnhelper.c (vm_get_ev_const): should not autoload in
5085	  defined? mode.
5086
5087	* variable.c (rb_const_defined_0): fix autoloading base.
5088	  [ruby-core:35509]
5089
5090Thu Mar 24 22:48:43 2011  Tanaka Akira  <akr@fsij.org>
5091
5092	* ext/sdbm/_sdbm.c: parenthesize macro arguments.
5093
5094Thu Mar 24 14:45:57 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5095
5096	* ext/openssl/ossl.c: suppress warning: shorten-64-to-32.
5097
5098	* ext/openssl/ossl.h: ditto.
5099
5100	* ext/openssl/ossl_asn1.c: ditto.
5101
5102	* ext/openssl/ossl_bio.c: ditto.
5103
5104	* ext/openssl/ossl_bn.c: ditto.
5105
5106	* ext/openssl/ossl_cipher.c: ditto.
5107
5108	* ext/openssl/ossl_hmac.c: ditto.
5109
5110	* ext/openssl/ossl_ns_spki.c: ditto.
5111
5112	* ext/openssl/ossl_ocsp.c: ditto.
5113
5114	* ext/openssl/ossl_pkcs5.c: ditto.
5115
5116	* ext/openssl/ossl_pkey.c: ditto.
5117
5118	* ext/openssl/ossl_pkey_dh.c: ditto.
5119
5120	* ext/openssl/ossl_pkey_dsa.c: ditto.
5121
5122	* ext/openssl/ossl_pkey_ec.c: ditto.
5123
5124	* ext/openssl/ossl_pkey_rsa.c: ditto.
5125
5126	* ext/openssl/ossl_rand.c: ditto.
5127
5128	* ext/openssl/ossl_ssl.c: ditto.
5129
5130	* ext/openssl/ossl_x509ext.c: ditto.
5131
5132	* ext/openssl/ossl_x509name.c: ditto.
5133
5134Thu Mar 24 11:48:19 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5135
5136	* ext/openssl/ossl_rand.c (ossl_rand_egd_bytes): use NUM2INT because
5137	  the result is used with functions whose argument is int.
5138
5139	* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): ditto.
5140
5141	* ext/openssl/ossl_x509store.c (ossl_x509store_set_purpose): ditto.
5142
5143	* ext/openssl/ossl_x509store.c (ossl_x509store_set_trust): ditto.
5144
5145	* ext/openssl/ossl_x509store.c (ossl_x509stctx_set_purpose): ditto.
5146
5147	* ext/openssl/ossl_x509store.c (ossl_x509stctx_set_trust): ditto.
5148
5149Thu Mar 24 11:36:55 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5150
5151	* ext/openssl/ossl_x509name.c: id_aref's type is ID.
5152
5153Thu Mar 24 10:04:35 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5154
5155	* ext/io/console/console.c (console_set_winsize):
5156	  suppress warning: shorten-64-to-32.
5157
5158Thu Mar 24 09:56:19 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5159
5160	* ext/openssl/ossl_ocsp.c (ossl_ocspreq_verify): flags is VALUE,
5161	  so it should use NUM2INT.
5162
5163	* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): ditto.
5164
5165Wed Mar 23 21:09:29 2011  Tanaka Akira  <akr@fsij.org>
5166
5167	* ext/readline/readline.c: parenthesize macro arguments.
5168
5169Wed Mar 23 08:07:33 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5170
5171	* numeric.c (flo_round): fix inaccurate results.
5172
5173Wed Mar 23 00:12:16 2011  Tajima Akio <artonx@yahoo.co.jp>
5174
5175	* win32/win32.c: wait process real termination after reading
5176	  exit code. fixes #4518
5177
5178Tue Mar 22 21:20:10 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5179
5180	* lib/rubygems/test_case.rb: save current dir to @current_dir
5181	  before Dir.chdir.
5182
5183Tue Mar 22 20:10:04 2011  Tanaka Akira  <akr@fsij.org>
5184
5185	* ext/psych/parser.c: parenthesize macro arguments.
5186
5187Tue Mar 22 20:10:01 2011  Tanaka Akira  <akr@fsij.org>
5188
5189	* ext/openssl/ruby_missing.h: parenthesize macro arguments.
5190
5191Tue Mar 22 13:33:22 2011  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
5192
5193	* ext/openssl/lib/openssl/buffering.rb: removed circular require of
5194	  openssl.rb.
5195
5196	* ext/openssl/lib/openssl/*: removed following comment for transition
5197	  measures of avoiding circular require. No one claimed about this as
5198	  far as I know.
5199	  ##
5200	  # Should we care what if somebody require this file directly?
5201	  # require "openssl"
5202
5203Tue Mar 22 10:57:36 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5204
5205	* test/runner.rb: set Gem::TestCase's @@project_dir.
5206
5207	* lib/rubygems/test_case.rb: set Gem::TestCase's @@project_dir only
5208	  when it is not defined.
5209
5210Tue Mar 22 09:38:19 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5211
5212	* numeric.c (flo_round): use pow instead of while-loop. fixes #4510
5213	  patched by Alex Young [ruby-core:35526]
5214
5215Tue Mar 22 06:47:46 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5216
5217	* ext/date/date_strftime.c (date_strftime_wo_timespec):
5218	  suppress warning: shorten-64-to-32.
5219
5220Tue Mar 22 06:42:42 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5221
5222	* ext/date/date_core.c: suppress warning: shorten-64-to-32.
5223
5224Tue Mar 22 06:41:37 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5225
5226	* lib/test/unit/parallel.rb: remove unused variable.
5227
5228Tue Mar 22 06:19:42 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5229
5230	* enc/utf_16le.c: suppress warning: shorten-64-to-32.
5231
5232	* ext/dbm/dbm.c: ditto.
5233
5234	* ext/gdbm/gdbm.c: ditto.
5235
5236	* parse.y (Init_ripper): suppress warning: unused value.
5237
5238Mon Mar 21 11:21:32 2011  Shota Fukumori  <sorah@tubusu.net>
5239
5240	* lib/test/unit.rb: Refactoring. Unified if and elsif.
5241
5242Sun Mar 20 23:09:34 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5243
5244	* ext/date/date_strftime.c: checks duplicated modifiers.
5245
5246Sun Mar 20 22:32:30 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5247
5248	* ext/date/date_strftime.c: removed unused code and arguments.
5249
5250Sun Mar 20 21:34:49 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5251
5252	* ext/date/date_core.c: replacement of implementation of
5253	  strftime. It has some limitations that is same as Time's
5254	  one.  [experimental]
5255	* ext/date/date_strftime.c: new.
5256	* ext/date/lib/date/format.rb: removed ruby version of strftime.
5257
5258Sun Mar 20 12:43:12 2011  Tanaka Akira  <akr@fsij.org>
5259
5260	* ext/openssl/ossl_x509store.c: parenthesize macro arguments.
5261
5262Sun Mar 20 01:39:48 2011  Tajima Akio <artonx@yahoo.co.jp>
5263
5264	* hash.c (ruby_setenv): check env process block size with OS ver.
5265	* win32/win32.c: export rb_w32_osver for above patch.
5266	* include/ruby/win32.h: declare rb_w32_osver for Win32 Libs.
5267
5268Sat Mar 19 18:35:05 2011  Tajima Akio <artonx@yahoo.co.jp>
5269
5270	* hash.c (ruby_setenv): calculate total env block size for win32.
5271	* test/ruby/test_env.rb: add test for above patch.
5272
5273Sat Mar 19 17:14:46 2011  Tajima Akio <artonx@yahoo.co.jp>
5274
5275	* hash.c (ruby_setenv): checking with max process environment
5276	  block size for Win32. 32767 for 2000/XP, 2003. if failed to
5277	  read the block, then checking with 5120 for earlier Windows.
5278
5279Sat Mar 19 12:30:25 2011  Tanaka Akira  <akr@fsij.org>
5280
5281	* ext/openssl/ossl_x509revoked.c: parenthesize macro arguments.
5282
5283Fri Mar 18 20:44:36 2011  Tanaka Akira  <akr@fsij.org>
5284
5285	* ext/openssl/ossl_x509req.c: parenthesize macro arguments.
5286
5287Fri Mar 18 08:48:06 2011  Oleg Shaldybin  <oleg.shaldybin@gmail.com>
5288
5289	* lib/fileutils.rb (FileUtils::Entry_#copy_file): updated FileUtils.cp
5290	  to still copy file permissions when :preserve is false (as cp does
5291	  this even when -p isn't set).
5292
5293Fri Mar 18 00:59:38 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5294
5295	* ext/win32ole/extconf.rb (create_docfile): removed.  should not
5296	  modify source directory unnecessarily, platform dependent
5297	  documentation should be dealt with by rdoc.  [ruby-core:35495]
5298
5299Fri Mar 18 00:54:20 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5300
5301	* include/ruby/ruby.h (rb_funcall_passing_block): add prototype.
5302	  a patch by James M. Lawrence at [ruby-core:35501]
5303
5304Wed Mar 17 06:23:31 2011  Tanaka Akira  <akr@fsij.org>
5305
5306	* ext/openssl/ossl_x509name.c: parenthesize macro arguments.
5307
5308Wed Mar 16 20:36:56 2011  Tanaka Akira  <akr@fsij.org>
5309
5310	* ext/socket/ipsocket.c (init_inetsock_internal): raise an error on
5311	  listen(2) failure.
5312	  reported by Xavier Shay.  [ruby-core:35505]
5313
5314Wed Mar 16 15:06:21 2011  Eric Hodel  <drbrain@segment7.net>
5315
5316	* ext/openssl/lib/openssl/buffering.rb (module OpenSSL): #flush should
5317	  not change sync mode on exception.
5318	* test/openssl/test_buffering.rb: added
5319
5320Wed Mar 16 13:45:28 2011  Eric Hodel  <drbrain@segment7.net>
5321
5322	* ext/openssl/lib/openssl/buffering.rb: de-nest Buffering module
5323
5324	* ext/openssl/lib/openssl/buffering.rb: add RDoc
5325
5326Wed Mar 16 08:40:39 2011  Tanaka Akira  <akr@fsij.org>
5327
5328	* ext/openssl/ossl_x509ext.c: parenthesize macro arguments.
5329
5330Tue Mar 15 18:34:27 2011  Tanaka Akira  <akr@fsij.org>
5331
5332	* ext/openssl/ossl_x509crl.c: parenthesize macro arguments.
5333
5334Tue Mar 15 09:49:03 2011  Shota Fukumori  <sorah@tubusu.net>
5335
5336	* test/misc/test_ruby_mode.rb (test_singleton_class): Skip for Pending.
5337
5338Mon Mar 14 21:20:44 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
5339
5340	* test/ruby/test_require.rb (test_require_too_long_filename):
5341	  increase path length, because MAXPATHLEN is defined as 4096 on linux.
5342
5343	* test/ruby/test_require.rb (test_require_path_home_1): ditto.
5344
5345	* test/ruby/test_require.rb (test_require_path_home_2): ditto.
5346
5347Mon Mar 14 19:54:37 2011  Tanaka Akira  <akr@fsij.org>
5348
5349	* ext/openssl/ossl_x509cert.c: parenthesize macro arguments.
5350
5351Sun Mar 13 18:11:28 2011  Tanaka Akira  <akr@fsij.org>
5352
5353	* ext/openssl/ossl_x509attr.c: parenthesize macro arguments.
5354
5355Sun Mar 13 16:07:58 2011  Shota Fukumori  <sorah@tubusu.net>
5356
5357	* lib/pstore.rb: Fix don't raise "nested transaction" when thread_safe
5358	  is true. Patch by Masaki Matsushita (Glass_saga). [ruby-dev:43337]
5359
5360	* test/test_pstore.rb: Test for above.
5361	  Patch by Masaki Matsushita (Glass_saga) [ruby-dev:43337]
5362
5363Sat Mar 12 04:12:41 2011  Tanaka Akira  <akr@fsij.org>
5364
5365	* ext/openssl/ossl_ssl_session.c: parenthesize macro arguments.
5366
5367Sat Mar 12 02:27:07 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5368
5369	* ext/date/date_core.c ({d,dt}_lite_marshal_load): checks the given
5370	  argument.
5371
5372Sat Mar 12 01:26:24 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5373
5374	* ext/date/date_core.c: changed some directives.
5375
5376Sat Mar 12 01:16:02 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5377
5378	* ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.
5379
5380Sat Mar 12 00:06:24 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5381
5382	* ext/date/lib: moved from lib.
5383
5384Fri Mar 11 23:32:38 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5385
5386	* lib/date/delta*: removed undocumented delta.
5387
5388Fri Mar 11 18:42:43 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5389
5390	* lib/mkmf.rb (find_executable0): should exclude directories.
5391
5392Fri Mar 11 01:40:35 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5393
5394	* process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
5395	  and Process#maxgroups= now raise NotImplementedError if the
5396	  platform don't support supplementary groups concept.
5397
5398Fri Mar 11 01:25:03 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5399
5400	* process.c (get_sc_ngroups_max): return -1 if platform don't
5401	  support NGROUPS_MAX.
5402
5403Thu Mar 10 22:28:15 2011  Tanaka Akira  <akr@fsij.org>
5404
5405	* ext/openssl/ossl_ssl.h: parenthesize macro arguments.
5406
5407Thu Mar 10 21:59:37 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5408
5409	* parse.y (parser_encode_length): add exception as UTF8-MAC for
5410	  magic comment's emacs newline specifier
5411	  patched by James M. Lawrence [ruby-core:35476] fixes #4489
5412
5413Thu Mar 10 16:00:22 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5414
5415	* parse.y (parser_encode_length): fix typo: the length of
5416	  "-dos" and "-mac" is not 5 but 4.
5417	  patched by James M. Lawrence [ruby-core:35476] fixes #4489
5418
5419Thu Mar 10 10:52:01 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5420
5421	* test/ruby/test_require.rb: setting too long string to ENV causes
5422	  Errno::EINVAL on Windows.  long path name errors may causes over
5423	  about 1024 bytes, then limit it about 4000 bytes.
5424
5425Thu Mar 10 10:09:35 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5426
5427	* lib/test/unit.rb (Test::Unit::Runner::Worker#read): fix for the case
5428	  when IO#read or IO#gets returns nil.
5429
5430Thu Mar 10 07:12:03 2011  Ryan Davis  <ryand-ruby@zenspider.com>
5431
5432	* lib/rubygems*: Import rubygems 1.6.2 (release candidate @ 2026fbb5)
5433	* test/rubygems: Ditto
5434	* test/runner.rb: Added test to load path to fix test requires.
5435
5436Thu Mar 10 03:00:43 2011  Tanaka Akira  <akr@fsij.org>
5437
5438	* ext/openssl/ossl_ssl.c: parenthesize macro arguments.
5439
5440Wed Mar  9 23:51:26 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
5441
5442	* test/ruby/test_io_m17n.rb (test_io_new_enc): "sjis" is now an alias
5443	  of Windows-31J.
5444
5445Wed Mar  9 23:06:13 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5446
5447	* misc/ruby-mode.el (ruby-parse-partial): fix indent after aref.
5448
5449Wed Mar  9 12:50:24 2011  Aaron Patterson <aaron@tenderlovemaking.com>
5450
5451	* ext/psych/lib/psych/visitors/yaml_tree.rb: Rescue exceptions when
5452	  people implement the method method. Thanks Lin Jen-Shin.
5453	  [ruby-core:35255]
5454
5455	* test/psych/visitors/test_yaml_tree.rb: test for implementation of
5456	  method method.
5457
5458Wed Mar  9 11:53:31 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5459
5460	* enc/shift_jis.c: Change SJIS as an alias of Windows-31J.
5461	  [ruby-dev:43027] fixes #4280
5462
5463	* enc/shift_jis.c: Add PCK as an alias of Windows-31J.
5464
5465Wed Mar  9 00:45:29 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5466
5467	* ext/extmk.rb: nmake substitutes all occurrences in macro.
5468
5469	* ext/extmk.rb: workaround for nmake.
5470
5471Tue Mar  8 23:49:45 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5472
5473	* process.c (proc_setgroups): cleanup.
5474
5475Tue Mar  8 23:40:30 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5476
5477	* test/misc/test_ruby_mode.rb: test for ruby-mode.el.
5478
5479Tue Mar  8 23:27:38 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5480
5481	* process.c (get_sc_ngroups_max): try to use NGROUPS_MAX at first if
5482	  _SC_NGROUP_MAX is not defined.
5483
5484Tue Mar  8 23:10:16 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5485
5486	* misc/ruby-mode.el (ruby-parse-partial): fix for array in block.
5487
5488Tue Mar  8 21:44:49 2011  Tanaka Akira  <akr@fsij.org>
5489
5490	* ext/openssl/ossl_rand.c: parenthesize macro arguments.
5491
5492Tue Mar  8 16:45:31 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5493
5494	* hash.c (ruby_setenv): MSDN says that Windows XP or earlier limits
5495	  the total size of environment block to 5,120 chars.  and on such
5496	  OS, putenv() causes SEGV.  So, ruby should limit the size of an
5497	  environment variable to 5,120 bytes for workaround.
5498
5499Tue Mar  8 15:57:20 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5500
5501	* test/rubygems/test_gem_spec_fetcher.rb
5502	  (TestGemSpecFetcher#test_cache_dir_escapes_windows_paths): cache_dir
5503	  may have driveletter and `:' for base of cache_dir itself, so need
5504	  to skip it for checking.
5505
5506Tue Mar  8 12:30:06 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5507
5508	* misc/ruby-mode.el (ruby-deep-indent-paren-p, ruby-calculate-indent):
5509	  do not apply deep-indent inside parens at the beginning of
5510	  expressions.
5511
5512Tue Mar  8 09:32:48 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5513
5514	* common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):
5515	  support parallel-make under ext.
5516
5517Tue Mar  8 09:25:23 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5518
5519	* process.c (proc_setgroups): use getgrnam() if getgrnam_r() is
5520	  not available.
5521
5522	* process.c: RARRAY_LEN() returns long int.
5523
5524Tue Mar  8 09:07:03 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5525
5526	* configure.in (RUBY_REPLACE_TYPE): enclose in quotes for multiple
5527	  type names.
5528
5529Tue Mar  8 01:43:11 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5530
5531	* process.c (get_sc_ngroups_max): define to wrap sysconf(3).
5532	  this also supports Windows which doesn't have sysconf(3).
5533
5534	* process.c (maxgroups): use get_sc_ngroups_max.
5535
5536	* process.c (proc_setmaxgroups): ditto.
5537
5538Tue Mar  8 01:16:49 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5539
5540	* gc.c (rb_objspace): an initializer must be a constant.
5541
5542Tue Mar  8 01:11:44 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5543
5544	* process.c (maxgroups): cast because sysconf(3)'s return value is long.
5545
5546	* process.c (proc_setmaxgroups): ditto.
5547
5548	* process.c (proc_setgroups): cast because RARRAY_LEN() is long.
5549
5550Tue Mar  8 00:02:47 2011  Tanaka Akira  <akr@fsij.org>
5551
5552	* ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.
5553
5554Mon Mar  7 22:59:39 2011  Shota Fukumori  <sorah@tubusu.net>
5555
5556	* lib/pstore.rb: Delete variable @transaction and fix #4474. Patch by
5557	  Masaki Matsushita (Glass_saga).
5558
5559	* test/test_pstore.rb(test_thread_safe): Add test for #4474.
5560
5561Mon Mar  7 21:31:38 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5562
5563	* process.c (proc_setgroups): replace getgrnam() with getgrnam_r()
5564	  because getgrnam() isn't thread safe.
5565
5566Mon Mar  7 20:49:12 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5567
5568	* process.c (proc_getmaxgroups, proc_setmaxgroups): reflect
5569	  platform maxgroups limitation by default instead hardcoded 65536.
5570
5571Mon Mar  7 17:13:00 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>
5572
5573	* gc.c (rb_gc_set_params): allow GC parameter configuration by
5574	  environment variables.  based on a patch from funny-falcon at
5575	  https://gist.github.com/856296, but honors safe level.
5576
5577Mon Mar  7 09:05:18 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5578
5579	* process.c: NUM2RLIM is defined but no getrlimit and setrlimit on
5580	  mingw.
5581
5582Mon Mar  7 08:38:14 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5583
5584	* ext/date/date_core.c (DateTimeData): should not use bare 'long long'
5585	  and 'long double', which are not defined by C89.
5586
5587	* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
5588	  down double to integer.
5589
5590Mon Mar  7 00:21:11 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5591
5592	* process.c (proc_getgroups): get rid of maxgroups dependency.
5593	  ngroups can be calculated dynamically.
5594
5595Sun Mar  6 23:45:40 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5596
5597	* configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.
5598
5599Sun Mar  6 23:26:07 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5600
5601	* process.c (proc_setmaxgroups): added negative value check.
5602	  This was suggested by Daniel Berger. Thanks Daniel!
5603	  [ruby-core:35426][Bug#4467]
5604
5605Sun Mar  6 23:18:23 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5606
5607	* process.c (maxgroups, proc_setmaxgroups): increase max groups
5608	  limitation up to 65536.
5609
5610Sun Mar  6 22:20:59 2011  Tanaka Akira  <akr@fsij.org>
5611
5612	* ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.
5613
5614Sun Mar  6 21:49:04 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5615
5616	* sample/list.rb (MyElem#initialize): initialize @head
5617	  explicitly. Otherwise -W2 option makes following warning.
5618	  "warning: instance variable @head not initialized".
5619	  This issue was founded by Andrew Grimm. Thanks Andrew!
5620	  [ruby-core:35435][Bug#4471]
5621
5622Sun Mar  6 05:21:41 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5623
5624	* class.c: fix camelCase to snake_case in documentation code examples.
5625	  patched by Andrew Grimm. fixes Bug #4469
5626
5627	* marshal.c: ditto.
5628
5629	* proc.c: ditto.
5630
5631	* sample/biorhythm.rb: ditto.
5632
5633	* vm_eval.c: ditto.
5634
5635	* vm_method.c: ditto.
5636
5637
5638Sun Mar  6 03:22:27 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5639
5640	* io.c (io_cntl): use rb_thread_io_blocking_region() instead
5641	  rb_thread_blocking_region().
5642
5643Sat Mar  5 22:54:36 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
5644
5645	* include/ruby/intern.h: fix a typo of prototype declaration.
5646	  rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213]
5647
5648Sat Mar  5 19:44:03 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5649
5650	* test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.
5651
5652Sat Mar  5 01:33:46 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5653
5654	* io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()
5655	  release GVL during calling kernel interface.
5656	  Suggested by Eric Wong. [ruby-core:35417][Bug #4463]
5657
5658	* test/ruby/test_io.rb (TestIO#test_fcntl_lock): add new test for
5659	  IO.fcntl().
5660
5661Fri Mar  4 23:09:12 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
5662
5663	* test/testunit/test_parallel.rb
5664	  (test_should_run_all_without_any_leaks): consider that the order of
5665	  testcase could change. [ruby-dev:43300] [Bug #4466]
5666
5667Fri Mar  4 22:01:14 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5668
5669	* io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need to
5670	  be passed int.
5671	* io.c (rb_io_ctl): ditto.
5672
5673Fri Mar  4 21:10:40 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5674
5675	* configure.in: save warnflags. the patch is created by Eric Wong.
5676	  [Bug #4465]
5677
5678Wed Mar  2 21:15:00 2011  Tanaka Akira  <akr@fsij.org>
5679
5680	* ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.
5681
5682Thu Mar  3 22:10:26 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5683
5684	* process.c (check_exec_redirect_fd, check_exec_redirect): raise
5685	  ArgumentError if fd >= 3 on Windows because the feature is not
5686	  supported.
5687
5688	* test/ruby/test_process.rb (test_execopts_redirect): remove meaningless
5689	  argument.
5690
5691Thu Mar  3 21:21:42 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5692
5693	* test/ruby/test_process.rb (test_execopts_redirect): redirecting fd
5694	  >= 3 is not supported on Windows, so should not specify such options
5695	  when calling spawn or others.
5696
5697Thu Mar  3 18:59:04 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5698
5699	* string.c (rb_str_slice_bang): raise error when the string is frozen.
5700
5701Thu Mar  3 14:25:19 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5702
5703	* strftime.c (STRFTIME): return 0 and ERANGE when precision is too
5704	  large. [ruby-dev:43284] fixes #4456
5705
5706Thu Mar  3 00:46:51 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5707
5708	* addr2line.c (uleb128): cast the value to unsigned long.
5709
5710	* addr2line.c (fill_lines): print error when lseek fails.
5711
5712Thu Mar  3 00:36:29 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5713
5714	* lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encoding
5715	  a String which means the name of the encoding.
5716	  this partially revert r29646.
5717
5718	* lib/rexml/document.rb: follow above.
5719
5720	* lib/rexml/output.rb: ditto.
5721
5722	* lib/rexml/parsers/baseparser.rb: ditto.
5723
5724	* lib/rexml/source.rb: ditto.
5725
5726	* lib/rexml/xmldecl.rb: ditto.
5727
5728Wed Mar  2 23:19:56 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5729
5730	* string.c (str_byte_substr): return nil for negative length.
5731
5732Wed Mar  2 21:15:00 2011  Tanaka Akira  <akr@fsij.org>
5733
5734	* ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.
5735
5736Wed Mar  2 14:24:04 2011  Shota Fukumori  <sorah@tubusu.net>
5737
5738	* lib/test/unit/parallel.rb: Fix name from `inclement_io` to
5739	  `increment_io`.
5740
5741Wed Mar  2 14:06:01 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5742
5743	* string.c (rb_str_slice_bang): move treatments which is only needed
5744	  when the result is not nil.
5745
5746Wed Mar  2 14:02:29 2011  Shota Fukumori  <sorah@tubusu.net>
5747
5748	* test/testunit/test_parallel.rb(TestParallel#spawn_runner):
5749	  Fix outputing empty line in running test.
5750
5751	* test/testunit/tests_for_parallel/test_third.rb: Remove `sleep`
5752
5753Tue Mar  1 22:29:10 2011  Tanaka Akira  <akr@fsij.org>
5754
5755	* ext/openssl/ossl_pkey.h: parenthesize macro arguments.
5756
5757Tue Mar  1 22:02:35 2011  Shota Fukumori  <sorah@tubusu.net>
5758
5759	* lib/test/unit/parallel.rb: Fix number.
5760
5761Tue Mar  1 21:48:22 2011  Shota Fukumori  <sorah@tubusu.net>
5762
5763	* lib/test/unit/parallel.rb: For Windows.
5764
5765	* test/testunit/test_parallel.rb(TestParallelWorker#test_quit_in_test):
5766	  Fix for above specification change.
5767	* test/testunit/test_parallel.rb(TestParallel#spawn_runner):
5768	  Fix outputing empty line in running test.
5769
5770Tue Mar  1 20:51:57 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5771
5772	* test/ruby/test_system.rb (TestSystem#test_system_at):
5773	  remove tests for [bug#4396]. because we decided to reject this
5774	  ticket.
5775
5776Tue Mar  1 19:46:19 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5777
5778	* test/date/{test_date.rb,test_date_attr.rb}: [ruby-dev:43280]
5779
5780Tue Mar  1 18:40:38 2011  Ryan Davis  <ryan@YPCMC09457>
5781
5782	* lib/rubygems*: Import rubygems 1.6.0 (released version @ 58d8a0b9)
5783	* test/rubygems: Ditto
5784
5785Tue Mar  1 16:22:22 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5786
5787	* win32/win32.c: revert r30987 because it causes some failures in
5788	  test-all, especially webrick.
5789
5790Tue Mar  1 15:59:53 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5791
5792	* string.c (rb_str_byteslice): the resulted encoding should keep
5793	  original encoding. this also fixes the encoding when the result
5794	  shares internal string. [ruby-core:35376]
5795
5796Tue Mar  1 13:25:00 2011  Kenta Murata <mrkn@mrkn.jp>
5797
5798	* ext/bigdecimal/bigdecimal.c (VpMemAlloc): CVE-2011-0188.
5799	  Fixes a bug reported by Drew Yao <ayao at apple.com>
5800
5801Tue Mar  1 10:34:39 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5802
5803	* string.c (rb_str_byteslice): Add String#byteslice. [ruby-core:35376]
5804
5805Tue Mar  1 00:12:49 2011  Tajima Akio <artonx@yahoo.co.jp>
5806
5807	* include/ruby/win32.h: define WIN32 if neither _WIN64 nor WIN32
5808	  defined. it forces to use push/pop for pack(4) pragma.
5809
5810Mon Feb 28 23:52:13 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
5811
5812	* test/testunit/test_rake_integration.rb (test_with_rake_runner):
5813	  use assert_in_out_err for suppress messages.
5814
5815Mon Feb 28 22:48:56 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5816
5817	* win32/win32.c (rb_w32_spawn): use shell if a commandline contain
5818	  double-quote character.
5819	* win32/win32.c (is_internal_cmd): similar, use shell if a commandline
5820	  contain caret character.
5821
5822	* test/ruby/test_system.rb (TestSystem#test_system_at): fix
5823	  wrong test case. if system() invoke a command by using shell,
5824	  system() never return nil. Also, "" quotation must not appear
5825	  twice in a command line.
5826
5827Mon Feb 28 17:36:57 2011  Tanaka Akira  <akr@fsij.org>
5828
5829	* ext/openssl/ossl_pkcs7.c: parenthesize macro arguments.
5830
5831Mon Feb 28 16:48:42 2011  Tanaka Akira  <akr@fsij.org>
5832
5833	* ext/openssl/ossl_pkcs12.c: parenthesize macro arguments.
5834
5835Mon Feb 28 16:28:15 2011  NARUSE, Yui  <naruse@ruby-lang.org>
5836
5837	* string.c (tr_trans): when the hash for multibyte repl is empty,
5838	  tr is inverse mode, and a character doesn't much the table, the
5839	  character should be replaced by last replacement. Bug #4449
5840
5841Mon Feb 28 16:38:56 2011  Tanaka Akira  <akr@fsij.org>
5842
5843	* ext/openssl/ossl_ocsp.c: parenthesize macro arguments.
5844
5845Mon Feb 28 13:02:15 2011  Danial Pearce <github@tigris.id.au>
5846
5847	* lib/tempfile.rb: Fix example file paths in docs for tempfile.
5848	  https://github.com/ruby/ruby/pull/5
5849
5850Mon Feb 28 12:56:18 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>
5851
5852	* ext/openssl/ossl_cipher.c (ossl_cipher_init): typo fix.
5853	  https://github.com/ruby/ruby/pull/8
5854
5855Mon Feb 28 12:28:13 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
5856
5857	* ext/date/date_core.c (datetime_s_now): localtime() and localtime_r()
5858	  required time_t pointer as 1st parameter, and tv_sec member of struct
5859	  timeval is long.
5860
5861Mon Feb 28 11:57:40 2011  Shota Fukumori  <sorah@tubusu.net>
5862
5863	* test/testunit/test_parallel.rb: Temporally disable test on Windows.
5864
5865Mon Feb 28 07:28:35 2011  Shota Fukumori  <sorah@tubusu.net>
5866
5867	* lib/test/unit.rb(Test::Unit::Runner#after_worker_quit):
5868	  method name more be natural English.
5869
5870	* lib/test/unit.rb(Test::Unit::Runner::Worker.launch):
5871	  IO.sync doesn't need. Should use "b" for mode.
5872
5873Sun Feb 27 21:59:37 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
5874
5875	* test/ruby/test_system.rb (TestSystem#test_system_redirect_win):
5876	  add test for system().
5877
5878Sun Feb 27 18:00:09 2011  Shota Fukumori  <sorah@tubusu.net>
5879
5880	* lib/test/unit.rb: Refactoring; Worker never use Hash for internal
5881	  storage.
5882
5883	* lib/test/unit.rb: Never use Kernel#spawn. Use IO.popen instead.
5884
5885Sun Feb 27 13:16:48 2011  Tanaka Akira  <akr@fsij.org>
5886
5887	* ext/openssl/ossl_ns_spki.c: parenthesize macro arguments.
5888
5889Sat Feb 26 17:07:53 2011  Tadayoshi Funaba  <tadf@dotrb.org>
5890
5891	* lib/date.rb: [Feature #4257]
5892
5893	* ext/date/extconf.rb: new
5894
5895	* ext/date/date_core.c: new
5896
5897Sat Feb 26 16:10:23 2011  Shota Fukumori  <sorah@tubusu.net>
5898
5899	* lib/test/unit.rb: --jobs-status won't puts over 2 lines.
5900
5901	* test/testunit/test_parallel.rb: Fix test for above.
5902
5903	* lib/test/*: refactoring.
5904
5905Sat Feb 26 07:10:05 2011  Aaron Patterson <aaron@tenderlovemaking.com>
5906
5907	* ext/psych/lib/psych/scalar_scanner.rb: fix parsing timezone's whose
5908	  whose format is (+/-)hhmm.  Thanks Goncalo Silva!
5909
5910	* test/psych/test_scalar_scanner.rb: test for bug.
5911
5912Thu Feb 24 23:02:55 2011  Tanaka Akira  <akr@fsij.org>
5913
5914	* ext/openssl/ossl_hmac.c: parenthesize macro arguments.
5915
5916Thu Feb 24 22:53:10 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5917
5918	* common.mk (love): for the birthday.
5919
5920Thu Feb 24 22:51:54 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5921
5922	* vm.c (ruby_vm_destruct): run vm exit hooks after all objects are
5923	  destructed.
5924
5925Thu Feb 24 14:40:33 2011  Shota Fukumori  <sorah@tubusu.net>
5926
5927	* ChangeLog (vim): Modeline for vim
5928
5929Thu Feb 24 13:39:25 2011  Shota Fukumori  <sorah@tubusu.net>
5930
5931	* common.mk: Use $RUNRUBY for worker process.
5932
5933	* lib/test/unit.rb: Fix bug.
5934
5935	* lib/test/unit.rb: @options[:ruby](@opts[:ruby]) is now Array.
5936
5937	* test/testunit/parallel.rb: Fix for above.
5938
5939Thu Feb 24 10:05:55 2011  Shota Fukumori  <sorah@tubusu.net>
5940
5941	* test/testunit/tests_for_parallel/misc.rb: Fix bug in r30947.
5942
5943	* lib/test/unit.rb, lib/test/unit/assertions.rb: For this test.
5944
5945Wed Feb 23 23:07:38 2011  Shota Fukumori  <sorah@tubusu.net>
5946
5947	* test/testunit/test_parallel.rb, test/testunit/parallel/*:
5948	  Test for r30939.
5949
5950	* lib/test/unit.rb: For test.
5951
5952	* lib/test/parallel.rb: For test.
5953
5954	* lib/test/unit/testcase.rb: For test.
5955
5956Wed Feb 23 22:05:13 2011  Tanaka Akira  <akr@fsij.org>
5957
5958	* ext/openssl/ossl_engine.c: parenthesize macro arguments.
5959
5960Tue Feb 22 23:15:17 2011  Shota Fukumori  <sorah@tubusu.net>
5961
5962	* lib/test/unit.rb: Fix --ruby option doesn't effect.
5963
5964	* lib/test/unit.rb: Fix typo.
5965
5966Tue Feb 22 21:39:28 2011  Tanaka Akira  <akr@fsij.org>
5967
5968	* ext/openssl/ossl_digest.c: parenthesize macro arguments.
5969
5970Tue Feb 22 14:34:26 2011  Shota Fukumori  <sorah@tubusu.net>
5971
5972	* lib/test/unit.rb: Fix merging miss.
5973
5974Tue Feb 22 12:27:26 2011  Shota Fukumori  <sorah@tubusu.net>
5975
5976	* lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--jobs-status,
5977	  --no-retry.
5978	  [Feature #4415] [ruby-dev:43226],[ruby-dev:43222],[ruby-core:35294]
5979
5980	* lib/test/unit/parallel.rb: Used at test/unit --jobs(-j) option.
5981
5982	* test/csv/test_serialization.rb: test/unit parallel running ready.
5983
5984	* test/rake/test_file_task.rb: test/unit parallel running ready.
5985
5986Tue Feb 22 06:09:10 2011  Eric Hodel  <drbrain@segment7.net>
5987
5988	* ext/syslog/syslog.c: Apply documentation patch from mathew murphy.
5989	  [Bug #4149]
5990
5991Tue Feb 22 03:09:10 2011  Aaron Patterson <aaron@tenderlovemaking.com>
5992
5993	* ext/psych/lib/psych.rb: increase Psych to 1.1.0 for help with
5994	  debugging.
5995
5996Tue Feb 22 03:04:46 2011  Aaron Patterson <aaron@tenderlovemaking.com>
5997
5998	* ext/psych/lib/psych/streaming.rb: refactor streaming methods to a
5999	  module.
6000	* ext/psych/lib/psych/stream.rb: extracted streaming specific methods
6001	  to a module.
6002	* ext/psych/lib/psych/json/stream.rb: JSON stream inherits from
6003	  JSONTree and includes streaming methods.
6004	* ext/psych/lib/psych/visitors/json_tree.rb: JSON does not support
6005	  object references, so remove object reference testing when building
6006	  JSON trees.
6007
6008Tue Feb 22 02:41:51 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6009
6010	* ext/psych/lib/psych/visitors/yaml_tree.rb (accept): use Hash#key?
6011	  when looking up object references to err on the side of cache
6012	  misses.
6013
6014Mon Feb 21 10:58:39 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6015
6016	* ext/psych/lib/psych/json/yaml_events.rb: refactoring JSON event
6017	  handling methods to a module for reuse.
6018	* ext/psych/lib/psych/json/tree_builder.rb: AST builder uses JSON
6019	  event methods.
6020	* ext/psych/lib/psych/json/stream.rb: stream emitter uses JSON event
6021	  methods.
6022
6023Mon Feb 21 10:54:29 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6024
6025	* ext/psych/lib/psych/json/stream.rb: do not emit custom tags in maps
6026	  or sequences when emitting JSON.
6027	* ext/psych/lib/psych/json/tree_builder.rb: do not emit custom tags in
6028	  sequences when emitting JSON.
6029	* test/psych/json/test_stream.rb: tests for custom stream emits.
6030	* test/psych/test_json_tree.rb: tests for JSON emits.
6031
6032Mon Feb 21 10:05:10 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6033
6034	* ext/psych/lib/psych/json/ruby_events.rb: DRY up ruby event handling
6035	  for JSON.
6036	* ext/psych/lib/psych/visitors/json_tree.rb: use ruby events module
6037	* ext/psych/lib/psych/json/stream.rb: ditto
6038
6039Mon Feb 21 10:01:01 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6040
6041	* ext/psych/lib/psych/json/stream.rb: fix JSON stream emits to use
6042	  double quotes during stream.
6043	* test/psych/json/test_stream.rb: tests to reflect changes.
6044
6045Mon Feb 21 00:38:56 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6046
6047	* test/ruby/test_system.rb (TestSystem#test_system_at):
6048	  add testcase for bug4396.
6049
6050Sun Feb 20 19:59:32 2011  Tanaka Akira  <akr@fsij.org>
6051
6052	* ext/openssl/ossl_cipher.c: parenthesize macro arguments.
6053
6054Sun Feb 20 16:26:45 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6055
6056	* thread.c (exec_recursive): prevent temporary objects from GC.
6057
6058	* prevent temporary objects from GC, and should not use
6059	  RSTRING_PTR() for function calls since it evaluates the argument
6060	  a couple of times.
6061
6062Sun Feb 20 16:22:53 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6063
6064	* file.c (rb_file_flock): use rb_thread_io_blocking_region for the
6065	  time being.
6066
6067Sun Feb 20 05:33:17 2011  Ryan Davis  <ryand-ruby@zenspider.com>
6068
6069	* lib/minitest/*.rb: Imported minitest 2.0.2 r6207.
6070	* test/minitest/*: ditto
6071
6072Sun Feb 20 02:14:09 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6073
6074	* signal.c (sig_trap): avoid pthread_sigmask(xx, &mask, &mask) usage
6075	  because FreeBSD don't permit it. If it's used, it behave as
6076	  pthread_sigmask(xx, NULL, &mask).
6077
6078	* signal.c (init_sigchld): ditto.
6079
6080Sun Feb 20 00:46:51 2011  Tanaka Akira  <akr@fsij.org>
6081
6082	* ext/openssl/ossl_bn.c: parenthesize macro arguments.
6083
6084Sat Feb 19 22:37:42 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6085
6086	* vm_insnhelper.c (vm_check_if_namespace): guard temporary object
6087	  from GC.
6088
6089Sat Feb 19 06:36:27 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6090
6091	* lib/test/unit.rb: partial revert of r30849. [ruby-core:32864]
6092
6093	* test/testunit/test_rake_integration.rb: adding an integration test
6094	  with the rake loader to prevent regressions.
6095
6096Fri Feb 18 19:31:31 2011  Shugo Maeda  <shugo@ruby-lang.org>
6097
6098	* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
6099	  race condition in the case where the given path is a directory,
6100	  and some other user can move that directory, and create a
6101	  symlink while this method is executing.
6102	  Reported by: Nicholas Jefferson <nicholas at pythonic.com.au>
6103
6104Fri Feb 18 00:28:39 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6105
6106	* compile.c (get_exception_sym2type): guard temporary object from GC.
6107
6108Thu Feb 17 23:54:29 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6109
6110	* iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_info
6111	  with nil. this fix exception in rb_iseq_load().
6112
6113Thu Feb 17 22:32:35 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6114
6115	* test/ruby/test_marshal.rb (test_marshal_dump_extra_iv):
6116	  fix a typo of local variable. [Bug #3720] [ruby-dev:42083]
6117
6118Thu Feb 17 21:32:53 2011  Tanaka Akira  <akr@fsij.org>
6119
6120	* ext/openssl/ossl.h: parenthesize macro arguments.
6121
6122Wed Feb 16 20:37:48 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6123
6124	* eval_jump.c (rb_exec_end_proc): changed at_exit and END proc
6125	  evaluation order. [Bug #4400] [ruby-core:35237]
6126	* eval_jump.c (rb_mark_end_proc): ditto.
6127
6128	* test/ruby/test_beginendblock.rb (TestBeginEndBlock#test_nested_at_exit):
6129	  added a test for nested at_exit.
6130	* test/ruby/test_beginendblock.rb (TestBeginEndBlock#test_beginendblock):
6131	  changed the test to adopt new spec.
6132
6133Wed Feb 16 20:17:06 2011  Tanaka Akira  <akr@fsij.org>
6134
6135	* ext/openssl/openssl_missing.h: parenthesize macro arguments.
6136
6137Tue Feb 15 21:37:45 2011  Tanaka Akira  <akr@fsij.org>
6138
6139	* ext/gdbm/gdbm.c: parenthesize macro arguments.
6140
6141Tue Feb 15 20:34:53 2011  Tanaka Akira  <akr@fsij.org>
6142
6143	* array.c (ary_join_1): fix array size.
6144
6145Tue Feb 15 19:43:23 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6146
6147	* configure.in: fix and resubmit r30621. [ruby-dev:43203]
6148
6149Tue Feb 15 15:41:30 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6150
6151	* array.c (array_join): copy the encoding of the first element as
6152	  an initial encoding.
6153
6154	* array.c (array_join_0): ditto.
6155
6156	* array.c (array_join_1): ditto.
6157
6158	* array.c (inspect_ary): ditto.
6159
6160	* array.c (array_join_1): add an argument to check the appending is
6161	  first one or not.
6162
6163Tue Feb 15 15:40:53 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6164
6165	* hash.c (inspect_i): copy the encoding of the first key as
6166	  an initial encoding.
6167
6168Mon Feb 14 15:00:16 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6169
6170	* array.c (inspect_ary): don't taint the inspected result of a
6171	  recursive array.
6172
6173Tue Feb 15 15:43:29 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6174
6175	* encoding.c (rb_enc_compatible): change the rule for empty strings:
6176	  remove the special treatment of the US-ASCII encoded empty string.
6177	  Now Encoding.compatible? usually respect the encoding of the
6178	  receiver.
6179
6180Tue Feb 15 15:39:37 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6181
6182	* string.c (rb_enc_cr_str_buf_cat): remove special treatment of
6183	  ASCII-8BIT receivers.
6184
6185	* string.c (str_gsub): set initial encoding of the buffer as the
6186	  same of the receiver. [ruby-core:35141]
6187
6188Tue Feb 15 09:49:33 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6189
6190	* test/ruby/test_system.rb (TestSystem#test_system_at): use findstr
6191	  command instead of find command, because the latter is confusing
6192	  another famous Unix command.
6193
6194Mon Feb 14 23:01:19 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6195
6196	* thread.c (rb_thread_io_blocking_region): reset th->waiting_fd
6197	  after blocking region, because remaining waiting_fd might
6198	  cause unnecessary IOError.
6199
6200Mon Feb 14 21:06:50 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>
6201
6202	* configure.in: revert r30621.  That revision introduced mkmf test
6203	  failures and it turned out to be OK to revert. [ruby-dev:43203]
6204
6205Mon Feb 14 21:04:01 2011  Tanaka Akira  <akr@fsij.org>
6206
6207	* ext/fiddle/conversions.h: parenthesize macro arguments.
6208
6209Mon Feb 14 18:41:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6210
6211	* win32/setup.mak (USE_RUBYGEMS): fixed r30835. It didn't work on
6212	  mswin32 port. If you changed win32/configure.bat, you should change
6213	  setup.mak too.
6214
6215Mon Feb 14 17:28:34 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6216
6217	* test/ruby/test_system.rb (TestSystem#test_system_at):
6218	  added test. [ruby-core:35218] (#4393)
6219
6220Mon Feb 14 13:15:35 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6221
6222	* win32/win32.c (is_internal_cmd): if the first char of prog is '@',
6223	  execute it via shell.  [ruby-core:35218] (#4393)
6224
6225Mon Feb 14 10:33:45 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6226
6227	* lib/test/unit.rb: revert r30863, because it causes too many noise.
6228
6229Mon Feb 14 07:34:55 2011  Tanaka Akira  <akr@fsij.org>
6230
6231	* ext/curses/curses.c: parenthesize macro arguments.
6232
6233Sun Feb 13 19:41:47 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6234
6235	* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): skip
6236	  test suites failed to load instead of mere messages.
6237
6238Sun Feb 13 09:56:44 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6239
6240	* test/openssl/test_config.rb (OpenSSL#test_freeze): fix error
6241	  message assertion.
6242
6243	* test/io/nonblock/test_flush.rb (TestIONonblock#flush_test):
6244	  return true to finish the test.
6245
6246	* test/syck/test_string.rb (Syck::TestString#test_non_binary_string):
6247	  use assert_not instead of refute, unless required minitest
6248	  explicitly.
6249
6250	* test/test_prime.rb (TestPrime::sieve.Integer): ditto.
6251
6252	* test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):
6253	  catch IOError when server socket was closed.
6254
6255Sun Feb 13 07:39:51 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>
6256
6257	* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in
6258	  [ruby-core:35216].
6259
6260Sun Feb 13 00:48:47 2011  Tadayoshi Funaba  <tadf@dotrb.org>
6261
6262	* lib/date.rb (Date#===): [ruby-core:35127]
6263
6264Sun Feb 13 00:29:18 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6265
6266	* lib/test/unit.rb (Test::Unit::Options#process_args): always
6267	  return options.
6268
6269	* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): return
6270	  if any test case get loaded.
6271
6272	* lib/test/unit.rb (Test::Unit::AutoRunner#initialize): do not add
6273	  default directory if it is nil.
6274
6275	* lib/test/unit.rb (Test::Unit::AutoRunner#process_args): return
6276	  true if any test cases to run.
6277
6278Sat Feb 12 23:17:43 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6279
6280	* lib/test/unit.rb (assert_include): add alias.
6281
6282Sat Feb 12 14:44:20 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6283
6284	* thread.c (rb_thread_io_blocking_region): new function to run
6285	  blocking region with GIL released, for fd.
6286
6287	* thread.c (rb_thread_fd_close): implement.  [ruby-core:35203]
6288
6289	* vm.c (th_init): rename from th_init2.
6290
6291Sat Feb 12 14:41:36 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6292
6293	* lib/test/unit.rb (Test::Unit::AutoRunner#initialize): use
6294	  default_dir if no test case given.
6295
6296	* lib/test/unit.rb (Test::Unit::Runner): rename from Test::Unit::Mini.
6297
6298	* lib/test/unit.rb (Test::Unit::GlobOption#non_options): run tests
6299	  under base directory if no argument given.
6300
6301Sat Feb 12 08:03:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6302
6303	* test/ruby/test_settracefunc.rb (TestSetTraceFunc): ensure to use
6304	  method_added hook defined in Module.
6305
6306Sat Feb 12 01:04:02 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6307
6308	* ruby.c (proc_options): enable rubygems if --gem option is given.
6309
6310	* ruby.c (process_options): load rubygems if it is disabled but
6311	  --gem option is given.
6312
6313Fri Feb 11 23:27:50 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
6314
6315	* ruby.c (proc_options): add --gem=enabled as an alias of
6316	  --enable=gems and --gem=disabled as an alias of --disable=gems.
6317	  Gem named "enabled" or "disabled" has already been reserved
6318	  legitimately for this purpose.
6319
6320Fri Feb 11 23:17:04 2011  Tanaka Akira  <akr@fsij.org>
6321
6322	* ext/dl/cfunc.c: parenthesize macro arguments.
6323
6324Fri Feb 11 21:41:53 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6325
6326	* bin/testrb, test/runner.rb, lib/test/unit.rb: improve backward
6327	  compatibility.
6328
6329Fri Feb 11 19:45:26 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6330
6331	* eval.c (ruby_cleanup): use rb_ary_free to free internal object.
6332
6333	* gc.h (RUBY_FREE_UNLESS_NULL): get rid of double free.
6334	  [ruby-core:35192]
6335
6336Fri Feb 11 16:57:03 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6337
6338	* test/ruby/test_transcode.rb (test_from_cp50221): fix wrong
6339	  assertion and move back.
6340
6341Fri Feb 11 14:33:18 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6342
6343	* lib/test/unit/assertions.rb (assert_no_match): alias for
6344	  backward compatibility.
6345
6346Fri Feb 11 12:06:48 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6347
6348	* ruby.c (add_gems, require_libraries, proc_options): add
6349	  --require and --gem options.
6350
6351Fri Feb 11 12:03:24 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6352
6353	* configure.in (rubygems): add --disable-rubygems option.
6354
6355Fri Feb 11 11:39:03 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6356
6357	* template/fake.rb.in (CROSS_COMPILING): get rid of NameError.
6358
6359Thu Feb 10 23:12:34 2011  Tanaka Akira  <akr@fsij.org>
6360
6361	* ext/dl/dl.h: parenthesize macro arguments.
6362
6363Wed Feb  9 23:11:27 2011  Tanaka Akira  <akr@fsij.org>
6364
6365	* ext/pty/pty.c: parenthesize macro arguments.
6366
6367Tue Feb  8 11:47:11 2011  Loren Sands-Ramshaw  <lorensr@gmail.com>
6368
6369	* array.c: documentation clarification in rotate, rotate!,
6370	  index, and rindex. [ruby-core:35144]
6371
6372Wed Feb  9 09:45:43 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6373
6374	* test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong)
6375	  platform-dependent hacks.
6376
6377Wed Feb  9 00:47:18 2011  Tanaka Akira  <akr@fsij.org>
6378
6379	* ext/etc/etc.c: parenthesize macro arguments.
6380
6381Tue Feb  8 19:38:00 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6382
6383	* misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.
6384
6385Tue Feb  8 19:22:59 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6386
6387	* configure.in (AC_MSG_CHECKING): fixed typo. the patch is
6388	  created by Benoit Daloze. Thanks a lot. [Bug #4384][ruby-core:35148]
6389
6390Tue Feb  8 16:04:03 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6391
6392	* io.c (rb_io_s_sysopen): use NUM2MODET() instead NUM2UINT().
6393
6394Tue Feb  8 15:59:23 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6395
6396	* process.c (rb_run_exec_options_err): use MODET2NUM() instead
6397	  LONG2NUM().
6398
6399Tue Feb  8 13:59:56 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6400
6401	* configure.in: revert r30725. Now we have proper runtime fallback.
6402	  Therefore, no need compile time disabling. (see r30762).
6403
6404Tue Feb  8 01:00:21 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6405
6406	* process.c (proc_setgroups): add GC guard to prevent intermediate
6407	  variable from GC.
6408
6409Tue Feb  8 00:56:33 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6410
6411	* misc/ruby-mode.el (ruby-expr-beg, ruby-in-here-doc-p): tell
6412	  singleton class definitions from here documents.
6413
6414	* misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial): keyword
6415	  followed by colon is label.
6416
6417Mon Feb  7 22:56:16 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6418
6419	* lib/benchmark.rb (Benchmark#bmbm): use ensure clause instead of
6420	  Object#tap to restore STDOUT.sync.
6421
6422Mon Feb  7 22:34:20 2011  Tanaka Akira  <akr@fsij.org>
6423
6424	* lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name
6425	  Indication) for HTTPS.  [ruby-dev:43164]
6426	  http://stackoverflow.com/questions/4685736/openssl-server-name-indication-support-in-ruby
6427
6428Mon Feb  7 16:05:32 2011  Eric Hodel  <drbrain@segment7.net>
6429
6430	* lib/rdoc: Upgrade to RDoc 3.5.3  Fixes [Bug #4376]
6431
6432Mon Feb  7 11:46:59 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6433
6434	* common.mk (rdoc): add --encoding=UTF-8; ruby's rdoc must be UTF-8.
6435
6436Mon Feb  7 10:21:50 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6437
6438	* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
6439	  there is no easy way to create owner unreadable file on Windows.
6440	  So, skip the test.
6441
6442Sun Feb  6 13:48:29 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6443
6444	* ext/json/lib/json/common.rb (JSON::MissingUnicodeSupport.iconv):
6445	  should not drop rest of the result.  use Iconv.conv instead.
6446
6447Sun Feb  6 12:46:02 2011  Eric Hodel  <drbrain@segment7.net>
6448
6449	* string.c (gsub): Ensure result encoding is the same as input
6450	  encoding.  [Bug #4340].
6451
6452Sun Feb  6 12:18:25 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6453
6454	* parse.y (words, qwords): dispatch array events.  based on a
6455	  patch from Michael Edgar.  [Bug #4365].
6456
6457Sun Feb  6 12:12:59 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6458
6459	* test/fileutils/fileasserts.rb (FileAssertions): separate module.
6460
6461Sun Feb  6 11:29:23 2011  Tanaka Akira  <akr@fsij.org>
6462
6463	* ext/dbm/dbm.c: parenthesize macro arguments.
6464
6465Sat Feb  5 22:01:59 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6466
6467	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
6468	  revert r30796. r30797 and r30798 are an alternative fix.
6469	  [ruby-dev:43174]
6470
6471Sat Feb  5 21:47:09 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6472
6473	* parse.y (mlhs_basic): include mlhs_post for ripper.  a patch
6474	  from Michael Edgar at [ruby-core:35078].
6475
6476Sat Feb  5 21:22:21 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6477
6478	* lib/test/unit/assertions.rb (assert_block): move from
6479	  test/fileutils/fileasserts.rb.
6480
6481	* test/fileutils/fileasserts.rb (assert_block): pass arguments
6482	  as-is.  [ruby-dev:43174]
6483
6484Sat Feb  5 16:47:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6485
6486	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
6487	  msg can be passed nil. [Bug #4371] [ruby-dev:43174]
6488
6489Sat Feb  5 15:18:25 2011  Eric Hodel  <drbrain@segment7.net>
6490
6491	* lib/rdoc: Upgrade to RDoc 3.5.2
6492
6493Sat Feb  5 12:05:27 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6494
6495	* ext/syck/rubyext.c (syck_node_init_copy): SyckNode is not
6496	  copiable.  [ruby-core:35094]
6497
6498Sat Feb  5 11:48:47 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6499
6500	* ext/openssl/ossl_cipher.c (ossl_cipher_alloc): leave data ptr
6501	  NULL.
6502
6503	* ext/openssl/ossl_cipher.c (ossl_cipher_new, ossl_cipher_initialize):
6504	  allocate internal structure.  [ruby-core:35094]
6505
6506	* ext/openssl/ossl_cipher.c (ossl_cipher_copy): ditto.
6507
6508Sat Feb  5 11:29:10 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6509
6510	* ext/json/parser/parser.h (GET_PARSER): raise TypeError.
6511
6512	* ext/json/parser/parser.rl (cParser_initialize): ditto.
6513
6514	* ext/json/parser/parser.h (GET_PARSER): check if initialized.
6515	  [ruby-core:35079]
6516
6517	* ext/json/parser/parser.rl (cParser_initialize): ditto.
6518
6519Sat Feb  5 10:09:31 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6520
6521	* load.c (rb_get_expanded_load_path): always expand load paths.
6522
6523Sat Feb  5 09:38:08 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6524
6525	* transcode.c (encoded_dup): extract.
6526
6527Sat Feb  5 03:37:47 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6528
6529	* lib/fileutils.rb (FileUtils::LowMethods): make low level methods
6530	  in NoWrite and DryRun to do nothing.  [ruby-dev:43129]
6531
6532	* test/fileutils/fileasserts.rb: add message arguments.
6533
6534	* test/fileutils/fileasserts.rb (Test::Unit::Assertions#assert_block):
6535	  show the given message.
6536
6537Sat Feb  5 02:09:39 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6538
6539	* parse.y (lex_getline, parser_set_encode): set encoding of lines
6540	  in SCRIPT_LINES__ as source encoding.  [ruby-dev:43168]
6541
6542Sat Feb  5 02:08:37 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6543
6544	* vm.c (ruby_thread_data_type): add prefix.
6545
6546Sat Feb  5 00:59:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6547
6548	* vm_core.h (GetThreadPtr): use TypedData_Get_Struct() instead
6549	  CoreDataFromValue() because we need type check. Otherwise,
6550	  type mismatch can cause segmentation fault crash.
6551	  [ruby-core:35086] [Ruby 1.9-Bug#4367]
6552
6553	* vm.c (thread_data_type): remove static.
6554
6555Fri Feb  4 19:14:27 2011  Tanaka Akira  <akr@fsij.org>
6556
6557	* enc/trans/utf8_mac.trans: parenthesize macro arguments.
6558
6559Fri Feb  4 12:11:51 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6560
6561	* string.c (str_utf8_nth): fixed a condition of optimized lead
6562	  byte counting. [Bug #4366][ruby-dev:43170]
6563
6564Fri Feb  4 01:50:13 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6565
6566	* string.c (count_utf8_lead_bytes_with_word): wrote function
6567	  comments.
6568
6569Fri Feb  4 00:14:55 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6570
6571	* ext/zlib/zlib.c (gzfile_reader_get_unused): no need to dup
6572	  before rb_str_resurrect.
6573
6574Thu Feb  3 20:04:44 2011  Tanaka Akira  <akr@fsij.org>
6575
6576	* ext/curses/curses.c (CHECK): unused macro removed.
6577
6578Thu Feb  3 18:33:26 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6579
6580	* ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_resurrect
6581	  because gz->z.input is hidden string. [ruby-core:35057]
6582
6583Thu Feb  3 16:34:10 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6584
6585	* enc/shift_jis.c (code_to_mbc): cast as int from the subtraction of
6586	  pointers.
6587
6588	* enc/utf_16le.c (utf16le_mbc_enc_len): use ptrdiff_t.
6589
6590	* enc/utf_32be.c (utf32be_left_adjust_char_head): ditto.
6591
6592	* enc/utf_32le.c (utf32le_left_adjust_char_head): ditto.
6593
6594Thu Feb  3 16:31:43 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6595
6596	* include/ruby/missing.h: don't use HAVE_STDDEF_H because it never
6597	  defined by configure though configure.bat defines it.
6598
6599	* include/ruby/ruby.h: move include stddef.h to defines.h
6600
6601	* include/ruby/defines.h: ditto.
6602
6603Wed Feb  2 20:25:04 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6604
6605	* include/ruby/encoding.h (rb_enc_step_back): cast 4th argument 'n'
6606	  as int because Ruby usually treats length value as long but
6607	  onigenc_step_back's 4th argument is int.
6608
6609Thu Feb  3 07:20:46 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6610
6611	* ext/psych/lib/psych/visitors/to_ruby.rb: use Regexp::NOENCODING
6612	  rather than magic number.
6613
6614	* ext/syck/lib/syck/rubytypes.rb: ditto
6615
6616Thu Feb  3 07:16:11 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6617
6618	* re.c (Init_Regexp): added a constant for ARG_ENCODING_NONE
6619	  [ruby-core:35054]
6620
6621	* test/ruby/test_regexp.rb: corresponding test.
6622
6623Thu Feb  3 07:02:16 2011  Aaron Patterson <aaron@tenderlovemaking.com>
6624
6625	* ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regular
6626	  expressions can round trip. [ruby-core:34969]
6627
6628	* test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex
6629
6630	* ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regular
6631	  expressions can round trip.
6632
6633	* test/syck/test_yaml.rb: test for ARG_ENCODING_NONE regex
6634
6635Wed Feb  2 17:09:22 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6636
6637	* io.c (rb_io_fdatasync): Use fsync(2) if the underlying
6638	  operating system does not support fdatasync(2).
6639
6640Wed Feb  2 14:51:08 2011  Eric Hodel  <drbrain@segment7.net>
6641
6642	* lib/rdoc/markup/to_tt_only.rb: commit miss
6643	* test/rdoc/test_rdoc_markup_to_tt_only.rb: ditto
6644	* test/rdoc/test_rdoc_single_class.rb: ditto
6645
6646Wed Feb  2 09:27:53 2011  Eric Hodel  <drbrain@segment7.net>
6647
6648	* lib/rdoc: Upgrade to RDoc 3.5.1
6649
6650Wed Feb  2 00:30:43 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6651
6652	* include/ruby/st.h (st_table): Added comment why we need __extension__.
6653
6654Tue Feb  1 20:45:44 2011  Tanaka Akira  <akr@fsij.org>
6655
6656	* enc/encdb.c: parenthesize macro arguments.
6657
6658Tue Feb  1 15:12:26 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6659
6660	* test/ruby/test_require.rb (TestRequire#test_require_with_unc):
6661	  use ``127.0.0.1'' instead of ``localhost'' as host name, because
6662	  XP or earlier cannot resolv it as NBT hostname.
6663
6664Tue Feb  1 13:20:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6665
6666	* test/benchmark/test_benchmark.rb (#capture_bench_output):
6667	  Added explicit sleep. Windows have imprecise time support.
6668	  Thus Tms.new.Add!{} may be or may be not equal 0. The
6669	  test failure started since r30747.
6670
6671Tue Feb  1 11:03:47 2011  Ryan Davis  <ryan@lust.local>
6672
6673	* lib/rubygems*: Import rubygems 1.5.0 (released version @ 1fb59d0)
6674	* test/rubygems: Ditto
6675
6676Tue Feb  1 08:01:39 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6677
6678	* ext/io/console/console.c (console_set_winsize): new method to set
6679	  console size.  [EXPERIMENTAL]
6680
6681	* ext/io/console/console.c (console_winsize): use GetWriteFD.
6682
6683Tue Feb  1 02:28:14 2011  Masaya Tarui  <tarui@ruby-lnag.org>
6684
6685	* include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.
6686	  inet_ntop's minimum supported client is Vista.
6687
6688Tue Feb  1 00:10:30 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6689
6690	* lib/benchmark.rb: fix benchmark to work with current ruby.
6691	  patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
6692	  merged from https://github.com/eregon/ruby/commits/benchmark
6693
6694	*  lib/benchmark (Report#width): update documentation
6695	*  lib/benchmark: document the return value of #benchmark and the
6696	   :list attribute in Report
6697	*  lib/benchmark (Tms#format): rename variables, use String#%
6698	   instead of Kernel.format
6699	*  lib/benchmark: remove undocumented Benchmark::times (an alias
6700	   of Process::times used twice)
6701	*  lib/benchmark (#benchmark): use label_width for the caption
6702	*  lib/benchmark (Tms#initialize): rename variables
6703	*  lib/benchmark: allow title to not be a String and call #to_s
6704	*  lib/benchmark (Benchmark#bm): return an Array of the times with
6705	   the labels
6706	*  lib/benchmark: correct output for Benchmark#bmbm
6707	   (remove the extra space)
6708	*  lib/benchmark: add a few tests for Benchmark::Tms output
6709	*  lib/benchmark: improve style (enumerators, ljust, unused vars)
6710	*  lib/benchmark: add spec about output and return value
6711	*  lib/benchmark: improve basic style and consistency
6712	   no parenthesis for print and use interpolation instead of printf
6713	*  lib/benchmark: remove unnecessary conversions and variables
6714	*  lib/benchmark: correct indentation
6715	*  lib/benchmark: rename the FMTSTR constant and variable to FORMAT
6716	*  lib/benchmark: remove useless exception
6717
6718	*  test/benchmark: remove unused variable warnings
6719
6720Mon Jan 31 23:27:23 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6721
6722	* node.c (add_id): remove duplicated rb_id2str() call.
6723
6724Sun Jan 30 17:19:46 2011  Tanaka Akira  <akr@fsij.org>
6725
6726	* missing/langinfo.c: parenthesize macro arguments.
6727
6728Mon Jan 31 21:57:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6729
6730	* configure.in: revert r30698.
6731
6732Mon Jan 31 21:32:44 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
6733
6734	* thread.c (thread_start_func_2): check deadlock condition before
6735	  release thread stack. fix memory violation when deadlock detected.
6736	  reported by Max Aller. [Bug #4009] [ruby-core:32982]
6737
6738Mon Jan 31 14:45:47 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
6739
6740	* lib/irb/locale.rb (IRB::Locale::#search_file):
6741	  Gem might be undefined if --disable-gems. [ruby-core:34990]
6742
6743Mon Jan 31 12:26:14 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6744
6745	* addr2line.c: suppressed shorten-64-to-32 warnings.
6746	* regcomp.c: ditto.
6747	* regexec.c: ditto.
6748	* regint.h: ditto.
6749	* regparse.c: ditto.
6750	* regparse.h: ditto.
6751	* time.c: ditto.
6752	* variable.c: ditto.
6753
6754Mon Jan 31 04:45:12 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6755
6756	* array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) before
6757	  ary_resize_capa because ary_resize_capa expects resized length is
6758	  smaller than current array length. call rb_ary_unshare before
6759	  ary_resize_capa because ary_resize_capa lost the reference to
6760	  original shared array. [ruby-core:34997]
6761
6762Sun Jan 30 17:19:46 2011  Tanaka Akira  <akr@fsij.org>
6763
6764	* missing/crypt.c: parenthesize macro arguments.
6765
6766Sun Jan 30 16:40:27 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6767
6768	* test/rubygems/test_gem_security.rb (TestGemSecurity): valid only
6769	  if OpenSSL is available.
6770
6771	* test/dl/test_dl2.rb (TestDL#test_sin): math functions do not
6772	  work on x86_64 due to the design of DL2.
6773
6774	* test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto.
6775
6776Sun Jan 30 16:09:22 2011  Tanaka Akira  <akr@fsij.org>
6777
6778	* strftime.c (rb_strftime_with_timespec): %G produces 4 digits.
6779
6780Sun Jan 30 15:13:19 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6781
6782	* enc/emacs_mule.c (emacsmule_islead): 7bit range is also leading
6783	  byte.
6784
6785Sun Jan 30 13:03:16 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6786
6787	* hash.c (rb_hash_fetch_m): use useful message for longer key, not a
6788	  nonsense id value.
6789
6790	* string.c (rb_str_ellipsize): new function to ellipsize a string.
6791
6792	* include/ruby/encoding.h (rb_enc_step_back): new function to step
6793	  back n characters.
6794
6795Sun Jan 30 12:53:38 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6796
6797	* enc/emacs_mule.c (emacsmule_islead): fix inverse condition.
6798
6799Sun Jan 30 09:37:25 2011  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
6800
6801	* io.c (struct argf): char behaves like an unsigned char
6802	  by default on AIX.
6803
6804Sun Jan 30 08:02:55 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6805
6806	* configure.in: Mac OS X wrongly reports it has fdatasync(3).
6807
6808Sun Jan 30 03:29:47 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6809
6810	* ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case.
6811	  patched by Martin Bosslet. [ruby-core:34987]
6812
6813Sun Jan 30 01:02:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6814
6815	* include/ruby/ruby.h: Added NUM2MODET() and MODET2NUM() default
6816	  definition.
6817	  Because r30686 introduced win32 build failure.
6818
6819Sat Jan 29 22:16:26 2011  NARUSE, Yui  <naruse@ruby-lang.org>
6820
6821	* array.c (rb_ary_join): [].join.encoding must be US-ASCII.
6822	  [ruby-list:47790]
6823
6824Sat Jan 29 20:22:39 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6825
6826	* benchmark/driver.rb (BenchmarkDriver#measure): Show command line
6827	  when abnormal exiting occur.
6828
6829Sat Jan 29 10:53:16 2011  Yusuke Endoh  <mame@tsg.ne.jp>
6830
6831	* vm_insnhelper.c (vm_get_ev_const): no-scope reference to toplevel
6832	  private constant has been prohibited incorrectly.
6833
6834	* test/ruby/test_module.rb (test_toplevel_private_constant): add a
6835	  test for above.
6836
6837Sat Jan 29 08:43:23 2011  Ryan Davis  <ryand-ruby@zenspider.com>
6838
6839	* lib/rubygems*: Import rubygems 1.5.0 (release candidate @ 09893d9)
6840	* test/rubygems: Ditto
6841
6842Sat Jan 29 02:02:37 2011  Yusuke Endoh  <mame@tsg.ne.jp>
6843
6844	* variable.c (rb_mod_const_of, sv_i): Module#constant should exclude
6845	  private constants.  see [ruby-core:32912].
6846
6847	* test/ruby/test_module.rb (test_constants_with_private_constant): add
6848	  a test for above.
6849
6850Sat Jan 29 01:36:41 2011  Yusuke Endoh  <mame@tsg.ne.jp>
6851
6852	* variable.c (rb_const_set): const_set should preserve constant
6853	  visibility.  see [ruby-core:32912].
6854
6855	* test/ruby/test_module.rb: add a test for above.
6856
6857Sat Jan 29 01:24:57 2011  Yusuke Endoh  <mame@tsg.ne.jp>
6858
6859	* compile.c (NODE_CLASS, NODE_MODULE), insns.def (defineclass): raise
6860	  an exception when "class Foo::Bar" is evaluated and Foo::Bar is
6861	  private.  To implement this, define_type of "defineclass" is added
6862	  so that the instruction can distinguish whether the class definition
6863	  is scoped (class Foo::Bar) or not (class Bar).
6864
6865	* test/ruby/test_class.rb (test_redefine_private_class),
6866	  test/ruby/test_module.rb
6867	  (test_define_module_under_private_constant): add tests for above.
6868
6869Sat Jan 29 01:19:17 2011  Yusuke Endoh  <mame@tsg.ne.jp>
6870
6871	* constant.h, variable.c: to ensure compatibility, rb_const_get_* must
6872	  not raise an exception even when the constant is private.  Instead,
6873	  rb_public_const_get_* and rb_public_const_defined_* are introduced,
6874	  which raise an exception when the referring constant is private.
6875	  see [ruby-core:32912].
6876
6877	* vm_insnhelper.c (vm_get_ev_const): use rb_public_const_get_* instead
6878	  of rb_const_get_* to follow the constant visibility when user code
6879	  refers a constant.
6880
6881	* test/ruby/test_marshal.rb (test_marshal_private_class): add a test.
6882	  This test had failed because of incompatibility of rb_const_get.
6883
6884Sat Jan 29 00:30:44 2011  Yusuke Endoh  <mame@tsg.ne.jp>
6885
6886	* variable.c (set_const_visibility): fix typo.  a patch from Tomoyuki
6887	  Chikanaga in [ruby-core:32919].
6888
6889Fri Jan 28 23:20:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6890
6891	* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create,
6892	  TestGDBM2#test_writer_open_notexist): We only need to skip libgdbm
6893	  1.8.0, not all 1.8.x. 1.8.1 or later don't have GDBM_WRITER sickness.
6894
6895Fri Jan 28 21:56:57 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6896
6897	* ext/dbm/extconf.rb: Added new header places for Fedora13.
6898
6899Fri Jan 28 21:49:30 2011  Tanaka Akira  <akr@fsij.org>
6900
6901	* ext/zlib/zlib.c: parenthesize macro arguments.
6902
6903Fri Jan 28 17:47:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6904
6905	* test/gdbm/test_gdbm.rb (TestGDBM2#test_writer_open_notexist):
6906	  gdbm 1.8.x changed GDBM::WRITER behavior. Thus our testcase need
6907	  to be changed too.
6908
6909Fri Jan 28 17:33:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6910
6911	* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
6912	  the test if gdbm version is 1.8.x.
6913
6914Fri Jan 28 16:30:51 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6915
6916	* test/ruby/test_require.rb (TestRequire#test_require_too_long_filename):
6917	  Added -w option because too long path error don't output a message
6918	  by default since r30660. [Bug #4336] [ruby-dev:43134]
6919
6920Fri Jan 28 16:19:38 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6921
6922	* test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2}):
6923	  Added -w option because too long path error don't output a message
6924	  by default since r30660. [Bug #4336] [ruby-dev:43134]
6925
6926Fri Jan 28 16:04:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6927
6928	* test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2,3}):
6929	  split from test_require_path_home.
6930
6931Fri Jan 28 13:04:38 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6932
6933	* configure.in (--with-valgrind): Fixed r29683. Now this option
6934	  is really default on.
6935
6936Fri Jan 28 12:05:48 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6937
6938	* configure.in: Add #include<sys/stat.h> when struct stat is
6939	  tested. Otherwise, incomplete type dereference error will occur.
6940
6941Fri Jan 28 11:53:19 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6942
6943	* configure.in: redundant variable names made strange conftest
6944	  error. Fixed it.
6945
6946Fri Jan 28 11:47:00 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
6947
6948	* test/ruby/test_process.rb (TestProcess#test_too_long_path{,2}):
6949	  should handle Errno::E2BIG, because this test checks crash of ruby,
6950	  not the error type system.
6951
6952Fri Jan 28 11:23:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6953
6954	* io.c (rb_io_open): Use NUM2MODET() instead NUM2UINT().
6955	* io.c (rb_scan_open_args): ditto.
6956
6957Fri Jan 28 10:58:20 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6958
6959	* configure.in: Added mode_t type checking.
6960	* process.c (rb_exec_arg_addopt): Use NUM2MODET() instead
6961	  NUM2LONG because clang makes compile error by this narrowing
6962	  conversion.
6963	* process.c (rb_run_exec_options_err): ditto.
6964
6965Fri Jan 28 02:37:18 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6966
6967	* re.c (rb_reg_raise): add GC guard to prevent intermediate
6968	  variable from GC.
6969
6970Fri Jan 28 02:35:41 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6971
6972	* hash.c (rb_hash_fetch_m): add GC guard to prevent intermediate
6973	  variable from GC.
6974
6975Fri Jan 28 01:33:51 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6976
6977	* test/ruby/test_process.rb (TestProcess#test_too_long_path)
6978	  TestProcess#test_too_long_path): Reduced string size from 100MB
6979	  to 10MB. 100MB may cause no memory error. It isn't intended.
6980
6981Fri Jan 28 01:27:42 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6982
6983	* test/ruby/test_process.rb (TestProcess#test_too_long_path2):
6984	  Factored out from test_too_long_path. A test should only do
6985	  one test.
6986
6987Thu Jan 27 23:29:36 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6988
6989	* st.c (st_foreach): check if unpacked.
6990
6991Thu Jan 27 23:14:19 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6992
6993	* misc/ruby-mode.el (ruby-mode-map): remove deprecated binding.
6994	  use M-; instead.
6995
6996Thu Jan 27 21:58:32 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
6997
6998	* bignum.c (rb_str_to_inum): get rid of too huge alloca().
6999
7000Thu Jan 27 21:43:29 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7001
7002	* object.c (rb_str_to_dbl): rewrite again. use ALLOCV instead
7003	  rb_str_tmp_new().
7004
7005Thu Jan 27 21:41:47 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7006
7007	* win32/win32.c: get rid of STRNDUPA(). It's dangerous API.
7008
7009Thu Jan 27 21:31:57 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7010
7011	* win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().
7012	  [Bug #4330] [ruby-core:34898]
7013
7014Thu Jan 27 20:30:18 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7015
7016	* win32/win32.c (rb_w32_spawn): get rid of too huge alloca().
7017
7018Thu Jan 27 18:49:53 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7019
7020	* win32/win32.c (open_dir_handle): get rid of too huge alloca().
7021
7022Thu Jan 27 18:34:58 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7023
7024	* file.c (w32_io_info): get rid of too huge alloca().
7025	  [Bug #4313] [ruby-core:34830]
7026
7027Thu Jan 27 18:19:51 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7028
7029	* win32/win32.c (wstati64): get rid of too huge alloca().
7030	  [Bug #4316] [ruby-core:34834]
7031
7032Thu Jan 27 15:11:52 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7033
7034	* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too huge
7035	  alloca(). this is the real fix of [ruby-core:34833].
7036
7037Thu Jan 27 12:46:25 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7038
7039	* process.c (ALLOC_ARGV_WITH_STR): fix void pointer arithmetic.
7040
7041Thu Jan 27 08:41:40 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7042
7043	* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec)
7044	  (proc_spawn_n, proc_spawn): get rid of too huge alloca().
7045	  [ruby-core:34827], [ruby-core:34833]
7046
7047Thu Jan 27 08:32:17 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7048
7049	* include/ruby/ruby.h (ALLOCV): new API for exception-safe
7050	  temporary buffer.  [ruby-core:34844]
7051
7052	* string.c (rb_alloc_tmp_buffer, rb_free_tmp_buffer):
7053	  implementation of the API.
7054
7055Thu Jan 27 08:22:49 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7056
7057	* dln_find.c (dln_find_1): use rb_warning and return immediately
7058	  if fname is longer than buffer.
7059
7060Wed Jan 26 22:57:30 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
7061
7062	* class.c (clone_method): add GC guard to prevent intermediate
7063	  variable from GC. [Bug #4321] [ruby-dev:43107]
7064
7065Wed Jan 26 22:45:16 2011  Tanaka Akira  <akr@fsij.org>
7066
7067	* template/id.h.tmpl: parenthesize macro arguments.
7068
7069Wed Jan 26 22:28:49 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
7070
7071	* vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
7072	  variable from GC. [Bug #4322] [ruby-dev:43108]
7073
7074Wed Jan 26 17:08:59 2011  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
7075
7076	* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): OpenSSL::ASN1.decode
7077	  should reject indefinite length primitive encodings as that is
7078	  illegal. Patch by Martin Bosslet. See #4324.
7079
7080Wed Jan 26 10:36:28 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7081
7082	* string.c (=~): documentation fix; the return value is nil when
7083	  it doesn't match. patched by Andrei Kulakov [ruby-core:34562]
7084
7085Tue Jan 25 08:41:58 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7086
7087	* dln_find.c (dln_find_1): omit too long pathnames.
7088
7089Tue Jan 25 08:28:19 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7090
7091	* string.c (rb_str_resize): get rid of out-of-bound access.
7092
7093Tue Jan 25 07:48:22 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7094
7095	* test/ruby/test_thread.rb: remove unused variables.
7096
7097Tue Jan 25 07:45:44 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7098
7099	* test/ruby/test_thread.rb (TestThread#test_condvar_nolock_2): get
7100	  rid of method redefined.
7101
7102Tue Jan 25 07:00:52 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7103
7104	* string.c (rb_string_value_cstr): rb_str_modify can change
7105	  RSTRING_PTR.
7106
7107Tue Jan 25 03:24:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7108
7109	* test/ruby/test_thread.rb: Added various ConditionVariable tests.
7110
7111Mon Jan 24 22:26:33 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7112
7113	* object.c (rb_str_to_dbl): Fix again. use rb_str_tmp_new()
7114	  instead ALLOC_N.
7115
7116Mon Jan 24 21:50:48 2011  Tanaka Akira  <akr@fsij.org>
7117
7118	* vm_insnhelper.h: parenthesize macro arguments.
7119
7120Mon Jan 24 21:28:34 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7121
7122	* object.c (rb_str_to_dbl): use ALLOC_N instead ALLOCA_N because
7123	  ALLOC_N may cause stack overflow.
7124
7125Mon Jan 24 21:04:45 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7126
7127	* error.c (rb_invalid_str): prevent intermediate variable from GC.
7128	  [ruby-core:34820]
7129
7130Sun Jan 23 23:01:54 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7131
7132	* test/io/console/test_io_console.rb: Don't run test if the system
7133	  don't support io/console.
7134
7135Sun Jan 23 22:17:07 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7136
7137	* test/fiddle/test_fiddle.rb: Don't run test if the system don't support
7138	  fiddle.
7139
7140	* test/fiddle/test_function.rb: ditto.
7141	* test/fiddle/test_closure.rb: ditto.
7142
7143Sun Jan 23 11:39:18 2011  Tanaka Akira  <akr@fsij.org>
7144
7145	* vm_exec.h: parenthesize macro arguments.
7146
7147Sun Jan 23 10:33:02 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7148
7149	* template/fake.rb.in (ruby): suppress warnings.
7150
7151Sun Jan 23 08:00:09 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7152
7153	* string.c (str_nth_len, str_utf8_nth): return the rest length together.
7154
7155	* string.c (rb_str_substr): get rid of measure the length always
7156	  to improve performance for huge string.  [ruby-core:34648]
7157
7158Sun Jan 23 00:40:10 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7159
7160	* test/test_syslog.rb: Fix to make a lot of test failure if
7161	  the platform doesn't support syslog.
7162
7163Sat Jan 22 11:49:55 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7164
7165	* ext/psych/lib/psych/visitors/to_ruby.rb: fixing merge key support
7166	  when multiple merge keys are specified.
7167
7168	* test/psych/test_merge_keys.rb: tests for multi-merge key support
7169
7170Sat Jan 22 11:33:04 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7171
7172	* ext/psych/lib/psych/visitors/to_ruby.rb: merge keys are actually
7173	  part of YAML 1.1, so they should be supported.  Remove warning and
7174	  merge keys to parent.  [ruby-core:34679]
7175
7176	* test/psych/test_merge_keys.rb: test for merge keys
7177
7178Sat Jan 22 10:25:19 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7179
7180	* ext/psych/parser.c (parse): add the file name to the exception when
7181	  parse errors occur.
7182
7183	* test/psych/test_parser.rb: test for parse error file name
7184
7185Sat Jan 22 10:12:30 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7186
7187	* ext/psych/parser.c (parse): fix assertion error when reusing a
7188	  parser after an exception has been raised
7189
7190	* test/psych/test_parser.rb: test for assertion error
7191
7192Sat Jan 22 04:09:22 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7193
7194	* ext/psych/lib/psych/nodes/node.rb: Make Psych::Nodes::Node
7195	  enumerable.
7196
7197	* ext/psych/lib/psych/visitors/depth_first.rb: Add a depth-first
7198	  visitor to enumerate over a YAML AST in a depth-first fashion
7199
7200	* test/psych/nodes/test_enumerable.rb: test for enumerating nodes
7201
7202	* test/psych/visitors/test_depth_first.rb: test for depth-first
7203	  visitor
7204
7205Sat Jan 22 00:53:42 2011  Tanaka Akira  <akr@fsij.org>
7206
7207	* vm_core.h: parenthesize macro arguments.
7208
7209Fri Jan 21 18:15:09 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7210
7211	* configure.in: should not use -Werror=* flags while conftests.
7212
7213Fri Jan 21 09:17:00 2011  Luis Lavena  <luislavena@gmail.com>
7214
7215	* configure.in: Fix incorrectly detected x86_64-w64-mingw32 due
7216	  canonalization of target_os. Bug #3889 [ruby-core:32634]
7217
7218Thu Jan 20 23:44:00 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7219
7220	* configure.in: Fix rb_cv_va_args_macro was broken. We are using
7221	  -Werror=implicit-function-declaration compile option. therefore
7222	  we need a function declaration explicitly.
7223
7224Thu Jan 20 23:58:02 2011  Tanaka Akira  <akr@fsij.org>
7225
7226	* node.h: parenthesize macro arguments.
7227
7228Thu Jan 20 23:25:28 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7229
7230	* configure.in: Add '#include <stdlib.h>' to
7231	  rb_cv_localtime_overflow test too. It's reported by Tomoyuki
7232	  Chikanaga. Thanks.
7233
7234Thu Jan 20 16:11:00 2011  Kenta Murata <mrkn@mrkn.jp>
7235
7236	* README.EXT, README.EXT.ja: You shouldn't choose ``conftest.c'' as a
7237	  name of a source file.
7238
7239Thu Jan 20 12:15:44 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7240
7241	* configure.in: Add stdlib.h inclusion into rb_cv_negative_time_t
7242	  test because it's required for exit(3). The patch is
7243	  created by Tomoyuki Chikanaga. [Bug #4287] [ruby-dev:43060]
7244
7245Thu Jan 20 11:39:41 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7246
7247	* test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need
7248	  to load rubygems.  if it activated, ruby raises LoadError about
7249	  rbconfig.rb.
7250
7251Thu Jan 20 09:19:42 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7252
7253	* ext/psych/lib/psych/visitors/json_tree.rb: Fix JSON emit for
7254	  DateTime and Time classes.
7255
7256	* test/psych/test_json_tree.rb: test for JSON emit
7257
7258Thu Jan 20 08:02:46 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7259
7260	* ext/psych/lib/psych/coder.rb (represent_object): arbitrary objects
7261	  may be passed to the Psych::Coder object.
7262
7263	* ext/psych/lib/psych/visitors/yaml_tree.rb: support for visiting
7264	  arbitrary objects set on the coder.
7265
7266	* test/psych/test_coder.rb: supporting test case.
7267
7268Thu Jan 20 06:03:17 2011  Tanaka Akira  <akr@fsij.org>
7269
7270	* method.h: parenthesize macro arguments.
7271
7272Wed Jan 19 13:16:05 2011  Eric Hodel  <drbrain@segment7.net>
7273
7274	* lib/rubygems/commands/sources_command.rb: Finish removing code,
7275	  (fixes sources command test).
7276
7277Wed Jan 19 13:04:16 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7278
7279	* proc.c (proc_call): Add gc guard to avoid segfault. The fix
7280	  is created by Tomoyuki Chikanaga. [Bug #4238][ruby-dev:42963]
7281
7282Wed Jan 19 12:31:28 2011  Eric Hodel <drbrain@segment7.net>
7283
7284	* lib/rubygems.rb: Since gem_prelude requires rubygems, enable
7285	  custom_require always.
7286
7287Wed Jan 19 12:08:08 2011  Eric Hodel <drbrain@segment7.net>
7288
7289	* lib/rubygems/commands/dependency_command.rb: Remove require of
7290	  deleted file.
7291	* lib/rubygems/commands/fetch_command.rb: ditto
7292	* lib/rubygems/commands/setup_command.rb: ditto
7293	* lib/rubygems/commands/sources_command.rb: ditto
7294	* lib/rubygems/commands/specification_command.rb: ditto
7295
7296Wed Jan 19 08:13:59 2011  Ryan Davis  <ryand-ruby@zenspider.com>
7297
7298	* lib/rubygems*: Import rubygems 1.5.0 (release candidate)
7299	* test/rubygems: Ditto
7300
7301Tue Jan 18 23:31:01 2011  Yusuke Endoh  <mame@tsg.ne.jp>
7302
7303	* parse.y: avoid NULL reference.  [ruby-dev:43067]
7304
7305Wed Jan 19 02:54:04 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7306
7307	* vsnprintf.c (cvt): set first byte of buf to NUL for the case when
7308	  no bytes are written to the buf. [ruby-dev:43062]
7309
7310Tue Jan 18 23:04:51 2011  Tanaka Akira  <akr@fsij.org>
7311
7312	* gc.h: parenthesize macro arguments.
7313
7314Tue Jan 18 18:31:14 2011  Keiju Ishitsuka  <keiju@ishitsuka.com>
7315
7316	* lib/irb/completion.rb: Irb tab completion support for XX::method
7317	  forms.
7318
7319Tue Jan 18 15:05:55 2011  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
7320
7321	* lib/logger.rb: added RDoc document for logging message escape
7322	  by Hal Brodigan. See #3869
7323
7324Tue Jan 18 07:53:52 2011  Tanaka Akira  <akr@fsij.org>
7325
7326	* eval_intern.h: parenthesize macro arguments.
7327
7328Tue Jan 18 04:42:44 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7329
7330	* ext/psych/lib/psych/parser.rb (Mark): Adding a class to wrap
7331	  marker information
7332
7333	* ext/psych/parser.c (mark): Add a method to return the mark object
7334	  for the parser
7335
7336	* test/psych/test_parser.rb: tests for the Mark class.
7337
7338Tue Jan 18 02:46:55 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7339
7340	* ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSON
7341	  strings should be dumped with double quotes. [ruby-core:34186]
7342
7343	* test/psych/test_json_tree.rb: test for double quotes
7344
7345Mon Jan 17 23:36:33 2011  Tanaka Akira  <akr@fsij.org>
7346
7347	* array.c (rb_ary_times): less MEMCPY calls.
7348
7349Mon Jan 17 22:54:33 2011  Tanaka Akira  <akr@fsij.org>
7350
7351	* debug.h: parenthesize macro arguments.
7352
7353Mon Jan 17 21:40:25 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7354
7355	* ruby.c (process_options): revert r30549.
7356
7357Sun Jan 16 20:55:45 2011  Tanaka Akira  <akr@fsij.org>
7358
7359	* vsnprintf.c: parenthesize macro arguments.
7360
7361Sat Jan 15 11:57:30 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7362
7363	* configure.in (warnflags): add -Werror=implicit-function-declaration
7364	  if available.
7365
7366	* lib/mkmf.rb (init_mkmf): ignore warnings in mkmf tests.
7367
7368	* test/mkmf/base.rb (setup, teardown): restore config values.
7369
7370	* test/mkmf/test_flags.rb: split from test_find_executable.rb.
7371
7372Sat Jan 15 10:04:14 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7373
7374	* ruby.c (process_options): autoload rubygems.
7375
7376	* tool/compile_prelude.rb (Prelude#initialize): ignore empty
7377	  preludes.
7378
7379	* ruby.c (ruby_init_prelude): get rid of global namespace
7380	  pollution.
7381
7382Sat Jan 15 09:42:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7383
7384	* include/ruby/io.h: missing prototypes.
7385
7386Fri Jan 14 23:25:55 2011  Tanaka Akira  <akr@fsij.org>
7387
7388	* vm_method.c: parenthesize macro arguments.
7389
7390Fri Jan 14 15:32:29 2011  Shugo Maeda  <shugo@ruby-lang.org>
7391
7392	* test/net/imap/test_imap.rb: call neither logout nor disconnect
7393	  unless connected.  patch by Kazuhiro NISHIYAMA.  [ruby-dev:42860]
7394
7395Fri Jan 14 14:56:57 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7396
7397	* lib/net/imap.rb: use bytesize for binary strings.
7398	  patched by Yoshimasa Niwa. [ruby-core:34222]
7399
7400Fri Jan 14 14:01:12 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7401
7402	* pack.c (pack_unpack): the resulted string of unpack('M') must have
7403	  ASCII-8BIT encoding (and ENC_CODERANGE_VALID). [ruby-core:34482]
7404
7405Fri Jan 14 13:38:58 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7406
7407	* ext/zlib/zlib.c (gzfile_check_footer): ISIZE (Input SIZE) in
7408	  gzip's header is the size of uncompressed input data modulo 2^32.
7409	  [ruby-core:34481] http://www.ietf.org/rfc/rfc1952.txt
7410
7411Fri Jan 14 11:36:25 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7412
7413	* configure.in, win32/Makefile.sub (RUNRUBY): require path should
7414	  include "." because rbconfig.rb is there.
7415
7416Fri Jan 14 10:40:11 2011  Ryan Davis  <ryan@lust.local>
7417
7418	* gem_prelude.rb: Just require rubygems. Fixes rubygems 1.4.
7419	* lib/rubygems.rb: removed all Gem::Quickloader code.
7420	* ruby.c: renamed ruby_init_gems to ruby_init_prelude. Set
7421	  $disable_rubygems since there is no fine grained mechanism to
7422	  skip parts of the prelude. Open to suggestions on how to do this
7423	  better.
7424	* test/*.rb: Load path isn't set up correctly, so add
7425	  --disable-gems as needed to failing tests that are explicitly
7426	  testing stderr w/ ==.
7427
7428Fri Jan 14 07:30:47 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7429
7430	* io.c (argf_next_argv): go advance when the next file cannot be
7431	  read.  [ruby-core:34446]
7432
7433Thu Jan 13 20:49:19 2011  Tanaka Akira  <akr@fsij.org>
7434
7435	* vm_insnhelper.c: parenthesize macro arguments.
7436
7437Thu Jan 13 13:21:00 2011  Kenta Murata  <mrkn@mrkn.jp>
7438
7439	* vm_dump.c: delete dashes to make lines 80 chars, Patched by
7440	  Shota Fukumori (sora_h).  [Bug #4275] [ruby-dev:43021]
7441
7442Thu Jan 13 13:21:00 2011  Kenta Murata  <mrkn@mrkn.jp>
7443
7444	* vm_dump.c: fix misspelling of CrashReporter, Patched by Shota
7445	  Fukumori (sora_h).  [Bug #4275] [ruby-dev:43021]
7446
7447Thu Jan 13 06:27:29 2011  Ryan Davis  <ryand-ruby@zenspider.com>
7448
7449	* error.c: Exception#to_s should actually call to_s.
7450
7451Thu Jan 13 00:32:54 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7452
7453	* addr2line.c (get_nth_dirname): decrement the directory index
7454	  because the index specifies the index of given included_directories
7455	  which is separated by NUL and its index is begun from 1.
7456	  Note that 0 specifies the current directory of the compilation.
7457	  see also http://www.dwarfstd.org/doc/dwarf-2.0.0.pdf
7458
7459Thu Jan 13 00:06:38 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7460
7461	* io.c (rb_f_syscall): Add warning messages. [ruby-core:34062]
7462
7463Thu Jan 13 00:00:07 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7464
7465	* io.c (rb_f_syscall): Some syscall return unsigned or pointer value.
7466	  Therefore we should only check the result is -1 or not.
7467	  [ruby-core:34062]
7468
7469Wed Jan 12 23:55:48 2011  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7470
7471	* io.c (rb_f_syscall): Add 64bit Linux support. Some syscall takes
7472	  long type arguments.
7473
7474Wed Jan 12 19:37:10 2011  Tanaka Akira  <akr@fsij.org>
7475
7476	* vm_dump.c: parenthesize macro arguments.
7477
7478Wed Jan 12 19:28:23 2011  Tanaka Akira  <akr@fsij.org>
7479
7480	* vm.c (thread_free): reset ruby_current_thread if it points the
7481	  thread to free.
7482	* gc.c (slot_sweep): don't call RUBY_VM_SET_FINALIZER_INTERRUPT if
7483	  there is no current thread.
7484	  [ruby-dev:43000]
7485
7486Wed Jan 12 19:09:29 2011  Tanaka Akira  <akr@fsij.org>
7487
7488	* enum.c (sort_by_i): reenter check more strictly.
7489	  (sort_by_cmp): ditto.
7490	  [ruby-dev:43003] reported by Usaku NAKAMURA.
7491
7492Wed Jan 12 16:25:12 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
7493
7494	* lib/net/http.rb (Net::HTTP#connect): makes it timeout during
7495	  SSL handshake too. [ruby-core:34203]
7496	  Patch by Marc Slemko.
7497
7498	* test/net/http/test_http.rb (TestNetHTTP_v1_2#test_timeout_during_HTTP_session):
7499	  test for [ruby-core:34203]
7500
7501	* test/net/http/test_https.rb (TestNetHTTPS#test_timeout_during_SSL_handshake):
7502	  ditto.
7503
7504Wed Jan 12 16:24:53 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
7505
7506	* ext/readline/extconf.rb: new checks for RL_PROMPT_START_IGNORE
7507	  and RL_PROMPT_END_IGNORE. [ruby-core:34331]
7508
7509	* ext/readline/readline.c: enables USE_INSERT_IGNORE_ESCAPE only if
7510	  RL_PROMPT_{START,END}_IGNORE are available to get rid of compilation
7511	  error with libedit.
7512
7513Wed Jan 12 15:53:49 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7514
7515	* README.EXT.ja (rb_ensure): typo.
7516
7517Wed Jan 12 11:33:46 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7518
7519	* addr2line.c: OpenBSD uses the elf_abi.h header file instead of the
7520	  elf.h header file. patched by Jeremy Evans [ruby-core:34384]
7521
7522Wed Jan 12 03:59:36 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7523
7524	* test/webrick/test_cgi.rb: Removes usage of deprecated
7525	  :RequestHandler option.
7526	  patched by Peter Weldon [ruby-core:34010]
7527
7528	* test/webrick/test_httpproxy.rb: ditto.
7529
7530	* test/webrick/test_httpserver.rb: Add a test of the deprecation
7531	  behaviour.
7532
7533Wed Jan 12 08:37:07 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7534
7535	* hash.c (hash_i): return different values for inverse hash.
7536	  [ruby-core:34334]
7537
7538Tue Jan 11 20:32:59 2011  Tanaka Akira  <akr@fsij.org>
7539
7540	* variable.c: parenthesize macro arguments.
7541
7542Tue Jan 11 13:06:38 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7543
7544	* array.c (rb_ary_resize): should care of embeded array when extending
7545	  the array.
7546
7547	* array.c (rb_ary_resize): need to set capa when changing the real
7548	  size of the array.
7549	  these are latent bugs.
7550
7551Mon Jan 10 22:46:43 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7552
7553	* include/ruby/defines.h (CASEFOLD_FILESYSTEM): HFS+ is case
7554	  insensitive.
7555
7556	* load.c (loaded_feature_path, rb_feature_p, load_lock): on a
7557	  case-insensitive filesystem, loaded features search should
7558	  ignore case.  [ruby-core:34297]
7559
7560Mon Jan 10 21:34:12 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7561
7562	* common.mk (showflags): show LD commands.
7563
7564Mon Jan 10 14:32:55 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7565
7566	* test/ruby/test_method.rb (TestMethod#test_define_method): method
7567	  transplanting between class and module is impossible.
7568
7569Mon Jan 10 13:51:17 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7570
7571	* misc/rdoc-mode.el (rdoc-mode): show trailing whitespace.
7572
7573Mon Jan 10 11:22:02 2011  Tanaka Akira  <akr@fsij.org>
7574
7575	* util.c: parenthesize macro arguments.
7576
7577Mon Jan 10 07:41:31 2011  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7578
7579	* misc/README: mention rdoc-mode.el and ruby-style.el.
7580
7581Sun Jan  9 20:37:21 2011  Tanaka Akira  <akr@fsij.org>
7582
7583	* transcode.c: parenthesize macro arguments.
7584
7585Sun Jan  9 16:31:53 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
7586
7587	* io.c (Kernel.#syscall): implemented on LP64/LLP64 environments too.
7588	  also uses __syscall if available for *BSD on 64bit architecture.
7589	  [ruby-core:34062]
7590
7591Sun Jan  9 16:31:34 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
7592
7593	* lib/irb/locale.rb (IRB::Locale::LOCALE_NAME_RE):
7594	  some platform has a locale without territory but with
7595	  encoding.
7596	  (#each_sub_locale): ditto.
7597
7598Sun Jan  9 14:47:50 2011  TAKAO Kouji  <kouji@takao7.net>
7599
7600	* ext/readline/readline.c: apply a patch from Nobuyoshi Nakada.
7601	  fixed #3616 [ruby-core:31484] IRB + readline incorrectly counts
7602	  non-printing characters in prompt
7603
7604Sat Jan  8 21:47:26 2011  Tanaka Akira  <akr@fsij.org>
7605
7606	* enum.c (enum_sort_by): use rb_ary_resize.
7607	  (ary_cutoff): removed.
7608
7609Sat Jan  8 21:24:17 2011  Tanaka Akira  <akr@fsij.org>
7610
7611	* pack.c (swapf): compilation condition simplified.
7612	  (swapd): ditto.
7613
7614Sat Jan  8 20:51:25 2011  Tanaka Akira  <akr@fsij.org>
7615
7616	* pack.c (swapd): remove duplicated code.
7617
7618Sat Jan  8 19:28:55 2011  Tanaka Akira  <akr@fsij.org>
7619
7620	* thread.c: parenthesize macro arguments.
7621
7622Fri Jan  7 23:07:40 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7623
7624	* lib/mkmf.rb (configuration): backref needs to capture.
7625
7626Fri Jan  7 21:57:22 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7627
7628	* misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:
7629	  show trailing whitespace.
7630
7631	* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): highlight
7632	  regexp after open bracket.  [ruby-core:34183]
7633
7634Fri Jan  7 00:37:35 2011  Tanaka Akira  <akr@fsij.org>
7635
7636	* string.c: parenthesize macro arguments.
7637
7638Thu Jan  6 22:42:02 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>
7639
7640	* bignum.c (bigmul1_karatsuba): avoid overflow that make assertion
7641	  fail in certain case.  this patch is contributed from Ray Chason
7642	  <chasonr at gmail.com> in personal communication.
7643
7644Thu Jan  6 20:55:49 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7645
7646	* lib/mkmf.rb (create_makefile): ignore rest from first dot from
7647	  TARGET to generate init function name.
7648	  this is followup of r30464.
7649
7650Thu Jan  6 11:27:01 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7651
7652	* ext/psych/lib/psych/json/tree_builder.rb (start_mapping): tags
7653	  should not be included in JSON mapping
7654
7655Thu Jan  6 09:23:33 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7656
7657	* lib/net/protocol.rb (eof?): BufferedIO should proxy eof? to the
7658	  underlying IO object.
7659
7660Thu Jan  6 09:12:31 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7661
7662	* lib/mkmf.rb (configuration): fixing gsub when multiple error flags
7663	  are passed to GCC.
7664
7665Thu Jan  6 05:25:49 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7666
7667	* array.c (rb_ary_modify): export.
7668
7669Thu Jan  6 05:14:41 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7670
7671	* ext/stringio/stringio.c (get_strio, strio_set_string)
7672	  (strio_reopen): check if frozen.  [ruby-core:33648]
7673
7674Thu Jan  6 05:10:58 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7675
7676	* array.c (rb_ary_resize): new utility function.  [ruby-dev:42912]
7677
7678Thu Jan  6 05:03:26 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7679
7680	* dln.c (init_funcname_len): ignore rest from first dot.
7681	  [ruby-dev:41774]
7682
7683Thu Jan  6 02:55:48 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7684
7685	* ext/psych/lib/psych/visitors/yaml_tree.rb: use YAML 1.0 output
7686	  format for serializing nil values.  Thanks Eric Hodel!
7687
7688	* test/psych/test_nil.rb: test for nil values
7689
7690Wed Jan  5 14:21:34 2011  Mark Dodwell  <hi@mkdynamic.co.uk>
7691
7692	* string.c: fix rdoc typo.
7693	  https://github.com/shyouhei/ruby/pull/3
7694
7695Wed Jan  5 14:06:01 2011  NAKAMURA Usaku  <usa@ruby-lang.org>
7696
7697	* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
7698	  skip on Windows because chmod 0 doesn't mean unreadable by owner.
7699
7700Wed Jan  5 13:56:54 2011  Akinori MUSHA  <knu@iDaemons.org>
7701
7702	* lib/net/http.rb (Net::HTTP#get): A header hash given should not
7703	  be modified.
7704
7705Wed Jan  5 12:10:08 2011  Aaron Patterson <aaron@tenderlovemaking.com>
7706
7707	* ext/dl/{cfunc.c,dl.h,handle.c}, ext/fiddle/fiddle.{h,c}: Use _WIN32
7708	  rather than checking for windows.h.  Thanks Jon Forums!
7709	  [ruby-core:33977]
7710
7711Sat Jan  1 17:02:50 2011  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
7712
7713	* lib/irb/locale.rb (IRB::Locale#search_file): make it possible
7714	  to load a localization from a gem.
7715	  (IRB::Locale#lc_path): obsoleted because of the change of #search_file
7716	  (IRB::Locale#each_localized_path): new private method, based on
7717	  lc_path
7718	  (IRB::Locale#find): follows the change of #search_file.
7719	  (IRB::Locale#load): removed duplicate with #find.
7720
7721Sat Jan  1 11:44:42 2011  Tanaka Akira  <akr@fsij.org>
7722
7723	* strftime.c: parenthesize macro arguments.
7724
7725Sat Jan  1 11:10:29 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7726
7727	* ext/zlib/zlib.c: take care of platforms where long is bigger
7728	  than int.
7729
7730Sat Jan  1 11:03:58 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7731
7732	* NEWS (optparse): shell completion support.
7733
7734	* misc/README (rb_optparse.{bash,zsh}): for shell completion.
7735
7736	* include/ruby/intern.h (VALUE rb_ary_print_on): I have never seen
7737	  this function anywhere.
7738
7739Sat Jan  1 04:20:11 2011  NARUSE, Yui  <naruse@ruby-lang.org>
7740
7741	* win32/win32.c (rb_w32_write_console): don't raise exception when
7742	  the conversion is for writing to console.
7743	  Patched by Heesob Park [ruby-core:33999]
7744
7745Fri Dec 31 12:02:06 2010  Tanaka Akira  <akr@fsij.org>
7746
7747	* enum.c (enum_sort_by): use less temporary objects.
7748
7749Fri Dec 31 11:46:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7750
7751	* configure.in (warnflags), lib/mkmf.rb (configuration): turn
7752	  warnings into errors only for bundled extensions.
7753	  [ruby-core:33815]
7754
7755Fri Dec 31 11:15:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7756
7757	* ext/zlib/zlib.c (sizeof): zlib.h mistakenly assumes the result
7758	  of sizeof to be int, not size_t.
7759
7760Fri Dec 31 10:27:34 2010  Tanaka Akira  <akr@fsij.org>
7761
7762	* st.c: parenthesize macro arguments.
7763
7764Fri Dec 31 03:23:26 2010  NARUSE, Yui  <naruse@ruby-lang.org>
7765
7766	* vsnprintf.c (BSD__uqtoa): Fix overflow when long != quad_t.
7767	  patched by Peter Weldon <peter.weldon AT null.net>
7768	  [ruby-core:33985]
7769
7770Fri Dec 31 03:00:34 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7771
7772	* Makefile.in: remove unnecessary semicolons.
7773
7774Thu Dec 30 23:09:47 2010  wanabe  <s.wanabe@gmail.com>
7775
7776	* vm.c (vm_define_method): guard iseq from GC while method definition.
7777	  [ruby-dev:42832]
7778
7779Thu Dec 30 20:18:32 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7780
7781	* win32/Makefile.sub: ditto.
7782
7783Thu Dec 30 20:57:09 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7784
7785	* Makefile.in: Check V=1 argument if run "make clean" or similar.
7786
7787Thu Dec 30 20:41:50 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7788
7789	* Makefile.in: Kill ugly line continuation.
7790
7791Thu Dec 30 11:49:40 2010  Tanaka Akira  <akr@fsij.org>
7792
7793	* sprintf.c: parenthesize macro arguments.
7794
7795Wed Dec 29 21:20:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7796
7797	* io.c (maygvl_copy_stream_wait_readwrite): define if USE_SENDFILE
7798
7799Wed Dec 29 20:37:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7800
7801	* ext/extmk.rb: strip current directory prefix.
7802
7803	* enc/depend (clean): remove name2ctype.h when out-of-place build.
7804
7805	* win32/Makefile.sub (clean-enc): pass V to inferior make.
7806
7807Wed Dec 29 18:23:46 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
7808
7809	* re.c (rb_reg_expr_str): need to escape if the coderange is invalid.
7810
7811Wed Dec 29 10:06:51 2010  Tanaka Akira  <akr@fsij.org>
7812
7813	* signal.c: parenthesize macro arguments.
7814
7815Wed Dec 29 07:22:15 2010  Eric Hodel  <drbrain@segment7.net>
7816
7817	* lib/rake/rdoctask.rb: Deprecate in favor of rdoc/task.
7818
7819Wed Dec 29 07:07:06 2010  Eric Hodel  <drbrain@segment7.net>
7820
7821	* lib/rdoc: Import RDoc 3.1
7822
7823Tue Dec 28 18:36:38 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
7824
7825	* error.c, include/ruby/intern.h (rb_compile_error_with_enc): new
7826	  function to raise syntax error, with source encoding'ed message.
7827
7828	* parse.y (compile_error): use above function.
7829	  [ruby-core:33951] (#4217)
7830
7831Tue Dec 28 07:37:38 2010  Tanaka Akira  <akr@fsij.org>
7832
7833	* ruby.c: parenthesize macro arguments.
7834
7835Tue Dec 28 07:17:11 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7836
7837	* NEWS: add ARGF.write and so on.
7838
7839Tue Dec 28 07:12:38 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7840
7841	* NEWS: add new magic-comment. (warn-indent) [ruby-core:25442]
7842
7843Tue Dec 28 04:32:37 2010  Aaron Patterson <aaron@tenderlovemaking.com>
7844
7845	* ext/fiddle/extconf.rb: check for windows.h while building fiddle.
7846	  Thanks Jon Forums! [ruby-core:33923]
7847
7848Tue Dec 28 01:45:12 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7849
7850	* NEWS: Add Zlib.deflate and Zlib.inflate.
7851	  [ruby-dev:42833]
7852
7853Mon Dec 27 21:22:33 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7854
7855	* win32/configure.bat: Remove obsoleted coding rule. Now, we
7856	  don't support to build on Windows 95/98 and Me.
7857
7858Mon Dec 27 18:27:13 2010  Tanaka Akira  <akr@fsij.org>
7859
7860	* re.c: parenthesize macro arguments.
7861
7862Mon Dec 27 15:22:23 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
7863
7864	* win32/README.win32: note to need NT based OS to build ruby.
7865
7866Mon Dec 27 12:14:46 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
7867
7868	* common.mk (EXTMK_ARGS): specify to pass macro V, because nmake
7869	  doesn't pass it via MAKEFLAGS.
7870
7871Mon Dec 27 10:33:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
7872
7873	* ext/zlib/zlib.c (Init_zlib): Add Zlib.deflate and Zlib.inflate.
7874	  [ruby-dev:42833]
7875
7876Mon Dec 27 07:38:07 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7877
7878	* misc/rb_optparse.zsh: add compdef for generator.
7879
7880Mon Dec 27 07:32:07 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
7881
7882	* lib/optparse.rb (OptionParser#compsys): escape brackets too.
7883	  [ruby-dev:42754]
7884
7885Mon Dec 27 01:30:08 2010  Tanaka Akira  <akr@fsij.org>
7886
7887	* ext/socket/mkconstants.rb: add IF_NAMESIZE.
7888	  add a default for INET6_ADDRSTRLEN.
7889
7890Sun Dec 26 23:49:47 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7891
7892	* win32/Makefile.sub: suppress a strange error message when RMALL
7893	  found no such file.
7894	* win32/rmall.bat: new.
7895
7896Sun Dec 26 21:23:23 2010    <kosaki.motohiro@gmail.com>
7897
7898	* win32/Makefile.sub: fix 'nmake clean-enc' breakage since r28322.
7899
7900Sun Dec 26 22:25:07 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7901
7902	* ext/ripper/depend (ripper.y): fix messages with nmake.
7903	  [ruby-dev:42896]
7904
7905Sun Dec 26 22:24:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7906
7907	* file.c (file_expand_path): get rid of warnings caused by
7908	  -Wdeclaration-after-statement on cygwin.
7909
7910Sun Dec 26 20:28:34 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7911
7912	* process.c (before_exec): add small comment.
7913
7914Sun Dec 26 20:52:21 2010  Tanaka Akira  <akr@fsij.org>
7915
7916	* ext/socket/mkconstants.rb: define INET_ADDRSTRLEN as 16 if not
7917	  available.  fix compilation error on mswin32-60.  reported by nobu.
7918
7919Sun Dec 26 19:37:37 2010  Tanaka Akira  <akr@fsij.org>
7920
7921	* ext/socket/option.c: define IFNAMSIZ if not available.
7922	  fix compilation error on mingw32.  reported by nobu.
7923
7924Sun Dec 26 12:16:29 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7925
7926	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths::HOMEDIR): no exception if
7927	  HOME is not set.  [ruby-core:33867]
7928
7929Sun Dec 26 11:39:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7930
7931	* parse.y (stmt): missing ripper rule.  i.e., `a::B ||= c 1'.
7932	  http://twitter.com/#!/wannabe53/status/18797576396472321
7933	  http://twitter.com/#!/wannabe53/status/18798416150663168
7934
7935Sun Dec 26 11:15:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7936
7937	* test/with_different_ofs.rb (DifferentOFS): should not affect
7938	  original classes.
7939
7940Sun Dec 26 09:35:07 2010  Tanaka Akira  <akr@fsij.org>
7941
7942	* rational.c: parenthesize macro arguments.
7943
7944Sun Dec 26 09:22:19 2010  Tanaka Akira  <akr@fsij.org>
7945
7946	* ext/socket/option.c (rb_if_indextoname): new function to abstract
7947	  environments without if_indextoname.
7948	  (inspect_ipv6_multicast_if): new function to inspect
7949	  IPV6_MULTICAST_IF.
7950	  Socket::Option.new(:INET6, :IPV6, :MULTICAST_IF,
7951	  [2].pack("I!")).inspect is
7952	  "#<Socket::Option: INET6 IPV6 MULTICAST_IF eth0>".
7953
7954Sun Dec 26 04:31:15 2010  Luis Lavena  <luislavena@gmail.com>
7955
7956	* ext/dl/win32/registry.rb: Corrected RegCreateKeyExA signature.
7957	  Patch by Rafal Michalski [ruby-core:33874] [Ruby 1.9-Bug#4203]
7958
7959Sun Dec 26 02:31:58 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7960
7961	* io.c (advice_arg_check): Change argument check.
7962	  Now, an unsupported advice makes NotImplementedError.
7963	  [ruby-dev:42887] [Ruby 1.9-Feature#4204]
7964
7965Sun Dec 26 03:00:53 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
7966
7967	* ext/socket/extconf.rb: Fix build error which was introduced r30372.
7968
7969Sun Dec 26 01:37:10 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
7970
7971	* ext/socket/extconf.rb: check the existence of if_indextoname().
7972
7973	* ext/socket/option.c: yesterday's akr's commits destroyed the build of
7974	  some unrelated platforms (such as Windows).
7975
7976Sat Dec 25 23:29:11 2010  Tanaka Akira  <akr@fsij.org>
7977
7978	* ext/socket/option.c (inspect_ipv4_add_drop_membership): new function
7979	  to inspect struct ip_mreq and struct ip_mreqn for
7980	  IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
7981	  Socket::Option.new(:INET, :IP, :ADD_MEMBERSHIP,
7982	  [239,255,99,81, 0,0,0,0].pack("CCCCCCCC")).inspect is now
7983	  "#<Socket::Option: INET IP ADD_MEMBERSHIP 239.255.99.81 0.0.0.0>".
7984	  (inspect_ipv4_multicast_if): new function to inspect struct in_addr
7985	  and struct ip_mreqn for IP_MULTICAST_IF.
7986	  Socket::Option.new(:INET, :IP, :MULTICAST_IF,
7987	  [192,168,0,7].pack("CCCC")).inspect is now
7988	  "#<Socket::Option: INET IP MULTICAST_IF 192.168.0.7>".
7989
7990	* ext/socket/extconf.rb: check struct ip_mreq and struct ip_mreqn.
7991
7992Sat Dec 25 22:49:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7993
7994	* test/csv: DifferentOFS needs to be include in each classes.
7995
7996	* test/digest/test_digest_extend.rb (TestDigestExtend#setup):
7997	  should not depend on the result of previous tests
7998
7999	* test/with_different_ofs.rb (DifferentOFS::WithDifferentOFS): give
8000	  name.
8001
8002	* test/with_different_ofs.rb (DifferentOFS): test suite for test
8003	  suites affected by $,.
8004
8005	* test/digest/test_digest_extend.rb (TestDigestExtend): should not
8006	  assume $, invariant.
8007
8008	* test/csv/test_data_converters.rb, test/csv/test_table.rb: don't
8009	  call setup within tests.
8010
8011Sat Dec 25 20:01:40 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8012
8013	* io.c (pipe_open): Added rb_thread_atfork(). We must reinitialize
8014	  GVL at new process creation.
8015
8016Sat Dec 25 18:26:55 2010  Tanaka Akira  <akr@fsij.org>
8017
8018	* ext/socket/option.c (inspect_ipv6_mreq): new function to inspect
8019	  struct ipv6_mreq for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
8020	  Socket::Option.new(:INET6, :IPV6, :JOIN_GROUP,
8021	  [0xff12,0,0,0,0,0,0,1, 2].pack("nnnnnnnnI!")).inspect is now
8022	  "#<Socket::Option: INET6 IPV6 JOIN_GROUP ff12::1 eth0>".
8023
8024	* ext/socket/extconf.rb: check struct ipv6_mreq.
8025
8026Sat Dec 25 18:04:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8027
8028	* lib/csv.rb (CSV.foreach): 'rb' mode is defaulted in open.
8029
8030	* lib/csv.rb (CSV#init_separators): cannonicalize encoding options
8031	  as Encoding objects.
8032
8033Sat Dec 25 18:30:34 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8034
8035	* thread.c (rb_thread_atfork): Add small comment why we need
8036	  reset random seed.
8037
8038Sat Dec 25 17:33:55 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8039
8040	* test/csv/base.rb (TestCSV.with_different_ofs): give name to
8041	  anonymous classes.
8042
8043	* lib/csv.rb (CSV#init_separators): use IO#gets with length
8044	  parameter to get rid of wrong convertion.
8045
8046	* lib/csv.rb (CSV::foreach, CSV#initialize): directly use encoding
8047
8048	* lib/csv.rb, test/csv: should not assume $, invariant.
8049
8050Sat Dec 25 16:08:06 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8051
8052	* signal.c: change rb_atomic_t definition from uchar to uint.
8053
8054Sat Dec 25 15:04:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8055
8056	* test/csv/test_encodings.rb (TestEncodings#setup): fix evil test
8057	  suite writing to the source directory.
8058
8059Sat Dec 25 15:08:08 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8060
8061	* ext/pty/pty.c (chfunc): Added rb_thread_atfork_before_exec().
8062	  We must reinitialize GVL at new process creation. Otherwise
8063	  we may meet an insane deadlock. [Bug#4121][ruby-dev:42686]
8064
8065Sat Dec 25 14:27:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8066
8067	* io.c (rb_io_extract_encoding_option): accept Encoding object as
8068	  encoding: optional argument.  [ruby-dev:42884]
8069
8070Sat Dec 25 13:37:55 2010  Ryan Davis  <ryand-ruby@zenspider.com>
8071
8072	* lib/minitest/*.rb: Imported minitest 2.0.2 r6093.
8073
8074Sat Dec 25 13:05:59 2010  Tanaka Akira  <akr@fsij.org>
8075
8076	* random.c: parenthesize macro arguments.
8077
8078Sat Dec 25 12:48:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8079
8080	* load.c (rb_f_require_relative): don't omit return type.
8081
8082Sat Dec 25 11:06:00 2010  Eric Hodel  <drbrain@segment7.net>
8083
8084	* load.c (rb_f_require_relative): Add documentation.
8085
8086Sat Dec 25 11:02:52 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8087
8088	* ext/zlib/zlib.c (gzreader_gets): support optional length
8089	  parameter.
8090
8091	* ext/zlib/zlib.c (gzfile_read, gzfile_readpartial): length should
8092	  be long.
8093
8094Sat Dec 25 10:51:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8095
8096	* ext/json/generator/generator.{c,h} (fbuffer_free_only_buffer):
8097	  unused.
8098
8099	* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): add casts.
8100
8101Fri Dec 24 08:46:04 2010  Tanaka Akira  <akr@fsij.org>
8102
8103	* process.c: parenthesize macro arguments.
8104
8105Thu Dec 23 19:17:14 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
8106
8107	* test/net/imap/cacert.pem: updated because it has been expired.
8108
8109	* test/net/imap/server.crt: signed again because CA cert was expired.
8110
8111Thu Dec 23 11:16:52 2010  Tanaka Akira  <akr@fsij.org>
8112
8113	* parse.y: parenthesize macro arguments.
8114
8115Thu Dec 23 11:00:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8116
8117	* error.c (rb_check_type): check for type from extensions for ruby
8118	  1.8.  see [ruby-core:33797].
8119
8120Thu Dec 23 08:12:59 2010  Aaron Patterson <aaron@tenderlovemaking.com>
8121
8122	* lib/net/smtp.rb: refactoring Net::SMTP#esmtp= to use an
8123	  attr_accessor
8124
8125Thu Dec 23 06:35:41 2010  Aaron Patterson <aaron@tenderlovemaking.com>
8126
8127	* lib/net/smtp.rb: Net::SMTP should close the SSL connection if the
8128	  connection verification fails.
8129
8130Thu Dec 23 01:47:58 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8131
8132	* NEWS: remove #object_id. [ruby-dev:42840]
8133
8134Wed Dec 22 08:56:39 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8135
8136	* NEWS: add Module#private_constant and Module#public_constant.
8137	  [ruby-dev:39685][ruby-core:32698]
8138
8139Wed Dec 22 07:59:23 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8140
8141	* NEWS: add IO#advise. [ruby-core:33110] [Ruby 1.9-Feature#4038]
8142
8143Tue Dec 21 23:45:31 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
8144
8145	* gc.c (Init_GC): move back object_id to Kernel. [ruby-dev:42840]
8146
8147Tue Dec 21 12:45:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8148
8149	* configure.in (target_archs): remove temporary objects.
8150
8151	* enc/Makefile.in, enc/depend (clean): remove work directories.
8152
8153Tue Dec 21 07:39:12 2010  Tanaka Akira  <akr@fsij.org>
8154
8155	* pack.c: parenthesize macro arguments.
8156
8157Tue Dec 21 06:25:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8158
8159	* test/rexml/test_contrib.rb (ContribTester#test_pos): should not
8160	  use fixed path name for tests.  [ruby-dev:42827]
8161
8162	* test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use
8163	  fixed port for tests.  [ruby-dev:42828]
8164
8165Tue Dec 21 06:10:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8166
8167	* compile.c (setup_args), vm.c (invoke_block_from_c),
8168	  vm_insnhelper.c (caller_setup_args): reverted r30241 and r30243
8169	  except for the test.
8170
8171Tue Dec 21 01:41:42 2010  Masaya Tarui  <tarui@ruby-lnag.org>
8172
8173	* io.c : add an extra byte to buffer for the specification of read
8174	  in Windows. see [ruby-core:33460] and r29980. and, we have to
8175	  discuss how to do this one byte.
8176
8177Tue Dec 21 01:18:06 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8178
8179	* error.c: Fix build error for win32. This regression was
8180	  introduced by r30271.
8181
8182Tue Dec 21 00:59:40 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8183
8184	* thread.c (thread_cleanup_func): Moved interrupted_lock
8185	  destroying code from native_thread_destroy() to
8186	  thread_cleanup_func() because it's platform independent logic.
8187
8188	* thread_win32.c (native_thread_destroy): ditto.
8189	* thread_pthread.c (native_thread_destroy): ditto.
8190
8191Tue Dec 21 00:46:20 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8192
8193	* thread.c (thread_cleanup_func): Don't touch native threading
8194	  resource at fork. Sadly this is purely bandaid. We need to
8195	  implement proper fix later. [Bug #4169] [ruby-core:33767]
8196
8197Tue Dec 21 00:22:44 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8198
8199	* error.c (exit_success_p): Check status code more carefully.
8200	  status code may have garbage in upper bit.
8201
8202Mon Dec 20 23:12:37 2010  Tanaka Akira  <akr@fsij.org>
8203
8204	* node.c: parenthesize macro arguments.
8205
8206Mon Dec 20 20:04:41 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8207
8208	* NEWS: add #__id__ and #object_id. [ruby-dev:42778]
8209
8210Mon Dec 20 20:03:21 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8211
8212	* thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
8213
8214Mon Dec 20 13:49:05 2010  Eric Hodel  <drbrain@segment7.net>
8215
8216	* NEWS: Add item for RDoc 3.0.1
8217
8218	* lib/rdoc: Import RDoc 3.0.1, remove require for perl parser.
8219
8220Mon Dec 20 12:15:32 2010  Eric Hodel  <drbrain@segment7.net>
8221
8222	* lib/rdoc: Import RDoc 3.0.
8223
8224Mon Dec 20 01:55:03 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8225
8226	* io.c (Init_IO): Added O_DIRECT. This feature was proposed by
8227	  Run Paint Run Run.
8228	  [Feature #4015] [ruby-core:33018]
8229
8230Sun Dec 19 19:15:23 2010  Tanaka Akira  <akr@fsij.org>
8231
8232	* marshal.c: parenthesize macro arguments.
8233
8234Sat Dec 18 21:52:37 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8235
8236	* vsnprintf.c (BSD_vfprintf): suppress warning: "_WIN32" is not
8237	  defined.
8238
8239Sat Dec 18 16:02:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8240
8241	* compile.c (setup_args), vm.c (invoke_block_from_c),
8242	  vm_insnhelper.c (caller_setup_args): fix of r30241. lambda block
8243	  should check argument number.
8244
8245Sat Dec 18 14:42:29 2010  Tanaka Akira  <akr@fsij.org>
8246
8247	* load.c: parenthesize macro arguments.
8248
8249Sat Dec 18 10:07:04 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8250
8251	* compile.c (setup_args, iseq_compile_each): optimize AMPER LAMBDA
8252	  combination as block.
8253
8254Fri Dec 17 22:07:16 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
8255
8256	* gc.c (Init_GC): move #__id__ and #object_id to BasicObject.
8257	  [ruby-dev:42778]
8258
8259Fri Dec 17 19:35:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8260
8261	* test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.
8262
8263	* test/mkmf/test_find_executable.rb (test_find_executable):
8264	  suppress meaningless differences for chkbuild.
8265
8266Fri Dec 17 13:26:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8267
8268	* win32/setup.mak (BASERUBY): quit with an error when BASERUBY was not
8269	  able to set, just like configure.in does. [ruby-dev:42782]
8270
8271Fri Dec 17 07:04:09 2010  Tanaka Akira  <akr@fsij.org>
8272
8273	* iseq.c: parenthesize macro arguments.
8274
8275Fri Dec 17 04:18:37 2010  Eric Hodel  <drbrain@segment7.net>
8276
8277	* transcode.c (str_encode): Alter comment for better wording and ri
8278	  output.
8279
8280Fri Dec 17 00:05:40 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8281
8282	* io.c (rb_io_advise): New API. IO#advise() allows to tell the
8283	  ruby runtime how it expects to use a file handle. This feature
8284	  can be improved a performance some situations.
8285	  Note: This feature is mainly developed by Run Paint Run Run.
8286	  Thank you! [ruby-core:33110] [Ruby 1.9-Feature#4038]
8287
8288	* io.c (do_io_advise): Helper function.
8289	* io.c (io_advise_sym_to_const): ditto.
8290
8291Thu Dec 16 23:29:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8292
8293	* tool/rbinstall.rb (bin-comm): use transformed name.
8294	  [ruby-dev:42777]
8295
8296Thu Dec 16 21:52:07 2010  Tanaka Akira  <akr@fsij.org>
8297
8298	* io.c: parenthesize macro arguments.
8299
8300Thu Dec 16 21:46:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8301
8302	* tool/mkconfig.rb (RbConfig): honor ARCHFLAGS and RC_ARCHS to
8303	  override embedded ARCH_FLAG value on universal-darwin.
8304
8305Thu Dec 16 19:50:12 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8306
8307	* win32/{configure.bat,setup.mak,Makefile.sub} (PROGRAM_PREFIX,
8308	  PROGRAM_SUFFIX): unite the differences of the names of macros of
8309	  prefix and suffix.
8310	  reported by HANEDA Norikatsu. [ruby-dev:42775]
8311
8312Thu Dec 16 08:04:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8313
8314	* node.h (RNode): match the type of flags to RBasic, and renamed
8315	  nd_file as nd_reserved.
8316
8317	* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
8318	  is always zero-cleared.
8319
8320Thu Dec 16 07:22:30 2010  Ryan Davis  <ryand-ruby@zenspider.com>
8321
8322	* lib/minitest/unit.rb: Imported minitest 2.0.1 r6079.
8323
8324Wed Dec 15 20:45:02 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8325
8326	* lib/test/unit.rb (process_args): need to setup @help to print options.
8327
8328Wed Dec 15 11:19:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8329
8330	* test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.
8331
8332Wed Dec 15 11:07:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8333
8334	* io.c (simple_sendfile): enable on Mac OS X.
8335
8336	* io.c (nogvl_copy_stream_sendfile): moved precheck of copy length.
8337
8338	* io.c (nogvl_copy_stream_sendfile): should wait for both of
8339	  read/write fds.
8340
8341Wed Dec 15 07:11:55 2010  Tanaka Akira  <akr@fsij.org>
8342
8343	* hash.c: parenthesize macro arguments.
8344
8345Wed Dec 15 04:02:00 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8346
8347	* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
8348	  fix compile error when !HAVE_X509V3_SET_NCONF. Thanks
8349	  Chikanaga-san. [ruby-dev:42761] [Ruby 1.9-Bug#4158]
8350
8351Wed Dec 15 03:41:31 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
8352
8353	* test/ripper/test_parser_events.rb (TestRipper#test_block_variables):
8354	  Limit address space 100MB instead 100KB. Quite frankly, This
8355	  margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159]
8356
8357Tue Dec 14 23:53:52 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8358
8359	* io.c (simple_sendfile): improve linux compatibility on FreeBSD,
8360	  and now it works. But without cpuset -l 0, it still gets stuck.
8361
8362Tue Dec 14 20:31:33 2010  Tanaka Akira  <akr@fsij.org>
8363
8364	* gc.c: parenthesize macro arguments.
8365
8366Tue Dec 14 18:31:48 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8367
8368	* lib/test/unit.rb: help messages.
8369
8370Tue Dec 14 18:19:03 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8371
8372	* common.mk (help): there is no reason to use the abbreviation for here.
8373
8374Tue Dec 14 15:03:46 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8375
8376	* test/ruby/test_io.rb (test_reopen, test_reinitialize): should close
8377	  the temporary files.
8378
8379Tue Dec 14 14:24:15 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8380
8381	* test/ruby/test_io.rb (make_tempfile): change the prefix from 'foo'
8382	  to 'test_io' because the old one is meaningless and inconvenient.
8383
8384	* test/ruby/test_io.rb (test_binmode_after_closed): the temporary file
8385	  maked by make_temfile is already closed.
8386
8387Tue Dec 14 13:52:19 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8388
8389	* test/ruby/test_io.rb (test_flush_in_finalizer[12]): should close
8390	  temporary file because it's only used for taking pathname and
8391	  unlinking the file after the end of the test (in GC phase).
8392
8393Tue Dec 14 13:34:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8394
8395	* ext/zlib/zlib.c (gzfile_s_open): should close the IO if some error
8396	  occurs in initializing.
8397
8398Tue Dec 14 13:04:16 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8399
8400	* lib/net/http.rb (Net::HTTPRequest#send_request_body_data):
8401	  set binmode to tempfile.
8402
8403Tue Dec 14 12:55:46 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8404
8405	* test/zlib/test_zlib.rb (*): should close files associated with zlib.
8406
8407Tue Dec 14 11:30:17 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8408
8409	* test/ruby/test_argf.rb (test_inplace_rename_impossible): unlink
8410	  the renamed temporary file on no_safe_rename platforms.
8411
8412	* test/ruby/test_argf.rb (test_readlines_limit_0,
8413	  test_each_line_limit_0): should close argf because the associated
8414	  Tempfile object cannot unlink the temporary file when it's gc'ed
8415	  on some platforms (Windows, etc.)
8416
8417Tue Dec 14 11:27:07 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8418
8419	* lib/minitest/unit.rb (Minitest::Unit#_run_suite): split test
8420	  name and its time. Thiw allows to know test's name when you are
8421	  running tests and meet a test which spends long time at realtime.
8422
8423Tue Dec 14 11:25:20 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8424
8425	* configure.in: Add -Werror=declaration-after-statement to default
8426	  warning flag. If you are using GCC, this flag is useful to
8427	  prevent breaking VC build.
8428
8429Tue Dec 14 10:25:57 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8430
8431	* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms
8432	  must a man mend; before he can build with VC? r30178
8433
8434Mon Dec 13 21:26:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8435
8436	* io.c (simple_sendfile): disable the use of sendfile(2) on
8437	  FreeBSD. It blocks on TestIO#test_copy_stream_socket.
8438
8439Mon Dec 13 18:35:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8440
8441	* io.c: define USE_SENDFILE on FreeBSD or DragonFly BSD.
8442	  Remove Mac OS X because its argument is different from them.
8443
8444Mon Dec 13 12:00:09 2010  Tanaka Akira  <akr@fsij.org>
8445
8446	* file.c: parenthesize macro arguments.
8447
8448Mon Dec 13 11:21:14 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8449
8450	* io.c (simple_sendfile): added for BSD version of sendfile(2).
8451
8452Mon Dec 13 09:50:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8453
8454	* lib/net/http.rb (Net::HTTPRequest#set_form): Added to support
8455	  both application/x-www-form-urlencoded and multipart/form-data.
8456	  There is a similar API, Net::HTTPRequest#set_form_data, but
8457	  to keep its compatibility this is newly added. [ruby-dev:42729]
8458
8459Sun Dec 12 23:45:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8460
8461	* compile.c (iseq_compile_each): fix for __goto__ and __label__
8462	  where were totally broken.
8463
8464Sun Dec 12 22:45:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8465
8466	* common.mk (ID_H_INCLUDES): now id.h depends on vm_opts.h.
8467
8468Sun Dec 12 20:42:47 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8469
8470	* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
8471	  defined.  [ruby-dev:42730]
8472
8473Sun Dec 12 20:35:07 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8474
8475	* misc/rb_optparse.zsh: update how to install.
8476
8477	* misc/rb_optparse.zsh: avoid error when setopt noclobber.
8478
8479	* lib/optparse.rb: fix typo. pointed out at
8480	  <http://d.hatena.ne.jp/nagachika/20101207>.
8481
8482Sun Dec 12 13:27:35 2010  Tanaka Akira  <akr@fsij.org>
8483
8484	* eval_error.c: parenthesize macro arguments.
8485
8486Sun Dec 12 11:53:24 2010  Tanaka Akira  <akr@fsij.org>
8487
8488	* error.c: parenthesize macro arguments.
8489
8490Sun Dec 12 04:01:58 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8491
8492	* string.c (rb_str_inspect): fix: extra back slash is added when
8493	  the string is dummy encoding and includes \x22 or \x5C.
8494
8495Sun Dec 12 02:42:24 2010  Aaron Patterson <aaron@tenderlovemaking.com>
8496
8497	* ext/openssl/ossl_asn1.c: indefinite length BER to DER encoding is
8498	  properly supported.  Thanks Martin Bosslet! [ruby-core:33082]
8499
8500Sat Dec 11 17:43:34 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8501
8502	* ext/bigdecimal/bigdecimal.h: suppress "warning: 'VPrint' declared
8503	  'static' but never defined".
8504
8505Sat Dec 11 09:24:57 2010  Tanaka Akira  <akr@fsij.org>
8506
8507	* encoding.c: parenthesize macro arguments.
8508
8509Sat Dec 11 08:12:48 2010  Eric Hodel  <drbrain@segment7.net>
8510
8511	* ext/openssl/ossl.c, ext/openssl/ossl_pkey_rsa.c: Document RSA, RSA
8512	  encryption/decryption and PKCS #5 encryption/decryption.
8513
8514Sat Dec 11 06:23:41 2010  Eric Hodel  <drbrain@segment7.net>
8515
8516	* ext/openssl/ossl_x509name.c: include Comparable to provide #==.
8517	  Document OpenSSL::X509::Name#<=>.  [Ruby 1.9-Feature#4116]
8518
8519Sat Dec 11 05:48:28 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
8520
8521	* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
8522	  [ruby-dev:42716] [Ruby 1.9-Bug#4129]
8523
8524	* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at
8525	  exit.
8526
8527Sat Dec 11 02:23:15 2010  Aaron Patterson <aaron@tenderlovemaking.com>
8528
8529	* ext/openssl/extconf.rb: try pkgconfig first, then fall back to
8530	  normal have_library, etc.  Thanks Erik Hollensbe. [ruby-core:32406]
8531
8532Fri Dec 10 22:33:39 2010  Tanaka Akira  <akr@fsij.org>
8533
8534	* dln_find.c: parenthesize macro arguments.
8535
8536Fri Dec 10 20:05:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8537
8538	* template/id.h.tmpl (ruby_method_ids): suppress warnings.
8539	  [ruby-dev:42730]
8540
8541Fri Dec 10 18:29:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8542
8543	* ruby.c (ruby_init_loadpath_safe): relatively called non-shared
8544	  binary cannot be found in PATH, so use given pathname.
8545
8546Fri Dec 10 18:28:40 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8547
8548	* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
8549
8550	* cygwin/GNUmakefile.in (scriptbin): set executable bit.
8551
8552	* tool/rbinstall.rb (install_recursive): always skip default ignored
8553	  files.  if block is given, call it instead of calling install.
8554
8555	* tool/rbinstall.rb (bin-comm): use install_recursive.
8556
8557Fri Dec 10 18:12:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8558
8559	* test/mkmf/base.rb (TestMkmf#config_value): extract macro value from
8560	  config.h.
8561
8562	* test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin),
8563	  (TestMkmf::TestSizeof#test_sizeof_struct): more tests.
8564
8565	* lib/mkmf.rb (check_signedness): should use the prelude code.
8566	  [ruby-dev:42731]
8567
8568	* lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.
8569
8570	* test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures.
8571
8572	* test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests.
8573
8574Fri Dec 10 11:36:43 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8575
8576	* compile.c (enum): remove a comma at end of enumerator list.
8577
8578	* constant.h (rb_const_flag_t): ditto.
8579
8580	* iseq.h (enum catch_type): ditto.
8581
8582	* iseq.h (enum defined_type): ditto.
8583
8584	* vm_core.h (enum iseq_type): ditto.
8585
8586	* vm_core.h (enum vm_special_object_type): ditto.
8587
8588Fri Dec 10 10:47:53 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8589
8590	* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
8591
8592Fri Dec 10 10:37:17 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8593
8594	* sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in
8595	  8 byte, it might be sane quad. [ruby-core:33634]
8596
8597Fri Dec 10 10:07:59 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8598
8599	* lib/net/http.rb: remove version 1.1 features.
8600
8601Fri Dec 10 02:18:02 2010  Aaron Patterson <aaron@tenderlovemaking.com>
8602
8603	* ext/openssl/ossl_x509store.c (ossl_x509stctx_cleanup): removing C
8604	  implementation of `cleanup`.
8605
8606	* ext/openssl/lib/openssl/x509.rb: adding ruby implementation of
8607	  `cleanup`.  OpenSSL::X509::StoreContext#cleanup is deprecated since
8608	  reusing the underlying struct doesn't make sense. [ruby-dev:42546]
8609
8610Thu Dec  9 20:14:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8611
8612	* parse.y (lvar_defined_gen, shadowing_lvar_gen, dvar_defined): no
8613	  warnings for unused method and block arguments.
8614	  [ruby-dev:42718] [ruby-dev:42724]
8615
8616Thu Dec  9 19:25:49 2010  Tanaka Akira  <akr@fsij.org>
8617
8618	* dln.c: parenthesize macro arguments.
8619
8620Thu Dec  9 18:51:06 2010  Tanaka Akira  <akr@fsij.org>
8621
8622	* lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support
8623	  %{remote}p for logging remote (client) port number.
8624	  [ruby-dev:42670]
8625
8626Thu Dec  9 11:00:30 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
8627
8628	* array.c (rb_ary_dup): should copy contents only.  no instance
8629	  variable, no class would be copied.  it would affect methods
8630	  #sort, #reject, #transpose, #uniq, #compact, and #shuffle.
8631	  [ruby-core:33640]
8632
8633	* array.c (rb_ary_reverse_m): ditto.
8634
8635	* array.c (rb_ary_rotate_m): ditto.
8636
8637Wed Dec  8 21:38:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8638
8639	* ext/dl/lib/dl/struct.rb: clean a warning: assigned but unused
8640	  variable. patched by Kouhei Yanagita. [ruby-dev:42722]
8641
8642	* ext/dl/lib/dl/import.rb: ditto.
8643
8644Wed Dec  8 21:36:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8645
8646	* parse.y (shadowing_lvar_gen): fix line number.  [ruby-dev:42718]
8647
8648Wed Dec  8 20:37:11 2010  Tanaka Akira  <akr@fsij.org>
8649
8650	* dir.c: parenthesize macro arguments.
8651
8652Tue Dec  7 22:37:15 2010  Masaya Tarui  <tarui@ruby-lnag.org>
8653
8654	* io.c (io_read): duplicate string if shared. [ruby-dev:42719]
8655
8656Tue Dec  7 22:31:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8657
8658	* lib/optparse.rb (OptionParser::Officious): separate completion
8659	  options from --help.  [ruby-dev:42690]
8660
8661	* lib/optparse.rb (OptionParser::Completion#candidate),
8662	  (OptionParser::Switch#compsys): remove unused variables.
8663
8664Tue Dec  7 22:05:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8665
8666	* transcode.c (transcode_loop): call default handler of the given
8667	  hash, method, proc or [] method as fallback.  [ruby-dev:42692]
8668
8669Tue Dec  7 21:59:37 2010  Kouhei Sutou  <kou@cozmixng.org>
8670
8671	* lib/rexml/light/node.rb: remove circular require.
8672
8673Tue Dec  7 21:56:01 2010  Kouhei Sutou  <kou@cozmixng.org>
8674
8675	* test/rexml/test_light.rb: really suppress a warning.
8676
8677Tue Dec  7 21:51:57 2010  Kouhei Sutou  <kou@cozmixng.org>
8678
8679	* test/rexml/test_light.rb: suppress a warning.
8680
8681Tue Dec  7 21:14:03 2010  Tanaka Akira  <akr@fsij.org>
8682
8683	* debug.c: parenthesize macro arguments.
8684
8685Tue Dec  7 21:06:38 2010  Kouhei Sutou  <kou@cozmixng.org>
8686
8687	* lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.
8688	  [ruby-core:33305]
8689	  Reported by Aaron Patterson. Thanks!!!
8690
8691Tue Dec  7 18:56:52 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8692
8693	* ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc.
8694	  patched by Kouhei Yanagita [ruby-dev:42696]
8695
8696Tue Dec  7 20:32:11 2010  Kouhei Sutou  <kou@cozmixng.org>
8697
8698	* test/rexml/test_doctype.rb: add Accessor to test case name.
8699
8700Tue Dec  7 20:31:02 2010  Kouhei Sutou  <kou@clear-code.com>
8701
8702	* test/rexml/test_doctype.rb: Doctype -> DocType.
8703
8704Tue Dec  7 20:29:23 2010  Kouhei Sutou  <kou@clear-code.com>
8705
8706	* test/rexml/test_doctype_mixin.rb: rename to ...
8707	* test/rexml/test_doctype.rb: ... this to remove needless name.
8708
8709Tue Dec  7 17:03:16 2010  Shugo Maeda  <shugo@ruby-lang.org>
8710
8711	* lib/net/imap.rb (xlist): supported the XLIST command, which is an
8712	  extension by Apple and Google.  patch by Geoff Youngs.
8713	  [ruby-core:33521]
8714
8715Tue Dec  7 08:00:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8716
8717	* configure.in, win32/Makefile.sub (WERRORFLAG): flag to treat
8718	  warnings as errors.
8719
8720	* lib/mkmf.rb (Logging.postpone): yield log file object.
8721
8722	* lib/mkmf.rb (xsystem): add options, :werror only right now.
8723
8724	* lib/mkmf.rb (with_werror): check as if warnings are errors.
8725
8726	* lib/mkmf.rb (convertible_int): make declaration conflict
8727	  warnings errors not to pass wrong type.  [ruby-dev:42684]
8728
8729	* lib/mkmf.rb (COMMON_MACROS): get rid of conflicts.
8730
8731	* win32/Makefile.sub (WARNFLAGS): make declaration conflict
8732	  warnings errors if possible.
8733
8734Sun Dec  7 21:16:10 2010  Tanaka Akira  <akr@fsij.org>
8735
8736	* cont.c: parenthesize macro arguments.
8737
8738Tue Dec  7 00:27:14 2010  Masaya Tarui  <tarui@ruby-lnag.org>
8739
8740	* win32/win32.c (rb_w32_read): fixed more for readline,
8741	  and so on. [ruby-core:33511]
8742
8743Mon Dec  6 23:18:22 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8744
8745	* test/mkmf/base.rb (TestMkmf#setup): run quietly.
8746
8747	* test/mkmf/test_find_executable.rb (test_find_executable): use
8748	  configured results.
8749
8750	* common.mk (test-build): test for build process.
8751
8752Mon Dec  6 22:47:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8753
8754	* lib/optparse.rb (OptionParser#candidate): skip separators.
8755
8756	* sample/optparse/opttest.rb: should not override --help.
8757	  [ruby-dev:42690]
8758
8759Mon Dec  6 19:00:48 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8760
8761	* misc/rb_optparse.zsh: fix typos.
8762
8763Mon Dec  6 18:59:04 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8764
8765	* NEWS: add new encodings.
8766
8767Mon Dec  6 18:56:42 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8768
8769	* test/ruby/test_string.rb (TestString#test_scan): add a test for
8770	  [ruby-core:33338] #4087.
8771
8772Mon Dec  6 18:55:36 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
8773
8774	* test/uri/test_common.rb (TestCommon#test_encode_www_form): add
8775	  tests for r30015.
8776
8777Mon Dec  6 10:39:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8778
8779	* lib/uri/common.rb (URI::Parser#initialize_pattern):
8780	  refix for restrict the pattern.
8781
8782Mon Dec  6 09:45:11 2010  Eric Hodel  <drbrain@segment7.net>
8783
8784	* ext/openssl (OpenSSL): add toplevel documentation
8785	* ext/openssl/ossl_ssl.c (SSLContext, SSLSocket: add additional
8786	  documentation
8787	* ext/openssl: move "let rdoc know about mOSSL" comments so they don't
8788	  show up in output
8789
8790Mon Dec  6 09:16:46 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8791
8792	* lib/uri/common.rb (URI::Parser#initialize_pattern):
8793	  workaround fix pattern of hostname for RFC 3986. [ruby-dev:42672]
8794
8795Mon Dec  6 09:14:38 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8796
8797	* lib/mkmf.rb (check_signedness): rename unused variable prelude.
8798
8799Sun Dec  5 17:56:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8800
8801	* class.c (make_metaclass): fix probable typo.  builtin type flag
8802	  cannot be used with FL_TEST.
8803
8804Sun Dec  5 12:09:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8805
8806	* lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]
8807
8808Sun Dec  5 11:27:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8809
8810	* ruby.c (load_file_internal): decrement for ungotten line.
8811	  [ruby-dev:42680]
8812
8813Sun Dec  5 10:32:11 2010  Tanaka Akira  <akr@fsij.org>
8814
8815	* complex.c: parenthesize macro arguments.
8816
8817Sat Dec  4 11:39:17 2010  Eric Hodel  <drbrain@segment7.net>
8818
8819	* ext/openssl/ossl_x509ext.c (initialize): add documentation.
8820
8821Sat Dec  4 11:21:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8822
8823	* hash.c (rb_hash_update_by): new API for Hash#update.
8824
8825Sat Dec  4 11:18:10 2010  Tanaka Akira  <akr@fsij.org>
8826
8827	* class.c: parenthesize macro arguments.
8828
8829Sat Dec  4 11:07:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8830
8831	* vm_core.h (rb_vm_inc_const_missing_count): missing prototype.
8832
8833Sat Dec  4 08:50:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8834
8835	* ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil.
8836
8837Sat Dec  4 08:25:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8838
8839	* vm_insnhelper.c (vm_call_method): revert r30064 and r30071,
8840	  because of [ruby-core:26761]. Bug#4106 rejected.
8841
8842Sat Dec  4 07:46:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8843
8844	* lib/mkmf.rb (String#tr_cpp): substitute * with P like as
8845	  autoconf.
8846
8847Fri Dec  3 22:36:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8848
8849	* vm_insnhelper.c (vm_call_method): protected methods should be
8850	  checked against the real class.
8851
8852Fri Dec  3 20:23:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8853
8854	* lib/mkmf.rb (convertible_int): define printf format prefix too.
8855
8856	* lib/mkmf.rb (convertible_int): detect convertible integer type.
8857	  port RUBY_REPLACE_INT from configure.in.
8858
8859	* lib/mkmf.rb (check_sizeof): should return integer always.
8860
8861Fri Dec  3 12:54:48 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8862
8863	* win32/Makefile.sub (RCFLAGS): VC10 and after only. fixed the problem
8864	  of r30015. [ruby-core:33530]
8865
8866Fri Dec  3 12:41:52 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
8867
8868	* gc.c (rb_objspace_free): With our "lazy-sweep" GC engine, it is
8869	  possible for an object to survive until its surrounding object
8870	  space is about to be freed.  Those objects, if any, remains
8871	  leaked for the rest of a process life.  This is problematic
8872	  because for instance a T_DATA object may have its own destructor
8873	  to terminate something.
8874
8875	* vm.c (ruby_vm_destruct): ruby_current_vm termination should be
8876	  somewhere after rb_objspace_free for above reason.
8877
8878Fri Dec  3 12:17:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8879
8880	* vm_insnhelper.c (vm_call_method): protected singleton methods should
8881	  be visible from same real class methods.  [ruby-core:33506]
8882
8883Fri Dec  3 07:08:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8884
8885	* ext/stringio/stringio.c (strio_getline): round upto next char
8886	  boundary.  [ruby-dev:42674]
8887
8888Fri Dec  3 06:52:46 2010  Tanaka Akira  <akr@fsij.org>
8889
8890	* compile.c: parenthesize macro arguments.
8891
8892Fri Dec  3 04:08:59 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8893
8894	* encoding.c (enc_alias_internal): use st_insert2 and change return
8895	  value to int.
8896
8897	* encoding.c (enc_alias): follow enc_alias_internal.
8898
8899Fri Dec  3 01:52:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8900
8901	* encoding.c (enc_alias_internal): use xfree instead of free.
8902
8903Thu Dec  2 23:52:26 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
8904
8905	* NEWS: entry for ruby_vm_at_exit().
8906
8907	* eval.c (ruby_cleanup): bug fix around at_exit (1) timing was
8908	  wrong. (2) execution order was opposite.
8909
8910Thu Dec  2 23:05:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8911
8912	* win32/Makefile.sub (RCFLAGS): -nologo switch is only available in
8913	  newer versions of rc.exe. fixed the problem of r30012.
8914
8915Thu Dec  2 21:28:07 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8916
8917	* ext/json/lib/json/add/rails.rb: removed.
8918
8919Thu Dec  2 21:22:05 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8920
8921	* encoding.c (enc_alias_internal): free the copied key and
8922	  return NULL when given key is already registered.
8923
8924	* encoding.c (enc_alias): call set_encoding_const only when the
8925	  alias is not registered yet.
8926
8927Thu Dec  2 19:58:24 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
8928
8929	* vm.c (ruby_vm_at_exit): new API.  This enables extension libs to
8930	  hook a VM termination.  Right now, because the VM we have is
8931	  process global, most extensions do not deallocate resources and
8932	  leave them to Operating System's reaping userland processes.  But
8933	  in a future we plan to have multiple VMs to run simultaneously in
8934	  a single process (MVM project).  At that stage we can no longer
8935	  rely on OSes and have to manage every resources to be reclaimed
8936	  properly.  So it is.  For a forward-compatibility reason this API
8937	  is introduced now, encouraging you to be as gentle as you can for
8938	  your resources; that is, tidy up your room.
8939
8940	* include/ruby/vm.h: ditto.
8941
8942	* vm_core.h (rb_vm_struct): new field.
8943
8944	* vm.c (vm_init2): initialize above new field.
8945
8946	* eval.c (ruby_cleanup): trigger those hooks.
8947
8948Thu Dec  2 17:00:44 2010  Tanaka Akira  <akr@fsij.org>
8949
8950	* bignum.c: parenthesize macro arguments.
8951
8952Thu Dec  2 15:31:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8953
8954	* win32/win32.c (rb_w32_read): more fix. [ruby-core:33513]
8955
8956Thu Dec  2 13:41:43 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8957
8958	* win32/win32.c (rb_w32_read): workaround for console reading troubles.
8959	  fixed [ruby-core:33511]
8960
8961Thu Dec  2 13:10:42 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8962
8963	* lib/uri/common.rb (URI.encode_www_form):
8964	  split key-value when the value is Array like object.
8965
8966Thu Dec  2 10:39:39 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8967
8968	* lib/net/http.rb (Net::HTTP#set_form_data):
8969	  use URI.encode_www_form for application/x-www-form-urlencoded.
8970
8971Thu Dec  2 10:38:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8972
8973	* ext/extmk.rb: remove $makeflags.defined?, it should be $mflags.
8974
8975Thu Dec  2 10:19:47 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
8976
8977	* win32/Makefile.sub (rc): suppress meaningless message.
8978
8979Thu Dec  2 10:09:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8980
8981	* ext/json/generator/extconf.rb: remove the lines which set -O3
8982	  when -O option is not set.
8983	  Note that -O3 doesn't always exist.
8984
8985	* ext/json/parser/extconf.rb: ditto.
8986
8987Thu Dec  2 10:01:59 2010  NARUSE, Yui  <naruse@ruby-lang.org>
8988
8989	* ext/extmk.rb: define $makeflags.defined? like $mflags.
8990
8991Thu Dec  2 07:20:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
8992
8993	* lib/test/unit.rb (Test::Unit::GCStressOption): --gc-stress
8994	  option.
8995
8996	* lib/test/unit.rb (Test::Unit::Mini#_run_suites): show the result
8997	  even when interrupted on the way.
8998
8999Thu Dec  2 07:08:38 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9000
9001	* ext/io/console/console.c (setattr): should retry on EINTR.
9002	  [ruby-dev:42666]
9003
9004Thu Dec  2 02:30:50 2010  Eric Hodel  <drbrain@segment7.net>
9005
9006	* lib/net/http.rb: fixed positional wording to match revised order.
9007
9008Thu Dec  2 01:24:39 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9009
9010	* ext/json/lib/json/common.rb: don't use iconv on 1.9.
9011	  patched by Shota Fukumori [ruby-core:33164]
9012
9013Thu Dec  2 01:02:03 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9014
9015	* ext/json: Update github/flori/json from 1.4.2+ to
9016	  e22b2f2bdfe6a9b0. this fixes some bugs.
9017
9018Thu Dec  2 00:05:44 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9019
9020	* lib/net/http.rb: improve rdoc.
9021	  This change the order of chapter because such overview should
9022	  begin with simple examples.
9023	  patched by Eric Hodel [ruby-core:33469]
9024
9025Wed Dec  1 22:01:49 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9026
9027	* numeric.c (Init_Numeric): fixed a potential bug when using bccwin32
9028	  ruby with Microsoft's dll, though we already gave up of supporting
9029	  bccwin32. [ruby-core:33503]
9030
9031Wed Dec  1 21:43:21 2010  Tanaka Akira  <akr@fsij.org>
9032
9033	* array.c: parenthesize macro arguments.
9034
9035Wed Dec  1 21:41:57 2010  Tanaka Akira  <akr@fsij.org>
9036
9037	* test/socket/test_addrinfo.rb: extract Errno::EADDRINUSE as a method.
9038
9039	* test/socket/test_socket.rb: ditto.
9040
9041Wed Dec  1 15:08:32 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9042
9043	* test/openssl/test_ssl.rb (test_not_started_session): non socket
9044	  argument of SSLSocket.new is not supported on Windows.
9045
9046Wed Dec  1 14:36:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9047
9048	* string.c (rb_memhash): zero-filled strings should return
9049	  different values.  [ruby-core:33500]
9050
9051Wed Dec  1 14:27:49 2010  Ryan Davis  <ryand-ruby@zenspider.com>
9052
9053	* lib/minitest/*.rb: Imported minitest 2.0.0 r5952.
9054	* test/minitest/*.rb: ditto.
9055	* lib/test/unit.rb: Compatibility fix for minitest changes.
9056
9057Wed Dec  1 10:16:41 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9058
9059	* string.c (rb_str_inspect): fix typo (not 0xFD but 0xFE).
9060
9061Wed Dec  1 09:28:27 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9062
9063	* addr2line.c: Follow .gnu_debuglink section.
9064	  A user of distribution provided ruby will see line
9065	  info if s/he has a debug package for ruby.
9066	  patched by Shinichiro Hamaji [ruby-dev:42655]
9067
9068Wed Dec  1 01:29:15 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9069
9070	* string.c (rb_str_inspect): inspect as a dummy encoding string
9071	  when a UTF-16/32 (not BE/LE) string does not have a BOM.
9072	  Unicode and some RFCs say that a string labeled as UTF-16/32
9073	  doesn't have a BOM, it should be considered big endian.
9074	  But many Windows programs generates little endian UTF-16
9075	  strings without a BOM. So String#inspect treats a string
9076	  labeled UTF-16/32 without a BOM as a dummy encoding string.
9077	  patched by Martin Duerst. [ruby-core:33461]
9078
9079Tue Nov 30 17:04:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9080
9081	* addr2line.c (parse_debug_line_cu): ignore DW_LNE_set_discriminator.
9082	  To ignore, it needs to read a single unsigned LEB128 integer.
9083
9084Tue Nov 30 16:29:19 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9085
9086	* vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other
9087	  words backtrace() is libexecinfo) and it is optimized.
9088	  This temporary hack may be also applied to other libexecinfo
9089	  environments.
9090
9091Tue Nov 30 16:23:23 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9092
9093	* lib/net/http.rb: improve rdoc.
9094	  patched by Eric Hodel ref #4100
9095
9096Tue Nov 30 12:23:52 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9097
9098	* win32/win32.c (rb_w32_read): read only 1 byte at once on console.
9099	  workaround of Windows bug. see [ruby-core:33460].
9100	  this is not the final solution.
9101
9102Tue Nov 30 11:39:13 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9103
9104	* lib/net/http.rb: improve rdoc.
9105	  patched by mathew murphy [ruby-core:33472] ref #4100
9106
9107Tue Nov 30 05:03:44 2010  Eric Hodel  <drbrain@segment7.net>
9108
9109	* lib/uri/common.rb (encode_www_form, encode_www_form_component):
9110	  Improve English in documentation.
9111
9112	* ext/openssl/ossl_ssl.c (ssl_version=, ciphers=): Document
9113	  #ssl_version=, add documentation for #ciphers=.
9114
9115Mon Nov 29 22:55:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9116
9117	* lib/uri/common.rb (URI::WFKV_): get rid of backtrack explosion
9118	  by nested repeat operators.  [ruby-core:33464]
9119
9120Mon Nov 29 22:53:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9121
9122	* win32/Makefile.sub (scriptbin.mk): fix generated rules.
9123
9124	* win32/win32.c (rb_w32_write_console): fix argument type.
9125
9126Mon Nov 29 21:12:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9127
9128	* misc/ruby-mode.el (ruby-forward-sexp): stop after literal hash
9129	  key labels.
9130
9131	* misc/ruby-mode.el (ruby-font-lock-keywords): highlight literal
9132	  hash key labels as symbols.
9133
9134Mon Nov 29 18:31:31 2010  Martin Duerst  <duerst@it.aoyama.ac.jp>
9135
9136	* test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
9137	  - Removed commented-out options that are no longer under discussion.
9138	  - Added two more tests for forthcomming clarifications.
9139
9140Mon Nov 29 14:31:17 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9141
9142	* win32/win32.c (rb_w32_isatty): use GetConsoleMode() to determine the
9143	  fd is console or not, just like rb_w32_write_console(). [experimental]
9144
9145Mon Nov 29 14:19:40 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9146
9147	* include/ruby/win32.h (rb_w32_write_console): wrong prototype.
9148
9149Mon Nov 29 14:10:55 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9150
9151	* win32/win32.c (rb_w32_write_console): fixed indentation.
9152
9153Sun Nov 28 22:13:39 2010  Koichi Sasada  <ko1@atdot.net>
9154
9155	* thread_pthread.c (NATIVE_MUTEX_LOCK_DEBUG): move and use it.
9156
9157	* ChangeLog: fix my timezone.
9158
9159Mon Nov 28 21:58:58 2010  Koichi Sasada  <ko1@atdot.net>
9160
9161	* thread_pthread.c: remove pthread_atfork().
9162
9163Mon Nov 28 21:54:22 2010  Koichi Sasada  <ko1@atdot.net>
9164
9165	* thread_pthread.c (native_cond_*): Check return code.
9166	  (Some OSes except Linux return error code).
9167
9168Sun Nov 28 21:46:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9169
9170	* thread_pthread.c (thread_start_func_1): initialize native thread
9171	  data immediately before starting.
9172
9173Sun Nov 28 14:56:32 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9174
9175	* io.c (struct argf): make lineno long, and reorder members.
9176
9177Sun Nov 28 14:55:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9178
9179	* thread_win32.c (gvl_release, gvl_init): suppress warnings.
9180
9181Sun Nov 28 14:48:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9182
9183	* thread_pthread.c (gvl_release, gvl_init): suppress warnings.
9184
9185	* vm_core.h (rb_vm_gvl_destroy): add prototype.
9186
9187Sun Nov 28 14:46:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9188
9189	* thread_pthread.c (gvl_reinit): register atfork handler only in
9190	  the parent process, to get rid of dead lock.
9191
9192Sun Nov 28 12:23:57 2010  Koichi Sasada  <ko1@atdot.net>
9193
9194	* thread.c, vm_core.h: make gvl_acquire/release/init/destruct
9195	  APIs to modularize GVL implementation.
9196
9197	* thread_pthread.c, thread_pthread.h: Two GVL implementations.
9198	  (1) Simple locking GVL which is same as existing GVL.
9199	  (2) Wake-up queued threads.  The wake-up order is simple FIFO.
9200	     (We can make several queues to support exact priorities, however
9201	      this causes some issues such as priority inversion and so on.)
9202	      This impl. prevents spin-loop (*1) caused on SMP environments.
9203	  *1: Only one Ruby thread acquires GVL again and again.
9204	      Bug #2359 [ruby-core:26694]
9205
9206	* thread_win32.c, thread_win32.h: Using simple lock
9207	  not by CRITICAL_SECTION but by Mutex.
9208	  Bug #3890 [ruby-dev:42315]
9209
9210	* vm.c (ruby_vm_destruct): ditto.
9211
9212Sun Nov 28 04:40:00 2010  Luis Lavena  <luislavena@gmail.com>
9213
9214	* io.c (io_fwrite): use rb_w32_write_console under Windows.
9215
9216	* win32/win32.c (rb_w32_write_console): added to write to write
9217	  Unicode using WriteConsoleW for stdout/stderr. [ruby-core:33166]
9218
9219Sun Nov 28 03:58:47 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9220
9221	* lib/net/http.rb: improve rdoc.
9222	  patched by Mike Perham [ruby-core:33433]
9223
9224Sat Nov 27 19:12:10 2010  Tanaka Akira  <akr@fsij.org>
9225
9226	* time.c: parenthesize macro arguments.
9227
9228Sat Nov 27 18:08:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9229
9230	* time.c (leap_year_v_p): fixed typo.  [ruby-dev:42631]
9231
9232Sat Nov 27 17:57:08 2010  Tanaka Akira  <akr@fsij.org>
9233
9234	* resolv.rb (Resolv::DNS): use the same DNS server when retry using
9235	  TCP.  reported by Julian Mehnle.  [ruby-core:32970]
9236
9237Sat Nov 27 15:45:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9238
9239	* vm_dump.c (rb_vm_bugreport): see CrashReport log on Mac OS X.
9240
9241	* configure.in: link addr2line only for ELF.
9242
9243Sat Nov 27 13:58:55 2010  Shugo Maeda  <shugo@ruby-lang.org>
9244
9245	* lib/optparse.rb (OptionParser#candidate): : was missing.  Thanks,
9246	  Shota Fukumori.  [ruby-dev:42634]
9247
9248Sat Nov 27 12:07:05 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
9249
9250	* man/ruby.1: Ruby man page from Arthur Gunn in [ruby-core:33412]
9251
9252Sat Nov 27 11:29:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9253
9254	* lib/optparse.rb (OptionParser#candidate): get rid of 1.9 syntax
9255	  so that BASERUBY can be 1.8.
9256
9257Sat Nov 27 08:16:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9258
9259	* addr2line.c (rb_dump_backtrace_with_lines): should close fd on
9260	  edge case.
9261
9262Fri Nov 26 13:33:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9263
9264	* addr2line.c: apply a patch from shinichiro.h.
9265
9266Fri Nov 26 12:21:20 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9267
9268	* addr2line.c: added to show source filename and line number of
9269	  functions in backtrace. [ruby-dev:42625]
9270	  a patch from shinichiro.h <shinichiro.hamaji AT gmail.com>
9271
9272	* addr2line.h: ditto.
9273
9274	* common.mk: add addr2line.$(OBJEXT).
9275
9276	* configure.in: check dl_iterate_phdr.
9277
9278	* vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in
9279	  addr2line.c when the binary is ELF.
9280
9281Fri Nov 26 12:12:50 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9282
9283	* regcomp.c (setup_tree): restart setup_tree() for a node whose
9284	  AnchorNode's type is ANCHOR_PREC_BEHIND or ANCHOR_PREC_BEHIND_NOT
9285	  and divide_look_behind_alternatives() divided it to NT_ALT or
9286	  NT_LIST. [ruby-core:33370]
9287
9288Fri Nov 26 11:40:11 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9289
9290	* vm_dump.c (dump_thread): get only required rights of the target
9291	  thread because THREAD_ALL_ACCESS causes an access error on XP.
9292	  reported by Masaya TARUI via IRC.
9293
9294Fri Nov 26 11:09:07 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9295
9296	* vm_dump.c (dump_thread): show the displacement from the beginning
9297	  of the symbol.
9298
9299Fri Nov 26 10:48:23 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9300
9301	* vm_dump.c (dump_thread): follow the output of glibc.
9302	  see [ruby-dev:42627]
9303
9304Fri Nov 26 09:48:45 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9305
9306	* re.c (rb_reg_initialize_str): should succeed the taint status from
9307	  the origin. [ruby-core:33338]
9308
9309Fri Nov 26 09:32:37 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9310
9311	* vm_dump.c (dump_thread): seems to be necessary the 3rd argument of
9312	  SymGetLineFromAddr64(), even though MSDN says it can be zero.
9313
9314Fri Nov 26 09:03:38 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9315
9316	* regcomp.c (onig_is_prelude): added to check whether ruby is still
9317	  in prelude (or other boot processes) or not.
9318
9319	* regcomp.c (optimize_node_left): use onig_is_prelude for printing.
9320
9321	* regcomp.c (set_optimize_info_from_tree): ditto.
9322
9323	* regcomp.c (onig_compile): ditto.
9324
9325	* regcomp.c (print_compiled_byte_code_list): print its address.
9326
9327	* regcomp.c (print_indent_tree): print its contents tree of
9328	    ANCHOR_PREC_READ(_NOT) and ANCHOR_PREC_BEHIND(_NOT).
9329
9330Thu Nov 25 23:10:49 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9331
9332	* regcomp.c (print_distance_range): use PRIuSIZE.
9333
9334	* regcomp.c (print_optimize_info): use %ld because the type of
9335	  calculated value of integers is long.
9336
9337	* regexec.c (onig_print_compiled_byte_code): add prototype.
9338
9339	* regexec.c (match_at): add 2nd argument.
9340
9341Thu Nov 25 10:29:55 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9342
9343	* ext/dl/callback/mkcallback.rb (gencallback): shouldn't assume that
9344	  VALUE is the same size with long.
9345
9346Thu Nov 25 10:03:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9347
9348	* test/win32ole/test_err_in_callback.rb (teardown): remove tmp file
9349	  only when it exists.
9350
9351Thu Nov 25 01:38:25 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9352
9353	* enc/trans/big5-hkscs-tbl.rb: Update table as HKSCS-2008.
9354	  patched by oCameLo oTnTh [ruby-core:33256]
9355
9356	* enc/big5.c: add alias Big5-HKSCS:2008 to Big5-HKSCS.
9357
9358Wed Nov 24 15:18:07 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9359
9360	* vsnprintf (BSD_vfprintf): use QUADINT macro only when _HAVE_SANE_QUAD_
9361	  macro is defined.
9362
9363Wed Nov 24 12:47:16 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9364
9365	* vsnprintf (BSD_vfprintf): added VC++ compatible size specifications
9366	  (I, I32, I64).
9367
9368Wed Nov 24 11:19:13 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9369
9370	* string.c (rb_str_inspect): treat UTF-16 and UTF-32 as BE or LE.
9371
9372Wed Nov 24 06:35:32 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9373
9374	* enc/trans/utf_16_32.trans: add the UTF-32 converter.
9375
9376Wed Nov 24 05:40:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9377
9378Wed Nov 24 06:13:32 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9379
9380	* win32/win32.c (filecp, wstr_to_mbstr, mbstr_to_wstr):
9381	  refactored.
9382
9383Wed Nov 24 05:40:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9384
9385	* enc/trans/utf_16_32.trans: add a converter from UTF-8 to UTF-16.
9386
9387Wed Nov 24 03:21:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9388
9389	* enc/trans/utf_16_32.trans: raise error on unpaired upper
9390	  surrogates.
9391
9392Wed Nov 24 01:40:23 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9393
9394	* enc/utf_16_32.h: add UTF-16 and UTF-32 as a dummy encoding.
9395
9396	* enc/trans/utf_16_32.trans: add a converter from UTF-16 to UTF-8.
9397
9398Tue Nov 23 21:59:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9399
9400	* win32/win32.c (wlink, rb_w32_getppid): use typedef instead of
9401	  repeating complicated function prototypes.
9402
9403Tue Nov 23 18:54:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9404
9405	* vm.c (rb_thread_mark): should mark self in control
9406	  frames.  [ruby-core:33289]
9407
9408Tue Nov 23 07:57:31 2010  Tadayoshi Funaba  <tadf@dotrb.org>
9409
9410	* lib/date/delta/parser.{ry,rb}: fixed a bug of token scanner.
9411
9412Tue Nov 23 07:29:24 2010  Tadayoshi Funaba  <tadf@dotrb.org>
9413
9414	* complex.c, rational.c ({nucomp,nurat}_expt): added a check.
9415
9416Tue Nov 23 07:27:27 2010  Tadayoshi Funaba  <tadf@dotrb.org>
9417
9418	* lib/date.rb (daynum): should be private.
9419
9420Tue Nov 23 07:22:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9421
9422	* ChangeLog (change-log-indent-text): hanging indent.
9423
9424Tue Nov 23 06:30:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9425
9426	* configure.in (SITE_DIR, VENDOR_DIR),
9427	  version.c (ruby_initial_load_paths): exclude directories that
9428	  are configured without them from $LOAD_PATH. [ruby-core:33267]
9429
9430	* configure.in (rubylibprefix): No ruby, No libprefix.
9431
9432Tue Nov 23 01:05:27 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9433
9434	* vsnprintf.c (BSD_vfprintf): don't output floating point
9435	  when the precision is 0. [ruby-dev:42615]
9436
9437Mon Nov 22 21:30:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9438
9439	* string.c (rb_str_inspect): fix for ascii-compatible external
9440	  encoding and different encoding string.  [ruby-core:33283]
9441
9442Mon Nov 22 18:45:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9443
9444	* lib/mkmf.rb (create_makefile): should not duplicate rules.
9445	  bug fix of r29842.
9446
9447Mon Nov 22 18:04:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9448
9449	* enc/big5.c: split CP950 from Big5.
9450
9451	* enc/big5.c: split CP951 from Big5-HKSCS.
9452
9453	* enc/trans/big5.trans: import conversion table of Big5, Big5-HKSCS,
9454	  CP950, and CP951 from ICU. they need fallback conversions.
9455	  ref [ruby-core:33256]
9456	  http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/
9457
9458	* tool/transcode-tblgen.rb (import_ucm): add to import ucm files.
9459
9460Mon Nov 22 18:33:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9461
9462	* string.c (rb_str_inspect): append for each chars instead of bulk
9463	  copy if encoding conversion is needed.  [ruby-core:33283]
9464
9465Mon Nov 22 14:22:45 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9466
9467	* time.c (time_zone): use rb_locale_str_new_cstr to set encoding
9468	  as locale and convert its content to internal encoding.
9469	  [ruby-core:33278]
9470
9471Mon Nov 22 11:58:11 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9472
9473	* string.c (rb_str_concat): set ENC_CODERANGE_VALID when the
9474	  receiver is 7BIT and the argument is non ASCII.
9475
9476Mon Nov 22 01:48:58 2010  Tadayoshi Funaba  <tadf@dotrb.org>
9477
9478	* lib/date.rb: some improvements for performance.
9479
9480Sat Nov 20 07:45:50 2010  Aaron Patterson <aaron@tenderlovemaking.com>
9481
9482	* lib/mkmf.rb: adding compilation support for ObjC/ObjC++ extensions.
9483	  Thanks Scott Gonyea! [ruby-core:33260]
9484
9485Sat Nov 20 01:57:55 2010  Akio Tajima  <artonx@yahoo.co.jp>
9486
9487	* common.mk: add dependency(insns.inc) to compile.obj
9488
9489Fri Nov 19 23:05:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9490
9491	* win32/Makefile.sub (insns_rules.mk): remove extra backslash.
9492
9493	* cygwin/GNUmakefile.in, win32/Makefile.sub (clean): rc files are
9494	  made at compile time, so should be removed by clean.
9495
9496Fri Nov 19 22:09:46 2010  Kouhei Sutou  <kou@cozmixng.org>
9497
9498	* test/rexml/test_core.rb
9499	  (Tester#test_pretty_format_long_text_finite): skip a test that
9500	  uses long string on small memory system. [ruby-dev:42599]
9501
9502Fri Nov 19 21:07:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9503
9504	* lib/optparse.rb: shell completion support for zsh.  based on
9505	  <http://d.hatena.ne.jp/rubikitch/20071002/zshcomplete>
9506
9507	* lib/optparse.rb: shell completion support for bash.
9508
9509Fri Nov 19 00:00:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9510
9511	* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): no needs on cygwin.
9512
9513	* win32/Makefile.sub (scriptbin): create script binaries.
9514
9515Thu Nov 18 23:21:23 2010  Kouhei Sutou  <kou@cozmixng.org>
9516
9517	* lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
9518	  REXML::Formatters::Pretty#wrap used a recursive method call to
9519	  format text.  This switches it to use an iterative approach.
9520	  [ruby-core:33245]
9521	  Patch by Jeremy Evans. Thanks!!!
9522
9523	* test/rexml/test_core.rb: add a test for it.
9524
9525Thu Nov 18 22:58:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9526
9527	* include/ruby/io.h (rb_io_buffer_t): extract from rb_io_t.
9528
9529Thu Nov 18 07:37:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9530
9531	* Makefile.in (reconfig): force reconfigure with previous options.
9532
9533	* common.mk (showconfig): show configure flags, like as
9534	  `config.status --config' generated by recent autoconf.
9535
9536Thu Nov 18 07:16:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9537
9538	* missing/langinfo.c (strncasecmp): get rid of redefinition.
9539
9540Thu Nov 18 00:02:17 2010  James Edward Gray II  <jeg2@ruby-lang.org>
9541
9542	* lib/csv.rb: Upgrading output encoding with ASCII content
9543	  as needed.  [ruby-core:33229]
9544
9545Wed Nov 17 23:19:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9546
9547	* win32/configure.bat: remove quotes from arguments to be quoted.
9548
9549	* lib/mkmf.rb (create_makefile): use forward slashes in messages.
9550
9551	* lib/mkmf.rb (create_makefile): make extension libraries messages
9552	  brief.
9553
9554	* win32/Makefile.sub (MAKEDIRS): should not include silent flag.
9555
9556	* common.mk (ext/ripper/ripper.c, ext/json/parser/parser.c): pass
9557	  Q and ECHO.  [ruby-core:33226]
9558
9559Wed Nov 17 16:09:52 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
9560
9561	* test/test_tracer.rb: new test case.
9562	  minimal regression test for r29280.
9563
9564Wed Nov 17 16:04:23 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
9565
9566	* test/ruby/envutil.rb (Test::Unit::Assersions#assert_warn):
9567	  new assertion to assert that a particular warning message is
9568	  displayed.
9569	  forward port from branches/ruby_1_9_2@29795.
9570
9571Wed Nov 17 15:16:48 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9572
9573	* regint.h (OnigOpInfoType): constify name.
9574
9575	* regcomp.c (op2name): constify return value.
9576
9577	* regcomp.c (onig_print_compiled_byte_code): use PRIuPTR and
9578	  uintptr_t to clean warnings.
9579
9580	* regcomp.c (print_indent_tree): use PRIxPTR and intptr_t.
9581
9582	* regexec.c (match_at): use PRIdPTR and intptr_t.
9583
9584Wed Nov 17 09:49:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9585
9586	* enc/shift_jis.c (property_name_to_ctype): fix memory leak.
9587
9588	* enc/euc_jp.c (property_name_to_ctype): ditto.
9589
9590Wed Nov 17 08:54:04 2010  James Edward Gray II  <jeg2@ruby-lang.org>
9591
9592	* lib/csv.rb: Upgrading output encoding as needed.  [ruby-core:33135]
9593
9594Tue Nov 16 22:30:39 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9595
9596	* vm_insnhelper.c (vm_throw): remove fear of undefined behavior :-)
9597	  Coverity Scan found this bug.
9598
9599Tue Nov 16 09:33:00 2010  Kenta Murata <mrkn@mrkn.jp>
9600
9601	* ext/bigdecimal/lib/bigdecimal/util.rb (to_digits): avoid unused
9602	  variables warning, reported by Aaron Patterson.
9603
9604Tue Nov 16 06:39:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9605
9606	* pack.c (PACK_ITEM_ADJUST): return nil not result array and yield
9607	  values if block is given.  [ruby-core:33193]
9608
9609Tue Nov 16 00:21:20 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9610
9611	* regparse.c (and_cclass, or_cclass): fix memory leak.  Coverity Scan
9612	  found this bug.  [ruby-dev:42579]
9613
9614Tue Nov 16 00:07:32 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9615
9616	* gc.c (assign_heap_slot): fix fear of memory leak and memory
9617	  violation.  Coverity Scan found this bug.
9618
9619Mon Nov 15 23:54:45 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9620
9621	* eval_intern.h (CHECK_STACK_OVERFLOW): it was not intended to add
9622	  size_t to a pointer typed VALUE*.  Coverity Scan found this defect.
9623
9624Mon Nov 15 23:41:21 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9625
9626	* compile.c (iseq_set_exception_local_table, iseq_set_local_table,
9627	  rb_iseq_build_from_ary): fix type inconsistency (which is benign
9628	  because sizeof(ID) == sizeof(ID*), though).  Coverity Scan found
9629	  these bugs.
9630
9631Mon Nov 15 22:47:27 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9632
9633	* vm_eval.c (rb_funcall): ensure va_end after va_init_list.  Coverity
9634	  Scan found this bug.
9635
9636Mon Nov 15 08:36:12 2010  Aaron Patterson <aaron@tenderlovemaking.com>
9637
9638	* lib/racc/parser.rb (do_parse, yyparse): using class eval to define
9639	  method and avoid __send__.
9640
9641Mon Nov 15 06:43:48 2010  Aaron Patterson <aaron@tenderlovemaking.com>
9642
9643	* etc/openssl/ossl_ssl.c (ossl_ssl_get_cert): raise exception if
9644	  pointer is invalid.  Thanks Ippei Obayashi! [ruby-dev:42573]
9645
9646Sun Nov 14 17:57:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9647
9648	* enc/Makefile.in (distclean): should not remove sources which are
9649	  distributed in tarball.
9650
9651Sun Nov 14 16:48:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9652
9653	* parse.y (parser_set_token_info): turn on/off with directives.
9654	  [ruby-core:25442]
9655
9656Sun Nov 14 12:05:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9657
9658	* io.c (argf_readlines): forward to current_file for arguments
9659	  check.  http://twitter.com/nagachika/status/3634254856589312
9660
9661Sun Nov 14 08:48:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9662
9663	* win32/setup.mak (-basic-vars-, -runtime-): suppress trailing
9664	  space and compiler command line.
9665
9666Sun Nov 14 04:22:32 2010  Alexander Zavorine  <alexandre.zavorine@nokia.com>
9667
9668	* symbian/setup (config.h): Added HAVE_LABS and HAVE_LLABS to config.h.
9669
9670	* symbian/configure.bat: Changed packaging version in line with API
9671	  style 3 versioning.
9672
9673Sat Nov 13 16:37:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9674
9675	* common.mk (showflags, help): emit messages at once.
9676
9677	* win32/Makefile.sub (MSG, EOM): remove surrounding quotes by %~I.
9678
9679Sat Nov 13 01:31:30 2010  Akio Tajima <artonx@yahoo.co.jp>
9680
9681	* win32/Makefile.sub: reorder variable End Of Message (don't display it)
9682
9683Fri Nov 12 20:52:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9684
9685	* common.mk (showflags, help): use caret to quote leading spaces on
9686	  Windows.
9687
9688	* Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,
9689	  ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up.
9690
9691Fri Nov 12 16:35:31 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9692
9693	* configure.in: support C level backtrace information on FreeBSD.
9694	  When devel/libexecinfo is installed on FreeBSD, now ruby
9695	  can show C level backtrace information.
9696	  http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libexecinfo/
9697
9698Fri Nov 12 09:58:30 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9699
9700	* win32/setup.mak: use findstr.exe instead of find.exe, because all
9701	  target build platforms should have findstr.exe, and, find.exe often
9702	  means another command such as cygwin's.
9703
9704Fri Nov 12 00:30:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9705
9706	* win32/Makefile.sub (config.h): need PRI_LL_PREFIX.
9707
9708Thu Nov 11 23:38:32 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9709
9710	* configure.in: ANSI C-conforming const and volatile are mandatory
9711
9712	* configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check
9713	  before used in other checks.
9714
9715	* configure.in (RUBY_CHECK_PRINTF_PREFIX): should not break from
9716	  RUBY_WERROR_FLAG, so that ac_c_werror_flag gets restored.
9717
9718Thu Nov 11 23:04:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9719
9720	* ext/iconv/iconv.c (warn_deprecated): show caller position.
9721
9722Thu Nov 11 23:03:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9723
9724	* io.c (argf_close): untie tied io before closing.
9725
9726	* io.c (argf_write): add ARGF.write and so on.
9727
9728	* io.c (argf_read_nonblock): add ARGF.read_nonblock.
9729
9730Thu Nov 11 21:49:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9731
9732	* lib/rdoc/stats.rb (RDoc#print): get rid of NaN.
9733
9734Thu Nov 11 21:47:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9735
9736	* common.mk (SHOWFLAGS): show compile flags.
9737
9738	* common.mk: hide long command lines by default.  verbose-mode is
9739	  turned on by V=1 as before.
9740	  http://jarp.does.notwork.org/diary/200605b.html#200605121
9741
9742Thu Nov 11 21:32:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9743
9744	* lib/mkmf.rb (try_func): accept variable address.
9745
9746	* ext/win32ole/extconf.rb: libuuid is needed on cygwin.
9747
9748Thu Nov 11 21:24:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9749
9750	* file.c (file_expand_path): use cygwin_conv_path on cygwin 1.7 or
9751	  later.
9752
9753	* ruby.c (push_include_cygwin): ditto.
9754
9755Thu Nov 11 20:49:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9756
9757	* include/ruby/ruby.h (PRI_LL_PREFIX): format type specifier for
9758	  LONG_LONG may vary on platforms.
9759
9760Thu Nov 11 20:45:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9761
9762	* configure.in (SYMBOL_PREFIX): separate from EXPORT_PREFIX.
9763
9764	* win32/mkexports.rb (Exports#each_export): use SYMBOL_PREFIX.
9765
9766Wed Nov 10 07:20:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9767
9768	* cygwin/GNUmakefile.in (scriptbin): make executable file from
9769	  scripts with stub.
9770
9771	* ruby.c (load_file_internal): assume xflag for exe file as well
9772	  as no-shebang file.
9773
9774	* tool/rbinstall.rb: install script programs.
9775
9776	* win32/mkexports.rb (Exports#initialize): alias ruby_sysinit for
9777	  stub.
9778
9779	* win32/stub.c: stub for scripts.  [EXPERIMENTAL]
9780
9781Tue Nov  9 21:57:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9782
9783	* dln.c (init_funcname): allocate and build initialization
9784	  funciton name at once.
9785
9786Tue Nov  9 21:14:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9787
9788	* configure.in (AC_FUNC_GETPGRP, AC_FUNC_SETPGRP): no need when
9789	  not used.
9790
9791	* configure.in (EXPORT_PREFIX): check generic prefix.
9792
9793Tue Nov  9 13:24:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9794
9795	* regenc.c (onigenc_minimum_property_name_to_ctype):
9796	  \p{...} should be case insensitive. [ruby-core:33000]
9797
9798	* regenc.c (onigenc_property_list_add_property):
9799	  ditto.
9800
9801	* enc/euc_jp.c (init_property_list, property_name_to_ctype):
9802	  to lowercase property names.
9803
9804	* enc/shift_jis.c (init_property_list, property_name_to_ctype):
9805	  ditto.
9806
9807Tue Nov  9 13:29:36 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9808
9809	* win32/win32.c (overlapped_socket_io): get rid of a warning of 64bit
9810	  mingw.
9811
9812Tue Nov  9 10:44:19 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9813
9814	* util.c (ruby_strtod): this code uses FPU's rounding system.
9815	  But x86's FPU calculates double precision floating-point
9816	  numbers in 80bit precision, so it fails to round the value.
9817	  So ensure the value is assigned a variable. [ruby-dev:42551]
9818	  see also [ruby-math:00802]
9819	  http://www.shudo.net/java-grandprix99/strictfp/
9820
9821Tue Nov  9 07:30:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9822
9823	* error.c (rb_syserr_new): new function to make SystemCallError
9824	  instance without errno.  [EXPERIMENTAL]
9825
9826	* error.c (rb_syserr_fail, rb_mod_syserr_fail): ditto.
9827
9828Tue Nov  9 05:54:57 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
9829
9830	* lib/*.rb: Remove unused variable warnings.
9831	  Patch by Run Paint [ruby-core:30991]
9832
9833	* lib/rubygems/*, lib/rdoc/*.rb, lib/rake/*.rb: ditto
9834
9835Mon Nov  8 18:26:03 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9836
9837	* util.c (ruby_hdtoa): fix type cast and bufsize.
9838
9839Mon Nov  8 15:40:56 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9840
9841	* vsnprintf.c (BSD_vfprintf): fix precision specifier doesn't
9842	  work well on %f. [ruby-dev:42552]
9843
9844Mon Nov  8 14:41:40 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9845
9846	* win32/win32.c (get_wsa_extension_function): typos.
9847
9848Mon Nov  8 13:41:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9849
9850	* tool/enc-unicode.rb,
9851	  enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
9852	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
9853	  Add Age property to regexp. [ruby-core:33019]
9854	  patched by Ammar Ali, tested by Run Paint Run Run
9855
9856Mon Nov  8 12:16:39 2010  Ben Walton  <bwalton@artsci.utoronto.ca>
9857
9858	* configure.in: support -h for solaris linker when gcc not used
9859
9860Mon Nov  8 11:47:39 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9861
9862	* win32/win32.c (finish_overlapped_socket): refactoring.
9863
9864Mon Nov  8 11:02:21 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
9865
9866	* win32/win32.c (get_proc_address): refactoring.
9867
9868	* win32/win32.c (get_wsa_exetinsion_function): refactoring.
9869
9870Mon Nov  8 09:45:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
9871
9872	* enc/trans/gbk-tbl.rb: Add euro sign. [ruby-core:33094]
9873	  CP936, which is de facto definition of GBK, has it.
9874	  http://msdn.microsoft.com/en-us/goglobal/cc305153.aspx
9875
9876Mon Nov  8 07:26:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9877
9878	* configure.in: check only the first symbol to get rid of
9879	  duplication.  [ruby-core:33084] #4031
9880
9881Sun Nov  7 10:13:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9882
9883	* configure.in (NM): check on all platforms.  #4031
9884
9885Sun Nov  7 06:16:33 2010  Aaron Patterson <aaron@tenderlovemaking.com>
9886
9887	* test/openssl/test_ocsp.rb: adding test for r29699.  Thanks Elise
9888	  Huard! [ruby-core:32460]
9889
9890Sat Nov  6 07:33:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9891
9892	* configure.in (rb_cv_export_prefix): check for prefixed
9893	  underscore of exported symbols
9894
9895	* tool/rbinstall.rb (bin-comm): prepend prolog shell script if
9896	  necessary.
9897
9898	* configure.in (LIBRUBY_RELATIVE): use rpath token expansion.
9899
9900Sat Nov  6 07:24:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9901
9902	* template/ruby.pc.in (arch, sitearch): reordered.
9903
9904	* configure.in: keep failed file.
9905
9906Sat Nov  6 07:03:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9907
9908	* process.c (rb_fork_err): save errinfo before fdopen.
9909
9910Sat Nov  6 00:43:58 2010  Aaron Patterson <aaron@tenderlovemaking.com>
9911
9912	* ext/openssl/ossl_ocsp.c (ossl_ocspcid_initialize): an optional
9913	  parameter may be used to specify the OpenSSL::OCSP::CertificateId on
9914	  initialization.  Thanks Elise Huard! [ruby-core:32460]
9915
9916Fri Nov  5 12:23:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9917
9918	* test/ruby/test_{process,system}.rb (test_fallback_to_sh):
9919	  meaningless and wrong tests where /bin/sh does not exist.
9920
9921	* process.c (proc_spawn_v): should spawn, not exec.
9922
9923Fri Nov  5 01:21:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9924
9925	* process.c (proc_exec_v, proc_spawn_v): try to execute with sh if
9926	  no shebang.  [ruby-core:32745] [EXPERIMENTAL]
9927
9928Fri Nov  5 00:39:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9929
9930	* io.c (rb_io_readlines, rb_io_each_line): limit must not be zero.
9931	  a patch from Tomoyuki Chikanaga at [ruby-dev:42538].  #4024
9932
9933Fri Nov  5 00:14:15 2010  Aaron Patterson <aaron@tenderlovemaking.com>
9934
9935	* ext/fiddle/extconf.rb: fixing ffi library location on windows.
9936	  Thanks Usa! [ruby-core:32930]
9937
9938Thu Nov  4 20:04:44 2010  Koichi Sasada  <ko1@atdot.net>
9939
9940	* gc.c (rb_newobj): force garbage_collect() if GC.stress == true.
9941
9942Thu Nov  4 19:48:22 2010  Koichi Sasada  <ko1@atdot.net>
9943
9944	* ChangeLog: missed to write a last ChangeLog.
9945
9946	* gc.c (gc_finalize_deferred): removed.
9947
9948	* gc.c (rb_gc_finalize_deferred): Do not invoke a free_unused_heaps().
9949
9950Thu Nov  4 19:45:27 2010  Koichi Sasada  <ko1@atdot.net>
9951
9952	* gc.c (run_final): do not need argument obj.
9953
9954Thu Nov  4 19:26:10 2010  Koichi Sasada  <ko1@atdot.net>
9955
9956	* gc.c (before_gc_sweep): fix commit miss.
9957
9958Thu Nov  4 19:20:46 2010  Koichi Sasada  <ko1@atdot.net>
9959
9960	* gc.c (after_gc_sweep, before_gc_sweep):
9961	  invoke rb_sweep_method_entry() as soon as possible.
9962
9963Thu Nov  4 19:13:58 2010  Koichi Sasada  <ko1@atdot.net>
9964
9965	* gc.c (after_gc_sweep, slot_sweep): finalizers should be invoked
9966	  as soon as possible.
9967
9968Thu Nov  4 10:30:40 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
9969
9970	* configure.in (--with-valgrind): Now this option is default on.
9971	  You can still explicitly disable this feature by specifying
9972	  --without-valgrind.
9973
9974Thu Nov  4 02:06:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9975
9976	* cont.c (fiber_t_alloc): raise an error when fiber is going to be
9977	  initialized twice.  [ruby-dev:42524]
9978
9979Thu Nov  4 02:04:25 2010  Yusuke Endoh  <mame@tsg.ne.jp>
9980
9981	* cont.c (rb_fiber_resume): raise an "double resume" error when root
9982	  fiber is going to be resumed.  [ruby-dev:42523]
9983
9984Wed Nov  3 14:17:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9985
9986	* lib/ostruct.rb (OpenStruct#delete_field): also undefine
9987	  accessor methods.  [ruby-core:33010]
9988
9989Wed Nov  3 14:13:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9990
9991	* string.c (rb_enc_cr_str_buf_cat): concatenation of valid
9992	  encoding string and invalid encoding string should result
9993	  invalid encoding.  [ruby-core:33027]
9994
9995Wed Nov  3 08:58:59 2010  Koichi Sasada  <ko1@atdot.net>
9996
9997	* gc.c, vm.c, vm_core.h: remove USE_VALUE_CACHE option.
9998
9999Wed Nov  3 07:47:25 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
10000
10001	* lib/irb/ruby-lex.rb (RubyLex#identify_string): parse multiple
10002	  regex options.  a patch from Heesob Park in [ruby-core:32988].
10003
10004Wed Nov  3 07:33:57 2010  Tanaka Akira  <akr@fsij.org>
10005
10006	* vm_method.c (rb_clear_cache_by_class): just return if the class has
10007	  no method.  reported by Eric Wong.  [ruby-core:32689]
10008
10009Tue Nov  2 22:50:25 2010  Aaron Patterson <aaron@tenderlovemaking.com>
10010
10011	* ext/psych/lib/psych/visitors/visitor.rb (initialize): push accessor
10012	  methods to subclass that actually uses them.
10013
10014Tue Nov  2 22:47:08 2010  Aaron Patterson <aaron@tenderlovemaking.com>
10015
10016	* ext/psych/lib/psych/visitors/visitor.rb (accept): switch to
10017	  a dispatch cache rather than case / when statement.
10018
10019Tue Nov  2 21:46:52 2010  Kouhei Sutou  <kou@cozmixng.org>
10020
10021	* NEWS: fix a typo.
10022
10023Tue Nov  2 20:10:32 2010  Tajima Akio <artonx@yahoo.co.jp>
10024
10025	* test/rake/test_tasks.rb: clear env var which is used by the test.
10026	  [ruby-dev:42508]
10027
10028Tue Nov  2 00:25:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10029
10030	* ext/socket/extconf.rb: win64 is just same with win32 about socket.
10031	  notice: but wince is not same.
10032
10033Mon Nov  1 21:25:57 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
10034
10035	* main.c: <stdlib.h> is needed, to introduce the getenv(3)
10036	  prototype declaration.  Without it a C compiler shall infer
10037	  the getenv type as "int getenv(...);", but this is totally
10038	  wrong, especially when your machine's sizeof(int) and
10039	  sizeof(char*) differs.  On such environment a return value
10040	  of getenv(3), which is in fact a char*, might first casted
10041	  into a int (loses data here), and then casted back to char*
10042	  by automatic integral promotion to fit to the prototype of
10043	  ruby_set_debug_option().
10044
10045Sun Oct 31 23:27:09 2010  Koichi Sasada  <ko1@atdot.net>
10046
10047	* gc.c (finalizer_table, objspace->final.table):
10048	  Create finalizer_table at Init_heap().
10049	  Remove all null checks of finalizer_table.
10050
10051	* gc.c (mark_tbl): skip if no table entries.
10052
10053	* gc.c (slot_swee): remove useless need_call_final check.
10054
10055Sun Oct 31 22:32:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10056
10057	* gc.c (rb_objspace_free): finalizers should be called separately
10058	  from freeing objspace.  [ruby-dev:42479]
10059
10060Sun Oct 31 22:24:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10061
10062	* eval.c (ruby_cleanup): free current VM and its objspace even
10063	  when exiting by SystemExit.
10064
10065Sun Oct 31 22:10:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10066
10067	* compile.c (new_child_iseq): adjust argument types.
10068
10069	* iseq.c (prepare_iseq_build, rb_iseq_new),
10070	  (rb_iseq_new_with_bopt_and_opt, rb_iseq_new_with_opt),
10071	  (rb_iseq_new_with_bopt): ditto.
10072
10073	* compile.c (iseq_set_exception_table): suppress warnings.
10074
10075	* insns.def (putspecialobject, defined): ditto.
10076
10077	* iseq.c (iseq_load): ditto.
10078
10079Sun Oct 31 09:30:51 2010  Koichi Sasada  <ko1@atdot.net>
10080
10081	* vm_core.h: some refactoring.
10082	  - move decl. of rb_compile_option_struct to iseq.h.
10083	  - define enum iseq_type.
10084	  - define enum vm_special_object_type.
10085
10086	* compile.c: some refactoring.
10087	  - apply above changes.
10088	  - (struct iseq_link_element): change value of type.
10089	  - remove unused decl.
10090	  - fix comment.
10091	  - rename iseq_build_body and iseq_build_exception to
10092	    iseq_build_from_ary_body and iseq_build_from_ary_exception.
10093
10094	* iseq.h: define enum catch_type and enum defined_type.
10095
10096	* insns.def: apply above changes.
10097
10098	* iseq.c: define ISEQ_MAJOR_VERSION and ISEQ_MINOR_VERSION.
10099
10100Sat Oct 30 23:38:59 2010  Kouhei Sutou  <kou@cozmixng.org>
10101
10102	* lib/rexml/encoding.rb: untabify.
10103
10104Sat Oct 30 21:06:37 2010  Kouhei Sutou  <kou@cozmixng.org>
10105
10106	* lib/rexml/encoding.rb: use Ruby native encoding mechanism.
10107	  [ruby-dev:42464]
10108	* lib/rexml/encodings/: remove.
10109
10110	* lib/rexml/document.rb, lib/rexml/formatters/default.rb,
10111	  lib/rexml/output.rb, lib/rexml/parseexception.rb,
10112	  lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb,
10113	  lib/rexml/xmldecl.rb: use Ruby's native Encoding object.
10114
10115	* test/rexml/, test/rss/: follow the above encoding changes.
10116
10117	* NEWS: add REXML's incompatible change about encoding.
10118
10119Sat Oct 30 17:23:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10120
10121	* util.c (ruby_strtod): get rid of overflow/underflow as possible.
10122
10123Sat Oct 30 14:37:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10124
10125	* configure.in (ruby_pc): erase runtime-defined variables and
10126	  check if generated pc file is valid.
10127
10128	* template/ruby.pc.in (DEFFILE): need for mingw.
10129
10130	* template/ruby.pc.in (LIBRUBY): fix the order.
10131
10132Sat Oct 30 11:33:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10133
10134	* win32/Makefile.sub (ruby_pc): ignore missing variables.
10135
10136	* template/ruby.pc.in: add missing variables for mswin.
10137
10138Sat Oct 30 10:24:35 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
10139
10140	* object.c: Make BasicObject.new accept no parameter.
10141	  Revert of r26135 [ruby-core:27080], as per [ruby-core:32952].
10142
10143Sat Oct 30 09:40:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10144
10145	* enum.c: use constants in id.h.
10146
10147Sat Oct 30 09:08:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10148
10149	* ext/fiddle/closure.c (fiddle_closure): embed cif not reference
10150	  so that the content surely get initialized.  [ruby-dev:42480]
10151
10152Sat Oct 30 07:01:53 2010  Tanaka Akira  <akr@fsij.org>
10153
10154	* lib/resolv-replace.rb: suppress warning.
10155
10156	* lib/open-uri.rb: ditto.
10157
10158Sat Oct 30 06:32:52 2010  Tanaka Akira  <akr@fsij.org>
10159
10160	* test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the
10161	  group of the created file is inherited from the parent
10162	  directory on BSDs and MacOS X.  Linux also inherit the group if
10163	  the setgid bit of the directory is set.  It causes the test fail.
10164	  fixed by Shota Fukumori.  [ruby-dev:42458]
10165
10166Sat Oct 30 05:58:54 2010  Tanaka Akira  <akr@fsij.org>
10167
10168	* lib/resolv.rb: retry via TCP if UDP reply is truncated.
10169	  fixed by Julian Mehnle.  [ruby-core:32407]
10170
10171Sat Oct 30 00:35:13 2010  Koichi Sasada  <ko1@atdot.net>
10172
10173	* iseq.c (iseq_s_compile): fix optional argument.
10174	  a patch from Yutaka HARA [ruby-core:32953] [Ruby 1.9-Bug#4001]
10175
10176Sat Oct 30 00:24:42 2010  Koichi Sasada  <ko1@atdot.net>
10177
10178	* ext/objspace/objspace.c (memsize_of): take care of
10179	  T_CLASS/const_tbl.
10180	  a patch from nagachika <nagachika00@gmail.com> [ruby-dev:42490]
10181
10182Fri Oct 29 23:32:36 2010  Koichi Sasada  <ko1@atdot.net>
10183
10184	* test/profile_test_all.rb: added.
10185	  You can use test-all profiler with the following command:
10186	    RUBY_TEST_ALL_PROFILE=true make test-all
10187	  This command generates ./test_all_profile and you can analyze
10188	  which tests consume memories.
10189
10190	* test/runner.rb: ditto.
10191
10192Fri Oct 29 10:02:03 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10193
10194	* tool/enc-unicode.rb,
10195	  enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
10196	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
10197	  Add 'Unknown' Script.
10198	  patched by Run Paint Run Run. [ruby-core:32937] #3998
10199
10200Fri Oct 29 05:13:34 2010  Koichi Sasada  <ko1@atdot.net>
10201
10202	* ext/objspace/objspace.c (ObjectSpace.memsize_of_all): rename
10203	  ObjectSpace.total_memsize_of_all_objects() to
10204	  ObjectSpace.memsize_of_all([klass]).
10205	  Accept Class object to filter the objects.
10206
10207	* test/objspace/test_objspace.rb: fix test for above change.
10208
10209Fri Oct 29 03:04:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10210
10211	* string.c (rb_str_dump): fix expected length. [ruby-core:32935]
10212
10213Thu Oct 28 23:31:39 2010  Koichi Sasada  <ko1@atdot.net>
10214
10215	* gc.c (before_gc_sweep, run_final): fix decrement timing of final_num.
10216
10217Thu Oct 28 20:11:30 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10218
10219	* tool/enc-unicode.rb,
10220	  enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
10221	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
10222	  Update Oniguruma for Unicode 6.
10223	  patched by Run Paint Run Run. [ruby-core:32923] #3989
10224
10225Thu Oct 28 20:06:25 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10226
10227	* include/ruby/oniguruma.h (ONIGENC_CTYPE_SPECIAL_MASK):
10228	  change mask from 128 to 256. [ruby-core:32931]
10229
10230Thu Oct 28 12:06:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10231
10232	* lib/webrick/httprequest.rb (read_request_line): extend max
10233	  length to 2083. This is from Internet Explorer's max uri
10234	  length. http://support.microsoft.com/kb/208427 [ruby-core:32924]
10235
10236Thu Oct 28 04:00:08 2010  Koichi Sasada  <ko1@atdot.net>
10237
10238	* gc.c (GC.stat): added.  [ruby-dev:38607]
10239
10240	* test/ruby/test_gc.rb: add a test for above.
10241
10242Thu Oct 28 03:13:06 2010  Koichi Sasada  <ko1@atdot.net>
10243
10244	* ext/objspace/objspace.c (memsize_of): fix rdoc.
10245
10246	* ext/objspace/objspace.c (total_memsize_of_all_objects): added.
10247
10248	* test/objspace/test_objspace.rb:
10249	  - add a test for ObjectSpace.total_memsize_of_all_objects.
10250	  - add two tests for ObjectSpace.memsize_of (for nil and Fixnum).
10251
10252Wed Oct 27 23:55:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10253
10254	* ext/iconv/iconv.c (Init_iconv): warn deprecated use.
10255
10256Wed Oct 27 18:50:17 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10257
10258	* bignum.c (rb_big2long, rb_big2ulong): rb2ulong() returns VALUE, but
10259	  its real range is ulong. So, if the size of VALUE is bigger than
10260	  ulong, upper bits are always zero even if the actual value is
10261	  negative.
10262	  fixed #3490
10263
10264Wed Oct 27 18:27:17 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10265
10266	* test/ruby/test_io.rb (TestIO#pipe): should close write end of pipe
10267	  before closing read end, to get rid of timing problem.
10268
10269	* test/ruby/test_io_m17n.rb (TestIO_M17N#pipe): ditto.
10270
10271Wed Oct 27 18:14:27 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10272
10273	* win32/win32.c (rb_w32_getppid): support Win64.
10274
10275Wed Oct 27 15:07:19 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10276
10277	* thread_win32.c (w32_error): should get error no only once, because
10278	  the result of the second getting will indicate the error of the
10279	  first FormatMessage() call.
10280
10281Wed Oct 27 13:51:25 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10282
10283	* test/ruby/test_io.rb (TestIO#pipe): need to propagate exceptions
10284	  in read/write thread. fix r29541.
10285
10286	* test/ruby/test_io_m17n.rb (TestIO_M17N#pipe): ditto.
10287
10288Wed Oct 27 12:05:40 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10289
10290	* class.c (clone_const): need to return value. fix r29602.
10291
10292Wed Oct 27 11:58:58 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10293
10294	* include/ruby/ruby.h (NUM2LONG_internal): add cast to get rid of a
10295	  non GCC compiler warning. this is intentional type conversion.
10296
10297Wed Oct 27 09:25:46 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10298
10299	* cont.c: apply documentation patch by Run Paint Run Run.
10300	  [ruby-core:32915]
10301
10302Wed Oct 27 02:12:10 2010  Yusuke Endoh  <mame@tsg.ne.jp>
10303
10304	* object.c (Init_Object), constant.h, variable.c
10305	  (rb_mod_private_constant, rb_mod_public_constant,
10306	  set_const_visibility, rb_const_get_0): add Module#public_constant
10307	  and private_constant.  [ruby-dev:39685][ruby-core:32698]
10308
10309	* test/ruby/test_module.rb: add tests for above.
10310
10311Wed Oct 27 02:02:54 2010  Yusuke Endoh  <mame@tsg.ne.jp>
10312
10313	* class.c, constant.h, gc.c, method.h, object.c, variable.c,
10314	  vm_insnhelper.c: use struct rb_constant_entry_t as entry of
10315	  RCLASS_CONST_TBL.  RCLASS_CONST_TBL has contained VALUE of constant
10316	  directly.  Now instead rb_const_entry_t is contained in
10317	  RCLASS_CONST_TBL,  rb_const_entry_t is managed by malloc, and
10318	  have not only the value itself but also visibility flag.
10319	  This is another preparation for private constant (see
10320	  [ruby-dev:39685][ruby-core:32698]).
10321
10322Wed Oct 27 01:56:34 2010  Yusuke Endoh  <mame@tsg.ne.jp>
10323
10324	* class.c, gc.c, object.c, variable.c, vm_insnhelper.c,
10325	  include/ruby/ruby.h: separate RCLASS_CONST_TBL from RCLASS_IV_TBL.
10326	  RCLASS_IV_TBL has contained not only instance variable table but
10327	  also constant table.  Now the two table are separated to
10328	  RCLASS_CONST_TBL and RCLASS_IV_TBL.  This is a preparation for
10329	  private constant (see [ruby-dev:39685][ruby-core:32698]).
10330
10331Tue Oct 26 18:51:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10332
10333	* lib/scanf.rb (extract_float): allow 2.e+2 style.
10334	  [ruby-dev:42452] #3978
10335
10336Tue Oct 26 18:09:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10337
10338	* Makefile.in (ASFLAGS): needs INCFLAGS.
10339
10340	* configure.in (rb_cv_dynamic_alloca): check if extra source for
10341	  dynamic size alloca.
10342
10343	* missing/x86_64-chkstk.s (___chkstk): necessary for alloca of
10344	  amd64-mingw32msvc-gcc on Ubuntu.
10345
10346	* thread_win32.c (ruby_alloca_chkstk): check stack overflow
10347
10348Tue Oct 26 18:04:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10349
10350	* template/ruby.pc.in (Libs): needs DLDFLAGS.
10351
10352Tue Oct 26 12:47:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10353
10354	* common.mk (pkgconfig-data): moved from Makefile.in.
10355
10356	* tool/rbinstall.rb: install pc file only if non-empty.
10357	  [ruby-core:32901] #3983
10358
10359	* win32/Makefile.sub (ruby_pc): create pc file.
10360
10361Tue Oct 26 09:13:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10362
10363	* configure.in (rb_cv_gcc_atomic_builtins): check for atomic
10364	  builtins, all are not available in Apple derivative gcc.
10365
10366Tue Oct 26 00:29:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10367
10368	* Makefile.in (pkgconfig-data): create pkg-config metadata file.
10369
10370	* tool/rbinstall.rb: install pkg-config metadata file.
10371
10372	* template/ruby.pc.in: template of pkg-config metadata file.
10373
10374Mon Oct 25 16:38:07 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
10375
10376	* signal.c  (rb_atomic_t): GCC (of  at least  recent versions)
10377	  has  ubiquitous  support  for  atomic operations.   On  that
10378	  compiler a C program can  issue a memory barrier using these
10379	  dedicated  instructions.  According to  the GCC  manual they
10380	  cargo culted  this feature form  the Itanium ABI  so chances
10381	  are that  other compilers  could also support  this feature.
10382	  But so far GCC is the  only compiler that I know to have it.
10383	  Also note that this works on non-Itanium machines.
10384
10385Mon Oct 25 06:21:35 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10386
10387	* vsnprintf.c (BSD_vfprintf): prec digits fractal part should be
10388	  appended to 0 if prec is given.  [ruby-dev:42453] #3979
10389
10390Mon Oct 25 02:57:21 2010  Koichi Sasada  <ko1@atdot.net>
10391
10392	* common.mk (run.gdb): Quit gdb on 'make gdb' when
10393	  no signals are received.
10394
10395Mon Oct 25 00:25:23 2010  Tadayoshi Funaba  <tadf@dotrb.org>
10396
10397	* lib/date.rb: some corrections of documentation.
10398
10399Sun Oct 24 17:14:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10400
10401	* array.c, gc.c, hash.c, object.c, string.c, struct.c,
10402	  transcode.c, variable.c, vm.c, vm_insnhelper.c, vm_method.c:
10403	  replace calls to rb_error_frozen() with rb_check_frozen().  a
10404	  patch from Run Paint Run Run at [ruby-core:32014]
10405
10406	* include/ruby/intern.h (rb_check_frozen): optimize.
10407	  [ruby-core:32878]
10408
10409Sun Oct 24 15:16:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10410
10411	* lib/test/unit.rb (Test::Unit::Mini#run): abort if interrupted.
10412
10413	* lib/test/unit.rb (Test::Unit::Mini#run_test_suites): show the
10414	  result even when interrupted on the way.
10415
10416	* lib/test/unit.rb (Test::Unit::Mini#run_test_suites): ensure
10417	  output sync mode to be restored.
10418
10419Sun Oct 24 14:11:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10420
10421	* vm.c (vm_define_method): defined method is run with the default
10422	  public visibility regardless the visibility context of definition.
10423	  [ruby-core:30638]
10424
10425Sun Oct 24 12:08:54 2010  Aaron Patterson <aaron@tenderlovemaking.com>
10426
10427	* lib/test/unit.rb: make test/unit play nicely with the rake test
10428	  loader. [ruby-core:32864]
10429
10430Sun Oct 24 00:25:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10431
10432	* test/ruby/test_rubyoptions.rb (test_segv_test): follow up the
10433	  change at r29556.
10434
10435Sat Oct 23 14:39:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10436
10437	* lib/mkmf.rb: $extmk should be true for test/runner.
10438
10439Sat Oct 23 10:55:37 2010  Koichi Sasada  <ko1@atdot.net>
10440
10441	* vm_dump.c (rb_vm_bugreport): fix to add bug outputs.
10442	  - loaded script ($0)
10443	  - loaded features ($")
10444	  - process memory map on Linux (/proc/self/maps)
10445
10446	* vm_dump.c (rb_vmdebug_stack_dump_raw): fix header message.
10447
10448Fri Oct 22 14:50:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10449
10450	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
10451	  assertion message must not be nil.
10452
10453Fri Oct 22 13:59:50 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10454
10455	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
10456	  treat nil case. Please run test-all before commit such change.
10457
10458Thu Oct 21 23:58:14 2010  Koichi Sasada  <ko1@atdot.net>
10459
10460	* gc.c (gc_lazy_sweep): Variable declarations should be at
10461	  the head of block.
10462
10463Thu Oct 21 23:56:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10464
10465	* gc.c (objspace_each_objects, rb_objspace_each_objects): use
10466	  struct.
10467
10468	* gc.c (objspace_each_objects): fix return with no value.
10469
10470Thu Oct 21 23:47:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10471
10472	* dir.c (dir_initialize): remove useless intermediate variable.
10473
10474Thu Oct 21 16:07:20 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10475
10476	* io.c (rb_f_select): change rdoc.
10477	  patched by Eito Katagiri [ruby-core:31805]
10478
10479Thu Oct 21 15:55:21 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10480
10481	* lib/webrick/httpauth/digestauth.rb
10482	  (WEBrick::HTTPAuth::ProxyDigestAuth#check_uri): privated.
10483	  [ruby-dev:42344]
10484
10485Thu Oct 21 15:50:25 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10486
10487	* io.c (rb_f_select): add correct rdoc.
10488	  patched by Dave Thomas [ruby-core:32467]
10489
10490Thu Oct 21 15:42:01 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10491
10492	* lib/net/telnet.rb (Net::Telnet#close): added.
10493	  patched by Erik Hollensbe [ruby-dev:42260] #3830
10494
10495Thu Oct 21 13:08:00 2010  Narihiro Nakamura  <authornari@gmail.com>
10496
10497	* gc.c (rb_objspace_each_objects): don't lazy sweep in
10498	  rb_objspace_each_objects. [Bug #3940] [ruby-dev:42369]
10499
10500Thu Oct 21 00:05:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10501
10502	* test/ruby/test_io.rb (TestIO#pipe): get rid of deadlock on pipe.
10503	  a patch from Tomoyuki Chikanaga at [ruby-dev:42435].  #3970
10504
10505	* test/ruby/test_io_m17n.rb (TestIO_M17N#pipe): ditto.
10506
10507Wed Oct 20 23:54:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10508
10509	* ext/dbm/dbm.c: rdoc based on a patch by mathew meta AT
10510	  pobox.com, at [ruby-core:32853].
10511
10512Wed Oct 20 10:47:21 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10513
10514	* util.c (ruby_strtod): reject 0x1.p+0. [ruby-dev:42432] #3966
10515
10516Wed Oct 20 10:00:57 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10517
10518	* vsnprintf.c (BSD_vfprintf): print floating point on "%#a".
10519	  [ruby-dev:42431] Bug#3965
10520
10521Tue Oct 19 19:30:11 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10522
10523	* vsnprintf.c (BSD_vfprintf): clear ALT flag for %a.
10524	  [ruby-core:32841] [ruby-core:32848]
10525
10526Tue Oct 19 12:19:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10527
10528	* vsnprintf.c (BSD_vfprintf): fix over-count of field size.
10529
10530Tue Oct 19 03:08:52 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10531
10532	* vsnprintf.c (BSD_vfprintf): use HEXPREFIX flag for prefix of %a.
10533	  [ruby-core:32841]
10534
10535Mon Oct 18 13:18:01 2010  Akinori MUSHA  <knu@iDaemons.org>
10536
10537	* ext/digest/digest.c (rb_digest_class_init): Define
10538	  Digest::Class.new(). [Feature #3954]
10539
10540Mon Oct 18 12:58:40 2010  Tanaka Akira  <akr@fsij.org>
10541
10542	* pack.c (pack_pack): refine the document.  [ruby-dev:42397]
10543	  (pack_unpack): ditto.
10544
10545Mon Oct 18 10:19:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10546
10547	* lib/net/http.rb (transport_request): @socket may be nil.
10548	  patched by Egbert Eich [ruby-core:32829]
10549
10550Mon Oct 18 09:57:28 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10551
10552	* sprintf.c (BSD_vfprintf): wrong padding around prefix and
10553	  floating point with %a. [ruby-dev:42403] Bug #3956
10554
10555Sun Oct 17 22:36:33 2010  Tadayoshi Funaba  <tadf@dotrb.org>
10556
10557	* lib/date/delta.rb: added an rdoc tag.
10558
10559Sun Oct 17 10:47:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10560
10561	* variable.c (rb_mod_remove_const): update rdoc.
10562	  [ruby-core:31957]
10563
10564Sun Oct 17 10:40:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10565
10566	* class.c (rb_define_{class,module}_id_under): register to be
10567	  marked, which probably are defined and used internally.
10568
10569Sat Oct 16 11:10:55 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
10570
10571	* ext/win32ole/win32ole.c (ole_encoding2cp): set codepage 20936
10572	  according to GB2312. [Bug #3937] [ruby-core:32758]
10573
10574Sat Oct 16 10:54:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10575
10576	* Makefile.in (CPP): already used in .c.i rule.
10577
10578	* cygwin/GNUmakefile.in (DLLWRAP, WINDRES): add --driver-name and
10579	  --preprocessor options explicitly.  [ruby-core:32776]
10580
10581Sat Oct 16 10:06:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10582
10583	* ext/sdbm/_sdbm.c (SEEDUPS, BADMESS): make settable using command
10584	  line options.
10585
10586	* ext/sdbm/_sdbm.c (makroom): suppress unused result warning.
10587
10588	* ext/sdbm/extconf.rb: disable BADMESS, a library should not emit
10589	  messages directly.
10590
10591Sat Oct 16 08:39:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10592
10593	* dln.c (dln_strerror): get English message first, instead of
10594	  system default. see [ruby-dev:42358].
10595
10596Sat Oct 16 00:08:00 2010  Koichi Sasada  <ko1@atdot.net>
10597
10598	* hash.c (rb_hash_aref): skip calling "default" method
10599	  if it is not needed, for speed-up.
10600
10601Fri Oct 15 23:36:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10602
10603	* file.c (NUM2DEVT, DEVT2NUM, PRI_DEVT_PREFIX): fallback to
10604	  unsigned int.
10605
10606Fri Oct 15 22:54:46 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
10607
10608	* ext/win32ole/win32ole.c (ole_hresult2msg): get English message first,
10609	  instead of system default. [ruby-core:32765]
10610
10611Fri Oct 15 22:47:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10612
10613	* include/ruby/ruby.h (VALUE): prefer long over uintptr_t,
10614	  FIX2LONG expects VALUE to be long at least.
10615
10616	* include/ruby/ruby.h (FIX2LONG): parenthesize the argument.
10617
10618Fri Oct 15 20:30:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10619
10620	* configure.in (dev_t): use RUBY_REPLACE_TYPE.
10621
10622	* file.c (rb_stat_inspect): use PRI_DEVT_PREFIX.
10623
10624Fri Oct 15 17:26:57 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10625
10626	* pack.c (pack_pack): simplify comparison of explicit_endian
10627	  as pointed by nobu.
10628
10629	* pack.c (pack_unpack): ditto.
10630
10631Fri Oct 15 16:40:37 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10632
10633	* pack.c (pack_pack): fix more than one modifiers appear in the
10634	  format string. [ruby-core:32793]
10635
10636	* pack.c (pack_unpack): ditto.
10637
10638Thu Oct 14 23:20:42 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
10639
10640	* test/win32ole/test_folderitem2_invokeverb.rb: refactoring.
10641
10642Thu Oct 14 22:18:29 2010  Koichi Sasada  <ko1@atdot.net>
10643
10644	* insns.def, iseq.c, vm_insnhelper.c: rename variable name
10645	  (ip -> iseq).
10646
10647Thu Oct 14 20:41:27 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10648
10649	* pack.c (pack_pack): support endian modifiers: < and >.
10650	  [ruby-dev:42376] Feature #3491
10651
10652	* pack.c (pack_unpack): ditto.
10653
10654Thu Oct 14 20:50:51 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
10655
10656	* ext/win32ole/win32ole.c (reg_get_val): expand environment in
10657	  the pathname. [Bug #3907]
10658
10659Thu Oct 14 07:35:07 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10660
10661	* file.c (DEVT2NUM): added. Size of dev_t is depend on the
10662	  environment even if POSIX defines dev_t as unsigned integer.
10663	  For example, OpenVMS, 64bit Solaris 9, and NetBSD 6 defines
10664	  dev_t as 64bit unsigned integer.
10665
10666	* file.c (rb_stat_dev): use DEVT2NUM.
10667
10668	* file.c (rb_stat_dev_major): dev_t is not long. major(3)'s return
10669	  value is int.
10670
10671	* file.c (rb_stat_dev_minor): dev_t is not long. minor(3)'s return
10672	  value is int.
10673
10674	* configure.in: check size of dev_t.
10675
10676Thu Oct 14 07:22:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10677
10678	* array.c (rb_ary_and, rb_ary_or), class.c (rb_mod_init_copy),
10679	  gc.c (undefine_final), time.c (time_mload): get rid of
10680	  type-punning casts.
10681
10682Thu Oct 14 04:16:41 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10683
10684	* numeric.c (ruby_float_step): fix Numeric#step with infinity unit
10685	  doesn't works well. [ruby-core:32779]
10686
10687Wed Oct 13 23:16:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10688
10689	* tool/enc-unicode.rb: get rid of lots of warnings.
10690
10691	* iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers.
10692
10693	* vm.c (thread_free): ditto.
10694
10695	* numeric.c (check_uint): get rid of overflow on LLP64 platforms.
10696
10697	* insns.def (opt_case_dispatch): use st_data_t.
10698
10699Wed Oct 13 22:32:34 2010  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
10700
10701	* lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibyte
10702	  string. Thanks nobu and tDiary dev members. [Bug #3909]
10703
10704Wed Oct 13 21:13:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10705
10706	* numeric.c (int_chr): raise error when the value is negative.
10707
10708Wed Oct 13 19:24:08 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
10709
10710	* vm.c (ruby_vm_destruct): This function type was wrong; correct to the prototype.
10711
10712Wed Oct 13 14:58:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10713
10714	* numeric.c (rb_num_to_uint): fix 32bit logic.
10715
10716Wed Oct 13 12:53:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10717
10718	* numeric.c (rb_num_to_uint): added to check the range of arguments.
10719	  Mainly for negative value with NUM2UINT on 32bit environment.
10720
10721	* string.c (rb_str_concat): use rb_num_to_uint.
10722
10723Wed Oct 13 12:10:02 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10724
10725	* thread_win32.c (w32_error): get English message first, instead
10726	  of system default. see [ruby-core:32765].
10727	  [experimental]
10728
10729Wed Oct 13 11:04:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10730
10731	* debug.c (ruby_set_debug_option): define always for binary
10732	  compatibility with debug env enabled binary.
10733
10734	* signal.c (ruby_enable_coredump): ditto.
10735
10736Wed Oct 13 10:52:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10737
10738	* include/ruby/ruby.h (ruby_executable_node): missing prototype.
10739
10740Wed Oct 13 05:23:04 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10741
10742	* missing/strchr.c: add strlen's prototype.
10743
10744	* missing/strstr.c: ditto.
10745
10746Wed Oct 13 00:21:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10747
10748	* ext/syck/rubyext.c (struct mktime_arg): constified.
10749
10750	* ext/syck/rubyext.c (mktime_do, mktime_r, rb_syck_mktime): fix
10751	  function signatures.
10752
10753Wed Oct 13 00:18:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10754
10755	* st.c (MurmurMagic): get rid of literal overflow.
10756
10757	* configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format
10758	  specifier if possible.
10759
10760Tue Oct 12 23:58:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10761
10762	* win32/win32.c (rb_w32_open_osfhandle, rb_w32_wopen, rb_w32_pipe):
10763	  use uintptr_t instead of long for win64.
10764
10765	* win32/win32.c (socketpair_internal): suppress warnings.
10766
10767	* win32/win32.c (ftruncate): use HANDLE instead of long for win64.
10768
10769	* vsnprintf.c (BSD_vfprintf): fix cast.
10770
10771	* numeric.c (rb_num2fix): result of rb_num2long is SIGNED_VALUE.
10772
10773	* compile.c (iseq_build_body), error.c (set_syserr, get_syserr),
10774	  (syserr_initialize), gc.c (define_final, rb_gc_copy_finalizer),
10775	  (run_final), hash.c (rb_hash_aref, rb_hash_lookup2),
10776	  (rb_hash_fetch_m, rb_hash_clear, rb_hash_aset, eql_i),
10777	  iseq.c (iseq_load, iseq_data_to_ary), marshal.c (r_symlink),
10778	  thread.c (rb_thread_local_aref),
10779	  variable.c (generic_ivar_remove, ivar_get, rb_const_get_0),
10780	  (rb_cvar_get), vm.c (rb_vm_check_redefinition_opt_method),
10781	  vm_insnhelper.c (vm_get_ev_const), vm_method.c (remove_method),
10782	  ext/iconv/iconv.c (map_charset): use st_data_t.
10783
10784	* compile.c (iseq_build_body), insns.def (getglobal, setglobal),
10785	  iseq.c (iseq_load, iseq_data_to_ary), util.c (valid_filename):
10786	  use VALUE.
10787
10788	* gc.c (obj_free, rb_objspace_call_finalizer): fix truncating
10789	  cast.
10790
10791	* gc.c (mark_current_machine_context): suppress warnings.
10792
10793	* compile.c (iseq_compile_each): fix truncating cast.
10794
10795	* cont.c (fiber_setcontext): missing variable definition.
10796
10797Tue Oct 12 19:25:13 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10798
10799	* error.c (exc_to_s): use OBJ_INFECT.
10800
10801	* error.c (name_err_to_s): ditto.
10802
10803	* error.c (name_err_mesg_to_str): ditto.
10804
10805	* error.c (syserr_initialize): ditto.
10806
10807Tue Oct 12 19:07:55 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10808
10809	* error.c (syserr_initialize): taint message if mesg is given
10810	  and it is tainted.
10811
10812Tue Oct 12 18:25:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10813
10814	* io.c (rb_io_ungetc): always see Bignum. On 32bit valid value
10815	  may be a Bignum. On 64bit for errors. [ruby-dev:42366]
10816
10817Tue Oct 12 18:25:04 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10818
10819	* string.c (rb_str_concat): use unsigned int for GB18030.
10820
10821Tue Oct 12 17:53:49 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10822
10823	* numeric (check_uint): the mask must refer to VALUE.
10824
10825Tue Oct 12 17:47:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10826
10827	* numeric (check_uint): set MSB for negative value.
10828
10829	* numeric (rb_num2uint): return value's type of rb_num2ulong
10830	  is VALUE.
10831
10832	* numeric (int_chr): variable i can't be negative.
10833
10834Tue Oct 12 16:04:37 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10835
10836	* win32/win32.c (rb_w32_strerror): get English message first, instead
10837	  of system default. see [ruby-dev:42358].
10838	  [experimental]
10839
10840Tue Oct 12 15:52:35 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10841
10842	* win32/win32.c (rb_w32_strerror): unmap some range of errno for
10843	  workaround of VC10's strerror() and sys_nerr problem.
10844	  based on a patch from Akio Tajima, [ruby-dev:42355].
10845
10846Tue Oct 12 15:36:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10847
10848	* io.c (rb_io_ungetc): use unsigned int for GB18030.
10849
10850Tue Oct 12 15:14:21 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10851
10852	* io.c (rb_io_putc): support multibyte characters.
10853	  [ruby-core:30697]
10854
10855Tue Oct 12 15:10:31 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10856
10857	* numeric.c (rb_enc_uint_chr): split from int_chr.
10858
10859	* numeric.c (int_chr): use rb_enc_uint_chr.
10860
10861	* include/ruby/encoding.h (rb_enc_uint_chr): added.
10862
10863Tue Oct 12 14:04:41 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10864
10865	* numeric.c (int_chr): a codepoint of Ruby M17N must be 32bit
10866	  unsigned int; GB18030 uses MSB. Also note that OnigCodePoint
10867	  is defined as unsigned int.
10868
10869Tue Oct 12 12:20:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
10870
10871	* vm_dump.c (dump_thread): foolish mistake.
10872
10873Tue Oct 12 10:39:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10874
10875	* configure.in (RUBY_MINGW32): canonicalize only on mingw.
10876
10877Mon Oct 11 20:20:23 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10878
10879	* lib/net/http.rb (HTTP.get): specify ASCII-8BIT as the result
10880	  encoding of Zlib::GzipReader.
10881	  http://hibari.2ch.net/test/read.cgi/tech/1281473294/271
10882
10883Mon Oct 11 17:42:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10884
10885	* error.c (syserr_initialize): use mesg's encoding when locale
10886	  encoding is US-ASCII. If locale encoding is not US-ASCII,
10887	  assume err has non ASCII characters. [ruby-dev:42358]
10888
10889Mon Oct 11 14:03:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10890
10891	* error.c (syserr_initialize): set the encoding of Errno::*#message
10892	  as locale. [ruby-dev:42358]
10893
10894Mon Oct 11 06:38:27 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10895
10896	* ext/stringio/stringio.c (strio_set_encoding):
10897	  StringIO#set_encoding can get 2nd argument and optional hash
10898	  for API compatibility to IO. [ruby-dev:42356]
10899
10900Mon Oct 11 06:11:30 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10901
10902	* io.c (rb_io_set_encoding): use rb_funcall2 when the io is not
10903	  a T_FILE. [ruby-dev:42356]
10904
10905Sun Oct 10 18:42:23 2010  Akinori MUSHA  <knu@iDaemons.org>
10906
10907	* lib/set.rb (Set#replace): Apply a bit of optimization.
10908
10909Sun Oct 10 10:20:07 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10910
10911	* configure.in (RUBY_MINGW32): canonicalize as like mswin version.
10912
10913Sun Oct 10 05:33:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10914
10915	* vm_core.h (rb_signal_buff_size, rb_signal_exec): moved
10916	  declarations from thread.c.
10917
10918Sat Oct  9 16:54:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10919
10920	* configure.in (RSHIFT): quote to get rid of argument expansion
10921	  for autoconf 2.68.
10922
10923Sat Oct  9 11:00:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10924
10925	* thread.c (thread_reset_event_flags, exec_event_hooks): ignore
10926	  hooks marked as removed.
10927
10928	* thread.c (thread_exec_event_hooks): remove hooks to be removed.
10929
10930	* thread.c (rb_threadptr_remove_event_hook, rb_remove_event_hook):
10931	  defer removing hooks if running the hooks.  [ruby-dev:42350]
10932
10933Sat Oct  9 10:51:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10934
10935	* thread.c (rb_threadptr_exec_event_hooks): suppress each event
10936	  hooks separately.
10937
10938	* thread.c (thread_suppress_tracing): split from
10939	  ruby_suppress_tracing, accepting thread pointer and event mask.
10940
10941Sat Oct  9 08:16:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10942
10943	* thread.c (rb_threadptr_remove_event_hook): fix typo.
10944
10945Fri Oct  8 10:52:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10946
10947	* common.mk (RBCONFIG): depends on version.h due to
10948	  RUBY_PATCHLEVEL.  [ruby-core:32709]
10949
10950Fri Oct  8 00:24:54 2010  James Edward Gray II  <jeg2@ruby-lang.org>
10951
10952	* lib/csv.rb: Fixing documentation typos.  [ruby-core:32712]
10953
10954Thu Oct  7 09:14:28 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10955
10956	* vm_exec.c (vm_exec_core):  Treat clang as non gcc on this
10957	  context: It has __asm__ but doesn't works well.
10958
10959Wed Oct  6 12:28:22 2010  Tanaka Akira  <akr@fsij.org>
10960
10961	* lib/uri/generic.rb (URI::Generic#hostname): new method.
10962	  (URI::Generic#hostname=): ditto.
10963
10964	* lib/open-uri.rb: use URI#hostname
10965
10966	* lib/net/http.rb: ditto.
10967
10968	  reported by Adam Majer.  [ruby-core:32056]
10969
10970Wed Oct  6 11:52:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10971
10972	* io.c (fptr_finalize): write_mutex might have been destroyed
10973	  already in finalization phase, as the order of finalizers is not
10974	  guaranteed.  rb_mutex_t should be used in place of Mutex object
10975	  in the future.
10976
10977Tue Oct  5 22:17:02 2010  wanabe  <s.wanabe@gmail.com>
10978
10979	* win32/mkexports.rb: revert r29320 and r29402.
10980
10981Mon Oct  4 12:43:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10982
10983	* parse.y (regexp): dregexp has literal string only at the head
10984	  and successors are array.  [ruby-core:32682]
10985
10986Mon Oct  4 10:22:21 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10987
10988	* random.c (rand_init): This checks the value is in 32bit or not,
10989	  so use int32_t, not int.
10990
10991Mon Oct  4 09:47:39 2010  NARUSE, Yui  <naruse@ruby-lang.org>
10992
10993	* random.c (rand_init): remove useless assignment.
10994
10995	* re.c (update_char_offset): remove unused variable.
10996
10997	* re.c (read_escaped_byte): ditto.
10998
10999Mon Oct  4 09:30:42 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11000
11001	* ext/openssl/lib/openssl/bn.rb (Integer#to_bn): OpenSSL::BN.new
11002	  accepts only Strings, so call Integer#to_s(16).
11003	  16 is for an optimization. [ruby-dev:42336]
11004
11005Mon Oct  4 07:57:51 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11006
11007	* cont.c (fiber_memsize): Return size.
11008	  Before this change, fiber_memsize always returns 0.
11009
11010Mon Oct  4 07:16:55 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11011
11012	* enc/unicode.c (onigenc_unicode_property_name_to_ctype):
11013	  remove useless assignment.
11014
11015	* vm.c (vm_make_proc_from_block): ditto.
11016
11017	* variable.c (rb_ivar_count): ditto.
11018
11019Mon Oct  4 06:40:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11020
11021	* Makefile.in (clean-rdoc): Don't use \ in variable expansion.
11022	  BSD make treats it as an escape character.
11023
11024Mon Oct  4 00:01:53 2010  wanabe  <s.wanabe@gmail.com>
11025
11026	* tool/config.sub: revert r29320, r29324, r29347, r29354, r29365
11027	  to automake-1.11.1. [ruby-core:32634]
11028
11029	* win32/mkexports.rb: no longer use 'mingw64'. a patch from Luis Lavena
11030	  at [ruby-core:32678].
11031
11032Sun Oct  3 20:36:37 2010  Akio Tajima (arton)  <artonx@yahoo.co.jp>
11033
11034	* test/win32ole/test_folderitem2_invokeverb.rb: Change creating
11035	  shortcut verb to 'Link' [Bug #3339]
11036
11037Sun Oct  3 19:44:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11038
11039	* configure.in (Makefile): get rid of duplicated ruby target when
11040	  already there it was.
11041
11042Sat Oct  2 22:59:32 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
11043
11044	* test/win32ole/test_thread.rb: add for win32ole with Thread.
11045
11046Fri Oct  1 17:03:00 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11047
11048	* test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy):
11049	  My machine fails this test at this line, saying 503 service unavailable.
11050
11051Thu Sep 30 16:11:08 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11052
11053	* win32/win32.c (rb_w32_getenv): should return NULL if specified name
11054	  is empty. a patch from Heesob Park at [ruby-core:32650]
11055
11056Thu Sep 30 15:18:23 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
11057
11058	* parse.y (command_asgn): allow command_call to be right hand side
11059	  expression of chained assignment.  [ruby-dev:42313]
11060
11061Thu Sep 30 10:55:38 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11062
11063	* hash.c (ruby_setenv): workaround for old Windows. a patch from
11064	  Heesob Park. [ruby-core:32353]
11065
11066Thu Sep 30 09:29:06 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11067
11068	* lib/uri/common.rb (URI.encode_www_form): change treatment of
11069	  undefined value in given array as latest internet draft for
11070	  application/www-form-urlencoded.
11071	  http://tools.ietf.org/html/draft-hoehrmann-urlencoded-01
11072
11073Thu Sep 30 09:34:03 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11074
11075	* vm_dump.c (dump_thread): fixed wrong type of return value of
11076	  SymGetModuleBase64(). [ruby-dev:42306]
11077
11078Wed Sep 29 21:04:05 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11079
11080	* test/ruby/test_rubyoptions.rb (TestRubyOptions::test_script_from_stdin):
11081	  As usual, PTY is not always available.
11082
11083Wed Sep 29 18:38:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11084
11085	* tool/config.sub (x64): regularize only for pc vendor, and strip
11086	  useless 64 suffix.
11087
11088Wed Sep 29 17:53:02 2010  Kenta Murata <mrkn@mrkn.jp>
11089
11090	* ext/bigdecimal/bigdecimal.c (BIGDECIMAL_ENABLE_VPRINT):
11091	  VPrint is usually disabled.  It's only used in debugging.
11092
11093Wed Sep 29 17:41:34 2010  Kenta Murata <mrkn@mrkn.jp>
11094
11095	* ext/bigdecimal/bigdecimal.c (BigDecimal_save_limit):
11096	  return the result of a block.
11097
11098	* test/bigdecimal/test_bigdecimal.rb (test_save_limit):
11099	  add a test for the above change.
11100
11101Wed Sep 29 16:18:03 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11102
11103	* vm_dump.c (dump_thread): remove unused optional arguments.
11104
11105Wed Sep 29 13:26:30 2010  Kenta Murata <mrkn@mrkn.jp>
11106
11107	* ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode):
11108	  return the result of a block.
11109
11110	* test/bigdecimal/test_bigdecimal.rb (test_save_rounding_mode):
11111	  add a test for the above change.
11112
11113	* test/bigdecimal/test_bigdecimal.rb (test_save_exception_mode):
11114	  add a test for the return value of BigDecimal.save_exception_mode.
11115
11116Wed Sep 29 12:45:30 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11117
11118	* ext/bigdecimal/bigdecimal.c (BigDecimal_div2, BigDecimal_add2,
11119	  BigDecimal_sub2, BigDecimal_mult2, VpLimitRound): remove meaningless
11120	  casts to get rid of compiler warnings.
11121
11122Wed Sep 29 12:35:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11123
11124	* ext/bigdecimal/bigdecimal.c (VPrint, VpToString): fix format.
11125
11126Wed Sep 29 12:31:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11127
11128	* lib/rdoc/known_classes.rb (RDoc::KNOWN_CLASSES): add Encoding.
11129
11130Tue Sep 28 20:50:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11131
11132	* tool/config.sub (x64): regularize same as mswin.
11133
11134Tue Sep 28 20:06:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11135
11136	* vm_dump.c (rb_vm_bugreport): add windows support.
11137	  based on patches from Peter Weldon at [ruby-core:32551]
11138
11139Mon Sep 27 23:30:34 2010  Koichi Sasada  <ko1@atdot.net>
11140
11141	* insns.def (opt_case_dispatch), vm_insnhelper.c:
11142	  execute the procedures of "when" clauses by bytecode
11143	  instead of st_foreach() when the object does not hit
11144	  prepared hash.  [ruby-dev:42304]
11145
11146Mon Sep 27 15:54:03 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11147
11148	* test/net/http/test_https.rb: As always, localhost is not
11149	  guaranteed to be resolved as 127.0.0.1.  But a SSL
11150	  certificate needs a socket to listen on a specific address
11151	  where a CN resolves to.  On situations where localhost is
11152	  not 127.0.0.1, these tests are not possible.
11153
11154Mon Sep 27 15:25:05 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11155
11156	* test/net/imap/test_imap.rb: resurrection of r29259.
11157	  this change depends on minitest 1.7.1.
11158
11159	* lib/test/unit/assertions.rb: ditto.
11160
11161Sun Sep 26 22:59:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11162
11163	* tool/config.sub (x86_64-pc-mingw64): regularize.
11164
11165Sun Sep 26 22:21:07 2010  wanabe  <s.wanabe@gmail.com>
11166
11167	* ext/openssl/ossl_hmac.c (ossl_hmac_hexdigest, ossl_hmac_s_hexdigest),
11168	  ext/openssl/ossl_pkey_ec.c (ossl_ec_group_set_seed),
11169	  ext/openssl/ossl_ssl_session.c (ossl_ssl_session_to_der),
11170	  ext/openssl/ossl_pkcs7.c (numberof): suppress warnings.
11171	  [ruby-core:31932]
11172
11173Sun Sep 26 10:25:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11174
11175	* tool/config.{guess,sub}: updated to automake-1.11.1.
11176
11177Sat Sep 25 22:48:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11178
11179	* configure.in (LIBRUBY_DLDFLAGS): fix quoting.
11180
11181Sat Sep 25 10:30:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11182
11183	* configure.in (LIBRUBY_DLDFLAGS): use -unexported_symbol only
11184	  when available.  http://trac.macports.org/ticket/26341
11185
11186Sat Sep 25 10:05:49 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
11187
11188	* configure.in: Always add -mieee for Renesas SH4.
11189	  Thanks, Nobuhiro Iwamatsu. [Feature #3874] [ruby-core:32548]
11190
11191Sat Sep 25 01:34:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11192
11193	* Makefile.in (install-cross): target to install cross-compiling
11194	  stuff.
11195
11196Fri Sep 24 23:44:59 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11197
11198	* string.c (sym_call), vm.c (invoke_block_from_c),
11199	  vm_insnhelper.c (vm_yield_with_cfunc): pass given block.
11200	  [ruby-core:32075]
11201
11202	* vm_eval.c (rb_funcall_passing_block): new function to call
11203	  method with passing given block.
11204
11205Fri Sep 24 15:50:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11206
11207	* string.c (rb_str_to_i): fix rdoc: String#to_i raises an
11208	  exception when base is invalid. [ruby-core:31685]
11209
11210Fri Sep 24 15:28:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11211
11212	* string.c (rb_str_rindex): use rb_enc_prev_char instead of repeated
11213	  str_nth.
11214	  patched by Michael Selig [ruby-core:32498]
11215
11216Fri Sep 24 14:19:12 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11217
11218	* test/test_pty.rb: Same as 229281; existence of PTY class do not
11219	  guarantee a successful pty operation.
11220
11221Fri Sep 24 06:25:55 2010  Ryan Davis  <ryand-ruby@zenspider.com>
11222
11223	* lib/minitest/*.rb: Imported minitest 1.7.2 r5879.
11224	* test/minitest/*.rb: ditto.
11225
11226Thu Sep 23 23:09:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11227
11228	* vm_insnhelper.c (vm_get_cref0): cref is stacked only in normal
11229	  iseqs, so check if it is the case first.
11230
11231Thu Sep 23 23:08:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11232
11233	* tool/config.sub: mingw64 should use x86_64.  [ruby-core:32514]
11234
11235Thu Sep 23 21:40:40 2010  wanabe  <s.wanabe@gmail.com>
11236
11237	* ext/socket/raddrinfo.c (init_addrinfo, inspect_sockaddr): suppress
11238	  warnings.  see [ruby-core:31932].
11239
11240Thu Sep 23 19:27:57 2010  wanabe  <s.wanabe@gmail.com>
11241
11242	* thread_win32.c (w32_wait_events, w32_close_handle): suppress warnings.
11243	  see [ruby-core:31932].
11244
11245Thu Sep 23 18:54:39 2010  wanabe  <s.wanabe@gmail.com>
11246
11247	* tool/config.sub: add mingw64.
11248
11249	* win32/mkexports.rb (Exports::Mingw64): added.
11250
11251	* win32/mkexports.rb (Exports::Mingw32): renamed from Exports::Mingw.
11252
11253Thu Sep 23 09:01:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11254
11255	* vm_insnhelper.c (vm_cref_push): no outer cref is needed for proc
11256	  from method.  Bug #3786, Bug #3860, [ruby-core:32501]
11257
11258Wed Sep 22 17:12:01 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
11259
11260	* test/openssl/utils.rb (OpenSSL#silent): always restore $VERBOSE.
11261	  [ruby-dev:42285]
11262
11263Wed Sep 22 16:59:40 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
11264
11265	* test/test_prime.rb (TestPrime#test_new): the warning expected have
11266	  not been displayed when $VERBOSE == nil. Patch by Shota Fukumori
11267	  a.k.a. sora_h. [ruby-dev:42272]
11268	  Recovers $stderr even if StringIO.new fails. Reported by unak.
11269
11270Wed Sep 22 01:55:48 2010  Koichi Sasada  <ko1@atdot.net>
11271
11272	* bootstraptest/test_method.rb: fix last commit.
11273
11274Wed Sep 22 01:49:52 2010  Koichi Sasada  <ko1@atdot.net>
11275
11276	* bootstraptest/test_method.rb: add a test for [ruby-core:30534].
11277
11278Wed Sep 22 00:52:44 2010  WATANABE Hirofumi  <eban@ruby-lang.org>
11279
11280	* lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
11281
11282Wed Sep 22 00:00:05 2010  Tanaka Akira  <akr@fsij.org>
11283
11284	* ext/pathname/pathname.c (path_f_pathname): Pathname() translated
11285	  from pathname.rb.
11286
11287Tue Sep 21 22:18:30 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11288
11289	* tool/mkconfig.rb: fixed build problem on mswin64 introduced in r29278.
11290
11291Tue Sep 21 02:42:35 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
11292
11293	* test/pathname/test_pathname.rb (TestPathname#test_mkdir): fix typo.
11294
11295Mon Sep 20 23:23:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11296
11297	* dir.c (bracket): get rid of scanning at the end of the pattern
11298	  string, not to raise an exception while globbing command line.
11299	  [ruby-core:32478]
11300
11301Mon Sep 20 11:25:49 2010  Tanaka Akira  <akr@fsij.org>
11302
11303	* ext/pathname/pathname.c (Init_pathname): Pathname#=~ undefinition
11304	  translated from pathname.rb.
11305
11306Mon Sep 20 02:34:11 2010  Kenta Murata  <mrkn@mrkn.jp>
11307
11308	* ext/bigdecimal/bigdecimal.c (check_rounding_mode, BigDecimal_mode):
11309	  raise ArgumentError instead of TypeError passing invalid modes.
11310
11311	* test/bigdecimal/test_bigdecimal.rb (test_mode, test_round):
11312	  change against the above modifications.
11313
11314Sun Sep 19 22:08:39 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
11315
11316	* lib/mkmf.rb (try_link): rdoc
11317	  (try_compile): ditto
11318	  (try_cpp): ditto
11319	  (try_func): ditto
11320	  (try_var): ditto
11321	  (try_run): ditto
11322	  (egrep_cpp): ditto
11323
11324Sun Sep 19 20:43:33 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
11325
11326	* configure.in (--disable-install-doc): disables capi too, in addition
11327	  to rdoc.
11328	  (--disable-install-rdoc): a new option for disabling only rdoc.
11329	  (--disable-install-capi): a new option for disabling only capi.
11330
11331Sun Sep 19 20:37:45 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
11332
11333	* common.mk (clean): removes all documents on cleaning.o
11334	  (CAPIOUT): new variable.
11335	  (clean-capi, distclean-capi, realclean-capi): new targets
11336
11337	* Makefile.in (clean-capi, distclean-capi, realclean-capi): ditto.
11338
11339	* win32/Makefile.sub (clean-capi, distclean-capi, realclean-capi):
11340	  ditto.
11341
11342Sun Sep 19 13:44:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11343
11344	* configure.in (LIBRUBY_SO): fix an oversight of replace
11345	  RUBY_INSTALL_NAME with RUBY_SO_NAME.  a patch from Jeremy Evans
11346	  at [ruby-core:32474].
11347
11348Sun Sep 19 07:48:20 2010  Tanaka Akira  <akr@fsij.org>
11349
11350	* ext/pathname/pathname.c (path_unlink): Pathname#unlink and
11351	  Pathname#delete translated from pathname.rb.
11352
11353Sun Sep 19 06:06:07 2010  Kenta Murata  <mrkn@mrkn.jp>
11354
11355	* ext/bigdecimal/bigdecimal.c (check_rounding_mode): added for
11356	  converting symbol to rounding mode number.
11357
11358	* ext/bigdecimal/bigdecimal.c (BigDecimal_mode, BigDecimal_round):
11359	  support to specify rounding mode by symbol.
11360
11361	* test/bigdecimal/test_bigdecimal.rb (test_mode, test_round):
11362	  add tests for above changes.
11363
11364Sun Sep 19 05:14:35 2010  Kenta Murata  <mrkn@mrkn.jp>
11365
11366	* ext/bigdecimal/bigdecimal.c: fix rounding algorithms for half-down
11367	  and half-even.  This change is based on the patch created by Matthew
11368	  Willson, the reporter of this bug.  [Bug #3803] [ruby-core:32136]
11369
11370	* test/bigdecimal/test_bigdecimal.rb: add tests for above changes.
11371
11372Sat Sep 18 20:09:51 2010  Tanaka Akira  <akr@fsij.org>
11373
11374	* ext/pathname/pathname.c (path_each_entry): Pathname#each_entry
11375	  translated from pathname.rb.
11376
11377Fri Sep 17 23:44:07 2010  Kouhei Sutou  <kou@cozmixng.org>
11378
11379	* lib/rexml/xpath_parser.rb, test/rexml/test_xpath.rb:
11380	  add missing method availability check. [ruby-core:32447]
11381	  Reported by Wiebe Cazemier. Thanks!!!
11382
11383Fri Sep 17 23:23:26 2010  Kouhei Sutou  <kou@cozmixng.org>
11384
11385	* test/rexml/test_sax.rb: don't use thread and sleep to avoid slow test.
11386
11387Fri Sep 17 23:10:44 2010  Kouhei Sutou  <kou@cozmixng.org>
11388
11389	* test/rexml/test_core.rb: enable.
11390
11391Fri Sep 17 22:46:02 2010  Kouhei Sutou  <kou@cozmixng.org>
11392
11393	* test/rexml/: untabify.
11394
11395Fri Sep 17 22:29:56 2010  Kouhei Sutou  <kou@cozmixng.org>
11396
11397	* test/rexml/: fix fixture data path. All REXML tests are worked.
11398
11399Fri Sep 17 22:15:15 2010  Kouhei Sutou  <kou@cozmixng.org>
11400
11401	* test/rexml/test_listener.rb: remove needless codes.
11402
11403Fri Sep 17 22:12:23 2010  Kouhei Sutou  <kou@cozmixng.org>
11404
11405	* test/rexml/: import REXML tests from
11406	  http://www.germane-software.com/repos/rexml/trunk/test/.
11407	  Many tests are failed temporary. I'll fix them quickly. Sorry.
11408
11409Fri Sep 17 16:48:49 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11410
11411	* test/io/console/test_io_console.rb (TestIO_Console::helper):
11412	  PTY.open is not guaranteed to work.  On my machine opening a
11413	  pty is prohibited via process control group.  On those cases
11414	  exceptions shall occur, and that doesn't mean our fault.
11415	  Skip those tests on such situations.
11416
11417Fri Sep 17 08:30:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11418
11419	* lib/tracer.rb: count only non-internal libraries in stack trace,
11420	  ignoring custom_require.  [ruby-core:31858]
11421
11422Fri Sep 17 02:18:41 2010  Akinori MUSHA  <knu@iDaemons.org>
11423
11424	* tool/mkconfig.rb: Fix build with m4 1.4.15 generating duplicate
11425	  lines in config.status.  According to nobu, the mswin32 port may
11426	  depend on the piece of code in question, so the behavior is left
11427	  unchanged on mswin32.
11428
11429Thu Sep 16 23:47:59 2010  Tanaka Akira  <akr@fsij.org>
11430
11431	* ext/pathname/pathname.c (path_opendir): Pathname#opendir translated
11432	  from pathname.rb.
11433
11434Thu Sep 16 21:40:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11435
11436	* lib/test/unit.rb (Test::Unit::GlobOption): merged RejectOption.
11437
11438	* test/runner.rb: utilize GlobOption.
11439
11440Thu Sep 16 21:31:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11441
11442	* lib/rdoc/ri/driver.rb (RDoc::RI::Driver.setup_options)
11443	  (RDoc::RI::Driver.fixup_options): split from process_args.
11444	  libraries should not parse ARGV inside, since it's a task of
11445	  applications, not libraries.
11446
11447Thu Sep 16 21:02:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11448
11449	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil
11450	  if $HOME is unset.
11451
11452Thu Sep 16 14:50:42 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11453
11454	* test/ruby/test_file_exhaustive.rb (TestFileExhaustive::test_expand_path):
11455	  ENV["HOME"] might not be set.  On those cases without it an
11456	  exception raises here, which effectively disables later
11457	  tests on this method.
11458
11459Thu Sep 16 08:30:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11460
11461	* sprintf.c (rb_f_sprintf): fix rdoc.  pointed out by Tomoyuki
11462	  Chikanaga at [ruby-core:32395], and a patch from Daniel
11463	  Bovensiepen at [ruby-core:32403].
11464
11465Thu Sep 16 08:27:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11466
11467	* ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.
11468	  [ruby-core:32394]
11469
11470Thu Sep 16 06:07:24 2010  Tanaka Akira  <akr@fsij.org>
11471
11472	* ext/pathname/pathname.c (path_rmdir): Pathname#rmdir translated
11473	  from pathname.rb.
11474
11475Thu Sep 16 00:36:25 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11476
11477	* ext/readline/extconf.rb: Remove Readline 6 check because
11478	  Ruby's license is now GPLv3 compatible. [ruby-core:28736]
11479
11480Thu Sep 16 00:26:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11481
11482	* COPYING: change Ruby's License from a dual license with GPLv2
11483	  to a dual license with 2-clause BSDL.
11484	  [ruby-dev:42166] [ruby-core:31971]
11485	  [ruby-dev:39167] [ruby-core:25272]
11486
11487	* COPYING.ja: ditto.
11488
11489	* BSDL: added. this is from The FreeBSD License.
11490
11491Wed Sep 15 21:07:06 2010  Tanaka Akira  <akr@fsij.org>
11492
11493	* ext/pathname/pathname.c (path_mkdir): Pathname#mkdir translated
11494	  from pathname.rb.
11495
11496Wed Sep 15 13:37:00 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
11497
11498	* test/net/imap/test_imap.rb: "localhost" not guaranteed to
11499	  resolve to "127.0.0.1".  On my machine it is "::1" instead.
11500	  The problem is, you have to connect to the imaps server via
11501	  the canonical name written in a server certificate, and that
11502	  of the server.cert is "localhost".  So you have to listen to
11503	  the address of what "localhost" resolves to.  I think this
11504	  situation cannot be resolved in a handy manner because the
11505	  test "test_imaps_post_connection_check" is actually
11506	  expecting to connect to a server via an address other than
11507	  the CN.  On my machine several assertions won't pass because
11508	  the test cannot connect to the server.
11509
11510Wed Sep 15 09:12:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11511
11512	* io.c (rb_io_puts): fix for wide char encoding strings.
11513	  [ruby-dev:42212]
11514
11515Wed Sep 15 07:27:52 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11516
11517	* string.c (rb_str_format_m): mentioned about Hash argument.  a patch
11518	  from Daniel Bovensiepen at [ruby-core:32386].
11519
11520	* sprintf.c (get_hash): ditto, and fix typo.
11521
11522Wed Sep 15 07:22:20 2010  Tanaka Akira  <akr@fsij.org>
11523
11524	* ext/pathname/pathname.c (path_entries): Pathname#entries translated
11525	  from pathname.rb.
11526
11527Wed Sep 15 02:13:44 2010  Aaron Patterson <aaron@tenderlovemaking.com>
11528
11529	* ext/fiddle/closure.c : Don't use FFI closure alloc on OpenBSD.
11530	  Thanks Jeremy Evans! [ruby-core:32384]
11531
11532Tue Sep 14 20:17:48 2010  Tanaka Akira  <akr@fsij.org>
11533
11534	* ext/pathname/pathname.c (path_s_getwd): Pathname.getwd and
11535	  Pathname.pwd translated from pathname.rb.
11536
11537Tue Sep 14 05:13:04 2010  Tanaka Akira  <akr@fsij.org>
11538
11539	* ext/pathname/pathname.c (path_s_glob): Pathname.glob translated
11540	  from pathname.rb.
11541
11542Tue Sep 14 01:24:51 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
11543
11544	* ext/socket/raddrinfo.c (ruby_getaddrinfo__aix): suppress a
11545	  warning.
11546
11547Mon Sep 13 20:48:30 2010  Tanaka Akira  <akr@fsij.org>
11548
11549	* ext/pathname/pathname.c (path_zero_p): Pathname#zero? translated
11550	  from pathname.rb.
11551
11552Mon Sep 13 19:56:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11553
11554	* ext/socket/rubysocket.h (__DARWIN_ALIGNBYTES): workaround of a
11555	  bug in system header of darwin 9.  [ruby-core:32341]
11556
11557Mon Sep 13 18:11:55 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11558
11559	* lib/mkmf.rb (try_do): fix typo.  a patch from Peter Weldon
11560	  at [ruby-core:32327].
11561
11562Mon Sep 13 10:12:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11563
11564	* util.c (ruby_strtod): reject Float('0x0.').
11565	  [ruby-dev:42239] Bug #3820
11566
11567Mon Sep 13 09:23:58 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11568
11569	* ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
11570	  with rb_scan_args. Before this fix, OpenSSL::BN#prime?
11571	  is fully broken. [ruby-dev:42225]
11572
11573Mon Sep 13 06:45:24 2010  Tanaka Akira  <akr@fsij.org>
11574
11575	* ext/pathname/pathname.c (path_writable_real_p):
11576	  Pathname#writable_real? translated from pathname.rb.
11577
11578Sun Sep 12 21:21:50 2010  Tadayoshi Funaba  <tadf@dotrb.org>
11579
11580	* lib/date.rb: [ruby-core:32096]  Thanks Colin Bartlett.
11581
11582Sun Sep 12 19:30:27 2010  Tanaka Akira  <akr@fsij.org>
11583
11584	* ext/pathname/pathname.c (path_world_writable_p):
11585	  Pathname#world_writable? translated from pathname.rb.
11586
11587Sun Sep 12 09:16:06 2010  Tanaka Akira  <akr@fsij.org>
11588
11589	* ext/pathname/pathname.c (path_writable_p): Pathname#writable?
11590	  translated from pathname.rb.
11591
11592Sun Sep 12 08:36:15 2010  Tanaka Akira  <akr@fsij.org>
11593
11594	* process.c (rlimit_resource_name2int): support more limits:
11595	  RLIMIT_MSGQUEUE, RLIMIT_NICE, RLIMIT_RTPRIO, RLIMIT_RTTIME and
11596	  RLIMIT_SIGPENDING.
11597	  (Init_process): ditto.
11598	  patch by Run Paint Run Run.  [ruby-core:32262]
11599
11600Sun Sep 12 04:27:13 2010  Tanaka Akira  <akr@fsij.org>
11601
11602	* process.c (rlimit_resource_name2int): use STRCASECMP to avoid
11603	  ALLOCA_N.
11604
11605Sat Sep 11 16:47:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11606
11607	* hash.c (ruby_setenv): raise if putenv and SetEnvironmentVariable
11608	  failed, because of the restriction of the size on Windows.
11609	  based on a patch from Peter Weldon at [ruby-core:32304].  fix:
11610	  Bug#3812, [ruby-core:32250]
11611
11612Sat Sep 11 15:19:57 2010  Eric Hodel  <drbrain@segment7.net>
11613
11614	* lib/webrick/httpauth/digestauth.rb (WEBrick::Config::DigestAuth):
11615	  Add documentation
11616
11617	* lib/webrick/config.rb (WEBrick::Config::DigestAuth): Add
11618	  documentation
11619
11620Sat Sep 11 12:32:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11621
11622	* include/ruby/intern.h (rb_set_kcode, rb_get_kcode): removed
11623	  zombie prototype declarations.  a patch from Eric Hodel
11624	  at [ruby-core:32305].
11625
11626Sat Sep 11 06:53:12 2010  Tanaka Akira  <akr@fsij.org>
11627
11628	* ext/pathname/pathname.c (path_symlink_p): Pathname#symlink?
11629	  translated from pathname.rb.
11630
11631Fri Sep 10 23:03:43 2010  Tanaka Akira  <akr@fsij.org>
11632
11633	* ext/pathname/pathname.c (path_sticky_p): Pathname#sticky? translated
11634	  from pathname.rb.
11635
11636Fri Sep 10 19:11:13 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11637
11638	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#continue): add
11639	  method for generating HTTP/1.1 100 continue response if the client
11640	  expects it, otherwise does nothing.  Patch by Brian Candler.
11641	  ref #855.
11642
11643	* test/webrick/test_httprequest.rb: test added.
11644
11645Fri Sep 10 17:49:34 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11646
11647	* ext/openssl/lib/openssl/x509-internal.rb: removed unused local
11648	  variable.
11649
11650	* test/openssl/*: less warnings while test running with -w.
11651
11652Fri Sep 10 16:49:20 2010  Akinori MUSHA  <knu@iDaemons.org>
11653
11654	* class.c (rb_scan_args): Add support for optional keyword
11655	  argument hash. [ruby-dev:42221] [ruby-dev:38048]
11656
11657	* README.EXT, README.EXT.ja: Update documentation accordingly.
11658
11659	* dir.c (dir_initialize): Make use of the new rb_scan_args()
11660	  feature.
11661
11662	* io.c (rb_io_s_popen, rb_scan_open_args, rb_io_initialize)
11663	  (rb_io_s_pipe, open_key_args, io_s_foreach, io_s_readlines)
11664	  (rb_io_s_read, rb_io_set_encoding): Ditto.
11665
11666	* transcode.c (str_transcode, econv_args)
11667	  (econv_primitive_convert): Ditto.
11668
11669	* ext/zlib/zlib.c (rb_gzreader_initialize): Ditto.
11670
11671Fri Sep 10 10:33:18 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11672
11673	* random.c (rb_genrand_ulong_limited): renamed from
11674	  rb_rand_internal and now this is public API.
11675
11676	* include/ruby/ruby.h (rb_genrand_ulong_limited): added.
11677
11678	* bignum.c (big_sparse_p): use rb_genrand_ulong_limited.
11679
11680Fri Sep 10 13:07:22 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11681
11682	* ext/digest/lib/digest.rb: removed unused exception variable
11683	  assignment to avoid a warning.
11684
11685Fri Sep 10 07:29:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11686
11687	* ext/etc/etc.c (etc_systmpdir): assume system default tmpdir
11688	  safe.  [ruby-dev:42089]
11689
11690Fri Sep 10 07:03:23 2010  Tanaka Akira  <akr@fsij.org>
11691
11692	* ext/pathname/pathname.c (path_size_p): Pathname#size? translated from
11693	  pathname.rb.
11694
11695Fri Sep 10 02:15:29 2010  Tanaka Akira  <akr@fsij.org>
11696
11697	* ext/socket/option.c (inspect_peercred): support OpenBSD-current.
11698	  patch by Jeremy Evans.  [ruby-core:32240]
11699
11700Thu Sep  9 23:25:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11701
11702	* vm.c (vm_backtrace_each): skip allocator frames which have no
11703	  name.  [ruby-core:32231]
11704
11705Thu Sep  9 22:39:08 2010  Tanaka Akira  <akr@fsij.org>
11706
11707	* ext/pathname/pathname.c (path_size): Pathname#size translated from
11708	  pathname.rb.
11709
11710Thu Sep  9 22:34:48 2010  wanabe  <s.wanabe@gmail.com>
11711
11712	* compile.c (case_when_optimizable_literal): When float value can be
11713	  treated as integer, add to table hash of case that way.
11714	  based on a patch from Ikuo KOBORI. [ruby-dev:42038]
11715
11716	* insns.def (opt_case_dispatch): ditto.
11717
11718	* test/ruby/test_case.rb: add tests.
11719
11720Thu Sep  9 17:15:15 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11721
11722	* test/net/http/test_https.rb (test_identity_verify_failure): follows
11723	  the SSL hostname check error message of openssl.
11724
11725Thu Sep  9 10:44:46 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11726
11727	* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
11728	  that it ignores characters after = in ENV.
11729	  patched by Jeremy Evans [ruby-core:32184]
11730
11731Thu Sep  9 09:02:01 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11732
11733	* tool/rbinstall.rb (install?): gemspec filename should include
11734	  its version. patched by Luis Lavena [ruby-core:32165]
11735
11736Wed Sep  8 22:46:31 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11737
11738	* ext/openssl/ossl_ssl.c (ssl_get_error): Thread context switch was
11739	  blocked on Windows while blocking call for SSLSocket.  Need to
11740	  convert errno for letting rb_io_wait_readable detect EWOULDBLOCK.
11741	  Patch by arton. ref #3794.
11742
11743Wed Sep  8 20:56:57 2010  Tanaka Akira  <akr@fsij.org>
11744
11745	* ext/pathname/pathname.c (path_setgid_p): Pathname#setgid? translated
11746	  from pathname.rb.
11747
11748Wed Sep  8 06:25:41 2010  Tanaka Akira  <akr@fsij.org>
11749
11750	* ext/pathname/pathname.c (path_setuid_p): Pathname#setuid? translated
11751	  from pathname.rb.
11752
11753Tue Sep  7 21:03:35 2010  Tanaka Akira  <akr@fsij.org>
11754
11755	* ext/pathname/pathname.c (path_readable_real_p):
11756	  Pathname#readable_real?  translated from pathname.rb.
11757
11758Mon Sep  6 23:07:25 2010  Tanaka Akira  <akr@fsij.org>
11759
11760	* ext/pathname/pathname.c (path_world_readable_p):
11761	  Pathname#world_readable?  translated from pathname.rb.
11762
11763Mon Sep  6 11:03:13 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11764
11765	* Fixed wrong check of missing functions. Patch by Adrian Quark.
11766	  ref #3400
11767	  The patch contains following comment:
11768	    This patch should avoid unnecessary incompatibility with future
11769	    versions of Openssl.  Changes suggested by bmaher_at_amazon.com.
11770
11771Mon Sep  6 10:46:55 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
11772
11773	* Fixed exception message for SSL post connection check failure. Patch
11774	  by Paul Betteridge. ref [Bug #3704]
11775
11776Mon Sep  6 10:31:59 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11777
11778	* ext/readline/readline.c (readline_s_get_line_buffer):
11779	  Readline.line_buffer should return locale string.
11780	  [ruby-dev:42184] #3791
11781
11782Mon Sep  6 09:47:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11783
11784	* util.c (ruby_strtod): check there is at least 1 digit after
11785	  "0x" before ".". [ruby-dev:42183] #3790
11786
11787Mon Sep  6 09:44:50 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11788
11789	* util.c (ruby_strtod): check integer overflow.
11790	  [ruby-dev:42180] #3789
11791
11792Mon Sep  6 06:17:21 2010  Tanaka Akira  <akr@fsij.org>
11793
11794	* ext/pathname/pathname.c (path_readable_p): Pathname#readable?
11795	  translated from pathname.rb.
11796
11797Sun Sep  5 23:02:34 2010  Tanaka Akira  <akr@fsij.org>
11798
11799	* ext/pathname/pathname.c (path_owned_p): Pathname#owned?
11800	  translated from pathname.rb.
11801
11802Sat Sep  4 23:48:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11803
11804	* file.c (rb_file_s_readlink): symlink target should be in
11805	  filesystem encoding.
11806
11807Sat Sep  4 10:40:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11808
11809	* load.c (ruby_init_ext): export for golfers.
11810
11811	* vm_core.h (rb_iseq_eval, rb_iseq_compile_with_option): ditto.
11812
11813Sun May 23 17:29:41 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
11814
11815	* common.mk (capi): uses a timestamp file to get rid of
11816	  generating twice.
11817
11818Fri Jun 18 01:33:21 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
11819
11820	* enc/Makefile.in (realclean): has been missing. necessary
11821	  for make realclean-enc.
11822
11823Fri Sep  3 23:51:26 2010  Tanaka Akira  <akr@fsij.org>
11824
11825	* ext/pathname/pathname.c (path_socket_p): Pathname#socket?
11826	  translated from pathname.rb.
11827
11828Fri Sep  3 06:40:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11829
11830	* ext/pty/pty.c (chfunc): pass through exceptions.
11831
11832	* io.c (rb_io_bufwrite, rb_io_bufread): added.
11833
11834	* process.c (rb_fork_err): protect from exceptions.
11835
11836Fri Sep  3 06:16:07 2010  Tanaka Akira  <akr@fsij.org>
11837
11838	* ext/pathname/pathname.c (path_pipe_p): Pathname#pipe?
11839	  translated from pathname.rb.
11840
11841Fri Sep  3 06:14:40 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11842
11843	* ext/pty/pty.c (chfunc): restore errno from SystemCallError and
11844	  propagate proper exception to the parent.  [ruby-dev:41965]
11845
11846Thu Sep  2 22:10:38 2010  Tanaka Akira  <akr@fsij.org>
11847
11848	* ext/pathname/pathname.c (path_file_p): Pathname#file?
11849	  translated from pathname.rb.
11850
11851Thu Sep  2 09:12:02 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11852
11853	* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): don't forget to free
11854	  memory.
11855
11856Thu Sep  2 09:01:13 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
11857
11858	* win32/win32.c (CreateChild): unicodize.
11859
11860	* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): convert arguments of
11861	  CreateChild() from ACP to WideChar.
11862
11863Thu Sep  2 06:53:43 2010  Tanaka Akira  <akr@fsij.org>
11864
11865	* ext/pathname/pathname.c (path_directory_p): Pathname#directory?
11866	  translated from pathname.rb.
11867
11868Wed Sep  1 22:03:41 2010  Tanaka Akira  <akr@fsij.org>
11869
11870	* ext/pathname/pathname.c (path_grpowned_p): Pathname#grpowned?
11871	  translated from pathname.rb.
11872
11873Wed Sep  1 17:39:02 2010  Ryan Davis  <ryand-ruby@zenspider.com>
11874
11875	* lib/minitest/*.rb: Imported minitest 1.7.1 r5835.
11876	* test/minitest/*.rb: ditto.
11877
11878Wed Sep  1 16:50:42 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11879
11880	* string.c (tr_setup_table): optimized. don't create hash objects
11881	  when given pattern is ASCII only.
11882
11883	* string.c (tr_find): ditto.
11884
11885Wed Sep  1 14:35:29 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11886
11887	* array.c (rb_ary_rotate_m): fix typo of rdoc.
11888	  patched by Andrei Kulakov [ruby-core:31975]
11889
11890Wed Sep  1 14:33:36 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11891
11892	* enum.c (enum_zip): fix typo of rdoc.
11893	  patched by Andrei Kulakov [ruby-core:31974]
11894
11895Wed Sep  1 12:56:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11896
11897	* thread.c (ruby_suppress_tracing): restore the state and invoke
11898	  the func with normal state.  a patch from Satoshi Shiba <shiba
11899	  AT rvm.jp> at [ruby-dev:42162].  [ruby-core:31783]
11900
11901Tue Aug 31 21:10:23 2010  Tanaka Akira  <akr@fsij.org>
11902
11903	* ext/pathname/pathname.c (path_exist_p): Pathname#exist? translated
11904	  from pathname.rb.
11905
11906Tue Aug 31 17:32:34 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
11907
11908	* ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
11909	  stubs". Thanks, Akio Tajima [ruby-dev:42159].
11910
11911Tue Aug 31 03:42:14 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11912
11913	* string.c (tr_setup_table): fix bug in r29146.
11914	  Initialize table even if cflag is 0; tr_find see whether
11915	  del is empty or not.
11916
11917	* string.c (tr_find): nodel can't be NULL; if NULL, it means
11918	  it is not specified.
11919
11920Mon Aug 30 21:29:21 2010  Tanaka Akira  <akr@fsij.org>
11921
11922	* ext/pathname/pathname.c (path_executable_real_p):
11923	  Pathname#executable_real? translated from pathname.rb.
11924
11925Mon Aug 30 15:00:13 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11926
11927	* string.c (tr_setup_table): initialize negating table when
11928	  negating string is given. [ruby-core:31851]
11929
11930	* string.c (tr_find): add a sentence for the time when
11931	  target characters include negating one.
11932
11933	* string.c (rb_str_count): move definition.
11934
11935Mon Aug 30 07:32:41 2010  Tanaka Akira  <akr@fsij.org>
11936
11937	* ext/pathname/pathname.c (path_executable_p): Pathname#executable?
11938	  translated from pathname.rb.
11939
11940Sun Aug 29 23:54:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11941
11942	* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't
11943	  include assignment.  [Bug #3759], [ruby-dev:42154]
11944
11945	* lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constant
11946	  name singleton class.  [Bug #3759], [ruby-dev:42154]
11947
11948Sun Aug 29 23:25:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11949
11950	* file.c (rb_get_path_check): clarify error message for
11951	  ASCII-incompatible path name.
11952
11953Sun Aug 29 16:02:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11954
11955	* common.mk (node_name.inc): remove command option -n and give
11956	  file as stdin, because IronRuby 1.1 still doesn't support it.
11957	  So now we can use ir.exe as BASERUBY.
11958
11959	* tool/node_name.rb: read stdin with while gets.
11960
11961Sun Aug 29 13:22:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11962
11963	* vm.c (rb_thread_method_id_and_class): curried proc has no
11964	  method.  [ruby-core:31871]
11965
11966Sun Aug 29 12:51:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11967
11968	* load.c (rb_provide_feature): clarify error message for frozen
11969	  $LOADED_FEATURES.  based on a patch from Run Paint Run Run at
11970	  [ruby-core:31913].
11971
11972Sun Aug 29 12:19:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
11973
11974	* load.c (load_failed): should honor encoding.  [ruby-core:31915]
11975
11976Sun Aug 29 09:35:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
11977
11978	* common.mk (clean): exclude *.inc. [ruby-dev:41931]
11979
11980	* common.mk (distclean): include *.inc.
11981
11982	* common.mk (help): change description about clean and distclean.
11983
11984Sat Aug 29 06:34:52 2010  Tanaka Akira  <akr@fsij.org>
11985
11986	* ext/pathname/pathname.c (path_chardev_p): Pathname#chardev?
11987	  translated from pathname.rb.
11988
11989Sat Aug 28 17:39:33 2010  Kenta Murata  <mrkn@mrkn.jp>
11990
11991	* ext/bigdecimal/bigdecimal.c (BigDecimal_save_exception_mode,
11992	  BigDecimal_save_rounding_mode, BigDecimal_save_limit): added.
11993
11994	* test/bigdecimal/test_bigdecimal.rb: added tests for the above
11995	  features.
11996
11997Sat Aug 28 08:11:05 2010  Tanaka Akira  <akr@fsij.org>
11998
11999	* ext/pathname/pathname.c (path_blockdev_p): Pathname#blockdev?
12000	  translated from pathname.rb.
12001
12002Fri Aug 27 16:20:01 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
12003
12004	* string.c (rb_str_prepend): new method by Shota Fukumori (sora_h)
12005	  [Feature #3765]
12006
12007Fri Aug 27 15:24:20 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12008
12009	* math.c (math_atan2): you should know that M_PI is not the feature
12010	  of C90.
12011	  fixed build failure caused by r29115.
12012
12013Fri Aug 27 15:26:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12014
12015	* file.c (null_device): move from io.c.
12016
12017Fri Aug 27 12:47:44 2010  Kenta Murata  <mrkn@mrkn.jp>
12018
12019	* math.c (math_atan2): change the behavior when x and y are zero.
12020	  [ruby-dev:42090] [Bug #3736] [ruby-dev:42116]
12021
12022	* test/ruby/test_math.rb (test_atan2): add tests for the above
12023	  changes.
12024
12025Fri Aug 27 12:26:23 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12026
12027	* object.c (rb_obj_class): remove mention of obsolete method.
12028	  a patch from Run Paint Run Run at [ruby-core:31842].
12029
12030Fri Aug 27 12:25:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12031
12032	* io.c (null_device): the name of null device.  [ruby-dev:41791]
12033
12034Fri Aug 27 07:57:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12035
12036	* array.c (rb_ary_shuffle_bang): bail out from modification during
12037	  shuffle.
12038
12039	* array.c (rb_ary_sample): ditto.
12040
12041Fri Aug 27 05:11:51 2010  Tanaka Akira  <akr@fsij.org>
12042
12043	* ext/pathname/pathname.c (path_sysopen): Pathname#sysopen translated
12044	  from pathname.rb.
12045
12046Thu Aug 26 22:53:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12047
12048	* array.c (rb_ary_shuffle): rdoc fix.  argument name was missing.
12049	  a patch from Run Paint Run Run at [ruby-core:31848].
12050
12051Thu Aug 26 21:49:46 2010  Tanaka Akira  <akr@fsij.org>
12052
12053	* ext/pathname/pathname.c (path_readlines): Pathname#readlines
12054	  translated from pathname.rb.
12055
12056Thu Aug 26 10:37:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12057
12058	* regint.h (OnigStackIndex): the type should be intptr_t.
12059	  Original Oniguruma assumes the size of long and that of void *
12060	  are equal, but it's not true on LLP64 platform: mswin64.
12061	  originally patched by shintaro kuwamoto [ruby-dev:42133]
12062
12063Thu Aug 26 10:38:11 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
12064
12065	* test/dl/test_base.rb: AIX does not have dynamically loadable lib[cm].
12066
12067	* test/fiddle/helper.rb: AIX does not have dynamically loadable lib[cm].
12068
12069Thu Aug 26 09:49:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12070
12071	* array.c (rb_ary_shuffle_bang): check number of argument.
12072
12073Tue Aug 26 09:11:40 2010  Kenta Murata  <mrkn@mrkn.jp>
12074
12075	* ext/bigdecimal/bigdecimal.c (Init_bigdecimal,
12076	  rmpd_set_thread_local_exception_mode, VpGetException,
12077	  VpSetException): thread-local exception mode.
12078
12079	* ext/bigdecimal/bigdecimal.c (Init_bigdecimal,
12080	  rmpd_set_thread_local_precision_limit, VpGetPrecLimit,
12081	  VpSetPrecLimit): thread-local precision limit.
12082
12083	* ext/bigdecimal/bigdecimal.c (Init_bigdecimal,
12084	  rmpd_set_thread_local_rounding_mode, VpGetRoundMode,
12085	  VpSetRoundMode, VpException, VpInternalRound):
12086	  thread-local rounding mode.
12087
12088	* ext/bigdecimal/bigdecimal.c (BigDecimal_mode, BigDecimal_round,
12089	  VpIsRoundMode, VpGetRoundMode, VpSetRoundMode, VpActiveRound,
12090	  VpMidRound, VpLeftRound), ext/bigdecimal/bigdecimal.h:
12091	  use unsigned short for rounding mode.
12092
12093	* test/bigdecimal/test_bigdecimal.rb (test_mode): add test for
12094	  setting rounding mode.
12095
12096	* test/bigdecimal/test_bigdecimal.rb (test_thread_local_mode):
12097	  add test for setting mode thread-locally.
12098
12099Thu Aug 26 07:29:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12100
12101	* array.c (rb_ary_{shuffle_bang,sample}): use Random class object.
12102
12103	* random.c (try_get_rnd): use default_rand for Random as same as
12104	  singleton methods.
12105
12106	* random.c (rb_random_real): check the range of result.
12107
12108Wed Aug 25 22:11:11 2010  Tanaka Akira  <akr@fsij.org>
12109
12110	* ext/pathname/pathname.c (path_binread): Pathname#binread translated
12111	  from pathname.rb.
12112
12113Wed Aug 25 03:42:43 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12114
12115	* ext/dl/cfunc.c (rb_dlcfunc_call): workaround for VC9 for x64.
12116	  reported by kuwamoto shintaro in [ruby-dev:42125].
12117
12118Tue Aug 24 23:28:50 2010  Yusuke Endoh  <mame@tsg.ne.jp>
12119
12120	* .gitignore: updated.
12121
12122Tue Aug 24 22:07:28 2010  Tanaka Akira  <akr@fsij.org>
12123
12124	* ext/pathname/pathname.c (path_read): Pathname#read translated from
12125	  pathname.rb.
12126
12127Tue Aug 24 10:11:04 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12128
12129	* configure.in: read API version from include/ruby/version.h.
12130
12131	* {bcc,win}32/setup.mak (-version-): ditto.
12132
12133	* version.h (RUBY_LIB_VERSION): use API version numbers.
12134
12135Tue Aug 24 07:07:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12136
12137	* array.c (rb_ary_shuffle_bang, rb_ary_sample): add optional
12138	  argument random.  [ruby-dev:41923] [EXPERIMENTAL]
12139
12140	* random.c (rb_random_{int32,real,bytes}): fallback to normal
12141	  method invocation.
12142
12143Tue Aug 24 06:08:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12144
12145	* include/ruby/version.h (RUBY_API_VERSION_*): renamed and moved
12146	  from version.h.  [ruby-dev:42103]
12147
12148Tue Aug 24 05:58:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12149
12150	* ChangeLog: flushed.  [ruby-dev:42050]
12151
12152Tue Aug 24 01:14:58 2010  Kenta Murata <mrkn@mrkn.jp>
12153
12154	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): to_f must underflow
12155	  when the exponent is less than DBL_MIN_10_EXP - BASE_FIG.
12156
12157	* test/bigdecimal/test_bigdecimal.rb (test_to_f): added test for the above changes.
12158
12159Mon Aug 23 23:14:21 2010  Tanaka Akira  <akr@fsij.org>
12160
12161	* ext/pathname/pathname.c (path_each_line): Pathname#each_line
12162	  translated from pathname.rb.
12163
12164Mon Aug 23 22:30:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12165
12166	* common.mk (version.o): depends on both of version.h and
12167	  include/ruby/version.h.   [ruby-dev:42063]
12168
12169Mon Aug 23 13:09:27 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
12170
12171	* backport r29071 from ruby_1_8;
12172
12173	  * ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean
12174	    encoding issue for OpenSSL 1.0.0 compatibility.
12175	    ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which
12176	    means 'true'.
12177
12178	    ASN1_TYPE_set of OpenSSL <= 0.9.8 treats value 0x100 as 'false'
12179	    but OpenSSL >= 1.0.0 treats it as 'true'.  ruby-ossl was using
12180	    0x100 for 'false' for backward compatibility.  Just use 0x0 for
12181	    the case OpenSSL >= OpenSSL 0.9.7.
12182
12183	  * test/openssl/test_asn1.rb: test added.
12184
12185Mon Aug 23 12:28:58 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12186
12187	* re.c (rb_reg_search): fix: 4th argument should be regexp
12188	  object. patched by shintaro kuwamoto [ruby-dev:41667] #3459
12189
12190Mon Aug 23 02:23:05 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12191
12192	* util.c (ruby_strtod): make sure to have digit-sequence after 'p'
12193	  for hexadecimal-floating-constant. [ruby-dev:42105]
12194
12195Mon Aug 23 00:23:07 2010  Tadayoshi Funaba  <tadf@dotrb.org>
12196
12197	* lib/date.rb, lib/date/format.rb: [ruby-core:31695]
12198
12199Sun Aug 22 09:08:02 2010  Tanaka Akira  <akr@fsij.org>
12200
12201	* include/ruby/ruby.h (UINT2NUM): fix ifdef condition for LLP64.
12202	  reported by Daniel Gutmanas.  [ruby-core:31778]
12203
12204Sun Aug 22 06:46:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12205
12206	* array.c (RAND_UPTO): macro for random number.
12207
12208Sun Aug 22 05:55:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12209
12210	* configure.in: fix typo.  a patch from Eric Wong at
12211	  [ruby-core:31810].
12212
12213Sat Aug 21 20:09:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12214
12215	* vm.c: add missing prototype of rb_iseq_clone for r29063.
12216
12217Sat Aug 21 18:54:56 2010  wanabe  <s.wanabe@gmail.com>
12218
12219	* vm.c (vm_define_method): copy iseq to avoid overwriting iseq->klass.
12220	  #2502, #3136. see #2420.
12221
12222Sat Aug 21 17:36:42 2010  Tanaka Akira  <akr@fsij.org>
12223
12224	* ext/pathname/pathname.c (path_split): Pathname#split translated from
12225	  pathname.rb.
12226
12227Fri Aug 20 10:40:04 2010  Tanaka Akira  <akr@fsij.org>
12228
12229	* ext/pathname/pathname.c (path_expand_path): Pathname#expand_path
12230	  translated from pathname.rb.
12231
12232Thu Aug 19 22:44:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12233
12234	* tool/make-snapshot (usage): add usage.
12235
12236	* tool/make-snapshot (package): accept revision as BRANCH@REV.
12237
12238Thu Aug 19 19:53:26 2010  Tanaka Akira  <akr@fsij.org>
12239
12240	* ext/socket/ancdata.c (ancillary_timestamp): fix a constant type.
12241
12242	* ext/socket/raddrinfo.c (get_afamily): suppress a warning.
12243
12244Thu Aug 19 19:28:47 2010  Tanaka Akira  <akr@fsij.org>
12245
12246	* thread_pthread.c (native_sleep): suppress a warning for platforms
12247	  which time_t is int.
12248
12249Thu Aug 19 18:15:50 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12250
12251	* tool/merger.rb: Add a tool to merge commits between branches.
12252	  developed by URABE Shyouhei
12253
12254Thu Aug 19 17:19:09 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
12255
12256	* backport r28621 and r28632 from ruby_1_8;
12257
12258	  * ext/openssl/ossl_config.c, ext/openssl/lib/openssl/config.rb,
12259	    ext/openssl/lib/openssl.rb: reimplement OpenSSL::Config in Ruby.
12260	    Now it should work on windows.
12261
12262	  * test/openssl/test_config.rb: added tests for OpenSSL::Config#dup.
12263
12264	  * test/openssl/test_config.rb: added tests for Config#clone.
12265
12266Thu Aug 19 12:04:39 2010  Kenta Murata  <mrkn@mrkn.jp>
12267
12268	* array.c (rb_ary_permutation, rb_ary_repeated_permutation,
12269	  rb_ary_repeated_combination, rb_ary_product):
12270	  use ary_make_shared_copy instead of ary_make_substitution.
12271	  [ruby-dev:42067] [Bug #3708]
12272
12273	* test/ruby/test_array.rb (test_product, test_repeated_permutation,
12274	  test_repeated_combination): append assertions against [Bug #3708].
12275
12276Thu Aug 19 11:11:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12277
12278	* enum.c (enum_inject): fix typo of rdoc.
12279	  patched by Andrei Kulakov [ruby-core:31768]
12280
12281Thu Aug 19 10:06:08 2010  Tanaka Akira  <akr@fsij.org>
12282
12283	* ext/pathname/pathname.c (path_extname): Pathname#extname translated
12284	  from pathname.rb.
12285
12286Thu Aug 19 06:03:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12287
12288	* vm_insnhelper.c (vm_push_frame): initialize block_iseq.  a patch
12289	  from Peter Weldon at [ruby-core:31757].
12290
12291Wed Aug 18 19:08:17 2010  Kenta Murata  <mrkn@mrkn.jp>
12292
12293	* array.c (ary_make_shared): revert r29037, it occurs SEGV some
12294	  situations.
12295
12296Wed Aug 18 18:36:32 2010  Kenta Murata  <mrkn@mrkn.jp>
12297
12298	* array.c (ary_make_shared),
12299	  test/ruby/test_array.rb (test_permutation):
12300	  always return the original array when it is shared.
12301	  [ruby-dev:42067] [Bug #3708]
12302
12303Wed Aug 18 01:37:49 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12304
12305	* regcomp.c: revert r26701; it introduces Bug #3681.
12306	  [ruby-core:31677]
12307
12308Tue Aug 17 20:05:29 2010  Tanaka Akira  <akr@fsij.org>
12309
12310	* test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output
12311	  twice.
12312
12313Tue Aug 17 15:13:28 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12314
12315	* lib/date.rb: Re-revert the part of r28950.
12316	  It reverted the part of r28619.
12317
12318Tue Aug 17 13:00:07 2010  Tanaka Akira  <akr@fsij.org>
12319
12320	* ext/pathname/pathname.c (path_dirname): Pathname#dirname translated
12321	  from pathname.rb.
12322
12323Tue Aug 17 07:50:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12324
12325	* ext/readline/extconf.rb: check functions more.
12326	  [ruby-core:31722]
12327
12328Tue Aug 17 07:42:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12329
12330	* string.c (str_make_independent_expand): set capacity properly. a
12331	  patch from Peter Weldon at [ruby-core:31734].  [ruby-core:31653]
12332
12333Tue Aug 17 07:38:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12334
12335	* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
12336	  suffix.  [ruby-core:31730]
12337
12338Mon Aug 16 22:16:12 2010  Tanaka Akira  <akr@fsij.org>
12339
12340	* ext/pathname/pathname.c (path_basename): unused variable removed.
12341
12342Mon Aug 16 21:39:33 2010  Tanaka Akira  <akr@fsij.org>
12343
12344	* ext/pathname/pathname.c (path_basename): Pathname#basename translated
12345	  from pathname.rb.
12346
12347Mon Aug 16 20:26:13 2010  Narihiro Nakamura  <narihiro@netlab.jp>
12348
12349	* gc.c (gc_profile_result): Index begins with 1.
12350
12351Mon Aug 16 20:21:17 2010  Narihiro Nakamura  <authornari@gmail.com>
12352
12353	* gc.c (gc_profile_result): use size_t. based on patches from
12354	Tomoaki NISHIYAMA <tomoakin@kenroku.kanazawa-u.ac.jp> at
12355	[ruby-dev:42042].
12356
12357Mon Aug 16 19:23:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12358
12359	* util.c (ruby_dtoa, ruby_hdtoa): use same representations for
12360	  Infinity and NaN.  a part of a patch from Peter Weldon at
12361	  [ruby-core:31725].
12362
12363	* util.c (ruby_hdtoa): fixed buffer overrun.  based on a patch
12364	  from Peter Weldon at [ruby-core:31725].
12365
12366Mon Aug 16 17:44:55 2010  Tanaka Akira  <akr@fsij.org>
12367
12368	* common.mk (capi): use -b option for doxygen.  It disables stdout
12369	  buffering and prevents wrong reordering between stdout and stderr
12370	  even when the output of "make" is redirected.
12371
12372Sun Aug 15 19:59:58 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
12373
12374	* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
12375	  Fix for possible cross-site scripting (CVE-2010-0541).
12376	  Found by Apple, reported by Hideki Yamane.
12377	  Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>.
12378
12379Mon Aug 16 12:29:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12380
12381	* Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
12382	  from test-rubyspec.
12383
12384	* common.mk (test-rubyspec): moved from Makefile.in.
12385
12386Mon Aug 16 10:00:45 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12387
12388	* ext/bigdecimal/bigdecimal.h (llabs): never never never never never
12389	  use "long long".
12390
12391	* ext/bigdecimal.bigdecimal.c (BigDecimal_to_i): get rid of a warning.
12392
12393Sun Aug 15 18:14:20 2010  Kenta Murata  <mrkn@mrkn.jp>
12394
12395	* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect,
12396	  VPrint, VpToString, VpVarCheck): use PRIuSIZE, PRIdSIZE, PRIdVALUE,
12397	  and PRIxVALUE.
12398
12399Sun Aug 15 16:14:31 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12400
12401	* lib/mkmf.rb (Logging.postpone): close @log only when it's available.
12402
12403Sun Aug 15 13:30:35 2010  Kenta Murata  <mrkn@mrkn.jp>
12404
12405	* ext/bigdecimal/bigdecimal.h (VpVtoD): fix a type of e.
12406
12407	* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect):
12408	  fix format for size_t.
12409
12410Sun Aug 15 00:22:00 2010  Kenta Murata  <mrkn@mrkn.jp>
12411
12412	* ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h
12413	  (labs, llabs): support environments missing labs and llabs.
12414
12415	* ext/bigdecimal/bigdecimal.h (vabs): added.
12416
12417	* ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h,
12418	  ext/bigdecimal/bigdecimal.c, test/bigdecimal/test_bigdecimal.rb
12419	  (TestBigDecimal#test_new): replace U_LONG, S_LONG, S_INT, and U_INT
12420	  with appropriate standard or ruby-provided types.
12421
12422Sun Aug 15 00:15:45 2010  Tanaka Akira  <akr@fsij.org>
12423
12424	* ext/pathname/pathname.c (path_utime): Pathname#utime translated
12425	  from pathname.rb.
12426
12427Sat Aug 14 21:04:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12428
12429	* thread.c (rb_gc_mark_threads): deprecated.
12430
12431Sat Aug 14 19:12:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12432
12433	* ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
12434	  topdir and top_srcdir.  [ruby-dev:42031]
12435
12436Sat Aug 14 17:48:41 2010  Narihiro Nakamura  <authorNari@gmail.com>
12437
12438	* test/objspace/test_objspace.rb: added test for objspace.
12439
12440	* ext/objspace/objspace.c: considers T_ZOMBIE by lazy sweep GC.
12441
12442	* gc.c: considers that dsize was 0. [ruby-dev:42022]
12443
12444Sat Aug 14 15:33:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12445
12446	* configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
12447	  to declare exported function.
12448
12449	* array.c (rb_ary_memsize), string.c (rb_str_memsize),
12450	  variable.c (rb_objspace_data_type_memsize): used in
12451	  objspace.  [ruby-dev:42022]
12452
12453	* io.c (rb_io_memsize): constified.
12454
12455	* regcomp.c (onig_memsize): constified.
12456
12457	* gc.h (rb_objspace_each_objects): used in objspace.
12458
12459	* vm_core.h (rb_{get,set,reset}_coverages): used in coverage.
12460
12461	* include/ruby/intern.h (rb_time_interval): used in io/wait.
12462
12463	* include/ruby/intern.h (rb_make_backtrace, rb_make_exception):
12464	  used in ripper.
12465
12466	* node.h (rb_parser_{malloc,realloc,calloc,free}): ditto.
12467
12468Fri Aug 13 22:48:39 2010  Tanaka Akira  <akr@fsij.org>
12469
12470	* ext/pathname/pathname.c (path_truncate): Pathname#truncate translated
12471	  from pathname.rb.
12472
12473Fri Aug 13 16:11:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12474
12475	* lib/test/unit.rb (MiniTest::Unit.new): extend before initialize.
12476	  [ruby-dev:41970]
12477
12478	* lib/test/unit.rb (MiniTest::Unit.autorun): use Test::Unit::Mini.
12479
12480Thu Aug 12 23:39:02 2010  Tanaka Akira  <akr@fsij.org>
12481
12482	* ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink
12483	  translated from pathname.rb.
12484
12485Thu Aug 12 21:18:27 2010  Tanaka Akira  <akr@fsij.org>
12486
12487	* ext/pathname/pathname.c (path_lstat): Pathname#lstat translated
12488	  from pathname.rb.
12489
12490Thu Aug 12 05:58:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12491
12492	* include/ruby/encoding.h (rb_char_to_option_kcode): used in
12493	  ripper.
12494
12495	* node.h (rb_reserved_word): ditto.
12496
12497Thu Aug 12 00:19:53 2010  Tanaka Akira  <akr@fsij.org>
12498
12499	* test/ruby/test_rubyoptions.rb (test_script_from_stdin): disable
12500	  echo.  [ruby-dev:41966]
12501
12502Wed Aug 11 23:28:22 2010  Kenta Murata  <mrkn@mrkn.jp>
12503
12504	* lib/cmath.rb (CMath.sqrt): use floating-point value.
12505	  [ruby-core:31672] [Bug #3678]
12506
12507	* test/test_cmath.rb: added for testing lib/cmath.rb.
12508
12509Wed Aug 11 20:57:25 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
12510
12511	* NEWS: merge from branches/ruby_1_9_2, and move io/console.
12512	  [ruby-dev:41924]
12513
12514Wed Aug 11 11:01:15 2010  Kenta Murata  <mrkn@mrkn.jp>
12515
12516	* ext/bigdecimal/bigdecimal.c: don't use // comment.
12517
12518Wed Aug 11 06:18:20 2010  Tanaka Akira  <akr@fsij.org>
12519
12520	* ext/pathname/pathname.c (path_stat): Pathname#stat translated
12521	  from pathname.rb.
12522
12523Tue Aug 10 21:18:04 2010  Tadayoshi Funaba  <tadf@dotrb.org>
12524
12525	* complex.c (nucomp_to_[ifr]): don't allow complex with in-exact
12526	  imaginary zero to be converted.
12527
12528Tue Aug 10 20:56:31 2010  Tanaka Akira  <akr@fsij.org>
12529
12530	* lib/optparse.rb: suppress a warning.
12531
12532	* test/test_mutex_m.rb: ditto.
12533
12534Tue Aug 10 20:56:13 2010  Tadayoshi Funaba  <tadf@dotrb.org>
12535
12536	* lib/date/format.rb (Date::Format::Bag): use Struct.
12537	  as an experimental.
12538
12539Tue Aug 10 20:45:35 2010  Tanaka Akira  <akr@fsij.org>
12540
12541	* ext/pathname/pathname.c (path_rename): Pathname#rename translated
12542	  from pathname.rb.
12543
12544Tue Aug 10 20:16:19 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12545
12546	* ext/dl/win32/lib/win32/resolv.rb (get_info): get rid of a warning.
12547
12548Tue Aug 10 19:56:13 2010  Tadayoshi Funaba  <tadf@dotrb.org>
12549
12550	* lib/date/format.rb: [ruby-core:31658]
12551
12552Tue Aug 10 17:24:56 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12553
12554	* README.EXT.ja: rb_tainted_str_new_cstr() is an alias of
12555	  rb_tainted_str_new2().
12556
12557Tue Aug 10 15:24:30 2010  Kenta Murata  <mrkn@mrkn.jp>
12558
12559	* ext/bigdecimal/bigdecimal.c, ext/bigdecimal/bigdecimal.h,
12560	  ext/bigdecimal/extconf.rb: BASE and BASE_FIG are defined
12561	  based on the size of BDIGIT.
12562
12563	* ext/bigdecimal/bigdecimal.c, ext/bigdecimal/bigdecimal.h:
12564	  use BDIGIT for Real#frac.
12565
12566Tue Aug 10 15:19:45 2010  Kenta Murata  <mrkn@mrkn.jp>
12567
12568	* ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c:
12569	  add extern declaration of rb_cBigDecimal.
12570
12571Tue Aug 10 14:09:31 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12572
12573	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest::parse_uri):
12574	  rollup leading slashes. [ruby-core:31657]
12575	  patched by Jamison Wilde
12576	  NOTE: //authority/path is valid relative URI both RFC2396 and
12577	  RFC3986. So when give a relative URI-like string to URI lib,
12578	  users must care leading slashes.
12579
12580Tue Aug 10 11:26:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12581
12582	* lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.
12583
12584Tue Aug 10 06:26:48 2010  Tanaka Akira  <akr@fsij.org>
12585
12586	* ext/pathname/pathname.c (path_readlink): Pathname#readlink translated
12587	  from pathname.rb.
12588
12589Mon Aug  9 22:15:19 2010  Tanaka Akira  <akr@fsij.org>
12590
12591	* ext/pathname/pathname.c (path_open): Pathname#open translated from
12592	  pathname.rb.
12593
12594Mon Aug  9 22:11:09 2010  Tanaka Akira  <akr@fsij.org>
12595
12596	* test/ruby/test_signal.rb (TestSignal#test_exit_action): use
12597	  Process.spawn instead of Process.fork.
12598
12599Mon Aug  9 15:59:02 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12600
12601	* lib/rubygems/source_index.rb: rename unused variable.
12602
12603	* lib/rubygems/specification.rb: rename unused variable.
12604
12605	* lib/rubygems/specification.rb: remove unused variable.
12606
12607Mon Aug  9 14:10:06 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12608
12609	* ext/nkf/nkf-utf8/nkf.c: Fix type of mimeout_state.buf.
12610	  [nkf-bug:20079]
12611
12612Mon Aug  9 06:52:59 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12613
12614	* dir.c (sys_warning_1): show error message.
12615
12616Mon Aug  9 06:50:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12617
12618	* test/ruby/test_require.rb (test_require_too_long_filename):
12619	  clear -w option.
12620
12621Mon Aug  9 00:18:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12622
12623	* lib/mkmf.rb ($ignore_error): initialize after $nmake.
12624
12625Sun Aug  8 19:16:26 2010  Tanaka Akira  <akr@fsij.org>
12626
12627	* ext/pathname/pathname.c (path_make_link): Pathname#make_link
12628	  translated from pathname.rb.
12629
12630Sun Aug  8 16:42:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12631
12632	* lib/rubygems.rb (Gem.find_files): reverted to use globbing.
12633
12634	* lib/rubygems.rb (Gem.find_files): fixed search order same as
12635	  default behavior.
12636
12637	* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): return truly
12638	  require-able suffixes only.
12639
12640Sun Aug  8 13:20:57 2010  Tanaka Akira  <akr@fsij.org>
12641
12642	* ext/pathname/pathname.c (path_ftype): Pathname#ftype translated
12643	  from pathname.rb.
12644
12645Sun Aug  8 12:41:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12646
12647	* parse.y (parser_tokadd_escape): no similar messages twice.
12648	  [ruby-core:31048]
12649
12650Sun Aug  8 10:07:45 2010  Tanaka Akira  <akr@fsij.org>
12651
12652	* strftime.c (rb_strftime_with_timespec): suppress warnings.
12653
12654Sun Aug  8 08:58:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12655
12656	* common.mk (RUBY_H_INCLUDES): add subst.h.
12657
12658Sun Aug  8 08:55:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12659
12660	* include/ruby/ruby.h (ruby_snprintf): printf attribute.
12661
12662Sun Aug  8 07:47:29 2010  Tanaka Akira  <akr@fsij.org>
12663
12664	* lib/rbconfig/obsolete.rb: show the location which use Config.
12665
12666Sun Aug  8 07:29:55 2010  Tanaka Akira  <akr@fsij.org>
12667
12668	* ext/pathname/pathname.c (path_fnmatch): Pathname#fnmatch and
12669	  Pathname#fnmatch? translated from pathname.rb.
12670
12671Sun Aug  8 07:18:22 2010  Tanaka Akira  <akr@fsij.org>
12672
12673	* include/ruby/subst.h (snprintf): redefinition moved from ruby.h.
12674	  (vsnprintf): ditto.
12675
12676Sun Aug  8 00:41:42 2010  Tanaka Akira  <akr@fsij.org>
12677
12678	* include/ruby/subst.h: new file for substitute standard functions.
12679
12680	* include/ruby/missing.h: don't substitute "close", etc. here.
12681
12682	* include/ruby/ruby.h: include ruby/subst.h at last.
12683	  This prevents substituting "close" in unistd.h.
12684
12685Sat Aug  7 19:51:10 2010  Tanaka Akira  <akr@fsij.org>
12686
12687	* test/ruby/envutil.rb (EnvUtil.invoke_ruby): merge stdout and stderr
12688	  if capture_stderr is :merge_to_stdout.
12689	  (assert_normal_exit): print abnormal output properly.
12690
12691Sat Aug  7 19:04:49 2010  Tanaka Akira  <akr@fsij.org>
12692
12693	* missing/close.c: undef the macros "getpeername", "getsockname" and
12694	  "shutdown" to prevent infinite recursion.
12695
12696Sat Aug  7 18:37:39 2010  Tanaka Akira  <akr@fsij.org>
12697
12698	* missing/close.c: undef the macro "close" to prevent infinite
12699	  recursion.
12700
12701Sat Aug  7 18:20:41 2010  Tanaka Akira  <akr@fsij.org>
12702
12703	* ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
12704	  from pathname.rb.
12705
12706Sat Aug  7 17:49:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12707
12708	* include/ruby/missing.h: moved BROKEN_CLOSE replacements from
12709	  include/ruby/ruby.h.
12710
12711Sat Aug  7 17:40:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12712
12713	* mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
12714	  deprecated Config.
12715
12716Sat Aug  7 17:18:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12717
12718	* ext/extmk.rb (extract_makefile): follow the change of
12719	  install-rb-default line format at r28850, which causes second
12720	  run to create dummy makefiles.
12721
12722Sat Aug  7 14:08:44 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12723
12724	* lib/mkmf.rb: change instance variable to global.
12725
12726Sat Aug  7 13:59:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12727
12728	* ext/pathname/pathname.c (path_sub_ext): don't clobber shared string.
12729	  [ruby-core:31640]
12730
12731Sat Aug  7 13:33:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12732
12733	* vm_eval.c (vm_call0): fix for VM_METHOD_TYPE_NOTIMPLEMENTED.
12734	  [ruby-dev:41953]
12735
12736Sat Aug  7 09:47:06 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
12737
12738	* ext/win32ole/win32ole.c: fix checking version of GCC.
12739
12740Sat Aug  7 09:31:48 2010  Tanaka Akira  <akr@fsij.org>
12741
12742	* ext/pathname/pathname.c (Init_pathname): fix number of arguments for
12743	  Pathname#chown.
12744
12745Sat Aug  7 09:28:12 2010  Tanaka Akira  <akr@fsij.org>
12746
12747	* test/ruby/envutil.rb (assert_normal_exit): use assert.  fix
12748	  faildesc.
12749
12750	* test/pathname/test_pathname.rb (test_lchmod): test Pathname#lchmod
12751	  using assert_normal_exit.
12752
12753Sat Aug  7 08:26:26 2010  Tanaka Akira  <akr@fsij.org>
12754
12755	* ext/pathname/pathname.c (path_chown): Pathname#chown translated
12756	  from pathname.rb.
12757
12758Sat Aug  7 02:09:04 2010  Tanaka Akira  <akr@fsij.org>
12759
12760	* ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated
12761	  from pathname.rb.
12762
12763Fri Aug  6 21:30:06 2010  Tanaka Akira  <akr@fsij.org>
12764
12765	* ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from
12766	  pathname.rb.
12767
12768Fri Aug  6 20:13:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12769
12770	* rational.c (nurat_div): divided by infinity should be zero.
12771
12772	* rational.c (nurat_div): divided by float zero should be
12773	  infinity.  [ruby-core:31626]
12774
12775Fri Aug  6 18:59:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12776
12777	* file.c (realpath_rec): rb_str_modify depends on the length, so
12778	  resize instead.
12779
12780Fri Aug  6 18:56:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12781
12782	* Makefile.in (clean-ext): fixed directories to be removed.
12783
12784Fri Aug  6 17:42:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12785
12786	* enc/depend: add space at the beginning of @ignore_error.
12787
12788	* lib/mkmf.rb: ditto.
12789
12790Fri Aug  6 17:38:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12791
12792	* common.mk (clean): add  prelude.c, config.log, and rbconfig.rb.
12793
12794	* common.mk (distclean): remove encdb.h, config.log, and rbconfig.rb.
12795
12796Fri Aug  6 17:35:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12797
12798	* Makefile.in: ignore error from RMDIRS.
12799
12800	* enc/depend: ditto.
12801
12802	* lib/mkmf.rb: ditto.
12803
12804Fri Aug  6 05:53:32 2010  Tanaka Akira  <akr@fsij.org>
12805
12806	* ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from
12807	  pathname.rb.
12808
12809Thu Aug  5 22:09:30 2010  Tanaka Akira  <akr@fsij.org>
12810
12811	* ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from
12812	  pathname.rb.
12813
12814Thu Aug  5 21:20:31 2010  Yusuke Endoh  <mame@tsg.ne.jp>
12815
12816	* compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT
12817	  results when poped is true.  [ruby-dev:41933], [Bug #3658]
12818	  This is retry of r28870 and r28873 which were reverted.
12819
12820Thu Aug  5 20:13:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12821
12822	* README.EXT, README.EXT.ja (String functions): mention
12823	  rb_str_resize and rb_str_set_len.
12824
12825Thu Aug  5 19:59:55 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12826
12827	* string.c (rb_str_set_len): bail out when buffer overflowed
12828	  probably.
12829
12830Thu Aug  5 18:36:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12831
12832	* complex.c (nucomp_marshal_load): should check the argument.
12833	  [ruby-core:31622]
12834
12835	* rational.c (nurat_marshal_load): ditto
12836
12837	* marshal.c (w_float): should not append a dot if no fractal part
12838	  exists.  [ruby-dev:41936]
12839
12840Thu Aug  5 17:11:43 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
12841
12842	* parse.y (void_expr_gen): add 'possibly' to warning message.
12843	  [ruby-core:31611]
12844
12845Thu Aug  5 16:57:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12846
12847	* dir.c (glob_make_pattern): fold continuous PLAINs to get rid of
12848	  snail at too deep path.  [ruby-dev:41871]
12849
12850Thu Aug  5 16:42:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12851
12852	* string.c (rb_str_set_len): should fail to modify shared string.
12853
12854Thu Aug  5 14:12:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12855
12856	* ruby.c (ruby_init_loadpath_safe): ensure sopath to be modifiable
12857
12858Thu Aug  5 12:39:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12859
12860	* string.c (str_make_independent_expand): fix buffer overflow
12861	  while shrinking.
12862
12863Thu Aug  5 06:42:31 2010  Tanaka Akira  <akr@fsij.org>
12864
12865	* file.c (realpath_rec): call rb_str_modify before rb_str_set_len.
12866
12867Wed Aug  4 19:37:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12868
12869	* string.c (rb_str_set_len): rb_str_modify cannot work before the
12870	  length is set, which is a precondition for rb_str_modify.
12871
12872Wed Aug  4 15:47:21 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12873
12874	* lib/mkmf.rb (create_makefile): no need to create the directory
12875	  at each library file. this change makes making ext faster.
12876
12877Wed Aug  4 06:25:04 2010  Tanaka Akira  <akr@fsij.org>
12878
12879	* ext/pathname/pathname.c (path_atime): Pathname#atime translated from
12880	  pathname.rb.
12881
12882Tue Aug  3 21:16:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12883
12884	* random.c (Init_Random): add Random::DEFAULT.
12885
12886Tue Aug  3 21:01:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12887
12888	* hash.c (rb_check_hash_type): added.
12889
12890Tue Aug  3 20:30:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12891
12892	* bignum.c (rb_big_eq): never equal to infinity.
12893	  [ruby-core:31603]
12894
12895	* rational.c (nurat_div): hack for integral float divisor.
12896
12897Tue Aug  3 14:42:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
12898
12899	* ext/extmk.rb: remove purelib, fixes a bug in r28440, r28441.
12900
12901	* spec/default.mspec: ditto.
12902
12903	* template/Doxyfile.tmpl: ditto.
12904
12905Tue Aug  3 14:19:42 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12906
12907	* lib/rdoc/ri/driver.rb (setup_pager): no need to check the existence
12908	  of pagers. the following code checks whether they are executable or
12909	  not.
12910
12911Tue Aug  3 12:03:57 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
12912
12913	* tool/runruby.rb: no purelib.
12914
12915Tue Aug  3 07:52:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12916
12917	* ext/purelib.rb: no longer used since the default load path of
12918	  miniruby is empty.
12919
12920Tue Aug  3 00:53:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12921
12922	* insns.def, vm_core.h: fixed typo.  reported by Rocky Bernstein
12923	  <rockyb AT rubyforge.org> at [ruby-core:31596].
12924
12925Mon Aug  2 21:51:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12926
12927	* ruby.c (ruby_init_loadpath_safe): rb_str_set_len modifies ptr
12928	  since r26303.
12929
12930Mon Aug  2 21:16:03 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
12931
12932	* ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc
12933	  version is older than 3.4.4. [ruby-core:31567] [Bug #3637]
12934	* ext/win32ole/extconf.rb: ditto.
12935
12936Mon Aug  2 16:34:32 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12937
12938	* thread_win32.c (native_thread_join): need to wait thread, of course.
12939	  [ruby-dev:41911]
12940
12941Mon Aug  2 12:22:22 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
12942
12943	* file.c (file_expand_path): wrong condition. [ruby-core:31591]
12944
12945Mon Aug  2 05:34:48 2010  Tanaka Akira  <akr@fsij.org>
12946
12947	* ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath
12948	  translated from pathname.rb.
12949
12950Sun Aug  1 23:04:49 2010  Tanaka Akira  <akr@fsij.org>
12951
12952	* lib/pp.rb: describe superclasses explicitly.
12953
12954Sun Aug  1 23:04:35 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12955
12956	* string.c (rb_str_modify_expand, rb_str_resize): get rid of
12957	  repeating malloc and realloc.
12958
12959Sun Aug  1 22:16:30 2010  Kenta Murata  <mrkn@mrkn.jp>
12960
12961	* ext/bigdecimal/bigdecimal.c (BigDecimal_hash): use rb_memhash and
12962	  take care of negative finite numbers properly.
12963	  [ruby-core:31582][Bug #3640]
12964
12965Sun Aug  1 20:57:22 2010  Tanaka Akira  <akr@fsij.org>
12966
12967	* ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
12968	  from pathname.rb.
12969
12970Sun Aug  1 17:27:32 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
12971
12972	* win32/Makefile.sub: needs stddef.h for size_t.  a patch from
12973	  Akio Tajima at [ruby-dev:41905].
12974
12975Sun Aug  1 14:59:04 2010  Tanaka Akira  <akr@fsij.org>
12976
12977	* ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated
12978	  from pathname.rb.
12979
12980Sun Aug  1 10:23:48 2010  Yusuke Endoh  <mame@tsg.ne.jp>
12981
12982	* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
12983	  switch called in irb.  a patch from Andrew Grimm in
12984	  [ruby-core:31558].
12985
12986Sun Aug  1 09:35:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
12987
12988	* bignum.c (big_op): comparison of bignum and infinity has returned 1
12989	  or -1, but it must return boolean.
12990
12991Sun Aug  1 09:44:25 2010  Tanaka Akira  <akr@fsij.org>
12992
12993	* class.c (rb_include_module): don't clear the method cache if the
12994	  included module has no method.
12995	  reported by Eric Wong.  [ruby-core:31559]
12996
12997Sun Aug  1 09:21:32 2010  Tanaka Akira  <akr@fsij.org>
12998
12999	* ext/pathname/pathname.c (path_sub): Pathname#sub translated
13000	  from pathname.rb.
13001
13002Sun Aug  1 09:12:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13003
13004	* include/ruby/win32.h: latest x86_64 mingw defines stati64.
13005	  [ruby-core:27516]
13006
13007Sun Aug  1 08:51:52 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
13008
13009	* ext/win32ole/win32ole.c: fix typo. [ruby-core:31564][Bug #3636]
13010
13011Sat Jul 31 23:15:27 2010  Tanaka Akira  <akr@fsij.org>
13012
13013	* ext/pathname/pathname.c (path_inspect): Pathname#inspect translated
13014	  from pathname.rb.
13015
13016Sat Jul 31 15:50:03 2010  Tanaka Akira  <akr@fsij.org>
13017
13018	* ext/pathname/pathname.c (Init_pathname): The alias,
13019	  Pathname#to_path, is translated from pathname.rb.
13020
13021Sat Jul 31 09:12:36 2010  Tanaka Akira  <akr@fsij.org>
13022
13023	* ext/pathname/pathname.c (path_to_s): Pathname#to_s translated
13024	  from pathname.rb.
13025
13026Sat Jul 31 08:20:07 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
13027
13028	* lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert):
13029	  merged r28784 from ruby_1_8: wrongly created dummy SSL certificate
13030	  with version == 3 (no such version) and serial == 0 (must be >0).
13031
13032Fri Jul 30 21:43:55 2010  Tanaka Akira  <akr@fsij.org>
13033
13034	* ext/pathname/pathname.c (path_hash): Pathname#hash translated
13035	  from pathname.rb.
13036
13037Fri Jul 30 12:42:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13038
13039	* lib/net/imap.rb (example): use IO#noecho to read password if
13040	  possible, and defer until needed.  [ruby-dev:41889]
13041
13042	* lib/net/imap.rb (example): support starttls option.
13043	  [ruby-dev:41888]
13044
13045Fri Jul 30 08:51:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13046
13047	* file.c (file_expand_path): home directory must be absolute.
13048	  [ruby-core:31537]
13049
13050Fri Jul 30 08:33:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13051
13052	* file.c (file_expand_path): should check if could find user.
13053	  [ruby-core:31538]
13054
13055Fri Jul 30 07:59:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13056
13057	* util.c (ruby_add_suffix): fixed a bug returning uninitialized
13058	  value.
13059
13060Fri Jul 30 07:48:04 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
13061
13062	* ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty,
13063	  even if MacOS X Aqua version [ruby-dev:41883].
13064
13065Thu Jul 29 22:28:35 2010  Tanaka Akira  <akr@fsij.org>
13066
13067	* ext/pathname/pathname.c (path_cmp): Pathname#<=> translated
13068	  from pathname.rb.
13069
13070Thu Jul 29 06:51:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13071
13072	* common.mk (EXT_SRCS): add ext/json/parser/parser.c.
13073
13074Thu Jul 29 05:52:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13075
13076	* file.c (rb_file_s_basename): pass baselen to rmext.
13077
13078Thu Jul 29 02:38:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13079
13080	* configure.in: not [freebsd] but [freebsd*] for AS_CASE.
13081
13082Wed Jul 28 22:23:59 2010  Tanaka Akira  <akr@fsij.org>
13083
13084	* ext/pathname/pathname.c (path_eq): Pathname#{==,===,eql?} translated
13085	  from pathname.rb.
13086
13087Wed Jul 28 19:37:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13088
13089	* win32/Makefile.sub (config.h): VC6 or later have stddef.h.
13090
13091	* include/ruby/missing.h: need to include stddef.h for size_t.
13092
13093	* include/ruby/missing.h: shouldn't declare as dllimport when building
13094	  ruby itself (for Windows).
13095
13096Wed Jul 28 17:11:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13097
13098	* missing/*.c: include missing.h
13099
13100Wed Jul 28 09:38:03 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13101
13102	* cont.c: typos.
13103
13104Wed Jul 28 09:24:43 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13105
13106	* cont.c: (RB_PAGE_SIZE): renamed from PAGE_SIZE. [ruby-dev:41870]
13107
13108	* cont.c: (RB_PAGE_MASK): renamed from PAGE_MASK.
13109
13110Tue Jul 27 23:09:09 2010  Tanaka Akira  <akr@fsij.org>
13111
13112	* ext/pathname/pathname.c (path_taint): use rb_obj_taint.
13113	  (path_untaint): Pathname#untaint translated from
13114	  pathname.rb.
13115
13116Tue Jul 27 18:59:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13117
13118	* lib/mkmf.rb (have_framework): added.
13119
13120Tue Jul 27 18:33:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13121
13122	* defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
13123	  config.h and defines.h for autoconf macros.
13124
13125Tue Jul 27 16:27:38 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13126
13127	* numeric.c (flo_cmp): typo.
13128
13129Tue Jul 27 16:09:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13130
13131	* class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:
13132	  clean unused-value warnings.
13133
13134	* cont.c, process.c, vm_exec.h: clean cast warnings.
13135
13136Mon Jul 26 22:34:37 2010  Tanaka Akira  <akr@fsij.org>
13137
13138	* ext/pathname/pathname.c (path_taint): Pathname#taint translated from
13139	  pathname.rb.
13140
13141Mon Jul 26 18:18:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13142
13143	* configure.in (config.h): add include guard.
13144
13145	* win32/Makefile.sub, bcc32/Makefile.sub (config.h): ditto.
13146
13147Mon Jul 26 14:38:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13148
13149	* configure.in (XCFLAGS): missing.h needs config.h.
13150
13151Mon Jul 26 14:08:47 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13152
13153	* include/ruby/missing.h: revert a part of r28727.  config.h is expected
13154	  to include only once, before including defines.h.
13155	  including it here breaks some macro definitions.
13156
13157Mon Jul 26 13:52:25 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13158
13159	* configure.in: define BROKEN_CLOSE only on FreeBSD.
13160	  This needs to merge to 1.9.2.
13161
13162Mon Jul 26 13:01:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13163
13164	* vm.c (rb_thread_mark): should mark iseq itself other than normal
13165	  iseq.  [ruby-dev:41880]
13166
13167Mon Jul 26 11:51:01 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13168
13169	* configure.in: define BROKEN_CLOSE on FreeBSD.
13170	  This fixes build failure on MSVC. [ruby-core:31481]
13171
13172	* include/ruby/ruby.h, include/ruby/missing.h:
13173	  use BROKEN_CLOSE for replacing close(2).
13174
13175Mon Jul 26 09:51:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13176
13177	* vm.c (rb_thread_mark): mark only self of normal iseqs, not
13178	  nodes.  [ruby-dev:41874]
13179
13180Sun Jul 25 05:37:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13181
13182	* numeric.c (flo_cmp): honor the result of infinite? method of the
13183	  other.  [ruby-core:31470]
13184
13185	* test/ruby/envutil.rb (EnvUtil#.suppress_warning): added.
13186
13187	* test/ruby/test_float.rb (TestFloat#test_Float): suppress
13188	  warnings under --verbose.
13189
13190Fri Jul 23 16:07:32 2010  Shugo Maeda  <shugo@ruby-lang.org>
13191
13192	* lib/mutex_m.rb (sleep): added Mutex_m#sleep to support
13193	  ConditionVariable.
13194
13195Fri Jul 23 15:09:22 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13196
13197	* configure.in (RUBY_MINGW32): ignore msvc suffix.
13198
13199	* configure.in (RUBY_TRY_CFLAGS): try with werror turned on.
13200
13201Fri Jul 23 09:02:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13202
13203	* re.c (rb_reg_expr_str): fixed out-of-boundary access at invalid
13204	  multibyte characters.
13205
13206Fri Jul 23 09:00:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13207
13208	* configure.in (XCFLAGS): reverted mistakenly removed option.
13209	  [ruby-dev:41872]
13210
13211	* include/ruby/missing.h: needs ruby/config.h.
13212
13213Thu Jul 22 20:58:55 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13214
13215	* configure.in (RUBY_EXTERN): unnecessary after all.
13216
13217Thu Jul 22 17:33:47 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
13218
13219	* complex.c (nucomp_to_i): allow complex with imaginary zero to be
13220	  converted.
13221
13222	* complex.c (nucomp_to_f, nucomp_to_r): ditto.
13223
13224Thu Jul 22 20:12:56 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13225
13226	* thread_pthread.c (get_stack): fix memory leak; pthread_attr_destroy
13227	  must be called even when pthread_getattr_np is used.
13228	  [ruby-core:31269]
13229
13230Thu Jul 22 16:27:41 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13231
13232	* re.c (rb_reg_expr_str): fix broken Regexp#inspect when it
13233	  is ASCII-8BIT and non-ASCII character.
13234	  The length of character should be from original byte string.
13235	  [ruby-core:31431]
13236
13237Thu Jul 22 14:30:17 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13238
13239	* include/ruby/missing.h: add prototype for ruby_close().
13240
13241Thu Jul 22 12:58:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13242
13243	* configure.in (RUBY_EXTERN): ignore invalid attribute.
13244
13245	* configure.in: fix for older autoconf.
13246
13247Thu Jul 22 12:02:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13248
13249	* include/ruby/{intern,io}.h: add missing prototypes.
13250
13251Thu Jul 22 06:38:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13252
13253	* configure.in (XCFLAGS): use -fvisibility=hidden if possible.
13254
13255	* configure.in (RMDIR): use --ignore-fail-on-non-empty if possible.
13256
13257	* configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.
13258
13259Thu Jul 22 03:02:55 2010  Eric Hodel  <drbrain@segment7.net>
13260
13261	* README.EXT: fix signature of rb_ensure and rb_rescue to match
13262	  implementation.
13263
13264Wed Jul 21 23:07:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13265
13266	* template/fake.rb.in: get rid of embedding an absolute path.
13267
13268Wed Jul 21 15:22:17 2010  Evan Phoenix <evan@fallingsnow.net>
13269
13270	* lib/rubygems/custom_require.rb, gem_prelude.rb: Load code from
13271	  from gems properly.
13272
13273Wed Jul 21 15:15:02 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13274
13275	* sprintf.c: add short documentation about named reference.
13276	  [ruby-core:31294]
13277
13278Wed Jul 21 15:00:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13279
13280	* parse.y (local_push_gen): disable unused variable warnings in
13281	  eval.  [ruby-dev:41869]
13282
13283Wed Jul 21 13:57:37 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13284
13285	* vm_method.c (rb_method_boundp): revert r28543, r28564.
13286	  They may be merged in Ruby 2.0. [ruby-core:31217]
13287
13288Wed Jul 21 13:37:35 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
13289
13290	* lib/uri/common.rb: Have URI#route_to, URI#route_from accept
13291	  string-like arguments [ruby-core:30961]
13292
13293	* lib/uri/generic.rb: ditto for URI.join, URI#merge
13294
13295Wed Jul 21 12:39:15 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13296
13297	* lib/cmath.rb (CMath#cbrt): cbrt should accept a negative real
13298	  numbers.  [ruby-core:31234]
13299
13300Wed Jul 21 12:31:30 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
13301
13302	* lib/uri/common.rb: Have URI() and URI.join accept URI objects in
13303	  addition to strings. [ruby-core:30960]
13304
13305Wed Jul 21 11:55:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13306
13307	* util.c (ruby_hdtoa): renamed from BSD__hdtoa.
13308
13309Tue Jul 20 11:35:11 2010  Evan Phoenix  <evan@ruby-lang.org>
13310
13311	* lib/rubygems.rb: Load the custom require if --disable-rubygems
13312	  was used.
13313
13314Tue Jul 20 11:27:18 2010  Evan Phoenix  <evan@ruby-lang.org>
13315
13316	* gem_prelude.rb: Pull in rubygem's custom require
13317
13318	* lib/rubygems.rb: Handle always having custom require available
13319
13320Tue Jul 20 18:39:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13321
13322	* include/ruby/ruby.h (RSTRING_GETMEM): new macro to get ptr and
13323	  len at once.
13324
13325	* string.c (rb_str_cmp, str_eql, rb_str_eql): trivial improvements.
13326
13327Tue Jul 20 18:23:04 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13328
13329	* ext/fiddle/closure.c (closure_data_type),
13330	  ext/fiddle/function.c (function_data_type): rb_data_type_t has
13331	  changed.
13332
13333Tue Jul 20 14:21:38 2010  Narihiro Nakamura  <authorNari@gmail.com>
13334
13335	* gc.c: don't call after_gc_sweep() after when garbage_collect()
13336	  was called, because rb_sweep_method_entry() free live unlinked
13337	  method entries. [ruby-core:31169]
13338
13339Tue Jul 20 12:42:06 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
13340
13341	* ext/socket/raddrinfo.c (rb_getaddrinfo): according to my
13342	  valgrind output this variable should be initialized beforehand.
13343
13344Tue Jul 20 12:50:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13345
13346	* io.c (io_flush_buffer): write and buffer operations should be
13347	  monolithic.  [ruby-core:31348]
13348
13349Tue Jul 20 12:27:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13350
13351	* lib/fileutils.rb (FileUtils::Entry_#copy): check file name
13352	  separator boundary.  [ruby-core:31360]
13353
13354Mon Jul 19 18:34:12 2010  Tanaka Akira  <akr@fsij.org>
13355
13356	* ext/pathname/pathname.c (get_strpath): check the type.
13357	  (path_initialize): bypass to_path call for T_STRING.
13358	  (path_freeze): implemented.
13359
13360	* ext/pathname/lib/pathname.rb (Pathname#freeze): removed.
13361
13362Mon Jul 19 12:33:29 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13363
13364	* array.c (rb_ary_clear): should not unshare embedded array, and
13365	  should make unshared array embedded.
13366
13367Mon Jul 19 09:00:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13368
13369	* NEWS (Kernel#instance_eval): add an incompatible change since
13370	  the 1.9.1 release.  [ruby-core:31336]
13371
13372Mon Jul 19 05:46:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13373
13374	* include/ruby/ruby.h (rb_data_type_t): add new feature macros.
13375
13376Sun Jul 18 21:20:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13377
13378	* array.c (rb_ary_clear): no need to duplicate buffer just before
13379	  clearing.
13380
13381Sun Jul 18 16:31:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13382
13383	* include/ruby/ruby.h (rb_data_type_t): restructured.  [ruby-dev:41862]
13384	  add parent member.
13385
13386	* error.c (rb_typeddata_inherited_p): new function.
13387
13388Sun Jul 18 01:09:27 2010  Tanaka Akira  <akr@fsij.org>
13389
13390	* ext/pathname/pathname.c (path_initialize): return a value.
13391
13392Sun Jul 18 00:02:19 2010  Tanaka Akira  <akr@fsij.org>
13393
13394	* ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
13395
13396	* ext/pathname/pathname.c (path_initialize): implemented.
13397	  (get_strpath): new function.
13398	  (set_strpath): ditto.
13399
13400Sat Jul 17 19:01:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13401
13402	* lib/test/unit.rb (MiniTest::Unit#process_args): refactored.
13403
13404Sat Jul 17 18:30:05 2010  Tanaka Akira  <akr@fsij.org>
13405
13406	* tool/file2lastrev.rb: don't depend on pathname.rb if File.realpath
13407	  is available.
13408
13409Sat Jul 17 14:10:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13410
13411	* util.c (ruby_add_suffix): fixed type warnings.
13412
13413Sat Jul 17 13:48:22 2010  Tanaka Akira  <akr@fsij.org>
13414
13415	* ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.
13416	  require pathname.so.
13417
13418	* ext/pathname/pathname.c: new file to define empty Pathname class.
13419
13420	* ext/pathname/extconf.rb: new file.
13421
13422Sat Jul 17 13:04:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13423
13424	* thread.c (rb_thread_wakeup_alive): split from rb_thread_wakeup.
13425	  merged from r13476.  c.f. [ruby-core:31320]
13426
13427Sat Jul 17 10:07:52 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13428
13429	* lib/test/unit.rb: MiniTest::Unit is different class from
13430	  Test::Unit, and install runner before loading test/minitest.
13431
13432Fri Jul 16 14:58:38 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13433
13434	* lib/test/unit.rb (Test::Unit.setup_argv): run tests only when
13435	  any tests have not run.
13436
13437	* bin/testrb, test/runner.rb: use Test::Unit.start.
13438
13439Fri Jul 16 12:06:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13440
13441	* tool/rbinstall.rb (ext-arch): prune directories start with '-'.
13442
13443Thu Jul 15 21:43:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13444
13445	* numeric.c (fix_divide): must not use rb_rational_new1 for coercion
13446	  because it returns an argument itself when canonical mode is set.
13447	  [ruby-core:31279]
13448
13449Thu Jul 15 21:38:31 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13450
13451	* proc.c (bm_free): fix memory leak.  [ruby-core:30869] [Bug #3466]
13452
13453Thu Jul 15 15:47:32 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13454
13455	* regexec.c (onig_search): don't skip non-ANYCHARs when
13456	  .* fails to match. This causes to fail matching
13457	  ANYCHAR_STAR with LOOK_BEHIND. This fix is workaround
13458	  and disable the optimization. [ruby-dev:41851]
13459
13460Thu Jul 15 06:11:29 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13461
13462	* lib/rdoc/markup/attribute_manager.rb: fixing ri output when special
13463	  characters are inside html tags.  Thanks Tomo Kazahaya! [Bug #3512]
13464
13465Thu Jul 15 06:01:42 2010  Tanaka Akira  <akr@fsij.org>
13466
13467	* time.c (guess_local_offset): use the UTC offset of an older date on
13468	  64bit time_t environment.
13469
13470Thu Jul 15 02:42:51 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13471
13472	* lib/test/unit.rb (setup_argv): convert to using optparse, adding
13473	  --help and -I. [ruby-core:30154]
13474
13475Thu Jul 15 00:35:09 2010  Tanaka Akira  <akr@fsij.org>
13476
13477	* time.c (localtime_with_gmtoff_zone): renamed from
13478	  localtime_with_gmtoff and return the timezone abbreviation name.
13479	  (guess_local_offset): return the isdst and timezone abbreviation name.
13480	  (localtimew): use the returned isdst and timezone abbreviation name.
13481	  [ruby-core:31275]
13482
13483Wed Jul 14 20:23:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13484
13485	* eval.c (frame_func_id), vm_eval.c (rb_iterate),
13486	  vm_insnhelper.c (vm_yield_with_cfunc): as the name of a C-level
13487	  block, use the current method ID at the creation point.
13488	  [ruby-dev:41852]
13489
13490Wed Jul 14 18:18:05 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13491
13492	* regexec.c (match_at): add end point to enclen's argument.
13493	  This only effect on compiling with -DONIG_DEBUG_MATCH.
13494
13495Tue Jul 13 21:34:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13496
13497	* ext/readline/readline.c: libedit is missing declaration of
13498	  rl_getc.
13499
13500Tue Jul 13 21:31:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13501
13502	* process.c (rb_daemon): split from proc_daemon.
13503
13504	* process.c (rb_fork_err): suppress gcc 4.4 warnings.
13505
13506	* random.c (fill_random_seed): ditto.
13507
13508Tue Jul 13 21:01:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13509
13510	* ext/pty/pty.c (establishShell): chfunc must not raise any
13511	  exceptions.
13512
13513Tue Jul 13 20:58:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13514
13515	* configure.in (RUBY_DEFAULT_ARCH): adjust for target
13516	  cpu. [ruby-core:31243]
13517
13518Tue Jul 13 20:46:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13519
13520	* ext/dl/handle.c (rb_dlhandle_close): should not pass a dynamic
13521	          string to rb_raise directly.
13522
13523Tue Jul 13 12:04:57 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13524
13525	* missing/close.c: keep original errno.
13526
13527Mon Jul 12 01:58:56 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
13528
13529	* lib/csv.rb: Fix unused variable warnings.
13530	  Patch by Run Paint [ruby-core:30991]
13531
13532	* lib/date.rb: ditto
13533
13534	* lib/debug.rb: ditto
13535
13536	* lib/drb/drb.rb: ditto
13537
13538	* lib/drb/invokemethod.rb: ditto
13539
13540	* lib/irb/ruby-lex.rb: ditto
13541
13542	* lib/irb/slex.rb: ditto
13543
13544	* lib/logger.rb: ditto
13545
13546	* lib/pathname.rb: ditto
13547
13548Sun Jul 11 21:20:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13549
13550	* README.EXT{,.ja} (rb_block_call): fixed about third/fourth
13551	  arguments to the block.  based on [ruby-core:31192] by Asher
13552	  Haig.  [Bug #3558]
13553
13554Sun Jul 11 17:01:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13555
13556	* Makefile.in ({,dist-,real-}clean-ext): should also omit
13557	  semicolon when omitting "in WORDS" of FOR-statement.
13558
13559	* tool/rmdirs: ditto.
13560
13561Sun Jul 11 11:07:42 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13562
13563	* test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test.  a
13564	  patch from caleb clausen in [ruby-core:31182].
13565
13566Sat Jul 10 21:43:11 2010  Tanaka Akira  <akr@fsij.org>
13567
13568	* strftime.c (rb_strftime_with_timespec): fix precision handling for
13569	  %:z and %::z.
13570
13571Fri Jul  9 22:32:54 2010  Tanaka Akira  <akr@fsij.org>
13572
13573	* strftime.c: unused declarations removed.
13574
13575Fri Jul  9 21:20:22 2010  Tanaka Akira  <akr@fsij.org>
13576
13577	* strftime.c (rb_strftime_with_timespec): clear colons at unknown
13578	  directive.
13579
13580Fri Jul  9 21:04:10 2010  Tanaka Akira  <akr@fsij.org>
13581
13582	* strftime.c: don't call tzset.  strftime.c doesn't depend on
13583	  the global timezone.
13584
13585Fri Jul  9 20:30:26 2010  Tanaka Akira  <akr@fsij.org>
13586
13587	* time.c (find_time_t): 24:00 should be the beginning of the next
13588	  day even if the leap second, 23:59:60, exists.
13589
13590Fri Jul  9 01:08:46 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13591
13592	* ext/psych/lib/psych/visitors/emitter.rb (initialize): line_width is
13593	  a valid option passed to the emitter.
13594
13595	* test/psych/test_psych.rb: corresponding tests.
13596
13597Fri Jul  9 00:49:46 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13598
13599	* ext/psych/emitter.c (line_width, set_line_width): preferred line may
13600	  be set on the emitter.
13601
13602	* test/psych/test_emitter.rb: corresponding tests.
13603
13604Thu Jul  8 15:47:34 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13605
13606	* string.c (rb_str_conv_enc_opts): fix infinite loop because
13607	  of ISO-2022-JP conversion with empty string.
13608	  patched by Brian Buchanan [ruby-core:31107]
13609
13610Thu Jul  8 08:16:57 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13611
13612	* ext/psych/lib/psych/visitors/yaml_tree.rb (push): adding version
13613	  and header emit options.
13614
13615	* test/psych/test_psych.rb: corresponding test.
13616
13617Thu Jul  8 08:01:03 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13618
13619	* ext/psych/emitter.c: updating documentation about emit options
13620
13621	* ext/psych/lib/psych/core_ext.rb: ditto
13622
13623	* ext/psych/lib/psych.rb (dump): passing emit options to emitter.
13624
13625	* ext/psych/lib/psych/nodes/node.rb: ditto
13626
13627	* ext/psych/lib/psych/visitors/emitter.rb: sending emit options to
13628	  YAML emitter. [ruby-core:28318]
13629
13630Thu Jul  8 06:05:58 2010  Tanaka Akira  <akr@fsij.org>
13631
13632	* strftime.c (rb_strftime_with_timespec): support %:z and %::z.
13633	  [ruby-dev:41841]
13634
13635Thu Jul  8 00:15:50 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13636
13637	* gem_prelude.rb: provide workaround for gem activation.  Currently,
13638	  gem activation does not work by default.  Now it can be worked
13639	  around by requiring "rubygems" first.  [ruby-core:29486]
13640	  a patch from Evan Phoenix in [ruby-core:31096].
13641
13642	* lib/rubygems.rb: ditto.
13643
13644Wed Jul  7 10:01:34 2010  Adrian Bloomer  <adrian.bloomer@gmail.com>
13645
13646	* numeric.c (fix_rev): Replaced fix_rev with '~num | FIXNUM_FLAG'.
13647
13648Wed Jul  7 13:22:20 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13649
13650	* file.c (ruby_find_basename): set correct baselen.
13651
13652Wed Jul  7 13:02:59 2010  Akinori MUSHA  <knu@iDaemons.org>
13653
13654	* vm_method.c (rb_method_boundp): respond_to?(:protected_method,
13655	  true) should return true.  Pointed out by Marc-Andre Lafortune.
13656	  [ruby-dev:41837]
13657
13658Wed Jul  7 12:00:24 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13659
13660	* file.c (ruby_find_basename): should initialize f.
13661
13662Wed Jul  7 11:44:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13663
13664	* ext/zlib/zlib.c (gzfile_raise): add invalid header to
13665	  exceptions.
13666
13667Wed Jul  7 10:26:20 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13668
13669	* missing/close.c: ignore ECONNRESET.
13670	  FreeBSD wrongly sets ECONNRESET on close(2) and
13671	  it causes false-negative exceptions. [ruby-dev:41778]
13672
13673	* configure.in: ditto.
13674Tue Jul  6 22:57:21 2010  Tanaka Akira  <akr@fsij.org>
13675
13676	* io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly
13677	  to avoid select() on a socket which TCP state is CLOSED.
13678	  patch by Eric Wong.  [ruby-core:31053]
13679
13680Tue Jul  6 21:45:34 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13681
13682	* io/console/console.c (winsize_row): should return actual screen
13683	  size, not buffer size.
13684
13685Tue Jul  6 08:35:58 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13686
13687	* ext/dl/lib/dl/import.rb (handler): add a more helpful error message
13688	  when calling import_symbol or import_function without calling
13689	  dlload.  Thanks nobu! [ruby-core:30996]
13690
13691Tue Jul  6 00:34:50 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13692
13693	* vm.c (thread_free): free altstack to prevent memory leak.  a patch
13694	  from Tomoyuki Chikanaga in [ruby-dev:41815]. [Bug #3537]
13695
13696Tue Jul  6 00:29:27 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13697
13698	* string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
13699	  [ruby-dev:41782]
13700
13701Mon Jul  5 16:05:39 2010  Akinori MUSHA  <knu@iDaemons.org>
13702
13703	* vm_method.c (rb_method_boundp): Return false for protected
13704	  methods when called from Kernel#respond_to?. [ruby-dev:40461]
13705
13706Mon Jul  5 12:32:01 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13707
13708	* ext/psych/lib/psych/scalar_scanner.rb (parse_string): support
13709	  timezones that are not one hour off. [ruby-core:31023]
13710
13711	* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
13712
13713Sun Jul  4 22:49:54 2010  Tanaka Akira  <akr@fsij.org>
13714
13715	* test/ruby/test_syntax.rb: split test_syntax from test_system.rb.
13716
13717Sun Jul  4 22:02:02 2010  Tanaka Akira  <akr@fsij.org>
13718
13719	* test/ruby/test_system.rb (test_syntax): unified with test_syntax2.
13720
13721Sun Jul  4 21:00:39 2010  Tanaka Akira  <akr@fsij.org>
13722
13723	* test/ruby/test_system.rb (test_syntax2): moved from sample/test.rb
13724	  [ruby-dev:41721]
13725
13726Sun Jul  4 17:13:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13727
13728	* io.c (swallow, prepare_getline_args, rb_io_getline_1): fix for
13729	  paragraph mode reading in non-ascii-compatible encoding.
13730	  [ruby-dev:41803]
13731
13732Sat Jul  3 16:14:10 2010  Kenta Murata  <mrkn@mrkn.jp>
13733
13734	* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): add two new constants
13735	  BigDecimal::INFINITY and BigDecimal::NAN.
13736
13737	* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath.exp): modify the
13738	  behaviors for infinity arguments as same as Math.exp.
13739
13740Sat Jul  3 09:47:26 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
13741
13742	* ext/psych/lib/psych/visitors/to_ruby.rb(visit_Psych_Nodes_Scalar):
13743	  teaching Psych to deserialize DateTime objects. [Bug #1390]
13744
13745	* ext/psych/lib/psych/visitors/yaml_tree.rb(visit_DateTime): added a
13746	  method for serializing DateTime objects.
13747
13748	* ext/psych/lib/psych/scalar_scanner.rb(parse_time): add method for
13749	  parsing times objects from a string.
13750
13751	* test/psych/test_date_time.rb: tests for dumping DateTime objects.
13752
13753Sat Jul  3 09:13:55 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
13754
13755	* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_Time): use
13756	  Time#nsec to accurately serialize time objects. [ruby-core:29233]
13757
13758Fri Jul  2 23:30:23 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13759
13760	* io.c (argf_inplace_mode_set): prohibits an assignment of a tainted
13761	  value.
13762
13763	* file.c (ruby_find_basename, ruby_find_extname): split from
13764	  rb_file_s_basename() and rb_file_s_extname().
13765
13766	* util.c (ruby_add_suffix): support arbitrary length of the suffix
13767	  to get rid of the potential buffer overflow.
13768	  reported by tarui.
13769
13770Fri Jul  2 05:31:51 2010  Tanaka Akira  <akr@fsij.org>
13771
13772	* numeric.c (rb_num2long): accept LONG_MAX < x < LONG_MAX+1 and
13773	  LONG_MIN-1 < x < LONG_MIN as well because they are converted
13774	  into the valid range of long by truncation.
13775	  (rb_num2ulong): accept ULONG_MAX < x < ULONG_MAX+1 and
13776	  LONG_MIN-1 < x < LONG_MIN as well.
13777	  (rb_num2ll): accept LLONG_MAX < x < LLONG_MAX+1 and
13778	  LLONG_MIN-1 < x < LLONG_MIN.
13779
13780Thu Jul  1 23:10:25 2010  James Edward Gray II  <jeg2@ruby-lang.org>
13781
13782	* lib/csv.rb: Improving documentation.
13783
13784Thu Jul  1 22:15:01 2010  Tanaka Akira  <akr@fsij.org>
13785
13786	* numeric.c (rb_num2ulong): fix the lower limit for float.
13787	  [ruby-dev:41361]
13788
13789Thu Jul  1 21:37:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13790
13791	* test/ruby/envutil.rb (EnvUtil#invoke_ruby): integrated with
13792	  runexec.
13793
13794Thu Jul  1 16:19:53 2010  NARUSE, Yui  <naruse@ruby-lang.org>
13795
13796	* thread_pthread.c (thread_start_func_1): don't call
13797	  native_thread_init_stack(th) on cygwin to avoid the segv
13798	  introduced by r27789. Cygwin's signal implementation is half
13799	  baked so USE_SIGNALSTACK is not defined and it needs another
13800	  treatment.
13801
13802Thu Jul  1 13:00:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13803
13804	* common.mk (test-knownbug): ignore known bugs.
13805
13806Thu Jul  1 08:40:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13807
13808	* marshal.c (w_object): suppress empty instance variable entry on
13809	  compatible dump objects.
13810
13811Wed Jun 30 07:29:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13812
13813	* test/ruby/test_rubyoptions.rb (test_script_from_stdin): by using
13814	  a pipe, get rid of not-well-defined behavior after the child
13815	  process terminated in pty.
13816
13817Wed Jun 30 02:30:26 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
13818
13819	* thread_pthread.c (get_stack): use pthread_getthrds_np() for AIX.
13820
13821	* configure.in: ditto.
13822
13823Tue Jun 29 21:11:15 2010  Masaya Tarui  <tarui@ruby-lnag.org>
13824
13825	* ext/stringio/stringio.c (strio_write): add RB_GC_GUARD.
13826
13827Tue Jun 29 19:39:59 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
13828
13829	* test/win32ole/test_win32ole_method.rb (is_ruby64): check
13830	  ruby binary is mswin64 or mingw64. [ruby-dev:41756]
13831
13832Tue Jun 29 14:18:21 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
13833
13834	* file.c (rb_realpath_internal, realpath_rec): skip UNC share root
13835	  on DOSISH platforms.
13836	  http://pc12.2ch.net/test/read.cgi/tech/1272248179/600
13837
13838Tue Jun 29 11:52:33 2010  Narihiro Nakamura  <authorNari@gmail.com>
13839
13840	* gc.c (unlink_heap_slot, slot_sweep): unlink heaps_slot of
13841	  heaps_slot linked list if heaps_slot is empty at slot_sweep.
13842	  fixed [ruby-dev:41543], [ruby-core:24894].
13843
13844Tue Jun 29 01:22:08 2010  Aaron Patterson <aaron@tenderlovemaking.com>
13845
13846	* ext/fiddle/fiddle.h: added FFI type detection to avoid bug in ffi
13847	  header files. Thanks Yugui! [ruby-core:30917]
13848
13849Mon Jun 28 22:14:22 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13850
13851	* test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter):
13852	  fix a test accordingly to r28455.
13853
13854Mon Jun 28 21:56:14 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13855
13856	* thread.c (rb_fd_resize, rb_fd_copy): avoid NULL dereference upon
13857	  failed realloc by using xrealloc instead of not realloc.  a patch
13858	  from Jim Meyering <meyering at redhat.com> in [ruby-core:30920]
13859	  [Bug #3489]
13860
13861Mon Jun 28 20:32:33 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
13862
13863	* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
13864	  that Ruby is 32bit or 64bit binary in order to get correct offset
13865	  value. [ruby-dev:41741]
13866
13867Mon Jun 28 05:32:51 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13868
13869	* lib/rdoc/ri/driver.rb (RDoc::RI::Driver#formatter): should use bs
13870	  format when stdout is piped.  [ruby-core:30734]
13871
13872Mon Jun 28 03:12:03 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13873
13874	* bootstraptest/test_class.rb: add a test for [ruby-core:30843].
13875
13876Mon Jun 28 02:43:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13877
13878	* class.c (rb_mod_init_copy): when class is dup'ed, a metaclass of the
13879	  class should be attached to the dup'ed class, not the original
13880	  class.  [ruby-core:30843] [Bug #3461]
13881
13882Sun Jun 27 23:31:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13883
13884	* include/ruby/io.h, io.c: reverted r21709.
13885
13886	* ruby.c (load_file_internal): nothing to read if EOF reached
13887	  while reading shebang.  [ruby-core:30910]
13888
13889Sun Jun 27 13:25:07 2010  Tanaka Akira  <akr@fsij.org>
13890
13891	* io.c (simple_sendfile): don't try to send data more than SSIZE_MAX
13892	  with single sendfile call..
13893	  based on the patch by Eric Wong.  [ruby-core:30908]
13894
13895Sun Jun 27 10:41:38 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13896
13897	* lib/rubygems/require_paths_builder.rb (write_require_paths_file_if_needed):
13898	  no reason that bin directory should be included in $LOAD_PATH.
13899	  it is for executable files, but not libraries.  [ruby-core:25936]
13900
13901Sat Jun 26 13:07:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13902
13903	* configure.in (enable-debug-env): option for RUBY_DEBUG env.
13904
13905Sat Jun 26 11:56:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13906
13907	* common.mk (clear-installed-list): put redirection before set
13908	  command, since it seems to be handled by nmake in special way.
13909	  [ruby-dev:41711]
13910
13911Sat Jun 26 10:08:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13912
13913	* test/ruby/envutil.rb (EnvUtil#invoke_ruby): no needs to copy the
13914	  original ENV, since it's done in spawn automatically.
13915	  [ruby-dev:41733]
13916
13917Sat Jun 26 08:44:22 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13918
13919	* NEWS (zlib): new methods.  [ruby-dev:41706] [Bug #3472]
13920
13921Sat Jun 26 07:59:18 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
13922
13923	* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
13924	  that OS is Windows 32bit or Windows 64bit in order to get
13925	  correct offset value.
13926
13927Sat Jun 26 04:39:12 2010  Masaya Tarui  <tarui@ruby-lnag.org>
13928
13929	* ext/dl/lib/dl/func.rb (call): don't overwrite original arguments
13930	  to defend from GC.
13931	* test/dl/test_func.rb (test_string): add test for above.
13932
13933Fri Jun 25 11:45:36 2010  James Edward Gray II  <jeg2@ruby-lang.org>
13934
13935	* lib/csv.rb: Fixing a bug that prevented CSV from parsing
13936	  all multi-line fields correctly.  Patch by Rob Biedenharn.
13937
13938Fri Jun 25 10:07:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13939
13940	* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err):
13941	  return the exit status.
13942
13943	* test/ruby/envutil.rb (EnvUtil#invoke_ruby): change the
13944	  environment of spawned process only.
13945
13946	* test/ruby/envutil.rb (EnvUtil#invoke_ruby): get rid of possible
13947	  deadlock.
13948
13949Fri Jun 25 06:24:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13950
13951	* lib/un.rb (httpd): MaxClients also should be integer.
13952	  [ruby-dev:41724] [Bug #3477]
13953
13954	* lib/un.rb (setup): fix of word splitting.  [ruby-dev:41723]
13955	  [Bug #3476]
13956
13957Fri Jun 25 01:07:17 2010  Masaya Tarui  <tarui@ruby-lnag.org>
13958
13959	* include/ruby/ruby.h (static inline rb_gc_guarded_ptr): prevent
13960	  RB_GC_GUARD_PTR being removed by optimization.
13961
13962Thu Jun 24 06:22:27 2010  Tanaka Akira  <akr@fsij.org>
13963
13964	* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): the workaround
13965	  for Mac OS X moved from rsock_getaddrinfo.
13966
13967Thu Jun 24 05:44:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
13968
13969	* marshal.c (struct dump_arg, struct load_arg): merge taint and
13970	  untrust flags into infection as bit flags.
13971
13972	* marshal.c (w_nbyte, clear_dump_arg): infect the buffer as soon
13973	  as appending, because it might have been finalized already at
13974	  exit.  based on a patch by Tomoyuki Chikanaga
13975	  at [ruby-dev:41672].  [Bug #3463]
13976
13977Wed Jun 23 23:49:21 2010  Tanaka Akira  <akr@fsij.org>
13978
13979	* ext/socket/raddrinfo.c (str_is_number): renamed from str_isnumber to
13980	  avoid confusion to str_isnumber in ext/socket/getaddrinfo.c.
13981
13982Wed Jun 23 23:45:31 2010  Yusuke Endoh  <mame@tsg.ne.jp>
13983
13984	* NEWS (stringio): new methods.  [ruby-dev:41687] [Bug #3469]
13985
13986Wed Jun 23 22:52:00 2010  Tanaka Akira  <akr@fsij.org>
13987
13988	* ext/socket/raddrinfo.c: don't use __P.
13989
13990Wed Jun 23 21:32:08 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
13991
13992	* ext/win32ole/win32ole.c (reg_get_typelib_file_path): try win64
13993	  registry entry at first. [ruby-dev:41674] [Bug #3464]
13994
13995Wed Jun 23 21:17:32 2010  Tanaka Akira  <akr@fsij.org>
13996
13997	* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround for
13998	  getaddrinfo problem on Mac OS X Snow Leopard.  [ruby-core:29427]
13999	  patch by Wataru Kimura.  [ruby-core:30842]
14000
14001Wed Jun 23 17:12:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14002
14003	* NEWS (ptr): new method and deprecated methods.  [ruby-dev:41681]
14004
14005	* ext/pty/{README,README.ja}: ditto.
14006
14007	* ext/pty/pty.c (pty_check): add rdoc.
14008
14009Wed Jun 23 12:44:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14010
14011	* test/ruby/test_regexp.rb (test_dup_warn): read in UTF-8
14012	  encoding regardless environment.
14013
14014	* test/ruby/envutil.rb (invoke_ruby): add encoding option.
14015
14016Wed Jun 23 06:44:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14017
14018	* configure.in (fchown): need to check.  a patch by Eric Wong
14019	  at [ruby-core:30818].
14020
14021	* io.c (argf_next_argv): check for setting owner/group.
14022
14023Tue Jun 22 23:10:10 2010  Tanaka Akira  <akr@fsij.org>
14024
14025	* time.c (num_exact): fix for mathn.  [ruby-dev:41599]
14026
14027Tue Jun 22 22:00:06 2010  Tanaka Akira  <akr@fsij.org>
14028
14029	* ext/socket/lib/socket.rb: suppress warnings.
14030
14031Tue Jun 22 21:33:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14032
14033	* test/optparse/test_summary.rb: fixed superclass so that it run
14034	  solely.
14035
14036Tue Jun 22 19:57:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14037
14038	* parse.y (shadowing_lvar_gen): should add lvar to vars and
14039	  used.  [ruby-dev:41666]
14040
14041Tue Jun 22 13:23:13 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
14042
14043	* lib/delegate.rb: Forward #trust, #untrust, #taint and #untaint
14044	  to both the delegator and __getobj__ [ruby-core:26138]
14045
14046Mon Jun 21 23:41:08 2010  wanabe  <s.wanabe@gmail.com>
14047
14048	* eval_error.c (error_print): clear raised_flag while error-printing
14049	  to avoid hang. [ruby-core:27608]
14050
14051	* test/ruby/test_beginendblock.rb (test_endblock_raise): add test for
14052	  above.
14053
14054Sun Jun 20 16:17:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14055
14056	* id.c (Init_id): add underscore name.
14057
14058	* parse.y (warn_unused_var): ignore underscore name.
14059
14060	* parse.y (warn_unused_var): use same format as shadowing local
14061	  variable.
14062
14063	* parse.y (shadowing_lvar_gen): get rid of adding extra name for
14064	  shadowing local variable.  [ruby-dev:41628]
14065
14066Sat Jun 19 11:11:37 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
14067
14068	* lib/irb.rb: remove double exclamation marks.  a patch from Diego
14069	  Viola.  [ruby-core:30589]
14070
14071Sat Jun 19 03:35:58 2010  Aaron Patterson <aaron@tenderlovemaking.com>
14072
14073	* ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix the
14074	  exception message when attempting to load an unknown class.  Thanks
14075	  nobu! [ruby-dev:41399]
14076
14077	* test/psych/test_psych.rb: test for the exception message
14078
14079Fri Jun 18 10:37:46 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14080
14081	* gc.c (gc_lazy_sweep): clean a warning.
14082	  "suggest parentheses around assignment used as truth value"
14083
14084	* transcode_data.h (getGB4bt1): clean a warning.
14085	  "suggest parentheses around arithmetic in operand of |"
14086
14087	* transcode_data.h (getGB4bt3): ditto.
14088
14089	* vm.c (thread_free): clean a warning. "format 'p' expects type
14090	  'void *', but argument 3 has type 'struct rb_mutex_struct *'"
14091
14092Fri Jun 18 10:15:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14093
14094	* ruby.c: add prototype of rb_realpath_internal.
14095
14096	* load.c: ditto.
14097
14098Fri Jun 18 01:50:21 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14099
14100	* object.c: Object#public_methods, private_methods, etc. returns
14101	  method ids that belong to the class or the singleton class(es) of
14102	  the object.  [ruby-dev:41613]
14103
14104	* class.c: on the other hand, Module#public_instance_methods, etc.
14105	  returns method ids that belong to the module itself (even if the
14106	  module is singleton, it does not return method ids of super
14107	  class(es); see [ruby-core:28837]).
14108
14109Fri Jun 18 01:22:55 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14110
14111	* lib/webrick/httpservlet/filehandler.rb
14112	  (prevent_directory_traversal): apply filesystem encoding to path
14113	  only during calling File.expand_path.  [ruby-dev:41423]
14114
14115Thu Jun 17 23:20:14 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14116
14117	* load.c (rb_load_internal): remove call to rb_realpath_internal
14118	  within rb_load_internal which caused big performance degradation.
14119	  Instead, call rb_realpath_internal in the caller of
14120	  rb_load_internal.  [ruby-dev:41502] [ruby-dev:41610]
14121
14122	* vm.c (rb_vm_call_cfunc): ditto.
14123
14124	* eval_intern.h (rb_vm_call_cfunc): ditto.
14125
14126	* ruby.c (process_options): ditto.
14127
14128Thu Jun 17 18:37:47 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14129
14130	* file.c (rb_str_encode_ospath): when the encoding of the parameter
14131	  is ASCII-8BIT, should recognize as filesystem encoding, and convert
14132	  to UTF-8 on Windows.
14133
14134	* file.c (realpath_rec): should convert to ospath encoding before
14135	  calling lstat().
14136
14137	* file.c (rb_realpath_internal): resolved string should take over
14138	  the encoding of base string.
14139
14140	* transcode.c (rb_str_encode): should return new string always.
14141	  fixed #3444.
14142
14143Wed Jun 16 18:34:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14144
14145	* parse.y: ripper needs warn_unused_var(), too.
14146
14147Wed Jun 16 18:20:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14148
14149	* parse.y (warn_unused_var): warn unused variables.
14150	  [ruby-dev:41620]
14151
14152Wed Jun 16 15:40:53 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14153
14154	* error.c (rb_bug): existence of _set_abort_behavior() depends on
14155	  runtime version, not compiler version.
14156
14157Wed Jun 16 01:38:40 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14158
14159	* ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.
14160	  On Debian/lenny, which is a "supported" platform, ffi.h is installed
14161	  in /usr/include/i486-linux-gnu/.  This causes build error when using
14162	  gcc whose target is not i486-linux-gnu.
14163
14164Wed Jun 16 00:04:38 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14165
14166	* test/ruby/test_io.rb (safe_4): does not use Timeout because
14167	  Timeout.timeout uses Thread#kill which raises SecurityError when
14168	  $SAFE == 4.  based on a patch from Tomoyuki Chikanaga.
14169	  [ruby-dev:41484]
14170
14171	* test/ruby/test_io.rb (test_print_separators): use pipe (test helper
14172	  method) instead of IO.pipe.  [ruby-dev:41484]
14173
14174Tue Jun 15 17:14:58 2010  WATANABE Hirofumi  <eban@ruby-lang.org>
14175
14176	* ext/fiddle/extconf.rb: De Morgan's laws.
14177
14178Tue Jun 15 12:09:00 2010  WATANABE Hirofumi  <eban@ruby-lang.org>
14179
14180	* ext/fiddle/extconf.rb: use pkg_config to find ffi.h.
14181
14182Tue Jun 15 02:31:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14183
14184	* Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaning
14185	  targets.
14186
14187Mon Jun 14 22:36:09 2010  Tanaka Akira  <akr@fsij.org>
14188
14189	* test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS
14190	  for Windows.
14191
14192	* test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto.
14193
14194	  [ruby-dev:41597] reported by Masaya Tarui.
14195
14196Mon Jun 14 17:44:39 2010  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
14197
14198	* lib/drb/drb.rb: raise DRbConnError instead of ArgumentError if too
14199	  many arguments. [ruby-dev:41481]
14200
14201	* test/drb/test_drb.rb: ditto.
14202
14203	* test/drb/drbtest.rb: ditto.
14204
14205Mon Jun 14 04:03:55 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14206
14207	* ext/fiddle/closure.c (dealloc): refix workaround r28300.
14208	  don't use ffi_closure_alloc, ffi_prep_closure_loc and
14209	  ffi_closure_free on MACOSX and __linux__.
14210	  [ruby-dev:41483] [ruby-dev:41214]
14211
14212Sun Jun 13 15:46:07 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14213
14214	* test/ruby/test_rubyoptions.rb: add a simple test for __END__ and
14215	  DATA.
14216
14217Sun Jun 13 04:24:18 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
14218
14219	* lib/delegate.rb: Delegate !=, eql? and hash [ruby-core:26139]
14220
14221Sun Jun 13 02:12:46 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14222
14223	* enc/trans/utf8_mac.trans (buf_apply): fix for patterns
14224	  whose result is 2 bytes. [ruby-core:30751]
14225
14226Sun Jun 13 01:38:17 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14227
14228	* time.c (rb_localtime_r2): fix mixed declarations and code.
14229
14230Sun Jun 13 00:27:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14231
14232	* ext/dl/lib/dl.rb: don't require when already loaded.
14233
14234Sun Jun 13 00:02:56 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14235
14236	* ext/fiddle/closure.c (dealloc): workaround fix for libffi's
14237	  ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214]
14238
14239Sat Jun 12 10:02:26 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
14240
14241	* io.c (rb_f_syscall): should check argument string taint before
14242	  invoking system calls.
14243
14244Sat Jun 12 09:18:31 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
14245
14246	* variable.c (uninitialized_constant): process through
14247	  rb_class_real() to remove "Object::" from error message.
14248	  [ruby-dev:40951]
14249
14250Sat Jun 12 00:38:37 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14251
14252	* ext/dbm/extconf.rb: accept Berkley DB version 3, 4 and 5.
14253	  a patch from Takahiro Kambe.  [ruby-dev:41531]
14254
14255Fri Jun 11 23:21:35 2010  Tanaka Akira  <akr@fsij.org>
14256
14257	* time.c (init_leap_second_info): check the result of
14258	  gmtime_with_leapsecond.
14259
14260Fri Jun 11 23:04:59 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14261
14262	* ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers):
14263	  use sk_SSL_CIPHER_num and sk_SSL_CIPHER_value instead of cast.
14264	  patched by Takahiro Kambe [ruby-dev:41530]
14265
14266Fri Jun 11 22:59:31 2010  Tanaka Akira  <akr@fsij.org>
14267
14268	* include/ruby/missing.h (isnan): fix compilation error on OpenBSD.
14269
14270Fri Jun 11 22:39:50 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14271
14272	* lib/rubygems/install_update_options.rb
14273	  (Gem::InstallUpdateOptions#add_install_update_options): deprecate
14274	  --test option which has not worked.  [ruby-core:21714]
14275
14276	* test/rubygems/test_gem_command_manager.rb: ditto.
14277
14278Fri Jun 11 07:34:25 2010  Tanaka Akira  <akr@fsij.org>
14279
14280	* time.c (find_time_t): test the result of LOCALTIME.
14281
14282Fri Jun 11 00:42:45 2010  Tanaka Akira  <akr@fsij.org>
14283
14284	* time.c (rb_localtime_r2): fix localtime overflow check.
14285
14286Thu Jun 10 23:05:44 2010  Tanaka Akira  <akr@fsij.org>
14287
14288	* time.c (rb_localtime_r2): refine localtime overflow check for
14289	  FreeBSD 6.4.
14290
14291Thu Jun 10 09:10:08 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
14292
14293	* io.c (rb_io_putc): documentation updated to mention putc would
14294	  not work well with multi-byte characters.  [ruby-core:30697]
14295
14296	* io.c (rb_f_putc): ditto.
14297
14298Wed Jun  9 22:51:50 2010  Tanaka Akira  <akr@fsij.org>
14299
14300	* time.c (find_time_t): always outerpolate from past.
14301	  [ruby-core:30672] reported by Benoit Daloze.
14302
14303Wed Jun  9 22:13:08 2010  Tanaka Akira  <akr@fsij.org>
14304
14305	* time.c (calc_tm_yday): extracted from timegmw_noleapsecond.
14306
14307Tue Jun  8 06:27:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14308
14309	* gem_prelude.rb: load full rubygems at LoadError for activation
14310	  check.  [ruby-core:29486]
14311
14312Tue Jun  8 06:04:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14313
14314	* io.c (parse_mode_enc): set set_by_bom bit.  [ruby-core:30641]
14315
14316Sun Jun  6 22:37:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14317
14318	* string.c (rb_str_buf_cat_escaped_char): get rid of buffer
14319	  overflow on platforms int is bigger than 32bit, and warnings.
14320
14321Sun Jun  6 19:55:21 2010  Tanaka Akira  <akr@fsij.org>
14322
14323	* array.c (rb_ary_product): clear uninitialized elements in temporary
14324	  array.
14325
14326Sun Jun  6 12:31:57 2010  Narihiro Nakamura  <authorNari@gmail.com>
14327
14328	* gc.c: set_heaps_increment is not
14329	  called before gc_marks of lazy sweeping because live_num not
14330	  contain finalize objects. So call set_heaps_increment after lazy
14331	  sweeping if free_num are not enough. And move free_min to struct
14332	  rb_objspace for above.  [ruby-dev:41499]
14333
14334Sun Jun  6 10:44:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14335
14336	* array.c (rb_ary_product): need to set the length in order to get
14337	  the entries marked.  [ruby-dev:41540]
14338
14339Sun Jun  6 08:26:01 2010  Tanaka Akira  <akr@fsij.org>
14340
14341	* vm.c (Init_BareVM): call Init_native_thread here.
14342
14343	* thread.c (Init_Thread): don't call Init_native_thread.
14344
14345	* thread_pthread.c (Init_native_thread): exported.
14346
14347	* thread_win32.c (Init_native_thread): ditto.
14348
14349	[ruby-dev:41536]
14350
14351Sun Jun  6 08:21:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14352
14353	* NEWS: Enumerable#join has been reverted.  [ruby-core:30604]
14354
14355Sat Jun  5 20:30:49 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14356
14357	* re.c (rb_reg_expr_str): ASCII incompatible strings
14358	  must always escape or converted.
14359
14360	* re.c (rb_reg_expr_str): use rb_str_buf_cat_escaped_char
14361	  when resenc is given: for Regexp#inspect or error message.
14362
14363	* re.c (rb_reg_desc): add 'n' for ENCODING_NONE.
14364
14365Sat Jun  5 01:20:14 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14366
14367	* string.c (sym_inspect): Escape when the symbol is not
14368	  resulted encoding and not ascii_only. It had escaped
14369	  ascii-incompatible string, but it is wrong.
14370
14371Sat Jun  5 01:10:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14372
14373	* string.c (rb_str_buf_cat_escaped_char): defined.
14374	  Splited from rb_str_inspect.
14375
14376Sat Jun  5 16:39:13 2010  Tanaka Akira  <akr@fsij.org>
14377
14378	* .gdbinit (rp): show type name for RTypedData.
14379
14380Sat Jun  5 15:59:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14381
14382	* ruby.c (process_options, load_file_internal): $0 seen from
14383	  required libraries by -r option should be the main script.
14384	  [ruby-core:23717]
14385
14386Sat Jun  5 15:15:52 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14387
14388	* test/ruby/envutil.rb (EnvUtil#invoke_ruby): support for child
14389	  process env.
14390
14391Sat Jun  5 14:11:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14392
14393	* test/net/imap/test_imap.rb (test_exception_during_shutdown):
14394	  need to raise always.
14395
14396Sat Jun  5 13:13:30 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
14397
14398	* lib/matrix.rb (eql?, ==, minor): Fix bugs when comparing/returning
14399	  some empty matrices.
14400
14401Sat Jun  5 11:00:48 2010  Tanaka Akira  <akr@fsij.org>
14402
14403	* error.c (rb_name_err_mesg_new): guard mesg, recv and method.
14404	  The problem in [ruby-dev:41464] is caused because mesg is collected.
14405
14406Sat Jun  5 10:03:31 2010  Tanaka Akira  <akr@fsij.org>
14407
14408	* .gdbinit (rp): detect and show RTypedData.
14409
14410Sat Jun  5 08:30:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14411
14412	* file.c (rb_f_test): 'W' should test writable by real uid/git,
14413	  not world writable.   [ruby-core:30587]
14414
14415Sat Jun  5 06:20:57 2010  Eric Hodel  <drbrain@segment7.net>
14416
14417	* dir.c: Clarification of what '*' matches.  Patch by John Wells
14418	  <john.wells at greatworx.com>
14419
14420Fri Jun  4 10:46:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14421
14422	* ext/dl/cfunc.c (rb_dlcfunc_inspect): should taint the result.
14423	  [ruby-dev:41533]
14424
14425Fri Jun  4 09:37:15 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14426
14427	* gc.c (gc_sweep): suppress a warning on VC, again.
14428
14429Thu Jun  3 23:34:55 2010  Akinori MUSHA  <knu@iDaemons.org>
14430
14431	* ext/digest/lib/digest/hmac.rb: Emit a deprecation warning in
14432	  verbose mode and add a caution to the overview section of the
14433	  document. [ruby-dev:41525]
14434
14435Thu Jun  3 19:33:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14436
14437	* ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
14438	  rb_sprintf.
14439
14440	* ext/dl/cptr.c (rb_dlptr_s_malloc): suppress warnings.
14441
14442Thu Jun  3 18:58:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14443
14444	* load.c (ruby_init_ext): statically linked extensions have no
14445	  real path.  [ruby-dev:41526]
14446
14447	* vm.c (rb_vm_call_cfunc): add filepath argument.
14448
14449Thu Jun  3 18:17:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14450
14451	* test/rake/test_win32.rb (Rake::TestWin32): update tests.
14452	  [ruby-core:30309]
14453
14454	* test/io/nonblock/test_flush.rb (test_flush): try pipe and
14455	  socketpair.  [ruby-dev:41517]
14456
14457Thu Jun  3 09:36:43 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14458
14459	* ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.
14460	  reported by sakiyama shin in [ruby-dev:41514]
14461
14462Thu Jun  3 06:30:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14463
14464	* test/ruby/test_path.rb (test_path): workaround for drive
14465	  letter.
14466
14467	* test/ruby/test_path.rb (test_path): get rid of blocking on
14468	  access to non-existent host.
14469
14470Thu Jun  3 05:37:46 2010  Ryan Davis  <ryand-ruby@zenspider.com>
14471
14472	* tool/rbinstall.rb (install-bin): Allow bin/* install from dot-dirs.
14473	  Fixes rvm and multiruby installations.
14474
14475Thu Jun  3 01:22:45 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
14476
14477	* ext/tk/lib/tk.rb: fix typo and race condition.
14478
14479Thu Jun  3 00:58:45 2010  Aaron Patterson <aaron@tenderlovemaking.com>
14480
14481	* ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility
14482	  by supporting "uint" types in the c parser. [ruby-core:29750]
14483	* test/dl/test_cparser.rb: adding a test for "uint" changes.
14484
14485Wed Jun  2 11:40:02 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
14486
14487	* compile.c (iseq_compile_each): should consider block on stack,
14488	  if block argument is passed.  [ruby-core:30534]
14489
14490	* parse.c (arg_concat_gen): should append to nd_head, not to
14491	  nd_iter for NODE_BLOCK_PASS.
14492
14493Tue Jun  1 23:12:06 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14494
14495	* re.c (unescape_nonascii): \P{FOO} is also Unicode property in
14496	  regexp. [ruby-core:30540]
14497
14498Tue Jun  1 21:29:39 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14499
14500	* lib/net/http.rb: adding support to rfc5789 patch verb.
14501	  Added a Net::HTTP::Patch class which expects a message body
14502	  and response body. It recycles the post method into a patch one,
14503	  that will send the encoded representation to the server.
14504	  Summarizing, a new class has been created, the post method
14505	  extracted into send_entity, including a new argument,
14506	  which defines which class to use (Post or Patch) and
14507	  finally a patch method was created. [ruby-core:30426]
14508	  Patched by Guilherme Silveira
14509	  <guilherme.silveira AT caelum.com.br>
14510
14511Tue Jun  1 03:46:08 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14512
14513	* ext/readline/extconf.rb: reject GPLv3 readline. [ruby-dev:39172]
14514	  [ruby-core:25272] [ruby-dev:39167] [ruby-core:28736]
14515
14516Tue Jun  1 01:14:31 2010  Masaya Tarui  <tarui@ruby-lnag.org>
14517
14518	* io.c (pipe_open): add RB_GC_GUARD.
14519	  This caused failure when test/ruby/test_argf.rb is executed with
14520	  GC.stress = true in mswin32_90
14521
14522Mon May 31 23:44:22 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
14523
14524	* ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks
14525	  are enabled on MacOS X.
14526
14527	* ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X.
14528
14529	* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter.
14530	  And hide a root window before starting eventloop. (for ruby 1.9)
14531
14532	* ext/tk/tcltklib.c: add codes to support Ruby/Tk-Kit (Rubykit).
14533
14534Mon May 31 21:49:42 2010  Tanaka Akira  <akr@fsij.org>
14535
14536	* lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNRESET
14537	  for Windows.  reported by U.Nakamura.  [ruby-dev:41477]
14538
14539Mon May 31 19:25:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14540
14541	* regparse.c (onig_syntax_warn): do not use external strings as
14542	  printf format.
14543
14544Mon May 31 18:22:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14545
14546	* misc/ruby-mode.el (ruby-mode-set-encoding): skip shebang line
14547	  always regardless of ruby.
14548
14549Mon May 31 15:07:18 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14550
14551	* file.c (file_expand_path): Refix r28102: this breaks
14552	  r28039. test for [ruby-dev:41429] is added. [ruby-core:30516]
14553
14554Mon May 31 14:47:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14555
14556	* string.c (rb_str_inspect): inspect as ASCII when the codepoint
14557	  of a character in Unicode string is ASCII printable one.
14558
14559Mon May 31 13:44:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14560
14561	* encoding.c (rb_enc_unicode_p): check the encoding is Unicode
14562	  or not by the name; not function's pointer. [ruby-dev:41479]
14563
14564Mon May 31 04:03:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14565
14566	* file.c (file_expand_path): check if expanded dname encoding is
14567	  compatible with fname, not just copying.  [ruby-core:30516]
14568
14569	* test/ruby/test_beginendblock.rb (test_endblockwarn): needs
14570	  encoding comment.
14571
14572Mon May 31 02:17:54 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
14573
14574	* insns.def (defined): respond_to_missing? may not be available
14575	  (for BasicObject instances).
14576
14577Mon May 31 01:43:42 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
14578
14579	* lib/delegate: Delegator: combine (public|protected) methods with
14580	  those of the delegated object. [ruby-core:27224]
14581	  DelegateClass: combine (public|protected) instance methods
14582	  with those of the delegated superclass.
14583
14584Sun May 30 22:18:49 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
14585
14586	* lib/set.rb (keep_if, select!): New methods [ruby-core:29749]
14587
14588Sun May 30 21:51:59 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14589
14590	* test/rake/test_application.rb: update a test because of r28089.
14591
14592Sun May 30 21:48:07 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14593
14594	* lib/tempfile.rb (Tempfile#unlink): leave @data.  Assigning nil to
14595	  @data caused double closing error of the same IO in finalizer.  a
14596	  patch from Simon Nicholls.  [ruby-core:29395]
14597
14598Sun May 30 18:47:15 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14599
14600	* ext/nkf/nkf-utf8/nkf.c: updated to b856dd07.
14601	  this cleans warnings.
14602
14603Sun May 30 18:25:55 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14604
14605	* load.c (load_failed): use more accurate error message.
14606	  [ruby-core:23851]
14607
14608Sun May 30 16:54:34 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14609
14610	* file.c (rb_file_directory_p): update rdoc.  a patch from Ilkka
14611	  Laukkanen.  [ruby-core:30016]
14612
14613Sun May 30 14:59:13 2010  Narihiro Nakamura  <authorNari@gmail.com>
14614
14615	* gc.c (gc_mark_all_clear): don't call obj_free() in
14616	  gc_mark_all_clear(), because obj_free() may make T_ZOMBIE
14617	  objects.
14618
14619	* gc.c (gc_clear_mark_on_sweep_slots): renamed.
14620
14621	* gc.c (rb_objspace_call_finalizer): call
14622	  gc_clear_mark_on_sweep_slots() before calling mark_tbl().
14623	  [ruby-dev:41459]
14624
14625Sun May 30 03:40:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14626
14627	* parse.y (parser_tokadd_utf8, parser_tokadd_string): allow NUL
14628	  containing symbol literals, as well as String#to_sym.
14629	  [ruby-dev:41447]
14630
14631Sun May 30 03:03:20 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14632
14633	* lib/rdoc/generator/template/darkfish/classpage.rhtml:
14634	  fix encoding value of XML declaration. [ruby-dev:41452]
14635
14636Sun May 30 02:20:26 2010  Masaya Tarui  <tarui@ruby-lnag.org>
14637
14638	* thread.c (RB_GC_SAVE_MACHINE_CONTEXT), gc.c (ruby_gc_stress_start):
14639	  revert r28078.
14640
14641Sun May 30 02:21:34 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14642
14643	* ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.
14644	  This caused failure when test/csv is executed with GC.stress = true.
14645
14646Sun May 30 01:25:48 2010  Masaya Tarui  <tarui@ruby-lnag.org>
14647
14648	* thread.c (RB_GC_SAVE_MACHINE_CONTEXT): start GC
14649	  by switching the thread if gc_stress == true
14650
14651	* gc.c (ruby_gc_stress_start): ditto.
14652
14653Sun May 30 00:02:39 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14654
14655	* gc.c (force_chain_object, rb_objspace_call_finalizer): delete
14656	  finalizer entry after corresponding finalizer is executed.
14657	  This caused SEGV when test/cgi is executed with GC.stress = true.
14658
14659Sat May 29 23:30:33 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14660
14661	* string.c (str_replace_shared): change embedded state atomically.
14662	  [ruby-core:29953] [ruby-dev:41456]
14663
14664Sat May 29 12:56:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14665
14666	* encoding.c (rb_filesystem_encindex): avoid infinite require
14667	  loop. [ruby-core:30467]
14668
14669Sat May 29 12:05:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14670
14671	* lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM.
14672	  [ruby-dev:41452]
14673
14674Sat May 29 10:12:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14675
14676	* gc.c (GC_PROF_TIMER_STOP): regularize `marked' to suppress
14677	  warnings.
14678
14679Sat May 29 09:34:32 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14680
14681	* test/ruby/envutil.rb: fix for --disable-gems.
14682
14683Sat May 29 09:04:06 2010  Tanaka Akira  <akr@fsij.org>
14684
14685	* lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
14686
14687Sat May 29 08:46:29 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14688
14689	* gc.c (allocate_sorted_heaps, before_gc_sweep, gc_sweep): removed
14690	  unused variables.
14691
14692Fri May 28 20:35:21 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
14693
14694	* thread.c (blocking_region_begin): avoid RUBY_VM_CHECK_INTS()
14695	  call during GVL state transition. [Bug#3354] [ruby-dev:41435]
14696
14697Fri May 28 19:37:47 2010  Narihiro Nakamura  <authorNari@gmail.com>
14698
14699	* gc.c: use simple lazy sweep algorithm for response performance
14700	  gain. See [ruby-dev:41067].
14701
14702	* object.c: FL_MARK of some objects by lazy sweep is copied when
14703	  RVALUE is cloned. These objects are not marked in the mark phase.
14704	  So delete FL_MARK.
14705
14706	* class.c: ditto.
14707
14708Fri May 28 18:39:38 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14709
14710	* string.c (sym_inspect): escape ASCII-compatible strings.
14711
14712	* string.c (rb_str_inspect): escape ASCII-compatible strings.
14713
14714Fri May 28 17:34:48 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
14715
14716	* array.c (rb_ary_product): Use tmpary instead, to ensure marking
14717	  arrays by GC.
14718
14719Fri May 28 11:40:07 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
14720
14721	* array.c (rb_ary_product): Do not rely on GC, t0 should be
14722	  checked explicitly.
14723
14724Fri May 28 10:40:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14725
14726	* lib/mkmf.rb (checking_for): ignore toplevel.
14727
14728Fri May 28 00:47:16 2010  Masaya Tarui  <tarui@ruby-lnag.org>
14729
14730	* error.c (rb_bug): suppress the error report dialog if report_bug()
14731	  is finished successfully.
14732
14733Fri May 28 00:32:25 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14734
14735	* insns.def (invokesuper): check consistency between class of self and
14736	  class of method being invoked by super.  This is temporary measure
14737	  for YARV.  See [ruby-core:30313] in detail.  See [ruby-dev:40959]
14738	  [ruby-dev:39772] [ruby-core:27000] [ruby-core:27230]
14739
14740	* vm_insnhelper.c (vm_search_superclass): ditto.
14741
14742Thu May 27 23:38:31 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14743
14744	* file.c (rb_home_dir): set filesystem encoding.
14745
14746Thu May 27 23:29:18 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14747
14748	* file.c (file_expand_path): set encoding as the same of fname
14749	  when _result_ is not filesystem encoding. [ruby-dev:41429]
14750
14751Thu May 27 23:07:45 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14752
14753	* file.c (file_expand_path): use rb_enc_associate_index and
14754	  rb_filesystem_encindex. Strings related FileSystem should
14755	  have filesystem_encoding.
14756
14757	* file.c (SET_EXTERNAL_ENCODING): removed.
14758
14759Thu May 27 23:03:19 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14760
14761	* include/ruby/encoding.h (rb_filesystem_encindex): defined.
14762
14763	* include/ruby/encoding.h (rb_locale_encindex): ditto.
14764
14765	* encoding.c (rb_filesystem_encindex): remove static.
14766
14767	* encoding.c (rb_locale_encindex): ditto.
14768
14769Thu May 27 22:34:27 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14770
14771	* win32/win32.c (rb_w32_read): call ReadFile() with len = 0 before
14772	  reading really on console, because the first ReadFile() call after
14773	  PeekConsoleInput() always returns broken data. (Windows's bug).
14774	  [ruby-core:29018]
14775
14776Thu May 27 12:42:23 2010  Akinori MUSHA  <knu@iDaemons.org>
14777
14778	* LGPL: Removed.  We no longer have LGPL'd source files in our
14779	  tree.
14780
14781Wed May 26 20:19:22 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14782
14783	* random.c (random_rand): add the result of random to the
14784	  beginning of range, not the opposite.  [ruby-dev:41415]
14785
14786Wed May 26 19:55:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14787
14788	* file.c (file_expand_path): revert a part of r22392. it's commit miss.
14789
14790Wed May 26 18:40:23 2010  Masaya Tarui  <tarui@ruby-lang.org>
14791
14792	* test/rinda/test_rinda.rb (TupleSpaceTest, TupleSpaceProxyTest):
14793	  kill a used thread at teardown.  [ruby-dev:41397]
14794
14795Wed May 26 12:08:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14796
14797	* random.c (random_rand): subtraction method of non-numeric can
14798	  return Float.  [ruby-dev:41410]
14799
14800Wed May 26 11:50:09 2010  Eric Hodel  <drbrain@segment7.net>
14801
14802	* marshal.c (Init_marshal): document marshal_dump and marshal_load.
14803
14804Wed May 26 10:35:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14805
14806	* configure.in (rb_cv_large_fd_select): needed on mingw, even
14807	  though fd_mask is not available.  [ruby-core:30401]
14808
14809Tue May 25 14:00:51 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14810
14811	* regparse.c (add_code_range_to_buf0): fix false negative
14812	  warning when given range is just before previous range.
14813	  [ruby-dev:41406]
14814
14815Tue May 25 16:37:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14816
14817	* misc/ruby-style.el (ruby-style-version): take revision if
14818	  keyword is expanded. [ruby-dev:41408]
14819
14820Tue May 25 13:26:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14821
14822	* include/ruby/vm.h, include/ruby/encoding.h: add external
14823	  linkage.
14824
14825Tue May 25 01:46:49 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14826
14827	* vm_eval.c (rb_f_caller): update rdoc.  a patch from Nobuhiro IMAI
14828	  <nov at yo.rim.or.jp> in [ruby-dev:41387].
14829
14830Mon May 24 23:04:41 2010  Tanaka Akira  <akr@fsij.org>
14831
14832	* error.c: fix wrong exception class name in rdoc.
14833
14834Mon May 24 19:00:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14835
14836	* parse.y (warn_balanced, parser_yylex): no warnings after closing
14837	  parens.
14838
14839Mon May 24 12:52:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14840
14841	* common.mk (change), tool/change_maker.rb: make a brief template
14842	  for ChangeLog.
14843
14844Mon May 24 09:19:59 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14845
14846	* gc.c (gc_sweep): suppress a warning on VC.
14847
14848Mon May 24 08:16:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14849
14850	* process.c (rb_f_spawn): use correct command name for the error
14851	  message.  [ruby-dev:41395]
14852
14853Sun May 23 17:48:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14854
14855	* ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,
14856	  lib/irb/cmd/fork.rb, lib/mutex_m.rb,
14857	  lib/shell/process-controller.rb, lib/sync.rb, object.c:
14858	  suppress warnings patched by Benoit Daloze at [ruby-core:30366].
14859
14860	* parse.y (warn_balanced): no warning for singleton class.
14861	  [ruby-core:30366]
14862
14863Sun May 23 16:56:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14864
14865	* include/ruby/ruby.h (CONST_ID_CACHE, rb_intern_const): suppress
14866	  warnings with -Wconversion.
14867
14868Sun May 23 07:08:34 2010  Aaron Patterson <aaron@tenderlovemaking.com>
14869
14870	* ext/psych/lib/psych/json/stream.rb: adding a JSON streaming API
14871
14872	* ext/psych/lib/psych/stream.rb: ditto
14873
14874	* ext/psych/lib/psych.rb: using autoload
14875
14876	* ext/psych/lib/psych/json.rb: ditto
14877
14878	* ext/psych/lib/psych/json/tree_builder.rb: refactor
14879
14880	* ext/psych/lib/psych/visitors/json_tree.rb: refactor
14881
14882Sat May 22 03:53:05 2010  Satoshi Shiba  <shiba@rvm.jp>
14883
14884	* cont.c (fiber_setcontext): Use swapcontext() instead longjmp().
14885	  [ruby-dev:41316] [Bug #3295]
14886
14887Fri May 21 19:11:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14888
14889	* ext/nkf/nkf.c (rb_nkf_convert, rb_nkf_guess): check too huge
14890	  string.
14891
14892Fri May 21 18:12:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14893
14894	* include/ruby/ruby.h (rb_intern): C90 needs nonempty macro
14895	  arguments.
14896
14897Fri May 21 13:55:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14898
14899	* configure.in (LIBRUBYARG_SHARED): shared library will not be
14900	  created unless enable-shared.
14901
14902	* ruby.c (ruby_init_loadpath_safe): use real path for non-shared
14903	  build.
14904
14905Fri May 21 12:25:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
14906
14907	* marshal.c (w_float): use dtoa directly instead of stripping
14908	  needless trailing .0.
14909
14910	* numeric.c (flo_to_s): reverted.  [ruby-dev:41341]
14911
14912Fri May 21 01:06:05 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14913
14914	* thread.c (subtract_tv): if the rest is zero, should finish waiting
14915	  immediately.
14916
14917	* win32/win32.c (subtract): ditto.
14918	  based on a patch from Roger Pack in [ruby-core:27957].
14919
14920Thu May 20 22:49:04 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14921
14922	* re.c (rb_reg_s_union_m): update rdoc.  [ruby-dev:41354]
14923
14924Thu May 20 22:08:28 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14925
14926	* vm_eval.c (rb_f_caller): update rdoc.  a patch from Nobuhiro IMAI
14927	  <nov at yo.rim.or.jp> in [ruby-dev:41348].
14928
14929Thu May 20 22:04:05 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14930
14931	* vm.c (vm_backtrace_each): now takes an init function to distinguish
14932	  an empty stack from out of stack.  [ruby-dev:41366]
14933
14934	* vm_eval.c (print_backtrace, rb_thread_backtrace): ditto.
14935
14936Thu May 20 20:47:46 2010  Masaki Suketa <masaki.suketa@nifty.ne.jp>
14937
14938	* ext/win32ole/win32ole.c (ole_invoke): raise NoMethodError
14939	  when COM method is not found. [ruby-core:30160] [Bug #3277]
14940
14941	* test/win32ole/test_win32ole.rb (test_no_method_error): ditto.
14942
14943Thu May 20 16:17:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14944
14945	* ext/psych/emitter: C99(gcc)-ism.
14946
14947Thu May 20 12:59:49 2010  Aaron Patterson <aaron@tenderlovemaking.com>
14948
14949	* ext/psych/lib/psych/stream.rb: adding YAML streaming API for
14950	  infinite length streams.
14951
14952	* ext/psych/lib/psych.rb: refactoring for streaming API
14953
14954	* ext/psych/lib/psych/{handler, stream, tree_builder}.rb: ditto
14955
14956Thu May 20 02:12:20 2010  Aaron Patterson <aaron@tenderlovemaking.com>
14957
14958	* ext/psych/emitter.c: output strings are automatically transcoded
14959
14960Wed May 19 23:36:57 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
14961
14962	* ext/tk/extconf.rb: [ruby-dev:41334] [Bug #3307] invalid result
14963	  on searching tcl.h/tk.h. Thanks, Masaya Tarui.
14964
14965Wed May 19 23:19:30 2010  Shugo Maeda  <shugo@ruby-lang.org>
14966
14967	* lib/net/imap.rb (disconnect): closes the socket of a Net::IMAP
14968	  object only when it is not closed.  [ruby-dev:41350]
14969
14970Wed May 19 20:09:38 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14971
14972	* vm_eval.c (rb_f_caller): return [] instead of nil when the function
14973	  is called on toplevel.  [ruby-dev:41348]
14974
14975Wed May 19 19:58:01 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
14976
14977	* ext/socket/extconf.rb: mswin/mingw ruby has socketpair(), but it's
14978	  not exist as such name in ruby static library, so mkmf.rb cannot
14979	  find it.
14980
14981Wed May 19 19:45:10 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14982
14983	* iseq_compile_each (NODE_DEFINED): put nil first to fix stack
14984	  consistency.  [ruby-core:30293]
14985	  Now, lfinish[0] of defined_expr seems not to be used.  Refactoring
14986	  may be needed.
14987
14988Wed May 19 16:55:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
14989
14990	* numeric.c (rb_num2ulong): use rb_big2ulong for data from
14991	  Bignum. Without this 32bit integer on 32bit environment
14992	  can't converted into long.
14993	  This fixes 1) and 2) of [ruby-dev:41289]
14994
14995Mon May 17 22:19:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
14996
14997	* process.c: suppress warning for signed and unsigned type
14998	  inconsistency.
14999
15000	* ext/psych/parser.c: ditto.
15001
15002	* ext/sdbm/_sdbm.c: ditto.
15003
15004	* ext/syck/rubyext.c: ditto.
15005
15006Mon May 17 21:30:50 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15007
15008	* .gitignore: updated.
15009
15010Mon May 17 21:08:53 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15011
15012	* win32/win32.c (argv_size): merged into join_argv() to maintain the
15013	  agreement with it.  removed code has a calculation bug.
15014	  fixed [Bug#2388]
15015
15016	* win32/win32.c (join_argv): calc and return the length of joined
15017	  argv.
15018	  the cause of the original bug was clarified by Masaya TARUI
15019	  <tarui AT prx.jp> and the solution was suggested by him, too.
15020
15021Mon Apr  5 09:20:08 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15022
15023	* enc/iso_2022_jp.h: add CP50220.
15024
15025	* enc/trans/iso2022.trans: add converter for CP50220.
15026
15027Mon May 17 09:37:25 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15028
15029	* lib/fileutils.rb (FileUtils::Entry_#entries): returns pathname in
15030	  UTF-8 on Windows to allow FileUtils accessing all pathnames
15031	  internally.
15032
15033Mon May 17 01:07:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15034
15035	* dln.c (rb_w32_check_imported): workaround for VC6.
15036
15037Sun May 16 22:21:32 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15038
15039	* proc.c (mnew): initialize a field.  a patch from Takahiro Kambe.
15040	  [ruby-dev:41312]
15041
15042Sun May 16 22:17:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15043
15044	* eval.c (setup_exception): let SystemStackError#backtrace return an
15045	  single element array instead of string itself.  [ruby-core:30196]
15046
15047Sun May 16 21:51:04 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15048
15049	* parse.y (parser_read_escape, parser_tokadd_escape): allow a hex or
15050	  octal encoded character after \c.  This seemed to be prohibited at
15051	  r13836, but its ChangeLog mentions nothing about this prohibition.
15052	  So I assume this prohibition is not intended.  [ruby-core:27229]
15053
15054Sun May 16 21:14:04 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
15055
15056	* ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test):
15057	  fixes "NoMethodError: undefined method `[]=' for nil:NilClass"
15058
15059Sun May 16 17:16:09 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15060
15061	* proc.c (proc_binding): don't propagate filename and line_no of
15062	  binding that is created from C level.  [ruby-dev:41322]
15063
15064	* vm_eval.c (eval_string_with_cref): ditto.
15065
15066Sun May 16 15:09:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15067
15068	* dln.c (rb_w32_check_imported): check if extension library to be
15069	  loaded imports from different ruby dll.
15070
15071Sun May 16 14:55:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15072
15073	* common.mk (dln_find.o): fix dependency.
15074
15075Sun May 16 13:55:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15076
15077	* error.c (rb_loaderror): use locale string, not ascii-8bit.
15078
15079Sun May 16 11:39:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15080
15081	* include/ruby/missing.h (signbit): add missing prototype.
15082
15083Sun May 16 10:49:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15084
15085	* ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.
15086	  a patch by Masaya TARUI <tarui AT prx.jp>.
15087
15088Sun May 16 02:24:27 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
15089
15090	* configure.in: can not load libruby.so if gcc is used with
15091	  --enable-shared on AIX.
15092
15093Sat May 15 17:16:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15094
15095	* ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary if
15096	  errno is not set.  [ruby-dev:41317]
15097
15098Fri May 14 07:27:07 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15099
15100	* marshal.c (w_float): strip ".0" from end for rubyspec.
15101
15102Fri May 14 01:17:10 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15103
15104	* vm_core.c (rb_thread_struct): add a field for sigaltstack.
15105
15106	* thread_pthread.c (thread_start_func_1): initialize machine stack
15107	  information.
15108
15109	* thread.c (thread_start_func_2): set sigaltstack for each sub thread.
15110	  [ruby-core:24540] [ruby-core:30207]
15111
15112Thu May 13 21:40:39 2010  Tanaka Akira  <akr@fsij.org>
15113
15114	* missing/ffs.c (ffs): fixed for non-zero values.
15115
15116Thu May 13 18:45:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15117
15118	* ext/io/console/console.c (get_write_fd): return primary fd if no
15119	  io is tied for writing.
15120
15121Thu May 13 18:15:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15122
15123	* io.c (swallow): should use more_char() instead of fill_cbuf().
15124	  suggested by akr.
15125
15126Thu May 13 17:56:07 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15127
15128	* ext/io/console/console.c (console_set_echo, console_echo_p): use
15129	  primary fd.  [ruby-dev:41309]
15130
15131Thu May 13 13:30:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15132
15133	* marshal.c (w_float): use minimal representation.
15134
15135	* numeric.c (ruby_dbl2cstr): split from rb_float_new.
15136
15137Thu May 13 13:09:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15138
15139	* vm_core.h (rb_vm_get_sourceline): moved from eval_intern.h for
15140	  vm_dump.c.
15141
15142Thu May 13 12:53:13 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15143
15144	* io.c (swallow): support text mode and UTF-16/32 as internal encoding.
15145	  [Bug #1576]
15146
15147	* io.c (io_shift_cbuf): read and throw it away when str is NULL.
15148
15149Thu May 13 09:45:27 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15150
15151	* win32/Makefile.sub: link with ffs.obj.
15152
15153Thu May 13 07:37:49 2010  Tanaka Akira  <akr@fsij.org>
15154
15155	* ext/sdbm/_sdbm.c: include unistd.h before sdbm.h for off_t.
15156	  fix compilation problem on FreeBSD 6.4.
15157
15158Wed May 12 23:48:37 2010  Tanaka Akira  <akr@fsij.org>
15159
15160	* include/ruby/intern.h (rb_quad_pack): deprecated.
15161	  (rb_quad_unpack): ditto.
15162
15163Wed May 12 22:22:05 2010  Tanaka Akira  <akr@fsij.org>
15164
15165	* time.c (rb_big_abs_find_minbit): use ffs().
15166
15167	* configure.in: check ffs().
15168
15169	* missing/ffs.c: new file.
15170
15171	* include/ruby/missing.h (ffs): declared.
15172
15173Wed May 12 16:43:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15174
15175	* numeric.c (flo_to_s): fixed broken output including nuls.
15176
15177Wed May 12 16:25:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15178
15179	* numeric.c (flo_to_s): exponent needs 2 digits.
15180
15181Wed May 12 16:02:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15182
15183	* numeric.c (flo_to_s): fill lower zeros.
15184
15185Wed May 12 15:45:36 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15186
15187	* lib/rdoc/generator/ri.rb (generate): should load existing cache
15188	  before generating it.
15189
15190Wed May 12 15:04:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15191
15192	* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#log): improved
15193	  precision and performance. [ruby-dev:41295]
15194
15195Wed May 12 11:39:10 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15196
15197	* ext/socket/extconf.rb: test all IPPROTO_* constants for recent Win32
15198	  SDK.
15199
15200Wed May 12 10:57:04 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15201
15202	* numeric.c (flo_to_s): make minimum string representation.
15203	  [ruby-core:30145]
15204
15205Wed May 12 09:21:05 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15206
15207	* re.c (rb_reg_initialize_m): fix wrong index for the lang
15208	  option's value 'N'. reported by Masaya TARUI via IRC.
15209
15210Tue May 11 23:07:22 2010  Tanaka Akira  <akr@fsij.org>
15211
15212	* ext/socket/extconf.rb: test IPPROTO_IP and IPPROTO_IPV6 constants.
15213
15214	* ext/socket/mkconstants.rb: define macros for enum.
15215
15216	  [ruby-dev:38849]
15217
15218Tue May 11 21:53:18 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15219
15220	* test/rake/test_task_arguments.rb: makes ENV empty during tests
15221	  because ENV may change the behavior of Rake::TaskArguments.
15222	  [ruby-core:29984]
15223
15224Tue May 11 15:14:30 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15225
15226	* enc/utf_8.c: Add new alias UTF-8-HFS for UTF8-MAC.
15227	  http://www.gnu.org/software/emacs/NEWS.23.2
15228
15229Tue May 11 13:46:00 2010  Kenta Murata <mrkn@mrkn.jp>
15230
15231	* ext/bigdecimal/lib/bigdecimal/math.rb (atan),
15232	  test/bigdecimal/test_bigmath.rb (test_atan): explicitly specify
15233	  the precision for calculating a reciprocal number of an argument.
15234	  [Bug #3267]
15235
15236Tue May 11 11:49:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15237
15238	* ext/sdbm/sdbm.h (DBM): large file support on win32.
15239	  [ruby-core:23039]
15240
15241	* ext/sdbm/depend: objects depend on sdbm.h.
15242
15243Tue May 11 09:57:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15244
15245	* eval_intern.h (rb_vm_get_sourceline): add prototype.
15246
15247Tue May 11 09:53:07 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15248
15249	* ext/psych/parser.c (PSYCH_TRANSCODE): get rid of bare use of gcc
15250	  extension.
15251
15252Tue May 11 01:20:43 2010  Aaron Patterson <aaron@tenderlovemaking.com>
15253
15254	* ext/psych/parser.c (parse): Return strings encoded as
15255	  Encoding.default_internal if set.
15256
15257Mon May 10 23:50:19 2010  Tanaka Akira  <akr@fsij.org>
15258
15259	* pack.c (pack_unpack): add a missing break.
15260
15261Mon May 10 14:13:04 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15262
15263	* time.c (rb_big_abs_find_minbit): get rid of a warning of VC.
15264
15265Mon May 10 13:59:42 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15266
15267	* win32/win32.c, include/ruby/win32.h (rb_w32_has_cancel_io): new
15268	  function.
15269
15270	* io.c (WAIT_FD_IN_WIN32): check only when it's not cancelable.
15271
15272Mon May 10 06:59:19 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15273
15274	* common.mk (rdoc): rdoc should depend main. Moreover when XRUBY
15275	  is miniruby, it can run after miniruby is built.
15276
15277Mon May 10 03:36:56 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15278
15279	* vm_eval.c (eval_string_with_cref): propagate filename and line_no
15280	  of binding.  [ruby-dev:38767] [ruby-core:28307]
15281
15282	* vm_core.h (rb_binding_t), proc.c: add filename and line_no fields to
15283	  preserve them.
15284
15285Mon May 10 02:58:33 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15286
15287	* compile.c (iseq_compile_each), vm_insnhelper.c (vm_invoke_block,
15288	  vm_throw): allow "return" and "yield" even in singleton class
15289	  definition.  based on a patch from wanabe <s.wanabe AT gmail.com>
15290	  for "return".  [ruby-core:21379] [ruby-dev:40975]
15291
15292	* insns.def (defineclass): ditto (straightforwardly push block ptr,
15293	  instead of dfp ptr with special flag).
15294
15295	* vm_core.h (RUBY_VM_CLASS_SPECIAL_P): ditto (no longer needed).
15296
15297	* proc.c (proc_new): ditto (remove handling for special flag).
15298
15299	* bootstraptest/test_jump.rb: add tests for above.
15300
15301Mon May 10 02:29:51 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15302
15303	* cont.c (fiber_switch): raise FiberError when returning to dead
15304	  fiber.  [ruby-dev:40833]
15305
15306Mon May 10 02:07:20 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15307
15308	* lib/thread.rb (ConditionVariable#wait): ensure to remove the current
15309	  thread from waiters.  [ruby-core:29835]
15310
15311Mon May 10 00:54:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15312
15313	* ext/io/console/console.c (console_set_raw): new method.
15314
15315	* ext/io/console/console.c (ttymode): reverted previous commit.
15316
15317Sun May  9 23:53:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15318
15319	* include/ruby/ruby.h (RB_GC_GUARD_PTR): get rid of removal by
15320	  optimization.
15321
15322Sun May  9 23:07:53 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15323
15324	* proc.c (proc_dup): copy blockprocval.  proc_dup is used by
15325	  define_method, which made blockprocval be GC'ed mistakenly.
15326	  [ruby-core:30023]
15327
15328Sun May  9 16:28:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15329
15330	* cont.c (fiber_initialize_machine_stack_context): try to release
15331	  unnecessary fibers and retry to create.  based on a patch from
15332	  masaya tarui at [ruby-dev:41230].
15333
15334Sun May  9 08:32:56 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15335
15336	* ext/json/generator/generator.c (fbuffer_inc_capa):
15337	  fix the use of REALLOC_N. [ruby-dev:41227]
15338
15339Sun May  9 09:30:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15340
15341	* ext/json/{generator/generator.c,parser/parser.rl}: fixed indent.
15342
15343	* ext/json/{generator,parser}/depend: added.
15344
15345Sun May  9 09:15:03 2010  Shugo Maeda  <shugo@ruby-lang.org>
15346
15347	* test/net/imap/test_imap.rb: use IPv4 for
15348	  test_imaps_post_connection_check.  [ruby-dev:41189]
15349
15350Sun May  9 08:24:24 2010  Shugo Maeda  <shugo@ruby-lang.org>
15351
15352	* lib/net/imap.rb (disconnect): terminates @receiver_thread even if
15353	  @sock.shutdown raises an exception.  [ruby-dev:34881]
15354
15355Sun May  9 06:15:21 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
15356
15357	* io.c (nogvl_copy_stream_sendfile): ISO C90 forbids mixed
15358	  declarations and code.
15359
15360Sun May  9 02:57:02 2010  Aaron Patterson <aaron@tenderlovemaking.com>
15361
15362	* ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been required
15363	  yet. [ruby-core:30095]
15364
15365Sun May  9 01:15:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15366
15367	* cont.c (stackgrowdirection): removed duplicated code, use
15368	  STACK_UPPER macro instead.
15369
15370	* gc.h (STACK_DIR_UPPER): moved from thread_pthread.c.
15371
15372Sun May  9 00:35:56 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
15373
15374	* test/dl/test_base.rb (libc_so, libm_so): supports solaris.
15375
15376Sat May  8 19:03:31 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
15377
15378	* spec/default.mspec (config): . is no longer in $:.
15379
15380Sun May  9 00:27:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15381
15382	* thread.c (rb_thread_aset): fixed argument type.
15383
15384Sat May  8 23:09:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15385
15386	* NEWS (io/console): IO#noecho and IO#raw without block are
15387	  obsolete already.  [ruby-dev:41226]
15388
15389	* ext/io/console/console.c (ttymode): save duped file descriptors
15390	  and restore tty modes using them, so that original modes can be
15391	  restored even if original fds are closed.  [ruby-dev:41225]
15392
15393Sat May  8 13:48:31 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
15394
15395	* array.c (rb_ary_fetch, rb_ary_splice, rb_ary_store): Improve
15396	  IndexError
15397	  messages [ruby-core:28394]
15398
15399	* hash.c (rb_hash_fetch_m): Improve KeyError message
15400
15401Sat May  8 13:11:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15402
15403	* lib/rubygems/user_interaction.rb (Gem::StreamUI#ask_for_password):
15404	  use io/console.
15405
15406	* ext/io/console: imported.  [ruby-dev:40897]
15407
15408Sat May  8 12:25:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15409
15410	* ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir.
15411
15412	* ext/etc/etc.c (etc_sysconfdir): added.
15413
15414	* lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc.
15415
15416Sat May  8 11:07:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15417
15418	* ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not get
15419	  collected.  based on a patch masaya tarui at [ruby-dev:41213].
15420
15421Sat May  8 10:03:39 2010  Tanaka Akira  <akr@fsij.org>
15422
15423	* ext/socket/lib/socket.rb (BasicSocket#connect_address): MacOS X 10.6
15424	  returns "::ffff:a.b.c.d" for IPv4-mapped IPv6 address.
15425	  [ruby-dev:41215] patch by Tomoyuki Chikanaga.
15426
15427Fri May  7 23:51:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15428
15429	* version.h: bump up to 1.9.3.
15430
15431Fri May  7 11:30:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15432
15433	* tool/rbinstall.rb (install-man): install mdocs directly without
15434	  temporary files.  [ruby-dev:41204]
15435
15436Fri May  7 09:16:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15437
15438	* ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.
15439
15440	* ext/tk/extconf.rb (search_tclConfig): fixed typo.
15441
15442Fri May  7 06:45:28 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
15443
15444	* ext/tk/extconf.rb: search directories on PATH, only if containing
15445	  tclsh or wish command (probably right fix for [ruby-core:30010]).
15446
15447Fri May  7 03:40:58 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15448
15449	* ext/bigdecimal/bigdecimal.c (VpCtoV): fix to check overflow.
15450
15451Thu May  6 22:19:38 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15452
15453	* cont.c: define FIBER_USE_NATIVE only when _WIN32_WINNT >= 0x0400
15454	  on Windows because Fiber APIs are supported only such building
15455	  (and running) environments.
15456	  [ruby-dev:41192]
15457
15458Thu May  6 19:13:43 2010  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
15459
15460	* test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is
15461	  truncated with ec_key.group.order.size after openssl 0.9.8m for
15462	  FIPS 186-3 compliance.
15463
15464	  WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using
15465	  openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises
15466	  OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns
15467	  false when you pass dgst longer than expected (no truncation
15468	  performed).
15469
15470	* ext/openssl/ossl_pkey_ec.c: rdoc typo fixed.
15471
15472Thu May  6 18:12:43 2010  Koichi Sasada  <ko1@atdot.net>
15473
15474	* cont.c (fiber_setcontext): Fix last commit.
15475
15476Thu May  6 17:16:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15477
15478	* time.c (rb_localtime_r2): get rid of infinite loop bug of
15479	  localtime() on x86_64-darwin.  [ruby-core:30031]
15480
15481Thu May  6 15:56:12 2010  Aaron Patterson <aaron@tenderlovemaking.com>
15482
15483	* ext/fiddle/*: Adding fiddle library to wrap libffi
15484	* test/fiddle/*: testing fiddle extension
15485	* ext/dl/lib/dl.rb: Requiring fiddle if it is available
15486	* ext/dl/lib/dl/callback.rb: using Fiddle if it is available
15487	* ext/dl/lib/dl/func.rb: ditto
15488
15489Thu May  6 15:04:37 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15490
15491	* string.c (rb_str_match_m): add description about optional
15492	  position parameter. [ruby-list:47064]
15493	  patched by KISHIMOTO, Makoto <ksmakoto AT dd.iij4u.or.jp>
15494
15495Thu May  6 14:12:39 2010  Tanaka Akira  <akr@fsij.org>
15496
15497	* lib/tmpdir.rb: test RUBY_PLATFORM for loading tmpdir.so to avoid
15498	  LoadError.
15499
15500Thu May  6 12:41:00 2010  Kenta Murata  <mrkn@mrkn.jp>
15501
15502	* NEWS: add rationalize methods of Complex, Float, Integer, NilClass,
15503	  and Rational classes.
15504
15505Thu May  6 12:12:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15506
15507	* README: update.
15508
15509Thu May  6 03:34:29 2010  Koichi Sasada  <ko1@atdot.net>
15510
15511	* cont.c: apply FIBER_USE_NATIVE patch.  This patch improve
15512	  Fiber context switching cost using system APIs.  Detail comments
15513	  are written in cont.c.
15514
15515Thu May  6 02:16:48 2010  Koichi Sasada  <ko1@atdot.net>
15516
15517	* vm_method.c (rb_unlink_method_entry, rb_sweep_method_entry):
15518	  added.  Unlinked method entries are collected to
15519	  vm->unlinked_method_entry_list.  On the GC timing, mark all method
15520	  entries which are on all living threads.  Only non-marked method
15521	  entries are collected.  This hack prevents releasing living method
15522	  entry.
15523	  [Performance Consideration] Since this Method Entry GC (MEGC)
15524	  doesn't occur frequently, MEGC will not be a performance bottleneck.
15525	  However, to traverse living method entries, every control frame push
15526	  needs to clear cfp->me field.  This will be a performance issue
15527	  (because pushing control frame is occurred frequently).
15528	  Bug #2777 [ruby-dev:40457]
15529
15530	* cont.c (fiber_init): init cfp->me.
15531
15532	* gc.c (garbage_collect): kick rb_sweep_method_entry().
15533
15534	* method.h (rb_method_entry_t): add a mark field.
15535
15536	* vm.c (invoke_block_from_c): set passed me.
15537
15538	* vm.c (rb_thread_mark): mark cfp->me.
15539
15540	* vm_core.h (rb_thread_t): add a field passed_me.
15541
15542	* vm_core.h (rb_vm_t): add a field unlinked_method_entry_list.
15543
15544	* vm_insnhelper.c (vm_push_frame): clear cfp->me at all times.
15545
15546	* vm_insnhelper.c (vm_call_bmethod): pass me.
15547
15548	* bootstraptest/test_method.rb: add a test.
15549
15550Wed May  5 22:22:51 2010  wanabe  <s.wanabe@gmail.com>
15551
15552	* compile.c (iseq_set_sequence): fix check range of ic_index.
15553	  a patch from Tomoyuki Chikanaga.  #3236
15554
15555Wed May  5 21:49:31 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
15556
15557	* dln.c (aix_loaderror): use execerror for load error on AIX.
15558	  This can avoid SEGV reported by Perry Smith.  [Bug #2063]
15559
15560Wed May  5 20:37:54 2010  wanabe  <s.wanabe@gmail.com>
15561
15562	* thread_win32.c (w32_wait_events): get GVL before handle interrupt
15563	  event.   [ruby-core:27199], [ruby-core:29698]
15564
15565Wed May  5 19:00:01 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
15566
15567	* ext/tk/extconf.rb: revert. enbugged by last commit.
15568	  ([ruby-dev:41133], [ruby-dev:41134], [ruby-core:30010])
15569
15570	* ext/tk/README.tcltklib: ditto.
15571
15572Wed May  5 15:54:35 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15573
15574	* file.c (rb_stat): use STAT macro instead of calling stat() directly.
15575	  reported by Bill Kelly.  [ruby-core:30012]
15576
15577Wed May  5 11:43:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15578
15579	* bootstraptest/test_io.rb (megacontent-copy_stream): get rid of
15580	  deadlock.
15581
15582Wed May  5 07:27:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15583
15584	* gc.c (rb_mark_method_entry): renamed.
15585
15586Wed May  5 05:20:27 2010  Koichi Sasada  <ko1@atdot.net>
15587
15588	* method.h, vm_method.c: rename some internal functions related to
15589	  rb_method_entry_t.
15590	  rb_add_method_me()        -> rb_method_entry_set().
15591	  rb_get_method_entry()     -> rb_method_entry_without_cache().
15592	  rb_gc_mark_method_entry() -> rb_mark_method_entry().
15593
15594	* class.c, proc.c: ditto.
15595
15596Tue May  4 22:59:48 2010  wanabe  <s.wanabe@gmail.com>
15597
15598	* compile.c (iseq_build_body): update iseq->ic_size.
15599	  a patch from Tomoyuki Chikanaga. see #3236.
15600
15601Tue May  4 18:51:22 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15602
15603	* error.c (name_err_mesg_to_str): preserve encoding of inspection.
15604	  [ruby-core:29948]
15605
15606Tue May  4 18:38:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15607
15608	* test/fileutils/test_fileutils.rb (test_copy_stream):
15609	  IO.copy_stream support binmode only currently.
15610	  [ruby-core:23724]
15611
15612Tue May  4 12:46:09 2010  Koichi Sasada  <ko1@atdot.net>
15613
15614	* vm_insnhelper.c (argument_error): push correct backtrace.
15615	  Bug #2281 [ruby-core:26333]
15616
15617Tue May  4 12:38:40 2010  Tanaka Akira  <akr@fsij.org>
15618
15619	* ext/socket/option.c (sockopt_inspect): use rb_str_cat2 and
15620	  rb_str_append.
15621
15622	* ext/socket/ancdata.c (ancillary_inspect): refined.
15623
15624Tue May  4 11:48:06 2010  Tanaka Akira  <akr@fsij.org>
15625
15626	* ext/socket/ancdata.c (ancillary_inspect): use rb_str_cat2 and
15627	  rb_str_append.
15628
15629Tue May  4 07:52:33 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15630
15631	* lib/net/http.rb (Net::HTTPResponse#read_chunked): ensure to skip the
15632	  last newline of chunk.  [ruby-core:29229]
15633
15634	* test/net/http/utils.rb: add an option for chunked response test.
15635
15636	* test/net/http/test_http.rb: add tests for chunked response.
15637
15638Tue May  4 03:37:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15639
15640	* ext/nkf/nkf-utf8/nkf.c: Update nkf 2010-04-28.
15641
15642Mon May  3 21:08:16 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
15643
15644	* sample/README: update file list. [ruby-core:28981]
15645
15646Mon May  3 08:15:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15647
15648	* ext/syck/emitter.c (syck_scan_scalar): set SCAN_WHITEEDGE flag
15649	  when scalar begins with newline.  patches from Dave B <daz AT
15650	  d10.karoo.co.uk> at [ruby-core:23019] and caleb clausen at
15651	  [ruby-core:25851].  [ruby-core:23006][ruby-core:29925]
15652
15653Sun May  2 17:52:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15654
15655	* lib/rdoc/task.rb (RDoc::Task): should not override newer code.
15656
15657Sun May  2 17:25:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15658
15659	* ext/dl/cfunc.c (rb_dlcfunc_call): ignore signedness.
15660
15661Sun May  2 12:04:30 2010  wanabe  <s.wanabe@gmail.com>
15662
15663	* iseq.c (iseq_load): allow filepath to be nil.
15664	  a patch from Tomoyuki Chikanaga in [Bug #3229].
15665
15666Sun May  2 08:54:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15667
15668	* lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY value instead
15669	  of fragile check by platform name.
15670
15671Sun May  2 07:38:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15672
15673	* lib/mkmf.rb (dir_config): should not modify argument arrays
15674	  themselves.
15675
15676Sat May  1 22:53:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15677
15678	* lib/tempfile.rb (Tempfile#size): stat by path name when it is
15679	  closed.
15680
15681	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
15682	  keep the first trace.
15683
15684	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
15685	  fixed filtering.  [ruby-core:29908]
15686
15687Sat May  1 16:46:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15688
15689	* ext/bigdecimal/bigdecimal.c (BigDecimal_IsInfinite): don't use
15690	  non-ascii character.
15691
15692Sat May  1 14:08:29 2010  Eric Hodel  <drbrain@segment7.net>
15693
15694	* lib/rubygems/server.rb:  Fix bug when serving gems.
15695
15696Sat May  1 14:05:36 2010  Eric Hodel  <drbrain@segment7.net>
15697
15698	* lib/rdoc:  Upgrade to RDoc 2.5.8.
15699
15700Sat May  1 09:43:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15701
15702	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
15703	  filter out traces in minitest directory.  [ruby-core:29908]
15704
15705Sat May  1 06:42:57 2010  wanabe  <s.wanabe@gmail.com>
15706
15707	* win32/win32.c: add declaration of wstati64 for gcc.
15708
15709Sat May  1 02:41:33 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15710
15711	* merge some patches from win32-unicode-test branch.
15712	  see #1685.
15713
15714	* file.c, include/ruby/intern.h (rb_str_encode_ospath): new function
15715	  to convert encoding for pathname.
15716
15717	* win32.c, include/ruby/win32.h (rb_w32_ulink, rb_w32_urename,
15718	  rb_w32_ustati64, rb_w32_uopen, rb_w32_uutime, rb_w32_uchdir,
15719	  rb_w32_umkdir, rb_w32_urmdir, rb_w32_uunlink): new functions to
15720	  accept UTF-8 path.
15721
15722	* win32/win32.c (rb_w32_opendir, link, rb_w32_stati64, rb_w32_utime,
15723	  rb_w32_unlink): use WCHAR path internally.
15724
15725	* file.c (rb_stat, eaccess, access_internal, rb_file_s_ftype,
15726	  chmod_internal, rb_file_chmod, rb_file_chown, utime_internal,
15727	  rb_file_s_link, unlink_internal, rb_file_s_rename): use UTF-8 version
15728	  functions on Win32.
15729
15730	* file.c (apply2files, rb_stat, rb_file_s_lstat, rb_file_symlink_p,
15731	  rb_file_readable_p, rb_file_writable_p, rb_file_executable_p,
15732	  check3rdbyte, rb_file_identical_p, rb_file_chmod, rb_file_chown,
15733	  rb_file_s_link, rb_file_s_symlink, rb_file_s_rename): call
15734	  rb_str_encode_ospath() before passing the path to system.
15735
15736	* io.c (rb_sysopen): ditto.
15737
15738	* dir.c (dir_chdir, dir_s_mkdir, dir_s_rmdir): ditto.
15739
15740Sat May  1 00:26:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15741
15742	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
15743	  assertion message must be String or Proc.  suggested by caleb
15744	  clausen at [ruby-core:29884].
15745
15746Sat May  1 00:14:47 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15747
15748	* test/ruby/test_io.rb: skip false tests on Windows.
15749	  [ruby-core:29886]
15750
15751Fri Apr 30 22:46:27 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
15752
15753	* math.c: Math::DomainError < StandardError [ruby-core:29855]
15754
15755Fri Apr 30 21:40:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15756
15757	* test/test_open3.rb (TestOpen3#test_commandline): use simple
15758	  command via shell.  [ruby-dev:41100]
15759
15760Fri Apr 30 15:38:45 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
15761
15762	* ext/tk/extconf.rb: better support for MinGW environment.
15763
15764Fri Apr 30 12:05:20 2010  Tanaka Akira  <akr@fsij.org>
15765
15766	* file.c (file_expand_path): call rb_str_set_len before BUFCHECK to
15767	  prevent rb_str_resize in BUFCHECK discard the content.
15768
15769Fri Apr 30 11:48:31 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
15770
15771	* string.c (rb_str_sub_bang): String#sub! now raises an error when
15772	  called on a frozen string, even if no change is made.
15773	  See [ruby-core:23657]
15774
15775Fri Apr 30 11:40:44 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
15776
15777	* eval.c (make_exception, rb_obj_extend): Fix error messages in case
15778	  of wrong
15779	  number of arguments
15780
15781	* file.c (rb_f_test, rb_file_s_umask): ditto
15782
15783	* numeric.c (int_chr, num_step): ditto
15784
15785	* process.c (rb_f_sleep): ditto
15786
15787	* re.c (rb_reg_initialize_m): ditto
15788
15789	* signal.c (rb_f_kill, sig_trap): ditto
15790
15791	* string.c (rb_str_aref_m, rb_str_aset_m, rb_str_count,
15792	  rb_str_delete_bang,
15793	  rb_str_slice_bang, rb_str_sub_bang, str_gsub): ditto
15794
15795	* proc.c (curry): rdoc fix
15796
15797Fri Apr 30 04:09:30 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15798
15799	* time.c (TIMET_MAX): should be time_t, not unsigned_time_t.
15800
15801Fri Apr 30 03:59:08 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15802
15803	* time.c (rb_time_unmagnify_to_float): should cast.
15804
15805Fri Apr 30 03:38:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15806
15807	* numeric.c (fix_mul): the width of fixnum is same as long's on all
15808	  platforms.
15809
15810Fri Apr 30 03:17:20 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
15811
15812	* lib/matrix.rb: Improve algorithm for Matrix#determinant and
15813	  Matrix#rank
15814	  {determinant,det,rank}_e are now deprecated. [ruby-core:28273]
15815	  Also fixes a bug in Determinant#rank (e.g. [[0,1][0,1][0,1]])
15816	  Matrix#singular?, Matrix#regular? now raise on rectangular matrices
15817	  and use determinant instead of rank.
15818
15819Fri Apr 30 00:52:56 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15820
15821	* win32/Makefile.sub (config.h): define some constants to select
15822	  collect code for win64.
15823
15824Thu Apr 29 20:10:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15825
15826	* test/test_open3.rb (test_commandline): use dump instead of
15827	  shellwords.  [ruby-core:23797]
15828
15829Thu Apr 29 18:39:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15830
15831	* lib/thwait.rb (ThreadsWait#join): refined rdoc again.
15832	  [ruby-core:29863] [ruby-dev:41092]
15833
15834Thu Apr 29 14:46:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15835
15836	* test/ruby: use more descriptive assertions.
15837
15838	* test/ruby: fixed nonsense assertions.
15839
15840	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
15841	  reverted.  [ruby-core:29872]
15842
15843Thu Apr 29 12:33:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15844
15845	* lib/thwait.rb (ThreadsWait#join): refined rdoc.  [ruby-core:29863]
15846
15847Thu Apr 29 12:16:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15848
15849	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): reject
15850	  non-boolean values.  [ruby-core:29868]
15851
15852Thu Apr 29 11:20:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15853
15854	* io.c (seek_before_access): renamed.  see [ruby-core:29861].
15855
15856	* io.c (rb_io_s_binread): fixed rdoc.  parts of a patch from Roger
15857	  Pack in [ruby-core:29861].
15858
15859Thu Apr 29 03:50:49 2010  James Edward Gray II  <jeg2@ruby-lang.org>
15860
15861	* lib/xmlrpc/utils.rb: Fixing an incompatibility with
15862	  reflection methods returning Symbols.  Patch by
15863	  HD Moore.  [ruby-core:29821]
15864
15865Wed Apr 28 23:53:15 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15866
15867	* lib/thwait.rb: revise rdoc.  a patch from Roger Pack in
15868	  [ruby-core:27362].
15869
15870Wed Apr 28 23:21:42 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15871
15872	* ext/json: Update to JSON 1.4.2.
15873
15874Wed Apr 28 22:53:57 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15875
15876	* thread. (rb_thread_terminate_all): revert r24591 which caused SEGV
15877	  sometimes.  [ruby-dev:40936] [ruby-core:27245] [ruby-core:27416]
15878
15879Wed Apr 28 22:26:55 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15880
15881	* test/psych/visitors/test_yaml_tree.rb (test_struct_const): remove
15882	  Struct::Foo which affects test/ruby/test_struct to warn redefining
15883	  constant.
15884
15885Wed Apr 28 18:04:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15886
15887	* time.c (time_timespec): use rb_check_funcall.
15888
15889Wed Apr 28 17:14:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15890
15891	* ext/socket/extconf.rb: CMSG_ macros are broken on 64bit darwin,
15892	  because of use of __DARWIN_ALIGN.
15893
15894Wed Apr 28 16:44:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15895
15896	* include/ruby/ruby.h ({RSTRING,RSTRUCT,RBIGNUM}_LENINT): check long
15897	  to cast to int.
15898
15899Wed Apr 28 16:28:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15900
15901	* ext/socket/unixsocket.c (sendmsg_blocking, recvmsg_blocking):
15902	  define only when used.
15903
15904	* ext/socket/rubysocket.h: non-implemented method definitions need
15905	  to be shared.
15906
15907Wed Apr 28 10:27:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15908
15909	* vsnprintf.c (ruby_vsnprintf, ruby_snprintf): suppress warnings.
15910	  why return int in spite of the arguments of size_t?
15911
15912Wed Apr 28 09:49:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15913
15914	* tool/compile_prelude.rb: enable optimization.
15915
15916Wed Apr 28 09:43:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15917
15918	* parse.y (warn_balanced): do not warn for EXPR_ENDFN.
15919
15920Tue Apr 27 23:57:04 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15921
15922	* eval.c (ruby_cleanup): add exception guard around code running
15923	  signal handler (of r27513).  Absence of the guard made
15924	  bootstraptest/test_thread.rb fail sometimes.
15925
15926Tue Apr 27 22:55:29 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15927
15928	* insns.def (onceinlinecache): add exclusion control for a region
15929	  between onceinlinecache and setinlinecache.  [ruby-dev:39768]
15930
15931Tue Apr 27 22:40:54 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15932
15933	* iseq.c (set_relation): do not use top_wrapper as bottom of cref,
15934	  which caused constant lookup error when "wrapped load" is used;
15935	  instead, use Object as bottom, and push top_wrapper on Object.
15936	  [ruby-core:25039]
15937
15938Tue Apr 27 21:24:40 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15939
15940	* eval.c (ruby_cleanup): before cleanup, check signal buffer and run
15941	  handler if any.  [ruby-core:20970]
15942
15943	* thread.c (rb_threadptr_check_signal): separated from
15944	  timer_thread_function.
15945
15946Tue Apr 27 18:00:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15947
15948	* lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo.
15949	  [ruby-core:29809]
15950
15951Tue Apr 27 12:44:23 2010  Eric Hodel  <drbrain@segment7.net>
15952
15953	* lib/rdoc: Import RDoc 2.5.7.  Fixes #1318 and ruby-core:29780.
15954
15955Tue Apr 27 10:54:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15956
15957	* parse.y (parser_read_escape): deny extra character escapes.
15958	  [ruby-core:27228]
15959
15960Tue Apr 27 06:20:13 2010  Tanaka Akira  <akr@fsij.org>
15961
15962	* io.c (select_internal): IO which cbuf is not empty is readable.
15963
15964Tue Apr 27 00:07:32 2010  Yusuke Endoh  <mame@tsg.ne.jp>
15965
15966	* parse.y (program): check void_expr when rb_parse_in_main().
15967	  [ruby-dev:38717]
15968
15969Mon Apr 26 20:11:05 2010  Tadayoshi Funaba  <tadf@dotrb.org>
15970
15971	* complex.c, rational.c, lib/cmath.rb, lib/date.rb lib/date/delta*:
15972	  reverted r27484-27486.  now official spec.
15973
15974Mon Apr 26 15:42:59 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
15975
15976	* ext/json/generator/generator.c (convert_UTF8_to_JSON_ASCII): get rid
15977	  of a warning.
15978
15979Mon Apr 26 13:11:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15980
15981	* parse.y (ripper_get_value): escape Qundef.
15982
15983Mon Apr 26 12:42:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15984
15985	* parse.y (warn_balanced): warn according to last state.
15986
15987Mon Apr 26 09:05:30 2010  NARUSE, Yui  <naruse@ruby-lang.org>
15988
15989	* ext/json: Update to JSON 1.4.1.
15990
15991Sun Apr 25 23:50:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
15992
15993	* io.c (ruby_dup): update max fd.
15994
15995Sun Apr 25 21:56:49 2010  Shugo Maeda  <shugo@ruby-lang.org>
15996
15997	* lib/net/imap.rb (fetch_internal): do not quote message data item
15998	  names.  Thanks, Eric Hodel.  [ruby-core:23508]
15999
16000Sun Apr 25 15:59:02 2010  Tadayoshi Funaba  <tadf@dotrb.org>
16001
16002	* lib/cmath.rb: reverted experimental r23900.
16003
16004Sun Apr 25 15:51:00 2010  Tadayoshi Funaba  <tadf@dotrb.org>
16005
16006	* complex.c, rational.c: reverted experimental r24565.
16007
16008Sun Apr 25 15:34:48 2010  Tadayoshi Funaba  <tadf@dotrb.org>
16009
16010	* lib/date.rb, lib/date/delta*: reverted experimental r24567 and
16011	  r25393.
16012
16013Sun Apr 25 11:02:20 2010  wanabe  <s.wanabe@gmail.com>
16014
16015	* hash.c (ruby_setenv): putenv on msvcrt.dll can't remove empty value.
16016
16017Sat Apr 24 23:40:50 2010  Tanaka Akira  <akr@fsij.org>
16018
16019	* lib/pp.rb: use [""].pack("p").size to detect the pointer size.
16020
16021Sat Apr 24 21:07:27 2010  Tanaka Akira  <akr@fsij.org>
16022
16023	* test/psych/test_psych.rb: don't leave temporary files.
16024
16025Sat Apr 24 16:27:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16026
16027	* Makefile.in (RUBY_PROGRAM_VERSION): added
16028
16029	* tool/rbinstall.rb: expand target file name.
16030
16031	* template/fake.rb.in: no need for hook if extmk.
16032
16033Sat Apr 24 14:40:20 2010  Tanaka Akira  <akr@fsij.org>
16034
16035	* io.c: raise IOError when byte oriented operations occur with
16036	  non-empty character buffer.
16037	  [ruby-dev:40493] [ruby-dev:40506]
16038
16039Sat Apr 24 13:06:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16040
16041	* ruby.c (get_arglen): skip the last terminator of argv before
16042	  checking environ.
16043
16044	* ruby.c (get_arglen): duplicate environ area if setenv and unsetenv
16045	  are provided.
16046
16047	* ruby.c (set_arg0): keep empty strings.
16048
16049Sat Apr 24 09:44:40 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16050
16051	* ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):
16052	  removed wrong extra assignments.  a patch from Marcus Rueckert
16053	  <darix AT opensu.se> at [ruby-core:29759].
16054
16055Sat Apr 24 00:41:52 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16056
16057	* process.c (rb_f_fork): remove after_exec() which sometimes caused
16058	  two timer threads started.  [ruby-core:25217]
16059
16060	* signal.c: use pthread_sigmask() instead of sigprocmask().
16061	  sigprocmask() is unspecified behavior on multi-thread programs.
16062	  [ruby-core:25217]
16063
16064Sat Apr 24 00:36:05 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16065
16066	* test/dl/test_base.rb: add kfreebsd support.  based on a patch from
16067	  Petr Salinger in [ruby-core:29769].
16068	  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560293
16069
16070Sat Apr 24 00:14:41 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16071
16072	* ext/openssl/ossl_ssl_session.c (SSL_SESSION_cmp): remove static for
16073	  loopy version of openssl (0.9.8l?).
16074
16075Fri Apr 23 23:27:17 2010  Tanaka Akira  <akr@fsij.org>
16076
16077	* ext/openssl/ossl_config.c: fix compilation failure with
16078	  OpenSSL 0.9.8.
16079
16080Fri Apr 23 17:29:35 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16081
16082	* ext/openssl/ossl_config.c: OpenSSL 1.0.0 support.
16083	  [ruby-core:29256]
16084
16085	* ext/openssl/extconf.rb: check some functions added/removed at
16086	  OpenSSL 1.0.0.
16087
16088	* ext/openssl/ossl_engine.c (ossl_engine_s_load): use engines which
16089	  exists.
16090
16091	* ext/openssl/ossl_ssl_session (SSL_SESSION_cmp): removed at 1.0.0,
16092	  so implement compatible function here.
16093
16094Fri Apr 23 14:37:22 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16095
16096	* gem_prelude.rb (Gem::QuickLoader.load_full_rubygems_library):
16097	  get rid of creating same regexps many times.
16098
16099	* lib/rubygems/custom_require.rb (Kernel#require): ditto.
16100
16101Fri Apr 23 14:07:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16102
16103	* doc/etc.rd, doc/etc.rd.ja: moved from ext/etc.
16104
16105	* ext/etc.c (Init_etc): fixed rdoc.
16106
16107Fri Apr 23 11:31:25 2010  Eric Hodel  <drbrain@segment7.net>
16108
16109	* lib/rdoc: Update to RDoc 2.5.6.
16110
16111Fri Apr 23 04:11:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16112
16113	* test/ripper/test_parser_events.rb (test_unterminated_regexp):
16114	  separate test.
16115
16116Fri Apr 23 01:47:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16117
16118	* win32/win32.c (rb_w32_wopen): shouldn't use FILE_FLAG_OVERLAPPED with
16119	  normal file.  #1807, #2510, #2549
16120
16121Fri Apr 23 01:28:03 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16122
16123	* thread_win32.c (ubf_handle): remove unused typedef.
16124
16125Thu Apr 22 23:10:59 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16126
16127	* proc.c (mnew): fix wrong error message when Kernel#public_method
16128	  receives name of private method.  [Bug #2425]
16129
16130Thu Apr 22 22:56:42 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16131
16132	* bootstraptest/test_thread.rb: fix test.  [Bug #2342]
16133
16134Thu Apr 22 21:50:17 2010  Keiju Ishitsuka  <keiju@ruby-lang.org>
16135
16136	* lib/irb/ext/multi-irb.rb: fix multi-irb running
16137	  parallelly. [ruby-dev:41031] [Bug #3182]
16138
16139Thu Apr 22 17:13:34 2010  Eric Hodel  <drbrain@segment7.net>
16140
16141	* lib/rubygems: Import RubyGems 1.3.7.pre.1 (as 1.3.6.1).
16142
16143Thu Apr 22 16:43:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16144
16145	* parse.y (warn_balanced): removed false warning.
16146
16147	* parse.y (parser_yylex): skip whitespaces after method name.
16148
16149Wed Apr 22 02:16:00 2010  Kenta Murata  <mrkn@mrkn.jp>
16150
16151	* ext/bigdecimal/bigdecimal.[ch]: replace _DEBUG with BIGDECIMAL_DEBUG
16152	  to prevent activating debugging code when compiled with -DEBUG flag
16153	  on Windows. [ruby-core:22989] #1308
16154
16155Wed Apr 21 21:24:20 2010  Tanaka Akira  <akr@fsij.org>
16156
16157	* ext/digest/sha2/extconf.rb: check SHA256_CTX and SHA512_CTX to fix
16158	  compilation failure on OpenBSD 4.4.
16159
16160Wed Apr 21 15:13:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16161
16162	* io.c (io_getc): fix incomplete character immediately before EOF
16163	  with newline converter. [ruby-dev:41024]
16164
16165Wed Apr 21 13:44:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16166
16167	* parse.y (regexp): check each fragments.   [ruby-core:27374]
16168
16169Wed Apr 21 13:36:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16170
16171	* parse.y (parser_yylex): reverted r27388 due to backward
16172	  compatibility.
16173
16174	* parse.y (parser_yylex): warn confusing binary operators after
16175	  local variable.
16176
16177Wed Apr 21 11:53:47 2010  Eric Hodel  <drbrain@segment7.net>
16178
16179	* lib/rdoc:  Update to RDoc 2.5.5.  Fixes bugs in ri, Darkfish and
16180	  rdoc option handling.
16181
16182Wed Apr 21 11:31:35 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16183
16184	* parse.y (parser_yylex): abandoned EXPR_VCALL.
16185
16186Wed Apr 21 03:17:17 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16187
16188	* io.c (io_getc): set read_encoding to resulted one character
16189	  string. [ruby-dev:41023]
16190
16191Wed Apr 21 00:29:39 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16192
16193	* bignum.c (bigmul1_karatsuba): fix calculation order to prevent
16194	  underflow.  [ruby-core:29088]
16195
16196Wed Apr 21 00:26:17 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16197
16198	* compile.c (NODE_NEXT, NODE_REDO): add dummy putnil instruction to
16199	  fix stack consistency error.  [ruby-core:28172]
16200
16201	* bootstraptest/test_jump.rb: add a test for above.
16202
16203Wed Apr 21 00:16:44 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16204
16205	* ext/zlib/zlib.c (rb_deflate_params): update buf_filled count because
16206	  deflateParams writes to out buffer.  And, revert r18029 because the
16207	  flush was not needed now and emits garbage.  [ruby-dev:40802]
16208
16209Wed Apr 21 00:01:05 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16210
16211	* vm_method.c (rb_add_method_def): decrement alias count of
16212	  rb_method_definition_t to prevent memory leak.  see
16213	  [ruby-dev:41021].
16214
16215Tue Apr 20 21:33:06 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16216
16217	* ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key
16218	  name should be a string.  fixed [ruby-core:28192]
16219
16220Tue Apr 20 19:25:50 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16221
16222	* parse.y (parser_yylex): fix for tLPAREN_ARG.
16223
16224Tue Apr 20 12:34:23 2010  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
16225
16226	* lib/cgi/{core, util}.rb (RFC822_DAYS, RFC822_MONTHS):
16227	  move the constant because used only util.rb.
16228
16229Tue Apr 20 12:24:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16230
16231	* parse.y (lex_state_e, IS_END, IS_SPCARG, parser_yylex): separate
16232	  the state after vcall.  [ruby-core:29578]
16233
16234Tue Apr 20 01:03:00 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16235
16236	* bootstraptest/test_fork.rb: add a test for [ruby-core:28924].
16237
16238Tue Apr 20 00:43:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16239
16240	* file.c (rb_file_s_extname): skip last directory separators.
16241	  [ruby-core:29627]
16242
16243Tue Apr 20 00:41:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16244
16245	* io.c (internal_{read,write}_func, rb_{read,write}_internal):
16246	  reverted r27265, since now rb_thread_blocking_region() preserves
16247	  errno.
16248
16249Mon Apr 19 23:14:45 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16250
16251	* thread.c (rb_thread_blocking_region, rb_thread_blocking_region_end):
16252	  preserve errno.  [Bug #2606] [ruby-core:28924]
16253
16254Mon Apr 19 19:41:10 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
16255
16256	* lib/fileutils.rb (FileUtils::cp_r): backport r11156 from ruby_1_8.
16257
16258Mon Apr 19 19:18:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16259
16260	* parse.y (parser_yylex): reduced duplicated conditions.
16261
16262Mon Apr 19 13:58:04 2010  Eric Hodel  <drbrain@segment7.net>
16263
16264	* lib/rdoc:  Update to RDoc 2.5.4.  Fixes #3169, #3160, #3023.
16265
16266Mon Apr 19 12:46:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16267
16268	* lib/timeout.rb (Timeout#timeout): propagate errors to the
16269	  caller.  [ruby-dev:41010]
16270
16271Mon Apr 19 00:27:03 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16272
16273	* vm_method.c (rb_add_method_def): workaround fix for redefinition
16274	  of methods. This is because cfp->me uses the rb_method_entry
16275	  which is freed by redefinition of remove_method. Note that
16276	  reusing may cause another problem when the usage is changed.
16277	  [ruby-core:27320] [ruby-core:29464]
16278
16279Sun Apr 18 22:13:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16280
16281	* parse.y (string_content): cond_stack and cmdarg_stack are VALUE.
16282
16283Sun Apr 18 18:07:47 2010  Tanaka Akira  <akr@fsij.org>
16284
16285	* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
16286	  [ruby-core:29501]
16287
16288Sun Apr 18 12:48:51 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16289
16290	* parse.y (parser_yylex): seems like a symbol-literal when spaces
16291	  are unbalanced.  [ruby-core:29578]
16292
16293Sun Apr 18 12:32:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16294
16295	* parse.y (string_content): preserve cond_stack and cmdarg_stack.
16296	  [ruby-core:29579]
16297
16298Sun Apr 18 05:50:58 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16299
16300	* ext/psych/lib/psych/visitors/yaml_tree.rb: defaulting binary string
16301	  format to "literal" format.
16302
16303Sun Apr 18 02:13:59 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16304
16305	* lib/irb/ruby-lex.rb (identify_identifier): add '_' to the regexp.
16306
16307Sat Apr 17 23:21:15 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16308
16309	* configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
16310	  On Solaris it can compile with signbit but can't link.
16311
16312Sat Apr 17 20:34:09 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16313
16314	* test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for
16315	  tests.  Some test of rubygems had failed because envutil.rb changed
16316	  only RbConfig::CONFIG but not Gem::ConfigMap.
16317
16318Sat Apr 17 20:31:08 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16319
16320	* lib/irb/ruby-lex.rb (identify_identifier): allow multibyte character
16321	  as identifier.  [ruby-core:27275]
16322
16323Sat Apr 17 09:19:27 2010  wanabe  <s.wanabe@gmail.com>
16324
16325	* compile.c (iseq_compile_each): fix splat condition in NODE_WHEN.
16326	  [Bug #2226]
16327
16328Sat Apr 17 08:57:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16329
16330	* lib/net/smtp.rb (Net::SMTP#rcptto_list): continue when at least
16331	  one RCPT is accepted.  based on a patch from Kero van Gelder at
16332	  [ruby-core:26190].
16333
16334Sat Apr 17 07:43:55 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
16335
16336	* test/thread/test_queue.rb (TestQueue#grind): fix typos.
16337
16338Sat Apr 17 07:27:53 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
16339
16340	* NEWS: add Array#repeated_{combination,permutation} [Feature #2981]
16341
16342Sat Apr 17 05:30:22 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16343
16344	* ext/psych/lib/psych/core_ext.rb (yaml_as): supporting deprecated
16345	  "yaml_as" method
16346	* ext/syck/lib/syck/tag.rb: ditto
16347
16348Sat Apr 17 05:25:15 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16349
16350	* ext/psych/lib/psych/coder.rb (scalar): supporting deprecated methods
16351	* ext/psych/lib/psych/deprecated.rb: supporting deprecated
16352	  to_yaml_properties method
16353
16354Sat Apr 17 01:32:50 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16355
16356	* io.c (rb_io_rewind, rb_io_eof): add rdoc.  based on a patch from
16357	  Roger Pack in [ruby-core:26771] [Bug #2377].
16358
16359Fri Apr 16 23:42:56 2010  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
16360
16361	* test/win32ole/test_folderitem2_invokeverb.rb (test_invokeverb):
16362	  run test only when "Create Shortcut (&S)" menu is found.
16363	  [ruby-core:29550] [Bug #1602]
16364
16365Fri Apr 16 21:52:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16366
16367	* parse.y (string_content, etc): counts of CMDARG_PUSH and POP were
16368	  inconsistent.  [ruby-core:22637]
16369
16370Fri Apr 16 21:27:57 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16371
16372	* ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): revert r23389,
16373	  which not only is unnecessary but also causes the inconsistency of
16374	  return type.  [ruby-core:25706] [Bug #2129]
16375
16376Fri Apr 16 20:05:24 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16377
16378	* lib/thread.rb (Queue#push, #pop, SizedQueue#push, #pop): remove
16379	  code that kicks waiting thread twice, which caused race and
16380	  deadlock.  a patch from James M. Lawrence.  [ruby-core:25537]
16381
16382	* test/thread/test_queue.rb: added.
16383
16384Fri Apr 16 20:01:47 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16385
16386	* .gitignore: updated.
16387
16388Fri Apr 16 16:51:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16389
16390	* tool/file2lastrev.rb (VCS::SVN::get_revisions.): remind about
16391	  DOSISH, sometimes.
16392
16393Fri Apr 16 16:15:40 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
16394
16395	* array.c (rb_ary_repeated_permutation): new method added. a patch
16396	  from Makoto Kishimoto in [ruby-core:29267]   [ruby-core:28724]
16397
16398	* array.c (rb_ary_repeated_combination): ditto.
16399
16400Thu Apr 15 22:41:47 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16401
16402	* thread.c (rb_thread_priority, rb_thread_priority_set): fix rdoc.
16403	  Lower-priority thread may run even if there are higher-priority
16404	  threads.  See [ruby-dev:40977].
16405
16406Thu Apr 15 22:33:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16407
16408	* lib/uri/ftp.rb (URI::FTP#set_path): added to correct handling of
16409	  special case where path of ftp is relative.  This converts relative
16410	  path to absolute one, because external representation of ftp path is
16411	  relative and internal representation is absolute.  [ruby-core:24077]
16412
16413	* lib/uri/ftp.rb (URI::FTP#initialize): converts absolute to relative.
16414
16415	* lib/uri/generic.rb (URI::Generic#check_path): allow relative path
16416	  when scheme is ftp.
16417
16418Thu Apr 15 21:54:39 2010  Tanaka Akira  <akr@fsij.org>
16419
16420	* tool/file2lastrev.rb: use backtick for ruby 1.8.
16421
16422Thu Apr 15 21:13:29 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16423
16424	* tool/file2lastrev.rb: this should run with ruby 1.8.
16425
16426Thu Apr 15 20:41:10 2010  Tanaka Akira  <akr@fsij.org>
16427
16428	* tool/file2lastrev.rb: make -q effective for files not version
16429	  controlled.
16430
16431Thu Apr 15 14:50:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16432
16433	* vm.c (vm_backtrace_each): get rid of use of malloc from signal
16434	  handler by using ruby_engine_name.  [ruby-core:29497]
16435
16436	* vm_eval.c (print_backtrace): file may be nil when segfaulted in
16437	  very early stage.
16438
16439	* vm_dump.c (bugreport_backtrace): ditto.
16440
16441Thu Apr 15 11:51:49 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16442
16443	* common.mk (help): small fix.
16444
16445Wed Apr 14 22:09:28 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16446
16447	* lib/rexml/source.rb: force_encoding("UTF-8") when the input
16448	  is already UTF-8. patched by Kouhei Sutou [ruby-core:23404]
16449
16450Wed Apr 14 18:23:00 2010  Kenta Murata  <mrkn@mrkn.jp>
16451
16452	* configure.in (signbit): signbit is a macro in C99.
16453
16454Wed Apr 14 17:56:06 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16455
16456	* io.c (io_shift_cbuf): should terminate.
16457	  http://golf.shinh.org/p.rb?DECimal+number+to+BINary#Ruby
16458
16459Wed Apr 14 16:29:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16460
16461	* gc.c (GET_STACK_BOUNDS): fixed macro argument names.  a patch from
16462	  Satoshi Shiba <shiba AT rvm.jp> at [ruby-dev:40973].
16463
16464	* gc.h (ruby_get_stack_grow_direction): fixed prototype.
16465
16466	* thread_pthread.c (get_stack, ruby_stack_overflowed_p): both side
16467	  should be same type.  [Bug #3145]
16468
16469Wed Apr 14 15:58:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16470
16471	* string.c (rb_string_value_cstr): make NUL terminated if it is
16472	  not done.
16473
16474Wed Apr 14 12:56:21 2010  Shugo Maeda  <shugo@ruby-lang.org>
16475
16476	* lib/net/imap (encode_utf7): encode & properly.  Thanks, Kengo
16477	  Matsuyama.  [ruby-dev:38063]
16478
16479Wed Apr 14 11:39:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16480
16481	* ext/syck/lib/syck/basenode.rb (Syck::BaseNode#match_path): fixed
16482	  library name.
16483
16484	* ext/syck/lib/yaml/syck.rb: split from ext/syck/lib/syck.rb for
16485	  backward compatibility.
16486
16487Wed Apr 14 09:24:07 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16488
16489	* ext/nkf/nkf-utf8/nkf.c: Refix [nkf-bug:21393]. (explicit -X)
16490
16491Tue Apr 13 20:36:50 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16492
16493	* ext/nkf/nkf-utf8/nkf.c: Fix: Windows Codepages wrongly convert
16494	  Halfwidth Katakana. [nkf-bug:21393]
16495
16496Tue Apr 13 15:00:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16497
16498	* random.c (make_seed_value): fix leading-zero-guard condition on
16499	  bdigit is smaller than 32bit.
16500
16501Tue Apr 13 13:57:36 2010  Keiju Ishitsuka  <keiju@ruby-lang.org>
16502
16503	* lib/irb/completion.rb (CompletionProc): fix [ruby-dev:40953]
16504	  [Bug #3126]. Thanks Kazuhiro NISHIYAMA.
16505
16506Tue Apr 13 09:32:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16507
16508	* transcode.c (transcode_loop): insert output the value when
16509	  fallback hash has a related key. [ruby-dev:40540]
16510	  [ruby-dev:40829] #3036
16511
16512	* transcode.c (rb_econv_prepare_opts): pass to newhash
16513	  a value with the key :fallback.
16514
16515Tue Apr 13 00:12:04 2010  Tanaka Akira  <akr@fsij.org>
16516
16517	* random.c (rand_init): use the absolute value of seed to
16518	  make srand(-2**40) portable with 32bit and 64bit.
16519	  [ruby-core:29292](2)
16520
16521Mon Apr 12 22:48:47 2010  Tanaka Akira  <akr@fsij.org>
16522
16523	* enumerator.c (inspect_enumerator): don't raise for uninitialized
16524	  enumerator.
16525
16526Mon Apr 12 21:47:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16527
16528	* LEGAL: separated the section for parse.c.  contributed by Paul
16529	  Betteridge in [ruby-core:29472].
16530
16531Mon Apr 12 09:19:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16532
16533	* lib/fileutils.rb (fu_each_src_dest): ensure src is accessible.
16534
16535	* lib/fileutils.rb (fu_same): use File.identical? to get rid of
16536	  exceptions.  [ruby-core:28141]
16537
16538	* lib/fileutils.rb (fu_have_st_ino): no longer used.
16539
16540	* lib/fileutils.rb (fu_have_st_ino): check if required method is
16541	  defined, instead of platform name.
16542
16543Mon Apr 12 05:10:20 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
16544
16545	* lib/matrix.rb: New method Matrix.build [ruby-core:28272]
16546
16547Mon Apr 12 03:45:25 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
16548
16549	* lib/matrix.rb: Deprecate elements_to_{f/i/r}
16550
16551Mon Apr 12 03:30:29 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
16552
16553	* lib/matrix.rb: Handle coercion errors by raising TypeErrors
16554	  [ruby-core:26736]
16555
16556Mon Apr 12 00:51:21 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
16557
16558	* io.c (rb_io_getline_fast, rb_io_getline_1): fix ARGF.lineno
16559	  behavior. [ruby-core:25205]
16560
16561	* test/ruby/test_argf.rb (TestArgf#test_lineno3): add a test for
16562	  above.
16563
16564Sun Apr 11 23:25:17 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
16565
16566	* configure.in: can not load libraries if --with-opt-dir is used
16567	  on AIX. [Bug #3107]
16568
16569Sun Apr 11 14:44:45 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16570
16571	* lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused
16572	  regression for handling case when there is no newline at the end of
16573	  file.  [ruby-core:28248]
16574
16575Sun Apr 11 12:08:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16576
16577	* encoding.c (enc_replicate): new encoding name must be valid
16578	  c-string.  [ruby-dev:40954]
16579
16580Sun Apr 11 11:58:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16581
16582	* include/ruby/win32.h (ftruncate): rename to get rid of conflict
16583	  with same name but non-LFS function on MinGW.  [ruby-core:24757]
16584
16585Sun Apr 11 10:33:34 2010  Eric Hodel  <drbrain@segment7.net>
16586
16587	* lib/rdoc:  Update to RDoc 2.5.3.  Includes r27288 and r27290.
16588
16589Sun Apr 11 09:31:39 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16590
16591	* test/syck/*: Moved test/yaml to test/syck since it's actually
16592	  testing the syck YAML engine.
16593
16594Sun Apr 11 08:56:44 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16595
16596	* lib/rdoc/rdoc.rb (setup_output_dir): compare by Time#to_i.
16597	  Cached created time doesn't have fractional times,
16598	  but FileStat#mtime has; so rdoc almost always judged files
16599	  are updated.
16600
16601Sun Apr 11 07:40:48 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16602
16603	* lib/rdoc/rdoc.rb (setup_output_dir): fix typo. [ruby-core:29415]
16604
16605Sun Apr 11 07:01:41 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16606
16607	* lib/uri/common.rb (decode_www_form_component): validate.
16608	  [ruby-dev:40938]
16609
16610	* lib/uri/common.rb (decode_www_form): allow empty string.
16611
16612	* lib/uri/common.rb: fix nodoc for constant. [ruby-dev:40949]
16613
16614Sat Apr 10 21:26:22 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16615
16616	* lib/rdoc/markup/preprocess.rb (RDoc::Markup::PreProcess#handle):
16617	  use File.binread to avoid locale dependency.
16618
16619Sat Apr 10 15:18:26 2010  Eric Hodel  <drbrain@segment7.net>
16620
16621	* lib/rdoc: Import RDoc 2.5.2
16622	* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): Don't parse rdoc
16623	  files, reverts r24976 in favor of include directive support in C
16624	  parser.
16625
16626Sat Apr 10 13:14:22 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16627
16628	* ext/openssl/ossl_ssl.c (Init_ossl_ssl): add SSLContext#ssl_timeout=,
16629	  which allows net/https to specify timeout.  [ruby-core:24812]
16630
16631Sat Apr 10 07:36:13 2010  wanabe  <s.wanabe@gmail.com>
16632
16633	* vm_method.c (rb_add_method): clear attr.location before rb_ary_new3.
16634	  a patch from Masaya TARUI in [Bug #3108]
16635
16636Sat Apr 10 05:27:26 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16637
16638	* ext/psych/lib/psych/deprecated.rb: implementing Psych.quick_emit and
16639	  adding deprecation warnings.
16640	* ext/psych/lib/psych/visitors/to_ruby.rb: supporting deprecated
16641	  yaml_initialize api.
16642	* ext/psych/lib/psych/visitors/yaml_tree.rb: supporting deprecated
16643	  to_yaml api.
16644
16645Sat Apr 10 01:08:53 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16646
16647	* ext/psych/parser.c: parse raises a TypeError when nil is passed in.
16648
16649Sat Apr 10 00:01:51 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16650
16651	* ext/pty/lib/expect.rb: preserve buffer read, instead of discard.
16652	  based on a patch from Luiz Angelo Daros de Luca in
16653	  [ruby-core:23464].
16654
16655Fri Apr  9 23:58:58 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16656
16657	* ext/pty/lib/expect.rb: raise an error when argument is unexpected
16658	  type.  based on a patch from Luiz Angelo Daros de Luca in
16659	  [ruby-core:23464].
16660
16661Fri Apr  9 23:57:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16662
16663	* ext/pty/lib/expect.rb: add rdoc.  based on a patch from Luiz Angelo
16664	  Daros de Luca in [ruby-core:23464].
16665
16666Fri Apr  9 23:54:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16667
16668	* lib/irb/init.rb, lib/irb/lc/help-message,
16669	  lib/irb/lc/ja/help-message: add -w flag.  [ruby-core:24594]
16670
16671Fri Apr  9 23:51:45 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16672
16673	* ext/socket/ipsocket.c (init_inetsock_internal),
16674	  ext/socket/unixsocket.c (rsock_init_unixsock): check the result of
16675	  listen(2).  based on a patch from Mike Pomraning.  [ruby-core:23698]
16676
16677Fri Apr  9 21:22:10 2010  Keiju Ishitsuka  <keiju@ruby-lang.org>
16678
16679	* lib/irb/completion.rb (CompletionProc): irb will be stuck with
16680	  long variable name at completion. [Bug#1969]. refix [ruby-core:28366].
16681
16682Fri Apr  9 20:54:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16683
16684	* lib/uri/common.rb (decode_www_form): don't ignore leading '?'.
16685	  [ruby-dev:40938]
16686
16687	* lib/uri/common.rb (decode_www_form): check whether argument is
16688	  valid application/x-www-form-urlencoded data.
16689
16690Fri Apr  9 20:29:13 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16691
16692	* dir.c (push_glob): clear up the previous commit (RB_GC_GUARD can
16693	  precede the last reference).  [ruby-dev:40942]
16694
16695Fri Apr  9 20:05:05 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16696
16697	* dir.c (push_glob): add RB_GC_GUARD to prevent str being free'ed.
16698	  a patch from Masaya TARUI in [ruby-dev:40939].  [ruby-dev:40514]
16699
16700Fri Apr  9 10:53:00 2010  Kenta Murata  <mrkn@mrkn.jp>
16701
16702	* compile.c (iseq_compile_each): stop hiding, and freeze unpopped
16703	  string nodes to allow method redefinition.  [ruby-dev:40641]
16704
16705Fri Apr  9 01:26:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16706
16707	* io.c (internal_{read,write}_func, rb_{read,write}_internal):
16708	  preserve errno.  a patch from Takehiro Kubo in [ruby-core:29340].
16709	  [ruby-core:28924]
16710
16711Fri Apr  9 01:12:07 2010  Yusuke Endoh  <mame@tsg.ne.jp>
16712
16713	* lib/irb/completion.rb (CompletionProc): calling the method "methods"
16714	  may raise an exception.  [ruby-core:28366]
16715
16716Thu Apr  8 14:33:24 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
16717
16718	* configure.in: --disable-install-doc should prohibit doxygen.
16719
16720Thu Apr  8 14:23:51 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16721
16722	* include/ruby/win32.h: include errno.h before defining errnos.
16723	  see [ruby-core:29314]
16724
16725Thu Apr  8 11:45:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16726
16727	* lib/yaml.rb: use Psych if only it is loaded already.
16728
16729	* lib/yaml.rb (YAML::EngineManager#yamler): set the result after
16730	  successfully switched.
16731
16732Thu Apr  8 07:22:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16733
16734	* random.c (rand_init): ignore higher bits if all they are same as
16735	  the lower sign bit.  [ruby-core:29292](2)
16736
16737Thu Apr  8 07:16:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16738
16739	* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help#execute): use RI
16740	  interactive mode if no argument.  [ruby-dev:39839]
16741
16742Wed Apr  8 02:33:55 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
16743
16744	* array.c (rb_ary_permutation): Remove limitation for lengthy permutations
16745	  [ruby-core:29240]
16746
16747	* test/ruby/test_array.rb: ditto
16748
16749Wed Apr  7 23:33:55 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
16750
16751	* misc/ruby-mode.el (ruby-mode-map): binded C-c C-c and C-c C-c C-u
16752	  to comment-region and uncomment-region. Thanks Michael Klishin!
16753	  [Feature #872] [ruby-core:20552]
16754
16755Wed Apr  7 21:44:14 2010  Tanaka Akira  <akr@fsij.org>
16756
16757	* time.c (ASCTIME): unused macro removed.
16758
16759Wed Apr  7 16:45:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16760
16761	* configure.in (Makefile): reverted r27244.
16762
16763Wed Apr  7 11:49:34 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16764
16765	* lib/rexml/quickpath.rb (REXML::QuickPath::predicate):
16766	  fix regexp.
16767
16768Wed Apr  7 09:44:48 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16769
16770	* configure.in (Makefile): quote init-commands.
16771
16772	* configure.in (Makefile): `make ruby` builds ruby command
16773	  even if RUBY_INSTALL_NAME is customized or it has extension.
16774
16775Wed Apr  7 03:28:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16776
16777	* lib/rdoc/rdoc.rb (RDoc#{initialize,setup_output_dir}):
16778	  initialize @last_created and use it.
16779
16780Wed Apr  7 02:05:41 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16781
16782	* template/fake.rb.in: not define $extout to make target in cwd.
16783
16784Tue Apr  6 23:01:35 2010  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
16785
16786	* vm_core.h: Introduce UNINITIALIZED_VAR() macro.
16787	* thread.c (do_select): Use UNINITIALIZED_VAR() instead FAKE_FD_ZERO().
16788	  Also, remove FAKE_FD_ZERO completely. [Feature #3018]
16789
16790Tue Apr  6 14:53:17 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16791
16792	* include/ruby/win32.h: check definition existence before defining
16793	  errno macros.
16794
16795	* win32/win32.c (errmap): define winsock errors mappings.
16796	  these are VC++10 support. see [ruby-core:29278]
16797
16798Tue Apr  6 21:55:25 2010  Tanaka Akira  <akr@fsij.org>
16799
16800	* configure.in: test localtime(3) overflow.  [ruby-dev:40910]
16801
16802	* time.c (rb_gmtime_r): renamed from rb_gmtime.
16803	  (rb_localtime_r): renamed from rb_localtime.
16804	  (rb_localtime_r2): call rb_localtime_r and validate the result if
16805	  there is overflow problem.
16806	  (rb_gmtime_r2): call rb_gmtime_r and validate the result if there
16807	  is overflow problem.
16808
16809Tue Apr  6 11:21:23 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16810
16811	* template/fake.rb.in: hooks for extconf.rb.
16812
16813Tue Apr  6 06:19:36 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16814
16815	* lib/rexml/text.rb (REXML::Text.check): comment out
16816	  broken logic.
16817
16818Tue Apr  6 05:59:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16819
16820	* lib/rexml/parsers/baseparser.rb (LETTER, DIGIT):
16821	  always use POSIX charclass.
16822
16823	* lib/rexml/parsers/baseparser.rb (NAMECHAR):
16824	  remove duplicated range.
16825
16826	* lib/rexml/xmltokens.rb (NCNAME_STR, NAMECHAR): ditto.
16827
16828	* lib/rexml/parsers/xpathparser.rb (PathExpr): ditto.
16829
16830	* lib/rexml/text.rb (REXML::Text#initialize):
16831	  initialize @parent.
16832
16833Mon Apr  5 19:54:58 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16834
16835	* re.c (make_regexp): use onig_new_with_source to keep
16836	  sourcefile and sourceline.
16837
16838	* re.c (onig_new_with_source): copied from onig_new in
16839	  regcomp.c for keep sourcefile and sourceline.
16840
16841Mon Apr  5 13:20:45 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16842
16843	* include/ruby/win32.h, win32/win32.c (EWOULDBLOCK): VC10 already
16844	  defined EWOULDBLOCK.  based on a patch from Charlie Savage,
16845	  see [ruby-core:29255]
16846
16847Mon Apr  5 13:10:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16848
16849	* ext/psych/lib/psych/core_ext.rb: remove before alias.
16850
16851	* ext/syck/lib/syck.rb: don't warn called by itself.
16852
16853Mon Apr  5 13:08:24 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
16854
16855	* win32/mkexports.rb (each_export): VC10 support.
16856	  a patch from Charlie Savage in [ruby-core:29254]
16857
16858Sun Apr  4 22:18:32 2010  Tanaka Akira  <akr@fsij.org>
16859
16860	* time.c (cmp): optimize for fixnums.
16861	  (lt): use cmp.
16862	  (gt): ditto.
16863	  (le): ditto.
16864	  (ge): ditto.
16865	  (wlt): use wcmp.
16866	  (wgt): ditto.
16867	  (wle): ditto.
16868	  (wge): ditto.
16869	  (time_subsec): use wmod.
16870
16871Sun Apr  4 10:04:28 2010  NARUSE, Yui  <naruse@ruby-lang.org>
16872
16873	* include/ruby/ruby.h: replace snprintf and vsnprintf by
16874	  ruby_snprintf and ruby_vsnprintf. [ruby-dev:40909]
16875
16876	* configure.in: don't check snprintf(3) and vsnprintf(3).
16877
16878	* include/ruby/missing.h: don't declare snprintf and vsnprintf.
16879
16880	* include/ruby/ruby.h: include stdarg.h.
16881
16882	* sprintf.c: include vsnprintf.c
16883
16884	* vsnprintf.c: renamed from missing/vsnprintf.c.
16885
16886	* vsnprintf.c: remove useless ifdefs.
16887
16888	* win32/mkexports.rb: use ruby_snprintf and ruby_vsnprintf.
16889
16890Sun Apr  4 09:44:01 2010  Tanaka Akira  <akr@fsij.org>
16891
16892	* time.c (lt): call <=> instead of <.
16893
16894Sun Apr  4 06:46:16 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
16895
16896	* lib/yaml: Moved to ext/syck/lib, Syck only uses Syck constant.
16897	* lib/yaml.rb: Added an engine manager for choosing YAML engine.
16898	* ext/syck/lib/syck/rubytypes.rb: squashed warnings when using Psych
16899
16900Sat Apr  3 22:47:51 2010  Tanaka Akira  <akr@fsij.org>
16901
16902	* time.c: don't define STRUCT_WIDEVAL.
16903
16904Sat Apr  3 18:15:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16905
16906	* lib/rdoc/rdoc.rb (RDoc#{setup,update}_output_dir): store mtimes
16907	  per files in the flag file.
16908
16909	* lib/rdoc/rdoc.rb (RDoc#normalized_file_list): skip already
16910	  processed and unmodified files.
16911
16912Sat Apr  3 15:09:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16913
16914	* common.mk (rdoc): no force-update, and add RDOCFLAGS.
16915
16916	* lib/rdoc/options.rb (RDoc#parse): no-force-update option.
16917
16918Sat Apr  3 10:51:10 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16919
16920	* random.c (random_rand): raise ArgumentError on nil, as the
16921	  documentation implies.  [ruby-core:29075]
16922
16923	* random.c (rb_f_rand): mentioned the case of when max is nil.
16924
16925Sat Apr  3 06:56:11 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
16926
16927	* array.c (rb_ary_product): Accept a block [ruby-core:29045]
16928
16929Sat Apr  3 04:46:00 2010  Tanaka Akira  <akr@fsij.org>
16930
16931	* tool/file2lastrev.rb (VCS#relative_to): path and @srcdir may have
16932	  different relative-ness.
16933
16934Sat Apr  3 03:19:01 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
16935
16936	* lib/benchmark.rb (Benchmark::Tms#add): fix NameError.
16937	  [ruby-dev:40906]
16938
16939	* test/benchmark/test_benchmark.rb: add a test for above.
16940
16941Sat Apr  3 01:50:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16942
16943	* lib/rdoc/parser/ruby.rb (RDoc#make_message): no empty lines.
16944
16945	* lib/rdoc/stats.rb (RDoc::Normal#print_file): send to stdout and
16946	  flush always
16947
16948Sat Apr  3 00:03:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16949
16950	* lib/rdoc/class_module.rb (RDoc#merge): get rid of stack overflow.
16951
16952	* lib/rdoc/parser/c.rb (RDoc#handle_method): see source files in
16953	  source directory.
16954
16955Fri Apr  2 22:13:38 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16956
16957	* lib/rdoc/rdoc.rb: reverted r27186 to add generators.
16958
16959Fri Apr  2 21:17:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16960
16961	* NEWS: added reverse_lookup option.
16962
16963Fri Apr  2 15:26:14 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16964
16965	* test/rdoc/test_rdoc_ri_driver.rb (with_dummy_pager): don't grasp
16966	  the terminal.
16967
16968Fri Apr  2 14:43:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16969
16970	* lib/rdoc/rdoc.rb (RDoc::Generator): defer by autoload.
16971
16972	* lib/rdoc/generator/darkfish.rb: use normal library instead of
16973	  gem.
16974
16975Fri Apr  2 14:26:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16976
16977	* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
16978	  RUBY_VERSION.  reapplied r24990.
16979
16980	* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
16981	  are delimited by a semicolon.  supported Vim style.  reapplied
16982	  r24988 with fixing a typo for shebang.
16983
16984Fri Apr  2 14:16:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16985
16986	* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
16987	  files.  reapplied r24976.
16988
16989	* lib/rdoc/parser/c.rb: fixed a small error in the documentation.
16990	  [ruby-core:24744]  reapplied r24395.
16991
16992	* lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nil
16993	  and is irrelevant to whether a file is binary.  TAB and newlines
16994	  would be usually considered to be included in text data.
16995	  reapplied r23071 and r24297.
16996
16997Fri Apr  2 13:59:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
16998
16999	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
17000	  obsolete.  reapplied r24599.
17001
17002	* lib/rdoc/ri/paths.rb: follows $ridir.  reapplied r23554.
17003
17004	* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): expand_path deals with
17005	  platform dependent environments.  reapplied r21312.
17006
17007Fri Apr  2 12:52:25 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
17008
17009	* lib/rdoc/parser.rb (binary?): regression.
17010
17011Fri Apr  2 11:54:49 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
17012
17013	* win32/win32.c (init_env): wrong calculation of the head of setenv
17014	  string.  [ruby-core:29216]
17015	  a patch from Heesob Park in [ruby-core:29218]
17016
17017Fri Apr  2 08:24:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17018
17019	* process.c (ruby_setsid): split from proc_setsid.
17020
17021	* process.c (proc_daemon): use EXIT_SUCCESS instead of magic number.
17022
17023Fri Apr  2 07:00:28 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17024
17025	* ext/dl/cptr.c (rb_dlptr_inspect): fix format specifiers.
17026
17027Fri Apr  2 05:38:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17028
17029	* include/ruby/ruby.h (InitVM): calls per-VM initialization in
17030	  single VM, but does nothing in MVM.
17031
17032Fri Apr  2 02:56:56 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
17033
17034	* lib/matrix.rb: New instance methods:
17035	  empty? [ruby-core:26284], each, each_with_index [ruby-core:28400],
17036	  conjugate, conj, imaginary, imag, real, real?, rectangular, rect
17037	  [ruby-core:26285]
17038
17039	  Removed compare_by*, inspect_org, cf [ruby-core:26268]
17040
17041	  Matrix.empty: raise on negative sizes
17042
17043	  Matrix.determinant: raise on rectangular matrices [ruby-core:28271]
17044
17045Thu Apr  1 17:17:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17046
17047	* enc/trans/iso2022.trans: CP50221 supports 8bit JIS.
17048
17049Thu Apr  1 16:44:00 2010  Eric Hodel  <drbrain@segment7.net>
17050
17051	* lib/rdoc, test/rdoc: Imported RDoc 2.5
17052
17053Thu Apr  1 14:30:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17054
17055	* enc/utf_16{be,le}.c (utf16{be,le}_mbc_to_code): simplified.
17056
17057Thu Apr  1 14:07:51 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17058
17059	* util.c (BSD__hdtoa): don't use C99 macros. (FP_NORMAL etc)
17060
17061Thu Apr  1 13:30:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17062
17063	* sprintf.c (rb_str_format): support %a format. [ruby-dev:40650]
17064
17065	* missing/vsnprintf.c (BSD_vfprintf): ditto.
17066
17067	* missing/vsnprintf.c (cvt): ditto.
17068
17069	* util.c (BSD__hdtoa): added.  This is 2-clause BSDL licensed
17070	  by David Schultz and from FreeBSD.
17071
17072	* LEGAL: add about hdtoa() in util.c.
17073
17074Thu Apr  1 13:24:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17075
17076	* object.c (rb_cstr_to_dbl): return 0.0 if hexadecimal and
17077	  badcheck is FALSE: Float("0x1p+0") works, but "0x1p+0".to_f
17078	  doesn't. [ruby-dev:40650]
17079
17080	* util.c (ruby_strtod): allow hexadecimal integers.
17081
17082Thu Apr  1 13:20:50 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17083
17084	* lib/scanf.rb: support %a format. [ruby-dev:40650]
17085
17086Thu Apr  1 12:04:10 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
17087
17088	* include/ruby/ruby.h (PRE_TIMET_PREFIX): define if configure doesn't
17089	  defines it.  [ruby-core:29190]
17090
17091Thu Apr  1 11:36:04 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17092
17093	* io.c (rb_io_initialize): fixed a rdoc miss that textmode and
17094	  binmode flag explanation was reversed each other.  a patch from
17095	  Heesob Park in [ruby-core:29166].
17096
17097Thu Apr  1 09:54:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17098
17099	* include/ruby/ruby.h (RUBY_{DEFAULT,NEVER}_FREE): added.
17100	  [ruby-dev:40889]
17101
17102Thu Apr  1 04:55:08 2010  Tanaka Akira  <akr@fsij.org>
17103
17104	* time.c (rb_big_abs_find_minbit): fix handling the last word.
17105
17106Thu Apr  1 04:30:11 2010  Tanaka Akira  <akr@fsij.org>
17107
17108	* time.c (long_mul): overflow condition changed.
17109	  (wi_mul): ditto.
17110
17111Wed Mar 31 23:33:29 2010  Tanaka Akira  <akr@fsij.org>
17112
17113	* time.c (long_mul): extracted from mul and avoid integer overflow.
17114	  (wi_mul): extracted from wmul and avoid integer overflow.
17115
17116Wed Mar 31 21:30:38 2010  Tanaka Akira  <akr@fsij.org>
17117
17118	* time.c: less bignum allocations.
17119
17120	* strftime.c (rb_strftime_timespec): defined to avoid rational for
17121	  nano second resolution time.
17122
17123Wed Mar 31 16:05:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17124
17125	* test/rake/test_{package_task,rules,task_manager}.rb: use
17126	  temporary directories.
17127
17128Wed Mar 31 13:53:13 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17129
17130	* test/rubygems/gemutilities.rb (setup, teardown):
17131	  Object#to_yaml must use syck on RubyGem.
17132
17133Wed Mar 31 06:57:14 2010  Tanaka Akira  <akr@fsij.org>
17134
17135	* time.c (timew2timespec): fix previous change.
17136
17137Wed Mar 31 00:32:19 2010  Tanaka Akira  <akr@fsij.org>
17138
17139	* time.c (wdivmod): renamed from wdivmodv.  fix neg/pos and pos/neg.
17140	  (split_second): return number of seconds as wideval_t.
17141	  (timet2wv): new function.
17142	  (wv2timet): new function.
17143	  (timet2wideval): removed.
17144
17145Tue Mar 30 22:24:19 2010  Tanaka Akira  <akr@fsij.org>
17146
17147	* time.c: use more polymorphic operations.
17148
17149Tue Mar 30 22:12:38 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
17150
17151	* NEWS: add URI.decode and URI.encode to Obsoleted methods,
17152	  and fix typos. [ruby-dev:40852]
17153
17154	* NEWS: add Time#subsec.
17155
17156Tue Mar 30 22:07:12 2010  Tanaka Akira  <akr@fsij.org>
17157
17158	* time.c: reorder wide value implementation.
17159
17160Tue Mar 30 22:00:44 2010  Keiju Ishitsuka  <keiju@ruby-lang.org>
17161
17162	* lib/irb.rb: support [Feature#988], [ruby-core:21177].
17163	* lib/irb/context.rb: fix Context#verbose?.
17164
17165Tue Mar 30 21:56:33 2010  Tanaka Akira  <akr@fsij.org>
17166
17167	* time.c: make wide value more polymorphic.
17168
17169Tue Mar 30 21:18:32 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17170
17171	* ext/psych/extconf.rb: install psych .so to not psych/ but direct.
17172	  This prepends to install *.rb files to psych/psych.
17173
17174	* ext/psych/lib/psych.rb: require 'psych.so'.
17175
17176Tue Mar 30 20:55:14 2010  Tanaka Akira  <akr@fsij.org>
17177
17178	* time.c (w2v): renamed from w2xv.
17179	  (v2w): renamed from xv2w.
17180	  (rb_time_magnify): takes wideval_t.
17181	  (rb_time_unmagnify): returns wideval_t.
17182
17183Tue Mar 30 19:46:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17184
17185	* ext/psych/lib: moved external library dependent files from lib.
17186	  [ruby-core:29129]
17187
17188Tue Mar 30 18:25:52 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17189
17190	* file.c (rb_file_dirname): split from rb_file_s_dirname.
17191
17192	* load.c (rb_f_require_relative): use absolute path instead of
17193	  expanded path.
17194
17195Tue Mar 30 13:57:08 2010  Akinori MUSHA  <knu@iDaemons.org>
17196
17197	* process.c (proc_daemon): Process.daemon should raise an error on
17198	  failure regardless of whether the implementation uses daemon(3)
17199	  or not. [ruby-dev:40832]
17200
17201Tue Mar 30 13:11:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17202
17203	* tool/file2lastrev.rb (VCS::GIT_SVN): removed because git-log can
17204	  deal with git-svn repository faster than git-svn-info.
17205
17206	* tool/file2lastrev.rb (VCS#get_revisions): particular commands do
17207	  not depend on instance.
17208
17209Tue Mar 30 08:55:50 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
17210
17211	* ext/psych/extconf.rb: Making library detection more agnostic.
17212
17213Tue Mar 30 08:10:59 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
17214
17215	* lib/psych.rb: Fix problem with empty and white-space only strings.
17216	  Thanks Peter McLain!
17217	* test/psych/test_psych.rb: tests for change.
17218
17219Tue Mar 30 05:31:39 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
17220
17221	* lib/psych.rb: documentation updates.  Thanks Peter McLain!
17222	* lib/psych/{coder,tree_builder}.rb: ditto
17223
17224Tue Mar 30 03:56:13 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17225
17226	* ext/psych/{emitter,parser,psych}.c: move variable
17227	  declaration to the first of the block.
17228
17229Mon Mar 29 21:47:44 2010  Akinori MUSHA  <knu@iDaemons.org>
17230
17231	* prelude.rb, .document: Stuff in prelude.rb should be documented
17232	  as well.
17233
17234Mon Mar 29 20:23:05 2010  Keiju Ishitsuka  <keiju@ruby-lang.org>
17235
17236	* lib/matrix.rb(Vector#each2, Vector#collect2): add type check for
17237	  Integer[Bug #2495].
17238
17239Mon Mar 29 19:45:09 2010  Tanaka Akira  <akr@fsij.org>
17240
17241	* time.c: wide value condition changed.
17242
17243Mon Mar 29 18:10:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17244
17245	* lib/optparse.rb (Numeric): accept rationals.
17246
17247Mon Mar 29 15:10:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17248
17249	* lib/tempfile.rb (Tempfile#open): re-open with same mode and
17250	  options as initialize.
17251
17252Mon Mar 29 09:16:45 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17253
17254	* random.c: change include order; ruby.h should be at first.
17255
17256Mon Mar 29 06:47:25 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
17257
17258	* ext/psych/*: importing Psych to trunk
17259	* test/psych/*: ditto
17260	* lib/psych/*: ditto
17261
17262Sun Mar 28 10:03:51 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17263
17264	* lib/scanf.rb: fix max width modifier for %f.
17265
17266Sun Mar 28 10:35:45 2010  Ryan Davis  <ryand-ruby@zenspider.com>
17267
17268	* lib/minitest/*.rb: Imported minitest 1.6.0 r5717.
17269	* test/minitest/*.rb: ditto.
17270
17271Sun Mar 28 10:12:28 2010  Tanaka Akira  <akr@fsij.org>
17272
17273	* time.c (rb_time_magnify): fix for LP64.
17274
17275Sun Mar 28 09:28:33 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17276
17277	* lib/scanf.rb: fix %[egEFG] isn't accept.
17278
17279Sun Mar 28 09:53:02 2010  Tanaka Akira  <akr@fsij.org>
17280
17281	* time.c: rename small integer specialization related identifiers.
17282
17283Sun Mar 28 08:20:37 2010  Tanaka Akira  <akr@fsij.org>
17284
17285	* time.c (weq): specialize for small integer.
17286	  (wne): ditto.
17287	  (wlt): ditto.
17288	  (wgt): ditto.
17289	  (wle): ditto.
17290	  (wge): ditto.
17291	  (rb_time_magnify): ditto.
17292	  (rb_time_unmagnify): ditto.
17293	  (rb_time_unmagnify_to_float): new function to avoid rational for
17294	  Time#to_f and Time#-.
17295
17296Sun Mar 28 07:12:41 2010  Tanaka Akira  <akr@fsij.org>
17297
17298	* time.c (mul): condition refined.
17299
17300Sun Mar 28 02:14:13 2010  Tanaka Akira  <akr@fsij.org>
17301
17302	* time.c: fix previous commit.
17303
17304Sat Mar 27 23:17:52 2010  Tanaka Akira  <akr@fsij.org>
17305
17306	* time.c: use 64bit arithmetic even on platforms with 32bit VALUE.
17307
17308Fri Mar 26 23:52:07 2010  wanabe  <s.wanabe@gmail.com>
17309
17310	* NEWS: add Thread#add_trace_func and Thread#set_trace_func.
17311
17312Fri Mar 26 22:58:10 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17313
17314	* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize
17315	  store->ex_data.sk.  a patch from Christian Holtje in
17316	  [ruby-core:28907].  [ruby-core:23971] [ruby-core:18121]
17317
17318Fri Mar 26 19:55:41 2010  Akinori MUSHA  <knu@iDaemons.org>
17319
17320	* Makefile.in (DOXYGEN): Define a missing variable DOXYGEN.  Build
17321	  has been failing when doxygen(1) is found by configure but the
17322	  variable is not defined by the system and make(1) does not allow
17323	  an empty command. ("@$(DOXYGEN)" was the cause)
17324
17325Fri Mar 26 19:28:03 2010  Shugo Maeda  <shugo@ruby-lang.org>
17326
17327	* test/ruby/test_hash.rb (test_recursive_key): recursive keys are
17328	  permitted now.  [ruby-dev:40735]
17329
17330Fri Mar 26 12:36:10 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
17331
17332	* lib/yaml/basenode.rb: deprecating YPath methods
17333
17334	* lib/yaml/stream.rb: deprecating YAML::Stream#edit
17335
17336Fri Mar 26 12:29:28 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
17337
17338	* lib/yaml/encoding.rb: YAML.encode, YAML.decode are deprecated.
17339
17340	* lib/yaml/stringio.rb: yaml/stringio.rb is deprecated.
17341
17342	* lib/yaml/ypath.rb: YAML::YPath is deprecated.
17343
17344Fri Mar 26 04:52:19 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
17345
17346	* ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997].
17347	  Thanks, Michael Graff.
17348
17349	* ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC().
17350
17351	* ext/tk/tkutil/tkutil.c: ditto.
17352
17353	* ext/tk/lib/tkextlib/version.rb: forgot updating.
17354
17355Thu Mar 25 23:53:22 2010  wanabe  <s.wanabe@gmail.com>
17356
17357	* thread.c (thread_reset_event_flags): set flags to thread.  [Bug #693]
17358
17359Thu Mar 25 23:17:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17360
17361	* file.c (rb_get_path_check): prefer #to_path over #to_str.  a patch
17362	  originally written by me, and modified by Nobuyoshi Nakada.
17363	  [ruby-core:24257]
17364
17365Thu Mar 25 18:10:08 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
17366
17367	* NEWS: Array#{uniq,uniq!} can take a block. see [ruby-dev:37998]
17368
17369Thu Mar 25 17:21:49 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
17370
17371	* NEWS: add IO#autoclose=, IO#autoclose?, IO#codepoints,
17372	  IO#each_codepoint.
17373
17374Thu Mar 25 14:50:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17375
17376	* win32/win32.c (rb_w32_{read,write}): fix handle leaks.  based on
17377	  a patch from Heesob Park in [ruby-core:28919].  [ruby-core:28833]
17378
17379Thu Mar 25 12:37:37 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
17380
17381	* NEWS: add Kernel#singleton_class.
17382
17383Thu Mar 25 11:34:00 2010  Kenta Murata  <mrkn@mrkn.jp>
17384
17385	* bignum.c, node.h, strftime.c, enc/trans/utf8_mac.trans:
17386	  added explicit casts for suppressing warnings.
17387
17388Thu Mar 25 11:34:00 2010  Kenta Murata  <mrkn@mrkn.jp>
17389
17390	* test/ruby/test_dir_m17n.rb: HFS+ escapes invalid byte sequences of
17391	  filenames.
17392
17393Thu Mar 25 05:44:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17394
17395	* configure.in (ruby_version): needs runnable CPP.
17396
17397Thu Mar 25 04:42:19 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17398
17399	* tool/make-snapshot (package): take a breath for HP-UX make
17400	  [ruby-core:28938].
17401
17402	* tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.
17403
17404	* tool/make-snapshot (package): $: no longer contains ".", in trunk.
17405
17406Thu Mar 25 03:52:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17407
17408	* ext/iconv/charset_alias.rb: update of URL.  [ruby-dev:38360]
17409
17410Wed Mar 24 23:43:40 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17411
17412	* thread.c (thread_create_core): let new thread inherit RUBY_EVENT_VM
17413	  of event_flags.  [ruby-core:25191]
17414
17415	* thread.c (rb_threadptr_exec_event_hooks): delete RUBY_EVENT_VM if
17416	  all event_hooks are removed.
17417
17418Wed Mar 24 22:58:02 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17419
17420	* configure.in: revert the previous commit, which seemed to break make
17421	  install.  The files of standard libraries are directly installed to
17422	  $(PREFIX)/lib/ruby instead of $(PREFIX)/lib/ruby/1.9.1
17423
17424Wed Mar 24 18:16:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17425
17426	* configure.in (LDSHARED, CPP): keep $(CC).  [ruby-core:28912]
17427
17428Wed Mar 24 14:33:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17429
17430	* win32/win32.c (rb_w32_read): limit read size to 16KB if the file
17431	  seems to be console.  [ruby-core:28902]
17432
17433Wed Mar 24 10:18:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17434
17435	* file.c (file_expand_path): set length of string before calling
17436	  rb_enc_check because rb_enc_check scans its content.
17437	  This prevents warnings by valgrind.
17438
17439Tue Mar 23 23:58:51 2010  James Edward Gray II  <jeg2@ruby-lang.org>
17440
17441	* lib/csv.rb: Incorporating the fixes from the recent
17442	  FasterCSV releases:  1.5.2 and 1.5.3.  New parser
17443	  by Tim Elliott.  [ruby-core:25038]
17444
17445Tue Mar 23 18:35:46 2010  Shugo Maeda  <shugo@ruby-lang.org>
17446
17447	* object.c (rb_obj_singleton_class): new method
17448	  Kernel#singleton_class.  [ruby-core:21702]
17449
17450Tue Mar 23 01:13:59 2010  Tanaka Akira  <akr@fsij.org>
17451
17452	* ext/socket: use rsock_ prefix for internal initialization functions.
17453
17454Mon Mar 22 20:32:22 2010  wanabe  <s.wanabe@gmail.com>
17455
17456	* proc.c (rb_method_location): return attr's location if it is setup.
17457	  [Feature #2084]
17458
17459	* NEWS: follow above.
17460
17461	* vm_method.c (rb_add_method): save attr's location.
17462
17463	* gc.c (mark_method_entry): mark attr's location.
17464
17465	* method.h (rb_method_definition_t): add member to save attr's location.
17466
17467	* vm_eval.c (vm_call0): follow above.
17468
17469	* vm_insnhelper.c (vm_call_method): ditto.
17470
17471	* vm_method.c (rb_method_definition_eq): ditto.
17472
17473Mon Mar 22 19:31:06 2010  Tadayoshi Funaba  <tadf@dotrb.org>
17474
17475	* lib/date.rb (Date#>>): fixed.  [ruby-core:28011]
17476
17477Mon Mar 22 18:01:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17478
17479	* configure.in (RMDIRS): use rmdir -p if possible.
17480
17481	* Makefile.in ({dist,real}clean-ext): fix for removing ext
17482	  directories.
17483
17484Mon Mar 22 09:06:10 2010  Tanaka Akira  <akr@fsij.org>
17485
17486	* ext/socket/.document: extracted from ext/.document.
17487
17488Mon Mar 22 00:50:33 2010  Tanaka Akira  <akr@fsij.org>
17489
17490	* ext/socket/rubysocket.h (rsock_revlookup_flag): declared.
17491
17492Mon Mar 22 00:01:24 2010  Alexander Zavorine  <alexandre.zavorine@nokia.com>
17493
17494	* symbian/setup (config.h): RUBY_EXEC_PREFIX defined.
17495
17496Sun Mar 21 00:46:29 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17497
17498	* lib/uri/common.rb (URI.encode_www_form_component):
17499	  convert strings of HTML5 ASCII incompatible encoding
17500	  to UTF-8.
17501
17502	* lib/uri/common.rb (URI.encode_www_form_component):
17503	  "\x83\x41" of Shift_JIS should be encoded as "%83A".
17504	  This follows real implementations.
17505
17506	* lib/uri/common.rb (URI.decode_www_form_component):
17507	  use given encoding for force_encoding. [ruby-dev:40721]
17508
17509Sun Mar 21 21:09:17 2010  Tanaka Akira  <akr@fsij.org>
17510
17511	* lib/resolv-replace.rb: specify super class for rdoc.
17512
17513	* lib/ipaddr.rb: ditto.
17514
17515Sun Mar 21 19:52:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17516
17517	* io.c (rb_io_initialize): add autoclose argument to control close
17518	  at finalization.  [ruby-core:26222]
17519
17520	* io.c (rb_io_autoclose_p, rb_io_set_autoclose): new methods.
17521
17522Sun Mar 21 19:50:04 2010  Tanaka Akira  <akr@fsij.org>
17523
17524	* ext/socket: make sources rdoc friendly.
17525
17526Sun Mar 21 17:57:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17527
17528	* io.c (IO_RBUF_CAPA_FOR): use large buffer as cbuf if readconv is
17529	  needed for performance improvement.  based on a patch by Roger Pack
17530	  in [ruby-core:28163].  [ruby-core:28162]
17531
17532Sun Mar 21 17:14:49 2010  Tanaka Akira  <akr@fsij.org>
17533
17534	* tool/transcode-tblgen.rb: reuse hash object.
17535
17536Sun Mar 21 12:32:39 2010  Tanaka Akira  <akr@fsij.org>
17537
17538	* tool/transcode-tblgen.rb (transcode_compile_tree): make
17539	  valid_encoding mandatory unless from_encoding is registered in
17540	  ValidEncoding.
17541	  (transcode_tbl_only): ditto.
17542	  (transcode_tblgen): ditto.
17543	  (ValidEncoding): new function.
17544
17545	* enc/trans/escape.trans: specify valid_encoding.
17546
17547	* enc/trans/emoji_sjis_docomo.trans: ditto.
17548
17549	* enc/trans/emoji.trans: ditto.
17550
17551	* enc/trans/emoji_iso2022_kddi.trans: ditto.
17552
17553	* enc/trans/big5.trans: ditto.
17554
17555	* enc/trans/emoji_sjis_softbank.trans: ditto.
17556
17557	* enc/trans/emoji_sjis_kddi.trans: ditto.
17558
17559	* enc/trans/chinese.trans: use ValidEncoding() instead of
17560	  ValidEncoding[].
17561
17562Sun Mar 21 09:43:01 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17563
17564	* io.c (IO_[CRW]BUF_CAPA_MIN): replaced magic numbers.
17565
17566Sun Mar 21 09:22:10 2010  Tanaka Akira  <akr@fsij.org>
17567
17568	* object.c (rb_obj_hash): use LONG2FIX to avoid Bignum allocation.
17569
17570Sat Mar 20 22:51:46 2010  Tanaka Akira  <akr@fsij.org>
17571
17572	* string.c (rb_str_sum): use UCHAR_MAX.
17573
17574Sat Mar 20 19:16:42 2010  Tanaka Akira  <akr@fsij.org>
17575
17576	* tool/transcode-tblgen.rb (ActionMap.unambiguous_action): use
17577	  Array#delete.
17578	  (ActionMap.merge2): defined.
17579	  (ActionMap::PostMemo): removed.
17580	  (transcode_compile_tree): use ActionMap.merge2.
17581
17582Sat Mar 20 13:26:09 2010  Tanaka Akira  <akr@fsij.org>
17583
17584	* array.c (rb_ary_uniq_bang): the array is already unique if the
17585	  length is zero or one.
17586	  (rb_ary_uniq): ditto.
17587
17588Sat Mar 20 12:30:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17589
17590	* lib: fixed typo.  a patch by Sho Hashimoto in [ruby-dev:40716].
17591
17592Sat Mar 20 11:32:18 2010  Tanaka Akira  <akr@fsij.org>
17593
17594	* tool/transcode-tblgen.rb (each_firstbyte_range): tuned for less
17595	  method calls.
17596
17597Sat Mar 20 00:59:50 2010  wanabe  <s.wanabe@gmail.com>
17598
17599	* ext/dl/lib/dl/pack.rb (DL#pack): allow LLP64.
17600
17601Fri Mar 19 05:26:31 2010  Tanaka Akira  <akr@fsij.org>
17602
17603	* string.c (rb_str_sum): don't call method for each byte.
17604
17605Thu Mar 18 21:24:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17606
17607	* Makefile.in (miniruby): link $(NORMALMAINOBJ).
17608
17609Thu Mar 18 19:52:27 2010  Tanaka Akira  <akr@fsij.org>
17610
17611	* tool/transcode-tblgen.rb: scan singleton mappings sequentially.
17612
17613Thu Mar 18 06:28:32 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17614
17615	* configure.in (RUBY_EXEC_PREFIX): added to config.h.
17616
17617	* ruby.c (ruby_init_loadpath_safe): TMP_RUBY_PREFIX should be
17618	  exec_prefix, not rubylibprefix.  [ruby-core:28718]
17619
17620	* version.c (RUBY_LIB_PREFIX): fallback to RUBY_EXEC_PREFIX.
17621
17622Thu Mar 18 05:58:27 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17623
17624	* ext/bigdecimal/bigdecimal.c (BigDecimal_{to_i,mod,divmod,div2}):
17625	  removed unused variables.
17626
17627Thu Mar 18 04:40:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17628
17629	* parse.y (rb_intern3): get rid of type-punning cast.
17630
17631Thu Mar 18 02:29:42 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17632
17633	* compile.c (iseq_build_body): add mark to jump table hash of case.
17634
17635Thu Mar 18 00:58:27 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17636
17637	* util.c (ruby_strtod): Add support for Hexadecimal
17638	  floating-point expression [ruby-dev:40650] #2969
17639
17640Thu Mar 18 00:00:58 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17641
17642	* lib/uri/common.rb (URI.{en,de}code_www_form_component):
17643	  renamed from URI.{en,de}code_www_component. [ruby-dev:40672]
17644
17645	* lib/uri/common.rb (URI.encode_www_form_component): %-encoded
17646	  element should have always two hex.
17647
17648	* lib/uri/common.rb (URI.encode_www_form_component):
17649	  better treatment for ASCII incompatible encodings and
17650	  encodings whose lead byte may use 7bit.
17651
17652	* lib/uri/common.rb (URI.decode_www_form_component): add %20.
17653
17654	* lib/uri/common.rb (URI.decode_www_form_component): add
17655	  result's encoding as 2nd argument.
17656
17657	* lib/uri/common.rb (URI.decode_www_form): added.
17658
17659Wed Mar 17 16:25:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17660
17661	* hash.c (rb_hash_aset): allow recursive key.  [ruby-core:24648]
17662
17663Wed Mar 17 06:39:59 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17664
17665	* ruby.h (rb_warning, rb_sys_warning): fixed typo in rdoc.
17666	  [ruby-core:28696]
17667
17668Wed Mar 17 02:29:46 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17669
17670	* compile.c, iseq.c, ruby.c, vm.c, vm_core.h, vm_eval.c: add absolute
17671	  path field into rb_iseq_t.  The field contains a string representing
17672	  a path to corresponding source file. or nil when the iseq is created
17673	  from -e, stdin, eval, etc.  This field is used for require_relative.
17674	  [ruby-dev:40004]
17675
17676	* load.c (rb_f_require_relative): add C implementation of
17677	  require_relative.
17678
17679	* prelude.rb (require_relative): get rid of Ruby implementation of
17680	  require_relative.
17681
17682Wed Mar 17 01:24:01 2010  Yusuke Endoh  <mame@tsg.ne.jp>
17683
17684	* parse.y (rb_intern3): prohibit Symbol with an invalid encoding.
17685	  [ruby-core:24621]
17686
17687	* test/ruby/test_m17n_comb.rb: modify a test for above.
17688
17689Tue Mar 16 22:51:11 2010  Tanaka Akira  <akr@fsij.org>
17690
17691	* tool/transcode-tblgen.rb: specialize for singleton mappings.
17692
17693Tue Mar 16 20:13:00 2010  Kenta Murata  <mrkn@mrkn.jp>
17694
17695	* enc/trans/emoji.trans: added codepoints leading 0xf4 into
17696	  nomap_table.
17697
17698Tue Mar 16 17:33:30 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17699
17700	* ext/bigdecimal/bigdecimal.c (VpCtoV): keep e's sign.
17701	  When e doesn't over flow e * BASE_FIG but overflow e * 10,
17702	  e will overflow.
17703
17704Tue Mar 16 17:18:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17705
17706	* include/ruby/encoding.h (rb_str_conv_enc_opts): missing prototype.
17707
17708Tue Mar 16 15:20:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17709
17710	* ext/tmpdir: split from lib/tmpdir.rb.
17711
17712	* win32/win32.c (rb_w32_system_tmpdir): extracted from init_env.
17713
17714	* win32/win32.c (rb_w32_getcwd): removed duplicated code.
17715
17716Tue Mar 16 14:06:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17717
17718	* include/ruby/encoding.h (ENC_TO_ENCINDEX): suppress warnings.
17719
17720Tue Mar 16 14:03:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17721
17722	* configure.in (RSHIFT): parenthesize the argument of cast instead
17723	  of the result.
17724
17725Tue Mar 16 11:23:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17726
17727	* file.c (file_expand_path): ignore dname if it has different
17728	  drive letter or UNC.
17729
17730Tue Mar 16 07:16:56 2010  Tanaka Akira  <akr@fsij.org>
17731
17732	* tool/transcode-tblgen.rb: redundant loop removed.
17733
17734Tue Mar 16 07:01:43 2010  Tanaka Akira  <akr@fsij.org>
17735
17736	* tool/transcode-tblgen.rb: refactored to use tree as memo key.
17737
17738Tue Mar 16 04:05:13 2010  Tanaka Akira  <akr@fsij.org>
17739
17740	* tool/transcode-tblgen.rb: more info in generating macro names.
17741
17742Mon Mar 15 21:58:03 2010  Tanaka Akira  <akr@fsij.org>
17743
17744	* tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.
17745
17746Mon Mar 15 21:22:49 2010  Tanaka Akira  <akr@fsij.org>
17747
17748	* tool/transcode-tblgen.rb (transcode_tblgen): add valid_encoding
17749	  optional argument.
17750
17751	* enc/trans/single_byte.trans use valid_encoding argument for
17752	  transcode_tblgen.
17753
17754	* enc/trans/chinese.trans: ditto.
17755
17756Mon Mar 15 18:33:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17757
17758	* random.c (default_rand): removed initial buffer.
17759
17760	* random.c (Init_RandomSeed): initialize seed of default random.
17761
17762	* random.c (Init_RandomSeed2): turn the seed to Bignum object.
17763
17764Mon Mar 15 17:28:30 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
17765
17766	* io.c (rb_io_print): RDoc update.  a patch from Daniel Kelley
17767	  in [ruby-core:28643].
17768
17769Mon Mar 15 14:06:07 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17770
17771	* random.c (next_state): no initialization here.
17772
17773	* random.c (default_mt): always return initialized MT.
17774
17775Mon Mar 15 11:49:48 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17776
17777	* random.c (rb_reset_random_seed): set seed in this.
17778	  [ruby-core:28655]
17779
17780Mon Mar 15 10:26:02 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17781
17782	* ext/nkf/nkf-utf8/nkf.c: import latest nkf. [master 9306cb0]
17783	  this also fixes [ruby-dev:40607]
17784
17785Mon Mar 15 09:34:17 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17786
17787	* lib/uri/common.rb (URI.encode_www_component):
17788	  call str.to_s at first.
17789
17790Mon Mar 15 09:36:22 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17791
17792	* symbian/README.SYMBIAN: fixed broken patch and converted to
17793	  unified diff.
17794
17795Mon Mar 15 07:51:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17796
17797	* file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
17798
17799Mon Mar 15 07:41:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17800
17801	* file.c (realpath_rec): use same cache.
17802
17803	* file.c (realpath_internal): regulate separators in prefix.
17804	  [ruby-core:28653]
17805
17806	* file.c (FILE_ALT_SEPARATOR): separated condition.
17807
17808Mon Mar 15 04:41:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17809
17810	* io.c (rb_io_each_codepoint): read directly when readconv is
17811	  needed but internal encoding is not set.  [ruby-core:28650]
17812
17813Mon Mar 15 04:18:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17814
17815	* tool/file2lastrev.rb (VCS::{SVN,GIT}#get_revisions):
17816	  use block argument 'path' to get the path given by super.
17817
17818Mon Mar 15 02:43:59 2010  Tanaka Akira  <akr@fsij.org>
17819
17820	* tool/transcode-tblgen.rb (Action#hash): defined.
17821	  (Action#eql?): ditto.
17822	  (Action#==): ditto.
17823
17824Mon Mar 15 01:52:46 2010  Tanaka Akira  <akr@fsij.org>
17825
17826	* tool/transcode-tblgen.rb: refactored.
17827
17828Mon Mar 15 01:18:31 2010  Alexander Zavorine  <alexandre.zavorine@nokia.com>
17829
17830	* symbian/setup (*.pkg): Ruby Core installation separated from standard extensions.
17831
17832	* symbian/configure.bat: ditto.
17833
17834	* symbian/README.SYMBIAN: ditto.
17835
17836	* symbian/setup (config.h): support for 2nd internal drive added.
17837
17838Mon Mar 15 00:11:23 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17839
17840	* tool/file2lastrev.rb (VCS::GIT_SVN#get_revisions) :
17841	  use block argument 'path' to get the path given by super.
17842
17843	* tool/file2lastrev.rb (VCS::GIT#get_revisions):
17844	  use double quotes for Windows.
17845	  patched by Vladimir Sizikov [ruby-core:28651]
17846
17847Sun Mar 14 22:38:31 2010  Tanaka Akira  <akr@fsij.org>
17848
17849	* tool/transcode-tblgen.rb: consider valid_encoding for max_input.
17850
17851Sun Mar 14 15:46:09 2010  Tanaka Akira  <akr@fsij.org>
17852
17853	* enc/trans/emoji.trans: fix nomap_table.
17854
17855Sun Mar 14 09:50:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17856
17857	* compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern):
17858	  fixed format specifiers.
17859
17860Sun Mar 14 07:20:17 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
17861
17862	* file.c (EXPAND_PATH_BUFFER): make it back to usascii, to prevent
17863	  infinite loop on some platform. [ruby-dev:40629]
17864
17865Sun Mar 14 02:40:38 2010  Tanaka Akira  <akr@fsij.org>
17866
17867	* tool/transcode-tblgen.rb: reject ambiguous mapping.
17868
17869	* enc/trans/single_byte.trans: remove ambiguous mapping such as
17870	  \xD6 -> U+05F2 and \xD6\xC7 -> U+FB1F in Windows-1255
17871
17872Sat Mar 13 23:48:27 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
17873
17874	* file.c (file_expand_path): should not just copy the encoding
17875	  from fname.  [ruby-core:28635]
17876
17877	* file.c (EXPAND_PATH_BUFFER): set filesystem_encoding, not
17878	  usascii for path buffer.
17879
17880Sat Mar 13 17:48:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17881
17882	* tool/file2lastrev.rb: refactored.  fixed changed revision of git.
17883
17884Sat Mar 13 15:44:20 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
17885
17886	* io.c (rb_io_print): should not print field separator at the end
17887	  of arguments.  [ruby-talk:358633]
17888
17889Sat Mar 13 14:49:55 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
17890
17891	* enum.c (enum_join): remove Enumerable#join. [ruby-core:24786]
17892
17893	* array.c (ary_join_1): use #to_ary to detect recursive array.
17894
17895Sat Mar 13 12:26:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17896
17897	* include/ruby/io.h (MakeOpenFile): finalize fptr to get rid of
17898	  memory leak.
17899
17900Sat Mar 13 11:14:26 2010  Shugo Maeda  <shugo@ruby-lang.org>
17901
17902	* load.c (rb_get_expanded_load_path): expand paths if any item in $:
17903	  is not a string.
17904
17905Sat Mar 13 10:16:32 2010  Shugo Maeda  <shugo@ruby-lang.org>
17906
17907	* load.c (rb_get_expanded_load_path): does not expand paths if all
17908	  the items in $: are absolute paths.  [ruby-core:28113]
17909
17910Sat Mar 13 10:03:52 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
17911
17912	* ext/tk/extconf.rb: fix [Bug #2840] Tk doesn't built in mingw.
17913
17914Sat Mar 13 03:24:15 2010  Tanaka Akira  <akr@fsij.org>
17915
17916	* tool/transcode-tblgen.rb: show consumed time at last.
17917
17918Sat Mar 13 00:44:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17919
17920	* file.c (rb_file_s_basename): check encoding of suffix.
17921
17922Sat Mar 13 00:11:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17923
17924	* ruby.c (ruby_init_loadpath_safe): mark initial load paths.
17925
17926	* gem_prelude.rb (push_all_highest_version_gems_on_load_path):
17927	  search insertion position by initial load path mark.
17928
17929	* lib/rubygems.rb (Gem.load_path_insert_index): ditto.
17930
17931Fri Mar 12 21:34:00 2010  Kenta Murata  <mrkn@mrkn.jp>
17932
17933	* NEWS: emoji encodings.
17934
17935Fri Mar 12 17:14:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17936
17937	* lib/uri/common.rb (URI.encode_www_form): new method to
17938	  generate URL-encoded form data. [ruby-dev:39246]
17939
17940	* lib/uri/common.rb (URI.encode_www_component,
17941	  URI.decode_www_component): new method for encode/decode
17942	  a name/value of HTML form.
17943
17944Fri Mar 12 17:36:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17945
17946	* lib/webrick/httpservlet/cgihandler.rb
17947	  (WEBrick::HTTPServlet::CGIHandler#do_GET):
17948	  set binary mode for tempfile.
17949	  http://pc12.2ch.net/test/read.cgi/tech/1265467681/286
17950
17951Fri Mar 12 13:52:00 2010  Kenta Murata  <mrkn@mrkn.jp>
17952
17953	* tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace
17954	  rubylibprefix but not prefix.
17955
17956Fri Mar 12 09:43:11 2010  NARUSE, Yui  <naruse@ruby-lang.org>
17957
17958	* complex.c (f_signbit): remove condition for signbit because
17959	  all platforms have signbit from r26871.
17960
17961Fri Mar 12 07:25:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17962
17963	* win32/win32.c (init_env): get rid of alloca() for outer string.
17964
17965Fri Mar 12 07:17:15 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17966
17967	* ext/racc/cparse/cparse.c: suppressed warnings for shortening on
17968	  platforms where pointer is bigger than int.
17969
17970Fri Mar 12 07:15:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17971
17972	* ruby.c (ruby_init_loadpath_safe, ruby_init_gems): set and remove
17973	  TMP_RUBY_PREFIX.
17974
17975	* variable.c (rb_const_remove): new function.
17976
17977	* tool/compile_prelude.rb: split each preludes.
17978
17979Fri Mar 12 07:09:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17980
17981	* Makefile.in (config.status): setup MINIRUBY environment for
17982	  cross-compiling.
17983
17984Fri Mar 12 06:48:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17985
17986	* ext/tk/extconf.rb: log() is built-in in some compilers and needs
17987	  proper declaration.
17988
17989Fri Mar 12 06:37:13 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17990
17991	* sample/timeout.rb: split from lib/timeout.rb.
17992
17993Thu Mar 11 22:35:27 2010  Tanaka Akira  <akr@fsij.org>
17994
17995	* time.c (time_round): new method Time#round.  [ruby-dev:40595]
17996
17997Thu Mar 11 17:31:59 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
17998
17999	* transcode.c (str_transcode0): confirm the code range.
18000
18001Thu Mar 11 12:14:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18002
18003	* missing/signbit.c: added.
18004
18005Thu Mar 11 11:16:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18006
18007	* configure.in: check if target_archs has changed.
18008
18009Thu Mar 11 01:33:30 2010  wanabe  <s.wanabe@gmail.com>
18010
18011	* win32/win32.c (signbit): allow x64.
18012
18013Thu Mar 11 01:04:48 2010  Shugo Maeda  <shugo@ruby-lang.org>
18014
18015	* iseq.c (rb_iseq_clone): sets local_iseq and klass properly.
18016
18017Wed Mar 10 21:25:41 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18018
18019	* enum.c (min_ii, max_ii, minmax_ii): remove wrong optimization that
18020	  reuses array for yield parameter, which caused unexpected behavior.
18021	  [ruby-core:25989]
18022
18023Wed Mar 10 12:10:00 2010  Kenta Murata  <mrkn@mrkn.jp>
18024
18025	* enc/x_emoji.h: renamed from enc/x-emoji.c.
18026
18027Wed Mar 10 04:17:08 2010  Koichi Sasada  <ko1@atdot.net>
18028
18029	* compile.c (defined_expr), insns.def (defined): fix to pass a Symbol
18030	  object such as :$foo for the "defined?($foo)" expression
18031	  on defined instruction.  This patch fixes ISeq#to_a/load.
18032
18033Tue Mar  9 20:50:09 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18034
18035	* test/dl/test_method.rb: delete a residual test for dl on libffi.
18036
18037Tue Mar  9 18:00:00 2010  Kenta Murata  <mrkn@mrkn.jp>
18038
18039	* enc/trans/EMOJI/*.src, enc/trans/emoji*,
18040	  enc/x-emoji.c, test/ruby/enc/test_emoji.rb,
18041	  tool/enc-emoji-citrus-gen.rb, tool/enc-emoji4unicode.rb,
18042	  tool/jisx0208.rb, tool/test/test_jisx0208.rb:
18043	  new encodings to support emoji charsets, which are used by
18044	  Japanese mobile phones [ruby-dev:40528].
18045	  Thanks Yoji Shidara for a lot of contribution.
18046
18047	* tool/transcode-tblgen.rb: modified for enc-emoji4unicode.rb.
18048
18049Tue Mar  9 14:57:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18050
18051	* tool/transcode-tblgen.rb (ActionMap#generate_node):
18052	  remove useless dup.
18053
18054	* tool/transcode-tblgen.rb (transcode_tbl_only): remove duplicated
18055	  method call for encode_utf8.
18056
18057Tue Mar  9 14:55:00 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18058
18059	* re.c (rb_reg_to_s): remove unused variable.
18060
18061Tue Mar  9 12:17:34 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18062
18063	* tool/transcode-tblgen.rb (StrSet#parse, ActionMap#generate_node):
18064	  optimization (reusing object and improving memoize).
18065	  [ruby-dev:40582]
18066
18067Sun Mar  7 02:27:03 2010  Alexander Zavorine  <alexandre.zavorine@nokia.com>
18068
18069	* dln.c [DLN_NEEDS_ALT_SEPARATOR] (translit_separator): small typo
18070	  fixed.
18071
18072	* symbian/setup (*.pkg): Shared library installation path fixed to
18073	  match changes in version.c.
18074
18075	* symbian/setup (ruby.mmp): SOURCE dln_find.c added.
18076
18077Sun Mar  7 23:14:22 2010  Tanaka Akira  <akr@fsij.org>
18078
18079	* bignum.c (rb_big_pack): use DIGSPERLONG and BITSPERDIG.
18080	  (rb_big_unpack): use DIGSPERLONG.
18081
18082Sun Mar  7 19:21:10 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
18083
18084	* io.c: Fix documentation for each/each_line/lines, bytes/each_byte,
18085	  codepoints/each_code_point [ruby-core:23948]
18086
18087	* string.c: ditto
18088
18089	* ext/stringio/stringio.c: ditto
18090
18091Sun Mar  7 13:49:49 2010  Tanaka Akira  <akr@fsij.org>
18092
18093	* file.c: add optional basedir argument for realpath/realdirpath.
18094	  (realpath_internal): handle basedir.
18095	  (rb_file_s_realpath): extract basedir from argument list.
18096	  (rb_file_s_realdirpath): extract basedir from argument list.
18097
18098	* lib/pathname.rb (realpath): pass basedir.
18099	  (realdirpath): ditto.
18100
18101Sun Mar  7 02:05:38 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18102
18103	* encoding.c (enc_set_filesystem_encoding):
18104	  filesystem encoding on Mac OS X is now
18105	  default external encoding. so Mac OS X is now
18106	  treated as one of Unix. [ruby-dev:40439]
18107
18108	* file.c (file_path_convert): ditto.
18109
18110Sat Mar  6 22:07:09 2010  Tanaka Akira  <akr@fsij.org>
18111
18112	* pack.c: fix the prototype of rb_big2ulong_pack.
18113
18114Sat Mar  6 13:45:37 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18115
18116	* io.c (rb_io_s_write, rb_io_s_binwrite): delete File#write and
18117	  #binwrite.  It may take a long time to make them stable, so 1.9.2
18118	  should not include them.  We need refactoring to implement them
18119	  again.
18120
18121	* test/ruby/test_io.rb: delete tests for them.
18122
18123Sat Mar  6 10:03:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18124
18125	* io.c (rb_io_s_binwrite): use mode "r+b" instead of "ab" to handle
18126	  offset correctly.  [ruby-core:28517]
18127
18128	* test/ruby/test_io.rb: use assert_equal instead of assert.
18129
18130Sat Mar  6 01:08:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
18131
18132	* win32/Makefile.sub (config.h): VC6 has __int64.
18133
18134Fri Mar  5 19:36:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18135
18136	* transcode.c (econv_opts): set :undef => :replace when
18137	  :replace is given and :invalid is not given. [ruby-dev:40554]
18138
18139Fri Mar  5 17:51:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18140
18141	* io.c (pipe_open): suppressed a warning.
18142
18143	* win32/win32.c (rb_w32_map_errno, winnt_stat, rb_chsize): ditto.
18144
18145	* win32/win32.c (rb_w32_aspawn): get rid of overflow.
18146
18147Fri Mar  5 11:59:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18148
18149	* win32/win32.c (signbit): defined on mingw.
18150
18151Thu Mar  4 22:49:42 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18152
18153	* eval.c (setup_exception): avoid line number 0 when setting
18154	  $DEBUG=true.  [ruby-dev:39116]
18155
18156Thu Mar  4 22:45:02 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18157
18158	* io.c (io_s_write, io_s_binwrite): add File#write and #binwrite.
18159	  [ruby-core:21701]
18160
18161	* test/ruby/test_io.rb: add tests for above.
18162
18163Mon Mar  4 13:14:34 2010  wanabe  <s.wanabe@gmail.com>
18164
18165	* gc.c (gc_profile_total_time): add GC::Profiler.total_time.
18166	  [ruby-core:27169]
18167
18168	* NEWS: ditto.
18169
18170Thu Mar  4 10:15:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18171
18172	* complex.c (m_log, m_exp): remove unused functions.
18173
18174Thu Mar  4 02:34:59 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18175
18176	* test/ruby/test_env.rb (TestEnv#test_select_bang): add tests.
18177
18178Thu Mar  4 02:29:52 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
18179
18180	* test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.
18181
18182Thu Mar  4 00:10:54 2010  Tanaka Akira  <akr@fsij.org>
18183
18184	* tool/transcode-tblgen.rb (HEX2): extracted from regexps.
18185
18186Wed Mar  3 23:16:32 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
18187
18188	* complex.c (nucomp_real_check): raise TypeError instead of
18189	  ArgumentError when argument is not a real as expected
18190	  [ruby-core:28395]
18191
18192	* rational.c (nurat_int_check): ditto (for integers)
18193
18194Wed Mar  3 23:07:08 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
18195
18196	* lib/matrix.rb (Vector#each): Return self and optimization
18197	  [ruby-core:28405]
18198
18199Wed Mar  3 18:35:55 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18200
18201	* hash.c (rb_hash_select_bang): add #select! and keep_if to Hash.
18202
18203	* hash.c (env_select_bang): ..and to ENV.
18204
18205Wed Mar  3 15:54:20 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18206
18207	* lib/matrix.rb (Vector#each2, collect2): small refactoring.
18208
18209Wed Mar  3 16:14:24 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18210
18211	* lib/matrix.rb (Vector#each): make Vector enumerable.
18212	  [ruby-core:28405]
18213
18214Wed Mar  3 14:28:23 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18215
18216	* array.c (rb_ary_select_bang): select! removes all elements for
18217	  which block returns false.  [ruby-core:27286]
18218
18219	* array.c (rb_ary_keep_if): #keep_if, new method.
18220
18221Wed Mar  3 06:19:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18222
18223	* win32/win32.c (signbit): defined.
18224
18225	* win32/Makefile.sub, symbian/setup (config.h): pack.c requires
18226	  SIZEOF_INT*_T now.
18227
18228Tue Mar  2 21:16:48 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18229
18230	* io.c (rb_io_lines, rb_io_bytes, rb_io_chars, rb_io_codepoints):
18231	  change to alias to each_*, in similar way to ARGF and String.
18232	  [ruby-core:23948]
18233
18234Tue Mar  2 15:54:40 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18235
18236	* regcomp.c (noname_disable_map): add NT_ANCHOR case.
18237	  Without this change, captured groups in anchors (look-ahead,
18238	  look-behind, and so on) are not removed and
18239	  unintended invalid backref error occur. [ruby-core:28235]
18240
18241	* regcomp.c (renumber_by_map): ditto.
18242
18243Tue Mar  2 14:42:00 2010  Kenta Murata  <mrkn@mrkn.jp>
18244
18245	* test/dl/test_closure.rb: forget to revert at r26764.
18246
18247Tue Mar  2 14:29:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18248
18249	* file.c (rb_find_file_ext_safe, rb_find_file_safe): skip argument
18250	  checks in file_expand_path().
18251
18252Tue Mar  2 13:54:44 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
18253
18254	* test/ruby/test_math.rb: Fix lgamma test
18255
18256Mon Mar  1 23:26:56 2010  Tanaka Akira  <akr@fsij.org>
18257
18258	* ext/pty/pty.c (pty_open): refine the path for master IO.
18259
18260Mon Mar  1 20:07:06 2010  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
18261
18262	* ext/zlib/zlib.c (zstream_expand_buffer_into): remove compare
18263	  different type values warning.
18264
18265Mon Mar  1 17:42:45 2010  wanabe  <s.wanabe@gmail.com>
18266
18267	* configure.in (mingw): do not detect snprintf/vsnprintf.
18268
18269Mon Mar  1 16:54:21 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18270
18271	* include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2.
18272
18273	* re.c (make_regexp): use onig_new() instead of onig_alloc_init().
18274
18275	* re.c (rb_reg_to_s): ditto.
18276Sun Feb 28 21:32:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18277
18278	* ext/pty/pty.c (get_device_once): raise on error when fail is
18279	  non-zero.
18280
18281Sun Feb 28 18:58:00 2010  Kenta Murata  <mrkn@mrkn.jp>
18282
18283	* math.c (rb_eMathDomainError): new exception class
18284	  for representing mathematical domain error instead
18285	  of Errno::EDOM.
18286
18287	* math.c (domain_check, infinity_check): removed,
18288	  no longer needed.
18289
18290	* math.c (math_atan2, math_acos, math_asin, math_acosh,
18291	  math_atanh, math_log, math_log2, math_log10, math_sqrt,
18292	  math_gamma, math_lgamma): mathematical domain errors
18293	  are checked and raised before calling libm's functions.
18294
18295	* test/ruby/test_math.rb: updated for changes of math.c.
18296
18297Sun Feb 28 15:07:28 2010  Tanaka Akira  <akr@fsij.org>
18298
18299	* pack.c (pack_pack): use union to avoid pointer cast.
18300	  (pack_unpack): ditto.
18301
18302Sun Feb 28 11:49:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18303
18304	* openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0.
18305	  patched by Jeroen van Meeuwen at [ruby-core:25210]
18306	  fixed by Nobuyoshi Nakada [ruby-core:25238],
18307	  Hongli Lai [ruby-core:27417],
18308	  and Motohiro KOSAKI [ruby-core:28063]
18309
18310	* ext/openssl/ossl_pkcs7.c (pkcs7_get_certs, pkcs7_get_crls):
18311	  split pkcs7_get_certs_or_crls.
18312
18313Sun Feb 28 11:42:55 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18314
18315	* test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb,
18316	  test_x509req.rb}:
18317	  fix false positive tests because of OpenSSL spec change.
18318	  patched by originally Hongli Lai [ruby-core:27417],
18319	  and fixed by Motohiro KOSAKI [ruby-core:28063]
18320
18321Sun Feb 28 11:21:03 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18322
18323	* test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}:
18324	  remove false positive tests because of OpenSSL spec change.
18325	  patched by Motohiro KOSAKI [ruby-core:28063]
18326	  see also [ruby-dev:40077]
18327
18328Sun Feb 28 11:25:16 2010  Tanaka Akira  <akr@fsij.org>
18329
18330	* pack.c (pack_pack): generalized integer packer implemented.
18331	  (pack_unpack): generalized integer unpacker implemented.
18332
18333Sun Feb 28 06:58:53 2010  Tanaka Akira  <akr@fsij.org>
18334
18335	* pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later.
18336	  (swap64): ditto.
18337
18338Sun Feb 28 00:38:18 2010  Tanaka Akira  <akr@fsij.org>
18339
18340	* pack.c: use integer types with explicit size.
18341
18342Sat Feb 27 15:54:55 2010  Tanaka Akira  <akr@fsij.org>
18343
18344	* pack.c: check assumption on QUAD_SIZE and SIZEOF_LONG.
18345
18346	* bignum.c: check assumption on SIZEOF_LONG and SIZEOF_BDIGITS.
18347
18348Sat Feb 27 03:48:18 2010  Tanaka Akira  <akr@fsij.org>
18349
18350	* pack.c: fix q and Q for big endian environments which have no
18351	  8 bytes integer type.
18352	  (pack_pack): use rb_big_pack.
18353	  (pack_unpack): use rb_big_unpack.
18354
18355	* include/ruby/intern.h (rb_big_pack): declared.
18356	  (rb_big_unpack): ditto.
18357
18358	* bignum.c (rb_big_pack): new function.
18359	  (rb_big_unpack): ditto.
18360
18361Fri Feb 26 21:36:51 2010  Tanaka Akira  <akr@fsij.org>
18362
18363	* bignum.c: fix rb_quad_pack and rb_quad_unpack for environments
18364	  which don't have 8bytes integer type.  This still depends on little
18365	  endian.
18366	  (rb_quad_pack): use quad_buf_complement.  don't raise for large
18367	  values.
18368	  (rb_quad_unpack): use quad_buf_complement.
18369	  (quad_buf_complement): new function extracted from rb_quad_pack.
18370	  add one after bitwise negation.
18371
18372Fri Feb 26 21:29:48 2010  Tanaka Akira  <akr@fsij.org>
18373
18374	* configure.in (RSHIFT): add parenthesis to suppress warning.
18375
18376Fri Feb 26 20:51:47 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18377
18378	* ext/socket/raddrinfo.c, ext/socket/udpsocket.c: avoid illegal cast
18379	  from void-returning function to VALUE-returning one.  It causes SEGV
18380	  on RubySpec with mingw32.
18381
18382Fri Feb 26 20:07:48 2010  Tanaka Akira  <akr@fsij.org>
18383
18384	* pack.c (QUAD_SIZE): it should be always 8.
18385
18386	* bignum.c (rb_quad_pack): use LONG_LONG version only if
18387	  SIZEOF_LONG_LONG == QUAD_SIZE.
18388
18389Fri Feb 26 16:49:29 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18390
18391	* pack.c (swap64): fix for VC6.
18392
18393Fri Feb 26 14:17:09 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18394
18395	* pack.c (pack_pack, pack_unpack): suppressed warnings.
18396
18397Fri Feb 26 07:44:51 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18398
18399	* ext/dl: revert dl with libffi because it can't run on mswin now.
18400
18401Thu Feb 25 22:59:46 2010  Tanaka Akira  <akr@fsij.org>
18402
18403	* pack.c: consider DYNAMIC_ENDIAN.  refactored.
18404
18405Thu Feb 25 11:17:01 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18406
18407	* rational.c (nurat_expt): use Float#** when Rational ** Float.
18408	  This fixes Rational(3,1)**3.0=>26.99999999999999 on FreeBSD.
18409
18410	* complex.c (rb_fexpt): removed.
18411	  Note that this function is not static but is private.
18412
18413Thu Feb 25 00:43:57 2010  Koichi Sasada  <ko1@atdot.net>
18414
18415	* insns.def: Change the operand type of setinlinecache
18416	  (OFFSET to IC).  This IC must be same as corresponding
18417	  getinlinecache instruction's IC operand.
18418	  This change is for a little performance improvement
18419	  (getting IC directly) and is for the AOT compilation development.
18420
18421	* compile.c, iseq.c, insns.def: Change the approach to handling inline
18422	  cache (IC) type operand to enable the above change.
18423	  This change also affects ISeq#to_a method.  The inline cache operand
18424	  will be dumped by fixnum, the index of inline cache, in other words,
18425	  inline cache identity.
18426
18427	* template/insns_info.inc.tmpl, tool/instruction.rb: No need to count
18428	  inline cache size (insn_iclen()).
18429
18430Thu Feb 25 00:57:59 2010  Tanaka Akira  <akr@fsij.org>
18431
18432	* pack.c (swap64): don't redefine.
18433
18434Thu Feb 25 00:29:55 2010  Tanaka Akira  <akr@fsij.org>
18435
18436	* pack.c (pack_unpack): don't use OFF32 for gcc 4.5.
18437
18438Wed Feb 24 22:39:15 2010  Tanaka Akira  <akr@fsij.org>
18439
18440	* lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg.
18441	  (Resolv::DNS::Requester#request): raise ResolvTimeout
18442	  consistently for timeout.
18443
18444Wed Feb 24 14:38:16 2010  Eric Hodel  <drbrain@segment7.net>
18445
18446	* lib/rubygems/indexer: Removed obsolete files.
18447
18448Wed Feb 24 11:52:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18449
18450	* dln.c (translit_separator): moved back from load.c again.
18451
18452	* dln_find.c: split from dln.c.
18453
18454Wed Feb 24 09:31:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18455
18456	* ext/digest/extconf.rb: use OpenSSL only when all transform
18457	  functions are available.
18458
18459Wed Feb 24 00:39:17 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18460
18461	* string.c (str_new_empty): String#split, partition, rpartition
18462	  taints the resulting strings if self is tainted.
18463
18464Mon Feb 22 21:35:33 2010  Tanaka Akira  <akr@fsij.org>
18465
18466	* ext/digest/sha2/sha2init.c: test OpenSSL more strictly.
18467
18468Mon Feb 22 11:52:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18469
18470	* lib/rubygems: update to 1.3.6.
18471
18472Mon Feb 22 11:21:18 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18473
18474	* ext/digest/sha2: Use OpenSSL's SHA1 engine if available.
18475
18476Sun Feb 21 21:20:17 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18477
18478	* lib/mkmf.rb (create_makefile, install_files): honor srcprefix
18479	  argument if given.  [ruby-dev:40449]
18480
18481Sun Feb 21 13:29:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18482
18483	* lib/rubygems/rubygems_version.rb: outdated.  [ruby-core:28275]
18484
18485Sun Feb 21 06:24:12 2010  Alexander Zavorine  <alexandre.zavorine@nokia.com>
18486
18487	* symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined.
18488	* symbian/setup (ruby.mmp): SOURCE node.c added.
18489
18490Mon Feb 22 09:15:45 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18491
18492	* gc.c (gc_mark_children): lost comment added.
18493
18494Sat Feb 20 14:42:19 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18495
18496	* marshal.c (r_object0): should prepare placeholder before
18497	  processing instance variables.  [ruby-dev:40414]
18498
18499	* marshal.c (id2encidx): no longer need arg.
18500
18501Sat Feb 20 14:36:16 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18502
18503	* vm.c (vm_backtrace_each): use called_id when method definition
18504	  structure is already freed.  [ruby-dev:40234] [ruby-core:27959]
18505
18506Fri Feb 19 00:04:19 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18507
18508	* lib/drb/drb.rb (DRbServer#stop_service): join killed thread to
18509	  ensure service stops.  [ruby-dev:40441]
18510
18511Thu Feb 18 22:31:15 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18512
18513	* math.c (math_atanh): raise ERANGE without calling atanh if absolute
18514	  value is 1 to achieve platform-independent math.  [ruby-core:28219]
18515
18516	* math.c (math_lgamma): return [Infinity, 1] without calling lgamma_r
18517	  if argument is infinity or -infinity.  [ruby-core:28219]
18518
18519Thu Feb 18 22:28:00 2010  Kenta Murata  <mrkn@mrkn.jp>
18520
18521	* configure.in: new --with-ext and --with-out-ext options for extmk.
18522	* tool/mkconfig.rb: normalizing --with-out-ext to --without-ext.
18523
18524Thu Feb 18 21:50:00 2010  Tanaka Akira  <akr@fsij.org>
18525
18526	* pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.
18527
18528Thu Feb 18 02:14:26 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18529
18530	* io.c (io_fread, io_getpartial, io_read, io_sysread): by using lock,
18531	  prohibit modification of buffer string during read (which had caused
18532	  EFAULT or SEGV).  [ruby-dev:40437]
18533
18534	* test/ruby/test_io.rb: rewrite tests for the old behavior.
18535
18536Wed Feb 17 21:34:01 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18537
18538	* regcomp.c (setup_tree, onig_compile): optimize .* at last by
18539	  converting into (?>.*), which does not backtrack.  [ruby-core:27791]
18540
18541	* test/ruby/test_regexp.rb: add a test for above.
18542
18543Wed Feb 17 21:26:53 2010  Tanaka Akira  <akr@fsij.org>
18544
18545	* bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
18546
18547Wed Feb 17 17:05:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18548
18549	* vm_insnhelper.c (vm_call_cfunc): removed unused variable.
18550
18551	* vm.c (vm_frametype_name): define only when VMDEBUG.
18552
18553Wed Feb 17 15:34:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18554
18555	* ext/dl/dl_conversions.c (rb_dl_type_to_ffi_type): support signed
18556	  long long.
18557
18558	* ext/dl/cfunc.c (rb_dlcfunc_inspect): get rid of overflow.
18559
18560	* ext/dl/closure.c (dlc_callback, rb_dlclosure_init): ditto.
18561
18562	* ext/dl/cptr.c (rb_dlptr_s_malloc): ditto.
18563
18564	* ext/dl/method.c (rb_dlfunction_initialize): ditto.
18565
18566Wed Feb 17 01:16:12 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18567
18568	* hash.c (hash_update): always raise an exception when adding a new
18569	  key during iteration.  Traditionally, an exception was raised only
18570	  when rehash occurs, but it may lead to difficult bug to reproduce.
18571	  [ruby-core:23614]
18572
18573Tue Feb 16 22:09:27 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18574
18575	* gc.c (chain_finalized_object): fix precedence.
18576
18577Tue Feb 16 21:32:01 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18578
18579	* gc.c (rb_objspace_call_finalizer): always run finalizer at exit,
18580	  before object is free'd.  [ruby-dev:40382]
18581
18582Tue Feb 16 20:56:39 2010  Tanaka Akira  <akr@fsij.org>
18583
18584	* file.c (rb_group_member): renamed from group_member.
18585	  don't use group_member() in glibc because it's not valgrind clean.
18586	  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570047
18587
18588Tue Feb 16 19:19:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18589
18590	* ext/dl/cfunc.c (rb_dlcfunc_call): convert signed value to
18591	  unsigned.
18592
18593Tue Feb 16 19:02:59 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18594
18595	* test/dl/test_{base,handle}.rb: use more verbose assertions.
18596
18597	* test/dl/test_import.rb (DL::LIBC::BoundQsortCallback): renamed
18598	  to get rid of overwriting warning.
18599
18600Tue Feb 16 11:03:19 2010  Aaron Patterson  <aaron@tenderlovemaking.com>
18601
18602	* ext/dl/method.c: Adding DL::Method as a superclass for DL::Function
18603
18604Mon Feb 15 23:37:30 2010  Tanaka Akira  <akr@fsij.org>
18605
18606	* io.c: check lseek error by errno.  NetBSD 4.0.1 may return -1 as
18607	  a file position of tty.
18608
18609Mon Feb 15 23:08:56 2010  Tanaka Akira  <akr@fsij.org>
18610
18611	* lib/pstore.rb (PStore#initialize): initialize @thread_safe.
18612	  [ruby-core:27853]
18613
18614Mon Feb 15 22:45:26 2010  Tanaka Akira  <akr@fsij.org>
18615
18616	* st.c (st_foreach): don't access ptr->hash after func call.
18617	  It may access freed area.
18618
18619Mon Feb 15 22:25:16 2010  Tanaka Akira  <akr@fsij.org>
18620
18621	* ext/zlib/zlib.c (zlib_mem_alloc): suppress valgrind warnings.
18622	  http://www.zlib.net/zlib_faq.html#faq36
18623
18624Mon Feb 15 22:18:49 2010  Tanaka Akira  <akr@fsij.org>
18625
18626	* time.c (time_add): propagate fixed time offset.
18627
18628Mon Feb 15 17:42:20 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18629
18630	* signal.c (USE_SIGALTSTACK): NetBSD can't use sigaltstack(2)
18631	  with pthread.
18632	  http://netbsd.gw.com/cgi-bin/man-cgi?sigaltstack++NetBSD-current
18633
18634Mon Feb 15 13:11:47 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18635
18636	* array.c (rb_ary_push_m): use rb_ary_modify instead of
18637	  rb_ary_modify_check. This fixes regression due to r26632.
18638
18639Sun Feb 14 12:54:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18640
18641	* marshal.c (r_object0): removed duplicated entry for regexp.
18642	  [ruby-dev:40416]
18643
18644Sun Feb 14 04:45:31 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18645
18646	* marshal.c (r_object0): register regexp object before encoding
18647	  name.  [ruby-dev:40414]
18648
18649	* re.c (rb_reg_alloc, rb_reg_init_str): split from rb_reg_new_str.
18650
18651Sat Feb 13 17:07:20 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18652
18653	* array.c (rb_ary_delete): RDoc update.  a patch from Hugh Sasse.
18654	  [ruby-core:28128]
18655
18656	* array.c (rb_ary_compact_bang): ditto.
18657
18658Sat Feb 13 15:01:24 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18659
18660	* marshal.c (id2encidx): duplicated entry for encoding name.
18661	  [ruby-dev:40388]
18662
18663Sat Feb 13 12:17:52 2010  Tanaka Akira  <akr@fsij.org>
18664
18665	* lib/tempfile.rb (Tempfile::Remover): new class to replace
18666	  Tempfile.callback.  port r24902 from Ruby 1.8.
18667
18668Fri Feb 12 17:55:21 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18669
18670	* vm.c (thread_free): fixed typo.
18671
18672Fri Feb 12 02:27:39 2010  Akinori MUSHA  <knu@iDaemons.org>
18673
18674	* lib/set.rb (Set#initialize, Set#replace, Set#merge)
18675	  (Set#subtract, Set#&): Fix duck type tests. [ruby-core:28078]
18676
18677	* lib/set.rb (Set#initialize, Set#replace, Set#merge)
18678	  (Set#subtract, Set#&): Try #each if #each_entry fails.
18679
18680Thu Feb 11 20:43:00 2010  Tanaka Akira  <akr@fsij.org>
18681
18682	* io.c (rb_io_oflags_modestr): return "r" for O_RDONLY|O_APPEND.
18683	  [ruby-dev:40379]
18684
18685Thu Feb 11 19:19:21 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
18686
18687	* missing/alloca.c: s/RUBY_LIB/RUBY_LIB_PREFIX/ [ruby-dev:40395]
18688
18689Thu Feb 11 17:52:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18690
18691	* vm.c (vm_exec): reset thread state before restarting vm loop
18692	  from catch scope.  [ruby-core:28129], [ruby-core:28143]
18693
18694Thu Feb 11 14:43:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18695
18696	* marshal.c (r_object0): read sequentially since marshal source
18697	  may not be possible to rewind.  [ruby-dev:40386]
18698
18699	* marshal.c (r_object0): replace non-1.8 escapes directly.
18700
18701Thu Feb 11 09:49:31 2010  Tanaka Akira  <akr@fsij.org>
18702
18703	* lib/resolv.rb: fix [ruby-core:28144] reported by Hans de Graaff.
18704	  (Resolv::DNS#make_requester): pass nameserver_port to
18705	  UnconnectedUDP.new.
18706	  (Resolv::DNS.bind_random_port): change the is_ipv6 argument to
18707	  bind_host.
18708	  (Resolv::DNS::Requester#initialize): change instance variable to
18709	  store multiple sockets.
18710	  (Resolv::DNS::Requester#request): pass readable sockets to
18711	  recv_reply.
18712	  (Resolv::DNS::Requester#close): close all sockets.
18713	  (Resolv::DNS::Requester::UnconnectedUDP#initialize): allocate
18714	  a socket for each address family of name servers.
18715	  (Resolv::DNS::Requester::UnconnectedUDP#recv_reply): read from the
18716	  passwd readable socket.
18717	  (Resolv::DNS::Requester::UnconnectedUDP#sender): use appropriate
18718	  socket for the target nameserver.
18719	  (Resolv::DNS::Requester::ConnectedUDP): follow the instance variable
18720	  change.
18721	  (Resolv::DNS::Requester::TCP#sender): ditto.
18722	  (Resolv::DNS::Config#nameserver_port): new method.
18723
18724Thu Feb 11 01:45:04 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18725
18726	* vm.c (vm_exec): temporarily revert r26628, which causes SEGV when
18727	  executing rubyspec.
18728
18729Wed Feb 10 16:31:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18730
18731	* array.c (rb_ary_push_m, rb_ary_unshift_m, rb_ary_aset),
18732	  (rb_ary_insert, rb_ary_replace, rb_ary_concat),
18733	  (rb_ary_uniq_bang, rb_ary_flatten_bang): check if frozen after
18734	  wrong number of arguments but before TypeError.
18735	  [ruby-core:28140]
18736
18737	* hash.c (rb_hash_replace): ditto.
18738
18739	* string.c (rb_str_replace): ditto.
18740
18741Wed Feb 10 04:06:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18742
18743	* vm.c (vm_exec): reset thread state before starting vm loop.
18744	  [ruby-core:28129]
18745
18746Tue Feb  9 23:48:25 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18747
18748	* ext/bigdecimal/bigdecimal.c (BigDecimal_divide): fix precision too.
18749
18750Tue Feb  9 23:26:07 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18751
18752	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): fix precision.
18753	  [ruby-core:17472][ruby-dev:35372][ruby-dev:40105][ruby-dev:40358]
18754
18755Tue Feb  9 22:23:27 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18756
18757	* io.c (READ_CHECK): do not select fd before reading, that had made
18758	  TCPServer#gets stuck.  [ruby-dev:40317]
18759
18760Tue Feb  9 21:27:38 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18761
18762	* lib/rexml/text.rb (REXML::Text#initialize): REXML::Text.new checks
18763	  raw text for illegal characters without entity check, for the sake
18764	  of 1.8 compatibility.  This had caused rubyspec error.
18765
18766Mon Feb  8 23:49:24 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18767
18768	* io.c (rb_io_getline_fast): wrong calculation of new position
18769	  from rb_str_coderange_scan_restartable().  [ruby-core:28103]
18770
18771	* io.c (read_all): ditto.
18772
18773	* sprintf.c (rb_str_format): ditto.
18774
18775Mon Feb  8 21:03:53 2010  Tanaka Akira  <akr@fsij.org>
18776
18777	* ext/socket/socket.c (socket_s_ip_address_list): obtain the scope_id
18778	  of IPv6 link local address on OpenSolaris.
18779
18780Mon Feb  8 16:27:57 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18781
18782	* dmyversion.c: empty load path in miniruby.
18783
18784	* common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
18785
18786	* tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer
18787	  contains "." in $:.
18788
18789Mon Feb  8 15:15:07 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18790
18791	* object.c (rb_obj_clone): call initialize_clone hook method to
18792	  call initialize_copy.
18793
18794	* object.c (rb_obj_dup): call initialize_dup hook.
18795
18796	* lib/delegate.rb (Delegator#initialize_clone): use new hook to
18797	  implement deep copy.  [ruby-dev:40242]
18798
18799	* lib/delegate.rb (Delegator#initialize_dup): ditto.
18800
18801	* test/test_delegate.rb (TestDelegateClass#test_copy_frozen): add
18802	  a test to ensure #clone copies frozen status.
18803
18804Mon Feb  8 10:28:58 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
18805
18806	* configure.in: check pthread_attr_getstack to prevent obsolete
18807	  warning for pthread_attr_getstackaddr.
18808
18809Sun Feb  7 23:12:34 2010  Tanaka Akira  <akr@fsij.org>
18810
18811	* sample/test.rb: sort files for syntax validation.
18812
18813Sun Feb  7 23:08:53 2010  Tanaka Akira  <akr@fsij.org>
18814
18815	* bootstraptest/runner.rb: sort test files.
18816
18817Sun Feb  7 12:53:12 2010  Tanaka Akira  <akr@fsij.org>
18818
18819	* lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=>
18820	  definition at Kernel.
18821
18822Sun Feb  7 03:01:46 2010  Tanaka Akira  <akr@fsij.org>
18823
18824	* math.c (math_lgamma): initialize sign because
18825	  lgamma(NaN) doesn't set the sign in OpenSolaris.
18826
18827Sun Feb  7 00:23:21 2010  Shugo Maeda  <shugo@ruby-lang.org>
18828
18829	* class.c (rb_class_init_copy): raise a TypeError if the argument is
18830	  BasicObject.  [ruby-core:27060]
18831
18832Sat Feb  6 23:37:11 2010  Shugo Maeda  <shugo@ruby-lang.org>
18833
18834	* lib/net/ftp.rb (initialize): set @sock to a NullSocket instance to
18835	  raise FTPConnectionError when not connected.   [ruby-dev:40258]
18836
18837Sat Feb  6 23:25:57 2010  Shugo Maeda  <shugo@ruby-lang.org>
18838
18839	* ext/curses/view2.rb: replaced with Hugh Sasse's version.
18840	  [ruby-core:27894]
18841
18842Sat Feb  6 22:57:00 2010  Shugo Maeda  <shugo@ruby-lang.org>
18843
18844	* lib/net/imap.rb (receive_responses): does not hang when an
18845	  unexpected BYE response received.  fixed [ruby-core:27944].
18846	  Thanks, Bob Potter.
18847
18848Sat Feb  6 21:31:23 2010  Shugo Maeda  <shugo@ruby-lang.org>
18849
18850	* lib/monitor.rb (wait): supported timeout.
18851
18852	* test/net/imap/test_imap.rb (test_exception_during_idle): use timeout.
18853
18854Sat Feb  6 19:35:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18855
18856	* tool/compile_prelude.rb: fix require path.
18857
18858Sat Feb  6 12:02:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18859
18860	* lib/delegate.rb (Delegator#method_missing),
18861	  (Delegator.delegating_block): don't hide backtrace from
18862	  __getobj__ and reduced exception messages when $DEBUG.
18863
18864Sat Feb  6 11:35:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18865
18866	* ext/socket/ipsocket.c (ip_addr, ip_peeraddr),
18867	  ext/socket/socket.c (sock_s_getaddrinfo): added optional
18868	  reverse_lookup flag.  [ruby-core:28007]
18869
18870Sat Feb  6 01:55:02 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18871
18872	* ext/stringio/stringio.c (strio_ungetc): pads with \000 when the
18873	  current position is after the end.  [ruby-dev:40271]
18874
18875Sat Feb  6 01:14:54 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18876
18877	* ext/purelib.rb, common.mk: to simulate ruby command more precisely,
18878	  remove "." from $: of virtual environment for build and test.
18879
18880Sat Feb  6 00:02:31 2010  Tanaka Akira  <akr@fsij.org>
18881
18882	* random.c (fill_random_seed): don't use O_NOFOLLOW because
18883	  /dev/urandom is a symlink in OpenSolaris.
18884
18885	* lib/securerandom.rb (SecureRandom.random_bytes): ditto.
18886
18887Fri Feb  5 16:38:08 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18888
18889	* lib/delegate.rb (Delegator): include copy of Kernel.
18890	  [ruby-dev:40314]
18891
18892	* lib/delegate.rb (Delegator#{dup,clone}): class of copy should be
18893	  Delegator.  [ruby-dev:40313]
18894
18895Fri Feb  5 09:26:54 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18896
18897	* bignum.c (big_op): remove unused variables.
18898
18899Fri Feb  5 02:06:57 2010  Aaron Patterson  <tenderlove@ruby-lang.org>
18900
18901	* lib/yaml/rubytypes.rb: Struct members are emitted without a leading
18902	  colon.  Thanks Yusuke Endoh! [ruby-core:28052]
18903
18904	* test/yaml/test_struct.rb: fixed tests to go with Struct changes
18905
18906	* test/yaml/test_yaml.rb: fixed tests to go with Struct changes
18907
18908Fri Feb  5 00:34:24 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18909
18910	* bignum.c (big_gt, big_ge, big_lt, big_ge): added Bignum#>, >=, < and
18911	  <= to allow to compare with BigDecimal.  [ruby-dev:40167]
18912
18913Thu Feb  4 15:47:27 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18914
18915	* thread_pthread.c (native_thread_init_stack): use get_stack.
18916	  patched by KOSAKI Motohiro [ruby-dev:40309]
18917
18918	* thread_pthread.c (ruby_init_stack): use get_stack
18919	  on platforms which have pthread_attr_get_np.
18920	  (FreeBSD, DragonFlyBSD and NetBSD)
18921	  This is because FreeBSD and DragonFly BSD must use
18922	  pthread_attr_get_np to get stack size of main thread,
18923	  but Mac OS X and Linux with LinuxThreads must use getrlimit.
18924	  <http://www.nminoru.jp/~nminoru/programming/stackoverflow_handling.html>
18925	  <http://d.hatena.ne.jp/nurse/20100204>
18926
18927Thu Feb  4 09:55:38 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18928
18929	* configure.in: FreeBSD, DragonFly BSD and OpenBSD needs
18930	  pthread_np.h to use pthread_*_np functions.
18931	  OpenBSD's pthread_*_np also depend sys/signal.h,
18932	  but it is included at signal.h via vm_core.h via thread.c.
18933
18934Thu Feb  4 08:15:53 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18935
18936	* lib/delegate.rb (Delegator): now inherits BasicObject.
18937	  [ruby-dev:39154], [Bug #2679], [ruby-dev:40242]
18938
18939Thu Feb  4 03:00:59 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18940
18941	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): get red of
18942	  floating point exception.
18943
18944Thu Feb  4 01:24:01 2010  Yusuke Endoh  <mame@tsg.ne.jp>
18945
18946	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): fix infinity
18947	  handling.  1 / Infinity was evaluated to NaN.
18948
18949Thu Feb  4 00:37:43 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18950
18951	* time.c (time_mdump, time_mload): dump/load utc_offset.
18952	  [ruby-dev:40063]
18953
18954Wed Feb  3 22:22:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18955
18956	* configure.in: check for non-portable stack attribute functions.
18957
18958Wed Feb  3 20:10:52 2010  Tanaka Akira  <akr@fsij.org>
18959
18960	* ext/iconv/charset_alias.rb: pass block argument to outer local
18961	  variable.
18962
18963Wed Feb  3 20:08:05 2010  Tanaka Akira  <akr@fsij.org>
18964
18965	* file.c (realpath_rec): rb_path_last_separator may return NULL.
18966
18967Wed Feb  3 13:15:24 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18968
18969	* thread_pthread.c: DragonFlyBSD is also the same as FreeBSD
18970	  on getting the stack size of the main thread.
18971
18972Wed Feb  3 12:30:10 2010  NARUSE, Yui  <naruse@ruby-lang.org>
18973
18974	* thread_pthread.c (ruby_init_stack): use pthread_get_attr_np
18975	  to get the stack size of the main thread on FreeBSD.
18976
18977	* thread_pthread.c: include pthread_np.h on FreeBSD.
18978
18979Wed Feb  3 11:38:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
18980
18981	* ext/dl/{closure,function}.c: removed C99 features and warnings.
18982
18983Wed Feb  3 10:12:09 2010  Aaron Patterson  <tenderlove@ruby-lang.org>
18984
18985	* ext/dl/function.c: DL::Function now uses libffi
18986
18987	* ext/dl/cfunc.c (rb_dl_set_last_error): set to non static so errors
18988	  can be exposed.
18989
18990	* ext/dl/closure.c: DL::Closure will now be used in place of
18991	  ext/dl/callback/*.
18992
18993	* ext/dl/dl.c: legacy callbacks removed in favor of libffi
18994
18995	* ext/dl/dl_conversions.(c,h): used for converting ruby types to FFI
18996	  types.
18997
18998	* ext/dl/callback/*: replaced by libffi callbacks.
18999
19000	* ext/dl/lib/dl/callback.rb: Converting internal callbacks to use
19001	  DL::Closure
19002
19003	* ext/dl/lib/dl/closure.rb: Ruby parts of the new DL::Closure object
19004
19005	* ext/dl/lib/dl/import.rb: More conversion to use DL::Closure object
19006
19007	* ext/dl/lib/dl/value.rb (ruby2ffi): adding private method for
19008	  DL::CPtr to ffi value conversion.
19009
19010Tue Feb  2 18:15:12 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19011
19012	* ext/socket/socket.c: turn on do_not_reverse_lookup by default,
19013	  which has been reverted in r9880 probably unintentionally,
19014	  according to matz.  [ruby-core:24530]
19015
19016Tue Feb  2 14:46:06 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
19017
19018	* enumerator.c: move implementation of each_slice, each_cons,
19019	  each_with_object to enum.c.
19020
19021	* enum.c (each_slice_i): convert multiple values from yield into
19022	  an array.
19023
19024	* enum.c (each_cons_i): ditto.
19025
19026	* enum.c (each_with_object_i): ditto.
19027
19028Tue Feb  2 14:30:27 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
19029
19030	* enum.c (enum_each_entry): new method #each_entry to pack values
19031	  from yield into an array.
19032
19033	* lib/set.rb (Set#merge): use Enumerable#each_entry to implement
19034	  Set compatible to 1.8 behavior.  [ruby-core:27985]
19035
19036	* lib/set.rb: replace is_a?(Enumerable) with respond_to?(:each)
19037	  for duck typing.
19038
19039	* lib/set.rb (SortedSet#add): typo fixed.
19040
19041Tue Feb  2 11:13:56 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19042
19043	* lib/delegate.rb (Delegator#marshal_dump): exclude
19044	  delegator-specific instance variables.
19045
19046Mon Feb  1 21:26:41 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19047
19048	* lib/matrix.rb (Vector#each2): returns a self.  [ruby-dev:40241]
19049
19050Mon Feb  1 17:08:42 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
19051
19052	* numeric.c (flo_minus): RDoc update.  a patch from red stun
19053	  in [ruby-core:27951]
19054
19055Mon Feb  1 07:36:33 2010  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
19056
19057	* ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.
19058
19059	* ext/tk/lib/tk.rb: [ruby1.9] fix freeze at exit.
19060
19061	* ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError
19062	  for TkWindow#to_ary and to_str.
19063
19064	* ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments.
19065
19066	* ext/tk/sample/tkballoonhelp.rb: fail to support TkEntry widgets.
19067
19068Sun Jan 31 23:20:43 2010  wanabe  <s.wanabe@gmail.com>
19069
19070	* io.c (rb_io_each_codepoint): use cbuf when needs readconv.
19071
19072Sun Jan 31 23:07:23 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19073
19074	* test/ruby/test_dir.rb: use string instead of symbol as file name.
19075
19076Sun Jan 31 22:41:33 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19077
19078	* string.c (rb_string_value): fix the previous commit.
19079
19080Sun Jan 31 21:43:35 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19081
19082	* string.c (rb_string_value): make no exception for Symbol.
19083	  [ruby-dev:40274]
19084
19085Sun Jan 31 21:10:15 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19086
19087	* vm_insnhelper.c (vm_throw): fixed infinite loop.  [ruby-core:27969]
19088
19089Sun Jan 31 21:29:58 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19090
19091	* lib/rexml/text.rb (REXML::Text#initialize): do Text.check only when
19092	  parent is specified, since Text.check may need doctype.  partially
19093	  revert r26518.
19094
19095Sun Jan 31 15:50:34 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19096
19097	* lib/rexml/text.rb (REXML::Text#initialize): fix typo and a bug that
19098	  seems to be caused by refactoring.
19099
19100Sun Jan 31 15:46:37 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19101
19102	* lib/rexml/parent.rb (REXML::Parent#delete): return the deleted node
19103	  because the rdoc of REXML::Element#delete_element says it returns
19104	  "the element that was removed."  [REXMLTracker#161]
19105
19106Sun Jan 31 14:33:00 2010  James Edward Gray II  <jeg2@ruby-lang.org>
19107
19108	* lib/csv.rb: A bug fix for deleting blank Table rows from Andy Hartford.
19109
19110Sun Jan 31 13:31:43 2010  wanabe  <s.wanabe@gmail.com>
19111
19112	* gc.c (obj_free): free rb_classext_t of eigenclass.  [Bug #1392]
19113
19114Sun Jan 31 13:00:14 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19115
19116	* lib/rexml/document.rb (REXML::Document#add): fix duplicate XMLDecls
19117	  and bad DocTypes in REXML::Document.    (Bug #19058) [ruby-core:27979]
19118	  based on the patch by Federico Builes.
19119
19120Fri Jan 29 22:49:21 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19121
19122	* lib/getoptlong.rb (set_options): ensure that the type of argument is
19123	  Array, restoring this check that was deleted at r10239.  This caused
19124	  rubyspec error.
19125
19126Fri Jan 29 12:59:33 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19127
19128	* configure.in (mingw): needs $(DEFFILE) for extension libraries.
19129	  [ruby-core:27946]
19130
19131Fri Jan 29 11:09:49 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19132
19133	* lib/mkmf.rb (try_do): log no source when no development env.
19134
19135	* lib/mkmf.rb (create_makefile): srcprefix always needs $(srcdir).
19136
19137	* lib/mkmf.rb (create_makefile): yield configuration if a block is
19138	  given.
19139
19140Fri Jan 29 09:43:30 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19141
19142	* enc/trans/utf8_mac.trans (buf_shift_char): don't see uninitialized
19143	  value. [ruby-dev:40233]
19144
19145Fri Jan 29 01:42:24 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
19146
19147	* lib/delegate.rb (Delegator#initialize_copy): use initialize_copy
19148	  instead of overriding clone/dup.  [ruby-dev:40221]
19149	  it now always clones the target, it might cause incompatibility.
19150
19151Fri Jan 29 01:26:53 2010  Yukihiro Matsumoto  <matz@ruby-lang.org>
19152
19153	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): update RDoc to
19154	  denote that #to_i raises FloatDomainError for Inf and NaN.
19155
19156	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): fast #to_i using
19157	  BigDecimal_split().
19158
19159	* bignum.c (conv_digit): use faster ISDIGIT() assuming ASCII.
19160
19161Fri Jan 29 00:18:54 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19162
19163	* lib/cgi.rb: set autoload to CGI::HtmlExtension.  [ruby-dev:40194]
19164
19165Thu Jan 28 09:44:19 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19166
19167	* regcomp.c (onig_compile): initialize ScanEnv.
19168	  mainly to initialize env->warnings_flag [ruby-dev:40196]
19169
19170	* regparse.c (scan_env_clear): clear warnings_flag.
19171
19172Wed Jan 27 23:33:21 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19173
19174	* test/matrix/test_matrix.rb, test/matrix/test_vector.rb: add some
19175	  tests.
19176
19177Wed Jan 27 23:29:36 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19178
19179	* lib/thread.rb (ConditionVariable#wait, signal, broadcast): return
19180	  self (for 1.8 compatibility).
19181
19182Wed Jan 27 23:27:54 2010  Keiju Ishitsuka  <keiju@emperor2.pendome>
19183
19184	* lib/matrix.rb: add exception Matrix::ErrOperationNotImplemented
19185	  [ruby-dev:40149].
19186	* lib/matrix.rb: change message of exception
19187	  Matrix::ErrOperationNotDefined [ruby-dev:40150], [ruby-dev:40176].
19188	* lib/matrix.rb: add method Vector#/ [ruby-dev:40151].
19189	* lib/matrix.rb(Matrix::Scalar#+,-,/): delete meaningless when
19190	  switch. [ruby-dev:40149]
19191
19192Wed Jan 27 23:22:54 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
19193
19194	* vm_dump.c (bugreport_backtrace): trivial change.
19195
19196	* vm_dump.c (rb_vm_bugreport): uninitialized local variable i.
19197	  [ruby-dev:40169]
19198
19199	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test):
19200	  follow above change.
19201
19202Wed Jan 27 23:20:52 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
19203
19204	* test/ruby/test_exception.rb
19205	  (TestException#test_thread_signal_location):
19206	  change test method name.
19207
19208Wed Jan 27 22:48:40 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19209
19210	* lib/matrix.rb (determinant): fix name error.
19211
19212Wed Jan 27 22:26:25 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19213
19214	* vm_eval.c (rb_backtrace): "circular require" warning was output to
19215	  stdout except the first line.  All line is output to stderr now.
19216	  [ruby-dev:40147]
19217
19218Wed Jan 27 00:22:20 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19219
19220	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod, BigDecimal_mod,
19221	  BigDecimal_divmod, BigDecimal_div2): BigDecimal#% and #div returned
19222	  an array itself that was returned by #divmod.
19223
19224Wed Jan 27 00:19:30 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19225
19226	* ext/bigdecimal/bigdecimal.c (VpCtoV): do not raise infinity
19227	  exception for BigDecimal("0E200000000000").
19228
19229Tue Jan 26 21:50:31 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19230
19231	* ext/bigdecimal/bigdecimal.c (VpCtoV): BigDecimal("0E200000000000")
19232	  was Infinity, not 0.
19233
19234	* test/bigdecimal/test_bigdecimal.rb: add a test for above.
19235
19236Tue Jan 26 21:36:22 2010  Tanaka Akira  <akr@fsij.org>
19237
19238	* configure.in: test unsetenv returns a value.
19239	  unsetenv is void in older BSDs (FreeBSD 6 and OpenBSD 4.5 at least).
19240
19241	* hash.c (ruby_setenv): don't use the result of unsetenv if unsetenv
19242	  doesn't return a value.
19243
19244Tue Jan 26 21:32:03 2010  Tanaka Akira  <akr@fsij.org>
19245
19246	* ext/socket/extconf.rb: suppress a warning.
19247
19248	* ext/extmk.rb: ditto.
19249
19250Tue Jan 26 20:23:22 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19251
19252	* vm.c (rb_vm_invoke_proc): this function must not catch TAG_RETURN
19253	  because vm_exec does.  This caused rubyspec error.  [ruby-dev:40158]
19254
19255Tue Jan 26 20:21:28 2010  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
19256
19257	* lib/drb/eq.rb: fix circular require in drb.
19258	  reported by akr. see [ruby-dev:40156] [ruby-core:27661]
19259
19260Tue Jan 26 19:59:17 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19261
19262	* ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656]
19263	  patched by Hugh Sasse [ruby-core:27692] [ruby-core:27852]
19264
19265	* ext/zlib/doc/zlib.rd: removed.
19266
19267Tue Jan 26 16:43:34 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19268
19269	* ext/strscan/strscan.c: fix rdoc. (length -> bytesize)
19270	  reported by Kornelius Kalnbach. see [ruby-core:27792]
19271
19272Tue Jan 26 07:06:05 2010  Tanaka Akira  <akr@fsij.org>
19273
19274	* lib/matrix.rb: suppress warnings.
19275
19276Tue Jan 26 03:16:45 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19277
19278	* cont.c, vm_core.h, eval.c: because rb_protect must not be jumped by
19279	  callcc, revert r26407.  And rename trap_tag to protect_tag and
19280	  change exception message (across trap -> across stack rewinding
19281	  barrier).
19282
19283Mon Jan 25 23:08:10 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19284
19285	* thread.c (do_select): wrong conditions.  [ruby-core:27753]
19286
19287Mon Jan 25 22:31:53 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19288
19289	* test/ruby/envutil.rb: use method_defined? instead of
19290	  instance_methods.include?.
19291
19292Mon Jan 25 22:08:20 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19293
19294	* cont.c (rb_cont_call, cont_restore_1): remove trap_tag check because
19295	  it seems not to make sense.  [ruby-dev:40121]
19296
19297	* vm_core.h, eval.c (rb_protect): ditto.
19298
19299Mon Jan 25 21:43:05 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19300
19301	* test/ruby/envutil.rb: fix the check if instance method `ruby' is
19302	  defined or not.
19303
19304Mon Jan 25 21:17:32 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19305
19306	* test/ruby/test_rubyoptions.rb (test_segv_test): add a test for
19307	  bugreport trace dumper.
19308
19309Mon Jan 25 17:47:02 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19310
19311	* ext/pty/pty.c (pty_check): needs WNOHANG to poll, return $?, and
19312	  call raise_from_check() with pid_t.  [ruby-dev:40141]
19313
19314Mon Jan 25 17:36:11 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19315
19316	* version.c (RUBY_LIB, RUBY_*_LIB): moved from configures.
19317
19318Mon Jan 25 12:11:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19319
19320	* signal.c (USE_SIGALTSTACK): only when SA_SIGINFO also is
19321	  available.  see [ruby-core:27768].
19322
19323Mon Jan 25 12:02:34 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19324
19325	* dln.c, file.c, io.c, signal.c: add __HAIKU__.
19326	  patched by Alexander von Gluck [ruby-core:27767]
19327
19328Mon Jan 25 11:45:47 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19329
19330	* math.c (domain_check): ignore errno if y is inf.
19331	  r26335 is because NetBSD 5.0's asin and acos returns
19332	  0.0 with errno EDOM. But it breaks Linux whose gamma returns inf
19333	  with errno ERANGE on.
19334
19335Sun Jan 24 22:48:05 2010  Koichi Sasada  <ko1@atdot.net>
19336
19337	* eval.c, vm.c, vm_eval.c, vm_insnhelper.c: fix issues about
19338	  return and c-return trace.  This issue skips (c-)return event
19339	  with global jump such as break or return.  This fix make vm invoke
19340	  hooks at stack rewind timing.  fix [ruby-core:27606] [Bug #2610].
19341
19342	* test/ruby/test_settracefunc.rb: add a test for above.
19343
19344Sun Jan 24 14:21:48 2010  Tanaka Akira  <akr@fsij.org>
19345
19346	* string.c (rb_enc_strlen_cr): increment by rb_enc_mbminlen(enc) for
19347	  broken byte sequence.  [ruby-core:27748]
19348	  (rb_str_inspect): ditto.
19349
19350Sun Jan 24 05:18:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19351
19352	* thread.c (thread_start_func_2): unlock all locking mutexes
19353	  before clean up.  [ruby-core:26877]
19354
19355	* thread.c (rb_thread_atfork): no other threads to be joined.
19356
19357	* vm_core.h (rb_thread_lock_unlock, rb_thread_lock_destroy):
19358	  new functions.
19359
19360	* vm.c (ruby_vm_destruct): unlock and destroy global VM lock.
19361
19362Sun Jan 24 00:31:39 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19363
19364	* lib/rdoc/parser/ruby.rb: fix typo.
19365	  patched by Hal Brodigan [ruby-core:21536]
19366
19367Sun Jan 24 00:02:18 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19368
19369	* lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.
19370	  patched by Tomoyuki Chikanaga and nobu [ruby-core:20564]
19371
19372Sat Jan 23 23:27:12 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19373
19374	* dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669]
19375
19376Sat Jan 23 23:12:56 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19377
19378	* lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):
19379	  make the rdoc(generating html) run faster and use less memory.
19380	  patch by Tetsu Soh [ruby-core:27656]
19381
19382Sat Jan 23 19:54:48 2010  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
19383
19384	* ext/win32ole/win32ole.c: add WIN32OLE.ole_initialize,
19385	  WIN32OLE.ole_uninitialize to use in win32ole.rb.
19386	  You must not use these methods.
19387
19388	* ext/win32ole/lib/win32ole.rb: add win32ole.rb
19389	  re-define Thread#initialize (fix ruby-core:27634)
19390
19391Sat Jan 23 00:25:19 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19392
19393	* sample/coverage.rb: preserve exit status.
19394
19395Sat Jan 23 00:21:18 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19396
19397	* test/ruby/test_dir.rb: get rid of debug print.
19398
19399	* test/ruby/test_module.rb: fixed to make test-all work.
19400
19401Fri Jan 22 23:54:04 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19402
19403	* test/ruby/test_array.rb: add a test for Array#rotate, rotate!.
19404
19405	* test/ruby/test_dir.rb, test/ruby/test_fnmatch.rb: add some tests
19406	  (for coverage of dir.c).
19407
19408	* test/ruby/test_enum.rb: add a test for Enumerable#minmax.
19409
19410	* test/ruby/test_enumerator.rb: add some tests for Enumerator#inspect,
19411	  Enumerator::Generator and Yielder.
19412
19413	* test/ruby/test_env.rb: add a test for ENV#index.
19414
19415	* test/ruby/test_exception.rb: add some tests (for coverage of
19416	  error.c).
19417
19418	* test/ruby/test_hash.rb: add a test for recursive check.
19419
19420	* test/ruby/test_integer.rb: add a test for number of argument of
19421	  Integer.
19422
19423	* test/ruby/test_method.rb: add a test for define_method.
19424
19425	* test/ruby/test_module.rb: add a test for constant of included
19426	  module.
19427
19428	* test/ruby/test_proc.rb: add a test for parameters with cfunc.
19429
19430Fri Jan 22 23:50:03 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19431
19432	* test/ruby/test_regexp.rb, test/ruby/test_symbol.rb,
19433	  test/ruby/test_variable.rb: add some tests (for coverage of
19434	  compile.c).
19435
19436Fri Jan 22 21:05:34 2010  Tanaka Akira  <akr@fsij.org>
19437
19438	* time.c (time_mload): add submicro into vtm.subsecx.  [ruby-dev:40133]
19439
19440Fri Jan 22 14:26:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19441
19442	* common.mk (rdoc): needs encodings and exts.
19443
19444Fri Jan 22 14:16:18 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19445
19446	* configure.in: add missing comma.
19447
19448Fri Jan 22 01:07:16 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19449
19450	* test/ruby/test_bignum.rb, test/ruby/test_class.rb,
19451	  test/ruby/test_defined.rb, test/ruby/test_hash.rb,
19452	  test/ruby/test_primitive.rb, test/ruby/test_variable.rb: add some
19453	  tests (for coverage).
19454
19455Fri Jan 22 01:03:28 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19456
19457	* test/ruby/test_require.rb (test_define_class): expect TypeError
19458	  instead of NameError.  [ruby-core:27504]
19459
19460Thu Jan 21 15:09:35 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
19461
19462	* configure.in: some tidy.
19463
19464Thu Jan 21 11:15:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19465
19466	* array.c (rb_ary_rotate): new methods, Array#rotate! and
19467	  Array#rotate.  [ruby-dev:17194]
19468
19469	* array.c (rb_ary_reverse_m): copy directly.
19470
19471Thu Jan 21 09:38:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19472
19473	* configure.in: use AS_CASE instead of when, to get rid of
19474	  an unintentional substitution.
19475
19476Thu Jan 21 08:45:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19477
19478	* iseq.c (iseq_s_disasm): check for proc first.  based on the
19479	  patch by Roger Pack in [ruby-core:27626].  [ruby-core:27227]
19480
19481Wed Jan 20 16:09:59 2010  URABE Shyouhei  <shyouhei@ruby-lang.org>
19482
19483	* common.mk (compile.$(OBJEXT)): dependencies lacking.
19484
19485	* vm_method.c (rb_add_method_cfunc): invalid initializer for C89
19486
19487	* compile.c (iseq_insns_unification): int might be smaller than int*
19488
19489Tue Jan 19 20:00:30 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19490
19491	* lib/resolv.rb (Resolv::Config.default_config_hash): return an
19492	  empty hash when resolv.conf is not available.  [ruby-core:27620]
19493
19494	* lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed the
19495	  defaults of nameserver and port.
19496
19497Tue Jan 19 14:29:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19498
19499	* Makefile.in (clean-ext): allow glob patterns.
19500
19501	* ext/extmk.rb: ditto.
19502
19503Tue Jan 19 14:19:26 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19504
19505	* ext/zlib/{extconf.rb, zlib.c): crc32_combine and adler32_combine is
19506	  supported on Zlib 1.2.2.1, so check them for old zlib.
19507
19508Tue Jan 19 09:03:37 2010  Aaron Patterson  <tenderlove@ruby-lang.org>
19509
19510	* ext/zlib/zlib.c: added Zlib.crc32_combine and Zlib.adler32_combine
19511
19512	* test/zlib/test_zlib.rb: corresponding tests [ruby-core:27551]
19513
19514Tue Jan 19 02:02:32 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19515
19516	* test/ruby/test_array.rb: add some tests (for coverage).
19517
19518	* test/ruby/test_bignum.rb: ditto.
19519
19520Tue Jan 19 01:57:12 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19521
19522	* test/ruby/test_bignum.rb: some coerce definitions (for test) was
19523	  wrong.
19524
19525Tue Jan 19 01:53:11 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19526
19527	* bignum.c (bigsub_int): remove nonsense loop.
19528
19529Tue Jan 19 01:42:36 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19530
19531	* parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} in
19532	  non-toplevel scope.  [ruby-core:21657]
19533
19534	* test/ruby/test_beginendblock.rb (test_begininclass): add a test for
19535	  above.
19536
19537Mon Jan 18 17:16:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19538
19539	* lib/webrick/httpservlet/filehandler.rb (make_partial_content):
19540	  add bytes-unit.  [ruby-dev:40030]
19541
19542Mon Jan 18 15:49:42 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19543
19544	* lib/net/http.rb (Net::HTTPHeader#{content_range,range_length}):
19545	  use inclusive range same as the header representation.
19546
19547Mon Jan 18 03:59:57 2010  Akinori MUSHA  <knu@iDaemons.org>
19548
19549	* ext/digest/digest.c (rb_digest_instance_hexdigest_bang): Fix
19550	  rdoc.
19551
19552	* ext/digest/lib/digest.rb (Digest::Class.base64digest)
19553	  (Digest::Instance#base64digest{,!}): New methods.
19554
19555Sun Jan 17 22:48:44 2010  Akinori MUSHA  <knu@iDaemons.org>
19556
19557	* ext/digest/digest.c (rb_digest_instance_digest)
19558	  (rb_digest_instance_hexdigest): Save a method call of reset()
19559	  for a disposable clone.
19560
19561Sun Jan 17 19:24:25 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19562
19563	* math.c (domain_check): check errno first.
19564	  NetBSD 5.0's asin and acos returns 0.0 with errno EDOM.
19565
19566Sun Jan 17 14:24:35 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19567
19568	* ext/iconv/iconv.c (rb_str_derive): use long.
19569
19570	* ext/iconv/iconv.c (iconv_convert): suppress a warning.
19571
19572	* lib/mkmf.rb (check_signedness): new method.
19573
19574	* lib/mkmf.rb (have_header, create_header): use String#tr_cpp.
19575
19576Thu Jan 14 13:06:58 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19577
19578	* numeric.c (flo_hash, int_chr): fixed type.
19579
19580Thu Jan 14 12:50:37 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19581
19582	* string.c (rb_str_concat): fixed range check for Fixnum, and
19583	  added checks for integer overflow and invalid char code.
19584
19585Thu Jan 14 09:34:31 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19586
19587	* string.c (rb_str_concat): raise RangeError when the argument is
19588	  negative value. [ruby-core:27583]
19589
19590Thu Jan 14 08:49:59 2010  Tanaka Akira  <akr@fsij.org>
19591
19592	* time.c (time_to_r): convert to rational if internal representation
19593	  is not rational.
19594
19595Thu Jan 14 04:01:50 2010  Tanaka Akira  <akr@fsij.org>
19596
19597	* time.c (time_mdump): use nano_num and nano_den instead of subnano to
19598	  avoid Rational class in marshaled data which prevent unmarshal by
19599	  Ruby 1.8.
19600	  (time_mload): use nano_num and nano_den.
19601
19602Wed Jan 13 11:57:38 2010  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
19603
19604	* object.c (rb_class_initialize): Make sure BasicObject doesn't get
19605	  initialized twice [ruby-core:27577]
19606
19607	* class.c (rb_class_init_copy): ditto
19608
19609Wed Jan 13 06:54:44 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19610
19611	* configure.in: check for if struct timezone is defined.
19612
19613	* missing.h (struct timezone): define if not defined.
19614
19615	* win32/win32.h (struct timezone): defined in the newer w32api.
19616	  [ruby-core:27515]
19617
19618Wed Jan 13 00:33:09 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19619
19620	* lib/shell/command-processor.rb: fix typo by Sho Hashimoto.
19621	  reported and patched at [ruby-dev:40058] [Bug #2599]
19622
19623Tue Jan 12 23:48:29 2010  Kouhei Sutou  <kou@cozmixng.org>
19624
19625	* lib/rss/maker/base.rb, test/rss/test_maker_0.9.rb:
19626	  accept any time format in maker. [ruby-core:26923]
19627
19628Tue Jan 12 21:56:00 2010  Tanaka Akira  <akr@fsij.org>
19629
19630	* string.c (rb_str_set_len): call rb_str_modify.
19631
19632	* file.c (realpath_rec): don't call rb_str_modify before
19633	  rb_str_set_len.
19634
19635Tue Jan 12 20:44:14 2010  Tanaka Akira  <akr@fsij.org>
19636
19637	* file.c (realpath_internal): call rb_secure.
19638
19639Tue Jan 12 16:48:46 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19640
19641	* lib/net/http.rb (Net::HTTP.start): options may not be given.
19642
19643Tue Jan 12 16:48:03 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19644
19645	* ext/readline/readline.c (readline_readline): check if instream
19646	  is closed instead of fd 0.
19647
19648	* ext/readline/readline.c (Init_readline): use STDIN for input.
19649	  Reported by Sora Harakami. See
19650	  http://d.hatena.ne.jp/codnote/20100111/1263174134
19651
19652Tue Jan 12 16:09:02 2010  wanabe  <s.wanabe@gmail.com>
19653
19654	* test/ruby/test_process.rb (test_execopts_env): MANDATORY_ENVS might
19655	  not be a part of ENV.  e.g. TMPDIR.
19656
19657Tue Jan 12 14:07:31 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19658
19659	* lib/net/http.rb (Net::HTTP.start): add hash argument to
19660	  set ssl related options. when use_ssl is set default value
19661	  of verify_mode is OpenSSL::SSL::VERIFY_PEER. [ruby-dev:40003]
19662
19663Tue Jan 12 14:53:07 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19664
19665	* win32/win32.c (init_env): use _wputenv() instead of
19666	  SetEnvironmentVariableW() because latter doesn't set msvcrt's environ
19667	  work area, of course.
19668	  [Bug #2552]
19669
19670Tue Jan 12 13:33:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19671
19672	* file.c (realpath_rec): trace symbolic link only when supporting
19673	  readlink().
19674
19675Tue Jan 12 12:49:39 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19676
19677	* misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-doc
19678	  which ends with an underscore.
19679
19680Tue Jan 12 09:58:03 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19681
19682	* hash.c: need to include errno.h for EINVAL.
19683
19684	* hash.c (ruby_setenv): fixed typo.  see [ruby-dev:40026]
19685
19686Tue Jan 12 09:22:43 2010  Tanaka Akira  <akr@fsij.org>
19687
19688	* prelude.rb (require_relative): use File.realpath.  [ruby-dev:40040]
19689
19690	* include/ruby/intern.h: declare rb_dir_getwd.
19691
19692	* dir.c (rb_dir_getwd): copied from dir_s_getwd to export.
19693	  (dir_s_getwd): use rb_dir_getwd.
19694
19695	* file.c (rb_file_s_realpath): new method File.realpath.
19696	  (rb_file_s_realdirpath): new method File.realdirpath.
19697
19698	* lib/pathname.rb (Pathname#realpath): use File.realpath.
19699	  (Pathname#realdirpath): use File.realdirpath.
19700
19701Mon Jan 11 22:45:08 2010  Akinori MUSHA  <knu@iDaemons.org>
19702
19703	* hash.c (ruby_setenv): Improve the emulation of setenv(3) on
19704	  environments where putenv(3) is used.  Raise EINVAL If a
19705	  variable name contains an '='.
19706
19707Mon Jan 11 18:16:38 2010  wanabe  <s.wanabe@gmail.com>
19708
19709	* vm_insnhelper.h (GET_BLOCK_PTR): return 0 when in class frame.
19710	  [Bug #2583]
19711
19712Mon Jan 11 16:52:05 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19713
19714	* string.c (rb_str_strlen): added. [ruby-dev:40028]
19715
19716	* include/ruby/intern.h (rb_str_strlen): declared.
19717
19718Mon Jan 11 13:30:35 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19719
19720	* lib/webrick/accesslog.rb (WEBrick::AccessLog#format): fixed typo.
19721
19722	* lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::Status#initialize):
19723	  accept 0 or more arguments.  [ruby-dev:40021]
19724
19725Mon Jan 11 12:47:58 2010  Akinori MUSHA  <knu@iDaemons.org>
19726
19727	* hash.c (ruby_setenv): ENV.[]= should raise an error if setenv(3)
19728	  or putenv(3) fails.  [ruby-dev:40023]
19729
19730Sun Jan 10 17:25:24 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19731
19732	* lib/webrick/accesslog.rb : Escape needed.
19733
19734	* lib/webrick/httpstatus.rb : ditto.
19735
19736	* lib/webrick/httprequest.rb : ditto.
19737
19738	* lib/webrick/httputils.rb : ditto.
19739
19740	* test/webrick/test_cgi.rb (TestWEBrickCGI::test_bad_): Test for it.
19741
19742Sun Jan 10 04:54:36 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19743
19744	* class.c (rb_define_class): raise TypeError same as class
19745	  statement.  [ruby-core:27504]
19746
19747Sun Jan 10 04:41:20 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19748
19749	* lib/mkmf.rb (configuration): needs ARCH_FLAG.
19750
19751Sat Jan  9 14:20:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19752
19753	* common.mk (install-all): maybe typo.
19754
19755Sat Jan  9 14:01:14 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19756
19757	* missing/vsnprintf.c (BSD_vfprintf): get rid of a warning of VC++ x64.
19758
19759Sat Jan  9 08:40:54 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19760
19761	* win32/configure.bat (WIN32DIR): regularise file separators.
19762
19763Fri Jan  8 23:35:18 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19764
19765	* proc.c (mnew): don't check visibility of method body if public
19766	  ZSUPER method is found.  [ruby-dev:39767]
19767
19768	* test/ruby/test_method.rb: add a test for above.
19769
19770Fri Jan  8 22:59:40 2010  Yusuke Endoh  <mame@tsg.ne.jp>
19771
19772	* vm_method.c (rb_alias): skip ZSUPER method when searching body of
19773	  source method.  [ruby-dev:39760]
19774
19775	* test/ruby/test_alias.rb: add a test for above.
19776
19777Fri Jan  8 21:15:21 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19778
19779	* lib/net/http, lib/net/https: move content from net/https to
19780	  net/http. [ruby-dev:39986]
19781
19782Fri Jan  8 14:06:01 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19783
19784	* io.c (rb_io_s_read): close the IO if an exception is raised on
19785	  seeking. [ruby-core:27429]
19786
19787Fri Jan  8 13:12:26 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19788
19789	* marshal.c (w_symbol): dump no encoding for 7bit only coderange
19790	  symbol.  [ruby-core:27375]
19791
19792Thu Jan  7 07:56:09 2010  Ryan Davis  <ryand-ruby@zenspider.com>
19793
19794	* lib/minitest/*.rb: Imported minitest 1.5.0 r5596.
19795	* test/minitest/*.rb: ditto.
19796
19797Tue Jan  5 19:30:53 2010  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
19798
19799	* test/ruby/test_exception.rb: add a test. cf [ruby-dev:39116]
19800
19801Tue Jan  5 02:03:34 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19802
19803	* configure.in (DTRACE): clear this when `dtrace -l` fails.
19804	  Note that current FreeBSD needs privilege to call it;
19805	  so to use DTrace on FreeBSD, you should run configure as root.
19806
19807Mon Jan  4 21:24:18 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
19808
19809	* gc.c: added UNLIKELY to probes for optimization.
19810
19811	* vm.c: ditto.
19812
19813	* thread.c: ditto.
19814
19815Mon Jan  4 09:30:54 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19816
19817	* win32/Makefile.sub (TRACING_MODEL): follow yugui's previous changes.
19818
19819Mon Jan  4 09:30:25 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
19820
19821	* thread_win32.c (InterlockedExchangePointer): old SDK support.
19822
19823Sun Jan  3 23:54:51 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
19824
19825	* trace.h: new file. wraps tracing mechanisms.
19826
19827	* defs/dtrace.d: new file. defined a dtrace provider "ruby".
19828
19829	* include/ruby/ruby.h (LIKELY): moved from vm.c.
19830	  (UNLIKELY): ditto.
19831	  (OBJSETUP): probe "object-create".
19832	  (RUBY_EVENT_RESCUE): new event.
19833
19834	* vm_exec.c (DEBUG_ENTER_INSN): embedded a probe insn-entry into it.
19835	  (DEBUG_END_INSN): insn-return.
19836
19837	* vm.c (LIKELY): moved into ruby.h.
19838	  (UNLIKELY): ditto.
19839	  (Init_BareVM): embedded a probe "raise" into it.
19840
19841	* variable.c (rb_class2name_without_alloc): new utility function.
19842
19843	* tool/rbinstall.rb (install?(:ext, :arch, :'ext-arch')): installs
19844	  dtrace.d if necessary.
19845
19846	* thread_pthread.c (add_signal_thread_list): probe "raise".
19847	  (rb_thread_create_timer_thread): ditto.
19848
19849	* thread.c (rb_thread_schedule_rec): probes "thread-enter" and
19850	  "thread-leave",
19851	  (thread_start_func_2): ditto.
19852	  (thread_cleanup_func): probe "thread-term"
19853
19854	* lib/mkmf.rb: supports dtrace postprocessor on making an extension.
19855
19856	* iseq.c (rb_vm_insn_name): new utility function.
19857	  (rb_vm_insn_len): ditto.
19858
19859	* insns.def (hook): probes "method-entry", "method-return", "line",
19860	  and "rescue".
19861
19862	* compile.c (iseq_compile_each): adds a trace op for "rescue" probe.
19863
19864	* gc.c (garbage_collect): probes "gc-begin" and "gc-end".
19865	  (obj_free): probe "object-free"
19866	  (garbage_collect_with_gvl): probe "raise"
19867	  (negative_size_allocation_error): ditto.
19868	  (rb_memerror): ditto.
19869
19870	* eval.c (rb_rescue2): probe "rescue"
19871	  (rb_longjmp): probe "raise"
19872
19873	* ext/probe/probe.c: new extension for application defined probes.
19874
19875	* ext/probe/extconf.rb: ditto.
19876
19877	* configure.in (--with-tracing-model): new option to choose a tracing
19878	  mechanism.
19879	  (DTRACE): new substitution. name of dtrace(1).
19880	  (RUBY_TRACING_MODEL): new substitution.
19881	  (DTRACE_OBJ): ditto.
19882	  (MINIDTRACE_OBJ): ditto.
19883	  (GOLFDTRACE_OBJ): ditto.
19884	  (LIBRUBY_DTRACE_OBJ): ditto.
19885	  (RUBY_DTRACE_POSTPROCESS): new macro. checks whether the dtrace on
19886	  the system needs postprocessing.
19887	  (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether the dtrace
19888	  supports USDT.
19889
19890	* Makefile.in:
19891	  (DTRACE): new variable. name of dtrace(1).
19892	  (TRACING_MODEL): new variable. name of the chosen tracing mechanism.
19893	  (DTRACE_OBJ): same as the one in configure.in.
19894	  (MINIDTRACE_OBJ): ditto.
19895	  (GOLFDTRACE_OBJ): ditto.
19896	  (LIBRUBY_DTRACE_OBJ): ditto.
19897	  (CPPOUTFILE): new substitution. necessary for generating dtrace.d
19898	  (trace_none.h): new target for TRACING_MODEL=none
19899	  (RUBY_H_INCLUDES): appended a header for tracing.
19900	  (distclean-local): also removes preprocessed version of dtrace.d
19901	  ($(LIBRUBY_A)): needs $(LIBRUBY_DTRACE_OBJ) if dtrace needs
19902	  postprocessing.
19903	  ($(PROGRAM)): ditto.
19904	  (golf): ditto.
19905	  (miniruby): ditto.
19906	  ($(arch_hdrdir)/ruby/dtrace.d): new target. preprocessed version
19907	  of defs/dtrace.d. generated if necessary.
19908	  ($(arch_hdrdir)/ruby/trace_dtrace.h): new target.
19909	  definition of probes.
19910	  ($(LIBRUBY_DTRACE_OBJ)): new target. generated if dtrace needs
19911	  postprocessing.
19912	  ($(DTRACE_OBJ)): ditto.
19913	  ($(MINIDTRACE_OBJ)): ditto.
19914	  ($(GOLFDTRACE_OBJ)): ditto.
19915
19916Sun Jan  3 15:34:19 2010  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
19917
19918	* lib/rexml/text.rb: String no longer has #each.
19919	  Patch by Mitsutaka Mimura (takkanm). [ruby-dev:39949].
19920
19921Sun Jan  3 01:29:18 2010  Tanaka Akira  <akr@fsij.org>
19922
19923	* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#inspect):
19924	  implemented.
19925
19926Sat Jan  2 15:57:54 2010  Tanaka Akira  <akr@fsij.org>
19927
19928	* lib/resolv.rb (Resolv::DNS#initialize): new option :nameserver_port.
19929	  (Resolv::DNS#each_resource): pass port number.
19930	  (Resolv::DNS#make_requester): ditto.
19931	  (Resolv::DNS::Config#lazy_initialize): initialize @nameserver_port
19932	  instead of @nameserver.
19933	  (Resolv::DNS::Config#single?): return port number addition to the
19934	  nameserver.
19935	  (Resolv::DNS::Config#generate_timeouts): use @nameserver_port.
19936	  (Resolv::DNS::Config#resolv): yield port number.
19937
19938Sat Jan  2 00:43:22 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19939
19940	* lib/uri/common.rb (initialize_regexp): allow leading
19941	  and trailing white space, and forbid extra characters
19942	  on another lines. [ruby-core:26223]
19943	  RFC 3986  Appendix C.  Delimiting a URI in Context
19944	  draft-duerst-iri-bis-07  7.2.  Web Address processing
19945
19946Fri Jan  1 23:17:49 2010  NARUSE, Yui  <naruse@ruby-lang.org>
19947
19948	* lib/uri/generic.rb (URI#normalize!): normalize case of
19949	  scheme. [ruby-core:27309]
19950
19951Fri Jan  1 00:47:57 2010  Akinori MUSHA  <knu@iDaemons.org>
19952
19953	* ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppress
19954	  compiler warnings.
19955
19956Fri Jan  1 00:00:00 2010  Tanaka Akira  <akr@fsij.org>
19957
19958	* tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb.
19959
19960	* lib/webrick/httpservlet/cgihandler.rb: use RbConfig.ruby.
19961
19962	* test/ruby/envutil.rb: ditto.
19963
19964	* benchmark/report.rb: ditto.
19965
19966	* benchmark/runc.rb: ditto.
19967
19968	* tool/eval.rb: ditto.
19969
19970Thu Dec 31 18:18:55 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
19971
19972	* ext/socket/rubysocket.h: include addrinfo.h only when using our own
19973	  getaddrinfo.c.
19974
19975Thu Dec 31 14:20:11 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
19976
19977	* process.c (save_redirect_fd): consider EBADF that the fd is not used.
19978	  [ruby-dev:39938]
19979
19980Thu Dec 31 06:03:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
19981
19982	* ext/socket/raddrinfo.c (addrinfo_type): typed.
19983
19984	* ext/socket/extconf.rb: fix for wide-getaddrinfo option.
19985
19986	* ext/socket/addrinfo.c: rename {addr,name}info functions to ensure
19987	  those are used on darwin.
19988
19989Thu Dec 31 03:27:53 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
19990
19991	* thread_win32.c (native_thread_destroy): decreased the probability of
19992	  using the interrupt event in the thread termination.
19993	  see [ruby-core:27199].
19994
19995Thu Dec 31 02:35:57 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
19996
19997	* thread_win32.c (w32_error): should report the function.
19998
19999Thu Dec 31 01:58:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20000
20001	* ext/extmk.rb: fix for extstatic.
20002
20003Wed Dec 30 19:43:00 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20004
20005	* include/ruby/ruby.h (RREGEXP_SRC_END): added.
20006
20007Wed Dec 30 19:40:00 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20008
20009	* include/ruby/defines.h (INFINITY): this is float.
20010
20011	* include/ruby/defines.h (NAN): ditto.
20012
20013	* numeric.c (rb_infinity): change content as float.
20014
20015	* numeric.c (rb_nan): ditto.
20016
20017Wed Dec 30 17:59:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20018
20019	* gem_prelude.rb (push_all_highest_version_gems_on_load_path):
20020	  simplified.
20021
20022	* lib/rubygems/command_manager.rb (Gem#load_and_instantiate):
20023	  rescue only NameError from const_get.
20024
20025	* lib/rubygems/source_index.rb (Gem#load_specification): don't use
20026	  RUBY_VERSION to branch.
20027
20028	* lib/rubygems/validator.rb (Gem::TestRunner, Gem#alien): ditto.
20029
20030	* lib/rubygems.rb: Kernel#gem is already defined, and workaround
20031	  for home directory and custom_require are no longer needed.
20032
20033Tue Dec 29 16:03:33 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20034
20035	* numeric.c (Init_Numeric): Add Float::INFINITY and Float::NAN.
20036	  [ruby-dev:1657] [ruby-dev:4760] [ruby-list:7023]
20037	  [ruby-list:46690]
20038	  [ruby-core:26632] [ruby-talk:41352] [ruby-talk:203333]
20039
20040	* include/ruby/defines.h (INFINITY): defined.
20041
20042	* include/ruby/defines.h (NAN): defined.
20043
20044	* include/ruby/util.h (ruby_div0): removed.
20045
20046	* numeric.c (fix_pow): use INFINITY and NAN
20047	  instead of ruby_div0(1.0).
20048
20049	* marshal.c (r_object0): ditto.
20050
20051	* bignum.c (big_fdiv): ditto.
20052
20053Tue Dec 29 10:36:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20054
20055	* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE):
20056	  any number spaces can be placed between equal-sign and the value.
20057	  patch from Ed Howland in [ruby-core:27345].
20058
20059Mon Dec 28 22:33:58 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20060
20061	* win32/win32.c (CreateChild): force to inherit standard I/O handles.
20062	  this change fixes [ruby-core:27273], but other side effects might
20063	  exist.
20064
20065Mon Dec 28 22:00:10 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
20066
20067	* test/ruby/test_marshal.rb: added tests for taintness/untrustness
20068	  propagation.
20069
20070Mon Dec 28 18:13:26 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20071
20072	* sample/occur2.rb: reimplemented in modern style. [ruby-dev:39927].
20073
20074Mon Dec 28 17:19:37 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20075
20076	* tool/install-sh: correction by Hiro Asari.
20077	  https://gist.github.com/264558/58ad1cae45cde49600bbb39286af2aae23e639d5
20078
20079Mon Dec 28 13:18:52 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20080
20081	* tool/install-sh: wrote the intention. [ruby-dev:39928]
20082
20083Sun Dec 27 10:45:00 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
20084
20085	* ext/win32ole/win32ole.c (foleparam_initialize): add foleparam_initialize
20086	  to check argument of WIN32OLE_PARAM.new
20087
20088	* test/win32ole/test_win32ole_param.rb (test_s_new): add some assertion
20089	  to test WIN32OLE_PARAM.new
20090
20091Sun Dec 27 09:41:54 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20092
20093	* tool/rbinstall.rb (install?(:local, :comm, :bin, :'bin-comm')):
20094	  Makes it vim friendly.  __END__ in a heredoc is confusing with
20095	  the script end for vim.
20096
20097Sun Dec 27 09:13:55 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20098
20099	* sample/occur2.rb: have been broken. fixed for Ruby 1.9 feature.
20100
20101Thu Dec 24 16:32:30 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20102
20103	* lib/uri/generic.rb (eql?): Check the class of the compared object.
20104	  Based on a patch by Peter McLain [ruby-core:27019]
20105
20106Thu Dec 24 15:20:03 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20107
20108	* regexec.c (match_at): follow enclen's change.
20109
20110Thu Dec 24 12:08:00 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20111
20112	* lib/delegate.rb (marshal_dump/load): dump & load instance variables
20113	  by default [ruby-core:24211]
20114
20115Thu Dec 24 10:31:50 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20116
20117	* lib/object.c (rb_obj_cmp): Default <=> operator returns 0 if
20118	  objects are == [ruby-core:24063]
20119
20120Wed Dec 23 09:12:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20121
20122	* test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):
20123	  always must be binary mode.  c.f. Bug#2341
20124
20125Thu Dec 10 09:20:58 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20126
20127	* encoding.c (Init_Encoding): undef Encoding.new because
20128	  a class which is rb_undef_alloc-func-ed can't call new method.
20129	  [ruby-dev:39862]
20130
20131	* vm.c (Init_VM): undef RubyVM.new and RubyVM::Env.new.
20132
20133Mon Dec 21 17:51:44 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20134
20135	* regcomp.c (optimize_node_left): include equal on the condition of for-loop.
20136	  This bug also affects original Oniguruma. [ruby-core:27247]
20137
20138Mon Dec 21 10:03:33 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20139
20140	* regcomp.c (print_enc_string): follow enclen's change.
20141
20142	* regcomp.c (onig_print_compiled_byte_code): ditto.
20143
20144	* regcomp.c (onig_print_compiled_byte_code): change prototype.
20145
20146	* regint.c (onig_print_compiled_byte_code): comment out.
20147
20148Mon Dec 21 08:04:34 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20149
20150	* object.c: BasicObject#initialize accepts any number of arguments
20151	  [ruby-core:27080]
20152
20153Mon Dec 21 02:45:46 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20154
20155	* vm_eval.c (rb_iterate): remove SEGV (retry).
20156
20157Sun Dec 20 23:18:23 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20158
20159	* vm_eval.c (rb_iterate): remove SEGV (use the original patch).
20160	  [ruby-dev:39874]
20161
20162Sun Dec 20 21:26:05 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20163
20164	* vm_eval.c (rb_iterate): pass current block when the argument bl_proc
20165	  is NULL.  This behavior can be used to make enumerator faster
20166	  [ruby-dev:39874]
20167
20168	* enumerator.c (enumerator_each): pass current block directly instead
20169	  of trampoline block (enumerator_each_i).
20170
20171	* io.c (argf_each_line, argf_each_byte, argf_each_char): ditto.
20172
20173Sat Dec 19 14:59:30 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20174
20175	* gem_prelude.rb (Kernel#gem): should make gem private.  a patch
20176	  from Sho Hashimoto in [ruby-dev:39838].
20177
20178Sat Dec 19 14:57:17 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20179
20180	* lib/webrick/config.rb (WEBrick::Config): typo fixed.  a patch
20181	  from Sho Hashimoto in [ruby-dev:39835].
20182
20183Sat Dec 19 11:06:48 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20184
20185	* lib/matrix.rb (each2,collect2,map2): Fix enumerator
20186	  [ruby-core:27225]
20187
20188Sat Dec 19 09:58:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20189
20190	* vm_eval.c (check_funcall): reset method_missing_reason before
20191	  trying the call.  based on a patch from Yehuda Katz in
20192	  [ruby-core:27219].
20193
20194Sat Dec 19 09:29:22 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20195
20196	* lib/set.rb: Add checks that passed argument is Enumerable.
20197	  [ruby-core:23844]
20198
20199Wed Dec 16 20:28:46 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
20200
20201	* test/ruby/envutil.rb: fix a typo in assert message.
20202
20203Wed Dec 16 16:57:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20204
20205	* lib/un.rb (httpd): try to convert port number to integer.
20206
20207Wed Dec 16 11:18:30 2009  WATANABE Hirofumi  <eban@ruby-lang.org>
20208
20209	* configure.in(MINIRUBY): use "$BASERUBY" as a default ruby executable
20210	  name.
20211
20212Wed Dec 16 00:53:14 2009  Tanaka Akira  <akr@fsij.org>
20213
20214	* lib/find.rb (Find.find): rescue more exceptions which is possible to
20215	  occur by other process change the directory tree.
20216
20217Tue Dec 15 09:06:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20218
20219	* lib/find.rb (Find.find): get rid of race condition.
20220
20221Mon Dec 14 22:33:21 2009  Tanaka Akira  <akr@fsij.org>
20222
20223	* lib/find.rb (Find.find): rescue only ENOENT and EACCES for lstat.
20224
20225Mon Dec 14 21:49:30 2009  Tanaka Akira  <akr@fsij.org>
20226
20227	* lib/find.rb (Find.find): narrow rescue region.
20228
20229Mon Dec 14 09:20:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20230
20231	* lib/find.rb (Find.find): removed already unnecessary code.
20232
20233Sun Dec 13 23:48:25 2009  Tanaka Akira  <akr@fsij.org>
20234
20235	* lib/find.rb (Find.find): sort directory entries.  [ruby-dev:39847]
20236
20237Sun Dec 13 20:55:30 2009  Tanaka Akira  <akr@fsij.org>
20238
20239	* test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data to
20240	  reject non-string.
20241
20242Sun Dec 13 20:26:57 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20243
20244	* ruby.c (rb_parser_dump_tree): add prototype.
20245
20246Thu Dec 10 20:55:55 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
20247
20248	* transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Added
20249	  support for new transcoding instruction FUNsio (with Tatsuya Mizuno)
20250
20251	* enc/trans/gb18030.trans: Significantly reduced GB18030 conversion
20252	  table footprint using FUNsio and differences (with Tatsuya Mizuno)
20253
20254	* test/ruby/test_transcode.rb: Minor name fix (from Tatsuya Mizuno)
20255
20256Thu Dec 10 17:22:36 2009  Shugo Maeda  <shugo@ruby-lang.org>
20257
20258	* vm_eval.c (yield_under): yields self the same as 1.8.
20259
20260Thu Dec 10 15:49:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20261
20262	* thread_pthread.c (native_mutex_reinitialize_atfork): release and
20263	  re-acquire the lock at re-initialization.
20264
20265Thu Dec 10 12:56:02 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20266
20267	* encoding.c (enc_replicate): add Encoding#replicate(name).
20268
20269	* encoding.c (enc_replicate_with_index): renamed from old
20270	  enc_replicate.
20271
20272	* encoding.c (rb_enc_from_encoding_index): split from
20273	  rb_enc_from_encoding.
20274
20275Thu Dec 10 09:15:00 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20276
20277	* string.c (rb_str_inspect): CHAR_ESC_LEN should be 13.
20278
20279Thu Dec 10 01:12:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20280
20281	* parse.y (dyna_pop_gen): pop dvars.  [ruby-dev:39861]
20282
20283Thu Dec 10 00:46:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20284
20285	* node.c (dump_node): fixed for long members.
20286
20287Wed Dec  9 22:57:04 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20288
20289	* node.c: node management added.  Currently, only pretty-dumper is
20290	  implemented.  [ruby-dev:39853]
20291
20292	* ruby.c: --dump=parsetree and --dump=parsetree_with_comment options
20293	  added.  This is just for debug or research purpose.  Note that the
20294	  compatibility of these options are not supported at all.
20295
20296Wed Dec  9 09:50:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20297
20298	* string.c (rb_str_justify): fixed the case a fill size is a
20299	  multiple of the length of the padding.  [ruby-dev:39856]
20300
20301Tue Dec  8 23:41:34 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20302
20303	* win32/configure.bat: now recognize --with-*-{dir,include,lib} options
20304	  and pass them to mkmf.
20305
20306	* win32/configure.bat: general conversion from ``/'' to ``\'' of
20307	  configure_args is not necessary any longer.
20308
20309	* win32/setup.mak: BASERUBY is used as command, so always need to
20310	  convert ``/'' to ``\'' within it.
20311
20312Tue Dec  8 23:39:52 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20313
20314	* numeric.c (flo_eq): suppress a warning on VC++ for x64.
20315
20316Tue Dec  8 16:19:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20317
20318	* lib/rubygems: update to 1.3.5.
20319
20320	* lib/rubygems/defaults.rb (Gem::default_dir): removed a clause
20321	  doing nothing.
20322
20323Tue Dec  8 03:50:24 2009  Tanaka Akira  <akr@fsij.org>
20324
20325	* file.c (rb_f_test): use string form in unknown command error
20326	  message.
20327
20328Mon Dec  7 14:11:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20329
20330	* marshal.c (w_object): reverted r26007.  [ruby-dev:39845]
20331
20332	* test/test_delegate.rb (test_marshal): moved from test_marshal.rb.
20333
20334Mon Dec  7 13:05:59 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20335
20336	* string.c (rb_str_justify): CVE-2009-4124.
20337	  Fixes a bug reported by
20338	  Emmanouel Kellinis <Emmanouel.Kellinis AT kpmg.co.uk>, KPMG London;
20339	  Patch by nobu.
20340
20341Sun Dec  6 23:50:46 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20342
20343	* strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]
20344
20345Sun Dec  6 23:16:35 2009  Tanaka Akira  <akr@fsij.org>
20346
20347	* lib/find.rb (Find.find): reduce stat system call.
20348
20349Sun Dec  6 16:02:15 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20350
20351	* lib/webrick/httpservlet/filehandler.rb: escape filename of index.
20352	  [ruby-dev:37768]
20353
20354Sun Dec  6 00:35:16 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
20355
20356	* symbian/setup (config.h): EXECUTABLE_EXTS moved from
20357	  dln.c:dln_find_1().
20358
20359Sat Dec  5 15:35:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20360
20361	* marshal.c (w_object): dump instance variables when using
20362	  marshal_dump.   [ruby-core:24211]
20363
20364	* variable.c (rb_ivar_count): added.
20365
20366Sat Dec  5 13:19:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20367
20368	* configure.in: default ac_cv_prog_CC to CC.
20369
20370Sat Dec  5 10:18:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20371
20372	* lib/irb/extend-command.rb (def_extend_command): fixed argument
20373	  number for negative arity.
20374
20375Fri Dec  4 16:50:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20376
20377	* parse.y (k_def): adjust the location of method definition to the
20378	  line of def.  [Bug #2427]
20379
20380Fri Dec  4 19:05:28 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20381
20382	* insns.def (defined): should respect #respond_to_missing? as
20383	  #respond_to? does.
20384
20385Fri Dec  4 15:50:18 2009  Shugo Maeda  <shugo@ruby-lang.org>
20386
20387	* vm_eval.c (yield_under): does not yield self, and passes blockptr
20388	  instead of &block to vm_cref_push().  [ruby-dev:39833]
20389
20390Fri Dec  4 15:15:43 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20391
20392	* time.c (num_exact): should not accept strings as operands, even
20393	  though they respond to #to_r.  ideally, strict rational
20394	  conversion should be done by a method like #to_rational, not #to_r.
20395	  [ruby-core:23729]
20396
20397Fri Dec  4 13:10:23 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
20398
20399	* ext/stringio/stringio.c (ungetc): RDoc updated.  trunk allows
20400	  pushing back behind the beginning of the pseudo stream.
20401
20402Fri Dec  4 03:10:38 2009  Shugo Maeda  <shugo@ruby-lang.org>
20403
20404	* compile.c (compile_cpath, iseq_compile_each): reverted
20405	  constant/class variable lookup in instance_eval etc. to the
20406	  behavior of 1.8.
20407
20408	* eval.c (rb_mod_nesting): ditto.
20409
20410	* insns.def (putspecialobject, defineclass): ditto.
20411
20412	* node.h (NODE_FL_CREF_PUSHED_BY_EVAL): ditto.
20413
20414	* vm_core.h (VM_SPECIAL_OBJECT_CONST_BASE): ditto.
20415
20416	* vm_eval.c (yield_under, eval_under): ditto.
20417
20418	* vm_insnhelper.c (vm_cref_push, vm_get_const_base,
20419	  vm_get_ev_const, vm_get_cvar_base): ditto.
20420
20421Thu Dec 3 20:27:27 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
20422
20423	* enc/trans/gb18030-tbl.rb: Fix omission of C1 region in code table
20424	  (from Tatsuya Mizuno)
20425
20426	* test/ruby/test_transcode.rb: Added test for converting full range of
20427	  Unicode codepoints from/to GB18030 (from Tatsuya Mizuno)
20428
20429Wed Dec  2 23:51:28 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
20430
20431	* ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid
20432	  warning at SSLSocket#connect.
20433
20434Tue Dec  1 18:01:43 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
20435
20436	* test/digest/test_digest_extend.rb: added tests for digest framework.
20437
20438Tue Dec  1 12:01:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20439
20440	* parse.y (dyna_push_gen, dyna_pop_gen): no needs to save both of
20441	  args and vars.  [ruby-core:26961]
20442
20443	* parse.y (dyna_push_gen): use rb_node_newnode() for ripper.
20444	  [ruby-core:26961]
20445
20446	* parse.y (dyna_push_gen, dyna_pop_gen): adjust local vtable level
20447	  for the case of syntax errors in method name or argument inside
20448	  do block.   [ruby-core:26961]
20449
20450Mon Nov 30 16:57:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20451
20452	* ext/extmk.rb (command_output): $makeflags are already quoted.
20453
20454Mon Nov 30 16:54:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20455
20456	* configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from
20457	  dln.c:dln_find_1().
20458
20459	* lib/mkmf.rb (def find_executable0): use EXECUTABLE_EXTS, not
20460	  only EXEEXT.  [ruby-core:26821]
20461
20462Mon Nov 30 11:00:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20463
20464	* parse.y (parser_yylex): suppress an extra error message after
20465	  numeric literal without digits.  based on a patch from ujihisa .
20466	  in [ruby-dev:39811].  [ruby-dev:39798]
20467
20468Sun Nov 29 16:56:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20469
20470	* vm_eval.c (check_funcall_failed): pass ID.  [ruby-core:26934]
20471
20472Sun Nov 29 06:37:53 2009  Aaron Patterson  <tenderlove@ruby-lang.org>
20473
20474	* lib/rexml/formatters/default.rb (write_attribute): fix an
20475	  exception when printing a document when duplicate namespaced
20476	  attributes exist. Thanks, Alexey Froloff [ruby-core:26837]
20477
20478Sat Nov 28 09:05:53 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20479
20480	* vm_eval.c (check_funcall_failed): should rescue user raised
20481	  NoMethodError.  rescue all NoMethodError if receiver does not
20482	  respond to the method name.  [ruby-dev:39796]
20483
20484Thu Nov 26 21:14:30 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20485
20486	* test/ruby/test_complex.rb (@unify): fix the detection if math
20487	  loaded. This makes test_complex.rb work fine with the previous
20488	  commit.
20489
20490	* test/ruby/test_rational.rb (@unify): ditto.
20491
20492Thu Nov 26 21:13:36 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20493
20494	* test/test_mathn.rb (TestMathn): new test case.
20495	  test for r25067.
20496
20497Thu Nov 26 21:11:23 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20498
20499	* test/openssl/test_config.rb (OpenSSL::TestConfig): new test case.
20500	  test for r25017.
20501
20502Thu Nov 26 21:08:54 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20503
20504	* test/ruby/test_range.rb (TestRange#test_comparison_when_recursive):
20505	  test for r25010.
20506
20507	* test/ruby/test_struct.rb (TestStruct#test_comparison_when_recursive):
20508	  ditto.
20509
20510Thu Nov 26 20:18:02 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20511
20512	* gem_prelude.rb (Gem.set_home): must dup before force_encoding
20513	  and must force_encoding before gsub.
20514	  cf. Yen Sign problem of SJIS [ruby-core:26910]
20515
20516Thu Nov 26 17:54:37 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20517
20518	* win32/{configure.bat, setup.mak, Makefile.sub}: add new configure
20519	  option ``--with-ntver''.
20520
20521Thu Nov 26 11:42:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20522
20523	* test/mkmf/base.rb: use $INCFLAGS to add -I option.  [Bug#2387]
20524
20525Thu Nov 26 07:17:58 2009  wanabe  <s.wanabe@gmail.com>
20526
20527	* marshal.c (mark_dump_arg): mark str.  see also [ruby-dev:39735]
20528
20529Thu Nov 26 00:05:58 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
20530
20531	* test/digest/test_digest_extend.rb: Added tests for current digest
20532	  framework.
20533
20534Wed Nov 25 20:46:37 2009  Tanaka Akira  <akr@fsij.org>
20535
20536	* vm_eval.c (rb_search_method_entry): refine error message.
20537
20538Wed Nov 25 19:29:05 2009  Akinori MUSHA  <knu@iDaemons.org>
20539
20540	* ext/digest/digest.c (rb_digest_instance_method_unimpl): Do not
20541	  call rb_inspect() on an object that does not implement necessary
20542	  methods; reported by NaHi.
20543
20544Wed Nov 25 19:30:30 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
20545
20546	* transcode.c: Added a check for an internal error
20547	  (with Tatsuya Mizuno)
20548
20549Tue Nov 24 22:57:46 2009  Tanaka Akira  <akr@fsij.org>
20550
20551	* test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Error
20552	  instead of flunk.  reported by Yusuke Endoh.
20553
20554Tue Nov 24 22:31:44 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20555
20556	* vm.c (ruby_vm_destruct, thread_memsize): fix argument type to make
20557	  RUBY_MARK_FREE_DEBUG available.
20558
20559Tue Nov 24 21:25:21 2009  Tanaka Akira  <akr@fsij.org>
20560
20561	* error.c: include errno.h at beginning.
20562
20563Tue Nov 24 20:11:37 2009  Tanaka Akira  <akr@fsij.org>
20564
20565	* strftime.c: %Y format a year with 4 digits at least.
20566
20567	* lib/time.rb: format a year with 4 digits at least.
20568
20569Tue Nov 24 20:05:27 2009  Tanaka Akira  <akr@fsij.org>
20570
20571	* defs/known_errors.def: more errors.
20572
20573Tue Nov 24 20:01:49 2009  Tanaka Akira  <akr@fsij.org>
20574
20575	* include/ruby/ruby.h (rb_bug_errno): declared.
20576
20577	* include/ruby/intern.h (rb_strerrno): declaration removed.
20578
20579	* error.c (rb_strerrno): make it static.  return NULL for unknown
20580	  errors.
20581	  (rb_bug_errno): defined.
20582
20583	* thread_pthread.c: use rb_bug_errno.
20584
20585	* signal.c (ruby_signal): use rb_bug_errno.
20586
20587Tue Nov 24 10:17:38 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20588
20589	* file.c (file_path_convert): fix fs_encoding is not assign.
20590
20591Tue Nov 24 10:00:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20592
20593	* error.c (rb_strerrno): constified.
20594
20595Tue Nov 24 09:49:31 2009  Tanaka Akira  <akr@fsij.org>
20596
20597	* error.c (rb_strerrno): return "UNKNOWNERROR" for non-zero unknown
20598	  error.
20599
20600Tue Nov 24 09:18:33 2009  Tanaka Akira  <akr@fsij.org>
20601
20602	* include/ruby/intern.h (rb_strerrno): declared.
20603
20604	* template/known_errors.inc.tmpl: generate defined_error() and
20605	  undefined_error() instead of set_syserr.
20606
20607	* error.c (Init_syserr): define defined_error() and undefined_error()
20608	  to follow the above change.
20609	  (rb_strerrno): defined.
20610
20611	* thread_pthread.c: show error message and errno macro name with
20612	  rb_bug.
20613
20614Mon Nov 23 16:06:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20615
20616	* thread_pthread.c (RUBY_STACK_MIN, RUBY_STACK_SPACE): delay for
20617	  platforms where PTHREAD_STACK_MIN is not compile time constant.
20618	  [ruby-dev:39751]
20619
20620Mon Nov 23 11:26:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20621
20622	* dln.c (dln_find_1): removed duplication.
20623
20624Mon Nov 23 04:12:00 2009  Tanaka Akira  <akr@fsij.org>
20625
20626	* enc/trans/newline.trans (fun_so_universal_newline): generate \n
20627	  after \r\n detection instead of just after \r.
20628	  [ruby-list:45988] [ruby-core:25881] [ruby-core:26788]
20629
20630Sat Nov 21 18:48:35 2009  Tanaka Akira  <akr@fsij.org>
20631
20632	* vm_eval.c (rb_search_method_entry): show flags and klass value in
20633	  not implemented error message.
20634
20635Sat Nov 21 16:38:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20636
20637	* marshal.c (marshal_dump): use normal object as the buffer so
20638	  that no hidden object is exposed to ruby-level.  [ruby-dev:39744]
20639
20640Sat Nov 21 15:58:43 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20641
20642	* io.c (read_all): fix: false negative invalid byte sequence
20643	  on reading from pipes. [ruby-dev:39743]
20644	  fix: assign the variable 'pos' as relative value from recent pos.
20645
20646Sat Nov 21 14:44:16 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20647
20648	* file.c (file_path_convert): delay getting UTF8-MAC encoding
20649	  while really needed. [ruby-core:26807]
20650
20651Fri Nov 20 21:16:54 2009  Tanaka Akira  <akr@fsij.org>
20652
20653	* vm_eval.c (rb_search_method_entry): avoid trigraph.
20654
20655Thu Nov 19 23:17:06 2009  Shugo Maeda  <shugo@ruby-lang.org>
20656
20657	* lib/net/ftp.rb (putbinaryfile): use APPE for resume.
20658	  Thanks, Tomoyuki Chikanaga.
20659
20660Thu Nov 19 22:50:05 2009  Shugo Maeda  <shugo@ruby-lang.org>
20661
20662	* lib/net/imap.rb (flag_list): untaint strings to intern in the safe
20663	  level 1.
20664
20665	* lib/net/imap.rb (max_flag_count=): new methods to set the max
20666	  number of flags interned to symbols.
20667
20668Thu Nov 19 20:43:39 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20669
20670	* ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros.
20671	  reported by Kenta Murata <mrkn AT mrkn.jp> via IRC.
20672
20673Thu Nov 19 17:00:59 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20674
20675	* win32/Makefile.sub: nmake execute the file named echo if it exists
20676	  in the PATH.  reported by Kenta Murata <mrkn AT mrkn.jp> via IRC.
20677
20678Thu Nov 19 02:50:47 2009  Tanaka Akira  <akr@fsij.org>
20679
20680	* vm_eval.c (rb_search_method_entry): show the type of the hidden
20681	  object.
20682	  (rb_type_str): new function for above.
20683
20684Thu Nov 19 00:47:09 2009  Tanaka Akira  <akr@fsij.org>
20685
20686	* io.c (MORE_CHAR_SUSPENDED): renamed from MORE_CHAR_CBUF_FULL.
20687
20688Wed Nov 18 22:00:13 2009  Tanaka Akira  <akr@fsij.org>
20689
20690	* io.c (fill_cbuf): extracted from more_char.
20691	  (io_shift_cbuf): fix memmove condition.
20692	  (read_all): use fill_cbuf directly to avoid ECONV_AFTER_OUTPUT.
20693	  [ruby-dev:39708]
20694
20695Wed Nov 18 18:25:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20696
20697	* thread.c (rb_thread_atfork_internal): reinitialize global lock
20698	  at fork to get rid of deadlock.  based on the patch from Hongli
20699	  Lai in [ruby-core:26783].  [ruby-core:23572]
20700
20701Wed Nov 18 17:48:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20702
20703	* thread.c (terminate_atfork_i): all mutex locks by other threads
20704	  have been abandoned at fork.
20705
20706Wed Nov 18 15:27:20 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20707
20708	* file.c (file_path_convert): delay getting filesystem encoding
20709	  while really needed.
20710
20711Wed Nov 18 12:33:42 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20712
20713	* encoding.c (enc_set_default_encoding): reset filesystem
20714	  encoding because on resetting default_external because
20715	  Unix's filesystem encoding depends on default_external.
20716
20717	* encoding.c (enc_set_filesystem_encoding): added.
20718
20719	* ruby.c (process_options): don't call rb_filesystem_encoding
20720	  because filesystem encoding is reset when default_external
20721	  is reset.
20722
20723Wed Nov 18 11:57:32 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
20724
20725	* math.c (math_gamma): fix incorrect comparison expression.
20726	  see also [ruby-dev:39709] [Bug #2381]
20727
20728Wed Nov 18 11:37:05 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20729
20730	* io.c (rb_scan_open_args): move path encoding conversion
20731	  for filesystem encoding of Mac OS X.
20732
20733	* file.c (file_path_convert): added for convert encoding
20734	  of file path.
20735
20736	* file.c (rb_get_path_check): add file_path_convert.
20737
20738Wed Nov 18 10:17:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20739
20740	* string.c (str_utf8_nth): no count_utf8_lead_bytes_with_word
20741	  optimization for short string.  [ruby-core:26787]
20742
20743	* string.c (str_utf8_offset): str_utf8_nth never return NULL.
20744
20745Wed Nov 18 10:12:34 2009  Shugo Maeda  <shugo@ruby-lang.org>
20746
20747	* vm_method.c (rb_undef): should raise TypeError if klass is nil.
20748	  1.instance_eval { undef to_s } causes SEGV before this fix.
20749
20750	* test/ruby/test_undef.rb: new tests for undef.
20751
20752Wed Nov 18 08:41:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20753
20754	* string.c (str_utf8_nth): fixed overrun.  [ruby-core:26787]
20755
20756Wed Nov 18 07:51:01 2009  Tanaka Akira  <akr@fsij.org>
20757
20758	* io.c (parse_mode_enc): fix invalid access.
20759
20760Tue Nov 17 23:50:06 2009  Shugo Maeda  <shugo@ruby-lang.org>
20761
20762	* vm_method.c (rb_alias): should raise TypeError if klass is nil.
20763	  1.instance_eval { alias to_string to_s } causes SEGV before this
20764	  fix.
20765
20766	* test/ruby/test_alias.rb (test_special_const_alias): ditto.
20767
20768Tue Nov 17 17:53:53 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
20769
20770	* enc/big5.c, enc/trans/big5.trans, enc/trans/big5-uao-tbl.rb,
20771	  test/ruby/test-transcode.rb: Added Encoding 'Big5-UAO' and transcoding
20772	  for it (from Tatsuya Mizuno) (see Bug #1784)
20773
20774Tue Nov 17 16:26:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20775
20776	* insns.def (opt_case_dispatch): runtime value cannot be used as
20777	  an element initializer.
20778
20779	* vm_insnhelper.c (opt_case_dispatch_i): gets rid of type-punning
20780	  calls.
20781
20782Mon Nov 16 15:51:53 2009  Shugo Maeda  <shugo@ruby-lang.org>
20783
20784	* vm_insnhelper.c (vm_call_method): protected singleton methods of
20785	  an object should not be able to called from other instances of the
20786	  class of the object.  [ruby-core:26761]
20787
20788	* vm_eval.c (rb_method_call_status): ditto.
20789
20790	* test/ruby/test_module.rb (test_protected_singleton_method): ditto.
20791
20792Mon Nov 16 14:03:53 2009  wanabe  <s.wanabe@gmail.com>
20793
20794	* io.c (read_all): shift read buffer if exception occurred.
20795	  pointed out in [ruby-dev:39702].
20796
20797Mon Nov 16 07:59:38 2009  wanabe  <s.wanabe@gmail.com>
20798
20799	* io.c (read_all): don't call io_shift_cbuf until buffering enough or
20800	  econv_finished.   [ruby-dev:39696]
20801
20802	* io.c (more_char): don't call clear_readconv to read buffer after
20803	  econv_finished.
20804
20805	* io.c (appendline, rb_io_each_codepoint): clear readconv when done.
20806
20807Mon Nov 16 01:58:08 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20808
20809	* include/ruby/ruby.h (rb_classext_t): annotate @internal.
20810
20811Mon Nov 16 01:35:34 2009  Tanaka Akira  <akr@fsij.org>
20812
20813	* encoding.c (rb_filesystem_encindex): use default external encoding
20814	  instead of locale encoding in Unix.
20815
20816	* ruby.c (process_options): delay filesystem encoding
20817	  initialization until default external encoding initialization.
20818
20819Mon Nov 16 00:06:26 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20820
20821	* thread.c (thread_cleanup_func): delete locking_mutex when thread
20822	  object become dummy because of fork.  [ruby-core:26744]
20823	  [ruby-core:26745]
20824
20825	* bootstraptest/test_thread.rb: add a test for above.
20826
20827Sat Nov 14 21:54:46 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20828
20829	* class.c (rb_mod_init_copy): fix memory leak of Class#dup.
20830	  [ruby-dev:39687]
20831
20832Sat Nov 14 17:09:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20833
20834	* configure.in (--with-opt-dir): ignore and suppress a warning.
20835	  [ruby-dev:39684]
20836
20837Sat Nov 14 16:43:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20838
20839	* hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.
20840	  [ruby-core:26668]
20841
20842Sat Nov 14 09:16:54 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
20843
20844	* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): Fix comparisons
20845	  [ruby-core:26646]
20846
20847	* test/bigdecimal/test_bigdecimal.rb (class): Fix and improve tests.
20848
20849Sat Nov 14 04:07:06 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
20850
20851	* ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a
20852	  numeric value.
20853
20854Sat Nov 14 03:35:29 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
20855
20856	* ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have a
20857	  bug on handling of the "other" value.
20858
20859Fri Nov 13 21:18:15 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20860
20861	* ext/zlib/zlib.c (rb_zlib_adler32): fix typo.
20862
20863Fri Nov 13 16:22:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20864
20865	* thread.c (thread_start_func_2): see first_func, not first_proc,
20866	  to decide which to use.
20867
20868	* gc.c (vm_xrealloc): use the given object space.
20869
20870Fri Nov 13 00:46:24 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
20871
20872	* lib/cgi/util.rb (CGI::pretty): fix the overflow bug
20873	  if stripped string.[ruby-dev:37975]
20874
20875Thu Nov 12 23:08:11 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
20876
20877	* lib/cgi/core.rb (read_from_cmdline): this code is better.
20878	  [ruby-core:25991]
20879
20880Thu Nov 12 22:55:42 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
20881
20882	* lib/net/telnet.rb: don't use simple delegate.
20883	  because SimpleDelegate behavior changed.
20884
20885Thu Nov 12 14:33:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20886
20887	* thread_win32.c (thread_errno): CreateThread does not set errno.
20888
20889	* thread.c (thread_create_core): moved failure handling from
20890	  native_thread_core().
20891
20892	* thread_pthread.c (native_thread_create): constified.
20893
20894Thu Nov 12 10:08:56 2009  NARUSE, Yui  <naruse@ruby-lang.org>
20895
20896	* .document: remove documents not in rdoc format until
20897	  rdoc supports non rdoc files. [ruby-core:26459]
20898
20899Thu Nov 12 06:42:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20900
20901	* lib/tempfile.rb (Tempfile#initialize): option hash may not be
20902	  given.  [ruby-core:26681]
20903
20904Thu Nov 12 01:29:15 2009  Yusuke Endoh  <mame@tsg.ne.jp>
20905
20906	* enumerator.c (yielder_yield_push): Yielder#<< should return self.
20907	  [ruby-dev:39660]
20908
20909Wed Nov 11 19:17:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20910
20911	* lib/tempfile.rb (Tempfile#initialize): merge mode option.
20912
20913	* lib/tmpdir.rb (Dir::Tmpname#create): splat options.
20914
20915Wed Nov 11 12:54:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20916
20917	* hash.c (ruby_setenv): use ruby_strdup().
20918
20919Wed Nov 11 12:19:27 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
20920
20921	* hash.c (ruby_setenv): also set CRT workarea.  ref [ruby-core:25010]
20922
20923Wed Nov 11 09:36:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20924
20925	* marshal.c (w_object, r_object0): use RHASH_IFNONE but not ifnone
20926	  directly.
20927
20928Wed Nov 11 08:32:45 2009  Tanaka Akira  <akr@fsij.org>
20929
20930	* thread.c (blocking_region_begin): define before BLOCKING_REGION.
20931	  reported by Luis Lavena.  [ruby-core:26670]
20932
20933Wed Nov 11 08:22:19 2009  Tanaka Akira  <akr@fsij.org>
20934
20935	* util.c (ruby_strtod): use dval() consistently.
20936
20937Wed Nov 11 02:14:48 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
20938
20939	* test/matrix/test_matrix.rb (TestMatrix#test_rank):
20940	  added a test method for r24969.
20941
20942Tue Nov 10 08:23:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20943
20944	* process.c (rb_f_exec, rb_f_system, rb_f_spawn): mentioned about
20945	  the shell to be used when the command line is single string.
20946	  See [ruby-core:26652]
20947
20948Mon Nov  9 20:15:16 2009  Tanaka Akira  <akr@fsij.org>
20949
20950	* thread.c (rb_gc_save_machine_context): don't save the stack pointer
20951	  in this function.
20952	  (RB_GC_SAVE_MACHINE_CONTEXT): call rb_gc_save_machine_context and
20953	  save the stack pointer at caller side.
20954	  (rb_thread_schedule_rec): use RB_GC_SAVE_MACHINE_CONTEXT instead of
20955	  rb_gc_save_machine_context.
20956	  (blocking_region_begin): changed to a macro.  use
20957	  RB_GC_SAVE_MACHINE_CONTEXT instead of rb_gc_save_machine_context.
20958	  [ruby-dev:39659]
20959
20960Mon Nov  9 11:28:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20961
20962	* configure.in (warnflags): add -Wno-long-long.
20963
20964Sun Nov  8 18:13:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20965
20966	* hash.c: use RHASH_IFNONE but not ifnone directly.
20967
20968Sat Nov  7 21:02:57 2009  Tanaka Akira  <akr@fsij.org>
20969
20970	* lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of
20971	  instance variables.
20972
20973Sat Nov  7 20:59:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
20974
20975	* vm_insnhelper.c (vm_push_frame): get rid of out-of-bounds
20976	  access.
20977
20978Sat Nov  7 12:41:19 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20979
20980	* vm_insnhelper.c (VM_CALLEE_SETUP_ARG): revert r25521.
20981	   [ruby-core:26427] [ruby-core:26447]
20982
20983Fri Nov  6 18:33:47 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
20984
20985	* vm_insnhelper.c (vm_push_frame): add CHECK_STACK_OVERFLOW.
20986	  [ruby-dev:39592]
20987
20988	* eval.c (rb_longjmp): add 1 level backtrace for sysstack_error
20989	  without calling any method to prevent further stack overflow.
20990
20991	* eval.c (make_exception): don't call #exception for
20992	  sysstack_error to prevent stack overflow.
20993
20994	* proc.c (Init_Proc): don't freeze sysstack_error.
20995
20996	* eval.c (rb_longjmp): move reentrant check after exception
20997	  preparation.
20998
20999Fri Nov  6 17:13:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21000
21001	* lib/mkmf.rb (create_header): split the line by tabs.
21002
21003Fri Nov  6 12:02:32 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21004
21005	* configure.in (MINIDLNOBJ): set default as dmydln.o.
21006	  Now LLVM clang seems to be able to build Ruby 1.9.
21007
21008Fri Nov  6 09:29:32 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21009
21010	* encoding.c (rb_filesystem_encindex): add fallback to
21011	  ASCII-8BIT on Windows.
21012
21013Fri Nov  6 07:29:07 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
21014
21015	* test/ruby/test_case.rb: merged r25658 from ruby_1_8.
21016
21017Thu Nov  5 12:27:07 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21018
21019	* gem_prelude.rb (Gem.user_home): force_encoding(
21020	  Encoding.find('filesystem')). [ruby-core:26525]
21021
21022Thu Nov  5 07:47:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21023
21024	* parse.y (BEGIN): now local_push and local_pop are necessary in
21025	  ripper.
21026
21027Wed Nov  4 21:39:10 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21028
21029	* .document: add some README files to default rdoc's of trunk.
21030	  patched by Roger Pack [ruby-core:26459]
21031
21032Wed Nov  4 16:06:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21033
21034	* include/ruby/st.h (SIZEOF_ST_INDEX_T): moved from st.c for
21035	  Init_RandomSeed().
21036
21037Wed Nov  4 15:50:16 2009  URABE Shyouhei  <shyouhei@ruby-lang.org>
21038
21039	* include/ruby/ruby.h (NUM2CHR): prefix __extension__ for
21040	  braced-groups within expressions.
21041
21042Wed Nov  4 15:46:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21043
21044	* ruby.c (set_{internal,external}_encoding_once): fixed typos.
21045
21046Wed Nov  4 12:49:18 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21047
21048	* proc.c (mnew): Fix scope issue [ruby-core:26069]
21049
21050Wed Nov  4 08:50:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21051
21052	* random.c (rb_hash_start): moved from string.c.
21053
21054	* random.c (Init_RandomSeed2): register global address before set.
21055
21056	* random.c (Init_RandomSeed): initialize hashseed.
21057
21058Wed Nov  4 08:26:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21059
21060	* dir.c (dir_check): moved other checks from GetDIR.
21061
21062	* dir.c (GetDIR): fixed a variable name.
21063
21064Wed Nov  4 08:19:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21065
21066	* cont.c (rb_fiber_start): fixed unconditional test.
21067
21068Wed Nov  4 02:08:14 2009  Aaron Patterson  <tenderlove@ruby-lang.org>
21069
21070	* ext/dl/cptr.c (rb_dlptr_eql, rb_dlptr_cmp): DL::CPtr#== and DL::CPtr#<=>
21071	  should not raise an exception when compared to a different object.
21072
21073Wed Nov  4 00:05:36 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21074
21075	* string.c (rb_str_upto): make next object before yield its block.
21076	  fix: can modify original begin string of String#upto.
21077	  [ruby-dev:26384] [ruby-dev:39626]
21078
21079Mon Nov  2 18:33:21 2009  wanabe  <s.wanabe@gmail.com>
21080
21081	* cont.c (fiber_free): don't free unallocated local_storage. see #1325.
21082
21083	* cont.c (cont_init): clear local_storage not to use current thread's.
21084
21085	* cont.c (fiber_t_alloc, root_fiber_alloc): link itself always for
21086	  a case that fiber_link_remove() is called before fiber_link_join().
21087
21088	* cont.c (fiber_init): clear cont->vm_stack and th->stack before
21089	  root_fiber_alloc() in rb_fiber_current().
21090
21091Mon Nov  2 14:52:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21092
21093	* eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):
21094	  suppressed shorten-64-to-32 warnings.
21095
21096Mon Nov  2 14:43:48 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21097
21098	* thread_pthread.c (native_stop_timer_thread): delay joining timer
21099	  thread after unlocking mutex.
21100
21101Mon Nov  2 13:31:14 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21102
21103	* thread_pthread.c (native_stop_timer_thread): need to join timer thread
21104	  only when really stopping it.
21105
21106Mon Nov  2 12:55:50 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21107
21108	* thread_{pthread,win32}.c (native_stop_timer_thread): join the thread
21109	  here.
21110
21111	* thread_{pthread,win32}.c (native_reset_timer_thread): new function.
21112
21113	* thread.c (rb_thread_stop_timer_thread, rb_thread_reset_timer_thread):
21114	  call above function instead of simply setting 0.
21115
21116Mon Nov  2 11:22:19 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21117
21118	* ext/dl/win32/lib/win32/registry.rb: update rdoc. [ruby-core:26022]
21119
21120Sun Nov  1 20:16:03 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21121
21122	* ext/bigdecimal/bigdecimal.c: fixed rdoc. [ruby-core:26457]
21123
21124Sun Nov  1 16:24:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21125
21126	* configure.in (rb_cv_stack_grow_dir): fix for universal binary.
21127
21128	* configure.in (sitehdrdir, vendorhdrdir): fixed default values.
21129
21130Sun Nov  1 13:31:16 2009  wanabe  <s.wanabe@gmail.com>
21131
21132	* win32/win32.c (overlapped_socket_io, recvmsg, sendmsg): pass handle
21133	  instead of pointer to CloseHandle().
21134
21135Sun Nov  1 13:11:27 2009  wanabe  <s.wanabe@gmail.com>
21136
21137	* ext/socket/socket.c (socket_s_ip_address_list): use FreeLibrary() to
21138	  free HMODULE.
21139
21140Sun Nov  1 08:17:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21141
21142	* gc.c (GET_STACK_BOUNDS): refactored common code.  based on a
21143	  patch from Suraj N. Kurapati <sunaku AT gmail.com> in
21144	  [ruby-core:26443].
21145
21146Sat Oct 31 23:44:35 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21147
21148	* enum.c (enum_count): remove optimization using #size.
21149	  revert r25560.
21150
21151	* vm_eval.c (rb_funcall_no_recursive): remove method.
21152
21153Sat Oct 31 23:28:49 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21154
21155	* vm_eval.c (check_funcall): logic updated according to
21156	  [ruby-dev:39594].  search method entry, call if it exists;
21157	  otherwise check method_missing, call if it was overridden,
21158	  protecting exceptions; if NoMethodError happens, check method
21159	  name.
21160
21161	* vm_eval.c (vm_call0): use idMethodMissing.
21162
21163	* vm_eval.c (rb_search_method_entry): typo fixed.
21164
21165Sat Oct 31 17:19:28 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
21166
21167	* lib/net/http.rb (Net::HTTPResponse#each_response_header):
21168	  cosmetic: '?\ ' -> '?\s'
21169
21170Fri Oct 30 22:09:47 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
21171
21172	* lib/net/http.rb (Net::HTTPResponse#each_response_header):
21173	  accept multiline message header of HTTP response.  see #1796.
21174	  cf. RFC 2616 '4.2 Message Header'.
21175
21176	* test/net/http/test_httpresponse.rb: added.
21177
21178Fri Oct 30 18:54:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21179
21180	* string.c (trnext): detect empty range and raise exception.
21181	   [ruby-dev:39108]
21182
21183Fri Oct 30 17:01:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21184
21185	* vm_eval.c (enum call_type): get rid of last comma.
21186
21187	* vm_eval.c (vm_call0, vm_call_super, rb_f_send, rb_f_public_send):
21188	  fixed call_type.  [ruby-dev:39581]
21189
21190	* vm_eval.c (rb_search_method_entry, rb_method_call_status): split
21191	  from rb_call0().
21192
21193	* vm_eval.c (rb_check_funcall): get rid of raising exceptions and
21194	  hiding further exceptions.  [ruby-dev:39584]
21195
21196	* vm_eval.c (rb_funcall_no_recursive): ditto.
21197
21198Fri Oct 30 13:36:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21199
21200	* thread.c (rb_thread_blocking_region): reverted r25566, and added
21201	  description that no exception is allowed inside `func', instead.
21202	  see [ruby-dev:39582]
21203
21204Fri Oct 30 13:13:16 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21205
21206	* win32.c (recvmsg, sendmsg, link): shouldn't raise ruby's exceptions
21207	  in the functions expected as system API.  see [ruby-dev:39579] and
21208	  [ruby-dev:39582]
21209
21210Fri Oct 30 12:59:20 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21211
21212	* thread.c (rb_thread_blocking_region): standard C doesn't accept
21213	  preprocessing directive within macro expansion.
21214
21215Fri Oct 30 10:55:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21216
21217	* thread.c (rb_thread_blocking_region): must ensure to unlock GVL.
21218	  [ruby-dev:39579]
21219
21220Fri Oct 30 04:47:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21221
21222	* include/ruby/ruby.h (RSTRING_END): trivial optimization.
21223
21224	* string.c (rb_str_sub_bang): trivial optimization.
21225
21226Fri Oct 30 02:11:36 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21227
21228	* enum.c (enum_count): call #size using rb_funcall_no_recursive()
21229	  to prevent infinite recursive calls.  [ruby-core:24794]
21230
21231	* vm_eval.c (rb_funcall_no_recursive): utility function to check
21232	  direct recursive call.
21233
21234	* vm_eval.c (rb_check_funcall): move from eval.c. [refactoring]
21235
21236Thu Oct 29 18:37:02 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21237
21238	* encoding.c (Init_Encoding): revert previous commit.
21239
21240	* ruby.c (process_options): ditto.
21241
21242Thu Oct 29 15:35:39 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21243
21244	* encoding.c (Init_Encoding): set locale and filesystem encindex.
21245
21246	* ruby.c (process_options): move setting func of filesystem
21247	  encoding to Init_Encoding.
21248
21249Thu Oct 29 15:43:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21250
21251	* vm_core.h (rb_name_err_mesg_new): added prototype.
21252
21253Thu Oct 29 13:53:18 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21254
21255	* array.c (rb_ary_to_ary): do not use #respond_to? to detect
21256	  to_ary.  Just call.  [ruby-core:23738]
21257
21258	* eval.c (rb_check_funcall): new function with method existence
21259	  check.  returns Qundef when the method does not exist.
21260
21261	* enumerator.c (enumerator_rewind): just call method, using
21262	  rb_check_funcall().  [ruby-core:23738]
21263
21264	* error.c (exc_equal): ditto.
21265
21266	* object.c (convert_type): ditto.
21267
21268	* error.c (rb_name_err_mesg_new): export function.
21269
21270	* eval.c (make_exception): ditto.
21271
21272	* io.c (pop_last_hash): return early when the last argument is nil.
21273
21274	* io.c (rb_io_puts): treat T_STRING specially for small
21275	  optimization.
21276
21277	* vm_eval.c (raise_method_missing): skip method call if possible
21278	  using rb_method_basic_definition_p().
21279
21280	* vm_eval.c (method_missing): ditto.
21281
21282	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_debug): test
21283	  suites changed to ignore exceptions caused by just-call policy.
21284
21285Thu Oct 29 04:41:44 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21286
21287	* ruby.c (process_options): call rb_filesystem_encoding().
21288
21289Thu Oct 29 04:40:36 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21290
21291	* io.c (Init_IO): rb_default_rs should be US-ASCII.
21292
21293Thu Oct 29 01:22:01 2009  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
21294
21295	* ext/socket/extconf.rb : Compilation failure on AIX.
21296	  ss_len (a member of struct sockaddr_storage) has preceding __,
21297	  but ss_family does not have it from AIX 5.2.
21298
21299Wed Oct 28 16:32:49 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21300
21301	* encoding.c (get_filesystem_encoding): removed.
21302
21303	* encoding.c (rb_locale_encindex): added.
21304
21305	* encoding.c (rb_filesystem_encindex): added.
21306
21307	* encoding.c (rb_filesystem_encindex): add an alias 'filesystem'.
21308	  [ruby-dev:39574]
21309
21310	* encoding.c (enc_find): add rdoc about special aliases.
21311
21312	* gem_prelude.rb (Gem.set_home): use Encoding.find('filesystem').
21313
21314	* gem_prelude.rb (Gem.set_paths): ditto.
21315
21316Wed Oct 28 15:02:31 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21317
21318	* gem_prelude.rb (Gem.set_home):
21319	  force_encoding(Encoding.filesystem_encoding)
21320	  [ruby-core:25959]
21321
21322	* gem_prelude.rb (Gem.set_paths): ditto.
21323
21324Wed Oct 28 14:24:45 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21325
21326	* encoding.c (get_filesystem_encoding):
21327	  add Encoding.filesystem_encoding [ruby-dev:39546]
21328	  also see [ruby-core:25959]
21329
21330Wed Oct 28 14:51:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21331
21332	* ext/etc/etc.c (etc_each_group): fixed typo.
21333
21334Wed Oct 28 13:02:10 2009  Shugo Maeda  <shugo@ruby-lang.org>
21335
21336	* lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true.
21337
21338	* lib/net/ftp.rb (Net::FTP#binary=): sends a TYPE command only when
21339	  logged in. [ruby-dev:39548]
21340
21341	* lib/net/ftp.rb (Net::FTP#send_type_command): new private method
21342	  which sends an appropriate TYPE command according to the value of
21343	  @binary.
21344
21345	* lib/net/ftp.rb (Net::FTP#login): calls send_type_command instead
21346	  of binary=.
21347
21348Wed Oct 28 12:26:51 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21349
21350	* vm_insnhelper.c (vm_setup_method): should push call frame before
21351	  raising exception, to put the Ruby-defined method name in the
21352	  error message.  [ruby-core:26333]
21353
21354	* vm_insnhelper.c (VM_CALLEE_SETUP_ARG): macro modified.
21355
21356	* vm_insnhelper.c (vm_yield_setup_args): modified for new
21357	  VM_CALLEE_SETUP_ARG macro.
21358
21359Tue Oct 27 22:46:44 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21360
21361	* lib/net/ftp.rb (Net::FTP#initialize): @sock = nil.
21362
21363	* lib/net/ftp.rb (Net::FTP#binary=): send command only when
21364	  socket is open. [ruby-dev:39548]
21365
21366Tue Oct 27 22:22:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21367
21368	* ext/stringio/stringio.c (Init_stringio): added read_nonblock and
21369	  write_nonblock aliases.  [ruby-dev:39551]
21370
21371	* ext/stringio/stringio.c (strio_data_type): typed.
21372
21373Tue Oct 27 21:20:35 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
21374
21375	* ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.
21376
21377Tue Oct 27 16:36:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21378
21379	* string.c (chopped_length): get rid of unexpected exception.
21380	  see [ruby-core:26336].
21381
21382Tue Oct 27 15:53:10 2009  Tanaka Akira  <akr@fsij.org>
21383
21384	* gc.h (SET_MACHINE_STACK_END): use __i386.
21385	  Some compiler may not define __i386__.
21386	  Solaris 64-bit Developer's Guide:
21387	  http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view
21388
21389Tue Oct 27 15:44:48 2009  Shugo Maeda  <shugo@ruby-lang.org>
21390
21391	* lib/net/ftp.rb (getbinaryfile, list): call to_s to convert
21392	  a Pathname instance into a string.  [ruby-core:26237]
21393
21394Tue Oct 27 12:30:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21395
21396	* gc.h (SET_MACHINE_STACK_END): use __i386__ instead of __i386,
21397	  and explicit size qualifiers.
21398
21399Tue Oct 27 09:40:55 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21400
21401	* gc.h (SET_MACHINE_STACK_END): add x86_64 version by nobu.
21402
21403Tue Oct 27 09:27:59 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21404
21405	* vm_exec.c (DECL_SC_REG): use __clang__.
21406
21407Tue Oct 27 08:56:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21408
21409	* mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb
21410	  on some platforms.  [ruby-core:26332]
21411
21412Tue Oct 27 08:01:57 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
21413
21414	* parse.y (ripper_filename): add Ripper#filename. [ruby-dev:37856]
21415
21416	* test/ripper/test_filter.rb: add more tests.
21417
21418Tue Oct 27 07:53:25 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21419
21420	* gc.c (garbage_collect_with_gvl): do not garbage_collect when
21421	  dont_gc flag turned on.  [ruby-core:26327]
21422
21423Tue Oct 27 07:38:39 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
21424
21425	* ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compiled
21426	  with old ruby 1.8.x.
21427
21428	* ext/tk/tkutil/tkutil.c: ditto.
21429
21430Tue Oct 27 05:56:39 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21431
21432	* vm.c (invoke_block_from_c): return Qnil when its iseq is
21433	  SPECIAL CONST. [ruby-core:26335]
21434
21435Tue Oct 27 05:11:49 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21436
21437	* vm_exec.c (DECL_SC_REG): check defined(__asm__) before use it.
21438	  LLVM/clang defines __GNUC__ but doesn't have __asm__.
21439
21440Tue Oct 27 03:45:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21441
21442	* win32/Makefile.sub (config.h): added RUBY_SITEARCH to use
21443	  different name from RUBY_ARCH.  [ruby-core:26324]
21444
21445Mon Oct 26 20:04:13 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21446
21447	* array.c (rb_ary_cmp): Array#<=> returns nil when comparison fails
21448	  [ruby-core:26316]
21449
21450Mon Oct 26 18:37:57 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21451
21452	* hash.c (default_proc_arity_check): new support function.
21453
21454	* hash.c (rb_hash_initialize): should do arity check as #default_proc=.
21455	  [ruby-core:26281]
21456
21457Mon Oct 26 13:24:17 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
21458
21459	* ext/tk/lib/remote-tk.rb: typo fixed.
21460
21461Mon Oct 26 12:34:08 2009  Yusuke Endoh  <mame@tsg.ne.jp>
21462
21463	* ruby.c (usage): -T and -W descriptions updated.  see
21464	  [ruby-dev:39539]
21465
21466	* man/ruby.1: ditto.
21467
21468Mon Oct 26 12:06:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21469
21470	* io.c (io_fwrite): adjust stdio file position after direct write on
21471	  BSDish platforms.   [ruby-core:26300]
21472
21473Sun Oct 25 15:44:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21474
21475	* ext/dl/handle.c (dlhandle_sym): fixed an invalid local variable
21476	  declaration.
21477
21478Sun Oct 25 13:33:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21479
21480	* io.c (io_cntl): F_DUPFD is platform dependent.
21481
21482Sun Oct 25 10:19:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21483
21484	* ext/dl/handle.c (rb_dlhandle_close): fixed an invalid local
21485	  variable declaration.
21486
21487Sun Oct 25 05:44:34 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21488
21489	* lib/matrix.rb (**): Optimization (up to 45% faster)
21490
21491Sat Oct 24 14:28:40 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21492
21493	* hash.c (rb_hash_set_default_proc): checks arity of default_proc
21494	  of a Hash.  [ruby-core:26087]
21495
21496Sat Oct 24 13:38:45 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21497
21498	* object.c (rb_obj_cmp): defines Object#<=>.  [ruby-core:24063]
21499
21500Sat Oct 24 09:51:28 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21501
21502	* enum.c (enum_flat_map): new method that concatenates the values
21503	  from given block.  also provides alias #collect_concat.
21504
21505Sat Oct 24 00:36:47 2009  Tanaka Akira  <akr@fsij.org>
21506
21507	* io.c (io_cntl): update max file descriptor by the result of
21508	  fcntl(F_DUPFD).
21509
21510Fri Oct 23 16:31:14 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21511
21512	* class.c (rb_class_new): move class check to rb_check_inheritable().
21513
21514	* class.c (rb_check_inheritable): should not allow subclass of
21515	  class Class.  [ruby-core:26225]
21516
21517Fri Oct 23 14:25:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21518
21519	* configure.in (target, target_alias): replace with real cpu.
21520
21521	* mkconfig.rb: build* are not needed in rbconfig.rb.
21522
21523	* configure.in (warnflags): use -Wextra only when
21524	  -Wno-missing-field-initializers is available.
21525
21526	* configure.in (optflags): removed -fomit-frame-pointer by default.
21527
21528Fri Oct 23 09:12:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21529
21530	* lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is always
21531	  non-nil.
21532
21533Fri Oct 23 07:32:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21534
21535	* configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnable
21536	  ruby without current libraries.
21537
21538	* common.mk (rdoc): use XRUBY.
21539
21540Fri Oct 23 07:28:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21541
21542	* configure.in (warnflags): use -Wextra instead of -Wall.
21543
21544	* gc.c (mark_current_machine_context): get rid of warning.
21545
21546Thu Oct 22 21:10:39 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21547
21548	* class.c (rb_obj_basic_to_s_p): typo.  Please become familiar with
21549	  the ANSI style.
21550
21551Thu Oct 22 20:20:27 2009  Tanaka Akira  <akr@fsij.org>
21552
21553	* test/ruby/envutil.rb (assert_in_out_err): test_stdout and
21554	  test_stderr should be an array.
21555
21556	* test/ruby/test_rubyoptions.rb (test_notfound): test_stdin of
21557	  assert_in_out_err should be a string.
21558
21559Thu Oct 22 17:49:05 2009  Akinori MUSHA  <knu@iDaemons.org>
21560
21561	* lib/fileutils.rb (FileUtils#fu_get_uid, fu_get_gid): Do not
21562	  convert an integer back and forth.
21563
21564Thu Oct 22 17:29:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21565
21566	* parse.y (arg_prepend): removed.  a patch from Mikhail T. in
21567	  [ruby-core:26217].
21568
21569Thu Oct 22 04:54:41 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21570
21571	* object.c (rb_obj_inspect): print instance variables only when
21572	  Object#to_s is not overridden.  [ruby-core:24425]
21573
21574	* class.c (rb_obj_basic_to_s_p): new function.
21575
21576Wed Oct 21 19:32:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21577
21578	* object.c (rb_obj_inspect): fixed rdoc about the case that to_s
21579	  is called.  [ruby-core:24425]
21580
21581Wed Oct 21 08:17:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21582
21583	* test/logger/test_logger.rb (TestLogDevice#test_write): check
21584	  also error message.
21585
21586Wed Oct 21 03:54:41 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21587
21588	* lib/matrix.rb:
21589	  Creator functions now strict with their arguments
21590	  Support for empty matrices (see new method Matrix.empty)
21591	  Matrix#trace raises an ErrDimensionMismatch if the matrix is not square
21592	  Enumerators are returned when no block given
21593	  Consistent results when accessing elements with out of bounds indices
21594	  Details in [ruby-core:23598].
21595
21596Wed Oct 21 00:27:15 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
21597
21598	* lib/webrick/httpauth/digestauth.rb: typo in exception message fixed.
21599
21600Wed Oct 21 00:17:28 2009  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
21601
21602	* lib/logger.rb: imported upstream version (logger/1.2.7) see #2238.
21603	  * do not raise an exception even if log writing failed.
21604	  * do not raise ShiftingError if an aged file already exists.
21605	    (no ShiftingError will be raised from 1.2.7, just warn() instead)
21606	* test/logger/test_logger.rb: ditto.
21607
21608Tue Oct 20 22:29:06 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
21609
21610	* lib/matrix.rb:  Bug fix. See detail [ruby-core:23598].
21611
21612Tue Oct 20 17:57:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21613
21614	* marshal.c (w_symbol, r_symreal): fixed the order of symbol and
21615	  its encoding modifier, in order to make the dump readable from
21616	  1.8.  [ruby-dev:39515]
21617
21618Tue Oct 20 16:41:18 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21619
21620	* include/ruby/win32.h (finite, scalb): inline'ed non-standard
21621	  identifier macros.  [ruby-core:26166]
21622
21623Tue Oct 20 15:38:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21624
21625	* parse.y (ripper_intern): enable literal optimization.
21626
21627	* parse.y (method_call): dispatch symbols.  a patch from Andy Keep in
21628	  [ruby-core:26169].  [ruby-core:26165]
21629
21630	* parse.y (mlhs_basic): fixed handling splat in middle of mlhs.  a
21631	  patch from Andy Keep in [ruby-core:26163]
21632
21633	* parse.y (parser_here_document): dispatch delayed heredoc
21634	  contents.  based on a patch from Andy Keep in [ruby-core:24855].
21635
21636Mon Oct 19 15:17:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21637
21638	* .gdbinit (rb_method_entry): search method entry by class and id.
21639
21640Mon Oct 19 15:03:31 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21641
21642	* win32/Makefile.sub (enc/unicode/name2ctype.h): no need to create
21643	  directory if it already exists.
21644
21645Mon Oct 19 11:34:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21646
21647	* .gdbinit (rb_ps): dump all threads and their callstacks.  based
21648	  on [ruby-core:26155] by Joshua ben Jore <twists AT gmail.com>.
21649
21650Mon Oct 19 10:59:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21651
21652	* iseq.c (prepare_iseq_build, rb_iseq_build_for_ruby2cext):
21653	  untrust mark array.  [ruby-core:26137]
21654
21655Mon Oct 19 05:49:53 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21656
21657	* lib/rexml/element.rb (text=): false should be converted to string.
21658	  A patch by Teruo Oshida [ruby-dev:38351]
21659
21660Sun Oct 18 22:33:25 2009  Tadayoshi Funaba  <tadf@dotrb.org>
21661
21662	* lib/date.rb: do not require lib/delta.rb.
21663
21664	* lib/date/delta.rb: follows the above change.
21665
21666Sun Oct 18 19:14:21 2009  Tanaka Akira  <akr@fsij.org>
21667
21668	* parse.y (is_special_global_name): add boundary check.
21669
21670Sun Oct 18 18:31:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21671
21672	* ruby.c (ruby_init_loadpath_safe): should not dup tmp string.  a
21673	  patch from neomjp neomjp in [ruby-core:24251].
21674
21675Sun Oct 18 09:49:14 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
21676
21677	* test/test_prime.rb
21678	  (TestPrime#test_eratosthenes_works_fine_after_timeout):
21679	  test for [ruby-dev:39465].
21680
21681	* lib/prime.rb (Prime::EratosthenesSieve):
21682	  fixed [ruby-dev:39465].
21683	  suppressed memory reallocation.
21684	  constantified some magic numbers.
21685
21686Sat Oct 17 22:11:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21687
21688	* marshal.c (id2encidx): register encoding name.
21689	  (r_object0): register object before encoding name.
21690	  [ruby-core:24882]
21691
21692Sat Oct 17 17:56:58 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
21693
21694	* test/rake/test_fileutils.rb (Rake::TestFileUtils#test_sh): uses
21695	  FileUtils::RUBY instead of fixed "ruby" so that the ruby command
21696	  works fine in Ruby's "make test-all".
21697	  (test_sh_with_a_single_string_argument): ditto.
21698	  (test_sh_with_multiple_arguments): ditto.
21699	  (test_sh_failure): ditto
21700	  (test_sh_special_handling): ditto.
21701
21702Sat Oct 17 17:30:06 2009  Yusuke Endoh  <mame@tsg.ne.jp>
21703
21704	* bignum.c (big_split): fix off-by-one error.  [ruby-dev:39501]
21705
21706Sat Oct 17 16:34:27 2009  Tanaka Akira  <akr@fsij.org>
21707
21708	* parse.y (parser_yylex): fix token even after trailing under score.
21709
21710Sat Oct 17 11:27:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21711
21712	* vm_method.c (basic_obj_respond_to): call #respond_to_missing?
21713	  always with two arguments.  [ruby-core:26090]
21714
21715Sat Oct 17 08:51:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21716
21717	* lib/delegate.rb (Delegator#respond_to_missing): warn only when
21718	  specified method is a private.  [ruby-dev:39498]
21719
21720Fri Oct 17 00:05:53 2009  wanabe  <s.wanabe@gmail.com>
21721
21722	* st.c (unpack_entries): save table->bins and never change the table
21723	  during unpacking. Because st_insert() may cause GC and refer the
21724	  table, i.e. st_foreach().  [Bug #2196]
21725
21726Fri Oct 16 22:20:25 2009  Tanaka Akira  <akr@fsij.org>
21727
21728	* prelude.rb (require_relative): defined as a module function of
21729	  Kernel.
21730
21731Fri Oct 16 20:18:28 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21732
21733	* lib/delegate.rb (Delegator#method_missing): remove backtrace
21734	  lines _until_ `method_missing'.
21735
21736Fri Oct 16 20:09:55 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21737
21738	* lib/delegate.rb (Delegator#freeze): #freeze should freeze self
21739	  and the target at once.   [ruby-core:26118]
21740
21741Fri Oct 16 19:39:28 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
21742
21743	* lib/delegate.rb (Delegator#respond_to_missing): warn if optional
21744	  include_private argument is not false.  Delegator does (and
21745	  should) not forward private methods.  [ruby-core:26080]
21746
21747	* lib/delegate.rb (Delegator#respond_to_missing): instead of
21748	  redefining #respond_to?, use #respond_to_missing?.  [ruby-core:26081]
21749
21750Fri Oct 16 18:42:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21751
21752	* bootstraptest/test_gc.rb: added tests based on [ruby-dev:39484]
21753	  from wanabe <s.wanabe AT gmail.com>.
21754
21755Fri Oct 16 16:09:01 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21756
21757	* win32/win32.c (rb_w32_spawn): `\'' is also quote character.
21758
21759Fri Oct 16 13:40:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21760
21761	* gc.h (rb_gc_debug_body): constified.
21762
21763Fri Oct 16 13:20:39 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21764
21765	* ext/bigdecimal/bigdecimal.c (VpMidRound): remove warnings.
21766	  patch from Charlie Savage. [ruby-core:22869]
21767
21768	* ext/digest/bubblebabble/bubblebabble.c (bubblebabble_str_new): ditto.
21769
21770	* ext/digest/digest.c (hexencode_str_new): ditto.
21771
21772	* ext/iconv/iconv.c (iconv_convert): ditto.
21773
21774	* ext/socket/socket.c (inspect_sockaddr): ditto.
21775
21776	* ext/socket/raddrinfo.c (sockaddr_obj): ditto.
21777
21778	* ext/syck/emitter.c (syck_emitter_write): ditto.
21779
21780	* ext/syck/emitter.c (syck_emitter_flush): ditto.
21781
21782	* ext/syck/emitter.c (syck_emit_tag): ditto.
21783
21784Fri Oct 16 12:03:31 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21785
21786	* lib/csv.rb (CSV#raw_encoding): returns ASCII-8BIT when the io
21787	  doesn't have encoding.
21788
21789Fri Oct 16 03:15:52 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21790
21791	* lib/csv.rb (CSV#read_to_char): set encoding and verify data
21792	  which read from io before encode it to @encoding.
21793
21794	* lib/csv.rb (CSV#raw_encoding): add to get @io's encoding.
21795
21796	* lib/csv.rb (CSV#read_io): add to read string and set @io's
21797	  encoding.
21798
21799Thu Oct 15 18:26:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21800
21801	* parse.y (rb_intern3): check symbol table overflow before generate
21802	  next id.  [ruby-core:26092]
21803
21804Thu Oct 15 15:14:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21805
21806	* io.c (io_encoding_set): get rid of parsing non-ascii string, and
21807	  refine messages for invalid name encoding.
21808
21809	* io.c (io_reopen): unread current buffer before telling the
21810	  position, for the case of reopening same file.  [ruby-dev:39479]
21811
21812Thu Oct 15 14:20:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21813
21814	* ext/iconv/iconv.c (iconv_create): cannot retry with given block.
21815	  [ruby-dev:39487]
21816
21817Thu Oct 15 09:25:07 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
21818
21819	* ext/socket/init.c (rsock_init_sock): mswin doesn't have S_IFSOCK
21820	  flag in st_mode of struct stat. so, use rb_w32_issocket() function
21821	  instead of S_ISSOCK macro.
21822
21823Thu Oct 15 00:47:42 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21824
21825	* tool/enc-unicode.rb,
21826	  enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
21827	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
21828	  use UTS#18 for POSIX character class.
21829	  http://rubyspec.org/issues/show/161
21830
21831Thu Oct 15 00:26:07 2009  Tanaka Akira  <akr@fsij.org>
21832
21833	* ext/socket/init.c (rsock_init_sock): validate file descriptor.
21834
21835Wed Oct 14 13:24:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21836
21837	* ruby.c (process_options): script name should not be shown in an
21838	  error message before loaded.
21839
21840Wed Oct 14 09:06:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21841
21842	* eval.c (ruby_run_node): need to call ruby_cleanup() always even
21843	  if any error occurred so far.
21844
21845Wed Oct 14 08:08:12 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21846
21847	* proc.c (mnew): Method#new checks for respond_to_missing? with
21848	  private set to true
21849	  [ruby-core:26069]
21850
21851Tue Oct 13 21:05:01 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21852
21853	* tool/enc-unicode.rb,
21854	  enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
21855	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
21856	  Add DerivedCoreProperties, PropList (Binary Property),
21857	  PropertyAlias and PropertyValueAlias.
21858	  Now users of tool/enc-unicode.rb should specify
21859	  the directory of UCD files.
21860
21861Tue Oct 13 18:54:25 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
21862
21863	* ext/tk/variable.rb: bug fix. additional trace definition changes the
21864	  option of first trace definition.
21865
21866Tue Oct 13 18:23:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21867
21868	* parse.y (token_info_push, token_info_pop): reduced ifdefs.
21869
21870	* parse.y (parser_magic_comment): fixed normalization.
21871
21872Tue Oct 13 09:04:14 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
21873
21874	* thread.c: Revert changes to Thread#raise made in r25278
21875	  [ruby-core:25367]
21876
21877	* eval_intern.h: ditto
21878
21879Mon Oct 12 23:27:57 2009  Shugo Maeda  <shugo@ruby-lang.org>
21880
21881	* lib/net/ftp.rb (login): use "anonymous@" as a default password.
21882	  [ruby-dev:39451]
21883
21884Mon Oct 12 22:48:25 2009  Shugo Maeda  <shugo@ruby-lang.org>
21885
21886	* lib/net/ftp.rb (retrlines): added a new block parameter.
21887
21888	* lib/net/ftp.rb (gettextfile): preserve missing end-of-line at end
21889	  of files.  [ruby-core:24590]
21890
21891Mon Oct 12 19:48:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21892
21893	* eval.c (ruby_run_node): if an exception occurred in ruby_option,
21894	  the result is not executable.
21895
21896Mon Oct 12 05:51:11 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21897
21898	* regparse.c (fetch_token): warn invalid back reference
21899	  and subexp call. (\k and \g).
21900
21901Mon Oct 12 03:47:42 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21902
21903	* marshal.c (has_encoding): added for check the regexp
21904	  is dumped by 1.8 or 1.9.
21905
21906	* marshal.c (r_object0): use has_encoding.
21907
21908Sun Oct 11 15:54:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21909
21910	* ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc.  a patch from Justin
21911	  Collins in [ruby-core:26050].
21912
21913Sun Oct 11 10:27:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21914
21915	* lib/irb/context.rb (IRB::Context#irb_name): removed duplicated
21916	  attr_reader.  [ruby-core:26047]
21917
21918	* lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated
21919	  character class range.
21920
21921Sun Oct 11 10:04:35 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21922
21923	* regparse.c (fetch_token_in_cc): warn when \p is not
21924	  followed by property name.
21925
21926	* regparse.c (fetch_token): ditto.
21927
21928Sun Oct 11 09:44:46 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21929
21930	* regerror.c (onig_vsnprintf_with_pattern): added.
21931
21932	* regparse.c (onig_syntax_warn): use above.
21933
21934Sun Oct 11 09:04:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21935
21936	* include/ruby/ruby.h (RB_GC_GUARD_PTR): workaround for gcc
21937	  optimization.
21938
21939	* include/ruby/ruby.h (ruby_exec_node): declared.
21940
21941Sun Oct 11 03:10:50 2009  NARUSE, Yui  <naruse@ruby-lang.org>
21942
21943	* regparse.c (onig_syntax_warn): added.
21944
21945	* regparse.c (CC_ESC_WARN, CLOSE_BRACKET_WITHOUT_ESC_WARN,
21946	  CC_DUP_WARN, UNKNOWN_ESC_WARN): use onig_syntax_warn.
21947
21948Sun Oct 11 00:14:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21949
21950	* marshal.c (marshal_dump, marshal_load): prevent from GC.
21951
21952Sat Oct 10 23:57:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21953
21954	* file.c (path_check_0): prevent from GC.
21955
21956Sat Oct 10 23:51:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21957
21958	* transcode.c (rb_transcoding, str_transcoding_resize): fixed
21959	  types.
21960
21961Sat Oct 10 20:35:27 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
21962
21963	* math.c (math_atanh): reverted r25279.
21964
21965Sat Oct 10 19:03:29 2009  Tanaka Akira  <akr@fsij.org>
21966
21967	* ext/curses/curses.c: use rb_thread_blocking_region to avoid
21968	  rb_read_check.  This makes other threads runnable in getstr and
21969	  wgetstr.
21970	  (getch_func): extracted from curses_getch.
21971	  (curses_getch): use rb_thread_blocking_region with getch_func.
21972	  (getstr_func): extracted from curses_getstr.
21973	  (curses_getstr): use rb_thread_blocking_region with getstr_func.
21974	  (wgetch_func): extracted from window_getch.
21975	  (window_getch): use rb_thread_blocking_region with wgetch_func.
21976	  (wgetstr_func): extracted from window_getstr.
21977	  (window_getstr): use rb_thread_blocking_region with wgetstr_func.
21978
21979	* include/ruby/io.h (rb_read_check): deprecated because it access
21980	  internal of stdio.
21981
21982Sat Oct 10 18:59:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21983
21984	* configure.in (cflags, cxxflags): remove duplicating options.
21985
21986Sat Oct 10 18:19:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21987
21988	* configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),
21989	  win32/mkexports.rb (each_export): exclude _threadptr_ functions.
21990
21991Sat Oct 10 17:55:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21992
21993	* eval.c (rb_threadptr_errinfo): renamed.
21994
21995Sat Oct 10 17:03:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
21996
21997	* eval.c (ruby_exec_node): removed unused argument.
21998
21999Sat Oct 10 14:55:55 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22000
22001	* math.c (math_atanh): Fix bug for Math.atanh(+/-1). It now returns
22002	  +-Infinity. [ruby-core:26028]
22003
22004Sat Oct 10 14:09:40 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22005
22006	* thread.c (rb_threadptr_execute_interrupts_rec, rb_threadptr_raise):
22007	  Thread#raise with no argument will now re-raise the current exception
22008	  if there is one [ruby-core:25367]
22009
22010	* eval.c (get_errinfo, rb_rubylevel_thread_errinfo): Getter for
22011	  current exception for a given thread
22012
22013Fri Oct  9 23:10:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22014
22015	* vm_method.c (rb_method_boundp): should exclude NOEX_RESPONDS.
22016	  based on the patch from Nikolai Lugovoi.  [ruby-core:25949]
22017
22018Fri Oct  9 21:14:40 2009  Tanaka Akira  <akr@fsij.org>
22019
22020	* lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP): disable
22021	  reverse lookup.
22022	  (Resolv::DNS::Requester::UnconnectedUDP): ditto.
22023
22024Fri Oct  9 10:12:13 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22025
22026	* lib/irb/context.rb (IRB::Context#initialize):
22027	  remove warnings when $VERBOSE is set as true in .irbrc.
22028
22029Fri Oct  9 02:58:18 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22030
22031	* tool/enc-unicode.rb: optimized.
22032
22033	* enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
22034	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
22035	  U+100000-U+10FFFD is assigned, not Cn.
22036
22037Fri Oct  9 02:12:02 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22038
22039	* ext/curses/curses.c: Many functions of module Curses could cause a
22040	  crash if the ncurses library was not properly initialized.
22041	  Fix pointed out by Alexander Beisig [ruby-core:22592]
22042	  Functions fixed: attroff, attron, attrset, bkgd, bkgdset,
22043	  can_change_color, close_screen, closed, color_content, curs_set,
22044	  def_prog_mode, delch, deleteln, getmouse, getstr, has_colors,
22045	  init_color, init_pair, insertln, keyname, mouseinterval, mousemask,
22046	  pair_content, pair_number, reset_prog_mode, resizeterm, scrl,
22047	  setscrreg, standend, standout, start_color, timeout, ungetmouse,
22048	  use_default_colors
22049
22050Fri Oct  9 01:07:34 2009  Yusuke Endoh  <mame@tsg.ne.jp>
22051
22052	* compile.c (ADD_TRACE): fire coverage event in ensure clause.
22053	  [ruby-dev:39303]
22054
22055	* iseq.h, iseq.c: ditto.
22056
22057Fri Oct  9 00:33:29 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22058
22059	* lib/net/telnet.rb (cmd): Pass FailEOF options: patch by Brian
22060	  Candler [ruby-core:22723]
22061
22062Fri Oct  9 00:01:17 2009  Tanaka Akira  <akr@fsij.org>
22063
22064	* ext/socket/lib/socket.rb (Socket.udp_server_recv): extracted from
22065	  Socket.udp_server_loop_on.
22066
22067Thu Oct  8 05:45:14 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22068
22069	* tool/enc-unicode.rb: parse range notation of UnicodeData.txt.
22070
22071	* enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
22072	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
22073	  follow above change. [ruby-dev:39444]
22074
22075Thu Oct  8 02:46:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22076
22077	* string.c (rb_str_inspect): copy by chunks.
22078
22079Thu Oct  8 01:23:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22080
22081	* iseq.c (iseq_s_disasm): accept proc objects.  [ruby-core:18762]
22082
22083Wed Oct  7 16:42:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22084
22085	* marshal.c (mark_dump_arg, mark_load_arg): ignore already cleaned
22086	  data.  [ruby-core:25969]
22087
22088	* marshal.c (clear_dump_arg, clear_load_arg): clear freed fields.
22089
22090Wed Oct  7 16:06:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22091
22092	* include/ruby/ruby.h (rb_long2int): evaluates the argument only
22093	  once.
22094
22095	* struct.c (rb_struct_alloc): check array length overflow.
22096
22097Wed Oct  7 09:23:49 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22098
22099	* string.c (rb_str_inspect): don't assign -1 to unsigned int.
22100
22101Wed Oct  7 00:27:01 2009  Tanaka Akira  <akr@fsij.org>
22102
22103	* lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
22104	  (Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
22105	  bind_random_port.
22106	  [ruby-core:25970]
22107
22108Tue Oct  6 23:32:38 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22109
22110	* string.c (rb_str_upto): RDoc updated.  a patch from Nobuhiro
22111	  IMAI <nov at yo.rim.or.jp> in [ruby-dev:39440]. [ruby-dev:39439]
22112
22113Tue Oct  6 21:30:58 2009  Tanaka Akira  <akr@fsij.org>
22114
22115	* io.c (io_reopen): avoid close if possible.
22116
22117Tue Oct  6 18:56:09 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22118
22119	* struct.c (rb_struct_select): Struct#select should return
22120	  enumerator when no block given.
22121
22122Tue Oct  6 06:26:00 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
22123
22124	* * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
22125	  'tags' option of a TkcItem object should give a list of TkcTag objs.
22126
22127	* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
22128
22129	* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
22130	  lack of support for methodcall_optkeys.
22131
22132Mon Oct  5 17:19:33 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22133
22134	* lib/delegate.rb (Delegator::public_api): take snapshot of
22135	  public method at the beginning time.
22136
22137	* lib/delegate.rb (SimpleDelegator#initialize): use
22138	  Delegator.public_api since public_method might be added after
22139	  initialization.  [ruby-dev:39383]
22140
22141	* lib/delegate.rb (DelegateClass): ditto.
22142
22143Mon Oct  5 12:22:12 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22144
22145	* array.c (rb_ary_{times, shuffle_bang, sample}): reducing macro
22146	  calls inside of the loop by keeping pointers in local
22147	  variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406].
22148	  It was found and fixed at Security and Programming camp 2009.
22149
22150	* string.c (rb_str_{times, split_m}): ditto.
22151
22152	* struct.c (rb_struct_{getmember, set, aref_id, aset_id}, {make,
22153	  inspect}_struct, recursive_{equal, hash, eql}): ditto.
22154
22155Mon Oct  5 00:09:57 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22156
22157	* vm_method.c (basic_obj_respond_to): should not call
22158	  #respond_to_missing? for not implemented methods.
22159	  [ruby-core:25909]
22160
22161	* vm_method.c (rb_method_boundp): returns exceptional value 2 for
22162	  not-implemented methods when called from #respond_to? (specifies
22163	  by new constant NOEX_RESPONDS).
22164
22165	* method.h (enum): new constant NOEX_RESPONDS added.
22166
22167Sun Oct  4 22:16:29 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
22168
22169	* lib/cgi/cookie.rb: add default value to @@accept_charset
22170	  if have not defined. [ruby-dev:38987]
22171
22172	* lib/cgi/util.rb: ditto.
22173
22174Sun Oct  4 19:30:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22175
22176	* marshal.c (struct {dump,load}_arg): manage with dfree, instead
22177	  of using local variable which may be moved by context switch.
22178	  [ruby-dev:39425]
22179
22180Sun Oct  4 15:00:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22181
22182	* pack.c (NATINT_LEN, pack_pack): suppressed warnings.
22183
22184Sun Oct  4 14:01:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22185
22186	* lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
22187	  encoding.
22188
22189Sun Oct  4 08:27:10 2009  Tanaka Akira  <akr@fsij.org>
22190
22191	* enum.c (slicebefore_ii): use id_eqq.
22192
22193Sun Oct  4 06:40:09 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
22194
22195	* symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the
22196	  change in dln.c
22197
22198Sun Oct  4 05:34:34 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
22199
22200	* ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,
22201	  to_str,to_ary
22202
22203Sun Oct  4 00:59:52 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
22204
22205	* lib/cgi/core.rb: fix command-line option of
22206	  non-interactive terminal. [ruby-core:23016]
22207
22208Sun Oct  4 00:40:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22209
22210	* lib/rake/contrib: added.  [ruby-core:25918]
22211
22212Sat Oct  3 22:14:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22213
22214	* parse.y (bv_decls, bvar): fix for block variables.
22215	  [ruby-dev:39423]
22216
22217Sat Oct  3 21:19:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22218
22219	* vm_method.c (rb_add_method_def): no redefinition warning on
22220	  undef.
22221
22222Sat Oct  3 18:51:11 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22223
22224	* object.c (rb_f_integer): now Integer() takes optional base
22225	  argument.  base will be ignored for non string values.
22226	  suggested by Sam Carr at RubyFoo Lounge at London.
22227
22228	* test/ruby/test_integer.rb (TestInteger#test_Integer): test
22229	  updated.
22230
22231Sat Oct  3 04:34:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22232
22233	* parse.y (assignable_gen): parser_yyerror takes two arguments.
22234
22235Sat Oct  3 04:07:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22236
22237	* lib/rake: updated to rake code to rake-0.8.7 source code base.
22238
22239	* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line):
22240	  respace dependencies too.
22241
22242Sat Oct  3 02:59:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22243
22244	* parse.y (assignable_gen): get rid of macro collision.
22245
22246Sat Oct  3 02:49:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22247
22248	* array.c (ary_make_shared): should count frozen array itself.
22249
22250Sat Oct  3 01:01:20 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22251
22252	* enc/unicode/name2ctype.h: Updated to Unicode 5.2.0.
22253
22254Sat Oct  3 01:01:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22255
22256	* configure.in: workaround for regexp metacharacters of expr in
22257	  prefix path.
22258
22259Sat Oct  3 00:47:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22260
22261	* test/ripper/dummyparser.rb (DummyParser): improvement by Magnus
22262	  Holm in [ruby-core:25884].
22263	  * remove scanner events which simply returned the first argument.
22264	  * all parser events are now automatically generated.
22265	  * simplify blocks.
22266
22267Sat Oct  3 00:43:52 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22268
22269	* method.h (rb_method_type_t): remove a comma at end of
22270	  enumerator list.
22271
22272Sat Oct  3 00:31:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22273
22274	* range.c (discrete_object_p): needs the argument type to get rid
22275	  of truncation on platforms where VALUE is larger than int.
22276
22277Fri Oct  2 22:30:15 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22278
22279	* enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd,
22280	  enc/unicode/name2ctype.src: Updated to Unicode 5.2.0.
22281	  NOTE: when you update these data, download UnicodeData.txt
22282	  and Scripts.txt from http://www.unicode.org/Public/UNIDATA/
22283	  and run
22284	  ruby1.9 tool/enc-unicode.rb UnicodeData.txt Scripts.txt \
22285	  > enc/unicode/name2ctype.kwd
22286
22287	* enc/unicode/Scripts.txt: removed.
22288
22289	* enc/unicode/UnicodeData.txt: removed.
22290
22291Fri Oct  2 20:49:19 2009  Tanaka Akira  <akr@fsij.org>
22292
22293	* enum.c (enum_slice_before): take a pattern if no block given.
22294
22295Fri Oct  2 20:37:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22296
22297	* parse.y (ripper_yylval_id, ripper_get_{id,value}): wrap ID by
22298	  NODE to track local variable assignment.
22299
22300	* parse.y (lvar_defined_gen, assignable_gen): enable local
22301	  variable check.  [ruby-core:24923]
22302
22303	* parse.y (validate): use value only.
22304
22305	* test/ripper/test_parser_events.rb (test_local_variables): tests
22306	  based on a patch from Magnus Holm in [ruby-core:25885].
22307
22308Fri Oct  2 15:34:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22309
22310	* thread.c (ruby_suppress_tracing): get rid of clobbering by
22311	  longjmp.
22312
22313Fri Oct  2 09:20:35 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22314
22315	* eval.c (rb_origenviron): remove unused old variable.
22316	  [ruby-dev:39412]
22317
22318Thu Oct  1 14:16:39 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22319
22320	* win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):
22321	  split compiler specification and runtime library specification.
22322
22323	* win32/Makefile.sub (LD_SHARED*, config.status): no need to embed
22324	  manifest if not exist.
22325
22326Thu Oct  1 13:23:14 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22327
22328	* win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()
22329	  instead of calling MSVCRT's getpid().
22330
22331Wed Sep 30 13:15:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22332
22333	* vm_method.c (rb_add_method_def): show the location where
22334	  overwritten method was defined.  [ruby-dev:39400]
22335
22336Wed Sep 30 00:37:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22337
22338	* enumerator.c (enumerator_block_call): extracted.
22339
22340Wed Sep 30 00:00:25 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22341
22342	* string.c (rb_str_inspect): escape as \x{XXXX} when the encoding is
22343	  other than Unicode. [ruby-dev:39388]
22344
22345Wed Sep 30 00:00:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22346
22347	* configure.in (THREAD_MODEL): modified message when no thread
22348	  model is available.
22349
22350Tue Sep 29 23:17:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22351
22352	* io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.
22353
22354Tue Sep 29 22:25:41 2009  Tanaka Akira  <akr@fsij.org>
22355
22356	* include/ruby/intern.h (rb_struct_iv_get): deprecated because it is
22357	  not used and access internal structure.
22358
22359Tue Sep 29 22:19:36 2009  Tanaka Akira  <akr@fsij.org>
22360
22361	* lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsec
22362	  is not enough to distinguish arguments.
22363
22364Tue Sep 29 21:16:35 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22365
22366	* io.c (rb_scan_open_args): add UTF8-MAC to no-convertion encoding.
22367
22368Tue Sep 29 21:21:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22369
22370	* configure.in (--enable-pthread): deprecated.
22371
22372Tue Sep 29 21:03:59 2009  Yusuke Endoh  <mame@tsg.ne.jp>
22373
22374	* lib/pp.rb (Kernel#pp): returns its arguments, like Kernel#p.
22375	  [ruby-dev:34830]
22376
22377Tue Sep 29 17:02:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22378
22379	* ext/json/lib/json/common.rb (recurse_proc): removed needless
22380	  module_function, since visibility is already module_function.
22381
22382Tue Sep 29 13:48:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22383
22384	* vm_method.c (rb_method_definition_eq): non-null definition is
22385	  not equal to null definition.
22386
22387	* vm_method.c (rb_add_method_def): nothing to do if old method had
22388	  same definition.  [ruby-dev:39397]
22389
22390Tue Sep 29 06:50:32 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22391
22392	* string.c (rb_str_inspect): dump as \uXXXX when the
22393	  string is in Unicode. [ruby-dev:39388]
22394
22395Tue Sep 29 06:49:16 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22396
22397	* encoding.c (rb_enc_unicode_p): defined.
22398	  Returns 1 when the encoding is Unicode series
22399	  other than UTF-7 else 0.
22400
22401Tue Sep 29 04:14:08 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22402
22403	* encoding.c (rb_filesystem_encoding): On Unix systems,
22404	  filesystem encoding should be locale encoding.
22405	  [ruby-dev:39393]
22406
22407Tue Sep 29 04:07:58 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22408
22409	* hash.c (rb_f_getenv): use rb_filesystem_str_new_cstr
22410	  instead of rb_str_new2.
22411	  ENV['PATH'].encoding should be Filesystem Encoding
22412	  because its content is related to filesystem.
22413	  see [ruby-dev:39393]
22414
22415	* hash.c (env_fetch): ditto.
22416
22417	* string.c (rb_filesystem_str_new): defined.
22418
22419	* string.c (rb_filesystem_str_new_cstr): ditto.
22420
22421	* include/ruby/intern.h (rb_filesystem_str_new): added.
22422
22423	* include/ruby/intern.h (rb_filesystem_str_new_cstr): ditto.
22424
22425Tue Sep 29 04:06:18 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22426
22427	* include/ruby/st.h: include inttypes.h and stdint.h.
22428
22429Tue Sep 29 00:07:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22430
22431	* hash.c (rb_f_getenv, env_fetch): env string may be overwritten.
22432
22433Mon Sep 28 23:30:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22434
22435	* dln.c (load_lib, dln_find_exe_r): env string may be overwritten.
22436
22437	* dln.c (dln_{exit,loaderror,memerror,notimplement}): renamed as
22438	  independent names.
22439
22440	* dln.c (aix_loaderror): needs format string.
22441
22442Mon Sep 28 19:36:20 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22443
22444	* win32/win32.c (LK_ERR): with overlapped I/O, LockFileEx() returns
22445	  ERROR_IO_PENDING if the file is locked.
22446
22447Mon Sep 28 19:05:05 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
22448
22449	* include/ruby/st.h: aligned prototype of st_hash_uint32 with function
22450	  definition (fixing compiling problem on cygwin)
22451
22452Mon Sep 28 12:13:15 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22453
22454	* method.h (enum): new method type VM_METHOD_TYPE_MISSING.
22455
22456	* vm_eval.c (vm_call0): invoking VM_METHOD_TYPE_MISSING method
22457	  objects.
22458
22459	* vm_insnhelper.c (vm_call_method): invoking method defined from
22460	  VM_METHOD_TYPE_MISSING.
22461
22462	* proc.c (rb_method_entry_arity): ditto.
22463
22464	* vm_method.c (rb_method_entry_eq): two method object wraps
22465	  method_missing with same symbol should be equal.
22466	  [ruby-core:25755]
22467
22468	* proc.c (mnew): should always return method object.
22469
22470Mon Sep 28 11:38:07 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22471
22472	* parse.y (parser_tokadd_string): the byte after ``\'' may be a part of
22473	  multibyte character, so pushback it. [ruby-list:46416]
22474
22475Mon Sep 28 10:06:38 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22476
22477	* stringio/stringio.c (strio_read): set ASCII-8BIT encoding
22478	  when length argument is given.
22479
22480Mon Sep 28 01:28:17 2009  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
22481
22482	* Makefile.in (miniruby): suppress duplication warning on AIX.
22483
22484Mon Sep 28 01:13:25 2009  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
22485
22486	* common.mk (ruby.imp): add text section [Bug #2064].
22487
22488	* common.mk (ruby.imp): do not export Init_*.
22489
22490Sun Sep 27 13:06:43 2009  Tanaka Akira  <akr@fsij.org>
22491
22492	* lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect
22493	  method.  [ruby-core:25804]
22494
22495Sun Sep 27 12:01:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22496
22497	* string.c (str_buf_cat2): optimize since all second arguments are
22498	  constant literals.
22499
22500	* string.c (str_cat_char): unused now.
22501
22502	* string.c (rb_hash_{uint{32,},end}): removed.
22503
22504Sun Sep 27 11:58:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22505
22506	* configure.in (optflags): add -fomit-frame-pointer by default.
22507
22508Sun Sep 27 11:28:15 2009  Tanaka Akira  <akr@fsij.org>
22509
22510	* enum.c (enum_minmax): use struct for memo.
22511	  (enum_minmax_by): ditto.
22512
22513Sun Sep 27 10:21:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22514
22515	* configure.in (warnflags): check all flags if each are available.
22516
22517Sun Sep 27 05:35:17 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22518
22519	* ext/json/ext/generator/generator.c: Documentation patch by okkez.
22520	  [Bug #2075]
22521
22522Sun Sep 27 04:20:55 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22523
22524	* string.c (rb_str_inspect): result's encoding should be fixed.
22525	  If default_internal is not nil, the encoding is default_internal.
22526	  Else if default_external is not nil, the encoding is default_external.
22527	  But the encoding is not ASCII-compatible, the encoding is replaced by
22528	  US-ASCII.
22529	  Characters in ASCII-incompatible encoding or non ASCII characters
22530	  in other than the encoding will be \xXX escaped.
22531	  [ruby-dev:39343]
22532
22533	* string.c (str_buf_cat2): defined.
22534
22535	* string.c (prefix_escape): removed.
22536
22537Sun Sep 27 05:37:45 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
22538
22539	* symbian/missing-pips.c: Updated to work with the latest PIPS 1.6.
22540
22541	* symbian/setup: ditto.
22542
22543	* symbian/README.SYMBIAN: ditto.
22544
22545Sun Sep 27 02:00:46 2009  Koichi Sasada  <ko1@atdot.net>
22546
22547	* string.c: use rename-macro instead of RUBY_ALIAS_FUNCTION_TYPE.
22548	  Because build causes failure.
22549
22550Sat Sep 26 23:29:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22551
22552	* st.c: moved murmur hash from string.c.  [ruby-dev:39376]
22553
22554Sun Sep 26 00:24:14 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
22555
22556	* symbian/setup: Updated .mmp file generation due to blockinlining.c removal.
22557
22558Sat Sep 26 22:39:24 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
22559
22560	* Makefile.in(test-rubyspec): explicitly executes run subcommand of
22561	  mspec.
22562
22563	* spec/README: typo fix
22564
22565Sat Sep 26 17:53:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22566
22567	* st.c (COLLISION): improved collision log feature.
22568
22569	* string.c (hash): updated to MurmurHash 2.0 2009-09-19.
22570
22571	* string.c (rb_hash_start): fixed shift width on 128bit platform.
22572
22573	* include/ruby/intern.h (rb_hash_{start,uint32,uint,end}): fixed
22574	  prototypes.
22575
22576Sat Sep 26 13:26:55 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22577
22578	* lib/net/http.rb (transport_request): Handle timeout error by
22579	  closing socket if exception raised. [ruby-core:20976]
22580
22581Sat Sep 26 12:08:17 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22582
22583	* vm_method.c (rb_method_entry_eq): method defined from same
22584	  block/proc should be equal.  [ruby-core:25755] [ruby-core:24791]
22585
22586Sat Sep 26 08:35:12 2009  Koichi Sasada  <ko1@atdot.net>
22587
22588	* iseq.c (compile_string): rename to parse_string(), because
22589	  this function only parse String to NODE.
22590
22591Fri Sep 25 16:01:45 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22592
22593	* win32/win32.c, include/ruby/win32.h (rb_w32_access): new function to
22594	  replace MSVCRT's access().
22595	  [ruby-core:25761]
22596
22597	* file.c (eaccess): workaround for recent MSVCRT is no longer needed.
22598
22599Fri Sep 25 13:04:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22600
22601	* proc.c (mnew): fix for instance method of Module, BasicObject
22602	  and subclass of a class which overrides respond_to_missing?.
22603	  based on a patch from Nikolai Lugovoi <nlugovoi AT gmail.com> in
22604	  [ruby-core:25748].
22605
22606Fri Sep 25 11:56:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22607
22608	* vm_method.c (rb_mod_method_defined): should return true or false.
22609
22610Thu Sep 24 13:32:53 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22611
22612	* proc.c (mnew): generate method object that wraps method_missing,
22613	  when #respond_to_missing? is defined.
22614
22615	* test/ruby/test_object.rb (test_respond_to_missing): add test
22616	  suites for #respond_to_missing? changes.
22617
22618Thu Sep 24 09:41:42 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22619
22620	* lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when
22621	  requiring lib/mathn
22622	  [ruby-core:25740]
22623
22624Thu Sep 24 02:21:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22625
22626	* ext/bigdecimal/lib/bigdecimal/math.rb (atan): atan(Infinity) is
22627	  PI/2.
22628
22629	* ext/bigdecimal/lib/bigdecimal/math.rb (atan): reduce loop with
22630	  the double-angle formula.  based on a patch from Masahiro
22631	  Kanai (CanI) in [ruby-dev:39367].
22632
22633Thu Sep 24 01:14:18 2009  Yutaka Kanemoto  <kanemoto@ruby-lang.org>
22634
22635	* dln.c (aix_loaderror): fixed typo. suppress warnings.
22636
22637Thu Sep 24 00:17:06 2009  Tanaka Akira  <akr@fsij.org>
22638
22639	* enum.c (enum_minmax): reduce comparison.
22640	  (enum_minmax_by): ditto.
22641
22642Wed Sep 23 22:58:57 2009  Tanaka Akira  <akr@fsij.org>
22643
22644	* lib/thread.rb (ConditionVariable#wait): add timeout argument.
22645	  [ruby-talk:346154]
22646
22647Wed Sep 23 21:25:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22648
22649	* ext/bigdecimal/lib/bigdecimal/math.rb (atan): refined.
22650
22651Wed Sep 23 17:08:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22652
22653	* parse.y (assign_in_cond): also should warn assignment to dvar in
22654	  conditional.  [ruby-dev:39363]
22655
22656Wed Sep 23 13:14:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22657
22658	* string.c (rb_str_upto): keep first width.  [ruby-dev:39361]
22659
22660Wed Sep 23 11:28:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22661
22662	* tool/instruction.rb (make_header_prepare_stack): check stack
22663	  overflow.  [ruby-core:25714]
22664
22665	* tool/instruction.rb (make_footer_stack_val): ditto.
22666
22667Wed Sep 23 05:03:36 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22668
22669	* proc.c (umethod_bind, rb_mod_define_method): Fix bug that
22670	  disallowed methods from singleton classes to be used for
22671	  UnboundMethod#bind, Kernel#define_singleton_method and
22672	  Module#define_method, even when that singleton class was of the right
22673	  kind_of. A patch by Shane O'Brien [ruby-core:25632]
22674
22675Tue Sep 22 22:56:48 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22676
22677	* vm_method.c (basic_obj_respond_to): new function to fundamental
22678	  behavior for #respond_to?
22679
22680	* vm_method.c (basic_obj_respond_to): calls #respond_to_missing
22681	  method if overridden, to check responsiveness of methods
22682	  implemented by #method_missing.
22683
22684Tue Sep 22 16:34:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22685
22686	* st.c (st_table_entry, st_get_key): use st_index_t.
22687
22688Tue Sep 22 16:28:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22689
22690	* regenc.h (PosixBracketEntryType): constified.
22691
22692	* regenc.h (PosixBracketEntryInit): suppress warnings.
22693
22694	* regerror.c (onig_error_code_to_str, onig_snprintf_with_pattern):
22695	  fixed type.
22696
22697	* regparse.c (st_str_end_key, str_end_cmp, str_end_hash):
22698	  constified.
22699
22700	* tool/transcode-tblgen.rb (transcode_generated_code): fixed type.
22701
22702Tue Sep 22 10:29:06 2009  Tanaka Akira  <akr@fsij.org>
22703
22704	* enum.c (enum_chunk): new method Enumerable#chunk.
22705	* enum.c (enum_slice_before): new method Enumerable#slice_before.
22706	  [ruby-dev:38392] [ruby-dev:39240]
22707
22708Tue Sep 22 05:58:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22709
22710	* compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
22711	  thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
22712	  vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
22713	  tool/instruction.rb: fixed types.
22714
22715Tue Sep 22 05:04:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22716
22717	* ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend on
22718	  bigdecimal.
22719
22720	* ext/bigdecimal/lib/bigdecimal/*.rb: made module functions.
22721
22722Tue Sep 22 04:47:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22723
22724	* ext/bigdecimal/bigdecimal.c (GetVpValue): support conversion from
22725	  Rational.  [ruby-core:25697]
22726
22727Tue Sep 22 04:43:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22728
22729	* Makefile.in, win32/Makefile.sub (INSNS): depend on tools.
22730
22731Tue Sep 22 01:10:22 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22732
22733	* ossl_ocsp.c (ossl_ocspres_to_der): Bug fix in Response#to_def.
22734	  Patch by Chris Chandler [ruby-core:18411]
22735
22736Tue Sep 22 01:10:02 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22737
22738	* ossl_config.c (ossl_config_add_value_m, ossl_config_set_section):
22739	  Check if frozen (or untrusted for $SAFE >= 4) [ruby-core:18377]
22740
22741Mon Sep 21 17:12:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22742
22743	* proc.c (proc_binding): allow proc from method.  [ruby-core:25589]
22744
22745	* vm.c (collect_local_variables_in_env): block iseq can be NULL.
22746
22747Mon Sep 21 10:50:37 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22748
22749	* time.c (rb_time_succ): make Time#succ obsolete since time is not
22750	  a discrete value.
22751
22752	* range.c (discrete_object_p): treat time objects specially to
22753	  determine discrete values, since time objects have #succ yet are
22754	  discrete (for now at least).
22755
22756Mon Sep 21 10:13:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22757
22758	* cont.c (cont_new, cont_capture, fiber_t_alloc): needs already
22759	  running thread.  cf. [ruby-core:25681]
22760
22761Mon Sep 21 00:07:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22762
22763	* ext/bigdecimal/lib/bigdecimal/math.rb (sin, cos, atan, exp, log):
22764	  improved precision and performance.  based on a patch from Makoto
22765	  Yamashita in [ruby-core:25600] and [ruby-core:25602].
22766
22767Sun Sep 20 11:11:34 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22768
22769	* struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of
22770	  recursive structures [ruby-core:24759]
22771
22772	* range.c (range_eq, range_eql):  ditto for ranges
22773
22774Sat Sep 19 17:46:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22775
22776	* vm_core.h (ENABLE_VM_OBJSPACE): socklist needs st_table in
22777	  rb_w32_sysinit(), before object space initialization.
22778
22779Sat Sep 19 17:32:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22780
22781	* dir.c (GlobPathValue), file.c (rb_get_path_check): path names
22782	  must be ASCII compatible.
22783
22784Sat Sep 19 00:02:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22785
22786	* include/ruby/ruby.h (rb_type): forward declaration to suppress a
22787	  warning.  a patch from Naohisa Goto at [ruby-dev:39350]
22788
22789Fri Sep 18 23:59:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22790
22791	* dir.c (GlobPathValue): adjust return types.  based on a patch
22792	  from Naohisa Goto at [ruby-dev:39350].
22793
22794Fri Sep 18 23:51:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22795
22796	* marshal.c (r_object0): entry regexp object before its encoding
22797	  name.  [ruby-core:25625]
22798
22799Fri Sep 18 16:29:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22800
22801	* common.mk (eval.o): needs vm.h.
22802
22803	* eval.c (ruby_cleanup): destruct current VM before exit.
22804
22805	* gc.c (rb_objspace_free): free object space.
22806
22807	* vm.c (ruby_vm_destruct): destruct and free VM struct.
22808
22809Fri Sep 18 16:15:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22810
22811	* compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat()
22812	  on op_asgn was inversed.  [ruby-core:25629] [Bug #2050]
22813
22814Fri Sep 18 16:06:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22815
22816	* dir.c (GlobPathValue): glob allows null bytes as separators.
22817
22818Fri Sep 18 10:11:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22819
22820	* doc/re.rdoc: use rdoc mode.
22821
22822	* misc/rdoc-mode.el: added.
22823
22824Fri Sep 18 09:02:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22825
22826	* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
22827	  RUBY_VERSION.
22828
22829	* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
22830	  are delimited by a semicolon.  supported Vim style.
22831
22832Fri Sep 18 07:06:41 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
22833
22834	* test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]
22835
22836Fri Sep 18 06:47:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22837
22838	* dir.c (push_glob): str should be a string always.
22839
22840	* dir.c (rb_push_glob, dir_globs): use #to_path to convert non-
22841	  string values.  cf. [ruby-dev:39345]
22842
22843Fri Sep 18 06:36:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22844
22845	* lib/mkmf.rb (rm_f, rm_rf): FileUtils.rm can take an array.
22846	  [ruby-dev:39345]
22847
22848	* lib/mkmf.rb (create_header): open in binmode.
22849
22850Thu Sep 17 18:34:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22851
22852	* gc.c (vm_xrealloc): free as like standard free if size is zero.
22853
22854Thu Sep 17 15:41:02 2009  Koichi Sasada  <ko1@atdot.net>
22855
22856	* eval_intern.h: use rb_node_newnode() directly.
22857
22858Thu Sep 17 15:01:32 2009  Koichi Sasada  <ko1@atdot.net>
22859
22860	* blockinlining.c: removed.
22861
22862	* README.EXT: ditto.
22863
22864	* README.EXT.ja: ditto.
22865
22866Thu Sep 17 13:50:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22867
22868	* thread.c (rb_thread_s_debug_set): set level, not only boolean.
22869
22870Thu Sep 17 13:12:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22871
22872	* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
22873	  files.
22874
22875	* doc/re.rdoc: renamed from re.rb.
22876
22877Thu Sep 17 09:37:28 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22878
22879	* doc/re.rb: New document for Ruby's fork of Oniguruma.
22880	  written by Run Paint Run Run [ruby-core:25420]
22881
22882	* re.c: import document in doc/re.rb.
22883
22884	* .document: add doc/re.rb.
22885
22886Thu Sep 17 06:03:40 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22887
22888	* lib/matrix.rb (Matrix#rank): Two bug fixes. One made
22889	  Matrix[[0,0],[0,0],[1,0]].rank raise a NoMethodError while the other
22890	  one had Matrix[[0,1],[0,0],[1,0]].rank raise a TypeError.
22891
22892Thu Sep 17 06:02:04 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22893
22894	* lib/matrix.rb: Optimizations
22895
22896Thu Sep 17 00:36:01 2009  Tanaka Akira  <akr@fsij.org>
22897
22898	* time.c (time_mdump): error message refined.
22899
22900Wed Sep 16 19:27:43 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
22901
22902	* test/ruby/test_thread.rb (TestThread#test_recursive): remove
22903	  implementation dependent test.
22904
22905Wed Sep 16 17:42:52 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22906
22907	* win32/Makefile.sub (config.status): install-capi needs docdir.  And,
22908	  mandir, infodir and ridir are also depend on datadir like docdir.
22909
22910Wed Sep 16 17:20:49 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22911
22912	* lib/matrix.rb (Matrix#/): Fix obvious bug
22913
22914Wed Sep 16 16:59:34 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22915
22916	* win32/Makefile.sub (DOCTARGETS): rdoc is default.
22917
22918Wed Sep 16 16:27:40 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22919
22920	* win32/Makefile.sub: typo.
22921
22922Wed Sep 16 16:20:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22923
22924	* configure.in (CAPITARGET): enable iff doxygen is available.
22925
22926	* configure.in (INSTALLDOC): enable if rdoc or doxygen are enabled.
22927
22928	* common.mk (docs): target to make documents.
22929
22930	* Makefile.in, win32/Makefile.sub (install-{all,nodoc}): trigger
22931	  by $(INSTALLDOC) from install.
22932
22933Wed Sep 16 13:39:10 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22934
22935	* lib/matrix.rb (determinant): Bug fix where determinant failed on
22936	  some matrices [ruby-core:23597]
22937
22938Wed Sep 16 13:30:20 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22939
22940	* lib/matrix.rb:  trivial optimizations
22941
22942Wed Sep 16 13:15:17 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22943
22944	* template/Doxyfile.tmpl: RbConfig::CONFIG['DOT'] is sometimes nil.
22945
22946Wed Sep 16 10:14:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22947
22948	* README.EXT, README.EXT.ja (rb_protect, rb_jump_tag): added.
22949
22950Wed Sep 16 10:12:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22951
22952	* common.mk (main): makes also encs.
22953
22954Wed Sep 16 06:30:07 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22955
22956	* thread.c (rb_exec_recursive_outer, rb_exec_recursive): Added method
22957	  to short-circuit to the outermost level in case of recursion
22958
22959	* test/ruby/test_thread.rb (test_recursive_outer): Test for above
22960
22961	* hash.c (rb_hash_hash): Return a sensible hash for in case of
22962	  recursion [ruby-core:24648]
22963
22964	* range.c (rb_range_hash): ditto
22965
22966	* struct.c (rb_struct_hash): ditto
22967
22968	* array.c (rb_array_hash): ditto
22969
22970	* test/ruby/test_array.rb (test_hash2): test for above
22971
22972Wed Sep 16 06:17:33 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
22973
22974	* vm_eval.c (rb_catch_obj, rb_catch, rb_f_catch): No longer use the
22975	  obsolete function rb_iterate.
22976
22977Tue Sep 15 21:48:12 2009  Tanaka Akira  <akr@fsij.org>
22978
22979	* configure.in (--enable-frame-address): removed.
22980
22981Tue Sep 15 15:21:01 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22982
22983	* win32/{configure.bat,Makefile.sub} (RDOCTARGET): the meaning of this
22984	  macro was changed at r24923.
22985
22986Tue Sep 15 15:16:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
22987
22988	* common.mk (install-rdoc), configure.in (RDOCTARGET): removed
22989	  circular dependency.  [ruby-dev:39339]
22990
22991Tue Sep 15 15:09:13 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
22992
22993	* win32/configure.bat: need a space before a tab to output the tab by
22994	  echo.
22995
22996Tue Sep 15 14:24:52 2009  NARUSE, Yui  <naruse@ruby-lang.org>
22997
22998	* string.c (rb_str_split_m): use rb_isspace when the
22999	  string may be ASCII-incompatible.
23000
23001	* string.c (rb_str_lstrip_bang): ditto.
23002
23003	* string.c (rb_str_rstrip_bang): ditto.
23004
23005Tue Sep 15 12:12:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23006
23007	* configure.in (RUBY_USE_BUILTIN_FRAME_ADDRESS): check after real
23008	  target CPU is set.
23009
23010	* configure.in (RUBY_UNIVERSAL_ARCH): check real target CPU after
23011	  AC_PROG_CC.
23012
23013Tue Sep 15 06:42:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23014
23015	* common.mk (install-all): target to install all.
23016
23017	* tool/rbinstall.rb (parse_args): accept all install targets.
23018
23019	* tool/rbinstall.rb (parse_args): show help message and exit if
23020	  rbconfig could not load.
23021
23022Tue Sep 15 04:25:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23023
23024	* configure.in (RDOCTARGET): use install-all.  [ruby-dev:39334]
23025
23026Tue Sep 15 03:00:35 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
23027
23028	* string.c (rb_str_lstrip_bang): use ascii_isspace().  [ruby-dev:39322]
23029
23030	* string.c (rb_str_rstrip_bang): ditto.
23031
23032	* string.c (rb_str_split_m): ditto.
23033
23034Mon Sep 14 16:39:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23035
23036	* debug.c, parse.y: fixed types.
23037
23038	* node.h (nd_line): limit to int.
23039
23040Mon Sep 14 11:23:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23041
23042	* configure.in, common.mk, */configure.bat (rdoc): make before
23043	  install if rdoc is enabled.  [ruby-dev:39325]
23044
23045Mon Sep 14 10:56:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23046
23047	* common.mk (check-ruby): run all test of ruby itself.
23048
23049Mon Sep 14 10:44:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23050
23051	* include/ruby/ruby.h (RB_TYPE_P): should not use BUILTIN_TYPE for
23052	  special constants.
23053
23054Mon Sep 14 10:08:19 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23055
23056	* string.c (rb_str_inspect): use rb_enc_mbc_to_codepoint
23057	  because we already knew char is found and got length.
23058
23059Mon Sep 14 09:59:03 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
23060
23061	* include/ruby/ruby.h (NUM2INT, NUM2LL, INT2NUM, UINT2NUM),
23062	  (LONG2NUM, ULONG2NUM, NUM2CHR): get rid of backward references of
23063	  macros.  the code couldn't compile by VC.
23064
23065Mon Sep 14 08:33:11 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
23066
23067	* lib/net/http.rb (each_*): return enumerator if no block present.
23068	  Patch by Arthur Schreiber [ruby-core:18310]
23069
23070Mon Sep 14 06:42:21 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
23071
23072	* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the
23073	  cookie itself. Based on a patch by Arthur Schreiber [ruby-core:17634]
23074
23075Mon Sep 14 05:21:12 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
23076
23077	* lib/net/http.rb (fetch): Handle properly default values; a patch by
23078	  Arthur Schreiber [ruby-core:18308]
23079
23080Mon Sep 14 04:07:09 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
23081
23082	* lib/set.rb (==): Optimization; patch by Arthur Schreiber [ruby-core:17203]
23083
23084Mon Sep 14 03:30:23 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
23085
23086	* symbian/pre-build: added rule to generate id.h for Symbian build.
23087
23088	* symbian/configure.bat: fixed harmless error message.
23089
23090Sun Sep 13 22:18:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23091
23092	* variable.c (rb_mod_remove_const): do not change VM state when an
23093	  exception will occur.
23094
23095Sun Sep 13 21:25:01 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
23096
23097	* ext/win32ole/win32ole.c (oletypelib_get_libattr): some refactoring
23098	  by adding oletypelib_get_libattr.
23099
23100Sun Sep 13 20:55:19 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
23101
23102	* ext/win32ole/win32ole.c (oletypelib_get_typelib): some refactoring
23103	  by adding oletypelib_get_typelib.
23104
23105Sun Sep 13 20:18:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23106
23107	* ruby.c (process_sflag, proc_options, load_file_internal): fixed
23108	  types.
23109
23110Sun Sep 13 19:39:59 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
23111
23112	* ext/win32ole/win32ole.c: some refactoring.
23113
23114Sun Sep 13 19:38:34 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23115
23116	* ruby.c (load_file_internal): no need to define DATA when error.
23117
23118Sun Sep 13 18:48:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23119
23120	* configure.in (XLDFLAGS): link startup code with ObjC support.
23121
23122Sun Sep 13 13:38:00 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
23123
23124	* thread.c (recursive_*): refactored the access to the inspect
23125	  table used by rb_exec_recursive_*. The functions recursive_push,
23126	  pop and check now assume a valid hash table as their first
23127	  argument. Added documentation.
23128
23129Sun Sep 13 12:07:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23130
23131	* include/ruby/ruby.h (SYM2ID): needs parens.
23132
23133	* include/ruby/ruby.h (NUM2INT, NUM2LL, INT2NUM, UINT2NUM),
23134	  (LONG2NUM, ULONG2NUM, NUM2CHR, rb_type_p, rb_special_const_p):
23135	  GCC specific optimization.
23136
23137Sun Sep 13 11:06:12 2009  Tanaka Akira  <akr@fsij.org>
23138
23139	* lib/open-uri.rb (OpenURI::Meta#content_type_parse): strip quotes.
23140
23141Sun Sep 13 09:38:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23142
23143	* lib/prime.rb (EratosthenesGenerator#initialize): call super.
23144	  (TrialDivisionGenerator, Generator23): ditto.  [ruby-core:25539]
23145
23146Sun Sep 13 09:34:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23147
23148	* vm_method.c (rb_add_method_def): no warning for inherited
23149	  method.
23150
23151Sun Sep 13 08:30:30 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
23152
23153	* ext/win32ole/win32ole.c: fix WIN32OLE_TYPELIB.new when the 1st
23154	  argument is the non-registered file.
23155
23156Sun Sep 13 02:08:43 2009  Koichi Sasada  <ko1@atdot.net>
23157
23158	* vm_core.h: change members of iseq_inline_cache_entry.
23159	  make cache value members to one union member "ic_value".
23160
23161	* insns.def: ditto.
23162
23163	* vm_insnhelper.c: ditto.
23164
23165Sun Sep 13 01:15:49 2009  Tanaka Akira  <akr@fsij.org>
23166
23167	* lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.
23168
23169Sun Sep 13 00:46:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23170
23171	* vm_method.c (CALL_METHOD_HOOK): refined with macro.
23172
23173	* vm_method.c (rb_remove_method_id): no definition body is
23174	  undefined.
23175
23176	* vm_method.c (rb_add_method, rb_add_method_me): call method added
23177	  hook after definition.  [ruby-core:25536]
23178
23179	* vm_method.c (rb_alias): hooks are called from rb_add_method_def.
23180
23181Sat Sep 12 22:47:24 2009  Tanaka Akira  <akr@fsij.org>
23182
23183	* lib/open-uri.rb (URI::FTP#buffer_open): use the port specified in
23184	  the URI.
23185
23186Sat Sep 12 17:31:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23187
23188	* configure.in (GCC): subst for GCC depending extension libraries.
23189
23190Sat Sep 12 07:52:59 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
23191
23192	* ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize result
23193	  variant value.
23194
23195Fri Sep 11 21:52:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23196
23197	* NEWS: update for 1.9.2.  based on a patch from Run Paint Run Run
23198	  in [ruby-core:25534].
23199
23200Fri Sep 11 21:38:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23201
23202	* configure.in: check for real target cpu on darwin 10.
23203
23204Fri Sep 11 18:51:57 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23205
23206	* test/fileutils: use require_relative to require fileasserts.
23207
23208Fri Sep 11 14:22:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23209
23210	* configure.in (debugflags): use gdb by default on linux and
23211	  darwin.
23212
23213	* configure.in (XLDFLAGS): keep ARCHFILE macro on AIX.
23214
23215	* configure.in (RUBY_REPLACE_TYPE): define typename to default
23216	  type if the latter is found.
23217
23218Fri Sep 11 13:57:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23219
23220	* include/ruby/win32.h (fstat): override if large file support is
23221	  enabled.
23222
23223Fri Sep 11 11:33:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23224
23225	* tool/config.{guess,sub}: updated to automake-1.11.
23226
23227Fri Sep 11 10:38:33 2009  URABE Shyouhei  <shyouhei@ruby-lang.org>
23228
23229	* lib/net/http.rb (Net::HTTPHeader::encode_kvpair): also call to_s
23230	  to k.  A patch from swdyh <youhei@gmail.com>
23231	  http://github.com/swdyh/ruby/tree/c847f43c2ccb679b9ff728f8b1b16c6ceeb57f39
23232
23233Fri Sep 11 09:45:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23234
23235	* dln.c (aix_loaderror): get rid of using uninitialized value in the
23236	  case loadquery fails.  fixed wrong index variable usage.  see
23237	  [ruby-core:25479].
23238
23239Fri Sep 11 07:52:43 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23240
23241	* unicode.c (onigenc_unicode_property_name_to_ctype):
23242	  ignore case of properties.
23243
23244	* tool/enc-unicode.rb: downcase properties list.
23245
23246	* enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
23247	  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
23248	  follow above.
23249
23250Fri Sep 11 05:00:19 2009  Koichi Sasada  <ko1@atdot.net>
23251
23252	* include/ruby/ruby.h (rb_data_type_t): Add comments.
23253	  And add a member variable "data", a multi-purpose storage
23254	  area for rb_data_type.
23255
23256Fri Sep 11 02:14:21 2009  Tanaka Akira  <akr@fsij.org>
23257
23258	* test/dl: use require_relative to require test_base.rb.
23259
23260Fri Sep 11 02:06:44 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23261
23262	* parse.y (rb_char_to_option_kcode): ASCII-8BIT should
23263	  also delay.
23264
23265	* re.c (parser_regx_options): return rb_ascii8bit_encindex on
23266	  ASCII-8BIT. [ruby-dev:39300]
23267
23268Fri Sep 11 01:14:00 2009  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>
23269
23270	* lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber.
23271	  [ruby-core:18309].
23272
23273Thu Sep 10 23:00:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23274
23275	* lib/mkmf.rb (create_makefile): fix for parallel execution.
23276	  [ruby-core:25509]
23277
23278Thu Sep 10 21:22:01 2009  Tanaka Akira  <akr@fsij.org>
23279
23280	* test/dl/test_cptr.rb (test_free=): test SEGV at first.
23281	  [ruby-dev:39269]
23282
23283Thu Sep 10 21:20:59 2009  Tanaka Akira  <akr@fsij.org>
23284
23285	* test/ruby/envutil.rb (assert_normal_exit): Don't use
23286	  AssertionMessage.
23287
23288Thu Sep 10 15:59:05 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23289
23290	* regparse.c (UNKNOWN_ESC_WARN): added.
23291
23292	* regparse.c (conv_backslash_value): Warn unknown
23293	  escaped chars in regexp. [ruby-dev:39104]
23294
23295Wed Sep  9 22:02:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23296
23297	* lib/fileutils.rb (FileUtils::Entry_#copy_file): open the source
23298	  file first to ensure it can be copied.  [ruby-core:25498]
23299
23300Wed Sep  9 21:20:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23301
23302	* ext/bigdecimal/bigdecimal.c (BigDecimal_data_type): typed.
23303
23304	* ext/dl/cfunc.c (dlcfunc_data_type): typed.
23305
23306	* ext/dl/cptr.c (dlptr_data_type): ditto.
23307
23308	* ext/dl/handle.c (dlhandle_data_type): ditto.
23309
23310Wed Sep  9 17:17:31 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23311
23312	* re.c (parser_regx_options): only one kcode should effect
23313	  options [ruby-core:25411]
23314
23315Wed Sep  9 15:46:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23316
23317	* load.c (rb_feature_provided): fixed for autoloading extension
23318	  library without suffix.
23319
23320Wed Sep  9 15:24:32 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
23321
23322	* include/ruby/st.h : revert previous commit.
23323
23324	* ext/objspace/objspace.c : remove st_memsize declare.
23325
23326Wed Sep  9 14:07:19 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
23327
23328	* include/ruby/st.h : fix duplicate st_memsize declare.
23329
23330Wed Sep  9 13:33:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23331
23332	* variable.c (rb_autoload): initialize typed data.
23333
23334Wed Sep  9 13:10:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23335
23336	* st.c (st_free_table): constified.
23337
23338Wed Sep  9 13:09:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23339
23340	* dir.c (dir_data_type): typed.
23341
23342	* enumerator.c (enumerator_data_type): typed.
23343	  (yielder_data_type, generator_data_type): ditto.
23344
23345	* error.c (name_err_mesg_data_type): typed.
23346
23347	* file.c (stat_data_type): typed.
23348
23349	* thread.c (thgroup_data_type, mutex_data_type, barrier_data_type):
23350	  typed.
23351
23352	* time.c (time_data_type): typed.
23353
23354	* transcode.c (econv_data_type): typed.
23355
23356	* variable.c (autoload_data_type): typed.
23357
23358Wed Sep  9 11:11:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23359
23360	* include/ruby/ruby.h (rb_data_type_struct): constified dsize.
23361
23362Wed Sep  9 11:07:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23363
23364	* cont.c (cont_memsize): fixed wrong expression on IA64.
23365
23366Wed Sep  9 10:51:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23367
23368	* cont.c (cont_restore_1, rb_cont_call): should be Fiber.
23369
23370Wed Sep  9 00:27:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23371
23372	* cont.c (cont_data_type, fiber_data_type): typed.
23373
23374Tue Sep  8 22:37:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23375
23376	* lib/tempfile.rb, lib/tmpdir.rb (Tmpname): extracted new module.
23377	  [ruby-dev:39197]
23378
23379Tue Sep  8 22:18:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23380
23381	* st.c (st_init_*table_with_size): use st_index_t.
23382
23383	* include/ruby/st.h (st_hash_func): use st_index_t.
23384
23385Tue Sep  8 21:48:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23386
23387	* vm.c (rb_thread_mark): mark callers iseqs.  [ruby-core:25474]
23388	  [Bug #2062]
23389
23390Tue Sep  8 11:53:58 2009  Koichi Sasada  <ko1@atdot.net>
23391
23392	* iseq.c (iseq_mark): no need to mark inline cache entries.
23393
23394	* insns.def (onceinlinecache, setinlinecache): save a value
23395	  to mark cached value.
23396
23397Tue Sep  8 08:32:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23398
23399	* test/dl/test_{cfunc,ptr}.rb: added tests from Aaron Patterson.
23400	  see [ruby-dev:39249].
23401
23402Mon Sep  7 17:22:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23403
23404	* io.c (rb_io_tell): adjustment for ungotten data.
23405
23406Mon Sep  7 17:13:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23407
23408	* io.c (io_encname_bom_p): removed magic number.
23409
23410Mon Sep  7 12:26:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
23411
23412	* lib/irb/inspector.rb (IRB::INSPECTORS.def_inspector): support
23413	  object without #inspect defined.  a patch from Daniel
23414	  Bovensiepen.  [ruby-core:25200]
23415
23416Mon Sep  7 05:38:34 2009  Koichi Sasada  <ko1@atdot.net>
23417
23418	* insns.def (opt_*): add IC operands.
23419
23420	* vm_insnhelper.h (CALL_SIMPLE_METHOD): add a version which
23421	  use an inline cache.  USE_IC_FOR_SPECIALIZED_METHOD macro
23422	  switches the behaviour.  This change also removes
23423	  CALL_SIMPLE_METHOD_IC() macro.
23424
23425	* tool/instruction.rb: fix elimination process to ignore
23426	  variable "ic".
23427
23428Mon Sep  7 05:21:09 2009  Koichi Sasada  <ko1@atdot.net>
23429
23430	* Makefile.in, common.mk: move a id.h generation rule.
23431
23432Mon Sep  7 05:07:59 2009  Koichi Sasada  <ko1@atdot.net>
23433
23434	* benchmark/driver.rb: remove RUBY_VERSION output.
23435
23436Mon Sep  7 05:06:16 2009  Koichi Sasada  <ko1@atdot.net>
23437
23438	* vm_insnhelper.c: rename macro name ENABLE_IC_FOR_IVAR
23439	  to USE_IC_FOR_IVAR.
23440
23441Mon Sep  7 03:21:40 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23442
23443	* lib/uri/common.rb (URI.escape): obsoleted.
23444
23445	* lib/uri/common.rb (URI.unescape): ditto.
23446
23447Sun Sep  6 18:13:54 2009  Koichi Sasada  <ko1@atdot.net>
23448
23449	* vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macro
23450	  invoke simple method with inline cache entry.
23451
23452	* insns.def (opt_length, opt_size): fix to use inline method cache.
23453
23454Sun Sep  6 17:47:21 2009  Koichi Sasada  <ko1@atdot.net>
23455
23456	* template/id.h.tmpl: fix this.
23457
23458	* id.h: removed.  Because this file is generated automatically.
23459
23460Sun Sep  6 17:31:28 2009  Koichi Sasada  <ko1@atdot.net>
23461
23462	* compile.c (iseq_specialized_instruction), insns.def (opt_size):
23463	  optimize #size methods (by specialized instruction).
23464
23465	* id.c, id.h, vm.c, vm_insnhelper.h: ditto.
23466
23467Sun Sep  6 16:13:06 2009  Koichi Sasada  <ko1@atdot.net>
23468
23469	* insns.def (setinstancevariable), vm_insnhelper.c (vm_setivar):
23470	  fix to use inline cache (trivial optimization).
23471
23472Sun Sep  6 10:34:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23473
23474	* io.c: fixed rdoc, a patch from Nobuhiro IMAI at [ruby-core:25433].
23475
23476Sun Sep  6 05:19:09 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23477
23478	* io.c: Add rdoc for ARGF.
23479	  contributed by Run Paint Run Run. [ruby-core:23854]
23480
23481Sat Sep  5 15:21:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23482
23483	* compile.c (iseq_compile_each): op_asgn to aref should return rhs.
23484	  [ruby-core:25387]
23485
23486Sat Sep  5 10:38:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23487
23488	* compile.c (iseq_compile_each): &&= and ||= should return rhs.
23489	  [ruby-dev:39163] (#1996), [ruby-core:25143]
23490
23491Sat Sep  5 08:51:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23492
23493	* re.c (update_char_offset): position should be long.
23494
23495	* re.c (match_hash, match_equal): new methods.  [ruby-core:24748]
23496
23497	* re.c (reg_match_pos, rb_reg_eqq, rb_reg_s_quote): get rid of use
23498	  VALUE as int.
23499
23500Fri Sep  4 20:40:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23501
23502	* numeric.c (round): added declaration.  [ruby-dev:39222]
23503
23504Fri Sep  4 06:15:39 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
23505
23506	* dir.c (Init_Dir): alias Dir#path to Dir#to_path.  [ruby-core:25326]
23507
23508Fri Sep  4 04:49:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23509
23510	* random.c (random_rand): fixed rdoc.  [ruby-core:25332]
23511
23512Fri Sep  4 04:46:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23513
23514	* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
23515	  are symbols now.  [ruby-core:24580]
23516
23517Thu Sep  3 17:56:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23518
23519	* parse.y (literal_concat_gen): concat body from dstr instead of
23520	  nd_next.  [ruby-core:25284]
23521
23522Wed Sep  2 16:49:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23523
23524	* math.c (math_gamma): get rid of direct comparison between too
23525	  big double and integer, with gcc on x86_64.  [ruby-core:25257]
23526
23527Wed Sep  2 13:47:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23528
23529	* math.c (domain_check): simplified.
23530
23531Wed Sep  2 11:32:24 2009  Koichi Sasada  <ko1@atdot.net>
23532
23533	* gc.c (obj_free): fix to free method table (fix memory leak).
23534
23535Wed Sep  2 07:42:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23536
23537	* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
23538	  simplified.
23539
23540Wed Sep  2 02:32:46 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23541
23542	* ext/json/lib/json/common.rb (NaN): Change definition
23543	  of NaN to 0.0/0 for 1.8/1.9 compatibility.
23544
23545Wed Sep  2 01:16:32 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23546
23547	* ext/json: Update to JSON 1.1.9.
23548
23549Tue Sep  1 19:56:28 2009  Koichi Sasada  <ko1@atdot.net>
23550
23551	* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
23552	  [ruby-dev:39205] [Bug #2024]
23553
23554Mon Aug 31 16:20:41 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
23555
23556	* class.c (make_singleton_class): variable name changed.
23557	  removed an unnecessary conditional.
23558
23559Mon Aug 31 14:17:09 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
23560
23561	* class.c: refactored singleton class related matters.
23562	  Handles eigenclasses and plain classes transparently.
23563
23564	  (make_metaclass): renamed from make_metametaclass.
23565	  (METACLASS_OF): new utility macro
23566	  (META_CLASS_OF_CLASS_CLASS): ditto.
23567	  (ENSURE_EIGENCLASS): ditto.
23568	  (make_singleton_class): extracted from rb_singleton_class.
23569	  (boot_defclass): moved from object.c
23570	  (Init_class_hierarchy): extracted from Init_Object.
23571	  (rb_make_metaclass): refactored.
23572	  (singleton_class_of): extracted from rb_singleton_class.
23573	  (rb_singleton_class): refactored.
23574	  (rb_define_singleton_method): it needs a metaclass only
23575	  but not its metametaclass.
23576
23577	* object.c: booting class hierarchy was moved to class.c
23578	  for keeping dependency between compilation units least.
23579	  (Init_Object): extracting the booting into
23580	  Init_class_hierarchy.
23581	  (boot_defclass): moved to class.c.
23582
23583Sun Aug 30 23:44:09 2009  Tanaka Akira  <akr@fsij.org>
23584
23585	* time.c (find_time_t): use mktime for the first guess.
23586
23587Sun Aug 30 16:38:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23588
23589	* parse.y (rb_enc_symname2_p): not depend on nul terminator.
23590
23591Sun Aug 30 14:11:45 2009  Tanaka Akira  <akr@fsij.org>
23592
23593	* common.mk: dependencies updated.
23594
23595Sun Aug 30 13:00:11 2009  Tanaka Akira  <akr@fsij.org>
23596
23597	* time.c (add): shortcut implemented for fixnums.
23598	  (sub): ditto.
23599	  (mul): ditto.
23600
23601Sun Aug 30 10:24:43 2009  Tanaka Akira  <akr@fsij.org>
23602
23603	* time.c (eq): apply RTEST.
23604	  (ne): ditto.
23605	  (add): avoid method dispatch for bignums.
23606	  (sub): ditto.
23607	  (mul): ditto.
23608	  (mod): ditto.
23609
23610Sun Aug 30 09:45:11 2009  Tanaka Akira  <akr@fsij.org>
23611
23612	* bignum.c (bigmul1_single): new function specialized respect to
23613	  multiply two single digit bignums.
23614	  (bigmul0): use bigmul1_single.
23615
23616Sun Aug 30 03:59:43 2009  Tanaka Akira  <akr@fsij.org>
23617
23618	* timev.h (TIME_SCALE): defined as 1000000000.
23619	  (struct vtm): subsec is replaced by subsecx.
23620	  subsec * TIME_SCALE == subsecx.
23621
23622	* time.c: avoid rational in most cases.
23623	  (struct time_object): timev is replaced by timexv.
23624	  timev * TIME_SCALE == timexv.
23625
23626Sun Aug 30 03:17:25 2009  Tanaka Akira  <akr@fsij.org>
23627
23628	* time.c (init_leap_second_info): use TIMET_MAX.
23629
23630Sun Aug 30 01:15:31 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23631
23632	* ext/zlib/zlib.c (gzfile_read_all): use gzfile_newstr;
23633	  set and convert its encoding. [ruby-dev:38304]
23634
23635Sat Aug 29 20:40:02 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
23636
23637	* vm_eval.c (rb_call0): gets rid of checking method cache twice.
23638
23639	* method.h (rb_get_method_entry): added a prototype of the function.
23640	  (rb_method_entry_without_cache): more friendly name.
23641
23642Sat Aug 29 12:16:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23643
23644	* lib/tmpdir.rb (Dir.mktmpdir): rolled back r24699.  [ruby-dev:39193]
23645
23646Sat Aug 29 03:27:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23647
23648	* lib/tempfile.rb (Tempfile#make_tmpname): removed thread race
23649	  condition.
23650
23651	* lib/tmpdir.rb (Dir.mktmpdir): ditto.
23652
23653Fri Aug 28 20:29:34 2009  Akinori MUSHA  <knu@iDaemons.org>
23654
23655	* lib/tempfile.rb (Tempfile#callback): Debug information should be
23656	  output to stderr, not stdout; pointed out by akira yamada.
23657	  cf. [ruby-dev:39072]
23658
23659Fri Aug 28 20:34:24 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
23660
23661	* ext/win32ole/win32ole.c: use SafeStringValue instead of
23662	  Check_SafeStr.
23663
23664Fri Aug 28 13:30:43 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
23665
23666	* thread.c (do_select): rollback r24680. void struct initializer is
23667	  invalid.
23668
23669Fri Aug 28 11:45:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23670
23671	* method.h (rb_method_definition_t): split from rb_method_entry_
23672	  to deal aliases.  [ruby-dev:39165]
23673
23674	* proc.c (struct METHOD): contains rb_method_entry_t copy.
23675
23676Fri Aug 28 10:21:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23677
23678	* iseq.c (iseq_mark): skip outdated cache entries.
23679
23680	* vm_core.h ({GET,INC}_VM_STATE_VERSION): moved from
23681	  vm_insnhelper.h.
23682
23683Fri Aug 28 07:25:25 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
23684
23685	* enumerator.c (next_i): typo fixed (reached at end -> reached an
23686	  end).  pointed out by James Edward Gray II at LoneStar RubyConf.
23687
23688Thu Aug 27 18:31:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23689
23690	* vm_method.c (rb_remove_method_id): exported.
23691
23692	* numeric.c (num_sadded): fix for non-ascii method name.
23693
23694Thu Aug 27 14:32:31 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23695
23696	* re.c (rb_reg_preprocess_dregexp): set encoding as ASCII-8BIT
23697	  when /n is specified and the embedded string is escaped text.
23698
23699Thu Aug 27 13:51:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23700
23701	* random.c (random_rand): random integer can be a fixnum for
23702	  bignum range.  [ruby-dev:39173]
23703
23704Thu Aug 27 08:16:34 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23705
23706	* ext/strscan/strscan.c (strscan_set_string): set string should not be
23707	  duped or frozen, because freezing it causes #concat method failure,
23708	  and unnecessary to dup without freezing.  a patch from Aaron
23709	  Patterson at [ruby-core:25145].
23710
23711Thu Aug 27 02:06:11 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23712
23713	* Makefile.in (enc/unicode/name2ctype.kwd):
23714	  remove rules to generate name2ctype.kwd from
23715	  UnicodeData.txt and Scripts.txt.
23716	  if you want to generate, use tool/enc-unicode.rb.
23717
23718Thu Aug 27 02:00:09 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23719
23720	* unicode.c (PROPERTY_NAME_MAX_SIZE): use MAX_WORD_LENGTH.
23721
23722Wed Aug 26 23:59:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23723
23724	* random.c (random_rand): refined error message.
23725
23726	* random.c (random_rand): fixed for edge cases of ranges.
23727	  [ruby-dev:39166]
23728
23729Wed Aug 26 21:49:23 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23730
23731	* lib/tempfile.rb: add documents from Hongli Lai's fork.
23732	  cf [ruby-core:25131].
23733
23734Wed Aug 26 19:51:13 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23735
23736	* tool/mkconfig.rb (program_transform_name): fix for multiple trans
23737	  rules for autoconf 2.61 or earlier.
23738
23739	* tool/rbinstall.rb (program_transform_name): ditto.
23740
23741Wed Aug 26 19:20:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23742
23743	* random.c (random_rand): unified random_int and random_float.
23744	  [ruby-dev:39158].  and fixes [ruby-core:24655], [ruby-core:24677],
23745	  [ruby-core:24679].
23746
23747Wed Aug 26 18:59:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23748
23749	* test/test_tempfile.rb: merged from Hongli Lai's fork.
23750	  cf [ruby-core:25131].
23751
23752Wed Aug 26 18:49:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23753
23754	* lib/tempfile.rb (Tempfile#close!): should not undefine finalizer
23755	  by just unlink.
23756
23757Wed Aug 26 17:00:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23758
23759	* tool/mkconfig.rb (program_transform_name): fix for autoconf 2.61
23760	  or earlier.
23761
23762Wed Aug 26 14:34:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23763
23764	* lib/tempfile.rb (Tempfile#close!, Tempfile#path): added side
23765	  notes from Hongli Lai's fork.
23766
23767	* lib/tempfile.rb (Tempfile#unlink, Tempfile.callback): do nothing
23768	  any more once unlinked.
23769
23770Wed Aug 26 13:48:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23771
23772	* lib/tempfile.rb (Tempfile#unlink): reverted r23494, since the
23773	  usage in RubyInline is considered wrong.
23774
23775Wed Aug 26 12:36:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23776
23777	* vm.c (collect_local_variables_in_env): skips internal variables.
23778	  [ruby-core:25125]
23779
23780Tue Aug 25 23:51:07 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23781
23782	* tool/enc-unicode.rb: added for generate name2ctype.kwd.
23783	  contributed by Run Paint Run Run [ruby-core:24775]
23784
23785	* enc/unicode.c (CodeRanges): move definitions to name2ctype.h.
23786
23787	* enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd,
23788	  enc/unicode/name2ctype.src: updated to v5.1.
23789
23790	* enc/unicode/UnicodeData.txt, enc/unicode/Scripts.txt: added v5.1.
23791
23792	* Makefile.in: add rule to generate name2ctype.kwd from
23793	  UnicodeData.txt and Scripts.txt.
23794
23795Tue Aug 25 22:31:51 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23796
23797	* configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P
23798	  when AC_PROG_MKDIR_P doesn't set MKDIR_P.
23799
23800Tue Aug 25 17:38:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23801
23802	* bignum.c (rb_big_clone, bigmul1_normal, bigdivrem): trivial
23803	  optimization.
23804
23805	* bignum.c (big2dbl): truncates zero digits to get rid of possible
23806	  underflow.
23807
23808Tue Aug 25 12:22:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23809
23810	* Makefile.in (enc/unicode/name2ctype.h): explicitly ignores the
23811	  result of diff and turns -e option off, because *BSD make passes
23812	  it by default.
23813
23814Tue Aug 25 02:16:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23815
23816	* configure.in (DLDFLAGS): use linker_flag and changed undefined
23817	  and multiply_defined behaviors. cf [ruby-core:25086].
23818
23819Mon Aug 24 21:31:37 2009  Kouhei Sutou  <kou@cozmixng.org>
23820
23821	* lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bug
23822	  that RSS Maker doesn't accept 'false' as guid's isPermaLink.
23823	  Reported by Joe Holt. Thanks!!!
23824
23825Mon Aug 24 18:58:56 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
23826
23827	* include/ruby/missing.h (vsnprintf): rollback a part of r24179, because
23828	  it's meaningless.
23829
23830Mon Aug 24 16:35:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23831
23832	* st.c (st_delete_safe): deals with packed entries.
23833	  [ruby-core:25080]
23834
23835	* st.c (st_cleanup_safe): ditto.  [ruby-core:25081]
23836
23837Mon Aug 24 13:24:07 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
23838
23839	* win32/Makefile.sub (MAKEDIRS): define.
23840
23841	* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP).
23842
23843Mon Aug 24 13:14:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23844
23845	* configure.in (RUBY_CHECK_SIZEOF): set cross_compiling only when
23846	  universal binary.
23847
23848Mon Aug 24 12:55:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23849
23850	* win32/Makefile.sub (enc/unicode/name2ctype.h): use md instead of
23851	  $(MAKEDIRS).
23852
23853Sun Aug 23 15:22:45 2009  Tanaka Akira  <akr@fsij.org>
23854
23855	* bootstraptest/runner.rb (main): "usage" description updated.
23856
23857Sun Aug 23 15:12:22 2009  Tanaka Akira  <akr@fsij.org>
23858
23859	* bootstraptest/runner.rb (Dir.mktmpdir): updated to latest.
23860	  (in_temporary_working_directory): temporary directory name changed.
23861
23862Sun Aug 23 00:56:13 2009  Tanaka Akira  <akr@fsij.org>
23863
23864	* thread.c (rb_thread_schedule): don't recur infinitely.
23865	  (rb_threadptr_execute_interrupts): ditto.
23866	  [ruby-dev:38060]
23867
23868Sat Aug 22 15:07:23 2009  Tanaka Akira  <akr@fsij.org>
23869
23870	* ext/syck/rubyext.c (id_hash_new): new function to create a hash
23871	  which key is compared by object id.
23872	  (syck_emitter_reset): use id_hash_new for bonus->data.
23873
23874	* lib/yaml.rb (YAML.quick_emit): give the object itself to emitter.
23875	  don't use object_id and hash.
23876
23877Sat Aug 22 13:05:22 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23878
23879	* Makefile.in: use CP and MV macros.
23880
23881Sat Aug 22 01:29:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23882
23883	* lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.
23884	  [ruby-dev:39153]
23885
23886Sat Aug 22 00:48:08 2009  Tanaka Akira  <akr@fsij.org>
23887
23888	* enumerator.c (ary2sv): add dup argument.
23889	  (enumerator_next): call ary2sv with dup=0.
23890	  (enumerator_peek): call ary2sv with dup=1 to return duplicated array.
23891	  (enumerator_peek_values_m): new function to return duplicated array.
23892	  (Init_Enumerator): use enumerator_peek_values_m as
23893	  Enumerator#peek_value.
23894
23895Sat Aug 22 00:03:19 2009  Yusuke Endoh  <mame@tsg.ne.jp>
23896
23897	* thread.c (rb_check_deadlock): decrease number of sleepers before
23898	  deadlock detection because the deadlock exception makes main thread
23899	  run.  [ruby-dev:39142]
23900
23901Fri Aug 21 22:34:58 2009  Tanaka Akira  <akr@fsij.org>
23902
23903	* enumerator.c (get_next_values): extracted from
23904	  enumerator_next_values.
23905	  (enumerator_next_values): use get_next_values.
23906	  (enumerator_peek_values): ditto.
23907
23908Fri Aug 21 17:01:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23909
23910	* enc/unicode/name2ctype.h: split from enc/unicode.c and made a
23911	  perfect hash.
23912
23913Fri Aug 21 15:13:08 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23914
23915	* include/ruby/io.h, io.c (FMODE_SETENC_BY_BOM):
23916	  renamed from FMODE_STRIP_BOM.
23917
23918Thu Aug 20 01:24:55 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23919
23920	* io.c (rb_io_fmode_modestr): change modestr syntax for BOM
23921	  to "BOM|UTF-*". [ruby-dev:39106]
23922
23923	* io.c (parse_mode_enc): ditto.
23924
23925Fri Aug 21 15:01:35 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23926
23927	* ext/readline/readline.c (readline_readline): use rb_prep_terminal
23928	  only on Windows.
23929
23930Fri Aug 21 07:25:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23931
23932	* lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to ge
23933	  rid of loading rubygems and searching all gems always.
23934
23935Fri Aug 21 07:14:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23936
23937	* configure.in (RUBY_PROGRAM_VERSION, RUBY_RELEASE_DATE): extracts
23938	  from version.h for cross-compiling.
23939
23940	* template/fake.rb.in (RUBY_VERSION, RUBY_DESCRIPTION): use above.
23941
23942Fri Aug 21 00:08:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23943
23944	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
23945
23946Thu Aug 20 23:56:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23947
23948	* io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.
23949
23950Thu Aug 20 23:39:51 2009  Yusuke Endoh  <mame@tsg.ne.jp>
23951
23952	* parse.y (reduce_nodes_gen): preserve NODE_FL_NEWLINE flag during
23953	  node reducing.  [ruby-core:24463]
23954
23955Thu Aug 20 14:39:47 2009  NARUSE, Yui  <naruse@ruby-lang.org>
23956
23957	* ext/readline/readline.c (readline_get): add rl_prep_terminal(1).
23958	  incited by jitte [ruby-list:43546]
23959
23960Thu Aug 20 12:09:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
23961
23962	* parse.y (ivar2_hash_type): disabled for now.
23963
23964Thu Aug 20 08:39:50 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
23965
23966	* thread.c (rb_thread_terminate_all): do not ignore interrupt when
23967	  reaping threads on termination.  [ruby-dev:39107]
23968
23969Thu Aug 20 02:32:08 2009  Tanaka Akira  <akr@fsij.org>
23970
23971	* enumerator.c (next_init): don't clear feedvalue.
23972
23973Thu Aug 20 01:28:42 2009  Tanaka Akira  <akr@fsij.org>
23974
23975	* enumerator.c: implement Enumerator#{next_values,peek_values,feed}
23976	  and StopIteration#result.  [ruby-dev:39109]
23977	  (struct enumerator): replace no_next by stop_exc.
23978	  new field feedvalue.
23979	  (enumerator_mark): mark feedvalue and stop_exc.
23980	  (enumerator_init): initialize feedvalue and stop_exc.
23981	  (enumerator_init_copy): initialize feedvalue.
23982	  (next_ii): send yield arguments as an array.  return feedvalue.
23983	  (next_i): generate StopIteration exception here.  set result.
23984	  (next_init): initialize feedvalue.
23985	  (enumerator_next_values): new method Enumerator#next_values.
23986	  (ary2sv): new function.
23987	  (enumerator_peek_values): new method Enumerator#peek_values.
23988	  (enumerator_feed): new method Enumerator#feed.
23989	  (yielder_yield): return the yield value.
23990	  (generator_each): return the iterator value.
23991	  (stop_result): new method StopIteration#result.
23992
23993Thu Aug 20 01:06:48 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
23994
23995	* dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient
23996	  memory space for Solaris.  a patch from Naohisa GOTO
23997	  <ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132].
23998	  [ruby-dev:39062]
23999
24000	* configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent
24001	  check.
24002
24003Wed Aug 19 11:32:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24004
24005	* enc/unicode.c (CodeRanges): initialized statically.
24006
24007Wed Aug 19 02:54:01 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24008
24009	* test/ruby/test_settracefunc.rb (test_return, test_return2): add two
24010	  tests for [ruby-dev:38701] and [ruby-core:24463].
24011
24012Wed Aug 19 01:08:34 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24013
24014	* compile.c (NODE_RETURN): fire return event at explicit return.
24015	  [ruby-dev:38701]
24016
24017Tue Aug 18 21:00:26 2009  Tanaka Akira  <akr@fsij.org>
24018
24019	* enumerator.c (enumerator_peek): new method Enumerator#peek.
24020	  (enumerator_next): don't rewind at end.
24021	  [ruby-dev:38932]
24022
24023Tue Aug 18 13:46:14 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
24024
24025	* touch test/rdoc/empty.dat to run test_rdoc_parser.rb
24026
24027Tue Aug 18 11:37:24 2009  wanabe  <s.wanabe@gmail.com>
24028
24029	* vm_insnhelper.c (vm_call_cfunc): ensure hook c-return.
24030	  [Bug #1588]
24031
24032	* test/ruby/test_settracefunc.rb (TestSetTraceFunc#test_raise):
24033	  follow above.
24034
24035Tue Aug 18 01:57:00 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24036
24037	* range.c (range_step): treat symbols specially so that iterating
24038	  over symbols should work like strings.  [ruby-core:24780]
24039
24040	* range.c (range_each): ditto.
24041
24042Tue Aug 18 01:21:31 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24043
24044	* range.c (range_each): should honor to_str conversion.
24045
24046Mon Aug 17 23:45:40 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24047
24048	* lib/date/delta.rb: removed require 'date'.  added to_c.
24049
24050Mon Aug 17 14:35:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24051
24052	* parse.y (lex_get_str, lex_io_gets, rb_parser_compile_string):
24053	  must be ascii compatible.
24054
24055Mon Aug 17 10:37:41 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24056
24057	* regparse.c (add_code_range_to_buf0): added with checkdup argument.
24058
24059	* regparse.c (add_code_range_to_buf): use above.
24060
24061	* regparse.c (add_code_range0): added with checkdup argument.
24062
24063	* regparse.c (add_code_range): use above.
24064
24065	* regparse.c (i_apply_case_fold): don't warn if the duplicate is
24066	  caused by case folding.
24067
24068Mon Aug 17 08:31:56 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24069
24070	* lib/date/delta.rb: merged from date4.  [experimental]
24071
24072	* lib/date/delta/parser.*: ditto.
24073
24074	* lib/date.rb: followed the above changes.
24075
24076Mon Aug 17 08:19:03 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24077
24078	* lib/date/format.rb (strptime): removed \v; since \s includes \v.
24079
24080Mon Aug 17 08:14:26 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24081
24082	* complex.c (nucomp_rationalize) added.  [experimental]
24083
24084	* rational.c ({nurat,nilclass,integer,float}_rationalize) ditto.
24085
24086Mon Aug 17 08:11:53 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24087
24088	* lib/cmath.rb: use num#i.
24089
24090Mon Aug 17 07:59:00 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24091
24092	* numeric.c (flo_pow,fix_pow): may return complex number.
24093
24094	* bignum.c (rb_big_pow): ditto.
24095
24096Mon Aug 17 07:16:10 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24097
24098	* numeric.c (num_imaginary): num#i to return imaginary counterpart
24099	  of the given numeric.
24100
24101	* complex.c (Init_Complex): undef #i for complex numbers.
24102
24103Mon Aug 17 00:17:33 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24104
24105	* lib/complex.rb, lib/rational.rb: added warning messages.
24106
24107Sun Aug 16 23:58:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24108
24109	* parse.y (yylex): should dispatch scan-event even when follows
24110	  just after delayed-token.  [ruby-dev:37855] [Bug #1071]
24111
24112Sun Aug 16 22:20:16 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24113
24114	* lib/date/format.rb: reverted.
24115
24116Sun Aug 16 21:31:21 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24117
24118	* lib/date/format.rb: suppressed a warning.
24119
24120	* lib/irb/ruby-lex.rb: ditto.
24121
24122Sun Aug 16 15:25:26 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24123
24124	* lib/csv.rb: Change magic comment to US-ASCII in order to
24125	  make literals as US-ASCII.
24126
24127Sun Aug 16 10:45:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24128
24129	* regparse.c (parse_char_class, parse_exp, parse_branch),
24130	  (parse_subexp): fixed memory leak.  a patch from Ralf Junker
24131	  <ralfjunker AT gmx.de> at [ruby-core:24921].
24132
24133Sun Aug 16 10:38:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24134
24135	* vm.c (vm_backtrace_each, vm_backtrace_push),
24136	  vm_eval.c (print_backtrace), vm_dump.c (bugreport_backtrace):
24137	  rb_backtrace_iter_func now takes VALUE as file and method names.
24138
24139Sun Aug 16 03:06:59 2009  Koichi Sasada  <ko1@atdot.net>
24140
24141	* vm_insnhelper.c (opt_eq_func): fix optimization bug.  This issue
24142	  was found out and debugged with Takuto Hayashi at Security and
24143	  Programming camp 2009.
24144
24145Sun Aug 16 01:10:00 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24146
24147	* regparse.c (add_ctype_to_cc_by_range): fix the first
24148	  character bigger than sb_out was dropped.
24149
24150	* test/ruby/test_regexp.rb (TestRegexp#test_posix_bracket):
24151	  add tests for above.
24152
24153Sun Aug 16 00:30:33 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24154
24155	* include/ruby/oniguruma.h
24156	  (ONIGENC_CTYPE_SPECIAL_MASK): added.
24157	  (ONIGENC_CTYPE_D): ditto.
24158	  (ONIGENC_CTYPE_S): ditto.
24159	  (ONIGENC_CTYPE_W): ditto.
24160
24161	* regparse.c: \d, \s and \w are now non Unicode class.
24162	  [ruby-dev:39026]
24163	  (fetch_token_in_cc): use ONIGENC_CTYPE_[DSW] for \d/\s/\w.
24164	  (fetch_token): ditto.
24165	  (add_ctype_to_cc): add routines for ONIGENC_CTYPE_[DSW].
24166	  (parse_exp): ditto.
24167
24168	* test/ruby/test_regexp.rb (TestRegexp#test_char_class):
24169	  add tests for above.
24170
24171Sat Aug 15 10:39:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24172
24173	* parse.y (fname, string_dvar, sym, dsym, f_arglist): removed
24174	  duplications.
24175
24176Fri Aug 14 20:03:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24177
24178	* include/ruby/ruby.h (rb_check_safe_str): deprecated.
24179
24180	* ext/openssl/ossl_x509store.c (ossl_x509store_add_{file,path}):
24181	  replaced deprecated function.
24182
24183Fri Aug 14 17:59:12 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24184
24185	* re.c (rb_reg_preprocess_dregexp): change Exception class to
24186	  RegexpError.
24187
24188	* test/ruby/test_m17n.rb (test_regexp_usascii): follow above.
24189
24190	* test/ruby/test_m17n.rb (test_regexp_embed): ditto.
24191
24192Fri Aug 14 17:17:42 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24193
24194	* enc/Makefile.in (MKDIRS): revert r24525.
24195
24196Fri Aug 14 16:28:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24197
24198	* ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): faster
24199	  code.
24200
24201Fri Aug 14 14:31:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24202
24203	* configure.in (rubyhdrdir): fixed typo.  [ruby-dev:39079]
24204
24205Fri Aug 14 00:29:22 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24206
24207	* doc/ChangeLog-1.8.0: add forgotten entry contributed by
24208	  TAKAHASHI Kaoru.  [ruby-dev:39065]
24209
24210Fri Aug 14 00:19:49 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24211
24212	* lib/delegate.rb (Delegator#method_missing): __FILE__ may contain
24213	  multi-byte characters.  a patch from Kenta Murata in [ruby-dev:39066].
24214
24215Thu Aug 13 21:01:03 2009  wanabe  <s.wanabe@gmail.com>
24216
24217	* vm.c (vm_exec): returning from lambda runs ensure section.
24218	  [Bug #1729]
24219
24220Thu Aug 13 18:40:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24221
24222	* configure.in (RUBY_CHECK_SIZEOF): set cross_compiling to yes
24223	  only when AC_COMPUTE_INT, and inverted the arguments.
24224
24225Thu Aug 13 18:22:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24226
24227	* configure.in (RUBY_CHECK_SIZEOF): use AC_COMPUTE_INT instead of
24228	  _AC_COMPUTE_INT_COMPILE with cross compiling, since its arguments
24229	  have been changed at autoconf 2.64.
24230
24231Thu Aug 13 16:31:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24232
24233	* insns.def (opt_case_dispatch): suppressed a warning.
24234
24235	* vm_insnhelper.c (opt_case_dispatch_i): ditto.
24236
24237Thu Aug 13 16:20:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24238
24239	* configure.in, Makefile.in (MAKEDIRS): used MKDIR_P instead of
24240	  as_mkdir_p.  [ruby-dev:39063]
24241
24242Thu Aug 13 15:37:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24243
24244	* regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): fixed
24245	  infinite loop for wide encodings.  reported by Ralf Junker a
24246	  [ruby-core:24892].  [ruby-core:24904]
24247
24248Wed Aug 12 21:07:46 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24249
24250	* ext/socket/extconf.rb: if ipv6 is enabled, the version of Windows
24251	  must be XP or later.
24252	  [ruby-core:24601]
24253
24254Wed Aug 12 15:59:29 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24255
24256	* common.mk (yes-test-knownbug): use RUNRUBY instead of MINIRUBY.
24257
24258Wed Aug 12 15:52:04 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24259
24260	* class.c (rb_define_module_id_under): fix the name.
24261
24262	* class.c (rb_define_module_under): fix for previous changes.
24263
24264Wed Aug 12 15:32:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24265
24266	* class.c (rb_define_class_id_under, rb_define_module_id_under):
24267	  new functions to define a nested class/module with non-ascii
24268	  name.
24269
24270	* struct.c (make_struct): use name with encoding.
24271
24272	* struct.c (inspect_struct): ditto.  [ruby-core:24849]
24273
24274Wed Aug 12 Wed Aug 12 14:54:34 2009  Koichi Sasada  <ko1@atdot.net>
24275
24276	* insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h: check
24277	  definition of (classes)#=== for case/when optimization.
24278	  Fix Bug #1376 [ruby-core:23190].
24279
24280	* string.c (Init_String), bignum.c (Init_Bignum),
24281	  numeric.c (Init_Numeric): define String#===, Symbol#===,
24282	  Bignum#===, Fixnum#===, Float#=== as same as (classes)#==.
24283
24284Wed Aug 12 14:14:42 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24285
24286	* win32/win32.c (readdir_internal): free old temporary filename.
24287	  [ruby-core:24820]
24288
24289Wed Aug 12 12:59:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24290
24291	* string.c (rb_str_new_frozen): must not change encoding of frozen
24292	  shared string.  [ruby-dev:39068]
24293
24294Wed Aug 12 11:51:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24295
24296	* configure.in (rb_cv_broken_crypt): needs more checks.
24297
24298Wed Aug 12 07:41:31 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24299
24300	* encoding.c (rb_enc_compatible): If a string is empty and
24301	  other's encoding is US-ASCII, returns the empty string's encoding.
24302	  [ruby-list:46274]
24303
24304Wed Aug 12 07:38:12 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24305
24306	* encoding.c (is_data_encoding): fix condition.
24307
24308	* encoding.c (enc_capable): ditto.
24309
24310Tue Aug 11 23:12:31 2009  Tadayoshi Funaba  <tadf@dotrb.org>
24311
24312	* lib/date.rb (complete_frags): Monday must be suitable for %W's
24313	  default day.
24314
24315Tue Aug 11 21:42:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24316
24317	* numeric.c (num_divmod): fixed rdoc.  [ruby-core:24862]
24318
24319Mon Aug 10 21:45:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24320
24321	* include/ruby/intern.h (rb_path2class): no deprecation.
24322
24323Mon Aug 10 10:57:59 2009  Narihiro Nakamura  <authorNari@gmail.com>
24324
24325	* gc.c: reject unused longlife gc. longlife gc target is longlife
24326	  NODE by method table and vm inline cache. but, fixed it at
24327	  r24085, r24128. so I rejected longlife gc.
24328
24329	* debug.c: ditto.
24330
24331	* include/ruby/intern.h: ditto.
24332
24333	* include/ruby/ruby.h: ditto.
24334
24335	* iseq.c: ditto.
24336
24337	* node.h: ditto.
24338
24339	* vm_insnhelper.c: ditto.
24340
24341	* vm_insnhelper.h: ditto.
24342
24343Mon Aug 10 06:55:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24344
24345	* marshal.c (class2path, w_unique, w_extended, w_class, w_uclass):
24346	  deal with non-ascii class path.  [ruby-core:24790]
24347
24348	* marshal.c (r_unique, path2class, path2module, obj_alloc_by_path),
24349	  (r_object0): ditto.
24350
24351	* variable.c (rb_path_to_class): new encoding-aware function to
24352	  get a class from its name.
24353
24354Sun Aug  9 21:14:03 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
24355
24356	* ext/tk/extconf.rb (search_tclConfig): last change isn't enough.
24357	  fixed it.
24358
24359Sun Aug  9 16:36:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24360
24361	* common.mk (ruby.imp): excluded prelude.o to get rid of circular
24362	  dependency.  [ruby-dev:39052]
24363
24364Sun Aug  9 14:49:24 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24365
24366	* bignum.c (rb_big_cmp, bigsub, big_real_len, bigmul1_normal,
24367	  bigmul1_balance, big_split): remove BDIGITS() inside of the loops.
24368	  same as r24444.
24369
24370Sat Aug  8 17:03:21 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24371
24372	* encoding.c (enc_ascii_compatible_p): added. [ruby-core:24793]
24373	  (Init_Encoding): New API Encoding#ascii_compatible?.
24374
24375Sun Aug  9 07:25:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24376
24377	* ext/ripper/eventids2.c (token_to_eventid): added
24378	  keyword_do_LAMBDA.  [ruby-dev:39049]
24379
24380Sun Aug  9 02:07:41 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
24381
24382	* tool/compile_prelude.rb: fixes a regexp pattern for require.
24383	  It had matched 'require("foo"('.
24384
24385Sat Aug  8 11:42:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24386
24387	* bignum.c (bigzero_p): removing BDIGITS() inside of the
24388	  loop. inspired by Masahiro Kanai's blog entry
24389	  <http://d.hatena.ne.jp/CanI/20090807/1249657492>.
24390
24391Sat Aug  8 06:18:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24392
24393	* marshal.c (w_symbol r_symlink, r_symbol, r_object0): fix for
24394	  non-ascii symbols.  loading such symbols can cause segfaults in
24395	  older versions.  [ruby-core:24788]
24396
24397Fri Aug  7 03:25:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24398
24399	* eval_error.c (error_print): removed an extra argument.
24400
24401Fri Aug  7 03:22:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24402
24403	* eval.c (rb_exc_raise, rb_exc_fatal): nil is used to reraise.
24404
24405Fri Aug  7 01:49:41 2009  Akinori MUSHA  <knu@iDaemons.org>
24406
24407	* ext/digest/sha2/sha2.c: The ULL suffix is not supported by
24408	  pre-C99 compilers, so resurrect the ULL() macro to regain
24409	  portability. [ruby-dev:39032]
24410
24411Fri Aug  7 01:35:26 2009  Akinori MUSHA  <knu@iDaemons.org>
24412
24413	* ext/digest/*/extconf.rb: inttypes.h and unistd.h need not be
24414	  checked here. [ruby-dev:39032]
24415
24416Fri Aug  7 01:04:17 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
24417
24418	* ext/tk/extconf.rb (search_tclConfig): fix logic bug.
24419
24420Thu Aug  6 21:18:15 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24421
24422	* ext/digest/sha2/lib/sha2.rb: should require sha2.so.
24423
24424Thu Aug  6 21:11:40 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24425
24426	* ext/digest/sha2/sha2.c (*_Final): typos.
24427
24428Thu Aug  6 19:46:56 2009  Akinori MUSHA  <knu@iDaemons.org>
24429
24430	* ext/digest/sha2/sha2.h (BYTE_ORDER): Define BYTE_ORDER as
24431	  necessary. [ruby-dev:39029]
24432
24433Thu Aug  6 16:36:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24434
24435	* encoding.c (valid_encoding_name_p): rejects too long encoding
24436	  names.
24437
24438	* encoding.c (encoding_data_type): typed data.
24439
24440	* encoding.c (enc_capable, rb_enc_get_index): Symbol is encoding
24441	  capable.
24442
24443	* encoding.c (rb_enc_associate_index): cannot set encoding on
24444	  special constants.
24445
24446Thu Aug  6 15:44:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24447
24448	* vm_method.c (rb_method_entry_eq): deals with optimized method
24449	  properly.  [ruby-core:24789]
24450
24451Thu Aug  6 13:30:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24452
24453	* test/mkmf/base.rb (TestMkmf): was turned into a class, because
24454	  MiniUnit doesn't complain even if a testcase has no tests.
24455
24456Thu Aug  6 13:00:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24457
24458	* lib/mkmf.rb (check_sizeof): added optional compiler option
24459	  argument.  [ruby-core:24785]
24460
24461	* lib/mkmf.rb (create_makefile): suppressed shadowing outer local
24462	  variable warnings.
24463
24464Thu Aug  6 12:05:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24465
24466	* lib/test/unit/testcase.rb (Test::Unit): removes silly TestCase
24467	  class.
24468
24469Thu Aug  6 01:37:20 2009  Akinori MUSHA  <knu@iDaemons.org>
24470
24471	* ext/digest/sha2/sha2.[ch]: Update to 1.0 RELEASE which fixes an
24472	  off-by-one bug in SHA-256 hashing.  Reduce differences from
24473	  the original while at it. [Bug #1799]
24474
24475Thu Aug  6 00:09:56 2009  Akinori MUSHA  <knu@iDaemons.org>
24476
24477	* lib/ipaddr.rb (IPAddr#hash): Take account of netmask; submitted
24478	  by Nobuhiro IMAI in [ruby-dev:39011]
24479
24480Wed Aug  5 19:19:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24481
24482	* ruby.c (load_file_internal): assumes -x flag if no "ruby" is in
24483	  the shebang line.  [ruby-dev:39015]
24484
24485Wed Aug  5 19:11:01 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24486
24487	* ruby.c (rb_stdio_set_default_encoding): declared.
24488
24489Wed Aug  5 18:46:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24490
24491	* debug.c (ruby_dummy_gdb_enums): made public.  [ruby-dev:39001]
24492
24493Wed Aug  5 13:49:09 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24494
24495	* string.c (rb_str_upto): generate numerical sequence when
24496	  characters in both edges are all digits.  [ruby-talk:343186]
24497
24498Wed Aug  5 12:54:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24499
24500	* eval.c (rb_exc_raise, rb_exc_fatal): require exception object.
24501	  [ruby-core:24767]
24502
24503Wed Aug  5 12:39:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24504
24505	* eval.c (rb_longjmp): reset raised flag before fatal error.
24506
24507Wed Aug  5 10:20:39 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24508
24509	* re.c (rb_reg_preprocess_dregexp): add options to arguments.
24510
24511	* re.c (rb_reg_new_ary): follow above.
24512
24513	* re.c (rb_reg_preprocess_dregexp): change error message when
24514	  /.../n has a non escaped non ASCII character in non ASCII-8BIT
24515	  script. [ruby-dev:38524]
24516
24517Wed Aug  5 03:28:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24518
24519	* lib/test/unit.rb (Test::Unit.setup_argv): expands paths before
24520	  requiring.  [ruby-dev:39012]
24521
24522Wed Aug  5 01:38:27 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24523
24524	* lib/pp.rb (guard_inspect_key): untrust internal hash to prevent
24525	  unexpected SecurityError.
24526
24527	* test/ruby/test_object.rb: add a test for [ruby-dev:38982].
24528
24529Wed Aug  5 00:33:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24530
24531	* lib/rdoc/parser/c.rb: fixed a small error in the documentation.
24532	  [ruby-core:24744]
24533
24534Tue Aug  4 22:10:34 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24535
24536	* win32/win32.c (has_redirection): need to execute shell if commandline
24537	  includes newline.  cf. [ruby-core:24560]
24538
24539Tue Aug  4 15:06:58 2009  Akinori MUSHA  <knu@iDaemons.org>
24540
24541	* lib/ipaddr.rb (IPAddr#{eql?,hash}): Add IPAddr#{eql?,hash} so
24542	  that an IPAddr object can be used as a hash key, a set element,
24543	  etc.; suggested by Nick Brown <nick@nick-brown.com>.
24544
24545Tue Aug  4 13:07:10 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24546
24547	* include/ruby/oniguruma.h (ONIG_SYN_WARN_CC_DUP): defined.
24548	* regparse.h (ScanEnv): add warnings_flag.
24549	* regparse.c (CC_DUP_WARN): defined for warn duplicated characters in
24550	  character class of regexp. [ruby-core:24593]
24551	  (add_code_range_to_buf): add CC_DUP_WARN.
24552	  (next_state_val): add CC_DUP_WARN.
24553	  (OnigSyntaxRuby): add ONIG_SYN_WARN_CC_DUP.
24554	  (SET_ALL_MULTI_BYTE_RANGE): add env to arguments.
24555	  (add_code_range): ditto.
24556	  (add_code_range_to_buf): ditto.
24557	  (not_code_range_buf): ditto.
24558	  (or_code_range_buf): ditto.
24559	  (and_code_range1): ditto.
24560	  (and_code_range_buf): ditto.
24561	  (and_cclass): ditto.
24562	  (or_cclass): ditto.
24563	  (add_ctype_to_cc_by_range): ditto.
24564	  (add_ctype_to_cc): ditto.
24565	  (parse_char_class): ditto.
24566
24567Tue Aug  4 12:40:45 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24568
24569	* enc/encdb.c (ENC_SET_BASE): fix typo.
24570	  patch by ujihisa [ruby-dev:39004]
24571
24572Tue Aug  4 11:57:39 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24573
24574	* range.c (range_eql, range_eq): fixed equality to work for
24575	  subclasses of Range.  a patch from Marc-Andre Lafortune.
24576	   [ruby-core:22190]
24577
24578	* test/ruby/test_range.rb: add assertions for above.
24579
24580Tue Aug  4 09:41:11 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24581
24582	* enc/big5.c (EncLen_Big5): back to original Big5 table.
24583	  (EncLen_Big5_HKSCS): for Big5-HKSCS.
24584	  (trans): add the lead byte table for Big5-HKSCS.
24585	  (big5_mbc_enc_len): abstract function for Big5 series.
24586	  (big5_mbc_enc_len): for Big5.
24587	  (big5_hkscs_mbc_enc_len): for Big5-HKSCS.
24588	  (BIG5_HKSCS_P): added.
24589	  (BIG5_ISMB_FIRST): add routine for Big5-HKSCS.
24590	  (big5_hkscs): add for Big5-HKSCS.
24591
24592Tue Aug  4 09:33:54 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24593
24594	* encoding.c (rb_enc_set_base): Add for setting base encoding
24595	  with their names. this is internal function.
24596
24597	* template/encdb.h.tmpl: specify ENC_SET_BASE for second encodings in
24598	  each encoding files.
24599
24600	* enc/encdb.c (rb_enc_set_base): add a declaration.
24601	  (ENC_SET_BASE): ditto.
24602
24603Tue Aug  4 06:30:01 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24604
24605	* hash.c (rb_hash_replace): should copy compare_by_identity status as well.
24606	  [ruby-core:24728]
24607
24608Tue Aug  4 05:43:03 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24609
24610	* thread.c (recursive_push): need to set UNTRUST.  [ruby-dev:38997]
24611
24612Tue Aug  4 03:56:51 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
24613
24614	* ext/tk/lib/tcltklib.c: fix trouble on old-style C function
24615	  declarations [ruby-core:22871].
24616
24617	* ext/tk/lib/tcltklib.c: (ruby_1_8) fix warning about RUBY_RELEASE_DATE
24618
24619	* ext/tk/lib/tk/multi-tk.rb: kill zombie threads.
24620
24621	* ext/tk/lib/tk/fontchooser.rb: fix typo and support OptionObj.
24622
24623	* ext/tk/lib/tk/{canvas.rb,virtevent.rb,image.rb,timer.rb}:
24624	  don't create unnecessary array.
24625
24626Mon Aug  3 22:19:24 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24627
24628	* eval.c (rb_mod_include): fix document.  [ruby-core:24675]
24629
24630Mon Aug  3 18:25:08 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24631
24632	* sample/svr.rb: obsolete TCPserver renamed.  [ruby-core:24712]
24633
24634	* sample/tsvr.rb: ditto.
24635
24636	* sample/dualstack-httpd.rb: ditto.
24637
24638Mon Aug  3 18:12:54 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24639
24640	* thread.c (recursive_push): untrust internal hash to prevent
24641	  unexpected SecurityError.  a patch from Kazuhiro NISHIYAMA.
24642	  Fix: #1864  [ruby-dev:38982]
24643
24644Mon Aug  3 17:06:05 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24645
24646	* lib/README: updated.  a patch from Daniel Bovensiepen.
24647	  [ruby-core:24693]
24648
24649Mon Aug  3 16:28:09 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24650
24651	* win32/win32.c (rb_w32_connect): return value was broken when some
24652	  error occurred.
24653	  [ruby-core:24234]
24654
24655Mon Aug  3 15:56:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24656
24657	* array.c (permute0): use chars for boolean array.
24658
24659	* array.c (rb_ary_{permutation,combination}): disallow reentrance
24660	  with continuation since work-buffers cannot restore.
24661
24662	* array.c (rb_ary_{permutation,combination,product}): must not use
24663	  ary_discard on strings.
24664
24665Mon Aug  3 06:43:25 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24666
24667	* numeric.c (flo_hash): normalize -0.0 to 0.0.  [ruby-core:24577]
24668
24669Mon Aug  3 00:32:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24670
24671	* random.c (rb_random_int): arguments have to be converted to
24672	  integer.  [ruby-core:24679]
24673
24674Sun Aug  2 21:04:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24675
24676	* parse.y (literal_concat0): tail can be nil.  [ruby-dev:38980]
24677
24678Sun Aug  2 20:09:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24679
24680	* array.c (rb_ary_combination, rb_ary_product): prevent from GC.
24681
24682Sun Aug  2 16:53:19 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24683
24684	* test/ruby/test_rand.rb: add tests for Random#float's rejection
24685	  against Infinity and NaN.
24686
24687Sun Aug  2 14:20:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24688
24689	* random.c (rand_int): prevent from GC.
24690
24691Sat Aug  1 19:23:27 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24692
24693	* string.c (tr_trans): change condition of singlebyte
24694	  optimization.
24695
24696Sat Aug  1 18:50:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24697
24698	* random.c (random_float): rejects Infinity and NaN.
24699	  [ruby-core:24651]
24700
24701Sat Aug  1 18:34:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24702
24703	* tool/rbinstall.rb (gem): suppressed warnings.
24704	  cf: [ruby-dev:38975]
24705
24706Sat Aug  1 05:18:36 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24707
24708	* string.c (tr_trans): can't use singlebyte optimization when
24709	  the replacement is multibyte. [ruby-core:24612]
24710
24711Fri Jul 31 18:01:34 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24712
24713	* lib/securerandom.rb (SecureRandom.random_bytes): return string should
24714	  be ASCII-8BIT.  [ruby-core:24640]
24715
24716Fri Jul 31 16:28:33 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24717
24718	* io.c (rb_stdio_set_default_encoding): added.
24719
24720	* ruby.c (process_options): call rb_stdio_set_default_encoding
24721	  after setting default internal and external.
24722
24723Fri Jul 31 15:06:33 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24724
24725	* tool/compile_prelude.rb: too long string literal causes compile error
24726	  on some platforms.
24727
24728Fri Jul 31 13:15:27 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24729
24730	* transcode.c (str_encode_bang): C99ism.
24731
24732Fri Jul 31 11:48:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24733
24734	* compile.c (iseq_compile_each): used more appropriate construct.
24735
24736Fri Jul 31 10:54:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24737
24738	* parse.y (literal_concat_gen): reduced unnecessary node at string
24739	  literal concatenation with empty head dstr.  [ruby-dev:38968]
24740
24741Fri Jul 31 02:57:39 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24742
24743	* parse.y (literal_concat_gen): NODE_DSTR was incorrectly handled as
24744	  NODE_STR.  [ruby-dev:38968]
24745
24746	* bootstraptest/test_syntax.rb: add a test for above.
24747
24748Fri Jul 31 00:55:48 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24749
24750	* test/ruby/test_module.rb (test_ancestors, test_included_modules):
24751	  ignore rake mixins.
24752
24753Fri Jul 31 00:30:54 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24754
24755	* vm_insnhelper.c (vm_call_cfunc): let set_trace_func use called_id
24756	  instead of original_id.
24757
24758Thu Jul 30 23:04:32 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
24759
24760	* gem_prelude.rb (Gem.path): uses Gem.default_path as a default value
24761	  so that ruby finds gems in ~/.gem/.
24762	  (Gem.user_home): reduced version of lib/rubygems.rb's.
24763	  Gem.default_path needs it.
24764
24765Thu Jul 30 22:28:04 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
24766
24767	* tool/compile_prelude.rb: replaces "require" with in-place evaluation
24768	  so that copy & paste for lib/rubygems/default.rb is not necessary.
24769
24770	* gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb.
24771	  uses require instead.
24772
24773	* common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb.
24774
24775Thu Jul 30 21:56:18 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24776
24777	* test/ruby/test_rand.rb: add tests for Random class.
24778
24779Thu Jul 30 21:48:56 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24780
24781	* random.c (init_genrand): ensure invariant of mt->next and mt->left.
24782	  mt->next should always equal mt->state + N + 1 - mt->left.
24783	  In fact, 'r = Random.new(0); r == r.dup' has returned false.
24784
24785Thu Jul 30 21:43:41 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24786
24787	* random.c (random_bytes): use NUM2LONG instead of FIX2LONG because
24788	  Random#bytes may receive bignum.
24789
24790Thu Jul 30 21:39:42 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24791
24792	* compile.c (iseq_compile_each): fix stack consistency error.
24793	  [ruby-core:24611]
24794
24795	* bootstraptest/test_method.rb: add tests for above.
24796
24797Thu Jul 30 18:39:39 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
24798
24799	* transcode.c: added check for frozen string for encode! (see Bug #1836)
24800
24801	* test/ruby/test_transcode.rb: added tests for the above
24802
24803Thu Jul 30 16:45:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24804
24805	* insns.def (defineclass): preserve encoding of class/module
24806	  names.  [ruby-core:24600]
24807
24808	* variable.c (rb_set_class_path_string): set class path with a
24809	  string value.
24810
24811Thu Jul 30 16:12:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24812
24813	* variable.c (Init_var_tables): initializes __classid__ ID.
24814
24815	* variable.c: use st_data_t for st functions.
24816
24817Thu Jul 29 14:25:14 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
24818
24819	* lib/cgi/util.rb (CGI::unescape): support encoding option.
24820
24821	* lib/cgi/cookie.rb (CGI::Cookie.parse): fix for the encoded value.
24822
24823Wed Jul 29 08:08:07 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24824
24825	* parse.y (regexp): regexp literal at the top of dstr is still needed
24826	  even if it is empty.
24827
24828Wed Jul 29 03:36:24 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24829
24830	* ext/json/lib/json/common.rb (JSON#recurse_proc): remove
24831	  unnecessary private specifier.  [ruby-dev:38929]
24832
24833Wed Jul 29 03:34:46 2009  Koichi Sasada  <ko1@atdot.net>
24834
24835	* vm_core.h, vm_insnhelper.c (vm_call_method): revive
24836	  VM_CALL_OPT_SEND_BIT and use it to recognize "send" method.
24837
24838Wed Jul 29 03:11:59 2009  Koichi Sasada  <ko1@atdot.net>
24839
24840	* proc.c (rb_method_entry_arity): support not_implemented method.
24841	  (I have no idea to test it)
24842
24843Tue Jul 28 19:36:26 2009  Koichi Sasada  <ko1@atdot.net>
24844
24845	* proc.c (rb_method_entry_arity): support optimized method (send).
24846
24847	* test/ruby/test_method.rb: add a test for above.
24848
24849Tue Jul 28 04:34:05 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
24850
24851	* ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.
24852
24853	* ext/tk/lib/config_list.in: bug fix and add a new option.
24854
24855	* ext/tk/lib/README.tcltklib: update for a new option.
24856
24857Mon Jul 27 19:03:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24858
24859	* include/ruby/intern.h (rb_*str_new_cstr, rb_str_buf_new_cstr),
24860	  (rb_str_buf_cat2, rb_str_cat2, rb_exc_new2): suppress warnings.
24861
24862Mon Jul 27 10:24:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24863
24864	* lib/rdoc/parser.rb (RDoc::Parser.binary?): fix for empty files.
24865	  [ruby-dev:38848]
24866
24867Mon Jul 27 06:51:41 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24868
24869	* io.c (argf_eof): should call next_argv() before testing.
24870	  [ruby-core:24561]
24871
24872Sun Jul 26 19:17:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24873
24874	* io.c (argf_eof): go to the next file if called after ARGF.close
24875	  or ARGF.skip.  a patch from Mike Kasick at [ruby-core:24561].
24876
24877Sun Jul 26 18:30:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24878
24879	* vm_insnhelper.c (vm_call_method): __send__ can call protected
24880	  methods.  [ruby-core:24500]
24881
24882Sun Jul 26 01:09:14 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
24883
24884	* ext/bigdecimal.c: moved BASE_FIG definition before it is used
24885	  first time.
24886
24887	* include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match
24888	  changes in bignum.c and array.c.
24889
24890Sat Jul 25 17:49:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24891
24892	* io.c (argf_eof): should not have reached EOF before trying to
24893	  read.  based on a patch by Heesob Park <phasis AT gmail.com> in
24894	  [ruby-core:24559].  [ruby-core:24557]
24895
24896Sat Jul 25 13:44:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24897
24898	* complex.c (nucomp_hash), rational.c (nurat_hash): not to use
24899	  hash value of class so that equality against subclasses can
24900	  work.  [ruby-dev:38850]
24901
24902Sat Jul 25 01:05:59 2009  NARUSE, Yui  <naruse@ruby-lang.org>
24903
24904	* enc/big5.c: Fix EncLen_BIG5 for Big5-HKSCS. see [ruby-core:24390]
24905
24906Fri Jul 24 19:19:19 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
24907
24908	* enc/trans/big5.trans, big5-hkscs-tbl.rb:
24909	  new Chinese BIG5-HKSCS transcoding (with Tatsuya Mizuno)
24910	  see [ruby-core:24390]
24911
24912	* test/ruby/test_transcode.rb: added tests for the above
24913	  (with Tatsuya Mizuno)
24914
24915	* enc/big5.c: Added BIG5-HKSCS as a replicate encoding of BIG5
24916	  (short term solution, needs more work; with Tatsuya Mizuno)
24917
24918	* tool/transcode-tblgen.rb: made 'pat' directly accessible in
24919	  class StrSet
24920
24921Fri Jul 24 18:03:01 2009  Shugo Maeda  <shugo@ruby-lang.org>
24922
24923	* lib/net/imap.rb (idle): leaves IDLE in a ensure clause.  a patch
24924	  from Eric Hodel.
24925
24926	* test/net/imap/test_imap.rb (setup, teardown): turn on
24927	  Socket.do_not_reverse_lookup in tests.
24928
24929Fri Jul 24 00:13:41 2009  Shugo Maeda  <shugo@ruby-lang.org>
24930
24931	* lib/net/imap.rb (resp_text_code): accepts response codes without
24932	  text.  [ruby-core:24194]
24933
24934	* lib/net/imap.rb (idle, idle_done): new methods for the IMAP4 IDLE
24935	  command (RFC 2177).  Thanks, Eric Hodel.
24936
24937	* lib/net/imap.rb (format_date, format_datetime): new method to
24938	  format IMAP-style date/datetime. Thanks, Eric Hodel.
24939
24940Thu Jul 23 17:31:02 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
24941
24942	* lib/irb/ruby-lex.rb: make irb be able to parse
24943	  string_dvar. [ruby-core: 24051]
24944
24945Thu Jul 23 17:26:51 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
24946
24947	* ext/tk/extconf.rb: should not create "config_list" in a $srcdir.
24948
24949Thu Jul 23 14:35:02 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
24950
24951	* win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditions
24952	  mean to call runtime's open() if textmode.
24953
24954Thu Jul 23 08:53:24 2009  Eric Hodel  <drbrain@segment7.net>
24955
24956	* lib/rdoc/markup/simple_markup/: Remove useless directory.
24957	  [Bug #1343]
24958
24959Thu Jul 23 08:52:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24960
24961	* random.c (random_{state,left}): internal/debug use.
24962
24963Wed Jul 22 19:29:26 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
24964
24965	* test/ruby/test_module.rb (TestModule#test_alias): warning
24966	  message updated.
24967
24968Thu Jul 23 00:39:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24969
24970	* common.mk (class.o): depends on vm_core.h.
24971
24972Thu Jul 23 00:10:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
24973
24974	* time.c (init_leap_second_info): checks the result of gmtime to
24975	  suppress warnings.
24976
24977Wed Jul 22 22:23:24 2009  Yusuke Endoh  <mame@tsg.ne.jp>
24978
24979	* vm_core.h (struct rb_iseq_t): add a new field line_no.  This field
24980	  represents line number from which the original code of the iseq
24981	  starts.  [ruby-dev:38698]
24982
24983	* iseq.c, compile.c: ditto.
24984
24985	* parse.y: line number hack (for Proc#source_location) is no longer
24986	  needed.
24987
24988	* test/ruby/test_settracefunc.rb: line number of set_trace_func is now
24989	  compatible with 1.8's.
24990
24991Wed Jul 22 22:16:48 2009  URABE Shyouhei  <shyouhei@ruby-lang.org>
24992
24993	* method.h: Commas at end of enum list not allowed as of C89
24994
24995	* vm_method.c (rb_add_method): avoid C++ comment
24996
24997	* vm_insnhelper.c (vm_call_cfunc): ditto.
24998
24999Wed Jul 22 20:42:52 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25000
25001	* ext/socket/extconf.rb: define IPPROTO_IPV6 macro for recent Windows
25002	  SDK.
25003
25004Wed Jul 22 19:32:10 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25005
25006	* ext/socket/mkconstants.rb: define IPV6_* constants only when INET6
25007	  is defined.
25008
25009Wed Jul 22 19:23:04 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25010
25011	* ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.
25012
25013Wed Jul 22 17:41:08 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25014
25015	* ext/socket/ipsocket.c (init_inetsock_internal): drop IPv6 addresses
25016	  if INET6 is not defined.
25017
25018Wed Jul 22 17:29:59 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25019
25020	* ext/socket/extconf.rb: enable ipv6 support for win32.
25021
25022Wed Jul 22 16:38:39 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25023
25024	* hash.c (Hash::[]): rdoc. patch by Marc-Andre Lafortune.
25025	  #1385.
25026
25027Wed Jul 22 10:00:53 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25028
25029	* win32/win32.c (WSAMSG): get rid of compile error on VC9 and mingw.
25030
25031Wed Jul 22 06:35:56 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25032
25033	* test/ruby/test_enum.rb (TestEnumerable#each): recursive join now
25034	  raises ArgumentError.
25035
25036Wed Jul 22 02:33:57 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
25037
25038	* lib/irb.rb: forget svn commit.
25039
25040Wed Jul 22 01:20:54 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25041
25042	* bootstraptest/test_io.rb: block write may block for long time.
25043
25044Wed Jul 22 00:34:39 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
25045
25046	* lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: add
25047	  IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563]
25048
25049Tue Jul 21 23:47:38 2009  Yusuke Endoh  <mame@tsg.ne.jp>
25050
25051	* random.c (rand_init): array length of random seed was broken, which
25052	  causes memory error with srand(2**1000000-1).
25053
25054	* test/ruby/test_rand.c: test for above.
25055
25056Tue Jul 21 21:37:19 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
25057
25058	* lib/irb/cmd/help.rb: fixed irb's "help" command. [ruby-core:22310].
25059
25060	* lib/tracer.rb: no show lines unknown line number. [ruby-core:22096],
25061	  no trace display  c-call and c-return as default.
25062
25063Tue Jul 21 16:24:41 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
25064
25065	* ext/win32ole/win32ole.c (vtdate2rbtime): VT_DATE variant object
25066	  is converted to Time object now.
25067
25068	* test/win32ole/test_win32ole_variant.rb (test_s_new_with_nil,
25069	  test_conversion_time2date, test_conversion_str2date,
25070	  test_conversion_vt_date, test_set_value): ditto.
25071
25072	* ext/win32ole/win32ole.c (rbtime2vtdate): refactoring.
25073
25074Tue Jul 21 16:07:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25075
25076	* lib/tracer.rb: toplevel caller exists now.  [ruby-core:24454]
25077
25078Tue Jul 21 13:36:20 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25079
25080	* win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/
25081	  sendmsg like UNIX. these functions are experimental and not tested
25082	  well. bug reports are welcome.
25083
25084Tue Jul 21 13:35:21 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25085
25086	* win32/Makefile.sub (TEST_RUNNABLE): follow r24209.
25087
25088Tue Jul 21 12:45:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25089
25090	* gc.c (rb_gc_enable, rb_gc_disable): should return Qtrue/Qfalse.
25091
25092Tue Jul 21 12:38:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25093
25094	* variable.c (rb_generic_ivar_memsize): should not remove generic
25095	  instance variable table.
25096
25097Mon Jul 20 20:35:55 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25098
25099	* io.c (rb_f_open): add rdoc about specifying ext_enc as *-bom.
25100
25101Mon Jul 20 19:00:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25102
25103	* compile.c (compile_dstr_fragments): reduced needless literal.
25104
25105	* parse.y (xstring, regexp, dsym, literal_concat, evstr2dstr):
25106	  literal at the top of dstr is no longer needed if it is empty,
25107	  since concatstrings and toregexp always create new strings.
25108
25109Mon Jul 20 12:51:39 2009  wanabe  <s.wanabe@gmail.com>
25110
25111	* lib/matrix.rb (Matrix#rank): revert a part of r20859 to avoid
25112	  infinite loop.  [Bug #1020]
25113
25114Mon Jul 20 11:12:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25115
25116	* configure.in, Makefile.in (TEST_RUNNABLE): tests are no
25117	  runnable if cross-compiling.
25118
25119	* common.mk (btest*, test*): ditto.
25120
25121Mon Jul 20 10:55:18 2009  Tanaka Akira  <akr@fsij.org>
25122
25123	* ext/socket/lib/socket.rb (Addrinfo#family_addrinfo): fix a typo in
25124	  error message.  patch by Nobuhiro IMAI.  [ruby-dev:38828]
25125
25126Sun Jul 19 22:22:54 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25127
25128	* rational.c (float_to_r): an improvement.
25129
25130Sun Jul 19 20:41:24 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25131
25132	* complex.c (make_patterns): do not use \d.
25133
25134	* rational.c (make_patterns): ditto.
25135
25136Sun Jul 19 17:32:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25137
25138	* io.c (io_read): should taint the result.  [ruby-dev:38826]
25139
25140Sun Jul 19 11:00:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25141
25142	* vm_method.c (me_opts): fixed optimized method aliasing.
25143	  [ruby-dev:38824]
25144
25145Sun Jul 19 10:54:56 2009  Tanaka Akira  <akr@fsij.org>
25146
25147	* ext/socket/lib/socket.rb (Socket.accept_loop): rescue
25148	  IO::WaitReadable instead of Errno::EWOULDBLOCK.
25149	  (Socket.udp_server_loop_on): ditto.
25150
25151Sat Jul 18 23:44:59 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25152
25153	* re.c (reg_enc_error): use rb_enc_get to get the encoding of
25154	  a Regexp object. REGEXP(re)->ptr->enc is the encoding of the
25155	  regexp engine for patterns and target strings.
25156	  [ruby-core:23208]
25157
25158Sat Jul 18 17:43:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25159
25160	* string.c (rb_str_hash_cmp): got rid of overflow.
25161
25162Sat Jul 18 16:03:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25163
25164	* include/ruby/defines.h (TRUE, FALSE): for internal use.
25165
25166Sat Jul 18 11:39:49 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25167
25168	* random.c: workaround for VC++ 6.0.
25169
25170Sat Jul 18 09:16:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25171
25172	* random.c (rb_random_{int32,real,bytes,int}): added functions for
25173	  extension libraries.
25174
25175Sat Jul 18 09:07:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25176
25177	* random.c (fill_random_seed): use cryptographic service on Windows.
25178
25179Sat Jul 18 07:56:00 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
25180
25181	* ext/tk/lib/tk.rb: fail to create a widget object for an unknown
25182	  widget path.
25183
25184Sat Jul 18 07:06:31 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
25185
25186	* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
25187	  Extend usage pattern of grid_column()/grid_row().
25188
25189Sat Jul 18 06:30:35 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25190
25191	* include/ruby/win32.h: include winsock headers in extern "C++" for
25192	  C++ extension libraries.
25193
25194	* include/ruby/missing.h (vsnprintf): workaround for VC++.
25195	  [ruby-core:23096]
25196
25197Sat Jul 18 00:23:47 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25198
25199	* ext/readline/readline.c (Init_readline): rl_catch_signals does
25200	  not exist on some platform like Mac OS X 10.5.
25201
25202	* ext/readline/extconf.rb: checks existence of rl_catch_signals.
25203
25204Fri Jul 17 22:37:22 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25205
25206	* ext/socket/socket.c (socket_s_ip_address_list): drop inactive
25207	  adapters.
25208
25209	* test/socket/test_{nonblock,addrinfo,socket}.rb: skip some tests on
25210	  Windows.
25211	  [ruby-core:23051]
25212
25213Fri Jul 17 22:29:21 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25214
25215	* ext/readline/readline.c (Init_readline): use rl_catch_sigwinch only
25216	  when existing.
25217
25218	* ext/readline/extconf.rb: check existence of rl_catch_sigwinch, and
25219	  workaround for native Win32 readline port.
25220
25221Fri Jul 17 18:18:23 2009  Tanaka Akira  <akr@fsij.org>
25222
25223	* range.c (recursive_hash): extracted from range_hash.  reject
25224	  recursive key.
25225	  (range_hash): use recursive_hash.
25226
25227Fri Jul 17 18:11:32 2009  Tanaka Akira  <akr@fsij.org>
25228
25229	* struct.c (recursive_hash): extracted from rb_struct_hash.  reject
25230	  recursive key.
25231	  (rb_struct_hash): use recursive_hash.
25232
25233Fri Jul 17 16:45:22 2009  Tanaka Akira  <akr@fsij.org>
25234
25235	* array.c (recursive_hash): reject recursive key.
25236
25237Fri Jul 17 15:20:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25238
25239	* random.c (DIGSPERINT): fix for LP64.
25240
25241	* random.c (fill_random_seed): /dev/urandom is not available on
25242	  DOSISH systems.
25243
25244	* random.c (random_equal): new method Random#==.
25245
25246Fri Jul 17 13:35:47 2009  Tanaka Akira  <akr@fsij.org>
25247
25248	* ext/socket/init.c (rsock_getfamily): return AF_UNSPEC if getsockname
25249	  is failed.  [ruby-core:24383]
25250
25251Fri Jul 17 01:22:57 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25252
25253	* array.c (recursive_join): raise ArgumentError for joining
25254	  recursive array.
25255
25256	* array.c (ary_join_1): ditto.
25257
25258	* test/ruby/test_array.rb (TestArray#test_join2): test updated for
25259	  recursive join.
25260
25261Thu Jul 16 23:32:16 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
25262
25263	* ext/tk/extconf.rb,ext/tk/config_list.in: ignore paths which includes
25264	  white space characters on Windows.[ruby-dev:38794]
25265
25266	* ext/tk/lib/tk.rb: works on Cygwin (limitation:: Tk.mainloop works on
25267	  the main thread only).
25268
25269Thu Jul 16 20:58:18 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
25270
25271	* test/win32ole/test_win32ole.rb (test_s_codepage_changed,
25272	  test_s_locale_set, test_s_locale_change): skip test if Japanese
25273	  locale is not installed. [ruby-core:23806]
25274
25275	* test/win32ole/test_win32ole_variant.rb (test_conversion_str2cy):
25276	  ditto.
25277
25278Thu Jul 16 19:02:28 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25279
25280	* ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): servers
25281	  is nil if an error occurs before setting it.
25282
25283Thu Jul 16 18:42:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25284
25285	* random.c (fill_random_seed): suppress a warning.
25286
25287Thu Jul 16 18:30:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25288
25289	* hash.c (rb_hash_aset, recursive_hash): rejects recursive hash.
25290	  [ruby-core:22921]
25291
25292Thu Jul 16 18:28:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25293
25294	* id.c (Init_id), vm.c (vm_exec): @#__ThrowState__ is no longer
25295	  used.  [ruby-dev:38760]
25296
25297Thu Jul 16 17:41:28 2009  Koichi Sasada  <ko1@atdot.net>
25298
25299	* vm_method.c (rb_alias): fix a case which try non-existing method alias.
25300
25301	* test/ruby/test_alias.rb: add a test.
25302
25303Thu Jul 16 16:00:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25304
25305	* io.c (io_reopen): discards read buffer.  [ruby-core:24240]
25306
25307Thu Jul 16 15:52:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25308
25309	* bignum.c (rb_big_new, rb_bigzero_p), range.c (rb_range_values):
25310	  added for random.c.
25311
25312	* random.c (rb_random_t): objectified.  [EXPERIMENTAL]
25313	  [ruby-dev:30954]
25314
25315Thu Jul 16 14:08:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25316
25317	* array.c (rb_ary_sample): RDoc update.  a patch from Florian
25318	  Frank.   [ruby-core:24347]
25319
25320Thu Jul 16 12:42:10 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25321
25322	* ext/readline/readline.c (readline_readline): rl_free_line_state
25323	  before rl_cleanup_after_signal.
25324
25325	* ext/readline/readline.c (Init_readline): set rl_catch_signals and
25326	  rl_catch_sigwinch as 0. [ruby-core:21884]
25327
25328Thu Jul 16 08:59:22 2009  Koichi Sasada  <ko1@atdot.net>
25329
25330	* node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.
25331
25332	* compile.c, insns.def, iseq.c, vm_insnhelper.h: ditto.
25333
25334Thu Jul 16 08:57:44 2009  Koichi Sasada  <ko1@atdot.net>
25335
25336	* vm_method.c: separate clearing cache entry code.
25337
25338Thu Jul 16 08:56:32 2009  Koichi Sasada  <ko1@atdot.net>
25339
25340	* dir.c (push_glob): re-fix GC problem.
25341
25342Thu Jul 16 08:55:27 2009  Koichi Sasada  <ko1@atdot.net>
25343
25344	* common.mk: add method.h.
25345
25346Thu Jul 16 08:53:26 2009  Koichi Sasada  <ko1@atdot.net>
25347
25348	* io.c (argf_free): free data body.
25349
25350Wed Jul 15 23:46:55 2009  Koichi Sasada  <ko1@atdot.net>
25351
25352	* method.h, vm_core.h: add rb_method_entry_t.  Remove nodes around
25353	  method management.  This change affect some VM control stack structure.
25354
25355	* vm.c, vm_insnhelper.c, vm_method.c, vm_eval.c: ditto.  and make some
25356	  refactoring.
25357
25358	* insns.def, class.c, eval.c, proc.c, vm_dump.c : ditto.
25359
25360	* vm_core.h, compile.c (iseq_specialized_instruction): remove
25361	  VM_CALL_SEND_BIT.  use another optimization tech for Kernel#send.
25362
25363	* node.h: remove unused node types.
25364
25365	* ext/objspace/objspace.c (count_nodes): ditto.
25366
25367	* gc.c: add mark/free functions for method entry.
25368
25369	* include/ruby/intern.h: remove decl of
25370	  rb_define_notimplement_method_id().  nobody can use it
25371	  because noex is not opened.
25372
25373	* iseq.c (iseq_mark): fix to check ic_method is available.
25374
25375	* iseq.c (rb_iseq_disasm): fix to use rb_method_get_iseq().
25376
25377Wed Jul 15 23:45:11 2009  Koichi Sasada  <ko1@atdot.net>
25378
25379	* dir.c (push_glob): fix GC problem.
25380
25381Wed Jul 15 17:33:52 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25382
25383	* ext/purelib.rb: translates a fake path to rubygems in $" into
25384	  an alternative in $: so that Kernel.#require does not load
25385	  more rubygems.rb.
25386	  Resolves many failures in test/rubygems/*.
25387
25388	* gem_prelude.rb (Gem.load_full_rubygems_library): supports case
25389	  the rubygems to load is not in $(rubylibprefix).
25390	  (Gem.path_to_full_rubygems_library): new method for the changes in
25391	  purelib.rb and Gem.load_full_rubygems_library.
25392	  (Gem.fake_rubygems_as_loaded): new method.
25393
25394Wed Jul 15 16:29:35 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25395
25396	* win32/Makefile.sub (LIBPATHFLAG): path is already quoted in mkmf.rb.
25397
25398Wed Jul 15 06:21:50 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
25399
25400	* ext/tk/extconf.rb: --with-{tcl,tk}-dir doesn't work.[ruby-dev:38782]
25401
25402Wed Jul 15 04:22:54 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25403
25404	* test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):
25405	  set tempfile name with literal.
25406
25407Tue Jul 14 21:53:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25408
25409	* ext/io/nonblock: moved from ext/io/wait/lib.
25410
25411Tue Jul 14 17:29:20 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25412
25413	* string.c (rb_str_index_m): return nil if pos is out of string.
25414	  [ruby-core:23660]
25415
25416Tue Jul 14 16:13:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25417
25418	* io.c (rb_io_initialize): check if the descriptor can be accessed
25419	  in the specified open mode.  [ruby-dev:38571]
25420
25421Tue Jul 14 09:26:14 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
25422
25423	* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.
25424	  So, disable the feature and waiting for improvement in the future.
25425
25426Tue Jul 14 01:28:17 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25427
25428	* test/ruby/test_m17n.rb (TestM17N#test_env): the encoding of
25429	  ENV is now locale encoding.
25430
25431Tue Jul 14 01:24:56 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25432
25433	* marshal.c (r_object0): should return real object.
25434
25435Tue Jul 14 01:06:31 2009  Yusuke Endoh  <mame@tsg.ne.jp>
25436
25437	* enumerator.c (yielder_yield_i): use rb_proc_new instead of
25438	  rb_iterate.  [ruby-dev:38518]
25439
25440	* README.EXT: rb_iterate is obsolete since 1.9; use rb_block_call
25441	  instead.
25442
25443	* README.EXT.ja: ditto.
25444
25445Tue Jul 14 00:45:41 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25446
25447	* test/ruby/test_case.rb (TestCase#test_deoptimization):
25448	  test for [ruby-core:23190].
25449
25450Mon Jul 13 22:49:50 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25451
25452	* lib/prime.rb (Prime#prime_division): now decomposes
25453	  negative integer into a decomposition with element [-1, 1].
25454
25455	* test/test_prime.rb: test for it.
25456
25457Mon Jul 13 22:28:03 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
25458
25459	* io.c (pipe_open): handles leaked on win32 when an error occurs.
25460
25461Mon Jul 13 20:21:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25462
25463	* marshal.c (r_object0): should not shadow outer variable not to
25464	  return Qnil always.
25465
25466Mon Jul 13 19:41:05 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25467
25468	* marshal.c (r_object0): copy instance variables to new regexp.
25469
25470Mon Jul 13 17:49:11 2009  Koichi Sasada  <ko1@atdot.net>
25471
25472	* vm_core.h, compile.c: declare struct iseq_inline_cache_entry.
25473	  Inline cache (IC) entries are no longer GC managed object.
25474	  IC entries are freed when ISeq is freed.
25475
25476	* iseq.c: fix mark, free, memsize functions for above change.
25477
25478	* insns.def: remove rb_gc_write_barrier().
25479
25480	* vm_insnhelper.c (vm_method_search): ditto.
25481
25482	* tool/instruction.rb, template/insns_info.inc.tmpl (insn_iclen):
25483	  added.
25484
25485Mon Jul 13 13:35:08 2009  Koichi Sasada  <ko1@atdot.net>
25486
25487	* insns.def, vm_insnhelper.c (getinstancevariable):
25488	  fix to use inline cache.
25489
25490	* compile.c: fix to skip inline cache entry (IC).  IC is added
25491	  automatically by compiler.
25492
25493	* insns.def, vm_insnhelper.h: fix IC positions.
25494
25495	* iseq.c: increment minor_version of ISeq because of above change.
25496
25497Mon Jul 13 08:01:00 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
25498
25499	* ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries.
25500
25501	* ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes.
25502	     ( [KNOWN BUG] Ruby/Tk on Ruby 1.9 will not work on Cygwin. )
25503
25504	* ext/tk/*: Unify sources between Ruby 1.8 & 1.9.
25505	            Improve default_widget_set handling.
25506
25507	* ext/tk/*: Multi-TkInterpreter (multi-tk.rb) works on Ruby 1.8 & 1.9.
25508	     ( [KNOWN BUG] On Ruby 1.8, join to a long term Thread on Tk
25509	        callbacks may freeze. On Ruby 1.9, cannot create a second
25510	        master interpreter (creating slaves are OK); supported master
25511	        interpreter is the default master interpreter only. )
25512
25513	* ext/tk/lib/tkextlib/*: Update supported versions of Tk extensions.
25514	         Tcllib 1.8/Tklib 0.4.1  ==>  Tcllib 1.11.1/Tklib 0.5
25515	         BWidgets 1.7            ==>  BWidgets 1.8
25516	         TkTable 2.9             ==>  TkTable 2.10
25517	         TkTreeCtrl 2005-12-02   ==>  TkTreeCtrl 2.2.9
25518	         Tile 0.8.0/8.5.1        ==>  Tile 0.8.3/8.6b1
25519	         IncrTcl 2005-02-14      ==>  IncrTcl 2008-12-15
25520	         TclX 2005-02-07         ==>  TclX 2008-12-15
25521	         Trofs 0.4.3             ==>  Trofs 0.4.4
25522
25523Mon Jul 13 01:18:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25524
25525	* time.c (time_timespec): rounds subsecond toward zero.
25526
25527Sun Jul 12 23:51:39 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25528
25529	* hash.c (env_str_new): use rb_locale_str_new instead of
25530	  rb_tainted_str_new. rb_locale_str_new set string locale
25531	  encoding and tainted.
25532
25533Sun Jul 12 23:56:40 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25534
25535	* complex.c: added some shortcuts.
25536
25537	* rational.c: ditto.
25538
25539Sun Jul 12 23:30:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25540
25541	* object.c (rb_to_integer, rb_check_to_integer): return Bignum
25542	  as-is.
25543
25544Sun Jul 12 21:07:46 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25545
25546	* complex.c: use k_exact_{zero,one}_p macro.
25547
25548	* rational.c: ditto.
25549
25550Sun Jul 12 20:42:58 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25551
25552	* numeric.c (fix_divide): added an entry to rational.
25553
25554	* rational.c (rb_rational_reciprocal): added.
25555
25556	* complex.c (f_reciprocal): added.
25557
25558Sun Jul 12 02:24:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25559
25560	* random.c (rand_init): use fixed buffer for small numbers.
25561
25562Sat Jul 11 14:43:34 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25563
25564	* test/ruby/test_io_m17n.rb (test_strip_bom): added.
25565
25566Sat Jul 11 07:11:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25567
25568	* ext/readline/readline.c (readline_attempted_completion_function):
25569	  array length is long.
25570
25571	* ext/readline/readline.c (readline_s_get_filename_quote_characters):
25572	  missing type of self.
25573
25574Sat Jul 11 02:37:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25575
25576	* random.c (limited_rand): expands to long before shift so that
25577	  the result does not overflow.
25578
25579Sat Jul 11 00:16:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25580
25581	* random.c (rand_init): got rid of buffer overflow.
25582
25583Sat Jul 11 00:11:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25584
25585	* array.c (ary_join_1): should recurse for element array.
25586
25587Fri Jul 10 23:10:11 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25588
25589	* io.c (io_strip_bom): ungetbyte third byte when UTF-16LE.
25590
25591Fri Jul 10 23:04:16 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25592
25593	* io.c (io_strip_bom): Fix condition of second byte of
25594	  UTF-16LE/UTF-32LE.
25595
25596Fri Jul 10 21:45:30 2009  TAKAO Kouji  <kouji@takao7.net>
25597
25598	* ext/readline/extconf.rb: checked rl_refresh_line in readline.
25599
25600	* ext/readline/readline.c (readline_s_refresh_line): add new
25601	  method, a patch from Koichiro Ohba. see [ruby-list:45922].
25602
25603Fri Jul 10 21:00:05 2009  TAKAO Kouji  <kouji@takao7.net>
25604
25605	* ext/readline/extconf.rb: checked rl_line_buffer and rl_point in
25606	  readline.
25607
25608	* ext/readline/readline.c (readline_s_get_line_buffer): new method.
25609	  (readline_s_get_point): new method.
25610
25611Fri Jul 10 16:30:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25612
25613	* array.c (recursive_join): use obj to tell if recursion occurs.
25614	  [ruby-core:24150]
25615
25616	* enum.c (enum_join): reverted r23966.  [ruby-core:24196]
25617
25618Fri Jul 10 14:41:34 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25619
25620	* marshal.c (r_object0): set encoding only if the encoding
25621	  is not US-ASCII.
25622
25623Fri Jul 10 14:44:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25624
25625	* random.c (struct MT): ruby already assumes int has 32bit a
25626	  least, so no needs to use long.
25627
25628	* random.c (rand_init): copies data to be used really only.
25629
25630Fri Jul 10 11:41:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25631
25632	* include/ruby/ruby.h (rb_obj_{untrust,untrusted,trust}): added
25633	  prototypes.  [ruby-dev:38756]
25634
25635Fri Jul 10 10:25:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25636
25637	* vm_insnhelper.c (vm_search_superclass): checks for implicit
25638	  argument passing before method search.  [ruby-core:24244]
25639
25640Fri Jul 10 07:22:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25641
25642	* parse.y (parser_data_type): typed.
25643
25644Thu Jul  9 23:28:48 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25645
25646	* include/ruby/io.h (FMODE_STRIP_BOM): new constant.
25647
25648	* io.c (io_encname_bom_p): judge whether the encoding name
25649	  is *-bom or not.
25650	  (parse_mode_enc): drop "-bom".
25651	  (rb_io_modestr_fmode): set FMODE_STRIP_BOM if needed.
25652	  (rb_io_extract_modeenc): ditto.
25653	  (io_strip_bom): strip bom if exists.
25654	  (io_set_encoding_by_bom): set encoding if there is bom.
25655	  Set encoding and strip bom when modeenc string is "r:foo-bom"
25656	  [ruby-dev:37236]
25657
25658Thu Jul  9 21:56:59 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25659
25660	* marshal.c (r_object0): replace \u by u when the regexp is
25661	  made by Ruby 1.8. [ruby-dev:36750]
25662
25663Wed Jul  8 23:13:54 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25664
25665	* complex.c (nucomp_div): omitted zero division check.
25666
25667Wed Jul  8 21:00:37 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
25668
25669	* lib/irb/inspector.rb: forget svn add.
25670
25671Wed Jul  8 19:10:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25672
25673	* error.c (rb_check_type): rejects typed data.
25674
25675Wed Jul  8 18:28:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25676
25677	* proc.c ({proc,binding,method}_data_type): typed.
25678
25679Wed Jul  8 16:47:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25680
25681	* file.c (rb_file_s_basename): returns new string instead of
25682	  shared string from FilePathStringValue().  [ruby-core:24199]
25683
25684Wed Jul  8 04:28:16 2009  Eric Hodel  <drbrain@segment7.net>
25685
25686	* ext/.document:  Update with extensions that appear to have
25687	  documentation.  [ruby-core:24181]
25688
25689Wed Jul  8 04:28:16 2009  Koichi Sasada  <ko1@atdot.net>
25690
25691	* include/ruby/ruby.h:
25692	  rename
25693	    "...TypeStruct" and "typed_struct" to
25694	    "TypedData..." and "typeddata", respectively.
25695	  rename
25696	    rb_data_type_t#name to
25697	    rb_data_type_t#wrap_struct_name.
25698
25699	* error.c, gc.c, iseq.c, vm.c: ditto.
25700
25701Tue Jul  7 20:23:27 2009  Keiju Ishitsuka  <keiju@ruby-lang.org>
25702
25703	* bin/irb, lib/irb.rb lib/irb/*: irb-0.9.6, extend inspect-mode
25704
25705Tue Jul  7 17:00:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25706
25707	* gc.c (rb_gc_call_finalizer_at_exit): deal with typed struct like
25708	  as obj_free().
25709
25710	* error.c (rb_typed_struct_is_kind_of): new function to see if the
25711	  given typed struct.
25712
25713	* error.c (rb_check_typed_struct): new function to check typed
25714	  struct.
25715
25716	* include/ruby/ruby.h (Check_TypedStruct, Data_Get_TypedStruct):
25717	  new macro to check typed struct.
25718
25719Tue Jul  7 13:36:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25720
25721	* enum.c (DEFINE_ENUMFUNCS): included function signature.
25722
25723	* enum.c (rb_enum_join): non-nil separator must be convertible to
25724	  String.  [ruby-core:24172]
25725
25726Tue Jul  7 12:47:28 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25727
25728	* enum.c (rb_enum_join): should propagate taint to the return
25729	  value.  the change was overridden by r23967.  [ruby-core:24176]
25730
25731Tue Jul  7 11:56:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25732
25733	* gc.c (GC_PROF_SET_MALLOC_INFO, GC_PROF_SET_HEAP_INFO): simplified.
25734
25735Tue Jul  7 10:12:37 2009  NARUSE, Yui  <naruse@ruby-lang.org>
25736
25737	* io.c (rb_io_ext_int_to_encs): Set external encoding if
25738	  ext==intern. [ruby-dev:38278]
25739
25740Mon Jul  6 09:31:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25741
25742	* proc.c (make_curry_proc): should propagate lambda-ness.
25743	  [ruby-core:24127]
25744
25745	* proc.c (proc_hash): use long.
25746
25747Mon Jul  6 09:06:49 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25748
25749	* test/ruby/test_module.rb (TestModule#test_undef): adjust to
25750	  message change.
25751
25752	* test/ruby/test_object.rb (TestObject#test_redefine_method_which_may_case_serious_problem): ditto.
25753
25754	* test/ruby/test_object.rb (TestObject#test_remove_method): ditto.
25755
25756Mon Jul  6 09:04:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25757
25758	* enum.c (enum_join): deals with self recursive objects to get rid
25759	  of infinite recursion.  [ruby-core:24150]
25760
25761Mon Jul  6 08:00:10 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25762
25763	* enum.c (enum_to_a): should propagate taint to the return value.
25764	  [ruby-core:24152]
25765
25766	* enum.c (enum_sort_by): ditto.
25767
25768Mon Jul  6 00:41:41 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25769
25770	* rational.c: edited rdoc.
25771
25772Sun Jul  5 23:55:57 2009  Tanaka Akira  <akr@fsij.org>
25773
25774	* time.c (find_time_t): fix Time.local(2009,2,31) failure on 64bit
25775	  time_t environment.
25776
25777Sun Jul  5 22:43:13 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25778
25779	* complex.c (nucomp_s_polar): now arg is optional.
25780
25781Sun Jul  5 20:40:35 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25782
25783	* complex.c (float_arg): returns PI for -0.0.
25784
25785Sun Jul  5 14:04:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25786
25787	* thread.c (rb_threadptr_exec_event_hooks): new function to
25788	  execute event hooks, with preserving errinfo.  [ruby-core:24118]
25789
25790Sun Jul  5 08:14:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25791
25792	* vm_method.c (rb_add_method, remove_method, rb_undef): fixed
25793	  minor grammatical errors in warnings.  a patch from Run Pain
25794	  Run Run at [ruby-core:24141].
25795
25796	* vm_method.c (Init_eval_method): registers notimplement_body as a
25797	  mark-object.
25798
25799	* vm_insnhelper.c (vm_yield_setup_block_args): restores the firs
25800	  arg where is overwritten at funcall.  [ruby-core:24139]
25801
25802Sat Jul  4 08:20:03 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25803
25804	* numeric.c (dbl2ival): should raise FloatDomainError on Infinity
25805	  and NaN as 1.8 does.  [ruby-dev:38726]
25806
25807Fri Jul  3 22:48:45 2009  Tanaka Akira  <akr@fsij.org>
25808
25809	* time.c (find_time_t): less number of guesses for hh:mm:60.
25810
25811Fri Jul  3 21:30:14 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25812
25813	* complex.c (nucomp_equal_p): removed.
25814
25815Fri Jul  3 21:07:29 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25816
25817	* rational.c: renamed equal_p to eqeq_p.
25818
25819	* complex.c: ditto.
25820
25821	* complex.c (nucomp_equal_p): added.
25822	  Complex(NaN).equal?(Complex(NaN)) should return true.
25823
25824Fri Jul  3 19:48:40 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25825
25826	* complex.c: undef-ed some methods.  [ruby-core:24110]
25827
25828	* complex.c (Numeric#arg): NaN for NaN.  [ruby-core:24116]
25829
25830Fri Jul  3 18:35:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25831
25832	* vm_core.h (struct rb_iseq_struct): fixed types.
25833
25834	* vm_core.h (ic_vmstat): VM state version is VALUE.
25835
25836Fri Jul  3 02:52:20 2009  Tanaka Akira  <akr@fsij.org>
25837
25838	* time.c (find_time_t): time guess strategy refined again.
25839
25840Fri Jul  3 00:36:16 2009  Tanaka Akira  <akr@fsij.org>
25841
25842	* time.c (find_time_t): time guess strategy refined.
25843
25844Thu Jul  2 11:16:25 2009  Shugo Maeda  <shugo@ruby-lang.org>
25845
25846	* lib/net/imap.rb: added response to Net::IMAP::ResponseError.
25847	  a patch from Eric Hodel in [ruby-core:24111].
25848
25849Thu Jul  2 08:04:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25850
25851	* time.c (num_exact): rb_check_to_integer() can deal with both of
25852	  Fixnum and Bignum together.
25853
25854Thu Jul  2 07:53:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25855
25856	* parse.y (parser_yylex): fixed wrong variable.
25857
25858Thu Jul  2 05:37:38 2009  Tanaka Akira  <akr@fsij.org>
25859
25860	* time.c (num_exact): use to_r for T_FLOAT.
25861
25862Thu Jul  2 05:15:54 2009  Tanaka Akira  <akr@fsij.org>
25863
25864	* time.c (quo): return an integer if possible.
25865
25866Wed Jul  1 21:09:25 2009  Tanaka Akira  <akr@fsij.org>
25867
25868	* include/ruby/intern.h (rb_time_num_new): declared.
25869
25870	* time.c (nsec2timev): extracted from time_new_internal.
25871	  (time_new_internal): change argument to VALUE.
25872	  (rb_time_new): follow the argument change.
25873	  (rb_time_nano_new): ditto.
25874	  (rb_time_num_new): new function.
25875
25876	* ext/socket/ancdata.c (ancillary_timestamp): use rb_time_num_new to
25877	  represent struct bintime preciously.
25878
25879Wed Jul  1 08:46:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25880
25881	* marshal.c (w_encoding): encodings need extra depth.
25882	  [ruby-core:24100]
25883
25884Wed Jul  1 06:47:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25885
25886	* enum.c (enum_grep): gets rid of type-punning calls.
25887
25888Wed Jul  1 06:36:28 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25889
25890	* enum.c (enum_join): add Enumerable#join.
25891
25892	* array.c (ary_join_1): recursive join for Enumerators (and
25893	  objects with #to_a).
25894
25895	* array.c (rb_ary_join): performance tune.
25896
25897Tue Jun 30 18:19:07 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25898
25899	* hash.c (rb_hash_hash): documentation fix.  a patch from
25900	  Marc-Andre Lafortune.  [ruby-core:23943]
25901
25902	* object.c (rb_mod_cmp): ditto.
25903
25904	* range.c (range_eq): ditto.
25905
25906	* string.c (rb_str_partition, rb_str_rpartition): ditto.
25907
25908	* struct.c (rb_struct_s_def): ditto.
25909
25910Tue Jun 30 17:44:24 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
25911
25912	* re.c (reg_match_pos): adjust offset based on characters, not
25913	  bytes.  [ruby-dev:38722]
25914
25915	* string.c (rb_str_offset): new function.
25916
25917	* string.c (rb_str_index_m): no call to rb_reg_adjust_startpos().
25918
25919Tue Jun 30 16:57:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25920
25921	* tool/rbinstall.rb: renamed to get rid of collision against
25922	  instruction.rb on command line completion of shell.
25923
25924	* tool/mkconfig.rb (RbConfig.expand): get rid of exceptions on
25925	  frozen strings unless really changed.
25926
25927	* tool/file2lastrev.rb: get rid of global variables.
25928
25929	* tool/compile_prelude.rb: use US-ASCII name.
25930
25931Tue Jun 30 16:46:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25932
25933	* insns.def, tool/instruction.rb: fixed types.
25934
25935Tue Jun 30 11:08:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25936
25937	* include/ruby/oniguruma.h, include/ruby/re.h, re.c, regcomp.c,
25938	  regenc.c, regerror.c, regexec.c, regint.h, regparse.c: use long.
25939
25940Tue Jun 30 11:05:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25941
25942	* dln.c (dln_find_1): fixed index overrun.
25943
25944Tue Jun 30 08:42:34 2009  Eric Hodel  <drbrain@segment7.net>
25945
25946	* tool/instruby.rb: summary is required in a .gemspec.
25947
25948Tue Jun 30 01:35:12 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25949
25950	* tool/strip-rdocs.rb: supports QT style doxy-comments.
25951
25952Tue Jun 30 01:24:10 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25953
25954	* lib/cmath.rb (log2, cbrt): added.  [experimental]
25955
25956Tue Jun 30 01:19:53 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25957
25958	* complex.c (nucomp_expt): do not use rb_fexpt.
25959
25960Mon Jun 29 22:50:10 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25961
25962	* Doxyfile.in: removed. merged into template/Doxyfile.template
25963
25964	* configure.in: new checking for dot and doxygen.
25965
25966	* template/Doxyfile.template: merged with Doxyfile.in.
25967	  configured some options.
25968
25969	* common.mk (capi): use $(DOXYGEN) instead of "doxygen".
25970	  (Doxyfile): removed a duplicate entry in the dependency.
25971
25972Mon Jun 29 21:01:31 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25973
25974	* complex.c (nucomp_expt): checks exactness.
25975
25976Mon Jun 29 20:29:11 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25977
25978	* rational.c (float_to_r): always returns rational.
25979
25980Mon Jun 29 18:55:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25981
25982	* dln.c (dln_find_1): fix for files with dots.  [ruby-dev:38588]
25983
25984Mon Jun 29 17:14:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
25985
25986	* file.c (file_expand_path): should copy original encoding.
25987	  [ruby-dev:38612]
25988
25989Sun Jun 28 23:10:55 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
25990
25991	* gem_prelude.c (Gem.default_dir): follows the change on
25992	  lib/rubygems/default.rb in r23879
25993
25994Sun Jun 28 23:32:11 2009  Tadayoshi Funaba  <tadf@dotrb.org>
25995
25996	* complex.c (nucomp_div): raises ZeroDivisionError immediately
25997	  when the given second argument is zero.
25998
25999	* rational.c (nurat_fdiv): never raise even if the given second
26000	  argument is zero.
26001
26002	* rational.c (rb_raise_zerodiv): changed the message (zero to 0).
26003
26004Sun Jun 28 22:25:07 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26005
26006	* complex.c (nucomp_expt): convert to a float when the given power
26007	  is a bignum.
26008
26009	* rational.c (nurat_expt): ditto.
26010
26011Sun Jun 28 21:16:48 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26012
26013	* lib/cmath.rb (sqrt): fixed an issue [ruby-list:45852].
26014
26015Sun Jun 28 19:48:29 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26016
26017	* complex.c (nucomp_expt): some improvements.
26018
26019	* rational.c (nurat_expt): ditto.
26020
26021Sun Jun 28 19:03:46 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
26022
26023	* tool/instruby.rb (:gem): registers the bundled version
26024	  of minitest as a gem as rdoc or rake.
26025	  c.f. [ruby-dev:38692].
26026
26027Sun Jun 28 19:02:07 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
26028
26029	* lib/rubygems.rb (ConfigMap[:rubylibprefix]): new entry.
26030
26031	* lib/rubygems/defaults.rb (Gem.default_dir): considers
26032	  "--with-rubylibprefix" configure option.
26033
26034Sun Jun 28 09:21:00 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26035
26036	* complex.c: renamed some static functions.
26037
26038	* rational.c: ditto.
26039
26040Sat Jun 27 19:06:22 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26041
26042	* complex.c (nucomp_addsub): new
26043
26044	* complex.c (nucomp_{add,sub}): use nucomp_addsub.
26045
26046	* complex.c (nucomp_divide): changed the algorithm.
26047
26048	* complex.c (nucomp_abs): added shortcuts.
26049
26050Sat Jun 27 16:56:33 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26051
26052	* rational.c (nurat_cmp): use rb_num_coerce_cmp.
26053
26054Sat Jun 27 16:45:10 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26055
26056	* complex.c: revised rdoc.
26057
26058	* rational.c: ditto.
26059
26060	* numeric.c: ditto.
26061
26062Sat Jun 27 13:44:48 2009  Kouhei Sutou  <kou@cozmixng.org>
26063
26064	* NEWS, lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: add
26065	  item.guid.permanent_link? and item.guid.permanent_link=.
26066
26067Sat Jun 27 13:41:00 2009  Kouhei Sutou  <kou@cozmixng.org>
26068
26069	* NEWS: rss: 0.2.5 -> 0.2.7.
26070
26071	* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.6 -> 0.2.7.
26072
26073Sat Jun 27 03:16:56 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26074
26075	* numeric.c (int_chr): use default_internal encoding as default
26076	  destination encoding if set.  [ruby-core:23997]
26077
26078Sat Jun 27 03:09:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26079
26080	* io.c (argf_rewind): need to rewind $. and ARGF.lineno.
26081	  [ruby-core:24046]
26082
26083	* io.c (struct argf): refactoring on $. and ARGF.lineno behavior.
26084
26085Fri Jun 26 21:48:30 2009  Tanaka Akira  <akr@fsij.org>
26086
26087	* ext/pty/pty.c (pty_getpty): check dup failure.
26088
26089Fri Jun 26 17:33:46 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26090
26091	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_rubyopt):
26092	  test suite add '.' to RUBYLIB.  remove checks.
26093
26094	* test/ruby/test_require.rb (TestRequire#test_tainted_loadpath):
26095	  the default tempdir directory /tmp is world writable, so
26096	  SecurityError would be raised.  check removed.
26097
26098Fri Jun 26 16:32:59 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
26099
26100	* common.mk (COMPILE_PRELUDE): need -I. before -rrbconfig.
26101	  [ruby-dev:38714]
26102
26103Thu Jun 25 18:41:51 2009  Ryan Davis  <ryand-ruby@zenspider.com>
26104
26105	* lib/minitest/*.rb: Imported minitest 1.4.2 r5269.
26106	* test/minitest/*.rb: ditto.
26107
26108Thu Jun 25 17:58:39 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26109
26110	* io.c (argf_binmode_m): should call rb_io_ascii8bit_binmode() to
26111	  set its encoding to ASCII-8BIT.  [ruby-core:24029]
26112
26113Thu Jun 25 13:04:58 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
26114
26115	* instruby.rb: '&' in sed s command's replacement is '\&' in ruby.
26116	  [ruby-dev:38713]
26117
26118Thu Jun 25 06:50:23 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26119
26120	* io.c (rb_io_each_codepoint): uninitialized local variable enc.
26121
26122Thu Jun 25 06:25:49 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26123
26124	* enum.c (first_i): wrong condition for no argument #first.
26125	  [ruby-core:24017]
26126
26127Wed Jun 24 20:19:11 2009  Tanaka Akira  <akr@fsij.org>
26128
26129	* time.c (time_s_now): new function.  Time.now don't take arguments.
26130
26131Wed Jun 24 16:08:03 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
26132
26133	* win32/resource.rb: CONFIG["TEENY"] is not ruby's version but API's
26134	  one.  So need to use RUBY_VERSION instead.
26135
26136Wed Jun 24 16:07:04 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
26137
26138	* win32/mkexports.rb: rbconfig.rb exists at ".".
26139
26140Wed Jun 24 15:02:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26141
26142	* parse.y (parser_set_encode): show the erred file name instead of
26143	  the file that requires it.  [ruby-core:24006]
26144
26145Wed Jun 24 11:41:20 2009  Akinori MUSHA  <knu@iDaemons.org>
26146
26147	* misc/ruby-style.el: It is too late to set c-file-style in
26148	  c-mode-hook (at least on Emacs 23).  Call c-set-style instead.
26149
26150Tue Jun 23 21:28:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26151
26152	* file.c (rb_get_path_check): check with given safe level.
26153
26154	* file.c (rb_find_file_ext_safe, rb_find_file_safe): ditto.
26155
26156	* safe.c (rb_insecure_operation): function to raise security
26157	  error.
26158
26159Tue Jun 23 20:32:43 2009  Yusuke Endoh  <mame@tsg.ne.jp>
26160
26161	* gc.c: remove the definition of GC_DEBUG (debugging macro).
26162
26163Tue Jun 23 16:16:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26164
26165	* configure.in (ruby_version): defaults revision to 0 when no
26166	  revision.h exists.
26167
26168Tue Jun 23 16:04:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26169
26170	* file.c (rb_find_file_ext, rb_find_file): no needs to expand
26171	  paths with tilde twice.
26172
26173	* load.c (rb_f_load): load the given path directly if not found in
26174	  load_path.
26175
26176	* load.c (search_required): search file in specified safe level.
26177
26178	* load.c (rb_require_safe): path to load is already searched in
26179	  search_required().
26180
26181Tue Jun 23 12:43:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26182
26183	* configure.in: remove PACKAGE_* macros generated by autotools.
26184	  [ruby-core:20938]
26185
26186Tue Jun 23 01:17:38 2009  Tanaka Akira  <akr@fsij.org>
26187
26188	* ruby.c (process_options): don't specify .so for encdb here.
26189	  "." is replaced by "_" in load_encoding.
26190
26191	* encoding.c (load_encoding): add .so here.
26192
26193Mon Jun 22 23:24:22 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26194
26195	* variable.c (rb_generic_ivar_memsize): typo fixed.  a patch from
26196	  Kazuhiro NISHIYAMA.  [ruby-dev:38700]
26197
26198	* ext/objspace/objspace.c (memsize_of): ditto.
26199
26200Mon Jun 22 21:21:59 2009  Tanaka Akira  <akr@fsij.org>
26201
26202	* io.c: remove __CHECKER__ test.
26203
26204	* dir.c: ditto.
26205
26206	* dln.c: ditto.
26207
26208	* file.c: ditto.
26209
26210	* process.c: ditto.
26211
26212Mon Jun 22 17:15:38 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26213
26214	* ext/stringio/stringio.c (strio_each_codepoint): new method.
26215	  [ruby-core:23949]
26216
26217	* ext/stringio/stringio.c (strio_each_codepoint): ditto.
26218
26219Mon Jun 22 16:26:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26220
26221	* ruby.c (ruby_init_loadpath_safe): removed "." from load_path.
26222
26223Mon Jun 22 16:14:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26224
26225	* compile.c (iseq_set_arguments, iseq_compile_each): internal
26226	  arrays must be hidden.  [ruby-dev:38613]
26227
26228	* vm.c (Init_top_self): ditto.
26229
26230Mon Jun 22 14:41:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26231
26232	* ruby.c (process_options), enc/prelude.rb: encdb and transdb are
26233	  extension libraries.
26234
26235	* ruby.c (process_options): set progname earlier.
26236
26237Mon Jun 22 13:50:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26238
26239	* io.c (rb_io_fdatasync): new method IO#fdatasync.
26240
26241Sun Jun 21 22:33:05 2009  Yusuke Endoh  <mame@tsg.ne.jp>
26242
26243	* load.c (Init_load): $: must be readonly.  [ruby-dev:38690]
26244
26245	* ruby.c (ruby_prog_init): $-W must be readonly.  [ruby-dev:38691]
26246
26247Sun Jun 21 10:47:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26248
26249	* lib/fileutils.rb (FileUtils::Entry_#copy_file): open with
26250	  default umask.  [ruby-core:23952]
26251
26252Sun Jun 21 10:46:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26253
26254	* transcode.c (enc_arg): default internal encoding may not be set.
26255	  [ruby-core:23932]
26256
26257Sat Jun 20 21:11:43 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26258
26259	* numeric.c (num_div): don't use num_floor which is actually
26260	  flo_floor.
26261
26262	* numeric.c (num_modulo): don't call '%'.
26263
26264	* numeric.c (num_divmod): use num_modulo.
26265
26266	* numeric.c: defined '%'.
26267
26268	* rational.c (nurat_idiv,nurat_mod,nurat_divmod,nurat_rem): removed.
26269
26270Sat Jun 20 20:28:44 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26271
26272	* complex.c: edited rdoc.
26273
26274	* numeric.c: ditto.
26275
26276Sat Jun 20 08:56:47 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26277
26278	* complex.c: edited rdoc.
26279
26280	* rational.c: ditto.
26281
26282	* numeric.c: ditto.
26283
26284Sat Jun 20 07:17:52 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26285
26286	* lib/monitor.rb (MonitorMixin::extend_object): should use
26287	  #__send__ instead of #send to avoid possible name conflict.
26288	  [ruby-core:23907]
26289
26290Sat Jun 20 06:56:31 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26291
26292	* complex.c: edited rdoc.
26293
26294	* rational.c: ditto.
26295
26296Sat Jun 20 05:08:59 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26297
26298	* complex.c: edited rdoc.
26299
26300	* rational.c: ditto.
26301
26302Sat Jun 20 04:30:35 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26303
26304	* rational.c (nurat_abs): removed.
26305
26306Sat Jun 20 03:34:16 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26307
26308	* complex.c: added rdoc.
26309
26310Fri Jun 19 23:43:38 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26311
26312	* numeric.c: edited rdoc.
26313
26314Fri Jun 19 22:58:16 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26315
26316	* rational.c: edited rdoc.
26317
26318Fri Jun 19 22:21:17 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26319
26320	* numeric.c: edited rdoc.
26321
26322Fri Jun 19 21:56:01 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26323
26324	* rational.c (nurat_expt): delegates to complex when self is
26325	  negative.  because Float#** does not produce complex.
26326
26327Fri Jun 19 21:40:58 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26328
26329	* numeric.c: edited rdoc.
26330
26331	* rational.c: ditto.
26332
26333Fri Jun 19 20:53:54 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26334
26335	* encoding.c (rb_enc_name_list): update RDoc.  [ruby-core:23926]
26336
26337Fri Jun 19 20:44:45 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26338
26339	* complex.c: constant COMPLEX_NAME has been removed.
26340
26341	* rational.c: constant RATIONAL_NAME has been removed.
26342
26343Fri Jun 19 20:39:46 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26344
26345	* rational.c: added rdoc.  a patch from Run Paint Run Run.
26346
26347Fri Jun 19 17:04:59 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26348
26349	* numeric.c (flo_cmp): should always return nil for NaN.
26350
26351	* numeric.c (flo_cmp): handle infinite value specially using
26352	  infinite? method internally.  [ruby-dev:38681]
26353
26354Fri Jun 19 09:28:45 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26355
26356	* numeric.c (*_numerator,*_denominator): moved to rational.c.
26357
26358	* rational.c (*_numerator,*_denominator): moved from numeric.c.
26359
26360Fri Jun 19 08:14:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26361
26362	* bignum.c (big_lshift, big_rshift): return Bignum always without
26363	  normalization.  [ruby-dev:38679]
26364
26365Thu Jun 18 22:31:38 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26366
26367	* rational.c (nurat_s_convert): calls to_r when the given argument
26368	  is non-integer.
26369
26370	* rational.c (nurat_s_convert): raises TypeError when the given
26371	  argument is nil.
26372
26373	* complex.c (nucomp_s_convert): ditto.
26374
26375Thu Jun 18 20:32:11 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26376
26377	* numeric.c (num_numerator, num_denominator): use
26378	  to_r [ruby-core:23910].
26379
26380Thu Jun 18 16:21:05 2009  Ryan Davis  <ryand-ruby@zenspider.com>
26381
26382	* lib/minitest/*.rb: Imported minitest 1.4.0 r5083.
26383	* test/minitest/*.rb: ditto.
26384
26385Thu Jun 18 10:12:49 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26386
26387	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): went infinity too
26388	  early.  add BASE_FIG margin.  [ruby-dev:38673]
26389
26390Thu Jun 18 01:35:51 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26391
26392	* numeric.c (flo_cmp): Infinity is greater than any bignum
26393	  number.  [ruby-dev:38672]
26394
26395	* bignum.c (rb_big_cmp): ditto.
26396
26397Thu Jun 18 01:29:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26398
26399	* file.c (file_expand_path): drive letter is ascii only.
26400	  [ruby-dev:38612]
26401
26402Thu Jun 18 01:09:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26403
26404	* configure.in (ridir, RI_BASE_NAME): fixed for path expansion.
26405	  [ruby-core:23876]
26406
26407Wed Jun 17 23:46:08 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26408
26409	* rational.c (nurat_coerce): accepts Complex when the imag is
26410	  exact zero.
26411
26412Wed Jun 17 21:25:54 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26413
26414	* bignum.c (rb_big_fdiv): checks whether the given second argument
26415	  can be converted to float properly.
26416
26417	* numeric.c (fix_fdiv): calls rb_big_fdiv when the given second
26418	  argument is a bignum.
26419
26420	* rational.c (nurat_fdiv): should calculate Float(x/y), not
26421	  Float(x)/Float(y).
26422
26423Wed Jun 17 16:57:40 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26424
26425	* load.c (rb_f_require): RDoc updated.  a patch from Run Paint Run
26426	  Run in [ruby-core:23833].
26427
26428	* load.c (rb_mod_autoload): ditto.  [ruby-core:23835]
26429
26430Wed Jun 17 14:37:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26431
26432	* sample/test.rb (valid_syntax?): skips BOM.  [ruby-dev:38666]
26433
26434	* test/ruby/test_system.rb (TestSystem#valid_syntax?): ditto.
26435
26436Wed Jun 17 13:54:18 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26437
26438	* ext/strscan/strscan.c (Init_strscan): remove obsolete
26439	  matchedsize method, use matched_size instead.  [ruby-dev:38591]
26440
26441Wed Jun 17 12:37:37 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26442
26443	* thread.c (ruby_thread_stack_overflow): call rb_exc_raise() on
26444	  stack overflows in the signal handler, if sigaltstack is
26445	  available.  On stack overflow (and with sigaltstack), the signal
26446	  handler is more likely to have room to create an exception
26447	  object.  [ruby-core:23813]
26448
26449Wed Jun 17 08:10:38 2009  Koichi Sasada  <ko1@atdot.net>
26450
26451	* ext/objspace: added.  objspace library extends some methods to
26452	  ObjectSpace module.
26453
26454Wed Jun 17 08:14:01 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26455
26456	* complex.c (nucomp_coerce): accepts Complex instances.
26457
26458	* rational.c (nurat_coerce): accepts Rational
26459	  instances. [ruby-core:23859]
26460
26461Wed Jun 17 07:36:22 2009  NARUSE, Yui  <naruse@ruby-lang.org>
26462
26463	* lib/webrick/httputils.rb (parse_form_data): escape boundary of
26464	  multipart/form-data when embed in regexp.
26465
26466Wed Jun 17 07:24:26 2009  Koichi Sasada  <ko1@atdot.net>
26467
26468	* array.c (rb_ary_memsize): added.
26469
26470	* io.c (rb_io_memsize): added.
26471
26472	* regcomp.c (onig_memsize): added.
26473
26474	* string.c (rb_str_memsize): added.
26475
26476	* transcode.c (rb_transcoding_memsize, rb_econv_memsize): added.
26477
26478	* variable.c (rb_geneic_ivar_memsize): added.
26479
26480Wed Jun 17 07:04:33 2009  Koichi Sasada  <ko1@atdot.net>
26481
26482	* iseq.c (iseq_memsize): added.  Use RTypedData instead of RData
26483	  for ISeq.
26484
26485	* vm.c (env_memsize, vm_memsize, thread_memsize): added.  Use
26486	  RTypedData instead of RData for Env, VM, Thread.
26487
26488Wed Jun 17 06:48:28 2009  Koichi Sasada  <ko1@atdot.net>
26489
26490	* st.c, include/ruby/st.h (st_memsize): added.  This function returns
26491	  the memory usage of st_table.
26492
26493Wed Jun 17 06:19:06 2009  Koichi Sasada  <ko1@atdot.net>
26494
26495	* include/ruby/ruby.h: New structure RTypedData, added.
26496	  This structure includes more explicit type information for
26497	  T_DATA objects.  If RData(obj)->dfree is immediate value `1' on
26498	  T_DATA object obj, obj is needed to be accessed with RTYPEDDATA(obj)
26499	  instead of RDATA(obj).  A RTypedData structure points the structure
26500	  rb_typed_data_t.  rb_typed_data_t includes information such as the
26501	  type name of this data, mark and free function what RData includes,
26502	  and memsize function show how data consuming the memory size.
26503	  Note that you do not need any change existing T_DATA objects.
26504	  If you use RDataType instead of RData on T_DATA object,
26505	  you can specify explicit type information.
26506
26507	* gc.c (rb_data_typed_object_alloc, rb_objspace_data_type_memsize,
26508	  rb_objspace_data_type_name): added.
26509
26510Wed Jun 17 06:14:23 2009  Koichi Sasada  <ko1@atdot.net>
26511
26512	* gc.c: fix indent.
26513
26514Wed Jun 17 06:05:03 2009  Koichi Sasada  <ko1@atdot.net>
26515
26516	* gc.c (rb_objspace_each_objects): New C API, added.
26517
26518Wed Jun 17 00:31:30 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26519
26520	* test/ruby/test_argf.rb (TestArgf#test_skip): updated test
26521	  according to clarified behavior.
26522
26523Tue Jun 16 22:47:37 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26524
26525	* io.c (fptr_finalize): revert last change.  [ruby-dev:38648]
26526
26527	* io.c (fptr_finalize): skip close(2) for fd 0,1,2.
26528
26529Tue Jun 16 20:07:09 2009  NARUSE, Yui  <naruse@ruby-lang.org>
26530
26531	* transcode.c (transcode_restartable0): refix can't build with VC9.
26532
26533Tue Jun 16 16:09:59 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
26534
26535	* parse.y (parser_read_escape, parser_tokadd_escape):
26536	  replace scan_oct as ruby_scan_oct.
26537
26538Tue Jun 16 06:40:31 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26539
26540	* io.c (fptr_finalize): should close stdin/stdout/stderr when
26541	  closed explicitly.   [ruby-core:23853]
26542
26543	* io.c (argf_skip): should close only when current_file is available.
26544
26545Tue Jun 16 01:50:02 2009  Tanaka Akira  <akr@fsij.org>
26546
26547	* vm_eval.c (rb_call0): refine exception message for hidden objects.
26548
26549Mon Jun 15 22:35:31 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26550
26551	* bignum.c (rb_big2db): (-Float::MAX.to_i*2).to_f should return
26552	  -HUGE_VAL (-Infinity).
26553
26554Mon Jun 15 18:48:41 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26555
26556	* io.c (argf_each_line): should return self.  [ruby-core:23852]
26557
26558	* io.c (argf_each_byte, argf_each_char): ditto.
26559
26560Mon Jun 15 17:48:42 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26561
26562	* gc.c (os_obj_of): invoke garbage collection before iteration, to
26563	  avoid accessing half recycled object references.  [ruby-dev:38613]
26564
26565Mon Jun 15 11:04:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26566
26567	* .gdbinit (rp, iseq): load dummy_gdb_enums on demand.
26568	  [ruby-dev:38606]
26569
26570Sun Jun 14 14:57:57 2009  Koichi Sasada  <ko1@atdot.net>
26571
26572	* thread.c, vm_eval.c: add Thread.backtrace.
26573
26574	* test/ruby/test_thread.rb: add a test.
26575
26576Sun Jun 14 13:58:32 2009  Koichi Sasada  <ko1@atdot.net>
26577
26578	* transcode.c (transcode_restartable0): revert last commit because
26579	  this change cause SEGV at test-all.
26580
26581Sun Jun 14 10:49:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26582
26583	* file.c (rb_find_file_ext, rb_find_file): canonicalize absolute
26584	  paths.  [ruby-core:23845]
26585
26586	* file.c (rb_file_size): added rdoc.  a patch from Run Paint Run
26587	  Run at [ruby-core:23839].
26588
26589Sun Jun 14 07:53:26 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26590
26591	* complex.c (nucomp_fdiv): use fdiv recursively.
26592
26593	* complex.c (nucomp_expt): reduced code.
26594
26595Sun Jun 14 03:37:09 2009  NARUSE, Yui  <naruse@ruby-lang.org>
26596
26597	* enc/trans/utf8_mac.trans: remove wrong optimization.
26598
26599Sun Jun 14 01:53:00 2009  NARUSE, Yui  <naruse@ruby-lang.org>
26600
26601	* transcode.c (transcode_restartable0): can't build with VC9.
26602
26603Sun Jun 14 01:23:41 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26604
26605	* rational.c (nurat_to_f): use fdiv.
26606
26607Sat Jun 13 15:03:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26608
26609	* load.c (load_lock): show backtrace at circular require.
26610
26611	* load.c (rb_provide): assumes us-ascii only.
26612
26613	* load.c (rb_require_safe): FilePathValue() implies rb_str_new4().
26614
26615	* load.c (rb_mod_autoload): try conversion to path like as
26616	  require.  [ruby-core:23834]
26617
26618Sat Jun 13 09:58:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26619
26620	* marshal.c (r_ivar): should not set internal encoding ivar as an
26621	  ordinary ivar.  [ruby-dev:38596]
26622
26623Sat Jun 13 07:08:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26624
26625	* vm_eval.c (rb_f_local_variables): now returns symbols.  a patch from
26626	  Run Paint Run Run at [ruby-core:23828].
26627
26628Sat Jun 13 07:06:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26629
26630	* vm_eval.c (rb_f_catch): updated rdoc about generalized argument,
26631	  and the case without arguments.  [ruby-core:23827]
26632
26633Sat Jun 13 06:50:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26634
26635	* lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): TimeoutError is
26636	  obsolete, use Timeout::Error instead.  [ruby-core:23821]
26637
26638Sat Jun 13 06:45:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26639
26640	* vm_eval.c (rb_f_throw): fixed rdoc about exception.
26641	  [ruby-core:23824]
26642
26643Fri Jun 12 14:56:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26644
26645	* file.c (file_expand_path): associate the input encoding when
26646	  copying an absolute path.  [ruby-dev:38594]
26647
26648Fri Jun 12 02:41:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26649
26650	* string.c (str_replace_shared): shared target must be frozen.
26651	  [ruby-core:23727]
26652
26653Thu Jun 11 21:05:09 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26654
26655	* lib/cmath.rb (exp): omitted redundant function call.
26656
26657Thu Jun 11 17:49:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26658
26659	* ext/bigdecimal/bigdecimal.c (gfCheckVal): never used.
26660
26661	* ext/bigdecimal/bigdecimal.c (VpInit): fixed format modifiers.
26662
26663	* ext/bigdecimal/bigdecimal.c (VPrint): constified.
26664
26665Thu Jun 11 15:27:17 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26666
26667	* lib/prime.rb: documentation typo fixed.  a patch from okkez.
26668	  [ruby-dev:38586]
26669
26670Wed Jun 10 18:15:17 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
26671
26672	* dir.c (dir_s_getwd): directory path's encoding should be filesystem's
26673	  one.
26674
26675	* lib/tmpdir.rb: ditto (but not finished yet.)
26676
26677Wed Jun 10 06:28:15 2009  Eric Hodel  <drbrain@segment7.net>
26678
26679	* lib/rubygems*: Upgrade to RubyGems 1.3.4 r2223.
26680
26681Tue Jun  9 22:38:09 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26682
26683	* lib/cmath.rb (log10): raised exception when the given number is
26684	  a negative real.
26685
26686Tue Jun  9 15:13:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26687
26688	* dir.c (dir_s_glob): fixed rdoc.  a patch from Joseph Pecoraro a
26689	  [ruby-core:23767].
26690
26691	* dir.c (sys_warning): get rid of type-punning function cast.
26692
26693	* dir.c (ruby_glob0): get rid of possible overflow.
26694
26695Tue Jun  9 10:58:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26696
26697	* Makefile.in, win32/Makefile.sub (RMALL): need for distclean-rdoc.
26698
26699Tue Jun  9 01:07:33 2009  Koichi Sasada  <ko1@atdot.net>
26700
26701	* thread.c: rename functions which require a parameter
26702	  "rb_thread_t *", the prefix to be rb_threadptr_ instead of
26703	  rb_thread_.
26704
26705	* thread.c (rb_thread_add_event_hook(), rb_thread_remove_event_hook):
26706	  change the parameter type from rb_thread_t * to VALUE.
26707
26708	* eval.c, eval_error.c, eval_intern.h, signal.c, vm_core.h, vm_eval.c:
26709	  ditto.
26710
26711	* include/ruby/intern.h: remove decl of rb_thread_signal_raise() and
26712	  rb_thread_signal_exit().
26713
26714Mon Jun  8 05:07:41 2009  Koichi Sasada  <ko1@atdot.net>
26715
26716	* thread_pthread.c (rb_thread_create_timer_thread): print fatal error
26717	  message to stderr instead of using rb_bug().
26718
26719	* KNOWNBUGS.rb, bootstraptest/test_fork.rb: move a fixed test.
26720
26721Sun Jun  7 22:44:20 2009  Tadayoshi Funaba  <tadf@dotrb.org>
26722
26723	* lib/cmath.rb (log): avoided redundant expression.
26724
26725Sat Jun  6 02:49:05 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26726
26727	* hash.c (rb_hash_reject_bang): always check frozen status.
26728	  [ruby-core:23715]
26729
26730	* hash.c (rb_hash_update): ditto.
26731
26732	* hash.c (rb_hash_reject_bang): call rb_hash_foreach() directly.
26733
26734	* hash.c (rb_hash_update_i): call st_insert() directly.
26735
26736	* hash.c (rb_hash_update_block_i): ditto.
26737
26738Fri Jun  5 07:12:32 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26739
26740	* lib/mkmf.rb (#link_command): should dup CONFTEST_C which is
26741	  frozen.  ref  [ruby-core:23675].  [ruby-core:23702]
26742
26743Thu Jun  4 02:25:51 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26744
26745	* lib/base64.rb: typo fixed.  a patch from okkez.   [ruby-dev:38564]
26746
26747Wed Jun  3 09:03:23 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26748
26749	* enum.c (enum_first): should check negative length.
26750
26751Tue Jun  2 17:32:40 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26752
26753	* enum.c (first_i): Enumerator#first should consume only what is
26754	  needed.   a patch from Marc-Andre Lafortune.  [ruby-core:23661]
26755
26756	* enum.c (enum_first): call to_int once for an argument.  based on
26757	  a patch from Marc-Andre Lafortune.
26758
26759Tue Jun  2 13:27:21 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
26760
26761	* test/ripper/test_filter.rb: add tests. see [ruby-dev:37856]
26762
26763Tue Jun  2 07:44:43 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26764
26765	* string.c (rb_str_gsub_bang): modify check at the beginning.
26766	  [ruby-core:23662]  ref [ruby-core:23657]
26767
26768	* string.c (rb_str_rstrip_bang): ditto.  [ruby-core:23657]
26769
26770	* string.c (rb_str_chop_bang): ditto.
26771
26772	* string.c (rb_str_chomp_bang): ditto.
26773
26774	* string.c (rb_str_reverse_bang): modify check added.  [ruby-core:23671]
26775
26776Mon Jun  1 11:21:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26777
26778	* cont.c (cont_capture, fiber_store): reraise transferred error.
26779
26780	* cont.c (fiber_switch): transfers dead fiber error to the previous
26781	  or root fiber if the current fiber is dead.  [ruby-core:23651]
26782
26783Mon Jun  1 10:41:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26784
26785	* include/ruby/intern.h (rb_exc_new2): optimization for literal.
26786
26787Mon Jun  1 07:20:02 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26788
26789	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): returns Inf if
26790	  exp is bigger than DBL_MANT_DIG.
26791
26792Sun May 31 23:28:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26793
26794	* lib/mkmf.rb (create_makefile): checks for duplication of source
26795	  files.
26796
26797Sun May 31 23:26:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26798
26799	* file.c (istrailinggarbage): fixed typo.
26800
26801Fri May 29 17:10:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26802
26803	* struct.c (Init_Struct): made #to_s an alias to #inspect to
26804	  reduce the result of recursive struct.  a patch from ujihisa a
26805	  [ruby-dev:38554].
26806
26807Fri May 29 17:08:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26808
26809	* hash.c (Init_Hash): made #to_s an alias to #inspect to reduce
26810	  the result of recursive hash.  a patch from ujihisa a
26811	  [ruby-core:23601].  [ruby-dev:38555]
26812
26813Fri May 29 09:30:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26814
26815	* enum.c (collect_all): checks interrupts.  [ruby-core:23594]
26816
26817Thu May 28 07:39:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26818
26819	* configure.in (THREAD_MODEL): reject unknown value and checks
26820	  pthread.h only when pthread.  [ruby-core:23577]
26821
26822Thu May 28 03:47:46 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26823
26824	* sample/optparse/opttest.rb: typo fixed.  [ruby-dev:38544]
26825
26826Thu May 28 03:43:10 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26827
26828	* time.c (time_strftime): update RDoc according to info from
26829	  Marc-Andre Lafortune in [ruby-core:23575].  [ruby-core:23564]
26830
26831Thu May 28 02:40:54 2009  Tanaka Akira  <akr@fsij.org>
26832
26833	* lib/uri: don't set @parser if it is DEFAULT_PARSER for marshaling
26834	  URI objects between Ruby 1.8 and Ruby 1.9.
26835	  [ruby-dev:38377]
26836
26837Wed May 27 23:00:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26838
26839	* parse.y (struct parser_params): lex_gets_ptr should be long.
26840
26841Wed May 27 18:00:15 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26842
26843	* bignum.c (bigand_int): new function to calculate bignum and
26844	  fixnum without allocating internal bignum.
26845
26846	* bignum.c (bigor_int): ditto.
26847
26848	* bignum.c (bigxor_int): ditto.
26849
26850	* bignum.c (bigand_int): even less object allocation.
26851
26852Wed May 27 14:29:55 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26853
26854	* marshal.c (w_encoding): more compact encoding information for
26855	  US-ASCII and UTF-8.  [incompatible] [experimental]
26856
26857	* marshal.c (r_ivar): restore :E encoding information.
26858
26859Wed May 27 14:08:39 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26860
26861	* st.c (st_insert2): new function with processing new key,
26862	  e.g. copy.
26863
26864	* hash.c (rb_hash_aset): use st_insert2() to reduce redundant
26865	  st_lookup calls.
26866
26867Wed May 27 02:31:38 2009  NARUSE, Yui  <naruse@ruby-lang.org>
26868
26869	* ext/readline/readline.c (readline_getc): the function for
26870	  rl_getc_function must be a byte function.
26871	  so use getbyte method. [ruby-dev:38535]
26872
26873Tue May 26 14:24:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26874
26875	* gc.c: fixed types.
26876
26877	* common.mk (bignum.o, numeric.o): depend on util.h.
26878
26879	* bignum.c, marshal.c: fixed types.
26880
26881	* numeric.c (infinite_value): use ruby_div0.
26882
26883	* include/ruby/util.h (ruby_div0): moved from marshal.c.
26884
26885Tue May 26 11:01:41 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
26886
26887	* lib/mkmf.rb: use map! to replace strings in $objs array.
26888
26889Tue May 26 10:12:08 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26890
26891	* bignum.c (bignew_1): inline memory allocation.
26892
26893	* bignum.c (bigtrunc): call rb_big_resize() only when needed.
26894
26895	* bignum.c (bigfixize): declare inline.
26896
26897Tue May 26 05:39:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26898
26899	* include/ruby/ruby.h (FilePathValue): prevent from GC.
26900
26901	* include/ruby/ruby.h (NUM2LONG): added GCC specific optimization.
26902
26903Tue May 26 03:41:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26904
26905	* time.c (rb_gmtime, rb_localtime): gmtime and localtime return
26906	  NULL on error.  [ruby-core:23551]
26907
26908Tue May 26 03:38:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26909
26910	* string.c (rb_str_each_char, rb_str_each_codepoint): string
26911	  length must be long.
26912
26913Mon May 25 13:27:32 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
26914
26915	* lib/mkmf.rb: dont use gsub! method for frozen string.
26916
26917Mon May 25 11:47:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26918
26919	* tool/mkconfig.rb, tool/instruby.rb: removed redundant code.
26920
26921Mon May 25 09:34:09 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26922
26923	* string.c (rb_str_hash): avoid calling rb_enc_str_asciionly_p().
26924
26925	* string.c (rb_str_replace): avoid redundant calling rb_str_new4().
26926
26927	* string.c (str_replace): factor out replacement from
26928	  rb_str_replace() without type check nor discarding the
26929	  destination contents.
26930
26931Mon May 25 08:06:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26932
26933	* string.c (rb_str_partition): should use the converted result.  a
26934	  patch from Marc-Andre Lafortune at [ruby-core:23540].
26935
26936	* string.c (rb_str_rpartition): ditto.
26937
26938Mon May 25 06:25:38 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26939
26940	* test/ruby/test_hash.rb (TestHash::test_equal2): recursive hashes
26941	  are handled properly now. ref: [ruby-core:23402]
26942
26943	* test/ruby/test_m17n.rb (TestM17N#test_sprintf_p): test fixed
26944
26945Mon May 25 05:32:19 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26946
26947	* lib/cgi/core.rb (CGI::HTTP_STATUS): typo fixed.  a patch from
26948	  Nobuhiro IMAI.  [ruby-dev:38538]
26949
26950Sun May 24 22:48:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26951
26952	* thread.c (rb_exec_recursive_paired): new function for proper
26953	  handling of recursive arrays.  [EXPERIMENTAL] [ruby-core:23402]
26954
26955	* array.c (rb_ary_equal, rb_ary_eql, rb_ary_cmp): use above.
26956
26957	* hash.c (hash_equal): ditto.
26958
26959Sun May 24 22:39:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26960
26961	* error.c (syserr_initialize): errno is int.
26962
26963Sun May 24 00:52:54 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
26964
26965	* configure.in ($ridir): new configuration. [ruby-core:23520].
26966	  c.f. [ruby-core:23519].
26967
26968	  (--with-ridir): new configure option.
26969
26970	* tool/instruby.rb (:doc, :rdoc): uses $ridir instead of
26971	  a fixed path.
26972
26973	* lib/rdoc/ri/paths.rb: follows $ridir.
26974
26975	* Makefile.in: removes RIDATADIR which is no longer used.
26976
26977	* bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig.
26978	  removes RIDATADIR which is no longer used.
26979
26980	* win32/Makefile.sub: ditto.
26981
26982Sat May 23 23:52:33 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
26983
26984	* string.c (rb_str_each_char): return original string.
26985	  [ruby-core:23499]
26986
26987	* string.c (rb_str_each_codepoint): protect string from
26988	  modification.
26989
26990Sat May 23 21:48:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26991
26992	* ext/dl/handle.c (rb_dlhandle_s_sym): added a method to access
26993	  using RTLD_NEXT.  [ruby-dev:38152]
26994
26995	* ext/dl/handle.c (Init_dlhandle): added constants DEFAULT and
26996	  NEXT which correspond to RTLD_DEFAULT and RTLD_NEXT.
26997
26998Sat May 23 18:53:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
26999
27000	* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):
27001	  splitting with regexp source string is obsolete.  a patch from
27002	  Minwoo Lee at [ruby-core:23494].
27003
27004	* ext/dl/cptr.c (rb_dlptr_cmp): return signed value, and restrict
27005	  to Fixnum.  [ruby-dev:38533]
27006
27007Fri May 22 23:22:53 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27008
27009	* missing/vsnprintf.c (errno): [BUG] fixes a compilation
27010	  error on SIZEOF_LONG > SIZEOF_INT.
27011	  (BSD_vfprintf): ditto.
27012
27013Fri May 22 23:20:48 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27014
27015	* spec/default.mspec: follows runruby.rb's move at r23542.
27016
27017Fri May 22 21:38:55 2009  Yusuke Endoh  <mame@tsg.ne.jp>
27018
27019	* NEWS: add Time#to_r.
27020
27021Fri May 22 20:29:01 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27022
27023	* config.guess: moved into tool/.
27024
27025	* config.sub: ditto.
27026
27027	* install-sh: ditto
27028
27029	* configure.in: follows the moves.
27030
27031	* LEGAL: ditto.
27032
27033Fri May 22 20:10:18 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27034
27035	* instruby.rb: moved into tool/.
27036
27037	* mkconfig.rb: ditto.
27038
27039	* rubytest.rb: ditto.
27040
27041	* runruby.rb: ditto.
27042
27043	* common.mk: follows the moves.
27044
27045	* configure.in: ditto.
27046
27047	* win32/Makefile.sub: ditto.
27048
27049Fri May 22 05:09:43 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27050
27051	* array.c (rb_ary_slice_bang): avoid call of rb_scan_args() unless
27052	  it's really necessary.
27053
27054Thu May 21 22:17:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27055
27056	* template/id.h.tmpl, id.h (enum ruby_method_ids): added some IDs.
27057
27058	* debug.c (dummy_gdb_enums): added enum ruby_method_ids.
27059
27060	* .gdbinit (rp): improved output of Symbol.
27061
27062Thu May 21 21:07:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27063
27064	* missing/vsnprintf.c (BSD_vfprintf): support for 'z' modifier.
27065
27066Thu May 21 18:55:33 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27067
27068	* gem_prelude.rb (Gem.default_dir and misc.): use rubylibprefix.
27069	  follows the change in r23368.
27070
27071Thu May 21 12:07:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27072
27073	* include/ruby/ruby.h (RB_EVENT_HOOKS_HAVE_CALLBACK_DATA):
27074	  new macro for compatibility check.
27075
27076Thu May 21 01:43:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27077
27078	* include/ruby/ruby.h (rb_long2int, RARRAY_LENINT): check long to
27079	  cast to int.  [ruby-dev:38508]
27080
27081	* struct.c, vm_eval.c, vm_insnhelper.c: use RARRAY_LENINT.
27082
27083Wed May 20 21:00:27 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27084
27085	* rb_enc_get_index: allows an arbitrary RData as the argument but not
27086	  only what points a rb_encoding.
27087
27088Wed May 20 20:54:37 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
27089
27090	* spec/.gitignore: ignores rubyspec/ and mspec/.
27091
27092Wed May 20 19:41:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27093
27094	* struct.c (rb_struct_new): get rid of too large alloca.
27095
27096	* struct.c (rb_struct_hash): use long.
27097
27098Wed May 20 18:58:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27099
27100	* vm_eval.c, vm_insnhelper.c: argument number is restricted to
27101	  int, and fixed overflow.
27102
27103Wed May 20 18:34:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27104
27105	* enum.c (zip_ary): should use long.
27106
27107	* enumerator.c (inspect_enumerator): should use long.
27108
27109Wed May 20 09:18:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27110
27111	* string.c (rb_str_count): optimized for 1byte string count by
27112	  avoiding tr_setup_table().
27113
27114Wed May 20 06:25:29 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27115
27116	* encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known
27117	  to be valid.
27118
27119	* string.c (enc_strlen): coderange specified version of
27120	  rb_enc_strlen().  use rb_enc_fast_mbclen() if coderange is 7bit
27121	  or valid.
27122
27123	* string.c (str_gsub): use rb_enc_fast_mbclen().
27124
27125	* string.c (rb_str_reverse, rb_str_split_m, rb_str_each_char,
27126	  scan_once): ditto.
27127
27128Wed May 20 06:20:05 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27129
27130	* lib/tempfile.rb (Tempfile#unlink): close first for Windows.  a
27131	  patch from Florian Frank.  [ruby-core:23505]
27132
27133Wed May 20 00:13:38 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27134
27135	* encoding.c (rb_enc_codepoint_len): combine rb_enc_codepoint()
27136	  and rb_enc_codelen() in one function to reduce calls.
27137
27138	* encoding.c (rb_enc_codepoint): compatibility function.
27139
27140	* sprintf.c (rb_str_format): use rb_enc_codepoint_len().
27141
27142	* string.c (rb_str_inspect, rb_str_upcase_bang,
27143	  rb_str_downcase_bang, rb_str_capitalize_bang,
27144	  rb_str_swapcase_bang, trnext, tr_trans, rb_str_delete_bang,
27145	  rb_str_squeeze_bang, rb_str_count, rb_str_split_m,
27146	  rb_str_each_line, rb_str_each_codepoint, rb_str_lstrip_bang,
27147	  sym_printable): ditto.
27148
27149	* transcode.c (make_econv_exception): use rb_enc_mbc_to_codepoint()
27150
27151Wed May 20 00:05:52 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27152
27153	* vm_method.c (rb_attr): should preserve encoding info.
27154	  [ruby-dev:38498]
27155
27156Tue May 19 22:54:35 2009  Yusuke Endoh  <mame@tsg.ne.jp>
27157
27158	* time.c (time_minus): always return a Float.  [ruby-dev:38446]
27159
27160	* time.c (time_to_r): new method.  [ruby-dev:38461]
27161
27162Tue May 19 13:59:35 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27163
27164	* class.c (clone_method): add cast to remove warning from
27165	  rb_gc_write_barrier().
27166
27167Tue May 19 13:54:15 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27168
27169	* struct.c (struct_ivar_get): new function to avoid repeated
27170	  rb_intern() calls.
27171
27172	* struct.c (rb_struct_iv_get): use struct_ivar_get()
27173
27174	* struct.c (num_members): ditto.
27175
27176	* struct.c (rb_struct_s_members): ditto.
27177
27178	* class.c (rb_singleton_class): cache symbol to reduce calls to
27179	  rb_intern().
27180
27181Tue May 19 07:52:05 2009  Tanaka Akira  <akr@fsij.org>
27182
27183	* test/test_time.rb: make tests timezone independent.
27184	  reported by zunda.  [ruby-dev:38492]
27185
27186Mon May 18 21:40:11 2009  Tanaka Akira  <akr@fsij.org>
27187
27188	* lib/pathname.rb (Pathname#sub): suppress a warning.  [ruby-dev:38488]
27189
27190Sun May 17 23:23:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27191
27192	* lib/mkmf.rb (SRC_EXT): should be flat.
27193	  http://twitter.com/_tad_/status/1825862632
27194
27195Sun May 17 23:05:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27196
27197	* ruby.c (ruby_init_loadpath_safe): VARIABLE_LIBPATH is always
27198	  defined, see its value instead.
27199
27200Sun May 17 18:59:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27201
27202	* node.h (nd_line): NODE_LMASK is not needed.
27203
27204	* node.h (NOEX_SAFE): made int.
27205
27206Sun May 17 14:23:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27207
27208	* compile.c (rb_parse_in_eval): returns true in true eval, not in
27209	  main.  [ruby-dev:38382]
27210
27211	* parse.y (program): inherits dvars in eval or main.
27212
27213Sun May 17 14:02:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27214
27215	* ruby.c (ruby_script): sets also VM toplevel program name.
27216
27217	* ruby.c (process_options): no longer needs additional frame.
27218
27219	* vm.c (rb_vm_get_sourceline): should not access out of bound.
27220
27221Sun May 17 09:47:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27222
27223	* ruby.c (cmdline_options_init): initialize encodings.
27224
27225	* ruby.c (add_modules, require_libraries, process_sflag):
27226
27227	* ruby.c (process_sflag): not process twice.
27228
27229	* ruby.c (moreswitches): get rid of possible overflow.
27230
27231Sun May 17 09:31:05 2009  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
27232
27233	* ext/win32ole/win32ole.c (foletypelib_name): should return
27234	  encoded name corresponding to WIN32OLE.codepage.
27235
27236Sun May 17 09:02:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27237
27238	* ruby.c (ruby_init_loadpath_safe): support for cygwin 1.7.  see
27239	  [ruby-core:23241].
27240	  gets rid of possible buffer overflow with realpath().
27241
27242	* ruby.c (set_arg0): get rids of overrun.
27243
27244Sat May 16 18:38:32 2009  Kouhei Sutou  <kou@cozmixng.org>
27245
27246	* lib/rss/parser.rb: add nil check.
27247
27248Sat May 16 18:36:01 2009  Kouhei Sutou  <kou@cozmixng.org>
27249
27250	* test/rss/test_maker_atom_feed.rb: suppress warnings.
27251
27252Sat May 16 18:33:15 2009  Kouhei Sutou  <kou@cozmixng.org>
27253
27254	* NEWS: add RSS::Maker.supported?(version).
27255
27256Sat May 16 18:26:42 2009  Kouhei Sutou  <kou@cozmixng.org>
27257
27258	* lib/rss/parser.rb, test/test_parser_1.0.rb: fix foaf:Image
27259	  element causes parse error even if ignore_unknown_element mode.
27260
27261Sat May 16 18:14:19 2009  Kouhei Sutou  <kou@cozmixng.org>
27262
27263	* lib/rss/maker.rb, lib/rss/maker/0.9.rb,
27264	  test/test_maker_*.rb: add RSS::Maker.supported?
27265
27266Sat May 16 18:12:39 2009  Kouhei Sutou  <kou@cozmixng.org>
27267
27268	* lib/rss/content/*, lib/rss/dublincore/*: fix circular require.
27269	* test/test_maker_atom_feed.rb,
27270	  test/test_maker_atom_entry.rb: suppress warnings.
27271
27272Sat May 16 18:07:17 2009  Kouhei Sutou  <kou@cozmixng.org>
27273
27274	* lib/rss/maker/feed.rb, test/test_maker_atom_feed.rb:
27275	  remove needless codes.
27276
27277Sat May 16 18:05:07 2009  Kouhei Sutou  <kou@cozmixng.org>
27278
27279	* lib/rss/maker/entry.rb: fix a typo.
27280
27281Sat May 16 18:02:57 2009  Kouhei Sutou  <kou@cozmixng.org>
27282
27283	* lib/rss/maker/feed.rb, test/test_maker_atom_entry.rb,
27284	  test/test_maker_atom_feed.rb: fix duplicated dc:date.
27285	  Reported by Kazuhiro NISHIYAMA. Thanks!!! [ruby-list:46014]
27286
27287Sat May 16 18:02:16 2009  Kouhei Sutou  <kou@cozmixng.org>
27288
27289	* lib/rss/maker/base.rb, lib/rss/maker/1.0.rb, lib/rss/maker/feed.rb,
27290	  test/rss/test_maker_1.0.rb, test/rss/test_maker_atom_feed.rb:
27291	  RSS 1.0 and Atom feed maker treat maker.channel.language as
27292	  maker.channel.dc_language.
27293
27294Sat May 16 17:57:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27295
27296	* ext/dl/lib/dl/callback.rb (DL#remove_callback_internal): ignore
27297	  unbound function.  [ruby-dev:38474]
27298
27299Sat May 16 17:51:11 2009  Kouhei Sutou  <kou@cozmixng.org>
27300
27301	* sample/rss/rss_recent.rb, sample/rss/list_description.rb: use
27302	  UTF-8.
27303
27304Sat May 16 17:47:55 2009  Kouhei Sutou  <kou@cozmixng.org>
27305
27306	* lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION):
27307	  0.2.5 -> 0.2.6.
27308
27309Sat May 16 17:26:04 2009  Narihiro Nakamura  <authorNari@gmail.com>
27310
27311	* iseq.c (rb_iseq_clone): use longlife object and insert write barrier.
27312
27313	* vm_insnhelper.c (vm_cref_push): ditto.
27314
27315	* vm_insnhelper.h (COPY_CREF): insert write barrier.
27316
27317Sat May 16 13:49:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27318
27319	* variable.c (rb_autoload_load): gets rid of false warning.
27320	  [ruby-core:23466]
27321
27322Sat May 16 10:59:54 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27323
27324	* sample/drb/dhasenc.rb: add magic comment for encoding.
27325
27326	* sample/mine.rb: ditto.
27327
27328	* ext/tk/sample/tcltklib/sample1.rb: ditto.
27329
27330Sat May 16 09:49:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27331
27332	* parse.y (magic_comment_encoding): ignores unused emacs-style
27333	  encoding comment, as like Vim styles.  [ruby-core:23470]
27334
27335Sat May 16 09:30:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27336
27337	* defs/keywords (reserved_word): made inline function static.
27338	  [ruby-core:23210]
27339
27340	* parse.y (rb_reserved_word): ordinary function for ripper.
27341
27342Sat May 16 09:19:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27343
27344	* parse.y (magic_comment_encoding): use rb_compile_warning() to
27345	  show the currently parsing file name.  [ruby-core:23469]
27346
27347Sat May 16 09:03:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27348
27349	* configure.in (ruby_version): now version.h includes
27350	  include/ruby/version.h, so need to tell to cpp to see
27351	  $(srcdir)/include.  [ruby-core:23468]
27352
27353Fri May 15 17:35:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27354
27355	* array.c (rb_ary_shift, rb_ary_shift_m): clears unused elements.
27356	  [ruby-dev:38448]
27357
27358Fri May 15 15:15:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27359
27360	* variable.c (rb_autoload_load): checks if iv_tbl is valid.
27361	  [ruby-dev:38456]
27362
27363Fri May 15 11:17:48 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
27364
27365	* win32/setup.mak (-version-): now version.h includes
27366	  include/ruby/version.h, so need to tell to cpp to check
27367	  $(srcdir)/include.
27368	  reported by KIMURA Koichi at http://www.kt.rim.or.jp/%7ekbk/zakkicho/09/zakkicho0905b.html#D20090514-6
27369
27370Thu May 14 16:13:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27371
27372	* ext/etc/etc.c (etc_getpwuid): use rb_uid_t.  [ruby-dev:38443]
27373
27374	* ext/stringio/stringio.c (strio_ungetbyte): encoding should no
27375	  be effective.
27376
27377Thu May 14 10:17:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27378
27379	* sample/test.rb (valid_syntax?): defaults to us-ascii.
27380
27381Wed May 13 22:34:31 2009  Narihiro Nakamura  <authorNari@gmail.com>
27382
27383	* gc.c: add longlife garbage collection. [ruby-dev:38423]
27384	  (NORMAL_HEAPS_USED): new macro.
27385	  (LONGLIFE_ALLOCATE_HEAPS_MIN): ditto.
27386	  (add_longlife_heaps_slot): new function.
27387	  (rb_newobj_from_longlife_heap): ditto.
27388	  (rb_newobj_longlife): ditto.
27389	  (rb_node_newnode_longlife): ditto.
27390	  (rb_gc_write_barrier): ditto.
27391	  (remembered_set_recycle): ditto.
27392	  (rb_gc_mark_remembered_set): ditto.
27393	  (clear_mark_longlife_heaps): ditto.
27394	  (gc_sweep_for_longlife): ditto.
27395	  (assign_heap_slot): new argument to longlife heaps slot.
27396	  (add_freelist): ditto.
27397	  (gc_sweep): avoid longlife heap slot. set longlife_collection
27398	  flag at add heap.
27399	  (rb_gc_force_recycle): avoid mark object and remembered_set
27400	  object.
27401	  (garbage_collect): add longlife collection.
27402	  (rb_gc_start): invoke longlife collection.
27403	  (gc_profile_record_get): for longlife collection profile.
27404	  (gc_profile_result): ditto.
27405
27406	* include/ruby/intern.h (rb_gc_write_barrier): declared.
27407
27408	* include/ruby/ruby.h (FL_REMEMBERED_SET): renamed from FL_RESERVED.
27409
27410	* debug.c (FL_REMEMBERED_SET): ditto.
27411
27412	* insns.def (setinlinecache): insert write barrier.
27413
27414	* vm_insnhelper.c (vm_method_search): ditto.
27415
27416	* set_relation (set_relation): use longlife object.
27417
27418	* vm.c (vm_define_method): ditto.
27419
27420	* vm_core.h (NEW_INLINE_CACHE_ENTRY): ditto.
27421
27422	* vm_method.c (rb_add_method): ditto.
27423
27424	* class.c (rb_add_method): ditto.
27425
27426	* node.h (NEW_NODE_LONGLIFE): new macro.
27427	  (rb_node_newnode_longlife): declared.
27428
27429Wed May 13 15:23:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27430
27431	* include/ruby/version.h: extracted the extensions interface and
27432	  the never-changeable info.
27433
27434Wed May 13 03:20:47 2009  Tanaka Akira  <akr@fsij.org>
27435
27436	* time.c (time_init_1): unused variable removed.
27437
27438Tue May 12 21:03:02 2009  Tanaka Akira  <akr@fsij.org>
27439
27440	* time.c: support fixed UTC offset.  [ruby-dev:38326]
27441	  (leap_year_v_p): new macro.
27442	  (TIME_FIXOFF_P): new macro.
27443	  (TIME_SET_FIXOFF): new macro.
27444	  (time_init_0): renamed from time_init.
27445	  (time_set_utc_offset): new function.
27446	  (vtm_add_offset): new function.
27447	  (utc_offset_arg): new function.
27448	  (time_init_1): new function.
27449	  (time_init): call time_init_0 or time_init_1 according argc.
27450	  (validate_utc_offset): new function.
27451	  (time_localtime_m): new function.
27452	  (time_fixoff): new function.
27453	  (time_getlocaltime): take optional UTC offset argument.
27454	  (time_get_tm): support fixed UTC offset time.
27455	  (Init_Time): make Time#{initialize,localtime,getlocal} varargs.
27456
27457	* strftime.c (rb_strftime): vtm->zone can be NULL now.
27458
27459Tue May 12 18:23:40 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
27460
27461	* yarvtest: removed because it's outdated.
27462
27463Mon May 11 21:46:20 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27464
27465	* parse.y: add semicolons to some grammar rules not terminated
27466	  with them.  a patch from Dave B in [ruby-core:23422].
27467
27468Mon May 11 20:08:33 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
27469
27470	* io.c (Init_IO): add constant File::NOATIME.  [ruby-core:23194]
27471
27472Mon May 11 13:08:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27473
27474	* mkconfig.rb (rubylibdir): use rubylibprefix.  [ruby-dev:38426]
27475
27476Mon May 11 08:37:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27477
27478	* ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): support
27479	   coercing into Rational.   [ruby-core:23415]
27480
27481Mon May 11 04:39:45 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27482
27483	* lib/net/smtp.rb (Net::SMTP#check_auth_args): should not change
27484	  number of methods for the sake of compatibility.
27485
27486Sun May 10 11:36:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27487
27488	* ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check if
27489	  the argument is an instance of DL::CFunc.
27490
27491	* ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks
27492	  if DL::CFunc.  [ruby-dev:38403].
27493
27494	* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): strips
27495	  spaces.  based on a patch from Takashi Tamura in [ruby-dev:38398].
27496
27497	* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): block must be
27498	  given if arg is not bound.  [ruby-dev:38404]
27499
27500	* ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check if
27501	  the argument is an instance of DL::CFunc.
27502
27503Sat May  9 19:57:00 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
27504
27505	* test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
27506	  test. see [ruby-core:23282]
27507
27508Sat May  9 19:23:46 2009  Tadayoshi Funaba  <tadf@dotrb.org>
27509
27510	* lib/date.rb: use subsec instead of nsec.
27511
27512Sat May  9 12:19:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27513
27514	* hash.c: 3rd argument of rb_hash_foreach() is VALUE.
27515
27516	* hash.c (rb_any_hash, recursive_hash): use VALUE for hash.
27517
27518Sat May  9 11:14:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27519
27520	* vm_eval.c (rb_f_catch): gets rid of issue with gcc 4.4.  a patch
27521	  from Alexey Froloff in [ruby-core:23398].  [ruby-core:22924]
27522
27523Fri May  8 19:38:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27524
27525	* lib/mkmf.rb (try_link0): removes waste dSYM directories left
27526	  when debug and universal-binary are enabled.
27527
27528	* lib/mkmf.rb (check_sizeof): fixed wrong recurring result for
27529	  intrinsic types.
27530
27531Fri May  8 10:14:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27532
27533	* Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):
27534	  program base name.  [ruby-dev:38241]
27535
27536	* configure.in (--with-soname): base name of shared library.
27537	  [ruby-dev:38290]
27538
27539Fri May  8 10:07:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27540
27541	* array.c (rb_ary_flatten_bang): clears temporary array.
27542
27543Fri May  8 02:30:14 2009  Akinori MUSHA  <knu@iDaemons.org>
27544
27545	* lib/set.rb (SortedSet#add): Do not require each newly added
27546	  element to be Comparable but to respond to <=>. [ruby-dev:38371]
27547
27548Thu May  7 21:42:51 2009  Yusuke Endoh  <mame@tsg.ne.jp>
27549
27550	* test/ruby/test_rubyoptions.rb (test_indentation_check): add a test
27551	  for indentation check.  [ruby-dev:38382]
27552
27553Thu May  7 16:40:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27554
27555	* array.c (rb_ary_flatten_bang): returns nil if nothing changed.
27556	  a patch from Marc-Andre Lafortune in [ruby-core:23382].
27557
27558Thu May  7 14:26:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27559
27560	* array.c (rb_ary_sample): negative sample number is invalid.
27561	  [ruby-core:23374]
27562
27563Thu May  7 14:16:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27564
27565	* string.c, include/ruby/encoding.h: fixed types.
27566
27567	* include/ruby/encoding.h (rb_enc_nth): long is used for index.
27568
27569Thu May  7 14:01:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27570
27571	* range.c (r_le): fixed types.
27572
27573	* range.c (range_eql): fixed rdoc.
27574
27575Thu May  7 13:10:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27576
27577	* io.c (pipe_open): should be rb_pid_t.
27578
27579Wed May  6 16:50:20 2009  Tanaka Akira  <akr@fsij.org>
27580
27581	* math.c (math_gamma): use a table for positive small integers.
27582
27583Wed May  6 09:27:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27584
27585	* README.ja: code for THINK_C does not exist already.  [Bug #1435]
27586
27587Wed May  6 05:33:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27588
27589	* configure.in (CFLAGS, CXXFLAGS): strips extra spaces.
27590
27591Tue May  5 11:29:07 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27592
27593	* tool/ifchange: Fix: arguments which begin with minus sign may
27594	  parsed as options.  Because of older systems, don't use --
27595	  but use parentheses.
27596
27597Tue May  5 10:42:28 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27598
27599	* ext/json: Update to JSON 1.1.4.
27600
27601Tue May  5 07:22:37 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27602
27603	* transcode.c: NOMAP is now multibyte direct map.
27604
27605	* transcode.c: remove ASIS.
27606
27607	* transcode_data.h: ditto.
27608
27609	* tool/transcode-tb (ActionMap#generate_info): remove :asis.
27610
27611	* tool/transcode-tb (ActionMap#generate_info): add :nomap0.
27612
27613	* enc/trans/utf8_mac.trans: replace :asis by :nomap0.
27614
27615Sat May  2 22:53:02 2009  Akinori MUSHA  <knu@iDaemons.org>
27616
27617	* lib/set.rb (SortedSet): Fix document. [Bug #1429]
27618
27619Sat May  2 10:34:29 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27620
27621	* enc/trans/utf8_mac-tbl.rb: don't use Unicode escape.
27622
27623	* enc/trans/utf8_mac.trans: follow above.
27624
27625Sat May  2 09:19:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27626
27627	* array.c (Init_Array): made #to_s an alias to #inspect to reduce
27628	  the result of recursive array.  a patch from ujihisa at
27629	  [ruby-dev:38362]
27630
27631Fri May  1 16:50:05 2009  Akinori MUSHA  <knu@iDaemons.org>
27632
27633	* lib/set.rb (Set#merge): Only directly use the passed objects
27634	  @hash instance variable when self and the passed object are
27635	  instances of the same class. [Bug #118]
27636
27637Fri May  1 16:44:11 2009  Akinori MUSHA  <knu@iDaemons.org>
27638
27639	* lib/set.rb (SortedSet#add): Do not let an incomparable object
27640	  in. [Bug #118]
27641
27642Fri May  1 13:18:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27643
27644	* eval_intern.h (_longjmp): never return.  see [ruby-core:23241]
27645
27646Fri May  1 01:31:19 2009  Tanaka Akira  <akr@fsij.org>
27647
27648	* ext/extmk.rb: use RbConfig instead of Config.
27649
27650	* instruby.rb: ditto.
27651
27652	* lib/rubygems.rb: ditto.
27653
27654	* test/rubygems/test_config.rb: ditto.
27655
27656Thu Apr 30 21:23:30 2009  Tanaka Akira  <akr@fsij.org>
27657
27658	* runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
27659
27660	* spec/default.mspec: ditto.
27661
27662	* yarvtest/yarvtest.rb: ditto.
27663
27664	* instruby.rb: ditto.
27665
27666	* benchmark/report.rb: ditto.
27667
27668	* benchmark/runc.rb: ditto.
27669
27670	* tool/eval.rb: ditto.
27671
27672	* test/rubygems/test_gem.rb: ditto.
27673
27674	* test/rubygems/test_config.rb: ditto.
27675
27676	* test/rubygems/test_gem_platform.rb: ditto.
27677
27678Thu Apr 30 18:18:13 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27679
27680	* lib/net/http.rb: documentation typo fixed.  [ruby-core:23335]
27681
27682Thu Apr 30 15:27:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27683
27684	* enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross
27685	  compile.
27686
27687Thu Apr 30 11:35:30 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27688
27689	* encoding.c (rb_filesystem_encoding): Change filesystem_encoding of
27690	  Mac OS X to UTF-8.
27691
27692Wed Apr 29 21:23:40 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27693
27694	* enc/iso_2022_jp.h: add CP50221.
27695
27696	* enc/trans/iso2022.trans: add converter for CP50221.
27697
27698Wed Apr 29 15:22:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27699
27700	* file.c (rb_file_join): recursive array has no meaning as path
27701	  name.  [ruby-core:23329]
27702
27703Tue Apr 28 19:09:45 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
27704
27705	* test/test_timeout.rb (TestTimeout#test_timeout): add a test.
27706
27707Tue Apr 28 07:13:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27708
27709	* lib/pp.rb (Struct#pretty_print): coerce to a string since
27710	  anonymous class has name no longer.  [ruby-dev:38349]
27711
27712Mon Apr 27 16:47:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27713
27714	* configure.in (ruby_version): uses sed instead of grep if the
27715	  result is need, to get rid of GREP_OPTIONS.  [ruby-dev:38336]
27716
27717Mon Apr 27 01:25:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27718
27719	* ext/readline/readline.c (readline_getc): use rl_getc_function if
27720	  possible, to get rid of hang up at EOF without a newline.
27721
27722Sun Apr 26 23:19:32 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27723
27724	* enc/trans/utf8_mac.trans: Add converter for UTF8-MAC.
27725
27726	* enc/trans/utf8_mac-tbl.rb: ditto.
27727
27728	* test/ruby/test_econv.rb: tests for above.
27729
27730Sun Apr 26 22:17:02 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27731
27732	* tool/transcode-tb (ActionMap#each_firstbyte):
27733	  if :asis collides other mappings, use another.
27734
27735	* tool/transcode-tb (ActionMap#generate_info):
27736	  add :asis for ASIS.
27737
27738Sun Apr 26 21:59:43 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27739
27740	* transcode.c (ASIS): added for multi byte direct map.
27741
27742	* transcode.c (transcode_restartable0): ditto.
27743
27744Sun Apr 26 20:33:12 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27745
27746	* tool/transcode-tb (ActionMap#generate_node):
27747	  Use ActionMap#gennode instead of generate_node
27748	  because of initialization.
27749
27750Sun Apr 26 20:21:39 2009  NARUSE, Yui  <naruse@ruby-lang.org>
27751
27752	* .gitignore: added.
27753
27754Sun Apr 26 20:17:24 2009  Tanaka Akira  <akr@fsij.org>
27755
27756	* lib/rake.rb: use RbConfig::CONFIG instead of Config::CONFIG.
27757
27758	* lib/rbconfig/datadir.rb: ditto.
27759
27760Sun Apr 26 19:30:29 2009  Tanaka Akira  <akr@fsij.org>
27761
27762	* time.c (time_arg): unused variable removed.
27763
27764Sun Apr 26 18:35:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27765
27766	* io.c (io_reopen): keeps pathv for prep_stdio.  [ruby-dev:38131]
27767
27768Sun Apr 26 15:13:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27769
27770	* lib/optparse.rb (OptionParser#parse_in_order): do not make an
27771	  option from non-option argument.  [ruby-dev:38333]
27772
27773Sat Apr 25 19:11:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27774
27775	* configure.in (ac_cv_func_daemon): use daemon(3) only on *BSD.
27776
27777	* process.c (proc_daemon): double fork to ensure not having ctty.
27778	  [ruby-core:23305]
27779
27780Sat Apr 25 16:19:48 2009  Tanaka Akira  <akr@fsij.org>
27781
27782	* time.c (month_arg): extracted from time_arg.
27783	  (validate_vtm): ditto.
27784
27785Sat Apr 25 16:03:21 2009  Tanaka Akira  <akr@fsij.org>
27786
27787	* time.c (TIME_COPY_GMT): new macro.
27788	  (time_s_at): use TIME_COPY_GMT.
27789	  (time_succ): ditto.
27790
27791Sat Apr 25 15:54:04 2009  Tanaka Akira  <akr@fsij.org>
27792
27793	* time.c (time_mload): use TIME_SET_UTC.
27794
27795Sat Apr 25 15:47:54 2009  Tanaka Akira  <akr@fsij.org>
27796
27797	* time.c (time_get_tm): take time_object instead of gmt.
27798
27799Sat Apr 25 15:39:44 2009  Tanaka Akira  <akr@fsij.org>
27800
27801	* time.c (time_succ): refactored to avoid gmt variable.
27802	  (strftimev): use TIME_UTC_P.
27803	  (time_strftime): ditto.
27804
27805Sat Apr 25 15:21:33 2009  Tanaka Akira  <akr@fsij.org>
27806
27807	* time.c (TIME_UTC_P): new macro.
27808	  (TIME_SET_UTC): ditto.
27809	  (TIME_LOCALTIME_P): ditto.
27810	  (TIME_SET_LOCALTIME): ditto.
27811	  (time_utc_p): use the above macro.
27812	  (time_localtime): ditto.
27813	  (time_localtime): ditto.
27814	  (time_gmtime): ditto.
27815	  (time_to_s): ditto.
27816	  (time_add): ditto.
27817	  (time_sec): ditto.
27818	  (time_min): ditto.
27819	  (time_hour): ditto.
27820	  (time_mday): ditto.
27821	  (time_mon): ditto.
27822	  (time_year): ditto.
27823	  (time_wday): ditto.
27824	  (wday_p): ditto.
27825	  (time_yday): ditto.
27826	  (time_isdst): ditto.
27827	  (time_zone): ditto.
27828	  (time_utc_offset): ditto.
27829	  (time_to_a): ditto.
27830	  (strftimev): ditto.
27831	  (time_strftime): ditto.
27832	  (time_mdump): ditto.
27833
27834Thu Apr 23 01:30:37 2009  Akinori MUSHA  <knu@iDaemons.org>
27835
27836	* ext/zlib/zlib.c (Zlib::GzipFile#path): New method.
27837
27838Wed Apr 22 20:25:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27839
27840	* time.c (time_timespec): check out-of-range.  [ruby-core:23282]
27841	  [Bug #1396]
27842
27843Wed Apr 22 19:33:13 2009  Tanaka Akira  <akr@fsij.org>
27844
27845	* lib/time.rb (Time.parse): use year completion in Date._parse.
27846
27847Wed Apr 22 11:12:15 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
27848
27849	* time.c (GMTIME, LOCALTIME): should set result if not have *_r().
27850
27851	* time.c (localtime_with_gmtoff): now always needed tmbuf.
27852
27853Wed Apr 22 10:38:47 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
27854
27855	* dir.c (glob_helper): C99(gcc)-ism.
27856
27857	* time.c (find_time_t): GUESS macro needs the variable named ``result''
27858	  always.
27859
27860Wed Apr 22 09:27:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27861
27862	* time.c (localtime_with_gmtoff): fixed cross function jump.
27863
27864Wed Apr 22 03:06:56 2009  Tanaka Akira  <akr@fsij.org>
27865
27866	* lib/time.rb (Time#rfc2822): pad leading zeros for year.
27867	  (Time#httpdate): ditto.
27868	  (Time#xmlschema): ditto.
27869
27870Wed Apr 22 02:10:48 2009  Tanaka Akira  <akr@fsij.org>
27871
27872	* lib/time.rb (Time#xmlschema): use subsec instead of nsec.
27873
27874Wed Apr 22 01:27:38 2009  Tanaka Akira  <akr@fsij.org>
27875
27876	* time.c (time_arg): use the year argument as-is.  [ruby-dev:38194]
27877
27878	* lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049.
27879
27880Wed Apr 22 00:32:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27881
27882	* time.c (find_time_t): constified.
27883
27884Wed Apr 22 00:11:19 2009  Tanaka Akira  <akr@fsij.org>
27885
27886	* time.c (leap_year_v_p): removed.
27887
27888Tue Apr 21 23:52:45 2009  Tanaka Akira  <akr@fsij.org>
27889
27890	* time.c: remove time_t restriction from Time class.
27891
27892	* timev.h: new file to define struct vtm.
27893
27894	* strftime.c: format struct vtm instead of struct tm.
27895
27896	* ext/syck/rubyext.c (mktime_do): don't use time_t;
27897
27898	[ruby-dev:38191]
27899
27900Tue Apr 21 09:25:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27901
27902	* dir.c (dir_path, dir_each, glob_helper): use readdir_r() if
27903	  available.
27904
27905Tue Apr 21 09:20:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27906
27907	* lib/mkmf.rb (init_mkmf): needs default library path even if
27908	  cross compiling.
27909
27910Tue Apr 21 07:07:45 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27911
27912	* array.c (rb_ary_push): bypass rb_ary_store().
27913
27914Tue Apr 21 01:25:16 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27915
27916	* bignum.c (bigsub_int): subtraction without making internal
27917	  bignum values.
27918
27919	* bignum.c (bigadd_int): ditto for addition.
27920
27921	* bignum.c (bigtrunc): declare inline.
27922
27923	* bignum.c (rb_quad_pack): fix condition.
27924
27925Tue Apr 21 01:13:42 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
27926
27927	* symbian/setup (config.h): added TIMET2NUM and NUM2TIMET to match
27928	  the change in time.c
27929
27930Mon Apr 20 20:29:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
27931
27932	* string.c (rb_str_split_m): faster processing on 7bit strings.
27933
27934	* string.c (ascii_isspace): faster isspace() for 7bit strings.
27935
27936Sun Apr 19 14:43:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27937
27938	* eval.c (ruby_cleanup): the order of local variables on stack is
27939	  undefined.  should use outermost VALUE for ruby_init_stack.
27940
27941	* gc.c (ruby_get_stack_grow_direction, Init_stack): allows volatile
27942	  pointer.
27943
27944	* thread_*.c (ruby_init_stack): ditto.
27945
27946Sun Apr 19 13:17:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
27947
27948	* gem_prelude.rb (Gem::QuickLoader#push_gem_version_on_load_path):
27949	  check for requirement if the gem is installed.  a patch from
27950	  Kyosuke MOROHASHI at [ruby-dev:38020].
27951
27952Sun Apr 19 01:39:17 2009  Tanaka Akira  <akr@fsij.org>
27953
27954	* process.c (proc_seteuid_m): defined to use rb_f_notimplement if not
27955	  implemented.
27956	  (proc_setegid_m): ditto.
27957
27958Sun Apr 19 01:03:56 2009  Tanaka Akira  <akr@fsij.org>
27959
27960	* process.c (proc_setuid): use rb_f_notimplement if not implemented.
27961	  (proc_setgid): ditto.
27962
27963Sat Apr 18 23:07:18 2009  Tanaka Akira  <akr@fsij.org>
27964
27965	* ext/readline/readline.c: use rb_f_notimplement for methods not
27966	  implemented.
27967
27968	* ext/openssl/ossl_engine.c: ditto.
27969
27970	* ext/openssl/ossl_config.c: ditto.
27971
27972	* ext/openssl/ossl_cipher.c: ditto.
27973
27974	* ext/openssl/ossl_pkcs5.c: ditto.
27975
27976	* ext/openssl/ossl_x509ext.c: ditto.
27977
27978	* ext/socket/socket.c: ditto.
27979
27980	* ext/socket/basicsocket.c: ditto.
27981
27982	* ext/socket/ancdata.c: ditto.
27983
27984	* ext/socket/unixsocket.c: ditto.
27985
27986	* ext/iconv/iconv.c: ditto.
27987
27988Sat Apr 18 21:07:34 2009  Tanaka Akira  <akr@fsij.org>
27989
27990	* ext/curses/curses.c: use rb_f_notimplement for methods not
27991	  implemented.
27992
27993Fri Apr 17 01:51:17 2009  Tanaka Akira  <akr@fsij.org>
27994
27995	* node.h (rb_notimplement_body_p): declared.
27996
27997	* vm_method.c (Init_eval_method): suppress a warning.
27998
27999	* io.c (rb_io_fsync): use rb_f_notimplement if not implemented.
28000	  (rb_io_close_on_exec_p): ditto.
28001	  (rb_io_set_close_on_exec): ditto.
28002	  (rb_io_fcntl): ditto.
28003	  (rb_f_syscall): ditto.
28004
28005	* dir.c (dir_tell): ditto.
28006	  (dir_seek): ditto.
28007	  (dir_s_chroot): ditto.
28008
28009	* process.c (proc_getpgrp): ditto.
28010	  (proc_setpgrp): ditto.
28011	  (proc_getpgid): ditto.
28012	  (proc_setpgid): ditto.
28013	  (proc_setsid): ditto.
28014	  (proc_getpriority): ditto.
28015	  (proc_setpriority): ditto.
28016	  (proc_getrlimit): ditto.
28017	  (proc_setrlimit): ditto.
28018	  (p_sys_setuid): ditto.
28019	  (p_sys_setruid): ditto.
28020	  (p_sys_seteuid): ditto.
28021	  (p_sys_setreuid): ditto.
28022	  (p_sys_setresuid): ditto.
28023	  (p_sys_setgid): ditto.
28024	  (p_sys_setrgid): ditto.
28025	  (p_sys_setegid): ditto.
28026	  (p_sys_setregid): ditto.
28027	  (p_sys_setreuid): ditto.
28028	  (p_sys_setresgid): ditto.
28029	  (p_sys_issetugid): ditto.
28030	  (proc_getgroups): ditto.
28031	  (proc_setgroups): ditto.
28032	  (proc_initgroups): ditto.
28033	  (proc_daemon): ditto.
28034	  (rb_proc_times): ditto.
28035
28036	* file.c (rb_file_s_lchown): ditto.
28037	  (rb_file_s_link): ditto.
28038	  (rb_file_s_symlink): ditto.
28039	  (rb_file_s_readlink): ditto.
28040	  (rb_file_s_truncate): ditto.
28041	  (rb_file_truncate): ditto.
28042
28043Fri Apr 17 00:53:47 2009  Yusuke Endoh  <mame@tsg.ne.jp>
28044
28045	* lib/cgi/core.rb (read_multipart): When path is not defined,
28046	  define local_path as a method always returning nil instead of
28047	  aliasing.  This is because StringIO#path no longer exists.
28048
28049Fri Apr 17 00:45:09 2009  Yusuke Endoh  <mame@tsg.ne.jp>
28050
28051	* dir.c (bracket): fix escape handling for range character in bracket
28052	  of fnmatch pattern.  e.g., '[a\-c]' should not match 'b'.
28053
28054Thu Apr 16 23:09:03 2009  Tanaka Akira  <akr@fsij.org>
28055
28056	* class.c (rb_define_method_id): use rb_define_notimplement_method_id
28057	  if rb_f_notimplement is given.
28058	  (rb_define_protected_method): ditto.
28059	  (rb_define_private_method): ditto.
28060	  (rb_define_method): use rb_define_method_id.
28061
28062	* include/ruby/intern.h (rb_f_notimplement): declared.
28063	  (rb_define_notimplement_method_id): declared.
28064
28065	* proc.c (method_inspect): show not-implemented.
28066
28067	* vm_method.c (notimplement_body): new variable.
28068	  (rb_notimplement_body_p): new function.
28069	  (rb_method_boundp): return false if not implemented.
28070	  (rb_f_notimplement): new function.
28071	  (rb_define_notimplement_method_id): new function.
28072
28073	* process.c (rb_f_fork): use rb_f_notimplement if not implemented.
28074
28075	* file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented.
28076
28077Wed Apr 15 20:24:49 2009  Yusuke Endoh  <mame@tsg.ne.jp>
28078
28079	* array.c (rb_ary_flatten): flatten(0) works as Array#dup.
28080	  [ruby-core:23168]
28081
28082	* test/ruby/test_array.rb: add a test for above.
28083
28084Wed Apr 15 11:53:35 2009  NARUSE, Yui  <naruse@ruby-lang.org>
28085
28086	* dir.c (fnmatch_helper): use rb_enc_precise_mbclen and
28087	  fail if bytes are invalid. [ruby-dev:38307]
28088
28089Tue Apr 14 18:11:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28090
28091	* dir.c (bracket): if same in bytes, path is matching.
28092	  [ruby-dev:38305]
28093
28094Mon Apr 13 17:21:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28095
28096	* sprintf.c (rb_str_format): scan coderange incrementally.
28097
28098Mon Apr 13 11:35:55 2009  NARUSE, Yui  <naruse@ruby-lang.org>
28099
28100	* sprintf.c (rb_str_format): optimize previous commit.
28101	  [ruby-list:45954]
28102
28103Mon Apr 13 10:58:54 2009  NARUSE, Yui  <naruse@ruby-lang.org>
28104
28105	* sprintf.c (rb_str_format): check encoding compatibility only on
28106	  real parts.
28107
28108Sun Apr 12 19:54:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28109
28110	* dir.c (bracket, fnmatch_helper): compare bytewise first, to get
28111	  rid of invalid byte sequence.  [ruby-dev:38303]
28112
28113Sat Apr 11 08:45:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28114
28115	* configure.in (Makefile): phony ruby target needs empty command.
28116
28117Fri Apr 10 11:32:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28118
28119	* common.mk (up): updates timestamp file.
28120
28121Fri Apr 10 04:54:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28122
28123	* configure.in (Makefile): info-program needs common.mk.
28124
28125Fri Apr 10 03:46:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28126
28127	* configure.in (RUBY_INSTALL_NAME): use --program-transform-name.
28128
28129	* instruby.rb, mkconfig.rb: deal with --program-transform-name
28130	  better.  now supports s, y commands and single addressing.
28131
28132Thu Apr  9 23:59:11 2009  Tanaka Akira  <akr@fsij.org>
28133
28134	* configure.in: don't override the rule for ruby.
28135
28136Wed Apr  8 21:58:12 2009  Yusuke Endoh  <mame@tsg.ne.jp>
28137
28138	* string.c (rb_str_dump): buffer length plus one byte for null
28139	  terminator.  [ruby-dev:38294]
28140
28141	* test/ruby/test_m17n.rb (test_str_dump): add a test for above.
28142
28143Wed Apr  8 20:08:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28144
28145	* string.c (rb_str_rstrip_bang): should not sign-expand non-ascii.
28146	  [ruby-core:23158]
28147
28148Wed Apr  8 17:29:29 2009  NARUSE, Yui  <naruse@ruby-lang.org>
28149
28150	* string.c (rb_str_chop_bang): reset coderange. [ruby-core:23155]
28151
28152Wed Apr  8 14:00:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28153
28154	* lib/mkmf.rb (what_type?): fixed typo, and refined for member of
28155	  aggregation types.
28156
28157	* lib/mkmf.rb (Logging.postpone): copy postponed output always.
28158
28159Wed Apr  8 09:45:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28160
28161	* configure.in (LIBRUBY_SO): removed redundant additional version
28162	  numbers.
28163
28164Tue Apr  7 13:35:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28165
28166	* common.mk (info): shows configured names.
28167
28168	* configure.in (Makefile): works even if RUBY_INSTALL_NAME
28169	  contains macro.
28170
28171	* configure.in (LIBRUBY_DLDFLAGS): compatibility version is
28172	  ruby_version.
28173
28174	* configure.in (RUBY_REPLACE_TYPE): defines type modifier prefix
28175	  for printf.
28176
28177Tue Apr  7 02:27:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28178
28179	* configure.in (RUBY_DEFINT): should pass includes to
28180	  AC_CHECK_SIZEOF and RUBY_CHECK_SIZEOF.
28181
28182	* configure.in (CFLAGS, CXXFLAGS): need ARCH_FLAG for universal
28183	  binary.
28184
28185Tue Apr  7 01:08:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28186
28187	* numeric.c (flo_to_s): reduce fragments if no precision lost.
28188	  c.f. [ruby-core:23075]
28189
28190Mon Apr  6 23:16:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28191
28192	* configure.in (CFLAGS, CXXFLAGS): override with $cflags and
28193	  $cxxflags if not given.  [ruby-core:23130]
28194
28195Mon Apr  6 19:26:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28196
28197	* file.c (utime_failed): refined the error message for EINVAL on
28198	  DOSISH platforms, where it may fail depending on filesystems.
28199	  see [ruby-dev:38277].
28200
28201Mon Apr  6 16:38:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28202
28203	* file.c (sys_fail2, rb_file_s_readlink, BUFCHECK, rmext),
28204	  (rb_file_s_basename): get rid of overflow.
28205
28206Mon Apr  6 15:11:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28207
28208	* numeric.c (int_chr): checks overflow.
28209
28210Mon Apr  6 10:49:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28211
28212	* test/stringio/test_stringio.rb (test_path): StringIO#path is no
28213	  longer defined.  [ruby-dev:38254]
28214
28215Mon Apr  6 10:47:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28216
28217	* ext/stringio/stringio.c (strio_path): removed.  [ruby-dev:38254]
28218
28219Sun Apr  5 18:02:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28220
28221	* include/ruby/intern.h (rb_fd_resize): does nothing on Win32.
28222
28223Sat Apr  4 17:05:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28224
28225	* include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro to
28226	  check compatibility.  [ruby-dev:38162]
28227
28228Sat Apr  4 07:38:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28229
28230	* mkconfig.rb (sitearch): default to arch.
28231
28232Fri Apr  3 14:02:42 2009  Akinori MUSHA  <knu@iDaemons.org>
28233
28234	* lib/irb/completion.rb (IRB::InputCompletor::Operators): Add
28235	  overloadable negative operators.
28236
28237	* lib/irb/ruby-lex.rb (RubyLex#lex_init): Support overloadable
28238	  negative operators.
28239
28240	* lib/irb/ruby-lex.rb (RubyLex#identify_identifier): Minus signs
28241	  need to be escaped in regexp character class.
28242
28243	* misc/ruby-mode.el (ruby-font-lock-keywords, ruby-parse-partial):
28244	  Support overloadable negative operators.
28245
28246Fri Apr  3 12:45:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28247
28248	* ext/extmk.rb: quotes arguments with spaces always.
28249
28250Thu Apr  2 14:50:06 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
28251
28252	* lib/getoptlong.rb: remove unused rdoc/usage from example.
28253	   [ruby-core:23098]
28254
28255Thu Apr  2 07:42:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28256
28257	* win32/Makefile.sub (config.h): updated.
28258
28259Wed Apr  1 20:37:49 2009  Tanaka Akira  <akr@fsij.org>
28260
28261	* configure.in (rb_cv_fork_with_pthread): fail if the child process
28262	  fail.
28263
28264Wed Apr  1 19:46:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28265
28266	* lib/mkmf.rb (create_makefile): support for parallel make.  a
28267	  patch from Takuto Matsuu at [ruby-dev:38220].
28268
28269Wed Apr  1 19:39:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28270
28271	* configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.
28272	  a patch from Wataru Kimura at [ruby-dev:38225].
28273
28274Wed Apr  1 18:53:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28275
28276	* vm_dump.c (rb_vm_bugreport): should not #include inside a
28277	  function, since headers may have declarations.
28278	  c.f. [ruby-core:23095]
28279
28280Wed Apr  1 18:44:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28281
28282	* mkconfig.rb: ignores version numbers in config.status.  replaces
28283	  all $$s in program_transform_name.
28284
28285Wed Apr  1 15:12:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28286
28287	* Makefile.in (.c.i): use CPP instead of CC, since gcc -E can'
28288	  work with multiple -arch options.
28289
28290Wed Apr  1 13:46:20 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
28291
28292	* thread.c (rb_thread_fd_select): new function to call select
28293	  using rb_fdset_t.
28294
28295	* io.c (select_internal): use rb_thread_fd_select instead of
28296	  rb_thread_select.  based on the patch from Kengo Matsuyama.
28297	  [ruby-dev:38221]
28298
28299Wed Apr  1 13:16:19 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
28300
28301	* process.c (rb_f_sleep): RDoc disambiguation.  [ruby-talk:332632]
28302
28303Tue Mar 31 15:17:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28304
28305	* configure.in: fixed the help strings for the header and library
28306	  dir switches, and updated to use AS_HELP_STRING.  patches from
28307	  Richard Brown, c.f. [ruby-core:23067].
28308
28309Mon Mar 31 08:18:57 2009  James Edward Gray II  <jeg2@ruby-lang.org>
28310
28311	* test/csv/test_interface.rb, test/csv/test_serialization.rb:
28312	  Trying more fixes some failing tests on Windows.
28313
28314Mon Mar 30 19:04:25 2009  Tanaka Akira  <akr@fsij.org>
28315
28316	* .gdbinit (rp): show negative fixnum correctly.
28317
28318Mon Mar 30 12:12:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28319
28320	* vm_eval.c (eval_string_with_cref): replaces the message if
28321	  frozen.  [ruby-dev:38208]
28322
28323Mon Mar 30 01:00:20 2009  James Edward Gray II  <jeg2@ruby-lang.org>
28324
28325	* test/csv/test_interface.rb: Trying a fix for some failing tests
28326	  on Windows.
28327
28328Sun Mar 29 08:59:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28329
28330	* lib/pathname.rb (Pathname#relative_path_from): compares path
28331	  components according to system default case-sensitiveness.
28332	  [ruby-core:22829]
28333
28334Sat Mar 28 11:10:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28335
28336	* common.mk (ruby.imp): all symbols in static library need to be
28337	  exported, so that encoding-extensions can be loaded.  based on a
28338	  patch from Yutaka Kanemoto <kinpoco AT gmail.com> in
28339	  [ruby-talk:332282].
28340
28341Sat Mar 28 08:49:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28342
28343	* sprintf.c (rb_str_format): checks if named argument given twice.
28344
28345	* sprintf.c (GETNAMEARG): remembers named arg is used, to get rid
28346	  of too many arguments warning.
28347
28348Sat Mar 28 03:16:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28349
28350	* lib/mkmf.rb (link_command, cc_command, cpp_command): should no
28351	  override extout defined in extmk.rb.
28352
28353Fri Mar 27 12:56:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28354
28355	* lib/mkmf.rb (what_type?): checks more restrictively, and
28356	  supports universal binary.
28357
28358Fri Mar 27 01:33:37 2009  Tanaka Akira  <akr@fsij.org>
28359
28360	* time.c (time_cmp): negate the result of reverse comparison.
28361
28362Fri Mar 27 01:19:50 2009  Tanaka Akira  <akr@fsij.org>
28363
28364	* bignum.c (rb_cmpint): FIX2INT may fail on LP64 platforms.
28365
28366Thu Mar 26 12:22:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28367
28368	* lib/yaml/rubytypes.rb (String#is_binary_data?): TAB would be
28369	  usually considered to be included in text data.
28370
28371	* lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nil
28372	  and is irrelevant to whether a file is binary.  copied from
28373	  above since TAB and newlines would be usually considered to be
28374	  included in text data.
28375
28376Thu Mar 26 11:33:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28377
28378	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): considers
28379	  --program-prefix and --program-suffix.  reapplied r19923.
28380
28381Wed Mar 25 07:45:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28382
28383	* configure.in (target_alias): replaces cpu with universal too.
28384
28385	* configure.in (target): replaces cpu with arch by --with-arch.
28386
28387	* mkconfig.rb (TOPDIR): chops arch in config instead of
28388	  RUBY_PLATFORM which varies on universal_binary.
28389
28390	* mkconfig.rb (MAJOR, MINOR, TEENY): reads from version.h always.
28391
28392Tue Mar 24 19:23:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28393
28394	* configure.in (RUBY_CHECK_SIZEOF): need to include $4.
28395
28396Tue Mar 24 17:08:52 2009  Akinori MUSHA  <knu@iDaemons.org>
28397
28398	* io.c (rb_io_inspect): Cannot access fptr->fd if fptr is NULL.
28399	  This fixes a coredump caused by: ruby -e "class X < IO; def
28400	  initialize; end; end; p X.new.inspect"
28401
28402Mon Mar 23 22:01:00 2009  Tanaka Akira  <akr@fsij.org>
28403
28404	* time.c (time_timespec): use NUM2TIMET.
28405	  (time_s_at): ditto.
28406
28407Mon Mar 23 21:52:26 2009  Akinori MUSHA  <knu@iDaemons.org>
28408
28409	* process.c (Init_process): Better patch for eliminating an
28410	  "unused variable".
28411
28412Mon Mar 23 21:41:14 2009  Akinori MUSHA  <knu@iDaemons.org>
28413
28414	* ext/dbm/dbm.c (fdbm_initialize): Make the file variable
28415	  volatile, because FilePathValue() currently does not protect the
28416	  given variable from GC. (Probably it should)
28417
28418	* ext/sdbm/init.c (fsdbm_initialize): Ditto.
28419
28420Mon Mar 23 19:22:14 2009  Akinori MUSHA  <knu@iDaemons.org>
28421
28422	* file.c (rb_file_s_lstat): Back out.
28423
28424Mon Mar 23 18:54:57 2009  Akinori MUSHA  <knu@iDaemons.org>
28425
28426	* file.c (rb_file_s_stat, rb_file_s_lstat): Remove repeated type
28427	  checks.
28428
28429Mon Mar 23 14:57:48 2009  Narihiro Nakamura  <authorNari@gmail.com>
28430
28431	* gc.c (init_heap): set default to heap slots length
28432	  if HEAP_OBJ_LIMIT is larger than HEAP_MIN_SLOTS. [Bug #1310]
28433	  (set_heaps_increment): increment next_heaps_length if
28434	  next_heaps_length and heaps_used are same.
28435
28436Mon Mar 23 14:32:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28437
28438	* win32/win32.c (rb_w32_spawn): use original command if not found.
28439
28440Mon Mar 23 06:51:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28441
28442	* enc/depend (link_so): replaces $(TARGET) with basename of the
28443	  target.  [ruby-talk:330286]
28444
28445Sun Mar 22 14:51:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28446
28447	* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL as
28448	  application name for batch files.
28449
28450Sat Mar 21 15:54:41 2009  Tanaka Akira  <akr@fsij.org>
28451
28452	* ext/openssl/ossl_ssl.c (write_would_block): defined.
28453	  (read_would_block): defined.
28454	  (ossl_start_ssl): add nonblock argument.
28455	  (ossl_ssl_connect): follow ossl_start_ssl change.
28456	  (ossl_ssl_connect_nonblock): new method.
28457	  (ossl_ssl_accept): follow ossl_start_ssl change.
28458	  (ossl_ssl_accept_nonblock): new method.
28459	  (ossl_ssl_read_internal): use write_would_block and
28460	  read_would_block.
28461	  (ossl_ssl_write_internal): ditto.
28462
28463Sat Mar 21 08:19:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28464
28465	* process.c (rb_exec): prints error message only on platforms
28466	  neither close-on-exec nor spawnv is supported.
28467
28468Sat Mar 21 08:17:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28469
28470	* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): omit program name
28471	  if actual program path is found.  [ruby-core:22960]
28472
28473Sat Mar 21 07:25:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28474
28475	* io.c (pipe_open): should pass program name even if multiple
28476	  arguments are given.  fix for TestProcess::test_argv0.
28477
28478Sat Mar 21 02:37:07 2009  Tanaka Akira  <akr@fsij.org>
28479
28480	* ext/openssl/lib/openssl/buffering.rb
28481	  (OpenSSL::Buffering#write_nonblock): new method.
28482
28483	* ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method.
28484	  (ossl_ssl_write_internal): defined.
28485	  (ossl_ssl_write): use ossl_ssl_write_internal.
28486
28487Fri Mar 20 18:25:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28488
28489	* win32/win32.c (errmap): added ERROR_MOD_NOT_FOUND.
28490
28491Fri Mar 20 09:22:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28492
28493	* configure.in (libprefix): must not append "lib" after $(libdir),
28494	  when load_relative is not used on darwin.  a patch from Kenta
28495	  Murata at [ruby-dev:38182].
28496
28497Thu Mar 19 20:29:40 2009  Tanaka Akira  <akr@fsij.org>
28498
28499	* io.c (rb_mWaitReadable): defined.
28500	  (rb_mWaitWritable): defined.
28501	  (io_getpartial): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN.
28502	  (rb_io_write_nonblock): extend IO::WaitWritable on EWOULDBLOCK and
28503	  EAGAIN.
28504
28505	* error.c (make_errno_exc): extracted from rb_sys_fail.
28506	  (rb_mod_sys_fail): new function.
28507
28508	* include/ruby/ruby.h (rb_mod_sys_fail): declared.
28509	  (rb_mWaitReadable): declared.
28510	  (rb_mWaitWritable): declared.
28511
28512	* ext/socket/init.c (rsock_s_recvfrom_nonblock): extend
28513	  IO::WaitReadable on EWOULDBLOCK and EAGAIN.
28514	  (rsock_s_accept_nonblock): extend IO::WaitReadable on EWOULDBLOCK,
28515	  EAGAIN, ECONNABORTED and EPROTO.
28516
28517	* ext/socket/socket.c (sock_connect_nonblock): extend IO::WaitWritable
28518	  on EINPROGRESS.
28519
28520	* ext/socket/ancdata.c (bsock_sendmsg_internal): extend
28521	  IO::WaitWritable on EWOULDBLOCK and EAGAIN.
28522	  (bsock_recvmsg_internal): extend IO::WaitReadable on EWOULDBLOCK and
28523	  EAGAIN.
28524
28525	* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): raise SSLError
28526	  extended by IO::WaitReadable/IO::WaitWritable on
28527	  SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE.
28528
28529	* ext/openssl/ossl.c (ossl_make_error): extracted from ossl_raise.
28530	  (ossl_exc_new): new function.
28531
28532	* ext/openssl/ossl.h (ossl_exc_new): declared.
28533
28534	* lib/net/protocol.rb (rbuf_fill): rescue IO::WaitReadable and
28535	  IO::WaitWritable.
28536
28537	  [ruby-core:22539], [ruby-dev:38140]
28538
28539Thu Mar 19 18:49:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28540
28541	* configure.in (RUBY_CHECK_SIZEOF): allows qualified name.
28542
28543	* configure.in (RUBY_REPLACE_TYPE): checks more strictly.
28544
28545	* configure.in (struct stat.st_size, struct stat.st_blocks),
28546	  (struct stat.st_ino): check for size.
28547
28548	* lib/mkmf.rb (check_sizeof): allows qualified name.
28549
28550	* file.c (rb_stat_ino, rb_stat_blocks): check by size.
28551
28552Wed Mar 18 16:59:48 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
28553
28554	* test/test_syslog.rb (TestSyslog#test_open): check
28555	  param after block again. because detect not to call block.
28556
28557Wed Mar 18 16:54:04 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
28558
28559	* ext/socket/ancdata.c: not use pktinfo.ipi_spec_dst if not defined
28560	* ext/socket/extconf.rb: define HAVE_IPI_SPEC_DST
28561
28562Wed Mar 18 16:38:11 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
28563
28564	* test/test_syslog.rb (TestSyslog#test_open): check
28565	  block parameter in block. [ruby-dev:38180]
28566
28567Wed Mar 18 12:48:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28568
28569	* error.c (report_bug): rb_bug can be caused by extension
28570	  libraries.
28571
28572Wed Mar 18 02:41:33 2009  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
28573
28574	* lib/drb/drb.rb (open_server_inaddr_any): fixed multiple network
28575	  families problem. a patch from Charl Matthee at [ruby-core:21033].
28576
28577Tue Mar 17 21:42:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28578
28579	* tool/make-snapshot (package): creates .revision.time and passes
28580	  CHDIR to create prerequisite files.
28581
28582Tue Mar 17 18:00:55 2009  Akinori MUSHA  <knu@iDaemons.org>
28583
28584	* enumerator.c (Enumerator#{each_,}{with_index,with_object}): Fix
28585	  a bug where any parameter but the first one is dropped even if
28586	  multiple values are yielded with. [Bug #1198]
28587
28588Tue Mar 17 14:25:16 2009  Tanaka Akira  <akr@fsij.org>
28589
28590	* lib/pathname.rb (Pathname#sub): set $~ in block.binding.
28591	  [ruby-dev:38173]
28592
28593Tue Mar 17 13:48:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28594
28595	* win32/Makefile.sub (config.h): added RUBY_COREDLL.
28596
28597	* ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc
28598	  or RUBY_COREDLL is given.  [ruby-core:22828]
28599
28600Tue Mar 17 10:29:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28601
28602	* dir.c, dln.c, parse.y, re.c, ruby.c, sprintf.c, strftime.c,
28603	  string.c, util.c, variable.c: use strlcpy, memcpy and snprintf
28604	  instead of strcpy, strncpy and sprintf.
28605
28606Mon Mar 16 17:15:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28607
28608	* test/dl/test_win32.rb (Win32API): enclosed by DL::TestWin32.
28609	  [ruby-core:22827]
28610
28611Mon Mar 16 16:37:22 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28612
28613	* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core),
28614	  (lib_watchdog_core): tv_usec is not time_t.
28615
28616Mon Mar 16 12:30:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28617
28618	* common.mk (REVISION_H): keeps timestamp of revision.h.
28619	  [ruby-core:22900]
28620
28621	* tool/ifchange, win32/ifchange.bat: extended --timestamp option.
28622
28623Mon Mar 16 09:28:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28624
28625	* Makefile.in, common.mk, win32/Makefile.sub: added preprocessing rules.
28626
28627Sun Mar 15 12:34:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28628
28629	* test/minitest/test_mini_test.rb: fixed tests depending on the
28630	  detail of floating point representation.
28631
28632Sun Mar 15 12:01:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28633
28634	* lib/rubygems/installer.rb (Gem::Installer#shebang): fix for env
28635	  shebang.
28636
28637Sun Mar 15 11:15:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28638
28639	* include/ruby/ruby.h ({RSTRING,RBIGNUM}_EMBED_LEN_MAX): made int.
28640
28641	* include/ruby/ruby.h (OBJ_{TAINTED,UNTRUSTED,FROZEN}): return int.
28642
28643	* include/ruby/encoding.h (ENC_CODERANGE): ditto.
28644
28645Sun Mar 15 11:11:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28646
28647	* string.c (rb_hash_uint, rb_hash_start, rb_hash_end): use VALUE
28648	  rather than unsigned int.
28649
28650Sun Mar 15 11:00:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28651
28652	* ruby.c (load_file_internal): stop the timer thread before exec.
28653
28654Sun Mar 15 09:17:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28655
28656	* common.mk (.y.c): use SRC_FILE which contains slashes instead of
28657	  backslashes.  [ruby-core:22891]
28658
28659Sun Mar 15 08:26:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28660
28661	* common.mk (srcs-ext): creates ext/dl/callback/callback.c also.
28662
28663Sun Mar 15 03:29:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28664
28665	* process.c (SAVED_GROUP_ID, p_gid_switch): should be rb_gid_t.
28666
28667Sun Mar 15 02:53:13 2009  Tanaka Akira  <akr@fsij.org>
28668
28669	* string.c (rb_str_subpat): accept capture name.
28670	  (rb_str_aref): follow above change.
28671	  (rb_str_aref_m): pass the 2nd argument to rb_str_subpat.
28672	  (rb_str_subpat_set): accept capture name.
28673	  (rb_str_aset): follow above change.
28674	  (rb_str_partition): ditto.
28675	  (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set.
28676
28677	* include/ruby/intern.h (rb_reg_backref_number): declared.
28678
28679	* re.c (rb_reg_backref_number): defined.
28680
28681	  [ruby-core:21057]
28682
28683Sun Mar 15 02:09:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28684
28685	* proc.c (bmcall): should not uninitialized variable.  a patch from
28686	  pegacorn at [ruby-dev:38169].
28687
28688Sat Mar 14 18:25:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28689
28690	* util.c (ruby_scan_oct, ruby_scan_hex): use size_t.
28691
28692Sat Mar 14 18:18:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28693
28694	* proc.c (rb_proc_call, rb_node_arity, bmcall, curry): checks
28695	  overflow.
28696
28697	* proc.c (rb_proc_parameters): unnamed_parameters() expects in
28698	  not VALUE.
28699
28700Sat Mar 14 17:54:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28701
28702	* util.c (ruby_each_words): assume no string exceeds INT_MAX.
28703
28704Sat Mar 14 15:59:04 2009  Tanaka Akira  <akr@fsij.org>
28705
28706	* process.c (rb_spawn_internal): use int variable for status.
28707
28708Sat Mar 14 14:45:51 2009  Tanaka Akira  <akr@fsij.org>
28709
28710	* process.c (rb_f_system): use rb_pid_t for pid.
28711	  (rb_spawn_internal): local variable renamed.
28712
28713Sat Mar 14 14:16:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28714
28715	* util.c (ruby_strdup, Balloc, rv_alloc): use size_t.
28716
28717Sat Mar 14 13:53:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28718
28719	* util.c (ruby_qsort): the result of cmp must be signed, so ge
28720	  rid of reuse of a variable.
28721
28722Sat Mar 14 10:56:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28723
28724	* dln.c (init_funcname_len, dln_find_exe_r, dln_find_file_r): use
28725	  size_t.
28726
28727	* file.c (rb_stat_inspect, file_expand_path): ditto.
28728
28729	* util.c (ruby_qsort): ditto.
28730
28731Sat Mar 14 10:39:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28732
28733	* lib/mkmf.rb (CXX_EXT): checks for case-sensitive filesystem with
28734	  FNM_SYSCASE rather than build_os.
28735
28736Fri Mar 13 23:03:40 2009  Tanaka Akira  <akr@fsij.org>
28737
28738	* ext/socket/init.c (wait_connectable0): remove unreachable code.
28739
28740Fri Mar 13 23:00:02 2009  Tanaka Akira  <akr@fsij.org>
28741
28742	* configure.in (RUBY_CHECK_SIZEOF): pass [include] to AC_CHECK_SIZEOF.
28743
28744Fri Mar 13 20:58:11 2009  Tanaka Akira  <akr@fsij.org>
28745
28746	* dln.c (dln_find_1): compare fspace in size_t world.
28747
28748Fri Mar 13 18:58:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28749
28750	* configure.in (CFLAGS, CXXFLAGS): moved after warnflags.
28751
28752Fri Mar 13 18:10:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28753
28754	* vm_eval.c (rb_throw_obj): inverted call flow.  [ruby-core:22872]
28755
28756Fri Mar 13 17:04:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28757
28758	* include/ruby/ruby.h (bool): not define to get rid of conflict
28759	  against curses.
28760
28761Fri Mar 13 16:45:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28762
28763	* ext/openssl/openssl_missing.h (i2d_of_void): cast for callbacks.
28764	  [ruby-core:22860]
28765
28766	* ext/openssl/ossl_engine.c (ossl_engine_s_by_id): suppress a
28767	  warning.
28768
28769	* ext/openssl/ossl_ssl.c (ossl_sslctx_flush_sessions): time_t may
28770	  be larger than long.
28771
28772	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_get_time),
28773	  (ossl_ssl_session_get_timeout): use TIMET2NUM() to convert
28774	  time_t.
28775
28776Fri Mar 13 15:10:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28777
28778	* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should use
28779	  OPENSSL_free instead of free.  a patch from Charlie Savage at
28780	  [ruby-core:22858].
28781
28782Fri Mar 13 21:11:51 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
28783
28784	* ext/sdbm/_sdbm.c: should include "ruby/defines.h" as well for
28785	  prototypes of compatibility functions on Win32 platform.
28786	  [ruby-core:22870]
28787
28788Fri Mar 13 10:42:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28789
28790	* configure.in (AC_HEADER_STDBOOL): added.
28791
28792	* include/ruby/ruby.h (NUM2INT, rb_special_const_p): returns true
28793	  and false instead of Qtrue and Qfalse for platforms where VALUE
28794	  is bigger than int.
28795
28796	* gc.c (gc_stress_set), ext/openssl/ossl_asn1.c (decode_bool): go
28797	  rid of variables named `bool'.
28798
28799Fri Mar 13 10:16:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28800
28801	* configure.in (struct stat.st_size): may be huge.
28802
28803Fri Mar 13 09:30:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28804
28805	* bignum.c (bigfixize): zero length Bignum is 0.
28806
28807Fri Mar 13 09:17:12 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
28808
28809	* lib/fileutils.rb (FileUtils#fu_get_gid): stringify group
28810	  argument before making regexp match.  [ruby-dev:38155]
28811
28812Fri Mar 13 08:06:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28813
28814	* util.c (rv_strdup): macro to duplicate nul-terminated string.
28815	  [ruby-core:22852]
28816
28817Thu Mar 12 22:41:41 2009  Tanaka Akira  <akr@fsij.org>
28818
28819	* ext/openssl: suppress warnings.
28820
28821	* ext/openssl/ossl.h (OSSL_Debug): don't use gcc extension for
28822	  variadic macro.
28823
28824Thu Mar 12 22:29:36 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
28825
28826	* win32/Makefile.sub (WARNFLAGS): warning 4996 is only in VC++8 or
28827	  later.
28828
28829Thu Mar 12 22:14:01 2009  Tanaka Akira  <akr@fsij.org>
28830
28831	* ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because
28832	  OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum.
28833
28834Thu Mar 12 18:16:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28835
28836	* array.c, bignum.c, dln.c, error.c, gc.c, io.c, marshal.c,
28837	  numeric.c, pack.c, strftime.c, string.c, thread.c, transcode.c,
28838	  transcode_data.h, util.c, variable.c, vm_dump.c,
28839	  include/ruby/encoding.h, missing/crypt.c, missing/vsnprintf.c:
28840	  suppress VC type warnings.  [ruby-core:22726]
28841
28842	* marshal.c (div0), numeric.c (infinite_value): new functions to
28843	  get rid of VC division by 0 warnings.
28844
28845	* st.c: use st_index_t for indexes instead of int.
28846
28847	* vm.c (rb_vm_get_sourceline), vm_insnhelper.c (vm_throw): use
28848	  rb_num_t.
28849
28850Thu Mar 12 09:30:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28851
28852	* configure.in (RUBY_CHECK_SIZEOF): if same size type is found, no
28853	  more calculation is needed.
28854
28855	* configure.in (RUBY_DEFINT): falls back to RUBY_CHECK_SIZEOF if
28856	  size is not immediate.
28857
28858Thu Mar 12 09:24:24 2009  Tanaka Akira  <akr@fsij.org>
28859
28860	* transcode_data.h: suppress warnings of overflow.
28861
28862Thu Mar 12 09:15:14 2009  Tanaka Akira  <akr@fsij.org>
28863
28864	* include/ruby/encoding.h: suppress warnings of overflow.
28865
28866Thu Mar 12 05:49:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28867
28868	* configure.in (warnflags): added some default flags,
28869	  pointer-arith, write-strings and shorten-64-to-32, but suppress
28870	  unused-parameter and missing-field-initializers, if possible.
28871
28872	* configure.in (RUBY_CHECK_HUGE): checks whether a value range is
28873	  larger than long.
28874
28875	* file.c (rb_stat_blocks): struct stat.st_blocks may be larger
28876	  than long.
28877
28878	* io.c (copy_stream_fallback_body): off_t may be larger than long.
28879
28880	* iseq.c (rb_iseq_disasm): RSTRING_LEN() returns long.
28881
28882	* process.c (rb_f_sleep): time() needs time_t.
28883
28884	* random.c (fill_random_seed): enclosed conditionally used
28885	  variables.
28886
28887	* thread_pthread.c (ruby_init_stack): range of rlim_cur may be
28888	  larger than int.
28889
28890	* missing/vsnprintf.c (BSD_vfprintf): commented out code which has
28891	  no effect at all.
28892
28893Thu Mar 12 02:10:57 2009  Tanaka Akira  <akr@fsij.org>
28894
28895	* configure.in: strip spaces from ruby_version.
28896	  Sun C 5.9 SunOS_i386 Build47_dlight 2007/05/22 generates
28897	  `ruby_version= 1 "." 9 "." 1'.
28898
28899Thu Mar 12 01:18:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28900
28901	* dir.c (dir_seek): use long for seekdir().
28902
28903Thu Mar 12 01:08:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28904
28905	* tool/ytab.sed: replaces backslashes with slash for nmake.
28906
28907Wed Mar 11 21:23:06 2009  Tanaka Akira  <akr@fsij.org>
28908
28909	* time.c (time_mload): don't clear tm_mday.
28910
28911Wed Mar 11 20:13:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28912
28913	* ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol
28914	  name.   [ruby-dev:38150]
28915
28916Wed Mar 11 17:26:38 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
28917
28918	* ext/dl/win32/lib/Win32API.rb: call by :stdcall as default.
28919	  [ruby-core:22826]
28920
28921Wed Mar 11 13:27:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28922
28923	* parse.y (stack_type): uses VALUE which is able to be stored
28924	  parser stack.
28925
28926Wed Mar 11 13:22:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28927
28928	* win32/win32.c (init_env): set TMPDIR if none of TMPDIR, TMP,
28929	  TEMP is set.
28930
28931	* win32/win32.c (rb_w32_telldir, rb_w32_seekdir): should use long,
28932	  as defined by SUSv3.
28933
28934Wed Mar 11 13:03:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28935
28936	* ext/dl/handle.c (rb_dlhandle_sym): fixed heap corruption.
28937	  [ruby-core:22822]
28938
28939Wed Mar 11 06:12:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28940
28941	* ruby.c (ruby_init_loadpath_safe): expands libpath and removes
28942	  last /lib.
28943
28944Wed Mar 11 04:47:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28945
28946	* time.c (time_to_i, time_hash): time_t may be bigger than long
28947	  and int.
28948
28949	* time.c (time_timeval, rb_time_timeval, obj2nsec, time_strftime),
28950	  (time_mdump, time_mload): suppress warnings.
28951
28952	* win32/Makefile.sub (config.h): added TIMET2NUM and NUM2TIMET.
28953
28954Wed Mar 11 04:29:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28955
28956	* win32/win32.c: suppress warnings.  based on a patch from Charlie
28957	  Savage at [ruby-core:22804].
28958
28959Wed Mar 11 04:22:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28960
28961	* signal.c (sig_trap): suppress warnings.
28962
28963Tue Mar 10 20:07:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28964
28965	* win32/Makefile.sub (WARNFLAGS): uses -wd4996 instead of
28966	  CRTDEFFLAGS.  cf. [ruby-core:22725]
28967
28968Tue Mar 10 19:58:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28969
28970	* include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixed
28971	  versions to suppress warnings.
28972
28973	* ext/dl/callback/mkcallback.rb (DLTYPE[FLOAT]): cast to suppress
28974	  warnings.  [ruby-core:22792]
28975
28976	* array.c, bignum.c, gc.c, numeric.c, string.c, util.c, insns.def,
28977	  missing/crypt.c, missing/vsnprintf.c, : suppress warnings.
28978	  [ruby-core:22792]
28979
28980Tue Mar 10 13:45:54 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28981
28982	* win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SO
28983	  and so on.  based on a patch by Charlie Savage at
28984	  [ruby-core:22794]
28985
28986	* win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb so
28987	  that extconf.rb could refer it.  [ruby-core:22725]
28988
28989Tue Mar 10 11:36:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28990
28991	* iseq.c (prepare_iseq_build): too few arguments to function
28992	  rb_ary_tmp_new().
28993
28994Tue Mar 10 10:53:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28995
28996	* iseq.c (rb_iseq_compile_with_option): argument may be converted.
28997
28998Tue Mar 10 04:56:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
28999
29000	* configure.in (MINIRUBY): keep macro into Makefile.
29001
29002	* configure.in (RUBY_CHECK_SIZEOF): fix for fallback.
29003
29004	* configure.in (MANGLED_PATH): defines for RUBYLIB_PREFIX.
29005
29006	* ruby.c (ruby_init_loadpath_safe): uses string as buffer.
29007
29008	* symbian/setup (config_h): defines MANGLED_PATH.
29009
29010Tue Mar 10 03:48:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29011
29012	* ext/dl/callback/depend: fix for parallel build.
29013
29014	* ext/dl/callback/extconf.rb: callback.h is no longer created.
29015
29016	* ext/dl/callback/mkcallback.rb: creates main source first.
29017
29018	* ext/dl/callback/extconf.rb ($distcleanfiles): added callback.c.
29019
29020Tue Mar 10 00:06:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29021
29022	* configure.in (load_relative): new option to enable load path
29023	  relative to libruby_so.
29024
29025	* ruby.c (ruby_init_loadpath_safe): added the case using dladdr().
29026
29027Mon Mar  9 16:49:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29028
29029	* lib/rake: updated to rake code to rake-0.8.4 source code base.
29030
29031Mon Mar  9 16:03:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29032
29033	* lib/rubygems/installer.rb (Gem::Installer#initialize): env may
29034	  not be under /usr/bin.
29035
29036	* lib/rubygems/installer.rb (Gem::Installer#shebang): uses /bin/sh
29037	  if shebang has any options, since env shebang trick does no
29038	  work with options.
29039
29040Mon Mar  9 15:19:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29041
29042	* instruby.rb (manpages): use basename to compare and for Tempfile.
29043
29044Mon Mar  9 14:55:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29045
29046	* instruby.rb (default gems): installs default gemspecs.
29047
29048Mon Mar  9 14:48:08 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29049
29050	* win32/Makefile.sub (OPTFLAGS): simplified. see [ruby-core:22725]
29051
29052Mon Mar  9 14:33:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29053
29054	* instruby.rb: prints names of the directories where files are
29055	  installed to.
29056
29057Mon Mar  9 02:25:54 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29058
29059	* test/ruby/test_proc.rb: add some tests.
29060
29061Mon Mar  9 01:38:00 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29062
29063	* test/ruby/test_enum.rb: add some tests.
29064
29065Mon Mar  9 01:12:37 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29066
29067	* test/ruby/test_object.rb: add a test for Object#method_missing.
29068
29069Mon Mar  9 01:11:17 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29070
29071	* test/ruby/test_file_exhaustive.rb: add tests for File#size and
29072	  File.absolute_path.
29073
29074Sun Mar  8 23:02:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29075
29076	* win32/Makefile.sub (LDFLAGS): always prepends -link.
29077
29078Sun Mar  8 11:39:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29079
29080	* configure.in (RUBY_CHECK_SIZEOF): dirty hack to compute multiple
29081	  sizeof, for apple's universal binary.
29082
29083Sat Mar  7 22:06:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29084
29085	* configure.in (universal_binary): checks if sizes are same on all
29086	  architectures.
29087
29088Sat Mar  7 18:45:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29089
29090	* configure.in: checks if cd really succeeded.
29091
29092Sat Mar  7 14:24:47 2009  Tanaka Akira  <akr@fsij.org>
29093
29094	* configure.in: don't use CONFIG_SHELL for testing shell feature in
29095	  Makefile.
29096
29097Sat Mar  7 14:07:31 2009  Tanaka Akira  <akr@fsij.org>
29098
29099	* configure.in: fix the location of cdcmd.
29100
29101Sat Mar  7 13:52:01 2009  Tanaka Akira  <akr@fsij.org>
29102
29103	* configure.in: the shell which runs configure may be different from
29104	  the shell for make.  configure likes bash but Makefile specifies
29105	  SHELL=/bin/sh.
29106
29107Sat Mar  7 12:31:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29108
29109	* test/erb/test_erb.rb: reverted space sensitive test results.
29110
29111	* test/rdoc/test_rdoc_parser_c.rb: ditto.
29112
29113	* test/rdoc/test_rdoc_ri_default_display.rb: ditto.
29114
29115Fri Mar  6 23:35:59 2009  Tanaka Akira  <akr@fsij.org>
29116
29117	* lib/securerandom.rb (SecureRandom.urlsafe_base64): add optional
29118	  argument to add padding.
29119
29120Fri Mar  6 19:25:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29121
29122	* configure.in (RUBY_LIB_VERSION_STYLE): sets full or minor style
29123	  not to show RUBY_VERSION_MAJOR and so on.
29124
29125	* version.h (RUBY_LIB_VERSION): makes from RUBY_LIB_VERSION_STYLE.
29126
29127	* configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
29128	  physical directory.
29129
29130	* Makefile.in (update-mspec): split from update-rubyspec.
29131
29132	* win32/Makefile.sub (update-{rubyspec,mspec}): added.
29133
29134Fri Mar  6 14:28:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29135
29136	* Makefile.in, win32/Makefile.sub (INSNS): moved variable
29137	  definition before rule.
29138
29139Fri Mar  6 13:47:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29140
29141	* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#load): deals with
29142	  escaped spaces.  incorporated from rake 0.8.4.
29143
29144	* lib/rake/testtask.rb (Rake::TestTask#define): passes each libs
29145	  as each arguments with expanded.  incorporated from rake 0.8.4.
29146
29147Thu Mar  5 18:36:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29148
29149	* numeric.c (flo_to_s): keeps enough precision for round trip.
29150	  [ruby-core:22325]
29151
29152Thu Mar  5 17:42:06 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29153
29154	* array.c (rb_ary_fill): doc for Array#fill misses indication
29155	  about negative value for the start argument.  [ruby-core:22497]
29156
29157Thu Mar  5 16:56:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29158
29159	* lib/tmpdir.rb (Dir.tmpdir): not use USERPROFILE, and ignores
29160	  non-existent directory.
29161
29162Thu Mar  5 14:52:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29163
29164	* win32/win32.c (rb_w32_sysinit): initializes version info first.
29165
29166	* win32/win32.c (rb_w32_osid): always define for binary compatibility.
29167
29168Thu Mar  5 11:52:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29169
29170	* win32/Makefile.sub (make_insns_rules): rule to make rules for insns.
29171
29172Thu Mar  5 11:27:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29173
29174	* win32/Makefile.sub (miniruby.exe): workaround for a failure of
29175	  mt.exe on Windows 7 beta.  [ruby-talk:330284]
29176
29177Thu Mar  5 10:32:17 2009  NARUSE, Yui  <naruse@ruby-lang.org>
29178
29179	* test/dl/test_base.rb: Add dragonfly to libc and libm switch.
29180
29181Thu Mar  5 10:29:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29182
29183	* string.c (str_eql): extracted from rb_str_equal and rb_str_eql.
29184
29185	* string.c (rb_str_chomp_bang): keeps 7bit coderange.
29186
29187Thu Mar  5 10:10:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29188
29189	* include/ruby/encoding.h (enc_initialized_p): ENC_UNINITIALIZED
29190	  is not defined already.
29191
29192	* include/ruby/encoding.h (ENC_FROM_ENCINDEX): removed because
29193	  depending on a static variable.
29194
29195Thu Mar  5 04:42:52 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29196
29197	* test/ruby/test_array.rb: fix wrong test, and add a test for
29198	  sort_by!.
29199
29200Thu Mar  5 04:32:38 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29201
29202	* test/ruby/test_array.rb: add some tests for coverage.
29203
29204Thu Mar  5 00:06:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29205
29206	* win32/README.win32 (Requirement): added unicows.lib and dll.
29207
29208Wed Mar  4 23:29:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29209
29210	* configure.in, win32/configure.bat (--enable-win95): new option
29211	  to enable/disable win95 support.
29212
29213Wed Mar  4 21:21:51 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29214
29215	* lib/thread.rb (SizedQueue#push): fix limit condition.
29216	  [ruby-dev:38135]
29217
29218Wed Mar  4 20:27:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29219
29220	* configure.in (mingw): checks if unicows.lib is available.
29221
29222	* include/ruby/win32.h (WIN95): moved to config.h
29223
29224	* win32/Makefile.sub (LIBS): links unicows.lib if available.
29225
29226	* win32/Makefile.sub (config.h): defines WIN95 only if unicows.lib
29227	  is available.
29228
29229	* win32/setup.mak (-unicows-): checks if unicows.lib is available.
29230
29231Tue Mar  3 17:10:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29232
29233	* ext/extmk.rb (extmake): removes object files no longer used and
29234	  files to be removed by old distclean.
29235
29236Tue Mar  3 16:51:51 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29237
29238	* ext/dl/win32/lib/win32/resolv.rb: get rid of warning.
29239
29240	* ext/dl/lib/dl/func.rb: ditto.
29241
29242Tue Mar  3 16:25:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29243
29244	* ext/extmk.rb (extmake), lib/mkmf.rb (create_makefile): $objs and
29245	  $srcs are always Array or nil now.
29246
29247Tue Mar  3 15:54:11 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29248
29249	* ext/dl/win32/lib/win32/{registry,resolv}.rb: use dl/import instead
29250	  of Win32API.
29251
29252Tue Mar  3 15:53:20 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29253
29254	* ext/dl/lib/dl/func.rb (DL::Function.name): delegate to @cfunc.
29255
29256Tue Mar  3 15:40:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29257
29258	* ext/dl/dl.c (rb_dl_init_callbacks): autoloads callbacks.
29259
29260	* ext/dl/callback: split from dl.
29261
29262	* ext/dl/lib/dl/cparser.rb (DL::CParser::parse_signature): fixed
29263	  variable name.
29264
29265	* ext/dl/lib/dl/pack.rb (DL::PackInfo): reduced redundant
29266	  initialization.
29267
29268	* ext/dl/lib/dl/stack.rb (DL::Stack): ditto.
29269
29270	* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): NULL for nil.
29271
29272	* test/dl: moved from ext/dl/test.
29273
29274Tue Mar  3 14:57:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29275
29276	* common.mk (main): passes $(MAKE) to mkmain_cmd
29277
29278	* ext/extmk.rb (command_output): uses arguments to invoke make.
29279
29280Tue Mar  3 01:56:03 2009  Tanaka Akira  <akr@fsij.org>
29281
29282	* lib/securerandom.rb (SecureRandom.urlsafe_base64): delete padding.
29283
29284Mon Mar  2 21:39:08 2009  Tanaka Akira  <akr@fsij.org>
29285
29286	* ext/socket/sockport.h (SS_LEN): defined unconditionally.
29287
29288Mon Mar  2 21:26:42 2009  Tanaka Akira  <akr@fsij.org>
29289
29290	* ext/socket/ancdata.c (anc_inspect_socket_creds): suppress warnings.
29291
29292Mon Mar  2 21:13:42 2009  Tanaka Akira  <akr@fsij.org>
29293
29294	* ext/socket/ancdata.c (rsock_discard_cmsg_resource): defined
29295	  unconditionally.
29296
29297Mon Mar  2 21:06:40 2009  Tanaka Akira  <akr@fsij.org>
29298
29299	* ext/socket/raddrinfo.c (addrinfo_mload): don't use "sun" variable
29300	  for Solaris.
29301
29302Mon Mar  2 21:01:36 2009  Tanaka Akira  <akr@fsij.org>
29303
29304	* file.c: include fcntl.h for O_RDONLY on Solaris.
29305
29306Mon Mar  2 19:43:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29307
29308	* lib/uri/common.rb (URI::Parser#escape): escaped string is ascii
29309	  only.
29310
29311	* lib/uri/common.rb (URI::Parser#unescape): converts bytewise.
29312	  [ruby-dev:38005], [ruby-dev:38110]
29313
29314Mon Mar  2 16:40:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29315
29316	* README.EXT, README.EXT.ja (Macros): added HAVE_RUBY_*_H.
29317
29318Mon Mar  2 12:22:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29319
29320	* win32/win32.c (init_env): keeps wide chars as wide chars.
29321
29322Mon Mar  2 11:01:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29323
29324	* ext/dl/dl.h (dlerror): fixed on Windows.
29325
29326	* ext/dl/handle.c (rb_dlhandle_initialize): returns handle to
29327	  libruby if nil is given on Windows as dlopen.
29328
29329	* ext/dl/handle.c (rb_dlhandle_sym): get rid of buffer overrun,
29330	  and try ASCII WINAPI versions too.
29331
29332Mon Mar  2 10:29:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29333
29334	* eval.c (rb_longjmp), include/ruby/intern.h (ruby_cleanup): fixed
29335	  prototypes.
29336
29337Mon Mar  2 00:56:45 2009  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
29338
29339	* lib/drb/observer.rb: The module observable uses now a hash to
29340	  store listeners. merged a patch from Alessandro Di Maria in
29341	  [ruby-core:22560].
29342
29343Sun Mar  1 22:59:41 2009  Tanaka Akira  <akr@fsij.org>
29344
29345	* ext/socket/raddrinfo.c: suppress warnings.
29346
29347	* ext/socket/socket.c: ditto.
29348
29349	* ext/socket/unixsocket.c: ditto.
29350
29351Sun Mar  1 20:57:41 2009  Tanaka Akira  <akr@fsij.org>
29352
29353	* ext/socket/ (rsock_getfamily): renamed from rb_sock_getfamily.
29354
29355Sun Mar  1 19:52:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29356
29357	* ext/dl/win32/lib/Win32API.rb (initialize): passes res
29358	  arguments to DL.
29359
29360Sun Mar  1 19:38:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29361
29362	* ext/zlib/zlib.c (zstream_run): suppress a warning.  a patch from
29363	  Charlie Savage at [ruby-core:22607].
29364
29365Sun Mar  1 19:36:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29366
29367	* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
29368	  overrun.  a patch from Charlie Savage at [ruby-core:22604].
29369
29370Sun Mar  1 19:10:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29371
29372	* common.mk (.y.c): removed extra backslash.  [ruby-core:22602]
29373
29374Sun Mar  1 19:02:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29375
29376	* ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing
29377	  argument numbers.  [ruby-core:22601]
29378
29379	* ext/dl/dl.h (DLSTACK_PROTO0_): added.
29380
29381	* ext/dl/mkcallback.rb (gencallback, gen_callback_file),
29382	  (rb_dl_init_callbacks): omit stdcall functions unless supported.
29383
29384	* lib/rubygems/config_file.rb (SHGetFolderPath): stdcall.
29385
29386Sun Mar  1 17:27:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29387
29388	* ext/bigdecimal/bigdecimal.c (gfDebug): uncommented out.
29389	  [ruby-core:22600]
29390
29391Sun Mar  1 16:15:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29392
29393	* process.c (rb_waitpid): use wait_each() on no waitpid platforms.
29394	  [ruby-dev:38054]
29395
29396Sun Mar  1 16:01:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29397
29398	* process.c (proc_daemon): stops and restarts timer thread because
29399	  daemon(3) implies fork(2).  [ruby-dev:38055]
29400
29401Sun Mar  1 15:45:49 2009  Tanaka Akira  <akr@fsij.org>
29402
29403	* ext/socket/ (rsock_make_hostent): renamed from sock_make_hostent.
29404	  (rsock_addrinfo): renamed from sock_addrinfo.
29405	  (rsock_getaddrinfo): renamed from sock_getaddrinfo.
29406	  (rsock_socket): renamed from ruby_socket.
29407	  (rsock_sock_s_socketpair): renamed from sock_s_socketpair.
29408	  (rsock_connect): renamed from ruby_connect.
29409
29410	* ext/socket/socket.c (sock_listen): make it static.
29411
29412Sun Mar  1 15:29:31 2009  Tanaka Akira  <akr@fsij.org>
29413
29414	* ext/socket: add rsock_ prefix.
29415
29416Sat Feb 28 21:52:37 2009  Tanaka Akira  <akr@fsij.org>
29417
29418	* vm_eval.c (rb_iterate): use volatile to suppress warnings.
29419
29420	* eval.c (ruby_cleanup): ditto.
29421
29422Sat Feb 28 20:09:40 2009  Tanaka Akira  <akr@fsij.org>
29423
29424	* eval_error.c (error_print): use volatile to suppress warnings.
29425
29426	* vm_eval.c (eval_string_with_cref): ditto.
29427
29428	* thread.c (rb_exec_recursive): ditto.
29429
29430	* eval_jump.c (rb_exec_end_proc): ditto.
29431
29432	* eval.c (ruby_exec_node): ditto.
29433	  (rb_longjmp): ditto.
29434
29435Sat Feb 28 18:28:58 2009  Tanaka Akira  <akr@fsij.org>
29436
29437	* ext/socket/ancdata.c (ancillary_unix_rights): check message type.
29438
29439Sat Feb 28 16:18:39 2009  Tanaka Akira  <akr@fsij.org>
29440
29441	* lib/net/http.rb: suppress warnings of non-existing instance variable
29442	  access for SSL.
29443
29444Sat Feb 28 14:50:47 2009  Tanaka Akira  <akr@fsij.org>
29445
29446	* ext/socket/lib/socket.rb (BasicSocket#connect_address): returns ::1
29447	  if the address is IPv4-mapped IPv6 address for 0.0.0.0 for MacOS X.
29448
29449Sat Feb 28 00:18:40 2009  Tanaka Akira  <akr@fsij.org>
29450
29451	* ext/socket/raddrinfo.c: suppress strict-aliasing warning with
29452	  gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
29453
29454	* ext/socket/socket.c: ditto.
29455
29456	* ext/socket/unixsocket.c: ditto.
29457
29458	* ext/socket/sockport.h (SS_LEN): defined.
29459	  (SET_SS_LEN): ditto.
29460
29461Fri Feb 27 22:30:18 2009  Tanaka Akira  <akr@fsij.org>
29462
29463	* ext/socket/ancdata.c (bsock_recvmsg_internal): close FDs passed by
29464	  SCM_RIGHTS unless :scm_rights=>true is given.
29465	  (discard_cmsg): extracted from rsock_discard_cmsg_resource.
29466
29467Fri Feb 27 22:14:22 2009  Tanaka Akira  <akr@fsij.org>
29468
29469	* ext/openssl/lib/openssl/buffering.rb: define Buffering module under
29470	  OpenSSL.  [ruby-dev:37906]
29471
29472Fri Feb 27 22:09:24 2009  Tanaka Akira  <akr@fsij.org>
29473
29474	* lib/test/unit/assertions.rb: don't define assert_not_* if already
29475	  overridden.
29476
29477Fri Feb 27 22:02:34 2009  Tanaka Akira  <akr@fsij.org>
29478
29479	* util.c: fix SEGV by test_time.rb with
29480	  gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
29481
29482Fri Feb 27 18:30:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29483
29484	* compile.c (cdhash_type, iseq_set_sequence): should not call
29485	  methods of the argument of case, to keep the semantics of
29486	  case/when.  [ruby-dev:38079]
29487
29488Fri Feb 27 18:01:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29489
29490	* gc.c (ruby_get_stack_grow_direction): no needs to use thread
29491	  here, and not initialized yet.  [ruby-core:22439]
29492
29493Fri Feb 27 17:45:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29494
29495	* file.c (file_load_ok): checks if regular file, except for the
29496	  platform disallows to open directories, e.g. dosish.
29497	  [ruby-dev:38097], [Bug #1221]
29498
29499Fri Feb 27 14:39:40 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29500
29501	* numeric.c (flo_eq, flo_gt, flo_ge, flo_lt, flo_le, flo_eql): revert
29502	  isnan() checks for VC++6.
29503
29504	* insns.def (opt_lt, opt_gt): ditto.
29505
29506Fri Feb 27 14:23:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29507
29508	* lib/ostruct.rb (modifiable): check if really frozen.
29509	  [ruby-core:22559]
29510
29511Thu Feb 26 23:14:46 2009  Tanaka Akira  <akr@fsij.org>
29512
29513	* ext/socket/lib/socket.rb (BasicSocket#connect_address): new method.
29514
29515Thu Feb 26 19:29:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29516
29517	* hash.c (hash_foreach_iter): fix for prototype.
29518
29519Thu Feb 26 18:36:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29520
29521	* common.mk (INSNS, newline.c, miniprelude.c, prelude.c),
29522	  (node_name.inc, known_errors.inc): unified from Makefile.in and
29523	  win32/Makefile.sub.
29524
29525Thu Feb 26 13:30:34 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29526
29527	* util.c (valid_filename): use our own implementation of open(),
29528	  close() and unlink().
29529
29530Thu Feb 26 13:23:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29531
29532	* iseq.c (cdhash_each): resurrects internal literals.
29533
29534Thu Feb 26 10:56:48 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29535
29536	* include/ruby/win32.h (rb_w32_wopen): prototype forgotten.
29537
29538	* io.c (rb_sysopen_internal): shouldn't replace undefined chars in this
29539	  case.
29540
29541Thu Feb 26 01:34:38 2009  Tanaka Akira  <akr@fsij.org>
29542
29543	* ext/socket/mkconstants.rb: more MSG_* constants.
29544
29545Thu Feb 26 00:21:21 2009  Tanaka Akira  <akr@fsij.org>
29546
29547	* ext/socket/option.c (sockopt_level): extracted from sockopt_level_m.
29548	  (sockopt_optname): extracted from sockopt_optname_m.
29549	  (sockopt_data): apply StringValue.
29550	  (sockopt_s_linger): new method.
29551	  (sockopt_linger): new method.
29552	  (inspect_linger): show onoff value if it is neither 0 nor 1.
29553
29554Wed Feb 25 23:23:03 2009  Tanaka Akira  <akr@fsij.org>
29555
29556	* ext/socket/ancdata.c (ancillary_unix_rights): raise
29557	  NotImplementedError if no fd passing feature.
29558	  (ancillary_timestamp): raise NotImplementedError if no timestamp
29559	  feature.
29560
29561Wed Feb 25 23:18:53 2009  Tanaka Akira  <akr@fsij.org>
29562
29563	* ext/socket/ancdata.c (ancillary_s_unix_rights): new method.
29564
29565Wed Feb 25 23:01:26 2009  Tanaka Akira  <akr@fsij.org>
29566
29567	* ext/socket/unixsocket.c (unix_recv_io): prevent FD leak when 2 fd is
29568	  sent on LP64 platform.
29569
29570	* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): declared.
29571
29572	* ext/socket/ancdata.c (rsock_discard_cmsg_resource): renamed from
29573	  discard_cmsg_resource.  export it.
29574
29575Wed Feb 25 17:31:32 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29576
29577	* io.c (sysopen_func, rb_sysopen_internal, rb_sysopen): open file
29578	  by UTF-16'ed filename on Windows.
29579
29580	* io.c (rb_file_open_generic, rb_io_s_sysopen, rb_io_reopen,
29581	  argf_next_argv): follow above change.
29582
29583	* io.c (rb_scan_open_args): no longer need to convert filepath here on
29584	  Windows.
29585
29586	* win32/wio32.c (rb_w32_wopen): new function to open file by UTF-16'ed
29587	  filename.
29588
29589	* win32/win32.c (rb_w32_open): call rb_w32_open().
29590
29591Wed Feb 25 15:05:35 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29592
29593	* win32/Makefile.sub (config.status): use un.rb as cp instead of
29594	  cmd.exe's copy command.
29595
29596	* lib/mkmf.rb (create_makefile): no longer need to convert path
29597	  separator when copying file.
29598
29599Wed Feb 25 12:27:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29600
29601	* string.c (rb_str_force_encoding): should clear coderange at changing
29602	  encoding.  [ruby-core:22437]
29603
29604Wed Feb 25 12:06:09 2009    <nobu@ruby-lang.org>
29605
29606	* io.c (rb_io_getline_1): enables limit even if rs is given.
29607	  [ruby-core:22434]
29608
29609Wed Feb 25 02:28:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29610
29611	* string.c (rb_str_chomp_bang): coderange may change.
29612	  [ruby-core:22414]
29613
29614Wed Feb 25 02:17:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29615
29616	* string.c (rb_str_delete_bang): should recalculate coderange.
29617	  [ruby-talk:329267]
29618
29619Wed Feb 25 00:41:21 2009  Akinori MUSHA  <knu@iDaemons.org>
29620
29621	* class.c (rb_scan_args): Allow specifying the number of trailing
29622	  mandatory arguments right after the number of optional arguments
29623	  only if the number of leading mandatory arguments is not omitted.
29624
29625	* ext/socket/tcpserver.c (tcp_svr_init): Make use of it.
29626
29627Wed Feb 25 00:28:25 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29628
29629	* file.c (rb_file_size): new method added.  [ruby-core:22088]
29630
29631Wed Feb 25 00:15:15 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29632
29633	* ext/curses/curses.c (curses_colors): new method added.  a patch
29634	  from Alexander Beisig in [ruby-core:22331].
29635
29636	* ext/curses/curses.c (curses_color_pairs): ditto.
29637
29638Wed Feb 25 00:05:13 2009  Akinori MUSHA  <knu@iDaemons.org>
29639
29640	* class.c (rb_scan_args): Revamp rb_scan_args() to compute the
29641	  number of required and optional arguments precisely to prepare
29642	  for a more informative error message.
29643
29644Tue Feb 24 23:58:52 2009  Akinori MUSHA  <knu@iDaemons.org>
29645
29646	* array.c (rb_ary_index, rb_ary_rindex): Emit a warning that a
29647	  given block is unused when an argument is specified.
29648
29649Tue Feb 24 22:00:37 2009  Tanaka Akira  <akr@fsij.org>
29650
29651	* ext/socket/socket.c (sockaddr_obj): convert fe80:1::1 to fe80::1%1.
29652
29653Tue Feb 24 19:56:11 2009  Tanaka Akira  <akr@fsij.org>
29654
29655	* ext/socket/ancdata.c (ancillary_timestamp): support SCM_BINTIME.
29656
29657Tue Feb 24 19:45:15 2009  Tanaka Akira  <akr@fsij.org>
29658
29659	* ext/socket/ancdata.c (ancillary_timestamp): new method.
29660
29661Tue Feb 24 19:01:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29662
29663	* common.mk (main): split from exts and makes main program after
29664	  building exts with miniruby, to get rid of overwriting running
29665	  program.  [ruby-core:22339]
29666
29667	* Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to
29668	  run script file.
29669
29670	* ext/extmk.rb (parse_args): added --command-output option which
29671	  creates script file to make main program.
29672
29673Tue Feb 24 17:58:07 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29674
29675	* common.mk (ripper.c): exec can't work on Windows.
29676
29677	* ext/ripper/depend (.SUFFIXES): nmake doesn't have .y by default.
29678
29679	* Makefile.in (id.h): overwrites unconditionally.
29680
29681Tue Feb 24 13:13:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29682
29683	* missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger than
29684	  long.
29685
29686Tue Feb 24 11:21:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29687
29688	* signal.c (rb_disable_interrupt, rb_enable_interrupt): see
29689	  USE_TRAP_MASK.
29690
29691Tue Feb 24 10:49:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29692
29693	* process.c (rb_waitpid): last argument was missing.
29694
29695	* process.c (waitall_each): fixed typo.  a patch from shinichiro.h
29696	  <shinichiro.hamaji AT gmail.com> at [ruby-dev:38054].
29697
29698Tue Feb 24 01:53:40 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29699
29700	* numeric.c (flo_eq): remove unnecessary NaN check using isnan().
29701	  comparison regarding NaN is false anyway.
29702
29703	* numeric.c (flo_gt, flo_ge, flo_lt, flo_le, flo_eql): ditto.
29704
29705Tue Feb 24 01:22:19 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29706
29707	* bootstraptest/test_thread.rb: fix for environment where fork is not
29708	  available.
29709
29710Tue Feb 24 01:19:38 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29711
29712	* thread.c (thread_cleanup_func): unlock all locked mutexes even when
29713	  forking.  [ruby-core:22269]
29714
29715Tue Feb 24 00:54:16 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29716
29717	* insns.def (opt_minus): inline float operation.
29718
29719	* insns.def (opt_lt, opt_gt): ditto.
29720
29721Tue Feb 24 00:24:13 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29722
29723	* range.c (range_each): check #succ only when it is really
29724	  needed.  small performance improvement.
29725
29726	* math.c (Need_Float): call rb_to_float() only when it is really
29727	  needed.  small performance improvement.
29728
29729Tue Feb 24 00:19:33 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
29730
29731	* lib/pathname.rb (Pathname#foreachline): removed wrongly
29732	  resurrected method.  [ruby-dev:38065]
29733
29734Mon Feb 23 20:39:21 2009  Tanaka Akira  <akr@fsij.org>
29735
29736	* ext/socket/ancdata.c (inspect_timespec_as_abstime): new function to
29737	  show struct timespec.
29738	  (ancillary_inspect): use it for SCM_TIMESTAMPNS on GNU/Linux.
29739
29740Mon Feb 23 20:30:06 2009  Tanaka Akira  <akr@fsij.org>
29741
29742	* ext/socket/ancdata.c (inspect_bintime_as_abstime): new function to
29743	  show struct bintime.
29744	  (ancillary_inspect): use it for SCM_BINTIME on FreeBSD.
29745
29746	* ext/socket/mkconstants.rb: define SCM_BINTIME.
29747
29748Mon Feb 23 20:18:49 2009  Tanaka Akira  <akr@fsij.org>
29749
29750	* ext/socket/ancdata.c (inspect_timeval_as_abstime): use time_t
29751	  variable to avoid a warning on environments which use long as
29752	  tv_sec as NetBSD.
29753
29754Mon Feb 23 15:53:30 2009  Akinori MUSHA  <knu@iDaemons.org>
29755
29756	* array.c (rb_ary_index, rb_ary_rindex): We know that argc is not
29757	  zero when we reach here.
29758
29759	* array.c (rb_ary_initialize, rb_ary_index): Shrink a double
29760	  space. (NFC)
29761
29762Mon Feb 23 14:47:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29763
29764	* lib/fileutils.rb (mv): added description for the case of
29765	  different partitions.  [ruby-talk:329072]
29766
29767Mon Feb 23 10:19:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29768
29769	* include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods,
29770	  #singleton_methods and so on return Symbols.  [ruby-talk:328775]
29771
29772Mon Feb 23 10:15:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29773
29774	* README.EXT, README.EXT.ja: added macros for the Compatibilities.
29775
29776Mon Feb 23 03:19:37 2009  Tanaka Akira  <akr@fsij.org>
29777
29778	* ext/socket/mkconstants.rb: define SO_TIMESTAMPNS and SCM_TIMESTAMPNS
29779	  if available.
29780
29781Mon Feb 23 02:54:31 2009  Tanaka Akira  <akr@fsij.org>
29782
29783	* ext/socket/ancdata.c (ancillary_inspect): use SCM_TIMESTAMP instead
29784	  of SO_TIMESTAMP.  SCM_TIMESTAMP != SO_TIMESTAMP on MacOS X.
29785
29786Mon Feb 23 02:44:42 2009  Tanaka Akira  <akr@fsij.org>
29787
29788	* ext/socket/ancdata.c (inspect_timeval_as_abstime): new function.
29789	  (ancillary_inspect): use it for SO_TIMESTAMP.
29790
29791Mon Feb 23 02:26:44 2009  Tanaka Akira  <akr@fsij.org>
29792
29793	* ext/socket/option.c (inspect_timeval_as_interval): renamed from
29794	  inspect_timeval.
29795
29796Mon Feb 23 02:10:09 2009  Tanaka Akira  <akr@fsij.org>
29797
29798	* ext/socket/option.c (inspect_timeval): fix the size test.
29799
29800Sun Feb 22 22:42:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29801
29802	* string.c (tr_trans): should recalculate coderange.
29803	  [ruby-core:22326] (reopened at [ruby-core:22328])
29804
29805Sun Feb 22 20:09:29 2009  Tanaka Akira  <akr@fsij.org>
29806
29807	* ext/socket/option.c (inspect_linger): message refined.
29808
29809Sun Feb 22 19:28:08 2009  Tanaka Akira  <akr@fsij.org>
29810
29811	* ext/socket/init.c (s_recvfrom): use rb_io_wait_readable after
29812	  recvfrom.
29813
29814Sun Feb 22 18:40:04 2009  Tanaka Akira  <akr@fsij.org>
29815
29816	* ext/socket/option.c (inspect_errno): new function.
29817	  (sockopt_inspect): use inspect_errno for SO_ERROR.
29818
29819Sun Feb 22 15:11:51 2009  Tanaka Akira  <akr@fsij.org>
29820
29821	* re.c (Init_Regexp): define Regexp::FIXEDENCODING.  [ruby-dev:38066]
29822
29823Sun Feb 22 14:33:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29824
29825	* string.c (tr_trans): should not be affected by the encoding of
29826	  replacement unless actually modified.  [ruby-talk:328967]
29827	  [ruby-core:22326]
29828
29829Sun Feb 22 13:38:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29830
29831	* ext/socket/init.c (s_recvfrom_nonblock): handles EAGAIN too.
29832
29833	* ext/socket/init.c (s_accept_nonblock): ditto, and EPROTO depends
29834	  on platforms.
29835
29836Sun Feb 22 13:03:12 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
29837
29838	* eval.c (ruby_options): the evaluator now expects iseq instead of tree.
29839
29840	* ruby.c (ruby_process_options): ditto.
29841
29842Sun Feb 22 13:03:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29843
29844	* Makefile.in (configure): unset PWD to use symlink to building
29845	  directory.
29846
29847	* Makefile.in (up): cd doesn't need LC_TIME, VCS needs.
29848
29849Sun Feb 22 10:43:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29850
29851	* vm_eval.c (method_missing): should not pop cfp if missing method
29852	  is method_missing.  [ruby-core:22298]
29853
29854	* vm_eval.c (rb_raise_method_missing): new function to directly
29855	  raise NoMethodError.
29856
29857	* vm_insnhelper.c (vm_call_method): fixed the case method_missing
29858	  is missing.
29859
29860Sun Feb 22 02:15:40 2009  Tanaka Akira  <akr@fsij.org>
29861
29862	* ext/socket/ancdata.c (bsock_recvmsg_internal): handle EMSGSIZE as
29863	  well.
29864
29865Sun Feb 22 02:03:46 2009  Tanaka Akira  <akr@fsij.org>
29866
29867	* ext/socket/ancdata.c (bsock_recvmsg_internal): check max length
29868	  overflow.
29869
29870Sun Feb 22 01:52:30 2009  Tanaka Akira  <akr@fsij.org>
29871
29872	* ext/socket/ancdata.c (bsock_recvmsg_internal): don't call
29873	  discard_cmsg_resource when EMFILE.
29874
29875Sun Feb 22 01:48:51 2009  Tanaka Akira  <akr@fsij.org>
29876
29877	* ext/socket/ancdata.c (bsock_recvmsg_internal): gc when SCM_RIGHTS
29878	  hit the file descriptor limit.
29879
29880Sun Feb 22 00:51:58 2009  Tanaka Akira  <akr@fsij.org>
29881
29882	* io.c (io_getpartial): error message describes what should be
29883	  waited after nonblocking error.
29884	  (rb_io_write_nonblock): ditto.
29885
29886	* ext/socket/init.c (s_recvfrom_nonblock): ditto.
29887	  (s_accept_nonblock): ditto.
29888
29889	* ext/socket/socket.c (sock_connect_nonblock): ditto.
29890
29891	* ext/socket/ancdata.c (bsock_sendmsg_internal): ditto.
29892	  (bsock_recvmsg_internal): ditto.
29893
29894Sun Feb 22 00:31:42 2009  Tanaka Akira  <akr@fsij.org>
29895
29896	* ext/socket/ancdata.c (bsock_recvmsg_internal): check recvmsg error
29897	  earlier.
29898
29899Fri Feb 20 23:28:11 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
29900
29901	* util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because
29902	  couldn't free the returned pointer from ruby_dtoa().
29903
29904	* missing/vsnprintf.c (cvt): receive buffer and use/return it instead
29905	  of returning the pointer returned from BSD__dtoa().
29906
29907	* missing/vsnprintf.c (BSD_vfprintf): pass buf to cvt() as the buffer.
29908	  [ruby-core:22184]
29909
29910Thu Feb 19 22:59:09 2009  Tanaka Akira  <akr@fsij.org>
29911
29912	* ext/socket/ancdata.c (make_io_for_unix_rights): cmsg_len may be
29913	  bigger than msg_controllen on 4.4BSD at least.
29914	  freeze unix_rights array.
29915
29916Thu Feb 19 22:17:38 2009  Tanaka Akira  <akr@fsij.org>
29917
29918	* ext/socket/ancdata.c (bsock_recvmsg_internal): fix exception.
29919
29920Thu Feb 19 21:13:03 2009  Tanaka Akira  <akr@fsij.org>
29921
29922	* ext/socket/ancdata.c (ancillary_unix_rights): method renamed.
29923
29924Thu Feb 19 15:47:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29925
29926	* template/fake.rb.in: extracted from Makefile.in.
29927
29928	* configure.in (fake.rb): prefixed with $(arch)-.
29929
29930Thu Feb 19 15:39:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29931
29932	* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
29933	  returns positive value on success, not non-zero.  [ruby-core:21762]
29934
29935Thu Feb 19 15:17:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29936
29937	* lib/tmpdir.rb (@@systmpdir): File.expand_path also joins paths.
29938
29939Thu Feb 19 15:14:25 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29940
29941	* ext/etc/etc.c (etc_each_group): defines only when Etc::Group is
29942	  available.
29943
29944Thu Feb 19 15:11:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29945
29946	* eval_intern.h (translit_char): moved from ruby.c.
29947
29948	* load.c (load_ext): transliterates file separators and back if
29949	  needed.
29950
29951	* symbian/setup (DLN_NEEDS_ALT_SEPARATOR): defined.
29952
29953Thu Feb 19 14:48:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29954
29955	* configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.c
29956
29957Thu Feb 19 14:39:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29958
29959	* configure.in (darwin): uses -unexported_symbol option of ld instead
29960	  of objcopy
29961
29962	* configure.in (darwin): makes dylib instead of so.
29963
29964Thu Feb 19 14:22:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29965
29966	* lib/mkmf.rb (create_makefile): added phony targets.
29967
29968	* lib/mkmf.rb (create_makefile): creates target directories before
29969	  copying.  [ruby-core:21958]
29970
29971	* lib/mkmf.rb (create_makefile): removes directories in the depth
29972	  order.
29973
29974Thu Feb 19 13:56:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29975
29976	* file.c (rb_home_dir): checks if HAVE_PWD_H.  [ruby-dev:38049]
29977
29978Thu Feb 19 08:45:48 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
29979
29980	* ext/socket/rubysocket.h: add "#include <sys/stat.h>"
29981
29982Thu Feb 19 03:42:48 2009  Tanaka Akira  <akr@fsij.org>
29983
29984	* ext/socket/ancdata.c (ancillary_rights): new method.
29985	  (make_io_for_rights): new function to allocate
29986	  IOs for FDs in SCM_RIGHTS message.
29987	  (bsock_recvmsg_internal): use make_io_for_rights.  So the FDs can be
29988	  closed by GC.
29989
29990Thu Feb 19 03:28:59 2009  Akinori MUSHA  <knu@iDaemons.org>
29991
29992	* README.EXT, README.EXT.ja: Improve the document about
29993	  rb_scan_args() even more.
29994
29995Thu Feb 19 03:12:51 2009  Yusuke Endoh  <mame@tsg.ne.jp>
29996
29997	* test/ruby/test_file_exhaustive.rb: skip some tests if euid == 0.
29998	  a patch from Lucas Nussbaum in [ruby-core:22209].
29999
30000Thu Feb 19 03:00:49 2009  Akinori MUSHA  <knu@iDaemons.org>
30001
30002	* README.EXT, README.EXT.ja: Improve the document about
30003	  rb_scan_args().
30004
30005Wed Feb 18 22:47:01 2009  Tanaka Akira  <akr@fsij.org>
30006
30007	* ext/socket/ancdata.c (discard_cmsg_resource): new function to close
30008	  file descriptors in control message.
30009	  (bsock_recvmsg_internal): call discard_cmsg_resource before retrying
30010	  recvmsg.
30011
30012Wed Feb 18 21:47:37 2009  Tanaka Akira  <akr@fsij.org>
30013
30014	* ext/socket/ancdata.c (bsock_recvmsg_internal): prevent misalignment.
30015
30016Wed Feb 18 21:34:30 2009  Tanaka Akira  <akr@fsij.org>
30017
30018	* ext/socket/ancdata.c (bsock_sendmsg_internal): prevent misalignment.
30019
30020Wed Feb 18 21:09:43 2009  Tanaka Akira  <akr@fsij.org>
30021
30022	* ext/socket/ancdata.c (bsock_recvmsg_internal): reduce code on
30023	  environments which have no control message.
30024
30025Wed Feb 18 20:27:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30026
30027	* configure.in (OBJCOPY): set ac_cv_prog_ac_ct_OBJCOPY to do nothing
30028	  on cygwin and mingw because symbols are exported by def file.
30029
30030Wed Feb 18 15:35:36 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30031
30032	* file.c (rb_file_chown): use chown unless HAVE_FCHOWN.
30033
30034	* io.c (pipe_open): sarg is always used unless HAVE_FORK.
30035
30036Wed Feb 18 15:23:34 2009  Akinori MUSHA  <knu@iDaemons.org>
30037
30038	* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.
30039
30040Wed Feb 18 14:33:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30041
30042	* array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new
30043	  functions based on [ruby-dev:37983]
30044
30045	* insns.def (putstring, duparray): use rb_{ary,str}_resurrect().
30046
30047	* iseq.c (iseq_data_to_ary): needs to result TS_VALUE.
30048
30049Wed Feb 18 12:35:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30050
30051	* file.c (rb_file_s_extname): fix for spaces before extension.
30052	  [ruby-dev:38044]
30053
30054Wed Feb 18 12:00:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30055
30056	* file.c (file_expand_path): suppress a warning.  named magic
30057	  numbers.
30058
30059Wed Feb 18 10:29:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30060
30061	* thread.c (thread_start_func_2): do not delete main thread from
30062	  living_threads.  [ruby-core:19385], [ruby-core:22158]
30063
30064Wed Feb 18 01:05:05 2009  Tanaka Akira  <akr@fsij.org>
30065
30066	* ext/openssl: avoid cyclic require.
30067
30068	* ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb
30069
30070	* ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb.
30071
30072	* lib/net/imap.rb: require openssl, instead of openssl/ssl.
30073
30074	* lib/net/pop.rb: require openssl, instead of openssl/ssl.
30075
30076	[ruby-dev:38018]
30077
30078Wed Feb 18 00:55:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30079
30080	* ext/etc/etc.c (Etc::Passwd.each, Etc::Group.each): new methods.
30081	  [ruby-dev:37999]
30082
30083Tue Feb 17 23:25:01 2009  Tanaka Akira  <akr@fsij.org>
30084
30085	* ext/socket/ancdata.c (bsock_sendmsg_internal): make the padding
30086	  removing only on NetBSD.
30087
30088Tue Feb 17 19:39:04 2009  Tanaka Akira  <akr@fsij.org>
30089
30090	* ext/socket/ancdata.c (bsock_sendmsg_internal): should not remove the
30091	  last padding of control messages, basically.
30092
30093Tue Feb 17 12:50:57 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30094
30095	* string.c (rb_str_shared_replace): no need for
30096	  str_make_independent.
30097
30098Tue Feb 17 05:41:08 2009  Koichi Sasada  <ko1@atdot.net>
30099
30100	* compile.c: fix to add "ensure" codes across "while" clause
30101	  before "return" expression.  [ruby-dev:37967]
30102
30103	* bootstraptest/test_flow.rb: add a test.
30104
30105Tue Feb 17 01:53:35 2009  Tanaka Akira  <akr@fsij.org>
30106
30107	* ext/socket/mkconstants.rb: generate rb_define_const directly for
30108	  rdoc.
30109
30110	* ext/.document: add socket/constdefs.c.
30111
30112	* ext/socket/constants.c (sock_define_const): removed.
30113	  (sock_define_uconst): ditto.
30114	  (rb_mSockConst): new static variable.
30115
30116Mon Feb 16 23:14:51 2009  Tanaka Akira  <akr@fsij.org>
30117
30118	* ext/socket/ancdata.c (bsock_sendmsg_internal) [OpenBSD]: don't remove
30119	  the last padding to prevent sendmsg failure in test_udp_server in
30120	  test/socket/test_socket.rb on OpenBSD 4.4.
30121
30122Mon Feb 16 21:59:32 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
30123
30124	* symbian/setup: Update Symbian config to match recent changes in missing/alloca.c
30125
30126Mon Feb 16 17:04:14 2009  Akinori MUSHA  <knu@iDaemons.org>
30127
30128	* class.c (rb_scan_args), README.EXT, README.EXT.ja: Add support
30129	  for specifying the number of the trailing mandatory arguments.
30130	  Update the documents accordingly. [ruby-dev:37995]
30131
30132Mon Feb 16 16:46:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30133
30134	* debug.c (set_debug_option): added rtc_error option.
30135
30136	* win32/Makefile.sub (CRTDEFFLAGS): separated from DEFS.
30137
30138	* win32/win32.c (rtc_error_handler): ignores RTC errors unless
30139	  rtc_error debug option is given.
30140
30141	* win32/win32.c (rb_w32_sysinit): suppress useless CRT assertions.
30142	  [ruby-core:22116]
30143
30144Sun Feb 15 21:43:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30145
30146	* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.
30147	  [ruby-talk:328195], [ruby-core:22142]
30148
30149Sun Feb 15 21:22:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30150
30151	* lib/test/unit/assertions.rb (Test::Unit::Assertions): aliases
30152	  assert_not_ methods.
30153
30154Sun Feb 15 16:57:35 2009  Tanaka Akira  <akr@fsij.org>
30155
30156	* lib/securerandom.rb (SecureRandom.urlsafe_base64): new method.
30157
30158Sun Feb 15 14:58:07 2009  Tanaka Akira  <akr@fsij.org>
30159
30160	* hash.c (hash_i): use Murmurhash.
30161
30162Sun Feb 15 11:45:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30163
30164	* variable.c (rb_define_hooked_variable): suppress false assertion
30165	  with VC9.  [ruby-core:22115]
30166
30167Sun Feb 15 08:35:33 2009  Tanaka Akira  <akr@fsij.org>
30168
30169	* test/test_pp.rb: extract from lib/pp.rb.
30170
30171	* test/test_prettyprint.rb: extract from lib/prettyprint.rb.
30172
30173	* test/test_tsort.rb: extract from lib/tsort.rb.
30174
30175Sun Feb 15 06:34:22 2009  Tanaka Akira  <akr@fsij.org>
30176
30177	* lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't
30178	  extract date information.  [ruby-core:20912]
30179
30180Sun Feb 15 04:48:08 2009  Yusuke Endoh  <mame@tsg.ne.jp>
30181
30182	* string.c (rb_hash_uint32, rb_hash_uint, rb_hash_start, rb_hash_end),
30183	  include/ruby/intern.h: add Murmurhash API.  [ruby-dev:37784]
30184
30185	* complex.c (nucomp_hash), array.c (rb_ary_hash), time.c (time_hash),
30186	  string.c (rb_str_hash), object.c (rb_obj_hash), range.c
30187	  (range_hash), struct.c (rb_struct_hash), hash.c (rb_any_hash),
30188	  rational.c (nurat_hash): use Murmurhash.  [ruby-dev:37784]
30189
30190Sun Feb 15 03:50:21 2009  Yusuke Endoh  <mame@tsg.ne.jp>
30191
30192	* hash.c (rb_hash): always return a fixnum value because a return
30193	  value of rb_hash may be used as a hash value itself and bignums have
30194	  no unique VALUE.
30195
30196	* test/ruby/test_hash.rb: add a test for above.
30197
30198Sun Feb 15 00:45:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30199
30200	* array.c (rb_ary_uniq_bang, rb_ary_uniq): unique by the result of
30201	  given block.  [ruby-dev:37998]
30202
30203Sun Feb 15 00:39:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30204
30205	* array.c (ary_resize_capa): should not overwrite outside embedded
30206	  array.
30207
30208Sat Feb 14 20:18:19 2009  Tanaka Akira  <akr@fsij.org>
30209
30210	* test/test_time.rb: extracted from lib/time.rb.
30211
30212Sat Feb 14 19:20:15 2009  Tanaka Akira  <akr@fsij.org>
30213
30214	* lib/pathname.rb: obsolete methods removed.
30215	  [ruby-core:21564]
30216
30217Sat Feb 14 15:46:01 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
30218
30219	* lib/pathname.rb (Pathname#binread): added.  [ruby-dev:37952]
30220
30221Sat Feb 14 13:14:18 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
30222
30223	* iseq.c: remove nil parameter from Proc#parameters
30224	  after rest appeared.
30225
30226Sat Feb 14 07:23:52 2009  NARUSE, Yui  <naruse@ruby-lang.org>
30227
30228	* string.c (rb_external_str_new_with_enc): change evaluation order
30229	  for speed.
30230
30231Sat Feb 14 02:20:04 2009  Tanaka Akira  <akr@fsij.org>
30232
30233	* ext/socket/sockport.h (SET_SA_LEN): cast to void for suppressing a
30234	  warning.
30235
30236Fri Feb 13 23:37:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30237
30238	* ext/dl/win32/lib/Win32API.rb (Win32API#initialize): DL.dlopen
30239	  raises DLError.
30240
30241Fri Feb 13 21:13:19 2009  Tanaka Akira  <akr@fsij.org>
30242
30243	* ext/socket/socket.c (Init_socket): define TCPServer#listen and
30244	  UNIXServer#listen here for rdoc.
30245
30246Fri Feb 13 20:59:48 2009  Tanaka Akira  <akr@fsij.org>
30247
30248	* ext/socket/ancdata.c (extract_ipv6_pktinfo): set sa_len for 4.4BSD.
30249
30250Fri Feb 13 15:34:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30251
30252	* iseq.c (simple_default_value): removed.  default values of optional
30253	  parameters are not available still now.  [ruby-dev:37980]
30254
30255Fri Feb 13 15:11:11 2009  Koichi Sasada  <ko1@atdot.net>
30256
30257	* vm_eval.c (eval_string_with_cref): use rb_vm_get_ruby_level_next_cfp()
30258	  instead of vm_get_ruby_level_caller_cfp().  checking a upper frame
30259	  is not enough.  [ruby-dev:37984]
30260
30261	* proc.c, vm_core.h: declare rb_vm_get_ruby_level_next_cfp()
30262	  on vm_core.h.
30263
30264Fri Feb 13 15:01:40 2009  Koichi Sasada  <ko1@atdot.net>
30265
30266	* cont.c (rb_fiber_alive_p): fix to return true instead of 0.
30267	  [ruby-dev:37991]
30268
30269	* test/ruby/test_fiber.rb: add a test for Fiber#alive?
30270
30271Fri Feb 13 09:43:19 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30272
30273	* configure.in (ac_cv_func_flock): using flock defined in
30274	  win32/win32.c on mingw.
30275
30276Fri Feb 13 01:45:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30277
30278	* compile.c (iseq_set_sequence, compile_dstr_fragments),
30279	  (iseq_compile_each): hides other internal objects.
30280
30281	* compile.c (iseq_compile_each): just freeze xstr.
30282
30283Fri Feb 13 00:48:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30284
30285	* insns.def (defineclass): try to autoload const to be overridden.
30286
30287Thu Feb 12 23:22:29 2009  Tanaka Akira  <akr@fsij.org>
30288
30289	* test/socket/test_socket.rb (test_udp_server): filter out unreachable
30290	  addresses.  [ruby-dev:37970]
30291
30292Thu Feb 12 22:51:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30293
30294	* compile.c (hide_obj): OBJ_FREEZE() is not an expression.  a patch
30295	  from nagachika <nagachika00 AT gmail.com> at [ruby-dev:37977].
30296
30297	* compile.c (insn_set_sc_state): fixed typo.
30298
30299Thu Feb 12 12:36:35 2009  Tanaka Akira  <akr@fsij.org>
30300
30301	* ext/socket/basicsocket.c (bsock_getpeereid): implemented for Solaris
30302	  using getpeerucred.
30303
30304	* ext/socket/extconf.rb: check ucred.h and getpeerucred.
30305
30306	* ext/socket/rubysocket.h: include ucred.h if available.
30307
30308Thu Feb 12 19:42:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30309
30310	* compile.c (compile_array_, defined_expr, iseq_compile_each): hide
30311	  and freeze internal literal objects, to prevent from modifying.
30312	  [ruby-dev:37959]
30313
30314	* iseq.c (insn_operand_intern): copy internal literal objects.
30315
30316	* insns.def (putstring, duparray): ditto.
30317
30318	* string.c (rb_str_replace): exported.
30319
30320Thu Feb 12 17:17:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30321
30322	* ext/stringio/stringio.c (strio_ungetc): calculates new position
30323	  before reallocation.  [Bug#1099]
30324
30325Thu Feb 12 16:50:27 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30326
30327	* configure.in: a patch to build on GNU/kOpenSolaris from Rober
30328	  Millan at [ruby-core:21888].
30329
30330Thu Feb 12 15:28:04 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
30331
30332	* iseq.c (simple_default_value): allow plain strings as default
30333	  values.
30334
30335Wed Feb 11 18:09:41 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30336
30337	* gc.c (define_final, undefine_final): shouldn't add/remove finalizer
30338	  of frozen objects.
30339
30340	* gc.c (undefine_final): should remove FL_FINALIZE flag.
30341	  [ruby-dev:37964] (also see [ruby-dev:37959])
30342
30343Wed Feb 11 17:37:41 2009  Tanaka Akira  <akr@fsij.org>
30344
30345	* ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the block
30346	  if given.  close the sockets when the block exits.
30347	  (Socket.udp_server_loop): use udp_server_sockets in block form.
30348
30349Wed Feb 11 17:34:16 2009  Tanaka Akira  <akr@fsij.org>
30350
30351	* ext/socket/lib/socket.rb (Socket.tcp_server_sockets): call the block
30352	  if given.  close the sockets when the block exits.
30353	  (Socket.tcp_server_loop): use tcp_server_sockets in block form.
30354
30355Wed Feb 11 17:01:52 2009  Tanaka Akira  <akr@fsij.org>
30356
30357	* ext/socket/lib/socket.rb (Socket.unix_server_loop): use
30358	  unix_server_socket with a block.
30359
30360Wed Feb 11 16:54:26 2009  Tanaka Akira  <akr@fsij.org>
30361
30362	* ext/socket/lib/socket.rb (Socket.unix_server_socket): close the
30363	  socket when the block exits.
30364
30365Wed Feb 11 16:50:59 2009  Tanaka Akira  <akr@fsij.org>
30366
30367	* ext/socket/lib/socket.rb (Socket.unix_server_socket): call the block
30368	  if given.  remove the socket file when the block exits.
30369
30370Wed Feb 11 16:44:20 2009  Tanaka Akira  <akr@fsij.org>
30371
30372	* ext/socket/ancdata.c (ancillary_s_ip_pktinfo): make 3rd argument
30373	  optional.
30374
30375Wed Feb 11 15:47:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30376
30377	* array.c (ary_make_shared): returns shared root array itself, and
30378	  frozen array can be shared.
30379
30380Wed Feb 11 14:46:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30381
30382	* insns.def (setspecial, putstring): fixed typos in rdoc.
30383
30384	* insns.def (toregexp): uses rb_ary_tmp_new(), and clears it after
30385	  used.
30386
30387Wed Feb 11 14:08:23 2009  Tanaka Akira  <akr@fsij.org>
30388
30389	* ext/socket/ancdata.c (anc_inspect_socket_rights): return 1 on
30390	  success.  0 on failure.
30391	  (anc_inspect_passcred_credentials): ditto.
30392	  (anc_inspect_socket_creds): ditto.
30393	  (anc_inspect_socket_creds): ditto.
30394	  (anc_inspect_socket_creds): ditto.
30395	  (anc_inspect_ip_recvdstaddr): ditto.
30396	  (anc_inspect_ip_pktinfo): ditto.
30397	  (anc_inspect_ipv6_pktinfo): ditto.
30398	  (ancillary_inspect): check family.
30399
30400Wed Feb 11 12:55:07 2009  Tanaka Akira  <akr@fsij.org>
30401
30402	* ext/socket/ancdata.c (anc_inspect_ip_pktinfo): make result bit
30403	  succinct.
30404	  (Init_ancdata): fix number of arguments.
30405
30406Wed Feb 11 11:47:41 2009  Tanaka Akira  <akr@fsij.org>
30407
30408	* ext/socket/ipsocket.c (Init_ipsocket): undef getpeereid at IPSocket.
30409
30410Wed Feb 11 10:16:34 2009  Tanaka Akira  <akr@fsij.org>
30411
30412	* ext/socket/extconf.rb: check getpeereid.
30413
30414	* ext/socket/basicsocket.c (bsock_getpeereid): new method.
30415
30416Wed Feb 11 09:58:59 2009  Tanaka Akira  <akr@fsij.org>
30417
30418	* ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable
30419	  name.
30420
30421Wed Feb 11 00:38:16 2009  Tanaka Akira  <akr@fsij.org>
30422
30423	* ext/socket/socket.c (sock_gethostname): use HOST_NAME_MAX.
30424
30425	* ext/socket/raddrinfo.c (make_ipaddr): local variable renamed.
30426
30427Tue Feb 10 23:44:53 2009  Tanaka Akira  <akr@fsij.org>
30428
30429	* ext/socket/init.c (struct recvfrom_arg): use struct
30430	  sockaddr_storage.
30431	  (recvfrom_blocking): follow struct recvfrom_arg change.
30432	  (s_recvfrom): ditto.
30433	  (s_recvfrom_nonblock): use struct sockaddr_storage.
30434
30435	* ext/socket/socket.c (sock_accept): use struct sockaddr_storage.
30436	  (sock_accept_nonblock): ditto.
30437	  (sock_sysaccept): ditto.
30438
30439	* ext/socket/ancdata.c (bsock_recvmsg_internal): use struct
30440	  sockaddr_storage.
30441
30442Tue Feb 10 23:30:32 2009  Tanaka Akira  <akr@fsij.org>
30443
30444	* ext/socket/basicsocket.c (bsock_getpeername): use struct
30445	  sockaddr_storage.
30446	  (bsock_local_address): ditto.
30447	  (bsock_remote_address): ditto.
30448
30449Tue Feb 10 21:26:33 2009  Tanaka Akira  <akr@fsij.org>
30450
30451	* ext/socket/lib/socket.rb (Socket.udp_server_sockets): new method.
30452	  (Socket.udp_server_loop_on): new method.
30453	  (Socket.udp_server_loop): new method
30454	  (Socket.ip_sockets_port0): extracted from tcp_server_sockets_port0.
30455	  (Socket::UDPSource): new class.
30456
30457Tue Feb 10 21:14:43 2009  Tanaka Akira  <akr@fsij.org>
30458
30459	* ext/socket/socket.c (sockaddr_obj): fill pfamily.
30460
30461Tue Feb 10 21:09:23 2009  Tanaka Akira  <akr@fsij.org>
30462
30463	* ext/socket/option.c (sockopt_s_bool): new method.
30464	  (sockopt_bool): new method.
30465
30466Tue Feb 10 20:58:47 2009  Tanaka Akira  <akr@fsij.org>
30467
30468	* ext/socket/option.c (sockopt_family_m): renamed from sockopt_family.
30469	  (sockopt_level_m): renamed from sockopt_level.
30470	  (sockopt_optname_m): renamed from sockopt_optname.
30471	  (inspect_local_peercred): follow the renaming.
30472	  (Init_sockopt): ditto.
30473
30474Tue Feb 10 20:56:07 2009  Tanaka Akira  <akr@fsij.org>
30475
30476	* ext/socket/ancdata.c (anc_inspect_socket_creds): refactored to avoid
30477	  a rb_str_cat2 call.
30478
30479Tue Feb 10 04:34:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30480
30481	* configure.in (when): makes parentheses balanced.
30482
30483Tue Feb 10 01:28:49 2009  Tanaka Akira  <akr@fsij.org>
30484
30485	* ext/socket/ancdata.c (ip_cmsg_type_to_sym): renamed from
30486	  cmsg_type_to_sym.
30487
30488Tue Feb 10 01:22:56 2009  Tanaka Akira  <akr@fsij.org>
30489
30490	* ext/socket/option.c (sockopt_inspect): refactored.
30491
30492Tue Feb 10 01:02:16 2009  Tanaka Akira  <akr@fsij.org>
30493
30494	* ext/socket/mkconstants.rb: generate intern_family_noprefix.
30495
30496	* ext/socket/option.c (sockopt_inspect): use intern_family_noprefix
30497	  not to show AF_ prefix.
30498
30499	* ext/socket/ancdata.c (ancillary_inspect): ditto.
30500
30501Mon Feb  9 23:21:29 2009  Tanaka Akira  <akr@fsij.org>
30502
30503	* ext/socket/constants.c (level_arg): use unknown_level_to_int for
30504	  non internet protocol.
30505	  (optname_arg): use only so_optname_to_int for non internet protocol.
30506	  (cmsg_type_arg): use only scm_optname_to_int for non internet
30507	  protocol.
30508
30509	* ext/socket/mkconstants.rb: generate unknown_level_to_int.
30510	  rename iplevel_to_int to ip_level_to_int.
30511
30512Mon Feb  9 23:04:27 2009  Tanaka Akira  <akr@fsij.org>
30513
30514	* ext/socket/mkconstants.rb: rename level_to_int to iplevel_to_int.
30515	  rename intern_level to intern_iplevel.
30516
30517	* ext/socket/constants.c: follow the renaming.
30518
30519	* ext/socket/option.c: ditto.
30520
30521	* ext/socket/ancdata.c: ditto.
30522
30523Mon Feb  9 22:52:13 2009  Tanaka Akira  <akr@fsij.org>
30524
30525	* ext/socket/rubysocket.h (level_arg): add family argument.
30526	  (optname_arg): ditto.
30527	  (cmsg_type_arg): ditto.
30528	  (rb_sock_getfamily): declared.
30529
30530	* ext/socket/constants.c (level_arg): add family argument.
30531	  (optname_arg): ditto.
30532	  (cmsg_type_arg): ditto.
30533
30534	* ext/socket/init.c (rb_sock_getfamily): defined.
30535
30536	* ext/socket/option.c (sockopt_initialize): give family for level_arg
30537	  and optname_arg.
30538	  (sockopt_s_int): ditto.
30539
30540	* ext/socket/basicsocket.c (bsock_setsockopt): ditto.
30541	  (bsock_getsockopt): ditto.
30542
30543	* ext/socket/ancdata.c (ancillary_initialize): ditto.
30544	  (ancillary_s_int): ditto.
30545	  (ancillary_cmsg_is_p): ditto.
30546	  (bsock_sendmsg_internal): ditto.
30547	  (bsock_recvmsg_internal): use rb_sock_getfamily.
30548
30549Mon Feb  9 21:48:59 2009  Tanaka Akira  <akr@fsij.org>
30550
30551	* ext/socket/ancdata.c (ancillary_inspect): show address family.
30552
30553Mon Feb  9 20:19:36 2009  Tanaka Akira  <akr@fsij.org>
30554
30555	* ext/socket/basicsocket.c (bsock_getsockname): use sockaddr_storage.
30556
30557Mon Feb  9 20:11:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30558
30559	* ext/win32ole/win32ole.c (load_conv_function51932): fixed for the
30560	  case IMultiLanguage is not available.  [ruby-dev:37950]
30561
30562Mon Feb  9 20:04:35 2009  Tanaka Akira  <akr@fsij.org>
30563
30564	* ext/socket/option.c (inspect_int): return 1/0 on success/failure.
30565	  (inspect_uint): ditto.
30566	  (inspect_linger): ditto.
30567	  (inspect_socktype): ditto.
30568	  (inspect_timeval): ditto.
30569	  (inspect_peercred): ditto.
30570	  (inspect_local_peercred): ditto.
30571	  (sockopt_inspect): refactored.
30572
30573Mon Feb  9 20:00:26 2009  Tanaka Akira  <akr@fsij.org>
30574
30575	* ext/socket/mkconstants.rb: more constants for Solaris.
30576
30577Mon Feb  9 19:59:18 2009  Tanaka Akira  <akr@fsij.org>
30578
30579	* ext/socket/basicsocket.c (bsock_getsockopt): refine address family
30580	  examination.
30581
30582Mon Feb  9 19:52:32 2009  Tanaka Akira  <akr@fsij.org>
30583
30584	* ext/socket/option.c (sockopt_initialize): argument conversion
30585	  reordered.
30586
30587Mon Feb  9 19:46:22 2009  Tanaka Akira  <akr@fsij.org>
30588
30589	* ext/socket/ancdata.c (ancillary_initialize): add family argument.
30590	  (ancdata_new): ditto.
30591	  (ancillary_s_int): ditto.
30592	  (ancillary_family): new function.
30593	  (ancillary_family_m): new method.
30594	  (ancillary_s_ip_pktinfo): follow ancdata_new change.
30595	  (ancillary_s_ipv6_pktinfo): ditto.
30596	  (bsock_recvmsg_internal): examine the socket address family.
30597
30598Mon Feb  9 11:31:09 2009  NARUSE, Yui  <naruse@ruby-lang.org>
30599
30600	* io.c (io_encoding_set): ignore second argument when external and
30601	  internal are same. [ruby-dev:37939]
30602
30603Mon Feb  9 09:05:12 2009  Tanaka Akira  <akr@fsij.org>
30604
30605	* ext/socket/option.c (inspect_local_peercred): check version.
30606	  (sockopt_inspect): suppress warning.
30607
30608Mon Feb  9 02:04:03 2009  Tanaka Akira  <akr@fsij.org>
30609
30610	* ext/socket/option.c (inspect_peercred): struct ucred contains
30611	  effective uid/gid.
30612
30613Mon Feb  9 00:44:45 2009  Tanaka Akira  <akr@fsij.org>
30614
30615	* ext/socket/option.c (sockopt_inspect): add ifdef guard for
30616	  LOCAL_PEERCRED.
30617
30618Mon Feb  9 00:37:06 2009  Tanaka Akira  <akr@fsij.org>
30619
30620	* ext/socket/option.c (inspect_local_peercred): cr_uid is a effective
30621	  uid, not a real uid.
30622
30623Mon Feb  9 00:30:56 2009  Tanaka Akira  <akr@fsij.org>
30624
30625	* ext/socket/extconf.rb: check sys/param.h and sys/ucred.h.
30626
30627	* ext/socket/rubysocket.h: include sys/param.h and sys/ucred.h.
30628
30629	* ext/socket/option.c (inspect_local_peercred): new function to show
30630	  LOCAL_PEERCRED socket option on FreeBSD.
30631	  (sockopt_inspect): show as LOCAL_* socket option if AF_UNIX and level
30632	  is 0.
30633
30634Mon Feb  9 00:01:47 2009  Tanaka Akira  <akr@fsij.org>
30635
30636	* ext/socket/rubysocket.h (sockopt_new): add family argument.
30637
30638	* ext/socket/option.c (sockopt_initialize): add vfamily argument.
30639	  (sockopt_new): add family argument and record it in the object.
30640	  (sockopt_family): new method.
30641	  (sockopt_s_int): add vfamily argument.
30642	  (sockopt_inspect): show family.
30643
30644	* ext/socket/basicsocket.c (bsock_getsockopt): check address family
30645	  using getsockname.
30646
30647Sun Feb  8 23:37:17 2009  Yusuke Endoh  <mame@tsg.ne.jp>
30648
30649	* enumerator.c (enumerator_with_index): receives one argument which
30650	  represents a start offset.  [ruby-dev:37921]
30651
30652Sun Feb  8 23:28:05 2009  Yusuke Endoh  <mame@tsg.ne.jp>
30653
30654	* include/ruby/st.h, st.c: order entries by a linked list instead of
30655	  a loop to fix iteration miss when hash is modified during iteration.
30656	  [ruby-dev:37910]
30657
30658Sun Feb  8 23:22:35 2009  Tanaka Akira  <akr@fsij.org>
30659
30660	* ext/socket/option.c (inspect_peercred): new function to show
30661	  SO_PEERCRED socket option on GNU/Linux.
30662
30663Sun Feb  8 22:44:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30664
30665	* include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),
30666	  (rb_thread_blocking_region_end): marked as deprecated.
30667
30668	* include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++.  a
30669	  patch from Aman Gupta at [ruby-core:21934]
30670
30671Sun Feb  8 21:47:50 2009  Tanaka Akira  <akr@fsij.org>
30672
30673	* ext/socket/extconf.rb: check struct cmsgcred.
30674
30675	* ext/socket/ancdata.c (anc_inspect_passcred_credentials): add
30676	  "(ucred)".
30677	  (anc_inspect_socket_creds): show struct cmsgcred too, for FreeBSD.
30678
30679Sun Feb  8 21:05:35 2009  Tanaka Akira  <akr@fsij.org>
30680
30681	* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
30682	  detach spawned process.  [ruby-dev:37936]
30683
30684Sun Feb  8 20:30:29 2009  Tanaka Akira  <akr@fsij.org>
30685
30686	* ext/socket/extconf.rb: check struct sockcred.
30687
30688	* ext/socket/ancdata.c (anc_inspect_socket_creds): new function to
30689	  show SCM_CREDS on NetBSD.
30690
30691Sun Feb  8 19:05:24 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30692
30693	* include/ruby/backward/rubysig.h: extern "C" was missing.
30694	  [ruby-core:21929]
30695
30696Sun Feb  8 18:46:15 2009  Tanaka Akira  <akr@fsij.org>
30697
30698	* ext/socket/ancdata.c (anc_inspect_passcred_credentials): new
30699	  function to show SCM_CREDENTIALS on GNU/Linux.
30700
30701Sun Feb  8 18:34:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30702
30703	* io.c (rb_io_s_binread): ensures file path.  [ruby-dev:37940]
30704
30705Sun Feb  8 13:52:02 2009  Tanaka Akira  <akr@fsij.org>
30706
30707	* ext/socket/raddrinfo.c (init_unix_addrinfo): add socktype argument.
30708	  (addrinfo_initialize): follow init_unix_addrinfo change.
30709	  (addrinfo_s_unix): add optional argument: socktype
30710
30711Sun Feb  8 13:09:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30712
30713	* configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS),
30714	  (RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): add option(s)
30715	  without duplication.
30716
30717	* configure.in (RUBY_DEFINE_IF): changed parameter order, now
30718	  condition comes first.
30719
30720	* configure.in (universal_binary): checks architecture macros, and
30721	  improved thin load paths.
30722
30723Sun Feb  8 09:41:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30724
30725	* runruby.rb: gets extout and arch from rbconfig.rb.
30726
30727Sat Feb  7 21:26:15 2009  Tanaka Akira  <akr@fsij.org>
30728
30729	* test/socket/test_addrinfo.rb (test_family_addrinfo): don't use
30730	  www.ruby-lang.org.
30731	  http://d.hatena.ne.jp/nagachika/20090204/working_for_0f0e
30732
30733Sat Feb  7 18:02:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30734
30735	* configure.in (--with-arch): added new option to support
30736	  universal binary.  replaced --enable-fat-binary option which
30737	  didn't work actually.
30738
30739	* configure.in (RUBY_FUNC_ATTRIBUTE): added conditional test.
30740
30741	* configure.in (ac_cv_type_getgroups): declared because getgroups()
30742	  fills rest of the buffer with garbage on Rosetta.
30743
30744	* configure.in (alloca): defines only for powerpc, but always
30745	  create empty object to suppress ld warning.
30746
30747	* configure.in (LIBRUBY_DLDFLAGS): set compatibility version with
30748	  TEENY.
30749
30750	* configure.in (CFLAGS, LDFLAGS): separates ARCH_FLAG.
30751
30752	* configure.in (arch): renamed to "universal" from "fat".
30753
30754	* Makefile.in (ARCH_FLAG): added.
30755
30756	* include/ruby/defines.h (WORDS_BIGENDIAN): uses
30757	  AC_APPLE_UNIVERSAL_BUILD.
30758
30759	* missing/alloca.c (alloca): defines only if C_ALLOCA is defined.
30760
30761Sat Feb  7 12:31:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30762
30763	* runruby.rb: added --precommand and --show options.
30764
30765	* runruby.rb: added --cpu option.
30766
30767	* runruby.rb: skips version check in rbconfig.rb.
30768
30769Sat Feb  7 11:44:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30770
30771	* lib/mkmf.rb (have_header): needs dependent headers if trying to
30772	  compile.
30773
30774	* ext/socket/extconf.rb: net/if.h depends on other headers.
30775
30776Sat Feb  7 04:02:37 2009  Tanaka Akira  <akr@fsij.org>
30777
30778	* dir.c (dir_read): don't disable rdoc.
30779
30780Fri Feb  6 23:28:33 2009  Tanaka Akira  <akr@fsij.org>
30781
30782	* io.c (io_fread): use rb_io_wait_readable for retry
30783	  avoid Errno::EINTR on ruby -e 'trap(:CHLD) {}; spawn("sleep 1"); STDIN.read'
30784
30785Fri Feb  6 22:36:11 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
30786
30787	* thread_pthread.c (native_thread_create) [__SYMBIAN32__]: reduced pthread stack size.
30788
30789	* thread_pthread.c (thread_timer) [__SYMBIAN32__]: compiled out unsupported yet signal-related functionality.
30790
30791	* io.c (pipe_open) [__SYMBIAN32__]: fixed compile time error.
30792
30793Fri Feb  6 22:11:46 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
30794
30795	* include/ruby/defines.h [__SYMBIAN32__]: included <sys/select.h> for fd_set definition
30796
30797Fri Feb  6 21:58:24 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
30798
30799	* symbian/missing-pips.c: added a stub for missing PIPS function execl.
30800
30801	* process.c (rb_proc_exec) [__SYMBIAN32__]: removed conditional around execl function call.
30802
30803Fri Feb  6 20:37:42 2009  Tanaka Akira  <akr@fsij.org>
30804
30805	* signal.c (register_sigaltstack): ignore sigaltstack error.
30806	  It fails on OpenBSD 4.4 when pthread library is linked.
30807
30808Fri Feb  6 18:18:07 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30809
30810	* win32/win32.c (rb_w32_readdir_with_enc): fallback to OS's conversion
30811	  when ASCII-8BIT is passed.
30812
30813Fri Feb  6 17:19:23 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30814
30815	* win32/{dir.h, win32.c} (rb_w32_readdir_with_enc): new function to
30816	  read entry with specified enc.
30817
30818	* win32/win32.c (readdir_internal): extract from rb_w32_opendir().
30819
30820	* win32/win32.c (opendir_internal): extract from rb_w32_readdir().
30821
30822	* dir.c (dir_read, dir_each): use new READDIR macro instead of readdir()
30823	  to pass enc for special version of readdir, such as above.
30824
30825Fri Feb  6 12:11:24 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30826
30827	* ruby.c (process_options): set initial default_external before -r.
30828
30829Fri Feb  6 12:03:47 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30830
30831	* ruby.c (process_options): -K and -E in shebang should be reflect to
30832	  default_external. [ruby-dev:37920]
30833
30834Fri Feb  6 07:52:57 2009  Tanaka Akira  <akr@fsij.org>
30835
30836	* ext/pty/pty.c (chfunc): type fixed.
30837
30838Fri Feb  6 02:51:59 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
30839
30840	* string.c (rb_str_each_codepoint): update RDoc for
30841	  String#codepoints.  a patch from Radoslaw Bulat in
30842	  [ruby-core:21835]
30843
30844Fri Feb  6 01:09:13 2009  Yusuke Endoh  <mame@tsg.ne.jp>
30845
30846	* cont.c (cont_mark, cont_capture, cont_restore_1): use #else instead
30847	  of #elif.  a patch from NISHIMATSU Takeshi <t_nissie at yahoo.co.jp>
30848	  in [ruby-list:45856].
30849
30850Thu Feb  5 20:28:27 2009  Tanaka Akira  <akr@fsij.org>
30851
30852	* include/ruby/intern.h (rb_run_exec_options_err): renamed from
30853	  rb_run_exec_options.
30854	  (rb_exec_err): renamed from rb_exec.
30855	  (rb_fork_err): renamed from rb_fork.
30856	  (rb_spawn_err): renamed from rb_spawn.
30857	  (rb_run_exec_options): declared with 1.9.1 compatible signature.
30858	  (rb_exec): ditto.
30859	  (rb_fork): ditto.
30860	  (rb_spawn): ditto.
30861
30862	* process.c (rb_run_exec_options_err): renamed from
30863	  rb_run_exec_options.
30864	  (rb_exec_err): renamed from rb_exec.
30865	  (rb_fork_err): renamed from rb_fork.
30866	  (rb_spawn_err): renamed from rb_spawn.
30867	  (rb_run_exec_options): defined.
30868	  (rb_exec): ditto.
30869	  (rb_fork): ditto.
30870	  (rb_spawn): ditto.
30871
30872	* io.c: follow above change.
30873
30874	* ext/pty/pty.c: follow above change.
30875
30876	  [ruby-dev:37893]
30877
30878Thu Feb  5 19:58:40 2009  Tanaka Akira  <akr@fsij.org>
30879
30880	* ext/socket: AddrInfo is renamed to Addrinfo.  [ruby-dev:37876]
30881
30882Thu Feb  5 16:18:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30883
30884	* configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix for
30885	  NetBSD.
30886
30887Thu Feb  5 16:04:29 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30888
30889	* win32/Makefile.sub (config.h): follow recent changes about paths.
30890
30891Thu Feb  5 14:26:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30892
30893	* configure.in (MAJOR, MINOR, TEENY): uses RUBY_VERSION_*.
30894
30895	* mkconfig.rb (prefix): uses ruby_version in config.status.
30896
30897Thu Feb  5 12:24:18 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30898
30899	* array.c (rb_ary_uniq): gets rid of copying.
30900
30901Thu Feb  5 12:01:53 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30902
30903	* array.c (ary_add_hash): split from ary_make_hash().
30904
30905	* array.c (ary_make_hash): hide a Hash used internally.
30906
30907	* array.c (ary_recycle_hash): clears internally used hash.  this
30908	  name came from [ruby-dev:37908].
30909
30910	* array.c (rb_ary_diff, rb_ary_and, rb_ary_or, rb_ary_uniq_bang):
30911	  recycle hashes.
30912
30913Thu Feb  5 11:21:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30914
30915	* configure.in (RUBY_LIB_VERSION): added for library version, to
30916	  split from core version.  [ruby-dev:37748]
30917
30918	* configure.in (RUBY_LIB_PATH, etc): moved actual version
30919	  dependent stuff to version.c.
30920
30921	* ruby.c (ruby_init_loadpath_safe): ditto.
30922
30923	* version.c (ruby_initial_load_paths): moved initial load path
30924	  version depending on version from ruby.c.
30925
30926	* version.h (RUBY_VERSION_{MAJOR,MINOR,TEENY}): now mean library
30927	  and API version, and reverted to 1.9.1.  [ruby-dev:37889]
30928
30929Thu Feb  5 07:39:33 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
30930
30931	* ext/readline/readline.c (Init_readline): remove_history(0) may be
30932	  NULL.  [ruby-dev:37891]
30933
30934Thu Feb  5 03:55:22 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
30935
30936	* time.c (LOCALTIME): should call tzset() before localtime_r().
30937	  [ruby-dev:37896]
30938
30939Thu Feb  5 02:12:35 2009  Alexander Zavorine  <alexandre.zavorine@nokia.com>
30940
30941	* symbian/configure.bat: Updated Symbian configuration procedure to
30942	  avoid creating files outside build directory
30943
30944	* symbian/pre-build: ditto
30945
30946	* symbian/setup: ditto
30947
30948	* symbian/rubyu.def: removed
30949
30950Thu Feb  5 01:44:02 2009  Tanaka Akira  <akr@fsij.org>
30951
30952	* transcode.c (make_econv_exception): refine error message for
30953	  undefined conversion.  [ruby-core:21828]
30954
30955Thu Feb  5 01:18:25 2009  Tanaka Akira  <akr@fsij.org>
30956
30957	* ext/socket/socket.c (sock_s_socketpair): make 3rd argument optional.
30958
30959	* ext/socket/unixsocket.c (unix_s_socketpair): follow the above
30960	  change.
30961
30962	* ext/socket/rubysocket.h (sock_s_socketpair): ditto.
30963
30964Thu Feb  5 00:09:39 2009  Tanaka Akira  <akr@fsij.org>
30965
30966	* ext/socket/raddrinfo.c (addrinfo_ipv6_to_ipv4): new method.
30967
30968Wed Feb  4 21:59:31 2009  Tanaka Akira  <akr@fsij.org>
30969
30970	* transcode.c (make_econv_exception): show U+XXXX form for undefined
30971	  conversion error from UTF-8.
30972
30973Wed Feb  4 21:57:37 2009  Tanaka Akira  <akr@fsij.org>
30974
30975	* string.c (rb_str_dump): use MBCLEN_CHARFOUND_P properly.
30976
30977Wed Feb  4 21:55:38 2009  Tanaka Akira  <akr@fsij.org>
30978
30979	* bootstraptest/runner.rb: refine success message.
30980
30981Wed Feb  4 19:10:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
30982
30983	* Makefile.in (id.h): updates from parse.h.
30984
30985Wed Feb  4 11:45:06 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
30986
30987	* win32/mkexports.rb: shouldn't export DllMain.
30988	  reported at http://pc11.2ch.net/test/read.cgi/tech/1233686068/21
30989
30990Wed Feb  4 10:12:05 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
30991
30992	* missing/vsnprintf.c (BSD_vfprintf): should support 't' format
30993	  modifier to handle PRIdPTRDIFF.  thanks for the info from
30994	  Kazuhiro NISHIYAMA.  [ruby-core:21807]
30995
30996Wed Feb  4 01:28:46 2009  Tanaka Akira  <akr@fsij.org>
30997
30998	* ext/socket/extconf.rb: fix struct in_pktinfo and struct in6_pktinfo
30999	  detection.
31000
31001Wed Feb  4 00:32:59 2009  Yusuke Endoh  <mame@tsg.ne.jp>
31002
31003	* test/etc/test_etc.rb(test_getpwnam, test_getgrgid, test_getgrnam):
31004	  support an environment that has duplicative entries.  a patch from
31005	  Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp> in
31006	  [ruby-dev:37882].
31007
31008Wed Feb  4 00:17:52 2009  Tanaka Akira  <akr@fsij.org>
31009
31010	* ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): skip
31011	  socket creation error.
31012
31013Tue Feb  3 23:37:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31014
31015	* ruby.c (load_file_internal): resets EOF flag after parse.
31016
31017Tue Feb  3 23:13:34 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31018
31019	* vm.c (vm_backtrace): always returns non-nil array if lev is
31020	  negative.  [ruby-core:21795]
31021
31022Tue Feb  3 21:19:06 2009  TAKAO Kouji  <kouji@takao7.net>
31023
31024	* ext/readline/extconf.rb: checked rl_set_screen_size and
31025	  rl_get_screen_size.
31026
31027	* ext/readline/readline.c (readline_s_set_screen_size): added
31028	  Readline.set_screen_size.
31029
31030	* ext/readline/readline.c (readline_s_get_screen_size): added
31031	  Readline.get_screen_size.
31032
31033Tue Feb  3 21:07:19 2009  TAKAO Kouji  <kouji@takao7.net>
31034
31035	* ext/readline/readline.c (readline_s_set_completion_proc): set
31036	  default if proc is nil. fix #1095
31037
31038Tue Feb  3 16:36:06 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
31039
31040	* array.c (rb_ary_sort_by_bang): RDoc update.
31041
31042	* NEWS: add Array#sort_by!.
31043
31044Tue Feb  3 16:23:16 2009  Tanaka Akira  <akr@fsij.org>
31045
31046	* ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): new
31047	  private function for allocating same port both IPv4 and IPv6.
31048	  (Socket.tcp_server_sockets): use tcp_server_sockets_port0 for port 0.
31049
31050Tue Feb  3 14:12:10 2009  Shugo Maeda  <shugo@ruby-lang.org>
31051
31052	* lib/net/imap.rb: validate data before sending to a server.
31053	  [ruby-core:20320]
31054
31055Tue Feb  3 12:35:41 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31056
31057	* re.c (match_array): replace match_check().
31058
31059	* re.c (match_values_at): ditto.
31060
31061Tue Feb  3 12:09:08 2009  Shugo Maeda  <shugo@ruby-lang.org>
31062
31063	* lib/net/imap.rb (hmac_md5): should use String#ord to get ascii
31064	  code from the one-character string.
31065
31066Tue Feb  3 11:25:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31067
31068	* load.c (load_lock): warn for circular require.  [ruby-core:20794],
31069	  [ruby-core:20797]
31070
31071Tue Feb  3 08:35:12 2009  Tanaka Akira  <akr@fsij.org>
31072
31073	* ext/socket/lib/socket.rb (Socket.tcp_server_sockets): extracted from
31074	  Socket.tcp_server_loop.
31075	  (Socket.accept_loop): ditto.
31076	  (Socket.unix_server_socket): extracted from Socket.unix_server_loop.
31077	  (Socket.unix_server_loop): use Socket.accept_loop.
31078
31079Tue Feb  3 08:21:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31080
31081	* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
31082	  work in text mode.
31083
31084Tue Feb  3 08:18:26 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31085
31086	* cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
31087
31088	* win32/mkexports.rb (Exports::Cygwin): added.
31089
31090Tue Feb  3 08:10:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31091
31092	* common.mk (Doxyfile): moved from Makefile.in.
31093
31094	* template/Doxyfile.tmpl: split from Doxyfile.in.
31095
31096Tue Feb  3 08:01:38 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31097
31098	* win32/win32.c (rb_w32_write): use of cast expressions as lvalues
31099	  is deprecated.
31100
31101Tue Feb  3 07:57:58 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31102
31103	* ext/socket/extconf.rb (in_pktinfo, in6_pktinfo),
31104	  ext/socket/ancdata.c: defined in w32api/ws2tcpip.h on cygwin but
31105	  cannot compile for some reason.
31106
31107Tue Feb  3 07:02:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31108
31109	* missing/langinfo.c (nl_langinfo_codeset): accepts iso-8859
31110	  fragment.  [ruby-core:21757]
31111
31112Tue Feb  3 07:01:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31113
31114	* mkconfig.rb (patchlevel): config.status may not contain
31115	  PATCHLEVEL even if other version numbers exist.
31116
31117Mon Feb  2 23:43:00 2009  Tanaka Akira  <akr@fsij.org>
31118
31119	* ext/socket/raddrinfo.c (Init_addrinfo): add AddrInfo#to_s as an
31120	  alias of AddrInfo#to_sockaddr.
31121
31122	* ext/socket/option.c (Init_sockopt): add Socket::Option#to_s as an
31123	  alias of Socket::Option#data.
31124
31125	  [ruby-dev:37873]
31126
31127Mon Feb  2 21:04:13 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31128
31129	* array.c (rb_ary_sort_by_bang): RDoc update.  [ruby-core:21742]
31130
31131Mon Feb  2 20:49:24 2009  Akinori MUSHA  <knu@iDaemons.org>
31132
31133	* enumerator.c: Introduce id_each to save rb_intern() and SYM2ID()
31134	  calls.
31135
31136Mon Feb  2 19:55:51 2009  Tanaka Akira  <akr@fsij.org>
31137
31138	* test/socket/test_addrinfo.rb: use AddrInfo.getaddrinfo to generate
31139	  IPv6 address.  AddrInfo.ip generates IPv4 address for IPv4 mapped
31140	  IPv6 address if --with-lookup-order-hack=INET.
31141	  [ruby-dev:37868]
31142
31143Mon Feb  2 19:17:16 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31144
31145	* doc/NEWS-1.9.1: typo fixed: collect_all -> collect.
31146	   [ruby-core:21706]
31147
31148Mon Feb  2 17:23:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31149
31150	* cygwin/GNUmakefile.in (dir.o, win32.o): depend on win32/dir.h.
31151
31152Mon Feb  2 17:13:46 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31153
31154	* mkconfig.rb: patchlevel is sometimes minus.
31155
31156	* win32/resource.rb: ditto.
31157
31158Mon Feb  2 17:11:23 2009  Tanaka Akira  <akr@fsij.org>
31159
31160	* ext/socket/ancdata.c (cmsg_type_to_sym): add #ifdef for no IPv6
31161	  environment.
31162
31163Mon Feb  2 17:05:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31164
31165	* file.c (rb_find_file_ext): should not be infected from other
31166	  load paths.
31167
31168Mon Feb  2 16:33:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31169
31170	* dir.c (dir_s_home): new method.   [ruby-core:21454]
31171
31172Mon Feb  2 16:06:10 2009  Tanaka Akira  <akr@fsij.org>
31173
31174	* version.h: bump up to 1.9.2 patchlevel -1.
31175	  yugui recommend "-1" strongly.
31176
31177	* lib/rubygems/version.rb: accept negative patchlevel.
31178
31179Mon Feb  2 14:53:35 2009  Tanaka Akira  <akr@fsij.org>
31180
31181	* ext/socket/socket.c (sock_initialize): make 3rd argument, protocol,
31182	  optional.
31183
31184Mon Feb  2 14:47:53 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31185
31186	* array.c (rb_ary_sort_by_bang): new method.  requested in
31187	  [ruby-core:21709]
31188
31189Mon Feb  2 14:22:56 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31190
31191	* ext/socket/constants.c (cmsg_type_arg): INET6 check.
31192
31193Mon Feb  2 14:18:20 2009  Tanaka Akira  <akr@fsij.org>
31194
31195	* ext/socket/option.c: use INET6 instead of IPV6.
31196
31197Mon Feb  2 12:47:47 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31198
31199	* ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 for
31200	  VC++6.
31201
31202Mon Feb  2 12:41:52 2009  Shugo Maeda  <shugo@ruby-lang.org>
31203
31204	* complex.c (f_signbit): regard NaN as a positive value.
31205	  [ruby-dev:37861].
31206
31207Mon Feb  2 12:39:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31208
31209	* sample/test.rb (valid_syntax?), test/ruby/test_system.rb
31210	  (TestSystem::valid_syntax?): use catch and throw instead of
31211	  return inside BEGIN block.
31212
31213Mon Feb  2 11:45:10 2009  Tanaka Akira  <akr@fsij.org>
31214
31215	* ext/socket/rubysocket.h (cmsg_type_arg): declared.
31216	  (Init_ancdata): ditto.
31217
31218	* ext/socket/init.c (Init_socket_init): call Init_ancdata.
31219
31220	* ext/socket/constants.c (cmsg_type_arg): defined.
31221
31222	* ext/socket/depend: add dependency for ancdata.o.
31223
31224	* ext/socket/mkconstants.rb: generate scm_optname_to_int.
31225	  more constants.
31226
31227	* ext/socket/extconf.rb: add ancdata.o.
31228
31229	* ext/socket/ancdata.c: new file.  new method
31230	  BasicSocket#{sendmsg,sendmsg_nonblock,recvmsg,recvmsg_nonblock}
31231
31232Mon Feb  2 10:57:27 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31233
31234	* win32/win32.c, win32/dir.h (open_dir_handle, rb_w32_opendir,
31235	  move_to_next_entry, rb_w32_readdir, check_valid_dir): change backend
31236	  API from A to W.
31237
31238Mon Feb  2 10:48:38 2009  Tanaka Akira  <akr@fsij.org>
31239
31240	* ext/socket/basicsocket.c (bsock_setsockopt): accept Socket::Option
31241	  object.
31242	  (bsock_getsockopt): return Socket::Option object.
31243
31244	* ext/socket/option.c: new file.
31245
31246	* ext/socket/rubysocket.h (rb_cSockOpt): declared.
31247	  (sockopt_new): ditto.
31248	  (Init_sockopt): ditto.
31249
31250	* ext/socket/init.c (Init_socket_init): call Init_sockopt.
31251
31252	* ext/socket/depend: add dependency for option.o
31253
31254	* ext/socket/mkconstants.rb: generate intern_level, intern_so_optname,
31255	  intern_ip_optname, intern_ipv6_optname, intern_tcp_optname,
31256	  intern_udp_optname and intern_scm_optname.
31257
31258	* ext/socket/extconf.rb: add option.o.
31259
31260Mon Feb  2 09:49:39 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31261
31262	* vm.c (vm_backtrace_each): progname is not available at
31263	  initializing phase.
31264
31265Mon Feb  2 08:12:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31266
31267	* lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded
31268	  platform names.
31269
31270	* lib/resolv.rb (Resolv::Hosts::DefaultFileName),
31271	  (Resolv::DNS::Config.default_config_hash): tries win32/resolv on
31272	  mswin64 too.
31273
31274	* lib/rubygems/specification.rb (Gem::Specification#ruby_code):
31275	  added mswin64.
31276
31277	* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
31278	  spawn is better to start a process in background.
31279
31280	* ext/extmk.rb: uses FNM_SYSCASE.
31281
31282	* instruby.rb: installs win32.h on mswin64 platform.
31283	  [ruby-core:21722]
31284
31285Mon Feb  2 07:36:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31286
31287	* vm.c (vm_backtrace_each): now takes an iterator function.
31288
31289	* vm_core.h (rb_make_backtrace, rb_backtrace_each): added
31290	  prototypes.
31291
31292	* vm_dump.c (rb_vm_bugreport), vm_eval.c (rb_backtrace): gets rid
31293	  of allocating objects.  [ruby-core:21619]
31294
31295	* vm_eval.c (rb_backtrace_each): new function which iterates over
31296	  each backtrace info.
31297
31298Mon Feb  2 06:51:36 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31299
31300	* encoding.c (rb_filesystem_encoding): Windows' filesystem encoding is
31301	  sometimes ANSI code page and sometimes OEM code page. we should check
31302	  whether code page is used.
31303
31304Sun Feb  1 21:27:55 2009  Tanaka Akira  <akr@fsij.org>
31305
31306	* ext/socket/raddrinfo.c (addrinfo_ipv4_private_p): new method.
31307	  (addrinfo_ipv4_loopback_p): ditto.
31308	  (addrinfo_ipv4_multicast_p): ditto.
31309
31310Sun Feb  1 16:10:06 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31311
31312	* lib/optparse.rb (Switch#summarize): strips an equal sign from
31313	  short option, and fills right sides in shorter lines.
31314	  [ruby-talk:326414]
31315
31316Sun Feb  1 05:19:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31317
31318	* variable.c (rb_const_get_0), vm_insnhelper.c (vm_get_ev_const):
31319	  avoids infinite self recursion autoload.  [ruby-core:21696]
31320
31321Sat Jan 31 22:50:38 2009  Tanaka Akira  <akr@fsij.org>
31322
31323	* lib/test/unit/assertions.rb (assert_equal): show class in failure
31324	  message if meaningful.
31325
31326Sat Jan 31 22:38:46 2009  Tanaka Akira  <akr@fsij.org>
31327
31328	* lib/resolv.rb (Resolv::DNS#each_address): don't query IPv6 address
31329	  if the host has no global IPv6 address.
31330
31331Sat Jan 31 22:29:05 2009  Tanaka Akira  <akr@fsij.org>
31332
31333	* include/ruby/ruby.h (STR2CSTR): removed.
31334	  (rb_str2cstr): removed.
31335
31336	* object.c (rb_str2cstr): removed.
31337
31338Sat Jan 31 20:07:59 2009  Tanaka Akira  <akr@fsij.org>
31339
31340	* ext/socket/raddrinfo.c (addrinfo_ipv6_unspecified_p): new method.
31341	  (addrinfo_ipv6_loopback_p): ditto.
31342	  (addrinfo_ipv6_multicast_p): ditto.
31343	  (addrinfo_ipv6_linklocal_p): ditto.
31344	  (addrinfo_ipv6_sitelocal_p): ditto.
31345	  (addrinfo_ipv6_v4mapped_p): ditto.
31346	  (addrinfo_ipv6_v4compat_p): ditto.
31347	  (addrinfo_ipv6_mc_nodelocal_p): ditto.
31348	  (addrinfo_ipv6_mc_linklocal_p): ditto.
31349	  (addrinfo_ipv6_mc_sitelocal_p): ditto.
31350	  (addrinfo_ipv6_mc_orglocal_p): ditto.
31351	  (addrinfo_ipv6_mc_global_p): ditto.
31352
31353Sat Jan 31 19:09:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31354
31355	* load.c (rb_require_safe): raises when the path to be loaded is
31356	  tainted.  [ruby-dev:37843]
31357
31358Sat Jan 31 18:08:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31359
31360	* configure.in (optflags): defaulted to -O3 to get rid of slug of
31361	  gcc 4.3.
31362
31363Sat Jan 31 18:03:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31364
31365	* lib/optparse.rb (List#accept, parse_in_order): n option is no
31366	  longer needed.
31367
31368Sat Jan 31 14:12:43 2009  Tanaka Akira  <akr@fsij.org>
31369
31370	* lib/pathname.rb (Pathname#each_child): new method.
31371
31372Sat Jan 31 00:07:49 2009  Tanaka Akira  <akr@fsij.org>
31373
31374	* lib/test/unit/assertions.rb
31375	  (Test::Unit::Assertions#assert_nothing_raised): suppress warning.
31376	  [ruby-core:21312]
31377
31378Fri Jan 30 21:49:32 2009  Tanaka Akira  <akr@fsij.org>
31379
31380	* lib/pathname.rb (Pathname#realdirpath): new method based on the
31381	  patch in [ruby-dev:36560] by Akinori MUSHA.
31382	  [ruby-dev:36290]
31383
31384Fri Jan 30 18:04:23 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31385
31386	* win32/win32.c (rb_w32_write): limit write size to 32KB if the file
31387	  seems to be console.  [ruby-core:21613]
31388
31389Fri Jan 30 16:12:32 2009  TAKAO Kouji  <kouji@takao7.net>
31390
31391	* ext/curses/curses.c (Init_curses): Curses#crmode and
31392	  Curses#nocrmode changes to the module function.
31393	  fix #916
31394
31395Fri Jan 30 14:31:14 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31396
31397	* tool/make-snapshot (prereq): remove enc.mk from tarball because
31398	  BSD make checks $(srcdir)/enc.mk and try to run $(builddir)/enc.mk.
31399
31400Fri Jan 30 14:11:48 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31401
31402	* enc/depend: extract compile rules to each target for nmake.
31403
31404Fri Jan 30 12:59:49 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31405
31406	* cygwin/GNUmakefile.in (RUBYDEF): depends on makefiles.
31407
31408	* cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols
31409	  which is not marked as T.
31410
31411Fri Jan 30 11:03:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31412
31413	* lib/test/unit/assertions.rb (assert_respond_to): gets rid of
31414	  overcounting.   [ruby-dev:37703]
31415
31416Fri Jan 30 02:55:56 2009  Tanaka Akira  <akr@fsij.org>
31417
31418	* transcode.c (rb_econv_init_by_convpath_i): make it static.
31419
31420Thu Jan 29 16:22:41 2009  Shugo Maeda  <shugo@ruby-lang.org>
31421
31422	* load.c (rb_feature_provided): should not calculate len by pointer
31423	  subtraction because feature may be a expanded path.
31424	  [ruby-core:21267]
31425
31426Thu Jan 29 14:12:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31427
31428	* configure.in (BASERUBY): erases RUBYOPT at the test.
31429
31430	* configure.in (OBJCOPY): not used on Windows.
31431
31432Thu Jan 29 13:16:11 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31433
31434	* lib/securerandom.rb (SecureRandom.uuid): uses unpacked array
31435	  instead of string, because String#[] returns one length string.
31436
31437Thu Jan 29 12:29:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31438
31439	* lib/rake.rb (FileUtils#rake_system): no longer needs workaround
31440	  on Windows.  [ruby-core:21339]
31441
31442	* lib/rake/win32.rb (Rake::Win32#rake_system): ditto.
31443
31444	* lib/rake/win32.rb (Rake::Win32#win32_system_dir): no longer
31445	  needs environment variables other than APPDATA now.
31446
31447	* lib/rake.rb (Rake::Application#standard_system_dir): uses
31448	  platform specific definition on Windows system.
31449
31450Thu Jan 29 12:18:54 2009  Technorama Ltd.  <oss-ruby@technorama.net>
31451
31452	* lib/securerandom.rb: new method SecureRandom#uuid
31453
31454Thu Jan 29 11:22:19 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31455
31456	* ext/socket/raddrinfo.c (inspect_sockaddr): if defined AF_INET6,
31457	  perhaps can inspect IPv6 addresses if not defined INET6.
31458
31459	* ext/socket/socket.c (socket_s_ip_address_list): support Windows XP
31460	  or later. (Win2k or earlier is still not supported)
31461
31462Thu Jan 29 00:24:48 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31463
31464	* ext/zlib/zlib.c (zstream_run): previous change didn't resolve the
31465	  problem.
31466
31467Wed Jan 28 22:51:12 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31468
31469	* ext/zlib/zlib.c (zstream_run): desperately guard the variable.
31470	  [ruby-core:20576]
31471
31472Wed Jan 28 15:24:11 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
31473
31474	* math.c: SEGV is caused by implicit rb_to_float declaration
31475	  test_complexrational.rb: [BUG] in IA-64 architecture
31476
31477Tue Jan 27 20:02:07 2009  Tanaka Akira  <akr@fsij.org>
31478
31479	* ext/socket/init.c (socks_connect_blocking): moved from
31480	  sockssocket.c.  [ruby-dev:37834]
31481
31482	* sockssocket.c (socks_init): don't omit "int" type.
31483
31484Tue Jan 27 14:41:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31485
31486	* cygwin/GNUmakefile.in (RUBYDEF): needs DATA marks to export
31487	  non-function symbols.  [ruby-core:21582]
31488
31489	* win32/mkexports.rb (Exports::Mingw#each_export): ditto.
31490
31491Tue Jan 27 12:59:55 2009  NARUSE, Yui  <naruse@ruby-lang.org>
31492
31493	* ext/ripper/depend: use VPATH.
31494	  If a platform doesn't support VPATH, Ruby doesn't support it:
31495	  for example MSYS. [ruby-core:21570]
31496
31497Tue Jan 27 12:21:17 2009  NARUSE, Yui  <naruse@ruby-lang.org>
31498
31499	* ext/ripper/depend: lex.c's correct path is ../../lex.c.
31500
31501Tue Jan 27 11:09:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31502
31503	* lib/mkmf.rb (try_header): checks the header depending on
31504	  platform.
31505
31506	* lib/mkmf.rb (have_header, find_header): use try_header.
31507
31508	* win32/Makefile.sub (try_header): uses try_compile to get rid of
31509	  slow -E option of VC.
31510
31511Tue Jan 27 11:03:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31512
31513	* common.mk (distclean-enc, realclean-enc): do not call clean of
31514	  enc.mk twice or more.
31515
31516	* enc/depend (cleanobjs): added deffile.
31517
31518	* lib/mkmf.rb (create_makefile): removes deffile at clean instead
31519	  of distclean.
31520
31521	* win32/Makefile.sub (miniruby, LIBRUBY_SO): removes lib and exp
31522	  files.
31523
31524	* win32/Makefile.sub (clean, distclean): have moved to common.mk.
31525
31526	* win32/rmdirs.bat: omits `not empty' message.
31527
31528Tue Jan 27 10:15:33 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31529
31530	* transcode.c (struct rb_transcoding): added ary member for debug.
31531
31532Tue Jan 27 10:10:14 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31533
31534	* Doxyfile.in (FILE_VERSION_FILTER, INPUT_FILTER): should not use
31535	  ./miniruby directly for cross compiling.
31536
31537Tue Jan 27 04:02:53 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31538
31539	* ext/ripper/depend: fixed dependency path to lex.c.
31540	  [ruby-core:21570]
31541
31542Tue Jan 27 03:43:34 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31543
31544	* hash.c (rb_any_hash): fixed performance issues with nil, true,
31545	  false as hash keys.  a patch from Matthias Waechter.
31546	  [ruby-core:21568]
31547
31548Tue Jan 27 03:23:43 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31549
31550	* lib/mkmf.rb (create_makefile): should point correct path to
31551	  ruby.h and defines.h.   [ruby-core:21569]
31552
31553Mon Jan 26 16:00:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31554
31555	* array.c (rb_ary_aset): fixed arguments evaluation order.
31556
31557Mon Jan 26 15:49:42 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31558
31559	* lib/pathname.rb (chop_basename, prepend_prefix): use o option.
31560
31561Sun Jan 25 16:35:44 2009  Tanaka Akira  <akr@fsij.org>
31562
31563	* ext/socket/socket.c (socket_s_ip_address_list): renamed from
31564	  socket_s_list_ip_address.  [ruby-dev:37806]
31565
31566Sun Jan 25 12:17:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31567
31568	* cygwin/GNUmakefile.in (RUBYDEF): needs read-only section too.
31569
31570Sun Jan 25 12:02:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31571
31572	* win32/Makefile.sub (clean-ext): condition of EXTS was inverted.
31573
31574Sun Jan 25 11:50:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31575
31576	* lib/mkmf.rb (create_makefile): fixed the variables order because
31577	  converter proc refers the separator.
31578
31579Sun Jan 25 11:25:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31580
31581	* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
31582	  parents.
31583
31584	* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
31585	  temporary rdoc.
31586
31587	* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
31588	  directories.
31589
31590	* common.mk (clean, distclean): cleans rdoc.
31591
31592	* common.mk (clean-extout): removes extout directory.
31593
31594	* configure.in (RMDIRS, RMALL): added to clean extout.
31595
31596	* lib/fileutils.rb (FileUtils#rmdir): added :parents option.
31597
31598	* lib/mkmf.rb (create_makefile): cleans installed files at clean
31599	  instead of distclean.
31600
31601	* lib/mkmf.rb (create_makefile): added clean-so and clean-rb.
31602
31603	* lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS.
31604
31605	* lib/un.rb (rmdir): added -p option.
31606
31607	* tool/rmdirs, win32/rmdirs.bat: removes directory and the parents.
31608
31609	* win32/rm.bat: added -r option.
31610
31611Sun Jan 25 09:09:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31612
31613	* dir.c (join_path): use strlcat() to force link.
31614
31615	* dir.c (glob_helper): no strcpy() is needed since len is known.
31616
31617Sun Jan 25 06:44:58 2009  Technorama Ltd.  <oss-ruby@technorama.net>
31618
31619	* ext/openssl/ossl_ssl.c: Server Name Indication support.
31620	  new methods SSLContext#server_name_cb=, SSLSocket#hostname=.
31621
31622	* test/openssl/test_ssl.rb: Tests for above.
31623
31624Sat Jan 24 08:22:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31625
31626	* lib/mkmf.rb (configuration): tools under the top source
31627	  directory are not installed, so unusable outside extmk.rb.
31628
31629Fri Jan 23 17:24:31 2009  WATANABE Hirofumi  <eban@ruby-lang.org>
31630
31631	* golf_prelude.rb (Enumerator#inspect): avoid warning.
31632
31633Fri Jan 23 15:12:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31634
31635	* lib/mkmf.rb (mkintpath): new function which converts native path
31636	  to format acceptable in Makefile.
31637
31638	* lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged.
31639
31640	* lib/mkmf.rb (configuration): converts srcdir, topdir and hdrdir.
31641	  a patch by Alexey Borzenkov <snaury AT gmail.com> at
31642	  [ruby-core:21448].
31643
31644	* lib/mkmf.rb (try_func): got rid of c-mode confusion.
31645
31646Fri Jan 23 13:26:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31647
31648	* signal.c (trap_handler): also accepts symbols.  [ruby-dev:37823]
31649
31650Thu Jan 22 18:14:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31651
31652	* lib/mkmf.rb (create_makefile): removes installed files under
31653	  extout at distclean.
31654
31655Thu Jan 22 17:12:37 2009  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
31656
31657	* lib/cgi/core.rb (CGI.parse): generate only key on params hash
31658	  if request have only key uri parameters.
31659		(ex. index.cgi?aaa&bbb=1 # params=>{:aaa=>[],:bbb=>["1"]})
31660
31661	* test/cgi/test_cgi_core.rb: fix test for key only params.
31662
31663Thu Jan 22 16:29:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31664
31665	* lib/rubygems/installer.rb (Gem::Installer#initialize): fixed
31666	  typos.
31667
31668	* test/rubygems/test_gem.rb (test_self_dir): removed false
31669	  assertions.
31670
31671	* test/rubygems/test_gem.rb (test_self_set_paths): checks if paths
31672	  are included.
31673
31674	* test/rubygems/test_gem_commands_install_command.rb
31675	  (test_execute_remote): checks diagnostic message too.
31676
31677	* test/rubygems/test_gem_installer.rb (load): uses Gem.ruby.
31678
31679	* test/rubygems/gemutilities.rb (Gem.ruby): initializes from the
31680	  environment variable to run without installation.
31681
31682	* test/rubygems/gemutilities.rb (RubyGemTestCase#util_build_gem):
31683	  creates cache directory.
31684
31685Thu Jan 22 16:12:51 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31686
31687	* revert previous revision.  it's already out-of-date.
31688
31689Thu Jan 22 15:54:02 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31690
31691	* include/ruby/win32.h, win32/win32.c (rb_w32_is_valid_fd): new function
31692	  to validate fd.
31693
31694	* io.c (rb_io_initialize): check fd with above function.
31695
31696Thu Jan 22 14:53:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31697
31698	* test/ruby/test_process.rb (MANDATORY_ENVS): needs RUBYLIB to run
31699	  tests without install.
31700
31701Thu Jan 22 12:19:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31702
31703	* gc.c (define_final): cannot define finalizer for immediate
31704	  values.  [ruby-core:21500]
31705
31706	* gc.c (define_final): freezes or hides internal values.
31707
31708Thu Jan 22 11:33:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31709
31710	* thread.c (rb_time_timeval): made a real prototype.  a patch from
31711	  Marcus Rueckert <darix AT opensu.se> at [ruby-core:21492].
31712
31713Wed Jan 21 21:43:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31714
31715	* io.c (rb_io_ungetbyte, rb_io_ungetc): allows nil to reset EOF
31716	  flag with ungetting nothing.
31717
31718	* ruby.c (load_file_internal): rests EOF flag to make possible to
31719	  load from stdin after reading data.
31720
31721Wed Jan 21 17:17:18 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
31722
31723	* array.c (ary_double_capa): a new function to expand array more
31724	  aggressively.   [ruby-core:21460]
31725
31726	* array.c (rb_ary_store): use ary_double_capa().
31727
31728	* array.c (rb_ary_unshift_m): ditto.
31729
31730	* array.c (rb_ary_splice): ditto.
31731
31732Wed Jan 21 15:32:15 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31733
31734	* io.c (rb_io_ungetbyte, rb_io_ungetc): clears EOF flag.
31735
31736Wed Jan 21 14:41:48 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31737
31738	* array.c (take_items): to_ary() raises ArgumentError if cannot to
31739	  convert to Array. [ruby-dev:37797]
31740
31741Wed Jan 21 14:32:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31742
31743	* parse.y (debug_lines): calls rb_intern() once.
31744
31745Wed Jan 21 13:58:17 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31746
31747	* include/ruby/io.h (FMODE_EOF): EOF flag on TTY.
31748
31749	* io.c (io_set_eof): sets EOF flag for TTY.
31750
31751	* io.c (io_seek): clears EOF flag.
31752
31753	* io.c (io_fillbuf): returns EOF if already met EOF.  [ruby-dev:37798]
31754
31755	* io.c (io_fillbuf, io_fread, io_getpartial): sets EOF.
31756
31757Wed Jan 21 08:22:04 2009  Ryan Davis  <ryand-ruby@zenspider.com>
31758
31759	* lib/minitest/*.rb: Imported minitest 1.3.1 r4532.
31760	* test/minitest/*.rb: ditto.
31761
31762Tue Jan 20 20:16:21 2009  Tanaka Akira  <akr@fsij.org>
31763
31764	* ext/socket/socket.c (socket_s_list_ip_address): new method.
31765	  (sockaddr_obj): new function.
31766
31767	* ext/socket/rubysocket.h: include ifaddrs.h, sys/ioctl.h,
31768	  sys/sockio.h, net/if.h if available.
31769	  (addrinfo_new): declared.
31770
31771	* ext/socket/raddrinfo.c (addrinfo_new): exported.
31772
31773	* ext/socket/extconf.rb: check ifaddrs.h, sys/ioctl.h, sys/sockio.h,
31774	  net/if.h and getifaddrs.
31775
31776Tue Jan 20 20:05:21 2009  Tanaka Akira  <akr@fsij.org>
31777
31778	* ext/socket/rubysocket.h (pseudo_AF_FTIP): moved from mkconstants.rb.
31779
31780	* ext/socket/mkconstants.rb: prepend header if -H is not given.
31781
31782Tue Jan 20 17:50:00 2009  NARUSE, Yui  <naruse@ruby-lang.org>
31783
31784	* ext/nkf/nkf-utf8/nkf.c (nkf_buf): use nkf_char.
31785
31786Tue Jan 20 16:17:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31787
31788	* cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed
31789	  with ruby_ to export.
31790
31791	* ext/continuation/continuation.c, ext/fiber/fiber.c: ditto.
31792
31793Tue Jan 20 15:32:29 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31794
31795	* Makefile.in (miniruby): renames and then removes, to get rid of
31796	  EPERM on cygwin and mingw.
31797
31798	* Makefile.in ($(LIBRUBY_SO)): use wildcard option of objcopy.
31799
31800	* configure.in (DLDFLAGS): do not export all symbols.
31801
31802	* cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixed with
31803	  Init_.
31804
31805	* win32/mkexports.rb (Exports::Mingw): includes all symbols as
31806	  well as mswin32, except for prefixed with Init_.
31807
31808Tue Jan 20 13:03:50 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31809
31810	* string.c (hash): fixed the tail bytes handling in the aligned
31811	  access case.
31812
31813Tue Jan 20 09:26:05 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31814
31815	* ext/nkf/nkf-utf8/nkf.c (nkf_buf_push): maybe a bug.
31816
31817	* ext/nkf/nkf-utf8/nkf.c (options): no need to support help option.
31818
31819Tue Jan 20 06:48:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31820
31821	* array.c (take_items), enum.c (enum_zip): tries to convert to
31822	  array first.  [ruby-core:21442]
31823
31824Tue Jan 20 03:50:37 2009  NARUSE, Yui  <naruse@ruby-lang.org>
31825
31826	* ext/nkf/nkf-utf8/nkf.c: Update nkf to 2.0.9.
31827	  revert -s meaning as Shift_JIS, etc.
31828
31829Tue Jan 20 03:42:32 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31830
31831	* string.c (hash): fixed typo.  [ruby-dev:37791]
31832
31833Tue Jan 20 01:15:27 2009  Tanaka Akira  <akr@fsij.org>
31834
31835	* ext/socket/mkconstants.rb (SOMAXCONN): defined.
31836
31837Mon Jan 19 22:31:35 2009  Tanaka Akira  <akr@fsij.org>
31838
31839	* ext/socket/mkconstants.rb: use erb for generating code.
31840
31841Mon Jan 19 17:33:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31842
31843	* string.c (hash): defaulted to MurmurHash 2.0.
31844
31845Mon Jan 19 17:29:34 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31846
31847	* include/ruby/defines.h (RUBY_ALIAS_FUNCTION_TYPE): added.
31848
31849Mon Jan 19 17:24:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31850
31851	* vm_dump.c (vm_stack_dump_each): used only if debug mode.
31852
31853Mon Jan 19 16:32:35 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31854
31855	* string.c (hash): added MurmurHash 2.0.
31856
31857Mon Jan 19 14:31:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31858
31859	* thread.c (rb_thread_execute_interrupts): needs
31860	  rb_signal_buff_size to be declared.
31861
31862Mon Jan 19 13:34:25 2009  Koichi Sasada  <ko1@atdot.net>
31863
31864	* ruby.c (require_libraries): reset th->parse_in_eval while
31865	  loading libraries.  fixes [ruby-dev:37780]
31866
31867Mon Jan 19 11:46:39 2009  Koichi Sasada  <ko1@atdot.net>
31868
31869	* vm_eval.c, eval.c (rb_f_block_given_p): move definition of
31870	  "iterator?" and "block_given?" to make static.
31871
31872	* vm.c (vm_get_ruby_level_caller_cfp): make it static.
31873
31874	* eval_intern.h, vm_insnhelper.c: move decl. of
31875	  vm_get_ruby_level_caller_cfp()
31876	  from eval_intern.h to vm_insnhelper.c.
31877
31878Mon Jan 19 11:27:39 2009  Koichi Sasada  <ko1@atdot.net>
31879
31880	* vm.c: add a prefix "rb_" to exposed functions
31881	  vm_get_ruby_level_next_cfp(), rb_vm_make_env_object(),
31882	  vm_stack_to_heap(), vm_make_proc(), vm_invoke_proc(),
31883	  vm_get_sourceline(), vm_cref(), vm_localjump_error(),
31884	  vm_make_jump_tag_but_local_jump(), vm_jump_tag_but_local_jump().
31885	  This changes may affect only core because most of renamed functions
31886	  require a pointer of not-exposed struct such as rb_thread_t or NODE.
31887	  In short, they are core functions.
31888
31889	* cont.c, eval.c, eval_intern.h, load.c, proc.c, thread.c,
31890	  vm_core.h, vm_dump.c, vm_eval.c, vm_exec.c, vm_insnhelper.c:
31891	  ditto.
31892
31893Mon Jan 19 11:22:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31894
31895	* ext/socket/rubysocket.h (rb_cUNIXSocket, rb_cUNIXServer),
31896	  (unixpath, unixaddr): UNIX domain sockets depend on sys/un.h.
31897
31898Mon Jan 19 11:02:30 2009  Koichi Sasada  <ko1@atdot.net>
31899
31900	* vm_dump.c: add a prefix "rb_vmdebug_" to
31901	  vm_stack_dump_raw(), vm_stack_dump_raw_current(),
31902	  vm_env_dump_raw(), vm_proc_dump_raw(), vm_stack_dump_th(),
31903	  vm_debug_print_register(), vm_thread_dump_regs(),
31904	  vm_debug_print_pre(), vm_debug_print_post(),
31905	  vm_thread_dump_state().
31906	  This change also may affect core (in fact, user of
31907	  above functions may be only ko1).
31908
31909	* vm_core.h: ditto.
31910
31911	* vm_exec.h (SDR2): remove duplicate definition.
31912
31913Mon Jan 19 11:00:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31914
31915	* ext/socket/raddrinfo.c (addrinfo_ip_port): use AF_INET6 only when
31916	  defined, as well as addrinfo_ipv6_p().
31917
31918Mon Jan 19 10:43:38 2009  Koichi Sasada  <ko1@atdot.net>
31919
31920	* gc.c (garbage_collect_with_gvl): suppress warnings.
31921
31922Mon Jan 19 10:34:32 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31923
31924	* ext/socket/depend: workaround for nmake. files in depend without
31925	  paths should converted by RULE_SUBST, but mkmf.rb cannot recognize
31926	  macros currently.
31927
31928Mon Jan 19 09:53:43 2009  Koichi Sasada  <ko1@atdot.net>
31929
31930	* iseq.c:
31931	  rename ruby_iseq_disasm_insn() -> rb_iseq_disasm_insn().
31932	  rename ruby_iseq_disasm() -> rb_iseq_disasm().
31933
31934	* compile.c:
31935	  rename ruby_iseq_compile() -> rb_iseq_compile_node().
31936	  rename ruby_iseq_translate_threaded_code() ->
31937	         rb_iseq_translate_threaded_code().
31938	  rename ruby_insns_name_array() -> rb_insns_name_array().
31939	  rename ruby_iseq_build_from_ary() -> rb_iseq_build_from_ary().
31940
31941	* iseq.c, compile.c: remove ruby_insn_make_insn_table() and make
31942	  static function insn_make_insn_table().
31943
31944	* iseq.h, ruby.c, vm.c, vm_core.h, vm_eval.c, vm_dump.c,
31945	  blockinlining.c: ditto.
31946	  Rename strange "ruby_" prefix to "rb_" prefix.
31947	  This changes may affect only core because renamed functions
31948	  require a pointer of rb_iseq_t which is not exposed.
31949
31950Mon Jan 19 09:21:04 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
31951
31952	* ext/socket/mkconstants.rb: define macros with default value in
31953	  constdefs.h if not exist them.
31954
31955	* ext/socket/raddrinfo.c (addrinfo_mdump, addrinfo_mload): support
31956	  UNIX socket only on platforms which support it.
31957
31958Mon Jan 19 08:56:53 2009  Koichi Sasada  <ko1@atdot.net>
31959
31960	* eval.c, vm_eval.c (rb_f_local_variables): move definition from eval.c
31961	  to vm_eval.c because vm_collect_local_variables_in_heap() should
31962	  be static function.
31963
31964	* vm.c (vm_collect_local_variables_in_heap): make it static.
31965
31966Mon Jan 19 04:06:10 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
31967
31968	* iseq.c (rb_iseq_load): renamed from ruby_iseq_load, since it is
31969	  for C extensions or the ruby core.  [ruby-core:21407]
31970
31971Mon Jan 19 03:06:22 2009  NARUSE, Yui  <naruse@ruby-lang.org>
31972
31973	* transcode.c (str_transcode0): fix: :xml option doesn't
31974	  work on str.encode([options]) form without default_internal.
31975
31976Sun Jan 18 16:56:46 2009  Tanaka Akira  <akr@fsij.org>
31977
31978	* ext/socket/raddrinfo.c (addrinfo_inspect_sockaddr): new
31979	  method AddrInfo#inspect_sockaddr.
31980	  (inspect_sockaddr): extracted from addrinfo_inspect.
31981	  (addrinfo_inspect): use inspect_sockaddr.
31982	  (Init_addrinfo): define the new method.
31983
31984Sun Jan 18 16:46:37 2009  Tanaka Akira  <akr@fsij.org>
31985
31986	* ext/socket/raddrinfo.c (addrinfo_ip_address): new method
31987	  AddrInfo#ip_address.
31988	  (addrinfo_ip_port): new method AddrInfo#ip_port.
31989	  (Init_addrinfo): define the methods above.
31990
31991Sun Jan 18 14:29:52 2009  Tanaka Akira  <akr@fsij.org>
31992
31993	* ext/socket/unixsocket.c: redundant #ifdef removed.
31994
31995Sun Jan 18 03:33:23 2009  Tanaka Akira  <akr@fsij.org>
31996
31997	* ext/socket/raddrinfo.c (addrinfo_mdump): don't use symbol.
31998	  (addrinfo_mload): ditto.
31999
32000Sun Jan 18 03:05:20 2009  Tanaka Akira  <akr@fsij.org>
32001
32002	* ext/socket/raddrinfo.c (addrinfo_mdump): new method.
32003	  (addrinfo_mload): new method.
32004	  (Init_addrinfo): define the method above.
32005
32006	* ext/socket/constants.c (constant_arg): str_to_int's first argument
32007	  constified.
32008
32009	* ext/socket/mkconstants.rb (gen_name_to_int_decl): generated
32010	  function's first argument constified.
32011	  (gen_name_to_int_func_in_guard): ditto.
32012	  (ipproto_to_int): generated.
32013
32014	* ext/socket/rubysocket.h (IS_IP_FAMILY): moved from raddrinfo.c.
32015
32016Sun Jan 18 01:37:50 2009  Tanaka Akira  <akr@fsij.org>
32017
32018	* ext/socket/socket.c (sock_s_getnameinfo): accept AddrInfo object.
32019
32020	* ext/socket/raddrinfo.c (rb_check_sockaddr_string_type): defined.
32021
32022	* ext/socket/rubysocket.h (rb_check_sockaddr_string_type): declared.
32023
32024Sat Jan 17 22:01:15 2009  Tanaka Akira  <akr@fsij.org>
32025
32026	* ext/socket/lib/socket.rb: new file.
32027
32028Sat Jan 17 19:33:48 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
32029
32030	* configure.in (VCSUP): fixed the cases for git-svn or git.
32031
32032	* win32/Makefile.sub (VCSUP): ditto.
32033
32034	* Makefile.in (up): `cd' is necessary for git and git-svn.
32035
32036Sat Jan 17 19:16:16 2009  Tanaka Akira  <akr@fsij.org>
32037
32038	* ext/socket/mkconstants.rb: generate a header file for generated
32039	  functions.
32040
32041	* ext/socket/rubysocket.h: include constdefs.h.  don't declare
32042	  generated functions.
32043
32044	* ext/socket/constants.c: include constdefs.c instead of constants.h.
32045
32046	* ext/socket/depend: dependency updated.
32047
32048Sat Jan 17 17:58:22 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
32049
32050	* lib/irb/xmp.rb: multilingualizes XMP::StringInputMethod.
32051	  [ruby-core:21383].
32052
32053Sat Jan 17 15:01:22 2009  Tanaka Akira  <akr@fsij.org>
32054
32055	* ext/socket/raddrinfo.c (make_inspectname): add a res argument to
32056	  suppress numeric inspectname.
32057	  (init_addrinfo_getaddrinfo): call make_inspectname here.
32058	  (addrinfo_firstonly_new): follow make_inspectname change.
32059	  (addrinfo_list_new): ditto.
32060	  (addrinfo_initialize): follow init_addrinfo_getaddrinfo change.
32061
32062Sat Jan 17 14:52:27 2009  Tanaka Akira  <akr@fsij.org>
32063
32064	* ext/socket/mkconstants.rb: don't cause an error for duplicate names.
32065
32066Sat Jan 17 12:46:17 2009  Tanaka Akira  <akr@fsij.org>
32067
32068	* ext/socket: split files for each class.
32069
32070	* ext/socket/rubysocket.h: common header.
32071
32072	* ext/socket/basicsocket.c: new file for BasicSocket.
32073
32074	* ext/socket/ipsocket.c: new file for IPSocket.
32075
32076	* ext/socket/tcpsocket.c: new file for TCPSocket.
32077
32078	* ext/socket/tcpserver.c: new file for TCPServer.
32079
32080	* ext/socket/sockssocket.c: new file for SOCKSSocket.
32081
32082	* ext/socket/udpsocket.c: new file for UDPSocket.
32083
32084	* ext/socket/unixsocket.c: new file for UNIXSocket.
32085
32086	* ext/socket/unixserver.c: new file for UNIXServer.
32087
32088	* ext/socket/socket.c: now for Socket.
32089
32090	* ext/socket/raddrinfo.c: new file for AddrInfo and name resolution.
32091
32092	* ext/socket/constants.c: new file for constants.
32093
32094	* ext/socket/init.c: new file for utilities.
32095
32096	* ext/socket/mkconstants.rb: export *_to_int.
32097
32098	* ext/socket/extconf.rb: add new object files.
32099
32100	* ext/socket/depend: add dependencies for new files.
32101
32102	* ext/.document: add new files.
32103
32104Sat Jan 17 11:12:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32105
32106	* cont.c (cont_restore_0): padding size doesn't need to be large
32107	  if alloca is used.  suppress warnings.
32108
32109Sat Jan 17 11:12:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32110
32111	* vm_dump.c (vm_stack_dump_each): initialized at declarations.
32112
32113	* vm_dump.c (rb_vm_bugreport): constified to suppress a warning.
32114
32115Fri Jan 16 22:30:27 2009  Tanaka Akira  <akr@fsij.org>
32116
32117	* ext/socket/socket.c: move addrinfo code.
32118
32119Fri Jan 16 18:51:11 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32120
32121	* win32/Makefile.sub (up): tell nmake that need to run command via
32122	  shell.
32123
32124Fri Jan 16 18:43:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32125
32126	* tool/make-snapshot (package): includes all rules and expand
32127	  configured values from the environment to create *.inc, sets RM
32128	  for ripper.c, and needs chdir if absolute path is given with
32129	  -exported option.
32130
32131Fri Jan 16 18:26:47 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32132
32133	* include/ruby/ruby.h (VALUE): use unsigned long or long long
32134	  instead of uintptr_t, since many %lx and so on are still used.
32135
32136Fri Jan 16 17:33:59 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32137
32138	* configure.in (Makefile): set VCS and VCSUP to support `git svn'
32139	  and git.
32140
32141	* Makefile.in, win32/Makefile.sub (up): split from common.mk.
32142
32143Fri Jan 16 12:24:39 2009  Koichi Sasada  <ko1@atdot.net>
32144
32145	* thread.c (thread_start_func_2): call ruby_cleanup() if thread is
32146	  main thread.  [ruby-dev:37624]
32147
32148Fri Jan 16 12:27:50 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32149
32150	* win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,
32151	  miniprelude.c, newline.c): if dependencies is newer than targets or
32152	  targets don't exist, try to create targets with BASERUBY. no need to
32153	  detect errors there because the absence of BASERUBY is not abnormal.
32154	  after the try, if the targets still don't exist, copy them from
32155	  $(srcdir).
32156
32157Fri Jan 16 12:15:07 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32158
32159	* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX): must define as string.
32160	  if not, cause compile error in using PRI?VALUE.
32161
32162	* win32/Makefile.sub (config.h): add SIZEOF_INTPTR_T and
32163	  SIZEOF_UINTPTR_T for SIZEOF_VALUE.
32164
32165Fri Jan 16 11:51:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32166
32167	* symbian/pre-build (COMSPEC): should not overridden.
32168
32169Fri Jan 16 11:47:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32170
32171	* parse.y (rb_parse_in_main): fixed typo.
32172
32173Fri Jan 16 11:41:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32174
32175	* configure.in (RUBY_REPLACE_TYPE): does not define rb_ prefixed
32176	  name if no default type is given.
32177
32178	* configure.in (RUBY_DEFINT): checks size.
32179
32180	* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX):
32181	  assumes usable if PRIdPTR is defined.
32182
32183Fri Jan 16 02:25:46 2009  Yusuke Endoh  <mame@tsg.ne.jp>
32184
32185	* thread.c (rb_thread_execute_interrupts): if signal is already
32186	  buffered, main thread should wait until timer thread delivers it.
32187
32188	* thread.c (timer_thread_function): should defer delivery of a signal
32189	  if main thread does not yet trap a previous one.  [ruby-dev:37676]
32190
32191Fri Jan 16 02:05:55 2009  Tanaka Akira  <akr@fsij.org>
32192
32193	* ext/socket/socket.c (addrinfo_s_ip): new method AddrInfo.ip.
32194
32195Fri Jan 16 01:42:50 2009  Koichi Sasada  <ko1@atdot.net>
32196
32197	* thread.c (call_trace_proc): as Matz said ([ruby-core:21183]),
32198	  should skip rb_str_new2() if rb_sourcefile() returns NULL.
32199	  rb_sourcefile() returns NULL if frame is toplevel of Fiber.
32200	  [ruby-core:21161] [Bug #985]
32201
32202Fri Jan 16 01:09:37 2009  Koichi Sasada  <ko1@atdot.net>
32203
32204	* ruby.c (process_options): decrement parse_in_eval to recognize
32205	  parsing main or normal eval script.
32206
32207	* compile.c (rb_parse_in_main): return 1 if parsing main script.
32208	 (if parse_in_eval is negative value, it means main script)
32209
32210	* parse.y (yycompile0): check rb_parse_in_main() to accumulate
32211	  script text.  Bug #848 [ruby-core:20450]
32212
32213Fri Jan 16 00:57:34 2009  Koichi Sasada  <ko1@atdot.net>
32214
32215	* lib/debug.rb: as wanabe-san pointed out,
32216	  set_trace_func should be completely final task in debug.rb.
32217	  Bug #847 [ruby-core:20449]
32218
32219Fri Jan 16 00:27:03 2009  Koichi Sasada  <ko1@atdot.net>
32220
32221	* vm.c (rb_vm_inc_const_missing_count, ruby_vm_const_missing_count):
32222	  added.
32223
32224	* vm_insnhelper.h: ditto.
32225
32226	* variable.c (rb_const_get_0), insns.def: Constants should not be
32227	  cached if const_missing is called.  [ruby-core:21059] [Bug #967]
32228
32229	* bootstraptest/test_class.rb: add a test.
32230
32231Fri Jan 16 00:25:09 2009  Koichi Sasada  <ko1@atdot.net>
32232
32233	* common.mk: btest-ruby should receive option with OPTS.
32234
32235Fri Jan 16 00:21:10 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32236
32237	* win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,
32238	  miniprelude.c, newline.c): shouldn't copy when $(srcdir) != ".", too.
32239	  (this is a workaround.  we need more strict check.)
32240
32241	* win32/Makefile.sub ($(INSNS)): shouldn't remove BASERUBY.
32242
32243Fri Jan 16 00:19:55 2009  Koichi Sasada  <ko1@atdot.net>
32244
32245	* gc.c (gc_with_gvl): suppress warnings.
32246
32247Thu Jan 15 20:44:30 2009  Tanaka Akira  <akr@fsij.org>
32248
32249	* tool/file2lastrev.rb: RUBY_REVISION must be an integer.
32250
32251Thu Jan 15 15:55:31 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32252
32253	* encoding.c (enc_set_default_encoding): should not treat US-ASCII
32254	  special here.  a patch from Yui NARUSE in [ruby-dev:37769].
32255	  [ruby-dev:37699]
32256
32257Thu Jan 15 14:27:27 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
32258
32259	* LEGAL: Added information for missing/langinfo.c
32260
32261Thu Jan 15 14:17:57 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32262
32263	* parse.y (stmt): explicit error for "Object::Far += foo 1" just
32264	  as "Object::Far += 1".
32265
32266	* parse.y (command): moved return/break/next from command_call for
32267	  better error message.
32268
32269	* parse.y (call_args): void value check added.
32270
32271Thu Jan 15 13:10:58 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32272
32273	* win32/Makefile.sub (COMPILERFLAG): for enc/trans/gb18030.c.
32274
32275Thu Jan 15 13:10:09 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32276
32277	* configure.in, win32/Makefile.sub (MISSING): added langinfo on mingw
32278	  and mswin.
32279
32280	* encoding.c (rb_locale_charmap): use environments on mingw and mswin.
32281
32282	* missing/langinfo.c (nl_langinfo_codeset): MS-Windows Japanese
32283	  environment uses Windows-31J derived from Shift_JIS, not EUC-JP.
32284
32285Thu Jan 15 12:10:39 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32286
32287	* win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,
32288	  miniprelude.c, newline.c): copy only when $(srcdir) != pwd.
32289
32290Thu Jan 15 11:40:44 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32291
32292	* io.c (pipe_open): revert a part of previous commit. it may be a
32293	  mistake.
32294
32295Thu Jan 15 10:45:52 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32296
32297	* symbian/README.SYMBIAN: symbian support added.  great appreciate
32298	  to <alexandre.zavorine at symbian.com>.
32299
32300Thu Jan 15 00:06:12 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32301
32302	* enc/trans/gb18030.trans: get rid of a 1.9 feature for cross
32303	  compile.  [ruby-core:21345]
32304
32305Wed Jan 14 23:57:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32306
32307	* encoding.c (rb_locale_charmap): fallback to codepage if no
32308	  locale is found.  [ruby-core:21110]
32309
32310	* missing/langinfo.c (nl_langinfo_codeset): returns NULL if no
32311	  locale is found.
32312
32313Wed Jan 14 22:38:30 2009  Tanaka Akira  <akr@fsij.org>
32314
32315	* gc.c (negative_size_allocation_error_with_gvl): abolish a warning.
32316	  (negative_size_allocation_error): ditto.
32317
32318	* ext/openssl/ossl.c (ossl_raise): ditto.
32319
32320Wed Jan 14 20:05:05 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
32321
32322	* enc/trans/gb18030.trans, gb18030-tbl.rb:
32323	  new Chinese GB18030 transcoding (from Yoshihiro Kambayashi)
32324
32325	* test/ruby/test_transcode.rb: added tests for the above
32326	  (from Yoshihiro Kambayashi)
32327
32328	* transcode_data.h, transcode.c, tool/transcode_tblgen.rb:
32329	  added support for GB18030-specific 4-byte sequences
32330	  (with Yoshihiro Kambayashi)
32331
32332Wed Jan 14 16:16:19 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32333
32334	* ext/curses/extconf.rb: check ncursesw earlier than ncurses to
32335	  support UTF-8 strings.  non UTF-8 strings should be converted
32336	  explicitly.  [ruby-core:21094]
32337
32338Wed Jan 14 14:42:30 2009  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
32339
32340	* cont.c: fix prototype declare of register_stack_extend
32341
32342Wed Jan 14 13:19:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32343
32344	* win32/win32.c (rb_w32_aspawn): should not escape with caret
32345	  unless using cmd.exe.
32346
32347Wed Jan 14 13:09:00 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32348
32349	* ext/socket/extconf.rb (gai_strerror): checks if available and if
32350	  returns const pointer.
32351
32352	* ext/socket/getaddrinfo.c (gai_strerror): defines only if non
32353	  available.  [ruby-core:21328]
32354
32355Wed Jan 14 12:39:16 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32356
32357	* io.c (rb_io_wait_readable, rb_io_wait_writable): need rb_fd_ptr.
32358
32359	* io.c (appendline): reformed.
32360
32361	* io.c (rb_io_s_pipe): reduced nest of rb_ensure of main block.
32362
32363Tue Jan 13 22:56:57 2009  Tanaka Akira  <akr@fsij.org>
32364
32365	* ext/socket/addrinfo.h (AI_NUMERICSERV): defined.
32366	  (AI_MASK): add AI_NUMERICSERV.
32367
32368	* ext/socket/getaddrinfo.c (getaddrinfo): support AI_NUMERICSERV.
32369
32370Tue Jan 13 21:45:53 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
32371
32372	* lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.
32373	  Patch by Kornelius Kalnbach.  [ruby-core:20992].
32374
32375	* test/ostruct/test_ostruct.rb: test for inspect.
32376	  Patch by Kornelius Kalnbach.  [ruby-core:20992].
32377
32378Tue Jan 13 21:44:30 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32379
32380	* io.c (io_reopen, rb_io_init_copy): should register fptr to pipe_list
32381	  when copying pipe fptr.
32382
32383Tue Jan 13 21:38:07 2009  Tanaka Akira  <akr@fsij.org>
32384
32385	* ext/socket/socket.c (rb_getaddrinfo): use getaddrinfo with GVL if
32386	  getaddrinfo.c/getnameinfo.c is used.  They are not thread safe
32387	  because gethostbyname/gethostbyaddr is used.
32388	  (rb_getnameinfo): ditto.
32389
32390	* extconf.rb: define GETADDRINFO_EMU if getaddrinfo.c/getnameinfo.c is
32391	  used.
32392
32393Tue Jan 13 21:28:14 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
32394
32395	* object.c (rb_obj_not_match): rdoc.
32396	  Patch by Kornelius Kalnbach.  [ruby-core:20991]
32397
32398Tue Jan 13 18:21:44 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32399
32400	* io.c (rb_io_close_read): call rb_io_fptr_cleanup() instead of
32401	  fptr_finalize() because the fptr has special finalizer if it is a
32402	  pipe.  [ruby-dev:37757] (3)
32403
32404Tue Jan 13 18:19:49 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32405
32406	* io.c (rb_io_initialize): workaround for Windows. [ruby-dev:37686]
32407	  (also see [ruby-dev:37721])
32408
32409Tue Jan 13 17:29:02 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32410
32411	* enc/trans/make_transdb.rb (converters): should not depend on the
32412	  hash order for cross compile.
32413
32414Tue Jan 13 16:39:11 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32415
32416	* include/ruby/intern.h, thread.c, win32/Makefile.sub (rb_fdset_t,
32417	  rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr, rb_fd_isset,
32418	  rb_fd_select, rb_fd_ptr, rb_fd_max, HAVE_RB_FD_INIT): new type,
32419	  functions, and macros for Windows.
32420
32421	* win32/win32.c (extract_fd, rb_w32_select): use rb_fdset_t to expand
32422	  fd_array if needed.  [ruby-core:19946]
32423
32424	* win32/win32.c (copy_fd): new function for rb_w32_select().
32425
32426Tue Jan 13 12:31:54 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
32427
32428	* tool/file2lastrev.rb (get_revisions): fixes problem with
32429	  svn on cygwin. [ruby-dev:37702].
32430	  Patch by Kouhei Sutou.
32431
32432Tue Jan 13 11:58:04 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
32433
32434	* lib/irb/input-method.rb: IRB did not prompt for MSwin32.
32435	  [ruby-dev:37686].
32436	  Patch by arton <artonx AT yahoo.co.jp>.
32437
32438Tue Jan 13 12:10:42 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32439
32440	* ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h
32441	  on Windows.
32442
32443Tue Jan 13 09:49:49 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
32444
32445	* ext/socket/socket.c: removed warning about unused variable 'rai'.
32446
32447Tue Jan 13 03:07:28 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32448
32449	* instruby.rb: require "tool/mdoc2man.rb" before chdir if needed.
32450
32451Tue Jan 13 02:54:54 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32452
32453	* ext/socket/extconf.rb: use headers instead of "netdb.h" in checking
32454	  getnameinfo() and getaddrinfo() because Windows doesn't have it.
32455	  [ruby-dev:37757] (1)
32456
32457	* ext/socket/sockport.h (SA_LEN): use sockaddr_in6 when defined AF_INET6
32458	  if INET6 is not defined.  winsock2's getaddrinfo() returns
32459	  sockaddr_in6 if ipv6 is available.
32460
32461Tue Jan 13 02:21:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32462
32463	* win32/win32.c (internal_cmd_match): extracted from
32464	  is_internal_cmd.
32465
32466	* win32/win32.c (argv_size, join_argv): escapes redirection, pipe
32467	  and caret punctuations with carets.
32468
32469	* win32/win32.c (rb_w32_aspawn): ditto, and redirections and pipe
32470	  have no meanings.
32471
32472Tue Jan 13 02:07:38 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
32473
32474	* ext/tk/lib/tk.rb: use Encoding.find("locale") instead of
32475	  Encoding.locale_charmap
32476
32477Tue Jan 13 00:57:56 2009  Tanaka Akira  <akr@fsij.org>
32478
32479	* ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too short
32480	  sockaddr.
32481	  (sock_s_unpack_sockaddr_un): ditto.
32482
32483Mon Jan 12 23:55:19 2009  Tanaka Akira  <akr@fsij.org>
32484
32485	* ext/socket/socket.c (addrinfo_ip_unpack): new method
32486	  AddrInfo#ip_unpack.
32487	  (addrinfo_unix_path): new method AddrInfo#unix_path.
32488	  (Init_socket): define above methods.
32489
32490Mon Jan 12 23:31:42 2009  Tanaka Akira  <akr@fsij.org>
32491
32492	* ext/socket/socket.c (IS_IP_FAMILY): defined.
32493	  (addrinfo_ip_p): use it.
32494
32495Mon Jan 12 17:23:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32496
32497	* lib/test/unit/assertions.rb (assert_nothing_raised): removes the
32498	  current trace to get rid of an issue of MiniTest::Unit#location.
32499
32500Mon Jan 12 16:49:20 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32501
32502	* instruby.rb (install): erased a garbage.
32503
32504Mon Jan 12 16:45:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32505
32506	* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.
32507
32508	* win32/win32.c (winnt_stat): gets rid of strange behavior of
32509	  GetFileAttributes().  [ruby-core:21269]
32510
32511Mon Jan 12 12:43:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32512
32513	* instruby.rb (parse_args, install): added --strip option.
32514
32515	* instruby.rb (install_recursive): skips the directory if matched
32516	  to a no_install pattern ending with a file separator.
32517
32518Mon Jan 12 12:33:56 2009  Tanaka Akira  <akr@fsij.org>
32519
32520	* ext/socket/mkconstants.rb: don't use bytesize because 1.9 dependent.
32521	  [ruby-core:21266]
32522
32523Mon Jan 12 11:59:19 2009  Koichi Sasada  <ko1@atdot.net>
32524
32525	* gc.c (ruby_xmalloc, ruby_xrealloc, ruby_xfree):
32526	  enable to use them without GVL.
32527	  if GC is invoked, acquire GVL during GC.
32528	  if NoMemoryError is raised, acquire GVL and raise it.
32529
32530Mon Jan 12 10:39:19 2009  Koichi Sasada  <ko1@atdot.net>
32531
32532	* thread.c: fix comment (terminology: Global VM Lock).
32533
32534	* thread.c (blocking_region_begin, blocking_region_end):
32535	  save and clear th->blocking_region_buffer.
32536
32537	* thread.c (rb_thread_call_with_gvl): check if it has GVL.
32538
32539	* thread.c (ruby_thread_has_gvl_p): added.
32540
32541	* vm_core.h: add decls.
32542
32543Mon Jan 12 10:21:11 2009  Koichi Sasada  <ko1@atdot.net>
32544
32545	* eval.c: remove unused decl.
32546
32547Sun Jan 11 16:53:14 2009  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
32548
32549	* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
32550	  %> bug. [ruby-dev:37751] [Bug #997]
32551
32552	* test/erb/test_erb.rb: ditto
32553
32554Sun Jan 11 09:53:01 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32555
32556	* ext/socket/mkconstants.rb (c_str): get rid of a 1.9 feature for
32557	  cross compile.  [ruby-core:21243]
32558
32559Sun Jan 11 09:47:30 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32560
32561	* hash.c (rb_hash_s_create): set nil as the value if assoc length
32562	  is not enough.  [ruby-core:21249]
32563
32564Sat Jan 10 21:17:28 2009  Tanaka Akira  <akr@fsij.org>
32565
32566	* ext/socket/mkconstants.rb: don't generate unintended newlines.
32567
32568Sat Jan 10 20:50:02 2009  Tanaka Akira  <akr@fsij.org>
32569
32570	* ext/socket/mkconstants.rb: refactored to nest properly in statically
32571	  and dynamically.
32572
32573Sat Jan 10 20:26:17 2009  Tanaka Akira  <akr@fsij.org>
32574
32575	* version.h: make version string succinct:
32576	  "ruby 1.9.1p5000 (2009-01-10 trunk 21414) [i686-linux]".
32577
32578Sat Jan 10 19:05:13 2009  Koichi Sasada  <ko1@atdot.net>
32579
32580	* cont.c (cont_restore_1): should not be inlined.
32581
32582Fri Jan  9 21:52:47 2009  Tanaka Akira  <akr@fsij.org>
32583
32584	* ext/socket/socket.c (sock_define_const): use INT2NUM.
32585
32586Fri Jan  9 15:40:07 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32587
32588	* ext/socket/mkconstants.rb: define macro if default_value is passed.
32589
32590Fri Jan  9 13:20:08 2009  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
32591
32592	* ext/tk/lib/tk.rb: rescue abnormal Encoding.locale_charmap value.
32593
32594Fri Jan  9 12:29:46 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32595
32596	* common.mk (test-sample), rubytest.rb: use runruby.rb
32597
32598Fri Jan  9 10:40:52 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32599
32600	* test/ruby/test_process.rb (TestProcess::MANDATORY_ENVS): some
32601	  platforms need environments for shared objects.
32602
32603Thu Jan  8 23:19:38 2009  Tanaka Akira  <akr@fsij.org>
32604
32605	* ext/socket/socket.c (bsock_shutdown): accept symbol/string as how.
32606	  (shutdown_how_arg): new function.
32607
32608	* ext/socket/mkconstants.rb: generate shutdown_how_to_int.
32609
32610Thu Jan  8 23:16:37 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32611
32612	* instruby.rb: easy code contains fewer bugs.
32613
32614Thu Jan  8 22:59:30 2009  Tanaka Akira  <akr@fsij.org>
32615
32616	* ext/socket/mkconstants.rb (gen_name_to_int_func): generate
32617	  name_to_int functions, not only body.
32618
32619Thu Jan  8 22:44:10 2009  Tanaka Akira  <akr@fsij.org>
32620
32621	* ext/socket/socket.c: don't use AI_NUMERICSERV for platforms which
32622	  not define it as old Windows.
32623	  [ruby-dev:37736]
32624
32625Thu Jan  8 17:32:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32626
32627	* instruby.rb: should not depend on a library which does not exist
32628	  in 1.8.
32629
32630Thu Jan  8 07:52:55 2009  Tanaka Akira  <akr@fsij.org>
32631
32632	* ext/socket/socket.c (init_unix_addrinfo): don't return a value.
32633
32634Thu Jan  8 07:30:52 2009  Tanaka Akira  <akr@fsij.org>
32635
32636	* lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.
32637
32638Thu Jan  8 00:31:58 2009  Tanaka Akira  <akr@fsij.org>
32639
32640	* lib/test/unit/assertions.rb (assert_no_match): don't count up as two
32641	  assertions.
32642
32643Thu Jan  8 00:26:35 2009  Tanaka Akira  <akr@fsij.org>
32644
32645	* ext/socket/socket.c (addrinfo_getnameinfo): use NI_DGRAM if socktype
32646	  is SOCK_DGRAM.
32647
32648Thu Jan  8 00:16:22 2009  Tanaka Akira  <akr@fsij.org>
32649
32650	* ext/socket/socket.c (host_str): add flags_ptr argument to specify
32651	  AI_NUMERICHOST if host is numeric form.
32652	  (port_str): add flags_ptr argument to specify AI_NUMERICSERV if port
32653	  is numeric form.
32654
32655Wed Jan  7 22:24:12 2009  Tanaka Akira  <akr@fsij.org>
32656
32657	* ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo.
32658	  (s_recvfrom): return AddrInfo as address.
32659	  (s_recvfrom_nonblock): ditto.
32660	  (sock_accept): ditto.
32661	  (sock_accept_nonblock): ditto.
32662	  (sock_sysaccept): ditto.
32663	  (bsock_send): accept AddrInfo as address argument.
32664	  (sock_connect): ditto.
32665	  (sock_connect_nonblock): ditto.
32666	  (sock_bind): ditto.
32667	  (sock_s_unpack_sockaddr_in): ditto.
32668	  (sock_s_unpack_sockaddr_un): ditto.
32669	  (bsock_local_address): new method BasicSocket#local_address.
32670	  (bsock_remote_address): new method BasicSocket#remote_address.
32671	  (addrinfo_initialize): new method AddrInfo#initialize.
32672	  (addrinfo_inspect): new method AddrInfo#inspect.
32673	  (addrinfo_afamily): new method AddrInfo#afamily.
32674	  (addrinfo_pfamily): new method AddrInfo#pfamily.
32675	  (addrinfo_socktype): new method AddrInfo#socktype.
32676	  (addrinfo_protocol): new method AddrInfo#protocol.
32677	  (addrinfo_to_sockaddr): new method AddrInfo#to_sockaddr.
32678	  (addrinfo_canonname): new method AddrInfo#canonname.
32679	  (addrinfo_ip_p): new method AddrInfo#ip?.
32680	  (addrinfo_ipv4_p): new method AddrInfo#ipv4?.
32681	  (addrinfo_ipv6_p): new method AddrInfo#ipv6?.
32682	  (addrinfo_unix_p): new method AddrInfo#unix?.
32683	  (addrinfo_getnameinfo): new method AddrInfo#getnameinfo.
32684	  (addrinfo_s_getaddrinfo): new method AddrInfo.getaddrinfo.
32685	  (addrinfo_s_tcp): new method AddrInfo.tcp.
32686	  (addrinfo_s_udp): new method AddrInfo.udp.
32687	  (addrinfo_s_unix): new method AddrInfo.unix.
32688	  (Init_socket): define new class and methods.
32689	  (sock_getaddrinfo): apply socktype hack regardless of ai_flags.
32690	  (addrinfo_new): defined.
32691	  (get_afamily): ditto.
32692	  (fd_socket_addrinfo): ditto.
32693	  (io_socket_addrinfo): ditto.
32694	  (SockAddrStringValue): ditto.
32695	  (SockAddrStringValuePtr): ditto.
32696	  (sockaddr_string_value): ditto.
32697	  (sockaddr_string_value_ptr): ditto.
32698	  (rb_addrinfo_t): ditto.
32699	  (addrinfo_mark): ditto.
32700	  (addrinfo_free): ditto.
32701	  (addrinfo_s_allocate): ditto.
32702	  (IS_ADDRINFO): ditto.
32703	  (check_addrinfo): ditto.
32704	  (get_addrinfo): ditto.
32705	  (alloc_addrinfo): ditto.
32706	  (init_addrinfo): ditto.
32707	  (addrinfo_new): ditto.
32708	  (call_getaddrinfo): ditto.
32709	  (init_addrinfo_getaddrinfo): ditto.
32710	  (make_inspectname): ditto.
32711	  (addrinfo_firstonly_new): ditto.
32712	  (addrinfo_list_new): ditto.
32713	  (init_unix_addrinfo): ditto.
32714	  (ai_get_afamily): ditto.
32715
32716	* ext/socket/mkconstants.rb: generate intern_protocol_family,
32717	  intern_socktype and intern_ipproto.
32718
32719	  [ruby-dev:37692]
32720
32721Wed Jan  7 22:13:03 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32722
32723	* instruby.rb (man, gem): fixed errors.
32724
32725Wed Jan  7 17:14:40 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32726
32727	* instruby.rb: use installed libraries.  [ruby-core:21006]
32728
32729	* instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir):
32730	  use version invariant configuration.
32731
32732Tue Jan  6 19:09:51 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32733
32734	* cont.c (cont_restore_0): streamlined to ensure O(1) time.  based on
32735	  a patch by Brent Roman <brent AT mbari.org>.
32736
32737Tue Jan  6 00:34:25 2009  Tanaka Akira  <akr@fsij.org>
32738
32739	* io.c (rb_close_before_exec): more heuristics to detect maximum fd.
32740
32741Mon Jan  5 17:59:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32742
32743	* configure.in (cygwin): needs properly implemented nl_langinfo().
32744	  [ruby-core:21110]
32745
32746	* missing/langinfo.c: added as suggested at [ruby-core:21015], from
32747	  http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c.
32748
32749	* missing/langinfo.c (nl_langinfo_0): fixed typos for SJIS.
32750
32751Mon Jan  5 17:38:40 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32752
32753	* encoding.c (rb_locale_charmap): use GetConsoleCP() instead of
32754	  GetACP() because external encoding should be console's one.
32755
32756	* encoding.c (rb_filesystem_encoding): use GetOEMCP() instead of
32757	  GetACP() because VFAT/FAT32 uses OEM CP.
32758
32759Mon Jan  5 16:26:48 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32760
32761	* encoding.c (rb_filesystem_encoding): use ANSI codepage for file
32762	  system on cygwin.
32763
32764	* encoding.c (rb_locale_charmap): reverted.  [ruby-core:21110]
32765
32766Mon Jan  5 16:15:00 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
32767
32768	* ext/curses/curses.c (free_window): use xfree instead of free.
32769	  [ruby-dev:37200]
32770
32771Mon Jan  5 15:49:45 2009  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
32772
32773	* ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast.
32774
32775Mon Jan  5 12:52:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32776
32777	* win32/win32.c (init_env): use user profile folder than personal
32778	  folder.
32779
32780Mon Jan  5 08:41:13 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32781
32782	* file.c (rb_file_s_stat): need type check for non string values.
32783	  [ruby-dev:37673]  fix: #964
32784
32785	* file.c (rb_file_s_size, rb_file_s_atime, rb_file_s_mtime,
32786	  rb_file_s_ctime, rb_f_test): ditto.
32787
32788Mon Jan  5 08:17:56 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32789
32790	* range.c (range_step): should not add up errors on loops.
32791	  [ruby-dev:37691]
32792
32793Mon Jan  5 07:58:37 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32794
32795	* random.c (rb_f_srand): update RDoc.  [ruby-core:21113]
32796
32797Mon Jan  5 06:39:56 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32798
32799	* range.c (range_max): max value from ... not defined for non
32800	  Integer Numeric end values. [ruby-dev:37690] fix: #974
32801
32802Sun Jan  4 22:37:19 2009  Tanaka Akira  <akr@fsij.org>
32803
32804	* ext/socket/socket.c (rb_getaddrinfo): defined for address lookup without GVL.
32805	  (struct getaddrinfo_arg): defined.
32806	  (nogvl_getaddrinfo): defined.
32807	  (rb_getnameinfo): defined for name lookup without GVL.
32808	  (getnameinfo_arg): defined.
32809	  (nogvl_getnameinfo): defined.
32810
32811Sun Jan  4 18:10:10 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
32812
32813	* enc/trans/gbk.trans, gbk-tbl.rb:
32814	  new Chinese GBK transcoding (from Yoshihiro Kambayashi)
32815
32816	* test/ruby/test_transcode.rb: added tests for the above
32817	  (from Yoshihiro Kambayashi)
32818
32819Sun Jan  4 17:55:55 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
32820
32821	* test/ruby/test_transcode.rb: added tests for GB2312
32822	  (from Yoshihiro Kambayashi)
32823
32824	* enc/trans/chinese.trans: set valid byte patterns for
32825	  GB2312 and GB12345
32826
32827Sun Jan  4 17:39:39 2009  Martin Duerst  <duerst@it.aoyama.ac.jp>
32828
32829	* enc/trans/big5.trans, big5-tbl.rb:
32830	  new Chinese Big5 transcoding (from Yoshihiro Kambayashi)
32831
32832	* test/ruby/test_transcode.rb: added tests for the above
32833	  (from Yoshihiro Kambayashi)
32834
32835Sun Jan  4 17:07:45 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32836
32837	* lib/rubygems.rb (Gem.set_home, Gem.set_paths): should not create
32838	  directories stealthily.  [ruby-core:20990]
32839
32840	* lib/rubygems.rb (Gem.find_home): expand_path deals with platform
32841	  dependent environments.
32842
32843	* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): ditto.
32844
32845	* instruby.rb (gem): creates gem directories at installation.
32846
32847Sun Jan  4 15:41:37 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32848
32849	* encoding.c (rb_filesystem_encoding, rb_locale_charmap): uses
32850	  codepage on cygwin.  [ruby-core:20994]
32851
32852Sun Jan  4 11:58:43 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32853
32854	* numeric.c (ruby_float_step): extracted from num_step().
32855
32856	* range.c (range_step): uses ruby_float_step() for float range.
32857	  [ruby-dev:37691]
32858
32859Sun Jan  4 11:11:31 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32860
32861	* ext/extmk.rb (extmake): does not use both of makefile.rb and
32862	  extconf.rb at the same time.
32863
32864	* lib/mkmf.rb (DLLIB): depends on Makefile.  [ruby-core:21096]
32865
32866Sun Jan  4 09:27:41 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
32867
32868	* ext/socket/socket.c (constant_arg): constified.
32869
32870	* ext/socket/socket.c (optname_arg): cygwin does not have
32871	  IPPROTO_IPV6.
32872
32873	* ext/socket/mkconstants.rb (ipv6_optname_to_int): ditto.
32874
32875Sun Jan  4 04:33:14 2009  Tanaka Akira  <akr@fsij.org>
32876
32877	* ext/socket/socket.c: redundant #ifdef removed.
32878
32879Sun Jan  4 03:30:18 2009  Tanaka Akira  <akr@fsij.org>
32880
32881	* io.c (maygvl_copy_stream_wait_read): renamed to add prefix to
32882	  express GVL state.
32883	  (nogvl_copy_stream_wait_write): ditto.
32884	  (nogvl_copy_stream_sendfile): ditto.
32885	  (maygvl_copy_stream_read): ditto.
32886	  (nogvl_copy_stream_write): ditto.
32887	  (nogvl_copy_stream_read_write): ditto.
32888	  (nogvl_copy_stream_func): ditto.
32889
32890Sun Jan  4 00:30:50 2009  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
32891
32892	* lib/erb.rb: merged r20850, r17881, r16811, r16763, r16748, r15829,
32893	  r15794 and r15698 from ruby_1_8.
32894
32895	* test/erb/test_erb.rb: ditto.
32896
32897Sat Jan  3 22:24:36 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32898
32899	* common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macro
32900	  definition from common.mk to {Makefile.in,win32/Makefile.sub}.
32901	  [ruby-dev:37678]
32902
32903Sat Jan  3 15:30:09 2009  NARUSE, Yui  <naruse@ruby-lang.org>
32904
32905	* enc/trans/chinese.trans: added for transcoding EUC-CN and GB12345.
32906
32907	* enc/trans/GB/: ditto.
32908
32909Sat Jan  3 15:26:30 2009  NARUSE, Yui  <naruse@ruby-lang.org>
32910
32911	* enc/trans/euc-cn.c: renamed from gb2312.c because GB2312 is
32912	  the name of a CSS.  it's encoding name is "EUC-CN".
32913
32914Sat Jan  3 03:00:42 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32915
32916	* common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,
32917	  known_errors.inc, miniprelude.c, newline.c): move rules from common.mk
32918	  to {Makefile.in,win32/Makefile.sub} for nmake.
32919	  [ruby-core:20993]
32920
32921Fri Jan  2 23:51:41 2009  Yusuke Endoh  <mame@tsg.ne.jp>
32922
32923	* test/ruby/test_sleep.rb (test_sleep_5sec): stop gc.
32924
32925Fri Jan  2 23:36:10 2009  Tanaka Akira  <akr@fsij.org>
32926
32927	* ext/socket/socket.c: don't apply socktype hack [ruby-core:184] for
32928	  sock_s_getaddrinfo.
32929	  (sock_getaddrinfo): add socktype_hack argument.
32930	  (sock_addrinfo): call sock_getaddrinfo with socktype_hack.
32931	  (sock_s_getaddrinfo): call sock_getaddrinfo without socktype_hack.
32932	  [ruby-dev:37674]
32933
32934Fri Jan  2 23:33:38 2009  NAKAMURA Usaku  <usa@ruby-lang.org>
32935
32936	* include/ruby/missing.h, sprintf.c: get rid of a warning of VC++.
32937
32938Fri Jan  2 22:25:46 2009  Yusuke Endoh  <mame@tsg.ne.jp>
32939
32940	* process.c: use sigaction instead of sigset.  [ruby-core:21021]
32941
32942Fri Jan  2 22:22:04 2009  Yusuke Endoh  <mame@tsg.ne.jp>
32943
32944	* bootstraptest/test_proc.rb: suppress error message.
32945
32946Fri Jan  2 22:20:46 2009  Yusuke Endoh  <mame@tsg.ne.jp>
32947
32948	* test/ruby/test_process.rb (test_wait_and_sigchild): remove debug
32949	  output.
32950
32951Fri Jan  2 17:45:19 2009  Tanaka Akira  <akr@fsij.org>
32952
32953	* ext/socket/mkconstants.rb: rename family_to_str to intern_family.
32954	  it returns ID now.
32955
32956	* ext/socket/socket.c (ipaddr): use intern_family.
32957
32958Fri Jan  2 17:20:31 2009  Tanaka Akira  <akr@fsij.org>
32959
32960	* ext/socket/mkconstants.rb: use ID in the values of
32961	  family_to_str_hash.  family_to_str returns a VALUE.
32962
32963	* ext/socket/socket.c (ipaddr): follow family_to_str change.
32964
32965Fri Jan  2 17:01:51 2009  Tanaka Akira  <akr@fsij.org>
32966
32967	* ext/socket/mkconstants.rb: refactored to gather stringizer
32968	  description.
32969
32970Fri Jan  2 15:30:57 2009  Tanaka Akira  <akr@fsij.org>
32971
32972	* ext/socket/mkconstants.rb: make common prefix optional.
32973
32974Fri Jan  2 14:59:52 2009  Tanaka Akira  <akr@fsij.org>
32975
32976	* ext/socket/mkconstants.rb: use hash for family_to_str to avoid
32977	  linear search.  lenp argument removed.
32978
32979	* ext/socket/socket.c (ipaddr): call family_to_str without lenp
32980	  argument.
32981
32982Fri Jan  2 14:33:12 2009  Tanaka Akira  <akr@fsij.org>
32983
32984	* ext/socket/mkconstants.rb (gen_int_to_name): don't compare constants
32985	  in preprocessor because the constants may be enum.
32986
32987Fri Jan  2 14:11:07 2009  Tanaka Akira  <akr@fsij.org>
32988
32989	* ext/socket/mkconstants.rb (gen_int_to_name): add lenp argument.
32990
32991	* ext/socket/socket.c (ipaddr): follow argument change.
32992
32993Fri Jan  2 10:20:24 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
32994
32995	* lib/singleton.rb: fix documentation. [ruby-core:21038]
32996
32997Fri Jan  2 06:43:58 2009  NARUSE, Yui  <naruse@ruby-lang.org>
32998
32999	* signal.c (rb_signal_buff_size): defined for check whether signal
33000	  is in the buffer or not.
33001
33002	* thread_pthread.c (thread_timer): don't exit the loop when signal
33003	  is in the buffer. [ruby-dev:37637]
33004
33005Fri Jan  2 04:40:00 2009  Tanaka Akira  <akr@fsij.org>
33006
33007	* ext/socket/mkconstants.rb: check duplicates.
33008
33009Fri Jan  2 02:39:08 2009  Tanaka Akira  <akr@fsij.org>
33010
33011	* ext/socket/socket.c (optname_arg): defined.
33012	  (bsock_setsockopt): use optname_arg.
33013	  (bsock_getsockopt): ditto.
33014
33015	* ext/socket/mkconstants.rb: generate so_optname_to_int,
33016	  ip_optname_to_int, ipv6_optname_to_int, tcp_optname_to_int and
33017	  udp_optname_to_int.
33018	  more constants.
33019
33020Fri Jan  2 02:08:36 2009  Tanaka Akira  <akr@fsij.org>
33021
33022	* ext/socket/socket.c (constant_arg): extracted from family_arg.
33023	  (family_arg): use constant_arg.
33024	  (socktype_arg): ditto.
33025	  (level_arg): ditto.
33026
33027Fri Jan  2 01:15:11 2009  Tanaka Akira  <akr@fsij.org>
33028
33029	* ext/socket/socket.c (level_arg): defined.
33030	  (bsock_setsockopt): use level_arg.
33031	  (bsock_getsockopt): ditto.
33032
33033	* ext/socket/mkconstants.rb: generate level_to_int.
33034
33035Fri Jan  2 00:58:40 2009  Tanaka Akira  <akr@fsij.org>
33036
33037	* ext/socket/socket.c (family_arg): accept symbols as well.
33038	  (socktype_arg): ditto.
33039
33040Fri Jan  2 00:49:44 2009  Tanaka Akira  <akr@fsij.org>
33041
33042	* ext/socket/socket.c (sock_s_getaddrinfo): use socktype_arg.
33043
33044Fri Jan  2 00:12:27 2009  Tanaka Akira  <akr@fsij.org>
33045
33046	* ext/socket/socket.c (family_arg): extracted from
33047	  setup_domain_and_type.
33048	  (socktype_arg): ditto.
33049	  (udp_init): use family_arg.
33050	  (sock_s_gethostbyaddr): ditto.
33051	  (sock_s_getaddrinfo): ditto.
33052	  (sock_s_getnameinfo): ditto.
33053
33054Thu Jan  1 22:27:55 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33055
33056	* spec/default.mspec: fix for builddir != srcdir
33057
33058	* Makefile.in: ditto.
33059
33060Thu Jan  1 21:26:05 2009  Tanaka Akira  <akr@fsij.org>
33061
33062	* ext/socket/socket.c (sock_s_getnameinfo): use family_to_int.
33063
33064Thu Jan  1 21:08:34 2009  Tanaka Akira  <akr@fsij.org>
33065
33066	* ext/socket/mkconstants.rb: check all alias possibility.
33067
33068Thu Jan  1 20:59:55 2009  Tanaka Akira  <akr@fsij.org>
33069
33070	* ext/socket/mkconstants.rb: more possible aliases.
33071
33072Thu Jan  1 20:54:02 2009  Tanaka Akira  <akr@fsij.org>
33073
33074	* ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.
33075
33076Thu Jan  1 20:50:09 2009  URABE Shyouhei  <shyouhei@ruby-lang.org>
33077
33078	* process.c (before_exec): it makes no sense for a conditional
33079	  expression to return a void value.
33080
33081Thu Jan  1 20:47:09 2009  Tanaka Akira  <akr@fsij.org>
33082
33083	* ext/socket/socket.c (sock_s_getaddrinfo): use family_to_int.
33084
33085Thu Jan  1 20:17:47 2009  Tanaka Akira  <akr@fsij.org>
33086
33087	* ext/socket/socket.c: include constants.h at top.
33088
33089Thu Jan  1 19:53:33 2009  Tanaka Akira  <akr@fsij.org>
33090
33091	* ext/socket/mkconstants.rb: add valp argument for family_to_int and
33092	  socktype_to_int.
33093
33094	* ext/socket/socket.c (setup_domain_and_type): use valp argument.
33095
33096Thu Jan  1 19:36:57 2009  Tanaka Akira  <akr@fsij.org>
33097
33098	* ext/socket/mkconstants.rb: generate family_to_str.
33099
33100	* ext/socket/socket.c (ipaddr): use family_to_str.
33101
33102Thu Jan  1 17:37:12 2009  Tanaka Akira  <akr@fsij.org>
33103
33104	* ext/socket/mkconstants.rb: generate socktype_to_int.
33105
33106	* ext/socket/socket.c (setup_domain_and_type): use socktype_to_int.
33107
33108Thu Jan  1 17:26:47 2009  Tanaka Akira  <akr@fsij.org>
33109
33110	* ext/socket/socket.c (setup_domain_and_type): initialize ptr.
33111
33112Thu Jan  1 17:01:50 2009  Tanaka Akira  <akr@fsij.org>
33113
33114	* ext/socket/mkconstants.rb: refine family_to_int.
33115
33116Thu Jan  1 16:48:07 2009  Tanaka Akira  <akr@fsij.org>
33117
33118	* ext/socket/mkconstants.rb: generate family_to_int().
33119
33120	* ext/socket/socket.c (setup_domain_and_type): use family_to_int.
33121
33122Thu Jan  1 15:08:46 2009  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33123
33124	* tool/file2lastrev.rb: supports git repositories which are cloned
33125	  from a git-svn gateway.
33126	  Patch by Hongli Lai. [ruby-core:21020]
33127
33128Thu Jan  1 16:08:11 2009  Tanaka Akira  <akr@fsij.org>
33129
33130	* ext/socket/mkconstants.rb: generate init_constants function.
33131
33132	* ext/socket/socket.c (Init_socket): call init_constants.
33133
33134Thu Jan  1 16:03:04 2009  Tanaka Akira  <akr@fsij.org>
33135
33136	* ext/socket/mkconstants.rb (Socket::AF_INET6): moved from socket.c.
33137	  (Socket::PF_INET6): ditto.
33138
33139Thu Jan  1 15:27:07 2009  Tanaka Akira  <akr@fsij.org>
33140
33141	* ext/socket/mkconstants.rb: use erb.
33142
33143Thu Jan  1 15:07:56 2009  Tanaka Akira  <akr@fsij.org>
33144
33145	* ext/socket/mkconstants.rb: add -o option.
33146
33147	* ext/socket/depend: use mkconstants.rb with -o option.
33148
33149Thu Jan  1 07:42:36 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
33150
33151	* lib/singleton.rb: fix indentation of RDoc text.  [ruby-core:21029]
33152
33153Thu Jan  1 07:16:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33154
33155	* Makefile.in (distclean-ext, realclean-ext): use EXTS as default.
33156
33157	* win32/Makefile.sub (distclean-ext, realclean-ext): try to remove ext
33158	  directory.
33159
33160Thu Jan  1 06:56:28 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33161
33162	* tool/file2lastrev.rb: unset PWD.
33163
33164Wed Dec 31 23:37:17 2008  Tanaka Akira  <akr@fsij.org>
33165
33166	* ext/socket/socket.c (sock_s_socketpair): yield if a block is given.
33167	  (io_call_close): defined.
33168	  (io_close): defined.
33169	  (pair_yield): defined.
33170
33171Wed Dec 31 19:35:57 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33172
33173	* spec/README: follows the change of directory structure in rubyspec.
33174
33175	* spec/default.mspec: ditto. Also follows change of mspec command.
33176
33177	* Makefile.in: ditto.
33178
33179Wed Dec 31 17:16:46 2008  Tanaka Akira  <akr@fsij.org>
33180
33181	* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): show openssl error
33182	  code in EWOULDBLOCK error.
33183
33184Wed Dec 31 15:45:18 2008  Tanaka Akira  <akr@fsij.org>
33185
33186	* io.c (copy_stream_body): don't check to_io because
33187	  Zlib::GzipWriter#to_io returns the underlying IO.
33188
33189Wed Dec 31 14:52:33 2008  Tanaka Akira  <akr@fsij.org>
33190
33191	* ext/openssl/ossl_digest.c (GetDigestPtr): use StringValueCStr
33192	  instead of STR2CSTR.
33193
33194	* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_initialize): ditto.
33195	  (ossl_ec_group_initialize): ditto.
33196
33197Wed Dec 31 14:12:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33198
33199	* object.c (rb_to_float): replaced by to_flo definition from
33200	  math.c  [ruby-dev:37668]
33201
33202	* math.c (Need_Float): use rb_to_float().
33203
33204Wed Dec 31 13:49:06 2008  Tanaka Akira  <akr@fsij.org>
33205
33206	* ext/openssl/lib/openssl/buffering.rb (Buffering#read_nonblock):
33207	  implemented.
33208
33209	* ext/openssl/ossl_ssl.c (rb_sys_fail_path): removed.
33210	  (fcntl.h): don't include.
33211	  (ossl_ssl_read_internal): defined.
33212	  (ossl_ssl_read): use ossl_ssl_read_internal.
33213	  (ossl_ssl_read_nonblock): use ossl_ssl_read_internal.
33214	  (Init_ossl_ssl): define sysread_nonblock, instead of read_nonblock.
33215
33216Wed Dec 31 00:27:54 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33217
33218	* object.c (rb_to_float): prohibit conversion from nil to float.
33219	  [ruby-dev:37663]
33220
33221	* pack.c (pack_pack): replace all rb_Float() to rb_to_float().
33222	  [ruby-dev:37663]
33223
33224Tue Dec 30 21:17:00 2008  Tanaka Akira  <akr@fsij.org>
33225
33226	* ext/socket/mkconstants.rb: use sock_define_uconst for INADDR_*
33227	  constants because Socket::INADDR_LOOPBACK should be 0x7f000001
33228	  instead of -0xffffff.
33229
33230	* ext/socket/socket.c (sock_define_uconst): defined.
33231
33232Tue Dec 30 18:23:10 2008  Ryan Davis  <ryand-ruby@zenspider.com>
33233
33234	* lib/minitest/*.rb: Imported minitest 1.3.1 r4506.
33235	* test/minitest/*.rb: ditto.
33236
33237Tue Dec 30 17:59:59 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
33238
33239	* transcode.c: Minor fixes and tweaks in documentation.
33240
33241Tue Dec 30 17:03:51 2008  Koichi Sasada  <ko1@atdot.net>
33242
33243	* ext/dl/test/test_import.rb: fix a prototype decl.
33244	  pointed out by Takehiro Kubo [ruby-core:20971].
33245
33246Tue Dec 30 16:56:09 2008  Koichi Sasada  <ko1@atdot.net>
33247
33248	* thread.c (rb_thread_blocking_region): add a comment.
33249
33250	* thread.c (rb_thread_call_without_gvl): added as a alias of
33251	  rb_thread_blocking_region().
33252
33253	* thread.c (rb_thread_call_with_gvl): added.
33254
33255	* vm_core.h (rb_thread_t#blocking_region_buffer): added for
33256	  rb_thread_call_with_gvl().
33257
33258Mon Dec 29 23:41:42 2008  Koichi Sasada  <ko1@atdot.net>
33259
33260	* ext/dl/test/test_base.rb: add libc search logic.
33261	  this patch is written by Takehiro Kubo.
33262	  [ruby-core:20963] [Bug #932]
33263
33264	* ext/dl/dl.h: Add ",..." as the last argument.
33265	  this patch is written by Takehiro Kubo.
33266	  Bug #633 [ruby-core:19289]
33267
33268	* ext/dl/lib/dl/stack.rb: add add_padding() to calculate
33269	  alignment.  this patch is written by Takehiro Kubo.
33270	  Bug #633 [ruby-core:19289]
33271
33272	* ext/dl/test/test_func.rb: atof()'s return value is double.
33273	  this patch is written by Takehiro Kubo.
33274	  Bug #633 [ruby-core:19289]
33275
33276	* ext/dl/test/test_import.rb:
33277	  - atof()'s return value is double.
33278	  - The types of qsort's second and third argument are size_t.
33279	  - fprintf()'s return value is int.
33280	  this patch is written by Takehiro Kubo.
33281	  Bug #633 [ruby-core:19289]
33282
33283Mon Dec 29 22:37:17 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33284
33285	* process.c (rb_waitpid): retries waitpid when EINTR.
33286	  [ruby-core:19744].
33287
33288Mon Dec 29 23:18:52 2008  Tadayoshi Funaba  <tadf@dotrb.org>
33289
33290	* bignum.c (rb_cstr_to_inum): changed an error message.
33291
33292	* complex.c (string_to_c_strict): ditto.
33293
33294	* rational.c (string_to_r_strict): ditto.
33295
33296Mon Dec 29 22:37:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33297
33298	* pack.c (pack_pack): template f should not accept non float
33299	  values.  [ruby-dev:37656]
33300
33301	* object.c (rb_to_float): new function to type check floats.
33302
33303Mon Dec 29 22:27:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33304
33305	* random.c (rb_f_rand): type check simplified.  strings are no
33306	  longer allowed for argument.  [ruby-dev:37655]
33307
33308	* test/ruby/test_rand.rb (TestRand::o.to_int): need override
33309	  to_int.
33310
33311Mon Dec 29 21:22:31 2008  Tadayoshi Funaba  <tadf@dotrb.org>
33312
33313	* numeric.c: Infinity.numerator returns self. [experimental]
33314
33315	* numeric.c: Infinity.denominator returns 1. [experimental]
33316
33317Mon Dec 29 20:57:14 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33318
33319	* man/ri.1: new manpage.
33320
33321Mon Dec 29 20:45:25 2008  Tadayoshi Funaba  <tadf@dotrb.org>
33322
33323	* rational.c: floor, ceil, truncate and round accept an extra
33324	  argument like Float#round. [experimental]
33325
33326Mon Dec 29 18:24:49 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33327
33328	* Makefile.in (distclean-local): removes Doxyfile and
33329	  run.gdb at distclean'ing.
33330
33331Mon Dec 29 17:53:24 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33332
33333	* bin/erb: accepts options in more flexible styles.
33334
33335Mon Dec 29 17:25:17 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33336
33337	* lib/erb.rb (ERB): m17n of ERB. adds rdoc.
33338	  fixes #712. c.f. [ruby-dev:37516].
33339
33340	* lib/erb.rb (ERB::Compiler#compile): recognizes magic comments.
33341	  returns a pair of compiled script and its script encoding.
33342
33343	* lib/erb.rb (ERB#set_eoutvar): make generated scripts return a
33344	  string in correct encoding.
33345
33346	* lib/erb.rb (ERB#def_method): use Kernel#eval for encoding-awareness
33347	  of the evaluated string.
33348
33349	* bin/erb.rb (ERB::Main.run): adds -E and -U options.
33350	  String is no longer Enumerable.
33351
33352	* man/erb.1: new manpage.
33353
33354	* test/erb/test_erb_m17n.rb: new test case for m17n features.
33355
33356Mon Dec 29 18:02:45 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33357
33358	* ext/io/wait/wait.c (io_nread): returns number of bytes available
33359	  for read.  response to feature request #936 in [ruby-core:20917].
33360
33361Mon Dec 29 17:52:16 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33362
33363	* ext/io/wait/wait.c (io_ready_p): updated to follow RDoc.
33364
33365Mon Dec 29 16:52:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33366
33367	* ext/socket/socket.c (s_recvfrom_nonblock): revert r21162.
33368
33369Mon Dec 29 16:16:20 2008  Koichi Sasada  <ko1@atdot.net>
33370
33371	* vm.c (vm_set_eval_stack, vm_set_main_stack, vm_set_top_stack):
33372	  check stack overflow.  [ruby-dev:37646]
33373
33374Sun Dec 28 18:36:33 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33375
33376	* test/rubygems/test_gem_command.rb
33377	  (test_add_option_overlapping_common_and_local_options):
33378	  follows r21066.
33379
33380Mon Dec 29 14:50:19 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33381
33382	* Makefile.in (ext-clean): ext-clean always fails.
33383
33384	* ext/dl/ripper/extconf.rb: adds y.output into the clean list.
33385
33386Mon Dec 29 11:58:39 2008  Koichi Sasada  <ko1@atdot.net>
33387
33388	* thread.c (rb_mutex_trylock): return false if Mutex owned
33389	  by current thread.  [ruby-core:20943]
33390
33391	* thread.c (rb_mutex_lock): check dead lock (recursive lock) here.
33392
33393	* test/ruby/test_thread.rb: add a test.
33394
33395Mon Dec 29 10:58:54 2008  NARUSE, Yui  <naruse@ruby-lang.org>
33396
33397	* file.c (rb_get_path): move encoding conversion of file path
33398	  from rb_scan_open_args.
33399
33400	* io.c (rb_scan_open_args): ditto.
33401
33402Mon Dec 29 07:15:16 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33403
33404	* cont.c: small RDoc fix mentioned from <radek.bulat at gmail.com>
33405	  in [ruby-core:20921].
33406
33407Mon Dec 29 03:43:25 2008  Koichi Sasada  <ko1@atdot.net>
33408
33409	* ruby.c (process_options): set th->base_block only while
33410	  it is needed.  [ruby-dev:37634] [Bug #939]
33411
33412	* ruby.c (require_libraries): clear th->base_block before
33413	  require libraries.
33414
33415Sun Dec 28 21:33:52 2008  NARUSE, Yui  <naruse@ruby-lang.org>
33416
33417	* test/ext/dl/test_base.rb: add BSD's case.
33418
33419Sun Dec 28 21:09:12 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33420
33421	* ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
33422	  a feature change in 1.9.
33423
33424Sun Dec 28 21:03:07 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33425
33426	* ext/dl/lib/dl/import.rb (DL::Importer#extern): adds filename and
33427	  line number to module_eval'ing for readability of backtrace.
33428	  (DL::Importer#bind): ditto.
33429
33430	* ext/dl/lib/dl/struct.rb (DL::CStructBuilder#create): ditto.
33431
33432Sun Dec 28 19:11:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33433
33434	* win32/Makefile.sub (config.h): do not use snprintf/vsnprintf in
33435	  msvcrt.
33436
33437	* sprintf.c: not force to override snprintf/vsnprintf.
33438	  [ruby-core:20824]
33439
33440Sun Dec 28 17:21:36 2008  NARUSE, Yui  <naruse@ruby-lang.org>
33441
33442	* test/rubygems/test_ext_configure_builder.rb (test_self_build_fail):
33443	  Extends pattern for FreeBSD's error message.
33444
33445Sun Dec 28 17:10:13 2008  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
33446
33447	* ext/dl/test/test_dl2.rb: modify strncpy, strcpy, qsort, types.
33448	  Patch by Takehiro Kubo.
33449	  Bug #633 [ruby-core:19289]
33450	* ext/dl/test/test_base.rb: /lib/libc.so is x86_64 binary in x86_64 architecture.
33451
33452Sun Dec 28 12:53:10 2008  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
33453
33454	* ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.
33455
33456Sun Dec 28 12:24:14 2008  Yusuke Endoh  <mame@tsg.ne.jp>
33457
33458	* thread.c (mutex_free, mutex_unlock): add qualifiers.
33459
33460Sun Dec 28 10:28:04 2008  Yusuke Endoh  <mame@tsg.ne.jp>
33461
33462	* thread.c (mutex_free): GC thread (main thread) has failed to unlock
33463	  a mutex that is locked by another thread, which makes the mutex
33464	  dangling in keeping_mutexes and causes [BUG] or stuck finally.
33465	  Now unlocking is performed as locking thread.
33466
33467	* thread.c (mutex_unlock, rb_mutex_unlock, rb_mutex_unlock_all):
33468	  mutex_unlock receives a thread.
33469
33470Sun Dec 28 05:44:44 2008  Ryan Davis  <ryand-ruby@zenspider.com>
33471
33472	* lib/minitest/*.rb: Imported minitest 1.3.1 r4505.
33473	* test/minitest/*.rb: ditto.
33474
33475Sun Dec 28 00:43:33 2008  Tanaka Akira  <akr@fsij.org>
33476
33477	* runruby.rb: refactored to modify ENV as once.
33478
33479Sat Dec 27 22:41:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33480
33481	* test/rdoc/test_rdoc_info_formatting.rb (setup, teardown): uses
33482	  mktmpdir and removes it after the test.
33483
33484	* test/cgi/test_cgi_session.rb (setup, teardown): ditto.
33485
33486Sat Dec 27 21:46:10 2008  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
33487
33488	* ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64.
33489
33490Sat Dec 27 20:26:59 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33491
33492	* win32/win32.c (rb_w32_argv_size): if an argument is empty, it's size
33493	  is 2, not 0, because it will be converted to "".
33494
33495Sat Dec 27 19:40:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33496
33497	* process.c (after_exec): needs to reset before restart timer
33498	  thread.
33499
33500	* thread.c (thread_start_func_2): stops timer thread if forked in
33501	  the new thread.   [ruby-core:19385]
33502
33503	* thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): DRY.
33504
33505Sat Dec 27 18:25:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33506
33507	* vm_eval.c (rb_f_loop): return enumerator if no block given.
33508	  [ruby-list:45747]
33509
33510Sat Dec 27 17:08:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33511
33512	* .gdbinit (dummy_gdb_enums.special_consts): forces to load debug
33513	  info on Mac OS X.
33514
33515	* .gdbinit (rp): added T_ZOMBIE.
33516
33517Sat Dec 27 16:18:02 2008  Koichi Sasada  <ko1@atdot.net>
33518
33519	* eval.c (rb_frame_callee, rb_frame_caller): rb_frame_callee()
33520	  should return method id on current frame.
33521	  add rb_frame_caller() to get method id on parent frame.
33522	  Bug #884 [ruby-dev:37446]
33523
33524	* eval.c (rb_f_method_name): use rb_frame_caller()
33525	  instead of rb_frame_callee().
33526
33527Sat Dec 27 15:28:12 2008  Tanaka Akira  <akr@fsij.org>
33528
33529	* transcode.c (make_econv_exception): show source and destination
33530	  encoding.  [ruby-dev:37285]
33531
33532Sat Dec 27 15:23:38 2008  Koichi Sasada  <ko1@atdot.net>
33533
33534	* vm_insnhelper.c (vm_yield_with_cfunc): rename parameter name
33535	  "blockptr" to "blockargptr".
33536
33537Sat Dec 27 15:15:56 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33538
33539	* common.mk (revision.h): ignores failure of file2lastrev.
33540
33541Sat Dec 27 15:02:38 2008  Koichi Sasada  <ko1@atdot.net>
33542
33543	* ruby.c (process_options): fix to untouch th->mild_compile_error.
33544	  [ruby-dev:37621], [ruby-dev:37620]
33545
33546Sat Dec 27 14:48:26 2008  Koichi Sasada  <ko1@atdot.net>
33547
33548	* iseq.h, iseq.c (rb_iseq_new_main): add a type ISEQ_TYPE_MAIN.
33549	  [ruby-dev:37619]
33550
33551	* compile.c (rb_dvar_defined, ruby_iseq_compile): ditto.
33552
33553	* iseq.c (iseq_data_to_ary, iseq_load): ditto.
33554
33555	* compile.c (iseq_compile_each): fix to check ip->compile_data.
33556
33557Sat Dec 27 14:29:33 2008  Tanaka Akira  <akr@fsij.org>
33558
33559	* lib/open-uri.rb (OpenURI.redirectable?): permit https redirection.
33560	  patch from Roman Shterenzon.  [ruby-core:20485]
33561
33562Sat Dec 27 13:36:55 2008  Koichi Sasada  <ko1@atdot.net>
33563
33564	* eval.c (get_errinfo): return th->errinfo value
33565	  if normal errinfo place (dynamic local variable) is not found.
33566	  fixes Bug #732 [ruby-dev:37046].
33567
33568	* bootstraptest/test_proc.rb: add a test.
33569
33570Sat Dec 27 13:10:43 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33571
33572	* man/irb.1: adds -v, -h, -E and -U.
33573
33574Sat Dec 27 11:41:45 2008  Koichi Sasada  <ko1@atdot.net>
33575
33576	* vm_insnhelper.c (vm_call_method, vm_call_cfunc): use original id instead of
33577	  calling id when NODE_CFUNC or NODE_BMETHOD.
33578	  fixes Bug #632 [ruby-core:19282].
33579
33580	* vm_eval.c (vm_call0, vm_call_super): ditto.
33581
33582	* vm_method.c (rb_add_method, rb_alias): store original id
33583	  in nd_file field of NODE_METHOD.
33584
33585	* test/stringio/test_stringio.rb: add a test.
33586
33587Sat Dec 27 09:48:54 2008  Koichi Sasada  <ko1@atdot.net>
33588
33589	* vm.c (Init_VM): create and define TOPLEVEL_BINDING at first.
33590
33591	* vm.c (vm_set_main_stack, rb_iseq_eval_main): added.
33592
33593	* parse.y (rb_parser_compile_file): fix to check parse_in_eval flag.
33594
33595	* eval.c (ruby_exec_node): use rb_iseq_eval_main()
33596	  instead of rb_iseq_eval().
33597
33598	* iseq.c (rb_iseq_new_main), vm_core.h: added.
33599	  main script (specified by -e or script name) should be run
33600	  under TOPLEVEL_BINDING using Kernel#eval.  Above changes
33601	  simulate Kernel#eval behaviour.  [ruby-dev:37240]
33602
33603	* compile.c (make_name_for_block): skip iseq except block type.
33604	  this fix is needed for [ruby-dev:37240], and also fixes
33605	  [ruby-dev:35392].
33606
33607Sat Dec 27 09:14:17 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33608
33609	* cont.c: rdoc for Fiber. patch by Muhammad Ali.
33610	  [ruby-core:20894]
33611
33612Sat Dec 27 05:38:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33613
33614	* process.c (after_fork): ignores a termination request in the
33615	  parent process.  [ruby-dev:37447]
33616
33617Sat Dec 27 01:52:39 2008  James Edward Gray II  <jeg2@ruby-lang.org>
33618
33619	* lib/csv.rb: Using a more robust transcoding scheme to produce
33620	  ASCII compatible inspect() messages.  [ruby-dev:37591]
33621
33622Fri Dec 26 18:04:10 2008  Tanaka Akira  <akr@fsij.org>
33623
33624	* io.c (fptr_finalize): don't allocate objects if noraise.
33625	  (finish_writeconv): add noalloc argument to be able to avoid
33626	  object allocation.
33627	  (finish_writeconv_arg): introduced again.
33628	  (finish_writeconv_sync): follow the above change.
33629
33630Fri Dec 26 17:04:14 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33631
33632	* lib/irb/input-method.rb (IRB::StdioInputMethod#initialize):
33633	  removed a 'p' for debugging.
33634
33635Fri Dec 26 15:50:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33636
33637	* lib/optparse.rb (OptionParser::List#summarize): gives priority
33638	  to latter switches.  [ruby-dev:36692]
33639
33640	* lib/optparse.rb (OptionParser#summarize): do not append
33641	  unnecessary line terminator.
33642
33643Fri Dec 26 14:01:38 2008  Tanaka Akira  <akr@fsij.org>
33644
33645	* io.c (fptr_finalize): close the IO object even if finish_writeconv or
33646	  flush is failed.
33647	  (finish_writeconv): don't raise.  return errno or exception.
33648	  (finish_writeconv_arg): removed.
33649	  (finish_writeconv_sync): follow finish_writeconv change.
33650
33651	* transcode.c (rb_econv_make_exception): new function.
33652
33653	* include/ruby/encoding.h (rb_econv_make_exception): declared.
33654
33655Thu Dec 25 20:57:01 2008  NARUSE, Yui  <naruse@ruby-lang.org>
33656
33657	* transcode.c (str_transcode0): set encoding when String#encode was
33658	  given explicit but the same destination and source encoding.
33659
33660Thu Dec 25 20:01:50 2008  Tanaka Akira  <akr@fsij.org>
33661
33662	* io.c (rb_io_s_pipe): unused variable removed.
33663
33664Thu Dec 25 19:35:51 2008  NARUSE, Yui  <naruse@ruby-lang.org>
33665
33666	* transcode.c (sym_ignore): remove useless symbol.
33667
33668Thu Dec 25 18:36:04 2008  Tanaka Akira  <akr@fsij.org>
33669
33670	* io.c (pipe_close): removed.
33671	  (pipe_yield): defined.
33672	  (rb_io_s_pipe): use pipe_yield.
33673
33674Thu Dec 25 17:49:45 2008  NARUSE, Yui  <naruse@ruby-lang.org>
33675
33676	* transcode.c (decorate_convpath): show type of escaping for
33677	  xml_attr_quote or some conversions.
33678
33679Thu Dec 25 17:06:13 2008  Tanaka Akira  <akr@fsij.org>
33680
33681	* io.c (rb_io_initialize): check fd validity.  [ruby-dev:36646]
33682
33683Thu Dec 25 16:23:31 2008  Tanaka Akira  <akr@fsij.org>
33684
33685	* io.c (flush_before_seek): check io_fflush result.
33686	  (rb_io_check_readable): ditto.
33687	  (rb_io_flush): ditto.
33688	  (rb_io_fsync): ditto.
33689	  (remain_size): ditto.
33690	  (rb_io_write_nonblock): ditto.
33691	  (finish_writeconv): ditto.
33692	  (fptr_finalize): ditto.
33693	  (io_reopen): ditto.
33694	  (rb_io_reopen): ditto.
33695	  (copy_stream_body): ditto.
33696
33697Thu Dec 25 15:54:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33698
33699	* io.c (io_fflush): flush write buffer without write lock in
33700	  finalizers.  [ruby-dev:37572]
33701
33702	* io.c (rb_io_fptr_finalize): clear write lock before finalizing.
33703
33704Thu Dec 25 15:07:22 2008  Tanaka Akira  <akr@fsij.org>
33705
33706	* io.c (fptr_finalize): close the IO object even if close(2) is failed.
33707
33708Thu Dec 25 14:51:43 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33709
33710	* lib/rdoc/parser.rb (RDoc::Parser.binary?): should read in binary mode.
33711
33712Thu Dec 25 14:32:23 2008  Koichi Sasada  <ko1@atdot.net>
33713
33714	* vm_insnhelper.c (vm_method_search): fix control flow bug.
33715	  (commited at r20981)
33716
33717Thu Dec 25 13:28:20 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33718
33719	* io.c (rb_io_flush): fsync() after buffer is flushed on win32.
33720	  [ruby-core:20043]
33721
33722Thu Dec 25 13:13:00 2008  Koichi Sasada  <ko1@atdot.net>
33723
33724	* vm_insnhelper.c (vm_method_search): return rb_cObject if there is no
33725	  super class.  [ruby-dev:37587]
33726
33727	* bootstraptest/test_method.rb: add tests for above.
33728
33729Thu Dec 25 12:49:12 2008  Koichi Sasada  <ko1@atdot.net>
33730
33731	* proc.c (proc_new): should use proc_dup() if block has Proc.
33732
33733	* vm.c (vm_make_proc_from_block): should use rb_cProc for block.
33734
33735	* vm.c (vm_make_proc): add an assertion.
33736
33737	* bootstraptest/test_proc.rb: add a test.
33738
33739Thu Dec 25 12:44:27 2008  Koichi Sasada  <ko1@atdot.net>
33740
33741	* vm_insnhelper.c (vm_yield_with_cfunc): check block has Proc.
33742
33743Thu Dec 25 05:53:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33744
33745	* template/id.h.tmpl, id.h (ruby_method_ids): not depend on if
33746	  token are defined as macros.  [ruby-dev:37553]
33747
33748	* template/id.h.tmpl, id.h (ruby_method_ids_check): enclosed in a
33749	  struct.
33750
33751Thu Dec 25 01:52:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33752
33753	* thread.c (thread_start_func_2): sets native thread key.
33754
33755Thu Dec 25 01:09:23 2008  TAKAO Kouji  <kouji@takao7.net>
33756
33757	* test/readline/test_readline_history.rb: check the encoding that
33758	  is in the Readline::HISTORY.
33759
33760Thu Dec 25 00:59:06 2008  TAKAO Kouji  <kouji@takao7.net>
33761
33762	* test/readline/test_readline_history.rb: did not check the
33763	  encoding that is in the Readline::HISTORY. I will fix it.
33764
33765Wed Dec 24 22:36:06 2008  Koichi Sasada  <ko1@atdot.net>
33766
33767	* error.c, vm_dump.c: change message by rb_bug().
33768
33769Wed Dec 24 21:57:39 2008  Koichi Sasada  <ko1@atdot.net>
33770
33771	* compile.c (iseq_peephole_optimize): fix typo.
33772
33773Sun Dec 21 13:38:04 2008  Koichi Sasada  <ko1@atdot.net>
33774
33775	* vm.c (invoke_block_from_c): fix to point right cfp.
33776
33777	* vm.c (vm_make_proc, vm_make_proc_from_block), vm_core.h:
33778	  remove unused parameter cfp.
33779
33780	* vm_insnhelper.c, proc.c (proc_new): ditto.
33781
33782Wed Dec 24 20:59:12 2008  Koichi Sasada  <ko1@atdot.net>
33783
33784	* error.c (exc_equal): == method should not raise Exception.
33785	  [ruby-dev:37519]
33786
33787	* sample/test.rb: fix test.
33788
33789Wed Dec 24 20:33:45 2008  Koichi Sasada  <ko1@atdot.net>
33790
33791	* vm_insnhelper.c (vm_call_method): use class of method defined
33792	  instead of receiver's class on bmethod.  fixes [ruby-core:20786]
33793
33794	* bootstraptest/test_method.rb: add a test for above.
33795
33796	* vm_insnhelper.c (vm_setup_method): remove unused parameter klass.
33797
33798	* vm_insnhelper.h (CALL_METHOD): ditto.
33799
33800	* insns.def, vm_eval.c: ditto.
33801
33802Wed Dec 24 20:15:50 2008  Koichi Sasada  <ko1@atdot.net>
33803
33804	* tool/file2lastrev.rb (get_revisions): fix to ignore end of line.
33805
33806Wed Dec 24 13:33:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33807
33808	* configure.in (HAVE_LONG_LONG, HAVE_OFF_T): revised for autoconf
33809	  2.62 or later.
33810
33811Wed Dec 24 06:29:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33812
33813	* configure.in (OBJDUMP, OBJCOPY): autoconf list is not comma
33814	  separated.
33815
33816	* configure.in (AC_HEADER_STDC, AC_CHECK_HEADERS, AC_CHECK_FUNCS):
33817	  removed duplicated checks.
33818
33819Wed Dec 24 03:21:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33820
33821	* misc/ruby-mode.el: added comment to mention newer version
33822	  bundled with Emacs 23 or later.  a patch from Phil Hagelberg
33823	  <phil at hagelb.org> in [ruby-core:20838].
33824
33825Tue Dec 23 23:49:37 2008  Tanaka Akira  <akr@fsij.org>
33826
33827	* io.c (rb_io_init_copy): call io_seek only if io_tell succeeds.
33828
33829Tue Dec 23 22:57:48 2008  Tanaka Akira  <akr@fsij.org>
33830
33831	* process.c (rb_fork): don't propagate an error message if error
33832	  buffer not given.
33833
33834Tue Dec 23 21:55:05 2008  Tanaka Akira  <akr@fsij.org>
33835
33836	* process.c (rb_fork): propagate an error message from child to parent.
33837	  (rb_f_exec): show details of error in child process on
33838	  exception.
33839	  (save_redirect_fd): add error message arguments.
33840	  (run_exec_dup2): ditto.
33841	  (run_exec_close): ditto.
33842	  (run_exec_open): ditto.
33843	  (run_exec_dup2_child): ditto.
33844	  (run_exec_pgroup): ditto.
33845	  (run_exec_rlimit): ditto.
33846	  (rb_run_exec_options): ditto.
33847	  (rb_exec): ditto.
33848	  (rb_exec_atfork): ditto.
33849	  (rb_spawn_internal): ditto.
33850	  (rb_spawn): ditto.
33851	  (rb_f_system): follow arguments change.
33852	  (proc_daemon): ditto.
33853	  (rb_f_spawn): show details of error in child process on exception.
33854
33855	* io.c (popen_exec): add error message arguments.
33856	  (pipe_open): show details of error in child process on exception.
33857
33858	* include/ruby/intern.h (rb_run_exec_options): add error message
33859	  arguments.
33860	  (rb_exec): ditto.
33861	  (rb_fork): ditto.
33862	  (rb_spawn): ditto.
33863
33864	* ext/pty/pty.c (chfunc): add error message arguments.
33865
33866Tue Dec 23 20:28:28 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33867
33868	* io.c: rdoc for File::open and 1.9 feature in file modes.
33869
33870	* transcode.c: rdoc for String#encode
33871
33872Tue Dec 23 19:51:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
33873
33874	* win32/win32.c (rb_w32_spawn): deals with quoted commands.
33875
33876Tue Dec 23 18:44:21 2008  Tanaka Akira  <akr@fsij.org>
33877
33878	* strftime.c (rb_strftime): use locale insensitive functions for tr_TR
33879	  locale.
33880
33881Tue Dec 23 17:38:03 2008  Tanaka Akira  <akr@fsij.org>
33882
33883	* lib/test/unit/assertions.rb (assert_equal): show small differences
33884	  for Regexp and Float.
33885
33886Tue Dec 23 16:49:48 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33887
33888	* win32/win32.c (rb_w32_spawn): support normal commands with arguments.
33889
33890Tue Dec 23 16:22:41 2008  Tanaka Akira  <akr@fsij.org>
33891
33892	* io.c (rb_io_inspect): show fd number if there is no pathname.
33893
33894Tue Dec 23 15:48:55 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33895
33896	* tool/file2lastrev.rb: shouldn't use single quote in shell's command
33897	  line if you want to support Windows.
33898
33899Tue Dec 23 15:46:43 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33900
33901	* lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537]
33902
33903Tue Dec 23 15:46:47 2008  Eric Hodel  <drbrain@segment7.net>
33904	* gem_prelude.rb:  Match full RubyGems behavior when a gem can't be
33905	  found.
33906
33907Tue Dec 23 15:36:58 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33908
33909	* tool/file2lastrev.rb: detects vcs directory properly on building
33910	  outside of srcdir. [ruby-dev:37555] [ruby-dev:37561]
33911
33912Tue Dec 23 15:30:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33913
33914	* io.c (pipe_open): need to initialize args.
33915
33916Tue Dec 23 14:18:14 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33917
33918	* include/ruby/st.h: need to include defines.h because LONG_LONG is
33919	  defined there.
33920
33921Tue Dec 23 13:52:05 2008  Eric Hodel  <drbrain@segment7.net>
33922
33923	* lib/rdoc/parser/c.rb:  Don't coalesce adjacent comment blocks.
33924	  [bug#901]
33925
33926Tue Dec 23 12:00:00 2008  Tanaka Akira  <akr@fsij.org>
33927
33928	* io.c (pipe_close): fix coding style.  [ruby-dev:37554]
33929
33930Tue Dec 23 08:10:05 2008  Eric Hodel  <drbrain@segment7.net>
33931
33932	* lib/rubygems/installer.rb: Fix documentation.  [bug#827]
33933
33934Tue Dec 23 08:04:58 2008  Eric Hodel  <drbrain@segment7.net>
33935
33936	* gem_prelude.rb: Don't remove methods twice.  [bug#555]
33937
33938Tue Dec 23 00:16:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
33939
33940	* sprintf.c (rb_str_format): fix buffer overflow.
33941
33942Mon Dec 22 19:31:19 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33943
33944	* common.mk (revision.h): uses tool/file2lastrev.rb to support
33945	  git-svn.
33946
33947	* version.h: changed version string as
33948	  `ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912)
33949	  [i386-darwin9.6.0]'.
33950
33951Mon Dec 22 16:32:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
33952
33953	* pack.c (pack_pack): encoding of packed string only from 'm',
33954	  'M', and 'u' should be US-ASCII.  [ruby-dev:37284]
33955
33956	* pack.c (pack_pack): encoding of packed string only from 'U'
33957	  should be UTF-8.  also upgrade US-ASCII strings to UTF-8.
33958
33959Mon Dec 22 15:56:49 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
33960
33961	* Doxyfile.in: new file. Template of a configuration file.
33962	  Introduces C-level API reference generation with Doxygen.
33963
33964	* tool/file2lastrev.rb: wrapper script that abstracts subversion
33965	  and git-svn.
33966
33967	* tool/strip-rdoc.rb: filter for preventing doxygen from processing
33968	  rdoc comments.
33969
33970	* configure.in: (Doxyfile): Doxyfile is generated together with
33971	  Makefile.
33972	  (PACKAGE): configuration $(PACKAGE) is necessary for $(docdir).
33973
33974	* instruby.rb: adds a new install target 'capi'
33975
33976	* common.mk (capi): new target that generates C API documents with
33977	  Doxygen.
33978	  (install-capi): new target.
33979	  (pre-install-capi): ditto.
33980	  (do-install-capi): ditto.
33981	  (post-install-capi): ditto.
33982
33983Mon Dec 22 21:31:11 2008  Tanaka Akira  <akr@fsij.org>
33984
33985	* numeric.c (int_ord): Integer#ord implemented.
33986
33987Mon Dec 22 21:26:12 2008  Tanaka Akira  <akr@fsij.org>
33988
33989	* io.c (rb_io_s_pipe): IO.pipe can take a block.
33990	  (pipe_close): new function.
33991
33992Mon Dec 22 21:08:54 2008  Tanaka Akira  <akr@fsij.org>
33993
33994	* lib/test/unit/assertions.rb (assert_nothing_raised): increment
33995	  assertion count.  [ruby-dev:37480]
33996
33997Mon Dec 22 19:10:44 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
33998
33999	* thread_win32.c (Init_native_thread): need to call
34000	  ruby_thread_set_native() here.
34001
34002Mon Dec 22 18:00:36 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
34003
34004	* ext/tk/tcltklib.c: fix wrong flag value.
34005
34006Mon Dec 22 15:15:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34007
34008	* lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): avoid calling
34009	  read_nonblock in rescue.  use retry instead.
34010
34011Mon Dec 22 14:35:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34012
34013	* string.c (rb_external_str_new_with_enc): set ASCII-8BIT if
34014	  encoding is US-ASCII and string contains 8bit characters.
34015
34016Mon Dec 22 12:26:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34017
34018	* cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb
34019	  (Exports#exports): added VERSION.
34020
34021Mon Dec 22 12:25:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34022
34023	* missing/vsnprintf.c (BSD_vfprintf): fix for test_sprintf_comb.rb, by
34024	  wanabe in [ruby-dev:36935].
34025
34026Mon Dec 22 12:05:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34027
34028	* configure.in (mingw): no longer uses snprintf and vsnprintf of
34029	  msvcrt.  [Bug#6]
34030
34031	* win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed.
34032
34033	* win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later.
34034
34035	* win32/mkexports.rb (Exports#initialize): aliases
34036	  rb_w32_vsnprintf and rb_w32_snprintf for binary compatibility.
34037
34038	* sprintf.c (rb_str_format): uses snprintf instead of sprintf.
34039
34040	* numeric.c (flo_to_s, rb_num2long, rb_num2ll): ditto.
34041
34042Mon Dec 22 10:59:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34043
34044	* string.c (rb_str_upto): should return enumerator if called
34045	  without block.  [ruby-dev:37526]
34046
34047Mon Dec 22 09:54:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34048
34049	* parse.y (gettable_gen): the encoding of __FILE__ should be
34050	  rb_filesystem_encoding().  [ruby-list:45733]
34051
34052	* parse.y (gettable_gen): __FILE__ should be ASCII-8BIT when
34053	  filesystem encoding is US-ASCII and __FILE__ contains non 7bit
34054	  characters.
34055
34056Mon Dec 22 02:54:56 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
34057
34058	* ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).
34059
34060	* ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to
34061	  avoid garbled text on the Code Window.
34062
34063Sun Dec 21 14:55:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34064
34065	* lib/optparse.rb (SPLAT_PROC): splat values by hand.
34066
34067Sun Dec 21 13:50:37 2008  TAKAO Kouji  <kouji@takao7.net>
34068
34069	* test/readline/test_readline.rb
34070	  (TestReadline#test_some_characters_methods): checked encoding.
34071
34072Sun Dec 21 12:23:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34073
34074	* lib/optparse.rb (SPLAT_PROC): fix for regexp.  [ruby-dev:37514]
34075
34076Sun Dec 21 10:43:10 2008  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
34077
34078	* sample/test.rb: rescue exception.
34079
34080Sat Dec 20 18:28:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34081
34082	* dln.c (dln_find_1): supplements an extension for executable
34083	  files on DOSish platforms.
34084
34085	* io.c (pipe_open): use rb_w32_aspawn() for array form.
34086
34087	* win32/win32.c (rb_w32_pipe_exec): no longer used.
34088
34089	* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): deals with batch
34090	  files and commands with extensions.  [ruby-core:20695]
34091
34092	* win32/win32.c (has_redirection): supports environment variables
34093	  references.
34094
34095Sat Dec 20 15:34:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34096
34097	* lib/rake.rb (Rake::FileList#egrep): change open mode to "rb",
34098	  i.e. default to binary.    [ruby-dev:37385]
34099
34100	* lib/rake.rb (Rake::FileList#egrep): allow specifying reading
34101	  encoding, e.g. FileList['*.rb'].egrep(/require/, encoding:
34102	  "ascii-8bit")
34103
34104	* lib/rake.rb (Rake::MultiTask): invoke_prerequisites should be
34105	  private.  a patch from okkez in [ruby-dev:37399]
34106
34107Sat Dec 20 10:59:16 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34108
34109	* lib/irb/locale.rb (IRB::Locale#initialize)
34110	  initializes instance variables to suppress warnings.
34111	  typo fix to ignore LoadError: [ruby-dev:37508]
34112
34113Fri Dec 19 17:01:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34114
34115	* io.c (rb_io_extract_encoding_option): "internal_encoding: nil"
34116	  to specify no-transcoding.  and other corner case fixed.
34117	  [ruby-dev:37496]
34118
34119	* hash.c (rb_hash_lookup2): new function to look-up hash with
34120	  default value.
34121
34122Fri Dec 19 15:51:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34123
34124	* ruby.c (process_options): get rid of warning on DOSISH.
34125
34126Fri Dec 19 07:45:37 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34127
34128	* error.c (exc_equal): duck typing equal to make it transitive.
34129	  [ruby-dev:34808]
34130
34131Thu Dec 18 19:31:54 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34132
34133	* lib/irb/init.rb (IRB.opt_parse): (M17N) adds -U and -E as command
34134	  line options. [ruby-dev:37161]. Fixes #711.
34135	  improved long options.
34136
34137	* lib/irb/init.rb (IRB.set_encoding): new subroutine for IRB.opt_parse
34138
34139	* lib/irb/input-method.rb (IRB::StdioInputMethod): (M17N) regards
34140	  scripts that user types as encoded in the external_encoding.
34141
34142	* lib/irb/input-method.rb (IRB::ReadlineInputMethod): ditto.
34143
34144	* lib/irb/input-method.rb (IRB::FileInputMethod): (M17N) respects
34145	  magic comment.
34146
34147	* lib/irb/help.rb (IRB.print_usage): (M17N) respects magic comment
34148	  in the resource file.
34149
34150	* lib/irb/lc/help-message: adds -U and -E.
34151
34152	* lib/irb/lc/ja/help-message: ditto. re-encoded from ISO-2022-JP into UTF-8.
34153
34154	* lib/irb/lc/ja/encoding_aliases.rb: new file. provides Japanese specific
34155	  character encoding name table for backward compatibility.
34156
34157	* lib/irb/lc/ja/error.rb: re-encoded from ISO-2022-JP into UTF-8.
34158	  magic comment.
34159
34160	* lib/irb/locale.rb: integrated with Ruby 1.9's M17N support.
34161
34162	* lib/irb/magic-file.rb: new file. utility to handle files with magic
34163	  comment and opens in the correct encoding.
34164
34165	* lib/irb/ruby-lex.rb (RubyLex#each_top_level_statement): recovers
34166	  character encoding for a statement after it lexed so that irb can
34167	  eval the statement in correct encoding.
34168
34169	* lib/irb/src_encoding.rb: new file. utility.
34170
34171Thu Dec 18 21:12:28 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
34172
34173	* lib/cgi/session.rb: fix bug for ignore session_id option.
34174	  report from [ruby-core:18635], [Bug #572]
34175
34176	* lib/cgi/core.rb: use Encoding#find when encoding set.
34177
34178	* test/cgi/test_cgi_session.rb: test for session_id specified.
34179
34180Thu Dec 18 17:00:56 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34181
34182	* hash.c (rb_hash_aset): string key copying only happen if key is
34183	  an exact instance of String, not a subclass. based on a patch
34184	  from Mike Gold <mike.gold.4433 at gmail.com> in [ruby-talk:322667].
34185	  [incompatible] [ruby-talk:322417]
34186
34187Thu Dec 18 16:48:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34188
34189	* lib/optparse/version.rb: remove variable shadowing to stop
34190	  warning.   [ruby-core:20612]
34191
34192	* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
34193	  lib/rinda/ring.rb, lib/racc/parser.rb,
34194	  lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
34195
34196	* lib/racc/parser.rb: remove space before parentheses.
34197
34198	* lib/shell/command-processor.rb, lib/shell/process-controller.rb:
34199	  use parentheses around arguments.
34200
34201	* lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb,
34202	  lib/yaml/baseemitter.rb: indentation fix.
34203
34204	* lib/matrix.rb: small cosmetic change.
34205
34206Thu Dec 18 08:15:04 2008  James Edward Gray II  <jeg2@ruby-lang.org>
34207
34208	* lib/xmlrpc/server.rb:  Restricting method inspection to show only
34209	  non-inherited public methods.  [ruby-core:20603]
34210
34211	* lib/xmlrpc/server.rb:  Fixing method inspection so it doesn't
34212	  trigger XMLRPC::FaultException when used.  [ruby-core:20604]
34213
34214Wed Dec 17 19:39:44 2008  Tanaka Akira  <akr@fsij.org>
34215
34216	* ext/socket/socket.c (unix_recv_io): relax msg_controllen error
34217	  check for x86_64-openbsd4.4.
34218
34219Wed Dec 17 19:37:30 2008  Tanaka Akira  <akr@fsij.org>
34220
34221	* ext/pty/extconf.rb: check util.h for OpenBSD.
34222
34223	* ext/pty/pty.c: include util.h if available.  fix variable name.
34224
34225Wed Dec 17 19:23:28 2008  Keiju Ishitsuka  <keiju@ruby-lang.org>
34226
34227	* lib/matrix.rb: shut up warning. [ruby-dev:37481] [Bug #899]
34228
34229Wed Dec 17 15:44:28 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34230
34231	* array.c (rb_ary_pop_m): use enum ary_take_pos_flags.
34232
34233	* array.c (rb_ary_push_m): add modification check before actual
34234	  operation.   [ruby-dev:37440]
34235
34236Wed Dec 17 15:35:39 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34237
34238	* configure.in (OBJDUMP, OBJCOPY):
34239	  *BSD's ports and MacPorts prefix GNU binutils with 'g'.
34240
34241Wed Dec 17 11:39:39 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
34242
34243	* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):
34244	  shut up warning.  see [ruby-dev:37437]
34245
34246Wed Dec 17 11:01:35 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34247
34248	* string.c (rb_str_hash): gets rid of collisions between different
34249	  encoding strings.  [ruby-core:20526]
34250
34251Wed Dec 17 09:50:19 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34252
34253	* test/ruby/test_metaclass.rb: removed codes for my debugging.
34254	  sorry. [ruby-dev:37470]
34255
34256Tue Dec 16 22:55:11 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34257
34258	* bin/testrb: set $0.
34259
34260Tue Dec 16 22:42:16 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34261
34262	* lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit.
34263
34264Tue Dec 16 22:15:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34265
34266	* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):
34267	  should assert by instance_of?, not ===.  [ruby-dev:37458]
34268
34269	* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):
34270	  typo fixed.
34271
34272Tue Dec 16 21:59:29 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34273
34274	* lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support.
34275
34276Tue Dec 16 21:59:02 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34277
34278	* ext/bigdecimal/bigdecimal.c (VpToString): reverted modification
34279	  (that caused a bug) in r20359.  [ruby-dev:37370]
34280
34281	* ext/bigdecimal/bigdecimal.c (BigDecimal_limit): comment update.
34282	  [ruby-dev:37465]
34283
34284Tue Dec 16 20:34:44 2008  Tanaka Akira  <akr@fsij.org>
34285
34286	* ext/pty/pty.c (getDevice): add nomesg argument.
34287	  (get_device_once): add nomesg argument.  chmod slave tty to 0600
34288	  if nomesg.  more error tests.
34289	  (no_mesg): new function.
34290	  (pty_open): make slave tty's mode 0600.
34291
34292Tue Dec 16 20:24:20 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34293
34294	* lib/date/format.rb (_parse): m17n compliant.
34295
34296Tue Dec 16 19:48:18 2008  Tanaka Akira  <akr@fsij.org>
34297
34298	* ext/pty/extconf.rb: check posix_openpt.
34299
34300	* ext/pty/pty.c (get_device_once): use posix_openpt if available.
34301
34302Tue Dec 16 19:43:53 2008  Tanaka Akira  <akr@fsij.org>
34303
34304	* re.c: use strlcpy for error messages.
34305
34306Tue Dec 16 16:41:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34307
34308	* parse.y (stmt): returns dispatched result.
34309
34310	* parse.y (primary): also in ripper, saves in_def before restoring.
34311
34312Tue Dec 16 12:30:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34313
34314	* configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Mac
34315	  OS X 10.5 or later.  merged from MacPorts.
34316
34317	* configure.in (ac_cv_func_daemon): daemon(3) is deprecated on Mac OS
34318	  X 10.5 or later.
34319
34320Tue Dec 16 11:37:07 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34321
34322	* ruby.c (set_arg0): use strlcpy() instead of strncpy().
34323
34324	* load.c (rb_feature_p): ditto.
34325
34326	* dln.c (dln_load): ditto.
34327
34328Tue Dec 16 09:14:28 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34329
34330	* parse.y (block_call): block should not be given to yield.
34331	  [ruby-core:20583]
34332
34333Mon Dec 15 23:48:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34334
34335	* thread.c (sleep_timeval): cast tv_usec to long to shut up
34336	  warnings on OSX.  [ruby-dev:37449]
34337
34338Mon Dec 15 23:34:04 2008  Tanaka Akira  <akr@fsij.org>
34339
34340	* ext/pty/pty.c (pty_open): set FMODE_SYNC and FMODE_DUPLEX.
34341
34342Mon Dec 15 23:29:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34343
34344	* ruby.c (process_options): revive global sub, gsub, chop, chomp
34345	  only when auto looping options (-p/-n) is specified.
34346	  [ruby-core:20570]
34347
34348Mon Dec 15 22:48:11 2008  Tanaka Akira  <akr@fsij.org>
34349
34350	* ext/pty/pty.c (pty_open): new method PTY.open.
34351
34352Mon Dec 15 21:24:01 2008  Tanaka Akira  <akr@fsij.org>
34353
34354	* ext/pty/pty.c (get_device_once): use DEVICELEN instead of
34355	  sizeof SlaveName.
34356
34357Mon Dec 15 21:01:46 2008  Tanaka Akira  <akr@fsij.org>
34358
34359	* ext/pty/pty.c (chfunc): make it static.
34360
34361Mon Dec 15 20:59:10 2008  Tanaka Akira  <akr@fsij.org>
34362
34363	* ext/pty/pty.c (child_info): add slavename.
34364	  (chfunc): use slavename.
34365	  (establishShell): set slavename.
34366
34367Mon Dec 15 20:16:46 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34368
34369	* common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat
34370	  ''\'' in such quotes.
34371
34372Mon Dec 15 19:07:31 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34373
34374	* win32/Makefile.sub (config.h): define CANONICALIZATION_FOR_MATHN
34375	  to follow r20683.
34376
34377Mon Dec 15 18:12:34 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34378
34379	* lib/rake/packagetask.rb (Rake::PackageTask): small document
34380	  update from okkez in [ruby-dev:37443]
34381
34382Mon Dec 15 16:28:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34383
34384	* vm_insnhelper.c (vm_callee_setup_arg_complex): uses cfp from
34385	  blockptr instead of the current cfp.  [ruby-core:20544]
34386
34387Mon Dec 15 14:56:59 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34388
34389	* test/ruby/test_metaclass.rb: new test case for metaclass hierarchy.
34390
34391	* class.c (make_metametaclass): new function. extracted from
34392	  rb_make_metaclass.
34393
34394	* class.c (rb_make_metaclass): uses make_metametaclass when called for a
34395	  metaclass.
34396
34397	* class.c (rb_singleton_class): creates a meta^(n+2)-class in
34398	  addition to a meta^(n+1)-class when called for a meta^(n)-class.
34399	  This is because the returned meta^(n+1) class must acts as an instance of
34400	  Class, metaclass of Class, ..., meta^(n+1)-class of Class,
34401	  Module, metaclass of Module, ..., meta^(n+1)-class of Module,
34402	  Object, metaclass of Object, ..., meta^(n+2)-class of Object,
34403	  BasicObject, metaclass of BasicObject, ..., meta^(n+2)-class of
34404	  and BasicObject even when Class, Module, Object or BasicObject has
34405	  not have its meta^(i)-class yet.
34406
34407Mon Dec 15 15:13:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34408
34409	* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
34410	  [ruby-dev:37436]
34411
34412Mon Dec 15 15:02:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34413
34414	* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
34415	  [ruby-core:20131]
34416
34417Mon Dec 15 14:39:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34418
34419	* vm_eval.c (vm_call0): NODE_ZSUPER supported.  [ruby-core:20480]
34420
34421	* vm_eval.c (vm_call_super): uses method_missing().
34422
34423	* vm_eval.c (method_missing): get rid of too large alloca.
34424
34425	* vm_eval.c (rb_call0, method_missing): uses idMethodMissing.
34426
34427	* vm_method.c (rb_add_method, remove_method, rb_undef): uses
34428	  id__send__.
34429
34430	* vm_method.c (Init_eval_method): removed IDs which are defined as
34431	  immediate values.
34432
34433Mon Dec 15 11:35:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34434
34435	* vm.c (vm_backtrace): defaults to script name for C functions.
34436
34437Mon Dec 15 11:32:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34438
34439	* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): cannot use
34440	  locale encoding before load path is initialized
34441
34442	* ruby.c (ruby_init_loadpath_safe): ditto.
34443
34444	* ruby.c (process_options): loads encdb so that encodings can be
34445	  loaded, then associates script name and load paths with the
34446	  locale encoding.
34447
34448Mon Dec 15 10:00:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34449
34450	* common.mk (btest-ruby): use RUNRUBY instead of MINIRUBY to load the
34451	  shared library.  [Bug #849]
34452
34453Sun Dec 14 22:31:19 2008  Yusuke Endoh  <mame@tsg.ne.jp>
34454
34455	* bignum.c (bigmul1_karatsuba): remove temporal bignum.
34456
34457	* bignum.c (bigsqr): call bigmul0(x, x) because it is faster than the
34458	  original bigsqr at this point.
34459
34460	* bignum.c (rb_big_pow): a value returned from bigsqr is already
34461	  truncated.
34462
34463Sun Dec 14 21:13:02 2008  Yusuke Endoh  <mame@tsg.ne.jp>
34464
34465	* bignum.c (bigmul1_karatsuba): fix comment and refactoring.
34466
34467Sun Dec 14 14:53:41 2008  Yusuke Endoh  <mame@tsg.ne.jp>
34468
34469	* bignum.c (bigmul1_balance, bigmul1_karatsuba): remove all
34470	  rb_gc_force_recycle which causes memory leak.
34471
34472Sun Dec 14 14:26:11 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34473
34474	* spec/README: directory structure changed
34475
34476Sun Dec 14 09:14:37 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34477
34478	* reverts r20713.
34479
34480Sun Dec 14 12:51:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
34481
34482	* bignum.c (rb_big_mul): faster multiplication by Karatsuba method and
34483	  twice faster square than normal multiplication. [ruby-dev:37392]
34484
34485	* random.c (rb_rand_internal): used by Bignum#*.
34486
34487	* test/ruby/test_bignum.rb: add some tests for above.
34488
34489Sun Dec 14 01:35:48 2008  Tanaka Akira  <akr@fsij.org>
34490
34491	* process.c (forked_child): new variable.
34492	  (before_exec): don't call rb_thread_stop_timer_thread if
34493	  forked_child.
34494	  (after_exec): reset forked_child after rb_thread_start_timer_thread.
34495	  (rb_fork): set forked_child just after fork in child.
34496
34497	* ext/pty/pty.c (chfunc): extracted from establishShell.
34498	  (establishShell): use rb_fork.
34499
34500	  [ruby-dev:37418]
34501
34502Sat Dec 13 22:17:30 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34503
34504	* common.mk (help): describes more targets.
34505	  based on a patch by Michael Klishin. [ruby-core:20523].
34506
34507Sat Dec 13 18:34:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34508
34509	* string.c (sym_printable): wrong condition for string iteration.
34510
34511Sat Dec 13 16:04:48 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34512
34513	* encoding.c (default_external): endless recursion during
34514	  loading a locale encoding on some locale.
34515	  fixed by Nobuyoshi Nakada.
34516
34517Sat Dec 13 15:55:37 2008  TAKAO Kouji  <kouji@takao7.net>
34518
34519	* ruby.c (process_options): fixed default_internal is nil.
34520	  (closes #862)
34521
34522Sat Dec 13 15:52:27 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34523
34524	* string.c (sym_equal): remove documentation error "Otherwise,
34525	  compares them as strings".  [ruby-dev:37398]
34526
34527	* string.c (sym_inspect): quote if symbol contains non-printable
34528	  characters.  [ruby-dev:37398]
34529
34530Sat Dec 13 14:24:38 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34531
34532	* test/ruby/enc/test_utf16.rb: feature changed in r20626.
34533	  follows it.
34534
34535Sat Dec 13 13:41:44 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34536
34537	* test/ruby/test_m17n_comb.rb: feature changed in r20626.
34538	  follows it.
34539
34540Sat Dec 13 13:03:20 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34541
34542	* complex.c: use rb_usascii_str_new2 instead of rb_str_new2.
34543
34544	* rational.c: ditto.
34545
34546Sat Dec 13 12:48:57 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34547
34548	* test/ruby/test_m17n.rb: feature changed in r20626.
34549	  follows it.
34550
34551Sat Dec 13 12:38:16 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34552
34553	* lib/minitest/test.rb (MinTest::Unit#location):
34554	  skips user-defined assertions as MiniTest's.
34555	  e.g. for test/ruby/test_m17n.rb.
34556
34557Sat Dec 13 09:17:33 2008  Ryan Davis  <ryand-ruby@zenspider.com>
34558
34559	* lib/minitest/*.rb: Imported minitest 1.3.1 r4503.
34560	* test/minitest/test_mini_test.rb: ditto.
34561	* lib/miniunit/autorun.rb: added (as part of r4503).
34562
34563Sat Dec 13 08:35:14 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34564
34565	* complex.c (nucomp_canonicalization): renamed.
34566
34567	* ext/math/complex.c: followed the above change.
34568
34569	* rational.c (nurat_canonicalization): renamed.
34570
34571	* ext/math/rational.c: followed the above change.
34572
34573	* configure.in: defines a new macro.
34574
34575Sat Dec 13 01:10:03 2008  TAKAO Kouji  <kouji@takao7.net>
34576
34577	* ext/readline/readline.c
34578	  (readline_s_get_completion_append_character): uses locale
34579	  encoding but not ASCII-8BIT.
34580
34581Fri Dec 12 22:12:46 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34582
34583	* complex.c, rational.c: do not use RUBY_VERSION_CODE.
34584
34585Fri Dec 12 21:41:36 2008  TAKAO Kouji  <kouji@takao7.net>
34586
34587	* ext/readline/readline.c: r20662 reverted.
34588
34589Fri Dec 12 19:29:07 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34590
34591	* encoding.c (rb_enc_set_default_external): default_internal can be
34592	  nil, but default_external cannot.
34593
34594	* encoding.c (rb_set_default_internal): adds rdoc.
34595
34596	* encoding.c (enc_find): ditto.
34597
34598Fri Dec 12 19:24:47 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34599
34600	* common.mk (run, runruby, parse, gdb, gdb-ruby): you can also run
34601	  other scripts than $(srcdir)/test.rb.
34602
34603Fri Dec 12 19:13:43 2008  TAKAO Kouji  <kouji@takao7.net>
34604
34605	* ext/readline/readline.c (readline_readline): changed the message
34606	  of IOError to 'closed stdin' from 'stdin closed' if stdin was
34607	  closed.
34608
34609Fri Dec 12 19:00:49 2008  TAKAO Kouji  <kouji@takao7.net>
34610
34611	* ext/readline/readline.c: used the ExportStringValue macro
34612	  instead of the OutputStringValue macro. removed the
34613	  OutputStringValue macro.
34614
34615Fri Dec 12 16:23:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34616
34617	* parse.y (yycompile0): ruby_eval_tree_begin is always 0 when
34618	  ruby_eval_tree is 0.
34619
34620Fri Dec 12 14:09:55 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34621
34622	* encoding.c (enc_get_default_encoding): removed.
34623	  Generalizing rb_default_{external,internal}_encoding seems to be
34624	  difficult.
34625	  default_external cannot be NULL even before detected. [ruby-dev:37390]
34626
34627	* encoding.c (rb_default_external_encoding): has its own
34628	  implementation again.
34629
34630	* encoding.c (rb_default_internal_encoding): ditto.
34631
34632	* gem_prelude.rb: added notice.
34633
34634	* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): uses locale
34635	  encoding but not ASCII-8BIT.
34636
34637	* ruby.c (process_options): refers less to default_external.
34638
34639Fri Dec 12 11:00:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34640
34641	* load.c (rb_feature_p): load path must be expanded.
34642	  [ruby-dev:37388]
34643
34644Fri Dec 12 10:28:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34645
34646	* configure.in (rb_version): greps only the line that defines version.
34647
34648	* version.h (RUBY_VERSION_CODE, RUBY_RELEASE_CODE): removed.
34649
34650Fri Dec 12 10:20:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34651
34652	* complex.c, rational.c: do not use RUBY_VERSION_CODE.
34653
34654Fri Dec 12 10:19:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34655
34656	* string.c (rb_string_value_ptr, rb_to_id): do not use a side
34657	  effect expression in RSTRING_PTR.
34658
34659	* string.c (rb_str_split_m): simplified the argument of
34660	  RSTRING_LEN.
34661
34662Thu Dec 11 23:48:00 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34663
34664	* lib/cmath.rb (sqrt): should pass nan to the original method.
34665
34666Thu Dec 11 21:04:04 2008  Kouhei Sutou  <kou@cozmixng.org>
34667
34668	* lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb:
34669	  RSS::Maker.[] returns a maker class corresponds to passed version.
34670
34671	* test/rss/test_maker_*.rb: add tests for RSS::Maker.[].
34672
34673Thu Dec 11 20:05:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34674
34675	* encoding.c (rb_enc_aliases_enc_i): skips default internal.
34676
34677Thu Dec 11 19:31:45 2008  Tanaka Akira  <akr@fsij.org>
34678
34679	* lib/test/unit/assertions.rb: extracted from lib/test/unit.rb.
34680	  lib/test/unit/testcase.rb: ditto.
34681	  at asakusa.rb.  [ruby-core:20014]
34682
34683Thu Dec 11 19:23:09 2008  Tanaka Akira  <akr@fsij.org>
34684
34685	* test/ruby/test_io.rb (test_dup_many): extracted from test_dup.
34686	  test in ruby subprocess.  at asakusa.rb.  [ruby-dev:35648]
34687
34688Thu Dec 11 19:16:30 2008  Tanaka Akira  <akr@fsij.org>
34689
34690	* lib/pathname.rb (Pathname#=~): undefed.  at asakusa.rb.
34691	  [ruby-core:19690]
34692
34693Thu Dec 11 13:09:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34694
34695	* re.c (reg_enc_error): raise EncodingCompatibilityError for
34696	  encoding incompatibility.  [ruby-core:18600]
34697
34698	* re.c (rb_reg_prepare_enc): more consistent error message.
34699	  [ruby-core:18611]
34700
34701Thu Dec 11 13:36:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34702
34703	* encoding.c (enc_set_default_encoding): allowed to set default
34704	  encoding.
34705
34706	* encoding.c (rb_locale_encoding): removed Encoding::LOCALE.
34707
34708	* encoding.c (rb_enc_set_default_external): ditto.
34709
34710	* encoding.c (rb_enc_set_default_internal): ditto.
34711
34712	* encoding.c (rb_enc_set_default_internal): defines internal
34713	  encoding as nil.
34714
34715Thu Dec 11 11:11:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34716
34717	* include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
34718	  [ruby-core:20339]
34719
34720Thu Dec 11 10:25:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34721
34722	* test/ruby/test_bignum.rb (TestBignum#test_convert): remove
34723	  platform dependent call of Process.wait.  coverage should be
34724	  accomplished by other method.  [ruby-dev:36062]
34725
34726Thu Dec 11 10:18:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34727
34728	* lib/rexml/document.rb (REXML::Document#write): require
34729	  rexml/formatters/transitive if transitive flag is on.  a patch
34730	  from akira yamada in [ruby-dev:36230].  fix #553
34731
34732	* lib/rexml/element.rb (REXML::Element#write): ditto.
34733
34734	* lib/rexml/formatters/transitive.rb (REXML::Formatters::Transitive#write_element):
34735	  add hack for IE.  [ruby-dev:36230]
34736
34737Thu Dec 11 02:37:22 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34738
34739	* math.c (domain_check): should not raise EDOM exception for NaN
34740	  value if operand is also NaN.  affects acos, asin, acosh, atanh,
34741	  log, log2, log10, sqrt, gamma, lgamma. [ruby-dev:37357]
34742
34743Thu Dec 11 02:23:51 2008  Tanaka Akira  <akr@fsij.org>
34744
34745	* lib/open3.rb (Open3.pipeline_start): return an array of threads if a
34746	  block is not given.
34747
34748Thu Dec 11 01:48:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34749
34750	* ext/bigdecimal/bigdecimal.c (BigDecimal_round): should be round
34751	  to integer.  [ruby-dev:37355]
34752
34753	* ext/bigdecimal/bigdecimal.c (BigDecimal_divmod): division should
34754	  be integer.  [incompatible] [ruby-dev:37355]
34755
34756Thu Dec 11 01:21:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34757
34758	* thread.c (rb_mutex_unlock): shut up warning.  a patch from
34759	  Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846
34760
34761Wed Dec 10 23:58:56 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34762
34763	* complex.c: avoided warnings on cpp. [ruby-dev:37344]
34764
34765	* rational.c: ditto.
34766
34767Wed Dec 10 21:32:02 2008  Kouhei Sutou  <kou@cozmixng.org>
34768
34769	* lib/rss/maker.rb (RSS::Maker.[]): add.
34770	  Suggested by Akinori MUSHA. Thanks!!! [ruby-dev:37210]
34771
34772Wed Dec 10 12:56:32 2008  Akinori MUSHA  <knu@iDaemons.org>
34773
34774	* enumerator.c (enumerator_rewind): If the enclosed object
34775	  responds to a "rewind" method, call it; cf. [ruby-dev:37268]
34776
34777Wed Dec 10 12:46:52 2008  Akinori MUSHA  <knu@iDaemons.org>
34778
34779	* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
34780
34781	* lib/prime.rb (Prime::OldCompatibility#each): Ditto.
34782
34783Wed Dec 10 11:25:53 2008  NARUSE, Yui  <naruse@ruby-lang.org>
34784
34785	* re.c (rb_reg_initialize): raise RegexpError when encoding
34786	  is dummy encoding. [ruby-dev:37091]
34787
34788Wed Dec 10 01:28:16 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34789
34790	* common.mk (win32.obj): depend on headers.
34791
34792Tue Dec  9 18:35:35 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
34793
34794	* enc/trans/single_byte.trans, cp850-tbl.rb, cp852-tbl.rb,
34795	  cp855-tbl.rb, koi8-r-tbl.rb, koi8-u-tbl.rb, tis-620-tbl.rb:
34796	  new single-byte transcodings (from Yoshihiro Kambayashi)
34797
34798	* test/ruby/test_transcode.rb: added tests for the above
34799	  (from Yoshihiro Kambayashi), small cosmetic fixes
34800
34801Tue Dec  9 13:33:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34802
34803	* compile.c (iseq_compile_each), gc.c (assign_heap_slot),
34804	  (gc_mark_children), parse.y (vtable_alloc, vtable_free, vtable_add),
34805	  proc.c (proc_to_s), thread.c (terminate_i, rb_thread_terminate_all),
34806	  (thread_start_func_2, blocking_region_begin, blocking_region_end),
34807	  (rb_thread_kill), thread_pthread.c (native_thread_create),
34808	  (ubf_pthread_cond_signal), vm.c (check_env, thread_free), vm_dump.c
34809	  (vm_env_dump_raw, vm_stack_dump_each, vm_thread_dump_state),
34810	  (vm_call0): use void pointer for %p.
34811
34812	* cont.c (fiber_status), template/insns.inc.tmpl (ruby_vminsn_type),
34813	  vm_insnhelper.h (BOP): ISO C forbids comma at end of enumerator
34814	  list.
34815
34816	* vm_insnhelper.c (check_cfunc): use function pointer.
34817
34818Tue Dec  9 13:23:55 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34819
34820	* ext/curses/curses.c (curses_use_default_colors): add new
34821	  method.  a patch from Giancarlo F Bellido
34822	  <support at coaxialhost.com> in [ruby-core:20434].
34823
34824	* ext/curses/curses.c (curses_tabsize_set): ditto.
34825
34826	* ext/curses/curses.c (curses_tabsize_get): ditto.
34827
34828Tue Dec  9 12:08:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34829
34830	* .gdbinit (rp): fixed typo for T_STRUCT.
34831
34832Tue Dec  9 11:50:46 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34833
34834	* pack.c (pack_pack): fixed [ruby-dev:37295].
34835	  Array#pack always has returned an US-ASCII string when
34836	  the given format ended with 'u', 'M' or 'm'.
34837
34838Tue Dec  9 03:21:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34839
34840	* mkconfig.rb: fix for continued lines.  based on a patch from
34841	  Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].
34842
34843Tue Dec  9 00:54:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34844
34845	* tool/make-snapshot (package): enc.mk in snapshot is dummy and should
34846	  not deal with objects.  [ruby-core:20422]
34847
34848Tue Dec  9 00:17:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34849
34850	* enc/depend (clean-srcs): split out from clean.
34851
34852Mon Dec  8 23:34:18 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34853
34854	* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
34855	  just ignores '*' in these cases.
34856	  [ruby-dev:37289]
34857
34858Mon Dec  8 18:31:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34859
34860	* pack.c (pack_pack): fixed length for odd length string.
34861	  [ruby-dev:37283]
34862
34863Mon Dec  8 11:28:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34864
34865	* ruby.c (proc_options): added version, copyright, usage, yydebug,
34866	  syntax to --dump option.
34867
34868Mon Dec  8 11:15:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34869
34870	* ruby.c (proc_options): source-encoding option.
34871
34872Mon Dec  8 10:32:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34873
34874	* ruby.c (set_option_encoding_once): dry.
34875
34876	* ruby.c (proc_options): checks extra argument for -E/--encoding.
34877
34878Sun Dec  7 23:47:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34879
34880	* configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAG
34881	  is set.  [ruby-talk:322136]
34882
34883Sun Dec  7 23:17:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34884
34885	* Makefile.in (LIBRUBY_SO): localizes non-public symbols.
34886
34887	* configure.in (OBJDUMP, OBJCOPY): for dealing with binary files.
34888
34889Sun Dec  7 17:44:06 2008  Tanaka Akira  <akr@fsij.org>
34890
34891	* lib/open3.rb (Open3.capture3): renamed from Open3.poutput3.
34892	  (Open3.capture2): renamed from Open3.poutput2.
34893	  (Open3.capture2e): renamed from Open3.poutput2e.
34894
34895Sun Dec  7 11:48:04 2008  Tanaka Akira  <akr@fsij.org>
34896
34897	* lib/open3.rb (Open3.poutput3): :binmode option implemented.
34898	  (Open3.poutput2): ditto.
34899	  (Open3.poutput2e): ditto.
34900
34901Sat Dec  6 18:33:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34902
34903	* tool/make-snapshot (package): added RM and CP.  [ruby-dev:37288]
34904
34905Sat Dec  6 17:51:35 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
34906
34907	* pack.c (pack_pack): 'u0' is not special differently from 'm0'.
34908
34909Sat Dec  6 14:35:06 2008  NARUSE, Yui  <naruse@ruby-lang.org>
34910
34911	* pack.c (pack_pack): set US-ASCII and CODERANGE_7BIT
34912	  when quoted-printable ('M') and base64 ('m').
34913	  [ruby-dev:37284]
34914
34915	* pack.c (pack_unpack): ditto.
34916
34917Fri Dec  5 22:56:24 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34918
34919	* eval.c (rb_make_exception): single argument to raise may be
34920	  string compatible object.
34921
34922Fri Dec  5 21:45:45 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34923
34924	* rational.c (nurat_{to_s,inspect}): performance improvement.
34925
34926Fri Dec  5 21:42:44 2008  Tadayoshi Funaba  <tadf@dotrb.org>
34927
34928	* complex.c: inspect should not depend on to_s.
34929
34930Fri Dec  5 21:18:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
34931
34932	* ext/bigdecimal/bigdecimal.c (BigDecimal_truncate): return
34933	  integer if no optional argument given. [incompatible]
34934
34935	* ext/bigdecimal/bigdecimal.c (BigDecimal_floor): ditto.
34936
34937	* ext/bigdecimal/bigdecimal.c (BigDecimal_ceil): ditto.
34938
34939Fri Dec  5 19:06:04 2008  Tanaka Akira  <akr@fsij.org>
34940
34941	* lib/open3.rb (Open3.pipeline_start): new method.
34942	  (Open3.pipeline): ditto.
34943
34944Fri Dec  5 18:55:25 2008  Tanaka Akira  <akr@fsij.org>
34945
34946	* process.c (run_exec_dup2): !save is false if Qnil.
34947
34948Fri Dec  5 18:07:32 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
34949
34950	* win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): check
34951	  whether fd is valid.
34952
34953Fri Dec  5 13:05:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34954
34955	* iseq.c (rb_iseq_parameters): proc arguments are always optional.
34956
34957	* proc.c (get_proc_iseq, rb_proc_parameters): ditto.
34958
34959Fri Dec  5 12:38:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34960
34961	* compile.c (iseq_set_sequence): uses rb_compile_warning() for
34962	  warning at compilation time.
34963
34964Fri Dec  5 12:35:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34965
34966	* compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code),
34967	  (ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with
34968	  ruby_.
34969
34970	* iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto.
34971
34972Fri Dec  5 10:01:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34973
34974	* string.c (rb_str_cmp_m): fixed rdoc.  pointed out by <Thomas
34975	  C. Mitchell AT gmail.com> at [ruby-talk:321967]
34976
34977Fri Dec  5 07:58:30 2008  Tanaka Akira  <akr@fsij.org>
34978
34979	* io.c (io_binwrite): arg.offset should be updated after retry.
34980
34981Fri Dec  5 03:29:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
34982
34983	* load.c (rb_get_load_path): returns the load path without
34984	  touching.
34985
34986	* load.c (rb_feature_provided): new function to return the loading
34987	  path in addition to rb_provided().
34988
34989	* load.c (search_required): sets path if loading.
34990
34991	* variable.c (autoload_provided): load paths are expanded to check
34992	  if loading.
34993
34994	* variable.c (autoload_node): keeps autoload mark while loading.
34995	  [ruby-core:20235]
34996
34997	* variable.c (rb_const_get_0): loops while autoload mark is set.
34998
34999Fri Dec  5 01:37:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35000
35001	* win32/win32.c (rb_w32_read): ERROR_BROKEN_PIPE is not a real error
35002	  at this point.
35003
35004	* io.c (pipe_open): use rb_w32_spawn() instead of rb_w32_pipe_exec()
35005	  to use our own redirection scheme.
35006
35007Fri Dec  5 01:35:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35008
35009	* string.c (sym_to_proc): use hidden object.
35010
35011Fri Dec  5 01:19:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35012
35013	* pack.c (pack_pack): propagate taint status from format string to
35014	  result string.
35015
35016Fri Dec  5 00:34:10 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35017
35018	* process.c (run_exec_dup2): need to sort by reverted order when
35019	  restoring fds.
35020
35021Fri Dec  5 00:17:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35022
35023	* string.c (sym_to_proc): caches Symbol procs, based on a patch from
35024	  Shumpei Akai <admin AT flexfrank.net>.  [ruby-dev:37265]
35025
35026Thu Dec  4 23:29:34 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35027
35028	* win32/win32.c (waitpid): fix bug of checking child slot.
35029
35030	* win32/win32.c (FindChildSlotByHandle): new.
35031
35032Thu Dec  4 23:24:05 2008  Tanaka Akira  <akr@fsij.org>
35033
35034	* lib/open3.rb (Open3.poutput3): new method.
35035	  (Open3.poutput2): ditto.
35036	  (Open3.poutput2e): ditto.
35037
35038Thu Dec  4 23:02:13 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35039
35040	* spec/default.mspec: follows changes in rubyspec project.
35041	  inherits configurations from ruby.1.9.mspec.
35042
35043Thu Dec  4 22:13:55 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35044
35045	* test/ruby/test_complex.rb: added some tests.
35046
35047	* test/ruby/test_rational.rb: ditto.
35048
35049Thu Dec  4 19:56:20 2008  Tanaka Akira  <akr@fsij.org>
35050
35051	* lib/open3.rb (Open3.popen3): simplified.
35052	  (Open3.popen_run): extracted from Open3.popen3.
35053	  (Open3.popen2): new method.
35054	  (Open3.popen2e): new method.
35055	  (Open3.pipeline_rw): new method.
35056	  (Open3.pipeline_r): new method.
35057	  (Open3.pipeline_w): new method.
35058	  (Open3.pipeline_run): new private method.
35059
35060Thu Dec  4 19:16:28 2008  Tanaka Akira  <akr@fsij.org>
35061
35062	* process.c (check_exec_fds): resolve cascaded child fd reference.
35063
35064Thu Dec  4 16:58:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35065
35066	* lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make
35067	  this method private.  a patch from okkez in [ruby-dev:37245]
35068
35069Thu Dec  4 16:19:18 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35070
35071	* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):
35072	  OpenSSL::SSL::SSLSocket should implement read_nonblock.  a patch
35073	  from Aaron Patterson in [ruby-core:20277].  fix: #814 [ruby-core:20241]
35074
35075Thu Dec  4 16:16:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35076
35077	* lib/gserver.rb: fixed type in sample code.  a report from Oleg
35078	  Puchinin.
35079
35080Thu Dec  4 14:54:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35081
35082	* lib/rubygems/local_remote_options.rb (Gem#add_update_sources_option):
35083	  little documentation fix.  a patch from okkez.  [ruby-dev:37271]
35084
35085Thu Dec  4 13:56:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35086
35087	* ext/curses/curses.c (window_getch): avoid ISPRINT() macro which
35088	  has an issue with OpenSolaris.  [ruby-core:20189]
35089
35090	* ext/curses/curses.c (curses_getch): no ISPRINT(). [ruby-core:20294]
35091
35092	* signal.c (ruby_signal): EINVAL from sigaction(2) is not a bug.
35093
35094Thu Dec  4 11:40:56 2008  Akinori MUSHA  <knu@iDaemons.org>
35095
35096	* enumerator.c (inspect_enumerator): Implement #inspect.
35097	  [ruby-dev:37248]-[ruby-dev:37263]
35098
35099Thu Dec  4 11:38:40 2008  Akinori MUSHA  <knu@iDaemons.org>
35100
35101	* vm_method.c (rb_obj_respond_to): Remove a duplicated rdoc
35102	  comment and fix a markup error.
35103
35104Thu Dec  4 06:04:16 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
35105
35106	* ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat
35107	  'parent' and 'variable' options on a Hash argument.
35108
35109Thu Dec  4 05:06:47 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
35110
35111	* ext/tk/lib/tk.rb: bug fix. use ::RubyVM instead of ::VM
35112	  [ruby-list:45676]
35113
35114	* ext/tk/tcltklib.c: update RELEASE_DATE
35115
35116Thu Dec  4 01:37:47 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35117
35118	* complex.c (nurat_{to_s,inspect}): provides better representation
35119	  for in-finite imag part.
35120
35121Thu Dec  4 01:22:41 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35122
35123	* complex.c (f_signbit): NaN may be signed value.
35124
35125Wed Dec  3 23:59:32 2008  Tanaka Akira  <akr@fsij.org>
35126
35127	* process.c (EXEC_OPTION_DUP2_CHILD): defined.
35128	  (check_exec_redirect_fd): check :in, :out and :err.
35129	  (check_exec_redirect): check [:child, fd].
35130	  (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array.
35131	  (run_exec_dup2_child): new function.
35132	  (rb_run_exec_options): call run_exec_dup2_child.
35133
35134Wed Dec  3 22:54:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35135
35136	* parse.y (expr): keyword_not can continue across newline.
35137	  [ruby-core:20252]
35138
35139Wed Dec  3 22:40:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35140
35141	* iseq.c (simple_default_value): returns simplest assignment only.
35142	  [ruby-core:20237]
35143
35144Wed Dec  3 21:30:06 2008  Tanaka Akira  <akr@fsij.org>
35145
35146	* process.c (check_exec_redirect): accept :in, :out, :err as redirect
35147	  target.
35148
35149Wed Dec  3 21:18:27 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35150
35151	* test/ruby/test_rational.rb: revert.
35152
35153Wed Dec  3 14:48:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35154
35155	* ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): must
35156	  not access internal union directly.  [ruby-list:45670]
35157
35158Wed Dec  3 12:24:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35159
35160	* io.c (rb_io_getc, rb_io_readchar): documentation correction from
35161	  Emiel van de Laar.  [ruby-core:20212]
35162
35163	* ext/stringio/stringio.c (strio_readchar): ditto.
35164
35165Wed Dec  3 09:26:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35166
35167	* lib/rexml/xpath.rb (REXML::XPath.first): apply documentation
35168	  patch from Ken Bloom in [ruby-core:20213].
35169
35170	* lib/rexml/xpath.rb (REXML::XPath.each): ditto.
35171
35172Wed Dec  3 02:56:34 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35173
35174	* test/ruby/test_rational.rb: add a test.
35175
35176Wed Dec  3 02:53:24 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35177
35178	* test/ruby/test_range.rb: add a test.
35179
35180Wed Dec  3 02:26:07 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35181
35182	* test/ruby/test_string.rb: add some tests.
35183
35184Wed Dec  3 02:04:21 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35185
35186	* ext/pty/pty.c (Init_pty): fix typo.
35187
35188Tue Dec  2 19:22:13 2008  Tanaka Akira  <akr@fsij.org>
35189
35190	* lib/open3.rb (Open3.popen3): merge hash options if given.
35191
35192Tue Dec  2 15:31:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35193
35194	* lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): use
35195	  read_nonblock instead of sysread wrapped by timeout to boost
35196	  performance.  a patch from Aaron Patterson in [ruby-core:20191].
35197	  fix #806
35198
35199Mon Dec  1 23:23:52 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35200
35201	* set 1.9.1-p5000 into version number. [ruby-dev:36998]
35202
35203Mon Dec  1 15:48:47 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35204
35205	* signal.c (register_sigaltstack): no need to define on non-sigaltstack
35206	  platform.
35207
35208Mon Dec  1 12:00:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35209
35210	* cont.c (rb_fiber_start): calls with exact argument number.
35211	  [ruby-core:20088]
35212
35213Sun Nov 30 21:41:10 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35214
35215	* man/rake.1: new manual page
35216
35217Sun Nov 30 18:01:50 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35218
35219	* test/ruby/test_regexp.rb (TestRegexp#test_parse_curly_brace):
35220	  now accepts quantifier on anchors again by r20391.
35221
35222Sat Nov 29 23:56:44 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35223
35224	* man/irb.1 (EXAMPLES): new section
35225
35226Sat Nov 29 19:19:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35227
35228	* regparse.c (is_invalid_quantifier_target): Perl and old Ruby
35229	  accepts quantifier on anchors.  [ruby-core:20161]
35230
35231Sat Nov 29 18:28:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35232
35233	* ext/socket/socket.c (sock_getaddrinfo): should have updated for
35234	  Mac OS X.  a patch from Shumpei Akai in [ruby-dev:37234]
35235
35236Sat Nov 29 00:18:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35237
35238	* cont.c (fiber_alloc): separate allocation and initialization.
35239	  allow subclass to override #initialize.   [ruby-core:20086]
35240
35241Fri Nov 28 18:31:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35242
35243	* ext/socket/socket.c (sock_s_getaddrinfo): refactored to remove
35244	  code duplication regarding getaddrinfo.
35245
35246Fri Nov 28 17:52:26 2008  Keiju Ishitsuka  <keiju@ruby-lang.org>
35247
35248	* lib/forwardable.rb: should be usable def_single_delegator for
35249	  Class and Module.
35250
35251Fri Nov 28 13:19:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35252
35253	* iseq.c (simple_default_value): extracts simplest default
35254	  argument value.
35255
35256	* iseq.c (rb_iseq_parameters): returns parameter list.
35257
35258	* proc.c (get_proc_iseq, get_method_iseq): handles ifunc and
35259	  bmethod.
35260
35261	* proc.c (rb_proc_parameters, rb_method_parameters): added
35262	  Proc#parameters and Method#parameters.  [ruby-core:19759]
35263
35264Fri Nov 28 02:18:47 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35265
35266	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimal
35267	  division (including modulo) should raise ZeroDivisionError as
35268	  integer division. [incompatible]
35269
35270Fri Nov 28 00:12:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35271
35272	* numeric.c (flodivmod): floating point division should raise
35273	  ZeroDivisionError as integer division. [incompatible]
35274
35275Thu Nov 27 23:54:37 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35276
35277	* gc.c (gc_mark): still needs to check stack depth during GC.
35278
35279	* gc.c (stack_check): ditto.
35280
35281Thu Nov 27 21:41:29 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35282
35283	* strftime.c (rb_strftime): should add padding for %%.
35284
35285Thu Nov 27 16:32:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35286
35287	* signal.c (register_sigaltstack): stores alt stack for debug
35288	  purpose.
35289
35290Thu Nov 27 16:12:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35291
35292	* signal.c (ruby_sigaction_t): added.
35293
35294Thu Nov 27 15:59:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35295
35296	* gc.c (ruby_stack_check): no check if using sigaltstack.
35297
35298	* signal.c (ALT_STACK_SIZE): default minimum size is insufficient
35299	  for method calls.
35300
35301	* signal.c (sigsegv): handles stack overflow if possible.
35302
35303	* thread.c (ruby_thread_stack_overflow): helper function to raise
35304	  sysstack_error.
35305
35306	* thread_pthread.c (ruby_stack_overflowed_p): checks for stack
35307	  overflow.
35308
35309Thu Nov 27 10:40:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35310
35311	* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return
35312	  Integer for #div operation.
35313
35314	* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should raise
35315	  ZeroDivisionError if divisor is zero.  [ruby-dev:37207]
35316
35317Wed Nov 26 23:15:47 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35318
35319	* strftime.c (STRFTIME): use rb_strftime() recursively, instead of
35320	  platform's strftime().
35321
35322Wed Nov 26 22:46:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35323
35324	* ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zero
35325	  division should raise FloatDomainError if mode
35326	  VP_EXCEPTION_ZERODIVIDE is set.  [ruby-dev:37204]
35327
35328	* ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle
35329	  VP_EXCEPTION_ZERODIVIDE.
35330
35331Wed Nov 26 15:16:07 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
35332
35333	* ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
35334
35335Wed Nov 26 03:17:48 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35336
35337	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): raise exception
35338	  for nan/inf conversion.  [ruby-dev:37187] fix #793
35339
35340	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): ditto.
35341
35342Wed Nov 26 03:00:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35343
35344	* ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoid
35345	  segmentation fault caused by (insanely) long decimal values.
35346	  [ruby-dev:37189] fix #794
35347
35348	* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i,
35349	  BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split,
35350	  BigDecimal_inspect): ditto.
35351
35352	* ext/bigdecimal/bigdecimal.c (VpToString): small performance
35353	  improvement.
35354
35355Wed Nov 26 00:26:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35356
35357	* strftime.c (STRFTIME): should add padding for %[xXrR] etc.
35358	  [ruby-dev:37185] fix: #792
35359
35360Tue Nov 25 16:26:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35361
35362	* array.c (rb_ary_times): taint (and untrust) status should be
35363	  inherited by "ary * 0".  [ruby-dev:37024]
35364
35365Tue Nov 25 15:54:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35366
35367	* strftime.c (rb_strftime): should not swallow incomplete
35368	  formatter, e.g. "%E".  [ruby-dev:37170] fix: #787
35369
35370	* strftime.c (rb_strftime): clear flags before processing unknown
35371	  formatter, e.g. "%i".  [ruby-dev:37180]
35372
35373Tue Nov 25 10:35:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35374
35375	* strftime.c (rb_strftime): "%^P" should convert to upper case.
35376	  [ruby-dev:37180]
35377
35378Tue Nov 25 07:51:18 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35379
35380	* strftime.c (FMT): use "%0d" formatter for zero padding, not "%.d".
35381	  [ruby-dev:37168]  fix: #768
35382
35383	* strftime.c (rb_strftime): %s to use zero padding by default.
35384	  [ruby-dev:37180]
35385
35386Tue Nov 25 03:37:42 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
35387
35388	* ext/tk/lib/tkextlib/blt/tabset.rb,
35389	  ext/tk/lib/tkextlib/blt/tabnotebook.rb:
35390	  fix many bugs. Now, those work properly.
35391
35392Tue Nov 25 03:26:04 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35393
35394	* numeric.c (num_step): treat infinite step specially.
35395	  [ruby-dev:37157] fix: #781.
35396
35397Tue Nov 25 01:23:25 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35398
35399	* lib/date/format.rb (strftime): ignores '_' flag for %[LN].
35400
35401Tue Nov 25 00:08:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35402
35403	* process.c (rb_fork): stops the timer thread during fork.
35404	  [ruby-dev:37117]
35405
35406	* thread.c (rb_thread_start_timer_thread): timer thread needs
35407	  system_working to be set.
35408
35409Mon Nov 24 23:27:28 2008  Shugo Maeda  <shugo@ruby-lang.org>
35410
35411	* strftime.c (rb_strftime): The # flag should work with %a, %A, %b,
35412	  %B, and %h.  [ruby-dev:37162]
35413
35414	* test/ruby/test_time.rb (test_strftime): ditto.
35415
35416Mon Nov 24 23:16:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35417
35418	* signal.c (register_sigaltstack): should not add external
35419	  variable (with some cosmetic changes).  [ruby-dev:37158]
35420
35421Mon Nov 24 22:57:25 2008  Shugo Maeda  <shugo@ruby-lang.org>
35422
35423	* strftime.c (rb_strftime): A width specifier for %t and %n should
35424	  work.  [ruby-dev:37160]
35425
35426	* test/ruby/test_time.rb (test_strftime): ditto.
35427
35428Mon Nov 24 22:07:07 2008  Shugo Maeda  <shugo@ruby-lang.org>
35429
35430	* strftime.c (rb_strftime): The precision of %0N should be 9.
35431	  [ruby-dev:37156]
35432
35433	* test/ruby/test_time.rb (test_strftime): ditto.
35434
35435Mon Nov 24 21:38:23 2008  Shugo Maeda  <shugo@ruby-lang.org>
35436
35437	* strftime.c (rb_strftime): The default precision should be 1, not
35438	  0.  [ruby-dev:37155]
35439
35440	* test/ruby/test_time.rb (test_strftime): ditto.
35441
35442Mon Nov 24 19:53:47 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35443
35444	* lib/date.rb (inspect): changed again.
35445
35446Mon Nov 24 18:35:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35447
35448	* lib/time.rb: r20251 reverted.  The patched behavior do not round
35449	  trip.  [ruby-core:19988]
35450
35451Sun Nov 23 16:04:05 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35452
35453	* signal.c (default_handler, Init_signal): compile error if
35454	  USE_SIGALTSTACK is not defined.
35455
35456Sun Nov 23 00:04:14 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35457
35458	* signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X.
35459	  Uses SIGSTKSZ.
35460
35461Sat Nov 22 21:29:54 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35462
35463	* test/ruby/test_method.rb (test_default_accessibility): test case for
35464	  [ruby-dev:37124].
35465
35466Sat Nov 22 18:24:24 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35467
35468	* file.c (rb_file_world_writable_p): should return nil for non
35469	  world-writable files.
35470
35471Sat Nov 22 10:31:25 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
35472
35473	* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
35474	  fix NameError bug.
35475
35476Sat Nov 22 03:41:22 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35477
35478	* ext/pty/pty.c (get_device_once): abandon asynchronous exception
35479	  that might cause serious problem if a program terminated early.
35480	  asynchronous exception is a very bad thing anyway.  use
35481	  Process.waitpid(pid) or PTY.check(pid) to poll program
35482	  termination. if PTY.check is called with optional second
35483	  argument being true, it raises an exception same as one from
35484	  previous behavior.  [incompatible] fix: [ruby-core:19583]
35485
35486Fri Nov 21 22:24:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35487
35488	* ext/curses/curses.c (curses_escdelay_set): support ESCDELAY.  a
35489	  patch from Giancarlo F Bellido <support at coaxialhost.com> in
35490	  [ruby-core:19961].
35491
35492Fri Nov 21 22:17:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35493
35494	* ruby.c (usage): -W description updated.  [ruby-core:19858]
35495
35496Fri Nov 21 21:50:54 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35497
35498	* signal.c (register_sigaltstack): use alternative stack for
35499	  SIGSEGV to avoid uncaught stack overflow. based on a patch from
35500	  Hiro Yoshioka <hyoshiok at miraclelinux.com> in [ruby-dev:37134].
35501	  [ruby-dev:36993]
35502
35503Fri Nov 21 16:06:54 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35504
35505	* vm.c (thread_free): th->vm may be NULL when pthread_create
35506	  failed for ENOMEM.  [ruby-dev:37095]
35507
35508Thu Nov 20 07:33:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35509
35510	* lib/logger.rb (Logger): should handle the case that cvs/svn do
35511	  not expand $Id keyword.  [ruby-core:19991]
35512
35513Thu Nov 20 07:27:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35514
35515	* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
35516	  indentation to shut up warning.  [ruby-core:19993]
35517
35518Wed Nov 19 17:48:05 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35519
35520	* ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a value
35521	  out of range of Time.   [ruby-core:19919]
35522
35523Wed Nov 19 14:14:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35524
35525	* node.h (NOEX_MODFUNC): should be include NOEX_PRIVATE.
35526	  [ruby-dev:37124]
35527
35528Wed Nov 19 03:01:04 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
35529
35530	* test/rinda/test_rinda.rb: fixed fails occasionally [ruby-dev:37119].
35531	  thanks, shinichiro.h.
35532
35533Wed Nov 19 02:39:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35534
35535	* error.c (Init_syserr): moved function definition itself from
35536	  template/known_errors.inc.tmpl.
35537
35538Wed Nov 19 01:10:52 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
35539
35540	* lib/drb/drb.rb (DRbConn::alive?): fixed NoMethodError problem
35541	  from NaHi [ruby-dev:37110].
35542
35543Wed Nov 19 01:05:26 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35544
35545	* cont.c (cont_mark, cont_capture, cont_restore_1): speed up
35546	  continuation by copying only valid YARV stack.  [ruby-dev:37106]
35547
35548Wed Nov 19 00:03:13 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35549
35550	* lib/time.rb: according to RFC2822, -0000 means local time, +0000
35551	  means UTC.  a patch from Chun Wang.   [ruby-core:19578]
35552
35553Tue Nov 18 23:02:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35554
35555	* proc.c (proc_eq): equivalence check should not done by pointer
35556	  comparison, but should be based on iseq contents.   [ruby-dev:37101]
35557
35558Tue Nov 18 20:30:08 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35559
35560	* lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.
35561	  a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in
35562	  [ruby-core:19982].
35563
35564Tue Nov 18 16:18:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35565
35566	* lib/logger.rb (ProgName): fixed for svn, based on a patch from
35567	  Nobuhiro IMAI at [ruby-dev:37108].
35568
35569Tue Nov 18 15:56:55 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35570
35571	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line):
35572	  use possessive match for path retrieval to avoid huge recursion
35573	  for insanely long path.
35574
35575Tue Nov 18 15:50:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35576
35577	* re.c (rb_reg_desc): re might be NULL.
35578
35579	* regerror.c (onig_error_code_to_format): message updated.
35580
35581Tue Nov 18 09:42:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35582
35583	* lib/optparse.rb (OptionParser::make_switch): makes default
35584	  conversion to splat.  [ruby-list:45645]
35585
35586Mon Nov 17 18:05:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35587
35588	* enc/depend (LIBS): fixed for disable-shared.  [ruby-dev:37103]
35589
35590Mon Nov 17 11:12:24 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
35591
35592	* bin/erb: remove -K option.
35593
35594Mon Nov 17 02:19:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35595
35596	* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
35597
35598Sat Nov 15 22:46:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35599
35600	* re.c (rb_reg_regsub): returns -1 unless ascii as well as
35601	  rb_enc_ascget().  [ruby-dev:37097]
35602
35603Sat Nov 15 22:23:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35604
35605	* configure.in (LDSHARED): do not suppress debug info if higher debug
35606	  level is given, on cygwin and mingw.
35607
35608Fri Nov 14 20:27:46 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35609
35610	* README.EXT, README.EXT.ja, vm_exec.c, vm_insnhelper.c: update
35611	  filenames.
35612
35613Thu Nov 13 11:31:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35614
35615	* thread.c (rb_barrier_wait): gets rid of recursive deadlock.
35616
35617Thu Nov 13 06:08:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35618
35619	* thread.c (rb_barrier_{new,wait,release,destroy}): use Mutex so that
35620	  circular requires fail with deadlock.  [ruby-core:19821]
35621
35622Wed Nov 12 07:16:01 2008  David Flanagan  <david@think32>
35623
35624	* ruby.c (set_internal_encoding_once): fix typo in error string
35625
35626Wed Nov 12 03:30:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35627
35628	* include/ruby/intern.h (rb_{external,locale}_str_new_cstr): optimized
35629	  versions for literal strings.
35630
35631Wed Nov 12 03:28:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35632
35633	* load.c (rb_require_safe): destroys barrier after successfully
35634	  loaded, to get rid of loading same library again.  [ruby-core:19798]
35635
35636	* thread.c (rb_barrier_wait): can not wait destroyed barrier.
35637
35638	* thread.c (rb_barrier_destroy): destroys barrier so that no longer
35639	  waited.
35640
35641Tue Nov 11 23:02:27 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35642
35643	* man/ruby.1 (RUBYOPT): wrote which option can appear.
35644	  (--yydebug): wrote "do not use".
35645	  (--dump): wrote "do not use".
35646
35647Tue Nov 11 21:22:28 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35648
35649	* lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a
35650	  symbol.  [ruby-core:19805]
35651
35652Tue Nov 11 20:49:29 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
35653
35654	* configure.in: fix SEGV on Mac OS X 10.5.3 with pthread.
35655	  a patch from Wataru Kimura in Bug #193 [ruby-core:17333].
35656
35657Tue Nov 11 20:39:27 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35658
35659	* lib/date.rb (inspect): reverted the previous change.
35660
35661Tue Nov 11 17:35:25 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35662
35663	* win32/win32.c (rb_w32_accept): secure fd before accept because if
35664	  error causes in securing, cannot restore the state of accepted
35665	  socket.
35666	  fixed [ruby-core:19728]
35667
35668Tue Nov 11 14:40:40 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
35669
35670	* test/ruby/test_transcode.rb: unnecessary setup method
35671	  (setup_really_needed?) removed
35672
35673Tue Nov 11 14:25:25 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
35674
35675	* enc/trans/single_byte.trans, macgreek-tbl.rb, macroman-tbl.rb,
35676	  macromania-tbl.rb, macturkish-tbl.rb, macukraine-tbl.rb,
35677	  ibm437-tbl.rb, ibm852-tbl.rb, ibm855-tbl.rb, ibm857-tbl.rb,
35678	  ibm860-tbl.rb, ibm861-tbl.rb, ibm862-tbl.rb, ibm863-tbl.rb,
35679	  ibm865-tbl.rb, ibm866-tbl.rb, ibm869-tbl.rb, ibm775-tbl.rb:
35680	  new single-byte transcodings (from Yoshihiro Kambayashi)
35681
35682	* test/ruby/test_transcode.rb: added tests for the above
35683	  (from Yoshihiro Kambayashi)
35684
35685Tue Nov 11 13:20:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35686
35687	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): moved from
35688	  bigdecimal/util, converted into C.  [ruby-dev:36805]
35689
35690Tue Nov 11 07:55:57 2008  Tadayoshi Funaba  <tadf@dotrb.org>
35691
35692	* lib/date.rb (inspect): changed the format.
35693
35694Mon Nov 10 17:34:50 2008  Akinori MUSHA  <knu@iDaemons.org>
35695
35696	* test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the method
35697	  name change from #index to #key and remove a duplicated test
35698	  method.
35699
35700Mon Nov 10 10:50:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35701
35702	* lib/delegate.rb (Delegator.delegating_block): should not refer
35703	  DelegateClass specific @delegate_dc_obj.  a patch from Erik
35704	  Hollensbe in [ruby-core:19671].
35705
35706Mon Nov 10 09:54:21 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35707
35708	* win32/win32.c (ifs_open_socket): should retry without proto_buffer
35709	  if cannot find the suitable protocol. a patch from Heesob Park.
35710	  fixed [ruby-core:19713]
35711
35712Sun Nov  9 13:04:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35713
35714	* struct.c (rb_struct_initialize_m): avoid unnecessary array
35715	  allocation.
35716
35717Sun Nov  9 04:10:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35718
35719	* vm_dump.c (control_frame_dump): suppresses finished method name.
35720
35721Sun Nov  9 00:30:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35722
35723	* thread_pthread.c (thread_timer): checks working flags again.
35724
35725Sun Nov  9 00:02:01 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
35726
35727	* lib/cgi/session/pstore.rb: fix indentation.
35728
35729Sat Nov  8 23:47:45 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
35730
35731	* lib/cgi/session.rb (FileStore): use marshalized data.
35732
35733	* test/cgi/session_dir: add a session directory in test.
35734
35735	* test/cgi/test_cgi_session.rb: add a test.
35736
35737Sat Nov  8 21:57:03 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
35738
35739	* lib/cgi/session.rb: remove debug code.
35740
35741Sat Nov  8 21:33:53 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
35742
35743	* lib/cgi/session.rb: fix indentation.
35744
35745Sat Nov  8 18:11:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35746
35747	* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT):
35748	  use #bytesize instead of #size.  a patch submitted from
35749	  raspberry lemon in [ruby-core:18571].
35750
35751	* lib/webrick/httpauth/digestauth.rb, lib/webrick/httpproxy.rb,
35752	  lib/webrick/httprequest.rb, lib/webrick/httpservlet/cgi_runner.rb,
35753	  lib/webrick/httpservlet/abstract.rb, lib/webrick/httpresponse.rb,
35754	  lib/webrick/httpservlet/cgihandler.rb, lib/webrick/utils.rb: ditto.
35755
35756Sat Nov  8 17:31:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35757
35758	* ext/stringio/stringio.c (strio_ungetc): ungetc position should
35759	  not be changed from 1.8.  [ruby-core:19632]
35760
35761Sat Nov  8 17:15:08 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35762
35763	* lib/optparse.rb (OptionParser#make_switch): 1.9 Symbols respond
35764	  to :match.  a patch from keith cascio, <keith at ucla.edu>.
35765	  [ruby-core:19730]
35766
35767Sat Nov  8 12:10:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35768
35769	* ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash.
35770	  [ruby-dev:37039]
35771
35772	* ext/sdbm/init.c (Init_sdbm): typo fixed.  [ruby-dev:37039]
35773
35774Sat Nov  8 07:07:48 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35775
35776	* configure.in: detect stdio buffer pointers for uClibc.  a patch
35777	  from Brian Candler <B.Candler at pobox.com> in [ruby-core:12020].
35778	  [ruby-core:19713]
35779
35780Sat Nov  8 06:51:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35781
35782	* ext/dbm/dbm.c (fdbm_index): make #index warn like Hash.
35783
35784	* ext/dbm/dbm.c (fdbm_key): new method.
35785
35786	* ext/sdbm/init.c: ditto.
35787
35788Sat Nov  8 06:20:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35789
35790	* ext/curses/curses.c: curses encoding should obey locale.
35791
35792	* ext/curses/curses.c (curses_getch): 1.9 getch should return one
35793	  character string for single byte string.  wchar_t support may
35794	  follow in the future.
35795
35796Sat Nov  8 05:46:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35797
35798	* include/ruby/io.h (rb_io_t): added write_lock to serialize.
35799	  [ruby-core:19668]
35800
35801	* gc.c (gc_mark_children): mark write_lock.
35802
35803	* gc.c (rb_gc_call_finalizer_at_exit): Mutex also needs to be
35804	  deferred.
35805
35806	* io.c (io_fflush, io_binwrite, fptr_finalize): serializes writing.
35807
35808Sat Nov  8 05:31:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35809
35810	* safe.c (safe_setter): add warning for $SAFE=3.
35811
35812Sat Nov  8 01:48:07 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35813
35814	* thread_pthread.c (rb_thread_create_timer_thread): do not wait never
35815	  coming signal if failed to create timer thread.
35816
35817	* thread_pthread.c (native_cond_timedwait): returns error code.
35818
35819	* thread_pthread.c (thread_timer): typo fixed.
35820
35821Sat Nov  8 01:14:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35822
35823	* thread_pthread.c (thread_timer, rb_thread_create_timer_thread):
35824	  handshakes properly.
35825
35826Fri Nov  7 22:51:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35827
35828	* inits.c (rb_call_inits): do not repeat.
35829
35830Fri Nov  7 22:46:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35831
35832	* thread_pthread.c (thread_timer): initializes mutex each time.
35833
35834Fri Nov  7 21:23:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35835
35836	* thread_win32.c (thread_start_func_1): use already gotten stack info.
35837
35838Fri Nov  7 12:26:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35839
35840	* lib/irb.rb (IRB::Irb#eval_input): remove extra  @context.prompt_i.
35841	  [ruby-core:19718]
35842
35843Fri Nov  7 11:55:30 2008  NARUSE, Yui  <naruse@ruby-lang.org>
35844
35845	* nkf.c: update to r1.188. fixes for 16bit environment.
35846
35847Fri Nov  7 07:43:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35848
35849	* thread.c (thread_timer): pthread_cond_timedwait returns ETIMEDOUT
35850	  when timed out.
35851
35852Fri Nov  7 07:32:55 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35853
35854	* lib/yaml/rubytypes.rb: support Rational and Complex as 1.8
35855	  does.  a patch from Hiroshi Moriyama in [ruby-dev:36899].
35856
35857Fri Nov  7 07:12:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35858
35859	* thread_pthread.c (thread_timer): uses pthread_cond_timedwait always
35860	  instead of pthread_kill.
35861
35862Fri Nov  7 06:58:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
35863
35864	* string.c (Init_String): remove Symbol#===.  [ruby-dev:37026]
35865
35866Fri Nov  7 04:02:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35867
35868	* thread.c (thread_timer): uses timedwait on cygwin.
35869
35870Fri Nov  7 02:00:12 2008  Shugo Maeda  <shugo@ruby-lang.org>
35871
35872	* lib/rexml/entity.rb (unnormalized): do not call
35873	  document.record_entity_expansion if document is nil.
35874	  see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>.
35875	  Thanks, Naohisa Goto.
35876
35877	* test/rexml/test_document.rb: ditto.
35878
35879Fri Nov  7 01:24:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35880
35881	* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
35882
35883Thu Nov  6 22:21:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35884
35885	* thread.c (rb_thread_stop_timer_thread): terminates timer thread
35886	  immediately.
35887
35888Thu Nov  6 21:21:46 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
35889
35890	* ext/win32ole/win32ole.c (fole_s_connect, fole_initialize,
35891	  folevariant_initialize): check argument type of WIN32OLE.connect,
35892	  WIN32OLE.new, WIN32OLE_VARIANT.new.
35893
35894	* test/win32ole/test_win32ole.rb (test_s_new_exc, test_s_connect_exc):
35895	  ditto.
35896
35897	* test/win32ole/test_win32ole_variant.rb (test_s_new_exc): ditto.
35898
35899	* test/win32ole/test_win32ole_method.rb: add assertion of
35900	  WIN32OLE_METHOD.new.
35901
35902Tue Nov  4 13:08:01 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
35903
35904	* lib/test/unit.rb (Test::Unit.setup_argv): now can specify ``-xname''
35905	  instead of ``-x name''.
35906
35907Tue Nov  4 08:00:00 2008  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
35908
35909	* test/zlib/test_zlib.rb(test_readchar): compare in same type.
35910
35911Tue Nov  4 03:28:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35912
35913	* array.c (rb_ary_join): do not repeat self in a recursive array.
35914	  [ruby-dev:37019]
35915
35916Tue Nov  4 01:56:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35917
35918	* include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.
35919
35920	* thread.c (rb_mutex_synchronize): fixed function name.
35921
35922Mon Nov  3 16:32:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35923
35924	* missing.h: needs RUBY_EXTERN instead of extern for mswin.
35925
35926Mon Nov  3 13:01:13 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35927
35928	* array.c (rb_ary_take_first_or_last): renamed rb_ary_partial more
35929	  appropriately.
35930	  (ary_take_pos_flags): new enum. makes the fourth argument of
35931	  rb_ary_take_first_or_last more descriptive.
35932	  (rb_ary_partial): renamed rb_ary_partial0 more appropriately.
35933	  takes a new parameter klass for what class to instantiate.
35934
35935Mon Nov  3 13:00:26 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35936
35937	* range.c (rb_range_beg_len): rb_raise takes C values as arguments.
35938	  [BUG] ranges turned into other value in a message of RangeError.
35939
35940Mon Nov  3 00:36:44 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
35941
35942	* test/win32ole/test_win32ole_event.rb: rename test class.
35943
35944	* test/win32ole/test_win32ole_variant_outarg.rb: add in order
35945	  to use ADO instead of Internet Explorer.
35946	  remove test/win32ole/test_win32ole_variant_with_ie.rb.
35947
35948	* test/win32ole/orig_data.csv: ditto.
35949
35950Sun Nov  2 23:08:08 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
35951
35952	* test/win32ole/test_err_in_callback.rb: add teardown.
35953
35954Sun Nov  2 22:12:41 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
35955
35956	* ext/win32ole/win32ole.c (ole_event_free): invoke IConnectionPoint::Unadvise
35957	  before invoking IConnectionPoint::Release.
35958
35959	* test/win32ole/test_win32ole_event.rb, test/win32ole/err_in_callback.rb,
35960	  test/win32ole/test_err_in_callback.rb: Use ActiveX Data Object
35961	  Library instead of InternetExplorer.
35962
35963Sun Nov  2 22:06:55 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
35964
35965	* win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]
35966
35967Sun Nov  2 16:41:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
35968
35969	* ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining
35970	  readchar.
35971
35972Sat Nov  1 07:09:40 2008  Eric Hodel  <drbrain@segment7.net>
35973
35974	* gem_prelude.rb: Don't require rubygems/defaults.rb.
35975
35976Fri Oct 31 21:58:50 2008  Kouhei Sutou  <kou@cozmixng.org>
35977
35978	* lib/rss/converter.rb (RSS::Converter): use String#encode.
35979
35980Fri Oct 31 21:28:14 2008  Yusuke Endoh  <mame@tsg.ne.jp>
35981
35982	* lib/webrick/httpauth/digestauth.rb
35983	  (WEBrick::HTTPAuth::DigestAuth#initialize): fix typo.
35984
35985Fri Oct 31 18:51:42 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35986
35987	* test/ruby/test_array.rb (test_array_subclass): test for r20076.
35988
35989Fri Oct 31 18:42:19 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
35990
35991	* array.c (ary_partial0): recovers the mistakenly changed feature at r19723.
35992	  Array#[m,n] had returned an Array even for an instance of a
35993	  subclass.
35994
35995Fri Oct 31 18:05:05 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
35996
35997	* enc/trans/single_byte.trans, maccroatioan-tbl.rb,
35998	  maccyrillic-tbl.rb, maciceland-tbl.rb: new single-byte
35999	  transcodings (from Yoshihiro Kambayashi)
36000
36001	* test/ruby/test_transcode.rb: added tests for the above
36002	  (from Yoshihiro Kambayashi)
36003
36004Fri Oct 31 12:51:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36005
36006	* dir.c (dir_globs): need taint check.  reported by steve
36007	  <oksteev at gmail.com>
36008
36009Fri Oct 31 12:42:45 2008  wanabe  <s.wanabe@gmail.com>
36010
36011	* array.c (rb_ary_decrement_share): fix to work recycling
36012	  shared-array without the following.  [ruby-dev:36991]
36013
36014	* array.c (ary_make_substitution): don't recycle substitution array.
36015
36016Fri Oct 31 12:27:52 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36017
36018	* spec/default.mspec: supports that the build directory != srcdir.
36019
36020Fri Oct 31 11:35:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36021
36022	* encoding.c (rb_enc_set_default_internal): no alias "internal" if
36023	  default internal is not set.  [ruby-dev:37000]
36024
36025Fri Oct 31 08:16:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36026
36027	* ruby.c (process_options): delays setting safe level.
36028	  [ruby-dev:36997]
36029
36030Thu Oct 30 21:32:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36031
36032	* array.c (rb_ary_permutation): hide temporal array.
36033
36034Thu Oct 30 14:45:45 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
36035
36036	* enc/trans/single_byte.trans: refactoring to make it easier
36037	  to add more transcodings (with Yoshihiro Kambayashi)
36038
36039	* enc/trans/iso-8859-1-tbl.rb: new file to avoid having to
36040	  treat ISO-8859-1 as special
36041
36042Thu Oct 30 14:10:46 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36043
36044	* pack.c (pack_pack): templates a, A, Z should propagate encoding
36045	  of original strings.  templates b, B, h, H brings ASCII-8BIT to
36046	  the result.
36047
36048Thu Oct 30 10:34:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36049
36050	* ruby.c (moreswitches): splits option string and passes arguments.
36051
36052	* ruby.c (proc_options): checks if allowed in RUBYOPT.
36053
36054	* ruby.c (process_options): allows long style options in RUBYOPT.
36055
36056	* ruby.c (load_file_internal): ditto in shebang.  [ruby-dev:36979]
36057
36058Thu Oct 30 09:31:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36059
36060	* encoding.c (rb_locale_encoding): makes an alias for locale.
36061	  [ruby-dev:36976]
36062
36063	* encoding.c (rb_enc_set_default_external): ditto for external.
36064
36065	* encoding.c (rb_enc_set_default_internal): ditto for internal.
36066
36067Thu Oct 30 03:30:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36068
36069	* ruby.c (load_file_internal): should not set script encoding to
36070	  ASCII-8BIT.
36071
36072	* ruby.c (load_file_internal): do not auto convert scripts even
36073	  when default_internal is set.  [ruby-core:19579]
36074
36075Thu Oct 30 02:20:33 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36076
36077	* array.c (rb_ary_sort_bang): remove SEGV when replacing array with
36078	  embedded one during sort.  [ruby-dev:36983]
36079
36080	* test/ruby/test_array.rb (test_sort!): add tests for above.
36081
36082Thu Oct 30 01:44:23 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36083
36084	* test/ruby/test_array.rb: add some tests.
36085
36086Thu Oct 30 01:32:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36087
36088	* array.c (rb_ary_splice): remove redundant check.
36089
36090Thu Oct 30 01:24:55 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36091
36092	* string.c (rb_str_cmp): fix condition which always returned true
36093	  because ENCODING_GET returns unsigned long.
36094
36095Thu Oct 30 01:10:32 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36096
36097	* test/ruby/test_array.rb (test_permutation): add a test that replaces
36098	  array during permutation.
36099
36100Wed Oct 29 23:31:34 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36101
36102	* string.c (rb_str_check_dummy_enc): new function to check dummy
36103	  encoding.
36104
36105	* string.c (rb_str_upcase_bang): case conversion functions should
36106	  not be applicable to strings in dummy encoding.  [ruby-dev:36985]
36107
36108Wed Oct 29 23:57:29 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36109
36110	* array.c (rb_ary_sort_bang): replacing array during sort broke
36111	  invariant of array.  [ruby-dev:36983]
36112
36113Wed Oct 29 21:06:46 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36114
36115	* io.c (rb_io_rewind): should reset fptr->readconv if it's
36116	  available.
36117
36118	* io.c (more_char): clear readconv at EOF.
36119
36120	* test/ruby/test_file.rb: should not read after EOF.  use rewind
36121	  instead.
36122
36123Wed Oct 29 20:45:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36124
36125	* test/webrick/utils.rb (start_server): provide a reference to log of
36126	  webrick.
36127
36128	* test/webrick/test_httpproxy.rb, test/webrick/test_httpauth.rb,
36129	  test/webrick/test_cgi.rb, test/webrick/test_httpserver.rb,
36130	  test/webrick/test_server.rb, test/webrick/test_filehandler.rb: use
36131	  webrick log as an assertion message.
36132
36133Wed Oct 29 16:41:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36134
36135	* pack.c (pack_pack): set encoding from packing string and UTF-8 for
36136	  "U".  [ruby-core:19590]
36137
36138Wed Oct 29 15:50:00 2008  TAKANO Mitsuhiro (takano32)  <tak@no32.tk>
36139
36140	* complex.c (imp1, imp2): should declare type.
36141	  [BUG] at IA-64
36142
36143Wed Oct 29 14:36:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36144
36145	* common.mk (revision.h): have to be updated daily or by non-trivial
36146	  commits.
36147
36148Wed Oct 29 13:18:02 2008  Akinori MUSHA  <knu@iDaemons.org>
36149
36150	* README, README.ja: Update the portability section.
36151
36152Wed Oct 29 13:02:17 2008  Akinori MUSHA  <knu@iDaemons.org>
36153
36154	* configure.in (rb_cv_lib_xpg4_needed): Drop legacy FreeBSD
36155	  support regarding libxpg4.  Those old versions of FreeBSD
36156	  shipped with the library don't have a working pthread library
36157	  anyway.
36158
36159Wed Oct 29 11:50:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36160
36161	* configure.in (dln-a-out): cannot make shared library nor work with
36162	  ELF.  [ruby-core:19571]
36163
36164Wed Oct 29 11:00:25 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36165
36166	* win32/win32.c (rb_w32_open): shouldn't seek here.
36167
36168	* win32/win32.c (rb_w32_write): write to the end of the file when
36169	  FAPPEND is specified.
36170
36171Wed Oct 29 09:30:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36172
36173	* ruby.c (load_file_internal): cache common interned IDs.
36174
36175Wed Oct 29 00:43:39 2008  Tadayoshi Funaba  <tadf@dotrb.org>
36176
36177	* complex.c: uses macro in declarations.
36178
36179Wed Oct 29 00:26:00 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36180
36181	* win32/win32.c (rb_w32_open): need to seek to the end of the file when
36182	  O_APPEND is specified.
36183
36184Wed Oct 29 00:08:05 2008  Tadayoshi Funaba  <tadf@dotrb.org>
36185
36186	* math.c (rb_math_{atan2,cos,cosh,hypot,log,sin,sinh,sqrt}): added.
36187
36188	* complex.c: follows the above change.
36189
36190Tue Oct 28 23:29:06 2008  NARUSE, Yui  <naruse@ruby-lang.org>
36191
36192	* ext/nkf/nkf-utf8/nkf.c (kanji_convert): output unicode chars.
36193	  [ruby-dev:36957]
36194
36195	* ext/nkf/nkf-utf8/nkf.c (numchar_getc): increase buffer size.
36196	  reported and patched at [ruby-dev:36957] by mame.
36197
36198Tue Oct 28 23:03:46 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36199
36200	* test/ruby/test_proc.rb: filled all patterns for testing
36201	  vm_yield_setup_args.
36202
36203Tue Oct 28 23:05:35 2008  Tadayoshi Funaba  <tadf@dotrb.org>
36204
36205	* complex.c: continues to support canonicalization *unofficially*
36206	  for an odd library mathn for the time being (only 1.9.x).
36207	  since grand mathn must be very very special library for us.
36208
36209	* rational.c: ditto.
36210
36211	* ext/mathn/*/*: follow the above changes.
36212
36213Tue Oct 28 21:31:55 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36214
36215	* parse.y (parser_yylex): check EOF explicitly.
36216
36217Tue Oct 28 20:59:12 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36218
36219	* io.c (extract_binmode): new function to extract binmode/textmode
36220	  options from hash.
36221
36222	* io.c (rb_io_extract_modeenc): use above function.
36223
36224	* io.c (rb_io_s_pipe): recognize binmode/textmode options.
36225
36226Tue Oct 28 20:15:49 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36227
36228	* io.c (make_readconv): now can specify the size of cbuf.
36229
36230	* io.c (read_all, appendline, io_getc, rb_io_ungetc): follow above
36231	  change.
36232
36233Tue Oct 28 19:00:51 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36234
36235	* win32/win32.c (rb_w32_pipe_exec): internal fds should be always
36236	  binmode.
36237
36238Tue Oct 28 17:21:18 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36239
36240	* tool/make-snapshot.rb: merged from ruby_1_9_1.
36241
36242Tue Oct 28 16:56:31 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36243
36244	* gem_prelude.rb: merged from ruby_1_9_1 branch.
36245	  considers --program-suffix and prefix configure options.
36246
36247	* lib/rubygems/defaults.rb: ditto.
36248
36249	* test/rubygems/test_gem.rb (@default_dir_re): ditto.
36250
36251Tue Oct 28 16:13:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36252
36253	* tool/make-snapshot: use String#bytesize.
36254
36255Tue Oct 28 09:51:48 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36256
36257	* bootstraptest/test_thread.rb: ignore some exceptions.
36258	  [ruby-dev:36951]
36259
36260Tue Oct 28 09:19:40 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36261
36262	* win32/Makefile.sub (RUNRUBY): now ruby requires something from
36263	  gem_prelude, so need to set library path.
36264
36265Mon Oct 27 22:29:11 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36266
36267	* vm_insnhelper.c (vm_yield_setup_args): supports optional parameters.
36268	  Fixed [ruby-core:19503].
36269
36270	* vm_insnhelper.c (vm_yield_setup_block_args): a new function. extracted
36271	  from vm_yield_setup_args.
36272
36273	* vm_insnhelper.c (vm_yield_setup_block_args_complex): ditto.
36274
36275	* test/ruby/test_proc.rb: added tests for arguments on a Proc from
36276	  Kernel#proc called.
36277
36278Mon Oct 27 20:03:05 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36279
36280	* ext/mathn/complex/complex.c: no need to define rb_cComplex because
36281	  it's already defined at $(srcdir)/complex.c.
36282
36283	* ext/mathn/rational/rational.c: no need to define rb_cRational because
36284	  it's already defined at $(srcdir)/rational.c.
36285
36286Mon Oct 27 15:58:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36287
36288	* ruby.c (load_file): preserves $..  [ruby-dev:36937]
36289
36290	* io.c (argf_init): initial value of $. should be 0.
36291	  see [ruby-dev:36937].
36292
36293Mon Oct 27 15:38:38 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36294
36295	* test/minitest/test_mini_test.rb
36296	  (test_assert_raises_triggered_different): the test failed when a
36297	  file path in the backtrace contains something except [\w\/\.],
36298	  e.g. hyphen, Japanese characters or backslash.
36299
36300	* test/minitest/test_mini_test.rb
36301	  (test_assert_raises_triggered_subclass): ditto.
36302
36303Mon Oct 27 15:32:08 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36304
36305	* test/minitest/test_mini_test.rb: fixed that r19958 made
36306	  test-all fail when the ruby was built at $(srcdir).
36307
36308Mon Oct 27 12:04:58 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36309
36310	* test/ruby/envutil.rb: reverted the changeset 19948 because it
36311	  concealed unexpected behaviours of ruby.
36312
36313	* test/ruby/test_io.rb: ditto.
36314
36315Mon Oct 27 12:02:53 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
36316
36317	* ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable.
36318
36319Mon Oct 27 11:34:56 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36320
36321	* test/minitest/test_mini_test.rb (test_filter_backtrace):
36322	  fixed failure on Ruby built at out of $(srcdir).
36323
36324	* test/minitest/test_mini_test.rb (test_Filter_backtrace_unit_starts):
36325	  ditto.
36326
36327Mon Oct 27 10:02:47 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36328
36329	* io.c (read_all): the 3rd argument maybe Qnil.
36330
36331Mon Oct 27 01:29:55 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36332
36333	* test/nkf/test_nkf.rb: add a test for [ruby-dev:36909].
36334
36335Mon Oct 27 01:05:48 2008  NARUSE, Yui  <naruse@ruby-lang.org>
36336
36337	* ext/nkf/nkf.c (rb_nkf_convert): avoid GC.
36338	  reported in [ruby-dev:36909] and patched [ruby-dev:36941] by mame.
36339
36340Sun Oct 26 21:28:42 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36341
36342	* test/json/test_json.rb: remove dependency on permutation gem.
36343
36344Sun Oct 26 19:18:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36345
36346	* thread.c (blocking_region_{begin,end}): declared as inline.
36347
36348	* util.c (freedtoa): used only when MULTIPLE_THREADS is not defined.
36349
36350	* win32/win32.c (rb_w32_pipe): serial is DWORD.
36351
36352	* ext/etc/etc.c (sGroup): getgrent may not be available.
36353
36354Sun Oct 26 18:11:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36355
36356	* ext/io/wait/{extconf.rb,wait.c}: needs sys/ioctl.h for fcntl on
36357	  cygwin.
36358
36359Sun Oct 26 18:18:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36360
36361	* gem_prelude.rb: disables debug and verbose flags to suppress failure
36362	  messages.  interpolation does not occur inside single quotes.
36363
36364Sun Oct 26 18:42:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36365
36366	* test/ruby/envutil.rb (assert_in_out_err): disables builtin rubygems
36367	  to get rid of the interference.
36368
36369	* test/ruby/test_io.rb (ruby): ditto.
36370
36371Sun Oct 26 13:30:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36372
36373	* io.c (read_all): use the given buffer to read when needs readconv.
36374	  based on the patch by wanabe <s.wanabe AT gmail.com> at
36375	  [ruby-dev:36931].
36376
36377Sun Oct 26 07:57:35 2008  Eric Hodel  <drbrain@segment7.net>
36378
36379	* lib/rubygems*: Update to RubyGems 1.3.1 r1909.
36380
36381Sun Oct 26 07:35:56 2008  Ryan Davis  <ryand-ruby@zenspider.com>
36382
36383	* lib/minitest/unit.rb: Imported minitest 1.3.0 r4429.
36384	* test/minitest/*: ditto.
36385
36386Sun Oct 26 02:16:29 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36387
36388	* configure.in ($MANTYPE): followed ruby.1, which had moved.
36389
36390	* instruby.rb (:man): ditto.
36391
36392	* mdoc2man.rb: fixed for the case Xr with 2 arguments.
36393
36394Sun Oct 26 01:42:45 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36395
36396	* man/irb.1: new manual page.
36397
36398Sun Oct 26 00:11:48 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36399
36400	* man/ruby.1: moved into man/. added some descriptions.
36401
36402	* man/goruby.1: new file.
36403
36404	* instruby.rb (:man): followed ruby.1.
36405
36406Sat Oct 25 20:05:22 2008  Narihiro Nakamura  <authorNari@gmail.com>
36407
36408	* gc.c (gc_profile_result): bug fix. The millisecond is 1/1000.
36409
36410Sat Oct 25 11:12:40 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36411
36412	* ruby.c (usage): updated the description of -E option.
36413
36414Sat Oct 25 09:54:10 2008  James Edward Gray II  <jeg2@ruby-lang.org>
36415
36416	* lib/csv.rb:  Fixed a bug in read_to_char() that would slurp
36417	  whole files if the encoding was invalid.  It will now read
36418	  up to 10 bytes ahead to find a valid character boundary or
36419	  give up.  [ruby-core:19465]
36420
36421	* test/csv/test_features.rb, test/csv/test_table.rb, test/csv/test_row.rb:
36422	  Loosened some tests to check for a compatible? Encoding instead
36423	  of an exact Encoding.  [ruby-core:19470]
36424
36425Sat Oct 25 07:42:49 2008  Eric Hodel  <drbrain@segment7.net>
36426
36427	* lib/rdoc*: Update to RDoc 2.2.2 r192.
36428
36429Sat Oct 25 04:00:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36430
36431	* enc/us_ascii.c (us_ascii_mbc_enc_len): made static.  a patch by
36432	  Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36916]
36433
36434	* signal.c (signal_buff): made static.  a patch by Tadashi Saito
36435	  <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36915]
36436
36437	* util.c (freedtoa): made static to get rid of name clash.  a patch by
36438	  Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36913]
36439
36440	* util.c (ruby_dtoa): added prefix, ditto.
36441
36442Sat Oct 25 03:43:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36443
36444	* parse.y (lambda): need to adjust lpar_beg for both of the parser and
36445	  ripper.
36446
36447Sat Oct 25 01:29:34 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36448
36449	* ext/mathn/rational/rational.c: undef duplicated macro definition
36450	  first to shut up the warning.
36451
36452	* ext/mathn/rational/rational.c (rb_rational_new_mathn): specify
36453	  omitted return value.
36454
36455Sat Oct 25 00:14:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36456
36457	* array.c (rb_ary_sample): fixed sizes and randomness.
36458
36459Fri Oct 24 23:04:42 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36460
36461	* configure.in (sitedir): considers --program-prefix and
36462	  --program-suffix.
36463	  (vendordir): ditto.
36464	  (rubyhdrdir): ditto.
36465
36466	* mkconfig.rb (CONFIG["rubylibdir"]): ditto.
36467
36468	* win32/Makefile.sub: ditto.
36469
36470	* instruby.rb (:rdoc): ditto.
36471
36472	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto.
36473
36474Fri Oct 24 22:59:27 2008  Yusuke Endoh  <mame@tsg.ne.jp>
36475
36476	* test/ruby/test_array.rb (test_sample): add tests for size of
36477	  returned array and randomness.
36478
36479Fri Oct 24 21:50:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36480
36481	* id.h, template/id.h.tmpl (enum ruby_method_ids): reordered.
36482
36483Fri Oct 24 21:19:45 2008  Keiju Ishitsuka  <keiju@ruby-lang.org>
36484
36485	* ext/mathn/rational.c: change several global functions.
36486
36487Fri Oct 24 21:05:38 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
36488
36489	* lib/cgi/html.rb: allow symbolized key.
36490
36491	* test/cgi/test_cgi_tag_helper.rb: add a test.
36492
36493Fri Oct 24 20:54:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36494
36495	* common.mk (exts): renamed to get rid of the existent directory.
36496
36497Fri Oct 24 20:45:41 2008  Keiju Ishitsuka  <keiju@ruby-lang.org>
36498
36499	* ext/mathn/rational.c: change several global functions to static
36500	  function.
36501
36502Fri Oct 24 19:57:19 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36503
36504	* string.c (rb_str_dump): should have removed commented out
36505	  unnecessary code.  [ruby-cvs:27131]
36506
36507Fri Oct 24 19:16:36 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
36508
36509	* id.h (enum ruby_method_ids): ISO C forbids comma at end of
36510	  enumerator list.
36511
36512Fri Oct 24 18:29:00 2008  Keiju Ishitsuka  <keiju@ruby-lang.org>
36513
36514	* lib/mathn.rb: moved into ext/mathn/rational/rational.c and
36515	  ext/mathn/complex/complex.c.
36516	* ext/mathn: new mathn ext-libraries.
36517
36518Fri Oct 24 18:21:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36519
36520	* test/ruby/test_array.rb (TestArray#test_join): should restore
36521	  global variable after the test.  [ruby-dev:36896]
36522
36523	* test/ruby/test_hash.rb (TestHash#test_to_s): ditto.
36524
36525Fri Oct 24 17:43:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36526
36527	* parse.y (lambda): need to adjust lpar_beg for ripper as well.
36528	  [ruby-dev:36702]
36529
36530Fri Oct 24 16:13:12 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
36531
36532	* lib/cgi/core.rb (read_multipart): change field value as String
36533	  from StringIO or Tempfile when multipart parse except file field.
36534	  add files method that can get uploaded files. [ruby-dev:36547]
36535
36536	* test/cgi/test_cgi_multipart.rb: fix the test for core.rb.
36537
36538Fri Oct 24 14:22:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36539
36540	* common.mk (ext): split out the target for extension library.
36541
36542	* common.mk (encs): depends on enc and trans.
36543
36544Fri Oct 24 10:23:24 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
36545
36546	* test/ruby/test_signal.rb (TestSignal#test_exit_action): Thread
36547	  may terminate before sysread. [ruby-dev:36835]
36548
36549Thu Oct 23 22:06:23 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36550
36551	* distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9
36552	  series. distruby.rb has been no longer used.
36553
36554Thu Oct 23 17:30:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36555
36556	* class.c (rb_class_instance_methods): rdoc fixed.  [ruby-core:19458]
36557
36558Thu Oct 23 16:19:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36559
36560	* lib/irb/init.rb (IRB.load_modules): catch LoadError explicitly.
36561	  a patch from Daniel Berger <Daniel.Berger at qwest.com> in
36562	  [ruby-core:19451].  fix [ruby-core:19450]
36563
36564Thu Oct 23 16:16:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36565
36566	* ext/socket/socket.c (sock_s_getservbyport): check if the port range.
36567	  [ruby-core:19460]
36568
36569Thu Oct 23 14:08:07 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36570
36571	* ext/socket/socket.c (sock_s_getservbyname): unuse unnecessary
36572	  object.
36573
36574	* ext/socket/socket.c (sock_s_getservbyport): the port should be
36575	  converted before the proto so that the #to_int of the former cannot
36576	  alter the latter.
36577
36578Thu Oct 23 10:55:08 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36579
36580	* string.c (rb_str_dump): use \u{ff} escape for UTF-8 encoding
36581	  string.
36582
36583Thu Oct 23 09:26:22 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
36584
36585	* ext/socket/socket.c (sock_s_getservbyport): cast to get rid of
36586	  warning.
36587
36588Thu Oct 23 08:06:03 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36589
36590	* ext/socket/socket.c (sock_s_getservbyport): port should be
36591	  network byte order.  a patch from Dave Thomas in [ruby-core:19454].
36592
36593Thu Oct 23 01:26:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36594
36595	* string.c (rb_str_conv_enc_opts): new function to convert with
36596	  specifying ecflags and ecopts.
36597
36598	* ext/zlib/zlib.c (gzfile_newstr): specify ecflags and ecopts for
36599	  conversion using above function.
36600
36601	* ext/zlib/zlib.c (gzfile_newstr): use own rb_econv_t for dummy
36602	  encoding to handling stateful encoding (e.g. iso-2022-jp).
36603	  [ruby-dev:36857]
36604
36605	* ext/zlib/zlib.c (gzfile_getc): ditto.
36606
36607Thu Oct 23 01:24:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36608
36609	* lib/mkmf.rb (create_tmpsrc): get rid of side effects.
36610
36611Thu Oct 23 00:10:01 2008  Koichi Sasada  <ko1@atdot.net>
36612
36613	* cont.c: separate data structure between rb_fiber_t and
36614	  rb_context_t (rb_fiber_t includes rb_context_t).
36615	  rb_fiber_t has double linked list of fibers in same threads.
36616
36617Wed Oct 22 17:25:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36618
36619	* io.c (pipe_open): remove unnecessary flush before fork.
36620	  a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
36621	  in [ruby-dev:36840].
36622
36623Wed Oct 22 16:27:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36624
36625	* vm_insnhelper.c (vm_yield_setup_args): should not drop arguments
36626	  corresponding to default parameters.
36627
36628Wed Oct 22 14:59:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36629
36630	* parse.y (f_larglist): should not allow semicolon separated local
36631	  variable declarations if formal argument list is not surrounded
36632	  by parentheses, mostly because semicolon outside of parentheses
36633	  appears to terminate the expression.
36634
36635Wed Oct 22 14:52:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36636
36637	* string.c (rb_external_str_new_with_enc): no implicit strlen call.
36638	  [ruby-dev:36854]
36639
36640	* string.c (rb_external_str_new_cstr): new function to create
36641	  string from external NUL terminated C string.
36642
36643	* string.c (rb_locale_str_new_cstr): ditto.
36644
36645	* ext/readline/readline.c: now use rb_locale_str_new_cstr().
36646
36647	* test/sdbm/test_sdbm.rb (TestSDBM#test_delete_with_block):
36648	  deleted key to the block may be a copy of specified key.
36649
36650	* test/dbm/test_dbm.rb (TestDBM#test_delete_with_block): ditto.
36651
36652Wed Oct 22 13:16:47 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36653
36654	* re.c (unescape_escaped_nonascii): back out the last change on
36655	  the function.  [ruby-dev:36818]
36656
36657Wed Oct 22 07:09:19 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36658
36659	* ext/zlib/zlib.c (rb_gzreader_ungetc): should be able to unget
36660	  Fixnum.
36661
36662	* ext/stringio/stringio.c (strio_ungetc): should convert unget
36663	  string.
36664
36665	* ext/stringio/stringio.c (strio_ungetbyte): new method.
36666
36667Wed Oct 22 05:46:25 2008  Koichi Sasada  <ko1@atdot.net>
36668
36669	* include/ruby/vm.h: write a comment.
36670
36671	* common.mk: remove vm.h from any rules.
36672	  vm.h is not needed on this version.
36673
36674	* vm_core.h: ditto.
36675
36676Wed Oct 22 05:39:39 2008  Koichi Sasada  <ko1@atdot.net>
36677
36678	* parse.y (arg_concat_gen): concat target node should be NODE_ARRAY.
36679	  [ruby-core:19413]
36680
36681	* bootstraptest/test_method.rb: add tests.
36682
36683Wed Oct 22 00:29:13 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
36684
36685	* test/rinda/test_rinda.rb (test_core_03_notify): Fixed test failures
36686	  [ruby-dev:36837].
36687
36688Wed Oct 22 00:22:06 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36689
36690	* string.c (rb_external_str_new_with_enc): wrong condition to
36691	  calculate strlen().
36692
36693	* ext/readline/readline.c: add encoding support.
36694
36695Tue Oct 21 23:12:24 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36696
36697	* ext/stringio/stringio.c (strio_write): should convert writing
36698	  string to the encoding of the buffer.
36699
36700	* hash.c (rb_any_hash): typo fixed.
36701
36702	* ext/zlib/zlib.c (rb_gzwriter_write): oops, IO string conversion
36703	  need to be done by to_s.
36704
36705Tue Oct 21 22:38:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36706
36707	* io.c (open_key_args): should adjust argc, argv in struct
36708	  foreach_arg.
36709
36710Tue Oct 21 21:52:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36711
36712	* ext/zlib/zlib.c (rb_gzwriter_write): conversion should be done
36713	  using to_str, not to_s.
36714
36715	* ext/zlib/zlib.c (rb_gzwriter_write): need proper conversion
36716	  according to gz encoding.
36717
36718	* ext/zlib/zlib.c (rb_gzreader_ungetc): convert string encoding
36719	  before unget.
36720
36721Tue Oct 21 21:33:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36722
36723	* lib/test/unit.rb (assert_nothing_raised): raise with backtrace.
36724
36725Tue Oct 21 20:12:19 2008  Tanaka Akira  <akr@fsij.org>
36726
36727	* lib/test/unit.rb (assert_nothing_raised): set backtrace.
36728
36729Tue Oct 21 18:17:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36730
36731	* ext/zlib/zlib.c: remove obsolete prototype macros.
36732
36733	* ext/zlib/zlib.c (struct gzfile): add encoding field to gzfile
36734	  structure.
36735
36736	* ext/zlib/zlib.c (rb_gzreader_getc): now works on characters.
36737
36738	* ext/zlib/zlib.c (rb_gzreader_getbyte): new method to retrieve
36739	  single byte.
36740
36741	* ext/zlib/zlib.c (rb_gzreader_readbyte): ditto.
36742
36743	* ext/zlib/zlib.c (rb_gzreader_each_byte): renamed from each_char
36744
36745	* ext/zlib/zlib.c (rb_gzreader_ungetc): allow unget strings.
36746
36747	* ext/zlib/zlib.c (rb_gzreader_ungetbyte): renamed from ungetc.
36748
36749Tue Oct 21 13:28:42 2008  Shugo Maeda  <shugo@ruby-lang.org>
36750
36751	* io.c, include/ruby/intern.h (rb_io_ascii8bit_binmode): externed.
36752
36753	* ext/socket/socket.c (init_sock): use rb_io_ascii8bit_binmode()
36754	  instead of rb_io_binmode().
36755
36756Tue Oct 21 13:17:39 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36757
36758	* mdoc2man.rb: moved into tools/.
36759
36760	* instruby.rb: followed the change of mdoc2man.
36761
36762Tue Oct 21 11:34:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36763
36764	* ext/iconv/iconv.c (strip_glibc_option, map_charset): check if
36765	  encoding is a string.  based on the patch by Hiroshi Moriyama at
36766	  [ruby-dev:36811].
36767
36768	* test/iconv/test_basic.rb (test_invalid_arguments): added tests.
36769
36770Tue Oct 21 10:40:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36771
36772	* io.c (rb_file_open_internal): should initialize fmode before using.
36773
36774Tue Oct 21 08:56:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36775
36776	* regparse.c (parse_char_class): CCV_SB is only for single
36777	  byte.  [ruby-dev:36786]
36778
36779Tue Oct 21 01:49:55 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36780
36781	* io.c (rb_io_extract_modeenc): plain rb/wb should set ASCII-8BIT
36782	  to the external_encoding.
36783
36784	* io.c (rb_file_open_internal): ditto.
36785
36786	* io.c (NEED_WRITECONV): no conversion when the external_encoding
36787	  is ASCII-8BIT.
36788
36789	* io.c (do_writeconv): skip ASCII-8BIT.
36790
36791Tue Oct 21 00:51:59 2008  Tanaka Akira  <akr@fsij.org>
36792
36793	* io.c (rb_io_ascii8bit_binmode): renamed from rb_io_binmode.
36794	  (rb_io_binmode): don't change encoding conversion.
36795	  (rb_io_binmode_m): call rb_io_ascii8bit_binmode.
36796
36797Mon Oct 20 21:19:00 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
36798
36799	* lib/cgi/core.rb (read_multipart): file's encoding is ascii-8bit
36800	  from file field of multipart form.
36801
36802Mon Oct 20 20:16:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36803
36804	* ext/zlib/zlib.c (Init_zlib): add getbyte as an alias to getc.
36805	  [ruby-dev:36801]
36806
36807Mon Oct 20 17:31:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36808
36809	* error.c (exc_equal): should not compare recursively.
36810	  [ruby-dev:36796]
36811
36812Mon Oct 20 16:48:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36813
36814	* include/ruby/ruby.h (ExportStringValue): new macro to convert
36815	  string in internal encoding to external to export.
36816
36817	* string.c (rb_str_export): new function to do conversion to
36818	  external encoding.
36819
36820	* ext/sdbm/init.c: encoding conversion support.
36821
36822	* ext/dbm/dbm.c: ditto.
36823
36824Mon Oct 20 15:42:02 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36825
36826	* string.c (rb_locale_str_new): new function to convert string
36827	  from locale to internal encoding.
36828
36829Mon Oct 20 09:47:13 2008  Tanaka Akira  <akr@fsij.org>
36830
36831	* test/runner.rb: search srcdir/test/arg at first to find test/ruby
36832	  directory when "ruby" is specified.
36833
36834Mon Oct 20 08:20:01 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
36835
36836	* ext/tk/lib/tk.rb: support Encoding.default_internal.
36837
36838	* ext/tk/tcltklib.c: ditto.
36839
36840	* ext/tk/extconf.rb: improve the strategy for searching Tcl/Tk headers.
36841
36842Mon Oct 20 00:57:04 2008  Tanaka Akira  <akr@fsij.org>
36843
36844	* lib/test/unit.rb (Test::Unit.setup_argv): call given block for
36845	  filtering files.
36846
36847	* test/runner.rb: search srcdir/test/arg, srcdir/arg.
36848
36849	* bin/testrb: show usage if no files given.
36850
36851Sun Oct 19 21:19:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36852
36853	* common.mk (srcs): removed ID_H_TARGET.
36854
36855	* tool/generic_erb.rb: always overwrites if no if-change option.
36856	  sends the result to stdout if no output option.
36857
36858	* template/id.h.tmpl: shows which token differs.
36859
36860Sun Oct 19 18:15:15 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
36861
36862	* enc/trans/single_byte.trans: adding WINDOWS-wwww encodings
36863	  (wwww = 874/1250/1251/1253/1254/1255/1256/1257)
36864	  (contributed by Yoshihiro Kambayashi)
36865
36866	* enc/trans/windows-wwww-tbl.rb: 8 new files
36867	  (contributed by Yoshihiro Kambayashi)
36868
36869	* test/ruby/test_transcode.rb: added test_windows_wwww
36870	  (contributed by Yoshihiro Kambayashi)
36871
36872Sun Oct 19 07:37:13 2008  Tadayoshi Funaba  <tadf@dotrb.org>
36873
36874	* lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma):
36875	  should be also provided as module function.  [ruby-dev:36787]
36876
36877Sun Oct 19 07:25:08 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36878
36879	* keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed
36880	  input files for code generators into defs/ directory.
36881
36882	* Makefile.in (lex.c): followed keywords and lex.c.src.
36883
36884	* common.mk (parser.o): followed keywords.
36885	  (INSNS): followed opt_*.def
36886
36887	* tools/instruction.rb: followed opt_*.def.
36888
36889Sun Oct 19 12:28:01 2008  James Edward Gray II  <jeg2@ruby-lang.org>
36890
36891	* test/csv/*:  Renamed tc_* files to test_* to fit in within Ruby's
36892	  testing process.
36893
36894Sun Oct 19 00:15:03 2008  Tanaka Akira  <akr@fsij.org>
36895
36896	* lib/test/unit.rb (assert_nothing_thrown): don't intern.
36897
36898Sat Oct 18 14:40:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36899
36900	* numeric.c (num_sadded): remove newly defined singleton method
36901	  that should not exist after exception handling.  [ruby-dev:36569]
36902
36903Sat Oct 18 14:27:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36904
36905	* parse.y (opt_block_arg): allow trailing comma after usual
36906	  arguments.  not after block argument.
36907
36908Sat Oct 18 13:30:53 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36909
36910	* string.c (rb_external_str_new): a new function to convert from
36911	  external encoding to internal encoding.  if something went
36912	  wrong, it returns a string with the external encoding.
36913
36914	* string.c (rb_external_str_new_with_enc): same as above besides
36915	  you can specify the source encoding.
36916
36917	* ruby.c (ruby_set_argv): use rb_external_str_new()
36918
36919	* ruby.c (set_arg0, ruby_script): ditto.
36920
36921Sat Oct 18 04:08:18 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36922
36923	* lib/tempfile.rb (Tempfile#initialize): now Tempfile.new takes
36924	  keyword arguments to open().  [ruby-dev:36756]
36925
36926Sat Oct 18 17:10:10 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
36927
36928	* tool/transcode-tblgen.rb: added set_valid_byte_pattern
36929	  to reduce coupling between table generation script and
36930	  specific encodings.
36931
36932	* enc/trans/single_byte.trans: using set_valid_byte_pattern
36933
36934Sat Oct 18 16:39:39 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
36935
36936	* transcode.c: in transcode_search_path, eliminated a warning
36937	  on cygwin about pathlen potentially not being initialized
36938
36939Sat Oct 18 13:40:27 2008  Tanaka Akira  <akr@fsij.org>
36940
36941	* lib/test/unit.rb (assert_nothing_thrown): implemented.
36942
36943Sat Oct 18 01:33:22 2008  WATANABE Hirofumi  <eban@ruby-lang.org>
36944
36945	* common.mk: use added options for generic_erb.rb.
36946
36947Sat Oct 18 00:47:51 2008  wanabe  <s.wanabe@gmail.com>
36948
36949	* array.c: don't recycle shared-array while sort!.
36950
36951Fri Oct 17 22:04:38 2008  wanabe  <s.wanabe@gmail.com>
36952
36953	* array.c: recycle shared-array when it isn't referenced.
36954
36955Fri Oct 17 20:29:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36956
36957	* re.c (rb_reg_initialize_m): specify ARG_ENCODING_NONE instead of
36958	  ARG_ENCODING_FIXED for Regexp.new("", nil, "n").  [ruby-dev:36761]
36959
36960	* test/ruby/test_regexp.rb (TestRegexp#test_initialize): test
36961	  updated.
36962
36963Fri Oct 17 19:46:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36964
36965	* tool/ifchange, win32/ifchange.bat: --timestamp option added.
36966
36967	* tool/generic_erb.rb: --timestamp, --output and --if-change options
36968	  added.
36969
36970Fri Oct 17 18:33:12 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
36971
36972	* array.c (ary_resize_capa): renamed RESIZE_CAPA.
36973
36974Fri Oct 17 18:16:51 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36975
36976	* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_sqrt_bigdecimal):
36977	  test updated.  a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp> in
36978	  [ruby-dev:36736].
36979
36980Fri Oct 17 18:14:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
36981
36982	* configure.in (uncommon.mk): ignores failures at loading.
36983
36984	* test/rubygems/gemutilities.rb (RubyGemTestCase#build_rake_in):
36985	  get rid of interference with other tests.
36986
36987Fri Oct 17 18:06:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
36988
36989	* transcode.c (str_transcode0): String#encode without argument now
36990	  behave as if :undef => :replace, :invalid => :replace specified.
36991
36992	* transcode.c (rb_econv_prepare_opts): should preserve options in
36993	  any case.
36994
36995Fri Oct 17 11:48:18 2008  Shugo Maeda  <shugo@ruby-lang.org>
36996
36997	* ext/socket/socket.c (init_sock): sockets should be binmode.
36998
36999	* test/socket/test_tcp.rb (test_encoding): ditto.
37000
37001Fri Oct 17 10:26:13 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
37002
37003	* tool/insns2vm.rb: remove -Kn option in shebang line because it's
37004	  inconsistent with -Ks commandline option in common.mk.
37005
37006Fri Oct 17 01:26:09 2008  Tanaka Akira  <akr@fsij.org>
37007
37008	* transcode.c (transcode_restartable0): in_pos and out_pos never be
37009	  NULL, now.
37010
37011Fri Oct 17 00:39:19 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37012
37013	* lib/test/unit.rb: sort the order of executing tests.
37014
37015Fri Oct 17 00:24:15 2008  Tanaka Akira  <akr@fsij.org>
37016
37017	* io.c (rb_io_binmode): reset encoding conversion.
37018
37019Fri Oct 17 00:16:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37020
37021	* io.c (rb_getc, rb_io_fread, rb_io_fwrite, rb_read_pending):
37022	  remove deprecated functions which do not work.  [ruby-dev:36697]
37023
37024Thu Oct 16 23:48:34 2008  Tanaka Akira  <akr@fsij.org>
37025
37026	* common.mk (TESTS): removed to re-enable test for minitest.
37027
37028Thu Oct 16 23:37:11 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37029
37030	* compile.c (iseq_set_sequence): fix memory leak.
37031
37032Thu Oct 16 23:27:27 2008  Tanaka Akira  <akr@fsij.org>
37033
37034	* lib/test/unit.rb (assert_equal): avoid incompatible character
37035	  encodings error.
37036
37037Thu Oct 16 23:23:27 2008  Tanaka Akira  <akr@fsij.org>
37038
37039	* lib/test/unit.rb (assert_equal): failure message changed.
37040
37041Thu Oct 16 22:52:54 2008  Tanaka Akira  <akr@fsij.org>
37042
37043	* lib/test/unit: removed test/unit.
37044
37045	* lib/test/unit.rb: new compatibility layer using minitest.
37046
37047	* bin/testrb: use above.
37048
37049	* test/runner.rb: ditto.
37050
37051Thu Oct 16 14:34:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37052
37053	* common.mk, enc/depend (enc, trans): targets for sources.
37054
37055Thu Oct 16 14:30:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37056
37057	* instruby.rb (lib): installs all files other than README etc.
37058
37059Thu Oct 16 09:48:03 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37060
37061	* re.c (rb_reg_initialize_m): changed the message to clarify the
37062	  third option argument is now ignored.  [ruby-dev:36753]
37063
37064Thu Oct 16 08:14:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37065
37066	* ruby.c (proc_options): no warning when default_external already
37067	  set by -E.
37068
37069	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_rubyopt):
37070	  put -K after -E to set script encoding.
37071
37072Thu Oct 16 06:20:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37073
37074	* test/ruby/test_transcode.rb (TestTranscode#test_errors):
37075	  String#encode now works without any argument. [ruby-dev:36740]
37076
37077Wed Oct 15 23:48:22 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37078
37079	* .gdbinit (rp): REGEXP handling fixed.
37080
37081	* string.c (rb_str_rindex_m): need not to call rb_enc_check on
37082	  regexp.
37083
37084	* re.c (unescape_escaped_nonascii): try ASCII-8BIT encoding for
37085	  broken strings.
37086
37087Wed Oct 15 23:11:10 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37088
37089	* lib/delegate.rb (DelegateClass): restored 1.8 behavior for
37090	  DelegateClass as well.  [ruby-dev:36739]
37091
37092Wed Oct 15 22:19:14 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
37093
37094	* array.c (RESIZE_CAPA): check whether len is longer than capacity.
37095
37096	* array.c (rb_ary_compact_bang): resize ary before changing capacity.
37097	  fixed [ruby-dev:36704]
37098
37099Wed Oct 15 16:57:30 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
37100
37101	* version.h (RUBY_DESCRIPTION): remove unnecessary space.
37102
37103Tue Oct 14 23:18:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37104
37105	* lib/delegate.rb (Delegator): simplified and restored 1.8
37106	  behavior.  [ruby-dev:35986]
37107
37108Tue Oct 14 21:50:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37109
37110	* common.mk (TESTS): skips minitest by default, since it interferes
37111	  with test/unit.
37112
37113Tue Oct 14 21:36:29 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
37114
37115	* ext/win32ole/win32ole.c (load_conv_function51932): check
37116	  having IMultiLanguage2 or IMultiLanguage. [ruby-dev:36716]
37117
37118	* ext/win32ole/extconf.rb: ditto.
37119
37120Tue Oct 14 20:45:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37121
37122	* io.c (Init_IO): $FILENAME and $* must be read-only.  [ruby-dev:36698]
37123
37124	* variable.c (*_getter, *_setter, *_marker): made public.
37125
37126	* include/ruby/ruby.h (rb_gvar_*_{getter,setter,marker}): declared.
37127
37128Tue Oct 14 20:32:09 2008  Tanaka Akira  <akr@fsij.org>
37129
37130	* enc/trans/single_byte.trans (transcode_tblgen_singlebyte): renamed
37131	  from transcode_tblgen_windows.
37132	  (transcode_tblgen_iso8859): use transcode_tblgen_singlebyte.
37133
37134Tue Oct 14 19:32:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37135
37136	* ruby.c (process_options): -U should be allowed in RUBYOPT
37137	  environment variable.  [ruby-dev:36720]
37138
37139Tue Oct 14 14:11:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37140
37141	* ruby.c (proc_options): -U can be followed by other options.
37142
37143Tue Oct 14 13:30:30 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
37144
37145	* enc/trans/single_byte.trans: added windows-1252
37146
37147	* enc/trans/windows-1252-tbl.rb: new file
37148	  (contributed by Yoshihiro Kambayashi)
37149
37150	* tool/transcode-tblgen.rb: listed windows-1252 as '1byte'
37151
37152	* test/ruby/test_transcode.rb: added test_windows_1252
37153	  (contributed by Yoshihiro Kambayashi)
37154
37155Tue Oct 14 12:22:32 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
37156
37157	* test/ruby/test_variable.rb (TestVariable#test_variable): add
37158	  a test of [ruby-dev:36698].
37159
37160Tue Oct 14 11:14:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37161
37162	* transcode.c (str_transcode0): should not raise error when
37163	  default_internal is not set.  [ruby-core:19309]
37164
37165Tue Oct 14 11:14:26 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
37166
37167	* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
37168	  [ruby-dev:36631]
37169
37170	* test/net/pop/test_pop.rb: ditto.
37171
37172Tue Oct 14 09:39:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37173
37174	* ruby.c (set_internal_encoding_once): check double contradicted
37175	  specification of the encoding from command line.
37176
37177	* ruby.c (set_external_encoding_once): ditto.
37178
37179Tue Oct 14 08:28:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37180
37181	* parse.y (parser_yylex): allow reserved word to be keyword argument.
37182
37183Mon Oct 13 19:07:52 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37184
37185	* parse.y (token_info_pop): show source filename. [ruby-dev:36710]
37186
37187Mon Oct 13 08:59:08 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
37188
37189	* ext/win32ole/win32ole.c (load_conv_function51932): support
37190	  CP51932 on cygwin and mingw32. thanks to arton.
37191
37192	* test/win32ole/test_win32ole.rb (test_cp51932): ditto.
37193
37194Mon Oct 13 07:54:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37195
37196	* ruby.c (proc_options): add -U command line option to specify
37197	  utf-8 as default_internal.
37198
37199Mon Oct 13 07:42:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37200
37201	* transcode.c (str_transcode0): String#encode() with no encoding
37202	  specified transcode the string into Encoding.default_internal.
37203	  inspired by [ruby-core:19298].
37204
37205Sun Oct 12 18:00:18 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
37206
37207	* ext/win32ole/win32ole.c (set_ole_codepage, ole_cp2encoding,
37208	  ole_wc2mb, ole_vstr2wc, ole_mb2wc): support CP51932 (only mswin32).
37209
37210	* test/win32ole/test_win32ole.rb: ditto.
37211
37212Sun Oct 12 12:03:38 2008  Koichi Sasada  <ko1@atdot.net>
37213
37214	* vm.c, vm_insnhelper.h (ruby_vm_redefined_flag): apply optimization
37215	  patch proposed by Paul Brannan.  [ruby-core:19171]
37216
37217Sun Oct 12 09:46:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37218
37219	* strftime.c (rb_strftime): suppressed warnings on cygwin.
37220
37221Sat Oct 11 19:49:35 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37222
37223	* parse.y (parser_prepare): use utf-8 encoding directly.
37224
37225Sat Oct 11 10:20:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37226
37227	* lib/mkmf.rb (CLEANINGS): uses escaped form tabs to preventing the
37228	  confusion.  [ruby-talk:317345]
37229
37230Sat Oct 11 08:51:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37231
37232	* lib/rake.rb (Rake::Application#standard_exception_handling): removed
37233	  unnecessary SystemExit, and exits with false instead of system
37234	  dependent value.  [ruby-talk:317330]
37235
37236Sat Oct 11 03:54:05 2008  Koichi Sasada  <ko1@atdot.net>
37237
37238	* parse.y: optimize 'for' statement when one variable given.
37239
37240	* benchmark/bm_loop_for.rb: added.
37241
37242	* benchmark/bm_loop_times.rb: modified.
37243
37244Sat Oct 11 12:09:05 2008  James Edward Gray II  <jeg2@ruby-lang.org>
37245
37246	* lib/csv/csv.rb:  Added support for Encoding::default_internal.
37247	* lib/csv/csv.rb:  Switched to new Hash syntax.
37248
37249Fri Oct 10 22:16:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37250
37251	* parse.y (comment_at_top): needed for ripper too.
37252
37253Fri Oct 10 22:07:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37254
37255	* include/ruby.h: updated macros for headers.  [ruby-core:19275]
37256
37257Fri Oct 10 19:21:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37258
37259	* parse.y (magic_comment_encoding): warns when ignored.
37260
37261	* parse.y (parser_magic_comment): replaces '-' with '_'.
37262
37263	* parse.y (parser_yylex): allows magic comments indented and the
37264	  second line or later.
37265
37266Fri Oct 10 17:26:50 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37267
37268	* ext/json/ext/parser/parser.c (JSON_parse_string):
37269	  associate encoding.
37270
37271Fri Oct 10 10:18:21 2008  Ryan Davis  <ryand-ruby@zenspider.com>
37272
37273	* lib/test/*: reverted back to test/unit.
37274	* test/test/*: ditto
37275	* lib/minitest/*: Imported minitest 1.3.0 r4333.
37276
37277Fri Oct 10 03:41:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37278
37279	* sprintf.c (rb_str_format): check if codepoint for %c is valid.
37280	  [ruby-dev:36691]
37281
37282Fri Oct 10 01:55:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37283
37284	* encoding.c (enc_names): minor improvement.
37285
37286Fri Oct 10 00:21:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37287
37288	* lib/optparse.rb (ParseError.filter_backtrace): removes internal
37289	  backtrace.
37290
37291Fri Oct 10 00:11:16 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37292
37293	* transcode.c (rb_econv_add_converter): remove unnecessary NULL check.
37294
37295Thu Oct  9 23:53:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37296
37297	* misc/ruby-style.el (ruby-style-c-mode): buffer may not have file
37298	  name.
37299
37300Thu Oct  9 23:30:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37301
37302	* process.c (run_exec_dup2): fix resource leak.
37303
37304Thu Oct  9 23:19:02 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37305
37306	* process.c (rb_run_exec_options): fix resource leak.
37307
37308Thu Oct  9 22:13:58 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37309
37310	* test/ruby/test_module.rb (test_remove_class_variable): add a test
37311	  for Class#remove_class_variable.
37312
37313	* test/ruby/test_object.rb (test_remove_instance_variable): add a test
37314	  for Object#remove_instance_variable.
37315
37316Thu Oct  9 22:04:38 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37317
37318	* variable.c (rb_mod_remove_cvar): fix r19711.
37319
37320Thu Oct  9 21:17:50 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37321
37322	* ext/syck/syck.c (syck_lookup_sym): remove reading uninitialized
37323	  variable.
37324
37325Thu Oct  9 16:34:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37326
37327	* ext/json/ext/generator/extconf.rb: fix target.
37328
37329	* ext/json/ext/parser/extconf.rb: ditto.
37330
37331Thu Oct  9 14:37:59 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37332
37333	* include/ruby/ruby.h: embeds the elements of an array into its
37334	  struct RArray for # of elements <= 3.
37335
37336	* array.c: ditto.
37337
37338	* gc.c (gc_mark_children): following the change of struct RArray.
37339
37340	* ext/tk/tcltklib.c (ip_ruby_cmp): ditto.
37341
37342	* parse.y (coverage): ditto.
37343
37344	* proc.c (curry): ditto.
37345
37346	* .gdbinit: ditto.
37347
37348Thu Oct  9 11:29:33 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37349
37350	* encoding.c (Init_Encoding): new instance method Encoding#names,
37351	  returns its name and alias names.
37352
37353	* encoding.c (enc_names): defined for Encoding#names.
37354
37355	* encoding.c (enc_names_i): defined for enc_names.
37356
37357Thu Oct  9 08:47:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37358
37359	* thread.c (rb_thread_wait_fd_rw): should not block by select if
37360	  there's only one thread living.  fixed [ruby-dev:36646].
37361
37362Wed Oct  8 20:59:52 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
37363
37364	* ext/win32ole/win32ole.c (ole_init_cp): initialize WIN32OLE.codepage
37365	  according to Encoding.default_internal and
37366	  Encoding.default_external.
37367
37368Wed Oct  8 17:02:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37369
37370	* ext/json/lib/json/pure/generator.rb (utf8_to_json):
37371	  process each unpacked Unicode character.
37372
37373Wed Oct  8 15:00:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37374
37375	* ext/json/lib/json/pure/parser.rb
37376	  (JSON::Pure::Parser#parse_string): force_encoding("UTF-8").
37377
37378Wed Oct  8 11:56:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37379
37380	* lib/test/unit/assertions.rb: assert_nothing_thrown,
37381	  assert_raise, assert_not_equal, assert_no_match, assert_not_nil,
37382	  assert_not_same are coming back as alias.
37383
37384Wed Oct  8 11:18:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37385
37386	* variable.c (autoload_delete, autoload_file): should not delete
37387	  autoload table, since it may be shared with duplicated modules.
37388	  [ruby-core:19181]
37389
37390Wed Oct  8 02:38:28 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37391
37392	* encoding.c (rb_default_internal_encoding): merged a patch from
37393	  Michael Selig <michael.selig at fs.com.au> in [ruby-core:18985].
37394
37395	* io.c (rb_io_ext_int_to_encs): ditto.
37396
37397	* ruby.c (proc_options): support default internal encoding in -E
37398	  option.
37399
37400Wed Oct  8 00:03:39 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37401
37402	* lib/date.rb (today,now): should produce own instances.
37403	  [ruby-talk:317020]
37404
37405Tue Oct  7 16:43:51 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37406
37407	* ext/json/lib/json/pure/generator.rb (utf8_to_json):
37408	  force_encoding before gsub.
37409
37410Tue Oct  7 16:35:41 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37411
37412	* ext/json/lib/json/pure/generator.rb (utf8_to_json):
37413	  downcase the result of Unicode escape.
37414
37415Mon Oct  6 16:44:52 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
37416
37417	* lib/cgi/core.rb (CGI::QueryExtension::initialize_query): fix the
37418	  condition.
37419
37420	* test/cgi/test_cgi_core.rb: bug fix encoding.
37421	  thanks to TAKANO Mitsuhiro <takano32 at jus.or.jp> .
37422
37423	* test/cgi/test_cgi_multipart.rb: temporary comment in.
37424
37425Mon Oct  6 15:22:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37426
37427	* gc.c (gc_mark_children): ignores T_ZOMBIE.
37428
37429Mon Oct  6 12:45:20 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37430
37431	* test/ruby/test_module.rb (TestModule#_wrap_assertion): add
37432	  definition.  is this really needed?
37433
37434	* test/ruby/test_module.rb (TestModule#test_mod_constants): should
37435	  not depend on global Module constants.
37436
37437Mon Oct  6 12:38:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37438
37439	* lib/test/unit/assertions.rb (Test::Assertions#assert_nothing_raised):
37440	  should take optional message argument.
37441
37442Mon Oct  6 12:18:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37443
37444	* string.c (rb_str_comparable): string comparison should be
37445	  transitive.  [ruby-dev:36484]
37446
37447	* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_eq): test
37448	  updated.
37449
37450Mon Oct  6 09:00:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37451
37452	* test/bigdecimal/test_bigdecimal.rb (test_sqrt_bigdecimal): test
37453	  updated.  a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp>
37454	  in [ruby-dev:36669].
37455
37456Sun Oct  5 23:34:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37457
37458	* lib/mkmf.rb ($config_h): now always defines for old libraries.
37459
37460Sun Oct  5 23:06:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37461
37462	* vm_method.c (rb_mod_modfunc): method undefined in included module
37463	  may not have nd_body.  [ruby-core:18738]
37464
37465Sun Oct  5 21:28:58 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37466
37467	* lib/rational.rb: resolved conflicts of aliases.
37468
37469	* lib/mathn.rb: avoided some warnings.
37470
37471Sun Oct  5 18:51:50 2008  Tanaka Akira  <akr@fsij.org>
37472
37473	* lib/open-uri.rb: remove debug code introduced by previous change.
37474
37475Sun Oct  5 17:49:35 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37476
37477	* lib/open-uri.rb (OpenURI.open_uri): set encoding to strio.
37478
37479Sun Oct  5 17:39:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37480
37481	* ext/stringio/stringio.c (strio_set_encoding): defined for
37482	  StringIO#set_encoding.
37483
37484Sun Oct  5 11:24:42 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37485
37486	* eval.c: come back definition of environ.
37487
37488Sun Oct  5 09:19:49 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37489
37490	* ext/nkf/nkf-utf8/utf8tbl.c: update table.
37491
37492Sat Oct  4 22:50:14 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37493
37494	* dln.c: Ruby no longer supports VMS.
37495
37496	* error.c: ditto.
37497
37498	* eval.c: ditto.
37499
37500	* eval_intern.h: ditto.
37501
37502	* include/ruby/defines.h: ditto.
37503
37504	* include/ruby/ruby.h: ditto.
37505
37506	* io.c: ditto.
37507
37508	* process.c: ditto.
37509
37510	* ruby.c: ditto.
37511
37512	* vms/config.h: removed.
37513
37514	* vms/vms.h: ditto.
37515
37516	* vms/vmsruby_private.c: ditto.
37517
37518	* vms/vmsruby_private.h: ditto.
37519
37520Sat Oct  4 22:44:23 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37521
37522	* dln.c: Ruby no longer supports Windows CE.
37523
37524	* eval.c: ditto.
37525
37526	* include/ruby/defines.h: ditto.
37527
37528	* include/ruby/win32.h: ditto.
37529
37530	* ruby.c: ditto.
37531
37532	* strftime.c: ditto.
37533
37534	* win32/Makefile.sub: ditto.
37535
37536	* win32/win32.c: ditto.
37537
37538	* ext/tk/extconf.rb: ditto.
37539
37540	* lib/fileutils.rb: ditto.
37541
37542	* test/fileutils/test_fileutils.rb: ditto.
37543
37544	* wince/*: removed.
37545
37546Sat Oct  4 22:35:06 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37547
37548	* dln.c: Ruby no longer supports MacOS 9 or before.
37549
37550	* eval.c: ditto.
37551
37552	* eval_intern.h: ditto.
37553
37554	* ext/extmk.rb: ditto.
37555
37556	* ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
37557
37558	* ext/tk/stubs.c: ditto.
37559
37560	* file.c: ditto.
37561
37562	* hash.c: ditto.
37563
37564	* include/ruby/defines.h: ditto.
37565
37566	* ruby.c: ditto.
37567
37568	* signal.c: ditto.
37569
37570	* vm_core.h: ditto.
37571
37572Sat Oct  4 22:30:28 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37573
37574	* dln.c: Ruby no longer supports MS-DOS.
37575
37576	* ext/sdbm/_sdbm.c: ditto.
37577
37578	* ext/sdbm/sdbm.h: ditto.
37579
37580	* gc.c: ditto.
37581
37582	* hash.c: ditto.
37583
37584	* include/ruby/defines.h: ditto.
37585
37586	* include/ruby/util.h: ditto.
37587
37588	* io.c: ditto.
37589
37590	* process.c: ditto.
37591
37592	* ruby.c: ditto.
37593
37594	* strftime.c: ditto.
37595
37596	* util.c: ditto.
37597
37598Sat Oct  4 22:14:15 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37599
37600	* djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp.
37601
37602	* djgpp/README.djgpp: ditto.
37603
37604	* djgpp/config.hin: ditto.
37605
37606	* djgpp/config.sed: ditto.
37607
37608	* djgpp/configure.bat: ditto.
37609
37610	* djgpp/mkver.sed: ditto.
37611
37612	* ext/Setup.dj: ditto.
37613
37614	* dln.c: removed djgpp supports.
37615
37616	* file.c: ditto.
37617
37618	* gc.c: ditto.
37619
37620	* io.c: ditto.
37621
37622	* process.c: ditto.
37623
37624	* ruby.c: ditto.
37625
37626	* signal.c: ditto.
37627
37628	* util.c: ditto.
37629
37630	* vm_core.h: ditto.
37631
37632	* lib/fileutils.rb: ditto.
37633
37634	* lib/mkmf.rb: ditto.
37635
37636	* ext/socket/socket.c: ditto.
37637
37638	* test/fileutils/test_fileutils.rb: ditto.
37639
37640	* test/ruby/test_env.rb: ditto.
37641
37642	* test/ruby/test_path.rb: ditto.
37643
37644Sat Oct  4 21:59:39 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37645
37646	* x68/_dtos18.c: removed. Ruby no longer supports human68k.
37647
37648	* x68/_round.c: ditto.
37649
37650	* x68/fconvert.c: ditto.
37651
37652	* x68/select.c: ditto.
37653
37654	* ext/Setup.x68: ditto.
37655
37656	* missing/x68.c: ditto.
37657
37658	* dln.c (dln_find_exe_r): removed human68k supports.
37659	  (dln_find_1): ditto.
37660
37661	* lib/mkmf.rb: ditto.
37662
37663	* ext/extmk.rb (Init_ext): ditto.
37664
37665	* ext/socket/socket.c (init_sock): ditto.
37666
37667	* gc.c (GC_MALLOC_LIMIT): ditto.
37668	  (rb_setjmp, rb_jmpbuf): ditto.
37669	  (mark_current_machine_context): ditto.
37670
37671	* include/ruby/defines.h (PATH_ENV): ditto.
37672
37673	* io.c: ditto.
37674
37675	* process.c: ditto.
37676
37677	* ruby.c: ditto.
37678
37679	* test/ruby/test_env.rb: ditto.
37680
37681	* test/ruby/test_path.rb: ditto.
37682
37683	* LEGAL
37684
37685Sat Oct  4 19:02:36 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37686
37687	* lib/date/format.rb: no need to require the "lib/rational.rb".
37688
37689Sat Oct  4 19:02:59 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37690
37691	* ext/nkf/nkf.c (rb_nkf_enc_get): don't replicate encoding.
37692	  [ruby-dev:36575]
37693
37694Sat Oct  4 18:47:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37695
37696	* ext/stringio/stringio.c (strio_external_encoding): defined.
37697
37698	* ext/stringio/stringio.c (strio_internal_encoding): defined.
37699
37700	* ext/stringio/stringio.c (Init_stringio): define above.
37701
37702Sat Oct  4 15:52:17 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37703
37704	* test/mini/test_mini_test.rb: recovered.
37705	  It had been temporarily removed at r19645.
37706
37707	* test/mini/test_mini_mock.rb: ditto.
37708
37709	* test/mini/test_mini_spec.rb: ditto.
37710
37711	* lib/test/**/*: replaced by miniunit.
37712	  miniunit had been temporarily reverted at r19643 but
37713	  now recovered.
37714
37715Sat Oct  4 15:33:26 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37716
37717	* common.mk (gdb-ruby): new target. it runs ruby under controlled by
37718	  gdb.
37719
37720	* common.mk (dist): accepts RELNAME variable as the second argument of
37721	  make-snapshot.rb.
37722
37723Sat Oct  4 12:17:46 2008  Keiju Ishitsuka  <keiju@ruby-lang.org>
37724
37725	* lib/irb/irb/ext/save-history.rb: change load_history using File.expand_path. see [ruby-dev:36660]. Thanks Kouhei Sutou.
37726	* lib/irb/irb/context.rb: convert string Symbol of instance variable names in IRB:Context#inspect.
37727
37728Fri Oct  3 22:43:04 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37729
37730	* ext/dl/extconf.rb ($distcleanfiles): added callback-?.c into
37731	  the distclean list.
37732
37733Fri Oct  3 19:33:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
37734
37735	* ext/json/lib/json/pure.rb (module JSON): remove Iconv dependency.
37736
37737	* ext/json/lib/json/pure/generator.rb (utf8_to_json): process as
37738	  binary and remove Iconv dependency.
37739
37740	* ext/json/lib/json/pure/parser.rb (parse_string): ditto.
37741
37742Fri Oct  3 14:04:05 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
37743
37744	* win32/{configure.bat,setup.mak,Makefile.sub): add --program-prefix
37745	  configure option support.
37746
37747Thu Oct  2 21:22:43 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
37748
37749	* lib/cgi/core.rb (CGI::QueryExtension): delete MorphingBody
37750	  and replace like as 1.8's in multipart reading.
37751	  see [ruby-dev:36443],
37752	  reference from CGIAlt http://cgialt.rubyforge.org/
37753
37754	* test/cgi/test_cgi_multipart.rb : fixed multipart test.
37755
37756Thu Oct  2 20:46:17 2008  Tanaka Akira  <akr@fsij.org>
37757
37758	* string.c (rb_str_sub_bang): fix coderange.
37759
37760Wed Oct  1 22:54:09 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37761
37762	* lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when
37763	  clauses.
37764
37765Wed Oct  1 22:43:59 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37766
37767	* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,
37768	  test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
37769	  test/rss/rss-assertions.rb: fix indentation to remove warning.
37770
37771Wed Oct  1 21:36:35 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37772
37773	* gc.c (rb_gc_call_finalizer_at_exit): finalize deferred IO and Data.
37774
37775	* gc.c (rb_gc_call_finalizer_at_exit): defers IO finalization.
37776	  [ruby-dev:36646]
37777
37778Wed Oct  1 19:11:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37779
37780	* marshal.c (marshal_dump): fixed for check_dump_arg.
37781
37782	* marshal.c (marshal_dump): initializes dump_arg before any funcall.
37783	  [ruby-dev:36648]
37784
37785Wed Oct  1 00:54:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37786
37787	* string.c (rb_str_split_m): should use rb_str_subseq() which use
37788	  offset and length by bytes.  [ruby-dev:36641]
37789
37790Wed Oct  1 00:29:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37791
37792	* test/ruby/test_settracefunc.rb (test_call, test_class): line number
37793	  was changed at r19592.
37794
37795Wed Oct  1 00:20:38 2008  Tanaka Akira  <akr@fsij.org>
37796
37797	* process.c (check_exec_redirect): don't depend on rb_stdout and
37798	  rb_stderr.
37799
37800Tue Sep 30 23:06:58 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37801
37802	* test/mini/test_mini_test.rb: removed.
37803	  Temporarily removed the tests for miniunit because of
37804	  they depend on the miniunit version of test/unit,
37805	  where test/unit was temporarily reverted to the state
37806	  before importing miniunit.
37807
37808	* test/mini/test_mini_mock.rb: ditto.
37809
37810	* test/mini/test_mini_spec.rb: ditto.
37811
37812Tue Sep 30 23:04:30 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37813
37814	* lib/test/**/*: recovered.
37815	  Temporarily reverts the changes of lib/test/unit/* in
37816	  r19502 and r19501, in order to release 1.9.0-5.
37817
37818Tue Sep 30 23:00:05 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
37819
37820	* lib/test/unit.rb: removed.
37821	  Temporarily reverts the changes of lib/test/unit/* in
37822	  r19543, r19534 and r19503, in order to release 1.9.0-5.
37823
37824	* lib/test/unit/assertions.rb: ditto.
37825
37826	* lib/test/unit/deprecate.rb: ditto.
37827
37828	* lib/test/unit/error.rb: ditto.
37829
37830	* lib/test/unit/testcase.rb: ditto.
37831
37832Tue Sep 30 20:17:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37833
37834	* io.c (rb_io_extract_modeenc): should honor value of the
37835	  textmode: and binmode: options.
37836
37837Tue Sep 30 17:04:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37838
37839	* test/bigdecimal/test_bigdecimal.rb (test_sqrt_bigdecimal): wrong
37840	  precision specification.  a patch from TAKANO Mitsuhiro
37841	  <takano32 at jus.or.jp> in [ruby-dev:36634].
37842
37843Tue Sep 30 16:53:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37844
37845	* parse.y (stmt): returns non zero.  [ruby-dev:36633]
37846
37847Tue Sep 30 16:52:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
37848
37849	* sprintf.c (rb_str_format): add %<name>s style named argument
37850	  support.  a patch from Yusuke Endoh <mame at tsg.ne.jp>
37851	  in [ruby-dev:35851].
37852
37853	* sprintf.c (rb_str_format): add gettext style named format
37854	  (%{name}) support.  inspired by [ruby-dev:35852].
37855
37856	* sprintf.c (GETNAMEARG): should raise KeyError exception when no
37857	  named argument found.
37858
37859	* hash.c (rb_hash_fetch): export fetch function.
37860
37861Tue Sep 30 13:19:01 2008  Eric Hodel  <drbrain@segment7.net>
37862
37863	* test/rubygems/test_gem_installer.rb: remove extra call to setup to
37864	  fix ENV['HOME'] pollution.
37865
37866Tue Sep 30 13:04:11 2008  Ryan Davis  <ryand-ruby@zenspider.com>
37867
37868	* lib/mini/test.rb: Updated to 1.3.0 r4257.
37869	* test/mini/*: added from r4257.
37870
37871Tue Sep 30 07:46:07 2008  Eric Hodel  <drbrain@segment7.net>
37872
37873	* test/rdoc/test_rdoc_markup_attribute_manager.rb: Test with clean
37874	  SPECIALS.
37875	* test/rubygems/gemutilities.rb: Restore ENV['HOME'] after test.
37876	* test/runner.rb: Pass -n argument down to miniunit.
37877
37878Tue Sep 30 01:02:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37879
37880	* parse.y (token_info_push, token_info_pop): do nothing for evaled
37881	  source.
37882
37883Tue Sep 30 00:47:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37884
37885	* ext/nkf/nkf-utf8/nkf.c: constified.
37886
37887Mon Sep 29 23:32:25 2008  Tanaka Akira  <akr@fsij.org>
37888
37889	* string.c (rb_str_subseq): don't use rb_str_drop_bytes for short
37890	  string.
37891
37892Mon Sep 29 22:54:29 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37893
37894	* lib/mathn.rb: added String#to_[rc].  moved def_canon.
37895
37896Mon Sep 29 20:41:19 2008  Tanaka Akira  <akr@fsij.org>
37897
37898	* string.c (rb_str_subseq): use rb_str_drop_bytes if possible.
37899
37900Mon Sep 29 20:22:20 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37901
37902	* test/date/*.rb: imported additional tests and some adjustments.
37903
37904Mon Sep 29 20:13:05 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
37905
37906	* ext/win32ole/win32ole.c (fev_initialize): initialization
37907	  handler instance variable.
37908
37909	* test/win32ole/test_win32ole_typelib.rb (test_s_typelibs):
37910	  fix the warning of shadowing outer local variable.
37911
37912Mon Sep 29 19:59:00 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
37913
37914	* ext/win32ole/win32ole.c (rescue_callback): use rb_write_error
37915	  instead of fprintf.
37916
37917Mon Sep 29 01:51:54 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37918
37919	* test/rdoc/test_rdoc_info_formatting.rb (teardown): delete tmpdir for
37920	  test.
37921
37922Mon Sep 29 00:30:20 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
37923
37924	* lib/cgi/html.rb (CGI::HtmlExtension::{radio_group, checkbox_group}):
37925	  can specify the false as checked or selected value.
37926	  [ruby-core:18306], [ruby-core:18307]
37927
37928	* test/cgi/test_cgi_tag_helper.rb: add a test.
37929
37930Sun Sep 28 23:08:38 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
37931
37932	* lib/cgi/html.rb (CGI::HtmlExtension::popup_menu):
37933	  fix the calls #bytesize on array parameters. [ruby-core:18919]
37934
37935Sun Sep 28 22:44:26 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
37936
37937	* lib/cgi/core.rb (CGI::parse): ignore illegal query params.
37938	  [ruby-dev:36618]
37939
37940Sun Sep 28 22:05:07 2008  Yusuke Endoh  <mame@tsg.ne.jp>
37941
37942	* compile.c (iseq_set_sequence): check duplicated when clause.
37943	  [ruby-dev:36616]
37944
37945Sun Sep 28 19:04:03 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37946
37947	* test/date/*.rb: imported a date test suite ruby 1.9 limited ed.
37948
37949Sun Sep 28 18:40:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37950
37951	* lib/mini/test.rb (MINI_DIR): loaded path is expanded.
37952
37953	* lib/mini/test.rb (assert_match): get rid of confusion of
37954	  ruby-mode.el.
37955
37956Sun Sep 28 12:36:09 2008  Koichi Sasada  <ko1@atdot.net>
37957
37958	* vm_exec.c (vm_exec_core): add an UNLIKELY() hint.
37959
37960	* vm_insnhelper.h (BASIC_OP_UNREDEFINED_P): add a LIKELY() hint.
37961
37962Sun Sep 28 12:04:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37963
37964	* string.c (str_new): sets empty string to coderange 7bit.
37965	  [ruby-core:18993]
37966
37967Sun Sep 28 09:39:48 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37968
37969	* lib/mathn.rb ({Fixnum,Bignum,Float}#**): may produce complex
37970	  value.
37971
37972Sun Sep 28 09:05:53 2008  James Edward Gray II  <jeg2@ruby-lang.org>
37973
37974	* lib/csv/csv.rb:  Worked around some minor encoding changes in Ruby
37975	  pointed out by Nobu.
37976
37977Sun Sep 28 08:37:12 2008  Tadayoshi Funaba  <tadf@dotrb.org>
37978
37979	* lib/mathn.rb: a hack to provide canonicalization.  This must be
37980	  temporary, but this seems to be not bad for the time being.
37981
37982Sat Sep 27 06:22:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37983
37984	* lib/rake.rb (Module#rake_extension, String#ext, String#pathmap): use
37985	  built-in methods.
37986
37987	* lib/rake.rb (String#pathmap): fixed typo in rdoc.
37988
37989Sat Sep 27 04:28:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37990
37991	* file.c (rmext): preceding dots are not a part of extension.
37992
37993	* file.c (rb_file_s_extname): ditto.
37994
37995Sat Sep 27 03:15:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
37996
37997	* vm.c (vm_jump_tag_but_local_jump): exc is not used if val is nil.
37998
37999Sat Sep 27 03:12:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38000
38001	* ext/socket/socket.c (host_str): numeric address should be unsigned.
38002	  [ruby-core:18971]
38003
38004Fri Sep 26 22:46:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38005
38006	* parse.y (primary, brace_block): fix for line number.
38007
38008	* proc.c (rb_proc_location, rb_method_location): new methods
38009	  {Proc,Method,UnboundMethod}#source_location.  [ruby-core:18452]
38010
38011Fri Sep 26 21:36:33 2008  Koichi Sasada  <ko1@atdot.net>
38012
38013	* vm_core.h (RUBY_VM_CHECK_INTS_TH): add an UNLIKELY hint.
38014
38015Fri Sep 26 19:33:36 2008  Tanaka Akira  <akr@fsij.org>
38016
38017	* include/ruby/encoding.h (rb_str_encode): renamed from
38018	  rb_str_transcode.  [ruby-dev:36593]
38019	  (rb_econv_has_convpath_p): renamed from rb_transcode_convertible.
38020
38021	* transcode.c: follow the renaming.
38022
38023	* io.c: ditto.
38024
38025Fri Sep 26 19:01:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38026
38027	* test/bigdecimal/test_bigdecimal.rb (test_inspect): fixed CPU bit
38028	  size dependent test.  pointed out by TAKANO Mitsuhiro <takano32 AT
38029	  jus.or.jp>.
38030
38031Fri Sep 26 18:57:33 2008  Akinori MUSHA  <knu@iDaemons.org>
38032
38033	* test/pathname/test_pathname.rb: Fix use of deprecated methods.
38034
38035Fri Sep 26 18:39:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38036
38037	* common.mk (dist): nothing is needed to run BASERUBY.
38038
38039	* tool/make-snapshot: new option -archname.
38040
38041Fri Sep 26 18:24:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38042
38043	* misc/ruby-mode.el: safe customizable variables.
38044
38045Fri Sep 26 17:37:18 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
38046
38047	* include/ruby/ruby.h (rb_mPrecision): removed.
38048	  Precision module was temporarily removed at r19430.
38049
38050Fri Sep 26 17:25:10 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
38051
38052	* common.mk (dist): Changed its dependencies and action.
38053
38054Fri Sep 26 17:07:04 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
38055
38056	* error.c (Init_syserr): moved to the template.
38057	  (errno_missing): removed. fixed [ruby-dev:35958].
38058
38059	* defs/known_errors.def: added. extracted from Init_syserr.
38060
38061	* templates/known_errors.inc.tmpl: added. Template for Init_syserr.
38062	  c.f. [ruby-dev:35958].
38063
38064	* tools/generic_erb.rb: added. general purpose mapper which maps
38065	  data+template into source code.
38066
38067	* common.mk (error.$(OBJEXT), incs, known_errors.inc):
38068	  Fixed dependencies.
38069
38070Fri Sep 26 17:02:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38071
38072	* thread.c (thlist_signal): clears the woken thread if nothing woke.
38073
38074	* thread.c (rb_barrier_wait): achieves the lock if no thread was
38075	  waiting yet.
38076
38077Fri Sep 26 12:04:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38078
38079	* ext/curses/curses.c: should include <ruby/io.h>.
38080
38081	* ext/io/wait/wait.c: ditto.
38082
38083	* ext/openssl/ossl.h: ditto.
38084
38085Fri Sep 26 11:34:08 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
38086
38087	* variable.c (rb_define_hooked_variable): cast to get rid of compiler
38088	  warnings.
38089
38090Fri Sep 26 11:05:41 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
38091
38092	* transcode.c, include/ruby/encoding.c (rb_transcode_convertible):
38093	  new function. checking the existence of converter.
38094
38095Fri Sep 26 10:35:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38096
38097	* variable.c (global_variable, struct trace_var): made function
38098	  members more strict.
38099
38100Fri Sep 26 09:55:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38101
38102	* include/ruby{io,sig}.h: moved to include/ruby/backward.
38103
38104Fri Sep 26 09:47:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38105
38106	* include/rubysig.h: old macros for backward compatibility.
38107
38108	* thread.c (BLOCKING_REGION): rewritten using helper functions.
38109
38110Fri Sep 26 03:03:32 2008  Tanaka Akira  <akr@fsij.org>
38111
38112	* vm_eval.c (Init_vm_eval): define module_eval, class_eval and eval
38113	  here for rdoc.
38114
38115Fri Sep 26 00:40:30 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38116
38117	* range.c (range_inspect): fix SEGV for cyclic range object.
38118	  [ruby-core:18835]
38119
38120Thu Sep 25 23:59:56 2008  Tanaka Akira  <akr@fsij.org>
38121
38122	* common.mk: dependency updated.
38123
38124Thu Sep 25 21:46:48 2008  Tanaka Akira  <akr@fsij.org>
38125
38126	* transcode.c (rb_eUndefinedConversionError): renamed from
38127	  rb_eConversionUndefinedError.
38128	  (rb_eConverterNotFoundError): renamed from rb_eNoConverterError.
38129
38130Thu Sep 25 21:23:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38131
38132	* pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with
38133	  RFC 4648.  It adds no line feed when encoding, and raise ArgumentError
38134	  if the encoded string contains non-alphabet (including CR and LF).
38135
38136	* lib/base64.rb: added.  This provides encoding/decoding method for
38137	  Base64 in standard RFC 2045, Base64 in standard RFC 4648 and ``Base 64
38138	  Encoding with URL and Filename SafeAlphabet'' in RFC 4648.
38139
38140	* test_pack.c, test/base64/test_base64.rb: add tests for above.
38141
38142Thu Sep 25 21:00:32 2008  Koichi Sasada  <ko1@atdot.net>
38143
38144	* common.mk: fix btest-* rules [ruby-dev:36528].
38145	  and remove obsolete rules.
38146
38147Thu Sep 25 20:27:54 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
38148
38149	* class.c (rb_make_metaclass): [BUG] Fixed a bus error
38150	  on the case for metaclass of a class which includes a
38151	  module.
38152
38153Thu Sep 25 19:34:33 2008  Eric Hodel  <drbrain@segment7.net>
38154
38155	* test/rubygems/*: Update some new tests to use build_rake_in.
38156	* test/rubygems/gemutilities.rb: Fix broken merge of rake detection.
38157
38158Thu Sep 25 19:13:12 2008  Eric Hodel  <drbrain@segment7.net>
38159
38160	* lib/rubygems*: Update to RubyGems 1.3.0 r1891.
38161
38162Thu Sep 25 18:40:42 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
38163
38164	* class.c (rb_make_metaclass): Made class of class of class
38165	  from Class into its own eigenclass. Now meta^(n)-class
38166	  hierarchy regresses infinitely, again.
38167	  (This feature was decided on developer-meeting-20080922.)
38168
38169Thu Sep 25 16:01:07 2008  Jim Weirich  <jim@tardis.local>
38170
38171	* lib/rake.rb: Update rake source to version 0.8.3.  This
38172	  version includes some fixes for running Rake on windows.
38173	  (1) better APPDATA/HOMExxx/USERPROFILE integration for
38174	  system rakefiles, (2) Better handling of the :ruby command
38175	  when installed in directory containing spaces.
38176
38177Thu Sep 25 11:22:51 2008  Eric Hodel  <drbrain@segment7.net>
38178
38179	* lib/rdoc*: Update to RDoc 2.2.1 r185.
38180
38181Thu Sep 25 02:08:47 2008  Tanaka Akira  <akr@fsij.org>
38182
38183	* io.c (rb_io_mode_enc): make it static.
38184
38185Thu Sep 25 01:22:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38186
38187	* lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
38188
38189Wed Sep 24 23:39:00 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
38190
38191	* test/cgi/test_cgi_multipart.rb : revert last change.
38192	  ( deprecated is assert_raises. )
38193	* test/cgi/test_cgi_core.rb      : ditto.
38194	* test/cgi/test_cgi_header.rb    : ditto.
38195
38196Wed Sep 24 23:12:49 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
38197
38198	* lib/cgi/core.rb (CGI::new, CGI::{accept_charset,accept_charset=}) :
38199	  accept parameters either in a hash,
38200	  string as a block. add the encoding validation process.
38201	* test/cgi/test_cgi_core.rb : test for query encoding check.
38202
38203Wed Sep 24 22:58:18 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
38204
38205	* string.c (rb_str_rstrip_bang): raise exception when the encoding of
38206	  the string is dummy.
38207
38208	* string.c (rb_str_rstrip_bang): remove nul characters even if the
38209	  encoding of the string is not single byte optimizable.
38210	  fixed [ruby-core:18844], reported by Michael Selig.
38211
38212Wed Sep 24 19:01:45 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
38213
38214	* string.c (rb_str_rstrip_bang): workaround for VC++8 x64.
38215
38216Wed Sep 24 17:44:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38217
38218	* complex.c (Init_Complex), rational.c (Init_Rational): undefines
38219	  default #allocate methods which call the allocator.
38220
38221Wed Sep 24 17:02:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38222
38223	* complex.c (Init_Complex), rational.c (Init_Rational): ID_ALLOCATOR
38224	  differs from :allocate, and invisible in ruby level.
38225
38226Wed Sep 24 15:58:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38227
38228	* string.c (rb_str_rstrip_bang): removing mixed spaces and nuls at
38229	  the end of strings.  [ruby-dev:36497]
38230
38231Wed Sep 24 15:13:04 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
38232
38233	* test/cgi/test_cgi_multipart.rb : test for miniunit.
38234	* test/cgi/test_cgi_core.rb      : ditto.
38235	* test/cgi/test_cgi_header.rb    : ditto.
38236
38237Wed Sep 24 14:38:29 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
38238
38239	* lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
38240	  fixed [ruby-dev:36493]
38241
38242Wed Sep 24 11:18:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38243
38244	* io.c (rb_io_s_binread): offset argument was wrongly passed to
38245	  internal IO#read call.  [ruby-core:18810]
38246
38247Wed Sep 24 07:38:23 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
38248
38249	* vm_core.h: ruby/ruby.h should be included at the very first
38250	  place in an entire compilation unit, as it includes
38251	  ruby/config.h
38252
38253Wed Sep 24 06:41:24 2008  Ryan Davis  <ryand-ruby@zenspider.com>
38254
38255	* lib/test/*: removed test/unit.
38256	* lib/test/*: added miniunit.
38257	* lib/mini/*: ditto.
38258
38259Wed Sep 24 04:45:35 2008  Koichi Sasada  <ko1@atdot.net>
38260
38261	* include/ruby/node.h, node.h: move node.h from include path.
38262	  This change stop to install node.h because of saving ABI
38263	  (node.h will be changed. Extensions should not depends on
38264	   this file).
38265
38266	* blockinlining.c, class.c, compile.c, debug.h, enum.c,
38267	  gc.c, iseq.c, parse.y, ruby.c, signal.c, variable.c,
38268	  vm.c, vm_core.h, vm_dump.c: ditto.
38269
38270	* ext/ripper/depend: ditto.
38271
38272Wed Sep 24 04:09:13 2008  Koichi Sasada  <ko1@atdot.net>
38273
38274	* vm_core.h: remove unused frame values.
38275
38276Wed Sep 24 04:07:07 2008  Koichi Sasada  <ko1@atdot.net>
38277
38278	* signal.c (signal_exec): execute rb_eval_cmd() directly.
38279
38280Wed Sep 24 03:08:58 2008  Eric Hodel  <drbrain@segment7.net>
38281
38282	* lib/uri/mailto.rb: fix indentation.
38283	* lib/uri/generic.rb: ditto.
38284	* lib/yaml.rb: ditto.
38285	* lib/uri/cgi/core.rb: fix indentation and ambiguous argument warning.
38286
38287Tue Sep 23 23:39:25 2008  James Edward Gray II  <jeg2@ruby-lang.org>
38288
38289	* lib/csv/csv.rb:  Improved the idea of whitespace and word characters used
38290	  in substitutions during header conversion as suggested by Michael Selig.
38291
38292Tue Sep 23 21:50:53 2008  Tanaka Akira  <akr@fsij.org>
38293
38294	* io.c (io_binwrite): allocate wbuf if nosync.
38295
38296Tue Sep 23 21:45:02 2008  Tanaka Akira  <akr@fsij.org>
38297
38298	* io.c (copy_stream_body): use io_binwrite instead of io_fwrite.
38299
38300Tue Sep 23 21:31:16 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38301
38302	* test/ruby/test_rational2.rb: updated.
38303
38304	* test/ruby/test_complex2.rb: added.
38305
38306	* test/ruby/test_complexrational.rb: added.
38307
38308Tue Sep 23 21:26:32 2008  Tanaka Akira  <akr@fsij.org>
38309
38310	* string.c (rb_str_casecmp): make the ordering consistent with
38311	  String#<=>.
38312
38313Tue Sep 23 20:52:25 2008  Tanaka Akira  <akr@fsij.org>
38314
38315	* io.c (io_binwrite): add nosync argument.
38316	  (do_writeconv): extracted from io_fwrite.
38317	  (io_fwrite): add nosync argument.  use do_writeconv.
38318	  (io_write): add nosync argument.
38319	  (io_write_m): new function for IO#write.
38320	  (rb_p): don't append record separator.
38321
38322Tue Sep 23 20:24:41 2008  Koichi Sasada  <ko1@atdot.net>
38323
38324	* signal.c (signal_exec): fix to use rb_proc_call().
38325
38326Tue Sep 23 20:06:46 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38327
38328	* lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
38329	  abandon wrapping if the line contains no space.  [ruby-dev:36045]
38330
38331Tue Sep 23 19:38:03 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
38332
38333	* win32/win32.c (subtract): check tv_sec. reported by ko1.
38334
38335Tue Sep 23 19:21:03 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38336
38337	* complex.c (nucomp_s_canonicalize_internal): does no apply
38338	  canonicalization rule anymore.
38339
38340	* rational.c (nurat_s_canonicalize_internal(_no_reduce)?): ditto.
38341
38342	* complex.c: removed class method new! and new.
38343
38344	* rational.c: ditto.
38345
38346Tue Sep 23 19:20:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38347
38348	* io.c (rb_io_s_binread): a new method to read binary chunk from a
38349	  file.  [ruby-core:18674]
38350
38351	* io.c (open_key_args): wrong permission specified for read-open.
38352
38353Tue Sep 23 18:24:34 2008  Tanaka Akira  <akr@fsij.org>
38354
38355	* hash.c (rb_obj_is_proc): declaration moved for rdoc.
38356
38357Tue Sep 23 18:07:55 2008  Koichi Sasada  <ko1@atdot.net>
38358
38359	* common.mk (io.o): remove dependency for vm_core.h.
38360
38361Tue Sep 23 17:56:44 2008  Koichi Sasada  <ko1@atdot.net>
38362
38363	* thread.c (rb_thread_blocking_region): fix typo in a document.
38364
38365Tue Sep 23 17:50:35 2008  Koichi Sasada  <ko1@atdot.net>
38366
38367	* thread.c (rb_thread_blocking_region): write a document.
38368
38369Tue Sep 23 17:14:31 2008  Koichi Sasada  <ko1@atdot.net>
38370
38371	* thread.c, include/ruby/intern.h (rb_thread_interrupted): added.
38372
38373	* io.c: use VALUE of thead instead of rb_tread_t to check interrupts.
38374
38375Tue Sep 23 17:05:14 2008  Koichi Sasada  <ko1@atdot.net>
38376
38377	* class.c, vm_core.h: move decl of rb_iseq_clone() to class.c.
38378
38379Tue Sep 23 17:02:47 2008  Tanaka Akira  <akr@fsij.org>
38380
38381	* debug.h (ruby_set_debug_option): declared.
38382
38383	* main.c: include debug.h.
38384
38385	* common.mk (main.$(OBJEXT)): dependency updated.
38386
38387Tue Sep 23 16:59:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38388
38389	* hash.c (ENVMATCH, ENVNMATCH): reduced same code.
38390
38391Tue Sep 23 16:55:11 2008  Koichi Sasada  <ko1@atdot.net>
38392
38393	* ruby.h: fix comment and rename macro HAVE_RUBY_MVM_H to
38394	  HAVE_RUBY_VM_H.
38395
38396Tue Sep 23 16:41:31 2008  Koichi Sasada  <ko1@atdot.net>
38397
38398	* include/ruby/node.h, vm_core.h: move definition of
38399	  RUBY_VM_METHOD_NODE to node.h.
38400
38401	* class.c, common.mk: remove useless inclusion.
38402
38403	* compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h.
38404	  move some definitions from vm_core.h to iseq.h.
38405
38406	* compile.c, iseq.c, vm.c: ditto.
38407
38408	* eval.c, compile.c: move some functions for parser
38409	  from eval.c to compile.c.
38410
38411	* eval_intern.h, vm_core.h: move va_init_list() macro to
38412	  vm_core.h.
38413
38414	* iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added.
38415
38416	* load.c, ruby.c: use rb_iseq_new_top() instead of
38417	  rb_iseq_new() with ISEQ_TYPE_TOP constant directly.
38418
38419	* proc.c: use rb_iseq_first_lineno() instead of accessing
38420	  iseq structure.
38421
38422Tue Sep 23 16:17:54 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38423
38424	* ext/ripper/eventids2.c (token_to_eventid): supper __ENCODING__
38425	  keyword.  [ruby-dev:36478]
38426
38427Tue Sep 23 15:30:53 2008  Koichi Sasada  <ko1@atdot.net>
38428
38429	* common.mk, hash.c: remove unused inclusion.
38430
38431Tue Sep 23 09:52:07 2008  Koichi Sasada  <ko1@atdot.net>
38432
38433	* eval_safe.c, safe.c: rename eval_safe.c to safe.c.
38434
38435	* common.mk, eval.c, safe.c, inits.c: separate safe.c from eval.c and
38436	  make Init_safe().
38437
38438Tue Sep 23 09:20:00 2008  Koichi Sasada  <ko1@atdot.net>
38439
38440	* common.mk: clean up
38441	  - remove blockinlining.$(OBJEXT) to built
38442	  - make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
38443	  - make VM_CORE_H_INCLUDES variable (vm_core.h)
38444	  - simplify rules.
38445	  - make depends rule to output depend status using gcc -MM.
38446
38447	* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
38448
38449	* include/ruby.h: ditto.
38450
38451	* load.c: add inclusion explicitly.
38452
38453	* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
38454	  remove useless inclusion.
38455
38456	* eval_intern.h: cleanup inclusion.
38457
38458	* vm_core.h: rb_thread_t should be defined in this file.
38459
38460	* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
38461
38462	* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
38463
38464	* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
38465
38466	* vm.c, vm_insnhelper.c, vm_insnhelper.h:
38467	  - rename vm_eval() to vm_exec_core().
38468	  - rename vm_eval_body() to vm_exec().
38469	  - cleanup include order.
38470
38471	* vm_method.c: fix comment.
38472
38473Tue Sep 23 09:01:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38474
38475	* lib/pathname.rb (each_filename): return Enumerator if no block
38476	  given.
38477
38478	* test/pathname/test_pathname.rb: add a test for above.
38479
38480Tue Sep 23 08:25:56 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38481
38482	* hash.c (env_aset): allow nil value to remove an entry.
38483	  [ruby-dev:36465]
38484
38485	* test/ruby/test_env.rb (TestEnv#test_aset): test updated.
38486
38487Tue Sep 23 08:07:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38488
38489	* misc/ruby-mode.el (ruby-keyword-end-re): emacs21 support.  a
38490	  patch from Hiroshi Moriyama <hiroshi at kvd.biglobe.ne.jp> in
38491	  [ruby-dev:36471].
38492
38493	* misc/ruby-mode.el (ruby-in-ppss-context-p): ditto.
38494
38495	* misc/ruby-mode.el (ruby-here-doc-end-syntax):
38496
38497Tue Sep 23 02:07:52 2008  TAKAO Kouji  <kouji@takao7.net>
38498
38499	* test/readline/test_readline_history.rb
38500	  (Readline::TestHistory#test_each): checked return value.
38501
38502Tue Sep 23 02:05:34 2008  TAKAO Kouji  <kouji@takao7.net>
38503
38504	* ext/readline/readline.c (Init_readline): used remove_history to
38505	  check offset of history if unsupported clear_history.
38506
38507Mon Sep 22 17:39:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38508
38509	* lib/tempfile.rb (Tempfile#open): should return a value from the
38510	  block (if given).   [ruby-core:18394]
38511
38512Mon Sep 22 11:17:51 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
38513
38514	* include/ruby/encoding.h (enum): ISO C forbids comma at end of
38515	  enumerator list
38516
38517Mon Sep 22 10:15:24 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38518
38519	* LEGAL: updated file names removed and added.  [ruby-dev:36426]
38520
38521Mon Sep 22 02:39:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38522
38523	* encoding.c (get_default_external): add description.
38524
38525Sun Sep 21 21:52:41 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38526
38527	* math.c (math_log): should check argc.
38528
38529Sun Sep 21 21:20:24 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38530
38531	* complex.c: added two macros.
38532
38533	* rational.c: ditto.
38534
38535Sun Sep 21 18:06:38 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38536
38537	* complex.c (nucomp_s_convert): checks argc.
38538
38539	* rational.c (nurat_s_convert): ditto.
38540
38541Sun Sep 21 10:19:04 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38542
38543	* complex.c (nucomp_s_canonicalize_internal): checks exactness of
38544	  imag only.
38545
38546	* rational.c (nurat_s_convert): accepts non real value
38547	  (Rational(a,b) as a/b).
38548
38549	* complex.c (nucomp_s_convert): refined.
38550
38551Sun Sep 21 09:37:57 2008  James Edward Gray II  <jeg2@ruby-lang.org>
38552
38553	* lib/csv/csv.rb:  Reworked CSV's parser and generator to be m17n.  Data
38554	  is now parsed in the Encoding it is in without need for translation.
38555	* lib/csv/csv.rb:  Improved inspect() messages for better IRb support.
38556	* lib/csv/csv.rb:  Fixed header writing bug reported by Dov Murik.
38557	* lib/csv/csv.rb:  Use custom separators in parsing header Strings as
38558	  suggested by Shmulik Regev.
38559	* lib/csv/csv.rb:  Added a :write_headers option for outputting headers.
38560	* lib/csv/csv.rb:  Handle open() calls in binary mode whenever we can to
38561	  workaround a Windows issue where line-ending translation can cause an
38562	  off-by-one error in seeking back to a non-zero starting position after
38563	  auto-discovery for :row_sep as suggested by Robert Battle.
38564	* lib/csv/csv.rb:  Improved the parser to fail faster when fed some forms
38565	  of invalid CSV that can be detected without reading ahead.
38566	* lib/csv/csv.rb:  Added a :field_size_limit option to control CSV's
38567	  lookahead and prevent the parser from biting off more data than
38568	  it can chew.
38569	* lib/csv/csv.rb:  Added readers for CSV attributes:  col_sep(), row_sep(),
38570	  quote_char(), field_size_limit(), converters(), unconverted_fields?(),
38571	  headers(), return_headers?(), write_headers?(), header_converters(),
38572	  skip_blanks?(), and force_quotes?().
38573	* lib/csv/csv.rb:  Cleaned up code syntax to be more inline with
38574	  Ruby 1.9 than 1.8.
38575
38576Sun Sep 21 07:43:16 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38577
38578	* complex.c: an instance method image has been removed and
38579	  uses "imag" instead of "image".
38580
38581	* complex.c: two instance method re and im are removed.
38582
38583	* rational.c: follows the above changes.
38584
38585	* include/ruby/ruby.h: ditto.
38586
38587	* gc.c: ditto.
38588
38589	* lib/cmath.rb: ditto.
38590
38591	* lib/mathn.rb: ditto.
38592
38593	* lib/complex.rb: ditto. and provides some obsolete methods.
38594
38595Sun Sep 21 02:48:45 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38596
38597	* ext/json/ext/parser/parse.c: use ruby_xfree().
38598
38599	* ext/json/ext/parser/parse.rl: ditto.
38600
38601	* ext/json/ext/parser/unicode.c: ditto.
38602
38603Sun Sep 21 02:40:20 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38604
38605	* ext/json: import JSON v 1.1.3.
38606
38607Sat Sep 20 11:43:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38608
38609	* lib/optparse.rb (summarize): separator "" should output new line.
38610
38611Sat Sep 20 08:07:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38612
38613	* parse.y: strings which contain only US-ASCII don't force to have
38614	  US-ASCII encoding. [ruby-dev:36400]
38615
38616Sat Sep 20 07:59:31 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38617
38618	* re.c (rb_reg_desc): Regexps of ASCII Compatible encoding may
38619	  contain non-ASCII characters. So in that case its encoding
38620	  must keep original encoding.
38621
38622Sat Sep 20 07:44:56 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38623
38624	* common.mk: prec.c is removed.
38625
38626Fri Sep 19 22:37:25 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38627
38628	* complex.c: uses f_(in)?exact_p macro.
38629
38630	* rational.c: ditto.
38631
38632	* bignum.c (rb_big_pow): bignum**bignum - should calculate without
38633	  rational.
38634
38635	* lib/complex.rb: should override Math module at most once.
38636
38637	* lib/mathn.rb: requires 'cmath' directly.
38638
38639Fri Sep 19 20:48:06 2008  Yuki Sonoda  <yugui@yugui.jp>
38640
38641	* prec.c: removed. Precision will be redesigned and be back again.
38642	  c.f. [ruby-dev:36352].
38643
38644	* common.mk (COMMON_OBJS): removed prec.o.
38645
38646	* inits.c (rb_call_inits): removed Init_Precision.
38647
38648	* numeric.c (Init_Numeric): removed inclusion of Precision.
38649	  removed #induced_from from each class.
38650
38651	* rational.c: ditto.
38652
38653	* ext/bigdecimal/bigdecimal.c: ditto.
38654
38655	* lib/rdoc/known_classes.rb: removed the entry for Precision.
38656
38657	* test/ruby/test_prec.rb: removed.
38658
38659	* test/ruby/test_integer.rb: removed tests for Precision.
38660
38661	* test/ruby/test_fixnum.rb: ditto.
38662
38663	* test/ruby/test_float.rb: ditto.
38664
38665	* test/ruby/test_rational.rb: ditto.
38666
38667	* test/ruby/test_complex.rb: ditto.
38668
38669	* test/bigdecimal/test_bigdecimal.rb: ditto.
38670
38671Fri Sep 19 19:43:40 2008  Yuki Sonoda  <yugui@yugui.jp>
38672
38673	* common.mk : Reverts the changeset 18994.
38674	  Uses the official repository of rubyspec again.
38675
38676Fri Sep 19 17:41:56 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38677
38678	* configure.in: applied OS/2 support patch from Brendan Oakley
38679	  <gentux2 at gmail.com> in [ruby-core:18707].
38680
38681Fri Sep 19 09:29:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38682
38683	* dln.c: newer BeOS support.  a patch from Pete Goodeve
38684	  <pete.goodeve at computer.org> in [ruby-core:18712].
38685
38686Fri Sep 19 03:41:25 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38687
38688	* ext/nkf/nkf-utf8/nkf.c: fix memory violation. mentioned by mame [ruby-dev:36373]
38689
38690Fri Sep 19 01:07:36 2008  Tanaka Akira  <akr@fsij.org>
38691
38692	* regexec.c (string_cmp_ic): add text_end argument.
38693	  (slow_search): call enclen with real string end.
38694	  (map_search): add text_end argument.
38695
38696Thu Sep 18 22:54:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38697
38698	* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_to_string): comment out
38699	  fragments of unused code.
38700
38701Thu Sep 18 22:35:03 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38702
38703	* ext/bigdecimal/bigdecimal.c (VpCtoV): 1E1000...000 is interpreted as
38704	  Infinity.  [ruby-dev:36159]
38705
38706	* ext/bigdecimal/bigdecimal.c (VpPower): Infinity ** 1 returns
38707	  Infinity instead of NaN.  [ruby-dev:36159]
38708
38709	* test/bigdecimal/test_bigdecimal.rb: add tests for above.
38710
38711Thu Sep 18 22:20:08 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38712
38713	* error.c (Init_Exception): introduce EncodingError which is a
38714	  superclass for all encoding related exception classes,
38715	  e.g. Encoding::CompatibilityError.  [ruby-dev:36371]
38716
38717	* transcode.c (Init_transcode): ditto.
38718
38719Thu Sep 18 21:57:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38720
38721	* string.c (rb_str_comparable): make ascii8bit string to be
38722	  compatible with any other encoding.
38723
38724	* string.c (rb_str_cmp): use rb_str_comparable() instead of
38725	  rb_enc_compatible() since <=> is a comparison anyway.
38726
38727Thu Sep 18 21:37:14 2008  Tanaka Akira  <akr@fsij.org>
38728
38729	* grapheme cluster implementation reverted.  [ruby-dev:36375]
38730
38731Thu Sep 18 20:50:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38732
38733	* lib/rake.rb (Rake::Application#standard_exception_handling):
38734	  replaced magic numbers for exit status.
38735
38736Thu Sep 18 20:37:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38737
38738	* lib/optparse.rb (OptionParser::ParseError#set_backtrace): omits
38739	  OptionParser internal backtraces unless debug flag is set.
38740
38741Thu Sep 18 20:02:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38742
38743	* lib/uri/common.rb (unescape): skip '%' to make String#hex work
38744	  correctly.
38745
38746Thu Sep 18 19:51:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38747
38748	* bignum.c (big2str_karatsuba): free internal buffer eagerly.
38749	  a patch from TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com>
38750	  in [ruby-dev:36217].
38751
38752	* bignum.c (rb_big2str0): ditto.
38753
38754Thu Sep 18 19:43:04 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38755
38756	* st.c (new_size): raise RuntimeError when st_table is too big.
38757	  [ruby-dev:36354]
38758
38759Thu Sep 18 18:23:23 2008  Tanaka Akira  <akr@fsij.org>
38760
38761	* transcode.c (enc_arg): must take pointer argument to avoid GC
38762	  problem.  StringValueCStr modifies the argument and it should be
38763	  preserved while the string StringValueCStr returns is used.
38764	  Since the string is used by caller, the modified argument should be
38765	  hold by caller.  Actually
38766	    GC.stress = true
38767	    def (o=Object.new).to_str()
38768	      "universal"+"_newline"
38769	    end
38770	    "\u3042".encode(o, "")
38771	  causes curious warning:
38772	    rb_define_const: invalid name `' for constant
38773
38774Thu Sep 18 17:32:44 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38775
38776	* transcode.c: add "Error" suffix for Encoding exception classes.
38777	  a patch from Tadashi Saito <shiba at mail2.accsnet.ne.jp> in
38778	  [ruby-dev:36346].
38779
38780	* encoding.c (Init_Encoding): rename EncodingCompatibilityError to
38781	  Encoding::CompatibilityError.  [ruby-dev:36366]
38782
38783Thu Sep 18 17:18:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38784
38785	* transcode.c (enc_arg): revert last change.  too early exception
38786	  raising.
38787
38788	* transcode.c (enc_arg): need not to take pointer argument.
38789
38790Sun Sep 18 02:22:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
38791
38792	* test/bigdecimal/test_bigdecimal.rb: add tests to achieve over 90%
38793	  test coverage of bigdecimal.
38794
38795Wed Sep 17 21:50:14 2008  Tanaka Akira  <akr@fsij.org>
38796
38797	* string.c (rb_str_casecmp): don't use rb_enc_codepoint.
38798
38799Wed Sep 17 19:55:33 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38800
38801	* complex.c (nucomp_s_convert): accepts complex
38802	  value (Complex(a,b) as a+bi).
38803
38804Wed Sep 17 19:16:47 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
38805
38806	* test/ruby/test_io.rb (TestIO#test_dup): avoid infinite loop.
38807	  [ruby-dev:36326]
38808
38809	* test/ruby/test_io.rb (TestIO#test_dup): remove needless open.
38810	  [ruby-dev:35957]
38811
38812Wed Sep 17 17:44:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38813
38814	* io.c (rb_io_extract_modeenc): process option mode: and perm: as
38815	  well.
38816
38817	* io.c (open_key_args): move mode: and perm: related code to
38818	  rb_io_extract_modeenc().
38819
38820Wed Sep 17 13:42:59 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
38821
38822	* lib/cgi/html.rb (checkbox_group,radio_group): bug fix
38823	  use size instead of	bytesize.
38824
38825	* test/cgi/test_cgi_tag_helper.rb: test for checkbox_group,radio_group.
38826
38827Wed Sep 17 06:58:31 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38828
38829	* numeric.c: provides predicate real? instead of scalar?.
38830
38831	* complex.c: follows the above change.
38832
38833	* lib/cmath.rb: ditto.
38834
38835Wed Sep 17 01:56:27 2008  Tanaka Akira  <akr@fsij.org>
38836
38837	* test/ruby/test_io_m17n.rb: use __FILE__ instead of /dev/null.
38838	  [ruby-dev:36327]
38839
38840Wed Sep 17 01:33:11 2008  Tanaka Akira  <akr@fsij.org>
38841
38842	* include/ruby/oniguruma.h (OnigEncodingTypeST): add precise_ret
38843	  argument for mbc_to_code.
38844	  (ONIGENC_MBC_TO_CODE): provide NULL for precise_ret.
38845	  (ONIGENC_MBC_PRECISE_CODEPOINT): defined.
38846
38847	* include/ruby/encoding.h (rb_enc_mbc_precise_codepoint): defined.
38848
38849	* regenc.h (onigenc_single_byte_mbc_to_code): precise_ret argument
38850	  added.
38851	  (onigenc_mbn_mbc_to_code): ditto.
38852
38853	* regenc.c (onigenc_single_byte_mbc_to_code): precise_ret argument
38854	  added.
38855	  (onigenc_mbn_mbc_to_code): ditto.
38856
38857	* string.c (count_utf8_lead_bytes_with_word): removed.
38858	  (str_utf8_nth): removed.
38859	  (str_utf8_offset): removed.
38860	  (str_strlen): UTF-8 codepoint oriented optimization removed.
38861	  (rb_str_substr): ditto.
38862	  (enc_succ_char): use rb_enc_mbc_precise_codepoint.
38863	  (enc_pred_char): ditto.
38864	  (rb_str_succ): ditto.
38865
38866	* encoding.c (rb_enc_ascget): check length with
38867	  rb_enc_mbc_precise_codepoint.
38868	  (rb_enc_codepoint): use rb_enc_mbc_precise_codepoint.
38869
38870	* regexec.c (string_cmp_ic): add text_end argument.
38871	  (match_at): check end of character after exact string matches.
38872
38873	* enc/utf_8.c (grapheme_table): defined for extended grapheme cluster
38874	  boundary.
38875	  (grapheme_cmp): defined.
38876	  (get_grapheme_properties): defined.
38877	  (grapheme_boundary_p): defined.
38878	  (MAX_BYTES_LENGTH): defined.
38879	  (comb_char_enc_len): defined.
38880	  (mbc_to_code0): extracted from mbc_to_code.
38881	  (mbc_to_code): use mbc_to_code0.
38882	  (left_adjust_combchar_head): defined.
38883	  (utf_8): use a extended grapheme cluster as a unit.
38884
38885	* enc/unicode.c (onigenc_unicode_mbc_case_fold): use
38886	  ONIGENC_MBC_PRECISE_CODEPOINT to extract codepoints.
38887	  (onigenc_unicode_get_case_fold_codes_by_str): ditto.
38888
38889	* enc/euc_jp.c (mbc_to_code): follow mbc_to_code field change.
38890	  use onigenc_mbn_mbc_to_code.
38891
38892	* enc/shift_jis.c (mbc_to_code): ditto.
38893
38894	* enc/emacs_mule.c (mbc_to_code): ditto.
38895
38896	* enc/gbk.c (gbk_mbc_to_code): follow mbc_to_code field and
38897	  onigenc_mbn_mbc_to_code change.
38898
38899	* enc/cp949.c (cp949_mbc_to_code): ditto.
38900
38901	* enc/big5.c (big5_mbc_to_code): ditto.
38902
38903	* enc/euc_tw.c (euctw_mbc_to_code): ditto.
38904
38905	* enc/euc_kr.c (euckr_mbc_to_code): ditto.
38906
38907	* enc/gb18030.c (gb18030_mbc_to_code): ditto.
38908
38909	* enc/utf_32be.c (utf32be_mbc_to_code): follow mbc_to_code field
38910	  change.
38911
38912	* enc/utf_16be.c (utf16be_mbc_to_code): ditto.
38913
38914	* enc/utf_32le.c (utf32le_mbc_to_code): ditto.
38915
38916	* enc/utf_16le.c (utf16le_mbc_to_code): ditto.
38917
38918Wed Sep 17 01:17:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38919
38920	* transcode.c (enc_arg): raise exception when unknown encoding is
38921	  given.
38922
38923Tue Sep 16 22:23:24 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
38924
38925	* lib/cgi/core.rb (CGI#header): performance improvement.
38926	  From CGIAlt http://cgialt.rubyforge.org/
38927
38928	* test/cgi/test_cgi_header.rb: exception class fixed.
38929
38930Tue Sep 16 22:21:33 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38931
38932	* string.c (rb_str_concat): fix rdoc. (codepoint is integer)
38933
38934	* string.c (rb_str_each_codepoint): use UINT2NUM.
38935
38936Tue Sep 16 21:48:55 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38937
38938	* re.c (rb_reg_desc): Regexp#inspect should be US-ASCII.
38939
38940Tue Sep 16 21:33:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
38941
38942	* string.c (rb_str_crypt): orthodox crypt() sees only first two bytes
38943	  of salt.
38944
38945Tue Sep 16 19:18:40 2008  Tadayoshi Funaba  <tadf@dotrb.org>
38946
38947	* complex.c (nucomp_marshal_{dump,load}): preserve instance
38948	  variables.
38949
38950	* rational.c (nurat_marshal_{dump,load}): ditto.
38951
38952Tue Sep 16 18:28:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38953
38954	* io.c (rb_io_gets_m): rdoc updated.  limit counts in bytes.
38955	  [ruby-core:18617]
38956
38957	* io.c (rb_io_readlines, rb_f_gets): ditto.
38958
38959	* io.c (rb_io_readbyte): rdoc updated.  [ruby-core:18617]
38960
38961Tue Sep 16 11:55:16 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38962
38963	* string.c (rb_str_each_codepoint): add new methods, #codepoints
38964	  and #each_codepoint.  a patch from Michael Selig
38965	  <michael.selig at fs.com.au> in [ruby-core:18532].
38966
38967Tue Sep 16 11:24:44 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38968
38969	* ext/socket/mkconstants.rb: add new constants.  a patch from
38970	  IWAMURO Motonori <deenheart+ruby at gmail.com> in [ruby-dev:36309].
38971
38972Tue Sep 16 09:20:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38973
38974	* test/ruby/test_io.rb (TestIO#test_dup): exception should be
38975	  raised from IO#dup.
38976
38977Tue Sep 16 08:35:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38978
38979	* test/ruby/test_io.rb (TestIO#test_dup): this test might fail if
38980	  there are any garbage IO objects.
38981
38982Tue Sep 16 02:02:56 2008  NARUSE, Yui  <naruse@ruby-lang.org>
38983
38984	* string.c (rb_str_buf_cat_ascii): codepoint is unsigned int.
38985
38986	* string.c (rb_str_concat): ditto.
38987
38988	* string.c (str_cat_char): ditto.
38989
38990	* string.c (prefix_escape): ditto.
38991
38992Tue Sep 16 01:47:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
38993
38994	* string.c (single_byte_optimizable): make function inline.  based
38995	  on a patch from Michael Selig <michael.selig at fs.com.au> in
38996	  [ruby-core:18532].
38997
38998	* string.c (str_modify_keep_cr): new function act as
38999	  rb_str_modify(), but don't clear coderange
39000
39001	* string.c (rb_str_casecmp): specialized for single byte strings.
39002
39003	* string.c (rb_str_splice): preserve coderange.
39004
39005	* string.c (rb_str_slice_bang, rb_str_reverse_bang,
39006	  rb_str_upcase_bang, rb_str_downcase_bang, tr_trans,
39007	  rb_str_capitalize_bang, rb_str_swapcase_bang,
39008	  rb_str_delete_bang, rb_str_chop_bang, rb_str_chomp_bang,
39009	  rb_str_lstrip_bang, rb_str_rstrip_bang): ditto.
39010
39011	* string.c (rb_str_clear): preset coderange.
39012
39013	* string.c (rb_str_split_m): specialized for splitting with a
39014	  string.
39015
39016Tue Sep 16 00:57:56 2008  Tanaka Akira  <akr@fsij.org>
39017
39018	* re.c (rb_reg_quote): use rb_enc_mbcput to generate ASCII
39019	  incompatible characters properly.
39020
39021Tue Sep 16 00:51:59 2008  NARUSE, Yui  <naruse@ruby-lang.org>
39022
39023	* encoding.c (Encoding#base_encoding): removed. [ruby-dev:36270]
39024
39025Tue Sep 16 00:40:56 2008  Tanaka Akira  <akr@fsij.org>
39026
39027	* transcode_data.h (STR1_LENGTH): defined.
39028	  (makeSTR1LEN): defined.
39029
39030	* tool/transcode-tblgen.rb: use makeSTR1LEN.  generate STR1 for 4 to
39031	  259 bytes.
39032
39033	* transcode.c (rb_transcoding): new field: output_index.
39034	  (transcode_restartable0): use STR1_LENGTH.
39035
39036Mon Sep 15 23:52:45 2008  Koichi Sasada  <ko1@atdot.net>
39037
39038	* gc.c, include/ruby/ruby.h: rename rb_register_mark_object()
39039	  to rb_gc_register_mark_object().
39040
39041	* eval.c, vm.c: initialize vm->mark_object_ary at
39042	  Init_top_self().
39043
39044	* bignum.c, complex.c, encoding.c, ext/win32ole/win32ole.c,
39045	  io.c, load.c, marshal.c, rational.c, ruby.c, vm.c:
39046	  use rb_gc_register_mark_object() instead of
39047	  rb_global_variable() or rb_gc_register_address().
39048
39049Mon Sep 15 23:37:15 2008  Tanaka Akira  <akr@fsij.org>
39050
39051	* transcode.c (econv_opts): don't use to_sym.
39052
39053Mon Sep 15 23:28:28 2008  Tanaka Akira  <akr@fsij.org>
39054
39055	* encoding.c (rb_enc_get_index): don't return -1.
39056
39057	* io.c (rb_scan_open_args): call FilePathValue before encoding
39058	  conversion.
39059
39060Mon Sep 15 22:11:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39061
39062	* string.c (rb_str_squeeze_bang): specialized for 7bit characters in
39063	  ASCII compatible strings.
39064
39065	* string.c (rb_str_count): ditto.
39066
39067	* string.c (tr_trans): preserve 7bit/valid coderange flag.
39068
39069	* string.c (rb_str_squeeze_bang): preserve previous coderange value.
39070
39071	* string.c (rb_str_lstrip_bang): ditto.
39072
39073	* string.c (rb_str_rstrip_bang): ditto.
39074
39075	* encoding.c (rb_default_external_encoding): preserve
39076	  default_external_encoding in a static variable.
39077
39078	* string.c (single_byte_optimizable): check coderange first, to
39079	  reduce number of calling rb_enc_from_index().
39080
39081Mon Sep 15 20:57:00 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
39082
39083	* lib/matrix.rb (Matrix#eql?): fixed [ruby-dev:36298].
39084	  Reported by an anonymous user.
39085
39086	* lib/matrix.rb (Vector#eql?): ditto.
39087
39088	* (Matrix#compare_by_row_vectors): takes comparison
39089	  strategy as an optional parameter.
39090
39091	* (Vector#compare_by): ditto.
39092
39093Mon Sep 15 14:34:32 2008  NARUSE, Yui  <naruse@ruby-lang.org>
39094
39095	* encoding.c (RUBY_MAX_CHAR_LEN): defined.
39096
39097	* encoding.c (str_cat_char): use RUBY_MAX_CHAR_LEN.
39098
39099Mon Sep 15 13:53:33 2008  NARUSE, Yui  <naruse@ruby-lang.org>
39100
39101	* encoding.c (rb_enc_compatible): accept other than strings and
39102	  regexps. [ruby-core:18595]
39103
39104	* encoding.c (rb_enc_get_index): works files and encodings.
39105
39106Mon Sep 15 13:17:21 2008  Tadayoshi Funaba  <tadf@dotrb.org>
39107
39108	* complex.c (nucomp_eql_p): new.
39109
39110	* complex.c (nucomp_hash): should use hash values of the elements.
39111
39112	* rational.c (nurat_hash): ditto.
39113
39114	* hash.c (rb_any_cmp): removed an unused variable.
39115
39116Mon Sep 15 11:11:04 2008  Tanaka Akira  <akr@fsij.org>
39117
39118	* transcode_data.h (rb_transcoder): resetsize_func and resetstate_func
39119	  also returns ssize_t.
39120
39121	* enc/trans/iso2022.trans: follow the type change.
39122
39123Mon Sep 15 10:28:10 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
39124
39125	* test/matrix/test_matrix.rb (setup): typo.
39126	  (test_equality): misdefinition of the expected working.
39127	  Reported by an anonymous user.
39128	  (test_hash): added.
39129
39130	* test/matrix/test_vector.rb: ditto.
39131
39132Mon Sep 15 03:33:10 2008  Tanaka Akira  <akr@fsij.org>
39133
39134	* transcode_data.h: return output functions ssize_t.
39135
39136	* transcode.c (transcode_restartable0): don't need to cast the result
39137	  of output functions.
39138
39139	* enc/trans/newline.trans: follow the type change.
39140
39141	* enc/trans/escape.trans: ditto.
39142
39143	* enc/trans/utf_16_32.trans: ditto.
39144
39145	* enc/trans/iso2022.trans: ditto.
39146
39147	* enc/trans/japanese.trans: ditto.
39148
39149Mon Sep 15 03:04:29 2008  Tanaka Akira  <akr@fsij.org>
39150
39151	* transcode_data.h: output function takes output buffer size.
39152
39153	* transcode.c: give output buffer size for output functions.
39154
39155	* enc/trans/newline.trans: follow the type change.
39156
39157	* enc/trans/escape.trans: ditto.
39158
39159	* enc/trans/utf_16_32.trans: ditto.
39160
39161	* enc/trans/iso2022.trans: ditto.
39162
39163	* enc/trans/japanese.trans: ditto.
39164
39165Mon Sep 15 02:37:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
39166
39167	* transcode.c (str_encode): returns duplicated string if nothing
39168	  changed.  [ruby-core:18578]
39169
39170Sun Sep 14 22:09:01 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
39171
39172	* lib/cgi/core.rb (CGI::parse): performance improvement
39173
39174Sun Sep 14 18:33:32 2008  Tadayoshi Funaba  <tadf@dotrb.org>
39175
39176	* complex.c: trivial changes.
39177
39178Sun Sep 14 16:15:22 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
39179
39180	* lib/matrix.rb (Vector#eql?): typo of the method name as "eqn?".
39181	  (Vector#eqn?): removed. Defined by mistake.
39182	  Fixes [ruby-dev:36294]. Reported by weda <weda AT
39183	  issp.u-tokyo.ac.jp> and an anonymous user.
39184
39185	* test/matrix/test_matrix.rb: added.
39186
39187	* test/matrix/test_vector.rb: added.
39188
39189Sun Sep 14 16:07:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
39190
39191	* ruby.c (process_options): associates the locale encoding with $0 as
39192	  well as ARGV.
39193
39194Sun Sep 14 13:48:03 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
39195
39196	* object.c (Init_Object): added metameta-class initialization for
39197	  BasicObject, Object, and Module.
39198	  The metameta-classes of them are now the metaclass of Class, as the
39199	  metameta-class of Class is.
39200
39201	* object.c (boot_defmetametaclass): added.
39202
39203Sun Sep 14 10:10:43 2008  Tadayoshi Funaba  <tadf@dotrb.org>
39204
39205	* complex.c (f_{add,mul,sub}): omitted some shortcuts for preserving
39206	  signed zero anyway.
39207
39208	* complex.c (nucomp_negate): new.
39209
39210Sun Sep 14 04:15:16 2008  Tanaka Akira  <akr@fsij.org>
39211
39212	* include/ruby/oniguruma.h (OnigEncodingTypeST): add end argument for
39213	  left_adjust_char_head.
39214	  (ONIGENC_LEFT_ADJUST_CHAR_HEAD): add end argument.
39215	  (onigenc_get_left_adjust_char_head): ditto.
39216
39217	* include/ruby/encoding.h (rb_enc_left_char_head): add end argument.
39218
39219	* regenc.h (onigenc_single_byte_left_adjust_char_head): ditto.
39220
39221	* regenc.c (onigenc_get_right_adjust_char_head): follow the interface
39222	  change.
39223	  (onigenc_get_right_adjust_char_head_with_prev): ditto.
39224	  (onigenc_get_prev_char_head): ditto.
39225	  (onigenc_step_back): ditto.
39226	  (onigenc_get_left_adjust_char_head): ditto.
39227	  (onigenc_single_byte_code_to_mbc): ditto.
39228
39229	* re.c: ditto.
39230
39231	* string.c: ditto.
39232
39233	* io.c: ditto.
39234
39235	* regexec.c: ditto.
39236
39237	* enc/euc_jp.c: ditto.
39238
39239	* enc/cp949.c: ditto.
39240
39241	* enc/shift_jis.c: ditto.
39242
39243	* enc/gbk.c: ditto.
39244
39245	* enc/big5.c: ditto.
39246
39247	* enc/euc_tw.c: ditto.
39248
39249	* enc/euc_kr.c: ditto.
39250
39251	* enc/emacs_mule.c: ditto.
39252
39253	* enc/gb18030.c: ditto.
39254
39255	* enc/utf_8.c: ditto.
39256
39257	* enc/utf_16le.c: ditto.
39258
39259	* enc/utf_16be.c: ditto.
39260
39261	* enc/utf_32le.c: ditto.
39262
39263	* enc/utf_32be.c: ditto.
39264
39265Sun Sep 14 03:43:27 2008  Tanaka Akira  <akr@fsij.org>
39266
39267	* include/ruby/oniguruma.h (ONIGENC_STEP_BACK): add end argument.
39268	  (onigenc_step_back): ditto.
39269
39270	* regenc.c (onigenc_step_back): add end argument.
39271
39272	* regexec.c: follow the interface change.
39273
39274Sun Sep 14 03:20:03 2008  Tanaka Akira  <akr@fsij.org>
39275
39276	* include/ruby/oniguruma.h (onigenc_get_prev_char_head): add end
39277	  argument.
39278
39279	* include/ruby/encoding.h (rb_enc_prev_char): ditto.
39280
39281	* regenc.c (onigenc_get_prev_char_head): add end argument.
39282
39283	* regparse.c: follow the interface change.
39284
39285	* regexec.c: ditto.
39286
39287	* string.c: ditto.
39288
39289	* parse.y: ditto.
39290
39291Sun Sep 14 02:04:28 2008  Tanaka Akira  <akr@fsij.org>
39292
39293	* include/ruby/oniguruma.h
39294	  (onigenc_get_right_adjust_char_head_with_prev): add end argument.
39295
39296	* regenc.c (onigenc_get_right_adjust_char_head_with_prev): use end
39297	  argument.
39298
39299	* regexec.c (forward_search_range): follow the interface change.
39300
39301Sun Sep 14 01:38:26 2008  Tanaka Akira  <akr@fsij.org>
39302
39303	* include/ruby/oniguruma.h (onigenc_get_right_adjust_char_head): add
39304	  end argument.
39305
39306	* include/ruby/encoding.h (rb_enc_right_char_head): add end argument.
39307
39308	* regenc.c (onigenc_get_right_adjust_char_head): use end argument.
39309
39310	* re.c (rb_reg_adjust_startpos): follow the interface change.
39311
39312	* string.c (rb_str_index): ditto.
39313
39314	* regexec.c (backward_search_range): ditto.
39315	  (onig_search): ditto.
39316
39317Sun Sep 14 00:43:28 2008  Tanaka Akira  <akr@fsij.org>
39318
39319	* ext/ripper/depend (ripper.o): it depends on ruby headers.
39320
39321Sat Sep 13 19:27:01 2008  Tanaka Akira  <akr@fsij.org>
39322
39323	* io.c (io_encoding_set): don't need argc argument.
39324	  (rb_io_s_pipe): update io_encoding_set call.
39325	  (rb_io_set_encoding): ditto.
39326
39327Sat Sep 13 18:46:41 2008  Tanaka Akira  <akr@fsij.org>
39328
39329	* transcode.c (rb_transcoding): align state field.
39330
39331Sat Sep 13 18:21:09 2008  Tanaka Akira  <akr@fsij.org>
39332
39333	* transcode.c (DECORATOR_P): renamed from SUPPLEMENTAL_CONVERSION.
39334
39335Sat Sep 13 18:05:37 2008  Tanaka Akira  <akr@fsij.org>
39336
39337	* io.c (make_writeconv): use rb_enc_name.
39338	  (make_readconv): ditto.
39339
39340	* transcode.c (rb_econv_open_opts): ditto.
39341	  (econv_args): ditto.
39342	  (decorate_convpath): ditto.
39343	  (econv_set_replacement): ditto.
39344
39345Sat Sep 13 11:15:38 2008  Shugo Maeda  <shugo@ruby-lang.org>
39346
39347	* lib/rexml/document.rb: fixed typo.
39348
39349Sat Sep 13 10:53:13 2008  Tadayoshi Funaba  <tadf@dotrb.org>
39350
39351	* complex.c: refined.
39352
39353	* rational.c: ditto.
39354
39355Sat Sep 13 03:44:52 2008  Tanaka Akira  <akr@fsij.org>
39356
39357	* transcode.c (rb_econv_prepare_opts): raise ArgumentError if
39358	  a broken string is specified as a replacement.
39359
39360Sat Sep 13 03:31:05 2008  Tanaka Akira  <akr@fsij.org>
39361
39362	* iseq.c (iseq_s_compile_file): use rb_file_open_str.
39363
39364	* io.c (rb_file_open_generic): call validate_enc_binmode.
39365	  (rb_file_open_str): call FilePathValue.
39366
39367Sat Sep 13 02:58:05 2008  Tanaka Akira  <akr@fsij.org>
39368
39369	* io.c (validate_enc_binmode): extracted from rb_io_extract_modeenc.
39370	  (rb_io_extract_modeenc): use validate_enc_binmode.
39371	  (io_encoding_set): call validate_enc_binmode.
39372
39373Sat Sep 13 02:50:34 2008  Tanaka Akira  <akr@fsij.org>
39374
39375	* transcode.c (rb_econv_prepare_opts): initialize *opt and return 0
39376	  if opthash is nil.
39377
39378Sat Sep 13 02:29:19 2008  Tanaka Akira  <akr@fsij.org>
39379
39380	* enc/trans/escape.trans: transcoder name renamed to use underscore.
39381
39382	* transcode.c: follow the renaming.
39383
39384Sat Sep 13 02:12:17 2008  Tanaka Akira  <akr@fsij.org>
39385
39386	* transcode.c (rb_econv_init_by_convpath_i): new function.
39387	  (rb_econv_init_by_convpath): new function.
39388	  (econv_init): use rb_econv_init_by_convpath.
39389
39390Sat Sep 13 01:11:14 2008  Tanaka Akira  <akr@fsij.org>
39391
39392	* transcode.c (econv_args): take snamev_p and dnamev_p to prevent
39393	  possible GC problem.
39394
39395Sat Sep 13 00:38:54 2008  Tanaka Akira  <akr@fsij.org>
39396
39397	* transcode.c (enc_arg): take arg as VALUE * to prevent possible GC
39398	  problem.
39399
39400Fri Sep 12 23:19:41 2008  Tanaka Akira  <akr@fsij.org>
39401
39402	* transcode.c (rb_econv_add_transcoder_at): fix loop condition.
39403
39404Fri Sep 12 22:39:46 2008  Tanaka Akira  <akr@fsij.org>
39405
39406	* transcode.c (decorator_names): extracted from rb_econv_open.
39407	  (rb_econv_open): use decorator_names.
39408	  (econv_args): extracted from econv_init.
39409	  (econv_init): use econv_args.
39410	  (decorate_convpath): new function.
39411	  (search_convpath_i): new function.
39412	  (econv_s_search_convpath): new method.
39413	  (Init_transcode): new method defined.
39414
39415Fri Sep 12 21:55:43 2008  Tanaka Akira  <akr@fsij.org>
39416
39417	* transcode.c (rb_econv_t): new field: num_allocated.
39418	  (rb_econv_alloc): extracted from
39419	  rb_econv_open_by_transcoder_entries.
39420	  (rb_econv_add_transcoder_at): extracted from rb_econv_decorate_at
39421	  and generalized
39422	  (rb_econv_open_by_transcoder_entries): use rb_econv_alloc and
39423	  rb_econv_add_transcoder_at.
39424	  (rb_econv_add_converter): extracted from rb_econv_decorate_at.
39425	  (rb_econv_decorate_at): use rb_econv_add_converter.
39426
39427Fri Sep 12 21:22:09 2008  Tanaka Akira  <akr@fsij.org>
39428
39429	* transcode.c (rb_econv_t): new field: started.
39430	  (rb_econv_open_by_transcoder_entries): initialize started field.
39431	  (rb_econv_convert): set started field.
39432	  (rb_econv_insert_output): ditto.
39433	  (rb_econv_decorate_at): check started field instead of num_finished.
39434
39435Fri Sep 12 20:28:59 2008  Tanaka Akira  <akr@fsij.org>
39436
39437	* regenc.c (onigenc_single_byte_code_to_mbc): follow OnigEncoding
39438	  change.
39439
39440Fri Sep 12 20:00:22 2008  Yusuke Endoh  <mame@tsg.ne.jp>
39441
39442	* regparse.c (parse_exp): fix resource leak.
39443
39444Fri Sep 12 01:21:22 2008  Yusuke Endoh  <mame@tsg.ne.jp>
39445
39446	* ext/syck/node.c (syck_replace_str2): fix wrong check to free ptr.
39447
39448Thu Sep 11 20:18:24 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
39449
39450	* test/win32ole/test_err_in_callback.rb (teardown): get rid
39451	  of infinite loop.
39452
39453Thu Sep 11 19:12:56 2008  NARUSE, Yui  <naruse@ruby-lang.org>
39454
39455	* include/ruby/oniguruma.h (OnigCodePoint): unsigned long to unsigned int.
39456
39457	* include/ruby/encoding.h (rb_enc_codepoint): ditto.
39458
39459	* encoding.c (rb_enc_codepoint): signed int to unsigned int.
39460
39461	* encoding.c (rb_enc_ascget): ditto.
39462
39463	* string.c (rb_str_casecmp): ditto.
39464
39465	* string.c (enc_succ_alnum_char): ditto.
39466
39467	* string.c (rb_str_inspect): ditto.
39468
39469	* string.c (rb_str_upcase_bang): ditto.
39470
39471	* string.c (rb_str_downcase_bang): ditto.
39472
39473	* string.c (rb_str_capitalize_bang): ditto.
39474
39475	* string.c (rb_str_swapcase_bang): ditto.
39476
39477	* string.c (struct tr): ditto.
39478
39479	* string.c (trnext): ditto.
39480
39481	* string.c (tr_trans): ditto.
39482
39483	* string.c (tr_setup_table): ditto.
39484
39485	* string.c (tr_find): ditto.
39486
39487	* string.c (rb_str_delete_bang): ditto.
39488
39489	* string.c (rb_str_squeeze_bang): ditto.
39490
39491	* string.c (rb_str_count): ditto.
39492
39493	* string.c (rb_str_split_m): ditto.
39494
39495	* string.c (rb_str_each_line): ditto.
39496
39497	* string.c (rb_str_lstrip_bang): ditto.
39498
39499	* string.c (rb_str_rstrip_bang): ditto.
39500
39501	* string.c (rb_str_intern): ditto.
39502
39503	* dir.c (char_casecmp): ditto.
39504
39505	* sprintf.c (rb_str_format): ditto.
39506
39507	* enc/emacs_mule.c (mbc_to_code): to be 32bit clean.
39508
39509	* enc/emacs_mule.c (code_to_mbc): ditto.
39510
39511	* enc/gb18030.c (mbc_to_code): ditto.
39512
39513	* enc/gb18030.c (code_to_mbc): ditto.
39514
39515Thu Sep 11 19:09:25 2008  NARUSE, Yui  <naruse@ruby-lang.org>
39516
39517	* ext/iconv/iconv.c: add attention for machine independent.
39518
39519Thu Sep 11 15:23:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39520
39521	* bignum.c (bigdivrem): adjust length for division and remainder.
39522	  a patch from TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
39523	  [ruby-dev:36231].
39524
39525Thu Sep 11 02:59:47 2008  Tanaka Akira  <akr@fsij.org>
39526
39527	* io.c (io_binwrite): extracted from io_fwrite.
39528
39529Thu Sep 11 02:25:34 2008  Tanaka Akira  <akr@fsij.org>
39530
39531	* transcode.c (make_encoding): new function.
39532	  (make_encobj): new function.
39533	  (econv_s_asciicompat_encoding): use make_encoding.
39534	  (rb_econv_open_exc): use SUPPLEMENTAL_CONVERSION.
39535	  (econv_convpath): use encoding object in the result.
39536
39537Thu Sep 11 02:14:38 2008  Tanaka Akira  <akr@fsij.org>
39538
39539	* transcode.c (econv_convpath): new method.
39540
39541Wed Sep 10 23:00:43 2008  Yusuke Endoh  <mame@tsg.ne.jp>
39542
39543	* tool/compile_prelude.rb: print "<internal:prelude>" instead of
39544	  "prelude.rb" on stack trace.  [ruby-dev:36129]
39545
39546Wed Sep 10 21:19:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39547
39548	* bignum.c (big2str_karatsuba): remove unnecessary fixnum code.  a
39549	  patch from TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
39550	  [ruby-dev:36217].
39551
39552Wed Sep 10 21:09:32 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
39553
39554	* test/win32ole/test_err_in_callback.rb: InternetExplorer should
39555	  be closed.
39556
39557	* test/win32ole/err_in_callback.rb: ditto.
39558
39559Wed Sep 10 18:25:19 2008  akira yamada  <akira@rice.p.arika.org>
39560
39561	* lib/uri/common.rb (URI::Parser): new class.
39562
39563	* lib/uri/mailto.rb, lib/uri/generic.rb: follow the above change.
39564
39565	* test/uri/test_parser.rb: added tests for URI::Parser.
39566
39567Wed Sep 10 10:35:32 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
39568
39569	* lib/cgi/cookie.rb (CGI::Cookie#to_s): performance improvement
39570	  from http://jp.rubyist.net/magazine/?0023-Cgirb.
39571
39572Wed Sep 10 10:12:29 2008  akira yamada  <akira@arika.org>
39573
39574	* lib/sync.rb (Sync_m#sync_exclusive): fixed
39575	  typo. [ruby-dev:36233] [RubyForge#11680]
39576
39577Wed Sep 10 01:57:23 2008  Tanaka Akira  <akr@fsij.org>
39578
39579	* tool/transcode-tblgen.rb (StrSet#hash): cache hash value.
39580	  (ActionMap#hash): ditto.
39581
39582Wed Sep 10 01:26:01 2008  Tanaka Akira  <akr@fsij.org>
39583
39584	* include/ruby/encoding.h (econv_after_output): renamed from
39585	  econv_output_followed_by_input.
39586	  (ECONV_AFTER_OUTPUT): renamed from ECONV_OUTPUT_FOLLOWED_BY_INPUT.
39587
39588	* transcode.c: follow the renaming.
39589
39590	* io.c: ditto.
39591
39592Wed Sep 10 01:16:07 2008  Tanaka Akira  <akr@fsij.org>
39593
39594	* transcode.c (get_replacement_character): don't return ASCII
39595	  incompatible replacements.
39596	  (make_replacement): don't convert the result of
39597	  get_replacement_character.
39598
39599Wed Sep 10 01:05:00 2008  Tanaka Akira  <akr@fsij.org>
39600
39601	* enc/trans/newline.trans (rb_universal_newline): swap src_encoding
39602	  and dst_encoding.
39603
39604	* transcode.c (rb_econv_decorate_at): call get_transcoder_entry only
39605	  once.
39606	  (rb_econv_binmode): follow universal_newline change.
39607
39608Wed Sep 10 00:01:36 2008  Tanaka Akira  <akr@fsij.org>
39609
39610	* include/ruby/io.h (rb_io_t): rename field: writeconv_stateless to
39611	  writeconv_asciicompat.
39612
39613	* io.c: follow the renaming.
39614
39615	* gc.c: ditto.
39616
39617Tue Sep  9 23:55:26 2008  Tanaka Akira  <akr@fsij.org>
39618
39619	* io.c (io_fwrite): raise an error if ASCII incompatible string
39620	  written for text mode IO without encoding conversion.
39621	  (rb_io_extract_modeenc): binmode requirement changed.
39622
39623Tue Sep  9 21:59:48 2008  Takeyuki Fujioka  <xibbar@ruby-lang.org>
39624
39625	* lib/cgi*: split cgi.rb into four files. [ruby-dev:36041]
39626
39627Tue Sep  9 21:17:00 2008  Tanaka Akira  <akr@fsij.org>
39628
39629	* include/ruby/encoding.h (ECONV_DECORATOR_MASK): merge
39630	  ECONV_ENCODER_MASK and ECONV_DECORATOR_MASK.
39631	  (ECONV_UNIVERSAL_NEWLINE_DECORATOR): renamed from
39632	  ECONV_UNIVERSAL_NEWLINE_DECODER.
39633	  (ECONV_CRLF_NEWLINE_DECORATOR): renamed from
39634	  ECONV_CRLF_NEWLINE_ENCODER.
39635	  (ECONV_CR_NEWLINE_DECORATOR): renamed from ECONV_CR_NEWLINE_ENCODER.
39636	  (ECONV_XML_TEXT_DECORATOR): renamed from ECONV_XML_TEXT_ENCODER.
39637	  (ECONV_XML_ATTR_CONTENT_DECORATOR): renamed from
39638	  ECONV_XML_ATTR_CONTENT_ENCODER.
39639	  (ECONV_STATEFUL_DECORATOR_MASK): renamed from
39640	  ECONV_STATEFUL_ENCODER_MASK.
39641	  (ECONV_XML_ATTR_QUOTE_DECORATOR): renamed from
39642	  ECONV_XML_ATTR_CONTENT_DECORATOR.
39643
39644	* io.c: follow the renaming.
39645
39646	* transcode.c: ditto.
39647
39648Tue Sep  9 20:55:55 2008  Tanaka Akira  <akr@fsij.org>
39649
39650	* transcode.c (rb_econv_open0): make it static.
39651	  (rb_econv_open): place decorators at last.
39652
39653Tue Sep  9 20:40:15 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
39654
39655	* test/openssl/test_ssl.rb (OpenSSL#test_client_session):
39656	  Debian's openssl 0.9.8g-13 failed at assert(ssl.session_reused?),
39657	  when use default SSLContext. [ruby-dev:36167]
39658
39659Tue Sep  9 20:34:26 2008  Tanaka Akira  <akr@fsij.org>
39660
39661	* transcode.c (rb_econv_t): last_trans_index removed.
39662	  (rb_econv_open_by_transcoder_entries): follow the type change.
39663	  (rb_econv_open0): ditto.
39664	  (rb_econv_decorate_at): ditto.
39665	  (rb_econv_binmode): ditto.
39666	  (rb_econv_insert_output): simplified because there are no decorators
39667	  at last.
39668
39669Tue Sep  9 20:21:54 2008  Tanaka Akira  <akr@fsij.org>
39670
39671	* transcode.c (rb_econv_open): reverse the order of decoders.
39672
39673Tue Sep  9 20:18:26 2008  Tanaka Akira  <akr@fsij.org>
39674
39675	* transcode.c (rb_econv_open0): num_encoders and num_decoders removed.
39676
39677Tue Sep  9 03:59:13 2008  Tanaka Akira  <akr@fsij.org>
39678
39679	* io.c (make_writeconv): useless branch removed.
39680
39681Tue Sep  9 02:18:20 2008  Tanaka Akira  <akr@fsij.org>
39682
39683	* include/ruby/encoding.h (rb_econv_decorate_at_first): declared.
39684	  (rb_econv_decorate_at_last): declared.
39685
39686	* transcode.c (rb_econv_open_by_transcoder_entries): initialize
39687	  replacement_enc.  allocate outbuf for the last transcoder.
39688	  (rb_econv_open0): extracted from rb_econv_open.
39689	  (rb_econv_open): use rb_econv_open0 and decorate the result using
39690	  rb_econv_decorate_at_first and rb_econv_decorate_at_last.
39691	  (rb_econv_decorate_at): new function.
39692	  (rb_econv_decorate_at_first): ditto.
39693	  (rb_econv_decorate_at_last): ditto.
39694	  (rb_econv_binmode): fix iteration end condition.
39695	  (econv_init): don't set source_encoding_name and
39696	  destination_encoding_name because they are set in rb_econv_open0.
39697
39698Tue Sep  9 01:10:54 2008  Tanaka Akira  <akr@fsij.org>
39699
39700	* transcode.c (rb_econv_open): make ec a local variable.
39701
39702Tue Sep  9 00:20:10 2008  Tanaka Akira  <akr@fsij.org>
39703
39704	* transcode.c (rb_econv_asciicompat_encoding): check decoder.
39705
39706Tue Sep  9 00:00:47 2008  Tanaka Akira  <akr@fsij.org>
39707
39708	* transcode.c (rb_econv_t): last_error.partial_input removed.
39709
39710Mon Sep  8 23:24:54 2008  Tanaka Akira  <akr@fsij.org>
39711
39712	* include/ruby/encoding.h (rb_econv_asciicompat_encoding): renamed
39713	  from rb_econv_stateless_encoding to apply stateless ASCII
39714	  incompatible encodings such as UTF-16BE.
39715
39716	* io.c (make_writeconv): use rb_econv_asciicompat_encoding.
39717
39718	* transcode_data.h (rb_transcoder_asciicompat_type_t): renamed from
39719	  rb_transcoder_stateful_type_t.
39720	  (rb_transcoder): use rb_transcoder_asciicompat_type_t.
39721
39722	* transcode.c: follow the type change.
39723	  (asciicompat_encoding_i): renamed from stateless_encoding_i.
39724	  (rb_econv_asciicompat_encoding): renamed from
39725	  rb_econv_stateless_encoding.
39726	  (econv_s_asciicompat_encoding): method renamed.
39727
39728	* tool/transcode-tblgen.rb: follow the type change.
39729
39730	* enc/trans/utf_16_32.trans: follow the type change.
39731	  rb_from_UTF_16BE to UTF-8 is asciicompat_decoder.
39732	  rb_from_UTF_16LE to UTF-8 is asciicompat_decoder.
39733	  rb_from_UTF_32BE to UTF-8 is asciicompat_decoder.
39734	  rb_from_UTF_32LE to UTF-8 is asciicompat_decoder.
39735	  UTF-8 to rb_to_UTF_16BE is asciicompat_encoder.
39736	  UTF-8 to rb_to_UTF_16LE is asciicompat_encoder.
39737	  UTF-8 to rb_to_UTF_32BE is asciicompat_encoder.
39738	  UTF-8 to rb_to_UTF_32LE is asciicompat_encoder.
39739
39740	* enc/trans/newline.trans: follow the type change.  universal newline
39741	  decoder is asciicompat_converter.
39742
39743	* enc/trans/escape.trans: follow the type change.
39744
39745	* enc/trans/iso2022.trans: ditto.
39746
39747	* enc/trans/japanese.trans: ditto.
39748
39749Mon Sep  8 23:05:42 2008  Tanaka Akira  <akr@fsij.org>
39750
39751	* transcode.c (rb_econv_insert_output): "readagain" part should be
39752	  after replacement.
39753
39754Mon Sep  8 22:30:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
39755
39756	* dir.c (dir_initialize): rename option name of Dir.open
39757	  from :external_encoding to :encoding.
39758
39759Mon Sep  8 22:16:20 2008  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>
39760
39761	* lib/cgi.rb : obsolete regex "n" option. [ruby-dev:36130]
39762
39763Mon Sep  8 18:13:20 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
39764
39765	* win32/win32.c (getppid): typo. [ruby-dev:36202]
39766
39767	* process.c (get_ppid): mention the return value on Windows.
39768
39769Mon Sep  8 18:15:59 2008  Tanaka Akira  <akr@fsij.org>
39770
39771	* tool/transcode-tblgen.rb (ArrayCode): less string substitutions.
39772
39773Mon Sep  8 18:13:13 2008  Tanaka Akira  <akr@fsij.org>
39774
39775	* vm.c (rb_mRubyVMFrozenCore): registered for GC.
39776
39777	* re.c (rb_reg_preprocess_dregexp): fix GC problem on MacOS X with
39778	  powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.
39779	  build 5367).
39780
39781Mon Sep  8 18:09:07 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
39782
39783	* win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.
39784
39785Mon Sep  8 17:46:09 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
39786
39787	* win32/win32.c (filetime_to_unixtime): remove unused variable.
39788	  [ruby-dev:36191]
39789
39790Mon Sep  8 13:47:39 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
39791
39792	* test/ruby/test_io.rb (TestIO#test_dup): add open in block.
39793	  see [ruby-dev:35957].
39794
39795Mon Sep  8 07:09:42 2008  Tadayoshi Funaba  <tadf@dotrb.org>
39796
39797	* complex.c: some adjustments.
39798
39799	* rational.c: ditto.
39800
39801Mon Sep  8 06:50:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
39802
39803	* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
39804	  mingw.
39805
39806Mon Sep  8 02:04:25 2008  Tanaka Akira  <akr@fsij.org>
39807
39808	* include/ruby/encoding.h (rb_econv_set_replacement): renamed from
39809	  rb_econv_set_replacemenet.
39810
39811	* transcode.c: follow the renaming.
39812
39813Mon Sep  8 01:10:41 2008  Tanaka Akira  <akr@fsij.org>
39814
39815	* tool/transcode-tblgen.rb (transcode_tblgen): log message refined.
39816
39817Mon Sep  8 00:58:04 2008  Tadayoshi Funaba  <tadf@dotrb.org>
39818
39819	* rational.c: removed unused code.
39820
39821Mon Sep  8 00:04:09 2008  Tanaka Akira  <akr@fsij.org>
39822
39823	* enc/trans/iso2022.trans: upcase to iso-2022-jp.
39824
39825	* enc/emacs_mule.c: ditto.
39826
39827Sun Sep  7 23:46:36 2008  Tanaka Akira  <akr@fsij.org>
39828
39829	* enc/trans/iso2022.trans: stateless-iso-2022-jp is defined to avoid
39830	  undefined conversion error between iso-2022-jp and the corresponding
39831	  stateless encoding.
39832
39833	* enc/emacs_mule.c: replicate emacs-mule as stateless-iso-2022-jp.
39834
39835Sun Sep  7 20:03:01 2008  Tanaka Akira  <akr@fsij.org>
39836
39837	* enc/trans/escape.trans (hexstr): renamed from str1.
39838
39839Sun Sep  7 19:45:31 2008  Tanaka Akira  <akr@fsij.org>
39840
39841	* enc/trans/escape.trans: use transcode_tblgen.
39842
39843	* tool/transcode-tblgen.rb: generate an empty line after str1.
39844
39845Sun Sep  7 19:16:38 2008  Tanaka Akira  <akr@fsij.org>
39846
39847	* tool/transcode-tblgen.rb (ActionMap#str_name): new method to
39848	  generate a name base on string content.
39849	  (ActionMap#gen_str): extracted from generate_info and use str_name.
39850
39851Sun Sep  7 18:28:05 2008  Tanaka Akira  <akr@fsij.org>
39852
39853	* tool/transcode-tblgen.rb (ActionMap#generate_info): use a memo to
39854	  avoid duplication for STR1.
39855
39856Sun Sep  7 18:10:28 2008  Tanaka Akira  <akr@fsij.org>
39857
39858	* transcode_data.h (STR1): defined for a string up to 255 bytes.
39859	  (STR1_BYTEINDEX): defined.
39860	  (makeSTR1): defined.
39861
39862	* tool/transcode-tblgen.rb: generate STR1.
39863
39864	* transcode.c (transcode_restartable0): interpret STR1.
39865
39866	* enc/trans/escape.trans (fun_so_escape_xml_chref): removed.  STR1 is
39867	  used instead.
39868
39869Sun Sep  7 17:54:45 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
39870
39871	* configure.in: Mac OS X's crypt(2) is broken with invalid salt.
39872	  [ruby-dev:35899]
39873	* string.c (rb_str_crypt): ditto.
39874
39875Sun Sep  7 17:29:49 2008  Tanaka Akira  <akr@fsij.org>
39876
39877	* tool/transcode-tblgen.rb: o4 is usable only if the first byte is
39878	  f0-f7.
39879
39880Sun Sep  7 12:44:26 2008  Tanaka Akira  <akr@fsij.org>
39881
39882	* io.c (make_writeconv): choose ASCII compatible encoding as
39883	  intermediate encoding if stateful encoder exists.
39884
39885Sun Sep  7 12:09:29 2008  Tanaka Akira  <akr@fsij.org>
39886
39887	* include/ruby/encoding.h (ECONV_XML_ATTR_CONTENT_ENCODER): defined.
39888	  (ECONV_STATEFUL_ENCODER_MASK): defined.
39889	  (ECONV_XML_ATTR_QUOTE_ENCODER): defined.
39890	  (ECONV_XML_ATTR_ENCODER): removed.
39891
39892	* enc/trans/escape.trans (rb_escape_xml_attr_content): defined.
39893	  (rb_escape_xml_attr_quote): defined.
39894	  (rb_escape_xml_attr): removed.
39895
39896	* io.c (NEED_WRITECONV): writeconv is required if supplemental
39897	  converter is used.
39898	  (make_writeconv): apply stateful encoder in writeconv.
39899
39900	* transcode.c: follow the constant change.
39901
39902Sun Sep  7 07:24:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39903
39904	* misc/*.el:  merged the following patches from Nathan Weizenbaum
39905	  <nex342 at gmail.com>.   [ruby-core:18424]
39906
39907	* misc/ruby-mode.el: improve here-doc performance.
39908
39909	* misc/ruby-mode.el: don't crash the whole mode if the Subversion
39910	  $ keyword isn't interpolated.
39911
39912	* misc/ruby-mode.el: don't highlight keywords when they're the
39913	  beginning of non-keyword symbols.
39914
39915	* misc/ruby-mode.el, misc/ruby-electric.el: use regexp-opt where
39916	  possible for more efficient regexps.
39917
39918	* misc/*.el: untabify, for internal consistency and consistency
39919	  with standard Emacs elisp files.
39920
39921	* misc/ruby-mode.el: fix a variable-name error.
39922
39923	* misc/emacs-mode.el: don't set case-fold-search globally to nil;
39924	  instead just set it when we need it.
39925
39926Sun Sep  7 06:31:51 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39927
39928	* file.c (file_expand_path): applied a patch from Nobuhiro Tachino
39929	  in [ruby-dev:35948].  fix #491
39930
39931Sun Sep  7 03:37:05 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39932
39933	* parse.y (f_block_optarg): allow default for block parameters as
39934	  long as the value is primary.  a patch from Eric Mahurin
39935	  <eric.mahurin at gmail.com> in [ruby-core:16880].
39936
39937Sun Sep  7 01:07:10 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39938
39939	* parse.y (yylex): "1.upto 2 {|i| p i }" should be syntax error.
39940	  [ruby-dev:36008]
39941
39942	* test/ruby/test_parse.rb (TestParse): update a test not to use
39943	  recently fixed inconsistent syntax.
39944
39945Sun Sep  7 00:37:25 2008  Tanaka Akira  <akr@fsij.org>
39946
39947	* include/ruby/encoding.h (ECONV_ERROR_HANDLER_MASK): defined.
39948	  (ECONV_DECODER_MASK): defined.
39949	  (ECONV_ENCODER_MASK): defined.
39950
39951	* io.c (make_writeconv): restrict ecflags for writeconv with
39952	  ECONV_ERROR_HANDLER_MASK.
39953
39954Sat Sep  6 23:03:41 2008  Tanaka Akira  <akr@fsij.org>
39955
39956	* include/ruby/encoding.h (ECONV_XML_TEXT_ENCODER): renamed from
39957	  ECONV_HTML_TEXT_ENCODER.
39958	  (ECONV_XML_ATTR_ENCODER): renamed from ECONV_HTML_ATTR_ENCODER.
39959
39960	* enc/trans/escape.trans: follow the renaming.
39961
39962	* transcode.c: ditto.
39963
39964Sat Sep  6 21:35:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
39965
39966	* ext/socket/mkconstants.rb: add some IPV6 constants. [ruby-dev:36175]
39967
39968Sat Sep  6 20:10:48 2008  Tanaka Akira  <akr@fsij.org>
39969
39970	* transcode.c (econv_description): show ECONV_HTML_TEXT_ENCODER and
39971	  ECONV_HTML_ATTR_ENCODER.
39972
39973Sat Sep  6 20:06:09 2008  Tanaka Akira  <akr@fsij.org>
39974
39975	* transcode.c (rb_econv_binmode): check actual transcoders.
39976
39977Sat Sep  6 19:54:25 2008  Tanaka Akira  <akr@fsij.org>
39978
39979	* transcode.c (rb_econv_open): fix last_tc.
39980
39981Sat Sep  6 19:36:34 2008  Tanaka Akira  <akr@fsij.org>
39982
39983	* io.c (rb_io_binmode): clear newline flags in writeconv_pre_ecflags.
39984
39985Sat Sep  6 18:47:40 2008  Tanaka Akira  <akr@fsij.org>
39986
39987	* transcode.c (str_transcode0): check ECONV_HTML_TEXT_ENCODER and
39988	  ECONV_HTML_ATTR_ENCODER.
39989
39990Sat Sep  6 18:38:47 2008  Tanaka Akira  <akr@fsij.org>
39991
39992	* transcode.c (allocate_converted_string): fix overflow condition.
39993
39994Sat Sep  6 15:06:21 2008  Tanaka Akira  <akr@fsij.org>
39995
39996	* transcode.c (sym_html): new variable.
39997	  (sym_text): ditto.
39998	  (sym_attr): ditto.
39999	  (econv_opts): check :html=>:text and :html=>:attr.
40000	  (Init_transcode): initialize the above variables.
40001
40002Sat Sep  6 14:46:12 2008  Tanaka Akira  <akr@fsij.org>
40003
40004	* include/ruby/encoding.h (ECONV_HTML_TEXT_ENCODER): new constant.
40005	  (ECONV_HTML_ATTR_ENCODER): ditto.
40006
40007	* transcode.c (rb_econv_open): check ECONV_HTML_TEXT_ENCODER and
40008	  ECONV_HTML_ATTR_ENCODER.
40009	  (Init_transcode): Encoding::Converter::HTML_TEXT_ENCODER and
40010	  Encoding::Converter::HTML_ATTR_ENCODER defined.
40011
40012Sat Sep  6 14:15:25 2008  Tanaka Akira  <akr@fsij.org>
40013
40014	* transcode.c (struct trans_open_t): defined to pass num_additional.
40015	  (trans_open_i): use struct trans_open_t.
40016	  (rb_econv_open): ditto.
40017
40018Sat Sep  6 13:43:20 2008  Tanaka Akira  <akr@fsij.org>
40019
40020	* enc/trans/escape.trans (fun_so_escape_html_attr): fix return type.
40021
40022Sat Sep  6 12:43:55 2008  Tanaka Akira  <akr@fsij.org>
40023
40024	* transcode.c (rb_econv_open): needless branch removed.
40025
40026Sat Sep  6 12:38:34 2008  Tanaka Akira  <akr@fsij.org>
40027
40028	* transcode.c (rb_econv_open): test condition simplified.
40029
40030Sat Sep  6 12:25:31 2008  Tanaka Akira  <akr@fsij.org>
40031
40032	* transcode.c (stateless_encoding_i): ignore supplemental conversions.
40033	  Encoding::Converter.stateless_encoding("html-attr-escaped") should be
40034	  nil.
40035
40036Sat Sep  6 12:19:36 2008  Tanaka Akira  <akr@fsij.org>
40037
40038	* enc/trans/escape.trans (escape_html_attr_init): new function.
40039	  (fun_so_escape_html_attr): new function.
40040	  (escape_html_attr_finish): new function.
40041	  (rb_escape_html_attr): use them to quote the converted result.
40042
40043Sat Sep  6 07:54:36 2008  Tadayoshi Funaba  <tadf@dotrb.org>
40044
40045	* complex.c: uses f_real_p macro.
40046
40047Sat Sep  6 07:27:00 2008  Tanaka Akira  <akr@fsij.org>
40048
40049	* transcode.c (rb_econv_open): fail for ASCII incompatible with
40050	  newline conversion.
40051
40052Sat Sep  6 07:24:49 2008  Tanaka Akira  <akr@fsij.org>
40053
40054	* io.c (rb_io_extract_modeenc): raise an error for ASCII incompatible
40055	  encoding without binmode.
40056
40057Sat Sep  6 07:12:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
40058
40059	* bignum.c (bigdivrem1): optimization by skipping zeros at the
40060	  tail of digits.  a patch from TOYOFUKU Chikanobu
40061	  <nobu_toyofuku at nifty.com> in [ruby-dev:36169].
40062
40063Sat Sep  6 06:28:46 2008  Tanaka Akira  <akr@fsij.org>
40064
40065	* enc/trans/escape.trans: new file.
40066
40067Sat Sep  6 06:23:27 2008  Tanaka Akira  <akr@fsij.org>
40068
40069	* tool/transcode-tblgen.rb (StrSet.parse): accept upper case
40070	  hexadecimal digits.
40071
40072Sat Sep  6 05:37:08 2008  Tanaka Akira  <akr@fsij.org>
40073
40074	* transcode.c (output_hex_charref): upcase hexadecimal digits.
40075
40076Sat Sep  6 05:22:29 2008  Tanaka Akira  <akr@fsij.org>
40077
40078	* include/ruby/encoding.h (ECONV_UNDEF_HEX_CHARREF): defined.
40079
40080	* transcode.c (output_hex_charref): new function.
40081	  (rb_econv_convert): call output_hex_charref if
40082	  ECONV_UNDEF_HEX_CHARREF.
40083	  (Init_transcode): Encoding::Converter::UNDEF_HEX_CHARREF added.
40084
40085Sat Sep  6 03:52:47 2008  Tanaka Akira  <akr@fsij.org>
40086
40087	* transcode.c (rb_econv_convert): use ECONV_INVALID_MASK and
40088	  ECONV_UNDEF_MASK.
40089
40090Sat Sep  6 06:05:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
40091
40092	* include/ruby/ruby.h (DBL2NUM): renamed from DOUBLE2NUM.
40093	  a patch from Tadashi Saito <shiba at mail2.accsnet.ne.jp>
40094	  in [ruby-dev:36102].
40095
40096Sat Sep  6 04:44:06 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
40097
40098	* proc.c (Init_Proc): add '===' operator to use procs in when
40099	  clause of the case statement.  inspired by <http://www.aimred.com/news/developers/2008/08/14/unlocking_the_power_of_case_equality_proc/>.
40100
40101Sat Sep  6 03:18:17 2008  Tanaka Akira  <akr@fsij.org>
40102
40103	* transcode.c (allocate_converted_string): add arguments for a buffer
40104	  allocated by caller.
40105	  (rb_econv_insert_output): provide caller allocated buffer to
40106	  allocate_converted_string.
40107
40108Sat Sep  6 02:58:53 2008  Tanaka Akira  <akr@fsij.org>
40109
40110	* transcode.c (str_transcode_enc_args): local variables renamed.
40111	  (str_transcode0): ditto.
40112
40113Sat Sep  6 02:23:18 2008  Tanaka Akira  <akr@fsij.org>
40114
40115	* transcode.c (econv_s_stateless_encoding): new method.
40116
40117Sat Sep  6 02:01:59 2008  Tanaka Akira  <akr@fsij.org>
40118
40119	* transcode.c (enc_arg): extracted from str_transcode_enc_args.
40120	  (str_transcode_enc_args): use enc_arg.
40121
40122Fri Sep  5 20:27:17 2008  Tanaka Akira  <akr@fsij.org>
40123
40124	* include/ruby/io.h (rb_io_modestr_fmode): renamed from
40125	  rb_io_mode_flags.
40126	  (rb_io_modestr_oflags): renamed from rb_io_mode_modenum.
40127	  (rb_io_oflags_fmode): renamed from rb_io_modenum_flags.
40128	  (rb_io_mode_flags): defined as a macro.
40129	  (rb_io_modenum_flags): ditto.
40130
40131	* io.c: follow the renaming with consistency.
40132
40133	* process.c (check_exec_redirect): call rb_io_modestr_oflags.
40134
40135	* ext/pty/depend: pty.o depends on io.h.
40136
40137Fri Sep  5 20:12:23 2008  Tanaka Akira  <akr@fsij.org>
40138
40139	* enc/trans/newline.trans (universal_newline_finish): new function.
40140
40141Fri Sep  5 20:07:37 2008  Tanaka Akira  <akr@fsij.org>
40142
40143	* include/ruby/io.h (rb_io_mode_modenum): moved from
40144	  include/ruby/intern.h.
40145
40146Fri Sep  5 19:59:26 2008  Tanaka Akira  <akr@fsij.org>
40147
40148	* io.c (MODENUM_MAX): removed.
40149
40150Fri Sep  5 18:37:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40151
40152	* io.c (copy_stream_fallback_body): use read method unless readpartial
40153	  is available.  [ruby-dev:36124]
40154
40155Fri Sep  5 18:16:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40156
40157	* ext/iconv/iconv.c (iconv_create): strips glibc style option before
40158	  charset mapping.  retries without options if they seemed causing
40159	  error, and warns.  [ruby-dev:36147]
40160
40161Fri Sep  5 03:09:48 2008  Koichi Sasada  <ko1@atdot.net>
40162
40163	* iseq.c (iseq_data_to_ary): make it static.
40164
40165	* thread.c (thgroup_enclose): ditto.
40166
40167Fri Sep  5 02:56:37 2008  Koichi Sasada  <ko1@atdot.net>
40168
40169	* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
40170	  make it static.
40171
40172Fri Sep  5 02:40:38 2008  Koichi Sasada  <ko1@atdot.net>
40173
40174	* thread.c (rb_thread_critical): removed.
40175
40176Fri Sep  5 01:22:23 2008  Tanaka Akira  <akr@fsij.org>
40177
40178	* io.c (argf_mark): mark p->encs.ecopts.
40179
40180Fri Sep  5 00:45:07 2008  Tanaka Akira  <akr@fsij.org>
40181
40182	* transcode_data.h (rb_transcoder): rename fields:
40183	  from_encoding -> src_encoding, to_encoding -> dst_encoding.
40184
40185	* transcode.c: follow the renaming.
40186
40187Fri Sep  5 00:22:34 2008  Tanaka Akira  <akr@fsij.org>
40188
40189	* transcode.c: variables renamed for consistency.
40190
40191Fri Sep  5 00:05:27 2008  Tanaka Akira  <akr@fsij.org>
40192
40193	* pack.c (encodes): make buff fixed length to avoid SEGV by
40194	  ruby -e '["a"*10000000].pack("m1000000000")'
40195
40196Thu Sep  4 23:47:05 2008  Yusuke Endoh  <mame@tsg.ne.jp>
40197
40198	* ext/bigdecimal/bigdecimal.c (BigDecimal_mode): set exception mode
40199	  correctly.  In spite of BigDecimal.mode(BigDecimal::EXCEPTION_ALL,
40200	  true), BigDecimal.new("NaN") did not raise an exception previously.
40201
40202Thu Sep  4 23:42:42 2008  Tanaka Akira  <akr@fsij.org>
40203
40204	* include/ruby/intern.h (rb_file_open_str): declared.
40205
40206	* io.c (rb_file_open_str): defined.
40207
40208	* ext/zlib/zlib.c (gzfile_s_open): use rb_file_open_str instead of
40209	  rb_file_open.
40210
40211Thu Sep  4 23:18:55 2008  Tanaka Akira  <akr@fsij.org>
40212
40213	* enc/trans/newline.trans: record newline types met in universal
40214	  newline decoder.
40215
40216Thu Sep  4 23:05:54 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40217
40218	* lib/prime.rb (Prime::OldCompatibility#each): added compatibility to
40219	    Ruby 1.8.7.
40220	  (Prime#each): added more rdocs.
40221	  (Prime#each): remembers the last value of the given block.
40222
40223Thu Sep  4 21:53:58 2008  Tanaka Akira  <akr@fsij.org>
40224
40225	* transcode.c (econv_init): accept an integer as 3rd argument as well.
40226
40227Thu Sep  4 21:46:21 2008  Tanaka Akira  <akr@fsij.org>
40228
40229	* transcode.c (sym_partial_input): new variable.
40230	  (econv_primitive_convert): accept a hash as 5th argument as well.
40231
40232Thu Sep  4 21:04:27 2008  Tanaka Akira  <akr@fsij.org>
40233
40234	* transcode.c (sym_universal_newline_decoder): new variable.
40235	  (sym_crlf_newline_encoder): ditto.
40236	  (sym_cr_newline_encoder): ditto.
40237	  (econv_opts): check newline converter options.
40238	  (econv_init): make 3rd argument hash/nil only.
40239
40240Thu Sep  4 21:03:28 2008  Koichi Sasada  <ko1@atdot.net>
40241
40242	* vm_dump.c: rename some debug functions.
40243
40244Thu Sep  4 20:57:54 2008  Koichi Sasada  <ko1@atdot.net>
40245
40246	* thread.c (rb_thread_check_trap_pending): added for compatibility.
40247
40248	* ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: remove ruby/signal.h
40249	  dependency.
40250
40251Thu Sep  4 20:30:24 2008  Tanaka Akira  <akr@fsij.org>
40252
40253	* transcode_data.h (PType): defined unconditionally.
40254
40255	* transcode.c (PType): don't define here.
40256
40257Thu Sep  4 20:19:36 2008  Tanaka Akira  <akr@fsij.org>
40258
40259	* io.c: variables renamed for consistency.
40260
40261Thu Sep  4 19:40:50 2008  Narihiro Nakamura  <authorNari@gmail.com>
40262
40263	* gc.c (gc_profile_record_get): to static function.
40264	  (gc_profile_result): ditto.
40265	  (gc_profile_report): ditto.
40266
40267Thu Sep  4 19:20:24 2008  Tanaka Akira  <akr@fsij.org>
40268
40269	* include/ruby/io.h (rb_io_enc_t): rename flags to ecflags.
40270	  (rb_io_t): rename writeconv_pre_flags to writeconv_pre_ecflags.
40271	  (MakeOpenFile): follow the renaming.
40272
40273	* io.c: follow the renaming.
40274
40275Thu Sep  4 19:10:27 2008  Tanaka Akira  <akr@fsij.org>
40276
40277	* include/ruby/encoding.h (ECONV_INVALID_IGNORE): removed because
40278	  it tend to cause security problem.  If the behaviour is really
40279	  required, ECONV_INVALID_REPLACE with empty string can be used.
40280	  For example, CVE-2006-2313, CVE-2008-1036, [ruby-core:15645],
40281	  http://unicode.org/reports/tr36/
40282	  (ECONV_UNDEF_IGNORE): ditto.
40283
40284	* transcode.c (rb_econv_convert): follow the above change.
40285	  (econv_opts): ditto.
40286	  (Init_transcode): ditto.
40287
40288Thu Sep  4 13:22:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40289
40290	* vm_core.h (struct rb_vm_struct): replaced signal staff with trap
40291	  staff.
40292
40293	* signal.c (signal_buff): per process resource now.
40294
40295	* signal.c (trap_list): moved to VM.
40296
40297	* signal.c (rb_get_next_signal): reverted.
40298
40299	* signal.c (rb_trap_exit): trap_pending_list was no longer used.
40300
40301	* thread.c (timer_thread_function): delivers buffered per-process
40302	  signals to each VMs.
40303
40304	* vm.c (rb_vm_mark): marks trap_list.
40305
40306Thu Sep  4 13:01:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40307
40308	* io.c (struct sysopen_struct, rb_sysopen_internal, rb_sysopen):
40309	  constified.
40310
40311	* io.c: expanded ARGF members macros.
40312
40313Thu Sep  4 10:43:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40314
40315	* tool/transcode-tblgen.rb (citrus_decode_mapsrc): support older 1.8.
40316
40317Thu Sep  4 10:33:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40318
40319	* io.c (argf_next_argv, argf_set_encoding): copy struct wise.
40320
40321Thu Sep  4 09:46:18 2008  Tanaka Akira  <akr@fsij.org>
40322
40323	* io.c (rb_scan_open_args): follow rb_str_transcode change.
40324
40325Thu Sep  4 08:59:29 2008  Tanaka Akira  <akr@fsij.org>
40326
40327	* file.c (rb_find_file): fix GC problem on Debian GNU/Linux (IA64)
40328	  with gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
40329	  There is no register/memory to contain load_path.  A register (r35)
40330	  contains &RARRAY_PTR(load_path), (char*)load_path + 32.
40331
40332Thu Sep  4 03:10:05 2008  Tanaka Akira  <akr@fsij.org>
40333
40334	* include/ruby/io.h (rb_io_t): new fields: encs.ecopts and
40335	  writeconv_pre_ecopts.
40336	  (MakeOpenFile): initialize them.
40337
40338	* include/ruby/encoding.h (rb_str_transcode): take ecopts argument.
40339	  (rb_econv_flags): removed.
40340	  (rb_econv_prepare_opts): declared.
40341	  (rb_econv_open_opts): declared.
40342
40343	* io.c (make_writeconv): use rb_econv_open_opts.
40344	  (make_readconv): ditto.
40345	  (io_fwrite): follow rb_str_transcode change.
40346	  (rb_io_extract_modeenc): use rb_econv_prepare_opts.
40347	  (rb_file_open_generic): initialize encs.ecopts.
40348	  (rb_file_open_internal): ditto.
40349	  (rb_io_reopen): ditto.
40350	  (argf_ecopts): defined.
40351	  (argf_next_argv): set encs.ecopts.
40352	  (io_encoding_set): use rb_econv_prepare_opts.
40353	  (argf_set_encoding): set argf_ecopts.
40354
40355	* gc.c (gc_mark_children): mark encs.ecopts and writeconv_pre_ecopts
40356	  in T_FILE.
40357
40358	* transcode.c (transcode_loop): take ecopts argument. use
40359	  rb_econv_open_opts.
40360	  (rb_econv_flags): removed.
40361	  (rb_econv_prepare_opts): defined.
40362	  (rb_econv_open_opts): defined.
40363	  (str_transcode0): take ecopts.
40364	  (str_transcode): use rb_econv_prepare_opts.
40365	  (rb_str_transcode): take ecopts.
40366	  (econv_init): accept hash argument.
40367	  (econv_insert_output): follow rb_str_transcode change.
40368
40369Thu Sep  4 01:30:26 2008  Tanaka Akira  <akr@fsij.org>
40370
40371	* include/ruby/encoding.h (rb_econv_set_replacemenet): declared.
40372
40373	* transcode.c (rb_econv_t): new fields: replacement_str,
40374	  replacement_len, replacement_enc and replacement_allocated.
40375	  (get_replacement_character): make len as size_t.
40376	  (rb_econv_open_by_transcoder_entries): initialize the new fields.
40377	  (rb_econv_close): deallocate replacement_str if it allocated.
40378	  (make_replacement): new function.
40379	  (output_replacement_character): use make_replacement.
40380	  (rb_econv_set_replacemenet): defined.
40381	  (econv_get_replacement): new method.
40382	  (econv_set_replacement): new method.
40383
40384Thu Sep  4 01:12:03 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40385
40386	* win32/win32.c (filetime_to_timeval): new function, split from
40387	  gettimeofday().
40388
40389	* win32/win32.c (gettimeofday): use above function.
40390
40391	* win32/win32.c (filetime_to_unixtime): ditto. [ruby-dev:36135]
40392
40393Thu Sep  4 01:00:57 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40394
40395	* transcode.c (transcode_restartable0): avoid VC++6's bug.
40396
40397Thu Sep  4 00:26:27 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40398
40399	* io.c (make_writeconv): follow akr's previous commit.
40400
40401Thu Sep  4 00:09:05 2008  Tanaka Akira  <akr@fsij.org>
40402
40403	* include/ruby/encoding.h (rb_econv_option_t): removed.  Since
40404	  rb_econv_option_t has only one field, int flags, rb_econv_option_t is
40405	  replaced by int.
40406
40407	* include/ruby/io.h: follow the above change.
40408
40409	* io.c: ditto.
40410
40411	* transcode.c: ditto.
40412
40413Thu Sep  4 00:04:59 2008  Koichi Sasada  <ko1@atdot.net>
40414
40415	* win32/win32.c: fix ruby/signal.h depending codes.
40416
40417Thu Sep  4 00:01:45 2008  Yusuke Endoh  <mame@tsg.ne.jp>
40418
40419	* test/etc/test_etc.rb (test_getpwuid, test_getgrgid): use
40420	  Process.euid and egid instead of Etc.getlogin to identify current
40421	  user which may be different from a login one (e.g., su command).
40422
40423Wed Sep  3 23:52:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
40424
40425	* test/etc/test_etc.rb: check only typical use of
40426	  setpwent/getpwent/endpwent and setgrent/getgrent/endgrent.
40427
40428Wed Sep  3 23:33:09 2008  Tanaka Akira  <akr@fsij.org>
40429
40430	* transcode.c (rb_transcoding): moved from transcode_data.h.
40431	  (TRANSCODING_READBUF): ditto.
40432	  (TRANSCODING_WRITEBUF): ditto.
40433	  (TRANSCODING_STATE_EMBED_MAX): ditto.
40434	  (TRANSCODING_STATE): ditto.
40435
40436Wed Sep  3 23:03:37 2008  Tanaka Akira  <akr@fsij.org>
40437
40438	* transcode_data.h (rb_transcoding): remove stateful field.
40439	  add state field.
40440	  (TRANSCODING_STATE): defined.
40441	  (rb_transcoder): add fields: state_size, state_init_func,
40442	  state_fini_func.
40443	  change rb_transcoding* argument to void*.
40444
40445	* transcode.c (transcode_restartable0): use TRANSCODING_STATE for
40446	  first arguments of transcoder functions.
40447	  (rb_transcoding_open_by_transcoder): initialize state field.
40448	  (rb_transcoding_close): finalize state field.
40449
40450	* tool/transcode-tblgen.rb: provide state size/init/fini.
40451
40452	* enc/trans/newline.trans (universal_newline_init): defined.
40453	  (fun_so_universal_newline): take void* as a state pointer.
40454	  (rb_universal_newline): provide state size/init/fini.
40455	  (rb_crlf_newline): ditto.
40456	  (rb_cr_newline): ditto.
40457
40458	* enc/trans/iso2022.trans (iso2022jp_init): defined.
40459	  (fun_si_iso2022jp_to_eucjp): take void* as a state pointer.
40460	  (fun_so_iso2022jp_to_eucjp): ditto.
40461	  (fun_so_eucjp_to_iso2022jp): ditto.
40462	  (iso2022jp_reset_sequence_size): ditto.
40463	  (finish_eucjp_to_iso2022jp): ditto.
40464	  (rb_ISO_2022_JP_to_EUC_JP): provide state size/init/fini.
40465	  (rb_EUC_JP_to_ISO_2022_JP): ditto.
40466
40467	* enc/trans/utf_16_32.trans (fun_so_from_utf_16be): take void* as a
40468	  state pointer.
40469	  (fun_so_to_utf_16be): ditto.
40470	  (fun_so_from_utf_16le): ditto.
40471	  (fun_so_to_utf_16le): ditto.
40472	  (fun_so_from_utf_32be): ditto.
40473	  (fun_so_to_utf_32be): ditto.
40474	  (fun_so_from_utf_32le): ditto.
40475	  (fun_so_to_utf_32le): ditto.
40476	  (rb_from_UTF_16BE): provide state size/init/fini.
40477	  (rb_to_UTF_16BE): ditto.
40478	  (rb_from_UTF_16LE): ditto.
40479	  (rb_to_UTF_16LE): ditto.
40480	  (rb_from_UTF_32BE): ditto.
40481	  (rb_to_UTF_32BE): ditto.
40482	  (rb_from_UTF_32LE): ditto.
40483	  (rb_to_UTF_32LE): ditto.
40484
40485	* enc/trans/japanese.trans (fun_so_eucjp2sjis): take void* as a state
40486	  pointer.
40487	  (fun_so_sjis2eucjp): ditto.
40488	  (rb_eucjp2sjis): provide state size/init/fini.
40489	  (rb_sjis2eucjp): provide state size/init/fini.
40490
40491Wed Sep  3 22:31:11 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40492
40493	* lib/mathn.rb (Integer): moved into prime.rb.
40494	  (Prime): ditto.
40495
40496	* lib/prime.rb (Integer): moved from mathn.rb.
40497	  (Integer.each_prime): added.
40498	  (Integer#prime?): added.
40499	  (Prime): moved from mathn.rb.
40500	    Its implementation was rewritten. see [ruby-dev:35863].
40501	    And patched by Keiju ISHITSUKA <keiju@ishitsuka.com>,
40502	    see [ruby-dev:36128].
40503	  (Prime.new):                     obsolete.
40504	  (Prime.instance):                added.
40505	  (Prime.each):                    added.
40506	  (Prime.int_from_prime_division): added.
40507	  (Prime.prime_division):          added.
40508	  (Prime.prime?):                  added.
40509	    Patch by TOYOFUKU Chikanobu
40510	    <nobu_toyofuku at nifty.com> in [ruby-dev:36067].
40511	  (Prime.cache):                   removed.
40512	  (Prime.primes):                  removed.
40513	  (Prime.primes_so_far):           removed.
40514	  (Prime#int_from_prime_division): added.
40515	  (Prime#prime_division):          added.
40516	  (Prime#prime?):                  added.
40517	  (Prime#primes):                  removed.
40518	  (Prime#primes_so_far):           removed.
40519	  (Prime::PseudoPrmeGenerator):    added.
40520	  (Prime::EratosthenesGenerator):  added.
40521	  (Prime::TrialDivisionGenerator): added.
40522	  (Prime::Generator23):            added.
40523	  (Prime::TrialDivision):          added.
40524	    Extracted from the previous implementation of Prime
40525	    by Keiju ISHITSUKA.
40526	  (Prime::EratosthenesSieve):      added.
40527
40528	* lib/.document (prime.rb): added
40529
40530	* lib/README (prime.rb): added
40531
40532	* test/test_prime.rb: added.
40533
40534Wed Sep  3 21:49:00 2008  David A. Black  <dblack@rubypal.com>
40535
40536	* lib/scanf.rb: fixed bug involving matching literal '['
40537
40538	* test/scanf/test_scanf.rb: added test for scanf.rb fix
40539
40540Wed Sep  3 21:31:59 2008  Tanaka Akira  <akr@fsij.org>
40541
40542	* transcode_data.h (WORDINDEX_SHIFT_BITS): defined.
40543	  (WORDINDEX2INFO): defined.
40544	  (INFO2WORDINDEX): defined.
40545
40546	* tool/transcode-tblgen.rb: use WORDINDEX2INFO.
40547
40548	* transcode.c: use INFO2WORDINDEX.
40549
40550Wed Sep  3 21:19:51 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
40551
40552	* golf_prelude.rb: suppress warnings when goruby -v.
40553
40554Wed Sep  3 21:07:30 2008  Tanaka Akira  <akr@fsij.org>
40555
40556	* transcode.c (BL_MIN_BYTE): defined.
40557	  (BL_MAX_BYTE): defined.
40558	  (BL_OFFSET): defined.
40559	  (BL_ACTION): defined.
40560	  (transcode_restartable0): use BL_MIN_BYTE, BL_MAX_BYTE and
40561	  BL_ACTION.
40562
40563Wed Sep  3 20:58:30 2008  Tanaka Akira  <akr@fsij.org>
40564
40565	* transcode.c (BYTE_ADDR): defined.
40566	  (WORD_ADDR): ditto.
40567	  (BL_BASE): use BYTE_ADDR and WORD_ADDR.
40568	  (BL_INFO): use WORD_ADDR.
40569
40570Wed Sep  3 20:47:31 2008  Tanaka Akira  <akr@fsij.org>
40571
40572	* transcode_data.h (rb_transcoder): new field: byte_array_length and
40573	  word_array_length.
40574
40575	* tool/transcode-tblgen.rb (transcode_generated_code): generate
40576	  byte_array_length and word_array_length.
40577
40578Wed Sep  3 20:34:10 2008  Tanaka Akira  <akr@fsij.org>
40579
40580	* tool/transcode-tblgen.rb (ArrayCode): new class.
40581	  (ActionMap#gen_array_code): moved to ArrayCode.
40582	  (ActionMap#numelt_array_code): ditto.
40583	  (ActionMap#array_code_insert_at_last): ditto.
40584	  (TRANSCODE_GENERATED_BYTES_CODE): use ArrayCode.
40585	  (TRANSCODE_GENERATED_WORDS_CODE): ditto.
40586
40587Wed Sep  3 20:08:35 2008  Tanaka Akira  <akr@fsij.org>
40588
40589	* enc/trans/japanese.trans: new file.
40590
40591Wed Sep  3 20:04:33 2008  Tanaka Akira  <akr@fsij.org>
40592
40593	* tool/transcode-tblgen.rb (ActionMap#gen_array_code): extracted from
40594	  generate_lookup_node.
40595	  (ActionMap#numelt_array_code): ditto.
40596	  (ActionMap#array_code_insert_at_last): ditto.
40597
40598Wed Sep  3 20:01:01 2008  Tanaka Akira  <akr@fsij.org>
40599
40600	* parse.y (parser_encoding_name): defined.
40601	  (parser_tokadd_mbchar): show encoding in the message of
40602	  "invalid multibyte char" error.
40603
40604Wed Sep  3 19:28:04 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40605
40606	* vm_insnhelper.c (vm_method_missing): C99.
40607
40608Wed Sep  3 19:18:12 2008  Koichi Sasada  <ko1@atdot.net>
40609
40610	* test/ruby/test_thread.rb: fix test.
40611	   [ruby-dev:35960]
40612
40613Wed Sep  3 17:48:32 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40614
40615	* enc/trans/make_transdb.rb: check $(srcdir)/enc/trans before
40616	  enc/trans.
40617
40618	* enc/trans/make_transdb.rb: keep names_t.
40619
40620Wed Sep  3 16:54:46 2008  Koichi Sasada  <ko1@atdot.net>
40621
40622	* include/ruby/signal.h: removed.
40623
40624	* common.mk, class.c, eval.c, eval_intern.h, file.c, gc.c, hash.c,
40625	  io.c, process.c, signal.c: vm_core.h: ditto.
40626	  Some unused external global variables are also removed.
40627	 (rb_prohibit_interrupt, rb_trap_immediate, rb_trap_pending,
40628	  rb_thread_critical)
40629
40630	* ext/openssl/ossl_ssl.c, ext/openssl/ossl_x509store.c,
40631	  ext/readline/readline.c, ext/socket/depend,
40632	  ext/socket/socket.c: ditto.
40633
40634Wed Sep  3 00:23:25 2008  Yusuke Endoh  <mame@tsg.ne.jp>
40635
40636	* vm_insnhelper.c (vm_method_missing): copy arguments to allocated
40637	  memory from machine stack.  [ruby-dev:36064]
40638
40639Tue Sep  2 22:20:26 2008  Tanaka Akira  <akr@fsij.org>
40640
40641	* transcode_data.h (base_element): removed.
40642	  (BYTE_LOOKUP): removed.
40643	  (BYTE_LOOKUP_BASE): don't cast.
40644	  (BYTE_LOOKUP_INFO): ditto.
40645	  (PType): unsigned int, instead of uintptr_t.
40646	  (rb_transcoding): change type of next_field, conv_tree_start and
40647	  word_array.
40648
40649	* tool/transcode-tblgen.rb: generate word_array as array of unsigned
40650	  int.
40651
40652	* transcode.c (transcode_restartable0): follow the above type change.
40653
40654Tue Sep  2 21:22:22 2008  Tanaka Akira  <akr@fsij.org>
40655
40656	* tool/transcode-tblgen.rb: add prefix for byte_array and word_array.
40657
40658Tue Sep  2 20:57:14 2008  Tanaka Akira  <akr@fsij.org>
40659
40660	* enc/trans/make_transdb.rb: check foo.c only if foo.trans exists.
40661
40662Tue Sep  2 19:19:55 2008  Tanaka Akira  <akr@fsij.org>
40663
40664	* enc/trans/make_transdb.rb: error message improved.
40665
40666Tue Sep  2 14:05:50 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40667
40668	* enc/trans/utf_16_32.trans (from_UTF_8): rename from to_UTF_16BE
40669	  because it was not collect.
40670
40671Tue Sep  2 14:00:54 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40672
40673	* enc/emacs_mule.c (svn:executable): dropped executable bit.
40674
40675	* enc/make_encdb.rb (svn:executable): ditto.
40676
40677Tue Sep  2 12:58:58 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40678
40679	* win32/Makefile.sub (COMPILERFLAG): new compiler flag to compile
40680	  enc/trans/japanese*.c.
40681
40682Tue Sep  2 12:37:10 2008  Tanaka Akira  <akr@fsij.org>
40683
40684	* enc/trans/japanese_euc.trans: splitted from japanese.trans to avoid
40685	  compiler limitation.  reported by usa.
40686
40687	* enc/trans/japanese_sjis.trans: ditto.
40688
40689Tue Sep  2 12:31:24 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40690
40691	* win32/Makefile.sub (miniruby): new target.
40692
40693Tue Sep  2 11:47:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40694
40695	* marshal.c (struct load_arg): data is now st_table.
40696
40697	* marshal.c (mark_load_arg): marks data and compat_tbl.
40698
40699	* marshal.c (r_object0): no need to check if reentered.
40700
40701	* marshal.c (marshal_load): make the wrapper with mark_load_arg.
40702
40703Tue Sep  2 10:49:18 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40704
40705	* win32/win32.c (gettimeofday): easier calculation. use the definition
40706	  of the Gregorian calendar.
40707
40708Tue Sep  2 10:33:12 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40709
40710	* common.mk (distclean-golf): moved golf_prelude.c here from
40711	    distclean-local.
40712	  (GOLFPRELUDE): added.
40713	  (distclean-local): moved golf_prelude.c into distclean-golf.
40714
40715Tue Sep  2 10:09:17 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40716
40717	* win32/win32.c (gettimeofday): calc tv_sec and tv_usec from system
40718	  time by myself. [ruby-dev:36084]
40719
40720Tue Sep  2 04:00:37 2008  Tanaka Akira  <akr@fsij.org>
40721
40722	* transcode_data.h (o3): prevent sign extension on 64bit environment.
40723	  (o4): ditto.
40724
40725Tue Sep  2 03:26:24 2008  Tanaka Akira  <akr@fsij.org>
40726
40727	* tool/transcode-tblgen.rb: comment removed in generated code.
40728
40729Tue Sep  2 03:16:42 2008  Tanaka Akira  <akr@fsij.org>
40730
40731	* tool/transcode-tblgen.rb: define TRANSCODE_TABLE_INFO in generated
40732	  code.  use it in rb_transcoder.
40733
40734	* enc/trans/newline.trans: use TRANSCODE_TABLE_INFO.
40735
40736	* enc/trans/iso2022.trans: ditto.
40737
40738	* enc/trans/utf_16_32.trans: ditto.
40739
40740Tue Sep  2 03:04:33 2008  Tanaka Akira  <akr@fsij.org>
40741
40742	* tool/transcode-tblgen.rb: record infos and BYTE_LOOKUPs as index of
40743	  word_array to avoid relocation.
40744
40745	* transcode.c (transcode_restartable0): add word_array to get infos
40746	  and BYTE_LOOKUPs.
40747
40748	* transcode_data.h (BYTE_LOOKUP_INFO): change return type to
40749	  uintptr_t.
40750
40751Tue Sep  2 02:48:30 2008  Tanaka Akira  <akr@fsij.org>
40752
40753	* tool/transcode-tblgen.rb: don't need to cast offsets array.
40754
40755Tue Sep  2 02:36:20 2008  Tanaka Akira  <akr@fsij.org>
40756
40757	* tool/transcode-tblgen.rb: record offsets array as index of
40758	  byte_array to avoid relocation.
40759
40760	* transcode.c (transcode_restartable0): add byte_array to get offsets
40761	  array.
40762
40763	* transcode_data.h (BYTE_LOOKUP_BASE): change return type to
40764	  uintptr_t.
40765	  (rb_transcoder): add fields: byte_array, word_array and word_size.
40766
40767	* enc/trans/newline.trans: follow rb_transcoder change.
40768
40769	* enc/trans/iso2022.trans: ditto.
40770
40771	* enc/trans/utf_16_32.trans: ditto.
40772
40773Tue Sep  2 02:05:14 2008  Tanaka Akira  <akr@fsij.org>
40774
40775	* tool/transcode-tblgen.rb: make infos arrays and BYTE_LOOKUPs into
40776	  single array.
40777
40778Tue Sep  2 01:47:44 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40779
40780	* common.mk (clean-golf): added.
40781	  (distclean-golf): added.
40782	  (realclean-golf): added.
40783	  (clean): added clean-golf.
40784	  (distclean): added distclean-golf.
40785	  (realclean): added realclean-golf.
40786
40787Tue Sep  2 01:31:45 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40788
40789	* common.mk (realclean-local): added newline.c.
40790
40791Tue Sep  2 01:19:15 2008  Tanaka Akira  <akr@fsij.org>
40792
40793	* transcode_data.h (BYTE_LOOKUP): change to uintptr_t array.
40794	  (BYTE_LOOKUP_BASE): follow the type change.
40795	  (BYTE_LOOKUP_INFO): ditto.
40796	  (PType): ditto.
40797	  (rb_transcoding): ditto.
40798
40799	* tool/transcode-tblgen.rb: follow the type change.
40800
40801	* transcode.c: ditto.
40802
40803	* enc/trans/newline.trans: ditto.
40804
40805	* enc/trans/iso2022.trans: ditto.
40806
40807	* enc/trans/utf_16_32.trans: ditto.
40808
40809Mon Sep  1 23:32:46 2008  Tanaka Akira  <akr@fsij.org>
40810
40811	* transcode_data.h (BYTE_LOOKUP_BASE): abstract accessor for
40812	  BYTE_LOOKUP.
40813	  (BYTE_LOOKUP_INFO): ditto.
40814
40815	* transcode.c (transcode_restartable0): use BYTE_LOOKUP_BASE and
40816	  BYTE_LOOKUP_INFO.
40817
40818Mon Sep  1 23:14:25 2008  Tanaka Akira  <akr@fsij.org>
40819
40820	* tool/transcode-tblgen.rb: gather infos arrays and BYTE_LOOKUPs.
40821
40822Mon Sep  1 22:42:54 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40823
40824	* lib/mkmf.rb (distclean): added RM_RF conftest.dSYM.
40825	  Fixes distclean-ext problem on Mac OS X.
40826	  (RM_RF): added.
40827
40828Mon Sep  1 22:37:06 2008  Shugo Maeda  <shugo@ruby-lang.org>
40829
40830	* lib/rexml/document.rb: limit entity expansion.  Thanks, Luka
40831	  Treiber, Mitja Kolsek, and Michael Koziarski.
40832
40833	* lib/rexml/entity.rb: ditto.
40834
40835	* test/rexml/test_document.rb: ditto.
40836
40837Mon Sep  1 22:20:22 2008  Tanaka Akira  <akr@fsij.org>
40838
40839	* tool/transcode-tblgen.rb: make offsets arrays into single array.
40840
40841Mon Sep  1 21:46:18 2008  Tanaka Akira  <akr@fsij.org>
40842
40843	* tool/transcode-tblgen.rb: gather offsets arrays at top.
40844
40845Mon Sep  1 21:09:04 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40846
40847	* ./: removed rubyspec from svn:ignore subversion property.
40848	  rubyspec directory is no longer used.
40849
40850	* spec: added mspec and rubyspec to svn:ignore.
40851
40852Mon Sep  1 19:37:19 2008  Tanaka Akira  <akr@fsij.org>
40853
40854	* tool/transcode-tblgen.rb: ValidEncoding['eucJP-ms'] defined.
40855	  "\xA2\xAF".encode("utf-8", "eucJP-ms") should raise
40856	  Encoding::ConversionUndefined, not Encoding::InvalidByteSequence.
40857
40858Mon Sep  1 18:27:51 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40859
40860	* win32/win32.c (gettimeofday): shouldn't use mktime(3) because it's
40861	  buggy about handling summer time.
40862	  reported by Yoshikawa <yoshixool AT gmail.com> at [ruby-dev:36071]
40863
40864Mon Sep  1 17:07:23 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40865
40866	* enc/euc_jp.c (euc-jp-ms): euc-jp-ms is not an alias of EUC-JP
40867	  but eucJP-ms.
40868
40869	* enc/trans/japanese.trans (eucJP-ms): eucJP-ms is the correct
40870	  name of the encoding in Ruby. [ruby-dev:36070]
40871
40872Mon Sep  1 16:48:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40873
40874	* ext/digest/md5/md5init.c (md5), ext/digest/rmd160/rmd160init.c
40875	  (rmd160) ext/digest/sha1/sha1init.c (sha1),
40876	  ext/digest/sha2/sha2init.c (sha256, sha384, sha512): constified.
40877
40878Mon Sep  1 15:15:40 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40879
40880	* enc/trans/japanese.trans: fix mapping priority.
40881	  IBM extended is prior than NEC selected IBM.
40882
40883Mon Sep  1 14:44:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40884
40885	* tool/transcode-tblgen.rb (transcode_compile_tree): use the first
40886	  mapping when some mappings are given for a character.
40887	  [ruby-dev:36068]
40888
40889	* tool/transcode-tblgen.rb: expandtab.
40890
40891Mon Sep  1 14:40:18 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40892
40893	* README.EXT (Appendix A): fixed the name of class
40894	  Enumerator. Enumerable::Enumerator was renamed just
40895	  Enumerator at revision 18564.
40896
40897	* README.EXT (Appendix A): ditto.
40898
40899Mon Sep  1 14:37:58 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40900
40901	* tool/transcode-tblgen.rb: set ERB source filename for error message.
40902
40903Mon Sep  1 14:37:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40904
40905	* enc/depend: transdb.c may not present.
40906
40907Mon Sep  1 14:25:26 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40908
40909	* enc/trans/japanese.trans: fix Ruby 1.8 compatibility.
40910
40911	* enc/trans/japanese.trans: fix mapping priority. [ruby-dev:36068]
40912
40913Mon Sep  1 14:24:14 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40914
40915	* test/ruby/test_transcode.rb (test_windows_31j): added.
40916
40917Mon Sep  1 14:00:04 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40918
40919	* README.EXT (Data-types): fixed for current status.
40920	  (Manipulating Ruby data): mentioned some more functions.
40921	  (Class/module definition): ditto.
40922	  (Global variables shared between C and Ruby):
40923	    fixed prototypes for the getter/setter's of global variables.
40924	  (Appendix A): mentioned some more files.
40925
40926	* README.EXT.ja: ditto.
40927
40928Mon Sep  1 11:31:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40929
40930	* lib/fileutils.rb (copy_stream, fu_copy_stream0, copy_file): use
40931	  IO.copy_stream to get rid of extraneous conversion.
40932
40933Mon Sep  1 02:55:15 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
40934
40935	* strftime.c (rb_strftime): calc timezone offset by myself if system
40936	  doesn't provide timezone info.
40937
40938Mon Sep  1 02:48:28 2008  Tanaka Akira  <akr@fsij.org>
40939
40940	* tool/transcode-tblgen.rb: change "illegal" to "invalid".
40941
40942Mon Sep  1 02:31:16 2008  Tanaka Akira  <akr@fsij.org>
40943
40944	* tool/transcode-tblgen.rb (transcode_generated_code): defined for
40945	  generating table at once.
40946	  (transcode_tblgen): returns an empty string.
40947	  (transcode_generate_node): ditto.
40948
40949	* enc/trans/newline.trans: use transcode_generated_code.
40950
40951	* enc/trans/iso2022.trans: ditto.
40952
40953	* enc/trans/single_byte.trans: ditto.
40954
40955	* enc/trans/utf_16_32.trans: ditto.
40956
40957	* enc/trans/japanese.trans: ditto.
40958
40959	* enc/trans/korean.trans: ditto.
40960
40961Mon Sep  1 02:10:03 2008  Tanaka Akira  <akr@fsij.org>
40962
40963	* tool/transcode-tblgen.rb (citrus_decode_mapsrc): print logging
40964	  message on STDERR.
40965
40966Mon Sep  1 01:24:09 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40967
40968	* enc/trans/eucjp-tbl.rb: replace by previous Citrus maps.
40969
40970	* enc/trans/sjis-tbl.rb: ditto.
40971
40972Mon Sep  1 01:18:26 2008  NARUSE, Yui  <naruse@ruby-lang.org>
40973
40974	* tool/transcode-tblgen.rb: add table generator from Citrus maps.
40975
40976	* enc/trans/japanese.trans: use Citrus maps.
40977
40978	* enc/trans/CP: add maps from Citrus.
40979
40980	* enc/trans/JIS: ditto.
40981
40982	* test/ruby/test_transcode.rb: Shift_JIS and EUC-JP doesn't support
40983	  IBM extended characters.
40984
40985Mon Sep  1 00:19:45 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40986
40987	* common.mk (docs): removed a useless make target.
40988	  tool/makedoc.rb was removed at revision 13919.
40989
40990Sun Aug 31 20:49:42 2008  Tadayoshi Funaba  <tadf@dotrb.org>
40991
40992	* complex.c (numeric_abs2): new.
40993
40994Sun Aug 31 18:22:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40995
40996	* lib/mkmf.rb (have_devel?): checks if the compiler works.
40997
40998Sun Aug 31 18:02:41 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
40999
41000	* Temporarily uses git://github.com/yugui/rubyspec.git
41001	  until specs for 1.9 is merged into
41002	  git://github.com/rubyspec/rubyspec.git.
41003
41004Sun Aug 31 18:06:49 2008  Tanaka Akira  <akr@fsij.org>
41005
41006	* transcode.c (transcode.c): set source_encoding and
41007	  destination_encoding as encoding object.
41008	  (ecerr_source_encoding): new method.
41009	  (ecerr_destination_encoding): ditto.
41010
41011Sun Aug 31 17:58:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41012
41013	* lib/mkmf.rb (Logging.log_open): opens in binary mode to get rid of
41014	  extra CR.
41015
41016	* lib/mkmf.rb (try_func, try_var, have_struct_member),
41017	  (scalar_ptr_type?, scalar_type?): use MAIN_DOES_NOTHING.
41018
41019	* lib/mkmf.rb (MAIN_DOES_NOTHING): defaults to ordinary main.
41020
41021	* win32/Makefile.sub (config): for MAIN_DOES_NOTHING for wince.
41022
41023Sun Aug 31 17:30:35 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
41024
41025	* spec/README (How to run): added.
41026
41027Sun Aug 31 17:28:25 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
41028
41029	* spec/default.mspec (config): added.
41030
41031	* spec/default.mspec (target): replaced the built ruby
41032	  to runruby.rb.
41033	  Improved $LOAD_PATH on running specs.
41034
41035	* spec/default.mspec (flags): ditto.
41036
41037Sun Aug 31 17:16:07 2008  Tanaka Akira  <akr@fsij.org>
41038
41039	* transcode.c (make_econv_exception): rename instance variable names
41040	  for storing encoding names.
41041	  (ecerr_source_encoding_name): method renamed.
41042	  (ecerr_destination_encoding_name): ditto.
41043
41044Sun Aug 31 16:57:36 2008  Tanaka Akira  <akr@fsij.org>
41045
41046	* transcode.c (econv_putback): associate encoding to the result.
41047
41048Sun Aug 31 16:43:56 2008  Koichi Sasada  <ko1@atdot.net>
41049
41050	* include/ruby/intern.h: rename RB_UBF_DFL to
41051	  RUBY_UBF_IO and RUBY_UBF_PROCESS.
41052	  Because there is no default (universal) unblocking function.
41053
41054	* ext/socket/socket.c, file.c, io.c, process.c, thread.c: ditto.
41055
41056Sun Aug 31 16:42:23 2008  Tanaka Akira  <akr@fsij.org>
41057
41058	* transcode.c (econv_insert_output): raise ArgumentError on failure.
41059
41060Sun Aug 31 16:39:17 2008  Koichi Sasada  <ko1@atdot.net>
41061
41062	* bootstraptest/test_thread.rb: add a test.
41063
41064Sun Aug 31 16:34:41 2008  Tanaka Akira  <akr@fsij.org>
41065
41066	* enc/trans/single_byte.trans (us_ascii_map): don't define 8bit bytes.
41067
41068Sun Aug 31 14:27:27 2008  Tanaka Akira  <akr@fsij.org>
41069
41070	* transcode.c (econv_last_error): new method.
41071
41072Sun Aug 31 14:17:34 2008  Tanaka Akira  <akr@fsij.org>
41073
41074	* transcode.c (econv_primitive_convert): make two arguments,
41075	  destination_byteoffset and destination_bytesize, optional.
41076
41077Sun Aug 31 14:12:06 2008  Tanaka Akira  <akr@fsij.org>
41078
41079	* transcode.c (make_econv_exception): error message simplified.
41080
41081Sun Aug 31 13:47:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41082
41083	* ext/coverage/coverage.c (rb_mCoverage): removed unneeded static variable.
41084
41085	* ext/socket/socket.c (unix_recv_io): ditto.
41086
41087	* ext/socket/socket.c (mConst): ditto.
41088
41089Sun Aug 31 13:45:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41090
41091	* ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): fix for
41092	  initialization of r18168.
41093
41094Sun Aug 31 13:42:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41095
41096	* ext/ripper/eventids2.c (ripper_init_eventids2): use rb_intern_const.
41097
41098	* ext/ripper/tools/generate.rb (generate_eventids1): ditto.
41099
41100	* ext/ripper/tools/generate.rb (generate_eventids2_table): ditto.
41101
41102Sun Aug 31 12:56:00 2008  Tanaka Akira  <akr@fsij.org>
41103
41104	* ext/dl/mkcallback.rb (rb_dl_init_callbacks): fix indent.
41105
41106Sun Aug 31 11:39:21 2008  Tanaka Akira  <akr@fsij.org>
41107
41108	* ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement.
41109
41110Sun Aug 31 04:38:47 2008  Tanaka Akira  <akr@fsij.org>
41111
41112	* transcode.c (econv_putback): make max argument optional.
41113
41114Sun Aug 31 04:35:21 2008  Tanaka Akira  <akr@fsij.org>
41115
41116	* transcode.c (rb_econv_putback): putback from last byte.
41117
41118Sun Aug 31 04:27:04 2008  Tanaka Akira  <akr@fsij.org>
41119
41120	* transcode.c (econv_putback): renamed from econv_primitive_putback.
41121
41122Sun Aug 31 04:22:51 2008  Tanaka Akira  <akr@fsij.org>
41123
41124	* transcode.c (econv_insert_output): renamed from
41125	  econv_primitive_insert_output.
41126
41127Sun Aug 31 04:20:46 2008  Tanaka Akira  <akr@fsij.org>
41128
41129	* test/ruby/test_econv.rb: follow econv_primitive_errinfo change.
41130
41131Sun Aug 31 03:44:24 2008  Tanaka Akira  <akr@fsij.org>
41132
41133	* transcode.c (econv_primitive_errinfo): 5th element (partial_input)
41134	  removed from result.
41135
41136Sun Aug 31 01:53:31 2008  Tanaka Akira  <akr@fsij.org>
41137
41138	* ext/dl/mkcallback.rb: split callback.h to callback-[0-9].c to reduce
41139	  memory consumption on compilation.  [ruby-dev:31898]
41140
41141	* ext/dl/depend: add dependency for callback-[0-9].[co].
41142
41143Sun Aug 31 01:27:46 2008  Tanaka Akira  <akr@fsij.org>
41144
41145	* ext/dl/mkcallback.rb (foreach_proc_entry): extracted.
41146	  (gencallback): ditto.
41147	  (gen_push_proc_ary): ditto.
41148	  (gen_push_addr_ary): ditto.
41149
41150Sat Aug 30 23:51:01 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
41151
41152	* test/rinda/test_tuplebag.rb (test_has_expires_eh): fix failures
41153	  [ruby-dev:35937].
41154
41155Sat Aug 30 23:38:00 2008  Tanaka Akira  <akr@fsij.org>
41156
41157	* ext/dl/test/test_import.rb: fix character code.
41158
41159	* ext/dl/test/test_func.rb: ditto.
41160
41161Sat Aug 30 22:23:31 2008  Tadayoshi Funaba  <tadf@dotrb.org>
41162
41163	* rational.c: added a static variable for nurat_to_f.
41164
41165Sat Aug 30 20:05:41 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41166
41167	* win32/win32.c (rb_w32_open, rb_w32_read, rb_w32_write): fallback to
41168	  MSVCRT if text mode is specified. this case will not be used from
41169	  ruby itself.
41170
41171Sat Aug 30 19:49:38 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41172
41173	* win32/win32.c (rb_w32_read): EOF is not error.
41174	  ref [ruby-dev:36050]
41175
41176Sat Aug 30 18:17:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41177
41178	* parse.y (struct token_info): constified.
41179
41180	* parse.y (token_info_get_column, token_info_has_nonspaces),
41181	  (token_info_push, token_info_pop): constified.
41182
41183Sat Aug 30 15:43:03 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41184
41185	* ext/openssl/ossl_config.c (Init_ossl_config): memory leak fixed.
41186	  a patch <shinichiro.hamaji at gmail.com> in [ruby-dev:35880].
41187
41188	* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.
41189
41190	* ext/strscan/strscan.c (strscan_do_scan): ditto.
41191
41192Sat Aug 30 14:58:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41193
41194	* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): fix for
41195	  initialization of r18168.
41196
41197Sat Aug 30 14:47:30 2008  Tanaka Akira  <akr@fsij.org>
41198
41199	* ext/dl/mkcallback.rb: fix continuation line detection.
41200
41201Sat Aug 30 14:39:51 2008  Tanaka Akira  <akr@fsij.org>
41202
41203	* ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem which
41204	  is caused by 'GC.stress=true; require "dl"'.
41205
41206Sat Aug 30 11:54:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41207
41208	* parse.y (token_info_push): -w warns indentation level mismatch.
41209	  based on a patch from Yukina Yamano presented at RubyKaigi'07.
41210	  See <http://jp.rubyist.net/RubyKaigi2007/Log0609-LT06.html> and
41211	  <http://www.logic-junction.com/products/rubyend.html> (Japanese).
41212
41213Sat Aug 30 10:46:44 2008  Koichi Sasada  <ko1@atdot.net>
41214
41215	* ext/iconv/iconv.c: remove include pragma for "ruby/intern.h".
41216
41217Sat Aug 30 10:43:03 2008  Koichi Sasada  <ko1@atdot.net>
41218
41219	* parse.y: remove include pragma for "ruby/intern.h".
41220
41221Sat Aug 30 10:41:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41222
41223	* lib/rake.rb (Rake::Application#help): fix for OPTIONAL_ARGUMENT and
41224	  multiple short options.  [ruby-dev:36051]
41225
41226Sat Aug 30 08:59:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41227
41228	* include/ruby/intern.h (rb_file_s_absolute_path),
41229	  (rb_file_absolute_path): prototyped.
41230
41231Sat Aug 30 08:09:36 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41232
41233	* encoding.c (enc_compatible_p): use TYPE not BUILTIN_TYPE.
41234	  [ruby-dev:36048]
41235
41236Sat Aug 30 07:48:48 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41237
41238	* encoding.c (enc_compatible_p): add SPECIAL_CONST_P check.
41239	  [ruby-dev:36048]
41240
41241	* test/ruby/test_m17n.rb (test_compatible): fix test.
41242
41243Sat Aug 30 02:48:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41244
41245	* object.c (rb_obj_freeze): update rdoc to mention RuntimeError
41246	  (not TypeError any longer) would be raised.  [ruby-dev:35982]
41247
41248Sat Aug 30 01:55:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41249
41250	* bignum.c (bigdivmod): remove redundant code.  a patch from
41251	  TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in [ruby-dev:36044].
41252
41253Sat Aug 30 01:37:20 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41254
41255	* lib/cgi.rb (CGI#initialize): remove unused constants.  a patch
41256	  from Takeyuki Fujioka in [ruby-dev:36046].
41257
41258Fri Aug 29 22:29:41 2008  Tadayoshi Funaba  <tadf@dotrb.org>
41259
41260	* complex.c ({nucomp,numeric}_rect): new.
41261
41262	* complex.c: added some aliases
41263	  (::rectangular, ::rect, #rectangular, #rect, #phase,
41264	  #magnitude).
41265
41266	* complex.c (string_to_c_internal): should not strip any null
41267	  bytes.
41268
41269	* rational.c (string_to_r_internal): ditto.
41270
41271	* rational.c (i_gcd): reverted to nurat 0.0.2's one.
41272
41273	* numeric.c: added an alias (#magnitude).
41274
41275	* bignum.c: ditto.
41276
41277	* test/ruby/test_complex.rb: added assertions.
41278
41279	* test/ruby/test_rational.rb: ditto.
41280
41281Fri Aug 29 19:46:02 2008  Koichi Sasada  <ko1@atdot.net>
41282
41283	* gc.c, include/ruby/ruby.h: rename T_DEFERRED to T_ZOMBIE.
41284
41285Fri Aug 29 18:22:27 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41286
41287	* encoding.c (enc_compatible_p): raise TypeError when argument is not
41288	  String nor Regexp.
41289
41290Fri Aug 29 18:20:56 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41291
41292	* string.c (rb_str_index_m): only regexp uses byte offset.
41293
41294	* string.c (rb_str_rindex_m): ditto.
41295
41296Fri Aug 29 16:48:34 2008  Koichi Sasada  <ko1@atdot.net>
41297
41298	* vm_insnhelper.c (vm_call_method): copy arguments to allocated
41299	  memory from machine stack.  [ruby-dev:36028]
41300
41301	* KNOWNBUGS.rb, bootstraptest/test_method.rb: move fixed test.
41302
41303Fri Aug 29 12:19:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41304
41305	* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): fix for
41306	  initialization of r18168.
41307
41308	* ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): ditto.
41309
41310	* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
41311
41312Fri Aug 29 11:04:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41313
41314	* encoding.c (rb_enc_compatible): ASCII compatible string and US-ASCII
41315	  regexp is compatible. [ruby-dev:36033]
41316
41317	* string.c (rb_str_index_m): second argument is position of character.
41318	  by usa. [ruby-dev:36033]
41319
41320	* string.c (rb_str_rindex_m): ditto.
41321
41322Fri Aug 29 04:47:49 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41323
41324	* win32/win32.c (rb_w32_read, rb_w32_write): more accurate handling
41325	  of wait result.
41326
41327Fri Aug 29 02:59:35 2008  Tanaka Akira  <akr@fsij.org>
41328
41329	* transcode.c (econv_finish): new method.
41330
41331Fri Aug 29 02:45:29 2008  Tanaka Akira  <akr@fsij.org>
41332
41333	* transcode.c (econv_convert): new method.
41334
41335Fri Aug 29 02:38:14 2008  Tanaka Akira  <akr@fsij.org>
41336
41337	* transcode.c (econv_primitive_convert): accept nil as
41338	  destination_bytesize for unlimited destination size.
41339
41340Fri Aug 29 02:11:46 2008  Tanaka Akira  <akr@fsij.org>
41341
41342	* transcode.c (econv_primitive_convert): accept nil as input for empty
41343	  input.
41344
41345Fri Aug 29 02:03:56 2008  Shugo Maeda  <shugo@ruby-lang.org>
41346
41347	* strftime.c (rb_strftime): supported %s and %P.
41348
41349	* time.c (time_strftime): ditto.
41350
41351	* test/ruby/test_time.rb (test_strftime): ditto.
41352
41353Fri Aug 29 01:57:58 2008  Tanaka Akira  <akr@fsij.org>
41354
41355	* transcode.c (sym_invalid_byte_sequence): new variable.
41356	  (sym_undefined_conversion): ditto.
41357	  (sym_destination_buffer_full): ditto.
41358	  (sym_source_buffer_empty): ditto.
41359	  (sym_finished): ditto.
41360	  (sym_output_followed_by_input): ditto.
41361	  (sym_incomplete_input): ditto.
41362	  (econv_result_to_symbol): use above variables.
41363	  (Init_transcode): initialize above variables.
41364
41365Fri Aug 29 00:53:40 2008  Shugo Maeda  <shugo@ruby-lang.org>
41366
41367	* strftime.c (rb_strftime): fixed a bug of padding.
41368
41369	* test/ruby/test_time.rb: ditto.
41370
41371Fri Aug 29 00:19:54 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41372
41373	* win32/win32.c (set_pioinfo_extra): use MSVCRT's open() and close().
41374
41375Fri Aug 29 00:03:13 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41376
41377	* file.c (file_expand_path): check invalid access.
41378
41379Thu Aug 28 23:55:50 2008  Shugo Maeda  <shugo@ruby-lang.org>
41380
41381	* strftime.c (rb_strftime): Time.mktime(2000).strftime("%-S") should
41382	  return "0", not "".
41383
41384	* test/ruby/test_time.rb: ditto.
41385
41386Thu Aug 28 23:55:22 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41387
41388	* test/ruby/test_time.rb: suppress warning during test.
41389
41390Thu Aug 28 23:50:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41391
41392	* test/ruby/test_time.rb (test_strftime): make test for %a independent
41393	  from local timezone.  [ruby-dev:35992]
41394
41395Thu Aug 28 23:39:49 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41396
41397	* string.c (rb_str_shared_replace): remove corrupt noembed string
41398	  which causes SEGV.  [ruby-dev:35989]
41399
41400Thu Aug 28 23:36:15 2008  Tanaka Akira  <akr@fsij.org>
41401
41402	* common.mk: dependency updated.
41403
41404Thu Aug 28 23:28:57 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41405
41406	* KNOWNBUGS.rb: add a test.  see [ruby-dev:36028]
41407
41408Thu Aug 28 21:43:05 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41409
41410	* win32/win32.c, include/ruby/win32.h (rb_w32_open): overlapped file
41411	  I/O support.
41412
41413	* win32/win32.c, include/ruby/win32.h (rb_w32_pipe): overlapped pipe
41414	  I/O support.
41415
41416	* win32/win32.c (rb_w32_read, rb_w32_write): overlapped I/O support to
41417	  enable canceling I/O.
41418
41419	* thread_win32.c (ubf_handle): remove workaround.
41420
41421Thu Aug 28 20:22:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41422
41423	* vm_insnhelper.c (vm_yield_setup_args): object with to_ary should
41424	  behave like array.  a patch from Yusuke Endoh  <mame at tsg.ne.jp>
41425	  in [ruby-dev:35988].  [ruby-dev:35977]
41426
41427	* object.c (convert_type): call less rb_intern() less frequently
41428	  by using cache structure.
41429
41430	* vm_method.c (rb_method_node): fail earlier if no method found.
41431
41432Thu Aug 28 19:04:50 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41433
41434	* bootstraptest/test_io.rb: no need to create real file.
41435
41436Thu Aug 28 09:26:53 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41437
41438	* test/cgi/test_cgi_multipart.rb: add test for multipart.
41439	  Patch by Takeyuki Fujioka. [ruby-dev:36014]
41440	  From CGIAlt http://cgialt.rubyforge.org/
41441
41442Thu Aug 28 09:22:01 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41443
41444	* test/cgi/test_cgi_modruby.rb: add test for mod_ruby adaptor.
41445	  Patch by Takeyuki Fujioka. [ruby-dev:36013]
41446	  From CGIAlt http://cgialt.rubyforge.org/
41447
41448Thu Aug 28 09:17:10 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41449
41450	* test/cgi/test_cgi_header.rb: add test for CGI::Header.
41451	  Patch by Takeyuki Fujioka. [ruby-dev:36010] [ruby-dev:36011]
41452	  From CGIAlt http://cgialt.rubyforge.org/
41453
41454Thu Aug 28 02:16:49 2008  Tanaka Akira  <akr@fsij.org>
41455
41456	* include/ruby/io.h (rb_io_t): refcnt field removed.
41457	  (MakeOpenFile): refcnt initialization removed.
41458
41459	* io.c (rb_io_fptr_finalize): don't check refcnt.
41460	  (rb_io_close_read): don't use refcnt.
41461
41462Thu Aug 28 00:07:59 2008  Tanaka Akira  <akr@fsij.org>
41463
41464	* io.c (rb_io_initialize): don't accept IO object.  [ruby-dev:35895]
41465
41466Wed Aug 27 23:28:51 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
41467
41468	* ext/win32ole/win32ole.c (ole_invoke): WIN32OLE#[] and WIN32OLE#[]=
41469	  accepts number argument.
41470
41471	* test/win32ole/test_win32ole.rb: ditto.
41472
41473Wed Aug 27 14:45:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41474
41475	* test/cgi/test_cgi_core.rb: add core test.
41476	  Patch by Takeyuki Fujioka. [ruby-dev:36001] [ruby-dev:36002]
41477	  From CGIAlt http://cgialt.rubyforge.org/
41478
41479Wed Aug 27 10:34:42 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41480
41481	* lib/cgi.rb (CGI::Cookie): remove delegate.
41482	  Patch by Takeyuki Fujioka. [ruby-dev:35995]
41483
41484	* test/cgi/test_cgi_cookie.rb: added for above.
41485	  Patch by Takeyuki Fujioka. [ruby-dev:35996]
41486	  From CGIAlt http://cgialt.rubyforge.org/
41487
41488Wed Aug 27 01:13:54 2008  Tanaka Akira  <akr@fsij.org>
41489
41490	* transcode.c (transcode_loop): simplified.
41491
41492Wed Aug 27 01:03:23 2008  Tanaka Akira  <akr@fsij.org>
41493
41494	* include/ruby/encoding.h (rb_econv_result_t): enumeration constant:
41495	  econv_incomplete_input.
41496
41497	* io.c (finish_writeconv): check econv_incomplete_input.
41498
41499	* transcode.c (transcode_restartable0): return econv_incomplete_input
41500	  for unexpected end of source buffer.
41501	  (trans_sweep): check econv_incomplete_input.
41502	  (rb_trans_conv): ditto.
41503	  (rb_econv_convert0): ditto.
41504	  (rb_econv_convert): ditto.
41505	  (transcode_loop): ditto.
41506	  (make_econv_exception): change message for econv_incomplete_input.
41507	  (econv_result_to_symbol): return :incomplete_input for
41508	  econv_incomplete_input.
41509	  (ecerr_incomplete_input): new method.
41510
41511Wed Aug 27 00:05:55 2008  Tanaka Akira  <akr@fsij.org>
41512
41513	* include/ruby/io.h (rb_io_t): rename crbuf to cbuf.
41514
41515	* io.c: follow the renaming.
41516
41517Tue Aug 26 23:52:24 2008  Tanaka Akira  <akr@fsij.org>
41518
41519	* include/ruby/encoding.h (rb_econv_elem_t): move to transcode.c
41520	  (rb_econv_t): defined as an incomplete type.
41521
41522	* transcode.c (rb_econv_elem_t): moved from encoding.h.
41523	  (rb_econv_t): complete type defined.
41524
41525Tue Aug 26 22:44:12 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41526
41527	* time.c (time_asctime): workaround for MSVCRT's bug.
41528	  based on a patch from wanabe <s.wanabe AT gmail.com> at
41529	  [ruby-dev:35831] and a suggestion by KIMURA Koichi
41530	  <kbk AT kt.rim.or.jp> at [ruby-dev:35832]
41531	  fixed [ruby-dev:35555]
41532
41533Tue Aug 26 21:53:56 2008  Tanaka Akira  <akr@fsij.org>
41534
41535	* transcode.c (rb_econv_open): disable newline conversion for ASCII
41536	  incompatible encodings.
41537	  (str_transcode0): don't need disable newline conversion here.
41538
41539Tue Aug 26 21:44:39 2008  Tanaka Akira  <akr@fsij.org>
41540
41541	* transcode.c (rb_econv_binmode): binmode is effective only once.
41542
41543Tue Aug 26 19:43:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41544
41545	* file.c (rb_file_s_expand_path): new class method for class File.
41546
41547	* file.c (file_expand_path): add absolute_path handling (no ~user
41548	  expansion).  [ruby-core:18319]
41549
41550Tue Aug 26 19:27:54 2008  Akinori MUSHA  <knu@iDaemons.org>
41551
41552	* test/ruby/test_enum.rb (TestEnumerable#test_each_with_object):
41553	  Add a test for Enumerable#each_with_object.
41554
41555Tue Aug 26 19:25:44 2008  Akinori MUSHA  <knu@iDaemons.org>
41556
41557	* test/ruby/test_enumerator.rb (TestEnumerator#test_with_object):
41558	  Add (back) the test for Enumerator#with_object.
41559
41560Tue Aug 26 16:16:43 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41561
41562	* test/cgi/test_cgi_tag_helper.rb: add more tests for html3.
41563	  Patch by Takeyuki Fujioka. [ruby-dev:35975]
41564	  From CGIAlt http://cgialt.rubyforge.org/
41565
41566Tue Aug 26 14:43:10 2008  Akinori MUSHA  <knu@iDaemons.org>
41567
41568	* enumerator.c: Activate Enumerator#with_object and add
41569	  Enumerable#each_with_object. [experimental]
41570
41571Tue Aug 26 14:38:32 2008  Akinori MUSHA  <knu@iDaemons.org>
41572
41573	* enumerator.c (enumerator_initialize),
41574	  test/ruby/test_enumerator.rb: Add an ability to generate an
41575	  enumerator from a block. [experimental] [ruby-dev:35903]
41576
41577Tue Aug 26 13:25:25 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
41578
41579	* test/ruby/test_transcode.rb: added test_euc_jp
41580	  (contributed by Yoshihiro Kambayashi)
41581
41582Tue Aug 26 11:54:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41583
41584	* test/cgi/test_cgi_tag_helper.rb: added by Takeyuki Fujioka.
41585	  [ruby-dev:35971]
41586
41587Tue Aug 26 11:33:30 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41588
41589	* lib/cgi.rb (nOE_element_def): fix error when cascade methods which
41590	  don't have arguments. Patch by Takeyuki Fujioka. [ruby-dev:35964]
41591
41592	* lib/cgi.rb (blockquote): String#collect (this depends on
41593	  String#each) is no longer exists.
41594	  Patch by Takeyuki Fujioka. [ruby-dev:35946]
41595
41596	* lib/cgi.rb (blockquote): ditto.
41597
41598Tue Aug 26 03:06:48 2008  Tanaka Akira  <akr@fsij.org>
41599
41600	* io.c (make_writeconv): copy invalid/undef flags.
41601
41602Tue Aug 26 02:47:08 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
41603
41604	* common.mk (dist): tool/make-snapshot is executable.
41605
41606	* tool/make-snapshot (package): supported release numbers 1.9.0-x.
41607
41608Tue Aug 26 02:43:50 2008  Tanaka Akira  <akr@fsij.org>
41609
41610	* include/ruby/io.h (rb_io_t): new field: writeconv_pre_opts.
41611
41612	* io.c (make_writeconv): initialize writeconv_pre_opts.
41613	  (io_fwrite): use writeconv_pre_opts.
41614
41615Tue Aug 26 01:48:31 2008  Tanaka Akira  <akr@fsij.org>
41616
41617	* io.c: test _WIN32 for CRLF platform.  (cygwin defines O_BINARY.)
41618
41619Tue Aug 26 01:29:26 2008  Tanaka Akira  <akr@fsij.org>
41620
41621	* io.c: force CRLF handling if RUBY_TEST_CRLF_ENVIRONMENT is defined.
41622	  This is only for testing.
41623
41624Tue Aug 26 01:26:31 2008  Tanaka Akira  <akr@fsij.org>
41625
41626	* transcode.c (str_transcode0): disable newline conversion for ASCII
41627	  incompatible encoding.
41628
41629Tue Aug 26 00:55:46 2008  Tanaka Akira  <akr@fsij.org>
41630
41631	* transcode.c (str_transcode0): don't short cut for newline conversion.
41632
41633Tue Aug 26 00:36:01 2008  Tanaka Akira  <akr@fsij.org>
41634
41635	* io.c (io_fwrite): add TEXTMODE_NEWLINE_ENCODER to option for
41636	  rb_str_transcode.
41637
41638Tue Aug 26 00:24:23 2008  Tanaka Akira  <akr@fsij.org>
41639
41640	* transcode.c (make_econv_exception): show readagain part for invalid
41641	  byte sequence exception.  store the part as an instance variable.
41642	  (ecerr_readagain_bytes): new method to access the readagain part.
41643
41644Tue Aug 26 00:02:49 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41645
41646	* ext/bigdecimal/bigdecimal.c (VpMult): fix double free.
41647
41648Mon Aug 25 23:59:36 2008  Tanaka Akira  <akr@fsij.org>
41649
41650	* transcode.c (rb_econv_open): make last_tc NULL if there are only
41651	  additional transcoders.
41652	  (econv_description): extracted from rb_econv_open_exc.
41653	  (rb_econv_open_exc): use econv_description.
41654	  (econv_inspect): use econv_description.
41655
41656Mon Aug 25 23:56:42 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
41657
41658	* win32.c (init_stdhandle): set binmode.
41659
41660Mon Aug 25 23:38:17 2008  Tadayoshi Funaba  <tadf@dotrb.org>
41661
41662	* lib/date/format.rb(strftime): %[LN] can print with given
41663	  arbitrary precision.
41664
41665	* lib/date/format.rb(strftime): optional flags and filed width
41666	  should also affect %[nt].
41667
41668Mon Aug 25 23:01:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41669
41670	* compile.c (defined_expr): default defined? should return
41671	  "expression" without evaluating the expression.  [ruby-dev:35967]
41672
41673Mon Aug 25 22:46:01 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41674
41675	* test/ruby/test_thread.rb (test_status_and_stop_p): reduce the risk
41676	  of race condition.
41677
41678Mon Aug 25 22:39:57 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41679
41680	* lib/irb/extend-command.rb (def_extend_command): check number of
41681	  arguments.  [ruby-dev:35074]
41682
41683	* lib/irb/ext/multi-irb.rb (search): check if a corresponding job is
41684	  found.  [ruby-dev:35074]
41685
41686Mon Aug 25 22:29:13 2008  Yusuke Endoh  <mame@tsg.ne.jp>
41687
41688	* test/ruby/test_io.rb (test_dup): fix typo.  see [ruby-dev:35958]
41689
41690Mon Aug 25 22:02:35 2008  Tanaka Akira  <akr@fsij.org>
41691
41692	* transcode.c (rb_econv_open_by_transcoder_entries): initialize
41693	  last_error.  num_trans may be zero.
41694	  (rb_econv_convert0): num_trans may be zero.
41695	  (rb_econv_putbackable): ditto.
41696	  (rb_econv_putback): ditto.
41697	  (rb_econv_convert): input_ptr and output_ptr may be NULL.
41698
41699Mon Aug 25 19:05:27 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
41700
41701	* compile.c (defined_expr): should handle NODE_{AND,OR} as
41702	  "expression".  [ruby-dev:35951]
41703
41704Mon Aug 25 17:36:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41705
41706	* include/ruby/intern.h (rb_io_ungetbyte): added prototype.
41707
41708	* io.c (rb_io_gets): use rb_io_getline_1 for unget buffer.
41709
41710	* ruby.c (load_file): use rb_io_ungetbyte.
41711
41712	* transcode.c (rb_econv_substr_append): fix for buffer overrun.
41713
41714	* win32/enc-setup.mak (BUILTIN_TRANSOBJS): added.
41715
41716Mon Aug 25 14:22:21 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
41717
41718	* parse.y (YYSTYPE): struct RVarmap has been no longer
41719	  defined.
41720	  see also r11717 by matz.
41721
41722Mon Aug 25 10:42:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41723
41724	* transcode.c (rb_econv_open_exc): constified.
41725
41726Mon Aug 25 07:10:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41727
41728	* enc/emacs_mule.c: fix ctype.
41729
41730Mon Aug 25 00:52:31 2008  Tanaka Akira  <akr@fsij.org>
41731
41732	* configure.in (BUILTIN_TRANSSRCS): defined.
41733	  (BUILTIN_TRANSOBJS): defined.
41734
41735	* enc/Makefile.in (BUILTIN_TRANSES): defined.
41736
41737	* enc/make_encmake.rb (BUILTIN_TRANSES): defined.
41738
41739	* enc/depend: don't generate rules for builtin transcoders.
41740
41741	* common.mk (COMMONOBJS): add BUILTIN_TRANSOBJS.
41742	  (enc.mk): pass BUILTIN_TRANSOBJS.
41743	  (newline.c): new rule.
41744	  (newline.$(OBJEXT)): new rule.
41745	  (srcs): newline.c added.
41746
41747	* Makefile.in (BUILTIN_TRANSSRCS): defined.
41748	  (BUILTIN_TRANSOBJS): defined.
41749
41750	* transcode.c (Init_transcode): call Init_newline.
41751
41752Mon Aug 25 00:11:02 2008  Tanaka Akira  <akr@fsij.org>
41753
41754	* transcode.c (declare_transcoder): arguments order changed.
41755	  (rb_declare_transcoder): call declare_transcoder just once.
41756
41757Sun Aug 24 19:48:46 2008  Tanaka Akira  <akr@fsij.org>
41758
41759	* include/ruby/encoding.h (rb_econv_t): use rb_econv_option_t.
41760
41761	* transcode.c: follow the rb_econv_t change.
41762
41763Sun Aug 24 19:40:13 2008  Tanaka Akira  <akr@fsij.org>
41764
41765	* io.c (rb_io_init_copy): copy encs.
41766
41767Sun Aug 24 19:17:31 2008  Tanaka Akira  <akr@fsij.org>
41768
41769	* io.c (rb_io_open): add an argument: vperm.
41770	  (open_key_args): call rb_io_open with perm.
41771
41772Sun Aug 24 19:11:07 2008  Tanaka Akira  <akr@fsij.org>
41773
41774	* io.c (sym_invalid): removed.
41775	  (sym_undef): removed.
41776	  (sym_ignore): removed.
41777	  (sym_replace): removed.
41778
41779Sun Aug 24 19:07:17 2008  Tanaka Akira  <akr@fsij.org>
41780
41781	* io.c (rb_io_reopen): initialize fptr->encs.opts.
41782
41783Sun Aug 24 18:37:42 2008  Tanaka Akira  <akr@fsij.org>
41784
41785	* io.c (rb_io_s_pipe): accept optional hash.
41786	  (rb_io_set_encoding): ditto.
41787	  (rb_io_extract_modeenc): use rb_econv_opts to initialize
41788	  ecopts.
41789	  (rb_file_open_generic): ditto.
41790	  (rb_file_open_internal): ditto.
41791	  (io_encoding_set): new argument: opt.
41792	  (argf_set_encoding): copy fptr->encs.opts to argf_ecopts.
41793
41794	* transcode.c (rb_econv_opts): accept Qnil for initialization.
41795
41796Sun Aug 24 18:10:08 2008  Tanaka Akira  <akr@fsij.org>
41797
41798	* include/ruby/io.h (rb_io_enc_t): add opts field.
41799	  (FMODE_INVALID_MASK): removed.
41800	  (FMODE_INVALID_IGNORE): ditto.
41801	  (FMODE_INVALID_REPLACE): ditto.
41802	  (FMODE_UNDEF_MASK): ditto.
41803	  (FMODE_UNDEF_IGNORE): ditto.
41804	  (FMODE_UNDEF_REPLACE): ditto.
41805	  (MakeOpenFile): initialize the opts field.
41806
41807	* io.c (make_writeconv): use the opts field.
41808	  (io_fwrite): ditto.
41809	  (make_readconv): ditto.
41810	  (argf_ecopts): new macro.
41811	  (rb_io_extract_modeenc): fill the opts field.
41812	  (argf_next_argv): ditto.
41813	  (rb_file_open_generic): initialize the opts field.
41814	  (rb_file_open_internal): ditto.
41815	  (io_encoding_set): ditto.
41816	  (argf_set_encoding): ditto.
41817
41818Sun Aug 24 18:02:14 2008  Tanaka Akira  <akr@fsij.org>
41819
41820	* io.c (struct argf): use struct rb_io_enc_t.
41821	  (argf_enc): follow the struct argf change.
41822	  (argf_enc2): ditto.
41823
41824Sun Aug 24 17:36:21 2008  Tanaka Akira  <akr@fsij.org>
41825
41826	* include/ruby/encoding.h (rb_str_transcode): make 3rd argument
41827	  rb_econv_option_t*.
41828
41829	* transcode.c (transcode_loop): take rb_econv_option_t* as a argument.
41830	  (str_transcode0): ditto.
41831	  (str_transcode): make rb_econv_option_t and call str_transcode0 with
41832	  it.
41833	  (rb_str_transcode): take rb_econv_option_t*.
41834
41835	* io.c (io_fwrite): follow the rb_str_transcode change.
41836
41837Sun Aug 24 16:47:32 2008  Tanaka Akira  <akr@fsij.org>
41838
41839	* include/ruby/io.h (rb_io_t): make enc and enc2 as struct
41840	  rb_io_enc_t;
41841
41842	* io.c: follow the structure change.
41843	  (convconfig_t): defined by rb_io_enc_t.
41844
41845Sun Aug 24 16:19:25 2008  Tanaka Akira  <akr@fsij.org>
41846
41847	* include/ruby/encoding.h (rb_econv_opts): declared.
41848
41849	* transcode.c (rb_econv_opts): defined.
41850
41851	* io.c (rb_io_extract_modeenc): use rb_econv_opts.
41852
41853Sun Aug 24 16:06:30 2008  Tanaka Akira  <akr@fsij.org>
41854
41855	* include/ruby/encoding.h (rb_econv_option_t): defined.
41856	  (rb_econv_open): 3rd arg changed.
41857	  (rb_econv_open_exc): ditto.
41858
41859	* io.c (make_writeconv): use rb_econv_option_t.
41860	  (make_readconv): ditto.
41861	  (rb_econv_open): take rb_econv_option_t for options.
41862	  (rb_econv_open_exc): ditto.
41863	  (transcode_loop): use rb_econv_option_t.
41864	  (econv_init): use rb_econv_option_t.
41865
41866Sun Aug 24 15:43:41 2008  Tanaka Akira  <akr@fsij.org>
41867
41868	* transcode.c (rb_econv_substr_append): associate dst with destination
41869	  encoding when dst is created.
41870
41871Sun Aug 24 15:21:28 2008  Tanaka Akira  <akr@fsij.org>
41872
41873	* include/ruby/encoding.h (rb_str_transcode): add ecflags argument.
41874
41875	* transcode.c (econv_opts): extracted from str_transcode.
41876	  (str_transcode_enc_args): extracted from str_transcode.
41877	  (str_transcode0): extracted from str_transcode.
41878	  (str_transcode): use econv_opts, str_transcode_enc_args,
41879	  str_transcode0.
41880	  (rb_str_transcode): call str_transcode0.
41881	  (econv_primitive_insert_output): give the additional argument for
41882	  rb_str_transcode.
41883
41884	* io.c (make_writeconv): use invalid/undef flags.
41885	  (io_fwrite): ditto.
41886	  (rb_scan_open_args): give the additional argument for
41887	  rb_str_transcode.
41888
41889Sun Aug 24 13:27:42 2008  Tanaka Akira  <akr@fsij.org>
41890
41891	* transcode.c (str_transcode): check last hash only if 0 < argc.
41892
41893Sun Aug 24 12:22:15 2008  Tanaka Akira  <akr@fsij.org>
41894
41895	* include/ruby/encoding.h (rb_econv_substr_append): renamed from
41896	  rb_econv_string.
41897	  (rb_econv_str_convert): declared.
41898	  (rb_econv_substr_convert): declared.
41899	  (rb_econv_str_append): declared.
41900
41901	* io.c (io_fwrite): use rb_econv_str_convert instead of
41902	  rb_econv_string.
41903
41904	* transcode.c (rb_econv_substr_append): renamed from rb_econv_string.
41905	  (rb_econv_str_append): new function.
41906	  (rb_econv_substr_convert): ditto.
41907	  (rb_econv_str_convert): ditto.
41908
41909Sun Aug 24 12:15:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41910
41911	* lib/net/http.rb (Net::HTTP#urlencode): str[0] returns char in 1.9.
41912	  Patch by Junegunn Choi [ruby-core:18368]
41913
41914Sun Aug 24 12:02:39 2008  Tanaka Akira  <akr@fsij.org>
41915
41916	* transcode.c (rb_econv_open): return NULL on error.
41917
41918Sun Aug 24 11:40:38 2008  Tanaka Akira  <akr@fsij.org>
41919
41920	* include/ruby/encoding.h (rb_econv_open_exc): declared.
41921
41922	* transcode.c (rb_eNoConverter): new exception.
41923	  (rb_econv_open_exc): new function.
41924	  (transcode_loop): use rb_econv_open_exc.
41925
41926	* io.c (make_writeconv): use rb_econv_open_exc.
41927	  (make_readconv): ditto.
41928
41929Sun Aug 24 11:26:54 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41930
41931	* lib/cgi.rb (CGI::unescapeHTML): consider ISO-8859-1.
41932	  [ruby-dev:35936]
41933
41934Sun Aug 24 10:55:00 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41935
41936	* enc/emacs_mule.c: support Emacs/Mule internal encoding.
41937
41938Sun Aug 24 08:03:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41939
41940	* strftime.c (daylight, timezone): not provided as dllexport on cygwin,
41941	  right now.
41942
41943Sun Aug 24 06:39:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41944
41945	* lib/cgi.rb (CGI::unescapeHTML): more encoding sensible unescaping.
41946	  [ruby-dev:35936]
41947
41948Sun Aug 24 04:23:19 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41949
41950	* encoding.c (enc_compatible_p): raise TypeError when argument is Encoding.
41951
41952Sat Aug 23 23:25:47 2008  NARUSE, Yui  <naruse@ruby-lang.org>
41953
41954	* lib/cgi.rb (CGI#out): remove auto encoding conversion and set
41955	  LANGUAGE. [ruby-dev:35922]
41956
41957Sat Aug 23 20:01:29 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
41958
41959	* test/ruby/test_process.rb (TestProcess#test_rlimit_value):
41960	  add Errno::EINVAL. [ruby-dev:35900]
41961
41962Sat Aug 23 18:29:29 2008  Tanaka Akira  <akr@fsij.org>
41963
41964	* io.c (rb_scan_open_args): use pop_last_hash.
41965
41966Sat Aug 23 16:59:42 2008  Tanaka Akira  <akr@fsij.org>
41967
41968	* include/ruby/io.h (FMODE_INVALID_MASK): defined.
41969	  (FMODE_INVALID_IGNORE): defined.
41970	  (FMODE_INVALID_REPLACE): defined.
41971	  (FMODE_UNDEF_MASK): defined.
41972	  (FMODE_UNDEF_IGNORE): defined.
41973	  (FMODE_UNDEF_REPLACE): defined.
41974
41975	* io.c (sym_invalid): defined.
41976	  (sym_undef): defined.
41977	  (sym_ignore): defined.
41978	  (sym_replace): defined.
41979	  (make_readconv): specify ECONV_INVALID_* and ECONV_UNDEF_* if
41980	  FMODE_INVALID_* and FMODE_UNDEF_* is set.
41981	  (rb_io_extract_modeenc): check {:invalid, :undef} => {:replace,
41982	  :ignore} for FMODE_INVALID_* and FMODE_UNDEF_*.
41983
41984Sat Aug 23 17:06:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
41985
41986	* strftime.c (rb_strftime): support more flags.
41987
41988Sat Aug 23 15:14:10 2008  Koichi Sasada  <ko1@atdot.net>
41989
41990	* vm_opts.h: enable "OPT_TRACE_INSTRUCTION" on default.
41991
41992Sat Aug 23 14:59:32 2008  Tanaka Akira  <akr@fsij.org>
41993
41994	* include/ruby/encoding.h (ECONV_INVALID_MASK): defined.
41995	  (ECONV_INVALID_IGNORE): defined.
41996	  (ECONV_INVALID_REPLACE): defined.
41997	  (ECONV_UNDEF_MASK): defined.
41998	  (ECONV_UNDEF_IGNORE): defined.
41999	  (ECONV_UNDEF_REPLACE): defined.
42000
42001	* transcode.c (INVALID_IGNORE): removed.
42002	  (INVALID_REPLACE): removed.
42003	  (UNDEF_IGNORE): removed.
42004	  (UNDEF_REPLACE): removed.
42005	  (rb_econv_convert0): renamed from rb_econv_convert.
42006	  (rb_econv_convert): defined to call rb_econv_convert0 with
42007	  replace/ignore behavior moved from transcode_loop.
42008	  (transcode_loop): replace/ignore behavior removed.
42009
42010Sat Aug 23 11:23:05 2008  Tanaka Akira  <akr@fsij.org>
42011
42012	* io.c (rb_io_extract_modeenc): check :textmode and :binmode in option
42013	  hash.
42014
42015Sat Aug 23 10:48:56 2008  Tanaka Akira  <akr@fsij.org>
42016
42017	* ext/pty/pty.c (pty_getpty): follow rb_io_t's path -> pathv change.
42018
42019Sat Aug 23 10:42:52 2008  Tanaka Akira  <akr@fsij.org>
42020
42021	* io.c (check_pipe_command): extracted from rb_f_open and rb_io_open.
42022	  (rb_f_open): use check_pipe_command.
42023	  (rb_io_open): ditto.
42024
42025Sat Aug 23 10:13:00 2008  Tanaka Akira  <akr@fsij.org>
42026
42027	* io.c (read_all): fptr->enc2 is 0 if no conversion.
42028	  (rb_io_getline_fast): ditto.
42029	  (io_getc): ditto.
42030
42031Sat Aug 23 09:45:35 2008  Tanaka Akira  <akr@fsij.org>
42032
42033	* include/ruby/io.h (rb_io_t): remove path field and add pathv field.
42034	  (MakeOpenFile): initialize pathv as Qnil.
42035
42036	* gc.c: mark pathv field in T_FILE.
42037
42038	* io.c: follow the rb_io_t field change.
42039
42040	* file.c: ditto.
42041
42042	* ext/socket/socket.c: ditto.
42043
42044Sat Aug 23 01:42:22 2008  Tanaka Akira  <akr@fsij.org>
42045
42046	* include/ruby/io.h (FMODE_TEXTMODE): defined.
42047
42048	* include/ruby/encoding.h (rb_econv_t): new field: flags.
42049	  (rb_econv_binmode): declared.
42050
42051	* io.c (io_unread): text mode hack removed.
42052	  (NEED_NEWLINE_DECODER): defined.
42053	  (NEED_NEWLINE_ENCODER): defined.
42054	  (NEED_READCONV): defined.
42055	  (NEED_WRITECONV): defined.
42056	  (TEXTMODE_NEWLINE_ENCODER): defined for windows.
42057	  (make_writeconv): setup converter with TEXTMODE_NEWLINE_ENCODER for
42058	  text mode.
42059	  (io_fwrite): use NEED_WRITECONV.  character code conversion is
42060	  disabled if fptr->writeconv_stateless is nil.
42061	  (make_readconv): setup converter with
42062	  ECONV_UNIVERSAL_NEWLINE_DECODER for text mode.
42063	  (read_all): use NEED_READCONV.
42064	  (appendline): use NEED_READCONV.
42065	  (rb_io_getline_1): use NEED_READCONV.
42066	  (io_getc): use NEED_READCONV.
42067	  (rb_io_ungetc): use NEED_READCONV.
42068	  (rb_io_binmode): OS-level text mode test removed.  call
42069	  rb_econv_binmode.
42070	  (rb_io_binmode_m): call rb_io_binmode_m with write_io as well.
42071	  (rb_io_flags_mode): return mode string including "t".
42072	  (rb_io_mode_flags): detect "t" for text mode.
42073	  (rb_sysopen): always specify O_BINARY.
42074
42075	* transcode.c (rb_econv_open_by_transcoder_entries): initialize flags.
42076	  (rb_econv_open): if source and destination encoding is
42077	  both empty string, open newline converter.  last_tc will be NULL in
42078	  this case.
42079	  (rb_econv_encoding_to_insert_output): last_tc may be NULL now.
42080	  (rb_econv_string): ditto.
42081	  (output_replacement_character): ditto.
42082	  (transcode_loop): ditto.
42083	  (econv_init): ditto.
42084	  (econv_inspect): ditto.
42085	  (rb_econv_binmode): new function.
42086
42087Fri Aug 22 21:18:40 2008  Tadayoshi Funaba  <tadf@dotrb.org>
42088
42089	* complex.c (nucomp_div): now behaves as quo.
42090
42091	* complex.c (nucomp_s_generic_p): has been removed.
42092
42093	* complex.c (nucomp_to_s): adopts new form.
42094
42095	* complex.c (nucomp_inspect): ditto.
42096
42097	* complex.c (string_to_c_internal): ditto and supports polar form.
42098
42099	* complex.c (rb_complex_polar): new.
42100
42101	* rational.c (nurat_to_s): do not canonicalize.
42102
42103	* rational.c (nurat_inspect): adopts new form.
42104
42105	* rational.c (string_to_r_internal): ditto.
42106
42107	* include/ruby/intern.h: added a declaration.
42108
42109	* lib/complex.rb: added an obsolete class method.
42110
42111	* lib/cmath.rb: use scalar? instead of generic?.
42112
42113Fri Aug 22 20:06:46 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
42114
42115	* lib/webrick/server.rb (WEBrick::GenericServer#shutdown):
42116	  rescue Errno::ENOTCONN and close. [ruby-dev:35896]
42117
42118	* test/openssl/test_ssl.rb (OpenSSL#start_server): ditto.
42119	  [ruby-dev:35897]
42120
42121	* lib/net/imap.rb (Net::IMAP#disconnect): ditto. [ruby-dev:35898]
42122
42123Fri Aug 22 19:58:27 2008  Tadayoshi Funaba  <tadf@dotrb.org>
42124
42125	* lib/date.rb: no need to require the "lib/rational.rb" any more.
42126
42127Fri Aug 22 15:47:38 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
42128
42129	* lib/cgi.rb: use bytesize instead of size/length.
42130
42131Fri Aug 22 14:28:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42132
42133	* strftime.c (rb_strftime): supported flags and precision for most
42134	  conversions.  [ruby-dev:35906]
42135
42136Fri Aug 22 14:04:04 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
42137
42138	* test/ruby/test_transcode.rb: test_shift_jis:
42139	  fixed comment strings (see r18291)
42140
42141Fri Aug 22 12:41:47 2008  Tanaka Akira  <akr@fsij.org>
42142
42143	* io.c (rb_io_pid): use PIDT2NUM.
42144
42145Fri Aug 22 11:36:31 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42146
42147	* dir.c (dir_enc_str_new): set US-ASCII to the path
42148	  when the path is 7bit string and encoding is ASCII compatible.
42149
42150	* dir.c (push_glob): set file system encoding when argument encoding
42151	  is US-ASCII.
42152
42153Fri Aug 22 11:30:38 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42154
42155	* dir.c (dir_enc_str_new): renamed from dir_enc_str.
42156
42157	* dir.c (dir_read): use dir_enc_str_new.
42158
42159	* dir.c (dir_each): ditto.
42160
42161	* dir.c (push_pattern): ditto.
42162
42163Fri Aug 22 11:29:10 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42164
42165	* common.mk: remove config.h dependency.
42166
42167Fri Aug 22 10:52:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42168
42169	* configure.in (gmtime_r): check if reentrant versions are available.
42170
42171	* time.c (IF_HAVE_GMTIME_R, ASCTIME, GMTIME, LOCALTIME): use reentrant
42172	  versions if available.
42173
42174Fri Aug 22 05:29:17 2008  Tanaka Akira  <akr@fsij.org>
42175
42176	* include/ruby/ruby.h (INT2NUM): just use a simple macro on LP64.
42177	  (UINT2NUM): ditto.
42178
42179Fri Aug 22 05:10:07 2008  Tanaka Akira  <akr@fsij.org>
42180
42181	* io.c (rb_file_open_generic): take filename as a VALUE.
42182	  (rb_file_open_internal): ditto.
42183	  (rb_io_open): ditto.
42184	  (rb_file_open): pass filename as a VALUE to rb_file_open_internal.
42185	  (rb_open_file): pass filename as a VALUE to rb_file_open_generic.
42186	  (open_key_args): pass filename as a VALUE to rb_io_open.
42187
42188Fri Aug 22 04:33:56 2008  Tanaka Akira  <akr@fsij.org>
42189
42190	* include/ruby/ruby.h: fix previous change for LP64.
42191
42192Fri Aug 22 03:19:41 2008  Tanaka Akira  <akr@fsij.org>
42193
42194	* include/ruby/ruby.h (NUM2LONG): make it inline function to evaluate
42195	  the argument only once.
42196	  `t = Object.new; def t.*(x) p x; 0 end; p Time.at(0, t)' did print x
42197	  twice.
42198	  (NUM2INT): ditto.
42199	  (NUM2LL): ditto.
42200	  (INT2NUM): make it inline function.
42201	  (LONG2NUM): ditto.
42202	  (UINT2NUM): ditto.
42203	  (ULONG2NUM): ditto.
42204
42205Fri Aug 22 03:03:22 2008  Tanaka Akira  <akr@fsij.org>
42206
42207	* io.c (rb_io_s_sysopen): mode can be a Bignum.
42208
42209Fri Aug 22 02:57:03 2008  Tanaka Akira  <akr@fsij.org>
42210
42211	* io.c (rb_io_extract_modeenc): notify coerced to caller.
42212	  (rb_io_initialize): mode may be a Bignum.
42213
42214Fri Aug 22 02:42:35 2008  Tanaka Akira  <akr@fsij.org>
42215
42216	* io.c (rb_io_extract_modeenc): use rb_check_to_integer to test
42217	  integer.
42218
42219Fri Aug 22 02:25:04 2008  Tanaka Akira  <akr@fsij.org>
42220
42221	* iseq.c (iseq_inspect): don't raise on uninitialized object.
42222	  show real class name.
42223
42224Fri Aug 22 02:08:58 2008  Tanaka Akira  <akr@fsij.org>
42225
42226	* io.c (rb_io_initialize): accept hash argument.
42227
42228Thu Aug 21 23:51:51 2008  Shugo Maeda  <shugo@ruby-lang.org>
42229
42230	* strftime.c (rb_strftime): supported %F and %<precision>N.
42231	  reverted config.h to ruby.h for Windows.
42232
42233	* test/ruby/test_time.rb (TestTime::test_strftime): added tests
42234	  for %F and %N.
42235
42236	* time.c: documented %F and %N.
42237
42238Thu Aug 21 20:23:26 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
42239
42240	* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_crypt): add
42241	  key and salt to error message.
42242
42243Thu Aug 21 19:20:25 2008  Tanaka Akira  <akr@fsij.org>
42244
42245	* file.c (rb_stat_inspect): don't raise if self is not initialized.
42246
42247Thu Aug 21 19:17:02 2008  Tanaka Akira  <akr@fsij.org>
42248
42249	* process.c (pst_pid): use rb_attr_get to avoid warning on
42250	  Process::Status.allocate.pid.
42251	  (pst_inspect): don't raise if self is not initialized.
42252
42253Thu Aug 21 19:05:40 2008  Tanaka Akira  <akr@fsij.org>
42254
42255	* io.c (io_extract_encoding_option): if internal encoding is not
42256	  specified, enc is external encoding.
42257
42258Thu Aug 21 14:22:50 2008  Shugo Maeda  <shugo@ruby-lang.org>
42259
42260	* strftime.c: include ruby/config.h instead of ruby/ruby.h.
42261
42262	* common.mk: removed the old rule for missing/strftime.c.
42263
42264Thu Aug 21 09:29:01 2008  Shugo Maeda  <shugo@ruby-lang.org>
42265
42266	* strftime.c (rb_strftime): return "UTC" instead of "GMT".
42267
42268	* test/ruby/test_time.rb (test_strftime): ditto.
42269
42270Thu Aug 21 07:59:04 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42271
42272	* test/iconv/test_option.rb (test_ignore_option): skip if iconv
42273	  doesn't have transliterate.
42274
42275	* test/iconv/test_option.rb (test_translit_option): ditto.
42276
42277Thu Aug 21 06:12:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42278
42279	* lib/scanf.rb (Scanf::FormatSpecifier#initialize): %i should accept
42280	  single digit decimal.  [ruby-core:18355]
42281
42282Thu Aug 21 06:02:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42283
42284	* range.c (range_initialize_copy): Range is now a Struct.
42285	  [ruby-core:18353]
42286
42287	* struct.c (rb_struct_init_copy): made public.
42288
42289Thu Aug 21 03:09:34 2008  Tanaka Akira  <akr@fsij.org>
42290
42291	* io.c (io_extract_encoding_option): enc2 is external encoding if
42292	  external encoding and internal encoding is given.
42293	  (pipe_open): add flags and convconfig argument to initialize
42294	  fptr->{mode,enc,enc2}.
42295	  (pipe_open_v): pass flags and convconfig from caller to pipe_open.
42296	  (pipe_open_s): ditto.
42297	  (pop_last_hash): new function.
42298	  (rb_io_s_popen): use last hash as option to specify code conversion.
42299	  (rb_io_open): specify flags and convconfig arguments for
42300	  pipe_open_s.
42301	  (rb_f_backquote): ditto.
42302
42303Thu Aug 21 02:27:03 2008  Tanaka Akira  <akr@fsij.org>
42304
42305	* io.c (prep_io): local variable renamed.
42306	  (rb_io_fdopen): ditto.
42307	  (prep_stdio): ditto.
42308
42309Thu Aug 21 01:58:59 2008  Shugo Maeda  <shugo@ruby-lang.org>
42310
42311	* configure.in: always check timezone().
42312
42313	* strftime.c (rb_strftime): prefer timezone/altzone rather than
42314	  gettimeofday().  The second argument to gettimeofday() is ignored
42315	  on Solaris.
42316
42317Thu Aug 21 02:03:08 2008  Tanaka Akira  <akr@fsij.org>
42318
42319	* io.c (open_key_args): simplified.
42320
42321Thu Aug 21 01:57:03 2008  Tanaka Akira  <akr@fsij.org>
42322
42323	* io.c (open_key_args): IO.foreach(path, rs, limit) didn't work.
42324
42325Thu Aug 21 01:31:34 2008  Tanaka Akira  <akr@fsij.org>
42326
42327	* io.c (rb_file_sysopen_internal): unused function removed.
42328	  (rb_file_sysopen): ditto.
42329
42330Thu Aug 21 01:09:26 2008  Tanaka Akira  <akr@fsij.org>
42331
42332	* io.c: use mode_t for the 3rd argument, permission, of open(2).
42333
42334Thu Aug 21 00:51:42 2008  Shugo Maeda  <shugo@ruby-lang.org>
42335
42336	* configure.in: removed strftime from AC_REPLACE_FUNCS().
42337
42338	* include/ruby/missing.h: removed prototype for strftime().
42339
42340	* missing/strftime.c: removed.
42341
42342	* time.c (time_to_s): use rb_strftime() instead of strftime(3).
42343	  (time_zone): ditto.
42344
42345Thu Aug 21 00:49:50 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
42346
42347	* strftime.c: win32 support.
42348
42349Thu Aug 21 00:20:05 2008  Shugo Maeda  <shugo@ruby-lang.org>
42350
42351	* strftime.c: new file.
42352
42353	* common.mk (COMMONOBJS): added strftime.$(OBJEXT).
42354
42355	* time.c (time_strftime): do not use strftime(3).  supported
42356	  %L(millisecond) and %N(nanosecond).
42357
42358	* test/ruby/test_time.rb: added tests for %L and %N.
42359
42360Wed Aug 20 23:53:42 2008  Tanaka Akira  <akr@fsij.org>
42361
42362	* io.c (io_set_encoding): removed.
42363	  (rb_io_open): set up encoding using new argument opt.
42364	  (open_key_args): call rb_io_open with opt.  don't call
42365	  io_set_encoding.
42366
42367Wed Aug 20 22:30:33 2008  Tanaka Akira  <akr@fsij.org>
42368
42369	* io.c (rb_file_open_internal): use rb_io_flags_modenum.
42370	  (rb_io_reopen): use rb_io_flags_modenum and rb_io_modenum_mode.
42371	  (rb_io_stdio_file): ditto.
42372
42373Wed Aug 20 22:28:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42374
42375	* proc.c (proc_new): use the given class.
42376
42377	* vm.c (vm_make_proc): added an argument for the class.
42378
42379Wed Aug 20 22:24:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42380
42381	* enum.c (enum_take): get rid of extraneous iteration.
42382
42383Wed Aug 20 20:32:49 2008  Tanaka Akira  <akr@fsij.org>
42384
42385	* io.c (rb_io_open_with_args): use rb_open_file instead of rb_io_open.
42386
42387Wed Aug 20 20:16:17 2008  Tanaka Akira  <akr@fsij.org>
42388
42389	* io.c (rb_scan_open_args): extracted from rb_open_file.
42390
42391Wed Aug 20 19:22:32 2008  Tanaka Akira  <akr@fsij.org>
42392
42393	* io.c (convconfig_t): new type.
42394	  (rb_io_extract_modeenc): new function.
42395	  (rb_file_open_generic): new function.
42396	  (rb_file_open_internal): use rb_file_open_generic.
42397	  (rb_file_sysopen_internal): use rb_file_open_generic.
42398	  (rb_open_file): use rb_io_extract_modeenc and rb_file_open_generic.
42399	  (rb_io_open): call rb_file_open_internal instead of rb_file_open.
42400
42401Wed Aug 20 19:15:35 2008  Tanaka Akira  <akr@fsij.org>
42402
42403	* io.c (Init_IO): new constants: File::DSYNC, File::RSYNC and
42404	  File::NOFOLLOW.
42405
42406Wed Aug 20 18:41:11 2008  Tanaka Akira  <akr@fsij.org>
42407
42408	* io.c (rb_open_file): don't lookup :mode and :perm in opt.  it is
42409	  useless because vmode and perm is overwritten by rb_scan_args
42410	  anyway.
42411
42412Wed Aug 20 18:37:20 2008  Tanaka Akira  <akr@fsij.org>
42413
42414	* io.c (open_key_args): meaningless MEMCPY removed.
42415
42416Wed Aug 20 18:30:58 2008  Tanaka Akira  <akr@fsij.org>
42417
42418	* io.c (prep_io) [cygwin]: use FMODE_BINMODE instead of O_BINARY.
42419
42420Wed Aug 20 16:39:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42421
42422	* array.c (rb_ary_sample): performance improvement for huge array.
42423
42424Wed Aug 20 12:28:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42425
42426	* array.c (rb_ary_sample): get rid of infinite loop.  #455
42427
42428Wed Aug 20 06:09:31 2008  Tanaka Akira  <akr@fsij.org>
42429
42430	* include/ruby/io.h (FMODE_TRUNC): value changed because 0x100 is used
42431	  as FMODE_NOREVLOOKUP in socket.c
42432
42433Wed Aug 20 05:19:40 2008  Tanaka Akira  <akr@fsij.org>
42434
42435	* io.c (parse_mode_enc): extracted from mode_enc.
42436	  (io_extract_encoding_option): extracted from io_set_encoding.
42437
42438Wed Aug 20 04:17:26 2008  Tanaka Akira  <akr@fsij.org>
42439
42440	* io.c (rb_io_flags_modenum): make it static.
42441
42442Wed Aug 20 03:36:45 2008  Tanaka Akira  <akr@fsij.org>
42443
42444	* include/ruby/io.h (FMODE_TRUNC): new constant.
42445
42446	* io.c (rb_io_mode_flags): set FMODE_TRUNC for "w".
42447	  (rb_io_modenum_flags): set FMODE_TRUNC for O_TRUNC.
42448	  (rb_io_flags_modenum): new function.
42449	  (rb_io_mode_modenum): just use rb_io_mode_flags and
42450	  rb_io_flags_modenum.
42451
42452Wed Aug 20 02:36:21 2008  Tanaka Akira  <akr@fsij.org>
42453
42454	* io.c (fopen): macro for vms removed.  fopen is not used now.
42455
42456Wed Aug 20 02:27:42 2008  Tanaka Akira  <akr@fsij.org>
42457
42458	* transcode.c (rb_econv_open): fix memory leak.
42459	  (rb_econv_close): ditto.
42460	  fixed by shinichiro.h.  [ruby-dev:35880]
42461
42462Tue Aug 19 21:50:43 2008  Tanaka Akira  <akr@fsij.org>
42463
42464	* include/ruby/io.h (rb_fopen): declaration removed.
42465
42466	* io.c (rb_fopen): unused function removed.
42467
42468Tue Aug 19 21:14:22 2008  Tanaka Akira  <akr@fsij.org>
42469
42470	* include/ruby/io.h (FMODE_READWRITE): define as
42471	  FMODE_READABLE|FMODE_WRITABLE.
42472
42473Tue Aug 19 21:13:08 2008  Tanaka Akira  <akr@fsij.org>
42474
42475	* io.c (rb_io_flags_mode): use hexadecimal in error message.
42476	  (rb_io_modenum_mode): ditto.
42477	  (rb_io_initialize): ditto.
42478
42479Tue Aug 19 18:23:40 2008  Tanaka Akira  <akr@fsij.org>
42480
42481	* io.c (rb_io_flags_mode): add a prefix 0 to octal in error message.
42482	  (rb_io_modenum_mode): ditto.
42483
42484Tue Aug 19 18:05:45 2008  Tanaka Akira  <akr@fsij.org>
42485
42486	* include/ruby/io.h (FMODE_*): sorted and describe the values in
42487	  hexadecimal.
42488
42489Tue Aug 19 17:32:30 2008  Tanaka Akira  <akr@fsij.org>
42490
42491	* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the
42492	  result of d2i_X509_NAME into DATA_PTR(self).
42493
42494Tue Aug 19 04:54:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42495
42496	* lib/rake.rb (FileUtils#ruby): takes care of space containing path.
42497	  [ ruby-Bugs-21591 ]
42498
42499Tue Aug 19 01:32:37 2008  Tanaka Akira  <akr@fsij.org>
42500
42501	* io.c (rb_open_file): encoding in mode string was ignored if perm is
42502	  specified.
42503
42504Tue Aug 19 01:02:19 2008  Tanaka Akira  <akr@fsij.org>
42505
42506	* io.c (rb_open_file): don't access argv[-1] by
42507	  File.allocate.instance_eval { initialize }.
42508
42509Tue Aug 19 00:56:01 2008  Tanaka Akira  <akr@fsij.org>
42510
42511	* re.c (rb_reg_inspect): don't raise for uninitialized Regexp.
42512
42513Tue Aug 19 00:34:24 2008  Tanaka Akira  <akr@fsij.org>
42514
42515	* io.c (rb_io_check_readable): side effect for STDIN removed.
42516	  (rb_io_external_encoding): ditto.
42517
42518Mon Aug 18 23:27:07 2008  Tanaka Akira  <akr@fsij.org>
42519
42520	* io.c (io_ungetbyte): renamed from io_ungetc.
42521	  (rb_io_ungetbyte): new method.
42522	  (rb_io_ungetc): push back into character buffer if enc2 is set.
42523
42524Mon Aug 18 22:41:46 2008  Tanaka Akira  <akr@fsij.org>
42525
42526	* io.c (id_encode): removed.
42527
42528Mon Aug 18 22:30:07 2008  Tanaka Akira  <akr@fsij.org>
42529
42530	* io.c (make_writeconv): if enc and enc2 is set, convert
42531	  string.encoding to enc2.
42532
42533	* include/ruby/io.h: comment changed.
42534
42535Mon Aug 18 21:02:08 2008  Tanaka Akira  <akr@fsij.org>
42536
42537	* include/ruby/io.h (rb_io_t): new fields: writeconv,
42538	  writeconv_stateless and writeconv_initialized.
42539	  (MakeOpenFile): initialize them.
42540
42541	* include/ruby/encoding.h (rb_econv_stateless_encoding): declared.
42542	  (rb_econv_string): declared.
42543
42544	* io.c (make_writeconv): new function.
42545	  (io_fwrite): use econv.
42546	  (make_readconv): fix error message.
42547	  (finish_writeconv): new function.
42548	  (fptr_finalize): call finish_writeconv.
42549	  (clear_writeconv): new function.
42550	  (clear_codeconv): new function to call both clear_readconv and
42551	  clear_writeconv.
42552	  (rb_io_fptr_finalize): call clear_codeconv instead of
42553	  clear_readconv.
42554	  (mode_enc): ditto.
42555	  (io_set_encoding): ditto.
42556	  (argf_next_argv): ditto.
42557	  (io_encoding_set): ditto.
42558
42559	* gc.c (gc_mark_children): mark writeconv_stateless in T_FILE.
42560
42561	* transcode.c (stateless_encoding_i): new function.
42562	  (rb_econv_stateless_encoding): ditto.
42563	  (rb_econv_string): ditto.
42564
42565Mon Aug 18 17:23:38 2008  Tanaka Akira  <akr@fsij.org>
42566
42567	* io.c (clear_readconv): extracted from rb_io_fptr_finalize.
42568	  (mode_enc): call clear_readconv.
42569	  (io_set_encoding): ditto.
42570	  (argf_next_argv): ditto.
42571	  (io_encoding_set): ditto.
42572
42573Mon Aug 18 16:54:06 2008  Tanaka Akira  <akr@fsij.org>
42574
42575	* io.c (mode_enc): modify enc and enc2 consistently.
42576	  (io_set_encoding): ditto.
42577	  (io_encoding_set): ditto.
42578
42579Mon Aug 18 13:21:38 2008  Tanaka Akira  <akr@fsij.org>
42580
42581	* transcode.c (transcode_search_path): prevent infinite loop by
42582	  searching a path for self conversion.
42583
42584Mon Aug 18 12:45:24 2008  Tanaka Akira  <akr@fsij.org>
42585
42586	* io.c (io_enc_str): code conversion removed.
42587	  (io_enc_str_converted): removed because it is identical to
42588	  io_enc_str now.
42589
42590Mon Aug 18 12:12:29 2008  Tanaka Akira  <akr@fsij.org>
42591
42592	* io.c (io_shift_crbuf): add strp argument to append into existing
42593	  string.
42594	  (read_all): use econv if enc2 is set.
42595	  (io_getc): follow the io_shift_crbuf change.
42596
42597Mon Aug 18 10:35:25 2008  Tanaka Akira  <akr@fsij.org>
42598
42599	* io.c (io_enc_str_converted): new function.
42600	  (make_readconv): extracted from io_getc.
42601	  (more_char): ditto.
42602	  (appendline): use econv via make_readconv and more_char for code
42603	  conversion.
42604	  (prepare_getline_args): don't convert record separator.
42605	  (rb_io_getline_1): don't use rb_io_getline_fast if enc2 is set.
42606	  (io_getc): use make_readconv and more_char.
42607
42608Mon Aug 18 08:27:44 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
42609
42610	* common.mk: fix error in uncommon.mk.
42611
42612Mon Aug 18 06:10:08 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42613
42614	* common.mk: config.h depends config.status.
42615
42616Mon Aug 18 03:59:43 2008  Tanaka Akira  <akr@fsij.org>
42617
42618	* io.c (appendline): appendline cannot check character boundary.
42619	  (rb_io_getline_1): relax limit until character boundary.
42620
42621Mon Aug 18 02:25:11 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>
42622
42623	* lib/webrick/cgi.rb (WEBrick::CGI::Socket#eof?): added lacked method.
42624
42625Sun Aug 17 21:50:22 2008  Tanaka Akira  <akr@fsij.org>
42626
42627	* io.c (prepare_getline_args): io.gets(10,nil) should cause TypeError.
42628
42629Sun Aug 17 15:58:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42630
42631	* lib/mkmf.rb: not check config.h.
42632
42633	* lib/mkmf.rb (init_mkmf): add include/ruby/backward to $INCFLAGS.
42634
42635	* include/ruby/backward/{st,util}.h: added for backward compatibility.
42636	  [ruby-dev:35811]
42637
42638Sun Aug 17 13:40:04 2008  Tanaka Akira  <akr@fsij.org>
42639
42640	* transcode.c (econv_primitive_putback): new method.
42641
42642Sun Aug 17 13:23:53 2008  Tanaka Akira  <akr@fsij.org>
42643
42644	* include/ruby/encoding.h (rb_econv_putbackable): declared.
42645	  (rb_econv_putback): ditto.
42646
42647	* transcode.c (rb_econv_putbackable): implemented.
42648	  (rb_econv_putback): ditto.
42649
42650	* io.c (io_getc): put back bytes if possible.
42651
42652Sun Aug 17 12:00:18 2008  Tanaka Akira  <akr@fsij.org>
42653
42654	* transcode.c (make_econv_exception): add several instance variables
42655	  to exception object.
42656	  (ecerr_source_encoding): new method:
42657	  Encoding::ConversionUndefined#source_encoding and
42658	  Encoding::InvalidByteSequence#source_encoding.
42659	  (ecerr_destination_encoding): new method:
42660	  Encoding::ConversionUndefined#destination_encoding and
42661	  Encoding::InvalidByteSequence#destination_encoding.
42662	  (econverr_error_char): new method:
42663	  Encoding::ConversionUndefined#error_char.
42664	  (econverr_error_bytes): new method:
42665	  Encoding::ConversionUndefined#error_bytes.
42666
42667Sun Aug 17 11:43:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42668
42669	* random.c (struct MT): packed Mersenne Twister staffs.
42670
42671	* random.c (struct RandSeed): packed random seed staffs.
42672
42673Sun Aug 17 08:38:26 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42674
42675	* test/iconv/test_option.rb (test_ignore_option): skip if iconv
42676	  doesn't have transliterate.
42677
42678	* test/iconv/test_option.rb (test_translit_option): ditto.
42679
42680Sun Aug 17 01:29:46 2008  Tanaka Akira  <akr@fsij.org>
42681
42682	* include/ruby/io.h (rb_io_t): new fields: readconv, crbuf, crbuf_off,
42683	  crbuf_len, crbuf_capa.
42684	  (MakeOpenFile): initialize them.
42685
42686	* io.c (io_shift_crbuf): new function.
42687	  (io_getc): use econv.
42688	  (rb_io_fptr_finalize): finalize readconv and crbuf.
42689
42690Sun Aug 17 00:02:07 2008  Tanaka Akira  <akr@fsij.org>
42691
42692	* include/ruby/encoding.h (rb_econv_check_error): declared.
42693
42694	* transcode.c (make_econv_exception): new function.
42695	  (transcode_loop): use make_econv_exception.
42696	  (rb_econv_check_error): defined.
42697
42698Sat Aug 16 15:23:16 2008  Tanaka Akira  <akr@fsij.org>
42699
42700	* include/ruby/encoding.h (rb_econv_elem_t): fields removed: from and
42701	  to.
42702	  (rb_econv_t): new fields: source_encoding_name and
42703	  destination_encoding_name.
42704
42705	* transcode.c (rb_econv_open_by_transcoder_entries): initialize the
42706	  new fields.
42707	  (rb_econv_open): set up the new fields.
42708	  (econv_inspect): use the new fields.
42709
42710Sat Aug 16 14:22:04 2008  Tanaka Akira  <akr@fsij.org>
42711
42712	* include/ruby/encoding.h (rb_econv_t): add fields: in_buf_start,
42713	  in_data_start, in_data_end, in_buf_end and last_trans_index.
42714	  (rb_econv_output): removed.
42715	  (rb_econv_insert_output): declared.
42716	  (rb_econv_encoding_to_insert_output): declared.
42717
42718	* enc/trans/newline.trans (rb_universal_newline): stateful_type
42719	  changed.
42720
42721	* transcode.c (transcode_restartable0): initialize inchar_start,
42722	  tc->recognized_len and next_table at beginning of the loop.
42723	  (rb_econv_open_by_transcoder_entries): initialize new fields.
42724	  (rb_econv_open): setup last_trans_index.
42725	  (trans_sweep): last out_buf_start can be non-NULL now.
42726	  (rb_econv_convert): check last out_buf_start and in_buf_start at
42727	  first.
42728	  (rb_econv_output_with_destination_encoding): removed.
42729	  (econv_just_convert): removed.
42730	  (rb_econv_output): removed.
42731	  (econv_primitive_output): method removed.
42732	  (rb_econv_encoding_to_insert_output): new function.
42733	  (allocate_converted_string): new function.
42734	  (rb_econv_insert_output): new function.
42735	  (econv_primitive_insert_output): new method.
42736	  (output_replacement_character): use rb_econv_insert_output.  unused
42737	  arguments removed.
42738
42739Sat Aug 16 09:20:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42740
42741	* include/ruby/ruby.h (rb_intern_const): tiny optimization.
42742
42743	* include/ruby/ruby.h (SSIZET2NUM, NUM2SSIZET, SSIZE_MAX, SSIZE_MIN):
42744	  macros for ssize_t.
42745
42746Sat Aug 16 08:11:04 2008  Tanaka Akira  <akr@fsij.org>
42747
42748	* transcode_data.h (rb_transcoder_stateful_type_t): defined.
42749	  (rb_transcoder): add field: stateful_type.
42750
42751	* tool/transcode-tblgen.rb: generate stateful_type field as
42752	  stateless_converter.
42753
42754	* enc/trans/iso2022.trans: follow rb_transcoder change.
42755
42756	* enc/trans/newline.trans: ditto.
42757
42758	* enc/trans/utf_16_32.trans: ditto.
42759
42760Fri Aug 15 23:07:48 2008  Tanaka Akira  <akr@fsij.org>
42761
42762	* transcode.c (econv_just_convert): extracted from rb_econv_output.
42763	  (rb_econv_output): use econv_just_convert.
42764	  (econv_primitive_output): new method.
42765
42766Fri Aug 15 19:57:01 2008  Tanaka Akira  <akr@fsij.org>
42767
42768	* include/ruby/encoding.h (rb_econv_output): add str_encoding
42769	  argument.
42770
42771	* transcode.c (get_replacement_character): add repl_enc_ptr argument.
42772	  (rb_econv_output_with_destination_encoding): renamed from
42773	  rb_econv_output and make it static.
42774	  (rb_econv_output): convert str and call
42775	  rb_econv_output_with_destination_encoding.
42776	  (output_replacement_character): follow above interface change.
42777
42778Fri Aug 15 19:33:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42779
42780	* string.c (rb_str_drop_bytes): use memmove.
42781
42782Fri Aug 15 18:33:22 2008  Tanaka Akira  <akr@fsij.org>
42783
42784	* include/ruby/encoding.h (rb_econv_t): add error_tc in last_error.
42785
42786	* transcode.c (rb_econv_convert): fill error_tc.
42787
42788Fri Aug 15 18:10:49 2008  Tanaka Akira  <akr@fsij.org>
42789
42790	* include/ruby/encoding.h (rb_econv_t): new field: last_error.
42791
42792	* transcode.c (rb_trans_conv): new argument: result_position_ptr.
42793	  (rb_econv_convert): fill last_error.
42794	  (econv_result_to_symbol): extracted from econv_primitive_convert.
42795	  (econv_primitive_errinfo): new method.
42796
42797Fri Aug 15 17:39:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42798
42799	* common.mk (parse.{c,h}): creates in the dependency order.
42800
42801Fri Aug 15 16:59:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42802
42803	* vm_core.h (exec_event_hooks): skips RubyVM::FrozenCore.
42804
42805	* vm.c (Init_VM): get rid of SEGV in a trace proc.
42806
42807Fri Aug 15 09:33:48 2008  Tanaka Akira  <akr@fsij.org>
42808
42809	* transcode.c (conv_init): check empty name.
42810
42811Fri Aug 15 09:03:54 2008  Tanaka Akira  <akr@fsij.org>
42812
42813	* transcode.c (econv_init): don't create dummy encoding if
42814	  rb_econv_open is failed.
42815	  (make_dummy_encoding): new function extracted from make_encoding.
42816	  (make_encoding): removed.
42817
42818Fri Aug 15 01:07:16 2008  NARUSE, Yui  <naruse@ruby-lang.org>
42819
42820	* common.mk ({$(srcdir)}.y.c): escape backslash.
42821
42822Fri Aug 15 01:05:39 2008  Tanaka Akira  <akr@fsij.org>
42823
42824	* transcode.c (econv_primitive_convert): set destination_buffer
42825	  encoding.
42826
42827Fri Aug 15 00:52:40 2008  Tanaka Akira  <akr@fsij.org>
42828
42829	* include/ruby/encoding.h (rb_econv_output): declared.
42830
42831	* transcode_data.h (rb_transcoder): add resetsize_func field.
42832
42833	* enc/trans/iso2022.trans (iso2022jp_reset_sequence_size): defined.
42834	  (rb_EUC_JP_to_ISO_2022_JP): provide resetsize_func.
42835
42836	* tool/transcode-tblgen.rb: set NULL for resetsize_func.
42837
42838	* transcode.c (rb_econv_output): new function for inserting output.
42839	  (output_replacement_character): use rb_econv_output.
42840	  (transcode_loop): check return value of
42841	  output_replacement_character.
42842
42843Thu Aug 14 23:47:21 2008  Tanaka Akira  <akr@fsij.org>
42844
42845	* include/ruby/encoding.h (ECONV_UNIVERSAL_NEWLINE_DECODER): defined.
42846	  (ECONV_CRLF_NEWLINE_ENCODER): ditto.
42847	  (ECONV_CR_NEWLINE_ENCODER): ditto.
42848	  (ECONV_PARTIAL_INPUT): ditto.
42849	  (ECONV_OUTPUT_FOLLOWED_BY_INPUT): ditto.
42850
42851	* transcode.c: use ECONV_* defined as above.
42852
42853Thu Aug 14 23:35:21 2008  Tanaka Akira  <akr@fsij.org>
42854
42855	* transcode.c: local variable renamed.
42856
42857Thu Aug 14 23:22:24 2008  Tanaka Akira  <akr@fsij.org>
42858
42859	* include/ruby/encoding.h (rb_econv_result_t): moved from
42860	  transcode_data.h.
42861	  (rb_econv_elem_t): ditto.
42862	  (rb_econv_t): ditto.  source_encoding and destination_encoding field
42863	  is added.
42864	  (rb_econv_open): declared.
42865	  (rb_econv_convert): ditto.
42866	  (rb_econv_close): ditto.
42867
42868	* transcode.c (rb_econv_open_by_transcoder_entries): initialize
42869	  source_encoding and destination_encoding field as NULL.
42870	  (rb_econv_open): make it external linkage.
42871	  (rb_econv_close): ditto.
42872	  (rb_econv_convert): ditto.  renamed from rb_econv_conv.
42873	  (make_encoding): new function.
42874	  (econv_init): use make_encoding and store rb_encoding* in
42875	  rb_econv_t.
42876	  (econv_source_encoding): new method
42877	  Encoding::Converter#source_encoding.
42878	  (econv_destination_encoding): new method
42879	  Encoding::Converter#destination_encoding.
42880
42881Thu Aug 14 22:44:32 2008  Tanaka Akira  <akr@fsij.org>
42882
42883	* transcode_data.h (rb_econv_result_t): change enumeration
42884	  constant's prefix: transcode_ to econv_.
42885
42886	* transcode.c: follow the constant prefix change.
42887
42888Thu Aug 14 21:34:41 2008  Tanaka Akira  <akr@fsij.org>
42889
42890	* transcode.c (econv_init): accept Encoding object as source_encoding
42891	  and destination_encoding.
42892
42893Thu Aug 14 21:10:00 2008  Tanaka Akira  <akr@fsij.org>
42894
42895	* encoding.c (rb_filesystem_encoding): use default external encoding
42896	  for Unix.
42897
42898	* dir.c (dir_initialize): don't cache fs_encoding.
42899
42900Thu Aug 14 20:58:57 2008  Tanaka Akira  <akr@fsij.org>
42901
42902	* transcode.c (rb_econv_open_by_transcoder_entries): renamed from
42903	  rb_trans_open_by_transcoder_entries.
42904
42905Thu Aug 14 20:56:28 2008  Tanaka Akira  <akr@fsij.org>
42906
42907	* transcode.c (econv_max_output): removed.
42908
42909Thu Aug 14 20:52:55 2008  Tanaka Akira  <akr@fsij.org>
42910
42911	* tool/transcode-tblgen.rb: check unexpected actions.
42912
42913Thu Aug 14 20:25:52 2008  Tanaka Akira  <akr@fsij.org>
42914
42915	* transcode_data.h (transcode_invalid_byte_sequence): renamed from
42916	  transcode_invalid_input.
42917	  (transcode_destination_buffer_full): renamed from transcode_obuf_full.
42918	  (transcode_source_buffer_empty): renamed from transcode_ibuf_empty.
42919	  (rb_econv_result_t): renamed from rb_trans_result_t.
42920	  (rb_econv_elem_t): renamed from rb_trans_elem_t.
42921	  (rb_econv_t): renamed from rb_trans_t.
42922
42923	* transcode.c (UNIVERSAL_NEWLINE_DECODER): renamed from
42924	  UNIVERSAL_NEWLINE.
42925	  (CRLF_NEWLINE_ENCODER): renamed from CRLF_NEWLINE.
42926	  (CR_NEWLINE_ENCODER): renamed from CR_NEWLINE.
42927	  (rb_econv_open): renamed from rb_trans_open.
42928	  (rb_econv_close): renamed from rb_trans_close.
42929
42930Thu Aug 14 19:41:42 2008  Tanaka Akira  <akr@fsij.org>
42931
42932	* transcode.c (load_transcoder): unused function removed.
42933	  (rb_transcoding_open): ditto.
42934
42935Thu Aug 14 17:57:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42936
42937	* include/ruby/encoding.h (rb_enc_ispunct): added.
42938
42939	* common.mk (COMMONOBJS), inits.c (rb_call_inits): id.c is now
42940	  included from parse.c.
42941
42942	* id.c (Init_id), id.h (ruby_method_ids): added IDs used by VM.
42943
42944	* parse.y (global_symbols): added rooms for VM IDs.
42945
42946	* parse.y (rb_intern3, rb_id2str): single punctuation symbol is now
42947	  same as char code.
42948
42949Thu Aug 14 17:46:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42950
42951	* parse.y (union tmpyystype): no longer needed, since YYSTYPE is
42952	  defined in parse.h now.
42953
42954Thu Aug 14 17:27:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
42955
42956	* version.c (Init_version): add RUBY_ENGINE constant.
42957
42958Thu Aug 14 15:34:10 2008  Tanaka Akira  <akr@fsij.org>
42959
42960	* transcode.c (rb_econv_conv): new function.  it doesn't consume
42961	  input too much, even for multilevel conversion.
42962	  (transcode_loop): use rb_econv_conv.
42963	  (econv_primitive_convert): ditto.
42964
42965Thu Aug 14 15:27:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42966
42967	* include/ruby/defines.h (RUBY_ALIAS_FUNCTION): fallback definition.
42968
42969Thu Aug 14 15:08:17 2008  Tanaka Akira  <akr@fsij.org>
42970
42971	* transcode_data.h (rb_trans_result_t): new enumeration constant:
42972	  transcode_output_followed_by_input.
42973
42974	* transcode.c (OUTPUT_FOLLOWED_BY_INPUT): new flag.
42975	  (transcode_restartable0): suspend when output followed by input if
42976	  OUTPUT_FOLLOWED_BY_INPUT is specified.
42977	  (trans_sweep): check OUTPUT_FOLLOWED_BY_INPUT.
42978	  (rb_trans_conv): support OUTPUT_FOLLOWED_BY_INPUT.
42979	  (econv_primitive_convert): return :output_followed_by_input for
42980	  transcode_output_followed_by_input.
42981
42982Thu Aug 14 14:57:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42983
42984	* gc.c (getrusage_time): should return the value.
42985
42986	* thread.c (rb_thread_priority_set): get rid of C99 feature.
42987
42988	* transcode.c (transcode_search_path): ditto.
42989
42990	* vm.c (REWIND_CFP): get rid of statement expressions.
42991
42992Thu Aug 14 14:13:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42993
42994	* vm.c (Init_VM): hide FrozenCore.
42995
42996Thu Aug 14 12:20:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
42997
42998	* transcode.c (load_transcoder): suppress warning.
42999
43000	* missing/vsnprintf.c (BSD_vfprintf): ditto.
43001
43002Thu Aug 14 12:01:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43003
43004	* configure.in (gnumake): check for GNU make.
43005
43006	* Makefile.in (uncommon.mk): includes filtered common.mk.
43007
43008	* common.mk (parse.h): workaround for nmake.
43009
43010Thu Aug 14 06:09:12 2008  Koichi Sasada  <ko1@atdot.net>
43011
43012	* thread.c (rb_thread_execute_interrupts): switch event
43013	  should be occur only once.
43014
43015Thu Aug 14 05:36:36 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43016
43017	* common.mk: parse.h depends on parse.c.
43018
43019	* common.mk: hash.o depends on $(ID_H_INCLUDES).
43020
43021Thu Aug 14 02:45:16 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
43022
43023	* test/ruby/test_file_exhaustive.rb (TestFileExhaustive#setup):
43024	  set group of tmpdir.  [ruby-dev:35633]
43025
43026Thu Aug 14 15:50:30 2008  Giuseppe Bilotta  <giuseppe.bilotta@gmail.com>
43027
43028	* hash.c (set_default): fix rdoc.  #441
43029
43030Thu Aug 14 02:23:31 2008  Tanaka Akira  <akr@fsij.org>
43031
43032	* transcode.c (econv_primitive_convert): add output_byteoffset
43033	  argument.
43034
43035Thu Aug 14 00:43:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43036
43037	* configure.in (rb_cv_gcc_function_alias): checks alias attribute.
43038
43039	* string.c (alias_func): replaced with RUBY_ALIAS_FUNCTION.
43040
43041Wed Aug 13 23:42:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43042
43043	* common.mk (parse.h): fake rule.
43044
43045Wed Aug 13 23:15:58 2008  Shugo Maeda  <shugo@ruby-lang.org>
43046
43047	* test/ruby/test_thread.rb (test_list): call Thread.pass to run t1.
43048	  fixed [ruby-core:18264].
43049
43050Wed Aug 13 23:05:51 2008  TAKAO Kouji  <kouji@takao7.net>
43051
43052	* string.c (alias_func): changed to 'weak, alias' from 'alias' for
43053	  Mac OSX. (closes #429)
43054
43055Wed Aug 13 19:40:12 2008  Koichi Sasada  <ko1@atdot.net>
43056
43057	* gc.c: count only freed object as freelist size.
43058
43059Wed Aug 13 18:34:22 2008  Shugo Maeda  <shugo@ruby-lang.org>
43060
43061	* marshal.c (marshal_load): set arg.untrust properly.
43062
43063Wed Aug 13 17:47:09 2008  Tanaka Akira  <akr@fsij.org>
43064
43065	* transcode.c (econv_inspect): new method.
43066
43067Wed Aug 13 17:35:58 2008  Tanaka Akira  <akr@fsij.org>
43068
43069	* transcode.c (transcode_restartable0): several local variables
43070	  removed.
43071
43072Wed Aug 13 17:35:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43073
43074	* hash.c (rb_hash_set_default_proc): add new method.  a patch from
43075	  Giuseppe Bilotta.  #419
43076
43077Wed Aug 13 17:31:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43078
43079	* vm_insnhelper.c (caller_setup_args): should ensure if the value
43080	  from to_proc is a real Proc.
43081
43082Wed Aug 13 17:28:29 2008  Akinori MUSHA  <knu@iDaemons.org>
43083
43084	* common.mk: regint.h no longer includes vm_core.h.
43085
43086Wed Aug 13 17:26:44 2008  Tanaka Akira  <akr@fsij.org>
43087
43088	* transcode_data.h (rb_transcoding): add fields: writebuf_off,
43089	  writebuf_len and writebuf.
43090	  (TRANSCODING_WRITEBUF): new macro.
43091
43092	* transcode.c (transcode_restartable0): output until output buffer is
43093	  really full.
43094	  (rb_transcoding_open_by_transcoder): initialize writebuf_len,
43095	  writebuf_off and writebuf.
43096	  (rb_transcoding_close): finalize writebuf.
43097
43098Wed Aug 13 17:18:37 2008  Koichi Sasada  <ko1@atdot.net>
43099
43100	* thread.c (rb_thread_check_ints): added.  please note that
43101	  this function may cause ruby's thread switching.
43102
43103	* include/ruby/intern.h: ditto.
43104
43105	* regint.h: use rb_thread_check_ints() instead of
43106	  RUBY_CHECK_INTS() directly.
43107
43108Wed Aug 13 17:01:36 2008  Akinori MUSHA  <knu@iDaemons.org>
43109
43110	* golf_prelude.rb, lib/set.rb (TC_Set#test_each),
43111	  test/readline/test_readline_history.rb (Readline#test_each__enumerator),
43112	  test/ruby/test_array.rb (TestArray#test_collect),
43113	  test/ruby/test_enumerator.rb (TestEnumerator#test_initialize):
43114	  Enumerable::Enumerator is now called Enumerator.
43115
43116	* lib/rinda/tuplespace.rb (Rinda::TupleBag#initialize): Use
43117	  enum_for instead of hardcoding Enumerable::Enumerator.
43118
43119Wed Aug 13 16:40:57 2008  Koichi Sasada  <ko1@atdot.net>
43120
43121	* thread.c, vm_core.h: add manual priority support
43122	  using time slice.  if you enable USE_NATIVE_THREAD_PRIORITY
43123	  macro, this mechanism is ignored.  [ruby-dev:33124]
43124
43125	* thread_pthread.c, thread_win32.c: ditto.
43126
43127	* test/ruby/test_thread.rb: fix test parameter.
43128
43129Wed Aug 13 16:02:14 2008  Shugo Maeda  <shugo@ruby-lang.org>
43130
43131	* object.c (rb_obj_untrusted): new method Object#untrusted?.
43132	  (rb_obj_untrust): new method Object#untrust.
43133	  (rb_obj_trust): new method Object#trust.
43134
43135	* array.c, debug.c, time.c, include/ruby/ruby.h, re.c, variable.c,
43136	  string.c, io.c, dir.c, vm_method.c, struct.c, class.c, hash.c,
43137	  ruby.c, marshal.c: fixes for Object#untrusted?.
43138
43139	* test/ruby/test_module.rb, test/ruby/test_array.rb,
43140	  test/ruby/test_object.rb, test/ruby/test_string.rb,
43141	  test/ruby/test_marshal.rb, test/ruby/test_hash.rb: added tests for
43142	  Object#untrusted?.
43143
43144Wed Aug 13 16:13:58 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43145
43146	* test/ruby/test_m17n.rb: follow EncodingCompatibilityError.
43147
43148	* test/ruby/test_mixed_unicode_escapes.rb: ditto.
43149
43150	* test/ruby/enc/test_utf16.rb: ditto.
43151
43152Wed Aug 13 16:05:50 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43153
43154	* time.c (time_cmp): retry with right hand operand if its not a
43155	  time object.  [ruby-dev:35011]
43156
43157Wed Aug 13 15:51:22 2008  Akinori MUSHA  <knu@iDaemons.org>
43158
43159	* string.c: Apply a temporary fix to fix build on OS X.  A real
43160	  fix will follow later.
43161
43162Wed Aug 13 15:25:09 2008  Akinori MUSHA  <knu@iDaemons.org>
43163
43164	* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to
43165	  just Enumerator.
43166
43167Wed Aug 13 15:13:57 2008  Akinori MUSHA  <knu@iDaemons.org>
43168
43169	* common.mk (prelude.c, golf_prelude.c): Using $(COMPILE_PRELUDE)
43170	  requires $(RBCONFIG).
43171
43172Wed Aug 13 15:08:04 2008  Tanaka Akira  <akr@fsij.org>
43173
43174	* transcode.c (econv_init): make flags argument optional.
43175	  (econv_primitive_convert): ditto.
43176
43177Wed Aug 13 14:55:27 2008  Akinori MUSHA  <knu@iDaemons.org>
43178
43179	* common.mk (realclean-local): Remove parse.h as well.
43180
43181	* common.mk: Add missing dependencies regarding vm_core.h, id.h,
43182	  parse.c (parse.h), etc..
43183
43184Wed Aug 13 14:45:37 2008  Tanaka Akira  <akr@fsij.org>
43185
43186	* enc/trans/newline.trans (rb_crlf_newline): new transcoder.
43187	  (rb_cr_newline): new transcoder.
43188
43189	* transcode.c (trans_open_i): one more extra room for input newline
43190	  converter.
43191	  (rb_trans_open): crlf newline and cr newline implemented.
43192	  (Init_transcode): Encoding::Converter::CRLF_NEWLINE and
43193	  Encoding::Converter::CR_NEWLINE defined.
43194
43195Wed Aug 13 14:22:16 2008  Tanaka Akira  <akr@fsij.org>
43196
43197	* enc/trans/newline.trans: new file.
43198
43199	* transcode_data.h (rb_trans_t): add last_tc field.
43200
43201	* transcode.c (UNIVERSAL_NEWLINE): defined.
43202	  (CRLF_NEWLINE): defined.
43203	  (CR_NEWLINE): defined.
43204	  (rb_trans_open_by_transcoder_entries): initialize last_tc.
43205	  (trans_open_i): allocate one more room for output newline converter.
43206	  (rb_trans_open): universal newline implemented.
43207	  (more_output_buffer): take max_output argument instead ts.
43208	  (output_replacement_character): take tc argument instead of ts.
43209	  (transcode_loop): use last_tc field.
43210	  (econv_init): add flags argument for rb_trans_open.
43211	  (Init_transcode): Encoding::Converter::UNIVERSAL_NEWLINE defined.
43212
43213Wed Aug 13 14:00:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43214
43215	* common.mk (parse.c): generates parse.h together.
43216
43217	* id.c, id.h: use constants for parser tokens.
43218
43219Wed Aug 13 13:47:05 2008  Koichi Sasada  <ko1@atdot.net>
43220
43221	* vm.c: rewind cfp to show proper backtrace.
43222	  [ruby-dev:35820]
43223
43224Wed Aug 13 13:09:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43225
43226	* tool/make-snapshot: fix for clean up.
43227
43228Wed Aug 13 11:45:51 2008  Akinori MUSHA  <knu@iDaemons.org>
43229
43230	* vm_core.h: Declare rb_iseq_clone, which is used in class.c.
43231
43232Wed Aug 13 11:39:19 2008  Tanaka Akira  <akr@fsij.org>
43233
43234	* transcode.c (transcode_search_path): return the length of converter
43235	  path.
43236	  (load_transcoder_entry): renamed from load_transcoder.
43237	  (load_transcoder): new function for loading transcoder by encoding
43238	  names.
43239	  (rb_transcoding_open_by_transcoder): extracted from
43240	  rb_transcoding_open.
43241	  (rb_transcoding_open): use load_transcoder and
43242	  rb_transcoding_open_by_transcoder.
43243	  (rb_trans_open_by_transcoder_entries): new function.
43244	  (trans_open_i): construct entries array.
43245	  (rb_trans_open): use rb_trans_open_by_transcoder_entries.
43246
43247Wed Aug 13 10:45:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43248
43249	* tool/make-snapshot: try to find exported directory.
43250
43251Wed Aug 13 10:16:35 2008  TAKAO Kouji  <kouji@takao7.net>
43252
43253	* doc/NEWS: Mention the Readline.vi_editing_mode?,
43254	  Readline.emacs_editing_mode?, Readline::HISTORY[] and
43255	  Readline::HISTORY.clear change.
43256
43257Wed Aug 13 08:03:02 2008  Tanaka Akira  <akr@fsij.org>
43258
43259	* transcode.c (econv_primitive_convert): add output_size argument.
43260
43261Wed Aug 13 07:41:03 2008  Tanaka Akira  <akr@fsij.org>
43262
43263	* transcode.c (rb_trans_conv): report last transcode_obuf_full.
43264	  (econv_max_output): new method Encoding::Converter#max_output.
43265
43266Wed Aug 13 02:46:01 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43267
43268	* error.c (rb_eEncCompatError): add Exception.
43269
43270	* include/ruby/ruby.h: ditto.
43271
43272	* encoding.c (rb_enc_check): use rb_eEncCompatError.
43273
43274	* string.c (rb_enc_cr_str_buf_cat): ditto.
43275
43276	* string.c (rb_str_sub_bang): ditto.
43277
43278	* string.c (rb_str_hex): ditto.
43279
43280	* string.c (rb_str_oct): ditto.
43281
43282Wed Aug 13 02:36:47 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43283
43284	* transcode.c (str_transcode): fix error message.
43285
43286Tue Aug 12 23:42:31 2008  Tanaka Akira  <akr@fsij.org>
43287
43288	* transcode.c (rb_cEncodingConverter): new class Encoding::Converter.
43289	  (econv_free): new function.
43290	  (econv_s_allocate): ditto.
43291	  (econv_init): ditto.
43292	  (check_econv): ditto.
43293	  (econv_primitive_convert): new method.
43294	  (Init_transcode): define Encoding::Converter.
43295
43296Tue Aug 12 23:16:09 2008  Tanaka Akira  <akr@fsij.org>
43297
43298	* string.c (rb_str_splice_0): call rb_str_drop_bytes, not rb_str_drop.
43299
43300Tue Aug 12 19:11:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43301
43302	* tool/make-snapshot: fix for enc.mk.
43303
43304Tue Aug 12 19:08:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43305
43306	* string.c (rb_str_drop_bytes): new function to drop first bytes.
43307
43308Tue Aug 12 18:58:48 2008  Koichi Sasada  <ko1@atdot.net>
43309
43310	* vm.c, vm_insnhelper.c (vm_define_method): move
43311	  function place.
43312
43313Tue Aug 12 18:56:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43314
43315	* string.c: more descriptive aliases of rb_str_new[2-5].
43316	  [ruby-dev:35615]
43317
43318Tue Aug 12 18:51:29 2008  TAKAO Kouji  <kouji@takao7.net>
43319
43320	* gc.c (getrusage_time): Returned effective value on Windows.
43321
43322Tue Aug 12 18:51:11 2008  Tanaka Akira  <akr@fsij.org>
43323
43324	* transcode.c (rb_trans_open): free ts before raise.
43325
43326Tue Aug 12 18:46:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43327
43328	* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore
43329	  <=> comparison.  [ruby-dev:35732]
43330
43331Tue Aug 12 18:43:10 2008  Tanaka Akira  <akr@fsij.org>
43332
43333	* enc/trans/make_transdb.rb: *.erb.c is not used anymore.
43334
43335Tue Aug 12 18:32:33 2008  Tanaka Akira  <akr@fsij.org>
43336
43337	* transcode_data.h (rb_trans_elem_t): new field: from and to.
43338
43339	* transcode.c (trans_open_i): just record from and to.
43340	  (rb_trans_open): load transcodings.
43341
43342Tue Aug 12 18:32:03 2008  Akinori MUSHA  <knu@iDaemons.org>
43343
43344	* ext/syslog/syslog.c (mSyslog_open): Use of Check_SafeStr() is
43345	  deprecated.
43346	  (mSyslogConstants_LOG_MASK, mSyslogConstants_LOG_UPTO): Use
43347	  NUM2INT() instead of FIX2INT() when the type of an given object
43348	  is not determined.
43349
43350Tue Aug 12 18:14:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43351
43352	* tool/transcode-tblgen.rb (#transcode_tblgen): slight message
43353	  improvement.
43354
43355Tue Aug 12 17:16:58 2008  Tanaka Akira  <akr@fsij.org>
43356
43357	* transcode.c (trans_open_i): check the result of rb_transcoding_open.
43358
43359Tue Aug 12 16:23:32 2008  Narihiro Nakamura  <authorNari@gmail.com>
43360
43361	* gc.c (gc_profile_result): use rb_str_catf.
43362
43363Tue Aug 12 16:13:45 2008  Tanaka Akira  <akr@fsij.org>
43364
43365	* transcode_data.h (TRANSCODE_ERROR): removed.
43366
43367	* tool/transcode-tblgen.rb: 8bit byte of ASCII-8BIT is a valid
43368	  (but unique to ASCII-8BIT) character.
43369
43370	* transcode.c (rb_eConversionUndefined): new error.
43371	  (rb_eInvalidByteSequence): ditto.
43372
43373Tue Aug 12 16:08:51 2008  Minero Aoki  <aamine@loveruby.net>
43374
43375	* lib/net/pop.rb: POP3Command should export @socket since POP
43376	  calls #socket.
43377
43378Tue Aug 12 16:06:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43379
43380	* sprintf.c, util.c (quorem, nrv_alloc, dtoa): enabled floating point
43381	  support.
43382
43383Tue Aug 12 15:52:45 2008  Narihiro Nakamura  <authorNari@gmail.com>
43384
43385	* gc.c (gc_profile_result): use sprintf.
43386
43387Tue Aug 12 15:37:40 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43388
43389	* string.c (rb_str_intern): should check symbol table overflow.
43390
43391Tue Aug 12 15:31:04 2008  Minero Aoki  <aamine@loveruby.net>
43392
43393	* lib/net/http.rb (send_request_with_body): Content-Length should
43394	  be byte length of string. (closes #203)
43395
43396Tue Aug 12 15:17:06 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
43397
43398	* enc/depend: (transvpath_prefix): prefix has no extension, so replace
43399	  %s with "".
43400
43401Tue Aug 12 15:03:43 2008  TAKAO Kouji  <kouji@takao7.net>
43402
43403	* test/readline/test_readline.rb (TestReadline#test_safe_level_4):
43404	  tested Readline.vi_editing_mode? and Readline.emacs_editing_mode?.
43405
43406Tue Aug 12 14:25:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43407
43408	* enc/Makefile.in (.SUFFIXES): renamed to .trans.
43409
43410	* enc/make_encmake.rb: added --encs and --no-encs options.
43411
43412	* enc/depend (TRANSVPATH): fix for nmake.
43413
43414Tue Aug 12 14:19:53 2008  Minero Aoki  <aamine@loveruby.net>
43415
43416	* lib/net/https.rb: suppress syntax warning.
43417
43418Tue Aug 12 14:15:51 2008  Minero Aoki  <aamine@loveruby.net>
43419
43420	* lib/net/http.rb (Net::HTTP#initialize): initialize net/https
43421	  variables to suppress syntax warning.
43422
43423Tue Aug 12 14:15:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43424
43425	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): fixed shadowing variable.
43426
43427Tue Aug 12 10:25:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43428
43429	* array.c (rb_ary_delete): Array#delete to return deleted element.
43430
43431Tue Aug 12 10:18:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43432
43433	* test/win32ole/test_err_in_callback.rb: do not require 'mkmf'
43434	  unless WIN32OLE is defined.
43435
43436Tue Aug 12 07:41:13 2008  Tanaka Akira  <akr@fsij.org>
43437
43438	* transcode_data.h (rb_transcoder): add resetstate_func field for
43439	  resetting a state of stateful encoding.
43440
43441	* enc/trans/iso2022.trans (rb_EUC_JP_to_ISO_2022_JP): specify
43442	  finish_eucjp_to_iso2022jp for resetstate_func.
43443
43444	* tool/transcode-tblgen.rb: specify NULL for resetstate_func.
43445
43446	* transcode.c (output_replacement_character): call resetstate_func
43447	  before appending the replacement character.
43448
43449Tue Aug 12 07:19:24 2008  Tanaka Akira  <akr@fsij.org>
43450
43451	* transcode.c (get_replacement_character): extracted from
43452	  output_replacement_character.
43453
43454Tue Aug 12 07:00:02 2008  Tanaka Akira  <akr@fsij.org>
43455
43456	* transcode_data.h (rb_transcoder): typedef at first.
43457
43458Tue Aug 12 06:48:35 2008  Tanaka Akira  <akr@fsij.org>
43459
43460	* transcode.c (rb_trans_conv): find second last error.
43461
43462Tue Aug 12 00:43:44 2008  Tanaka Akira  <akr@fsij.org>
43463
43464	* transcode_data.h (rb_trans_result_t): new type.
43465	  (rb_trans_elem_t): new type.
43466	  (rb_trans_t): new type.
43467
43468	* transcode.c (transcode_dispatch_cb): removed.
43469	  (transcode_dispatch): removed.
43470	  (rb_transcoding_result_t): moved to rb_trans_result_t in
43471	  transcode_data.h.
43472	  (transcode_restartable0): goto follow_info when FUNsi.
43473	  (rb_transcoding_open): use get_transcoder_entry.
43474	  (rb_trans_open): new function.
43475	  (rb_trans_conv): ditto.
43476	  (rb_trans_close): ditto.
43477	  (trans_open_i): ditto.
43478	  (trans_sweep): ditto.
43479	  (more_output_buffer): take rb_trans_t instead of rb_transcoding as
43480	  an argument.
43481	  (transcode_loop): take from_encoding and to_encoding instead of tr
43482	  as arguments.  use rb_trans_open/rb_trans_conv/rb_trans_close.
43483	  (str_transcode): don't use transcode_dispatch.
43484
43485Mon Aug 11 20:37:05 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43486
43487	* iseq.c (rb_iseq_clone): should preserve cref_stack link.
43488
43489Mon Aug 11 20:27:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43490
43491	* ext/dl/cfunc.c (rb_dlcfunc_call): add taint check.
43492
43493	* ext/dl/dl.c (rb_dl_malloc): add rb_secure(2).
43494
43495	* ext/dl/dl.c (rb_dl_realloc): ditto.
43496
43497	* ext/dl/dl.c (rb_dl_free): ditto.
43498
43499	* ext/dl/dl.c (rb_dl_ptr2value): ditto.
43500
43501Mon Aug 11 20:11:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43502
43503	* gc.c (getrusage_time): works only if RUSAGE_SELF is defined right
43504	  now.
43505
43506	* gc.c (gc_profile_result): C99.
43507
43508Mon Aug 11 18:57:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43509
43510	* array.c (rb_ary_sample): rename #choice to #sample.  in
43511	  addition, sample takes optional argument, a la #first.
43512
43513Mon Aug 11 18:28:02 2008  Narihiro Nakamura  <authorNari@gmail.com>
43514
43515	* gc.c: added GC::Profiler.
43516
43517Mon Aug 11 17:26:16 2008  TAKAO Kouji  <kouji@takao7.net>
43518
43519	* ext/readline/README.ja: added API document for
43520	  Readline.vi_editing_mode? and Readline.emacs_editing_mode?.
43521
43522	* ext/readline/extconf.rb: checked rl_editing_mode variable in
43523	  Readline library.
43524
43525	* ext/readline/readline.c (readline_s_emacs_editing_mode_p): added
43526	  Readline.emacs_editing_mode? method.
43527	  (readline_s_vi_editing_mode_p): added Readline.vi_editing_mode?
43528	  method.
43529	  (Init_readline): ditto.
43530
43531Mon Aug 11 16:56:40 2008  TAKAO Kouji  <kouji@takao7.net>
43532
43533	* test/readline/test_readline.rb: added test for Readline's class
43534	  methods.
43535
43536Mon Aug 11 16:39:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
43537
43538	* class.c (clone_method): should copy cbase in cref as well.
43539	  [ruby-dev:35116]
43540
43541	* iseq.c (iseq_mark): mark original iseq object.
43542
43543	* iseq.c (iseq_free): do not free internal data if they have
43544	  original iseq to belong.
43545
43546	* iseq.c (rb_iseq_clone): a new function to clone iseq value.
43547
43548Mon Aug 11 16:34:48 2008  Tanaka Akira  <akr@fsij.org>
43549
43550	* enc/trans/iso2022.trans: renamed from iso2022.erb.c.
43551
43552	* enc/trans/single_byte.trans: ditto.
43553
43554	* enc/trans/utf_16_32.trans: ditto.
43555
43556	* enc/trans/korean.trans: ditto.
43557
43558	* enc/trans/japanese.trans: ditto.
43559
43560	* enc/depend: follow the renaming.
43561
43562	* tool/build-transcode: ditto.
43563
43564Mon Aug 11 15:09:23 2008  Tanaka Akira  <akr@fsij.org>
43565
43566	* configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from
43567	  rb_broken_glibc_ia64_erfc.
43568	  [ruby-core:18228]
43569
43570Mon Aug 11 10:04:34 2008  Tanaka Akira  <akr@fsij.org>
43571
43572	* transcode_data.h (rb_transcoding): rename fields.
43573	  readlen -> recognized_len.
43574	  feedlen -> readagain_len.
43575
43576	* transcode.c: follow the field renaming.
43577
43578Sun Aug 10 22:34:55 2008  Tanaka Akira  <akr@fsij.org>
43579
43580	* transcode.c (transcode_restartable0): invalid handling simplified.
43581	  (transcode_restartable): use PARTIAL_INPUT for converting buffered
43582	  input.
43583
43584Sun Aug 10 22:24:24 2008  Yusuke Endoh  <mame@tsg.ne.jp>
43585
43586	* encoding.c: include util.h.  [ruby-dev:35715]
43587
43588	* common.mk: ditto.
43589
43590Sun Aug 10 20:59:54 2008  Tanaka Akira  <akr@fsij.org>
43591
43592	* transcode_data.h (rb_transcoding): new field: flags.
43593
43594	* transcode.c (load_transcoder): extracted from transcode_dispatch_cb.
43595	  (rb_transcoding_result_t): renamed from transcode_result_t.
43596	  (rb_transcoding_open): new function.
43597	  (rb_transcoding_convert): ditto.
43598	  (rb_transcoding_close): ditto.
43599	  (transcode_loop): use rb_transcoding_open, rb_transcoding_convert
43600	  and rb_transcoding_close.
43601	  (str_transcode): don't need rb_transcoding.
43602
43603Sun Aug 10 18:09:16 2008  Tanaka Akira  <akr@fsij.org>
43604
43605	* tool/transcode-tblgen.rb: record checksum of
43606	  transcode-tblgen.rb itself.
43607
43608Sun Aug 10 12:34:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43609
43610	* config.guess ({powerpc-apple,i586-pc}-haiku): re-applied r18403.
43611	  [ruby-core:18110]
43612
43613	* config.{guess,sub}: updated to automake-1.10.1.
43614
43615Sun Aug 10 11:45:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43616
43617	* enc/Makefile.in (make-workdir): use MAKEDIRS.
43618
43619	* enc/depend: makes target directory before compile/link.
43620
43621	* tool/transcode-tblgen.rb: creates target directory.
43622
43623Sun Aug 10 11:30:48 2008  Tanaka Akira  <akr@fsij.org>
43624
43625	* transcode.c: rename my_transcoding to tc and my_transcoder to tr.
43626
43627Sun Aug 10 11:15:55 2008  Tanaka Akira  <akr@fsij.org>
43628
43629	* transcode_data.h (rb_transcoding): add feedlen field.
43630
43631	* transcode.c (transcode_restartable0): renamed from
43632	  transcode_restartable.
43633	  save input buffer into feed buffer if next character is started the
43634	  point before input buffer.  for example, "\x00\xd8\x01" then "\x02"
43635	  in UTF-16LE.  \x02 causes invalid and next character is started from
43636	  \x01.
43637	  (transcode_restartable): new function to call
43638	  transcode_restartable0.  if feed buffer is not empty, convert it at
43639	  first.
43640
43641Sun Aug 10 11:02:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43642
43643	* common.mk (extconf): use MAKEDIRS.
43644
43645Sun Aug 10 09:35:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43646
43647	* lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbols
43648	  instead of strings now.  [ruby-dev:34930]
43649
43650Sun Aug 10 09:22:14 2008  Tanaka Akira  <akr@fsij.org>
43651
43652	* transcode.c (transcode_char_start): refactored to remove readlen
43653	  argument.
43654	  (transcode_restartable): refactored to remove readlen variable.
43655
43656Sun Aug 10 08:56:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43657
43658	* gc.c (STACK_LEVEL_MAX, ruby_stack_length): returns size_t.
43659	  [ruby-core:18207]
43660
43661	* configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
43662	  ext/digest/md5/md5.c, ext/openssl/ossl.c (main),
43663	  ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int.
43664
43665	* main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is
43666	  no longer used so long time.  based on a patch from Peter Bowen at
43667	  [ruby-core:18208]
43668
43669Sat Aug  9 22:05:29 2008  Tanaka Akira  <akr@fsij.org>
43670
43671	* transcode.c (transcode_loop): take destination and resize function
43672	  as parameters.
43673	  (more_output_buffer): ditto.
43674	  (str_transcoding_resize): argument changed from rb_transcoding* to
43675	  VALUE.
43676	  (str_transcode): call transcode_loop with destination string and its
43677	  resize function.
43678
43679	* transcode_data.h (rb_transcoding): move ruby_string_dest and
43680	  flush_func to transcode_loop parameters.
43681
43682Sat Aug  9 21:29:45 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43683
43684	* common.mk: encs depend on transdb.h
43685
43686Sat Aug  9 21:10:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43687
43688	* configure.in (rb_cv_rshift_sign, rb_cv_binary_elf): get rid of
43689	  AC_TRY_RUN.
43690
43691Sat Aug  9 16:33:21 2008  Tanaka Akira  <akr@fsij.org>
43692
43693	* transcode_data.h (rb_transcoding): new fields: next_info and next_byte.
43694
43695	* transcode.c (transcode_restartable): save/restore next_info and
43696	  next_byte.
43697	  sync readlen and in_p when invalid.
43698
43699Sat Aug  9 15:10:15 2008  Tanaka Akira  <akr@fsij.org>
43700
43701	* transcode.c (transcode_restartable): my_transcoder argument removed.
43702	  (transcode_loop): my_transcoder argument removed.
43703
43704Sat Aug  9 14:39:34 2008  Tanaka Akira  <akr@fsij.org>
43705
43706	* transcode_data.h (rb_transcoding): add fields for restartable
43707	  transcoding.
43708	  (rb_transcoder): add max_input field.
43709	  from_unit_length field is renamed to input_unit_length.
43710
43711	* tool/transcode-tblgen.rb: generate max_input field.
43712
43713	* enc/trans/iso2022.erb.c: follow rb_transcoder change.
43714
43715	* enc/trans/utf_16_32.erb.c: ditto.
43716
43717	* transcode.c (PARTIAL_INPUT): new constant.
43718	  (transcode_char_start): new function.
43719	  (transcode_result_t): new type.
43720	  (transcode_restartable): new function.
43721	  (more_output_buffer): new function.
43722	  (transcode_loop): use transcode_restartable.
43723
43724Sat Aug  9 13:35:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43725
43726	* stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalid
43727	  preprocessor directives.  a patch from Peter Bowen at
43728	  [ruby-core:18211].
43729
43730Sat Aug  9 06:37:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43731
43732	* enc/make_encdb.rb, enc/trans/make_transdb.rb: skip nonexistent
43733	  directory.  [ruby-dev:35802]
43734
43735Sat Aug  9 01:07:51 2008  Tanaka Akira  <akr@fsij.org>
43736
43737	* enc/trans/utf_16_32.erb.c (fun_so_from_utf_32le): implemented.
43738	  (fun_so_to_utf_32le): implemented.
43739	  [ruby-dev:35777]
43740
43741Sat Aug  9 00:42:33 2008  Tanaka Akira  <akr@fsij.org>
43742
43743	* transcode_data.h (rb_transcoder): from_unit_length field added.
43744	  from_utf8 field removed.
43745
43746	* tool/transcode-tblgen.rb: generate offsets range.
43747	  follow rb_transcoder change.
43748
43749	* transcode.c (transcode_loop): don't use from_utf8.
43750	  make invalid region from_unit_length wise.
43751
43752	* enc/trans/iso2022.erb.c: follow rb_transcoder and
43753	  transcode_generate_node change.
43754
43755	* enc/trans/utf_16_32.erb.c: follow rb_transcoder and
43756	  transcode_generate_node change.
43757	  explicit :invalid map removed.
43758
43759Fri Aug  8 23:29:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43760
43761	* enc/depend (TRANSCSRCS): needs rule_subst to apply.
43762
43763	* io.c (shutdown): not define if defined already.
43764
43765Fri Aug  8 22:47:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43766
43767	* vm_insnhelper.c (opt_eq_func): large function to make inline.
43768
43769	* bcc32/Makefile.sub (config.h): cannot compile a big inline function.
43770
43771Fri Aug  8 21:09:10 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43772
43773	* common.mk (enk.mk): give not RUBY but MINIRUBY.
43774
43775Fri Aug  8 17:03:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43776
43777	* configure.in (shutdown, sched_yield, pthread_attr_setinheritsched):
43778	  check for Haiku.
43779
43780	* eval_intern.h, io.c, thread_pthread.c: use autoconfisticated results.
43781
43782Fri Aug  8 16:52:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43783
43784	* common.mk (enc.mk): mkmf.rb requires rbconfig.rb.
43785
43786	* common.mk (srcs-enc): renamed from transcodes.
43787
43788	* enc/Makefile.in (make-workdir): creates object directories.
43789
43790	* common.mk (encdb.h): see both $(srcdir)/enc and enc.
43791
43792	* enc/make_encdb.rb: ditto.
43793
43794	* enc/trans/make_transdb.rb: fix for the case no transdirs are given.
43795
43796	* enc/trans/make_transdb.rb: converts only one transcoders for each
43797	  basename.
43798
43799Fri Aug  8 10:53:52 2008  Tanaka Akira  <akr@fsij.org>
43800
43801	* lib/resolv.rb: randomize source port and transaction id.
43802	  CVE-2008-1447.
43803
43804	* lib/resolv-replace.rb (UDPSocket#bind): don't resolv host if host is
43805	  "".
43806
43807Fri Aug  8 04:20:14 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43808
43809	* common.mk: see both $(srcdir)/enc/trans and enc/trans.
43810
43811	* enc/trans/make_transdb.rb: ditto.
43812
43813Fri Aug  8 00:05:02 2008  TAKAO Kouji  <kouji@takao7.net>
43814
43815	* ext/.document: added readline/readline.c.
43816
43817	* ext/readline/readline.c: changed Copyright. added RDoc.
43818
43819	* ext/readline/README.ja: fixed typo.
43820
43821	* ext/readline/README: contents was moved RDoc.
43822
43823Thu Aug  7 23:43:11 2008  Tanaka Akira  <akr@fsij.org>
43824
43825	* transcode_data.h (rb_transcoding): new field "stateful".
43826	  (rb_transcoder): preprocessor and postprocessor field removed.
43827	  change arguments of func_ii, func_si, func_io and func_so.
43828	  new field "finish_func".
43829
43830	* tool/transcode-tblgen.rb: make FUNii, FUNsi and FUNio
43831	  generatable.
43832
43833	* transcode.c (transcoder_lib_table): removed.
43834	  (transcoder_table): change structure.
43835	  (transcoder_key): removed because the above structure change.
43836	  (make_transcoder_entry): new function.
43837	  (get_transcoder_entry): ditto.
43838	  (rb_register_transcoder): follow the structure change.
43839	  (declare_transcoder): ditto.
43840	  (transcode_search_path): new function for breadth first search to
43841	  find a list of converters.
43842	  (transcode_search_path_i): new function.
43843	  (transcode_dispatch_cb): ditto.
43844	  (transcode_dispatch): use transcode_search_path.
43845	  (transcode_loop): follow the argument change.
43846	  (str_transcode): preprocessor and postprocessor stuff removed.
43847
43848	* enc/trans/iso2022.erb.c: new file.  ISO-2022-JP conversion
43849	  re-implemented.
43850
43851	* enc/trans/japanese.erb.c: ISO-2022-JP stuff removed.
43852
43853	* enc/trans/utf_16_32.erb.c: follow argument change of FUNso.
43854
43855	[ruby-dev:35798]
43856
43857Thu Aug  7 22:55:44 2008  TAKAO Kouji  <kouji@takao7.net>
43858
43859	* ext/readline/README.ja: updated API document for Readline module.
43860
43861Thu Aug  7 20:52:08 2008  Shugo Maeda  <shugo@ruby-lang.org>
43862
43863	* lib/net/ftp.rb (login): raise FTPReplyError if passwd or acct
43864	  is not supplied.  fixed [ruby-core:18058].
43865
43866Thu Aug  7 18:01:44 2008  Akinori MUSHA  <knu@iDaemons.org>
43867
43868	* misc/ruby-mode.el (ruby-imenu-create-index-in-block): Fix the
43869	  regexp to only pick definition lines properly.  `module_function'
43870	  is not a definition of a module named `_function'.
43871
43872Thu Aug  7 17:47:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43873
43874	* enc/depend: add transdb.c.
43875
43876Thu Aug  7 16:28:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43877
43878	* Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
43879	  use miniruby.
43880
43881Thu Aug  7 14:17:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43882
43883	* enc/depend: removed needless explicit commands.
43884
43885	* lib/mkmf.rb, {bcc32,win32}/Makefile.sub (CLEANLIBS, CLEANOBJS):
43886	  moved clean targets to platform makefiles.
43887
43888Thu Aug  7 13:12:30 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
43889
43890	* ext/socket/getaddrinfo.c (gai_strerror): ignore only on Haiku.
43891	  a patch from <zn at mbf.nifty.com>, [ruby-dev:35796].
43892
43893Thu Aug  7 06:31:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43894
43895	* test/ruby/process.rb (test_popen_fork): skip a test which is
43896	  freeze in FreeBSD.
43897
43898Thu Aug  7 06:05:48 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43899
43900	* config.guess: add powerpc-apple-haiku, i586-pc-haiku.
43901	  see [ruby-core:18110]
43902
43903Thu Aug  7 05:51:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43904
43905	* eval_intern.h: Add support to Haiku. see [ruby-core:18110]
43906
43907	* include/ruby/defines.h: ditto.
43908
43909	* configure.in: ditto.
43910
43911	* thread_pthread.c: ditto.
43912
43913	* io.c: ditto.
43914
43915	* lib/mkmf.rb: ditto.
43916
43917	* ext/socket/getaddrinfo.c: ditto.
43918
43919	* ext/socket/extconf.rb: ditto.
43920
43921	* ext/socket/socket.c: ditto.
43922
43923	* ext/socket/addrinfo.h: ditto.
43924
43925	* ext/socket/getnameinfo.c: ditto.
43926
43927Thu Aug  7 05:43:32 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43928
43929	* common.mk: mkdir enc/trans before build tables.
43930
43931Thu Aug  7 05:18:30 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43932
43933	* enc/depend: enc/*.c is source but enc/trans/*.c is generated.
43934
43935Thu Aug  7 05:14:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43936
43937	* regenc.c (code_to_mbc): raise RangeError Integer#chr
43938	  when more than 255 is given with single byte encoding.
43939	  [ruby-dev:35789]
43940
43941Thu Aug  7 05:06:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43942
43943	* gc.c (run_final): runs finalizers with the object terminated.
43944
43945	* gc.c (rb_gc_call_finalizer_at_exit): keeps finalized objects from
43946	  linking to freelist.
43947
43948Thu Aug  7 04:43:14 2008  NARUSE, Yui  <naruse@ruby-lang.org>
43949
43950	* enc/depend: for build in other than srcdir.
43951
43952Wed Aug  6 22:40:48 2008  Tanaka Akira  <akr@fsij.org>
43953
43954	* tool/transcode-tblgen.rb (transcode_generate_node): code
43955	  argument removed.
43956
43957Wed Aug  6 21:25:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43958
43959	* gc.c (chain_finalized_object): deletes finalizers to be invoked from
43960	  finalizer_table.
43961
43962	* gc.c (rb_gc_call_finalizer_at_exit): warns when could not invoke
43963	  finalizers.
43964
43965Wed Aug  6 20:56:43 2008  Tanaka Akira  <akr@fsij.org>
43966
43967	* enc/depend: transcode table generation depends on
43968	  tool/transcode-tblgen.rb.
43969
43970Wed Aug  6 20:48:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43971
43972	* gc.c (rb_gc_call_finalizer_at_exit): self-referencing finalizers
43973	  cannot be invoked.  [ruby-dev:35681]
43974
43975Wed Aug  6 20:44:41 2008  Tanaka Akira  <akr@fsij.org>
43976
43977	* tool/transcode-tblgen.rb: distinguish UNDEF and INVALID.
43978	  [ruby-dev:35709]
43979
43980	* transcode.c (transcode_loop): don't need rb_enc_mbclen now.
43981
43982Wed Aug  6 14:40:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
43983
43984	* common.mk (transdb.h): requires transcoders.
43985
43986	* enc/depend (srcs): target for transcoders.
43987
43988Wed Aug  6 14:04:08 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
43989
43990	* enc/depend: replace not only $(<:...) but also $<.
43991
43992Wed Aug  6 13:54:30 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
43993
43994	* win32/Makefile.sub (config.status): export BASERUBY.
43995
43996	* enc/depend: avoid GNU make'ism.
43997
43998Wed Aug  6 07:59:02 2008  Tanaka Akira  <akr@fsij.org>
43999
44000	* tool/transcode-tblgen.rb (ActionMap#eql?): use == to compare @map.
44001
44002Wed Aug  6 07:45:26 2008  Tanaka Akira  <akr@fsij.org>
44003
44004	* tool/transcode-tblgen.rb: show generating tables in verbose mode.
44005	  (transcode_generate_node): call ActionMap#generate_node with showing
44006	  table name.
44007
44008	* enc/trans/utf_16_32.erb.c: use transcode_generate_node.
44009
44010Wed Aug  6 06:55:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44011
44012	* thread.c (thread_start_func_2): propagates fatal error and system
44013	  exit to the main thread.
44014
44015Wed Aug  6 05:31:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44016
44017	* encoding.c (rb_to_encoding_index, rb_to_encoding): check if the name
44018	  is ascii compatible as well as Encoding.find.
44019
44020	* transcode.c (str_encode): no need to duplicate first.
44021
44022Wed Aug  6 05:08:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44023
44024	* array.c (rb_ary_sort_bang): reset to real class.
44025
44026	* file.c (rb_find_file_ext, rb_find_file): ditto.
44027
44028	* io.c (io_reopen): ditto.
44029
44030Wed Aug  6 03:56:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44031
44032	* common.mk (transcodes), tool/build-transcode: generates transcode
44033	  sources.
44034
44035	* enc/trans/{japanese,korean,single_byte,utf_16_32}.c: to be
44036	  autogenerated now.
44037
44038	* enc/depend: added rules for .c from .erb.c.
44039
44040Tue Aug  5 20:46:20 2008  Tanaka Akira  <akr@fsij.org>
44041
44042	* tool/build-transcode: new file.
44043
44044	* tool/transcode-tblgen.rb: new file.
44045
44046	* enc/trans/make_transdb.rb: exclude *.erb.c.
44047
44048	* enc/depend: exclude *.erb.c.
44049
44050	* enc/trans/utf_16_32.erb.c: new file.
44051
44052	* enc/trans/single_byte.erb.c: new file.
44053
44054	* enc/trans/japanese.erb.c: new file.
44055
44056	* enc/trans/korean.erb.c: new file.
44057
44058	* enc/trans/iso-8859-2-tbl.rb: new file.
44059
44060	* enc/trans/iso-8859-3-tbl.rb: new file.
44061
44062	* enc/trans/iso-8859-4-tbl.rb: new file.
44063
44064	* enc/trans/iso-8859-5-tbl.rb: new file.
44065
44066	* enc/trans/iso-8859-6-tbl.rb: new file.
44067
44068	* enc/trans/iso-8859-7-tbl.rb: new file.
44069
44070	* enc/trans/iso-8859-8-tbl.rb: new file.
44071
44072	* enc/trans/iso-8859-9-tbl.rb: new file.
44073
44074	* enc/trans/iso-8859-10-tbl.rb: new file.
44075
44076	* enc/trans/iso-8859-11-tbl.rb: new file.
44077
44078	* enc/trans/iso-8859-13-tbl.rb: new file.
44079
44080	* enc/trans/iso-8859-14-tbl.rb: new file.
44081
44082	* enc/trans/iso-8859-15-tbl.rb: new file.
44083
44084	* enc/trans/eucjp-tbl.rb: new file.
44085
44086	* enc/trans/sjis-tbl.rb: new file.
44087
44088	* enc/trans/euckr-tbl.rb: new file.
44089
44090	* enc/trans/utf_16_32.c: regenerated.
44091
44092	* enc/trans/single_byte.c: regenerated.
44093
44094	* enc/trans/japanese.c: regenerated.
44095
44096	* enc/trans/korean.c: regenerated.
44097
44098	[ruby-dev:35730]
44099
44100Tue Aug  5 18:02:53 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
44101
44102	* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush):
44103	  rescue some exceptions. [ruby-dev:35638]
44104
44105Tue Aug  5 16:40:06 2008  Shugo Maeda  <shugo@ruby-lang.org>
44106
44107	* lib/net/ftp.rb (chdir): handle 5xx errors correctly.
44108	  fixed [ruby-core:18057].
44109
44110Tue Aug  5 16:38:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44111
44112	* include/ruby/win32.h, bcc32/Makefile.sub (config.h): bcc 5.8 has
44113	  stdint.h.
44114
44115Tue Aug  5 16:13:05 2008  Shugo Maeda  <shugo@ruby-lang.org>
44116
44117	* lib/net/imap.rb (disconnect): do not refer to SSL::SSLSocket for
44118	  environments without OpenSSL. fixed [ruby-dev:35755].
44119
44120Tue Aug  5 14:19:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44121
44122	* file.c (rb_stat_mode): generalized st_mode mask.
44123
44124Tue Aug  5 12:43:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44125
44126	* io.c (retry_sendfile, retry_read): ENOSYS and EWOULDBLOCK are not
44127	  defined on every platforms.
44128
44129Tue Aug  5 12:34:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44130
44131	* transcode_data.h (TRANSCODE_ERROR): common transcode failure
44132	  exception, would be changed later.
44133
44134	* enc/trans/japanese.c (UNSUPPORTED_MODE): unsupported mode transition
44135	  exception.
44136
44137Tue Aug  5 03:29:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44138
44139	* array.c (rb_ary_sort_bang): respect overridden <=> for String and
44140	  Fixnum.  [ruby-core:17708]
44141
44142	* include/ruby/node.h (NOEX_BASIC): basic definition method flag.
44143
44144	* include/ruby/intern.h, vm_method.c (rb_method_basic_definition_p):
44145	  new function to check if the method is not redefined after the
44146	  initialization.
44147
44148	* vm_method.c (rb_obj_respond_to): use rb_method_basic_definition_p.
44149
44150Mon Aug  4 20:39:06 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
44151
44152	* Makefile.in (update-rubyspec): renamed the rubyspec directory
44153	  "spec". Changed directory structure.
44154
44155	* Makefile.in (test-rubyspec): ditto.
44156
44157	* spec/README: described the structure of "spec" directory.
44158
44159	* spec/default.mspec: configured for Matz's Ruby Implementation.
44160
44161Mon Aug  4 19:21:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44162
44163	* array.c (rb_ary_tmp_new): added.
44164
44165	* vm_eval.c (vm_call_super): fixed typo, and get rid of too large
44166	  alloca.  [ruby-core:17922]
44167
44168Mon Aug  4 16:48:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44169
44170	* parse.y (deferred_nodes, compstmt, arg, fixup_nodes, range_op): fix
44171	  up fixnum range literal in conditional as automagical line number
44172	  comparison.  [ruby-core:12124], [ruby-dev:35731]
44173
44174Mon Aug  4 14:41:25 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
44175
44176	* lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
44177	  Masao Takaku <masao at nii.ac.jp>
44178	  fix [ruby-dev:35489].
44179
44180Mon Aug  4 14:08:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44181
44182	* marshal.c (dump_ensure), process.c (run_exec_dup2),
44183	  string.c (rb_str_replace), transcode.c (transcode_dispatch): fixed
44184	  memory leaks.  based on patches from shinichiro.h <shinichiro.hamaji
44185	  AT gmail.com> at [ruby-dev:35751].
44186
44187Sun Aug  3 19:32:52 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44188
44189	* ext/win32ole/win32ole.c (hash2named_arg): refactoring.
44190
44191	* ext/win32ole/win32ole.c (ole_invoke, fole_respond_to, ev_on_event,
44192	  fev_off_event): accepts Symbol argument.
44193
44194	* test/win32ole/test_win32ole.rb: ditto.
44195
44196	* test/win32ole/test_win32ole_event.rb: ditto.
44197
44198Sun Aug  3 10:41:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44199
44200	* string.c (rb_str_shared_replace): fixed memory leak.  a patch from
44201	  shinichiro.h <shinichiro.hamaji AT gmail.com> at [ruby-dev:35742]
44202
44203Sat Aug  2 22:55:41 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44204
44205	* test/win32ole/test_err_in_callback.rb: remove temporary files.
44206	  some refactoring.
44207
44208Sat Aug  2 15:51:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44209
44210	* parse.y (yylex): 8 and 9 in octal integer should cause compile
44211	  error.  [ruby-dev:35729]
44212
44213Sat Aug  2 01:06:10 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44214
44215	* enc/trans/japanese.c: add U+FF5E to EUC-JP.
44216	  [ruby-dev:35720] [ruby-dev:35722]
44217
44218Fri Aug  1 23:49:44 2008  TAKAO Kouji  <kouji@takao7.net>
44219
44220	* ext/readline/extconf.rb: checked to have clear_history in
44221	  readline library.
44222	* ext/readline/readline.c (hist_get, hist_each, Init_readline):
44223	  The offset specified for the argument of history_get() might be
44224	  different in GNU Readline and libedit. If use libedit, it was
44225	  corrected that the computational method of the offset specified
44226	  for the argument of history_get() when the Readline module was
44227	  initialized was decided.
44228	  (hist_get, hist_set): If use libedit, accesses first an input
44229	  content in history when specifies the negative offset for the
44230	  argument of history_get() or replace_history_entry(). Then
44231	  checks the offset is negative in ruby.
44232	  (rb_remove_history): When compiling, it corrects it to warning
44233	  when libedit is used.
44234	  (hist_clear, Init_readline): added Readline::HISTORY.clear
44235	  method. [ruby-dev:35551]
44236	* test/readline/test_readline_history.rb: added unit test for
44237	  Readline::HISTORY.
44238
44239Fri Aug  1 23:26:45 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44240
44241	* transcode.c (transcode_loop): undefined character is replaced with
44242	  only one character. [ruby-dev:35709]
44243
44244Fri Aug  1 23:26:22 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
44245
44246	Merged r16430(akr), r16431(akr), r16433(akr), r16469(nobu), and
44247	r17874(akr) from ruby_1_8.
44248
44249	* Makefile.in (update-rubyspec): added
44250
44251	* Makefile.in (test-rubyspec): added
44252
44253Fri Aug  1 23:16:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44254
44255	* enc/trans/japanese.c: add support for CP51932,
44256
44257Fri Aug  1 22:59:40 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44258
44259	* enc/trans/japanese.c: add U+FF0C,
44260
44261Fri Aug  1 21:49:41 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44262
44263	* test/sdbm/test_sdbm.rb: add some tests.
44264
44265Fri Aug  1 21:36:00 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44266
44267	* gc.c (allocate_heaps, assign_heap_slot, rb_newobj_from_heap):
44268	  reset during_gc before raising NoMemoryError.
44269
44270Fri Aug  1 21:29:56 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44271
44272	* vm.c (Init_BareVM): check failure of malloc().
44273
44274Fri Aug  1 20:55:27 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44275
44276	* enc/trans/japanese.c (to_SHIFT_JIS_EF_BF_offsets): add U+FFF3,
44277	  U+FFF4, U+FFF5.
44278
44279	* enc/trans/japanese.c (to_SHIFT_JIS_EF_BF_infos): ditto.
44280
44281	* enc/trans/japanese.c (to_EUC_JP_EF_BF_infos): added.
44282
44283	* enc/trans/japanese.c (to_EUC_JP_EF_BF): added.
44284
44285	* enc/trans/japanese.c (to_EUC_JP_EF_infos): change size.
44286	  [ruby-dev:35714]
44287
44288Fri Aug  1 18:27:15 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
44289
44290	* parse.y (parser_yylex): removed an useless conditional, and magic
44291	  comment are ignored unless at the first of line.
44292
44293	* test/ruby/test_m17n.rb (test_magic_comment_vim): added.
44294
44295	* test/ruby/test_m17n.rb (test_magic_comment_at_various_positions):
44296	  added.
44297
44298Fri Aug  1 14:54:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44299
44300	* win32/win32.c (rb_w32_seekdir): no need to rewind to seek forward.
44301
44302Fri Aug  1 05:31:08 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44303
44304	* transcode.c (output_replacement_character):
44305	  rename from _get_replacement_character.
44306
44307	* transcode.c (output_replacement_character):
44308	  fix replacement on UTF-32{BE,LE}. [ruby-dev:35705]
44309
44310	* transcode.c (transcode_loop): ditto.
44311
44312	* test/ruby/test_transcode.rb (test_invalid_replace):
44313	  add for above.
44314
44315Fri Aug  1 01:01:49 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44316
44317	* proc.c (rb_proc_call_with_block): reduce comparison.
44318
44319Thu Jul 31 22:17:35 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44320
44321	* ext/bigdecimal/bigdecimal.c (VpMult): prevent memory leak.
44322
44323Thu Jul 31 20:05:56 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44324
44325	* test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
44326	  fix option1 and 3.
44327
44328Thu Jul 31 19:54:57 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44329
44330	* transcode.c (get_replacement_character): use U+FFFD as replacement
44331	  character when convert to Unicode.
44332
44333	* test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
44334	  rename from test_public_review_issue_121.
44335
44336	* test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
44337	  enable option2.
44338
44339Thu Jul 31 17:00:10 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44340
44341	* transcode.c (get_replacement_character): fix: invalid byte sequence
44342	  is always replaced "\x00?".
44343
44344Thu Jul 31 16:37:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44345
44346	* test/rubygems/test_gem_ext_configure_builder.rb
44347	  (test_self_build_fail): remove extra newline. [ruby-dev:35704]
44348
44349Thu Jul 31 15:11:11 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
44350
44351	* test/ruby/test_transcode.rb: added test_shift_jis
44352	  (contributed by Yoshihiro Kambayashi) and
44353	  test_public_review_issue_121
44354	  (see http://www.unicode.org/review/pr-121.html)
44355
44356Thu Jul 31 13:18:30 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44357
44358	* include/ruby/ruby.h (struct RString): size of ary must be
44359	  RSTRING_EMBED_LEN_MAX + 1.
44360
44361Thu Jul 31 12:23:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44362
44363	* pack.c (pack_unpack): upper half of hexdigits has never been used.
44364
44365Thu Jul 31 11:31:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44366
44367	* ext/syck/syck.h (ASSERT): fix typo at r18176.
44368
44369	* ext/syck/rubyext.c (rb_syck_compile): expression in ASSERT() has no
44370	  effect unless debug mode.
44371
44372Thu Jul 31 10:51:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44373
44374	* iseq.c (ruby_iseq_disasm_insn): suppress warnings on platforms which
44375	  int size differs from pointer size.
44376
44377	* ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): ditto
44378
44379	* ext/syck/rubyext.c (rb_syck_err_handler),
44380	  (syck_default_error_handler): ditto.
44381
44382Thu Jul 31 02:21:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44383
44384	* ext/syck/rubyext.c (rb_syck_compile): remove meaningless branch
44385	  that misleads into thinking that the variable sav may be
44386	  uninitialized.
44387
44388Thu Jul 31 01:25:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44389
44390	* thread.c (rb_mutex_unlock_all): mutex is no longer a ruby object.
44391
44392Thu Jul 31 01:18:07 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44393
44394	* parse.y (magic_comment_encoding): remove meaningless null check.
44395
44396Thu Jul 31 01:09:28 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44397
44398	* ext/bigdecimal/bigdecimal.c (VpIsRoundMode): fix tautology
44399	  condition.
44400
44401Thu Jul 31 00:58:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44402
44403	* pack.c (pack_unpack): reduced static variables.
44404
44405Thu Jul 31 00:10:20 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44406
44407	* proc.c (rb_proc_call_with_block): prevent null reference.
44408
44409Wed Jul 30 22:19:13 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44410
44411	* parse.y (vtable_free): remove meaningless null check.
44412
44413Wed Jul 30 22:08:25 2008  Tanaka Akira  <akr@fsij.org>
44414
44415	* dir.c (struct dir_data): change path field char * to VALUE.
44416	  (mark_dir): new function for mark path field.
44417	  (free_dir): follow the path field change.
44418	  (dir_s_alloc): ditto.
44419	  (dir_initialize): ditto.
44420	  (dir_s_open): ditto.
44421	  (dir_inspect): ditto.
44422	  (dir_path): return (duplicate of) the path field to preserve
44423	  encoding.  [ruby-dev:35685]
44424
44425Wed Jul 30 22:06:56 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44426
44427	* string.c (sym_inspect): remove dead code.
44428
44429Wed Jul 30 21:32:52 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44430
44431	* ChangeLog: fix wrong method name and add reference.
44432
44433Wed Jul 30 21:30:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44434
44435	* regparse.c (name_add): fix memory leak.
44436
44437Wed Jul 30 21:08:06 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44438
44439	* ext/syck/syck.c (syck_free_parser): fix memory leak by
44440	  YAML::Syck.compile.
44441
44442	* regparse.c (parse_exp): fix memory leak at Regexp.new("x{1,1}").
44443
44444Wed Jul 30 17:48:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44445
44446	* win32/win32.c (rb_w32_select): recalc the rest of timeout for each
44447	  iterations.  [ruby-core:18015]
44448
44449Tue Jul 29 23:37:37 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44450
44451	* io.c (io_ungetc): raise NotImplementedError when ungetc is called
44452	  against dummy encoding IO.  [ruby-dev:35686]
44453
44454	* io.c (rb_io_getline_1): ditto when gets with delimiter is called.
44455
44456	* io.c (io_getc): ditto when getc is called.
44457
44458	* test/ruby/test_io_m17n.rb (test_terminator_stateful_conversion,
44459	  test_getc_stateful_conversion, test_ungetc_stateful_conversion):
44460	  these tests should raise NotImplementedError.
44461
44462Tue Jul 29 22:55:34 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44463
44464	* test/ruby/test_io.rb (pipe): run reader thread and writer thread.
44465
44466Tue Jul 29 21:38:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44467
44468	* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): fix typo.
44469
44470Tue Jul 29 21:35:59 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44471
44472	* test/etc/test_etc.rb (test_passwd): age field may be string under
44473	  some environments.
44474
44475Tue Jul 29 17:54:35 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44476
44477	* dir.c (char_casecmp): fix: return 0 if either of characters is NUL.
44478
44479Tue Jul 29 13:17:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44480
44481	* test/etc/test_etc.rb (test_getpwuid): fix for users whose uid is
44482	  shared.
44483
44484Tue Jul 29 05:37:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44485
44486	* file.c (rb_find_file_ext, rb_find_file): explicit relative path
44487	  which starts with "./" or "../" should be searched from cwd
44488	  instead of load path.  [ruby-dev:35673]
44489
44490Tue Jul 29 02:39:46 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44491
44492	* math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).
44493
44494	* math.c (math_log): ditto.
44495
44496	* math.c (math_log2): ditto.
44497
44498	* math.c (math_log10): ditto.
44499
44500	* test/ruby/test_math.rb: test for above.
44501
44502Tue Jul 29 01:41:15 2008  Tanaka Akira  <akr@fsij.org>
44503
44504	* dir.c (struct dir_data): intenc field removed.
44505	  (dir_s_alloc): intenc initialization removed.
44506	  (dir_initialize): :internal_encoding option removed.  dirname code
44507	  conversion removed.
44508	  (dir_enc_str): code conversion removed.
44509	  [ruby-dev:35661]
44510
44511Mon Jul 28 21:32:17 2008  Kouhei Sutou  <kou@cozmixng.org>
44512
44513	* test/rss/: use PNG instead of zlib as binary data.
44514
44515Mon Jul 28 21:24:33 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44516
44517	* thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): reverted
44518	  r18239 because r18245 made the changes unnecessary.
44519
44520	* thread.c (rb_mutex_struct): define after including thread_{pthread,
44521	  win32}.c.
44522
44523Mon Jul 28 21:00:10 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44524
44525	* test/ruby/test_require.rb (test_require_too_long_filename):
44526	  Kernel#require does not use dln_find_file_r (at r18242).
44527
44528Mon Jul 28 20:17:03 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44529
44530	* vm_core.h: move the definition of struct rb_mutex_struct.
44531
44532	* thread.c: ditto.
44533
44534Mon Jul 28 18:58:46 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44535
44536	* thread.c (mutex_unlock): fix typo.
44537
44538Mon Jul 28 18:15:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44539
44540	* file.c (rb_find_file_ext, rb_find_file): not to split load path with
44541	  path separator.  [ruby-Bugs-21356]
44542
44543Mon Jul 28 18:14:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44544
44545	* win32/win32.c (overlapped_socket_io, fcntl, rb_w32_close): must not
44546	  pass a pointer to int which is smaller than st_data_t on mswin64.
44547
44548Mon Jul 28 16:49:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44549
44550	* win32/win32.c (CreateChild, overlapped_socket_io): suppress
44551	  warnings.
44552
44553Mon Jul 28 16:06:36 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44554
44555	* win32/win32.c (MAXPATHLEN): define before use.
44556
44557Mon Jul 28 16:01:12 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44558
44559	* thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): moved
44560	  the definitions from .c to .h because rb_thread_cond_struct is used
44561	  in vm_core.h.
44562
44563Mon Jul 28 14:29:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44564
44565	* dln.c (load_lib): use dln_find_file_r instead of dln_find_file.
44566
44567Mon Jul 28 00:18:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44568
44569	* vm_core.h, thread.c: It is now prohibited to use Data_Get_Struct in
44570	  *_free against an object that is going to be free'ed.  So, change type
44571	  of thread_t#keeping_mutexes from VALUE to mutex_t.
44572
44573	* vm.c: remove mark to keeping_mutexes.
44574
44575Sun Jul 27 23:32:42 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44576
44577	* test/openssl/test_ssl.rb (server_loop): rescue Errno::EINVAL and
44578	  Errno::ECONNABORTED.
44579
44580Sun Jul 27 22:11:57 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44581
44582	* bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes
44583	  because FreeBSD fails this less than that.
44584
44585Sun Jul 27 21:45:59 2008  Koichi Sasada  <ko1@atdot.net>
44586
44587	* gc.c (gc_mark_children, obj_free): T_DEFERRED should not be appear.
44588
44589	* gc.c (gc_sweep, finalize_list): fix to decrement heap_slot#limit
44590	  after executing finalizer.
44591
44592Sun Jul 27 14:48:37 2008  Koichi Sasada  <ko1@atdot.net>
44593
44594	* include/ruby/ruby.h: add a type T_DEFERRED.
44595
44596	* gc.c: fix deferred finalizer system.  finalize processes of
44597	  T_DATA and T_FILE are executed after gc process.
44598	  And fix to use BUILTIN_TYPE() instead of seeing flag.
44599
44600	* thread.c, vm_core.h: add RUBY_VM_SET_FINALIZER_INTERRUPT()
44601	  and check interrupt_flag at rb_thread_execute_interrupts().
44602
44603	* thread.c (mutex_mark): fix to mark next_mutex.
44604
44605	* vm.c (rb_thread_mark): fix to mark keeping_mutexes.
44606
44607Sun Jul 27 09:15:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44608
44609	* dln.h (dln_find_exe, dln_find_file): deprecated, use reentrant
44610	  versions instead.
44611
44612Sun Jul 27 09:02:32 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
44613
44614	* lib/rinda/tuplespace.rb: merged from 1.8.
44615
44616	* test/rinda/test_rinda.rb: merged from 1.8.
44617
44618Sat Jul 26 22:45:18 2008  Yuki Sonoda (Yugui)  <yugui@yugui.jp>
44619
44620	* sample/exyacc.rb: fixed NoMethodError(Kernel#sub!).
44621	  replaced use of special variables with explicit IO
44622	  operations.
44623
44624Sat Jul 26 21:17:18 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44625
44626	* ext/win32ole/win32ole.c (Init_win32ole): add
44627	  WIN32OLE_EVENT#handler=, WIN32OLE_EVENT#handler
44628
44629	* test/win32ole/test_win32ole_event.rb: ditto.
44630
44631Sat Jul 26 07:44:14 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44632
44633	* ext/win32ole/win32ole.c (add_event_call_back): remove unused
44634	  variable.
44635
44636Fri Jul 25 23:48:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44637
44638	* gc.c (gc_sweep, obj_free, run_final): defer finalizers of IO and
44639	  Data.  [ruby-dev:35578]
44640
44641Fri Jul 25 23:35:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44642
44643	* lib/webrick/httputils.rb (WEBrick::HTTPUtils#split_header_value):
44644	  reduce backtrack.  based on a fix by Christian Neukirchen
44645	  <chneukirchen AT gmail.com>.
44646
44647Fri Jul 25 21:55:38 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44648
44649	* test/ruby/enc/test_koi8.rb: move from test/ruby/test_koi8.rb.
44650
44651Fri Jul 25 21:09:32 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44652
44653	* ext/win32ole/win32ole.c (ole_invoke, add_event_callback,
44654	  rescue_callback): refactoring.
44655
44656Fri Jul 25 20:52:44 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44657
44658	* test/win32ole/err_in_callback.rb: add test of raising
44659	  exception in WIN32OLE_EVENT callback.
44660
44661	* test/win32ole/test_err_in_callback.rb: ditto.
44662
44663Fri Jul 25 20:43:57 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44664
44665	* ext/win32ole/win32ole.c (Init_win32ole): add
44666	  WIN32OLE_EVENT#off_event.
44667
44668	* test/win32ole/test_win32ole_event.rb: ditto.
44669
44670	* test/win32ole/test_win32ole_event.rb: some refactoring.
44671
44672Fri Jul 25 19:50:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44673
44674	* regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.
44675
44676Fri Jul 25 15:52:40 2008  Koichi Sasada  <ko1@atdot.net>
44677
44678	* vm.c (vm_invoke_proc): skip setting safe_level if
44679	  it from bmethod.  This change makes test/ruby/test_proc.rb pass.
44680
44681Fri Jul 25 10:00:00 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
44682
44683	* test/ruby/test_transcode.rb: refactoring/cleanup of
44684	  test_iso_2022_jp(_1)
44685
44686Fri Jul 25 04:12:57 2008  NARUSE, Yui  <naruse@ruby-lang.org>
44687
44688	* ext/nkf/nkf.c (rb_nkf_convert): output of mime encode is US-ASCII.
44689	  [ruby-list:45257]
44690
44691Fri Jul 25 02:43:11 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44692
44693	* sample/coverage.rb: move from lib/coverage.rb because this remains in
44694	  an early phase of development.
44695
44696Fri Jul 25 00:10:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44697
44698	* file.c (rb_find_file_ext, rb_find_file): converts Windows style path
44699	  to Cygwin path.  [ruby-dev:35647]
44700
44701Thu Jul 24 16:30:21 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44702
44703	* win32/win32.c (exit_handler): use st_free_table() to free socklist.
44704
44705	* win32/win32.c (rb_w32_pipe_exec, rb_w32_accept, rb_w32_socket,
44706	  rb_w32_socketpair): should check and release fd and sockets/handles
44707	  if an error occurs in rb_w32_open_osfhandle().
44708
44709Thu Jul 24 16:05:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44710
44711	* win32/win32.c (overlapped_socket_io): avoid warnings.
44712
44713	* thread_win32.c (ubf_handle): refactoring.
44714
44715Thu Jul 24 07:01:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44716
44717	* ext/win32ole/win32ole.c: got rid of improper casts.
44718
44719Wed Jul 23 23:19:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44720
44721	* test/socket/test_tcp.rb (test_recvfrom): replace an irrelevant test
44722	  for old behavior.
44723
44724Wed Jul 23 21:38:16 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44725
44726	* test/ruby/test_marshal.rb: suppress warning during test.
44727
44728Wed Jul 23 21:35:53 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44729
44730	* test/ruby/test_dir.rb: suppress warning during test.
44731
44732Wed Jul 23 18:27:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44733
44734	* ext/tk/{stubs,tcltklib}.c, ext/tk/tkutil/tkutil.c: fix warnings
44735	  about constness and signedness.
44736
44737Wed Jul 23 17:04:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44738
44739	* ext/openssl/openssl_missing.h (d2i_of_void): define for older
44740	  versions.  [ruby-dev:35637]
44741
44742Wed Jul 23 13:53:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44743
44744	* ext/curses/extconf.rb: use try_static_assert.
44745
44746Wed Jul 23 10:06:19 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
44747
44748	* test/zlib/test_zlib.rb (TestZlibDeflate#test_params): suppress a
44749	  finalizer warning.
44750
44751Wed Jul 23 06:25:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44752
44753	* ext/syck: suppress warnings more.
44754
44755Wed Jul 23 03:19:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44756
44757	* ext/nkf/nkf-utf8/nkf.c (struct input_code.name, input_codename):
44758	  constified.
44759
44760Wed Jul 23 03:02:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44761
44762	* ext/syck: suppress warnings.
44763
44764Wed Jul 23 00:34:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44765
44766	* ext/openssl: suppress warnings.
44767
44768Tue Jul 22 23:01:34 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44769
44770	* ext/syck/rubyext.c, ext/syck/yaml2byte.c, ext/syck/emitter.c,
44771	  ext/syck/syck.c, ext/syck/handler.c, ext/syck/syck.h: suppress GCC
44772	  warning.
44773
44774Tue Jul 22 20:42:24 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44775
44776	* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): BigDecimal#<=> should
44777	  return nil if an argument can't be coerced into BigDecimal.
44778
44779	* ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c
44780	  (VpIsNegDoubleZero, VpItoV): comment out unused functions.
44781
44782Tue Jul 22 20:33:54 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44783
44784	* test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile.
44785
44786Tue Jul 22 19:38:38 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
44787
44788	* test/ruby/test_transcode.rb: added two comments
44789
44790Tue Jul 22 18:08:34 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44791
44792	* README.EXT, README.EXT.ja: mention about FIX2LONG and NUM2LONG.
44793	  see [ruby-dev:35197]
44794
44795Tue Jul 22 17:53:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44796
44797	* compile.c (insn_data_to_s_detail), file.c (rb_stat_inspect),
44798	  iseq.c (ruby_iseq_disasm_insn, ruby_iseq_disasm),
44799	  process.c (pst_message), re.c (match_inspect): use rb_str_catf.
44800
44801	* dir.c (dir_inspect), iseq.c (iseq_inspect, insn_operand_intern): use
44802	  rb_sprintf.
44803
44804	* error.c (rb_name_error, rb_raise, rb_loaderror, rb_fatal): use
44805	  rb_vsprintf.
44806
44807Tue Jul 22 17:20:25 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44808
44809	* win32/win32.c (init_func): new function to get API's address which
44810	  is often used and not supported on all Windows.
44811
44812	* win32/win32.c (overlapped_socket_io): shouldn't use overlapped I/O if
44813	  CancelIo() is not supported.
44814
44815Tue Jul 22 16:47:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44816
44817	* include/ruby/intern.h, sprintf.c (rb_str_catf, rb_str_vcatf): new
44818	  functions.  [ruby-dev:35597]
44819
44820	* string.c (rb_str_capacity): new function to return the capacity.
44821
44822Tue Jul 22 16:08:58 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44823
44824	* ext/socket/socket.c (connect_blocking, socks_connect_blocking,
44825	  ruby_connect): cast.
44826
44827Tue Jul 22 11:05:08 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
44828
44829	* test/ruby/test_dir.rb: use realpath of tmpdir. [ruby-dev:35481]
44830
44831	* test/ruby/test_process.rb: ditto.
44832
44833Tue Jul 22 09:51:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44834
44835	* misc/ruby-mode.el: fix here-doc strings with inner quotes.  patches
44836	  by Nathan Weizenbaum <nex342 AT gmail.com> from [ruby-core:17615]
44837	  through [ruby-core:17910].
44838
44839Tue Jul 22 04:26:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44840
44841	* include/ruby/intern.h (rb_str_buf_new2): optimization for literals.
44842
44843	* string.c (str_buf_cat): returns VALUE.
44844
44845Tue Jul 22 03:34:01 2008  Eric Hodel  <drbrain@segment7.net>
44846
44847	* lib/rdoc*: Update to RDoc 2.1.0 r112.
44848
44849Tue Jul 22 02:51:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44850
44851	* include/ruby/intern.h (rb_str_buf_cat2, rb_str_cat2): optimization
44852	  for literals.
44853
44854Tue Jul 22 02:50:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44855
44856	* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): fix the
44857	  prototype of rb_vsprintf, and added rb_str_cat2.  [ruby-dev:35622]
44858
44859Mon Jul 21 17:15:38 2008  Tanaka Akira  <akr@fsij.org>
44860
44861	* encoding.c (rb_filesystem_encoding): use locale encoding on Unix.
44862	  [ruby-dev:35617]
44863
44864Mon Jul 21 15:29:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44865
44866	* missing/vsnprintf.c (struct __sbuf, FILE): use size_t.
44867
44868	* sprintf.c (ruby__sfvwrite): ditto.
44869
44870Mon Jul 21 13:55:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44871
44872	* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): mentioned
44873	  rb_sprintf and rb_vsprintf.  [ruby-dev:35611]
44874
44875Mon Jul 21 10:25:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44876
44877	* io.c (prepare_getline_args): check if rs is a string when non-nil
44878	  lim is given.  [ruby-dev:35610]
44879
44880Mon Jul 21 04:55:20 2008  Tanaka Akira  <akr@fsij.org>
44881
44882	* dir.c (dir_initialize): use rb_convert_type instead of
44883	  rb_check_convert_type to prevent SEGV by Dir.new(".", true).
44884	  (dir_initialize): use FilePathValue before rb_enc_get(dirname) to
44885	  prevent SEGV by Dir.new(0).
44886
44887Mon Jul 21 04:42:15 2008  Tanaka Akira  <akr@fsij.org>
44888
44889	* re.c (rb_reg_s_union): useless rb_enc_get call removed to prevent
44890	  SEGV by Regexp.union("", nil).
44891
44892Sun Jul 20 22:50:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44893
44894	* compile.c (iseq_compile_each): NODE_POSTEXE should set each end
44895	  procs only once.  [ruby-dev:35596]
44896
44897Sun Jul 20 16:00:37 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44898
44899	* ext/win32ole/win32ole.c (EVENTSINK_Invoke): use rb_protect
44900	  instead of rb_rescue2. [ruby-dev:35595]
44901
44902Sun Jul 20 01:23:24 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44903
44904	* ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.
44905
44906	* ext/win32ole/win32ole.c (EVENTSINK_GetIDsOfNames): return
44907	  ITypeInfo::GetIDsOfNames().
44908
44909Sat Jul 19 09:31:35 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44910
44911	* ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.
44912
44913	* ext/win32ole/win32ole.c: add document of inspect methods.
44914
44915Sat Jul 19 06:08:43 2008  Eric Hodel  <drbrain@segment7.net>
44916
44917	* lib/rdoc*: Import RDoc r104.  Various make test-all fixes.
44918
44919Sat Jul 19 00:27:58 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44920
44921	* numeric.c (check_uint, rb_num2uint, rb_fix2uint): fixed wrong check
44922	  about 64bit positive value.
44923
44924Fri Jul 18 23:23:37 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
44925
44926	* ext/win32ole/win32ole.c (EVENTSINK_Invoke): avoid cfp consistency
44927	  error when exception raised in event callback.
44928
44929Fri Jul 18 14:52:14 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44930
44931	* win32/win32.c (socklist): table for registering socket options
44932	  (currently only O_NONBLOCK).
44933
44934	* win32/win32.c (StartSockets, exit_handler): alloc/free socklist.
44935
44936	* win32/win32.c (is_socket): use socklist.
44937
44938	* win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair):
44939	  register new socket to socklist.
44940
44941	* win32/win32.c (rb_w32_close): remove closing socket from socklist.
44942
44943	* win32/win32.c (fcntl): register socket options.
44944
44945	* win32/win32.c (overlapped_socket_io): send to/recv from socket with
44946	  overlapped operation if the socket is not nonblocking mode.
44947	  [experimental]
44948
44949	* win32/win32.c (rb_w32_send, rb_w32_sendto, rb_w32_recv,
44950	  rb_w32_recvfrom): use overlapped_socket_io().
44951
44952	* win32/win32.c (open_ifs_socket): set overlapped mode. this is the
44953	  default mode of winsock's socket(), so lacking it is an old bug.
44954
44955Fri Jul 18 09:44:30 2008  Eric Hodel  <drbrain@segment7.net>
44956
44957	* lib/rdoc/*: Import RDoc r101.
44958
44959Thu Jul 17 23:45:55 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44960
44961	* test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.
44962
44963Thu Jul 17 21:08:49 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44964
44965	* test/ruby/test_process.rb (test_getpriority, test_setpriority): use
44966	  PRIO_PROCESS instead of PRIO_USER.
44967
44968Thu Jul 17 20:41:42 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44969
44970	* pack.c (pack_unpack): fix v and V with big endian.
44971	  [1].pack("V").unpack("V") was [4294967296].
44972
44973Thu Jul 17 20:35:03 2008  Yusuke Endoh  <mame@tsg.ne.jp>
44974
44975	* pack.c (pack_pack): fix i! with big endian.  [1].pack("i!") was
44976	  "\0\0\0\0".
44977
44978Thu Jul 17 16:48:40 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44979
44980	* ext/socket/socket.c (ruby_connect): select() for connect() has
44981	  mean only when the socket is non-blocking.
44982
44983Thu Jul 17 10:55:24 2008  Eric Hodel  <drbrain@segment7.net>
44984
44985	* mkconfig.rb: Simplify expression for RDoc.
44986
44987Thu Jul 17 10:21:15 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
44988
44989	* numeric.c (check_uint, rb_num2uint, rb_fix2uint): strict check.
44990	  fixed [ruby-dev:33683]
44991
44992Thu Jul 17 04:19:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
44993
44994	* thread.c (thread_start_func_2): wake up joining threads.
44995
44996	* thread.c (sleep_forever, sleep_timeval): return when interrupted.
44997	  [ruby-dev:35542]
44998
44999	* thread.c (timer_thread_function): restore main thread status.
45000	  [ruby-core:17270]
45001
45002Thu Jul 17 01:27:38 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45003
45004	* io.c (appendline): remove invalid access.
45005
45006Wed Jul 16 18:04:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45007
45008	* signal.c (signal_exec, trap_handler): trap accepts a string as
45009	  command.  [ruby-dev:35533]
45010
45011Wed Jul 16 00:04:30 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45012
45013	* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new
45014	  method.
45015
45016	* test/ruby/test_argf.rb: use assert_in_out_err instead of
45017	  EnvUtil.rubyexec.
45018
45019	* test/ruby/test_module.rb: ditto.
45020
45021	* test/ruby/test_require.rb: ditto.
45022
45023	* test/ruby/test_objectspace.rb: ditto.
45024
45025	* test/ruby/test_object.rb: ditto.
45026
45027	* test/ruby/test_string.rb: ditto.
45028
45029	* test/ruby/test_method.rb: ditto.
45030
45031	* test/ruby/test_variable.rb: ditto.
45032
45033	* test/ruby/test_io.rb: ditto.
45034
45035	* test/ruby/test_rubyoptions.rb: ditto.
45036
45037	* test/ruby/test_exception.rb: ditto.
45038
45039	* test/ruby/test_class.rb: ditto.
45040
45041	* test/ruby/test_thread.rb: ditto.
45042
45043Tue Jul 15 22:34:03 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45044
45045	* win32/Makefile.sub (ruby_version): follow changes in configure.in.
45046
45047Tue Jul 15 21:58:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45048
45049	* ext/tk/{,tkutil/}extconf.rb: ruby/ruby.h no longer needs to be
45050	  checked.
45051
45052	* ext/tk/{tcltklib.c,tkutil/tkutil.c}: check macros for each headers.
45053
45054Tue Jul 15 21:45:41 2008  Akinori MUSHA  <knu@iDaemons.org>
45055
45056	* ext/tk/extconf.rb, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: Do
45057	  not test ruby/ruby.h, which makes OS X's gcc pick the wrong
45058	  header file from Ruby.framework.
45059
45060Tue Jul 15 21:31:26 2008  Akinori MUSHA  <knu@iDaemons.org>
45061
45062	* configure.in (--with-ruby-version): Add a new option to specify
45063	  the ruby version string for version specific directories.
45064	  [ruby-dev:35490]
45065
45066	* mkconfig.rb: Definition of ruby_version is now determined by the
45067	  configure script.
45068
45069Tue Jul 15 18:14:20 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45070
45071	* ext/socket/socket.c (ruby_connect, s_accept): check before readable/
45072	  writable by select() instead of wrapping in blocking region.
45073
45074	* ext/socket/socket.c (bsock_send, s_recvfrom, udp_send, unix_send_io,
45075	  unix_recv_io): should check readable/writable before calling blocking
45076	  functions.
45077	  see [ruby-dev:35446]
45078
45079Tue Jul 15 18:12:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45080
45081	* thread_win32.c (ubf_handle): cancel blocking IO if it can (only
45082	  Vista). see [ruby-dev:35446]
45083
45084	* win32/win32.c (errmap): add ERROR_OPERATION_ABORTED as EINTR.
45085
45086Mon Jul 14 20:35:21 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45087
45088	* test/win32ole/test_win32ole_event.rb (teardown): fix typo.
45089
45090Mon Jul 14 18:47:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45091
45092	* transcode.c (transcode_loop): constified.
45093
45094	* transcode.c (str_transcode): rb_str_set_len() sets a delimiter.
45095
45096	* transcode_data.h (rb_transcoder): constified preprocessor and
45097	  postprocessor input.
45098
45099	* enc/trans/japanese.c: ditto.
45100
45101Sun Jul 13 05:37:50 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45102
45103	* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
45104
45105	* {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.
45106
45107Sat Jul 12 23:54:55 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45108
45109	* win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which created
45110	  with DLL is broken. save import library which created by lib.exe and
45111	  install it.
45112	  fixed the problem mentioned at the postscript of [ruby-dev:35448]
45113
45114Sat Jul 12 23:24:21 2008  Tanaka Akira  <akr@fsij.org>
45115
45116	* ext/socket/socket.c: use PRIuSIZE.
45117
45118Sat Jul 12 22:41:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45119
45120	* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): fixed typo.
45121
45122Sat Jul 12 22:30:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45123
45124	* include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that
45125	  extconf.rb do not need to check if headers exist under separated
45126	  directory.  [ruby-dev:35437]
45127
45128	* include/{ruby,rubyio,rubysig}.h, include/ruby/intern.h: use
45129	  "ruby/..." instead of <ruby/...>.
45130
45131Sat Jul 12 22:17:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45132
45133	* configure.in (sizeof ptrdiff_t): check for size of ptrdiff_t.
45134
45135	* include/ruby/ruby.h (PRI?PTRDIFF, PRI?SIZE): printf conversion
45136	  specifiers for ptrdiff_t and size_t/ssize_t.
45137
45138	* insns.def (leave), marshal.c (long_toobig), transcode.c
45139	  (str_transcode), vm_dump.c (control_frame_dump, stack_dump_each),
45140	  (debug_print_register, debug_print_pre): t and z length modifiers
45141	  are C99.
45142
45143Sat Jul 12 16:02:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45144
45145	* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires
45146	  webrick/cookie.  [ ruby-Bugs-21139 ]
45147
45148Sat Jul 12 09:25:07 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45149
45150	* test/win32ole/test_win32ole_event.rb: add test
45151	  for WIN32OLE_EVENT#on_event_with_outargs
45152
45153	* test/win32ole/test_win32ole_event.rb(teardown): calling
45154	  WIN32OLE_EVENT.message_loop
45155
45156Sat Jul 12 01:54:13 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45157
45158	* win32/win32.c (rb_w32_select): shouldn't pass non-socket handle to
45159	  original select().
45160
45161Fri Jul 11 23:05:40 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45162
45163	* test/zlib/test_zlib.rb: add a test for Zlib::Deflate#params.
45164
45165Fri Jul 11 22:58:28 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45166
45167	* ext/zlib/zlib.c (rb_deflate_params): flush before deflateParams.
45168	  [ruby-core:17675]
45169
45170Fri Jul 11 22:09:01 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45171
45172	* win32/setup.rb, win32/Makefile.sub (PLATFORM): use $(PLATFORM)
45173	  instead of $(OS) because ENV["OS"] is used in test-all (drb).
45174
45175Fri Jul 11 20:51:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45176
45177	* io.c (rb_io_wait_readable, rb_io_wait_writable): check if the file
45178	  descriptor is closed.
45179
45180	* thread.c (rb_thread_wait_fd_rw): ditto.
45181
45182Fri Jul 11 16:16:43 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45183
45184	* win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair):
45185	  prohibit inheritance of sockets, too. [experimental]
45186
45187Fri Jul 11 14:39:49 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45188
45189	* win32/win32.c (CreateChild): the measures for Vista is no longer
45190	  unnecessary.
45191
45192Fri Jul 11 06:16:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45193
45194	* common.mk (process.o): depends on util.h.
45195
45196Fri Jul 11 05:07:46 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45197
45198	* include/ruby/win32.h (pipe): prohibit inheritance.
45199	  fixed: [ruby-dev:35421]
45200
45201Fri Jul 11 00:56:46 2008  Koichi Sasada  <ko1@atdot.net>
45202
45203	* thread.c (thread_create_core): fix GC problem.
45204	  [ruby-core:17669]
45205
45206Thu Jul 10 22:06:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45207
45208	* lib/pstore.rb (PStore#transaction): return the result from the
45209	  block.  [ruby-core:17718]
45210
45211Thu Jul 10 21:15:49 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45212
45213	* test/win32ole/test_win32ole_typelib.rb: add some illegal argument
45214	  test.
45215
45216	* test/win32ole/test_win32ole_type.rb: ditto.
45217
45218	* test/win32ole/test_win32ole_event.rb: ditto.
45219
45220	* test/win32ole/test_win32ole_param.rb: ditto.
45221
45222	* test/win32ole/test_win32ole_method.rb: ditto.
45223
45224Thu Jul 10 19:38:35 2008  wanabe  <s.wanabe@gmail.com>
45225
45226	* test/ruby/envutil.rb (assert_normal_exit): r17993 revert.
45227
45228Thu Jul 10 18:29:41 2008  wanabe  <s.wanabe@gmail.com>
45229
45230	* test/ruby/envutil.rb (assert_normal_exit): finish writing script
45231	  before spawn("ruby") to avoid blocking in win32.
45232
45233Thu Jul 10 17:20:50 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45234
45235	* win32/win32.c (insert): follow recent changes of globbing.
45236
45237Thu Jul 10 14:09:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45238
45239	* ext/coverage/coverage.c (rb_coverage_start): return nil.
45240
45241Thu Jul 10 12:41:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45242
45243	* thread.c (rb_thread_wait_for): fixed variable name.
45244
45245Thu Jul 10 12:09:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45246
45247	* vm_core.h (rb_thread_t), vm.c (rb_thread_mark), process.c
45248	  (rb_last_status_get, rb_last_status_set, rb_last_status_clear):
45249	  moved last_status from rb_vm_t.  [ruby-dev:35414]
45250
45251	* vm.c (th_init2): initialize last_status with nil.
45252
45253Thu Jul 10 12:09:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45254
45255	* thread.c (rb_thread_wait_for): wait until timed out only when
45256	  sleeping with timeout.
45257
45258Wed Jul  9 22:41:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45259
45260	* thread.c (sleep_timeval): wait until timed out.  [ruby-core:17270]
45261
45262Wed Jul  9 20:58:16 2008  Tanaka Akira  <akr@fsij.org>
45263
45264	* array.c (rb_ary_fill): don't raise even if length is negative.
45265	  [ruby-core:17483], [ruby-core:17661]
45266
45267Wed Jul  9 20:18:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45268
45269	* configure.in (rb_cv_va_args_macro): check for __VA_ARGS__.
45270
45271	* thread.c (thread_debug): show source name and line if possible.
45272
45273	* thread_{pthread,win32}.c (rb_thread_create_timer_thread): needs more
45274	  stack for debug.
45275
45276Wed Jul  9 11:13:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45277
45278	* lib/profiler.rb (Profiler__#print_profile): sort in the descending
45279	  order of cumulative time.
45280
45281Wed Jul  9 11:11:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45282
45283	* dir.c (struct glob_args, rb_glob_caller, rb_glob2, push_pattern),
45284	  (glob_brace): make consistent prototypes.
45285
45286	* dir.c (push_glob): set enc in the caller of rb_glob_caller as well
45287	  as rb_glob2.
45288
45289Wed Jul  9 09:12:11 2008  NARUSE, Yui  <naruse@ruby-lang.org>
45290
45291	* ext/nkf/nkf-utf8/nkf.c (options): use input_endian.
45292
45293Wed Jul  9 01:38:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45294
45295	* string.c (rb_str_succ): alphabets or numerics mutually enclosing
45296	  non-alphanumeric characters can carry up.  e.g., "1.999".succ should
45297	  be "2.000".
45298
45299Wed Jul  9 00:12:31 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45300
45301	* thread.c (rb_set_coverages, rb_reset_coverages): enable and disable
45302	  coverage measurement.
45303
45304	* thread.c (rb_get_coverages): rename and move from vm.c.
45305
45306	* vm.c (rb_vm_get_coverages): ditto.
45307
45308	* iseq.c (prepare_iseq_build): ditto.
45309
45310	* thread.c (clear_coverage): ditto.
45311
45312	* parse.y (coverage): ditto.
45313
45314	* ext/coverage/coverage.c: use above functions, add new method
45315	  Coverage.start and fix rdoc .
45316
45317Tue Jul  8 23:02:35 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45318
45319	* ext/win32ole/win32ole.c (find_default_source): bug fix when
45320	  OLE object does not have default source interface.
45321
45322	* test/win32ole/test_win32ole_event.rb: ditto.
45323
45324Tue Jul  8 22:56:23 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45325
45326	* thread.c (rb_enable_coverages): hide coverage array by setting 0 to
45327	  klass during measurement.
45328
45329	* parse.y (coverage, yycompile0): ditto.
45330
45331	* iseq.c (prepare_iseq_build): use rb_hash_lookup instead of
45332	  rb_hash_aref.
45333
45334	* thread.c (rb_coverage_result): restore klass of coverage array
45335	  and return it.
45336
45337	* thread.c (update_coverage): check whether its klass is 0.
45338
45339Tue Jul  8 22:28:25 2008  Koichi Sasada  <ko1@atdot.net>
45340
45341	* lib/debug.rb, lib/profile.rb: fix to use RubyVM.
45342
45343	* lib/rdoc/parsers/parse_c.rb: ditto.
45344
45345Tue Jul  8 21:45:22 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45346
45347	* vm.c (rb_vm_mark): mark the last element of special_exceptions.
45348
45349Tue Jul  8 19:55:40 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45350
45351	* ext/win32ole/win32ole.c (find_default_source): try to
45352	  find COCLASS when WIN32OLE object is not COCLASS.
45353
45354	* test/win32ole/test_win32ole_event.rb: ditto
45355
45356Tue Jul  8 13:38:22 2008  Koichi Sasada  <ko1@atdot.net>
45357
45358	* compile.h: fix to skip inserting a trace insn.
45359
45360Tue Jul  8 11:41:17 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45361
45362	* dir.c: shouldn't use ruby object in globbing, because glob service
45363	  routines are called before initializing ruby on some platforms (ex.
45364	  windows).
45365
45366Tue Jul  8 10:08:40 2008  NARUSE, Yui  <naruse@ruby-lang.org>
45367
45368	* dir.c (Next): use rb_enc_mbclen. [ruby-dev:35390]
45369
45370Tue Jul  8 07:59:40 2008  NARUSE, Yui  <naruse@ruby-lang.org>
45371
45372	* dir.c (Next): use rb_enc_precise_mbclen.
45373
45374Tue Jul  8 02:27:23 2008  NARUSE, Yui  <naruse@ruby-lang.org>
45375
45376	* dir.c: preserve encoding of strings in glob and fnmatch.
45377
45378	* include/ruby/ruby.h: related changes.
45379
45380Tue Jul  8 00:22:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45381
45382	* string.c (rb_str_succ): limit carrying in an alphanumeric region if
45383	  exists.  [ruby-dev:35094]
45384
45385Mon Jul  7 20:39:28 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45386
45387	* ext/win32ole/win32ole.c(Init_win32ole): add
45388	  WIN32OLE_TYPE#source_ole_types, WIN32OLE_TYPE#default_ole_types,
45389	  WIN32OLE_TYPE#default_event_sources.
45390
45391	* test/win32ole/test_win32ole_type.rb: ditto.
45392
45393Mon Jul  7 19:45:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
45394
45395	* test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM.
45396
45397Mon Jul  7 17:12:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45398
45399	* lib/ipaddr.rb (IPAddr#initialize): get rid of ArgumentError in
45400	  IPAddr#to_range.  a patch from okkez <okkez000 AT gmail.com> in
45401	  [ruby-dev:35091].
45402
45403Mon Jul  7 01:24:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45404
45405	* file.c (rb_file_s_extname): fix for file name with spaces.
45406	  [ruby-talk:307404]
45407
45408Mon Jul  7 00:59:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45409
45410	* thread_pthread.c (ruby_init_stack): prior STACK_END_ADDRESS if
45411	  found.  [ruby-core:17624]
45412
45413Sun Jul  6 23:48:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45414
45415	* ext/socket/socket.c (bsock_send, s_recvfrom, ruby_connect, s_accept),
45416	  (udp_send, unix_send_io, unix_recv_io): blocking region support.
45417
45418Sun Jul  6 18:34:35 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45419
45420	* test/win32ole/test_win32ole_type.rb (test_initialize): add
45421	  more assertions.
45422
45423Sun Jul  6 10:12:21 2008  Kouhei Sutou  <kou@cozmixng.org>
45424
45425	* lib/test/unit/collector/objectspace.rb
45426	  (Test::Unit::Collector::ObjectSpace::NAME): fix a typo.
45427
45428Sun Jul  6 00:56:51 2008  Tanaka Akira  <akr@fsij.org>
45429
45430	* ext/socket/socket.c (host_str): fix type mismatch in rb_raise
45431	  format and argument.
45432	  (port_str): ditto.
45433	  (unix_recv_io): ditto.
45434	  (sock_s_unpack_sockaddr_un): ditto.
45435
45436Sat Jul  5 23:42:23 2008  Tanaka Akira  <akr@fsij.org>
45437
45438	* include/ruby/ruby.h (NUM2INT): cast to int.
45439	  (FIX2INT): ditto.
45440	  (NUM2UINT): cast to unsigned int.
45441	  (FIX2UINT): ditto.
45442
45443Sat Jul  5 23:10:41 2008  Tanaka Akira  <akr@fsij.org>
45444
45445	* io.c (rb_pipe): new function for handling EMFILE and ENFILE
45446	  error of pipe().
45447	  (UPDATE_MAXFD_PIPE): removed.
45448	  (pipe_open): use rb_pipe.
45449	  (rb_io_s_pipe): ditto.
45450
45451	* process.c (pipe_nocrash): use rb_pipe.
45452
45453	* include/ruby/intern.h (rb_pipe): declared.
45454
45455Sat Jul  5 22:22:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45456
45457	* thread.c (thread_initialize): NUM2INT() returns int.
45458
45459	* thread.c (timer_thread_function), thread_pthread.c (thread_timer),
45460	  thread_win32.c (timer_thread_func), thread_{pthread,win32}.c
45461	  (rb_thread_create_timer_thread): passing VM.
45462
45463Sat Jul  5 20:53:18 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45464
45465	* test/win32ole/test_word.rb: check word installed.
45466
45467Sat Jul  5 16:12:54 2008  Narihiro Nakamura  <authorNari@gmail.com>
45468
45469	* gc.c: revert. before lazy sweep.
45470
45471Sat Jul  5 09:55:44 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45472
45473	* ext/win32ole/win32ole.c: add WIN32OLE#ole_respond_to?
45474
45475	* test/win32ole/test_win32ole.rb: ditto.
45476
45477Sat Jul  5 08:48:05 2008  Tanaka Akira  <akr@fsij.org>
45478
45479	* re.c (unescape_nonascii): add has_property argument not to
45480	  raise error by /\p{Hiragana}\u{3042}/ in EUC-JP script.
45481	  (rb_reg_preprocess): use has_property argument to make regexp
45482	  encoding fixed.
45483
45484Sat Jul  5 08:29:47 2008  Tanaka Akira  <akr@fsij.org>
45485
45486	* re.c (unescape_nonascii): make regexp fixed_encoding if \p is used.
45487	  fixed [ruby-core:17279].
45488
45489Fri Jul  4 23:12:53 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45490
45491	* ext/win32ole/win32ole.c (d2time): fix the bug of VT_DATE
45492	  to String conversion when negative value.
45493
45494	* test/win32ole/test_win32ole_variant.rb: ditto.
45495
45496Fri Jul  4 22:15:29 2008  Tanaka Akira  <akr@fsij.org>
45497
45498	* lib/test/unit/testcase.rb: collect descendants of
45499	  Test::Unit::TestCase using inherited.
45500
45501	* lib/test/unit/autorunner.rb: don't use ObjectSpace.each_object.
45502
45503	* lib/test/unit/collector/dir.rb: ditto.
45504
45505	* lib/test/unit/collector/objectspace.rb: ditto.
45506
45507	[ruby-core:17126]
45508
45509Fri Jul  4 20:43:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45510
45511	* include/ruby/oniguruma.h (OnigEncoding): removed auxiliary_data.
45512
45513	* include/ruby/encoding.h (ENC_DUMMY_P): moved dummy encoding flag to
45514	  rb_encoding from Encoding instance.
45515
45516	* encoding.c (rb_encoding_list): list of Encoding instances.
45517
45518	* encoding.c (struct rb_encoding_entry): moved base encoding from
45519	  instance variable.
45520
45521Fri Jul  4 17:51:07 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45522
45523	* numeric.c (check_uint, rb_num2uint, rb_fix2uint): proper check.
45524
45525Fri Jul  4 14:17:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45526
45527	* lib/net/ftp.rb (Net::FTP#sendport): use divmod.  [ruby-core:17557]
45528
45529Fri Jul  4 11:08:37 2008  Narihiro Nakamura  <authorNari@gmail.com>
45530
45531	* gc.c (garbage_collect_force): sweep is completely ended.
45532
45533	* gc.c (os_obj_of): invoke garbage_collect_force() when freelist none.
45534
45535Fri Jul  4 05:01:26 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45536
45537	* numeric.c (rb_num2uint, rb_fix2uint): typo.
45538
45539Fri Jul  4 02:21:06 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45540
45541	* numeric.c (check_uint, rb_num2uint, rb_fix2uint): also needs checking
45542	  negative value. see [ruby-dev:33683]
45543
45544Thu Jul  3 23:26:36 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45545
45546	* include/ruby/intern.h: remove prototypes about coverage.
45547
45548	* iseq.c (prepare_iseq_build): add prototype.
45549
45550	* parse.y (coverage): ditto.
45551
45552	* thread.c (clear_coverage): ditto.
45553
45554	* thread.c (update_coverage): use rb_sourceline.
45555
45556	* thread.c (rb_get_coverages): rename and move to vm.c.
45557
45558	* vm.c (rb_vm_get_coverages): ditto.
45559
45560	* ext/coverage/coverage.c: add rdoc.
45561
45562Thu Jul  3 21:51:21 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45563
45564	* ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminate
45565	  COVERAGE__ and introduce coverage.so instead.  How to measure
45566	  coverage: (1) require "coverage.so", (2) require or load Ruby source
45567	  file, and (3) Coverage.result will return the same hash as COVERAGE__.
45568	  [ruby-dev:35324]
45569
45570	* thread.c (rb_enable_coverages): start coverage measurement by using
45571	  rb_add_event_hook.
45572
45573	* thread.c (rb_get_coverages): returns current results of coverage
45574	  measurement.
45575
45576	* include/ruby/intern.h: add prototype for above two functions.
45577
45578	* vm_core.h, vm.c: add field of coverages to rb_vm_t.
45579
45580	* insns.def (trace): remove special handling for COVERAGE__.
45581
45582	* iseq.c (prepare_iseq_build): switch COVERAGE__ to
45583	  rb_get_coverages().
45584
45585	* parse.y (coverage): ditto.
45586
45587	* thread.c (clear_coverage): ditto.
45588
45589	* lib/coverage.rb: use coverage.so instead of COVERAGE__.
45590
45591Thu Jul  3 21:20:45 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45592
45593	* thread.c (thread_initialize): NUM2INT returns long.
45594
45595Thu Jul  3 21:06:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45596
45597	* eval.c (Init_eval): typo fixed in r17833.
45598
45599Thu Jul  3 19:44:44 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45600
45601	* ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line.
45602
45603Thu Jul  3 16:08:36 2008  Tanaka Akira  <akr@fsij.org>
45604
45605	* configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch
45606	  on IA64 is broken.  erfc(10000.0) aborts.
45607	  use missing/erf.c instead.
45608	  http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
45609
45610Thu Jul  3 12:49:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
45611
45612	* lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
45613	  'localhost.localdomain'.  [ruby-dev:35333]
45614
45615	* lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
45616
45617Thu Jul  3 07:06:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45618
45619	* Makefile.in (SET_LC_MESSAGES): LC_MESSAGES must be C.
45620
45621Thu Jul  3 07:02:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45622
45623	* eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
45624	  messages of preallocated special exceptions also.
45625
45626Thu Jul  3 04:39:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45627
45628	* gc.c (rb_during_gc): VALUE cache is irrelevant.
45629
45630Thu Jul  3 01:44:01 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45631
45632	* regint.h (GET_ALIGNMENT_PAD_SIZE, ALIGNMENT_RIGHT): cast pointer to
45633	  uintptr_t instead of unsigned int.
45634
45635Thu Jul  3 01:23:13 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45636
45637	* sprintf.c: include ieeefp.h to refer to isinf.
45638
45639	* ext/bigdecimal/bigdecimal.c: ditto.
45640
45641	* ext/json/ext/generator/generator.c: ditto.
45642
45643	* rational.c: ditto.
45644
45645Thu Jul  3 01:01:57 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45646
45647	* missing/tgamma.c (tgamma): remove unused variable.
45648
45649Thu Jul  3 00:18:00 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45650
45651	* ext/win32ole/win32ole.c: avoid creating Ruby object during
45652	  GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313]
45653
45654	* test/win32ole/test_win32ole_event.rb: ditto.
45655
45656Thu Jul  3 00:09:31 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
45657
45658	* gc.c: add rb_during_gc(). based on a patch from arton <artonx AT
45659	  yahoo.co.jp> at [ruby-dev:35313].
45660
45661	* include/ruby/intern.h: ditto.
45662
45663Wed Jul  2 09:49:10 2008  Narihiro Nakamura  <authorNari@gmail.com>
45664
45665	* gc.c (gc_lazy_sweep): use lazy sweep algorithm for response
45666	  performance gain.
45667
45668	* gc.c (garbage_collect_force): mark and lazysweep invoke, after
45669	  erasing all mark.
45670
45671	* gc.c (GC_NOT_LAZY_SWEEP): not lazy sweep flag. for debug.
45672
45673Wed Jul  2 03:42:44 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45674
45675	* test/ruby/test_settracefunc.rb: fix expected traces for
45676	  RubyVM::FrozenCore's event and r17744.
45677
45678Wed Jul  2 03:10:41 2008  Koichi Sasada  <ko1@atdot.net>
45679
45680	* compile.h, insns.def: reduce insn operand of "trace".
45681
45682	* include/ruby/ruby.h: add RUBY_EVENT_COVERAGE event.
45683
45684Wed Jul  2 02:02:34 2008  Koichi Sasada  <ko1@atdot.net>
45685
45686	* proc.c, vm.c: fix to refer to next ruby level cfp to make binding.
45687
45688Wed Jul  2 01:58:19 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45689
45690	* insns.def (trace): C99ism.
45691
45692Wed Jul  2 01:53:40 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45693
45694	* Add coverage measurement constant COVERAGE__.  This constant is not
45695	  for casual use.  Usage: (1) assign {} to COVERAGE__, (2) require or
45696	  load Ruby source file, and (3) COVERAGE__["sourcefilepath"] will
45697	  return an array whose elements represent number of executions per
45698	  line of source code.
45699
45700	* vm_core.h: add field of coverage array to iseq.
45701
45702	* iseq.c (prepare_iseq_build): ditto.
45703
45704	* insns.def (trace): update coverage array.
45705
45706	* parse.y (coverage): create and initialize coverage array.
45707
45708	* compile.h (ADD_TRACE): add trace instruction to update coverage
45709	  array.
45710
45711	* thread.c (clear_coverage): delete coverage array when forking.
45712	  Otherwise, double count of coverage may occur.
45713
45714	* lib/coverage.rb: sample coverage measurement tool.
45715
45716	* error.c: distinguish explicitly between parse_in_eval and
45717	  mild_compile_error.
45718
45719	* load.c: ditto.
45720
45721	* vm_eval.c: ditto.
45722
45723Tue Jul  1 21:32:43 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45724
45725	* lib/test/unit/ui/console/testrunner.rb: prevent destructive
45726	  modification to $0.
45727
45728	* test/rubygems/gemutilities.rb (build_rake_in): move from
45729	  test_gem_ext_rake_builder.rb.
45730
45731	* test/rubygems/test_gem_ext_rake_builder.rb: ditto.
45732
45733	* test/rubygems/test_gem_installer.rb: override Gem.ruby and
45734	  ENV["rake"].
45735
45736	* test/rubygems/test_gem_uninstaller.rb: ditto.
45737
45738Tue Jul  1 21:13:17 2008  Koichi Sasada  <ko1@atdot.net>
45739
45740	* compile.c, vm.c, insns.def: call FrozenCore.set_postexe method
45741	  instead to use "postexe" insn.
45742
45743	* id.c, id.h: add a prepared id for above.
45744
45745Tue Jul  1 21:09:58 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
45746
45747	* lib/mkmf.rb (create_tmpsrc): we need to include COMMON_HEADERS,
45748	  namely inclusion of ruby.h, because _GNU_SOURCE is now defined
45749	  there (if any) and socket.so requires it on Linux systems.
45750
45751Tue Jul  1 20:55:07 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
45752
45753	* eval.c (rb_interrupt): trick to suppress GCC warning.
45754
45755	* sprintf.c (rb_str_format): ditto.
45756
45757Tue Jul  1 20:44:36 2008  Koichi Sasada  <ko1@atdot.net>
45758
45759	* tool/instruction.rb: RubyVM is not module.
45760
45761Tue Jul  1 19:31:24 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
45762
45763	* ext/digest/digest.c (rb_digest_instance_inspect): constified.
45764
45765	* variable.c (rb_path2class): field precision should have type int.
45766
45767Tue Jul  1 19:01:00 2008  NARUSE, Yui  <naruse@ruby-lang.org>
45768
45769	* enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is
45770	  a character.
45771
45772Tue Jul  1 17:56:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45773
45774	* missing/vsnprintf.c (BSD__uqtoa): constified.
45775
45776Tue Jul  1 17:50:44 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45777
45778	* enc/make_encdb.h: always add ';' at the end of line.
45779
45780Tue Jul  1 17:44:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45781
45782	* iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),
45783	  thread.c (eKillSignal, eTerminateSignal),
45784	  missing/vsnprintf.c (BSD_vfprintf): constified.
45785
45786Tue Jul  1 17:37:43 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
45787
45788	* enc/ascii.c: ISO C does not allow extra ';' outside of a
45789	  function
45790
45791	* enc/us_ascii.c: ditto.
45792
45793	* enc/utf_8.c: ditto.
45794
45795	* enc/big5.c: ditto.
45796
45797	* enc/euc_jp.c: ditto.
45798
45799	* enc/euc_kr.c: ditto.
45800
45801	* enc/euc_tw.c: ditto.
45802
45803	* enc/gb2312.c: ditto.
45804
45805	* enc/gbk.c: ditto.
45806
45807	* enc/iso_8859_1.c: ditto.
45808
45809	* enc/iso_8859_2.c: ditto.
45810
45811	* enc/iso_8859_3.c: ditto.
45812
45813	* enc/iso_8859_4.c: ditto.
45814
45815	* enc/iso_8859_5.c: ditto.
45816
45817	* enc/iso_8859_6.c: ditto.
45818
45819	* enc/iso_8859_7.c: ditto.
45820
45821	* enc/iso_8859_8.c: ditto.
45822
45823	* enc/iso_8859_9.c: ditto.
45824
45825	* enc/iso_8859_10.c: ditto.
45826
45827	* enc/iso_8859_11.c: ditto.
45828
45829	* enc/iso_8859_13.c: ditto.
45830
45831	* enc/iso_8859_14.c: ditto.
45832
45833	* enc/iso_8859_15.c: ditto.
45834
45835	* enc/iso_8859_16.c: ditto.
45836
45837	* enc/koi8_r.c: ditto.
45838
45839	* enc/shift_jis.c: ditto.
45840
45841	* enc/utf_16be.c: ditto.
45842
45843	* enc/utf_32be.c: ditto.
45844
45845	* enc/utf_32le.c: ditto.
45846
45847	* enc/windows_1251.c: ditto.
45848
45849	* process.c (run_exec_rlimit): ISO C90 forbids mixed declarations
45850	  and code
45851
45852	* include/ruby/ruby.h (enum ruby_special_consts): ISO C forbids
45853	  comma at end of enumerator list
45854
45855	* include/ruby/ruby.h (enum ruby_value_type): ditto.
45856
45857	* eval_intern.h (enum): ditto.
45858
45859	* vm_core.h (enum rb_thread_status): ditto.
45860
45861	* parse.y (enum lex_state_e): ditto.
45862
45863	* parse.y (enum string_type): ditto.
45864
45865	* process.c (enum): ditto.
45866
45867	* ruby.c (enum dump_flag_bits): ditto.
45868
45869	* ruby.c (enum disable_flag_bits): ditto.
45870
45871	* enc/gb18030.c (enum): ditto.
45872
45873Tue Jul  1 17:21:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45874
45875	* regexec.c (stack_double): use MatchStackLimitSize atomically.
45876
45877	* regparse.c (onig_free_shared_cclass_table): OnigTypeCClassTable
45878	  needs atomicity
45879
45880	* regsyntax.c: constified all predefined OnigSyntaxTypes.
45881
45882Tue Jul  1 16:57:44 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
45883
45884	* include/ruby/st.h (struct st_table): type of bit-field
45885	  'num_entries' is a GCC extension
45886
45887	* include/ruby/ruby.h (rb_intern): prefix __extension__ for
45888	  braced-groups within expressions.
45889
45890	* include/ruby/intern.h (rb_usascii_str_new2): ditto.
45891
45892	* include/ruby/intern.h (rb_tainted_str_new2): ditto.
45893
45894	* include/ruby/intern.h (rb_str_new2): ditto.
45895
45896Tue Jul  1 15:01:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45897
45898	* lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make),
45899	  (Gem::Ext::Builder.run): EXIT_SUCCESS may be 0 or may not.
45900
45901	* test/rubygems/test_gem_ext_rake_builder.rb (build_rake_in): override
45902	  Gem.ruby and ENV["rake"].
45903
45904	* runruby.rb: bin/rake does not exist in archdir where architecture
45905	  depend script (i.e. rbconfig.rb) exists.
45906
45907Tue Jul  1 13:19:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45908
45909	* array.c (rb_ary_fill): check if beg is too big.
45910
45911Tue Jul  1 12:01:16 2008  Koichi Sasada  <ko1@atdot.net>
45912
45913	* compile.c, insns.def, vm.c, vm_core.h: remove some insns
45914	  (undef, alias, definemethod).
45915	  Call RubyVM::FrozenCore's singleton method instead.
45916	  Add "putiseq" and "putspecialobject" instructions.
45917
45918	* id.c, id.h: add ids for above.
45919
45920	* tool/parse.rb: "VM" no longer exists.  Use RubyVM instead.
45921
45922Tue Jul  1 03:28:16 2008  Eric Hodel  <drbrain@segment7.net>
45923
45924	* test/rubygems/test_ext_configure_builder.rb:  Apply locale-free
45925	  patch by Yusuke ENDOH.  [ruby-core:17444].
45926
45927	* runruby.rb: Set ENV['rake'].  Patch by Yusuke ENDOH
45928	  [ruby-core:17442].
45929
45930Tue Jul  1 01:07:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45931
45932	* lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
45933	  double quotes are allowed.  [ruby-list:45140]
45934
45935Tue Jul  1 00:59:43 2008  Tanaka Akira  <akr@fsij.org>
45936
45937	* numeric.c (num_coerce): call rb_Float(x) first.  don't depend on
45938	  evaluation order of function arguments.
45939
45940Tue Jul  1 00:49:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45941
45942	* gc.c (rb_newobj): abort GC phase before rb_bug.
45943
45944Mon Jun 30 23:15:07 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45945
45946	* test/openssl/test_ssl.rb (start_server): shutdown TCPServer before
45947	  close.
45948
45949Mon Jun 30 23:01:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45950
45951	* common.mk (RUBY_H_INCLUDES): common headers which are included with
45952	  ruby.h together.
45953
45954Mon Jun 30 22:57:50 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45955
45956	* test/ruby/test_settracefunc.rb (test_raise): reveal an exception
45957	  hided by rescue modifier.
45958
45959Mon Jun 30 22:49:32 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45960
45961	* test/ruby/test_array.rb (test_aset): access with too big index
45962	  raises not ArgumentError but IndexError now.
45963
45964Mon Jun 30 22:30:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45965
45966	* lib/test/unit/collector/dir.rb (recursive_collect): r15662 reverted.
45967
45968Mon Jun 30 22:27:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45969
45970	* ext/stringio/stringio.c (strio_getline): fix for nil and "" as
45971	  separator.  [ruby-dev:34591]
45972
45973Mon Jun 30 22:21:30 2008  Yusuke Endoh  <mame@tsg.ne.jp>
45974
45975	* io.c (argf_each_line): pass args to each_line. [ruby-dev:34958]
45976
45977Mon Jun 30 22:12:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45978
45979	* gc.c (chain_finalized_object): should not delete from finalizer
45980	  table until run.
45981
45982	* gc.c (rb_gc_call_finalizer_at_exit): deferred_final_list may be
45983	  empty first.
45984
45985Mon Jun 30 18:57:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
45986
45987	* gc.c (gc_finalize_deferred): allow object allocation in finalizers.
45988
45989	* gc.c (rb_gc_call_finalizer_at_exit): ditto.
45990
45991Mon Jun 30 14:41:36 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
45992
45993	* gc.c (rb_newobj): prohibit call of rb_newobj() during gc when
45994	  USE_VALUE_CACHE is not defined (normal case).
45995
45996Mon Jun 30 10:28:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
45997
45998	* ext/syslog/syslog.c (syslog_write): syslog operations should be
45999	  protected from $SAFE level 4.  a patch from Keita Yamaguchi
46000	  <keita.yamaguchi at gmail.com>.
46001
46002	* ext/syslog/syslog.c (mSyslog_close): ditto.
46003
46004	* ext/syslog/syslog.c (mSyslog_set_mask): ditto.
46005
46006Mon Jun 30 03:01:35 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46007
46008	* test/net/http/test_http.rb (_test_request__file): specify encoding
46009	  explicitly.
46010
46011	* test/net/http/utils.rb: ditto.
46012
46013Mon Jun 30 02:31:07 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46014
46015	* encoding.c (rb_utf8_encindex): defined.
46016
46017	* include/ruby/encoding.h (rb_utf8_encindex): ditto.
46018
46019Mon Jun 30 02:14:34 2008  Koichi Sasada  <ko1@atdot.net>
46020
46021	* vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class name
46022	  VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM.
46023	  "VM" is too short name for class.
46024
46025	* test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto.
46026
46027	* include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be
46028	  exposed.
46029
46030Mon Jun 30 02:10:32 2008  Koichi Sasada  <ko1@atdot.net>
46031
46032	* process.c (Init_process): fix to avoid a warning.
46033
46034Mon Jun 30 01:52:05 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46035
46036	* test/ruby/test_parse.rb: remove tests for open_args.
46037
46038Sun Jun 29 23:01:54 2008  Tanaka Akira  <akr@fsij.org>
46039
46040	* string.c (rb_str_format_m): make tmp volatile to avoid possible GC
46041	  problem.
46042
46043Sun Jun 29 18:01:30 2008  Kouhei Sutou  <kou@cozmixng.org>
46044
46045	* lib/rss/parser.rb, lib/rss/utils.rb: merge documents from ruby_1_8.
46046
46047Sun Jun 29 17:44:23 2008  Kouhei Sutou  <kou@cozmixng.org>
46048
46049	* lib/rss/parser.rb (RSS::ListenerMixin#known_class): define to
46050	  work with ruby 1.8.x too.
46051
46052Sun Jun 29 17:41:42 2008  Kouhei Sutou  <kou@cozmixng.org>
46053
46054	* lib/rss/maker/base.rb (RSS::Maker::RSSBase#to_feed): raise
46055	  exception not return nil if RSS::Maker.make can't get required
46056	  information.
46057
46058	* test/rss/rss-assertions.rb: follow the above change.
46059
46060Sun Jun 29 17:37:23 2008  Kouhei Sutou  <kou@cozmixng.org>
46061
46062	* lib/rss/maker/base.rb (RSS::Maker::RSSBase#make): require block.
46063
46064	* test/rss/test_maker_{0.9,1.0,2.0}.rb: follow the above change.
46065
46066Sun Jun 29 17:33:34 2008  Kouhei Sutou  <kou@cozmixng.org>
46067
46068	* lib/rss/maker/base.rb, lib/rss/maker/itunes.rb: don't use
46069	  instance_eval to initialize variables. (speed up)
46070
46071Sun Jun 29 17:31:15 2008  Kouhei Sutou  <kou@cozmixng.org>
46072
46073	* lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION):
46074	  0.2.4 -> 0.2.5.
46075
46076Sun Jun 29 11:36:20 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46077
46078	* dir.rb: fix resource leak.
46079
46080Sun Jun 29 09:43:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46081
46082	* lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and
46083	  should be clean.  based on a patch from arton <artonx AT
46084	  yahoo.co.jp> at [ruby-dev:35269]
46085
46086Sun Jun 29 07:53:08 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
46087
46088	* ext/win32ole/win32ole.c (date2time_str): fix the overflow in
46089	  some situation. [ruby-bugs-20793]
46090
46091Sat Jun 28 21:25:08 2008  Tanaka Akira  <akr@fsij.org>
46092
46093	* include/ruby/ruby.h (struct RRegexp): new field usecnt.  replace
46094	  str and len by src.
46095
46096	* gc.c (gc_mark_children): mark src field of regexp.
46097	  (obj_free): don't free str field.
46098
46099	* re.c (REG_BUSY): removed.
46100	  (rb_reg_initialize): prohibit re-initialize regexp.
46101	  (rb_reg_search): use usecnt to prevent freeing regexp currently
46102	  using.  this prevents SEGV by:
46103	    r = /\A((a.)*(a.)*)*b/
46104	    r =~ "ab" + "\xc2\xa1".force_encoding("euc-jp")
46105	    t = Thread.new { r =~ "ab"*8 + "\xc2\xa1".force_encoding("utf-8")}
46106	    sleep 0.2
46107	    r =~ "ab"*8 + "\xc2\xa1".force_encoding("euc-jp")
46108
46109Sat Jun 28 21:15:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46110
46111	* include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,
46112	  rb_usascii_str_new2): use inline versions only for constant
46113	  literals.
46114
46115Sat Jun 28 13:12:06 2008  Tanaka Akira  <akr@fsij.org>
46116
46117	* test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't use
46118	  fixed /tmp/apple_gem_home directory.
46119
46120Sat Jun 28 08:40:18 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
46121
46122	* ext/win32ole/win32ole.c: check String encoding when
46123	  converting String to VT_BSTR in OLE.
46124
46125	* test/win32ole/test_win32ole.rb: ditto.
46126
46127Sat Jun 28 01:08:42 2008  Tanaka Akira  <akr@fsij.org>
46128
46129	* time.c (time_timespec): fix rounding negative float.
46130
46131Fri Jun 27 21:38:57 2008  Tanaka Akira  <akr@fsij.org>
46132
46133	* struct.c: __size__ removed.  use the length of __members__ instead.
46134	  (num_members): new function.
46135
46136Fri Jun 27 21:19:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46137
46138	* test/inlinetest.rb (InlineTest.in_progname): workaround for frozen
46139	  $0.  [ruby-dev:35261]
46140
46141	* lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
46142
46143Fri Jun 27 17:45:17 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
46144
46145	* lib/erb.rb: adjust line number for magic comment.
46146
46147	* test/erb/test_erb.rb: add tests for def_method.
46148
46149Fri Jun 27 14:29:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46150
46151	* parse.y (primary): empty not should call '!' on nil.
46152	  cf [ruby-dev:35227]
46153
46154Fri Jun 27 14:25:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46155
46156	* vm.c (vm_eval_body): if thrown exception is frozen, reraise it to
46157	  create a new instance.
46158
46159Fri Jun 27 13:29:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46160
46161	* include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,
46162	  rb_usascii_str_new2): use with-length versions with strlen to
46163	  optimize strlen, if optimized.
46164
46165Fri Jun 27 12:28:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46166
46167	* lib/un.rb (mkmf): new command to create makefile.
46168
46169Fri Jun 27 11:06:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46170
46171	* lib/un.rb (wait_writable): added help message.
46172
46173Fri Jun 27 06:52:54 2008  Koichi Sasada  <ko1@atdot.net>
46174
46175	* configure.in: need a ",".
46176
46177	* process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro.
46178
46179Fri Jun 27 06:50:56 2008  Koichi Sasada  <ko1@atdot.net>
46180
46181	* vm_eval.c (vm_call_super): fix to call method_missing.
46182	  [ruby-core:15719], [ruby-core:17340]
46183
46184Fri Jun 27 00:00:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46185
46186	* ruby.c (set_arg0, ruby_prog_init): freeze $0.  a patch from Keita
46187	  Yamaguchi <keita.yamaguchi at gmail.com>.
46188
46189Thu Jun 26 23:58:29 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46190
46191	* string.c (rb_str_index_m, rb_str_rindex_m, rb_str_include): fix
46192	  rdoc.
46193
46194Thu Jun 26 17:43:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46195
46196	* variable.c (rb_f_trace_var): should not be allowed at safe level 4.
46197	  a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
46198
46199Thu Jun 26 11:04:30 2008  Eric Hodel  <drbrain@segment7.net>
46200
46201	* lib/rubygems: Update to RubyGems 1.2.0 r1824.  Incorporates patch by
46202	  Yusuke ENDOH [ruby-core:17353].
46203
46204Thu Jun 26 00:48:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46205
46206	* parse.y (primary): not operand might be empty.  [ruby-dev:35227]
46207
46208Wed Jun 25 21:54:34 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46209
46210	* parse.y (primary): make functional-style not operator to act
46211	  like function.  see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>.
46212
46213Wed Jun 25 15:28:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46214
46215	* array.c (rb_ary_fill): not depend on unspecified behavior at integer
46216	  overflow.  reported by Vincenzo Iozzo <snagg AT openssl.it>.
46217
46218Wed Jun 25 13:42:44 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46219
46220	* lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.
46221
46222	* lib/erb.rb (ERB::Compiler#compile): fix for broken input.
46223
46224Wed Jun 25 12:10:01 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46225
46226	* lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.
46227
46228Wed Jun 25 09:31:11 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46229
46230	* lib/erb.rb (ERB::Compiler#compile): output magic comment.
46231
46232Tue Jun 24 22:14:36 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46233
46234	* vm_eval.c (eval_string_with_cref): preserve parse_in_eval even if
46235	  exception raised.
46236
46237Tue Jun 24 22:09:18 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
46238
46239	* ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
46240	  [ruby-bugs-20792]
46241
46242Tue Jun 24 17:20:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46243
46244	* configure.in (rb_cv_fork_with_pthread): check after check for
46245	  pthread library, and define the macro when checked only.
46246
46247Tue Jun 24 17:04:39 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46248
46249	* ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
46250
46251Tue Jun 24 16:51:51 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46252
46253	* io.c (io_reopen): remove cygwin handling because it seems to be for
46254	  C's stdio.
46255	  fixed [ruby-dev:35183]
46256
46257Tue Jun 24 11:12:33 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46258
46259	* include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now support
46260	  getppid() on win32 (but only Win2k or later).
46261
46262	* process.c (get_ppid): remove win32 special logic.
46263
46264Tue Jun 24 09:40:47 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46265
46266	* ext/socket/socket.c (init_sock): socket is binmode on platforms
46267	  which support binmode.
46268
46269Tue Jun 24 00:21:53 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46270
46271	* compile.c (iseq_build_from_ary): initialize arg_opts, a patch from
46272	  Adam Strzelecki <ono at java.pl> in [ruby-core:17220].
46273
46274Tue Jun 24 00:10:53 2008  wanabe  <s.wanabe@gmail.com>
46275
46276	* compile.c (iseq_build_from_ary): fix expression to obtain
46277	  iseq->local_size and iseq->local_table_size.  [ruby-dev:35205]
46278
46279Mon Jun 23 11:31:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46280
46281	* lib/mathn.rb (Rational::power2): removed incomplete method.
46282	  see [ruby-dev:35195].   [ruby-core:17293]
46283
46284Sun Jun 22 14:16:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46285
46286	* ext/readline/extconf.rb (have_readline_func): readline on Mac OS X
46287	  needs headers to detect some functions.
46288
46289Sun Jun 22 09:51:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46290
46291	* object.c (rb_class_superclass): rdoc improvement, a patch from
46292	  Gaston Ramos <ramos.gaston AT gmail.com> in [ruby-core:17371].
46293
46294Sun Jun 22 09:22:32 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
46295
46296	* README.EXT: translated README.EXT.ja
46297
46298Sun Jun 22 00:42:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46299
46300	* win32/win32.c (rb_w32_osid, rb_w32_osver, CreateChild): XP is
46301	  is different from Vista about pipe handle inheritance.
46302	  fixed [ruby-core:17367], reported by Lars Christensen <larsch at
46303	  belunktum.dk>
46304
46305Sun Jun 22 00:38:45 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46306
46307	* README.EXT.ja: add note about mark and free.
46308
46309Sun Jun 22 00:01:36 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46310
46311	* io.c (rb_io_binmode_p, argf_binmode_p, Init_IO): new method
46312	  IO#binmode? and ARGF.binmode?  [ruby-dev:35148]
46313
46314Sat Jun 21 17:33:50 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46315
46316	* win32/win32.c (rb_w32_spawn): no longer support P_WAIT.
46317
46318Sat Jun 21 16:46:09 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46319
46320	* thread_win32.c (native_sleep): must block reentrance when accessing
46321	  th->unblock.
46322	  fixed [ruby-core:17341], reported by Bill Kelly <billk at cts.com>
46323
46324Sat Jun 21 16:29:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46325
46326	* parse.y (call_args2, open_args): removed.
46327
46328	* parse.y (parser_yylex): unified warnings at space between method
46329	  name and argument parenthesis.  [ruby-dev:33943]
46330
46331Sat Jun 21 16:21:07 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46332
46333	* numeric.c (flo_round): get rid of overflow.
46334
46335Sat Jun 21 15:57:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46336
46337	* lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
46338	  magic comment.
46339
46340Sat Jun 21 15:54:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46341
46342	* configure.in: check if fork works with pthread.
46343
46344Sat Jun 21 15:31:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46345
46346	* tool/make-snapshot: ported to ruby.
46347
46348	* tool/make-snapshot: fixed digests.
46349
46350Sat Jun 21 04:36:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46351
46352	* ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi):
46353	  typo fixed (raize -> raise).  [ruby-list:45101]
46354
46355	* enumerator.c (enum_each_cons): typo in RDoc fixed.
46356
46357Sat Jun 21 00:45:34 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
46358
46359	* tool/make-snapshot: do not use sha256sum; use BASERUBY instead
46360
46361	* common.mk (dist): use tool/make-snapshot instead
46362
46363Fri Jun 20 16:34:14 2008  Tanaka Akira  <akr@fsij.org>
46364
46365	* process.c (Init_process): Process::Status#to_int removed.
46366	  (PST2INT): defined.
46367	  (pst_to_s): use PST2INT.
46368	  (pst_inspect): ditto.
46369	  (pst_equal): ditto.
46370	  (pst_bitand): ditto.
46371	  (pst_rshift): ditto.
46372	  (pst_wifstopped): ditto.
46373	  (pst_wstopsig): ditto.
46374	  (pst_wifsignaled): ditto.
46375	  (pst_wtermsig): ditto.
46376	  (pst_wifexited): ditto.
46377	  (pst_wexitstatus): ditto.
46378	  (pst_success_p): ditto.
46379	  (pst_wcoredump): ditto.
46380	  (rb_f_system): ditto.
46381
46382Fri Jun 20 15:40:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46383
46384	* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
46385	  behavior at integer overflow.
46386
46387	* string.c (str_buf_cat): ditto.
46388
46389Fri Jun 20 12:39:55 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46390
46391	* process.c (rb_detach_process): store detached process ID in the
46392	  thread local storage.  moved from lib/open3.rb.
46393
46394Fri Jun 20 11:57:46 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46395
46396	* string.c (rb_str_sub_bang): should preserve replacement points
46397	  since they may be altered in the yielded block.
46398
46399Fri Jun 20 11:07:56 2008  Tanaka Akira  <akr@fsij.org>
46400
46401	* string.c (rb_memhash): randomize hash to avoid algorithmic
46402	  complexity attacks.
46403	  (rb_str_hash): use rb_memhash.
46404
46405	* include/ruby/intern.h (rb_reset_random_seed): declared.
46406
46407	* thread.c (rb_thread_atfork): call rb_reset_random_seed.
46408
46409	* inits.c (rb_call_inits): call Init_RandomSeed at first.
46410
46411	* random.c (seed_initialized): defined.
46412	  (fill_random_seed): extracted from random_seed.
46413	  (make_seed_value): extracted from random_seed.
46414	  (rb_f_rand): initialize random seed at first.
46415	  (initial_seed): defined.
46416	  (Init_RandomSeed): defined.
46417	  (Init_RandomSeed2): defined.
46418	  (rb_reset_random_seed): defined.
46419	  (Init_Random): call Init_RandomSeed2.
46420
46421Wed Jun 18 21:52:38 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
46422
46423	* array.c (ary_new, rb_ary_initialize, rb_ary_store,
46424	  rb_ary_splice, rb_ary_times): integer overflows should be
46425	  checked. based on patches from Drew Yao <ayao at apple.com>
46426	  fixed CVE-2008-2726
46427
46428	* string.c (rb_enc_cr_str_buf_cat): fixed unsafe use of alloca,
46429	  which led memory corruption. based on a patch from Drew Yao
46430	  <ayao at apple.com> fixed CVE-2008-2726
46431
46432Fri Jun 20 03:26:00 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46433
46434	* process.c (rb_f_fork): NetBSD 4.0 or later can fork.
46435
46436Fri Jun 20 03:19:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46437
46438	* test/testunit/collector/test_dir.rb: r15825 made it unnecessary to
46439	  change String to Symbol.
46440
46441	* test/testunit/collector/test_objectspace.rb: ditto.
46442
46443Fri Jun 20 03:14:31 2008  Eric Hodel  <drbrain@segment7.net>
46444
46445	* lib/rubygems*, test/rubygems/*:  Update to RubyGems 1.1.1 r1784 (pre
46446	  1.2).
46447
46448Fri Jun 20 03:01:59 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46449
46450	* thread.c: try to remove false positive of deadlock detection (second
46451	  trial).
46452
46453Fri Jun 20 02:16:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46454
46455	* lib/mathn.rb (Rational::power2): typo fixed.  [ruby-core:17293]
46456
46457Fri Jun 20 02:11:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46458
46459	* string.c (str_gsub): should preserve last successful match
46460	  data.  [ruby-dev:35182]
46461
46462Fri Jun 20 01:07:28 2008  Koichi Sasada  <ko1@atdot.net>
46463
46464	* KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.
46465
46466Fri Jun 20 00:40:08 2008  Koichi Sasada  <ko1@atdot.net>
46467
46468	* proc.c (proc_new): fix to return Proc object if block is already
46469	  in heap.  [ruby-core:15711]
46470
46471	* bootstraptest/test_proc.rb: add a test.
46472
46473Fri Jun 20 00:18:04 2008  Koichi Sasada  <ko1@atdot.net>
46474
46475	* thread_win32.c (native_sleep): fix to decrement sleeper count.
46476
46477Thu Jun 19 23:48:45 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46478
46479	* test/net/http/test_http.rb: compare encodings of two strings before
46480	  comparing themself, which suppress too big error output.
46481
46482Thu Jun 19 23:46:35 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46483
46484	* ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSON
46485	  text SHALL be encoded in Unicode.
46486
46487Thu Jun 19 23:17:56 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46488
46489	* thread.c, thread_win32.c, vm_core.h: try to remove false positive of
46490	  deadlock detection.
46491
46492Thu Jun 19 21:38:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46493
46494	* ext/extmk.rb (extmake): check if compile before showing message.
46495
46496Thu Jun 19 21:35:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46497
46498	* tool/make-snapshot: supported multiple snapshots.
46499
46500Thu Jun 19 20:37:00 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
46501
46502	* lib/net/pop.rb (Net::POP3#set_all_uids): speed
46503	  up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047]
46504
46505Thu Jun 19 17:44:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46506
46507	* ext/etc/etc.c (Init_etc): define constant aliases Etc::Passwd
46508	  and Etc::Group.  [ruby-dev:35150]
46509
46510Thu Jun 19 17:37:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46511
46512	* string.c (str_alloc): specify 'inline' modifier.
46513
46514	* string.c (str_alloc): remove cSymbol hack that no longer
46515	  necessary.
46516
46517	* string.c (scan_once): avoid retrieving encoding info unless
46518	  necessary.
46519
46520Thu Jun 19 17:19:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46521
46522	* string.c (rb_str_scan): String#scan should preserve last
46523	  successful match data.  [ruby-dev:35106]
46524
46525Thu Jun 19 16:49:36 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46526
46527	* missing/acosh.c (atanh): should set ERANGE to errno if parameter
46528	  is the boundary case. fixed [ruby-dev:35155]
46529
46530Thu Jun 19 16:06:01 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
46531
46532	* ext/tk/lib/tkextlib/tile/treeview.rb: cannot configure tags.
46533
46534Thu Jun 19 11:48:33 2008  Koichi Sasada  <ko1@atdot.net>
46535
46536	* test/ruby/test_enumerator.rb: fix to skip "with_memo" test.
46537
46538Thu Jun 19 11:40:55 2008  Koichi Sasada  <ko1@atdot.net>
46539
46540	* vm_insnhelper.c (vm_throw): fix "return" process from "lambda".
46541
46542	* bootstraptest/test_proc.rb: add a test.
46543
46544	* bootstraptest/pending.rb: add a pending bug.
46545
46546Thu Jun 19 00:33:40 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46547
46548	* test/etc/test_etc.rb: avoid infinite loop.  [ruby-dev:35158]
46549
46550Wed Jun 18 23:07:19 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
46551
46552	* gc.c (rb_newobj): prohibit call of rb_newobj() during gc.
46553	  a patch from Sylvain Joyeux in [ruby-core:12099].
46554
46555Wed Jun 18 21:08:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46556
46557	* ruby.c (verbose_setter, opt_W_getter): fixed prototypes.
46558
46559Wed Jun 18 19:20:00 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46560
46561	* ruby.c (opt_W_getter): use ruby_verbose directly instead of parameter
46562	  because ruby_verbose is not a real variable, so the address of
46563	  parameter is not collect.
46564
46565Wed Jun 18 18:31:03 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46566
46567	* win32/win32.c (errmap): add some pipe errors.
46568
46569	* win32/win32.c (rb_w32_write): set errno when CRT's errno is EINVAL
46570	  for pipe errors.
46571
46572Wed Jun 18 18:09:08 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46573
46574	* win32/win32.c (poll_child_status): set EINVAL to errno when
46575	  GetExitCodeProcess() fails with ERROR_INVALID_HANDLE.
46576
46577Wed Jun 18 15:01:18 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46578
46579	* io.c (rb_open_file): fs_encoding and fname_encoding is
46580	  rb_encoding *.
46581	  fixed [ruby-dev:35151]
46582
46583Wed Jun 18 14:30:06 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46584
46585	* io.c (rb_open_file): not rb_enc_get_index but rb_enc_get.
46586
46587Wed Jun 18 13:49:58 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46588
46589	* include/ruby/win32.h (pipe): now pipe is textmode. although this
46590	  change is experimental, it will be spec if no compatibility problem
46591	  is reported.
46592
46593Wed Jun 18 12:05:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46594
46595	* marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
46596	  public methods only.  [ruby-core:17283]
46597
46598	* object.c (convert_type): ditto.
46599
46600	* lib/singleton.rb (Singleton#_dump): conversion method should be
46601	  public.
46602
46603Wed Jun 18 10:18:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46604
46605	* ext/etc/etc.c (etc_passwd, etc_group): fixed rdoc.  a patch from
46606	  okkez <okkez000 AT gmail.com> in [ruby-dev:35141].
46607
46608Wed Jun 18 08:58:16 2008  Eric Hodel  <drbrain@segment7.net>
46609
46610	* lib/rubygems/*:  Fix errors for 1.9.
46611
46612	* gem_prelude.rb:  Only remove methods from gem_prelude.rb when
46613	  loading real RubyGems.
46614
46615Wed Jun 18 07:03:30 2008  Eric Hodel  <drbrain@egment7.net>
46616
46617	* lib/rubygems/*:  Update to RubyGems r1778 (pre 1.2).
46618
46619Wed Jun 18 04:27:58 2008  Koichi Sasada  <ko1@atdot.net>
46620
46621	* KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.
46622
46623Wed Jun 18 04:24:20 2008  Koichi Sasada  <ko1@atdot.net>
46624
46625	* vm.c, vm_insnhelper.c: fix escape process with "break" and "return"
46626	  syntax in "lambda".  [ ruby-Bugs-19304 ], [ruby-core:17164]
46627
46628	* KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test.
46629
46630Wed Jun 18 01:51:10 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
46631
46632	* ext/tk/lib/multi-tk.rb: cannot access class variable from
46633	  singleton method.
46634
46635Wed Jun 18 00:03:33 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46636
46637	* dir.c (Init_Dir): dir_foreach() takes variable argument.
46638
46639Tue Jun 17 23:04:24 2008  James Edward Gray II  <jeg2@ruby-lang.org>
46640
46641	* lib/net/telnet.rb:  Fixing Telnet#wairfor() which was broken by
46642	  changes to the Kernel::Integer() method.  [ruby-core:17272]
46643
46644Tue Jun 17 23:02:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46645
46646	* ruby.c (opt_W_getter): made a hooked variable.
46647
46648Tue Jun 17 22:04:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46649
46650	* enc/euc_jp.c (property_name_to_ctype): core dumped when sizeof(int)
46651	  differs from sizeof(long).  [ruby-dev:35131]
46652
46653	* enc/shift_jis.c (property_name_to_ctype): ditto.
46654
46655	* enc/unicode.c (onigenc_unicode_property_name_to_ctype): ditto.
46656
46657Tue Jun 17 20:32:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46658
46659	* common.mk (miniruby$(EXEEXT)): $(PREP) isn't always same as
46660	  miniruby, and tests, debug, etc have no meaning when
46661	  cross-compiling.
46662
46663Tue Jun 17 18:39:11 2008  Ryan Davis  <ryand-ruby@zenspider.com>
46664
46665	* common.mk: fixed dependencies on miniruby.
46666
46667Tue Jun 17 18:11:01 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46668
46669	* include/ruby/win32.h (pipe): expand pipe buffer size.
46670
46671Tue Jun 17 17:07:35 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46672
46673	* win32/win32.c (CreateChild): no need to inherit handles here because
46674	  spawn'ed child cannot detect that STDIN is closed.
46675
46676Tue Jun 17 06:32:55 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46677
46678	* dir.c (dir_data): add intenc and extenc.
46679
46680	* dir.c (dir_s_alloc): ditto.
46681
46682	* dir.c (dir_initialize): now accept internal_encoding and
46683	  external_encoding.
46684
46685	* dir.c (dir_s_open): changed for dir_initialize.
46686
46687	* dir.c (dir_open_dir): ditto.
46688
46689	* dir.c (dir_foreach): changed for dir_open_dir.
46690
46691	* dir.c (dir_entries): changed for dir_open_dir.
46692
46693	* dir.c (dir_enc_str): defined.
46694
46695	* dir.c (dir_path): use dir_enc_str.
46696
46697	* dir.c (dir_read): ditto.
46698
46699	* dir.c (dir_each): ditto.
46700
46701Tue Jun 17 06:28:57 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46702
46703	* io.c (io_set_encoding): defined.
46704
46705	* io.c (rb_open_file): convert path on Windows and Mac OS X.
46706
46707	* io.c (open_key_args): use io_set_encoding and now accept
46708	  internal_encoding and external_encoding.
46709
46710Tue Jun 17 06:26:28 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46711
46712	* encoding.c (rb_filesystem_encoding): defined.
46713
46714	* include/ruby/encoding.h (rb_filesystem_encoding): added.
46715
46716Tue Jun 17 06:24:28 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46717
46718	* ext/syck/rubyext.c: add encoding header.
46719
46720Tue Jun 17 01:52:50 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
46721
46722	* ext/tk/tcltklib.c: SEGV when exit.
46723
46724	* ext/tk/lib/tk.rb: add a check for safety to Tk.exit.
46725
46726	* ext/tk/sample/irbtkw.rbw: freezes when receives SIGINT.
46727
46728Mon Jun 16 21:58:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46729
46730	* ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
46731	  IO#readlines do not affect $_.  [ruby-core:17277]
46732
46733Mon Jun 16 18:52:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46734
46735	* lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer has
46736	  extend_to method.  [ruby-core:17267]
46737
46738Mon Jun 16 14:46:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46739
46740	* lib/e2mmap.rb (E2MM.def_e2message): typo.
46741
46742Mon Jun 16 09:43:27 2008  Akinori MUSHA  <knu@iDaemons.org>
46743
46744	* enumerator.c (enumerator_with_object, Init_Enumerator):
46745	  Temporarily back out with_memo, for which we need a better name.
46746
46747Mon Jun 16 07:14:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46748
46749	* ext/stringio/stringio.c (strio_readline, strio_each)
46750	  (strio_readlines): set lastline.  [ruby-core:17257]
46751
46752Mon Jun 16 01:49:39 2008  Koichi Sasada  <ko1@atdot.net>
46753
46754	* eval.c (rb_f_block_given_p): fix to skip class frame.
46755	  [ruby-core:14813]
46756
46757	* KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test.
46758
46759Mon Jun 16 01:48:08 2008  Koichi Sasada  <ko1@atdot.net>
46760
46761	* vm_dump.c (vm_stack_dump_raw): disable verbose debug output.
46762
46763Mon Jun 16 01:33:08 2008  Koichi Sasada  <ko1@atdot.net>
46764
46765	* vm_core.h, thread.c: rename global_interpreter_lock to
46766	  global_vm_lock.
46767
46768Sun Jun 15 18:40:35 2008  NARUSE, Yui  <naruse@ruby-lang.org>
46769
46770	* ext/syck/rubyext.c (yaml_org_handler): associate encoding.
46771
46772	* ext/syck/rubyext.c (syck_genericresolver_node_import): ditto.
46773
46774Sun Jun 15 18:17:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46775
46776	* vm_core.h (rb_vm_t), vm.c (rb_vm_mark): moved preallocated special
46777	  exceptions.
46778
46779	* eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
46780	  preallocated special exceptions.
46781
46782	* eval.c (rb_longjmp): duplicate the thrown exception to set backtrace
46783	  if it was frozen.
46784
46785	* gc.c (rb_memerror): raise nomem_error without backtrace if failed to
46786	  make backtrace.
46787
46788Sat Jun 14 22:52:35 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46789
46790	* ext/stringio/stringio.c (strio_sysread): should not raise at empty
46791	  read.  a patch from Arthur Schreiber at [ruby-core:17245].
46792
46793Sat Jun 14 16:55:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46794
46795	* file.c (file_expand_path): no need to expand root path which has no
46796	  short file name.  [ruby-dev:35095]
46797
46798Sat Jun 14 11:59:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46799
46800	* gc.h (STACK_UPPER): moved from gc.c
46801
46802	* thread.c, thread_{pthread,win32}.c (ruby_init_stack,
46803	  ruby_thread_init_stack): moved stack initialization from gc.c.
46804
46805Sat Jun 14 11:57:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46806
46807	* gc.h (STACK_UPPER): moved from gc.c
46808
46809	* thread.c, thread_{pthread,win32}.c (ruby_init_stack,
46810	  ruby_thread_init_stack): moved stack initialization from gc.c.
46811
46812Sat Jun 14 07:52:53 2008  Tanaka Akira  <akr@fsij.org>
46813
46814	* gc.c (ruby_initial_gc_stress): defined.
46815	  (ruby_initial_gc_stress_ptr): defined.
46816
46817	* debug.c (set_debug_option): use ruby_initial_gc_stress_ptr for
46818	  gc_stress option.
46819
46820Sat Jun 14 00:09:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46821
46822	* gc.c (ruby_gc_stress): moved to rb_objspace_t.
46823
46824	* gc.c (gc_stress_get, gc_stress_set): VM local attribute.
46825
46826	* signal.c (sigsegv): ditto.
46827
46828Fri Jun 13 21:55:48 2008  Tadayoshi Funaba  <tadf@dotrb.org>
46829
46830	* rational.c (nurat_equal_p): Rational(0,x) and 0 are equivalent,
46831	  anyway.
46832
46833Fri Jun 13 21:26:39 2008  Tadayoshi Funaba  <tadf@dotrb.org>
46834
46835	* complex.c (string_to_c, nucomp_s_convert): preserve the current
46836	  backref.
46837
46838	* rational.c (string_to_r, nurat_s_convert): ditto.
46839
46840	* include/ruby/intern.h (rb_match_busy): added a declaration.
46841
46842Fri Jun 13 18:08:10 2008  Tanaka Akira  <akr@fsij.org>
46843
46844	* lib/time.rb (Time.xmlschema): don't accept decimal dot without
46845	  fractional digits.  fractional digits handling simplified.
46846
46847Fri Jun 13 17:20:40 2008  wanabe  <s.wanabe@gmail.com>
46848
46849	* complex.c (string_to_c_internal): save and restore backref.
46850	  fixed [ruby-dev:34991]
46851
46852Fri Jun 13 17:06:20 2008  wanabe  <s.wanabe@gmail.com>
46853
46854	* rational.c (string_to_r_internal): save and restore backref.
46855	  fixed [ruby-dev:34990]
46856
46857Fri Jun 13 14:41:26 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46858
46859	* README.EXT.ja: update about Fixnum. reported in
46860	   <http://www.tmtm.org/ja/tdiary/?date=20080611#p01>
46861
46862	* README.EXT.ja: describe about StringValueCStr().
46863
46864	* README.EXT: ditto.
46865
46866Fri Jun 13 14:24:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46867
46868	* gc.c (rb_memerror): exit with EXIT_FAILURE instead of magic number.
46869
46870	* gc.c (ruby_stack_check): STACK_LENGTH should be less than
46871	  STACK_LEVEL_MAX.
46872
46873Fri Jun 13 12:55:37 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46874
46875	* enum.c (sort_by_i): use NODE_DOT2 instead of NODE_MEMO to avoid
46876	  extra calls to is_pointer_to_heap() in GC.
46877
46878	* enum.c (enum_zip): ditto.
46879
46880Fri Jun 13 00:41:58 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46881
46882	* test/ruby/test_thread.rb: add a test.
46883
46884Thu Jun 12 23:30:11 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46885
46886	* thread.c (mutex_unlock): fix cond_notified consistency.
46887
46888Thu Jun 12 22:19:45 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46889
46890	* thread_win32.c (native_sleep): fixed previous commit.
46891
46892Thu Jun 12 21:59:17 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46893
46894	* thread.c, vm_core.h, vm.c, thread_pthread.c, thread_win32.c: add
46895	  deadlock detection.  [ruby-dev:35044]
46896
46897	* bootstraptest/test_thread.rb: add tests for above.
46898
46899Thu Jun 12 21:39:55 2008  Tadayoshi Funaba  <tadf@dotrb.org>
46900
46901	* complex.c: refactoring.
46902
46903	* rational.c: ditto.
46904
46905Thu Jun 12 17:11:24 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46906
46907	* regint.h: undefine USE_CAPTURE_HISTORY which is mentioned as
46908	  unsupported in the Onigiruma document.
46909
46910Thu Jun 12 13:36:54 2008  Tanaka Akira  <akr@fsij.org>
46911
46912	* include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for
46913	  constant symbols to optimize strlen.
46914
46915Thu Jun 12 08:47:51 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46916
46917	* io.c (read_all): should use io_read_encoding(), not
46918	  io_input_encoding().
46919
46920	* io.c (rb_io_getline_1): reduce calling of io_read_encoding().
46921
46922	* string.c (rb_str_scan): need not to restore $~ value, so avoid
46923	  pinning match object.
46924
46925Thu Jun 12 02:49:40 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46926
46927	* ext/stringio/stringio.c (strio_init): rewind when reopened.
46928
46929Thu Jun 12 02:43:27 2008  Yusuke Endoh  <mame@tsg.ne.jp>
46930
46931	* array.c (rb_ary_zip): ANSI style.
46932
46933Thu Jun 12 02:25:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46934
46935	* io.c (rb_io_reopen): clear read buffer.
46936
46937Thu Jun 12 00:56:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
46938
46939	* ext/tk: check proper conditions.  [ruby-dev:35047]
46940
46941Wed Jun 11 23:33:13 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
46942
46943	* io.c (io_fread): bypass buffered read if reading buffer is empty.
46944
46945	* io.c (remain_size): do not add extra one byte.
46946
46947Wed Jun 11 12:15:17 2008  Tanaka Akira  <akr@fsij.org>
46948
46949	* bootstraptest/runner.rb (assert_normal_exit): hide stderr output
46950	  when success.
46951
46952Wed Jun 11 09:26:43 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
46953
46954	* common.mk (encs): need to pass miniruby path for windows.
46955
46956Wed Jun 11 05:53:20 2008  Koichi Sasada  <ko1@atdot.net>
46957
46958	* vm.c, eval_intern.h (PASS_PASSED_BLOCK):
46959	  set a VM_FRAME_FLAG_PASSED flag to skip this frame when
46960	  searching ruby-level-cfp.
46961
46962	* eval.c, eval_intern.h, proc.c: fix to check cfp.  if there is
46963	  no valid ruby-level-cfp, cause RuntimeError exception.
46964	  [ruby-dev:34128]
46965
46966	* vm_core.h, vm_evalbody.c, vm.c, vm_dump.c, vm_insnhelper.c,
46967	  insns.def: rename FRAME_MAGIC_* to VM_FRAME_MAGIC_*.
46968
46969	* KNOWNBUGS.rb, bootstraptest/test*.rb: move solved bugs.
46970
46971Wed Jun 11 05:55:31 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
46972
46973	* ext/tk/tcltklib.c: SEGV when tcltk-stubs is enabled.
46974
46975	* ext/tk/tcltklib.c: avoid error on a shared object.
46976
46977	* ext/tk/extconf.rb: support --with-tcltkversion
46978
46979	* ext/tk/README.tcltklib: add document about --with-tcltkversion
46980
46981	* ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb, ext/tk/lib/remote-tk.rb:
46982	  not work on $SAFE==4
46983
46984	* ext/tk/lib/multi-tk.rb: Object#methods returns Symbols on Ruby1.9.
46985
46986	* ext/tk/lib/tk/timer.rb: add TkTimer#at_end(proc) to register the
46987	  procedure which called at end of the timer.
46988
46989	* ext/tk/lib/tk.rb, ext/tk/lib/tk/itemfont.rb, ext/tk/lib/font.rb:
46990	  support __IGNORE_UNKNOWN_CONFIGURE_OPTION__ about font options.
46991
46992	* ext/tk/lib/*: treat __IGNORE_UNKNOWN_CONFIGURE_OPTION__
46993
46994	* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb,
46995	  ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb,
46996	  ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: bug fix.
46997
46998	* ext/tk/lib/tk/text.rb: typo. call a wrong method.
46999
47000	* ext/tk/lib/tk/itemconfig.rb: ditto.
47001
47002	* ext/tk/lib/tk.rb, ext/tk/lib/tk/itemconfig.rb,
47003	  ext/tk/lib/tk/canvas.rb: support alias names of option keys.
47004
47005	* ext/tk/lib/tk/grid.rb: lack of module-method definitions.
47006
47007	* ext/tk/lib/tk/pack.rb, ext/tk/lib/tk/grid.rb: increase supported
47008	  parameter patterns of configure method.
47009
47010	* ext/tk/lib/tk.rb: add TkWindow#grid_anchor, grid_column, grid_row.
47011
47012	* ext/tk/lib/tk/wm.rb: methods of Tk::Wm_for_General module cannot
47013	  pass the given block to methods of Tk::Wm module.
47014
47015	* ext/tk/lib/tk/wm.rb: Wm#overrideredirect overwrites argument to
47016	  an invalid value.
47017
47018	* ext/tk/lib/tk.rb: fix memory (object) leak bug.
47019
47020	* ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: fix memory leak.
47021
47022	* ext/tk/sample/demos-jp/aniwave.rb, ext/tk/sample/demos-en/aniwave.rb:
47023	  bug fix.
47024
47025	* ext/tk/lib/tkextlib/blt/component.rb,
47026	  ext/tk/lib/tkextlib/tile/tentry.rb,
47027	  ext/tk/lib/tkextlib/tile/treeview.rb: ditto.
47028
47029	* ext/tk/lib/tkextlib/tile/tpaned.rb: improve TPaned#add.
47030
47031	* ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget,
47032	  ext/tk/sample/demos-jp/style.rb, ext/tk/sample/demos-en/style.rb,
47033	  ext/tk/sample/demos-jp/bind.rb, ext/tk/sample/demos-en/bind.rb:
47034	  bug fix.
47035
47036	* ext/tk/sample/ttk_wrapper.rb: ditto.
47037
47038	* ext/tk/sample/ttk_wrapper.rb: support "if __FILE__ == $0" idiom.
47039
47040	* ext/tk/sample/tktextio.rb: add binding for 'Ctrl-u' at console mode.
47041
47042	* ext/tk/lib/tkextlib/tile.rb, ext/tk/lib/tkextlib/tile/style.rb,
47043	  ext/tk/sample/ttk_wrapper.rb: improve treating and control themes.
47044	  add Tk::Tile.themes and Tk::Tile.set_theme(theme).
47045
47046	* ext/tk/lib/tkextlib/tile.rb: lack of autoload definitions.
47047
47048	* ext/tk/lib/tkextlib/tile/tnotebook.rb: cannot use kanji (not UTF-8)
47049	  characters for headings.
47050
47051	* ext/tk/lib/tkextlib/tkDND/shape.rb: wrong package name.
47052
47053	* ext/tk/tkutil/tkutil.c: improve handling callback-subst-keys.
47054	  Now, support longnam-keys (e.g. '%CTT' on tkdnd-2.0; however, still
47055	  not support tkdnd-2.0 on tkextlib), and symbols of parameters (e.g.
47056	  :widget=>'%W', :keycode=>'%k', '%x'=>:x, '%X'=>:root_x, and so on;
47057	  those are attributes of event object). It means that Ruby/Tk accepts
47058	  not only "widget.bind(ev, '%W', '%k', ...){|w, k, ...| ... }", but
47059	  also "widget.bind(ev, :widget, :keycode, ...){|w, k, ...| ... }".
47060	  It is potentially incompatible, when user passes symbols to the
47061	  arguments of the callback block (the block receives the symbols as
47062	  strings). I think that is very rare case (probably, used by Ruby/Tk
47063	  experts only). When causes such trouble, please give strings instead
47064	  of such symbol parameters (e.g. call Symbol#to_s method).
47065
47066	* ext/tk/lib/tk/event.rb, ext/tk/lib/tk/validation.rb,
47067	  ext/tk/lib/tkextlib/blt/treeview.rb,
47068	  ext/tk/lib/tkextlib/winico/winico.rb: ditto.
47069
47070	* ext/tk/tkutil/tkutil.c: strings are available on subst_tables on
47071	  TkUtil::CallbackSubst class (it is useful on Ruby 1.9).
47072
47073	* ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tkextlib/iwidgets/hierarchy.rb,
47074	  ext/tk/lib/tkextlib/iwidgets/spinner.rb,
47075	  ext/tk/lib/tkextlib/iwidgets/entryfield.rb,
47076	  ext/tk/lib/tkextlib/iwidgets/calendar.rb,
47077	  ext/tk/lib/tkextlib/blt/dragdrop.rb,
47078	  ext/tk/lib/tkextlib/tkDND/tkdnd.rb,
47079	  ext/tk/lib/tkextlib/treectrl/tktreectrl.rb,
47080	  ext/tk/lib/tkextlib/tktable/tktable.rb: disable code piece became
47081	  unnecessary by reason of the changes of ext/tk/tkutil/tkutil.c.
47082
47083	* ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb: change strategy to define
47084	  the constant WITH_ENCODING.
47085
47086	* ext/tk/lib/tk.rb: fix bug on Tk::Encoding.tk_encoding_names.
47087
47088Wed Jun 11 03:40:37 2008  Akinori MUSHA  <knu@iDaemons.org>
47089
47090	* lib/find.rb (Find#find): Return an enumerator if no block is
47091	  given.
47092
47093Wed Jun 11 01:28:12 2008  Koichi Sasada  <ko1@atdot.net>
47094
47095	* include/ruby/intern.h, proc.c: revert rb_proc_call() and
47096	  create rb_proc_call_with_block() instead.
47097
47098	* include/ruby/ruby.h, eval_jump.c, thread.c, vm_insnhelper.c:
47099	  rb_blockptr should not be exposed.
47100
47101Tue Jun 10 21:07:19 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
47102
47103	* test/ruby/test_float.rb: add tests. [ruby-dev:35009]
47104
47105Tue Jun 10 20:55:57 2008  Tadayoshi Funaba  <tadf@dotrb.org>
47106
47107	* complex.c (nucomp_s_convert): need not to initialize optional
47108	  argument for rb_scan_args().
47109
47110Tue Jun 10 20:13:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47111
47112	* ext/extmk.rb: negate default of --without-ext if --with-ext is
47113	  given.
47114
47115	* ext/extmk.rb: negate default of --without-ext.
47116
47117Tue Jun 10 17:43:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47118
47119	* array.c (rb_ary_shuffle_bang): update RDoc.  [ruby-dev:35034]
47120
47121Tue Jun 10 17:30:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47122
47123	* include/ruby/intern.h (rb_obj_instance_exec, rb_mod_module_exec):
47124	  added prototypes.
47125
47126Tue Jun 10 17:00:29 2008  wanabe  <s.wanabe@gmail.com>
47127
47128	* util.c (ruby_strtod): ruby_strtod don't allow a trailing
47129	  decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
47130
47131Tue Jun 10 13:48:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47132
47133	* rational.c (nurat_s_convert): need not to initialize optional
47134	  argument for rb_scan_args().
47135
47136Tue Jun 10 12:58:07 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47137
47138	* ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.
47139
47140Tue Jun 10 12:43:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47141
47142	* include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression.
47143
47144Tue Jun 10 11:25:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47145
47146	* ruby.c (rb_argv0): revised for ext/tk.
47147
47148	* include/ruby/encoding.h: not to use varargs.h since requiring C89.
47149
47150Tue Jun 10 00:50:51 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47151
47152	* include/ruby/ruby.h, vm_core.h: add a type rb_blockptr.
47153
47154	* vm_insnhelper.c (vm_yield_with_cfunc): vm_yield_with_cfunc receives
47155	  blockptr and passes it to iterating block.
47156
47157	* proc.c (rb_proc_call), include/ruby/intern.h: rb_proc_call receives
47158	  blockptr.  "rb_proc_call(self, args, blockptr)" in C corresponds to
47159	  "self.call(*args, &block)" in Ruby.
47160
47161	* proc.c (proc_call): pass blockptr to block that is written in C.
47162
47163	* proc.c (curry): receive blockptr and pass it to original proc.
47164	  [ruby-core:15551]
47165
47166	* vm.c (invoke_block_from_c): fix for change of vm_yield_with_cfunc.
47167
47168	* thread.c (call_trace_proc), eval_jump.c (rb_call_end_proc): fix for
47169	  change of rb_proc_call.
47170
47171Tue Jun 10 00:10:49 2008  Tanaka Akira  <akr@fsij.org>
47172
47173	* common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb.
47174
47175Mon Jun  9 23:10:50 2008  Tanaka Akira  <akr@fsij.org>
47176
47177	* eval.c (Init_stack): don't declare.  it is a macro now.
47178
47179Mon Jun  9 22:46:47 2008  wanabe  <s.wanabe@gmail.com>
47180
47181	* compile.c : treat []&&= in virtually the same way as []||=.
47182	  [ruby-dev:34679]
47183
47184Mon Jun  9 21:17:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47185
47186	* enc/depend (clean): remove build directories.
47187
47188	* test_knownbug.rb -> KNOWNBUGS.rb: renamed.
47189
47190	* common.mk: apply above change.
47191
47192Mon Jun  9 21:14:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47193
47194	* lib/mkmf.rb (configuration): set flags.
47195
47196Mon Jun  9 21:09:02 2008  Koichi Sasada  <ko1@atdot.net>
47197
47198	* bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved.
47199
47200	* common.mk: add a rule "test-knownbug".
47201
47202Mon Jun  9 21:00:32 2008  Tadayoshi Funaba  <tadf@dotrb.org>
47203
47204	* complex.c (nucomp_s_convert): can accept Complex('i').
47205	  [ruby-dev:34991]
47206
47207Mon Jun  9 18:25:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47208
47209	* include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc.
47210
47211	* *.c: no cache in init functions.
47212
47213Mon Jun  9 17:56:30 2008  Akinori MUSHA  <knu@iDaemons.org>
47214
47215	* lib/set.rb (Set#delete_if): Call to_a.
47216	  (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
47217	  yield elements in sorted order; [ruby-core:17144] by Arthur
47218	  Schreiber.
47219	  (SortedSet#each, SortedSet#each, TC_Set#test_each)
47220	  (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
47221	  Arthur Schreiber.
47222
47223Mon Jun  9 17:47:09 2008  Tanaka Akira  <akr@fsij.org>
47224
47225	* io.c (fptr_finalize): close IO object if fd is already closed.
47226	  (rb_p): call rb_io_write just once.
47227
47228Mon Jun  9 15:37:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47229
47230	* ruby.c (require_libraries): req_list may be NULL.  [ruby-dev:35008]
47231
47232Mon Jun  9 14:18:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47233
47234	* vm_core.h (struct rb_vm_struct): moved src_encoding_index,
47235	  ruby_debug, ruby_verbose, and rb_progname.
47236
47237	* ruby.c (rb_argv0): no longer used.
47238
47239	* ruby.c (struct cmdline_options): moved setids and req_list, and the
47240	  latter is now an array, to prevent memory leak.
47241
47242	* ruby.c (cmdline_options_init): added.
47243
47244	* ruby.c (add_modules, require_libraries, init_ids, forbid_setid): use
47245	  struct cmdline_options.
47246
47247	* vm.c (vm_init2): initialize src_encoding_index.
47248
47249	* vm.c: getters/setters for ruby_{debug,verbose}.
47250
47251Mon Jun  9 09:54:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47252
47253	* include/ruby/intern.h (Init_stack): make to call ruby_init_stack.
47254
47255Mon Jun  9 08:12:40 2008  wanabe  <s.wanabe@gmail.com>
47256
47257	* vm_insnhelper.c, vm.c, proc.c : revert r17021. [ruby-dev:34997]
47258
47259Mon Jun  9 03:12:23 2008  Koichi Sasada  <ko1@atdot.net>
47260
47261	* bootstraptest/pending.rb: move/remove solved issues.
47262
47263	* bootstraptest/test_class.rb: ditto.
47264
47265Mon Jun  9 02:32:58 2008  Akinori MUSHA  <knu@iDaemons.org>
47266
47267	* ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well.
47268	  [ruby-list:45018]
47269
47270Sun Jun  8 22:22:20 2008  wanabe  <s.wanabe@gmail.com>
47271
47272	* vm_insnhelper.c, vm.c, proc.c (proc_call): allow call method with
47273	  block that both is written in C. [ruby-dev:34273] [ruby-core:15551]
47274
47275	*  proc.c (curry): use proc_call instead of rb_proc_call.
47276	  [ruby-dev:34273] [ruby-core:15551]
47277
47278Sun Jun  8 21:50:27 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47279
47280	* test/zlib/test_zlib.rb: add tests to achieve over 90% test coverage
47281	  of zlib.
47282
47283Sun Jun  8 20:12:47 2008  wanabe  <s.wanabe@gmail.com>
47284
47285	* vm_insnhelper.c (vm_throw): regard break as return in lambda.
47286	  [ruby-dev:34646]
47287
47288Sun Jun  8 19:17:59 2008  Koichi Sasada  <ko1@atdot.net>
47289
47290	* gc.c: add a build option "CALC_EXACT_MALLOC_SIZE".
47291	  This option enables to calculate exact size of current
47292	  allocated size by malloc().  You can access these information
47293	  with GC.malloc_allocated_size and GC.malloc_allocations.
47294	  This option consume additional memory as a header of each memory
47295	  object.  This option also helps to find out xmalloc()/xfree()
47296	  consistency.  If you get trouble with this option, some extension
47297	  using "free()" instead of "xfree()".
47298	  This options is disabled by default.
47299
47300Sun Jun  8 18:15:38 2008  Koichi Sasada  <ko1@atdot.net>
47301
47302	* array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,
47303	  enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c,
47304	  io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c,
47305	  string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c,
47306	  vm.c, gc.c:
47307	  allocated memory objects by xmalloc (ruby_xmalloc) should be
47308	  freed by xfree (ruby_xfree).
47309
47310	* ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
47311	  ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c,
47312	  ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c,
47313	  ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c,
47314	  ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c:
47315	  ditto.
47316
47317Sun Jun  8 01:15:11 2008  Tanaka Akira  <akr@fsij.org>
47318
47319	* hash.c (hash_i): make Hash#hash order insensitive.
47320	  (rb_hash_dup): use DUPSETUP.
47321
47322Sat Jun  7 23:47:35 2008  Akinori MUSHA  <knu@iDaemons.org>
47323
47324	* ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up
47325	  initialize_copy; [ruby-list:45016].
47326
47327Sat Jun  7 22:15:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47328
47329	* configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as
47330	  SITE_DIR.  a patch from Richard Brown <rbrown AT exherbo.org> in
47331	  [ruby-core:17129].
47332
47333Sat Jun  7 21:37:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47334
47335	* io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):
47336	  suppress warnings.
47337
47338	* util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa().
47339
47340Sat Jun  7 16:06:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47341
47342	* configure.in (CFLAGS, CXXFLAGS): append default flags.
47343
47344Sat Jun  7 01:23:59 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47345
47346	* io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
47347	  fixed [ruby-dev:34979]
47348
47349Fri Jun  6 23:46:19 2008  Koichi Sasada  <ko1@atdot.net>
47350
47351	* vm_insnhelper.c (vm_callee_setup_arg): check simple flag before
47352	  calling setup_arg function().  this change reduce function call.
47353
47354Fri Jun  6 21:51:46 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47355
47356	* win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.
47357
47358	* ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
47359	  freehostent, freeaddrinfo): undef before define because these are
47360	  macros in some versions of Windows SDK.
47361
47362	  merged from ruby_1_8.
47363
47364Fri Jun  6 18:25:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47365
47366	* test/iconv/utils.rb (default_test): override not to croak.
47367
47368Fri Jun  6 16:41:45 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47369
47370	* include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
47371
47372Fri Jun  6 15:05:02 2008  Tanaka Akira  <akr@fsij.org>
47373
47374	* gc.c (count_objects): clear hash after counting objects.
47375
47376Fri Jun  6 12:43:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47377
47378	* test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted.
47379
47380Fri Jun  6 00:05:33 2008  Tanaka Akira  <akr@fsij.org>
47381
47382	* lib/time.rb (Time.xmlschema): don't use float.  fix
47383	  http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504
47384
47385Thu Jun  5 23:56:18 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47386
47387	* test/ruby/test_gc.rb: add tests to achieve over 90% test coverage of
47388	  gc.c.
47389
47390	* test/ruby/test_objectspace.rb: ditto.
47391
47392	* test/ruby/test_marshal.rb: ditto.
47393
47394Thu Jun  5 23:40:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47395
47396	* gc.c (rb_objspace_alloc): this function is needed only when
47397	  ENABLE_VM_OBJSPACE macro is defined.
47398
47399	* vm.c: ditto.
47400
47401Thu Jun  5 23:31:21 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47402
47403	* test/stringio/test_stringio.rb: add tests to achieve over 95% test
47404	  coverage of stringio.
47405
47406	* test/strscan/test_stringscanner.rb: ditto for strscan.
47407
47408Thu Jun  5 23:25:34 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47409
47410	* eval.c (ruby_finalize_0): clear trace_func after executing END
47411	  procs.
47412
47413	* thread.c: fix typo.
47414
47415Thu Jun  5 22:50:50 2008  Tanaka Akira  <akr@fsij.org>
47416
47417	* gc.c (os_obj_of): heaps may be modified in yield.
47418
47419Thu Jun  5 21:46:50 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47420
47421	* st.c (st_reverse_foreach): comment out unused function.
47422
47423	* util.c (dtoa): ditto.
47424
47425Thu Jun  5 20:30:46 2008  Akinori MUSHA  <knu@iDaemons.org>
47426
47427	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):
47428	  Add a null check for ssl; submitted by akira yamada
47429	  in [ruby-dev:34950].
47430
47431	* ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if
47432	  SSL_OP_NO_TICKET is present; submitted by akira yamada
47433	  in [ruby-dev:34944].
47434
47435	* test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a
47436	  workaround for the case where OpenSSL is configured with
47437	  --enable-tlsext; submitted by akira yamada in [ruby-dev:34944].
47438
47439Thu Jun  5 20:24:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47440
47441	* thread.c (thread_set_trace_func_m): fix check for proc argument.
47442
47443Thu Jun  5 20:17:29 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47444
47445	* lib/rexml/document.rb (REXML::Document:write): leaky modification
47446	  trans -> transitive.  [ruby-dev:32040], r13686
47447
47448	* lib/rexml/text.rb (Text.check): fix check for illegal character.
47449
47450Thu Jun  5 14:03:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47451
47452	* ext/iconv/iconv.c (iconv_create): find encoding without options.
47453
47454Thu Jun  5 07:48:32 2008  Koichi Sasada  <ko1@atdot.net>
47455
47456	* string.c (hash): should be "static".
47457
47458Thu Jun  5 01:47:18 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47459
47460	* test/ruby/test_transcode.rb: add tests for iso-2022-jp.
47461
47462Thu Jun  5 01:27:42 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47463
47464	* test/ruby/test_process.rb: add tests.
47465
47466Wed Jun  4 23:10:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47467
47468	* ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.
47469
47470Wed Jun  4 18:53:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47471
47472	* object.c (rb_obj_alloc): RDoc updated.  a patch from Gaston
47473	  Ramos <ramos.gaston at gmail.com> in [ruby-core:17073].
47474
47475Wed Jun  4 18:36:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47476
47477	* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
47478	  <evanfarrar at gmail.com> in [ruby-doc:1382] applied.
47479
47480Wed Jun  4 17:52:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47481
47482	* ext/iconv/iconv.c (iconv_iconv): fix for length argument and now
47483	  allows range.  [ruby-core:17092]
47484
47485Wed Jun  4 15:45:41 2008  Akinori MUSHA  <knu@iDaemons.org>
47486
47487	* enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
47488	  grammo in rdoc.
47489
47490Wed Jun  4 13:06:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47491
47492	* configure.in (CFLAGS, CXXFLAGS): include additional flags to
47493	  CFLAGS and CXXFLAGS while configuration.
47494
47495Tue Jun  3 23:06:35 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47496
47497	* ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
47498	  document.
47499
47500Tue Jun  3 22:37:26 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47501
47502	* ext/strscan/strscan.c (strscan_exist_p): fix document.
47503
47504Tue Jun  3 22:33:29 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47505
47506	* test/ruby/test_dir.rb: add tests to achieve over 90% test coverage
47507	  of dir.c.
47508
47509	* test/ruby/test_encoding.rb: add tests for dummy?, name_list and
47510	  aliases.
47511
47512	* test/ruby/test_marshal.rb: add some tests.
47513
47514Tue Jun  3 22:25:51 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47515
47516	* test/etc/test_etc.rb: new tests for etc.
47517
47518Tue Jun  3 19:35:02 2008  Akinori MUSHA  <knu@iDaemons.org>
47519
47520	* enumerator.c (enumerator_with_memo): New method: with_memo().
47521
47522Tue Jun  3 20:04:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47523
47524	* win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot be
47525	  written by miniruby itself.
47526
47527Tue Jun  3 19:33:22 2008  Akinori MUSHA  <knu@iDaemons.org>
47528
47529	* enumerator.c (enumerator_init_copy): Take care of
47530	  initialize_copy as well as initialize.
47531
47532Tue Jun  3 16:06:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47533
47534	* file.c (file_expand_path): fix for non-existent files and SFN of
47535	  symlinks.  [ruby-talk:303736]
47536
47537Tue Jun  3 15:12:01 2008  Akinori MUSHA  <knu@iDaemons.org>
47538
47539	* lib/set.rb (Set#classify): Back out the `group_by' alias.
47540	  Better think twice.
47541
47542Tue Jun  3 15:00:22 2008  Akinori MUSHA  <knu@iDaemons.org>
47543
47544	* lib/set.rb (Set#collect, Set#select): Back out.  I thought it
47545	  was consistent but turned out to be wrong.
47546
47547Tue Jun  3 13:41:08 2008  Akinori MUSHA  <knu@iDaemons.org>
47548
47549	* lib/set.rb (Set#collect, Set#select): Override Enumerable
47550	  methods and make them return a set. [ruby-core:17055]
47551	  (Set#delete_if, Set#collect!, Set#reject!, Set#classify)
47552	  (Set#divide, Set#delete_if): Return an enumerator if no block is
47553	  given.
47554	  (Set#classify): Define an alias `group_by' to override that of
47555	  Enumerable.
47556
47557Tue Jun  3 13:35:40 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47558
47559	* process.c (run_exec_pgroup): C99 ism.
47560
47561Tue Jun  3 12:51:57 2008  Akinori MUSHA  <knu@iDaemons.org>
47562
47563	* enumerator.c (enumerator_allocate, enumerator_ptr): Properly
47564	  detect if the object is initialized and raise error when
47565	  appropriate.
47566	  (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052]
47567
47568Tue Jun  3 01:21:51 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47569
47570	* test/ruby/test_method.rb: add a test.
47571
47572Tue Jun  3 00:26:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47573
47574	* marshal.c (w_object): add a check for modification of array during
47575	  its dump.
47576
47577Mon Jun  2 22:27:57 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47578
47579	* enc/iso_8859_5.c: Large omicron should lowercase to small omicron.
47580
47581	* test/ruby/test_big5.rb, test/ruby/test_cp949.rb,
47582	  test/ruby/test_euc_jp.rb, test/ruby/test_euc_kr.rb,
47583	  test/ruby/test_euc_tw.rb, test/ruby/test_gb18030.rb,
47584	  test/ruby/test_gbk.rb, test/ruby/test_iso_8859.rb,
47585	  test/ruby/test_koi8.rb, test/ruby/test_shift_jis.rb,
47586	  test/ruby/test_windows_1251.rb: new tests for encoding.
47587
47588	* test/ruby/test_utf16.rb, test/ruby/test_utf32.rb,
47589	  test/ruby/test_regexp.rb: add tests.
47590
47591Mon Jun  2 21:56:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47592
47593	* test/ruby/test_file.rb: add tests for uninitialized object.
47594
47595	* test/ruby/test_class.rb: ditto.
47596
47597	* test/ruby/test_thread.rb: ditto.
47598
47599Mon Jun  2 21:44:15 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47600
47601	* re.c: fix SEGV by Regexp.allocate.names, Match.allocate.names, etc.
47602
47603	* test/ruby/test_regexp.rb: add tests for above.
47604
47605	* io.c: fix SEGV by IO.allocate.print, etc.
47606
47607	* test/ruby/test_io.rb: add tests for above.
47608
47609Mon Jun  2 19:17:47 2008  Tanaka Akira  <akr@fsij.org>
47610
47611	* test/ruby/test_argf.rb (teardown): remove renamed temporary files.
47612
47613Mon Jun  2 18:51:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47614
47615	* lib/un.rb (wait_writable): wait until target files can be
47616	  written actually.
47617
47618	* win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of
47619	  mt.exe.
47620
47621Mon Jun  2 16:26:17 2008  Akinori MUSHA  <knu@iDaemons.org>
47622
47623	* lib/delegate.rb (Delegator::MethodDelegation#respond_to):
47624	  respond_to? should now take optional second argument; submitted
47625	  by Jeremy Kemper <jeremy at bitsweat.net> in [ruby-core:17045].
47626
47627Mon Jun  2 16:14:18 2008  Akinori MUSHA  <knu@iDaemons.org>
47628
47629	* lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Oops.  This
47630	  change did not apply to trunk.  Backed out.
47631
47632Mon Jun  2 16:08:24 2008  Akinori MUSHA  <knu@iDaemons.org>
47633
47634	* lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug
47635	  where tokens are not yielded one by one.
47636
47637	* test/erb/test_erb.rb (TestERBCore#_test_01)
47638	  (TestERBCore#test_02_safe_04): The expected value should come
47639	  first for assert_equal().
47640
47641Mon Jun  2 13:06:38 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47642
47643	* mkconfig.rb: hide build path from rbconfig.rb.
47644
47645Mon Jun  2 08:46:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47646
47647	* util.c (ruby_strtod, dtoa): initialize more variables for error
47648	  handling.
47649
47650Mon Jun  2 04:55:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47651
47652	* suppress warnings on cygwin, mingw and mswin.
47653
47654Mon Jun  2 04:35:32 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47655
47656	* enc/gb18030.c (gb18030_code_to_mbc): add 0x80000000
47657	  for 4bytes character.
47658
47659Mon Jun  2 03:52:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47660
47661	* ruby.c (set_arg0): reverted used variable definition.
47662
47663Mon Jun  2 03:23:25 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47664
47665	* enc/gb18030.c (gb18030_mbc_to_code): mask by 0x7FFFFFFF
47666	  because OnigCodePoint will be used as 32bit signed int.
47667	  Masking by 0x7FFFFFFF is ok on GB18030;
47668	  Minimum 4bytes character is 0x81308130.
47669
47670Sun Jun  1 22:29:35 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47671
47672	* rational.c (string_to_r_internal): use rb_isdigit.
47673
47674	* marshal.c (long_toobig): use %zd.
47675
47676	* ruby.c (set_arg0): move unused variable definition.
47677
47678Sun Jun  1 12:18:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47679
47680	* insns.def (DEFINE_INSN): subtract of pointers is ptrdiff_t.
47681	  this is not int on 64bit system.
47682
47683	* vm_dump.c (control_frame_dump): ditto.
47684
47685	* vm_dump.c (stack_dump_each): ditto.
47686
47687	* vm_dump.c (debug_print_register): ditto.
47688
47689	* vm_dump.c (debug_print_pre): ditto.
47690
47691	* transcode.c (str_transcode): ditto.
47692
47693Sun Jun  1 10:32:18 2008  Tanaka Akira  <akr@fsij.org>
47694
47695	* test/ruby/envutil.rb (assert_normal_exit): show coredump status.
47696
47697Sat May 31 23:33:34 2008  Akinori MUSHA  <knu@iDaemons.org>
47698
47699	* README, README.ja: Add a note about default C flags.
47700
47701Sat May 31 23:02:00 2008  Tanaka Akira  <akr@fsij.org>
47702
47703	* gc.c (count_objects): clear given hash.
47704
47705Sat May 31 20:28:10 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47706
47707	* test/ruby/test_regexp.rb: add tests.
47708
47709Sat May 31 19:11:39 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47710
47711	* enc/utf_16{be,le}.c (utf16{be,le}_code_to_mbc):
47712	  fix codepoint to bytes.
47713
47714Sat May 31 18:28:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47715
47716	* suppress warnings with -Wwrite-string.
47717
47718Sat May 31 18:26:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47719
47720	* array.c (rb_ary_delete_if): should return enumerator if no block
47721	  is given.  [ruby-dev:34901]
47722
47723Sat May 31 15:58:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47724
47725	* Makefile.in, configure.in (warnflags): defaulted to -Wall
47726	  -Wno-parentheses with gcc.  [ruby-dev:34810]
47727
47728Sat May 31 15:17:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47729
47730	* include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t and
47731	  rb_thread_t from vm_core.h.
47732
47733Sat May 31 12:02:23 2008  Tanaka Akira  <akr@fsij.org>
47734
47735	* test/ruby/envutil.rb (assert_normal_exit): show pid when fail.
47736
47737Fri May 30 23:55:56 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
47738
47739	* test/ruby/test_rubyoptions.rb: add a test of RUBY_DESCRIPTION.
47740
47741Fri May 30 22:47:17 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47742
47743	* test/ruby/test_regexp.rb: add tests.
47744
47745Fri May 30 22:40:53 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47746
47747	* test/ruby/test_signal.rb: add tests to achieve over 80% test
47748	  coverage of signal.c.
47749
47750Fri May 30 22:28:03 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47751
47752	* signal.c (esignal_signo): fix SignalException#signo which returned
47753	  nil absolutely.
47754
47755	* signal.c (esignal_init): always prepend "SIG" to a string that is
47756	  returned by SignalException#signm.
47757
47758Fri May 30 22:17:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47759
47760	* test/ruby/test_argf.rb: rename a conflicting method name.
47761
47762	* test/ruby/test_string.rb: ditto.
47763
47764	* test/ruby/test_io.rb: ditto.
47765
47766Fri May 30 22:14:37 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47767
47768	* compile.c (defined_expr): fix SEGV by defined?([1]).
47769
47770Fri May 30 12:18:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47771
47772	* common.mk (prelude.c): simply depends on PREP.  [ruby-dev:34877]
47773
47774	* enc/make_encdb.rb, enc/trans/make_transdb.rb: ditto.
47775
47776Fri May 30 10:55:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47777
47778	* vm_core.h (struct rb_unblock_callback), thread.c
47779	  (set_unblock_function), thread_{pthread,win32}.c (native_sleep):
47780	  extracted from struct rb_thread_struct.
47781
47782	* thread.c (reset_unblock_function): not check interrupts at leaving
47783	  blocking region.  [ruby-dev:34874]
47784
47785Fri May 30 06:09:31 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47786
47787	* enc/utf_8.c: add UTF8-MAC (UTF-8-MAC).
47788
47789Fri May 30 04:17:13 2008  Akinori MUSHA  <knu@iDaemons.org>
47790
47791	* enum.c (enum_count, count_all_i, Init_Enumerable),
47792	  array.c (rb_ary_count): If no argument or block is given, count
47793	  the number of all elements.
47794
47795Fri May 30 03:12:18 2008  Akinori MUSHA  <knu@iDaemons.org>
47796
47797	* ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand):
47798	  Int should be enough here.
47799
47800Fri May 30 02:35:00 2008  Akinori MUSHA  <knu@iDaemons.org>
47801
47802	* ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand),
47803	  ext/openssl/ossl_pkey_dh.c (ossl_dh_s_generate)
47804	  (ossl_dh_initialize),
47805	  ext/openssl/ossl_pkey_dsa.c (ossl_dsa_s_generate),
47806	  ext/openssl/ossl_rand.c (ossl_rand_bytes)
47807	  (ossl_rand_pseudo_bytes, ossl_rand_egd_bytes),
47808	  ext/openssl/ossl_x509store.c (ossl_x509stctx_set_error): Do not
47809	  use FIX2INT() without checking the value type.  Use NUM2INT()
47810	  instead; found by akr in [ruby-dev:34890].
47811
47812Fri May 30 02:08:20 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47813
47814	* signal.c (esignal_init): handle a non-integer argument correctly,
47815	  allowing SignalException.new(:INT).
47816
47817Fri May 30 00:59:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47818
47819	* test/ruby/test_regexp.rb: add tests.
47820
47821Thu May 29 22:51:05 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47822
47823	* test/ruby/test_require.rb: add a test for load with wrap flag, to
47824	  achieve 100% test coverage of eval_jump.c.
47825
47826Thu May 29 22:47:53 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47827
47828	* test/ruby/test_argf.rb: new tests for ARGF, to achieve over 85% test
47829	  coverage of file.c.
47830
47831	* test/ruby/test_io.rb: add tests.
47832
47833Thu May 29 22:41:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47834
47835	* io.c (argf_readchar): raise EOFError, synchronizing IO#readchar.
47836
47837Thu May 29 22:29:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
47838
47839	* io.c (argf_external_encoding, argf_internal_encoding): fix SEGV by
47840	  ARGF.external_encoding.
47841
47842Thu May 29 17:52:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47843
47844	* ext/zlib/extconf.rb: search zlib1, and regard mswin32 later than VC6
47845	  as WIN32.  [ruby-core:16984]
47846
47847Wed May 28 18:05:28 2008  Akinori MUSHA  <knu@iDaemons.org>
47848
47849	* array.c (rb_ary_nitems, Init_Array): Axe Array#nitems().
47850	  cf. [ruby-dev:34676]-[ruby-dev:34713]
47851
47852Wed May 28 17:50:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47853
47854	* win32/mkexports.rb (Exports#objdump, Exports#each_line): extracted.
47855
47856Wed May 28 17:41:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47857
47858	* Makefile.in (MKPREP): appended $(RBCONFIG).
47859
47860	* common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32
47861	  to get of compiling twice each time.
47862
47863	* win32/Makefile.sub (prelude.c): not depend on $(PREP).
47864
47865Wed May 28 17:37:07 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47866
47867	* win32/mkexports.rb (Exports::Mswin#each_export): speed up.
47868
47869Wed May 28 16:41:59 2008  Akinori MUSHA  <knu@iDaemons.org>
47870
47871	* array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the
47872	  beginning. [rubyspec]
47873
47874Wed May 28 16:12:44 2008  Akinori MUSHA  <knu@iDaemons.org>
47875
47876	* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
47877	  Set the HTTP status code to 302 if a Location header field is
47878	  present and the status code is not valid as a client
47879	  redirection.  cf. RFC 3875 6.2.3, 6.2.4.
47880
47881Wed May 28 15:53:52 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47882
47883	* enc/trans/japanese.c (to_SHIFT_JIS_EF_infos): typo.
47884
47885Wed May 28 15:18:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47886
47887	* lib/singleton.rb (SingletonClassMethods): _load should be public.
47888
47889Wed May 28 13:30:43 2008  NARUSE, Yui  <naruse@ruby-lang.org>
47890
47891	* enc/trans/japanese.c: add workaround for Unicode to CP932.
47892	  U+2015->0x815C, U+2225->0x8161, U+FF0D->0x817C, U+FF3C->0x815F,
47893	  U+FF5E->0x8160, U+FFE0->0x8191, U+FFE1->0x8192, U+FFE2->0x81CA
47894
47895Wed May 28 12:52:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47896
47897	* marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
47898	  private methods too.  [ruby-dev:34671]
47899
47900	* object.c (convert_type): ditto.
47901
47902Wed May 28 08:42:51 2008  Tanaka Akira  <akr@fsij.org>
47903
47904	* numeric.c: "%" is required before PRI?VALUE.
47905
47906Tue May 27 22:10:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47907
47908	* eval_error.c (error_handle): SystemExit and SignalException throws
47909	  TAG_RAISE but not TAG_FATAL.
47910
47911	* thread.c (rb_thread_execute_interrupts): delay interrupts during
47912	  raising exceptions.  [ruby-dev:34855]
47913
47914Tue May 27 20:18:30 2008  Akinori MUSHA  <knu@iDaemons.org>
47915
47916	* array.c (rb_ary_slice_bang): Return an empty array instead of
47917	  nil when pos is valid and len is adjusted from a valid value to
47918	  zero; caught by RubySpec.
47919
47920Tue May 27 19:12:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47921
47922	* Makefile.in (MKPREP), common.mk, win32/Makefile.sub (prelude.c): get
47923	  rid of depending PREP with nmake.
47924
47925	* common.mk (encs): depends on libruby.
47926
47927Tue May 27 19:00:22 2008  Akinori MUSHA  <knu@iDaemons.org>
47928
47929	* ext/stringio/stringio.c (strio_each_char, Init_stringio): Add
47930	  StringIO#{each_char,chars}.
47931	  (Init_stringio): Fix StringIO#bytes.
47932
47933Tue May 27 17:54:35 2008  Akinori MUSHA  <knu@iDaemons.org>
47934
47935	* ext/stringio/stringio.c (strio_each_byte): Return self instead
47936	  of nil as the rdoc says.
47937
47938Tue May 27 15:36:27 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47939
47940	* numeric.c (check_int): use PRIxVALUE format specifier.
47941
47942	* numeric.c (check_uint, rb_num2fix, int_chr): ditto.
47943
47944	* numeric.c (num_fdiv): fallback to_f should always return float
47945	  result.  should not use #quo that may return rational.
47946
47947	* numeric.c (num_div): should raise ZeroDivisionError.
47948
47949	* numeric.c (fix_divide): ditto.
47950
47951	* test/ruby/test_numeric.rb (TestNumeric::test_divmod): avoid
47952	  ZeroDivisionError in tests.
47953
47954Tue May 27 13:14:53 2008  Akinori MUSHA  <knu@iDaemons.org>
47955
47956	* enum.c (enum_to_a): Pass arguments through to #each().
47957	  (enum_sort): Follow the enum_to_a signature change.
47958	  (enum_reverse_each): Add #reverse_each().
47959
47960Tue May 27 13:12:37 2008  Akinori MUSHA  <knu@iDaemons.org>
47961
47962	* io.c (Init_IO): Define ARGF.{lines,bytes,chars}.
47963
47964Tue May 27 12:06:37 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47965
47966	* file.c (BUFCHECK): wrong condition. [ruby-core:16921]
47967
47968	* file.c (file_expand_buf): shouldn't use buflen for length of string.
47969
47970Mon May 26 18:24:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
47971
47972	* file.c (BUFCHECK): no resize if enough room.
47973
47974	* file.c (file_expand_path): use BUFCHECK.
47975
47976Mon May 26 17:48:42 2008  Akinori MUSHA  <knu@iDaemons.org>
47977
47978	* enumerator.c (struct enumerator, enumerator_init)
47979	  (enumerator_init_copy, enumerator_each): Eliminate iter.
47980	  (enumerator_ptr): Do not hardcode the class name.
47981	  (enumerator_with_index): Delay variable initialization after
47982	  RETURN_ENUMERATOR().
47983
47984Mon May 26 17:23:49 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47985
47986	* file.c (file_expand_path): add more space for '/'.
47987
47988	* file.c (file_expand_path): should reset address of p after calling
47989	  rb_str_resize(). [ruby-dev:34800]
47990
47991Mon May 26 16:49:55 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
47992
47993	* misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook is
47994	  not available.  a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
47995	  in [ruby-dev:34853].
47996
47997Mon May 26 16:41:35 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
47998
47999	* file.c (ntfs_tail): filename which starts with '.' is valid.
48000
48001	* file.c (file_expand_path): cygwin symlink support.
48002
48003Mon May 26 07:15:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48004
48005	* vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments.
48006
48007Mon May 26 01:17:54 2008  Tanaka Akira  <akr@fsij.org>
48008
48009	* test/ruby/envutil.rb (assert_normal_exit): signal description
48010	  refined.
48011
48012Mon May 26 00:52:52 2008  Akinori MUSHA  <knu@iDaemons.org>
48013
48014	* hash.c (env_each_key, env_each_value, env_reject_bang)
48015	  (rb_env_clear, env_replace): Omit duplicated secure level check.
48016
48017Mon May 26 00:37:16 2008  Akinori MUSHA  <knu@iDaemons.org>
48018
48019	* hash.c (env_each_value): Do not call env_values() twice.
48020
48021Sun May 25 17:54:36 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48022
48023	* compile.c (iseq_compile): set local_table for
48024	  ISEQ_TYPE_DEFINED_GUARD.
48025
48026Sun May 25 17:52:25 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48027
48028	* compile.c (iseq_build_body): remove side effect from
48029	  VM::InstructionSequence.load.
48030
48031Sun May 25 04:30:45 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48032
48033	* test/ruby/test_module.rb (remove_json_mixins): change judgment
48034	  condition.
48035
48036Sun May 25 03:54:39 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48037
48038	* test/ruby/test_module.rb (test_ancestors, test_included_modules):
48039	  ignore json mixins.
48040
48041Sun May 25 02:37:25 2008  Koichi Sasada  <ko1@atdot.net>
48042
48043	* eval_method.c: renamed from vm_method.c.  "vm_method.c" is included
48044	  by "vm.c".
48045
48046	* vm_eval.c: added.  Some codes are moved from "eval.c"
48047
48048	* common.mk: fix for above changes.
48049
48050	* compile.c: make a vm_eval(0)
48051
48052	* eval.c, eval_error.c, eval_intern.h, eval_jump.c, proc.c, vm.c,
48053	  id.c, id.h, vm_core.h, vm_dump.c, vm_evalbody.c, vm_insnhelper.c,
48054	  blockinlining.c: fix for above changes.  and do some refactoring.
48055	  this changes improve rb_yield() performance.
48056
48057Sat May 24 22:32:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48058
48059	* util.c (ruby_strtod): clear errno at the top of our own
48060	  implementation of strtod(3).  [ruby-dev:34834] [ruby-dev:34839]
48061
48062Sat May 24 15:26:16 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48063
48064	* compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove
48065	  special handling that decrements sp in CATCH_TYPE_NEXT for NODE_WHILE.
48066
48067	* vm.c (vm_eval_body), vm_insnhelper.c (vm_throw): remove unused code.
48068
48069Sat May 24 08:13:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48070
48071	* transcode.c (rb_str_transcode): argc is 1, and argv is &to.
48072
48073Fri May 23 17:55:11 2008  Akinori MUSHA  <knu@iDaemons.org>
48074
48075	* array.c (rb_ary_slice_bang): Be consistent with Array#slice()
48076	  and String#slice!().  Just return nil when a negative length or
48077	  out of boundary index is given instead of raising an exception
48078	  via internal functions.
48079
48080Fri May 23 16:44:34 2008  Akinori MUSHA  <knu@iDaemons.org>
48081
48082	* enumerator.c (Init_Enumerator): Override
48083	  Enumerable::Enumerator#each_with_index with #with_index.
48084
48085Fri May 23 12:23:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48086
48087	* vm_core.h (rb_num_t): moved form vm.h.
48088
48089	* tool/instruction.rb (RubyVM::Instruction#sp_increase_c_expr),
48090	  tool/instruction.rb (RubyVM::VmBodyGenerator#make_header_operands):
48091	  omit unused variables.
48092
48093Fri May 23 08:47:02 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48094
48095	* error.c (exc_equal): == operator should be transitional.
48096	  [ruby-dev:34808]
48097
48098	* error.c (syserr_eqq): === should be able to handle delegated
48099	  objects as well.
48100
48101Fri May 23 06:15:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48102
48103	* iseq.c (rb_iseq_compile_with_option): get rid of segv.
48104
48105Fri May 23 02:29:14 2008  Koichi Sasada  <ko1@atdot.net>
48106
48107	* insns.def (opt_gt|ge|lt|le): use values directly to compare.
48108
48109Fri May 23 01:15:09 2008  Koichi Sasada  <ko1@atdot.net>
48110
48111	* eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h,
48112	  vm.c, vm_core.h, vm_insnhelper.c: remove pointless "const".
48113
48114Thu May 22 23:45:17 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48115
48116	* compile.c (get_destination_insn, get_next_insn, get_prev_insn):
48117	  peephole optimization should not ignore ISEQ_ELEMENT_ADJUST.
48118
48119Thu May 22 20:20:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48120
48121	* marshal.c (check_dump_arg, check_load_arg): check if reentered.
48122	  [ruby-dev:34802]
48123
48124Thu May 22 20:14:28 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48125
48126	* iseq.c (iseq_load, iseq_data_to_ary): support
48127	  ISEQ_TYPE_DEFINED_GUARD.
48128
48129Thu May 22 19:01:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48130
48131	* vm.c (vm_get_ruby_level_cfp): moved from eval_intern.h.
48132
48133	* vm.c (sdr, nsdr): define methods only if VMDEBUG is defined.
48134
48135Thu May 22 17:18:35 2008  Tanaka Akira  <akr@fsij.org>
48136
48137	* array.c (rb_ary_compact_bang): fix reallocation size.
48138
48139Thu May 22 15:20:20 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48140
48141	* eval_intern.h, vm_core.h, include/ruby/intern.h, include/ruby/ruby.h,
48142	  vm.c: need to add const to prototypes, of course.
48143
48144Thu May 22 13:24:43 2008  Koichi Sasada  <ko1@atdot.net>
48145
48146	* eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const".
48147
48148	* vm_opts.h: add a OPT_TOKEN_THREADED_CODE macro.
48149
48150Thu May 22 12:51:41 2008  Tanaka Akira  <akr@fsij.org>
48151
48152	* insns.def (newhash): fix a variable definition: "const k".
48153
48154Thu May 22 12:40:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48155
48156	* array.c (flatten): check if reentered.  [ruby-dev:34798]
48157
48158Thu May 22 11:39:59 2008  Tanaka Akira  <akr@fsij.org>
48159
48160	* test/ruby/envutil.rb (assert_normal_exit): capture stdout and stderr
48161	  of the child process.
48162
48163Thu May 22 08:28:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48164
48165	* array.c (flatten): free memo hash table before raising exception.
48166	  [ruby-dev:34789]
48167
48168Thu May 22 06:30:10 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
48169
48170	* array.c (flatten): fix memory leak.
48171
48172Thu May 22 06:21:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48173
48174	* ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added.
48175
48176	* ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index): use nkf_str_caseeql.
48177
48178Thu May 22 05:45:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48179
48180	* proc.c (proc_dup): should copy safe_level from src proc
48181	  properly.  a patch from Keita Yamaguchi
48182	  <keita.yamaguchi at gmail.com>
48183
48184Thu May 22 02:46:08 2008  Shugo Maeda  <shugo@ruby-lang.org>
48185
48186	* lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]
48187
48188Thu May 22 00:30:06 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48189
48190	* test/ruby/test_require.rb: new tests for library requiring, to
48191	  achieve over 90% test coverage of dln.c.
48192
48193	* test/ruby/test_class.rb: add tests to achieve over 90% test coverage
48194	  of class.c.
48195
48196	* test/ruby/test_module.rb: ditto.
48197
48198Thu May 22 00:15:44 2008  Koichi Sasada  <ko1@atdot.net>
48199
48200	* insns.def, vm_insnhelper.c: specify "const".
48201
48202Wed May 21 23:20:21 2008  Koichi Sasada  <ko1@atdot.net>
48203
48204	* bootstraptest/test_eval.rb: fix syntax.
48205
48206Wed May 21 17:46:17 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48207
48208	* ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index):
48209	  use strcasecmp. [ruby-dev:34787]
48210
48211Wed May 21 16:48:22 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48212
48213	* array.c (rb_ary_compact_bang): avoid forceful realloc.
48214
48215Wed May 21 07:42:28 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48216
48217	* string.c (rb_usascii_str_new): use rb_str_new.
48218
48219	* string.c (rb_enc_str_new): ditto.
48220
48221	* string.c (rb_usascii_str_new2): use rb_str_new2.
48222
48223Wed May 21 07:22:01 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48224
48225	* encoding.c, include/ruby/encoding.h
48226	  (rb_enc_associate, rb_enc_associate_index):
48227	  returns obj. [ruby-dev:34778]
48228
48229Wed May 21 04:20:20 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48230
48231	* encoding.c (rb_ascii8bit_encoding): use ENCINDEX_ASCII.
48232
48233	* encoding.c, include/ruby/encoding.h (rb_ascii8bit_encindex):
48234	  added.
48235
48236	* encoding.c (rb_locale_encoding): use rb_usascii_encoding().
48237
48238Wed May 21 01:45:58 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48239
48240	* test/ruby/test_file_exhaustive.rb (setup): workaround for Windows
48241	  Vista.
48242
48243	* test/ruby/envutil.rb (rubyexec): now Open3.open3 is supported on
48244	  Windows.
48245
48246	* test/ruby/test_process.rb: use ``||'' instead of ``;'' because
48247	  cmd.exe not support it.
48248
48249Wed May 21 01:28:47 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48250
48251	* transcode.c, include/ruby/encoding.h (rb_str_transcode):
48252	  C API of encoding conversion for Ruby object.
48253	  VALUE rb_str_transcode(VALUE str, VALUE to).
48254
48255	* transcode.c (str_encode, str_encode_bang):
48256	  rename from rb_tr_transcode or rb_str_transcode_bang.
48257
48258Tue May 20 23:26:05 2008  Yusuke Endoh	<mame@tsg.ne.jp>
48259
48260	* test/ruby/test_array.rb: fix tests for 64bit CPU.
48261
48262Tue May 20 20:59:56 2008  NARUSE, Yui  <naruse@ruby-lang.org>
48263
48264	* ext/nkf/nkf-utf8/nkf.c (rb_nkf_convert) (nkf_enc_without_bom):
48265	  reverted. nkf-utf8/nkf.c should be independent of ruby.
48266
48267	* ext/nkf/nkf.c (options):
48268	  moved from nkf-utf8/nkf.c.
48269	  override nkf's original settings for Unicode BOM.
48270
48271Tue May 20 13:20:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48272
48273	* ext/nkf/nkf.c (rb_nkf_convert), ext/nkf/nkf-utf8/nkf.c
48274	  (nkf_enc_without_bom): BOM is not a part of encodings.
48275
48276	* ext/nkf/nkf.c (Init_nkf), ext/nkf/nkf-utf8/nkf.c (options):
48277	  UTF-{16,32} without endian have no sense.
48278
48279Tue May 20 12:13:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48280
48281	* ruby.c (proc_options, process_options): --dump option.
48282
48283Tue May 20 11:36:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48284
48285	* include/ruby/ruby.h (PRI[diouxX]VALUE): printf format for VALUE.
48286
48287	* gc.c (assign_heap_slot): suppress a warning.
48288
48289Tue May 20 03:42:43 2008  Koichi Sasada  <ko1@atdot.net>
48290
48291	* eval.c, vm_insnhelper.c: fix cref in instance_eval
48292	  and cvar_base search protocol.
48293
48294	* bootstraptest/test_knownbug.rb, test_eval.rb: move solved test
48295	  and add new tests.
48296
48297	* test/ruby/test_eval.rb: fix tests for spec.
48298
48299Tue May 20 01:43:44 2008  Koichi Sasada  <ko1@atdot.net>
48300
48301	* bootstraptest/test_knownbug.rb: fix a test.
48302	  "block_given?" returns true if "yield" can be used.
48303
48304Tue May 20 01:07:19 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48305
48306	* parse.y (assignable_gen): when "self = 1" was evaluated, unnecessary
48307	  error message was output, which might cause null pointer access.
48308
48309Tue May 20 08:38:56 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48310
48311	* string.c (rb_enc_strlen_cr): need to set ENC_CODERANGE_7BIT if
48312	  search_nonascii() fails.    [ruby-dev:34751]
48313
48314	* string.c (rb_str_reverse): preserve coderange info if the
48315	  receiver is 7bit string.
48316
48317	* string.c (rb_str_reverse_bang): ditto.
48318
48319	* string.c (rb_str_reverse_bang): should have called
48320	  single_byte_optimizable before rb_str_modify() that clears
48321	  coderange info.
48322
48323	* string.c (tr_trans): handle single bytes more eagerly.
48324
48325Mon May 19 23:32:12 2008  Koichi Sasada  <ko1@atdot.net>
48326
48327	* vm.c (invoke_block_from_c): fix call flow.
48328
48329Mon May 19 23:19:35 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48330
48331	* regexec.c (slow_search): check the case when the length is 1.
48332	  The behavior of memcmp is undefined if the third argument is 0.
48333
48334Mon May 19 21:07:48 2008  Koichi Sasada  <ko1@atdot.net>
48335
48336	* thread_pthread.c (native_thread_apply_priority):
48337	  fix argument range check.  [ruby-dev:33124]
48338
48339Mon May 19 18:22:35 2008  Akinori MUSHA  <knu@iDaemons.org>
48340
48341	* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type
48342	  of md; pointed out by Takahiro Kambe <taca at back-street.net>
48343	  in [ruby-dev:34748].
48344
48345Mon May 19 17:23:55 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48346
48347	* regparse.c (PINC): use optimized enclen() instead of
48348	  ONIGENC_MBC_ENC_LEN().
48349
48350	* regparse.c (PFETCH): ditto.
48351
48352	* regparse.c (PFETCH): small optimization.
48353
48354	* regexec.c (slow_search): single byte encoding optimization.
48355
48356	* regenc.h (enclen): avoid calling function when encoding's
48357	  min_len == max_len.
48358
48359	* re.c (rb_reg_regsub): rb_enc_ascget() optimization for single
48360	  byte encoding.
48361
48362	* re.c (rb_reg_search): avoid allocating new re_registers if we
48363	  already have MatchData.
48364
48365	* re.c (match_init_copy): avoid unnecessary onig_region_free()
48366	  before onig_region_copy.
48367
48368	* encoding.c (rb_enc_get_index): remove implicit enc_capable check
48369	  each time.
48370
48371	* encoding.c (rb_enc_set_index): ditto.
48372
48373	* encoding.c (enc_compatible_p): small refactoring.
48374
48375	* include/ruby/encoding.h (rb_enc_dummy_p): inline
48376	  rb_enc_dummy_p() and export related code.
48377
48378Mon May 19 14:32:03 2008  Koichi Sasada  <ko1@atdot.net>
48379
48380	* version.h: fix strange change by version.h update tool.
48381
48382Mon May 19 14:18:13 2008  Koichi Sasada  <ko1@atdot.net>
48383
48384	* bootstraptest/test_knownbug.rb: move solved tests.
48385
48386	* bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb,
48387	  test_thread.rb: ditto.
48388
48389	* test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb,
48390	  test_string.rb, test/ruby/test_struct.rb: ditto.
48391
48392Mon May 19 13:23:03 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48393
48394	* process.c (rb_spawn_internal): set last_status when status == -1
48395	  because there is no path to set it on win32. this patch is derived
48396	  from [ruby-core:16787], submitted by Luis Lavena <luislavena at
48397	  gmail.com>
48398
48399Mon May 19 11:32:47 2008  Koichi Sasada  <ko1@atdot.net>
48400
48401	* vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling.
48402	  VM value stack frame of block contains cref information.
48403	 (dfp[-1] points CREF)
48404
48405	* compile.c, eval_intern.h, eval_method.c, load.c, proc.c,
48406	  vm_dump.h, vm_core.h: ditto.
48407
48408	* include/ruby/ruby.h, gc.c: remove T_VALUES because of above
48409	  changes.
48410
48411	* bootstraptest/test_eval.rb, test_knownbug.rb: move solved test.
48412
48413Sun May 18 22:26:51 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>
48414
48415	* lib/webrick/httpservlet/filehandler.rb: should normalize path
48416	  name in path_info to prevent script disclosure vulnerability on
48417	  DOSISH filesystems. (fix: CVE-2008-1891)
48418	  Note: NTFS/FAT filesystem should not be published by the platforms
48419	  other than Windows. Pathname interpretation (including short
48420	  filename) is less than perfect.
48421
48422	* lib/webrick/httpservlet/abstract.rb
48423	  (WEBrick::HTTPServlet::AbstractServlet#redirect_to_directory_uri):
48424	  should escape the value of Location: header.
48425
48426	* lib/webrick/httpservlet/cgi_runner.rb: accept interpreter
48427	  command line arguments.
48428
48429Sun May 18 02:54:46 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48430
48431	* pack.c (pack_pack): check errno to detect error of ruby_strtoul.
48432
48433	* pack.c (pack_unpack): ditto.
48434
48435	* test/ruby/test_pack.rb: add a test for above.
48436
48437Sat May 17 23:53:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48438
48439	* file.c (file_expand_path): fix for short file name on Cygwin.
48440
48441Sat May 17 18:03:52 2008  Yuki Sonoda (Yugui) <yugui@yugui.jp>
48442
48443	* vm.c (Init_VM): removed the definition of Thread#initialize,
48444	  which is overwritten in Init_Thread and is never used.
48445
48446Sat May 17 14:01:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48447
48448	* array.c (rb_ary_sort_bang): should not free shared pointer, and set
48449	  shared.  [ruby-dev:34732]
48450
48451Sat May 17 12:34:54 2008  Yuki Sonoda (Yugui) <yugui@yugui.jp>
48452
48453	* thread_pthread.c (Init_native_thread): Kernel#.sleep used never to
48454	  sleep on Mac OS X. Reported by arton <artonx AT yahoo.co.jp>.
48455
48456	* thread_pthread.c (native_sleep): added error checks.
48457
48458Sat May 17 11:29:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48459
48460	* file.c (rb_file_s_extname): first dot is not an extension name.
48461
48462Sat May 17 03:21:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48463
48464	* array.c (rb_ary_sort_bang): stop memory leak.  [ruby-dev:34726]
48465
48466	* re.c (rb_reg_search): need to free allocated buffer in re_register.
48467
48468	* regexec.c (onig_region_new): more pedantic malloc check.
48469
48470	* regexec.c (onig_region_resize): ditto.
48471
48472	* regexec.c (STATE_CHECK_BUFF_INIT): ditto.
48473
48474	* regexec.c (onig_region_copy): use onig_region_resize.
48475
48476Fri May 16 12:48:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48477
48478	* math.c (to_flo): rb_Float() accepts even strings for input.
48479
48480	* complex.c (nucomp_to_f): fix wrong message.
48481
48482	* complex.c (nucomp_to_r): ditto.
48483
48484	* object.c (rb_Float): do not check NaN for error.  NaN is a part
48485	  of valid float values.
48486
48487Thu May 15 23:36:09 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48488
48489	* test/ruby/test_string.rb: add tests to achieve over 90% test
48490	  coverage of string.c.
48491
48492	* test/ruby/test_m17n.rb: ditto.
48493
48494	* test/ruby/test_symbol.rb: ditto.
48495
48496	* test/ruby/test_pack.rb: ditto.
48497
48498Thu May 15 23:01:06 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48499
48500	* string.c (tr_find): String#delete returned wrong result when multiple
48501	  utf-8 arguments are passed.
48502
48503	* test/ruby/test_m17n.rb (test_delete): add a test for above.
48504
48505Thu May 15 22:37:56 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48506
48507	* parse.y (ripper_warningS): now used.
48508
48509Thu May 15 15:33:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48510
48511	* file.c (file_expand_path): support for alternative data stream
48512	  and ignored trailing garbage of NTFS.
48513
48514	* file.c (rb_file_s_basename): ditto.
48515
48516	* file.c (rb_file_s_extname): ditto.
48517
48518Thu May 15 13:43:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48519
48520	* object.c (rb_cstr_to_dbl): no need for forceful warning when
48521	  converting to float.  overflow is a nature of float values.
48522
48523	* parse.y (parser_yylex): ditto.
48524
48525Thu May 15 13:23:20 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48526
48527	* re.c (rb_reg_prepare_enc): error condition was updated for non
48528	  ASCII compatible strings.
48529
48530Thu May 15 12:19:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48531
48532	* ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted
48533	  prototype change in openssl bundled with newer OpenBSD.
48534	  a patch from Takahiro Kambe <taca at back-street.net> in
48535	  [ruby-dev:34691].
48536
48537Wed May 14 22:09:25 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48538
48539	* ChangeLog: fix typo.
48540
48541Wed May 14 21:49:14 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48542
48543	* test/ruby/test_object.rb: new tests to achieve over 90% test
48544	  coverage of object.c, eval.c and eval_method.c.
48545
48546	* test/ruby/test_module.rb: ditto.
48547
48548	* test/ruby/test_trace.rb: ditto.
48549
48550	* test/ruby/test_integer.rb: ditto.
48551
48552	* test/ruby/test_float.rb: ditto.
48553
48554	* test/ruby/test_method.rb: ditto.
48555
48556	* test/ruby/test_variable.rb: ditto.
48557
48558	* test/ruby/test_eval.rb: ditto.
48559
48560	* test/ruby/test_exception.rb: ditto.
48561
48562	* test/ruby/test_class.rb: ditto.
48563
48564Wed May 14 12:46:37 2008  Koichi Sasada  <ko1@atdot.net>
48565
48566	* iseq.c (insn_operand_intern): remove Qundef related code.
48567
48568Wed May 14 12:42:36 2008  Akinori MUSHA  <knu@iDaemons.org>
48569
48570	* array.c (rb_ary_count): Override Enumerable#count for better
48571	  performance.
48572
48573Wed May 14 11:29:06 2008  Koichi Sasada  <ko1@atdot.net>
48574
48575	* insns.def: add a "putcbase" instruction.
48576
48577	* compile.c, insns.def: fix to use putcbase instruction for
48578	  class search.  Qundef should not be used.
48579
48580Wed May 14 07:49:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48581
48582	* eval.c (rb_call0): defer calling of rb_frame_self() until it
48583	  become really necessary.
48584
48585	* eval.c (rb_call): ditto.
48586
48587Wed May 14 00:55:56 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48588
48589	* test/ruby/test_io_m17n.rb: remove a duplicative method.
48590
48591	* test/ruby/test_utf16.rb: rename a conflicting method name.
48592
48593	* test/ruby/test_array.rb: ditto.
48594
48595	* test/ruby/test_file_exhaustive.rb: ditto.
48596
48597	* test/ruby/test_hash.rb: ditto.
48598
48599	* test/ruby/test_env.rb: ditto.
48600
48601	* test/ruby/test_fixnum.rb: ditto.
48602
48603	* test/ruby/test_rational.rb: ditto.
48604
48605Wed May 14 00:45:58 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48606
48607	* eval_method.c (rb_add_method): fix check for warning when
48608	  Object#initialize is redefined. (same as 1.8)
48609
48610Tue May 13 23:32:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48611
48612	* enum.c (enum_yield): use rb_yield_values2.
48613
48614	* enum.c (DEFINE_ENUMFUNCS): macro to define enumerator and yielding
48615	  functions.
48616
48617	* enum.c (enum_all_func, enum_any_func, enum_one_func,
48618	  enum_none_func): reduced duplicate code.
48619
48620Tue May 13 15:09:38 2008  Akinori MUSHA  <knu@iDaemons.org>
48621
48622	* enumerator.c: Update rdoc.
48623	  (enumerator_initialize): Discourage the use.
48624	  (enum_each_slice, enum_each_cons, enumerator_each)
48625	  (enumerator_with_index): Add a note about a call without a block.
48626
48627Tue May 13 08:25:31 2008  Tanaka Akira  <akr@fsij.org>
48628
48629	* io.c (rb_f_gets): re-enable rdoc.
48630	  (rb_f_readline): ditto.
48631	  (rb_f_readlines): ditto.
48632
48633Tue May 13 07:56:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48634
48635	* string.c (rb_str_cat): fixed buffer overrun reported by
48636	  Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746]
48637
48638Mon May 12 23:37:57 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48639
48640	* vm.c (collect_local_variables_in_env): remove unnecessary check
48641	  which causes: x=1;proc{local_variables}.call #=> []
48642
48643	* test/ruby/test_variable.rb: add a test for above.
48644
48645Mon May 12 23:05:24 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48646
48647	* process.c, include/ruby/intern.h (rb_run_exec_options): externed.
48648
48649	* process.c (save_redirect_fd, save_env_i, save_env, run_exec_dup2,
48650	  run_exec_open, run_exec_pgroup, run_exec_rlimit, rb_run_exec_options):
48651	  save parent's process environments.
48652
48653	* process.c (rb_spawn_internal): remove calling run_exec_options()
48654	  because cannot restore after spawn.
48655
48656	* io.c (pipe_open): ditto.
48657
48658	* test/ruby/test_process.rb (test_execopts_env): upcase environment
48659	  variable name for case insensitive platforms.
48660
48661	* win32/win32.c (init_env): set USER environment variable only when
48662	  USERNAME is available.
48663
48664Mon May 12 22:23:01 2008  Tanaka Akira  <akr@fsij.org>
48665
48666	* lib/date.rb (once): use Object#object_id instead of Symbol#to_i.
48667
48668Mon May 12 21:34:46 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48669
48670	* test/ruby/envutil.rb (rubybin): return expanded rubyexe instead of
48671	  expanded ruby if available.
48672
48673Mon May 12 20:19:55 2008  Akinori MUSHA  <knu@iDaemons.org>
48674
48675	* enum.c (grep_i): Be aware of multiple values;
48676	  fix [ruby-dev:34653].
48677	  (grep_iter_i): Ditto.
48678	  (count_i): Ditto.
48679	  (find_i): Ditto.
48680	  (find_index_i): Ditto.
48681	  (find_all_i): Ditto.
48682	  (reject_i): Ditto.
48683	  (inject_i): Ditto.
48684	  (inject_op_i): Ditto.
48685	  (partition_i): Ditto.
48686	  (group_by_i): Ditto.
48687	  (first_i): Ditto.
48688	  (sort_by_i): Ditto.
48689	  (all_i): Ditto.
48690	  (all_iter_i): Ditto.
48691	  (any_i): Ditto.
48692	  (any_iter_i): Ditto.
48693	  (one_i): Ditto.
48694	  (one_iter_i): Ditto.
48695	  (none_i): Ditto.
48696	  (none_iter_i): Ditto.
48697	  (min_i): Ditto.
48698	  (min_ii): Ditto.
48699	  (max_i): Ditto.
48700	  (max_ii): Ditto.
48701	  (minmax_i): Ditto.
48702	  (minmax_ii): Ditto.
48703	  (min_by_i): Ditto.
48704	  (max_by_i): Ditto.
48705	  (minmax_by_i): Ditto.
48706	  (member_i): Ditto.
48707	  (take_i): Ditto.
48708	  (take_while_i): Ditto.
48709	  (drop_i): Ditto.
48710	  (drop_while_i): Ditto.
48711	  (cycle_i): Ditto.
48712
48713	* enum.c (each_with_index): Update rdoc.  each_with_index() takes
48714	  arguments that are passed through to each(), and a hash preserves
48715	  key order.
48716
48717Mon May 12 19:05:24 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48718
48719	* process.c (rb_spawn_internal): remove calling run_exec_options()
48720	  because cannot restore after spawn. we'll fix this later.
48721
48722Mon May 12 18:16:44 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48723
48724	* process.c (rb_spawn_internal): need to call run_exec_options() before
48725	  spawn if the platform doesn't have fork. [ruby-dev:34647]
48726
48727Mon May 12 15:20:02 2008  Tanaka Akira  <akr@fsij.org>
48728
48729	* gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc
48730	  succeeds.  failed malloc size can be huge.  it may increase
48731	  malloc_limit too big which cause less GC and memory full.
48732	  (ruby_vm_xrealloc): ditto.
48733	  (rb_objspace): make params.limit and params.increase size_t.
48734
48735Mon May 12 15:04:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48736
48737	* re.c (rb_reg_prepare_re): made non static with small refactoring.
48738
48739	* ext/strscan/strscan.c (strscan_do_scan): should adjust encoding
48740	  before regex searching.
48741
48742Mon May 12 13:57:19 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48743
48744	* eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}.  "defined?(a||=1)"
48745	  should not operate assignment.  [ruby-dev:34645]
48746
48747Mon May 12 13:29:26 2008  Tanaka Akira  <akr@fsij.org>
48748
48749	* bignum.c (bigzero_p): check from MSB to LSB.  [ruby-dev:34649]
48750
48751Mon May 12 12:32:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48752
48753	* common.mk (RUBYOPT): affected BASERUBY too.  [ruby-talk:301514]
48754
48755Mon May 12 12:27:55 2008  Tanaka Akira  <akr@fsij.org>
48756
48757	* gc.c (assign_heap_slot): fix condition for number of objects in
48758	  a heap.
48759
48760Mon May 12 12:24:48 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48761
48762	* string.c (sym_to_i): really removed.  [ruby-dev:34641]
48763
48764Mon May 12 11:15:55 2008  Yuki Sonoda (Yugui) <yugui@yugui.jp>
48765
48766	* gc.c (assign_heap_slot):  put the binary search routine in order.
48767
48768Mon May 12 10:52:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48769
48770	* ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is defined
48771	  instead of Gem::Enable.
48772
48773	* gem_prelude.rb (load_full_rubygems_library, const_missing): prevent
48774	  infinite recursion.  [ruby-dev:34539]
48775
48776Sun May 11 23:19:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48777
48778	* enum.c (all_iter_i, any_iter_i): reduced duplicated code.
48779
48780Sun May 11 22:54:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48781
48782	* bootstraptest/runner.rb (main): leave -I options for purelib.rb
48783	  untouched.
48784
48785	* bootstraptest/runner.rb (main): handle relative path -r options.
48786
48787Sun May 11 19:04:06 2008  Yusuke Endoh  <mame@tsg.ne.jp>
48788
48789	* test/ruby/test_thread.rb: kill and join temporal threads that are
48790	  created in each test.
48791
48792Sun May 11 17:58:45 2008  Tanaka Akira  <akr@fsij.org>
48793
48794	* test/ruby/test_process.rb (TestProcess#with_stdin): defined.
48795	  (TestProcess#test_argv0_noarg): don't use redirect_fds.
48796	  [ruby-dev:34647]
48797
48798Sun May 11 17:57:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48799
48800	* configure.in (MINIRUBY): should not include extension library path.
48801
48802Sun May 11 14:40:36 2008  Tanaka Akira  <akr@fsij.org>
48803
48804	* include/ruby/ruby.h (SIZET2NUM): new macro.
48805	  (NUM2SIZET): new macro.
48806
48807	* gc.c (struct rb_objspace): use size_t for increment, length and
48808	  used for 64bit.
48809	  (allocate_heaps): ditto.
48810	  (assign_heap_slot): ditto.
48811	  (set_heaps_increment): ditto.
48812	  (gc_mark_all): ditto.
48813	  (is_pointer_to_heap): ditto.
48814	  (free_unused_heaps): ditto.
48815	  (gc_sweep): ditto.
48816	  (os_obj_of): ditto.
48817	  (rb_gc_call_finalizer_at_exit): ditto.
48818	  (count_objects): ditto.
48819
48820Sun May 11 13:14:09 2008  Tanaka Akira  <akr@fsij.org>
48821
48822	* thread.c (thread_cleanup_func_before_exec): extracted from
48823	  thread_cleanup_func not to touch pthread data.
48824	  pthread_cond_destroy in forked process may cause deadlock on
48825	  Debian GNU/Linux Etch on x86, x86-64 and IA64.
48826	  this doesn't cause resource leak because the process will exec soon.
48827	  (terminate_atfork_before_exec_i): defined.
48828	  (rb_thread_atfork_before_exec): defined.
48829
48830	* include/ruby/intern.h (rb_thread_atfork_before_exec): declared.
48831
48832	* process.c (rb_exec_atfork): call rb_thread_atfork_before_exec
48833	  instead of rb_thread_atfork.
48834
48835	* io.c (popen_exec): call rb_thread_atfork_before_exec instead of
48836	  rb_thread_atfork.
48837
48838Sat May 10 22:14:03 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48839
48840	* string.c (tr_trans): single '^' does not mean negation.
48841	  [ruby-dev:34632]
48842
48843	* string.c (tr_trans): should check src size, not str size.
48844	  [ruby-dev:34637]
48845
48846	* string.c (tr_trans): should not turn on modify flag if no
48847	  modification happens.  [ruby-dev:34631]
48848
48849Sat May 10 18:11:18 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48850
48851	* string.c (rb_str_each_line): zero length record separator should
48852	  split a string into paragraphs.  [ruby-dev:34586]
48853
48854	* string.c (rb_str_each_line): RDoc updated.
48855
48856Sat May 10 11:36:20 2008  Tanaka Akira  <akr@fsij.org>
48857
48858	* vm.c (env_mark): mark env->block.self.  prevent SEGV when GC occur
48859	  in prepare_iseq_build with gcc version 3.4.6 [FreeBSD] 20060305 on
48860	  FreeBSD/amd64.
48861
48862Fri May  9 19:16:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48863
48864	* thread.c (timeofday): use monotonic clock.  based on a patch
48865	  from zimbatm <zimbatm at oree.ch> in [ruby-core:16627].
48866
48867Fri May  9 07:47:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48868
48869	* cont.c (cont_restore_0): dynamic stack direction code should be
48870	  consistent with static one.  [ruby-talk:301152]
48871
48872Fri May  9 00:03:50 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48873
48874	* parse.y (arg): operator assignment "a += b rescue c" should be
48875	  parsed as "a += (b rescue c)" just like normal assignment.
48876	  [ruby-talk:301000]
48877
48878Thu May  8 18:14:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48879
48880	* bignum.c (rb_big_and): bit-wise operation should not take float
48881	  values.  [ruby-dev:34612]
48882
48883	* bignum.c (rb_big_or): ditto.
48884
48885	* bignum.c (rb_big_xor): ditto.
48886
48887Thu May  8 17:44:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48888
48889	* common.mk, ext/extmk.rb, lib/mkmf.rb: use absolute path for RUBYOPT.
48890
48891	* file.c (rb_find_file_ext): guard load_path from GC.
48892	  gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes
48893	  load_path by holding only RARRAY_LEN(load_path) and
48894	  RARRAY_PTR(load_path) in registers on IA64 GNU/Linux Etch.
48895
48896Thu May  8 16:41:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48897
48898	* configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb.
48899	  [ruby-core:16642]
48900
48901Thu May  8 16:00:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48902
48903	* parse.y (parser_yylex): ! and ? at the bottom are no longer part
48904	  of valid symbol names.  [ruby-dev:34590]
48905
48906Thu May  8 15:36:11 2008  Tanaka Akira  <akr@fsij.org>
48907
48908	* thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWS
48909	  to mark the register stack from GC on another thread.
48910
48911Thu May  8 15:14:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48912
48913	* array.c (rb_ary_sort_bang): freeze temporary array.
48914
48915Thu May  8 13:19:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48916
48917	* vm.c (rb_thread_mark): mark stat_insn_usage only when ptr is not
48918	  null.
48919
48920Thu May  8 10:44:04 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48921
48922	* array.c (sort_reentered): reentered check may be called from
48923	  Array#sort.
48924
48925Thu May  8 09:51:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48926
48927	* array.c (sort_1, sort_2): check for reentered and if elements are
48928	  accessible.  [ruby-core:16679]
48929
48930Thu May  8 06:43:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48931
48932	* dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions.
48933
48934	* file.c (rb_find_file_ext, rb_find_file), process.c (proc_exec_v),
48935	  (rb_proc_exec, proc_spawn_v, proc_spawn), ruby.c (process_options):
48936	  use reentrant versions.
48937
48938Thu May  8 06:27:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48939
48940	* thread.c (rb_thread_key_p): thread local storage stores ID.
48941
48942Thu May  8 01:10:03 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48943
48944	* string.c (tr_trans): should squeeze properly.  [ruby-dev:34587]
48945
48946	* string.c (tr_trans): had a bug in treating multi-byte character
48947	  replacement.
48948
48949	* string.c (rb_str_delete_bang): need not to do anything for empty
48950	  strings.
48951
48952	* test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_delete): add
48953	  test for empty receiver.
48954
48955Wed May  7 20:19:18 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
48956
48957	* ruby.c (process_options, ruby_set_argv): set encoding of rb_argv
48958	  after Init_prelude() because cannot load encoding extensions before
48959	  it.
48960
48961Wed May  7 20:00:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48962
48963	* numeric.c (bit_coerce): float should not be a valid operand of
48964	  bitwise operations.  [ruby-dev:34583]
48965
48966Wed May  7 19:35:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48967
48968	* thread.c (rb_thread_key_p): should always convert symbol to ID.
48969	  [ruby-dev:34588]
48970
48971Wed May  7 19:30:34 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48972
48973	* numeric.c (fix_divide): float division should floor() before
48974	  rounding into integer.  [ruby-dev:34584]
48975
48976Wed May  7 18:02:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48977
48978	* string.c (sym_to_i): remove obsolete method.  preparation for
48979	  symbol GC.
48980
48981	* numeric.c (fix_to_sym): ditto.
48982
48983	* numeric.c (fix_id2name): ditto.
48984
48985Wed May  7 17:43:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48986
48987	* io.c (io_puts_ary): check recursion first.  [ruby-dev:34580]
48988
48989Wed May  7 17:41:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
48990
48991	* vm.c (vm_eval_body): initialize retval.  [ruby-dev:34576]
48992
48993Wed May  7 13:02:56 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
48994
48995	* bignum.c (rb_big_fdiv): flo.fdiv(NaN) should result NaN.
48996
48997	* numeric.c (num_quo): renamed and moved from bignum.c.
48998	  [ruby-dev:34582]
48999
49000	* bignum.c (rb_big_fdiv): update RDoc description
49001
49002	* rational.c (nurat_s_new_m): small refactoring.
49003
49004	* bignum.c (rb_big2dbl): no need for forceful warning when
49005	  converting to float.  overflow is a nature of float values.
49006
49007Wed May  7 00:54:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49008
49009	* ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.
49010	  a patch from Kouya <kouyataifu4 at gmail.com> in
49011	  [ruby-reference-manual:762].
49012
49013Tue May  6 02:08:18 2008  Tanaka Akira  <akr@fsij.org>
49014
49015	* test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception.
49016
49017	* test/net/imap/test_imap.rb: ensure disconnecting imap to terminate
49018	  receiver thread.
49019
49020Tue May  6 00:29:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49021
49022	* iseq.c (insn_operand_intern): should handle Qundef embedded in
49023	  operand.  [ruby-core:16656]
49024
49025Tue May  6 00:00:02 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49026
49027	* compile.c (iseq_compile_each): should call compile_cpath() for
49028	  modules as well.  [ruby-dev:34585]
49029
49030	* insns.def (defineclass): add undef handling.
49031
49032Mon May  5 23:49:40 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49033
49034	* insns.def (defineclass): was using wrong variable.  [ruby-dev:34592]
49035
49036Mon May  5 20:07:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49037
49038	* io.c (io_fflush): IO#flush problem within threads.  a patch from
49039	  <s.wanabe at gmail.com> in [ruby-dev:34595].
49040
49041Mon May  5 19:58:44 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49042
49043	* compile.c (defined_expr): protect some expression from
49044	  segmentation fault.  a patch from wanabe <s.wanabe at gmail.com>
49045	  in [ruby-dev:34593].
49046
49047Mon May  5 19:49:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49048
49049	* struct.c (rb_struct_s_def): Struct.new(0) should not SEGV.
49050	  based on the patch from wanabe <s.wanabe at gmail.com> in
49051	  [ruby-dev:34594].
49052
49053	* struct.c (make_struct): call to_str on name object.
49054
49055Mon May  5 17:17:40 2008  Tanaka Akira  <akr@fsij.org>
49056
49057	* eval.c (ruby_cleanup): wrap ruby_finalize_0 by SAVE_ROOT_JMPBUF to
49058	  avoid SEGV by at_exit { Fiber.new{}.resume } on IA64.
49059
49060Mon May  5 12:12:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49061
49062	* array.c (rb_ary_slice_bang): should adjust length before making
49063	  sub-array.
49064
49065Mon May  5 11:36:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49066
49067	* array.c (rb_ary_dup): should dupe corresponding information.
49068	  [ruby-dev:34581]
49069
49070Mon May  5 11:13:50 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49071
49072	* compile.c (compile_cpath): use Qundef to denote cbase lookup.
49073
49074	* insns.def (defineclass): Qundef is passed for cbase.
49075
49076	* insns.def (setconstant): ditto.
49077
49078	* vm_insnhelper.c (vm_check_if_namespace): use rb_inspect()
49079	  instead of rb_obj_as_string() for better description.
49080
49081Mon May  5 02:10:23 2008  Tanaka Akira  <akr@fsij.org>
49082
49083	* gc.c (set_heaps_increment): fix memory allocation strategy by
49084	  determining heaps_inc from heaps_used, not objects_delta.
49085	  (struct rb_objspace): delta removed.  change increment, length and
49086	  used to long for LP64.
49087	  (objects_delta): removed.
49088	  (allocate_heaps): add next_heaps_length argument.
49089	  (init_heap): renamed from add_heap.
49090	  (garbage_collect): use heaps_increment in dont_gc.
49091
49092Sun May  4 21:09:32 2008  Tanaka Akira  <akr@fsij.org>
49093
49094	* lib/getoptlong.rb: use $stderr instead of $deferr.
49095
49096Sun May  4 16:04:28 2008  Tanaka Akira  <akr@fsij.org>
49097
49098	* time.c (obj2nsec): fix string argument.
49099
49100Sun May  4 14:29:14 2008  Tanaka Akira  <akr@fsij.org>
49101
49102	* eval.c (rb_obj_respond_to): check the result of respond_to? method
49103	  by RTEST.
49104
49105Sun May  4 12:57:58 2008  Tanaka Akira  <akr@fsij.org>
49106
49107	* string.c (rb_str_each_line): return original string.
49108
49109Sat May  3 20:57:06 2008  Tanaka Akira  <akr@fsij.org>
49110
49111	* test/ruby/envutil.rb (Test::Unit::Assertions#assert_normal_exit):
49112	  new method.
49113
49114Sat May  3 18:10:54 2008  Tanaka Akira  <akr@fsij.org>
49115
49116	* time.c (time_timespec): raise TypeError for nil and other objects
49117	  which has no divmod method.
49118
49119Fri May  2 23:59:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49120
49121	* io.c (internal_read_func, internal_write_func): split from
49122	  internal_io_func.
49123
49124Fri May  2 23:55:15 2008  Tanaka Akira  <akr@fsij.org>
49125
49126	* variable.c (rb_define_hooked_variable): guard *var from GC to
49127	  prevent collecting argf under RUBY_DEBUG=gc_stress.
49128
49129Fri May  2 17:29:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49130
49131	* range.c (range_step): call to_int if step is not a numeric
49132	  value.  [ruby-dev:34575]
49133
49134Fri May  2 16:10:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49135
49136	* range.c (range_step): do not forcefully convert steps into
49137	  integers.  [ruby-dev:34571]
49138
49139Fri May  2 14:52:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49140
49141	* misc/ruby-mode.el: move fontifying code from hook.  a patch from
49142	  Phil Hagelberg <phil at hagelb.org> in [ruby-core:16636].
49143
49144Fri May  2 14:10:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49145
49146	* range.c (range_step): step may be bignum.
49147
49148Fri May  2 13:52:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49149
49150	* re.c (Init_Regexp): remove MatchData#select.  [ruby-dev:34563]
49151
49152Thu May  1 23:59:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49153
49154	* bignum.c (rb_big_divide), numeric.c (fix_divide): check for result
49155	  domain.  [ruby-dev:34559]
49156
49157Thu May  1 23:57:06 2008  James Edward Gray II  <jeg2@ruby-lang.org>
49158
49159	* lib/net/telnet.rb:  This patch from Brian Candler adds a FailEOF mode which
49160	  can be activated to have net/telnet raise EOFError exceptions when the
49161	  remote connection is closed.  The default behavior remains unchanged though.
49162
49163Thu May  1 23:43:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49164
49165	* range.c (range_step): check if step can be converted to an integer.
49166	  [ruby-dev:34558]
49167
49168	* range.c (range_step): allow float step bigger than zero but less
49169	  than one.  [ruby-dev:34557]
49170
49171Thu May  1 23:20:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49172
49173	* bignum.c (rb_big_divide): return an integer for idiv.
49174	  [ruby-dev:34553]
49175
49176Thu May  1 20:47:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49177
49178	* hash.c (rb_hash_s_create): should access converted hash value.
49179	  [ruby-dev:34555]
49180
49181Thu May  1 20:31:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49182
49183	* test/ruby/test_parse.rb (TestParse::test_void_expr_stmts_value):
49184	  shut up warning.
49185
49186	* rational.c (nurat_to_f): no need for forceful warning when
49187	  converting to float.  overflow is a nature of float values.
49188
49189Thu May  1 16:10:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49190
49191	* hash.c (env_delete_if): return enumerator if no block given.
49192	  [ruby-dev:34554]
49193
49194Wed Apr 30 21:36:40 2008  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
49195
49196	* lib/erb.rb (url_encode): [ruby-dev:34497] ERB::Util#url_encode
49197	  bug fix. Reported by rubikitch.
49198
49199	* test/erb/test_erb.rb: ditto
49200
49201Wed Apr 30 20:11:36 2008  James Edward Gray II  <jeg2@ruby-lang.org>
49202
49203	* lib/net/telnet.rb: Fixing a bug where line endings would not be properly
49204	  escaped when the two character ending was broken up into separate TCP
49205	  packets.  Issue reported and patched by Brian Candler.
49206
49207Wed Apr 30 18:03:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49208
49209	* load.c (rb_load_path), vm_core.h (rb_vm_t): moved to VM.
49210
49211	* load.c (rb_get_load_path): returns absolute load path.
49212
49213	* load.c (load_path_getter): $LOAD_PATH getter.
49214
49215	* file.c (rb_find_file_ext, rb_find_file), ruby.c (push_include,
49216	  ruby_init_loadpath): use the accessor.
49217
49218	* vm.c (rb_vm_mark): mark load_path.
49219
49220Wed Apr 30 17:47:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49221
49222	* re.c (rb_reg_search): use local variable.  a patch from wanabe
49223	  <s.wanabe AT gmail.com> in [ruby-dev:34537].  [ruby-dev:34492]
49224
49225Wed Apr 30 16:10:18 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49226
49227	* eval_intern.h: specify the values of the enumeration constants
49228	  explicitly.  [ruby-dev:34489]
49229
49230Wed Apr 30 12:32:39 2008  Tanaka Akira  <akr@fsij.org>
49231
49232	* process.c (check_exec_redirect_fd): prohibit duplex IO.
49233	  (check_exec_fds): record maxhint even if close_others is not
49234	  specified.
49235	  (rb_exec_arg_fixup): renamed from rb_exec_arg_fix.
49236
49237Mon Apr 28 20:24:27 2008  Tadayoshi Funaba  <tadf@dotrb.org>
49238
49239	* rational.c (nurat_marshal_load): checks the given
49240	  denominator. [ruby-dev:34536]
49241
49242Mon Apr 28 14:21:18 2008  Tanaka Akira  <akr@fsij.org>
49243
49244	* include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of
49245	  FIXNUM_MAX to make it possible to convert to double accurately on
49246	  environments with 64bit VALUE and 64bit double.
49247	  It assumes FLT_RADIX is 2.
49248	  fix RubyForge bug #14102.
49249
49250Mon Apr 28 12:48:57 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49251
49252	* process.c (rb_exec_arg_addopt, rb_exec_arg_addopt): now can specify
49253	  close_exec on having no fork environment (but still meaningless).
49254
49255Mon Apr 28 11:11:29 2008  Tanaka Akira  <akr@fsij.org>
49256
49257	* process.c (run_exec_options): don't call FIX2INT for nil.
49258
49259Mon Apr 28 11:11:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49260
49261	* proc.c (method_name): should return symbols instead of strings.
49262	  [ruby-dev:34531]
49263
49264Mon Apr 28 09:02:43 2008  Tanaka Akira  <akr@fsij.org>
49265
49266	* include/ruby/intern.h (rb_exec_arg_init): declared.
49267	  (rb_exec_arg_addopt): declared.
49268	  (rb_exec_arg_fix): declared.
49269	  (rb_exec_initarg): removed.
49270	  (rb_exec_getargs): removed.
49271	  (rb_exec_initarg2): removed.
49272
49273	* io.c (struct popen_arg): make execarg as a pointer.
49274	  (popen_exec): follow popen_arg change.
49275	  (pipe_open): add eargp argument.  extract argc and argv from eargp.
49276	  use rb_exec_arg_addopt to add redirect options.
49277	  (pipe_open_v): set up struct rb_exec_arg.
49278	  (pipe_open_s): set up struct rb_exec_arg.
49279
49280	* process.c (rb_exec_arg_addopt): new function extracted from
49281	  check_exec_options_i.
49282	  (check_exec_options_i): use rb_exec_arg_addopt.
49283	  (rb_check_exec_options): opthash is always a hash now.
49284	  (rb_exec_getargs): make it static.
49285	  (rb_exec_fillarg): renamed from rb_exec_initarg2.  don't set up
49286	  redirect_fds.
49287	  (rb_exec_arg_init): new function.
49288	  (rb_exec_arg_fix): new function.
49289	  (rb_f_exec): use rb_exec_arg_init and rb_exec_arg_fix.  use
49290	  rb_exec_arg_addopt to set close_others option.
49291	  (run_exec_options): make close_others by default.
49292	  (rb_spawn_internal): use rb_exec_arg_init and rb_exec_arg_fix.  use
49293	  rb_exec_arg_addopt to set close_others option.
49294
49295Sun Apr 27 18:59:04 2008  Tadayoshi Funaba  <tadf@dotrb.org>
49296
49297	* rational.c (nurat_expt): use f_rational_new2. [ruby-dev:34524]
49298
49299Sun Apr 27 15:23:40 2008  Koichi Sasada  <ko1@atdot.net>
49300
49301	* gc.c (gc_count): add a GC.count method.  This method returns
49302	  a GC invoking count.
49303
49304Sun Apr 27 12:20:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49305
49306	* vm_core.h (rb_vm_t), gc.c (rb_objspace, rb_newobj), vm.c
49307	  (Init_BareVM): per-VM object space support, which is disabled now.
49308
49309	* gc.c (rb_objspace_alloc), vm.c (Init_BareVM): should not use ruby
49310	  malloc here.
49311
49312	* gc.c (garbage_collect, etc): performance improvement by passing the
49313	  reference instead of referring the global variable in each functions.
49314
49315Sun Apr 27 08:06:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
49316
49317	* ruby.c (ruby_set_argv): ARGV should be locale encoding.
49318	  [ruby-list:44861]
49319
49320Sun Apr 27 01:46:29 2008  Tanaka Akira  <akr@fsij.org>
49321
49322	* lib/open3.rb (Open3.popen3w): removed.
49323	  (Open3.popen3): notice wait_thr.
49324
49325Sun Apr 27 01:13:05 2008  Eric Hodel  <drbrain@segment7.net>
49326
49327	* lib/rdoc, test/rdoc:  Update to RDoc 2.0.0 r56.
49328
49329Sat Apr 26 21:30:40 2008  Tanaka Akira  <akr@fsij.org>
49330
49331	* include/ruby/intern.h (rb_hash_dup): declared.
49332
49333	* hash.c (rb_hash_dup): new function.
49334
49335	* process.c (rb_spawn_internal): don't modify option hash.
49336
49337Sat Apr 26 18:36:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49338
49339	* io.c, signal.c, thread.c, thread_win32.c, include/ruby/intern.h:
49340	  suppress warnings.
49341
49342Sat Apr 26 17:42:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49343
49344	* error.c (builtin_types), gc.c (count_objects): added Complex and
49345	  Rational.
49346
49347Sat Apr 26 17:35:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49348
49349	* error.c (rb_eNOERROR): renamed.
49350
49351Sat Apr 26 17:30:11 2008  Koichi Sasada  <ko1@atdot.net>
49352
49353	* include/ruby/ruby.h, gc.c: remove T_BLOCK.
49354
49355	* include/ruby/ruby.h: re-number T_xxx.
49356
49357Sat Apr 26 17:31:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49358
49359	* process.c (rb_cProcessTms, rb_cProcessStatus): renamed.
49360
49361	* error.c (builtin_types), signal.c (siglist), st.c (primes),
49362	  struct.c (ref_func), time.c (months): constified.
49363
49364Sat Apr 26 13:00:41 2008  Tanaka Akira  <akr@fsij.org>
49365
49366	* lib/open3.rb: double fork is replaced by spawn with Process.detach.
49367	  (Open3.popen3w): new method to access the thread returned by
49368	  Process.detach.
49369
49370Sat Apr 26 00:47:43 2008  Tanaka Akira  <akr@fsij.org>
49371
49372	* process.c (rb_spawn_internal): new function to specify
49373	  default_close_others.
49374	  (rb_spawn): specify default_close_others true.
49375	  (rb_f_system): call rb_spawn_internal with default_close_others as
49376	  false.
49377
49378Sat Apr 26 12:26:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49379
49380	* range.c (range_each): use INT2FIX() for fixnum values.
49381
49382Fri Apr 25 17:56:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49383
49384	* gc.c (free_unused_heaps): preserve last used heap segment to
49385	  reduce malloc() call.
49386
49387Fri Apr 25 17:54:10 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49388
49389	* gc.c (HEAP_SIZE): use smaller heap segment (2K) for more chance
49390	  to be freed.  based on patch from authorNari <authornari at gmail.com>.
49391
49392	* gc.c (rb_newobj_from_heap): eventually allocate heap segments.
49393
49394Fri Apr 25 15:35:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49395
49396	* process.c (rb_spawn): rb_exec_initarg() returns new argc and argv in
49397	  earg.
49398
49399Fri Apr 25 12:37:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49400
49401	* array.c (flatten): returns an instance of same class.
49402	  [ruby-core:16554]
49403
49404Fri Apr 25 10:52:27 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49405
49406	* include/ruby/win32.h: define mode_t for umask.
49407
49408	* process.c (check_exec_options_i, check_exec_fds, run_exec_options):
49409	  support "close_others" only when fork(2) is available.
49410
49411Fri Apr 25 00:16:11 2008  Tanaka Akira  <akr@fsij.org>
49412
49413	* process.c: include sys/stat.h for umask.
49414
49415Thu Apr 24 23:25:17 2008  Tanaka Akira  <akr@fsij.org>
49416
49417	* include/ruby/intern.h (rb_env_clear): declared.
49418	  (rb_io_mode_modenum): declared.
49419	  (rb_close_before_exec): declared.
49420	  (struct rb_exec_arg): add options and redirect_fds field.
49421	  (rb_check_argv): removed.
49422	  (rb_exec_initarg): declared.
49423	  (rb_exec_getargs): declared.
49424	  (rb_exec_initarg2): declared.
49425	  (rb_fork): add third argument: fds.
49426
49427	* io.c (max_file_descriptor): new static variable to record maximum
49428	  file descriptor ruby used.
49429	  (UPDATE_MAXFD): new macro.
49430	  (UPDATE_MAXFD_PIPE): new macro.
49431	  (rb_io_mode_modenum): externed.
49432	  (rb_sysopen): update max_file_descriptor.
49433	  (rb_close_before_exec): new function.
49434	  (popen_exec): redirection removed because it is done by extended
49435	  spawn mechanism.
49436	  (pipe_open): generate a hash for spawn options to specify
49437	  redirections.
49438	  (pipe_open_v): use rb_exec_getargs.
49439	  (pipe_open_s): use rb_exec_getargs.
49440	  (rb_io_initialize): update max_file_descriptor.
49441
49442	* process.c (hide_obj): new function.
49443	  (check_exec_redirect_fd): new function.
49444	  (check_exec_redirect): new function.
49445	  (check_exec_options_i): new function.
49446	  (check_exec_fds): new function.
49447	  (rb_check_exec_options): new function.
49448	  (check_exec_env_i): new function.
49449	  (rb_check_exec_env): new function.
49450	  (rb_exec_getargs): new function.
49451	  (rb_exec_initarg2): new function.
49452	  (rb_exec_initarg): new function.
49453	  (rb_f_exec): use rb_exec_initarg.
49454	  (intcmp): new function.
49455	  (run_exec_dup2): new function.
49456	  (run_exec_close): new function.
49457	  (run_exec_open): new function.
49458	  (run_exec_pgroup): new function.
49459	  (run_exec_rlimit): new function.
49460	  (run_exec_options): new function.
49461	  (rb_exec): call run_exec_options.
49462	  (move_fds_to_avoid_crash): new function.
49463	  (pipe_nocrash): new function.
49464	  (rb_fork): use pipe_nocrash to avoid file descriptor conflicts.
49465	  (rb_spawn): use rb_exec_initarg.
49466	  (rlimit_resource_name2int): extracted from rlimit_resource_type.
49467	  (rlimit_type_by_hname): new function.
49468	  (rlimit_type_by_lname): new function.
49469	  (rlimit_resource_type): use rlimit_type_by_hname.
49470	  (proc_daemon): add fds argument for rb_fork.
49471
49472	* hash.c (rb_env_clear): renamed from env_clear and externed.
49473
49474	[ruby-dev:34086]
49475
49476Thu Apr 24 23:00:58 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49477
49478	* test/ruby/test_thread.rb: fix typos.
49479
49480	* test/ruby/envutil.rb (rubyexec): move Open3.popen3 call into timeout
49481	  block.
49482
49483Thu Apr 24 22:34:52 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49484
49485	* test/ruby/test_comparable.rb: new tests for Comparable, to achieve
49486	  100% test coverage of compar.c.
49487
49488Thu Apr 24 17:19:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49489
49490	* ruby.c (process_options): set safe_level before loading script.
49491	  [ruby-dev:34421]
49492
49493Thu Apr 24 14:15:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49494
49495	* dln.c (dln_find_1): prior files with extensions to files sans
49496	  extensions.  [ruby-core:16517]
49497
49498Thu Apr 24 00:26:06 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49499
49500	* lib/rdoc/ri/descriptions.rb: fixed wrong class nestings.
49501
49502Thu Apr 24 00:20:01 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49503
49504	* test/ruby/test_settracefunc.rb: add a test for set_trace_func.
49505
49506	* test/ruby/envutil.rb: move "rubyexec" method from test_rubyoptions.rb.
49507
49508	* test/ruby/test_rubyoptions.rb: use rubyexec in envutil.rb.
49509
49510	* test/ruby/test_thread.rb: add tests to achieve over 90% test coverage
49511	  of thread.c.
49512
49513Wed Apr 23 15:28:52 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
49514
49515	* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed
49516	  notice moved from comment to assertion message. [ruby-dev:29127]
49517
49518Wed Apr 23 11:49:54 2008  Akinori MUSHA  <knu@iDaemons.org>
49519
49520	* lib/set.rb (Set#each, SortedSet#each, TC_Set#test_each): Return
49521	  an enumerator if no block is given.
49522
49523Wed Apr 23 00:36:03 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49524
49525	* test/openssl/test_ssl.rb (start_server): add timeout to server.join.
49526
49527Wed Apr 23 00:18:45 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
49528
49529	* test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve
49530	  tests of Symbol#to_proc.
49531
49532Tue Apr 22 22:40:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49533
49534	* lib/drb/drb.rb (DRb::DRbServer::check_insecure_method): should
49535	  check method names by symbols, not by strings.  a patch from
49536	  Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34487].
49537
49538Tue Apr 22 22:15:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49539
49540	* misc/ruby-style.el (ruby-style-{case,label}-indent): up list from
49541	  indentation point.
49542
49543Tue Apr 22 21:09:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
49544
49545	* ext/nkf/nkf-utf8/nkf.c (score_table_A0, score_table_F0):
49546	  type of content is unsigned char.
49547
49548	* ext/nkf/nkf-utf8/nkf.c (push_broken_buf): 'c' is nkf_char.
49549
49550	* ext/nkf/nkf-utf8/nkf.c (push_broken_buf): enc is 0 or pointer.
49551
49552	* ext/nkf//nkf.c (options): type of option is unsigned char.
49553
49554Tue Apr 22 20:51:58 2008  NARUSE, Yui  <naruse@ruby-lang.org>
49555
49556	* ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char.
49557
49558Tue Apr 22 19:23:05 2008  Akinori MUSHA  <knu@iDaemons.org>
49559
49560	* enumerator.c (enumerator_initialize): Remove an undocumented
49561	  feature (passing a block to the constructor) that's broken.
49562	  This is not what I intended.
49563
49564Tue Apr 22 17:54:05 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
49565
49566	* vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not
49567	  a type itself.
49568
49569Tue Apr 22 16:24:27 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
49570
49571	* string.c (rb_enc_cr_str_buf_cat): do not use C++ comments.
49572
49573Tue Apr 22 16:23:53 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
49574
49575	* configure.in: use AC_USE_SYSTEM_EXTENSIONS.
49576
49577Tue Apr 22 16:23:16 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>
49578
49579	* vm_evalbody.c (DECL_SC_REG): use __asm__ instead.
49580
49581Tue Apr 22 16:18:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49582
49583	* vm_evalbody.c (DECL_SC_REG): typo fixed.
49584
49585Tue Apr 22 15:25:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49586
49587	* configure.in (struct timespec): needs time.h according to POSIX.
49588
49589Tue Apr 22 13:19:48 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49590
49591	* thread.c (rb_thread_stop_timer_thread): should clear
49592	  timer_thread_id after stopping it.
49593
49594Tue Apr 22 13:12:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49595
49596	* thread.c (thread_join): remove the current thread from the join list
49597	  of the target thread.
49598
49599Tue Apr 22 12:03:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49600
49601	* vm_insnhelper.c (vm_get_ev_const): search from the base klass if it
49602	  is given.
49603
49604Tue Apr 22 09:58:13 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49605
49606	* ext/win32ole/win32ole.c: avoid warnings.
49607
49608Tue Apr 22 09:56:51 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49609
49610	* file.c (eaccess): workaround for recent msvcrt's behavior.
49611	  [ruby-core:16460]
49612
49613Mon Apr 21 19:08:32 2008  Tanaka Akira  <akr@fsij.org>
49614
49615	* io.c (copy_stream_body): call rb_io_check_readable and
49616	  rb_io_check_writable.
49617
49618Mon Apr 21 17:45:27 2008  Akinori MUSHA  <knu@iDaemons.org>
49619
49620	* ext/dbm/dbm.c (fdbm_each_value, fdbm_each_key, fdbm_each_pair):
49621	  GDBM#{each,each_pair,each_key,each_value}: Return an enumerator
49622	  if no block is given.
49623
49624	* ext/gdbm/gdbm.c (fgdbm_each_value, fgdbm_each_key,
49625	  fgdbm_each_pair): GDBM#{each,each_pair,each_key,each_value}:
49626	  Return an enumerator if no block is given.
49627
49628	* ext/openssl/ossl_config.c (ossl_config_each):
49629	  OpenSSL::Config#each: Return an enumerator if no block is given.
49630
49631	* ext/readline/readline.c (hist_each): Readline::HISTORY#each:
49632	  Return an enumerator if no block is given.
49633
49634	* ext/sdbm/init.c (fsdbm_each_value, fsdbm_each_key,
49635	  fsdbm_each_pair): SDBM#{each,each_pair,each_key,each_value}:
49636	  Return an enumerator if no block is given.
49637
49638	* ext/stringio/stringio.c (strio_each_byte, strio_each):
49639	  StringIO#{each,each_line,each_byte}: Return an enumerator if no
49640	  block is given.
49641
49642	* ext/stringio/stringio.c (Init_stringio): Add #lines and #bytes,
49643	  which are aliases to #each_line and #each_byte, respectively.
49644
49645	* ext/win32ole/win32ole.c (fole_each): WIN32OLE#each: Return an
49646	  enumerator if no block is given.
49647
49648	* ext/zlib/zlib.c (rb_gzreader_each_byte, rb_gzreader_each):
49649	  Zlib::GzipReader#{each,each_line,each_byte}: Return an
49650	  enumerator if no block is given.
49651
49652	* ext/zlib/zlib.c (Init_zlib): Add Zlib::GzipReader#lines and
49653	  #bytes, which are aliases to #each_line and #each_byte,
49654	  respectively.
49655
49656Mon Apr 21 17:01:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49657
49658	* iseq.c (rb_iseq_compile_with_option): check if src is a string.
49659	  [ruby-core:16453]
49660
49661Mon Apr 21 16:06:47 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49662
49663	* enumerator.c (enumerator_init): preserve the method name in ID.
49664
49665	* enumerator.c (enumerator_each): need not to call rb_to_id().
49666
49667	* enumerator.c (enumerator_with_index): ditto.
49668
49669Mon Apr 21 11:00:27 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49670
49671	* compile.c (defined_expr): capture exception during defined?
49672	  evaluation.  a patch from wanabe <s.wanabe at gmail.com> in
49673	  [ruby-dev:34461].  [ruby-core:16010]
49674
49675Mon Apr 21 10:06:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49676
49677	* time.c: should include <errno.h> to refer to errno.
49678
49679Mon Apr 21 09:58:04 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49680
49681	* time.c (rb_strftime): check errno to detect strftime(3)'s error.
49682	  this is workaround for recent version of MSVCRT.
49683	  [ruby-dev:34456]
49684
49685Mon Apr 21 08:54:30 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
49686
49687	* gc.c (ruby_xmalloc): use size_t for malloc argument instead of long.
49688
49689Sun Apr 20 21:00:21 2008  Akinori MUSHA  <knu@iDaemons.org>
49690
49691	* enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator.
49692
49693Sun Apr 20 20:47:50 2008  Akinori MUSHA  <knu@iDaemons.org>
49694
49695	* enumerator.c: Resolve the method every time an enumeration
49696	  method is run, not once when the enumerator is initialized as it
49697	  was before, so that method_missing() and method (re)definition
49698	  afterwards are both in effect; pointed out in: [ruby-core:16441]
49699
49700Sun Apr 20 15:11:00 2008  Tanaka Akira  <akr@fsij.org>
49701
49702	* io.c (copy_stream_rbuf_to_dst): removed.
49703	  (copy_stream_fallback_body): don't bypass write method.
49704	  (copy_stream_body): simplified.
49705
49706Sun Apr 20 15:01:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49707
49708	* vm_core.h (struct iseq_compile_data): moved label_no from
49709	  new_label_body().
49710
49711	* compile.c (iseq_set_exception_table): allocates catch_table only
49712	  when entries exist.
49713
49714	* compile.c (struct iseq_link_element, struct iseq_insn_data): made
49715	  enum for debuggers.
49716
49717Sun Apr 20 14:44:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49718
49719	* compile.c (iseq_compile_each): fix for splat in when and rescue.
49720	  a patch from wanabe <s.wanabe AT gmail.com> in [ruby-dev:34429].
49721	  [ruby-core:14537]
49722
49723Sun Apr 20 13:55:37 2008  Tanaka Akira  <akr@fsij.org>
49724
49725	* io.c (copy_stream_fallback): write directly (bypassing write method)
49726	  if possible.
49727
49728Sun Apr 20 12:49:03 2008  Tanaka Akira  <akr@fsij.org>
49729
49730	* io.c (copy_stream_fallback): read directly (bypassing readpartial
49731	  method) if possible.
49732
49733Sun Apr 20 04:45:13 2008  Tanaka Akira  <akr@fsij.org>
49734
49735	* io.c (copy_stream_body): use readpartial and write method for
49736	  non-IOs such as StringIO and ARGF.
49737
49738Fri Apr 18 20:57:33 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49739
49740	* test/ruby/test_array.rb: add tests to achieve over 95% test coverage
49741	  of array.c.
49742
49743Fri Apr 18 17:37:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49744
49745	* gc.c (rb_gc_mark_locations): get rid of underflow.
49746
49747	* gc.c (mark_current_machine_context): check if the main thread stack
49748	  position may shrink under the initialized position.  [ruby-core:16436]
49749
49750Thu Apr 17 22:20:52 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49751
49752	* enc/trans/utf_16_32.c (fun_so_to_utf_16be, fun_so_to_utf_16le): add
49753	  parentheses to remove warnings of gcc.
49754
49755	* io.c (rb_io_getc): remove unused variables.
49756
49757	* compile.c (NODE_NEXT, NODE_REDO): remove unused labels.
49758
49759	* ext/nkf/nkf.c (rb_nkf_convert): remove unused variables.
49760
49761	* ext/syck/rubyext.c (syck_resolver_initialize,
49762	  syck_resolver_detect_implicit, syck_emitter_emit): remove unused
49763	  variables.
49764
49765Thu Apr 17 20:12:47 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49766
49767	* test/ruby/test_rubyoptions.rb (test_search): enable some assertions.
49768
49769	* test/ruby/test_rubyoptions.rb: flunk message in win32.
49770
49771Thu Apr 17 16:07:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49772
49773	* test/ruby/test_rubyoptions.rb (ruby): run in C locale.
49774
49775	* test/ruby/test_rubyoptions.rb (test_encoding): --encoding does not
49776	  affect source code.
49777
49778Thu Apr 17 00:45:41 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49779
49780	* test/ruby/test_process.rb (test_rlimit_nofile): reset RLIMIT_NOFILE
49781	  before exit (for gcov).
49782
49783	* test/ruby/test_rubyoptions.rb: new tests for option of ruby
49784	  interpreter, to achieve over 95% test coverage of ruby.c.
49785
49786Wed Apr 16 02:40:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49787
49788	* ruby.c (process_options): preludes and parser need to run in safe
49789	  level 0.  [ruby-dev:34407]
49790
49791Wed Apr 16 02:26:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49792
49793	* ruby.c (process_options): dln_find_file returns the pointer to a
49794	  static buffer, so should copy it.  [ruby-dev:34409]
49795
49796Tue Apr 15 23:08:46 2008  Kouhei Sutou  <kou@cozmixng.org>
49797
49798	* lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]
49799
49800	* test/xmlrpc/test_cookie.rb: add a test for the above fix.
49801
49802Tue Apr 15 19:20:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49803
49804	* io.c: #undef rb_argv moved before #define.
49805
49806Tue Apr 15 18:02:17 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49807
49808	* include/ruby/intern.h (rb_argv): replaced with rb_get_argv().
49809	  [ruby-Bugs-19514]
49810
49811Tue Apr 15 17:10:59 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
49812
49813	* lib/net/http.rb, lib/net/smtp.rb, lib/net/pop.rb: update
49814	  URLs of Japanese documents.
49815
49816Tue Apr 15 16:45:14 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
49817
49818	* test/ruby/test_symbol.rb (TestSymbol#test_to_proc): add tests.
49819
49820Tue Apr 15 15:38:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49821
49822	* misc/ruby-mode.el (ruby-encoding-map): added shift-jis for older
49823	  versions.
49824
49825	* misc/ruby-mode.el (ruby-mode-set-encoding):
49826	  coding-system-to-mime-charset is not a standard function.
49827	  [carbon-emacs:795]
49828	  fix for the case that magic comment exists but coding system is
49829	  absent.
49830
49831	* misc/ruby-mode.el (ruby-mode): use write-contents-functions or
49832	  write-contents-hooks for older versions.
49833
49834Tue Apr 15 07:21:21 2008  Tadayoshi Funaba  <tadf@dotrb.org>
49835
49836	* complex.c (nucomp_div): [ruby-dev:34357]
49837
49838	* complex.c (nucomp_abs): use hypot.
49839
49840	* complex.c (nucomp_quo): do not force conversion.
49841
49842	* test/ruby/test_complex.rb: omitted some meaningless tests.
49843
49844Mon Apr 14 23:25:50 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49845
49846	* test/ruby/test_objectspace.rb: add a test for
49847	  ObjectSpace.count_objects.
49848
49849Mon Apr 14 22:44:24 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49850
49851	* file.c (SET_EXTERNAL_ENCODING): avoid call rb_enc_check() on
49852	  half-baked result string.
49853
49854	* re.c (rb_reg_search): make search reentrant.  [ruby-dev:34223]
49855
49856	* test/ruby/test_parse.rb (TestParse::test_global_variable):
49857	  should preserve $& variable.
49858
49859Mon Apr 14 17:23:27 2008  Akinori MUSHA  <knu@iDaemons.org>
49860
49861	* hash.c (rb_hash_delete_if, rb_hash_reject_bang, env_delete_if,
49862	  env_reject_bang): Return an enumerator if no block is given.
49863
49864Mon Apr 14 14:33:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49865
49866	* compile.c, compile.h (compile_debug): made runtime option.
49867
49868	* debug.c (ruby_debug_print_indent): returns if debug_level exceeds
49869	  the threshold.
49870
49871	* debug.c (ruby_debug_printf): printf to stderr.
49872
49873	* iseq.c (make_compile_option, make_compile_option_value): added
49874	  debug_level option.
49875
49876	* vm_core.h (rb_compile_option_t): added debug_level.
49877
49878	* vm_core.h (struct iseq_compile_data): added node_level.
49879
49880Mon Apr 14 12:52:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49881
49882	* gc.c (Init_stack): use ruby_init_stack.  [ruby-dev:34350]
49883
49884	* gc.c (rb_objspace_t): packed globals.  [ruby-dev:34348]
49885
49886	* gc.c (finalizers): removed.  [ruby-dev:34349]
49887
49888Mon Apr 14 11:30:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49889
49890	* array.c (ary_new): new integer overflow check condition.
49891	  suggested by TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
49892	  [ruby-dev:34156].
49893
49894	* array.c (rb_ary_initialize): ditto.
49895
49896Mon Apr 14 00:51:40 2008  Yusuke Endoh  <mame@tsg.ne.jp>
49897
49898	* test/ruby/test_parse.rb: add tests to achieve over 95% test coverage
49899	  of parse.y.
49900
49901Sun Apr 13 23:53:58 2008  Akinori MUSHA  <knu@iDaemons.org>
49902
49903	* enum.c (enum_cycle): Make Enumerable#cycle do a finite loop when
49904	  the number of cycles is specified.
49905
49906	* array.c (rb_ary_cycle): Ditto for Array#cycle.
49907
49908Sun Apr 13 18:52:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49909
49910	* thread_pthread.c (lock_func): should not check interrupts in
49911	  blocking region.  [ruby-dev:34378]
49912
49913Sat Apr 12 12:41:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49914
49915	* eval.c (ruby_exec_node, ruby_run_node), ruby.c (process_options):
49916	  use iseq instead of NODE.
49917
49918	* gc.c (source_filenames): removed.
49919
49920	* include/ruby/intern.h, parse.y (yycompile, parser_mark, parser_free,
49921	  ripper_initialize): rb_source_filename() is no longer used.
49922
49923	* compile.c, compile.h (ERROR_ARGS), parse.y (node_newnode, fixpos,
49924	  parser_warn, e_option_supplied, warn_unless_e_option, range_op,
49925	  cond0): nd_file is no longer used.
49926
49927Sat Apr 12 12:17:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49928
49929	* prelude.rb (require_relative): move require_relative from
49930	  lib/require_relative.rb.  [ruby-core:16356]
49931
49932	* lib/require_relative.rb: removed.
49933
49934Sat Apr 12 05:55:57 2008  Eric Hodel  <drbrain@segment7.net>
49935
49936	* lib/rubygems*, test/rubygems*:  Update to RubyGems 1.1.1 r1701.
49937
49938Sat Apr 12 03:13:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
49939
49940	* file.c (file_expand_path): set external encoding.
49941
49942	* file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname):
49943	  copy encoding.
49944
49945Fri Apr 11 17:35:06 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49946
49947	* enum.c (count_i): modified to shut warning up.
49948
49949Fri Apr 11 17:25:09 2008  Akinori MUSHA  <knu@iDaemons.org>
49950
49951	* enum.c (count_i, count_iter_i, enum_count, enum_find_index):
49952	  Reduce code.
49953
49954Fri Apr 11 17:06:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49955
49956	* enum.c (find_index_i): modified to shut warning up.
49957
49958	* enum.c (find_index_iter_i): ditto.
49959
49960Fri Apr 11 16:44:43 2008  Akinori MUSHA  <knu@iDaemons.org>
49961
49962	* enum.c (enum_find_index): Add support for find_index(obj);
49963	  [ruby-dev:34313].
49964
49965	* array.c (rb_ary_index): Define find_index as an alias to index.
49966
49967Fri Apr 11 16:42:33 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49968
49969	* lib/yaml/store.rb (YAML::load): modified to support empty
49970	  database.
49971
49972Fri Apr 11 08:05:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49973
49974	* marshal.c (w_object): add volatile to avoid potential GC bug.  a
49975	  patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp>
49976	  in [ruby-dev:34312].
49977
49978Thu Apr 10 23:08:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
49979
49980	* lib/pstore.rb (PStore::dump, PStore::load): allow subclass
49981	  overriding.  [ruby-dev:34305]
49982
49983	* lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?):
49984	  add a method to support faster PStore.
49985
49986Thu Apr 10 20:36:45 2008  Akinori MUSHA  <knu@iDaemons.org>
49987
49988	* misc/rdebug.el, misc/README: Remove rdebug.el as per request
49989	  from the maintainer and mention the ruby-debug project at
49990	  RubyForge in README; bug#19043.
49991
49992Thu Apr 10 19:41:00 2008  Akinori MUSHA  <knu@iDaemons.org>
49993
49994	* eval.c (rb_f_loop): Mention StopIteration in the document.
49995
49996Thu Apr 10 19:23:55 2008  Akinori MUSHA  <knu@iDaemons.org>
49997
49998	* array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents for
49999	  #pop() and #shift().
50000
50001	* array.c (rb_ary_slice_bang): Update document.  Assigning
50002	  array[*args]= nil no longer removes elements.
50003
50004Thu Apr 10 16:58:44 2008  Tanaka Akira  <akr@fsij.org>
50005
50006	* marshal.c (w_object): TYPE_USERDEF assigns id for ivars first.
50007	  [ruby-dev:34159] by nagachika.
50008
50009Thu Apr 10 15:03:47 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50010
50011	* lib/generator.rb: removed obsolete library.  [ruby-core:16233]
50012
50013	* test/test_generator.rb: removed as well.  [ruby-dev:34306]
50014
50015	* lib/pstore.rb: replaced by Hongli Lai's faster version.
50016
50017Thu Apr 10 10:27:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50018
50019	* thread_pthread.c (native_sleep): sleep_cond is initialized at
50020	  creation.  [ruby-Patches-19361].
50021
50022Wed Apr  9 14:43:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50023
50024	* thread.c (lock_func): optimized and checks for interrupt_flag.
50025	  based on a patch from Sylvain Joyeux in [ruby-Patches-19361] and
50026	  [ruby-Patches-19362].
50027
50028Wed Apr  9 12:12:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50029
50030	* test/ruby/test_thread.rb: new tests from Sylvain Joyeux in
50031	  [ruby-Patches-19361].
50032
50033Tue Apr  8 21:36:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50034
50035	* thread.c (rb_mutex_sleep): ensures to re-acquire at waking up.
50036	  [ruby-Patches-19361]
50037
50038Tue Apr  8 11:00:14 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50039
50040	* lib/complex.rb: remove Math first before overwriting by CMath.
50041
50042Tue Apr  8 10:34:10 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50043
50044	* load.c (rb_require_safe): should check fname path after $SAFE is
50045	  properly set.  [ruby-dev:34268]
50046
50047	* re.c (rb_reg_quote): should always copy the quoting string.
50048	  [ruby-core:16235]
50049
50050Tue Apr  8 10:30:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50051
50052	* common.mk (prelude.c): depends on enc/prelude.rb.
50053
50054	* enc/prelude.rb: fixed initial library names.
50055
50056Tue Apr  8 03:39:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50057
50058	* load.c (rb_provided): check expanded path for relative path
50059	  features, loading or loaded features are already expanded in 1.9.
50060
50061	* variable.c (rb_autoload_load): no needs to check if provided before
50062	  rb_require_safe.  [ruby-dev:34266]
50063
50064Mon Apr  7 22:41:21 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50065
50066	* numeric.c: cancelled recent changes (except to remove rdiv).
50067
50068	* bignum.c: ditto.
50069
50070	* bignum.c: added rb_big_idiv.
50071
50072Mon Apr  7 15:51:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50073
50074	* encoding.c (enc_init_db): moved to enc/encdb.c.
50075
50076	* transcode.c (init_transcoder_table): moved to enc/trans/transdb.c.
50077
50078	* enc/depend (enc/encdb.o enc/trans/transdb.o): depend on
50079	  corresponding headers.
50080
50081	* common.mk (COMMONOBJS): moved transcode.o from OBJS
50082
50083Mon Apr  7 12:26:32 2008  Koichi Sasada  <ko1@atdot.net>
50084
50085	* bootstraptest/test_knownbug.rb: add a known-bug.
50086
50087Mon Apr  7 12:15:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50088
50089	* range.c (range_each_func): should not leave a variable
50090	  uninitialized, which could cause SEGV.
50091
50092	* range.c (range_step): removed duplicated and unreachable code.
50093
50094Mon Apr  7 02:12:27 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50095
50096	* string.c (rb_str_intern): need not to check if tainted.
50097	  [ruby-dev:34219]
50098
50099Sun Apr  6 09:45:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50100
50101	* dir.c (dir_tell): check if closed.  [ruby-core:16223]
50102
50103Sat Apr  5 23:17:20 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50104
50105	* lib/cmath.rb: new.
50106
50107	* lib/complex.rb: depends lib/cmath.rb.
50108
50109	* lib/rational.rb: added rdiv.
50110
50111	* complex.c: removed some math functions.
50112
50113Sat Apr  5 05:50:57 2008  Eric Hodel  <drbrain@segment7.net>
50114
50115	* lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.
50116
50117	* lib/rdoc/generator/html.rb: ditto.
50118
50119	* lib/rdoc/options.rb: Fix shadowed variable warning.
50120
50121	* lib/webrick/httprequest.rb: Fix redefined method warning.
50122
50123Sat Apr  5 02:13:52 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50124
50125	* bignum.c (rb_cmpint): moved from compar.c, to check bignum
50126	  zero.
50127
50128Fri Apr  4 23:24:06 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50129
50130	* re.c (rb_memsearch_qs): wrong boundary condition.
50131
50132	* re.c (rb_memsearch_qs_utf8): ditto.
50133
50134Fri Apr  4 14:11:36 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50135
50136	* re.c (rb_memsearch_qs): wrong boundary condition.  a patch from
50137	  wanabe <s.wanabe AT gmail.com> in [ruby-dev:34248].
50138
50139Fri Apr  4 05:57:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50140
50141	* lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
50142	  @n_bytes as well.  [ruby-core:16144]
50143
50144Fri Apr  4 01:59:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50145
50146	* range.c (range_step): add step for each iteration if begin and
50147	  end are numeric.  [ruby-core:15990]
50148
50149Fri Apr  4 00:42:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50150
50151	* bignum.c (Init_Bignum): rdiv method removed.  [ruby-dev:34242]
50152
50153	* complex.c (nucomp_quo): ditto.
50154
50155	* numeric.c (num_rdiv): ditto.
50156
50157	* rational.c (nurat_div): ditto.
50158
50159	* complex.c (nucomp_fdiv): fdiv implementation restored.
50160
50161	* numeric.c (num_quo): RDoc updated.
50162
50163Thu Apr  3 21:51:45 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50164
50165	* complex.c (nucomp_int_check): function for DRY real check.
50166
50167	* complex.c (nucomp_{add,sub,mul,div,expt}): use rb_num_coerce_bin().
50168
50169Thu Apr  3 19:59:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50170
50171	* insns.def (defineclass): check if cbase is a class or a module.
50172	  [ruby-core:16118]
50173
50174Thu Apr  3 14:42:11 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50175
50176	* common.mk (INSNS): add insns_info.inc.
50177
50178	* common.mk (INSNS): make incs separately for nmake.
50179
50180Thu Apr  3 13:20:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50181
50182	* common.mk (endb.h, transdb.h, prelude.c): depend on $(PREP) and
50183	  check if really changed.  [ruby-core:16102]
50184
50185	* Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.sub
50186	  (MINIOBJS, ARCHMINIOBJS): separated.
50187
50188Thu Apr  3 09:00:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50189
50190	* compile.c (iseq_set_sequence, iseq_insns_unification,
50191	  insn_data_to_s_detail): constified.
50192
50193	* iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto.
50194
50195	* template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto.
50196
50197	* tool/instruction.rb (OptUnifsIncGenerator): ditto.
50198
50199Thu Apr  3 08:46:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50200
50201	* range.c (range_include): add RDoc to describe that comparison
50202	  for numeric is done according magnitude of values.
50203	  [ruby-core:15907]
50204
50205Wed Apr  2 22:29:35 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50206
50207	* rational.c (nurat_int_check): function for DRY integer check.
50208
50209	* numeric.c (num_rdiv): should always return rational number.
50210
50211	* rational.c (nurat_add, nurat_sub, nurat_mul, nurat_fdiv,
50212	  nurat_cmp): use rb_num_coerce_bin().
50213
50214	* rational.c (nurat_division): does / and rdiv.
50215
50216	* .gdbinit (rp): no longer use rb_p().
50217
50218Wed Apr  2 06:52:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50219
50220	* .gdbinit (rp): supports rational and complex numbers.  it's
50221	  cheating since it uses rb_p().
50222
50223Wed Apr  2 06:24:06 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50224
50225	* include/ruby/node.h: add new constants for rb_call()'s scope.
50226
50227	* eval.c (iterate_method): use CALL_* scope constant to specify
50228	  proper scope value.
50229
50230	* eval.c (rb_each, rb_apply, rb_funcall, rb_funcall2, rb_funcall3):
50231	  ditto.
50232
50233Tue Apr  1 21:19:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50234
50235	* rational.c: need to include <float.h> just once.
50236
50237Tue Apr  1 16:40:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50238
50239	* bignum.c (big2dbl): more precise conversion at edge cases.
50240	  [ruby-dev:34195]
50241
50242Tue Apr  1 14:43:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50243
50244	* configure.in: get rid of empty expansion.
50245
50246	* configure.in: _setjmp is available but _longjmp is not on mingw.
50247
50248Tue Apr  1 09:41:22 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50249
50250	* {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
50251
50252Tue Apr  1 07:31:58 2008  Eric Hodel  <drbrain@segment7.net>
50253
50254	* lib/rubygems* test/rubygems*: Import RubyGems 1.1.0.
50255
50256Tue Apr  1 03:20:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50257
50258	* configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers
50259	  _setjmp over setjmp and sigsetjmp.  [ruby-core:16023]
50260	  __builtin_setjmp cannot handle a variable.
50261
50262	* configure.in (--with-setjmp-type): new option to override the
50263	  default rule in the above.
50264
50265	* eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp),
50266	  vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and
50267	  RUBY_JMP_BUF.
50268
50269Tue Apr  1 01:55:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50270
50271	* lib/resolv.rb (Resolv::Config.default_config_hash): requires
50272	  win32/resolv to use Win32::Resolv.  [ruby-dev:34138]
50273
50274Tue Apr  1 01:40:58 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50275
50276	* complex.c: adopted the ruby's style.
50277
50278	* rational.c: ditto.
50279
50280Tue Apr  1 00:17:35 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50281
50282	* rational.c: revert.
50283
50284Mon Mar 31 18:57:36 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50285
50286	* {bcc,win}32/Makefile.sub (config.h): define ssize_t.
50287
50288	* io.c (copy_stream_body): some platform don't have O_NOCTTY.
50289
50290Mon Mar 31 18:42:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50291
50292	* configure.in: check for ssize_t.  [ruby-dev:34184]
50293
50294Mon Mar 31 14:45:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50295
50296	* numeric.c (num_quo): should convert its operand to Rational.
50297
50298	* rational.c (string_to_r_strict): should raise TypeError.
50299
50300	* bignum.c (Init_Bignum): should not redefine Bignum#div.
50301	  Numeric#div will do.  [ruby-dev:34066]
50302
50303Mon Mar 31 04:05:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50304
50305	* io.c (io_getc): set coderange while getting characters.
50306
50307Sun Mar 30 23:16:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50308
50309	* proc.c (proc_dup): should copy is_lambda attribute as well.
50310	  [ruby-talk:296244]
50311
50312Sun Mar 30 15:33:29 2008  Tanaka Akira  <akr@fsij.org>
50313
50314	* io.c: IO.copy_stream implemented.  [ruby-dev:33843]
50315
50316	* thread.c (rb_fd_select): new function.
50317
50318	* configure.in (sys/sendfile.h): check the header file.
50319	  (sendfile): check the function.
50320	  (pread): check the function.
50321
50322Sat Mar 29 14:18:41 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
50323
50324	* ext/tk/*: full update Ruby/Tk to support Ruby(1.9|1.8) and Tc/Tk8.5.
50325
50326	* ext/tk/lib/tkextlib/tile.rb: [incompatible] remove TileWidgets'
50327	  instate/state/identify method to avoid the conflict with standard
50328	  widget options. Those methods are renamed to ttk_instate/ttk_state/
50329	  ttk_identify (tile_instate/tile_state/tile_identify are available
50330	  too). Although I don't recommend, if you really need old methods,
50331	  please define "Tk::USE_OBSOLETE_TILE_STATE_METHOD = true" before
50332	  "require 'tkextlib/tile'".
50333
50334	* ext/tk/lib/tkextlib/tile.rb: "Tk::Tile::__Import_Tile_Widgets__!"
50335	  is obsolete. It outputs warning. To control default widget set,
50336	  use "Tk.default_widget_set = :Ttk".
50337
50338	* ext/tk/lib/tk.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__ method and
50339	  __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method are defined
50340	  as module methods of TkConfigMethod. It may help users to wrap old
50341	  Ruby/Tk scripts (use standard widgets) to force to use Ttk widgets.
50342	  Ttk widgets don't have some options of standard widgets which are
50343	  control the view of widgets. When set ignore-mode true, configure
50344	  method tries to ignore such unknown options with no exception.
50345	  Of course, it may raise other troubles on the GUI design.
50346	  So, those are a little danger methods.
50347
50348	* ext/tk/lib/tk/itemconfig.rb: __IGNORE_UNKNOWN_CONFIGURE_OPTION__
50349	  method and __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!(mode) method
50350	  are defined as module methods of TkItemConfigMethod as the same
50351	  purpose as TkConfigMethod's ones.
50352
50353	* ext/tk/sample/ttk_wrapper.rb: A new example. This is a tool for
50354	  wrapping old Ruby/Tk scripts (which use standard widgets) to use
50355	  Ttk (Tile) widgets as default.
50356
50357	* ext/tk/sample/tkextlib/tile/demo.rb: use ttk_instate/ttk_state
50358	  method instead of instate/state method.
50359
50360	* ext/tk/lib/tk/root, ext/tk/lib/tk/namespace.rb,
50361	  ext/tk/lib/tk/text.rb, ext/tk/lib/tkextlib/*: some 'instance_eval's
50362	  are replaced to "instance_exec(self)".
50363
50364	* ext/tk/lib/tk/event.rb: bug fix on KEY_TBL and PROC_TBL (?x is not
50365	  a character code on Ruby1.9).
50366
50367	* ext/tk/lib/tk/variable.rb: support new style of operation argument
50368	  on Tcl/Tk's 'trace' command for variables.
50369
50370	* ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget: bug fix
50371
50372	* ext/tk/sample/demos-jp/textpeer.rb,
50373	  ext/tk/sample/demos-en/textpeer.rb: new widget demo.
50374
50375	* ext/tk/tcltklib.c: decrease SEGV troubles (probably)
50376
50377	* ext/tk/lib/tk.rb: remove Thread.critical access if Ruby1.9
50378
50379	* ext/tk/lib/tk/multi-tk.rb: support Ruby1.9 (probably)
50380
50381	* ext/tk/lib/tkextlib/tile.rb: add method to define Tcl/Tk command
50382	  to make Tcl/Tk theme sources (based on different version of Tile
50383	  extension) available.
50384	  (Tk::Tile::__define_LoadImages_proc_for_compatibility__)
50385
50386	* ext/tk/lib/tk.rb, ext/tk/lib/tk/wm.rb: support dockable frames
50387	  (Tcl/Tk8.5 feature). 'wm' command can treat many kinds of widgets
50388	  as toplevel widgets.
50389
50390	* ext/tk/lib/tkextlib/tile/style.rb: ditto.
50391	  (Tk::Tile::Style.__define_wrapper_proc_for_compatibility__)
50392
50393	* ext/tk/lib/tk/font.rb: add actual_hash and metrics_hash to get
50394	  properties as a hash. metrics_hash method returns a boolean value
50395	  for 'fixed' option. But metrics method returns numeric value
50396	  (0 or 1) for 'fixed' option, because of backward compatibility.
50397
50398	* ext/tk/lib/tk/timer.rb: sometimes fail to set callback procedure.
50399
50400	* ext/tk/lib/tk.rb: add Tk.sleep and Tk.wakeup method. Tk.sleep
50401	  doesn't block the eventloop. It will be better to use the method
50402	  in event callbacks.
50403
50404	* ext/tk/sample/tksleep_sample.rb: sample script about Tk.sleep.
50405
50406Thu Mar 27 20:44:22 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50407
50408	* complex.c (f_lcm): removed.
50409
50410	* rational.c (rb_lcm, rb_gcdlcm): added.
50411
50412	* lib/complex.rb (gcd, lcm, gcdlcm): removed.
50413
50414	* lib/rational.rb (gcd, lcm, gcdlcm): ditto.
50415
50416Wed Mar 26 18:11:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50417
50418	* variable.c (rb_mod_constants): rdoc updated.  a patch from
50419	  Florian Gilcher <flo AT andersground.net> in [ruby-core:16009].
50420
50421Wed Mar 26 00:55:28 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50422
50423	* test/ruby/test_rand.rb: add tests to achieve over 95% test coverage
50424	  of random.c.
50425
50426Wed Mar 26 00:28:55 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50427
50428	* test/ruby/test_rational.rb: add tests to achieve over 90% test
50429	  coverage of rational.c.
50430
50431	* test/ruby/test_complex.rb: ditto for complex.c.
50432
50433Tue Mar 25 19:34:05 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50434
50435	* bootstraptest/test_knownbug.rb: add tests.  [ruby-dev:34128]
50436
50437Tue Mar 25 19:09:04 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50438
50439	* array.c (ary_new): fix size check.  [ruby-dev:34123]
50440
50441	* array.c (rb_ary_take, rb_ary_drop): check negative size and use
50442	  NUM2LONG instead of FIX2LONG.  [ruby-dev:34123]
50443
50444	* enum.c (enum_take, enum_drop): check negative size.
50445
50446	* test/ruby/test_array.rb: add tests for above.
50447
50448Tue Mar 25 16:32:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50449
50450	* ruby.c (proc_options): checks if the word is empty.
50451
50452	* ruby.c (process_options): typo fixed.  [ruby-dev:34122]
50453
50454Tue Mar 25 15:26:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50455
50456	* compile.c (defined_expr): false short-circuit destination label may
50457	  be needed.  [ruby-talk:295296]
50458
50459	* compile.c (iseq_compile_each): put nil if false short-circuit is
50460	  created.
50461
50462	* compile.c (compile_massign_opt): no need to use alloca.
50463
50464Mon Mar 24 19:23:52 2008  Akinori MUSHA  <knu@iDaemons.org>
50465
50466	* parse.y (debug_lines): Always prepare a new array for each
50467	  file's SCRIPT_LINES__ storage, instead of appending source lines
50468	  every time a file is re-loaded; submitted by Rocky Bernstein in
50469	  #18517.
50470
50471Mon Mar 24 10:25:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50472
50473	* configure.in: sitearch should use target_cpu.  [ruby-core:15986]
50474
50475Sun Mar 23 02:51:57 2008  Tanaka Akira  <akr@fsij.org>
50476
50477	* process.c (rlimit_resource_value): use NUM2RLIM.
50478
50479Sun Mar 23 02:28:01 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50480
50481	* complex.c: fixed. [ruby-dev:34109]
50482
50483	* rational.c: ditto.
50484
50485Fri Mar 21 21:32:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50486
50487	* io.c (rb_f_gets, rb_f_readline, rb_f_readlines): delegates to ARGF
50488	  as well as puts and putc.  [ruby-dev:34100]
50489
50490Fri Mar 21 21:26:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50491
50492	* lib/resolv.rb (Resolv::Hosts): should not use win32/resolv on cygwin.
50493	  [ruby-dev:29945], [ruby-dev:34095]
50494
50495	* lib/win32/registry.rb (Win32::Registry.expand_environ): try upcased
50496	  name too for cygwin.  [ruby-dev:29945]
50497
50498	* lib/win32/resolv.rb (Win32::Resolv.get_hosts_path): use expand_path.
50499
50500Fri Mar 21 21:10:00 2008  Akinori MUSHA  <knu@iDaemons.org>
50501
50502	* lib/ipaddr.rb: Say that I am the current maintainer.
50503
50504	* lib/set.rb: Ditto.
50505
50506	* lib/shellwords.rb: Ditto.
50507
50508	* ext/syslog/syslog.txt: Ditto.
50509
50510Fri Mar 21 09:24:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50511
50512	* instruby.rb (open_for_install): write block result and rewrite only
50513	  if changed from existing file.
50514
50515Fri Mar 21 08:29:33 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50516
50517	* rational.c (nurat_to_f): rearrangement.
50518
50519Fri Mar 21 06:44:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50520
50521	* rational.c (nurat_to_f): C99.
50522
50523Fri Mar 21 01:40:27 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50524
50525	* complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
50526
50527Fri Mar 21 01:21:43 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50528
50529	* missing/tgamma.c: include config.h before math.h.  [ruby-dev:34075]
50530
50531Thu Mar 20 21:46:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50532
50533	* io.c (argf_getline): use receiver.
50534
50535Thu Mar 20 21:20:19 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50536
50537	* rational.c: some improvements (include Shin-ichiro HARA's
50538	  effort).
50539
50540	* complex.c: some improvements.
50541
50542	* test/ruby/test_rational2.rb: new.
50543
50544Thu Mar 20 00:21:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50545
50546	* io.c (argf_initialize_copy): get rid of segfault.
50547
50548	* io.c (argf_tell, argf_seek_m, argf_set_pos, argf_rewind,
50549	  argf_fileno, argf_to_io, argf_eofl, argf_getc, argf_getbyte,
50550	  argf_readchar, argf_readbyte, argf_each_line): use receiver.
50551
50552Wed Mar 19 23:52:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50553
50554	* io.c (rb_io_putc, rb_io_puts): output directly if the receiver is
50555	  rb_stdout to get rid of infinite recursion.  [ruby-dev:34059]
50556
50557Wed Mar 19 22:27:41 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50558
50559	* rational.c: added rb_gcd.
50560
50561	* complex.c: use rb_gcd.
50562
50563Wed Mar 19 18:37:00 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50564
50565	* complex.c: revert.
50566
50567	* rational.c: revert.
50568
50569Wed Mar 19 17:31:20 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50570
50571	* eval_intern.h (TH_EXEC_TAG): need not to FLUSH_REGISTER_WINDOWS.
50572	  [ruby-core:15871], [ruby-dev:34088]
50573
50574Wed Mar 19 14:53:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50575
50576	* complex.c (nucomp_to_s, nucomp_inspect): get rid of making
50577	  unnecessary intermediate objects.
50578
50579	* complex.c (make_patterns, string_to_c): do not treat successive
50580	  underscores as a part of numeric like as literals.  [ruby-dev:34085]
50581
50582	* rational.c (make_patterns, string_to_r): ditto.
50583
50584Wed Mar 19 14:36:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50585
50586	* bignum.c (rb_cstr_to_inum): treat successive underscores as
50587	  nondigit.  [ruby-dev:34089]
50588
50589Wed Mar 19 14:08:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50590
50591	* encoding.c (enc_check_encoding): should not load autoloaded encoding
50592	  directly, instead use rb_enc_find_index() which deal with alias and
50593	  replica.  [ruby-core:15957]
50594
50595Wed Mar 19 11:49:47 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50596
50597	* regint.h (include): include ruby.h instead of defines.h and config.h.
50598
50599Wed Mar 19 10:17:12 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50600
50601	* regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt check
50602	  during match.  [ruby-talk:295002]
50603
50604Tue Mar 18 16:24:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50605
50606	* parse.y (literal_concat_gen): bail out at different encoding.
50607
50608Tue Mar 18 04:00:27 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50609
50610	* re.c (rb_memsearch_ss): simple shift search.
50611
50612	* re.c (rb_memsearch_qs): quick search.
50613
50614	* re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string.
50615
50616	* re.c (rb_memsearch_qs_utf8_hash): hash functions for above.
50617
50618	* re.c (rb_memsearch): use above functions.
50619
50620	* string.c (rb_str_index): give enc to rb_memsearch.
50621
50622	* include/ruby/intern.h (rb_memsearch): move to encoding.h.
50623
50624	* include/ruby/encoding.h (rb_memsearch): move from intern.h.
50625
50626	* common.mk (PREP): add dependency.
50627
50628Mon Mar 17 22:23:54 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50629
50630	* array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,
50631	  rb_ary_drop_while): new methods. [ruby-dev:34067]
50632
50633	* test/ruby/test_array.rb: add tests for above.
50634
50635Mon Mar 17 17:11:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50636
50637	* misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
50638	  of calling `run-hooks' directly to run the mode hook.  patch from
50639	  Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
50640
50641Mon Mar 17 16:41:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50642
50643	* configure.in: unset GREP_OPTIONS.  [ruby-core:15918]
50644
50645Sun Mar 16 18:07:07 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
50646
50647	* enc/trans/utf_16_32.c: bug fix (some invalid UTF-8 sequences
50648	  were legal)
50649
50650	* test/ruby/test_transcode.rb: test for above bug
50651
50652Sun Mar 16 17:28:07 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50653
50654	* common.mk (LIBRUBY_SO): add dependency to $(BUILTIN_ENCOBJS).
50655
50656Sun Mar 16 08:51:41 2008  Tadayoshi Funaba  <tadf@dotrb.org>
50657
50658	* include/ruby/intern.h: added some declarations.
50659
50660	* include/ruby/ruby.h: ditto.
50661
50662	* common.mk: added some entries.
50663
50664	* configure.in: added a check for signbit.
50665
50666	* lib/complex.rb: nearly all of core definitions have been removed.
50667
50668	* lib/rational.rb: ditto.
50669
50670	* lib/mathn.rb: some trivial adjustments.
50671
50672	* complex.c: new.
50673
50674	* rational.c: ditto.
50675
50676	* numeric.c (flo_{quo,rdiv}, fix_fdiv): added.
50677
50678	* numeric.c ({num,int}_{numerator,denominator}): ditto.
50679
50680	* bignum.c (rb_big_fdiv): ditto.
50681
50682	* numeric.c (fix_{quo,pow}): now may yield rational number.
50683
50684	* bignum.c (rb_big_{quo,pow}): ditto.
50685
50686	* numeric.c (rb_{int,flo}_induced_from): now can accept rational.
50687
50688	* gc.c (gc_mark_children, obj_free): now detects complex and rational.
50689
50690	* inits.c (rb_call_inits): now calls Init_{Complex,Rational}.
50691
50692	* test/ruby/test_complex.rb: new.
50693
50694	* test/ruby/test_rational.rb: ditto.
50695
50696Sat Mar 15 17:48:48 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50697
50698	* encoding.c (rb_enc_associate_index): pass unnecessary enc_capable().
50699
50700	* string.c (rb_str_cmp): reduce invocation of rb_enc_compatible().
50701
50702Fri Mar 14 17:04:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50703
50704	* include/ruby/ruby.h (inttypes.h): includes always if available.
50705
50706	* string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.
50707
50708Fri Mar 14 16:59:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50709
50710	* configure.in (RUBY_LIB_PREFIX): fix for prefix.
50711
50712Fri Mar 14 16:35:11 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50713
50714	* lib/cgi.rb (CGI::Cookie::initialize): performance patch from
50715	  Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048].
50716
50717Fri Mar 14 15:49:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50718
50719	* configure.in (RUBY_LIB_PREFIX): use libdir.
50720
50721Fri Mar 14 14:24:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50722
50723	* ext/digest/defs.h: inttypes.h is still needed.
50724
50725Fri Mar 14 11:34:12 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50726
50727	* {bcc,win}32/Makefile.sub: follow below changes.
50728
50729Fri Mar 14 11:24:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50730
50731	* misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): added
50732	  to customize.
50733
50734Fri Mar 14 10:37:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50735
50736	* configure.in (int8_t, uint8_t,  int16_t,  uint16_t int32_t,
50737	  uint32_t int64_t, uint64_t, int128_t, uint128_t,
50738	  intptr_t, uintptr_t): check if defined.
50739
50740	* win32/Makefile.sub: follow configure.in.
50741
50742	* ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t.
50743
50744Fri Mar 14 10:12:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50745
50746	* configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
50747	  directives.
50748
50749Fri Mar 14 10:03:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50750
50751	* string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.
50752
50753Thu Mar 13 21:00:50 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50754
50755	* array.c (rb_ary_slice_bang): should not use rb_ary_subseq()
50756	  which shares internal pointer.  splice modifies the receiver
50757	  right after subseq.  [ruby-dev:34005]
50758
50759	* bootstraptest/test_struct.rb: some test moved from test to shut
50760	  warning up.
50761
50762Thu Mar 13 19:42:43 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50763
50764	* {bcc,win}32/Makefile.sub (config.h): define uint32_t.
50765
50766Thu Mar 13 14:14:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50767
50768	* trunk/configure.in (AC_CHECK_HEADERS): stdint.h is not needed to
50769	  check.
50770
50771	* trunk/configure.in (rb_cv_type_uint32_t): unquoted.  [ruby-dev:34030]
50772
50773	* trunk/string.c (hash): use inttypes.h instead of stdint.h.
50774
50775Thu Mar 13 10:42:46 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50776
50777	* numeric.c (fix_divmod): should return integer division.  [ruby-dev:34006]
50778
50779	* enum.c (zip_ary): wrong boundary condition.
50780
50781	* test/ruby/test_numeric.rb (TestNumeric::test_num2long): bit-and
50782	  should not raise RangeError.
50783
50784Thu Mar 13 03:12:48 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50785
50786	* lib/irb/cmd/help.rb: should be updated for new ri structure.
50787	  [ruby-core:15825]
50788
50789	* lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional.
50790
50791	* lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be
50792	  empty.
50793
50794	* lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for
50795	  method.  maybe broken.
50796
50797	* lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError
50798	  no more.
50799
50800Thu Mar 13 01:45:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50801
50802	* configure.in (stdint.h): check if presence.
50803
50804	* configure.in (uint32_t): check if defined.
50805
50806	* string.c (hash): fix for portability.  [ruby-dev:34020]
50807
50808Wed Mar 12 17:33:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50809
50810	* object.c (rb_cstr_to_dbl): fix for a mere underscore.
50811
50812Wed Mar 12 14:47:07 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50813
50814	* eval_intern.h (rb_thread_raised_set): use generic flags.
50815
50816	* eval.c (rb_longjmp): clear all raised flags.
50817
50818	* eval.c (stack_check): leave clearing flag to rb_longjmp.
50819
50820	* gc.c (rb_memerror): use thread raised flag instead of static flag.
50821
50822Tue Mar 11 23:38:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50823
50824	* array.c (rb_ary_combination): argument check before creating
50825	  Enumerator.
50826
50827	* array.c (rb_ary_permutation): ditto.
50828
50829	* enum.c (enum_zip): optimize if all arguments are arrays.
50830
50831Tue Mar 11 19:48:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50832
50833	* numeric.c (fix_coerce): try conversion before type check.
50834	  [ruby-core:15838]
50835
50836Tue Mar 11 12:39:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50837
50838	* common.mk (clean-local): WINMAINOBJ is Windows specific.
50839
50840Tue Mar 11 10:19:10 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50841
50842	* string.c (hash): replaced by MurmurHash described in
50843	  <http://murmurhash.googlepages.com/>.
50844
50845Tue Mar 11 09:52:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50846
50847	* string.c (rb_str_comparable): empty strings in any encoding are
50848	  compatible each other.
50849
50850Tue Mar 11 00:46:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50851
50852	* ruby.c (usage): remove some unimportant lines to fit -h message
50853	  in a page.  [ruby-dev:34018]
50854
50855Mon Mar 10 17:11:00 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50856
50857	* eval.c (rb_f_local_variables): local_variables should return an
50858	  array of symbols.  [ruby-dev:34008]
50859
50860	* vm.c (collect_local_variables_in_env): ditto.
50861
50862Mon Mar 10 15:53:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50863
50864	* version.c (MKSTR): make US-ASCII.  [ruby-dev:34010]
50865
50866Mon Mar 10 02:08:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50867
50868	* string.c (rb_str_index): if t == s + pos, the character beginning
50869	  from s + pos is valid.
50870
50871Sun Mar  9 13:51:21 2008  Eric Hodel  <drbrain@segment7.net>
50872
50873	* lib/rdoc/generator.rb: Restore missing line to #params.  Patch by
50874	  Lincoln Stoll <lstoll at lstoll.net>
50875
50876Sun Mar  9 09:52:00 2008  Eric Hodel  <drbrain@segment7.net>
50877
50878	* lib/rdoc/code_objects.rb: Remove debugging Kernel#p.  Patch by
50879	  Lincoln Stoll <lstoll at lstoll.net>
50880	* lib/rdoc/generator/html.rb: Fully qualify AllReferences.  Patch by
50881	  Lincoln Stoll <lstoll at lstoll.net>
50882	* lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility.
50883
50884Sat Mar  8 18:50:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50885
50886	* file.c (isdirsep): backslash is valid path separator on cygwin too.
50887
50888Sat Mar  8 06:53:48 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50889
50890	* string.c (search_nonascii): Use VALUE instead of unsigned long
50891	  because VALUE can be the fastest unsigned integer type.
50892	  On LLP64 unsigned long isn't the fastest.
50893	* string.c (str_strlen): ditto.
50894	* string.c (str_utf8_nth): ditto.
50895	* string.c (count_utf8_lead_bytes_with_ulong): ditto.
50896
50897	* string.c (count_utf8_lead_bytes_with_word): renamed.
50898
50899Fri Mar  7 21:27:43 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50900
50901	* bignum.c: fix indent.
50902
50903Fri Mar  7 21:12:19 2008  Yusuke Endoh  <mame@tsg.ne.jp>
50904
50905	* bignum.c (power_cache_init, power_cache_get_power0, Init_Bignum):
50906	  delayed initializing power cache per base.  [ruby-dev:34003]
50907
50908Fri Mar  7 20:30:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50909
50910	* cont.c (cont_restore_0): fixed typo.  [ruby-core:15821]
50911
50912Fri Mar  7 19:56:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50913
50914	* lib/mkmf.rb: rdoc added.  [ruby-Patches-9762]
50915
50916Thu Mar  6 17:26:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50917
50918	* sprintf.c (rb_str_format): space flag is in effect for Inf/NaN too.
50919	  [ruby-dev:34002]
50920
50921Thu Mar  6 15:44:20 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50922
50923	* sprintf.c (rb_str_format): casting double to long is undefined
50924	  if the integer part of double is out of the range of long.
50925
50926Thu Mar  6 15:11:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50927
50928	* sprintf.c (rb_str_format): ignore 0 flag for NaN and Inf.
50929	  [ruby-dev:33994]
50930
50931Thu Mar  6 15:05:25 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
50932
50933	* {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead of
50934	  ruby$(EXEEXT).
50935	  suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>.
50936	  [ruby-dev:34000]
50937
50938Thu Mar  6 14:46:08 2008  Tanaka Akira  <akr@fsij.org>
50939
50940	* missing/lgamma_r.c (loggamma): return 0 for 1 and 2.
50941
50942	* test/ruby/test_math.rb: accept errors by functions under missing/.
50943
50944Thu Mar  6 14:29:44 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50945
50946	* transcode.c (rb_str_transcode_bang): set coderange.
50947
50948	* transcode.c (rb_str_transcode): use rb_str_transcode_bang.
50949
50950Thu Mar  6 14:00:10 2008  Tanaka Akira  <akr@fsij.org>
50951
50952	* include/ruby/missing.h (cbrt): add declaration.
50953
50954Thu Mar  6 11:14:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50955
50956	* misc/ruby-mode.el (ruby-add-log-current-method): use ruby style
50957	  method name format.
50958
50959Thu Mar  6 11:12:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50960
50961	* sprintf.c (rb_str_format): no need of loop.
50962
50963Thu Mar  6 08:30:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
50964
50965	* object.c (rb_mod_freeze): call rb_class_name() directly.
50966	  [ruby-core:15802]
50967
50968Thu Mar  6 04:32:06 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50969
50970	* string.c (count_utf8_lead_bytes_with_ulong): fix shift size.
50971	  [ruby-dev:33993]
50972
50973	* string.c (str_utf8_nth) fix wrong counting.
50974
50975Thu Mar  6 00:34:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50976
50977	* sprintf.c (rb_str_format): size_t returned from strlen() can be
50978	  unsigned.
50979
50980Thu Mar  6 00:31:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50981
50982	* struct.c (make_struct): preserve encoding of struct name.
50983
50984Wed Mar  5 22:49:20 2008  NARUSE, Yui  <naruse@ruby-lang.org>
50985
50986	* string.c (is_utf8_lead_byte, count_utf8_lead_bytes_with_ulong):
50987	  defined for UTF-8 optimization.
50988
50989	* string.c (str_strlen): use is_utf8_lead_byte and
50990	  count_utf8_lead_bytes_with_ulong.
50991
50992	* string.c (str_utf8_nth) ditto.
50993
50994Wed Mar  5 17:53:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
50995
50996	* file.c (rb_file_flock): returns false on EAGAIN if non-blocking.
50997	  [ruby-core:15795]
50998
50999Wed Mar  5 17:43:43 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
51000
51001	* transcode.c (transcode_loop): Adjusted detection of invalid
51002	  (ill-formed) UTF-8 sequences. Fixing potential security issue, see
51003	  http://www.unicode.org/versions/Unicode5.1.0/#Notable_Changes.
51004
51005	* test/ruby/test_transcode.rb: Added two tests for above fix.
51006
51007Wed Mar  5 14:00:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51008
51009	* numeric.c (fix_to_s): avoid rb_scan_args() when no argument
51010	  given.
51011	* bignum.c (rb_big_to_s): ditto.
51012	* enum.c (enum_first): ditto.
51013	* eval_jump.c (rb_f_catch): ditto.
51014	* io.c (rb_obj_display): ditto.
51015	* class.c (rb_obj_singleton_methods): ditto.
51016	* object.c (rb_class_initialize): ditto.
51017	* random.c (rb_f_srand): ditto.
51018	* range.c (range_step): ditto.
51019	* re.c (rb_reg_s_last_match): ditto.
51020	* string.c (rb_str_to_i): ditto.
51021	* string.c (rb_str_each_line): ditto.
51022	* string.c (rb_str_chomp_bang): ditto.
51023	* string.c (rb_str_sum): ditto.
51024
51025	* string.c (str_modifiable): declare inline.
51026	* string.c (str_independent): ditto.
51027
51028Wed Mar  5 11:50:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51029
51030	* lib/debug.rb: require 'continuation' to implement "restart"
51031	  command.  [ruby-dev:33992]
51032
51033	* lib/debug.rb (Context::debug_command): remove local variable
51034	  shadowing to shut up warnings.  [ruby-dev:33992]
51035
51036	* lib/debug.rb (Context::display_list): ditto.
51037
51038	* lib/debug.rb (Context::resume): ditto.
51039
51040	* lib/debug.rb (Context::get_thread): no longer use #index for Hash.
51041
51042Tue Mar  4 21:35:59 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51043
51044	* lib/irb.rb (IRB::Irb::eval_input): SyntaxError should not be
51045	  considered as IRB bug.  [ruby-dev:33991]
51046
51047	* lib/irb/workspace.rb (IRB::WorkSpace::filter_backtrace): should
51048	  filter 'irb.rb' as well for context mode 2 and 3.
51049
51050Tue Mar  4 19:10:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51051
51052	* hash.c (rb_hash_aset): should not copy key string when
51053	  compare_by_identity is set.  [ruby-dev:33604]
51054
51055	* hash.c (hash_equal): two hash tables are different when internal
51056	  comparison table differ.  [ruby-dev:33989]
51057
51058Tue Mar  4 16:29:06 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51059
51060	* parse.y (parser_yylex): disallow non digits '0o' expression.
51061
51062Tue Mar  4 14:35:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51063
51064	* io.c (open_key_args): use rb_io_open_with_args instead of rb_f_open.
51065	  [ruby-core:15763]
51066
51067Tue Mar  4 13:41:46 2008  Tanaka Akira  <akr@fsij.org>
51068
51069	* gc.c (add_heap): fix previous change.  [ruby-dev:33988]
51070
51071Tue Mar  4 10:21:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51072
51073	* gc.c (add_heap): use binary search to find the place to insert the
51074	  new heap slot.  [ruby-dev:33983]
51075
51076Tue Mar  4 05:30:31 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51077
51078	* io.c (open_key_args): use rb_io_open instead of rb_f_open.
51079	  [ruby-core:15746]
51080
51081Mon Mar  3 23:28:37 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>
51082
51083	* lib/webrick/httpservlet/filehandler.rb: should normalize path
51084	  separators in path_info to prevent directory traversal
51085	  attacks on DOSISH platforms.
51086	  reported by Digital Security Research Group [DSECRG-08-026].
51087
51088	* lib/webrick/httpservlet/filehandler.rb: pathnames which have
51089	  not to be published should be checked case-insensitively.
51090
51091Mon Mar  3 17:25:45 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51092
51093	* gc.c (add_heap): sort heaps array in ascending order to use
51094	  binary search.
51095
51096	* gc.c (is_pointer_to_heap): use binary search to identify object
51097	  in heaps.  works better when number of heap segments grow big.
51098
51099Mon Mar  3 17:15:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51100
51101	* re.c (rb_reg_regsub): remove too strict encoding check.
51102	  [ruby-dev:33966]
51103
51104Mon Mar  3 16:14:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51105
51106	* hash.c (rb_any_hash): shrinks all results in Fixnum range.
51107	  [ruby-core:15713]
51108
51109Sun Mar  2 23:03:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51110
51111	* io.c (rb_io_ungetc): reduce redundant call.
51112
51113Sun Mar  2 10:13:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51114
51115	* ruby.c (load_file): parse shebang in us-ascii.  a patch from
51116	  sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:33955]
51117
51118Sun Mar  2 00:08:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51119
51120	* object.c (rb_cstr_to_dbl): check for successive underscores.
51121	  [ruby-dev:33952]
51122
51123Sat Mar  1 17:59:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51124
51125	* io.c (struct argf): packed ARGF stuffs.
51126
51127	* ruby.c (proc_options): use ruby_set_inplace_mode().
51128
51129Sat Mar  1 17:51:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51130
51131	* lib/test/unit/collector/dir.rb (recursive_collect): do not always
51132	  include all test_*.rb.
51133
51134Sat Mar  1 14:14:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51135
51136	* development snapshot 1.9.0-1 released.
51137
51138Sat Mar  1 13:46:26 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51139
51140	* tool/make-snapshot: make prereq uses MINIRUBY.
51141
51142	* tool/make-snapshot: allow packaging like 1.9.0-1 by second
51143	  command-line argument.
51144
51145Sat Mar  1 13:11:03 2008  Tanaka Akira  <akr@fsij.org>
51146
51147	* test/ruby/allpairs.rb: new file for all pairs method.
51148
51149	* test/ruby/test_m17n_comb.rb: use allpairs.rb to reduce test cases.
51150
51151	* test/ruby/test_sprintf_comb.rb: ditto.
51152
51153Sat Mar  1 12:34:21 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51154
51155	* string.c (sym_inspect): use rb_str_inspect() instead of
51156	  rb_str_dump().  [ruby-dev:33946]
51157
51158Sat Mar  1 12:15:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51159
51160	* eval_method.c (rb_get_method_body): ent->method may be freed by
51161	  GC.  [ruby-dev:31819]
51162
51163	* thread.c (remove_event_hook): should not access freed memory.
51164	  [ruby-dev:31820]
51165
51166Sat Mar  1 10:31:19 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51167
51168	* io.c (read_all, rb_io_getline_fast): encoding is io_input_encoding.
51169
51170Sat Mar  1 10:09:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51171
51172	* string.c (tr_setup_table, rb_str_split_m, rb_str_chomp_bang):
51173	  simplified with rb_enc_ascget().  [ruby-dev:33944]
51174
51175Sat Mar  1 10:01:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51176
51177	* string.c (rb_str_coderange_scan_restartable): should not return
51178	  offset in the middle of a character.
51179
51180	* string.c (rb_str_coderange_scan_restartable): should not return
51181	  invalid cr value.
51182
51183Sat Mar  1 09:36:08 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51184
51185	* sprintf.c (rb_str_format): "%#.0o" should keep prefix where
51186	  "%#.0x" should not.
51187
51188Sat Mar  1 02:35:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51189
51190	* bignum.c (big2str_find_n1): check integer overflow.
51191
51192Sat Mar  1 00:29:07 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51193
51194	* encoding.c (rb_enc_dummy_p): bootstrap encodings can not be dummy.
51195
51196	* encoding.c (rb_enc_ascget): no needs to call rb_enc_precise_mbclen()
51197	  twice.
51198
51199Fri Feb 29 23:14:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51200
51201	* test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_chomp): test
51202	  updated.
51203
51204Fri Feb 29 20:58:09 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51205
51206	* test/ruby/test_iterator.rb (TestIterator::test_enumerator):
51207	  adjust test for zip behavior reversion.
51208
51209Fri Feb 29 20:25:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51210
51211	* string.c (rb_str_chomp_bang): now works on UTF-16.
51212
51213	* string.c (tr_setup_table): negation should work on non ASCII
51214	  compatible strings as well.
51215
51216	* string.c (rb_str_split_m): awk split should work on non ASCII
51217	  compatible strings as well.
51218
51219Fri Feb 29 18:08:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51220
51221	* time.c (time_strftime): format should be ascii compatible.
51222
51223	* parse.y (rb_intern3): non ASCII compatible symbols.
51224
51225	* re.c (rb_reg_regsub): add encoding check.
51226
51227	* string.c (rb_str_chomp_bang): ditto.
51228
51229	* test/ruby/test_utf16.rb (TestUTF16::test_chomp): raises exception.
51230
51231Fri Feb 29 15:16:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51232
51233	* string.c (rb_str_rpartition): calculation was done in byte indexing.
51234
51235	* test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_start_with):
51236	  allow start_with? matching on broken strings.
51237
51238Fri Feb 29 15:12:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51239
51240	* parse.y (opt_block_param): command can start just after block param
51241	  definition.  [ruby-list:44479]
51242
51243Fri Feb 29 03:22:19 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51244
51245	* test/ruby/test_time.rb (test_readers): fix typo.
51246	  (test_strftime): "UTC" is also ok for time.gmtime.strftime("%Z").
51247
51248Fri Feb 29 02:50:07 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51249
51250	* string.c (str_new): remove encoding assumption of empty string.
51251
51252	* hash.c ( rb_f_getenv, env_fetch, env_inspect): result of ENV should
51253	  be always ASCII-8BIT.
51254
51255	* object.c (nil_to_s): nil.to_s should be US-ASCII.
51256
51257Fri Feb 29 02:24:22 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
51258
51259	* ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
51260
51261	* ext/tk/lib/tk.rb, ext/tk/lib/tk/text.rb,
51262	  ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: remove adhoc check
51263	  of Ruby's features (use existence of some classes instead of
51264	  comparing with RUBY_VERSION)
51265
51266	* ext/tk/lib/tk/root.rb, ext/tk/lib/tk/autoload.rb: make TkRoot
51267	  (Tk::Root) unswitchable
51268
51269	* ext/tk/lib/multi-tk.rb: partial bug fix (still not work!!)
51270
51271Thu Feb 28 23:37:12 2008  Tanaka Akira  <akr@fsij.org>
51272
51273	* lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): use ASCII-8BIT
51274	  for charset unspecified non-text data.
51275
51276Thu Feb 28 22:19:14 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51277
51278	* encoding.c (enc_capable): IMMEDIATE_P doesn't include Qnil and Qfalse.
51279	  use SPECIAL_CONST_P.
51280
51281Thu Feb 28 19:45:52 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51282
51283	* encoding.c (enc_find): check type of argument and convert to String
51284	  if it is StringValue. [ruby-cvs:22866]
51285
51286Thu Feb 28 18:07:52 2008  Tanaka Akira  <akr@fsij.org>
51287
51288	* lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): setup encoding
51289	  by charset.
51290	  (OpenURI::Meta#meta_add_field): call meta_setup_encoding when
51291	  content-type.
51292
51293Thu Feb 28 15:29:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51294
51295	* io.c (rb_io_getline_fast): scan coderange.
51296
51297Thu Feb 28 14:36:46 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51298
51299	* string.c (rb_enc_str_copy): removed.
51300
51301Thu Feb 28 13:51:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51302
51303	* eval.c (stack_check): made flag per threads.
51304
51305	* thread.c (rb_thread_set_raised, rb_thread_reset_raised): prefixed.
51306
51307Thu Feb 28 11:43:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51308
51309	* file.c (rb_file_flock): immediately returns on EAGAIN if
51310	  non-blocking.  [ruby-core:15672]
51311
51312Thu Feb 28 11:23:50 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51313
51314	* io.c (rb_io_getline_1): get rid of segfault.  [ruby-dev:33938]
51315
51316Thu Feb 28 11:19:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51317
51318	* string.c (rb_str_reverse_bang): removed unused variables.
51319
51320	* include/ruby/encoding.h (rb_str_coderange_scan_restartable): added
51321	  prototype.
51322
51323	* string.c (rb_str_coderange_scan_restartable, rb_str_times): removed
51324	  unused variables.
51325
51326	* string.c (rb_str_reverse_bang): ditto
51327
51328	* string.c (rb_enc_str_copy): unused now.  may be used in future?
51329
51330Thu Feb 28 03:03:32 2008  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
51331
51332	* ext/tk/lib/tk.rb, ext/tk/lib/*: make default widget set
51333	  switchable between Tk (standard Tcl/Tk widget set) and
51334	  Ttk (Tile). Initial default widget set is Tk. Now, toplevel
51335	  widget classes are removed and defined as aliases.
51336	  For example, "TkButton" is an alias of the "Tk::Button" class.
51337	  Those aliases are replaced when switching default widget set.
51338	  "Tk.default_widget_set=" is the method for switching default
51339	  widget set. "Tk.default_widget_set = :Ttk" defines Ttk (Tile)
51340	  widget set as default. It means that "TkButton" denotes
51341	  "Tk::Tile::Button" class. And then, "TkButton.new" creates
51342	  a Tk::Tile::Button widget. Of course, you can back to use
51343	  standard Tk widgets as the default widget set by calling
51344	  "Tk.default_widget_set = :Tk", whenever you want. Based on
51345	  the feature, you can use Ttk widget styling engine on your
51346	  old Ruby/Tk application without modifying its source, if you
51347	  don't use widget options unsupported on Ttk widgets (At first,
51348	  call "Tk.default_widget_set = :Ttk", and next load and run
51349	  your application).
51350	  This is one step for supporting Tcl/Tk8.5 features.
51351
51352Wed Feb 27 22:55:42 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51353
51354	* string.c (rb_str_coderange_scan_restartable): coderange scanning
51355	  for partial read.
51356
51357	* io.c (read_all): set coderange when not convert encoding.
51358
51359Wed Feb 27 03:55:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51360
51361	* ext/extmk.rb, enc/make_encmake.rb: load current mkmf.rb even if
51362	  cross-compiling.
51363
51364	* ext/extmk.rb, enc/make_encmake.rb, lib/mkmf.rb: need to be 1.8
51365	  compatible for cross-compiling.
51366
51367Tue Feb 26 16:53:13 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51368
51369	* misc/ruby-mode.el (ruby-calculate-indent): should distinguish
51370	  comment and # in strings.  [ruby-dev:33874]
51371
51372Tue Feb 26 16:41:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51373
51374	* array.c (combi_len, rb_ary_product): check for overflow.
51375	  [ruby-Bugs-18355]
51376
51377Tue Feb 26 16:38:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51378
51379	* array.c (recursive_cmp): compare minimal length parts.
51380
51381Tue Feb 26 16:06:00 2008  Technorama Ltd.  <oss-ruby@technorama.net>
51382
51383	* ext/openssl/ossl_{ec,dh,dsa,rsa}.c: Remove useless warnings.
51384
51385	* ext/openssl/ossl_asn1.c: Simplify code.
51386
51387	* ext/openssl/ossl_ssl_session.c Fix compiler warnings.
51388	  Undefine #id if SSL_SESSION_get_id is not supported.
51389
51390Tue Feb 26 15:50:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51391
51392	* parse.y (value_expr_gen): removed inappropriate warning.
51393	  [ruby-core:15660]
51394
51395Tue Feb 26 15:43:42 2008  Tanaka Akira  <akr@fsij.org>
51396
51397	* parse.y (tokadd_escape): refactored.  [ruby-core:15657]
51398
51399Tue Feb 26 15:30:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51400
51401	* array.c (rb_ary_eql, rb_ary_cmp): get rid of stack overflow with
51402	  self-recursive constructs.  [ruby-Bugs-18356]
51403
51404Tue Feb 26 01:16:01 2008  Tanaka Akira  <akr@fsij.org>
51405
51406	* include/ruby/ruby.h (ROBJECT_NUMIV): renamed from ROBJECT_LEN.
51407	  (ROBJECT_IVPTR): renamed from ROBJECT_PTR.
51408
51409	* variable.c: follow the above renaming.
51410
51411	* object.c: ditto.
51412
51413	* gc.c: ditto.
51414
51415	* marshal.c: ditto.
51416
51417Mon Feb 25 17:30:29 2008  Technorama Ltd.  <oss-ruby@technorama.net>
51418
51419	* ext/openssl/digest.c ext/openssl/lib/openssl/digest.rb:
51420	  Commit patch #9280 from Akinori MUSHA.
51421	  Simplify the OpenSSL::Digest class and make use of the
51422	  existing Digest framework.
51423	  Enhance performance.
51424
51425Mon Feb 25 15:33:29 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
51426
51427	* bignum.c (big2str_karatsuba): initialize cache if not initialized.
51428
51429	* bignum.c (Init_Bignum): delayed initializing cache.
51430	  [ruby-dev:33930]
51431
51432Mon Feb 25 13:40:03 2008  Tanaka Akira  <akr@fsij.org>
51433
51434	* process.c (Init_process): share bignum objects for RLIM_INFINITY,
51435	  RLIM_SAVED_MAX and RLIM_SAVED_CUR if they are equal.
51436
51437Mon Feb 25 10:41:41 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
51438
51439	* encoding.c (Encoding#dummy): minor grammatical fixes
51440	  in rdoc documentation.
51441
51442Mon Feb 25 00:01:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51443
51444	* cygwin/GNUmakefile.in (clean-local): should be double-colon.
51445
51446Sun Feb 24 23:39:59 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51447
51448	* common.mk, {bcc,win}32/Makefile.sub (clean-local): remove
51449	  intermediate files.
51450
51451	* cygwin/GNUmakefile.in (clean-local): remove def file.
51452
51453Sun Feb 24 06:49:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51454
51455	* debug.c (ruby_set_debug_option): separated ruby_each_words().
51456
51457	* util.c (ruby_each_words): extracted from ruby_set_debug_option().
51458
51459	* ruby.c (enable_option, disable_option): allow all for all known
51460	  features.
51461
51462	* ruby.c (proc_options): generalized enable/disable options.
51463
51464	* ruby.c (ruby_init_gems): take enabled flag.  [ruby-core:14840]
51465
51466	* ruby.c (process_options): added --disable-rubyopt flag.
51467
51468	* include/ruby/util.h (ruby_each_words): prototype.
51469
51470Sun Feb 24 05:25:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51471
51472	* ruby.c (proc_options): check if argument for -E exists.
51473
51474Sun Feb 24 05:09:43 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51475
51476	* misc/ruby-style.el (ruby-style-label-indent): fix for labels inside
51477	  blocks in switch.
51478
51479Sun Feb 24 03:52:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51480
51481	* util.c (valid_filename): use O_EXCL to get rid of clobbering
51482	  existing files in race conditions.
51483
51484Sat Feb 23 21:36:13 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
51485
51486	* ext/win32ole/win32ole.c (ole_init_cp): should return value.
51487
51488Sat Feb 23 20:16:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51489
51490	* string.c (str_sublen): removed.
51491
51492	* string.c (rb_str_reverse, rb_str_reverse_bang): use
51493	  single_byte_optimizable.
51494
51495Sat Feb 23 19:25:18 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51496
51497	* string.c (rb_enc_cr_str_copy_for_substr): renamed from
51498	  rb_enc_cr_str_copy.
51499
51500	* string.c: use rb_enc_cr_str_copy_for_substr and keep coderange.
51501
51502Sat Feb 23 18:50:17 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
51503
51504	* ext/win32ole/win32ole.c (ole_encoding2cp): remove US-ASCII
51505	  mapping.
51506
51507Sat Feb 23 01:09:47 2008  Tanaka Akira  <akr@fsij.org>
51508
51509	* process.c (rlimit_resource_type): new function.
51510	  (rlimit_resource_value): new function.
51511	  (proc_getrlimit): use rlimit_resource_type to accept
51512	  symbol and string as resource type.
51513	  (proc_setrlimit): use rlimit_resource_type and rlimit_resource_value
51514	  to accept symbol and string as resource type and values.
51515
51516Fri Feb 22 21:12:42 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51517
51518	* string.c (rb_enc_cr_str_copy): check string's coderange is 7bit or
51519	  valid.
51520
51521Fri Feb 22 19:50:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51522
51523	* bignum.c (BIGZEROP): fix for longer Bignum zeros.  [ruby-Bugs-17454]
51524
51525Fri Feb 22 15:47:36 2008  Tanaka Akira  <akr@fsij.org>
51526
51527	* encoding.c (rb_enc_mbclen): return minlen instead of 1 when
51528	  a character is not found properly.
51529
51530	* string.c (rb_enc_strlen): round up string length with fixed
51531	  multibyte encoding such as UTF-32.
51532	  (rb_enc_strlen_cr): ditto.
51533	  (rb_str_substr): fix substring with fixed multibyte encoding.
51534	  (rb_str_justify): check number of characters.
51535
51536Fri Feb 22 12:11:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51537
51538	* string.c (rb_str_inspect): string of ascii incompatible encoding
51539	  should be escaped and returned as US-ASCII encoding.
51540
51541Fri Feb 22 11:16:55 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51542
51543	* string.c (rb_str_substr): copy encoding although empty string.
51544
51545Fri Feb 22 04:48:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51546
51547	* string.c (rb_str_times): empty string's coderange is CODERANGE_7BIT.
51548
51549	* string.c (rb_str_substr): ditto.
51550
51551	* encoding.c (rb_enc_compatible): empty string is compatible with not
51552	  only nonasciicompatible strings. [ruby-dev:33895]
51553
51554Thu Feb 21 17:15:15 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
51555
51556	* transcode.c: Added basic support for passing options to String#encode
51557	  via a hash. Currently only one option, with one value, is supported:
51558	  invalid: :ignore (dropping invalid byte sequences instead of
51559	  producing an error). Option naming is not yet stable!
51560
51561	* test/ruby/test_transcode.rb: Added a single test for invalid: :ignore
51562	  option. Not more tests because most data does not yet distinguish
51563	  between INVALID and UNKNOWN.
51564
51565Thu Feb 21 16:35:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51566
51567	* array.c (rb_ary_unshift_m): expands enough for argc.  [ruby-dev:33880]
51568
51569Thu Feb 21 14:49:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51570
51571	* io.c (argf_set_encoding): uses current_file after check if next
51572	  input is available.
51573
51574Thu Feb 21 14:13:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51575
51576	* io.c (rb_f_putc): invoke stdout method so that redefining putc
51577	  may take effect.   [ruby-talk:291844]
51578
51579	* io.c (rb_f_puts): ditto.
51580
51581Thu Feb 21 11:10:49 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51582
51583	* string.c: replace rb_enc_copy by rb_enc_cr_str_copy or
51584	  rb_enc_cr_str_exact_copy.
51585
51586Thu Feb 21 10:35:04 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51587
51588	* include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not
51589	  ascii compatible. [ruby-dev:33878]
51590
51591Thu Feb 21 00:01:34 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51592
51593	* configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime
51594	  load path.  [ruby-list:44600]
51595
51596Wed Feb 20 23:55:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51597
51598	* win32/win32.c (rb_w32_map_errno): exported.
51599
51600Wed Feb 20 23:28:43 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
51601
51602	* ext/readline/extconf.rb (rl_event_hook): workaround for native
51603	  windows.
51604
51605Wed Feb 20 19:42:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51606
51607	* encoding.c (rb_enc_associate_index): doesn't clear coderange
51608	  when new encoding equals to old one.
51609
51610Wed Feb 20 19:15:38 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51611
51612	* string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy.
51613	  this also copy coderange when ptr and len is equal.
51614
51615	* string.c (rb_enc_cr_str_copy): added for wrapper for rb_enc_copy.
51616	  this always copy coderange.
51617
51618	* string.c (str_replace_shared): use rb_enc_str_copy.
51619
51620	* string.c (str_new3): don't rb_enc_copy because encoding is copied
51621	  at str_replace_shared.
51622
51623Wed Feb 20 13:08:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51624
51625	* instruby.rb (parse_args): added --dir-mode, --script-mode and
51626	  --cmd-type options.  [ruby-dev:33816]
51627
51628	* instruby.rb (parse_args): added bin-arch and bin-comm to install
51629	  type, for compiled files and script files.
51630
51631	* instruby.rb (parse_args): deal with make style command line macros,
51632	  and count as long style options if prefixed with INSTALL_.
51633
51634	* instruby.rb (makedirs): use $dir_mode.  [ruby-dev:33805]
51635
51636	* instruby.rb (open_for_install): set file mode, which is now
51637	  permission mode instead of access mode.
51638
51639	* instruby.rb (bin-comm): installs scripts with replacing shebang
51640	  lines.
51641
51642Wed Feb 20 10:04:22 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
51643
51644	* io.c (open_key_args): set arg->io even if no options passed.
51645	  [ruby-dev:33072]
51646
51647Tue Feb 19 21:11:49 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51648
51649	* string.c (rb_enc_strlen_cr): get length with coderange scan.
51650
51651	* string.c (str_strlen): use rb_enc_strlen_cr. [ruby-dev:33849]
51652
51653Tue Feb 19 20:49:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51654
51655	* eval.c (rb_raise_jump): moved adjustment for control frame.
51656
51657Tue Feb 19 18:34:32 2008  Tanaka Akira  <akr@fsij.org>
51658
51659	* gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed.  [ruby-dev:33857]
51660
51661Tue Feb 19 14:27:32 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51662
51663	* ext/readline/readline.c (readline_event): prevent polling.  based on
51664	  a patch from error errorsson in [ruby-Bugs-17675].
51665
51666Tue Feb 19 11:14:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51667
51668	* eval.c (ruby_exec_node): no thread starts inside iseq compilation.
51669
51670	* eval.c (rb_f_raise): skip current control frame.  [ruby-core:15589]
51671
51672	* insns.def (opt_div): raise as the ordinary method. [ruby-core:15589]
51673
51674Mon Feb 18 15:16:30 2008  Tanaka Akira  <akr@fsij.org>
51675
51676	* string.c (rb_str_each_line): fix newline size.
51677
51678Mon Feb 18 13:06:37 2008  Tanaka Akira  <akr@fsij.org>
51679
51680	* lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
51681
51682Mon Feb 18 11:51:19 2008  Tanaka Akira  <akr@fsij.org>
51683
51684	* re.c (re_warn): defined to restore warnings for /[a-c-e]/, etc.
51685
51686Mon Feb 18 10:17:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51687
51688	* ext/pty/lib/expect.rb (IO#expect): check if peer is closed.
51689	  [ruby-Bugs-17940]
51690
51691Mon Feb 18 00:33:03 2008  Tanaka Akira  <akr@fsij.org>
51692
51693	* re.c (rb_reg_regsub): don't repeat repl twice with
51694	  "X".sub!(/./, sprintf("\\%c", 255)).
51695
51696Sun Feb 17 23:06:55 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
51697
51698	* lib/cgi.rb (CGI::escapeHTML): use gsub with Hash. [ruby-dev:33828]
51699
51700Sun Feb 17 21:38:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51701
51702	* encoding.c (ENC_CODERANGE_AND): fix broken case. [ruby-dev:33826]
51703
51704	* string.c (rb_str_times): fix broken case. [ruby-dev:33826]
51705
51706Sun Feb 17 20:45:10 2008  Tanaka Akira  <akr@fsij.org>
51707
51708	* re.c (rb_reg_prepare_re): add enable_warning parameter.
51709	  (rb_reg_adjust_startpos): disable warning by rb_reg_prepare_re.
51710	  (rb_reg_search): follow rb_reg_prepare_re parameter change.
51711
51712Sun Feb 17 20:12:41 2008  Yusuke Endoh  <mame@tsg.ne.jp>
51713
51714	* test/ruby/test_regexp.rb: add tests to achieve over 90% test
51715	  coverage of re.c.
51716
51717Sun Feb 17 15:25:08 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51718
51719	* encoding.c (ENC_CODERANGE_AND): added.
51720
51721	* string.c (rb_str_plus, rb_str_times): keep coderange.
51722
51723	* parse.y (STR_NEW0) use rb_usascii_str_new.
51724
51725Sun Feb 17 14:07:24 2008  Tanaka Akira  <akr@fsij.org>
51726
51727	* string.c (str_strlen): rb_enc_strlen doesn't fail.
51728
51729Sun Feb 17 13:03:48 2008  Tanaka Akira  <akr@fsij.org>
51730
51731	* string.c (str_sublen): use rb_enc_strlen.
51732
51733Sun Feb 17 12:17:52 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51734
51735	* enc/{euc_jp.c,gbk.c,iso_8859_1.c,iso_8859_11.c,iso_8859_13.c,
51736	  iso_8859_2.c,iso_8859_6.c,iso_8859_7.c,iso_8859_8.c,iso_8859_9.c,
51737	  shift_jis.c,windows_1251.c}: add document about encodings.
51738
51739	* enc/cp949.c: divided into new file.
51740
51741Sun Feb 17 10:59:04 2008  Tanaka Akira  <akr@fsij.org>
51742
51743	* re.c (rb_reg_quote): return US-ASCII string consistently.
51744
51745Sun Feb 17 09:17:08 2008  Tanaka Akira  <akr@fsij.org>
51746
51747	* string.c (rb_str_times): reduce loop overhead.
51748
51749Sun Feb 17 03:37:01 2008  Tanaka Akira  <akr@fsij.org>
51750
51751	* include/ruby/re.h (struct rmatch_offset): new struct for character
51752	  offsets.
51753	  (struct rmatch): new struct.
51754	  (struct RMatch): reference struct rmatch.
51755	  (RMATCH_REGS): new macro.
51756
51757	* re.c (match_alloc): initialize struct rmatch.
51758	  (pair_byte_cmp): new function.
51759	  (update_char_offset): update character offsets.
51760	  (match_init_copy): copy regexp and character offsets.
51761	  (match_sublen): removed.
51762	  (match_offset): use update_char_offset.
51763	  (match_begin): ditto.
51764	  (match_end): ditto.
51765	  (rb_reg_search): make character offset updated flag false.
51766	  (match_size): use RMATCH_REGS.
51767	  (match_backref_number): ditto.
51768	  (rb_reg_nth_defined): ditto.
51769	  (rb_reg_nth_match): ditto.
51770	  (rb_reg_match_pre): ditto.
51771	  (rb_reg_match_post): ditto.
51772	  (rb_reg_match_last): ditto.
51773	  (match_array): ditto.
51774	  (match_aref): ditto.
51775	  (match_values_at): ditto.
51776	  (match_inspect): ditto.
51777
51778	* string.c (rb_str_subpat_set): use RMATCH_REGS.
51779	  (rb_str_sub_bang): ditto.
51780	  (str_gsub): ditto.
51781	  (rb_str_split_m): ditto.
51782	  (scan_once): ditto.
51783
51784	* gc.c (obj_free): free character offsets.
51785
51786Sun Feb 17 03:13:40 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
51787
51788	* win32/resource.rb: made version infos confirm to OS spec.
51789
51790	* {bcc32,win32}/Makefile.sub (*.rc): add dependency.
51791
51792Sat Feb 16 20:49:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51793
51794	* string.c (rb_str_substr): optimized for UTF-8.
51795
51796Sat Feb 16 18:13:53 2008  Tanaka Akira  <akr@fsij.org>
51797
51798	* encoding.c (rb_enc_compatible): check encoding incapable arguments.
51799
51800Sat Feb 16 20:12:47 2008  Tanaka Akira  <akr@fsij.org>
51801
51802	* re.c (match_inspect): avoid SEGV with MatchData.allocate.inspect.
51803
51804Sat Feb 16 19:04:17 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51805
51806	* string.c (str_strlen): revert r15507. [ruby-dev:33810]
51807
51808Sat Feb 16 18:25:14 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51809
51810	* string.c (str_strlen): little more optimization.
51811	  (rb_enc_nth): remove needless variable 'c'.
51812
51813Sat Feb 16 18:00:13 2008  Tanaka Akira  <akr@fsij.org>
51814
51815	* encoding.c (rb_enc_compatible): empty strings are always compatible.
51816
51817	* string.c (rb_enc_cr_str_buf_cat): ditto.
51818
51819Sat Feb 16 16:14:35 2008  Tanaka Akira  <akr@fsij.org>
51820
51821	* string.c (rb_enc_strlen): UTF-8 character count moved to str_strlen.
51822	  (str_strlen): UTF-8 character count is only applicable for valid
51823	  UTF-8 string.  [ruby-dev:33807]
51824
51825Sat Feb 16 13:16:49 2008  Tanaka Akira  <akr@fsij.org>
51826
51827	* string.c (rb_str_sub_bang): stringize replacing hash values.
51828	  (str_gsub): ditto.
51829
51830Sat Feb 16 13:01:33 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51831
51832	* string.c (rb_enc_strlen): add search_nonascii like character
51833	  counter for UTF-8.
51834
51835Sat Feb 16 11:53:35 2008  Tanaka Akira  <akr@fsij.org>
51836
51837	* encoding.c (rb_enc_strlen): moved to string.c.
51838
51839	* string.c (rb_enc_strlen): use search_nonascii.
51840	  (str_strlen): don't use search_nonascii.
51841
51842Sat Feb 16 11:45:31 2008  Tanaka Akira  <akr@fsij.org>
51843
51844	* lib/require_relative.rb: check require_relative call in eval.
51845
51846Sat Feb 16 08:00:01 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51847
51848	* ruby.c (process_options): set default_external before loading
51849	  libraries. [ruby-dev:33801]
51850
51851Sat Feb 16 05:49:54 2008  NARUSE, Yui  <naruse@ruby-lang.org>
51852
51853	* enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
51854
51855	* string.c (single_byte_optimizable): rb_enc_mbminlen must be 1
51856	  when rb_enc_mbmaxlen is 1.
51857
51858Sat Feb 16 03:43:18 2008  Tanaka Akira  <akr@fsij.org>
51859
51860	* encoding.c (rb_enc_nth): moved to string.c.
51861
51862	* string.c (rb_enc_nth): moved from string.c.  use search_nonascii
51863	  for ASCII compatible string.
51864	  (str_nth): wrong optimization removed to fix
51865	  "a".force_encoding("EUC-JP").slice!(0,10) returns
51866	  "a\x00\x00\x00\x00\x00\x00\x00\x00\x00"
51867
51868Sat Feb 16 00:21:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51869
51870	* range.c (rb_range_beg_len): check if responds to "begin" and "end"
51871	  methods for non-Range object.
51872
51873Fri Feb 15 20:29:42 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
51874
51875	* ext/win32ole/win32ole.c (ole_init_cp): initialize WIN32OLE.codepage
51876	  according to Encoding.default_external.
51877
51878	* test/win32ole/test_win32ole.rb: ditto.
51879
51880Fri Feb 15 19:31:23 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51881
51882	* include/ruby/node.h (NODE_FL_NEWLINE): renamed from NODE_NEWLINE
51883	  to denote its a flag.  [ruby-core:15529]
51884
51885Fri Feb 15 18:23:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51886
51887	* string.c (rb_str_sub_bang, str_gsub): allows hash for replacement.
51888
51889Fri Feb 15 17:12:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51890
51891	* string.c (str_strlen): use search_nonascii() for performance.
51892
51893	* string.c (str_nth): ditto.
51894
51895Fri Feb 15 16:22:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51896
51897	* io.c (open_key_args): allow specifying both :mode and :encoding.
51898
51899Fri Feb 15 15:34:47 2008  Tanaka Akira  <akr@fsij.org>
51900
51901	* string.c (rb_str_getbyte): new method.
51902	  (rb_str_setbyte): new method.
51903
51904Fri Feb 15 15:29:03 2008  Tanaka Akira  <akr@fsij.org>
51905
51906	* lib/require_relative.rb: new file.
51907
51908Fri Feb 15 15:23:12 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51909
51910	* ext/iconv/iconv.c (iconv_convert): check upper bound.  a patch from
51911	  Daniel Luz at [ruby-Bugs-17910].
51912
51913Fri Feb 15 10:35:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51914
51915	* re.c (rb_reg_quote): set US-ASCII for ASCII-only string.
51916	  [ruby-dev:33785]
51917
51918Fri Feb 15 10:27:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51919
51920	* {win,bcc}32/Makefile.sub (config.h): added HAVE_FTRUNCATE.
51921	  [ruby-dev:33786]
51922
51923Fri Feb 15 09:44:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51924
51925	* parse.y (reg_compile_gen): reg_fragment_setenc might not raise an
51926	  exception before rb_reg_compile.
51927
51928Fri Feb 15 07:37:40 2008  Eric Hodel  <drbrain@segment7.net>
51929
51930	* lib/rdoc/ri/paths.rb: Preserve compatibility with 1.8.
51931
51932Fri Feb 15 02:42:25 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51933
51934	* configure.in (ftruncate): check if available.
51935
51936	* file.c (rb_file_truncate): check if ftruncate instead of truncate.
51937
51938Fri Feb 15 02:40:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51939
51940	* configure.in (sigsetmask): check when signal semantics is not POSIX.
51941
51942	* signal.c (USE_TRAP_MASK): set true if sigprocmask or sigsetmask is
51943	  available.
51944
51945Thu Feb 14 23:56:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51946
51947	* eval_error.c (error_print): append a newline to rest lines.
51948
51949	* parse.y (reg_compile_gen): appends error message from
51950	  rb_reg_compile() to one from reg_fragment_setenc().
51951
51952Thu Feb 14 21:00:14 2008  Tanaka Akira  <akr@fsij.org>
51953
51954	* io.c (io_reopen): check STDIN, STDOUT and STDERR mode according to
51955	  stdio streams.
51956
51957Thu Feb 14 16:07:40 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
51958
51959	* test/ruby/test_math.rb: actual-expected argument ordering for
51960	  test_math.rb fixed.  a patch from Tadashi Saito
51961	  <shiba AT mail2.accsnet.ne.jp> in [ruby-dev:33770].
51962
51963Thu Feb 14 16:02:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51964
51965	* file.c (rb_file_s_utime): inhibits with secure level 2 or higher.
51966
51967Thu Feb 14 12:30:02 2008  Tanaka Akira  <akr@fsij.org>
51968
51969	* re.c (rb_reg_preprocess_dregexp): use non-preprocessed regexp source
51970	  for result.
51971
51972Thu Feb 14 01:43:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51973
51974	* lib/timeout.rb (Timeout::timeout): made sensitive to location on the
51975	  stack.  [ruby-core:15458]
51976
51977Thu Feb 14 00:49:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
51978
51979	* common.mk (INSTRUBY_ARGS): pass mode to install.  [ruby-dev:33766]
51980
51981	* instruby.rb (parse_args): added --data-mode and --prog-mode options.
51982
51983Thu Feb 14 00:02:19 2008  Yusuke Endoh  <mame@tsg.ne.jp>
51984
51985	* eval.c (eval): allow to eval in a binding that has a singleton method.
51986	  [ruby-dev:33763]
51987
51988	* test/ruby/test_proc.rb: add tests to achieve over 70% test coverage
51989	  of proc.c.
51990
51991	* test/ruby/test_method.rb: ditto.
51992
51993Wed Feb 13 22:46:36 2008  Tanaka Akira  <akr@fsij.org>
51994
51995	* lib/pathname.rb (Pathname#sub_ext): new method.  [ruby-list:44608]
51996
51997Wed Feb 13 21:50:32 2008  Yusuke Endoh  <mame@tsg.ne.jp>
51998
51999	* proc.c (proc_curry): new method. [ruby-dev:33676]
52000
52001	* test/ruby/test_proc.rb: add tests for above.
52002
52003Wed Feb 13 20:48:50 2008  Tanaka Akira  <akr@fsij.org>
52004
52005	* include/ruby/ruby.h (RObject): add iv_index_tbl for shortcut of
52006	  RCLASS_IV_INDEX_TBL(rb_obj_class(obj)).
52007	  (ROBJECT_IV_INDEX_TBL): defined.
52008
52009	* object.c (init_copy): initialize iv_index_tbl in struct RObject.
52010
52011	* variable.c (ivar_get): use ROBJECT_IV_INDEX_TBL.
52012	  (rb_ivar_defined): ditto.
52013	  (obj_ivar_each): ditto.
52014	  (rb_obj_remove_instance_variable): ditto.
52015	  (rb_ivar_set): update iv_index_tbl in struct RObject.
52016
52017Wed Feb 13 16:21:48 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52018
52019	* lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parse
52020	  escapes. [ruby-dev:33726]
52021
52022	* bootstraptest/test_method.rb, enc/depend, instruby.rb, lib/mkmf.rb,
52023	  mkconfig.rb: revert r15443. ditto.
52024
52025Wed Feb 13 11:20:26 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52026
52027	* enc/depend: fix typo.
52028
52029	* lib/mkmf.rb: revert r15443. "\\1#{sep}\\2" is wrong if sep is ended
52030	  with "\\".
52031
52032Wed Feb 13 08:57:21 2008  Eric Hodel  <drbrain@segment7.net>
52033
52034	* lib/rdoc/markup/inline.rb:  Allow inline markup to have a leading
52035	  '#' or '\', or trailing punctuation.  i.e. *#freeze?*, *\foo?*.
52036
52037Wed Feb 13 07:21:23 2008  Eric Hodel  <drbrain@segment7.net>
52038
52039	* lib/rdoc/to_html_hyperlink.rb:  Moved linking to to_html.rb, move
52040	  crossref to to_html_crossref.rb
52041
52042Wed Feb 13 04:15:44 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52043
52044	* parse.y (arg_concat_gen, arg_append_gen): optimize for array push.
52045
52046	* parse.y (arg_concat_gen): optimize for array concat.
52047
52048	* parse.y (arg_add_gen): removed since identical to arg_append_gen.
52049
52050Tue Feb 12 21:04:51 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52051
52052	* parse.y (exc_list): should use mrhs if non array.
52053
52054Tue Feb 12 20:32:50 2008  Tadayoshi Funaba  <tadf@dotrb.org>
52055
52056	* lib/rational.rb (floor, ceil, truncate, round): do not use
52057	  definitions of Numeric.
52058
52059	* lib/rational.rb (to_i): should returns truncated self.
52060
52061	* lib/complex.rb (numerator): requires
52062	  Integer#{numerator,denominator}.
52063
52064	* lib/complex.rb (quo): do not use definition of Numeric.
52065
52066	* lib/complex.rb (>, >=, <, <=, between?, div, divmod, modulo,
52067	  floor, ceil, truncate, round): undef'ed.
52068
52069	* lib/mathn.rb (Rational#inspect): removed.
52070
52071Tue Feb 12 16:48:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52072
52073	* parse.y (args, mrhs): flattens literal array splats.
52074
52075	* parse.y (exc_list): splat literal array.
52076
52077Tue Feb 12 15:27:19 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52078
52079	* bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
52080	  instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
52081	  mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
52082	  test/ruby/test_stringchar.rb: fixes around String#gsub.
52083
52084Tue Feb 12 15:11:47 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52085
52086	* ext/json/lib/json/pure/generator.rb,
52087	  ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb,
52088	  ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb,
52089	  lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb,
52090	  lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb,
52091	  lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb,
52092	  lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb,
52093	  lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb,
52094	  lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb,
52095	  lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb,
52096	  lib/yaml/encoding.rb: performance tuning around String#gsub.
52097
52098Tue Feb 12 12:16:45 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52099
52100	* string.c (rb_str_hash_cmp): lighter version of rb_str_cmp() for
52101	  hash comparison function.
52102
52103	* hash.c (rb_any_cmp): use rb_str_hash_cmp().
52104
52105	* string.c (rb_str_casecmp): should return nil for incompatible
52106	  comparison.
52107
52108Tue Feb 12 12:13:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52109
52110	* instruby.rb: specify file mode to install.  a patch from
52111	  pegacorn  <subscriber.jp AT gmail.com> in [ruby-dev:33699].
52112
52113Tue Feb 12 11:38:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52114
52115	* numeric.c (rb_num_coerce_bin): add ID argument to specify
52116	  caller's method name.  [ruby-dev:33663]
52117
52118	* numeric.c (rb_num_coerce_cmp): ditto.
52119
52120	* numeric.c (rb_num_coerce_relop): ditto.
52121
52122	* ext/bigdecimal/bigdecimal.c (DoSomeOne): add function name argument.
52123
52124Tue Feb 12 10:25:02 2008  Eric Hodel  <drbrain@segment7.net>
52125
52126	* lib/rdoc/rdoc.rb:  Wrap parse_files' read in version check for
52127	  backwards compatibility.
52128
52129Tue Feb 12 10:15:14 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52130
52131	* ruby.c (load_file): enc must effect source encoding.
52132	  [ruby-core:15496]
52133
52134Tue Feb 12 10:16:47 2008  Eric Hodel  <drbrain@segment7.net>
52135
52136	* lib/rdoc/ri/paths.rb:  Restore require rubygems check.
52137
52138Tue Feb 12 02:42:27 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52139
52140	* range.c (range_include): specialize single character string
52141	  case (e.g. (?a ..?z).include(?x)) for performance.
52142	  [ruby-core:15481]
52143
52144	* string.c (rb_str_upto): specialize single character case.
52145
52146	* string.c (rb_str_hash): omit coderange scan for performance.
52147
52148	* object.c (rb_check_to_integer): check Fixnum first.
52149
52150	* object.c (rb_to_integer): ditto.
52151
52152	* string.c (rb_str_equal): inline memcmp to avoid unnecessary
52153	  rb_str_comparable().
52154
52155	* parse.y (rb_intern2): use US-ASCII encoding.
52156
52157	* parse.y (rb_intern_str): ditto.
52158
52159Mon Feb 11 17:21:18 2008  Kouhei Sutou  <kou@cozmixng.org>
52160
52161	* lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb:
52162	  0.2.3 -> 0.2.4.
52163
52164	* lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb:
52165	  fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some
52166	  elements if description is missed.
52167	  Reported by Michael Auzenne. Thanks!!!
52168
52169	* lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb:
52170	  RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91.
52171
52172Mon Feb 11 10:43:31 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52173
52174	* ruby.c (load_file): the encoding of DATA follows the source
52175	  file encoding. [ruby-dev:33693]
52176
52177Mon Feb 11 06:50:42 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52178
52179	* test/ruby/test_pack.rb: fix tests for 64bit CPU.
52180
52181	* test/ruby/test_bignum.rb: ditto.
52182
52183	* test/ruby/test_file_exhaustive.rb: ditto.
52184
52185	* test/ruby/test_integer.rb: ditto.
52186
52187	* test/ruby/test_time.rb: ditto.
52188
52189	* test/ruby/test_numeric.rb: ditto.
52190
52191	* test/ruby/test_fixnum.rb: ditto.
52192
52193Mon Feb 11 00:18:57 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52194
52195	* lib/benchmark.rb (Job::Benchmark#item): fix typo.
52196
52197Sun Feb 10 21:58:32 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52198
52199	* common.mk (encdb, transdb): depend on $(PREP).
52200
52201Sun Feb 10 16:58:20 2008  Eric Hodel  <drbrain@segment7.net>
52202
52203	* lib/rubygems*, test/rubygems*, gem_prelude.rb: Import RubyGems
52204	  r1601.  [ruby-core:15381]
52205
52206Sun Feb 10 15:07:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52207
52208	* {bcc32,win32,wince}/Makefile.sub (MISSING): added cbrt.obj.
52209
52210Sun Feb 10 12:58:33 2008  Eric Hodel  <drbrain@segment7.net>
52211
52212	* lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.
52213	* lib/rdoc/generator/html.rb: Pull out ContextUser classes and related
52214	  methods for reuse.
52215	* lib/rdoc/generator.rb: Move ContextUser classes to
52216	  RDoc::Generator::Context for reuse.
52217	* lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier.
52218	* lib/rdoc/options.rb: Make RDoc::Options easier to use without
52219	  parsing an ARGV.
52220	* lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter.
52221	* lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make
52222	  RDoc markup conversion easier.
52223	* lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to
52224	  test.
52225	* lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML
52226	  generator for easier reusability.
52227	* lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet
52228	  lists.
52229	* lib/rdoc/generators/html/html.rb: Fix Constant display.
52230
52231Sat Feb  9 23:44:29 2008  Tanaka Akira  <akr@fsij.org>
52232
52233	* missing/tgamma.c (tgamma): use lgamma_r if available.
52234
52235Sat Feb  9 23:22:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52236
52237	* ext/bigdecimal/extconf.rb: simplified the condition.
52238
52239Sat Feb  9 21:20:28 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52240
52241	* test/ruby/test_math.rb: add tests for Math.gamma, Math.lgamma and
52242	  Math.cbrt, and use assert_in_delta instead of assert.
52243
52244Sat Feb  9 18:34:45 2008  Tanaka Akira  <akr@fsij.org>
52245
52246	* math.c (math_cbrt): new method Math.cbrt.
52247
52248	* configure.in (cbrt): check for replacement functions.
52249
52250	* missing/cbrt.c: new file.
52251
52252Sat Feb  9 17:51:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52253
52254	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more
52255	  precision.  [ruby-talk:290296]
52256
52257	* ext/bigdecimal/bigdecimal.c (BASE_FIG): made constant.
52258
52259	* ext/bigdecimal/extconf.rb: ditto.  [ruby-dev:33658]
52260
52261Sat Feb  9 12:06:45 2008  Tanaka Akira  <akr@fsij.org>
52262
52263	* missing/tgamma.c (tgamma): add error check.
52264
52265Sat Feb  9 11:47:03 2008  Tanaka Akira  <akr@fsij.org>
52266
52267	* math.c (math_gamma): add error check.
52268	  (math_lgamma): ditto.
52269
52270Sat Feb  9 11:09:26 2008  Tanaka Akira  <akr@fsij.org>
52271
52272	* missing/lgamma_r.c (lgamma_r): return HUGE_VAL for non-positive
52273	  integers.
52274
52275Sat Feb  9 10:03:07 2008  Tanaka Akira  <akr@fsij.org>
52276
52277	* string.c (rb_str_new4): copy encoding from orig, instead of shared
52278	  one.
52279
52280Sat Feb  9 01:01:38 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52281
52282	* file.c (lchmod_internal): fix warning cast from pointer to integer of
52283	  different size.
52284
52285Sat Feb  9 00:44:52 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52286
52287	* lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
52288	  SystemExit and SignalException.  [ruby-core:15359]
52289
52290Fri Feb  8 23:51:36 2008  Tanaka Akira  <akr@fsij.org>
52291
52292	* missing/lgamma_r.c (lgamma_r): use smaller argument for sin function.
52293
52294Fri Feb  8 22:10:36 2008  Tanaka Akira  <akr@fsij.org>
52295
52296	* lib/open-uri.rb (OpenURI.open_http): rescue URI::InvalidURIError by
52297	  URI.parse for location URI.
52298
52299Fri Feb  8 19:22:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52300
52301	* ext/iconv/iconv.c (rb_str_derive): uses rb_str_subseq() for byte
52302	  length.  [ruby-dev:33653]
52303
52304	* ext/iconv/iconv.c (iconv_convert): added toidx argument to set
52305	  encoding of successfully converted string.  [ruby-dev:33221]
52306
52307Fri Feb  8 15:09:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52308
52309	* lib/mkmf.rb (xsystem): expand macros like as make.
52310
52311Fri Feb  8 09:27:57 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52312
52313	* lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
52314
52315Fri Feb  8 00:07:24 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52316
52317	* test/ruby/test_hash.rb: follow the change of Hash#flatten.
52318
52319	* test/ruby/test_time.rb: add tests to achieve over 70% test coverage
52320	  of time.c.
52321
52322	* test/ruby/test_prec.rb: ditto over 90% for prec.c.
52323
52324Thu Feb  7 19:11:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52325
52326	* string.c (rb_str_dup): reverted unneeded change.  [ruby-dev:33634]
52327
52328	* string.c (rb_str_replace): makes frozen shared string before
52329	  sharing.
52330
52331Thu Feb  7 16:33:51 2008  Tanaka Akira  <akr@fsij.org>
52332
52333	* io.c (io_reopen): don't change access mode for stdin, stdout and
52334	  stderr.  [ruby-core:15360]
52335
52336Thu Feb  7 16:33:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52337
52338	* string.c (str_replace_shared): replaces string with sharing.
52339
52340	* string.c (rb_str_new4, rb_str_associate, rb_str_associated): allows
52341	  associated strings shared.
52342
52343	* string.c (rb_str_dup, rb_str_substr, rb_str_replace): shares memory.
52344	  [ruby-core:15400]
52345
52346Thu Feb  7 15:42:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52347
52348	* string.c (rb_str_end_with): compares with the suffix.
52349
52350Thu Feb  7 15:03:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52351
52352	* enc/trans/korean.c: add support for CP949 by Park Ji-In.
52353	  [ruby-dev:33626]
52354
52355Thu Feb  7 11:11:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52356
52357	* missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
52358	  by literal 0.0. use const variable instead.
52359
52360	* {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and
52361	  tgamma.obj.
52362
52363Thu Feb  7 10:39:21 2008  Tanaka Akira  <akr@fsij.org>
52364
52365	* math.c (math_gamma): new method Math.gamma.
52366	  (math_lgamma): new method Math.lgamma.
52367
52368	* include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA.
52369	  (lgamma_r): declared unless HAVE_LGAMMA_R.
52370
52371	* configure.in (tgamma): check for replacement functions.
52372	  (lgamma_r): ditto.
52373
52374	* missing/tgamma.c: new file.  based on gamma.c from
52375	  "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook
52376	  in C language) (Gijyutsu hyouron sha, Tokyo, 1991)
52377	  by Haruhiko Okumura.
52378
52379	* missing/lgamma_r.c: ditto.
52380
52381	* LEGAL (missing/tgamma.c): describe as public domain.
52382	  (missing/lgamma_r.c): ditto.
52383
52384Thu Feb  7 09:05:57 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52385
52386	* ext/nkf/nkf-utf8/nkf.c (nkf_enc_from_index): BINARY does not
52387	  have in-bound encoding index.
52388
52389Thu Feb  7 04:26:28 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52390
52391	* enc/trans/korean.c: add EUC-KR conversion support by Park Ji-In.
52392	  [ruby-dev:33621]
52393
52394Wed Feb  6 01:47:39 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52395
52396	* hash.c (rb_hash_flatten): do not flatten recursively by default.
52397	  [ruby-dev:33603]
52398
52399Wed Feb  6 00:50:19 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52400
52401	* insns.def (adjuststack): never use INC_SP with minus value because
52402	  some compilers cannot deal it correctly. use DEC_SP instead.
52403
52404Wed Feb  6 00:48:41 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52405
52406	* test/ruby/test_hash.rb: add tests to achieve over 90% test coverage
52407	  of hash.c.
52408
52409	* test/ruby/test_env.rb: ditto.
52410
52411Wed Feb  6 00:24:49 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52412
52413	* hash.c (env_rassoc): remove access to free'd environment on mswin32.
52414
52415Tue Feb  5 21:57:34 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52416
52417	* vm.c (rb_call_super): pass a passed block when super is called via
52418	  rb_call_super.  [ruby-dev:33598]
52419
52420Tue Feb  5 11:14:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52421
52422	* lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.
52423
52424	* lib/mkmf.rb (install_files): rejects files matching to
52425	  $NONINSTALLFILES.
52426
52427	* lib/mkmf.rb (init_mkmf): defaults $NONINSTALLFILES to backup and
52428	  temporary files.
52429
52430Mon Feb  4 21:52:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52431
52432	* lib/delegate.rb (DelegateClass): use define_method instead of
52433	  module_eval to improve performance.  [ruby-dev:33586]
52434
52435Mon Feb  4 16:44:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52436
52437	* configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L.
52438	  [ruby-dev:33584]
52439
52440Mon Feb  4 14:51:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52441
52442	* parse.y (rb_enc_symname2_p): support "!", "!=" and "!~".
52443	  [ruby-dev:33592]
52444
52445Mon Feb  4 13:58:42 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52446
52447	* lib/delegate.rb (Delegator.preserved, DelegateClass.methods): extend
52448	  shouldn't be delegated. [ruby-dev:32987], etc.
52449
52450Mon Feb  4 08:59:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52451
52452	* lib/cgi.rb (CGI::QueryExtension::[]): no more transition
52453	  extend(CGI::Value).  a patch from <tommy AT tmtm.org> in
52454	  [ruby-dev:33583].
52455
52456Sun Feb  3 21:13:13 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52457
52458	* test/ruby/test_numeric.rb: forgot to add this (at r15360).
52459
52460	* test/ruby/test_file_exhaustive.rb: add tests to achieve over 80% test
52461	  coverage of file.c.
52462
52463Sat Feb  2 20:06:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52464
52465	* lib/benchmark.rb (Benchmark::realtime): make Benchmark#realtime
52466	  a bit faster.  a patch from Alexander Dymo <dymo AT ukrpost.ua> in
52467	  [ruby-core:15337].
52468
52469Sat Feb  2 17:40:21 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52470
52471	* time.c (time_cmp): Time.<=> no longer supports comparison with
52472	  numeric. [ruby-core:15332]
52473
52474Sat Feb  2 09:53:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52475
52476	* configure.in (darwin): disabled fat-binary support which confuses
52477	  configure much, since ``universal'' implies hidden cross-compiling.
52478	  TODO: ruby and libruby.bundle might be possible to bound with `lipo'
52479	  after builds for each archs.  Anyway, config.h and rbconfig.rb must
52480	  be separated definitely at least.
52481
52482Sat Feb  2 09:28:36 2008  Tanaka Akira  <akr@fsij.org>
52483
52484	* random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITS
52485	  is 2.  fixed by Kenta Murata.  [ruby-dev:33565]
52486
52487Fri Feb  1 21:42:37 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52488
52489	* configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t
52490	  consistent with the library implementation of MacOS X 10.5.
52491	  [ruby-dev:33461]
52492
52493	* configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.
52494
52495Fri Feb  1 11:44:22 2008  Tanaka Akira  <akr@fsij.org>
52496
52497	* tool/compile_prelude.rb (C_ESC): use octal escape to avoid
52498	  "\x09for (;;) ..." to be interpret the first character 0x9f.
52499
52500Thu Jan 31 23:06:42 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52501
52502	* test/ruby/test_bignum.rb: suppress warnings during test.
52503
52504	* test/ruby/test_enum.rb: ditto.
52505
52506	* test/ruby/test_integer.rb: add tests to achieve over 90% test
52507	  coverage of numeric.c.
52508
52509	* test/ruby/test_float.rb: ditto.
52510
52511	* test/ruby/test_fixnum.rb: ditto.
52512
52513	* test/ruby/test_numeric.rb: ditto.
52514
52515	* test/ruby/test_pack.rb: add tests to achieve over 90% test coverage
52516	  of pack.c.
52517
52518Thu Jan 31 17:30:42 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52519
52520	* marshal.c (r_object0): no need to call r_entry for immediate values.
52521
52522Thu Jan 31 15:46:30 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52523
52524	* lib/rdoc/ri/formatter.rb (output): add accessor.
52525
52526	* lib/rdoc/ri/display.rb (page): replace @formatter.output instead of
52527	  $stdout.
52528
52529Thu Jan 31 15:06:50 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52530
52531	* marshal.c (r_object0): call r_entry/r_leave to call proc when
52532	  TYPE_FIXNUM, TYPE_NIL, TYPE_TRUE, TYPE_FALSE, TYPE_SYMBOL.
52533
52534Thu Jan 31 14:03:38 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52535
52536	* lib/rdoc/ri/display.rb (display_method_list, display_class_list):
52537	  use @formatter.raw_print_line instead of puts.
52538
52539	* lib/rdoc/ri/driver.rb (select_methods): new method to collect all
52540	  instance/class methods which match with passed pattern.
52541
52542	* lib/rdoc/ri/driver.rb (run): use class_cache's result directly
52543	  instead of select_classes' because it's removed now.
52544
52545	* lib/rdoc/ri/driver.rb (run): search methods when passed name is not
52546	  class name. [ruby-core:15309]
52547
52548Thu Jan 31 08:31:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52549
52550	* common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that can
52551	  be executed even with -n.
52552
52553Thu Jan 31 06:24:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52554
52555	* io.c (rb_io_close_read): replaces fptr with the tied writer if
52556	  duplex.
52557
52558	* io.c (rb_io_close_write): unties the tied IO for writing if duplex.
52559	  [ruby-dev:33532]
52560
52561Thu Jan 31 02:22:04 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52562
52563	* io.c (open_key_args): allow encoding key to take two encoding
52564	  names.  a patch from <rubikitch AT ruby-lang.org>.  [ruby-dev:33540]
52565
52566Thu Jan 31 02:15:49 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52567
52568	* parse.y (dsym): allow empty symbols.  [ruby-core:15248]
52569
52570Thu Jan 31 00:01:51 2008  Tanaka Akira  <akr@fsij.org>
52571
52572	* io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'.
52573	  fixed by Petr Chromec.
52574	  http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698
52575
52576Wed Jan 30 17:32:49 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52577
52578	* enc/*.c: add GB12345, UCS-{2,4}{BE,LE}.
52579
52580Wed Jan 30 14:32:18 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52581
52582	* lib/rdoc/ri/driver.rb (cache_file_for): shouldn't use `:' in filename.
52583
52584Wed Jan 30 14:27:19 2008  Tanaka Akira  <akr@fsij.org>
52585
52586	* string.c (rb_str_succ): use wrapped character as a carry for
52587	  ASCII incompatible encoding.
52588
52589Wed Jan 30 12:26:59 2008  Tanaka Akira  <akr@fsij.org>
52590
52591	* enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
52592	  (UTF16_IS_SURROGATE_SECOND): ditto.
52593	  (UTF16_IS_SURROGATE): defined.
52594	  (utf16be_mbc_enc_len): validation implemented.
52595
52596	* enc/utf_16le.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
52597	  (UTF16_IS_SURROGATE_SECOND): ditto.
52598	  (UTF16_IS_SURROGATE): defined.
52599	  (utf16le_mbc_enc_len): validation implemented.
52600
52601Wed Jan 30 12:06:43 2008  Tadayoshi Funaba  <tadf@dotrb.org>
52602
52603	* bignum.c (rb_cstr_to_inum): '0_2' is a valid representation.
52604
52605Wed Jan 30 11:57:50 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52606
52607	* bootstraptest/runner.rb: fix -I../../hoge case.
52608
52609Wed Jan 30 01:25:16 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52610
52611	* test/ruby/test_range.rb: add tests to achieve over 90% test coverage
52612	  of range.c.
52613
52614Wed Jan 30 00:09:37 2008  Tanaka Akira  <akr@fsij.org>
52615
52616	* enc/euc_tw.c (euctw_mbc_enc_len): validation implemented.
52617
52618Tue Jan 29 22:58:11 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52619
52620	* test/ruby/test_enumerator.rb: add tests to achieve over 90% test
52621	  coverage of enumerator.c.
52622
52623	* test/ruby/test_enum.rb: add for enum.c.
52624
52625Tue Jan 29 22:29:48 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52626
52627	* enumerator.c: fix documents.
52628
52629Tue Jan 29 22:27:11 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52630
52631	* range.c: fix SEGV by ("a" .. "z").step(2 ** 30) { }.
52632
52633Tue Jan 29 21:59:16 2008  Tanaka Akira  <akr@fsij.org>
52634
52635	* enc/euc_tw.c (euctw_islead): 0x8e is a leading byte.
52636
52637Tue Jan 29 21:55:35 2008  Yusuke Endoh  <mame@tsg.ne.jp>
52638
52639	* bignum.c: move object allocation out of blocking_region.
52640	  [ruby-dev:33139]
52641
52642Tue Jan 29 20:37:36 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52643
52644	* enc/trans/make_transdb.rb: add for make transdb.h.
52645
52646	* dmytranscode.c: add for miniruby.
52647
52648	* enc/gbk.c (gbk_left_adjust_char_head, gbk_is_allowed_reverse_match):
52649	  fix odd regexp match. [ruby-dev:33502]
52650
52651Tue Jan 29 20:17:06 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52652
52653	* {bcc32,win32}/Makefile.sub (MINIOBJS): add dmytranscode.$(OBJEXT).
52654
52655Tue Jan 29 19:39:40 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52656
52657	* configure.in, common.mk: fix rule for dmytranscode.o.
52658
52659Tue Jan 29 19:03:16 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52660
52661	* enc/trans/japanese.c (rb_to_Windows_31J): to 'Windows-31J'.
52662
52663	* common.mk: add rules for transdb.h.
52664
52665	* transcode.c (init_transcoder_table): use transdb.h.
52666
52667Tue Jan 29 18:05:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52668
52669	* encoding.c (encdb_{replicate,alias,dummy,declare}): define only if
52670	  NO_ENCDB_H is not defined.
52671
52672Tue Jan 29 17:54:11 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52673
52674	* enc/gbk.c (EncLen_gbk): too short. [ruby-dev:33497]
52675
52676Tue Jan 29 17:25:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52677
52678	* dmyencoding.c, encoding.c (enc_init_db, NO_ENCDB_H):
52679	  miniruby doesn't use encdb.
52680
52681	* common.mk: encdb.h use miniruby.
52682
52683Tue Jan 29 17:37:36 2008  Tanaka Akira  <akr@fsij.org>
52684
52685	* enc/gb18030.c (gb18030_mbc_enc_len): validation implemented.
52686
52687Tue Jan 29 17:01:07 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52688
52689	* tool/ifchange: remove $temp when unchanged.
52690
52691Tue Jan 29 16:59:01 2008  Tanaka Akira  <akr@fsij.org>
52692
52693	* insns.def (toregexp): generate a regexp from strings instead of one
52694	  string.
52695
52696	* re.c (rb_reg_new_ary): defined for toregexp.  it concatenates
52697	  strings after each string is preprocessed.
52698
52699	* compile.c (compile_dstr_fragments): split from compile_dstr.
52700	  (compile_dstr): call compile_dstr_fragments.
52701	  (compile_dregx): defined for dynamic regexp.
52702	  (iseq_compile_each): use compile_dregx for dynamic regexp.
52703
52704	  [ruby-dev:33400]
52705
52706Tue Jan 29 16:25:26 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52707
52708	* common.mk, ext/extmk.rb: always make encdb.h.
52709
52710Tue Jan 29 12:53:39 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52711
52712	* enc/gbk.c: add GBK, CP936 and CP949.
52713
52714	* enc/euc_kr.c: remove CP949.
52715
52716	* enc/euc_cn.c: remove CP936 and rename to gb2312.c
52717
52718	* enc/gb2312.c: GB2312 is preferred MIME name.
52719
52720Tue Jan 29 03:01:29 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52721
52722	* parse.y (reg_fragment_setenc_gen): US-ASCII script special code.
52723
52724	* parse.y (reg_fragment_check_len, reg_compile_gen): no need such
52725	  trick.
52726	  [ruby-dev:33399]
52727
52728	* test/ruby/test_m17n.rb (test_regexp_usacii_literal): add tests.
52729
52730Tue Jan 29 01:38:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52731
52732	* common.mk ($(srcdir)/revision.h): no need to show ifchange execution
52733	  because ifchange echos updated or unchanged.
52734
52735Tue Jan 29 01:26:23 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52736
52737	* common.mk (up): use last changed revision.
52738
52739	* common.mk (up): force to update revision.h.
52740
52741Tue Jan 29 00:12:17 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52742
52743	* bignum.c (rb_big2str0): should be US-ASCII.
52744
52745Tue Jan 29 00:10:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52746
52747	* misc/ruby-mode.el (ruby-mode-set-encoding): updates magic comment.
52748
52749Mon Jan 28 23:47:52 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52750
52751	* parse.y (rb_id2str, ripper_initialize, Init_ripper):
52752	  use rb_usascii_str_new2. [ruby-dev:33449]
52753
52754Mon Jan 28 19:37:08 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52755
52756	* ext/win32ole/win32ole.c (ole_cp2encoding): new function.
52757
52758	* ext/win32ole/win32ole.c (ole_wc2vstr, ole_variant2val, fole_missing):
52759	  set encoding to result.
52760
52761	* ext/win32ole/win32ole.c (fole_s_set_code_page, Init_win32ole): set
52762	  default encoding.
52763	  [ruby-dev:33433]
52764
52765Mon Jan 28 11:17:28 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52766
52767	* string.c, parse.y, re.c: use rb_ascii8bit_encoding.
52768
52769Mon Jan 28 17:54:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52770
52771	* enc/utf_7.h: add dummy encoding UTF-7 and its alias CP65000.
52772
52773Mon Jan 28 17:41:19 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52774
52775	* enc/utf_8.c: add alias CP65001.
52776
52777Mon Jan 28 15:33:23 2008  Tanaka Akira  <akr@fsij.org>
52778
52779	* enc/big5.c (big5_mbc_enc_len): validation implemented.
52780
52781Mon Jan 28 13:02:02 2008  Tanaka Akira  <akr@fsij.org>
52782
52783	* enc/euc_kr.c (euckr_mbc_enc_len): validation implemented.
52784
52785Mon Jan 28 11:24:49 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52786
52787	* parse.y (parser_str_new): encoding of UTF-8 literal string in
52788	  US-ASCII script is UTF-8. [ruby-dev:33406]
52789
52790Mon Jan 28 10:25:59 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52791
52792	* test/ruby/test_m17n.rb (test_magic_comment): add test.
52793
52794Mon Jan 28 09:34:54 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52795
52796	* common.mk (help): use double quotes for nmake.
52797
52798Mon Jan 28 00:39:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52799
52800	* parse.y (parser_set_encode): check if encoding is ASCII compatible.
52801
52802Mon Jan 28 01:21:15 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
52803
52804	* io.c (rb_open_file): should check NUL in path.
52805	  <http://www.rubyist.net/~matz/20080125.html#c01>.
52806
52807	* io.c (rb_io_s_popen): ditto.
52808
52809	* io.c (rb_io_reopen): ditto.
52810
52811	* io.c (next_argv): ditto.
52812
52813Sun Jan 27 23:33:35 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52814
52815	* sprintf.c (rb_str_format): fix for left justify flag.
52816
52817	* sprintf.c (rb_str_format): zero-precision zero bug revised.
52818	  [ruby-dev:33419]
52819
52820Sun Jan 27 23:20:54 2008  Tanaka Akira  <akr@fsij.org>
52821
52822	* include/ruby/oniguruma.h: precise mbclen API redesigned to avoid
52823	  inline functions.
52824	  (onigenc_mbclen_charfound): removed.
52825	  (onigenc_mbclen_needmore): removed.
52826	  (onigenc_mbclen_recover): removed.
52827	  (ONIGENC_MBCLEN_CHARFOUND): removed.
52828	  (ONIGENC_MBCLEN_CHARFOUND_P): defined.
52829	  (ONIGENC_MBCLEN_CHARFOUND_LEN): defined.
52830	  (ONIGENC_MBCLEN_INVALID): removed.
52831	  (ONIGENC_MBCLEN_INVALID_P): defined.
52832	  (ONIGENC_MBCLEN_NEEDMORE): removed.
52833	  (ONIGENC_MBCLEN_NEEDMORE_P): defined.
52834	  (ONIGENC_MBCLEN_NEEDMORE_LEN): defined.
52835	  (ONIGENC_MBC_ENC_LEN): use onigenc_mbclen_approximate.
52836
52837	* regenc.c (onigenc_mbclen_approximate): defined.
52838
52839	* include/ruby/encoding.h (MBCLEN_CHARFOUND): removed.
52840	  (MBCLEN_INVALID): removed.
52841	  (MBCLEN_NEEDMORE): removed.
52842	  (MBCLEN_CHARFOUND_P): defined.
52843	  (MBCLEN_INVALID_P): defined.
52844	  (MBCLEN_NEEDMORE_P): defined.
52845	  (MBCLEN_CHARFOUND_LEN): defined.
52846	  (MBCLEN_NEEDMORE_LEN): defined.
52847
52848	* encoding.c: use new API.
52849
52850	* re.c: ditto.
52851
52852	* string.c: ditto.
52853
52854	* parse.y: ditto.
52855
52856Sun Jan 27 22:55:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52857
52858	* parse.y (value_expr_gen): reverted r12880.  [ruby-dev:33388]
52859
52860Sun Jan 27 22:33:39 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52861
52862	* sprintf.c (rb_str_format): fix for octal with precision.
52863	  [ruby-dev:33411]
52864
52865Sun Jan 27 22:31:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52866
52867	* misc/ruby-mode.el (ruby-mode-set-encoding): automatically insert
52868	  encoding magic comment.
52869
52870	* misc/ruby-mode.el (ruby-mode): set ruby-mode-set-encoding to buffer
52871	  local before-save-hook.
52872
52873Sun Jan 27 19:51:15 2008  Tanaka Akira  <akr@fsij.org>
52874
52875	* string.c (rb_str_inspect): avoid exception by
52876	  "\#\xa1".force_encoding("euc-jp").inspect.
52877
52878Sun Jan 27 19:07:33 2008  Tanaka Akira  <akr@fsij.org>
52879
52880	* string.c (rb_str_succ): warning suppressed.
52881
52882Sun Jan 27 18:18:13 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52883
52884	* common.mk (help): show major targets.
52885
52886Sun Jan 27 17:54:48 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52887
52888	* ext/nkf/nkf.c: raise error when no output encoding is given.
52889
52890Sun Jan 27 17:20:10 2008  Tanaka Akira  <akr@fsij.org>
52891
52892	* string.c (rb_str_succ): don't increment/decrement codepoint.
52893
52894Sun Jan 27 16:03:42 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52895
52896	* lib/irb/ruby-lex.rb (RubyLex#buf_input): use chars.to_a.
52897
52898Sun Jan 27 16:27:22 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52899
52900	* ext/nkf/nkf-utf8: update nkf.
52901
52902Sun Jan 27 16:25:27 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52903
52904	* re.c (rb_reg_source): set encoding as regexp encoding.
52905
52906Sun Jan 27 05:56:39 2008  Tanaka Akira  <akr@fsij.org>
52907
52908	* re.c (rb_reg_preprocess): force fixed encoding when ASCII
52909	  incompatible source string.
52910
52911Sat Jan 26 23:46:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52912
52913	* sprintf.c (rb_str_format): zero-precision zero should be empty.
52914	  [ruby-dev:33363]
52915
52916	* sprintf.c (rb_str_format): not prepend octal prefix to negative or
52917	  zero value.  [ruby-dev:33363], [ruby-dev:33367]
52918
52919Sat Jan 26 23:42:15 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52920
52921	* parse.y (assignable_gen, keyword_to_name): __ENCODING__ was missing.
52922
52923Sat Jan 26 19:08:45 2008  Tanaka Akira  <akr@fsij.org>
52924
52925	* marshal.c (w_object): dump string encoding in USERDEF.
52926	  [ruby-dev:33401]
52927
52928Sat Jan 26 17:42:23 2008  Koichi Sasada  <ko1@atdot.net>
52929
52930	* compile.c (iseq_compile_each): validate argument expr of "next"
52931	  statement.
52932
52933	* bootstraptest/test_syntax.rb: add a test.
52934
52935Sat Jan 26 17:22:46 2008  Koichi Sasada  <ko1@atdot.net>
52936
52937	* compile.c, compile.h: fix to calculate correct stack depth
52938	   at each instruction.
52939
52940Sat Jan 26 09:41:02 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52941
52942	* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
52943	  multi-byte string.
52944
52945	* test/json/{test_json.rb, test_json_unicode.rb}:
52946	  add magic comment.
52947
52948Sat Jan 26 09:30:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
52949
52950	* include/ruby/encoding.h (rb_usascii_encindex): added prototype.
52951
52952	* include/ruby/intern.h (rb_usascii_str_new, rb_usascii_str_new2):
52953	  ditto.
52954
52955Sat Jan 26 09:17:13 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52956
52957	* string.c (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when
52958	  empty string (len == 0).
52959
52960Sat Jan 26 03:41:53 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
52961
52962	* parse.y (parser_initialize): set default script encoding as US-ASCII.
52963
52964	* ruby.c (load_file): ditto.
52965
52966	* ruby.c (process_options): set script encoding of -e from locale
52967	  except when -K is specified.
52968
52969	* ruby.c (load_file): set script encoding of stdin from locale except
52970	  when -K is specified. [ruby-dev:33375]
52971
52972Sat Jan 26 02:51:06 2008  Koichi Sasada  <ko1@atdot.net>
52973
52974	* compile.c, compile.h: fix stack pointer issues.
52975	  calculate correct stack depth at compile time.
52976
52977	* insns.def (emptstack): remove it and add a new insn "adjuststack".
52978
52979	* bootstraptest/test_knownbug.rb: move/remove fixed test.
52980
52981	* bootstraptest/test_syntax.rb: ditto.
52982
52983Sat Jan 26 00:17:18 2008  NARUSE, Yui  <naruse@ruby-lang.org>
52984
52985	* string.c (rb_str_usascii_new{,2}: defined.
52986	  (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when empty
52987	  string.
52988
52989	* encoding.c (rb_usascii_encoding, rb_usascii_encindex): defined.
52990	  (rb_enc_inspect, enc_name, rb_locale_charmap, rb_enc_name_list_i):
52991	  use rb_str_ascii_new.
52992
52993	* array.c (recursive_join, inspect_ary): ditto.
52994
52995	* object.c (nil_to_s, nil_inspect, true_to_s, false_to_s,
52996	  rb_mod_to_s): ditto.
52997
52998	* hash.c (inspect_hash, rb_hash_inspect, rb_f_getenv, env_fetch,
52999	  env_clear, env_to_s, env_inspect): ditto.
53000
53001	* numeric.c (flo_to_s, int_chr, rb_fix2str): ditto.
53002
53003	* bignum.c (rb_big2str): ditto.
53004
53005	* file.c (rb_file_ftype, rb_file_s_dirname, rb_file_s_extname,
53006	  file_inspect_join, Init_file): ditto.
53007
53008	* test/ruby/test_ruby_m17n.rb: add checks for encoding of string.
53009
53010Sat Jan 26 01:35:46 2008  Tanaka Akira  <akr@fsij.org>
53011
53012	* marshal.c (r_byte): use getbyte instead of getc.
53013	  (marshal_load): ditto.
53014	  [ruby-dev:33264]
53015
53016Sat Jan 26 00:43:40 2008  Tanaka Akira  <akr@fsij.org>
53017
53018	* io.c (rb_io_getline_fast): don't care ASCII incompatible encoding.
53019	  (prepare_getline_args): generate a newline according to IO encoding
53020	  when necessary.
53021	  (rb_io_getline_1): call rb_io_getline_fast only for ASCII
53022	  compatible encoding.
53023
53024Fri Jan 25 21:49:36 2008  Tanaka Akira  <akr@fsij.org>
53025
53026	* string.c (rb_str_buf_cat_ascii): use rb_enc_cr_str_buf_cat.
53027
53028Fri Jan 25 19:38:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53029
53030	* common.mk (version.$(OBJEXT)): depends on $(srcdir)/revision.h.
53031
53032	* common.mk (revision.h): extracts revision number with ``svn info''.
53033
53034	* common.mk (up): target to update from the repository.
53035
53036	* Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a
53037	  file if changed.
53038
53039	* tool/ifchange: for unixen.
53040
53041	* win32/ifchange.bat: some fix
53042
53043Fri Jan 25 17:12:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53044
53045	* ruby.c (load_file): set default to ASCII-8BIT explicitly if -K
53046	  option is not given.
53047
53048Fri Jan 25 16:31:47 2008  Tanaka Akira  <akr@fsij.org>
53049
53050	* include/ruby/intern.h (rb_str_buf_cat_ascii): declared.
53051
53052	* string.c (rb_str_buf_cat_ascii): defined.
53053
53054	* re.c (rb_reg_s_union): use rb_str_buf_cat_ascii to support ASCII
53055	  incompatible encoding.
53056
53057Fri Jan 25 16:11:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53058
53059	* ruby.c (process_options, load_file, rb_load_file): propagates script
53060	  encoding by -K to libraries.  [ruby-dev:33156]
53061
53062Fri Jan 25 15:56:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53063
53064	* ruby.c (cmdline_arguments): split argc and argv from cmdline_options.
53065
53066	* ruby.c (process_options): not set encoding of -e option from -E
53067	  option if they are not compatible.
53068
53069Fri Jan 25 13:15:23 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53070
53071	* ruby.c (proc_options, process_options, load_file): shouldn't effect
53072	  --encoding to script encoding. [ruby-dev:33169]
53073
53074Fri Jan 25 10:31:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53075
53076	* */*.bat: set svn:mime-type to text/batch.
53077
53078Thu Jan 24 23:23:06 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53079
53080	* enum.c (enum_one, enum_take_while, enum_drop_while): fix documents.
53081
53082Thu Jan 24 21:46:24 2008  Tanaka Akira  <akr@fsij.org>
53083
53084	* parse.y (reg_fragment_setenc_gen): associate ASCII-8BIT only if
53085	  str has only ASCII characters.
53086
53087Thu Jan 24 20:46:17 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53088
53089	* test/ruby/test_m17n.rb: follow to the following changes.
53090
53091Thu Jan 24 20:21:07 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53092
53093	* parser.y (parser_str_new): automatically update string literal's
53094	  encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII
53095	  and the string includes non-ascii bytes. [ruby-dev:33348]
53096
53097	* parser.y (reg_fragment_check_gen, reg_compile_gen): automatically
53098	  update regexp literal's encoding from US-ASCII to ASCII-8BIT when
53099	  script encoding is US-ASCII, the regexp has no kcode option and the
53100	  regexp includes non-ascii bytes. [ruby-dev:33353]
53101
53102Thu Jan 24 19:36:22 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53103
53104	* lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s instead
53105	  object_id with printf.  [ruby-dev:33347]
53106
53107Thu Jan 24 19:29:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53108
53109	* sprintf.c (remove_sign_bits): returns pointer to the first char to
53110	  be used, instead of copying.
53111
53112	* sprintf.c (rb_str_format): negative indicator dots should come
53113	  before sign digits always.  [ruby-dev:33224]
53114
53115Thu Jan 24 18:19:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53116
53117	* include/ruby/encoding.h (rb_enc_is_newline): parenthesized arguments.
53118
53119Thu Jan 24 18:14:14 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53120
53121	* re.c (rb_reg_fixed_encoding_p): no need to treat ASCII-8BIT specially.
53122
53123Thu Jan 24 16:53:06 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53124
53125	* re.c (rb_reg_initialize): 7bit clean regexp should be US-ASCII.
53126	  [ruby-dev:33346]
53127
53128Thu Jan 24 16:31:04 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53129
53130	* io.c (rb_io_getline_fast): the end point of left_char_head()
53131	  must be the last character.  [ruby-cvs:22445]
53132
53133Thu Jan 24 16:24:25 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53134
53135	* parse.y (reg_fragment_setenc_gen): recognize regexp with option n as
53136	  as ASCII-8BIT instead of US-ASCII. [ruby-dev:33339]
53137
53138Thu Jan 24 15:44:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53139
53140	* array.c (collect_bang_i): use rb_ary_store() to avoid potential
53141	  memory corruption.  a patch from Yusuke Endoh <mame@tsg.ne.jp>
53142	  in [ruby-dev:33328].
53143
53144	* array.c (ITERATE): remove unnecessary macro.
53145
53146	* array.c (sort_1): remove ary_sort_check().  in-place sort keep
53147	  original elements even when it's modified.
53148
53149	* array.c (sort_2): ditto.
53150
53151Thu Jan 24 15:09:40 2008  Tanaka Akira  <akr@fsij.org>
53152
53153	* time.c (make_time_t): revert round trip test.  [ruby-dev:33058]
53154
53155Thu Jan 24 11:14:56 2008  Tanaka Akira  <akr@fsij.org>
53156
53157	* string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding is
53158	  not compatible with any other encoding.
53159
53160Thu Jan 24 07:34:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53161
53162	* parse.y (STR_NEW0): set encoding as US-ASCII.
53163
53164Thu Jan 24 03:47:41 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53165
53166	* lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb,
53167	  test/logger/test_logger.rb, test/ruby/test_regexp.rb:
53168	  fix tests. [ruby-dev:33336]
53169
53170Thu Jan 24 03:23:44 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53171
53172	* string.c (rb_str_each_line): use memchr(3) for faster newline
53173	  search.
53174
53175	* io.c (appendline): remove unused arguments
53176
53177	* io.c (rb_io_getline_fast): make much simpler (and faster).
53178
53179Thu Jan 24 02:13:07 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53180
53181	* insns.def (expandarray): fix stack inc.  [ruby-dev:32892]
53182
53183	* bootstraptest/test_knownbug.rb, test_massign.rb: move a fixed test.
53184
53185Thu Jan 24 01:00:34 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53186
53187	* encoding.{c, h} (rb_usascii_encoding): added.
53188
53189	* parse.y (parser_str_new, rb_intern3): ascii only string literal is
53190	  US-ASCII.
53191
53192	* ruby.c (proc_optionc): -Kn means ASCII-8BIT.
53193
53194Wed Jan 23 23:54:40 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53195
53196	* sprintf.c: fix comment.  [ruby-dev:33275]
53197
53198	* math.c: fix comment.  [ruby-dev:33276]
53199
53200Wed Jan 23 22:47:34 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53201
53202	* test/ruby/test_struct.rb: add tests to achieve over 90% test
53203	  coverage of struct.c.
53204
53205	* test/ruby/test_sprintf.rb: ditto for sprintf.c.
53206
53207	* test/ruby/test_math.rb: ditto for math.c.
53208
53209Wed Jan 23 22:14:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53210
53211	* enc/trans/japanese.c (rb_from_Windows_31J, rb_to_Windows_31J):
53212	  provisional workaround for Windows-31J.  [ruby-dev:33320]
53213
53214Wed Jan 23 15:25:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53215
53216	* time.c (time_strftime): copy encoding from format.  [ruby-dev:33303]
53217
53218Wed Jan 23 15:04:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53219
53220	* string.c (str_make_independent): should set length.
53221
53222	* string.c (rb_str_associate): hide associated array from ObjectSpace.
53223
53224	* string.c (rb_str_associated): return associated array with freezing
53225	  instead of false.  [ruby-dev:33282]
53226
53227	* string.c (rb_str_freeze): freeze associated array together.
53228
53229Wed Jan 23 13:39:48 2008  Tanaka Akira  <akr@fsij.org>
53230
53231	* re.c (rb_reg_prepare_re): fix SEGV by
53232	  /a/ =~ "aa".force_encoding("utf-16be").
53233
53234Wed Jan 23 11:53:26 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53235
53236	* string.c (str_mod_check, str_nth, str_offset): constified.
53237
53238	* string.c (rb_str_dump): dump in ASCII-8BIT always.
53239
53240Wed Jan 23 10:18:10 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53241
53242	* eval_method.c (rb_export_method): set ruby_vm_redefined_flag for
53243	  visibility change as well.  reported by K.Kosako in
53244	  http://d.hatena.ne.jp/kkos/20080122#1201012720.
53245
53246Tue Jan 22 22:26:23 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53247
53248	* test/ruby/test_bignum.rb: change some tests because rational
53249	  redefines Bignum#quo and Bignum#**.
53250
53251Tue Jan 22 20:58:15 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53252
53253	* lib/mkmf.rb (create_makefile): need to output sodir rule.
53254
53255Tue Jan 22 19:37:16 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53256
53257	* lib/mkmf.rb (create_makefile): lib files shouldn't depend on install
53258	  dir because if the dir is newer than lib files, lib files will be
53259	  always copied.
53260
53261Tue Jan 22 17:52:52 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
53262
53263	* enc/trans/utf_16_32.c: Streamline parentheses, add more
53264	  'static' qualifiers.
53265
53266Tue Jan 22 12:57:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53267
53268	* configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) from
53269	  MINIRUBY since miniruby might not be able to load DLL.
53270
53271	* test/ruby/test_m17n.rb: move tests from bootstrap test.
53272
53273	* encoding.c (enc_find): should check name if ASCII compatible.
53274
53275	* string.c (rb_str_end_with): should check character boundary.
53276
53277	* encoding.c (rb_enc_compatible): encoding must be ASCII
53278	  compatible before checking ENC_CODERANGE_7BIT.
53279
53280	* encoding.c (rb_enc_compatible): wrong compatibility condition.
53281	  [ruby-dev:33273]
53282
53283Tue Jan 22 09:26:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53284
53285	* string.c (rb_str_each_char): iterates over a shadow.
53286	  [ruby-dev:33243]
53287
53288Tue Jan 22 08:59:52 2008  Eric Hodel  <drbrain@segment7.net>
53289
53290	* lib/rdoc/ri/formatter.rb:  Indent labeled lists like note lists.
53291
53292	* test/rdoc/test_rdoc_ri_overstrike_formatter.rb:  Added.
53293
53294	* test/rdoc/test_rdoc_ri_formatter.rb:  Added tests.
53295
53296Tue Jan 22 04:40:28 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53297
53298	* parse.y (rb_intern3): do not call rb_enc_mbclen() if *m is
53299	  ASCII.  [ruby-talk:287225]
53300
53301	* string.c (rb_str_each_line): use rb_enc_is_newline() to gain
53302	  performance if the record separator ($/) is not modified.
53303
53304Tue Jan 22 01:15:51 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
53305
53306	* ChangeLog: format-time-string under C locale. [ruby-dev:33261]
53307
53308Tue Jan 22 00:45:12 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53309
53310	* test/ruby/test_bignum.rb: add tests for bignum.c.
53311
53312Tue Jan 22 00:30:08 2008  Yusuke Endoh  <mame@tsg.ne.jp>
53313
53314	* bignum.c (big_shift): fix a bug that caused infinite loop when
53315	  left shifting.
53316
53317Mon Jan 21 20:09:38 2008  Tadayoshi Funaba  <tadf@dotrb.org>
53318
53319	* lib/date.rb (marshal_load): initialize the cache.
53320
53321Mon Jan 21 19:42:42 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
53322
53323	* transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
53324	  added UTF-32BE and UTF-32LE conversions.
53325
53326Mon Jan 21 14:36:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53327
53328	* transcode.c (str_transcode): initialize transcoder in
53329	  rb_transcoding.  [ruby-dev:33234]
53330
53331	* transcode_data.h (rb_transcoding): transcoder constified.
53332
53333Mon Jan 21 12:50:02 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53334
53335	* eval.c, gc.c (setjmp): sigsetjmp is a macro on cygwin.
53336
53337Mon Jan 21 12:35:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53338
53339	* transcode.c (transcode_loop, str_transcoding_resize): use unsigned
53340	  char.  [ruby-dev:33232]
53341
53342	* transcode_data.h (rb_transcoding, rb_transcoder): removed callback
53343	  parameters.
53344
53345	* enc/trans/japanese.c: ditto.
53346
53347	* enc/trans/utf_16_32.c: parenthesized bit-or operands.
53348
53349Mon Jan 21 11:59:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53350
53351	* string.c (rb_str_each_char): move forward.  [ruby-dev:33231]
53352
53353Mon Jan 21 06:40:03 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53354
53355	* transcode.c (transcode_dispatch): constified return value.
53356
53357	* transcode_data.h (rb_transcoding): include pointer to rb_transcoder
53358	  and auxiliary data.
53359
53360	* transcode_data.h (rb_transcoder): all callback functions should have
53361	  their own parameters.
53362
53363	* enc/trans/{japanese,single_byte}.c: constified.
53364
53365Mon Jan 21 03:45:49 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53366
53367	* string.c (rb_str_each_char): advance offset before get next char
53368	  length.  [ruby-dev:33211]
53369
53370Sun Jan 20 20:00:20 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
53371
53372	* transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
53373	  added UTF-16LE conversions.
53374
53375	* fixed changelog for last commit
53376
53377Sun Jan 20 17:54:00 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
53378
53379	* added changelog for last commit
53380
53381Sun Jan 20 15:08:08 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
53382
53383	* enc/trans/utf_16_32.c: new file, currently implementing
53384	  UTF-16BE conversions only.
53385
53386	* test/ruby/test_transcode.rb: Added tests for UTF-16BE;
53387	  made check_both_ways() use force_encoding differently.
53388
53389	* transcode_data.h, transcode.c: Support for more conversion
53390	  functions.
53391
53392Sun Jan 20 13:06:01 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53393
53394	* string.c (rb_str_each_char): performance improvement, and stop if
53395	  shortened in the block.  [ruby-dev:33189]
53396
53397Sun Jan 20 09:12:26 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53398
53399	* common.mk: use -Ks when read insns.def. [ruby-dev#33185]
53400
53401	* parse.y: fix -e and stdin strings aren't set encoding.
53402
53403Sun Jan 20 05:12:44 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53404
53405	* enc/make_encdb.rb: fix duplication check.
53406
53407Sun Jan 20 05:03:46 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53408
53409	* ascii.c: remove definition of replica KOI8-U.
53410
53411Sun Jan 20 00:33:59 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53412
53413	* enc/koi8_u.c: added.
53414
53415	* regenc.c, enc/utf_8.c, enc/unicode.c, enc/gb18030.c: add ARG_UNUSED.
53416
53417Sat Jan 19 22:41:39 2008  Tanaka Akira  <akr@fsij.org>
53418
53419	* string.c (coderange_scan): don't call mbclen functions for ASCII
53420	  characters with ASCII compatible encoding.
53421
53422Sat Jan 19 21:00:34 2008  Tanaka Akira  <akr@fsij.org>
53423
53424	* lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
53425	  error by `./ruby test/rubygems/test_gem_server.rb'.
53426
53427Sat Jan 19 20:41:29 2008  Tanaka Akira  <akr@fsij.org>
53428
53429	* encoding.c (enc_new): don't free rb_encoding to avoid SEGV by
53430	  `miniruby -e exit' on x86_64 GNU/Linux.
53431
53432Sat Jan 19 18:40:19 2008  Tadayoshi Funaba  <tadf@dotrb.org>
53433
53434	* lib/date.rb (once): use an instance variable which points a hash
53435	  as cache. [experimental]
53436
53437Sat Jan 19 17:21:29 2008  Tadayoshi Funaba  <tadf@dotrb.org>
53438
53439	* lib/date.rb, lib/date/format.rb: parse's hints as an
53440	  experimental function has been removed.
53441
53442Sat Jan 19 11:21:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53443
53444	* configure.in (sigsetjmp): check if available.
53445
53446	* eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available.
53447
53448Sat Jan 19 11:10:11 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53449
53450	* configure.in: Remove wrong assumptions about Cygwin.  a patch from
53451	  Corinna Vinschen in [ruby-Bugs-17018].
53452
53453Sat Jan 19 09:23:14 2008  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
53454
53455	* ext/win32ole/win32ole.c (ole_set_safe_array): should not use
53456	  recursive calling.
53457
53458	* test/win32ole/test_win32ole_variant.rb: ditto.
53459
53460Sat Jan 19 08:58:47 2008  Eric Hodel  <drbrain@segment7.net>
53461
53462	* lib/rdoc/markup: Remove ListBase and Line constants.
53463
53464	* lib/rdoc/ri: Allow output IO to be specified.
53465
53466	* test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.
53467
53468	* test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to
53469	  match new class name, updated to match new classes.
53470
53471	* test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests.
53472
53473	* test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of
53474	  RDoc::RI::AttributeManager tests.
53475
53476	* test/rdoc/test_simple_markup.rb: Moved to match new class name.
53477
53478Sat Jan 19 08:35:36 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53479
53480	* parse.y (parser_prepare): get encoding from the first line.
53481	  [ruby-dev:33168]
53482
53483	* ruby.c (load_file): set encoding to input with set_encoding.
53484
53485Sat Jan 19 03:46:42 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53486
53487	* thread.c (thread_create_core): prohibit thread creation in the
53488	  frozen thread group.  a patch in [ruby-dev:33176] from sheepman
53489	  <sheepman AT sheepman.sakura.ne.jp>.
53490
53491	* thread.c (thread_create_core): should inherit ThreadGroup from
53492	  the current thread.
53493
53494Sat Jan 19 00:37:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53495
53496	* sprintf.c (rb_str_format): set result encoding for wider width.
53497
53498Sat Jan 19 00:13:19 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53499
53500	* thread_win32.c (w32_wait_events): shouldn't invoke interrupt handle
53501	  by timer_thread.
53502
53503Fri Jan 18 23:49:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53504
53505	* thread.c (thread_create_core): set thread group before creating
53506	  thread.
53507
53508Fri Jan 18 20:19:51 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53509
53510	* parse.y (ripper_initialize): too early to set parser->enc.
53511
53512Fri Jan 18 20:03:05 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53513
53514	* win32/setup.mak (BASERUBY): nmake cannot execute ruby correctly
53515	  if the path of ruby.exe is quoted.
53516
53517	* win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND),
53518	  a space will be inserted on the top of the line.
53519
53520Fri Jan 18 17:56:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53521
53522	* eval_intern.h, insnhelper.h, thread_pthread.h, vm_core.h, vm_opts.h:
53523	  prefixed include guards with RUBY.
53524
53525	* id.h: added include guard.
53526
53527	* regenc.h, regint.h, regparse.h: prefixed include guards with
53528	  ONIGURUMA.
53529
53530Fri Jan 18 15:57:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53531
53532	* thread.c (thread_cleanup_func): ignore errors from destroying mutex
53533	  of dead thread.  [ruby-core:15069]
53534
53535	* thread_pthread.c, thread_win32.c (native_thread_destroy): ditto.
53536
53537Fri Jan 18 15:56:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53538
53539	* encoding.c (rb_enc_name_list_i, rb_enc_aliases_enc_i): freeze
53540	  element strings to be returned.
53541
53542Fri Jan 18 14:36:34 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
53543
53544	* test/ruby/test_m17n.rb (test_str_dump): added test for
53545	  String#dump. [ruby-dev:33142]
53546
53547Fri Jan 18 12:25:13 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53548
53549	* encoding.c (load_encoding): check if successfully loaded.
53550
53551	* encoding.c (rb_enc_find_index): use original encoding name to
53552	  replicate loaded encoding instead alias.
53553
53554Fri Jan 18 09:43:02 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53555
53556	* re.c (rb_char_to_option_kcode): Regexp switch `s' should mean
53557	  Windows-31J, as wells as `-Ks'.
53558
53559Fri Jan 18 09:22:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53560
53561	* parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding().
53562
53563	* parse.y (parser_prepare): lex_input may not be have encoding (e.g. IO).
53564
53565	* parse.y (rb_parser_compile_string): set encoding from input string.
53566
53567	* encoding.c (rb_enc_find_index): use ASCII-8BIT if loading known
53568	  encoding failed.
53569
53570	* parse.y (ripper_initialize): move parser->enc initialization.
53571
53572	* encoding.c (rb_enc_aliases_enc_i): exclude non alias names from
53573	  Encoding.aliases.
53574
53575	* encoding.c (rb_enc_find_index): use original encoding name to
53576	  load DLL.
53577
53578Fri Jan 18 07:06:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53579
53580	* io.c (Init_IO): stdin/stdout may not be duplex.
53581
53582Fri Jan 18 04:27:57 2008  Eric Hodel  <drbrain@segment7.net>
53583
53584	* sample/rdoc/markup/rdoc2latex.rb:  Fix for new namespacing.
53585
53586	* lib/rdoc/markup/to_latex.rb:  Fix namespacing.
53587
53588Fri Jan 18 02:02:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53589
53590	* bootstraptest/runner.rb (assert_valid_syntax): added.
53591
53592	* bootstraptest/test_knownbug.rb: added test for [ruby-list:44479]
53593
53594Fri Jan 18 01:48:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53595
53596	* vm_insnhelper.c (vm_call_method): check argument number to
53597	  attr_reader.  [ruby-core:15120]
53598
53599Fri Jan 18 00:49:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53600
53601	* io.c (rb_io_check_readable): flush tied write IO too.
53602
53603	* io.c (Init_IO): tie stdin with stdout.  [ruby-core:15107]
53604
53605Fri Jan 18 00:23:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53606
53607	* encoding.c (enc_free): removed since rb_encoding may be used while
53608	  cleanup.
53609
53610Fri Jan 18 00:17:19 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53611
53612	* enc/euc_cn.c: split from enc/euc_kr.c.
53613
53614Fri Jan 18 00:03:54 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53615
53616	* ext/stringio/stringio.c (strio_init): use default external encoding
53617	  if nothing is given.  a patch from sheepman <sheepman AT
53618	  sheepman.sakura.ne.jp> in [ruby-dev:33159].
53619
53620Thu Jan 17 23:56:20 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53621
53622	* common.mk (encdb.h): give output file name to make_encdb.rb.
53623
53624	* encoding.c (enc_table): simplified.
53625
53626	* encoding.c (enc_register_at): lazy loading.  [ruby-dev:33013]
53627
53628	* regenc.h (ENC_DUMMY): added.
53629
53630	* enc/make_encdb.rb: now emits macros only.
53631
53632	* enc/iso_2022_jp.h: split from encoding.c.
53633
53634Thu Jan 17 21:48:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53635
53636	* re.c (rb_char_to_option_kcode): fixed typo.
53637
53638Thu Jan 17 21:01:25 2008  Tadayoshi Funaba  <tadf@dotrb.org>
53639
53640	* lib/date.rb (Date::Infinity#<=>): didn't work.  A patch from
53641	  Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098].
53642	  This is a bug obviously.  However it didn't affect the library's
53643	  functions.
53644
53645	* lib/date.rb, lib/date/format.rb: some trivial changes.
53646
53647Thu Jan 17 13:07:18 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53648
53649	* string.c (rb_str_dump): preserve the encoding of source string
53650	  if it is ASCII compatible.  otherwise, add '.force_encoding()'
53651	  for ugly work around.  maybe we should implement some other way
53652	  to keep non ASCII encoding in dumped string.  [ruby-dev:33142]
53653
53654Thu Jan 17 10:30:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53655
53656	* io.c (io_fwrite): always flush IO on tty, even without newlines.
53657	  [ruby-core:15107]
53658
53659Wed Jan 16 22:45:27 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53660
53661	* encoding.c (enc_register_at): make own copy.  [ruby-dev:33136]
53662
53663Wed Jan 16 18:03:10 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53664
53665	* io.c (pipe_open, rb_io_s_popen): clear temporary object to release
53666	  and prevent from GC.
53667
53668Wed Jan 16 17:55:07 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53669
53670	* numeric.c (fix_quo): typo. a patch from Shin-ichiro HARA
53671	  <sinara AT blade.nagaokaut.ac.jp> in [ruby-dev:33130]
53672
53673Wed Jan 16 17:36:26 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53674
53675	* test/test_delegate.rb: add new test file for delegate.rb.
53676
53677Wed Jan 16 16:14:00 2008  Akinori MUSHA  <knu@iDaemons.org>
53678
53679	* ruby.1: Fix grammar.
53680
53681Wed Jan 16 15:26:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53682
53683	* file.c (sys_fail2): get rid of unlimited alloca.
53684
53685	* io.c (mode_enc, pipe_open, rb_io_s_popen): ditto.
53686
53687	* load.c (rb_feature_p): ditto.
53688
53689	* object.c (rb_cstr_to_dbl): ditto.
53690
53691	* io.c (mode_enc): fixed uninitialized variable.
53692
53693Wed Jan 16 12:51:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53694
53695	* include/ruby/intern.h (rb_str_tmp_new, rb_str_shared_replace):
53696	  prototype moved.
53697
53698Tue Jan 15 23:52:51 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53699
53700	* enc/*: add ARG_UNUSED.
53701
53702	* enc/koi8_u.c: added.
53703
53704Tue Jan 15 23:00:08 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53705
53706	* enc/utf_{16,32}{be,le}.c: remove some ARG_UNUSED.  replace struct
53707	  OnigEncodingST by OnigEncoding.
53708
53709Tue Jan 15 22:30:43 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53710
53711	* encoding.c (ENC_REGISTER): use &OnigEncoding*.
53712	  (ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8.
53713	  (rb_enc_init): use ENC_REGISTER.
53714
53715	* include/ruby/oniguruma.h (OnigEncodingUTF8, ONIG_ENCODING_UTF8):
53716	  removed.
53717
53718	* enc/*.c: remove use of &encoding_*; use enc argument instead.
53719
53720Tue Jan 15 18:44:46 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53721
53722	* enc/utf_8.c: remove use of ONIG_ENCODING_UTF8 altogether; use
53723	  enc argument instead.
53724
53725Tue Jan 15 18:05:26 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53726
53727	* enc/utf_8.c (ONIG_ENCODING_UTF8): reverted.
53728
53729Tue Jan 15 18:01:55 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53730
53731	* win32/Makefile.sub (MKFILES): add dependencies.
53732
53733Tue Jan 15 18:00:16 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53734
53735	* enc/utf_8.c (OnigEncodingDefine): encoding name should be kept
53736	  unchanged.
53737
53738Tue Jan 15 17:53:05 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53739
53740	* enc/utf_8.c: renamed as IANA name.
53741
53742	* enc/Makefile.in: ditto.
53743
53744Tue Jan 15 16:59:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53745
53746	* ruby.c (proc_options): encoding libraries cannot be loaded until
53747	  load path is set.
53748
53749Tue Jan 15 15:09:28 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53750
53751	* win32/setup.mak: strip out empty lines from CPP output.
53752
53753Tue Jan 15 14:57:38 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53754
53755	* {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full path
53756	  to get rid of ./ruby.exe.
53757
53758	* win32/enc-setup.mak: workaround for Borland make.
53759
53760Tue Jan 15 14:44:53 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53761
53762	* encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.
53763
53764Tue Jan 15 13:54:41 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53765
53766	* {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir when
53767	  invoking ruby.
53768
53769Tue Jan 15 13:43:18 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53770
53771	* common.mk (us_ascii.o): add dependencies. [ruby-dev:33111]
53772
53773Tue Jan 15 03:41:42 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53774
53775	* eval.c (eval): check if backtrace is empty.  [ruby-core:15040]
53776
53777Tue Jan 15 01:28:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53778
53779	* common.mk: simplified dummy objects dependencies.
53780
53781Tue Jan 15 01:19:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53782
53783	* common.mk (OBJS): moved encoding.o from COMMONOBJS.
53784
53785	* common.mk (dmyencoding.o): added.  [ruby-dev:33099]
53786
53787	* configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added
53788	  dmyencoding.o.
53789
53790	* dmyencoding.c (rb_locale_charmap): returns nil for miniruby.
53791
53792Tue Jan 15 00:05:50 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53793
53794	* io.c (appendline): specifying limit should not generate broken
53795	  byte sequence.  strings should be rounded.  [ruby-dev:33088]
53796
53797Mon Jan 14 23:33:02 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53798
53799	* ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.
53800
53801Mon Jan 14 23:31:05 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53802
53803	* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
53804
53805	* bootstraptest/runner.rb (main): expand -I directory path.
53806
53807Mon Jan 14 23:28:10 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
53808
53809	* win32/enc-setup.mak (BUILTIN_ENCOBJS): depends on enc/Makefile.in.
53810
53811Mon Jan 14 22:48:16 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53812
53813	* re.c (rb_char_to_option_kcode): use rb_enc_find_index() instead
53814	  of using fixed index value.
53815
53816	* enc/Makefile.in (encsrcdir): make US-ASCII built-in.
53817
53818Mon Jan 14 22:25:02 2008  WATANABE Hirofumi  <eban@ruby-lang.org>
53819
53820	* golf_prelude.rb: Shorter method name completion.  Same method
53821	  used for const missing. do_while and do_until added.  Enumerator
53822	  gains all of Array's abilities. Ex:
53823	    '123'.m{|i|i*2} #=> "112233"
53824	    '123'.pe #=> '123'.perm*' ' #=> "123 132 213 231 312 321"
53825	  base on a patch from Darren Smith <darrenks AT ml1.net>.
53826
53827Mon Jan 14 21:10:02 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53828
53829	* enc/us_ascii.c: wrong alias name: ANSI_X3.4-1986.
53830
53831	* rubytest.rb: add -I#{srcdir} to load encoding DLL.
53832
53833Mon Jan 14 18:53:58 2008  Koichi Sasada  <ko1@atdot.net>
53834
53835	* thread.c: clear thread structure.
53836	  (TODO: survey that child process should clear mutex or not).
53837
53838	* bootstraptest/test_knownbug.rb, test_thread.rb: move a fixed test.
53839
53840Mon Jan 14 18:43:38 2008  Koichi Sasada  <ko1@atdot.net>
53841
53842	* bootstraptest/runner.rb: add "flunk" method.
53843
53844	* bootstraptest/test_knownbug.rb: fix to use flunk.
53845
53846Mon Jan 14 18:10:59 2008  Koichi Sasada  <ko1@atdot.net>
53847
53848	* vm.h: remove dangerous assembler sentence.
53849
53850Mon Jan 14 18:06:37 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53851
53852	* encoding.c (rb_locale_encoding): return US-ASCII when charmap is
53853	  nil.
53854
53855Mon Jan 14 16:12:58 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53856
53857	* lib/shellwords.rb: scape should be an alias to shellescape.  a
53858	  patch from Masahiro Kawato <m-kawato AT mwb.biglobe.ne.jp> in
53859	  [ruby-dev:33060].
53860
53861Mon Jan 14 16:09:16 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53862
53863	* ruby.1: a patch to describe --encoding.  a patch from Yugui
53864	  <yugui AT yugui.sakura.ne.jp> in [ruby-dev:33079].
53865
53866	* ruby.c: ditto.
53867
53868Mon Jan 14 13:49:26 2008  Tanaka Akira  <akr@fsij.org>
53869
53870	* re.c (rb_reg_prepare_re): initialize error message buffer.
53871	  (rb_reg_search): ditto.
53872	  (rb_reg_check_preprocess): ditto.
53873	  (rb_reg_new_str): ditto.
53874	  (rb_enc_reg_new): ditto.
53875	  (rb_reg_compile): ditto.
53876	  (rb_reg_initialize_m): ditto.
53877	  (rb_reg_s_union_m): ditto.
53878
53879Mon Jan 14 12:33:07 2008  Eric Hodel  <drbrain@segment7.net>
53880
53881	* lib/rdoc/markup*:  Renamespace from SM::SimpleMarkup to
53882	  RDoc::Markup.
53883
53884Mon Jan 14 10:45:45 2008  Martin Duerst  <duerst@it.aoyama.ac.jp>
53885
53886	* enc/ascii.c: Exchanged order of arguments for one ENC_ALIAS
53887
53888Mon Jan 14 09:19:07 2008  Tadayoshi Funaba  <tadf@dotrb.org>
53889
53890	* lib/time.rb: do not reference Time directly from the inside of
53891	  definitions. [ruby-dev:33059]
53892
53893Mon Jan 14 05:44:44 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53894
53895	* enc/*.c: add replicas and aliases.
53896
53897	* enc/make_encdb.h: add duplicate and undefined check.
53898
53899Mon Jan 14 02:03:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53900
53901	* include/ruby/oniguruma.h: remove ONIG_ENCODING_* and OnigEncoding*
53902	  which are not builtin.
53903
53904	* regenc.{c,h} (onigenc_mb2_code_to_mbclen, onigenc_mb4_code_to_mbclen):
53905	  fix prototype.
53906
53907	* enc/big5.c, enc/euc_kr.c, enc/euc_tw.c, enc/gb18030.c,
53908	  enc/koi8_r.c, enc/windows_1251.c: imported from Oniguruma.
53909
53910Sun Jan 13 22:47:28 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53911
53912	* enc/make_encdb.h: sort encoding names by original name.
53913
53914	* encoding.c, enc/*.c: define replicas and aliases.
53915
53916Sun Jan 13 20:24:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53917
53918	* encoding.c: add documents.
53919
53920Sun Jan 13 18:41:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53921
53922	* encoding.c (Init_Encoding): moved initialization from encdb.h.
53923
53924	* enc/make_encdb.rb (enc_name_list): constified.
53925
53926	* enc/make_encdb.rb (enc_init_db): moved some functions to encoding.c.
53927
53928Sun Jan 13 13:53:00 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53929
53930	* ruby.c (load_file): local variable was not initialized when -x flag
53931	  is given.
53932
53933	* ruby.c (load_file): script files should not be affected by locale.
53934	  [ruby-dev:33054]
53935
53936Sun Jan 13 12:01:32 2008  Eric Hodel  <drbrain@segment7.net>
53937
53938	* lib/rdoc/generators*: Reorganize RDoc generators.
53939
53940Sun Jan 13 11:41:11 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53941
53942	* encoding.c (ENCINDEX_EUC_JP, ENCINDEX_SJIS): removed.
53943	  (rb_enc_init): EUC-JP and Shift_JIS are not builtin now.
53944
53945	* enc/Makefile.in: ditto.
53946
53947	* common.mk: ditto.
53948
53949	* ruby.c (proc_options): ditto.
53950
53951	* enc/shift_jis.c, enc/euc_jp.c: fixes for remove from builtin.
53952
53953Sun Jan 13 10:21:40 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53954
53955	* encoding.c (enc_table): packed all enc_table stuff.
53956
53957Sun Jan 13 09:58:17 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53958
53959	* encoding.c (rb_enc_init): revert removing SJIS.
53960
53961	* enc/sjis.c: move to enc/shift_jis.c, to make encoding name equal to
53962	  filename for convenience of loading lib.
53963
53964	* enc/shift_jis.c: moved from enc/sjis.c.
53965
53966	* common.mk: follows enc/shift_jis.c.
53967
53968	* enc/Makefile.in: ditto.
53969
53970Sun Jan 13 09:22:33 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53971
53972	* common.mk (incs): includes encdb.h.
53973
53974Sun Jan 13 09:17:29 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
53975
53976	* {bcc,win}32/Makefile.sub (MV): use move instead of ren.  [ruby-Bugs-17019]
53977
53978Sun Jan 13 01:52:31 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
53979
53980	* enc/make_encdb.rb: should work on Ruby 1.8.  [ruby-dev:33069]
53981
53982	* common.mk (encdb.h): pass enc dir from outside to make_encdb.rb.
53983
53984Sun Jan 13 00:01:07 2008  NARUSE, Yui  <naruse@ruby-lang.org>
53985
53986	* enc/make_encdb.rb: added. search enc/*.c and make encoding database.
53987
53988	* regenc.h (ENC_REPLICATE, ENC_ALIAS): added for defining replica
53989	  encoding and encoding alias.
53990
53991	* encoding.c (rb_enc_init): move alias definitions to enc/*.c.
53992	  (rb_enc_find_index): search original of replica and alias when no
53993	  encoding library.
53994	  (rb_enc_name_list, rb_enc_aliases_enc_i, rb_enc_aliases_str_i,
53995	   rb_enc_aliases, Encoding.name_list, Encoding.aliases): added.
53996	  (Init_Encoding): init encdb.
53997
53998	* enc/ascii.c, enc/us_ascii.c, enc/euc_jp.c, enc/sjis.c:
53999	  add replica encoding and encoding alias definition.
54000
54001	* common.mk (dist-clean-local): add rule for remove encdb.h.
54002
54003Sat Jan 12 18:27:41 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54004
54005	* eval.c (rb_define_alloc_func, rb_undef_alloc_func): should
54006	  define/undef on a singleton class.  [ruby-core:09959]
54007
54008Sat Jan 12 12:44:36 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54009
54010	* ext/nkf/nkf.c: rdoc update.
54011
54012Sat Jan 12 12:01:49 2008  Tadayoshi Funaba  <tadf@dotrb.org>
54013
54014	* lib/date.rb, lib/date/format.rb: tuning for performance.
54015
54016Sat Jan 12 11:29:45 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54017
54018	* bootstraptest/test_proc.rb: fixed wrong expected result.  pointed
54019	  out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
54020	  [ruby-core:15022].
54021
54022Sat Jan 12 04:38:38 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54023
54024	* ruby.c (process_options): -e'script' is locale encoding by default.
54025	  (load_file): ruby script from stdin is locale encoding by default.
54026
54027Sat Jan 12 04:31:59 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54028
54029	* ext/nkf/nkf-utf8/nkf.c: fix bug: -m was -m0.
54030
54031Fri Jan 11 23:22:31 2008  Tanaka Akira  <akr@fsij.org>
54032
54033	* string.c (string.c): call rb_str_buf_append to update encoding of
54034	  str1, even if str2 is empty.
54035
54036Fri Jan 11 20:20:16 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54037
54038	* proc.c (proc_mark): needs to mark the receiver too.  a patch from
54039	  Chris Heath <chris AT heathens.co.nz> in [ruby-core:14983].
54040	  [ruby-core:14885]
54041
54042Fri Jan 11 18:28:49 2008  Eric Hodel  <drbrain@segment7.net>
54043
54044	* lib/rdoc/usage.rb: Removed.
54045
54046	* lib/getoptlong.rb: Update example to not use lib/rdoc/usage.rb.
54047
54048Fri Jan 11 18:17:10 2008  Eric Hodel  <drbrain@segment7.net>
54049
54050	* lib/rdoc/ri/driver.rb (read_yaml): Follow namespace change
54051	  [ruby-core:14964].
54052
54053Fri Jan 11 16:55:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54054
54055	* string.c (rb_str_append): performance improvement.
54056
54057Fri Jan 11 12:35:56 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54058
54059	* configure.in: moved broken syscall checks from process.c etc.
54060
54061	* defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result of
54062	  configure.
54063
54064	* lib/rdoc/options.rb (check_diagram): more precise check, darwin
54065	  is not Windows but mingw is on it.
54066
54067Fri Jan 11 09:59:05 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54068
54069	* ext/nkf/nkf-utf8/nkf.c: update to r1.163.
54070
54071	* ext/nkf/nkf.c: ASCII's canonical name is US-ASCII.
54072
54073	* ext/nkf/lib/kconv.rb (Kconv.isjis): force_encoding('BINARY').
54074
54075Fri Jan 11 09:23:31 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54076
54077	* encoding.c (set_base_encoding): must use rb_enc_dummy_p.
54078
54079Fri Jan 11 06:13:14 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54080
54081	* encoding.c (rb_to_encoding_index, rb_to_encoding): disallow nil.
54082	  [ruby-dev:33003]
54083
54084Fri Jan 11 01:08:01 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54085
54086	* thread.c (rb_mutex_unlock): proper error message for unlocking
54087	  mutex that is not locked.  a patch from Yusuke ENDOH
54088	  <mame at tsg.ne.jp> in [ruby-dev:33010].
54089
54090Thu Jan 10 18:00:41 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54091
54092	* prelude.rb (Mutex::synchronize): capture exception from unlock.
54093	  [ruby-dev:32935]
54094
54095Thu Jan 10 10:15:03 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54096
54097	* io.c (io_encoding_set): IO.pipe("euc-jp", nil) should work as
54098	  IO.pipe("euc-jp", nil).  [ruby-dev:33000]
54099
54100	* io.c (io_encoding_set): handle nil for v1.
54101
54102Thu Jan 10 02:41:22 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54103
54104	* io.c (rb_io_binmode): should not alter encoding.  [ruby-dev:32918]
54105
54106	* io.c (io_read_encoding): need not to return ASCII-8BIT for
54107	  binary IO.
54108
54109Wed Jan  9 22:04:17 2008  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
54110
54111	* lib/mathn.rb (Prime#each): returns an enumerator if no block
54112	  given. [ruby-dev:32815]
54113
54114Wed Jan  9 22:03:26 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54115
54116	* encoding.c (rb_enc_replicate): replica of dummy is a dummy.
54117
54118Wed Jan  9 20:55:38 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54119
54120	* lib/e2mmap.rb (Exception2MessageMapper::Raise): define fail.
54121	  [ruby-dev:32854]
54122
54123Wed Jan  9 20:35:42 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>
54124
54125	* lib/webrick/httprequest.rb: support X-Forwarded-* header fields.
54126	  WEBrick::HTTPRequest#{host,port,request_uri} is derived having
54127	  regards to X-Forwarded-Proto and X-Forwarded-Host.
54128
54129	* lib/webrick/httprequest.rb
54130	  (WEBrick::HTTPRequest#server_name?): new method.
54131	  (WEBrick::HTTPRequest#remote_ip?): new method.
54132	  (WEBrick::HTTPRequest#ssl?): new method.
54133
54134Wed Jan  9 18:24:39 2008  WATANABE Hirofumi  <eban@ruby-lang.org>
54135
54136	* golf_prelude.rb (Array#to_s): alias to join.
54137
54138	* golf_prelude.rb (FalseClass#to_s): return "".
54139
54140Wed Jan  9 16:59:54 2008  Tanaka Akira  <akr@fsij.org>
54141
54142	* string.c (rb_enc_cr_str_buf_cat): fix self appending.
54143
54144Wed Jan  9 15:54:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54145
54146	* ruby.c (process_options): give priority command line encoding option
54147	  to RUBYOPT, and enable -E option in RUBYOPT.
54148
54149	* ruby.c (load_file): deal with encoding option in shebang line if
54150	  nothing in command line and RUBYOPT.
54151
54152Wed Jan  9 14:55:36 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
54153
54154	* parse.y (yycompile0): remove setting parser->enc because it is set
54155	  in parser_prepare() by previous change of parser_prepare().
54156
54157Wed Jan  9 14:52:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54158
54159	* string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with self
54160	  appending.
54161
54162Wed Jan  9 14:44:57 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
54163
54164	* parse.y (parser_prepare): set parser->enc from lex_input for ripper.
54165
54166Wed Jan  9 13:45:52 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>
54167
54168	* lib/webrick/server.rb (WEBrick::HTTPServer#start):
54169	  :DoNotReverseLookup option had not been performed.
54170
54171Wed Jan  9 13:03:34 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54172
54173	* string.c (rb_enc_cr_str_buf_cat): do not recalculate coderange
54174	  value if it's given from outside.
54175
54176Wed Jan  9 08:42:01 2008  James Edward Gray II  <jeg2@ruby-lang.org>
54177
54178	* enum.c:  Updating the documentation of Enumerable#zip to reflect
54179	  the recent changes Matz made to the method.
54180
54181Wed Jan  9 01:35:10 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54182
54183	* enc/Makefile.in (BUILTIN_ENCS): UTF-{16,32}{BE,LE} are not builtin.
54184
54185Tue Jan  8 23:55:15 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54186
54187	* encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin.
54188
54189Tue Jan  8 22:33:03 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54190
54191	* encoding.c, Makefile.in, include/ruby/oniguruma.h,
54192	  enc/Makefile.in: fix rules for UTF-{16,32}{BE,LE}.
54193
54194Tue Jan  8 20:02:08 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54195
54196	* win{32,ce}/Makefile.sub: merged.
54197
54198Tue Jan  8 19:48:15 2008  Eric Hodel  <drbrain@segment7.net>
54199
54200	* lib/rdoc/ri/driver.rb: Speed up Marshal.load. Fix bug with nested
54201	  classes' methods.
54202
54203Tue Jan  8 19:17:29 2008  Eric Hodel  <drbrain@segment7.net>
54204
54205	* lib/rdoc/*: Clean up namespacing of RI's classes.
54206
54207Tue Jan  8 18:05:35 2008  Eric Hodel  <drbrain@segment7.net>
54208
54209	* bin/ri, lib/rdoc/ri/*: Replace with Ryan Davis' cached ri.
54210
54211Tue Jan  8 17:32:07 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54212
54213	* enum.c (enum_zip): honor length of the receiver, not the
54214	  shortest length.  [ruby-core:14738]
54215
54216	* enum.c (enum_zip): returns array not enumerator for no block
54217	  form.  [ruby-core:14738]
54218
54219	* enumerator.c (next_ii): do not ignore multiple values yielded.
54220
54221	* array.c (rb_ary_zip): faster version without creating generators.
54222
54223Tue Jan  8 15:47:43 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
54224
54225	* enc/utf{16,32}_{be,le}.c: use &OnigEncodingName(*) instead of
54226	  ONIG_ENCODING_*.
54227
54228Tue Jan  8 15:40:31 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54229
54230	* regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressed
54231	  warnings.
54232
54233	* regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added
54234	  encoding argument.
54235
54236	* enc/utf{16,32}_{be,le}.c: added init functions.
54237
54238	* enc/utf{16,32}_{be,le}.c: imported from Oniguruma 5.9.1.
54239
54240Tue Jan  8 15:03:10 2008  Tanaka Akira  <akr@fsij.org>
54241
54242	* string.c (str_gsub): avoid appending empty pre-match substr.
54243
54244Tue Jan  8 13:05:57 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54245
54246	* compile.c (iseq_build_from_ary), iseq.c (iseq_load): fix for format change.
54247
54248Tue Jan  8 07:56:11 2008  Tanaka Akira  <akr@fsij.org>
54249
54250	* string.c (rb_str_buf_append): fix append itself.
54251
54252Tue Jan  8 01:13:50 2008  Tanaka Akira  <akr@fsij.org>
54253
54254	* string.c (STR_ENC_GET): defined.  same as rb_enc_get without
54255	  enc_capable.
54256	  (coderange_scan): ASCII-8BIT test refined.
54257	  (rb_enc_cr_str_buf_cat): new internal function to accumulate
54258	  strings with encoding.
54259	  (rb_enc_str_buf_cat): use rb_enc_cr_str_buf_cat.
54260	  (rb_str_buf_append): ditto
54261	  (str_gsub): use rb_str_buf_append.
54262	  (rb_str_hash): use ENCODING_GET.
54263	  (rb_str_comparable): ditto.
54264	  (rb_str_cmp): compare encoding index, not rb_encoding address.
54265
54266Mon Jan  7 20:37:55 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>
54267
54268	* lib/webrick/httpservlet/cgihandler.rb: external encoding of
54269	  tempfiles is set to "ASCII-8BIT".
54270
54271Mon Jan  7 19:39:50 2008  Eric Hodel  <drbrain@segment7.net>
54272
54273	* lib/rdoc/template.rb:  Use ERB instead of custom template language.
54274
54275	* lib/rdoc/generators/template/html/old_html.rb:  Remove.
54276
54277	* lib/rdoc/generators/template/*: Convert to ERB.
54278
54279Mon Jan  7 19:11:30 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54280
54281	* string.c (Init_String): sym_match arity spec was wrong.  a patch
54282	  from Hiroyuki Iwatsuki <don at na.rim.or.jp> in [ruby-dev:32957].
54283
54284Mon Jan  7 18:10:33 2008  Tanaka Akira  <akr@fsij.org>
54285
54286	* string.c (str_gsub): move rb_enc_get(str) to out of loop.
54287
54288Mon Jan  7 15:52:10 2008  Tanaka Akira  <akr@fsij.org>
54289
54290	* include/ruby/oniguruma.h (OnigEncodingType): new member
54291	  ruby_encoding_index to avoid linear search in rb_enc_to_index.
54292
54293	* include/ruby/encoding.h (rb_enc_to_index): macro defined to use
54294	  ruby_encoding_index.
54295
54296	* encoding.c (rb_enc_to_index): removed.
54297	  (enc_register_at): initialize ruby_encoding_index member.
54298
54299Mon Jan  7 16:10:35 2008  Eric Hodel  <drbrain@segment7.net>
54300
54301	* lib/rdoc/tokenstream.rb:  Namespace under RDoc.
54302
54303Mon Jan  7 16:06:09 2008  Eric Hodel  <drbrain@segment7.net>
54304
54305	* lib/rdoc/dot.rb:  Namespace under RDoc.
54306
54307	* lib/rdoc/diagram.rb:  Clean up formatting.
54308
54309Mon Jan  7 15:51:35 2008  Eric Hodel  <drbrain@segment7.net>
54310
54311	* lib/rdoc/options.rb:  Convert to OptionParser, clean up -h output,
54312	  namespace under RDoc.
54313	* lib/rdoc/*:  Namespace RDoc::Options.
54314
54315Mon Jan  7 15:42:46 2008  NAKAMURA Usaku  <usa@ruby-lang.org>
54316
54317	* common.mk, Makefile.in, */Makefile.sub (distclean-local): move
54318	  removing rule of ext/ripper/y.output from common.mk to Makefiles
54319	  that depend on platforms.
54320
54321Mon Jan  7 13:54:57 2008  Tanaka Akira  <akr@fsij.org>
54322
54323	* re.c (rb_reg_preprocess): fix fixed_enc condition.
54324
54325Mon Jan  7 11:51:49 2008  Eric Hodel  <drbrain@segment7.net>
54326
54327	* lib/rdoc/generators/ri_generator.rb:  Merge documentation from the
54328	  same class on output.  Fixes bug where documentation could
54329	  disappear.
54330
54331	* lib/rdoc/options.rb:  Fix typo.
54332
54333	* lib/rdoc/generators/*: Clean up some namespacing and make RDoc
54334	  consistent.
54335
54336Mon Jan  7 11:44:45 2008  Tanaka Akira  <akr@fsij.org>
54337
54338	* encoding.c (rb_enc_internal_get_index): extracted from
54339	  rb_enc_get_index.
54340	  (rb_enc_internal_set_index): extracted from rb_enc_associate_index
54341
54342	* include/ruby/encoding.h (ENCODING_SET): work over ENCODING_INLINE_MAX.
54343	  (ENCODING_GET): ditto.
54344	  (ENCODING_IS_ASCII8BIT): defined.
54345	  (ENCODING_CODERANGE_SET): defined.
54346
54347	* re.c (rb_reg_fixed_encoding_p): use ENCODING_IS_ASCII8BIT.
54348
54349	* string.c (rb_enc_str_buf_cat): use ENCODING_IS_ASCII8BIT.
54350
54351	* parse.y (reg_fragment_setenc_gen): use ENCODING_IS_ASCII8BIT.
54352
54353	* marshal.c (has_ivars): use ENCODING_IS_ASCII8BIT.
54354
54355Mon Jan  7 02:14:07 2008  Tanaka Akira  <akr@fsij.org>
54356
54357	* string.c (coderange_scan): avoid rb_enc_to_index.
54358	  (rb_enc_str_buf_cat): ditto.
54359	  (str_cat_char): use rb_enc_str_buf_cat.
54360	  (rb_str_inspect): ditto.
54361
54362Mon Jan  7 01:36:49 2008  Tanaka Akira  <akr@fsij.org>
54363
54364	* string.c (coderange_scan): optimize ASCII-8BIT string.
54365	  (rb_enc_str_buf_cat): don't call coderange_scan if possible.
54366
54367Mon Jan  7 01:05:45 2008  Tanaka Akira  <akr@fsij.org>
54368
54369	* lib/erb.rb (ERB::Revision): cut off locale dependent string in Date
54370	  keyword.
54371
54372Mon Jan  7 00:48:02 2008  Tanaka Akira  <akr@fsij.org>
54373
54374	* Date keyword removed to avoid inclusion of locale dependent
54375	  string.  [ruby-dev:32940]
54376
54377Sun Jan  6 21:14:12 2008  Tanaka Akira  <akr@fsij.org>
54378
54379	* re.c (rb_reg_initialize_str): forbid raw non ASCII character
54380	  for ASCII-8BIT regexp in non ASCII-8BIT script.
54381
54382Sun Jan  6 18:19:12 2008  Tanaka Akira  <akr@fsij.org>
54383
54384	* include/ruby/encoding.h (rb_enc_str_buf_cat): declared.
54385
54386	* string.c (coderange_scan): extracted from rb_enc_str_coderange.
54387	  (rb_enc_str_coderange): use coderange_scan.
54388	  (rb_str_shared_replace): copy encoding and coderange.
54389	  (rb_enc_str_buf_cat): new function for linear complexity string
54390	  accumulation with encoding.
54391	  (rb_str_sub_bang): don't conflict substituted part and replacement.
54392	  (str_gsub): use rb_enc_str_buf_cat.
54393	  (rb_str_clear): clear coderange.
54394
54395	* re.c (rb_reg_regsub): use rb_enc_str_buf_cat.
54396
54397Sun Jan  6 17:55:44 2008  Technorama Ltd.  <oss-ruby@technorama.net>
54398
54399	* lib/securerandom.rb: Add Win32 support.
54400
54401Sun Jan  6 09:32:58 2008  Tadayoshi Funaba  <tadf@dotrb.org>
54402
54403	* lib/date.rb, lib/date/format.rb: introduced some constants
54404	  (for internal use) and aliases (minute and second).
54405
54406	* sample/cal.rb: trivial adjustments.
54407
54408Sun Jan  6 01:38:07 2008  Tanaka Akira  <akr@fsij.org>
54409
54410	* re.c (rb_reg_initialize_str): /\x80/n is not an error even if script
54411	  encoding is EUC-JP.
54412
54413Sun Jan  6 00:48:12 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54414
54415	* lib/resolv.rb (Resolv::DNS#each_address): get A record and then AAAA
54416	  record. [ruby-dev:32925]
54417
54418Sat Jan  5 21:48:03 2008  Tanaka Akira  <akr@fsij.org>
54419
54420	* vm_insnhelper.c (vm_callee_setup_arg): it is not inlinable because
54421	  alloca is used.
54422
54423Sat Jan  5 16:50:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54424
54425	* string.c (rb_str_resize): copy if old data is not empty
54426	  [ruby-core:14785]
54427
54428Sat Jan  5 13:04:24 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54429
54430	* ruby.c (proc_options): no need for intermediate object.
54431
54432Sat Jan  5 11:48:19 2008  Tanaka Akira  <akr@fsij.org>
54433
54434	* encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
54435	  IE6 accepts csWindows31J but Windows-31J.
54436
54437Sat Jan  5 02:21:10 2008  Tanaka Akira  <akr@fsij.org>
54438
54439	* include/ruby/ruby.h (rb_intern): memorize interned ID for constant
54440	  string, using gcc's __builtin_constant_p and statement expression.
54441
54442Sat Jan  5 02:14:45 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54443
54444	* string.c (trnext): should enable backslash escape.
54445
54446Sat Jan  5 01:50:32 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54447
54448	* eval.c (Init_eval): move instance_eval and instance_exec to
54449	  BasicObject.  [ruby-core:14747]
54450
54451	* lib/delegate.rb: should preserve new methods in BasicObject.
54452
54453Sat Jan  5 01:46:29 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54454
54455	* ruby.c (proc_options): update according to the last API revert.
54456
54457Sat Jan  5 01:30:30 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54458
54459	* include/ruby/intern.h, re.c (rb_reg_new): keep interface same as
54460	  1.8.  [ruby-core:14583]
54461
54462	* include/ruby/intern.h, re.c (rb_reg_new_str): renamed, and defines
54463	  HAVE_RB_REG_NEW_STR macro to tell if it is available.
54464
54465	* include/ruby/encoding.h (rb_enc_reg_new): added.
54466
54467	* insns.def (toregexp), marshal.c (r_object0): use rb_reg_new_str().
54468
54469	* re.c (rb_reg_regcomp, rb_reg_s_union): ditto.
54470
54471Fri Jan  4 23:08:48 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54472
54473	* time.c (time_arg): use converted object.  [ruby-core:14759]
54474
54475Fri Jan  4 16:24:58 2008  Tanaka Akira  <akr@fsij.org>
54476
54477	* ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): use
54478	  String#bytesize to avoid test errors on EUC-JP environment.
54479
54480Fri Jan  4 14:00:50 2008  Tanaka Akira  <akr@fsij.org>
54481
54482	* re.c (rb_reg_prepare_re): check string encoding.  Oniguruma doesn't
54483	  support invalid encoding.
54484
54485Fri Jan  4 10:22:25 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54486
54487	* re.c (rb_reg_search): avoid inner loop for reverse search.
54488
54489	* regexec.c: unset USE_MATCH_RANGE_MUST_BE_INSIDE_OF_SPECIFIED_RANGE
54490	  which is turned on since oniguruma 5.9.1.
54491
54492Fri Jan  4 02:53:31 2008  Tanaka Akira  <akr@fsij.org>
54493
54494	* enc/euc_jp.c: remove eucjp_ prefix.  breakpoint can be specified as
54495	  euc_jp.c:mbc_enc_len.  avoid needless conflict by merge.
54496
54497	* enc/sjis.c: remove sjis_ prefix.
54498
54499	* enc/utf8.c: remove utf8_ prefix.
54500
54501	* enc/iso_8859_1.c: remove iso_8859_1_ prefix.
54502
54503	* enc/iso_8859_2.c: remove iso_8859_2_ prefix.
54504
54505	* enc/iso_8859_3.c: remove iso_8859_3_ prefix.
54506
54507	* enc/iso_8859_4.c: remove iso_8859_4_ prefix.
54508
54509	* enc/iso_8859_5.c: remove iso_8859_5_ prefix.
54510
54511	* enc/iso_8859_6.c: remove iso_8859_6_ prefix.
54512
54513	* enc/iso_8859_7.c: remove iso_8859_7_ prefix.
54514
54515	* enc/iso_8859_8.c: remove iso_8859_8_ prefix.
54516
54517	* enc/iso_8859_9.c: remove iso_8859_9_ prefix.
54518
54519	* enc/iso_8859_10.c: remove iso_8859_10_ prefix.
54520
54521	* enc/iso_8859_11.c: remove iso_8859_11_ prefix.
54522
54523	* enc/iso_8859_13.c: remove iso_8859_13_ prefix.
54524
54525	* enc/iso_8859_14.c: remove iso_8859_14_ prefix.
54526
54527	* enc/iso_8859_15.c: remove iso_8859_15_ prefix.
54528
54529	* enc/iso_8859_16.c: remove iso_8859_16_ prefix.
54530
54531Fri Jan  4 02:47:06 2008  Tanaka Akira  <akr@fsij.org>
54532
54533	* re.c (rb_reg_search): iterate onig_match for reverse mode.
54534
54535Fri Jan  4 01:20:21 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54536
54537	* win32.h: only VC6 needs extern "C++" for math.h.  [ruby-talk:285660]
54538
54539Fri Jan  4 00:54:43 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54540
54541	* include/ruby/oniguruma.h: Oniguruma 5.9.1 merged.
54542
54543Fri Jan  4 00:20:47 2008  Tanaka Akira  <akr@fsij.org>
54544
54545	* io.c (io_ungetc): move data in buffer if it is required to store the
54546	  argument.
54547
54548Thu Jan  3 21:56:07 2008  Tanaka Akira  <akr@fsij.org>
54549
54550	* include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP.
54551	  (st_strncasecmp): declared for STRNCASECMP.
54552
54553Thu Jan  3 20:24:48 2008  Koichi Sasada  <ko1@atdot.net>
54554
54555	* eval_jump.c (rb_f_catch): Restore cfp if caught thrown object.
54556
54557Thu Jan  3 19:45:57 2008  Koichi Sasada  <ko1@atdot.net>
54558
54559	* bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
54560
54561Thu Jan  3 18:39:12 2008  Tanaka Akira  <akr@fsij.org>
54562
54563	* encoding.c: (rb_tolower, rb_toupper): body was exchanged.
54564
54565Thu Jan  3 17:54:01 2008  Tanaka Akira  <akr@fsij.org>
54566
54567	* regenc.h (onigenc_ascii_is_code_ctype): put back.
54568
54569Thu Jan  3 17:33:09 2008  Tanaka Akira  <akr@fsij.org>
54570
54571	* encoding.c (rb_isalnum): defined.
54572	  (rb_isalpha): ditto.
54573	  (rb_isblank): ditto.
54574	  (rb_iscntrl): ditto.
54575	  (rb_isdigit): ditto.
54576	  (rb_isgraph): ditto.
54577	  (rb_islower): ditto.
54578	  (rb_isprint): ditto.
54579	  (rb_ispunct): ditto.
54580	  (rb_isspace): ditto.
54581	  (rb_isupper): ditto.
54582	  (rb_isxdigit): ditto.
54583	  (rb_tolower): ditto.
54584	  (rb_toupper): ditto.
54585
54586	* include/ruby/ruby.h: don't include include/ruby/encoding.h.
54587	  (rb_isascii): defined.
54588	  (rb_isalnum): declared.
54589	  (rb_isalpha): ditto.
54590	  (rb_isblank): ditto.
54591	  (rb_iscntrl): ditto.
54592	  (rb_isdigit): ditto.
54593	  (rb_isgraph): ditto.
54594	  (rb_islower): ditto.
54595	  (rb_isprint): ditto.
54596	  (rb_ispunct): ditto.
54597	  (rb_isspace): ditto.
54598	  (rb_isupper): ditto.
54599	  (rb_isxdigit): ditto.
54600	  (rb_tolower): ditto.
54601	  (rb_toupper): ditto.
54602	  (ISASCII): simplified.
54603	  (ISPRINT): ditto.
54604	  (ISSPACE): ditto.
54605	  (ISUPPER): ditto.
54606	  (ISLOWER): ditto.
54607	  (ISALNUM): ditto.
54608	  (ISALPHA): ditto.
54609	  (ISDIGIT): ditto.
54610	  (ISXDIGIT): ditto.
54611	  (TOUPPER): ditto.
54612	  (TOLOWER): ditto.
54613
54614	* include/ruby/encoding.h (rb_isascii): removed.
54615	  (rb_isalnum): ditto.
54616	  (rb_isalpha): ditto.
54617	  (rb_isblank): ditto.
54618	  (rb_iscntrl): ditto.
54619	  (rb_isdigit): ditto.
54620	  (rb_isgraph): ditto.
54621	  (rb_islower): ditto.
54622	  (rb_isprint): ditto.
54623	  (rb_ispunct): ditto.
54624	  (rb_isspace): ditto.
54625	  (rb_isupper): ditto.
54626	  (rb_isxdigit): ditto.
54627	  (rb_tolower): ditto.
54628	  (rb_toupper): ditto.
54629
54630	* common.mk: dependency updated.
54631
54632Thu Jan  3 15:10:26 2008  Tanaka Akira  <akr@fsij.org>
54633
54634	* include/ruby/encoding.h (rb_isascii): simplified.
54635	  (rb_isalnum): call onigenc_ascii_is_code_ctype without indirect call.
54636	  (rb_isalpha): ditto.
54637	  (rb_isblank): ditto.
54638	  (rb_iscntrl): ditto.
54639	  (rb_isdigit): ditto.
54640	  (rb_isgraph): ditto.
54641	  (rb_islower): ditto.
54642	  (rb_isprint): ditto.
54643	  (rb_ispunct): ditto.
54644	  (rb_isspace): ditto.
54645	  (rb_isupper): ditto.
54646	  (rb_isxdigit): ditto.
54647
54648	* include/ruby/oniguruma.h (onigenc_ascii_is_code_ctype): declaration
54649	  moved from regenc.h.
54650
54651Thu Jan  3 14:37:17 2008  Tanaka Akira  <akr@fsij.org>
54652
54653	* parse.y (parser_magic_comment): use STRNCASECMP.
54654	  (set_file_encoding): ditto.
54655
54656Thu Jan  3 11:44:37 2008  Tanaka Akira  <akr@fsij.org>
54657
54658	* time.c: don't mention an obsolete library, ParseDate.
54659
54660Thu Jan  3 11:28:58 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54661
54662	* io.c (fptr_finalize): clear errno first.  [ruby-talk:284492]
54663
54664Thu Jan  3 05:02:36 2008  Tanaka Akira  <akr@fsij.org>
54665
54666	* enc/us_ascii.c: add us_ascii_ prefix for functions to ease
54667	  setting breakpoint when debugging.
54668
54669	* enc/euc_jp.c: add eucjp_ prefix.
54670
54671	* enc/sjis.c: add sjis_ prefix.
54672
54673	* enc/iso_8859_1.c: add iso_8859_1_ prefix.
54674
54675	* enc/iso_8859_2.c: add iso_8859_2_ prefix.
54676
54677	* enc/iso_8859_3.c: add iso_8859_3_ prefix.
54678
54679	* enc/iso_8859_4.c: add iso_8859_4_ prefix.
54680
54681	* enc/iso_8859_5.c: add iso_8859_5_ prefix.
54682
54683	* enc/iso_8859_6.c: add iso_8859_6_ prefix.
54684
54685	* enc/iso_8859_7.c: add iso_8859_7_ prefix.
54686
54687Thu Jan  3 02:44:34 2008  Tanaka Akira  <akr@fsij.org>
54688
54689	* bignum.c (conv_digit): use ISDIGIT, ISLOWER and ISUPPER.
54690
54691Wed Jan  2 23:50:15 2008  Tanaka Akira  <akr@fsij.org>
54692
54693	* util.c (ruby_strtoul): "0x", "+" and "-" is not a valid integer.
54694	  end of integer should be just after "0", the beginning, the
54695	  beginning respectively.
54696
54697Wed Jan  2 15:23:15 2008  Tanaka Akira  <akr@fsij.org>
54698
54699	* util.c (ruby_strtoul): locale independent strtoul is implemented to
54700	  avoid "i".to_i(36) cause 0 under tr_TR locale on Debian GNU/Linux
54701	  4.0 (Etch).
54702	  This is newly implemented, not a copy of missing/strtoul.c.
54703
54704	* include/ruby/ruby.h (ruby_strtoul): declared.
54705	  (STRTOUL): defined to use ruby_strtoul.
54706
54707	* bignum.c, pack.c, ext/socket/socket.c: use STRTOUL.
54708
54709	* configure.in (strtoul): don't check.
54710
54711	* missing/strtoul.c: removed.
54712
54713	* include/ruby/missing.h (strtoul): removed.
54714
54715	* common.mk (strtoul.o): removed.
54716
54717	* LEGAL (missing/strtoul.c): removed.
54718
54719Wed Jan  2 14:41:08 2008  Tanaka Akira  <akr@fsij.org>
54720
54721	* common.mk (strcasecmp.o): removed.
54722	  (strncasecmp.o): removed.
54723
54724	* include/ruby/missing.h (strcasecmp): removed.
54725	  (strncasecmp): removed.
54726
54727Wed Jan  2 11:34:57 2008  Tanaka Akira  <akr@fsij.org>
54728
54729	* missing/strcasecmp.c: removed.  Ruby don't use locale dependent
54730	  strcasecmp.
54731
54732	* missing/strncasecmp.c: ditto.
54733
54734	* configure.in: don't check strcasecmp and strncasecmp.
54735
54736	* LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed.
54737
54738Wed Jan  2 10:13:54 2008  Tadayoshi Funaba  <tadf@dotrb.org>
54739
54740	* sample/time.rb: use Process.times instead of Time.times.
54741
54742Wed Jan  2 09:09:53 2008  Tadayoshi Funaba  <tadf@dotrb.org>
54743
54744	* sample/goodfriday.rb: examples for date are enough.  retired.
54745
54746Wed Jan  2 08:58:54 2008  Tadayoshi Funaba  <tadf@dotrb.org>
54747
54748	* sample/cal.rb: just updated with the newest version.
54749
54750Wed Jan  2 01:19:31 2008  Tanaka Akira  <akr@fsij.org>
54751
54752	* enc/depend: dependency updated.
54753
54754Wed Jan  2 00:14:41 2008  NARUSE, Yui  <naruse@ruby-lang.org>
54755
54756	* ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: Update nkf.
54757
54758	* ext/nkf/nkf.c: fix documents.
54759
54760	* ext/nkf/lib/kconv.rb: fix documents.
54761	  (Kconv.is*): use valid_encoding?.
54762	  (Kconv.isjis): defined.
54763
54764Tue Jan  1 23:17:03 2008  Tanaka Akira  <akr@fsij.org>
54765
54766	* common.mk: dependency updated.
54767
54768Tue Jan  1 21:11:33 2008  Tanaka Akira  <akr@fsij.org>
54769
54770	* include/ruby/encoding.h (rb_isascii): defined.
54771	  (rb_isalnum): ditto.
54772	  (rb_isalpha): ditto.
54773	  (rb_isblank): ditto.
54774	  (rb_iscntrl): ditto.
54775	  (rb_isdigit): ditto.
54776	  (rb_isgraph): ditto.
54777	  (rb_islower): ditto.
54778	  (rb_isprint): ditto.
54779	  (rb_ispunct): ditto.
54780	  (rb_isspace): ditto.
54781	  (rb_isupper): ditto.
54782	  (rb_isxdigit): ditto.
54783	  (rb_tolower): ditto.
54784	  (rb_toupper): ditto.
54785
54786	* include/ruby/st.h (st_strcasecmp): declared.
54787	  (st_strncasecmp): ditto.
54788
54789	* st.c (type_strcasehash): use st_strcasecmp instead of strcasecmp.
54790	  (st_strcasecmp): defined.
54791	  (st_strncasecmp): ditto.
54792
54793	* include/ruby/ruby.h: include include/ruby/encoding.h.
54794	  (ISASCII): use rb_isascii.
54795	  (ISPRINT): use rb_isprint.
54796	  (ISSPACE): use rb_isspace.
54797	  (ISUPPER): use rb_isupper.
54798	  (ISLOWER): use rb_islower.
54799	  (ISALNUM): use rb_isalnum.
54800	  (ISALPHA): use rb_isalpha.
54801	  (ISDIGIT): use rb_isdigit.
54802	  (ISXDIGIT): use rb_isxdigit.
54803	  (TOUPPER): defined.
54804	  (TOLOWER): ditto.
54805	  (STRCASECMP): ditto.
54806	  (STRNCASECMP): ditto.
54807
54808	* dir.c, encoding.c, file.c, hash.c, process.c, ruby.c, time.c,
54809	  transcode.c, ext/readline/readline.c: use locale insensitive
54810	  functions.  [ruby-core:14662]
54811
54812Tue Jan  1 17:50:47 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54813
54814	* io.c (rb_io_mode_enc): encoding spec is not allowed in binary mode.
54815	  [ruby-dev:32913]
54816
54817Tue Jan  1 14:41:56 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54818
54819	* lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:
54820	  <http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9>
54821	  [ruby-core:14639]
54822
54823Tue Jan  1 14:15:04 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>
54824
54825	* string.c (rb_str_substr): offset movement bug.  a patch from
54826	  Vincent Isambart <vincent.isambart at gmail.com> in
54827	  [ruby-core:14647].  [ruby-core:14644]
54828
54829Tue Jan  1 01:29:04 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54830
54831	* encoding.c (rb_to_encoding): raises for non-nil, non-encoding,
54832	  non-string object.  [ruby-core:14634]
54833
54834Tue Jan  1 01:04:06 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54835
54836	* ruby.c (process_options): rejects dummy encoding.
54837
54838Mon Dec 31 23:53:55 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54839
54840	* ruby.c (proc_options, process_options): delays finding encoding
54841	  until load_path is set.
54842
54843Mon Dec 31 23:27:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54844
54845	* string.c (rb_str_resize): embeds if ptr is null.  [ruby-dev:32819]
54846
54847Mon Dec 31 23:17:22 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
54848
54849	* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
54850	  call do_XXX which correspond with request method.
54851	  (WEBrick::HTTPProxyServer#do_CONNECT,do_GET,do_POST,do_HEAD): added.
54852
54853	* test/webrick/test_httpproxy.rb: add test for WEBrick::HTTPProxyServer.
54854
54855Mon Dec 31 22:53:29 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
54856
54857	* thread_pthread.c (native_sleep): timespec tv_sec may overflow on
54858	  some platform.  a patch from zunda <zunda616e AT yahoo.co.jp> in
54859	  [ruby-dev:32904].
54860
54861Mon Dec 31 19:35:20 2007  Tanaka Akira  <akr@fsij.org>
54862
54863	* string.c (IS_7BIT): removed.
54864	  (single_byte_optimizable): new function to test optimizationability
54865	  using single byte string.
54866	  (str_strlen): use single_byte_optimizable instead of
54867	  is_ascii_string.
54868	  (str_nth): rename argument: asc -> singlebyte.
54869	  (str_offset): ditto.
54870	  (rb_str_substr): use single_byte_optimizable instead of IS_7BIT.
54871	  (rb_str_index): ditto.
54872	  (rb_str_rindex): ditto.
54873	  (rb_str_splice): ditto.
54874	  (rb_str_justify): ditto.
54875
54876Mon Dec 31 07:39:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54877
54878	* main.c, goruby.c (RUBY_MAIN_INIT): removed.
54879
54880	* goruby.c (goruby_run_node): run after ruby_init_loadpath() so that
54881	  require works, and protect the call.
54882
54883Mon Dec 31 06:50:38 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54884
54885	* common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for cross
54886	  compiling.
54887
54888	* configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib
54889	  moved.
54890
54891Mon Dec 31 06:08:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54892
54893	* include/ruby/encoding.h (rb_enc_sprintf, rb_enc_vsprintf): prototyped.
54894
54895	* sprintf.c (rb_enc_sprintf, rb_enc_vsprintf): new functions to format
54896	  arguments with encoding.
54897
54898Sun Dec 30 23:48:00 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
54899
54900	* golf_prelude.rb (String#/): define / as split, as association of
54901	  Array#*.
54902
54903Sun Dec 30 23:19:06 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
54904
54905	* golf_prelude.rb (@@golf_hash): for performance improvement.
54906
54907Sun Dec 30 22:44:50 2007  Tadayoshi Funaba  <tadf@dotrb.org>
54908
54909	* lib/date.rb (_valid_time?): I'm not sure to recommend such an
54910	  expression.  but anyway it is acceptable now.  [ruby-core:14580]
54911
54912Sun Dec 30 21:54:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54913
54914	* parse.y (program, yycompile0): too early to drop lex_lastline in
54915	  rules.
54916
54917Sun Dec 30 19:23:23 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
54918
54919	* bootstraptest/test_knownbug.rb: support DOSISH.
54920
54921Sun Dec 30 17:43:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54922
54923	* encoding.c (Init_Encoding): registered rb_encoding differs from
54924	  ONIG_ENCODINGs.
54925
54926Sun Dec 30 13:56:15 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54927
54928	* parse.y (program): clear input strings after all process.
54929
54930	* parse.y (parser_nextc, parser_yylex): should not drop lex_lastline
54931	  while lex_p is valid.  [ruby-dev:32896]
54932
54933Sun Dec 30 10:54:49 2007  NARUSE, Yui  <naruse@ruby-lang.org>
54934
54935	* configure.in: rm largefile.h.
54936
54937	* common.mk: clean golf, conf*, preludes, and so on.
54938
54939	* enc/depend: silent and ignore error for rm.
54940
54941	* enc/Makefile.in: should define prefix and exec_prefix.
54942
54943Sun Dec 30 06:31:11 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
54944
54945	* encoding.c (Init_encoding): register Windows-31J and its alias.
54946	  [ruby-dev:32843]
54947
54948	* ruby.c (proc_options): -Ks options means Windows-31J, not Shift_JIS.
54949
54950Sun Dec 30 06:27:38 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
54951
54952	* lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windows
54953	  native commands.
54954
54955Sun Dec 30 01:43:56 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54956
54957	* enc/Makefile.in (DLDFLAGS): like as extensions.  [ruby-core:14567]
54958
54959Sat Dec 29 23:48:13 2007  Tanaka Akira  <akr@fsij.org>
54960
54961	* io.c (io_fflush): don't retry when wbuf modified by other threads.
54962
54963Sat Dec 29 22:44:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54964
54965	* re.c (rb_reg_regsub): returns the given string itself if nothing
54966	  changed.
54967
54968	* string.c (rb_str_sub_bang): keeps code-range as possible.
54969
54970	* string.c (str_gsub): adjusts code-range.  [ruby-core:14566]
54971
54972Sat Dec 29 21:54:37 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
54973
54974	* common.mk (clean, distclean, realclean): should include clean-enc
54975	  and others.  [ruby-dev:32887]
54976
54977Sat Dec 29 13:29:29 2007  Tanaka Akira  <akr@fsij.org>
54978
54979	* bootstraptest/test_knownbug.rb: add a test reported by
54980	  Kazuhiro NISHIYAMA.  [ruby-dev:32819].
54981	  add a test reported by Frederick Cheung.  [ruby-core:14556].
54982
54983	* test/ruby/test_m17n.rb (test_gsub): add a test reported by
54984	  Sam Ruby.  [ruby-core:14566]
54985
54986Sat Dec 29 04:46:58 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
54987
54988	* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):
54989	  throw won't raise NameError nor ThreadError but ArgumentError on 1.9.
54990	  (Test::Unit::Assertions#assert_not_throws): ditto.
54991
54992	* test/testunit/test_assertions.rb: add assertions for throwing some
54993	  objects other than Symbol.
54994
54995Sat Dec 29 03:10:12 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
54996
54997	* io.c (io_unread): fix typo.
54998
54999Sat Dec 29 02:18:45 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55000
55001	* io.c (io_unread): adhoc workaround for non-binary mode of some DOSish
55002	  platforms. this is not perfect and safety, but works with most cases.
55003
55004Fri Dec 28 23:53:18 2007  Tanaka Akira  <akr@fsij.org>
55005
55006	* ext/strscan/strscan.c (str_new): new function for allocate an string
55007	  with encoding propagation.
55008	  (extract_range): use str_new.
55009	  (extract_beg_len): ditto.
55010	  (strscan_peek): ditto.
55011	  (strscan_rest): ditto.
55012
55013Fri Dec 28 20:18:42 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
55014
55015	* golf_prelude.rb (Object.say): derived from Perl 5.10.
55016
55017Fri Dec 28 19:39:34 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55018
55019	* encoding.c (rb_locale_encoding): should check return value from
55020	  rb_locale_charmap().
55021
55022	* ruby.c (locale_encoding): removed.
55023
55024	* ruby.c (process_options): use rb_locale_encoding() instead of
55025	  locale_encoding().
55026
55027	* ext/readline/readline.c (readline_readline): use locale encoding
55028	  instead of input IO's encoding. [ruby-dev:32872]
55029
55030Fri Dec 28 19:29:07 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55031
55032	* ext/readline/readline.c (readline_readline, readline_s_set_input):
55033	  use mReadline directly because self is not always same.
55034
55035Fri Dec 28 19:11:28 2007  Tanaka Akira  <akr@fsij.org>
55036
55037	* encoding.c (rb_locale_encoding): defined.
55038
55039	* include/ruby/encoding.h (rb_locale_encoding): declared.
55040
55041Fri Dec 28 18:45:29 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55042
55043	* ext/readline/readline.c (readline_readline): set encoding to result.
55044
55045	* ext/readline/readline.c (readline_s_set_input, Init_readline): save
55046	  input IO to hidden instance variable.
55047
55048Fri Dec 28 01:55:04 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
55049
55050	* transcode.c (transcode_dispatch): reverted some of the changes
55051	  in r14746.
55052
55053	* transcode.c, enc/trans/single_byte.c: Added conversions to/from
55054	  US-ASCII and ASCII-8BIT (using data tables).
55055
55056	* enc/trans/single_byte.c: Some spacing/ordering changes due to
55057	  automatic data file generation.
55058
55059	* transcode_data.h, transcode.c: Preliminary code for using
55060	  micro-conversion functions.
55061
55062	* test/ruby/test_transcode.rb: Added some tests for US-ASCII and
55063	  ASCII-8BIT conversions.
55064
55065Fri Dec 28 17:33:44 2007  Tanaka Akira  <akr@fsij.org>
55066
55067	* time.c (make_time_t): verify mktime and timegm result.
55068
55069Fri Dec 28 16:36:33 2007  NARUSE, Yui  <naruse@airemix.com>
55070
55071	* lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.
55072
55073Fri Dec 28 16:10:00 2007  Eric Hodel  <drbrain@segment7.net>
55074
55075	* lib/rdoc/dot/dot.rb: Move to lib/rdoc/dot.rb. Fix namespacing.
55076
55077	* lib/rdoc/diagram.rb: Update for 1.9.
55078
55079Fri Dec 28 15:38:29 2007  Eric Hodel  <drbrain@segment7.net>
55080
55081	* lib/rdoc/markup/sample/: Move to sample/rdoc/markup directory.
55082
55083Fri Dec 28 15:15:12 2007  Akinori MUSHA  <knu@iDaemons.org>
55084
55085	* lib/irb/completion.rb: Remove garbage ("X=1").
55086
55087Fri Dec 28 15:12:05 2007  Eric Hodel  <drbrain@segment7.net>
55088
55089	* lib/rdoc, test/rdoc: Move RDoc tests out of lib/.
55090
55091Fri Dec 28 15:10:47 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55092
55093	* encoding.c (set_base_encoding, enc_base_encoding): renamed
55094	  based_encoding as base_encoding.
55095
55096Fri Dec 28 13:57:49 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55097
55098	* golf_prelude.rb (Integer#each): use alias simply.
55099
55100Fri Dec 28 13:45:21 2007  Akinori MUSHA  <knu@iDaemons.org>
55101
55102	* golf_prelude.rb (Object.const_missing): No need to delegate to
55103	  superclass.  Just raise a NameError when none matches.
55104
55105Fri Dec 28 13:18:47 2007  Kouhei Sutou  <kou@cozmixng.org>
55106
55107	* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.
55108
55109	* lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name.
55110	  Reported by Ray Chen. Thanks.
55111
55112Fri Dec 28 13:07:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55113
55114	* gc.c (os_obj_of): returns an enumerator if no block given.  based on
55115	  a patch from Yugui <yugui AT yugui.sakura.ne.jp>.  [ruby-dev:32828]
55116
55117Fri Dec 28 11:46:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55118
55119	* tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison
55120	  1.8 series.  [ruby-dev:32825]
55121
55122Fri Dec 28 11:39:02 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55123
55124	* golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]
55125	  returns an array of lines.
55126
55127Fri Dec 28 11:16:53 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55128
55129	* golf_prelude.rb (Object.quine): get the script itself.
55130
55131Fri Dec 28 10:06:54 2007  Akinori MUSHA  <knu@iDaemons.org>
55132
55133	* golf_prelude.rb (Object.const_missing): Auto-complete constants.
55134
55135Fri Dec 28 01:55:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55136
55137	* transcode.c (transcode_dispatch): allows transcoding from/to
55138	  ASCII-8BIT.
55139
55140Fri Dec 28 01:47:25 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55141
55142	* golf_prelude.rb (Integer): Integer is now enumerable on goruby.
55143
55144Fri Dec 28 01:27:47 2007  Tanaka Akira  <akr@fsij.org>
55145
55146	* lib/rdoc/rdoc.rb (parse_files): don't depend on the default external
55147	  encoding.
55148
55149Fri Dec 28 00:01:57 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55150
55151	* common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY because
55152	  tool/compile_prelude.rb requires rbconfig.rb.
55153
55154Thu Dec 27 23:56:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55155
55156	* mkconfig.rb: should not use the libraries under the source directory
55157	  at cross compiling.
55158
55159Thu Dec 27 23:43:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55160
55161	* cygwin/GNUmakefile.in (EXTOBJS): uses ruby.rc always for other than
55162	  rubyw.exe.
55163
55164Thu Dec 27 22:31:37 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55165
55166	* lib/rubygems/commands/update_command.rb (do_rubygems_update): use
55167	  portable and safely ENV operation. reported in
55168	  <http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085>.
55169
55170Thu Dec 27 21:47:04 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55171
55172	* mkconfig.rb (prefix): archdir is "1.9.0", not "1.9". reported in
55173	  <http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085>.
55174
55175Thu Dec 27 17:57:30 2007  Tanaka Akira  <akr@fsij.org>
55176
55177	* parse.y, transcode_data.h, transcode.c, lib/weakref.rb,
55178	  lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c:
55179	  change "illegal" to "invalid" in a context which doesn't against
55180	  a law.
55181
55182Thu Dec 27 16:37:06 2007  Tanaka Akira  <akr@fsij.org>
55183
55184	* re.c (rb_reg_s_union): show encodings in error message.
55185
55186Thu Dec 27 15:25:16 2007  Tanaka Akira  <akr@fsij.org>
55187
55188	* encoding.c (rb_enc_codelen): show codepoint in error message.
55189
55190	* include/ruby/encoding.h (rb_enc_codelen): comment it returns
55191	  positive integer.
55192
55193	* string.c (rb_str_concat): rb_enc_codelen doesn't return 0.
55194
55195Thu Dec 27 15:18:44 2007  Tanaka Akira  <akr@fsij.org>
55196
55197	* encoding.c (rb_enc_codelen): error message refined.
55198
55199Thu Dec 27 15:11:27 2007  Tanaka Akira  <akr@fsij.org>
55200
55201	* encoding.c (rb_enc_check): show encodings in error message.
55202
55203Thu Dec 27 15:02:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55204
55205	* string.c (rb_str_casecmp): fixed using a wrong variable.
55206	  [ruby-list:44402]
55207
55208Thu Dec 27 14:34:38 2007  Tanaka Akira  <akr@fsij.org>
55209
55210	* io.c (io_fflush): checks wbuf modification by other threads.
55211	  not perfect.  it need locks.
55212
55213Thu Dec 27 10:44:03 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55214
55215	* ext/socket/socket.c: a patch to support IRIX from Andrew
55216	  Thompson <andrew@hijacked.us> in [ruby-core:14447].
55217
55218Thu Dec 27 02:25:45 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55219
55220	* lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCES
55221	  occurs. this is a workaround for mswin32.
55222
55223Wed Dec 26 22:47:31 2007  NARUSE, Yui <naruse@ruby-lang.org>
55224
55225	* lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array of
55226	  Resolv::DNS::Label::Str.
55227
55228	* lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string
55229	  is not defined, so replace to_s.
55230
55231	* lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by
55232	  ip6.arpa.
55233
55234Wed Dec 26 21:27:02 2007  Tadayoshi Funaba  <tadf@dotrb.org>
55235
55236	* lib/date/format.rb (_xmlschema): some improvements.
55237
55238	* lib/date/format.rb (_parse): a new hint compfunc. [experimental]
55239
55240Wed Dec 26 17:31:08 2007  Tanaka Akira  <akr@fsij.org>
55241
55242	* io.c (io_fflush): check closed fptr after rb_write_internal to avoid
55243	  SEGV on MacOS X.
55244
55245Wed Dec 26 16:10:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55246
55247	* string.c (Init_String): defines chars method.
55248
55249Wed Dec 26 14:38:43 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55250
55251	* instruby.rb: install goruby if exists.
55252
55253Wed Dec 26 13:55:02 2007  James Edward Gray II  <jeg2@ruby-lang.org>
55254
55255	* lib/csv.rb:  Cleaned up some code with Ruby 1.9 idioms.
55256
55257Wed Dec 26 13:29:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55258
55259	* array.c (tmpbuf): use rb_str_tmp_new().
55260
55261Wed Dec 26 00:57:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55262
55263	* ext/json/ext/generator/generator.c (Init_generator): requires
55264	  json/common.rb for GeneratorError, when static linked.  a patch from
55265	  Kenta Murata <muraken AT gmail.com> in [ruby-dev:32789].
55266
55267Tue Dec 25 23:33:55 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55268
55269	* development version 1.9.0 released.
55270
55271Tue Dec 25 23:25:29 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55272
55273	* lib/rexml/node.rb (REXML::Node::indent): should initialize rv
55274	  variable.  a patch from Tadayoshi Funaba <tadf AT dotrb.org> in
55275	  [ruby-dev:32783].
55276
55277Tue Dec 25 23:16:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55278
55279	* ruby.c (proc_options): encoding option in shebang and RUBYOPT did not
55280	  work, do not store alloca()ed string in a parent scope struct.
55281
55282Tue Dec 25 22:56:52 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55283
55284	* win32/Makefile.sub (config.status): keep this file.
55285
55286Tue Dec 25 22:55:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55287
55288	* configure.in (TIMEZONE_VOID): typo.
55289
55290Tue Dec 25 22:45:10 2007  Koichi Sasada  <ko1@atdot.net>
55291
55292	* insns2vm.rb: add encoding option to shebang.
55293
55294Tue Dec 25 22:13:51 2007  Koichi Sasada  <ko1@atdot.net>
55295
55296	* bootstraptest/pending.rb: add pending issue.
55297
55298Tue Dec 25 22:12:40 2007  Koichi Sasada  <ko1@atdot.net>
55299
55300	* thread.c: remove Thread.critical(=).
55301
55302Tue Dec 25 21:44:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55303
55304	* tool/make-snapshot: add version number.
55305
55306Tue Dec 25 21:32:54 2007  Koichi Sasada  <ko1@atdot.net>
55307
55308	* compile.c (iseq_compile_each): fix stack consistency error
55309	  (break is compiled to throw instead of jump insn).
55310	  these problems are reported by Yusuke ENDOH <mame AT tsg.ne.jp>
55311
55312	* bootstraptest/test_knownbug.rb, test_syntax.rb: move fixed test.
55313
55314Tue Dec 25 21:32:44 2007  Tanaka Akira  <akr@fsij.org>
55315
55316	* parse.y (struct parser_params): make parser_ruby_sourcefile common
55317	  field.  it is used by node_newnode.
55318	  new field parser_ruby_sourcefile_string for ripper.
55319	  (parser_initialize): initialize parser_ruby_sourcefile in ripper.
55320	  (ripper_initialize): initialize parser_ruby_sourcefile_string.
55321
55322Tue Dec 25 21:26:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55323
55324	* common.mk (parse.c): depends on tool/ytab.sed.
55325
55326	* tool/ytab.sed: hack for bison 2.1.
55327
55328Tue Dec 25 20:24:58 2007  Technorama Ltd.  <oss-ruby@technorama.net>
55329
55330	* ext/openssl/ossl_ssl.c: Only show a warning if the default
55331	  DH callback is actually used.
55332
55333	* ext/openssl/ossl_rand.c: New method: random_add().
55334
55335Tue Dec 25 20:24:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55336
55337	* tool/make-snapshot: argument check, and cleanup exported directory.
55338
55339Tue Dec 25 20:07:13 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
55340
55341	* tool/make-snapshot: more portable.
55342
55343Tue Dec 25 19:01:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55344
55345	* encoding.h (rb_enc_mbc_to_codepoint): wrapper for
55346	  ONIGENC_MBC_TO_CODE().
55347
55348	* string.c (rb_str_succ): deal with invalid sequence as binary.
55349
55350Tue Dec 25 18:40:46 2007  Koichi Sasada  <ko1@atdot.net>
55351
55352	* iseq.c: all methods need $SAFE < 1.
55353
55354	 vm.c: comment out debug functions.
55355
55356Tue Dec 25 18:37:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55357
55358	* io.c (appendline): move RS comparison to rb_io_getline_1().
55359
55360Tue Dec 25 18:27:51 2007  Tanaka Akira  <akr@fsij.org>
55361
55362	* string.c (rb_str_each_line): don't call rb_enc_codepoint with empty
55363	  string.
55364
55365Tue Dec 25 18:06:04 2007  Tanaka Akira  <akr@fsij.org>
55366
55367	* string.c (rb_str_inspect): don't call rb_enc_codepoint with empty
55368	  string.  fix '#'.inspect.
55369
55370	* encoding.c (rb_enc_codepoint): raise on empty string.
55371
55372Tue Dec 25 17:48:28 2007  Shugo Maeda  <shugo@ruby-lang.org>
55373
55374	* vm.c (rb_frame_method_id_and_class): new function to get the
55375	  method id and class of the current frame.
55376
55377Tue Dec 25 17:32:04 2007  Akinori MUSHA  <knu@iDaemons.org>
55378
55379	* lib/mkmf.rb (create_makefile): Add a missing dependency on the
55380	  target directory for each .rb file.  This will hopefully fix
55381	  parallel make (-jN).  Tested on FreeBSD.
55382
55383Tue Dec 25 16:51:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55384
55385	* enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
55386	  from_encoding and to_encoding.
55387
55388Tue Dec 25 16:41:57 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55389
55390	* golf_prelude.rb (h): add new method for all golfers.
55391
55392Tue Dec 25 16:37:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55393
55394	* enc/trans/japanese.c (rb_to_EUC_JP): fixed typo.
55395
55396Tue Dec 25 16:34:58 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55397
55398	* ext/dl/depend: add dependencies. [ruby-dev:32760]
55399
55400Tue Dec 25 16:26:48 2007  Koichi Sasada  <ko1@atdot.net>
55401
55402	* include/ruby/ruby.h, thread.c: rename is_ruby_native_thread() to
55403	  ruby_native_thread_p().
55404
55405	* ext/tk/tcltklib.c: apply it.
55406
55407Tue Dec 25 16:15:15 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55408
55409	* common.mk (clean-enc): clean encoding objects.
55410
55411Tue Dec 25 16:04:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55412
55413	* common.mk, goruby.c, golf_prelude.rb: for golfers.
55414
55415	* main.c (main): hook for embedding applications.
55416
55417	* tool/compile_prelude.rb: can change initialize function name.
55418
55419Tue Dec 25 15:59:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55420
55421	* encoding.c (rb_enc_register): do not use based_encoding to check if
55422	  dummy encoding.
55423
55424Tue Dec 25 15:55:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55425
55426	* string.c (rb_str_succ): fix for string with non-alphanumeric chars.
55427
55428Tue Dec 25 15:42:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55429
55430	* io.c (rb_io_external_encoding): should return nil for
55431	  pass-through write IO.  [ruby-dev:32740]
55432
55433Tue Dec 25 15:24:57 2007  Tanaka Akira  <akr@fsij.org>
55434
55435	* io.c (appendline): initialize rslen to 1 if rsptr is 0.
55436	  rslen is the length of the delimiter.
55437	  if only delim is given, it should be 1.
55438	  [ruby-dev:32746]
55439
55440Tue Dec 25 15:21:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55441
55442	* transcode.c (transcode_dispatch): fix for multistep transcode.
55443
55444Tue Dec 25 15:07:51 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55445
55446	* enc/trans/single_byte.c (Init_single_byte): renamed.
55447
55448Tue Dec 25 15:00:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55449
55450	* enum.c (enum_yield): when multiple values yielded from #each
55451	  pack them into an array.  [ruby-dev:32708]
55452
55453	* enum.c: all method but all?, any?, one? and none? passed packed
55454	  multiple values to the block.
55455
55456	* enum.c (collect_all): should pack all values.  [ruby-core:14410]
55457
55458Tue Dec 25 14:57:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55459
55460	* common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.
55461
55462	* transcode_data.h (rb_transcoding, rb_transcoder): prefixed.
55463
55464	* transcode.c (rb_register_transcoder, rb_declare_transcoder): split
55465	  declaration and registration.  [ruby-dev:32704]
55466
55467	* transcode.c (transcode_dispatch): autoload pre-declared transcoder.
55468
55469	* transcode.c (str_transcode): use rb_define_dummy_encoding().
55470
55471	* transcode.c (Init_transcode): initialize transcoder tables.
55472
55473	* enc/trans/single_byte.c, enc/trans/japanese.c: moved from top.
55474
55475Tue Dec 25 14:20:13 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55476
55477	* lib/mkmf.rb (map_dir): should generate path including $top_srcdir.
55478
55479Tue Dec 25 14:09:16 2007  James Edward Gray II  <jeg2@ruby-lang.org>
55480
55481	* lib/csv.rb:  Fixed test failures caused by changes to Ruby.
55482
55483	* test/csv/tc_serialization, test/csv/tc_csv_parsing, test/csv/tc_features:
55484	  Fixed test failures caused by changes to Ruby.
55485
55486Tue Dec 25 14:11:57 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55487
55488	* io.c (io_encoding_set): missing return type.
55489
55490Tue Dec 25 14:03:48 2007  NARUSE, Yui <naruse@ruby-lang.org>
55491
55492	* test/rinda/test_rinda.rb (MockClock#{_forward, forward, sleep}):
55493	  Change default value of n as @reso from nil.  If default value is
55494	  nil, n.+ is not defined.
55495
55496Tue Dec 25 13:54:01 2007  Tanaka Akira  <akr@fsij.org>
55497
55498	* test/ruby/test_io_m17n.rb (test_pipe): fixed.
55499	  [ruby-dev:32743]
55500
55501Tue Dec 25 13:44:51 2007  Koichi Sasada  <ko1@atdot.net>
55502
55503	* thread.c (rb_thread_wait_fd_rw): should check EBADF on select().
55504
55505Tue Dec 25 13:30:03 2007  Koichi Sasada  <ko1@atdot.net>
55506
55507	* thread_pthread.c, thread_pthread.h, thread_win32.c,
55508	  thread_win32.c: make some functions static functions.
55509	  a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp>
55510	  in [ruby-core:14407]
55511
55512Tue Dec 25 13:23:13 2007  Tanaka Akira  <akr@fsij.org>
55513
55514	* test/ruby/test_io_m17n.rb (test_write_noenc): don't mix text and
55515	  binary mode.  [ruby-dev:32743]
55516
55517Tue Dec 25 13:13:09 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55518
55519	* README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src,
55520	  lex.c.blt, keywords, load.c, thread.c: more ANSI'ize.
55521	  a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp>
55522	  in [ruby-dev:32725]
55523
55524Tue Dec 25 13:07:56 2007  Koichi Sasada  <ko1@atdot.net>
55525
55526	* vm_core.h, thread.c, cont.c: add RUBY_VM_SET_INTERRUPT(),
55527	  RUBY_VM_SET_TIMER_INTERRUPT(), RUBY_VM_INTERRUPTED().
55528
55529	* thread.c, thread_pthread.c, thread_win32.c: fix to ignore time slice
55530	  event until sleep.
55531
55532	* bootstraptest/test_thread.rb: add a test for time limited join test.
55533
55534Tue Dec 25 12:42:59 2007  Koichi Sasada  <ko1@atdot.net>
55535
55536	* vm.c (Init_VM): remove unused code.
55537	  [ruby-dev:32732]
55538
55539Tue Dec 25 12:32:32 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
55540
55541	* transcode.c: Moving a static counter from inside register_transcoder()
55542	  and register_functional_transcoder() to outside the functions, renaming
55543	  from n to next_transcoder_position. Fixes 3) in [ruby-dev:32715].
55544
55545Tue Dec 25 12:22:17 2007  NARUSE, Yui <naruse@ruby-lang.org>
55546
55547	* sample/from.rb: follow Ruby 1.9 libraries.
55548
55549Tue Dec 25 12:21:56 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55550
55551	* proc.c (method_inspect): preserve encoding of the method name.
55552
55553Tue Dec 25 12:07:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55554
55555	* configure.in (BASERUBY): delayed error until BASERUBY is used.
55556
55557Tue Dec 25 11:48:35 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55558
55559	* sample/README: removed obsoleted files: dbmtest.rb,
55560	  getopts.test, mrshtest.rb, regx.rb.
55561
55562Tue Dec 25 11:45:34 2007  James Edward Gray II  <jeg2@ruby-lang.org>
55563
55564	* lib/csv.rb:  Import the FasterCSV source as the new CSV class.
55565
55566	* test/csv/*:  Added all applicable tests from FasterCSV.
55567
55568Tue Dec 25 11:33:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55569
55570	* error.c (report_bug): uses ruby_description.
55571
55572Tue Dec 25 11:20:38 2007  Koichi Sasada  <ko1@atdot.net>
55573
55574	* compile.c (iseq_compile_each): fix stack consistency error.
55575	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>  [ruby-dev:32720]
55576
55577	* bootstraptest/test_syntax.rb: add 2 tests for above.
55578
55579Tue Dec 25 11:14:20 2007  Koichi Sasada  <ko1@atdot.net>
55580
55581	* iseq.c, vm_core.h: comment out unused fields.
55582
55583Tue Dec 25 11:02:10 2007  Koichi Sasada  <ko1@atdot.net>
55584
55585	* vm.c: check frame is FINAL when creating env.
55586	  [ruby-core:14395]
55587
55588	* bootstraptest/test_block.rb: add a test for above.
55589
55590Tue Dec 25 09:12:13 2007  Eric Hodel  <drbrain@segment7.net>
55591
55592	* lib/rdoc/:  Enable RDoc debugging only with $DEBUG_RDOC.
55593
55594Tue Dec 25 08:37:43 2007  James Edward Gray II  <jeg2@ruby-lang.org>
55595
55596	* lib/csv.rb, test/csv/test_csv.rb:  Removed in preparation for
55597	  FasterCSV code import.
55598
55599Tue Dec 25 08:27:43 2007  Eric Hodel  <drbrain@segment7.net>
55600
55601	* lib/rubygems.rb:  Fix test failures.
55602
55603	* test/rubygems/test_gem.rb:  Fix test failure.
55604
55605Tue Dec 25 06:23:40 2007  Koichi Sasada  <ko1@atdot.net>
55606
55607	* bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test.
55608
55609Tue Dec 25 06:19:04 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
55610
55611	* sample/biorhythm.rb: follow Ruby 1.9 libraries.
55612
55613Tue Dec 25 06:15:01 2007  Koichi Sasada  <ko1@atdot.net>
55614
55615	* vm.c: add dummy toplevel frame.
55616
55617Tue Dec 25 05:44:56 2007  Eric Hodel  <drbrain@segment7.net>
55618
55619	* lib/net/http.rb:  Fix uninitialized variable warning.
55620	  [ruby-talk:284582]
55621
55622	* lib/irb/output-method.rb:  Remove unused #foo method.
55623	  [ruby-talk:284582]
55624
55625Tue Dec 25 05:24:12 2007  Koichi Sasada  <ko1@atdot.net>
55626
55627	* compile.c (iseq_compile): clear local table if node == 0.
55628	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>  [ruby-dev:32530]
55629
55630	* vm.c: clear VM stack.
55631
55632Tue Dec 25 04:23:32 2007  Tanaka Akira  <akr@fsij.org>
55633
55634	* parse.y (rb_id2str): fill klass of returned string as rb_cString.
55635	  some strings are allocated before rb_cString is created.
55636	  This prevents a "called on terminated object" error by
55637	  ObjectSpace.each_object(Module) {|m| p m.name }.
55638
55639Tue Dec 25 03:51:55 2007  Koichi Sasada  <ko1@atdot.net>
55640
55641	* compile.c (iseq_compile_each): fix stack consistency bug.
55642	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
55643
55644Tue Dec 25 03:19:47 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
55645
55646	* tool/make-snapshot: must create configure and lex.c.
55647
55648Tue Dec 25 03:16:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55649
55650	* io.c (rb_io_s_pipe): now takes up to two arguments.  allow its
55651	  external/internal encoding by Encoding objects.
55652
55653	* io.c (rb_io_set_encoding): new method to set encoding of the IO.
55654
55655	* io.c (argf_set_encoding): ditto.
55656
55657Tue Dec 25 03:08:53 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55658
55659	* pack.c (pack_pack): use NUM2LONG instead of NUM2INT.
55660
55661	* numeric.c (fix_lshift, fix_aref): use SIZEOF_LONG instead of
55662	  SIZEOF_VALUE.
55663
55664	* bignum.c (big2ulong, rb_big_aref): ditto.
55665
55666Tue Dec 25 02:55:26 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
55667
55668	* lib/rexml/element.rb (REXML::Elements#each): yield in each
55669	  should be called with one parameter. [ruby-dev:32708]
55670
55671Tue Dec 25 02:15:39 2007  Koichi Sasada  <ko1@atdot.net>
55672
55673	* compile.c (iseq_compile_each): add a "pop" insn after break
55674	  to fix stack consistency error.  [ruby-core:14385]
55675
55676	* bootstraptest/test_syntax.rb: add tests for above.
55677
55678	* bootstraptest/test_knownbug.rb: remove fixed bug.
55679
55680Tue Dec 25 01:54:36 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55681
55682	* id.c (Init_id): remove several unused symbols. [ruby-core:14362]
55683
55684	* compile.c (iseq_specialized_instruction): do not use
55685	  VM_CALL_SEND_BANG flag any longer.
55686
55687Tue Dec 25 01:42:41 2007  Tanaka Akira  <akr@fsij.org>
55688
55689	* lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
55690
55691Tue Dec 25 01:38:04 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55692
55693	* proc.c (method_name): preserve Symbol's encoding.
55694
55695	* numeric.c (fix_id2name): ditto.
55696
55697Tue Dec 25 01:19:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55698
55699	* include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.
55700
55701	* include/ruby/encoding.h (rb_enc_right_char_head): ditto.
55702
55703	* io.c (appendline): does multibyte RS search in the function.
55704
55705	* io.c (prepare_getline_args): RS may be nil.
55706
55707	* io.c (rb_io_getc): should process character based on external
55708	  encoding, when transcoding required.
55709
55710Tue Dec 25 01:07:57 2007  Tanaka Akira  <akr@fsij.org>
55711
55712	* lib/irb/output-method.rb: translate a comment to English to
55713	  avoid mix of EUC-JP comment and UTF-8 Date keyword.
55714	  svn substitute Date keyword with UTF-8 weekday on UTF-8 locale.
55715
55716Tue Dec 25 00:27:28 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
55717
55718	* lib/webrick/httpservley/cgihandler.rb
55719	  (WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized.
55720
55721Mon Dec 24 23:55:29 2007  Tanaka Akira  <akr@fsij.org>
55722
55723	* lib/cgi.rb (CGI::escape): m17nized.
55724	  (CGI::unescape): ditto.
55725	  (CGI::escapeHTML): ditto.
55726	  (CGI::unescapeHTML): ditto.
55727
55728Mon Dec 24 23:32:24 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
55729
55730	* transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
55731
55732Mon Dec 24 23:13:09 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
55733
55734	* lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
55735	  instead of ftools.
55736
55737Mon Dec 24 23:04:57 2007  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
55738
55739	* lib/ftools.rb: removed obsoleted lib.  use fileutils instead (by eban).
55740
55741	* lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use
55742	  fileutils instead of ftools.
55743
55744	* lib/shell/command-processor.rb: removed unused references to ftools.
55745
55746	* lib/parsedate.rb: removed.  see [ruby-core:12535], [ruby-dev:31969].
55747
55748	* lib/README: updated.
55749
55750Mon Dec 24 23:01:04 2007  Tanaka Akira  <akr@fsij.org>
55751
55752	* lib/open-uri.rb (OpenURI::Buffer): use Meta ===.  [ruby-core:14295]
55753
55754Mon Dec 24 22:46:42 2007  NARUSE, Yui <naruse@ruby-lang.org>
55755
55756	* transcode.c: register_functional_transcoder() added.
55757	  (init_transcoder_table(: register ISO-2022-JP.
55758	  (str_transcode): add preprocessor and postprocessor.
55759
55760	* transcode_data_japanese.c: add ISO-2022-JP support.
55761
55762	* transcode_data.h: moved transcoder and transcoding definition from
55763	  transcode.c.
55764
55765Mon Dec 24 20:29:28 2007  Koichi Sasada  <ko1@atdot.net>
55766
55767	* test/io/nonblock/test_flush.rb: fix test for 1.9.
55768
55769Mon Dec 24 20:23:44 2007  Koichi Sasada  <ko1@atdot.net>
55770
55771	* test/rinda/test_rinda.rb: revert last commit because this test seems
55772	  to have timing problem to halt all tests.
55773
55774Mon Dec 24 20:18:52 2007  Koichi Sasada  <ko1@atdot.net>
55775
55776	* test/rinda/test_rinda.rb: enable rinda test.
55777
55778Mon Dec 24 20:16:54 2007  Koichi Sasada  <ko1@atdot.net>
55779
55780	* instruby.rb: fix rdoc install dir.
55781
55782Mon Dec 24 18:37:32 2007  Tanaka Akira  <akr@fsij.org>
55783
55784	* re.c (rb_reg_prepare_re): show regexp encoding in the error message.
55785
55786Mon Dec 24 18:23:32 2007  Tanaka Akira  <akr@fsij.org>
55787
55788	* eval.c (rb_exc_raise): ANSI style.
55789	  (rb_exc_fatal): ditto.
55790	  (rb_raise_jump): ditto.
55791	  (rb_jump_tag): ditto.
55792	  (rb_block_given_p): ditto.
55793
55794	* variable.c (original_module): ditto.
55795
55796Mon Dec 24 18:05:09 2007  Koichi Sasada  <ko1@atdot.net>
55797
55798	* iseq.c (Init_ISeq): disable ISeq.load() because there is no verifier.
55799
55800	* iseq.c, proc.c: add ISeq.disasm(method).
55801
55802Mon Dec 24 18:06:03 2007  Tanaka Akira  <akr@fsij.org>
55803
55804	* eval_method.c (Init_eval_method): extracted from Init_eval
55805	  for rdoc to find rb_mod_remove_method, rb_mod_undef_method and
55806	  rb_mod_alias_method.
55807
55808	* eval.c (Init_eval): call Init_eval_method.
55809
55810Mon Dec 24 17:59:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55811
55812	* load.c (load_lock): reverted.
55813
55814	* thread.c (rb_barrier_wait): check for recursive wait.
55815
55816Mon Dec 24 17:50:54 2007  Tanaka Akira  <akr@fsij.org>
55817
55818	* eval.c (function_call_may_return_twice_jmp_buf): removed.
55819	  (function_call_may_return_twice_false): removed.
55820	  [ruby-core:14335]
55821
55822Mon Dec 24 17:40:57 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55823
55824	* common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannot
55825	  handle target vpath in other than implicit rules.
55826
55827Mon Dec 24 17:20:34 2007  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
55828
55829	* lib/{mailread.rb,getopts.rb,parsearg.rb}: removed.
55830	  see [ruby-core:12535], [ruby-dev:31969].
55831
55832Mon Dec 24 17:12:57 2007  Tanaka Akira  <akr@fsij.org>
55833
55834	* include/ruby/intern.h, random.c, array.c:
55835	  change exported name.
55836	  genrand_int32 -> rb_genrand_int32.
55837	  genrand_real -> rb_genrand_real.
55838	  [ruby-core:14335]
55839
55840Mon Dec 24 17:06:37 2007  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
55841
55842	* {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion
55843	  at ruby-core and ruby-dev.  see [ruby-core:12535], [ruby-dev:31969].
55844
55845Mon Dec 24 17:06:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55846
55847	* load.c (rb_feature_p): returns loading path name too.
55848
55849	* load.c (search_required): returns path too if feature is being
55850	  loaded.  [ruby-dev:32048]  [TODO: refactoring]
55851
55852Mon Dec 24 16:29:12 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
55853
55854	* sample/openssl: reviewed and remove dependency on getopts.rb.
55855
55856Mon Dec 24 16:18:57 2007  Koichi Sasada  <ko1@atdot.net>
55857
55858	* mkconfig.rb: add teeny to CONFIG['ruby_version'].
55859
55860Mon Dec 24 15:55:50 2007  Koichi Sasada  <ko1@atdot.net>
55861
55862	* tool/compile.rb, getrev.rb, runruby.rb: remove unused tools.
55863
55864Mon Dec 24 15:42:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55865
55866	* configure.in, cygwin/GNUmakefile.in, */Makefile.sub,
55867	  djgpp/config.hin.: version dependent directory names now contain
55868	  teeny.
55869
55870Mon Dec 24 15:29:13 2007  Tanaka Akira  <akr@fsij.org>
55871
55872	* tool/serb.rb: removed.
55873
55874Mon Dec 24 13:55:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55875
55876	* proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.
55877	  [ruby-core:14310]
55878
55879	* test/ruby/test_symbol.rb (test_to_proc): a test from Frederick
55880	  Cheung <frederick.cheung AT gmail.com>.
55881
55882Mon Dec 24 13:43:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55883
55884	* thread.c (rb_thread_atfork): should not leave living_threads
55885	  referring freed table while allocating new table.
55886
55887Mon Dec 24 12:49:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55888
55889	* Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specify
55890	  compiled output file name explicitly.
55891
55892	* enc/Makefile.in, enc/depend: now makes compiler to put generated
55893	  files under directories corresponding to the each source.
55894	  enc/trans supported.
55895
55896	* enc/make_encmake.rb: evaluates depend file before Makefile.in so
55897	  that the former can influence to CONFIG.
55898
55899Mon Dec 24 12:35:03 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55900
55901	* win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l.
55902
55903Mon Dec 24 12:08:10 2007  Eric Hodel  <drbrain@segment7.net>
55904
55905	* /, ext/:  Add svn:ignore for OS X Xcode 3's conftest.dSYM
55906	  directories.
55907
55908Mon Dec 24 11:56:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
55909
55910	* common.mk: should not pass MAKEFLAGS to recursive make.
55911	  + normal make: MFLAGS are set and command line options and macros
55912	    are all passed silently.
55913	  + GNU make: ditto, and all options and macros in MAKEFLAGS are in
55914	    effect.
55915	  + nmake: MFLAGS is not set and MAKEFLAGS has only options without
55916	    hyphen, no macros exist in any variables.
55917	  + Borland make: ditto, and command line macros cannot override
55918	    macros in makefile, so passing them is vain.
55919
55920	* {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not
55921	  set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS.
55922
55923Mon Dec 24 11:32:44 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55924
55925	* string.c (rb_str_comparable): fixed to keep transitivity.
55926	  [ruby-dev:32693]
55927
55928Mon Dec 24 11:20:31 2007  Eric Hodel  <drbrain@segment7.net>
55929
55930	* lib/rdoc/ri/ri_options.rb:  Fix display of GEMDIRS, make command
55931	  examples match ri's name.
55932
55933	* lib/rdoc/ri/ri_paths.rb:  Only allow latest ri dirs in ri output.
55934
55935Mon Dec 24 10:49:04 2007  Eric Hodel  <drbrain@segment7.net>
55936
55937	* lib/uri/mailto.rb, lib/uri/common.rb:  Fix Regexp warnings.  Patch
55938	  #16524 from Kornelius Kalnbach, [ruby-core:14302].
55939
55940Mon Dec 24 10:37:38 2007  Eric Hodel  <drbrain@segment7.net>
55941
55942	* gem_prelude.rb:  Remove methods from Gem, not QuickLoader, to fix
55943	  warnings.
55944
55945Mon Dec 24 09:45:45 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
55946
55947	* transcode.c, transcode_data_one_byte.c, transcode_data_japanese.c:
55948	  added rb_ prefix to external data symbols.
55949
55950Mon Dec 24 05:32:22 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55951
55952	* enum.c (enum_inject): updated documentation.  a patch from Keita
55953	  Yamaguchi <keita.yamaguchi AT gmail.com> in [ruby-dev:32686].
55954
55955	* README.EXT: updated.  a patch from Tadashi Saito
55956	  <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
55957
55958	* array.c (rb_ary_at): updated documentation. a patch from Tadashi
55959	  Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].
55960
55961Mon Dec 24 05:13:04 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55962
55963	* string.c (tr_trans): should associate new encoding if modified.
55964
55965Mon Dec 24 04:04:12 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
55966
55967	* test/net/http/test_https.rb: should rescue LoadError.
55968
55969Mon Dec 24 03:57:28 2007  Koichi Sasada  <ko1@atdot.net>
55970
55971	* cont.c, vm.h: fix to support sparc machine.
55972	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
55973
55974Mon Dec 24 03:35:19 2007  Koichi Sasada  <ko1@atdot.net>
55975
55976	* common.mk: remove additional "-".
55977
55978Mon Dec 24 02:59:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55979
55980	* io.c (rb_io_check_readable): should not fill fptr->enc always.
55981	  read-write IO (e.g. socket) does not work.  [ruby-dev:32685]
55982
55983	* io.c (io_read_encoding): retrieve reading encoding.
55984
55985	* io.c (prepare_getline_args): convert RS to external encoding.
55986
55987	* string.c (str_new_shared): was setting embedding flag of wrong
55988	  string object.  [ruby-dev:32685]
55989
55990	* io.c (io_enc_str): should preserve default_external encoding.
55991
55992	* io.c (appendline): should do multibyte aware RS search.
55993
55994Mon Dec 24 02:06:35 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
55995
55996	* io.c (rb_f_open): documentation update.
55997
55998	* io.c (rb_io_s_pipe): ditto.
55999
56000	* io.c (io_fwrite): wrong encoding destination.
56001
56002	* io.c (rb_io_external_encoding): should return the encoding of
56003	  the file reading.
56004
56005	* io.c (rb_io_internal_encoding): should return the encoding of
56006	  read string.
56007
56008Mon Dec 24 01:46:43 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56009
56010	* io.c (rb_io_s_pipe): allow specifying read-side encoding.
56011
56012	* io.c (io_enc_str): wrong encoding destination.
56013
56014Mon Dec 24 01:03:17 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56015
56016	* string.c (rb_str_comparable): comparison including broken
56017	  coderange strings do not consider encoding.
56018
56019Mon Dec 24 00:57:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56020
56021	* io.c (open_key_args): IO direct methods (foreach, readlines,
56022	  read) now takes keyword argument: encoding, mode, open_args.
56023
56024Mon Dec 24 00:52:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56025
56026	* io.c (rb_io_s_read): encoding argument reverted.
56027
56028	* io.c (mode_enc): independent function to share code.
56029
56030	* io.c (rb_io_internal_encoding): new method.
56031
56032Mon Dec 24 00:47:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56033
56034	* test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn):
56035	  rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary
56036	  warning in make test.
56037
56038Sun Dec 23 23:03:13 2007  Tanaka Akira  <akr@fsij.org>
56039
56040	* encoding.c (rb_enc_codepoint): implemented to raise invalid
56041	  encoding.
56042
56043	* include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a
56044	  declaration.
56045
56046Sun Dec 23 19:45:22 2007  Tanaka Akira  <akr@fsij.org>
56047
56048	* lib/time.rb (Time.httpdate): fix 2 digits year for 20xx.
56049	  reported by Tadayoshi Funaba.  [ruby-dev:32687]
56050
56051Sun Dec 23 19:33:42 2007  Eric Hodel  <drbrain@segment7.net>
56052
56053	* lib/open-uri.rb:  Fix method redefined warning.  [ruby-core:14304]
56054
56055Sun Dec 23 18:31:49 2007  NARUSE, Yui <naruse@ruby-lang.org>
56056
56057	* ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
56058
56059	* ext/nkf/nkf.c (Init_nkf): use rb_nkf_enc_get("ASCII").
56060
56061	* ext/nkf/nkf-utf8/nkf.c: Update 1.161.
56062
56063	* ext/nkf/nkf-utf9/config.h: default output encoding is now UTF-8.
56064
56065	* ext/nkf/lib/kconv.rb (Kconv.kconv): replace Encoding#name by
56066	  Encoding#to_s.
56067
56068Sun Dec 23 18:02:52 2007  Eric Hodel  <drbrain@segment7.net>
56069
56070	* lib/rubygems/gem_open_uri.rb:  Fix version check.
56071
56072Sun Dec 23 17:24:48 2007  Tanaka Akira  <akr@fsij.org>
56073
56074	* encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.
56075
56076Sun Dec 23 17:00:23 2007  Tanaka Akira  <akr@fsij.org>
56077
56078	* lib/time.rb (Time.httpdate): use Time.utc for
56079	  "day-of-week, dd-mon-yy HH::MM:SS GMT" format.
56080
56081Sun Dec 23 16:12:40 2007  Eric Hodel  <drbrain@segment7.net>
56082
56083	* lib/rdoc:  Fix 1.9 warnings.
56084
56085Sun Dec 23 15:28:37 2007  Eric Hodel  <drbrain@segment7.net>
56086
56087	* lib/rubygems, test/rubygems:  Fix new 1.9 warnings.
56088
56089Sun Dec 23 14:43:10 2007  Eric Hodel  <drbrain@segment7.net>
56090
56091	* gem_prelude.rb:  Use require to load rubygems.rb so the correct path
56092	  is in $LOADED_FEATURES on RubyGems upgrade.
56093
56094Sun Dec 23 11:26:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56095
56096	* string.c (sym_call): use exact argument array interface.
56097	  [ruby-core:14279]
56098
56099Sun Dec 23 11:01:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56100
56101	* io.c (rb_io_binmode_m): removed C99ism.
56102
56103Sun Dec 23 10:23:23 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
56104
56105	* transcode_data_one_byte.c: Better (and more honest) optimization.
56106
56107	* transcode_data_japanese.c: First optimization step.
56108
56109Sun Dec 23 09:07:02 2007  Tanaka Akira  <akr@fsij.org>
56110
56111	* include/ruby/encoding.h, encoding.c, re.c, io.c, parse.y, numeric.c,
56112	  ruby.c, transcode.c, ext/nkf/nkf.c: rename rb_ascii_encoding to
56113	  rb_ascii8bit_encoding.  rb_ascii_encoding is ambiguous with
56114	  ASCII-8BIT and US-ASCII.
56115
56116Sun Dec 23 03:35:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56117
56118	* version.h: use patchlevel if revision is not set.
56119
56120	* {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h.
56121
56122	* common.mk (srcs): new target to generated sources.
56123
56124	* common.mk (encs, ext/ripper/ripper.c): MAKEFLAGS needs -.
56125
56126	* enc/depend, enc/make_encmake.rb: use erb.
56127
56128Sun Dec 23 01:56:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56129
56130	* io.c (rb_io_mode_enc): do not set encoding unless explicitly
56131	  specified.
56132
56133	* io.c (rb_io_check_readable): fill fptr->enc by default_external
56134	  if it's empty.
56135
56136	* io.c (io_enc_str): fptr->enc is always set for reading IO (by
56137	  rb_io_check_readable(fptr)).
56138
56139Sun Dec 23 01:18:06 2007  David Flanagan  <david@davidflanagan.com>
56140
56141	* io.c, io.h: temporary patch to partially implement
56142	  transcode-on-read and transcode-on-write
56143
56144Sun Dec 23 00:48:05 2007  Shugo Maeda  <shugo@ruby-lang.org>
56145
56146	* test/net/imap/test_imap.rb: added tests for SSL.
56147
56148Sat Dec 22 21:10:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56149
56150	* ext/syck/rubyext.c (syck_genericresolver_node_import): should
56151	  not set instance variable "@kind" before initializing it.
56152	  [ruby-dev:32677]
56153
56154Sat Dec 22 19:52:23 2007  Koichi Sasada  <ko1@atdot.net>
56155
56156	* bootstraptest/test_objectspace.rb: fix condition.
56157
56158Sat Dec 22 19:17:10 2007  Koichi Sasada  <ko1@atdot.net>
56159
56160	* ext/probeprofiler/: removed.
56161
56162Sat Dec 22 19:14:38 2007  Koichi Sasada  <ko1@atdot.net>
56163
56164	* process.c (rb_f_fork): Unsupport Kernel.fork() on NetBSD.
56165
56166Sat Dec 22 18:20:13 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56167
56168	* common.mk (version.o): add dependency. [ruby-dev:32680]
56169
56170Sat Dec 22 17:45:11 2007  NARUSE, Yui <naruse@ruby-lang.org>
56171
56172	* ext/nkf/nkf.c (Init_nkf): use rb_ascii_encoding() for
56173	  rb_nkf_enc_get("US-ASCII").
56174	  * if use rb_nkf_enc_get("US-ASCII"), ruby will crash - this is bug?
56175
56176Sat Dec 22 17:39:03 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56177
56178	* lib/mkmf.rb ($extmk): fixed broken condition.
56179
56180Sat Dec 22 17:35:59 2007  NARUSE, Yui <naruse@ruby-lang.org>
56181
56182	* ext/nkf/nkf-utf8.c: Update nkf.c rev:1.157.
56183
56184	* ext/nkf/nkf.c (rb_nkf_enc_get): replicate proper based encoding.
56185
56186	* ext/nkf/kconv.c (Kconv#kconv, to*): use self.encoding as from_enc
56187	  when from_enc isn't given.
56188
56189Sat Dec 22 17:06:50 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
56190
56191	* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.
56192
56193	* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params):
56194	  new method to set suitable SSL parameters.
56195
56196	* lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb,
56197	  test/openssl/test_ssl.rb: follow above change.
56198
56199	* test/net/http/test_https.rb: refine error case.
56200
56201Sat Dec 22 16:58:49 2007  Shugo Maeda  <shugo@ruby-lang.org>
56202
56203	* lib/net/imap.rb (encode_utf7): accept UTF-8 strings.
56204
56205	* lib/net/imap.rb (decode_utf7): return UTF-8 strings.
56206
56207Sat Dec 22 15:56:36 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56208
56209	* transcode_data_japanese: typo.
56210
56211Sat Dec 22 15:54:54 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
56212
56213	* ChangeLog: Information for last patch got lost, fixed
56214
56215	* test/ruby/test_transcode.rb: Added simple tests for
56216	  EUC-JP and Shift_JIS and tests for ASCII-only range
56217
56218Sat Dec 22 15:45:45 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
56219
56220	* transcode_data_one_byte: slightly optimized
56221
56222	* transcode_data_japanese: new data file for EUC-JP and SHIFT_JIS
56223	  (not yet optimized; tests to follow; data from
56224	  http://nkf.sourceforge.jp/ucm/{SJIS|eucJP}-nkf.ucm)
56225
56226	* common.mk, transcode.c: Adjusted for transcode_data_japanese
56227
56228Sat Dec 22 15:30:13 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56229
56230	* */Makefile.sub (MFLAGS): define unless defined.
56231
56232Sat Dec 22 15:17:40 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56233
56234	* lib/mkmf.rb ($extmk): set true only when under ext/ or tool/.
56235
56236Sat Dec 22 15:14:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56237
56238	* common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.
56239
56240	* configure.in (STRINGIZE): stringizing macro.
56241
56242	* include/ruby/defines.h (STRINGIZE): fallback.
56243
56244	* tool/make-snapshot: new file.
56245
56246	* version.c (ruby_description, ruby_copyright): string constants for
56247	  -v option.
56248
56249Sat Dec 22 15:03:37 2007  Shugo Maeda  <shugo@ruby-lang.org>
56250
56251	* lib/net/imap.rb (initialize): fixed documentation.
56252
56253Sat Dec 22 15:01:16 2007  Shugo Maeda  <shugo@ruby-lang.org>
56254
56255	* lib/net/pop.rb (enable_ssl): use OpenSSL::SSL::SSLContext.build
56256	  instead of SSLContext.new (default verify mode is now
56257	  OpenSSL::SSL::VERIFY_PEER).
56258
56259Sat Dec 22 14:45:21 2007  Tadayoshi Funaba  <tadf@dotrb.org>
56260
56261	* lib/date.rb: shouldn't freeze nil. [ruby-dev:32677]
56262
56263Sat Dec 22 14:27:27 2007  Tanaka Akira  <akr@fsij.org>
56264
56265	* regenc.c (onigenc_ascii_is_code_ctype): moved from enc/ascii.c.
56266
56267	* regenc.h (onigenc_ascii_is_code_ctype): declared.
56268
56269	* enc/ascii.c: use onigenc_ascii_is_code_ctype.
56270
56271	* enc/us_ascii.c: new file for US-ASCII.
56272
56273Sat Dec 22 14:30:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56274
56275	* parse.y (reg_named_capture_assign_iter): allows non-ascii names and
56276	  get rid of reserved word IDs.
56277
56278Sat Dec 22 14:18:45 2007  Koichi Sasada  <ko1@atdot.net>
56279
56280	* test/ruby/test_float.rb, test_sprintf.rb: fix test place.
56281
56282Sat Dec 22 14:17:02 2007  Koichi Sasada  <ko1@atdot.net>
56283
56284	* bootstraptest/test_objectspace.rb: skip frozen string.
56285
56286Sat Dec 22 14:02:58 2007  Koichi Sasada  <ko1@atdot.net>
56287
56288	* array.c (rb_ary_permutation): add volatile to avoid GC problem.
56289
56290Sat Dec 22 11:47:42 2007  Koichi Sasada  <ko1@atdot.net>
56291
56292	* eval.c (rb_obj_instance_eval): use class of immediate objects.
56293
56294	* test/ruby/test_eval.rb: fix a test.
56295
56296Sat Dec 22 11:37:06 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56297
56298	* encoding.c (rb_locale_charmap): win32 support.
56299
56300Sat Dec 22 11:31:14 2007  Eric Hodel  <drbrain@segment7.net>
56301
56302	* gem_prelude.rb:  Place bin dir before lib dir so gem bin stubs work.
56303
56304Sat Dec 22 11:05:44 2007  Jim Weirich  <jim@tardis.local>
56305
56306	* lib/rake.rb (Rake): Added Rake and related libraries to the
56307	  source code base.
56308
56309Sat Dec 22 10:30:45 2007  Koichi Sasada  <ko1@atdot.net>
56310
56311	* tool/insns2vm.rb: moved from lib/vm/instruction.rb.
56312
56313Sat Dec 22 10:25:44 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56314
56315	* parse.y (reg_named_capture_assign_iter): captured name should
56316	  not be reserved word.  a patch from Keita Yamaguchi
56317	  <keita.yamaguchi AT gmail.com> in [ruby-dev:32675].
56318
56319	* parse.y (reg_named_capture_assign_iter): just ignore the
56320	  captures that do not have valid local variable name.
56321
56322Sat Dec 22 10:19:08 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56323
56324	* eval.c (rb_f_method_name): now __method__ and __callee__ are
56325	  aliases.  [ruby-core:14244]
56326
56327Sat Dec 22 08:29:56 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56328
56329	* string.c (rb_str_buf_append): improvement for non-broken coded
56330	  strings.
56331
56332Sat Dec 22 06:30:04 2007  Koichi Sasada  <ko1@atdot.net>
56333
56334	* bootstraptest/test_fork.rb: skip if fork is not unsupported.
56335
56336	* bootstraptest/test_io.rb: skip if require failed.
56337
56338Sat Dec 22 06:09:12 2007  David Flanagan  <david@davidflanagan.com>
56339
56340	* io.c: fix typo in rdoc comment
56341
56342Sat Dec 22 05:09:43 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56343
56344	* parse.y (parser_str_new, rb_intern3): rb_default_encoding() renamed.
56345
56346	* ext/nkf/nkf.c (rb_nkf_putchar): ditto.
56347
56348Sat Dec 22 03:54:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56349
56350	* encoding.c (rb_ascii_encoding): renamed from previous
56351	  rb_default_encoding().
56352
56353Sat Dec 22 02:49:02 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56354
56355	* parse.y (command): block from cmd_brace_block was ignored.
56356	  [ruby-dev:32644]
56357
56358	* re.c (rb_reg_prepare_re): stop ENCODING_NONE warning if the
56359	  encoding of the str is ASCII-8BIT.
56360
56361Sat Dec 22 01:52:11 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56362
56363	* io.c (io_ungetc): avoid buffer relocation, which might cause
56364	  serious problem under concurrent situation.
56365
56366Sat Dec 22 01:35:41 2007  Tanaka Akira  <akr@fsij.org>
56367
56368	* re.c (ARG_ENCODING_NONE): defined for /.../n option.
56369	  (REG_ENCODING_NONE): ditto.
56370	  (rb_char_to_option_kcode): return ARG_ENCODING_NONE for n.
56371	  (rb_reg_prepare_re): warn /ascii/n =~ "non-ascii".
56372	  (rb_reg_initialize): set REG_ENCODING_NONE from ARG_ENCODING_NONE.
56373
56374Sat Dec 22 01:23:10 2007  Shugo Maeda  <shugo@ruby-lang.org>
56375
56376	* test/json/test_json_addition.rb (test_core): do not use Time.now
56377	  because JSON can't hold nsec.
56378
56379Sat Dec 22 01:10:30 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56380
56381	* ext/tk/sample/tkextlib/vu/canvSticker2.rb,
56382	  ext/tk/sample/demos-{en,jp}/bind.rb: fix typo. [ruby-dev:32668]
56383
56384Sat Dec 22 00:56:43 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56385
56386	* sample/test.rb (valid_syntax): force_encoding input script.
56387
56388Fri Dec 21 23:48:38 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56389
56390	* lib/mkmf.rb (depend_rules): suffixes list broken. fixed.
56391
56392Fri Dec 21 20:18:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56393
56394	* bignum.c (rb_big_mul0): remove unused variable.
56395
56396	* bignum.c (bigdivrem): ditto.
56397
56398Fri Dec 21 20:13:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56399
56400	* include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.
56401
56402	* include/ruby/intern.h (rb_fiber_alive_p): prototyped.
56403
56404Fri Dec 21 20:09:18 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56405
56406	* string.c (rb_str_succ): retry increasing until valid char is found.
56407
56408Fri Dec 21 20:00:02 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56409
56410	* encoding.c (rb_enc_replicate): now creates first class encoding.
56411
56412	* encoding.c (rb_define_dummy_encoding): always based on the default
56413	  encoding.
56414
56415	* encoding.c (rb_enc_dummy_p): check if dummy.
56416
56417	* encoding.c (enc_inspect): shows if dummy.
56418
56419	* encoding.c (Init_Encoding): added dummy? method
56420
56421	* include/ruby/encoding.h (ENCODING_INLINE_MAX): increased.
56422
56423Fri Dec 21 18:40:54 2007  Koichi Sasada  <ko1@atdot.net>
56424
56425	* io.c: write() should be in blocking region.
56426
56427	* bootstraptest/test_io.rb, test_knownbug.rb: move a fixed test.
56428
56429Fri Dec 21 17:56:30 2007  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
56430
56431	* ext/tk/tcltklib.c: provisional support on Ruby-VM.
56432
56433	* ext/tk/MANUAL_tcltklib.eng, ext/tk/MANUAL_tcltklib.eucj:
56434	  modify document about new functions.
56435
56436	* ext/tk/lib/tk.rb, ext/tk/lib/tk/labelframe.rb,
56437	  ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/toplevel.rb,
56438	  ext/tk/lib/tk/scrollbar.rb, ext/tk/lib/tk/message.rb,
56439	  ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/text.rb,
56440	  ext/tk/lib/tk/scale.rb, ext/tk/lib/tk/entry.rb,
56441	  ext/tk/lib/tk/ttk_selector.rb, ext/tk/lib/tk/menu.rb,
56442	  ext/tk/lib/tk/label.rb, ext/tk/lib/tk/spinbox.rb,
56443	  ext/tk/lib/tk/textmark.rb, ext/tk/lib/tk/winpkg.rb,
56444	  ext/tk/lib/tk/checkbutton.rb, ext/tk/lib/tk/panedwindow.rb,
56445	  ext/tk/lib/tk/texttag.rb, ext/tk/lib/tk/root.rb,
56446	  ext/tk/lib/tk/textimage.rb, ext/tk/lib/tk/radiobutton.rb,
56447	  ext/tk/lib/tk/package.rb, ext/tk/lib/tk/macpkg.rb,
56448	  ext/tk/lib/tk/composite.rb, ext/tk/lib/tk/autoload.rb,
56449	  ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/button.rb,
56450	  ext/tk/lib/tk/textwindow.rb,
56451	  ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb,
56452	  ext/tk/lib/tkextlib/tile/style.rb,
56453	  ext/tk/lib/tkextlib/tile/tscrollbar.rb,
56454	  ext/tk/lib/tkextlib/tile/tpaned.rb, ext/tk/lib/tkextlib/tile.rb,
56455	  ext/tk/extconf.rb: support Tcl/Tk8.5 (partial, not complete).
56456
56457	* ext/tk/sample/demos-jp/widget,
56458	  ext/tk/sample/demos-jp/pendulum.rb,
56459	  ext/tk/sample/demos-jp/bind.rb,
56460	  ext/tk/sample/tkextlib/vu/canvSticker2.rb,
56461	  ext/tk/sample/demos-en/pendulum.rb,
56462	  ext/tk/sample/demos-en/bind.rb: remove $KCODE and minor bug fix.
56463
56464Fri Dec 21 17:49:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56465
56466	* transcode.c (rb_str_transcode_bang): returns self if no conversion.
56467	  [ruby-dev:32662]
56468
56469Fri Dec 21 17:44:47 2007  Eric Hodel  <drbrain@segment7.net>
56470
56471	* lib/rubygems*:  Update to RubyGems 1.0.1, r1581
56472
56473Fri Dec 21 17:32:49 2007  Koichi Sasada  <ko1@atdot.net>
56474
56475	* bootstraptest/pending.rb: renamed from featurebug.rb.
56476	  This file contains bugs which is known but will not be
56477	  fixed in days.
56478
56479Fri Dec 21 17:31:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56480
56481	* debug.c (dummy_gdb_enums.various): added ENCODING and CODERANGE
56482	  constants.
56483
56484	* .gdbinit: use enum constants.
56485
56486Fri Dec 21 17:28:17 2007  Koichi Sasada  <ko1@atdot.net>
56487
56488	* bootstraptest/featurebug.rb: added.
56489
56490	* bootstraptest/test_knownbug.rb: move a feature bug.
56491
56492Fri Dec 21 17:25:22 2007  Koichi Sasada  <ko1@atdot.net>
56493
56494	* thread.c (rb_thread_atfork): fix to mark thread object.
56495	  [ruby-dev:32404]
56496
56497	* bootstraptest/test_knownbug.rb, test_fork.rb: move a fixed test.
56498
56499Fri Dec 21 17:07:13 2007  Koichi Sasada  <ko1@atdot.net>
56500
56501	* gc.h: extern variable should not be initialized.
56502
56503	* thread_pthread.c: add a parameter.
56504
56505Fri Dec 21 16:50:43 2007  Tanaka Akira  <akr@fsij.org>
56506
56507	* encoding.c (Init_Encoding): use enc_name as to_s.
56508	  (enc_inspect): renamed from enc_to_s.  add "#" at beginning.
56509
56510Fri Dec 21 16:37:43 2007  NARUSE, Yui <naruse@ruby-lang.org>
56511
56512	* ext/nkf/nkf-utf8/config.h (MIME_DECODE_DEFAULT, X0201_DEFAULT):
56513	 defined as FALSE.  nkf and kconv don't decode MIME encoded string
56514	 and don't convert JIS X 0201 Katakana.
56515
56516	* test/nkf/test_kconv.rb: fix tests.
56517
56518Fri Dec 21 16:33:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56519
56520	* enumerator.c (enumerator_iter_i): adjusted for rb_block_call_func.
56521
56522	* include/ruby/ruby.h (rb_block_call_func): function to be called back
56523	  as block.
56524
56525Fri Dec 21 16:25:25 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
56526
56527	* common.mk, transcode_data_iso_8859.c: renamed to
56528	  transcode_data_one_byte.c.
56529
56530Fri Dec 21 16:10:30 2007  Shigeo Kobayashi  <shigeo@tinyforest.jp>
56531
56532	* ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
56533	  pointed by Ryan Platte fixed(Patch to the patch from "NATORI
56534	  Shin").  [ruby-talk:273360]
56535
56536Fri Dec 21 16:06:13 2007  Tanaka Akira  <akr@fsij.org>
56537
56538	* re.c (append_utf8): use rb_utf8_encoding() instead of
56539	  rb_enc_find("utf-8").
56540
56541Fri Dec 21 15:59:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56542
56543	* encoding.c (rb_enc_init): use enc_register_at() directly.
56544
56545	* encoding.c (rb_utf8_encoding): returns utf-8 encoding.
56546
56547	* include/ruby/encoding.h (rb_utf8_encoding): prototyped.
56548
56549	* parse.y (UTF8_ENC): uses rb_utf8_encoding().
56550
56551Fri Dec 21 15:31:59 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56552
56553	* io.c (rb_io_s_read): allow specifying encoding explicitly.
56554
56555	* io.c (rb_io_binmode): specifies encoding to ASCII-8BIT (binary).
56556
56557	* io.c (rb_io_s_read): IO should be in binary mode when offset is
56558	  specified.
56559
56560	* encoding.c (rb_to_encoding): returns default encoding if no
56561	  corresponding encoding found.
56562
56563Fri Dec 21 15:24:22 2007  Shugo Maeda  <shugo@ruby-lang.org>
56564
56565	* lib/net/imap.rb (initialize): accept service name.  changed
56566	  the default value of the old style +verify+ argument to true.
56567
56568Fri Dec 21 15:15:44 2007  Tanaka Akira  <akr@fsij.org>
56569
56570	* gc.c (rb_garbage_collect): new function for debugging.
56571
56572Fri Dec 21 15:16:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56573
56574	* encoding.c (rb_to_encoding_index): should return error instead of
56575	  exception even if type is incorrect.
56576
56577Fri Dec 21 14:58:27 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56578
56579	* enumerator.c (enumerator_init_copy): prohibit cloning of
56580	  generators since Fibers cannot be copied.
56581
56582	* enumerator.c (enumerator_init_copy): typo fixed.
56583
56584Fri Dec 21 14:46:07 2007  Tanaka Akira  <akr@fsij.org>
56585
56586	* io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist.
56587
56588Fri Dec 21 14:01:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56589
56590	* test/ruby/test_system.rb (TestSystem::valid_syntax): apply
56591	  ASCII-8BIT encoding explicitly.
56592
56593	* re.c (rb_reg_prepare_re): add encoding name in the message.
56594
56595Fri Dec 21 13:54:05 2007  Tanaka Akira  <akr@fsij.org>
56596
56597	* re.c: change "character encodings differ" error messages.
56598
56599Fri Dec 21 13:46:58 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56600
56601	* encoding.c (rb_enc_register): set encoding constant.
56602
56603	* encoding.c (rb_enc_find_index): replace non-alphanumeric chars with
56604	  underscores, so that initialize function can be called.
56605
56606	* encoding.c (rb_enc_find_index): extension libraries have lower case
56607	  names conventionally.
56608
56609	* ruby.c (proc_options, process_options): finds encoding after
56610	  load_path is initialized.
56611
56612Fri Dec 21 13:10:57 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56613
56614	* io.c (rb_io_external_encoding): new method.
56615
56616	* encoding.c (rb_enc_from_encoding): returns Qnil for NULL
56617	  encoding.
56618
56619	* io.c (rb_io_external_encoding): should fill delayed
56620	  initialization for STDIN.
56621
56622Fri Dec 21 13:09:11 2007  Tanaka Akira  <akr@fsij.org>
56623
56624	* encoding.c (rb_locale_charmap): return nil if no locale information.
56625
56626Fri Dec 21 12:55:39 2007  Tanaka Akira  <akr@fsij.org>
56627
56628	* lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.
56629
56630Fri Dec 21 12:45:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56631
56632	* string.c (rb_str_chomp_bang): avoid unnecessary loop using
56633	  ONIGENC_LEFT_ADJUST_CHAR_HEAD().
56634
56635Fri Dec 21 12:32:08 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56636
56637	* file.c (Init_File): File.exists? revived.
56638
56639	* dir.c (Init_Dir): Dir.exists? again.
56640
56641Fri Dec 21 12:26:36 2007  Koichi Sasada  <ko1@atdot.net>
56642
56643	* compile.c: remove "illegal".
56644
56645Fri Dec 21 12:22:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56646
56647	* keywords, parse.y (__ENCODING__): represent script encoding.
56648
56649Fri Dec 21 12:16:50 2007  Tanaka Akira  <akr@fsij.org>
56650
56651	* string.c (rb_str_is_ascii_only_p): new method ascii_only?.
56652
56653Fri Dec 21 12:11:57 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56654
56655	* io.c (rb_io_mode_enc): set default external encoding if no
56656	  encoding specified explicitly.
56657
56658Fri Dec 21 12:00:34 2007  Tanaka Akira  <akr@fsij.org>
56659
56660	* configure.in: check langinfo.h and locale.h.
56661
56662	* encoding.c: use langinfo.h only if available.
56663
56664	* main.c: use locale.h only if available.
56665
56666Fri Dec 21 11:47:56 2007  Tanaka Akira  <akr@fsij.org>
56667
56668	* encoding.c: include locale.h
56669	  (rb_locale_charmap): new method Encoding.locale_charmap for
56670	  nl_langinfo(CODESET).
56671
56672	* include/ruby/encoding.h (rb_locale_charmap): declared.
56673
56674	* main.c (main): call setlocale with LC_CTYPE.
56675
56676	* ruby.c (locale_encoding): use rb_locale_charmap.
56677
56678Fri Dec 21 11:35:10 2007  Koichi Sasada  <ko1@atdot.net>
56679
56680	* vm.c, vm_dump.c: fix typo.  Reported by Yuki Mitsui.
56681
56682Fri Dec 21 11:28:00 2007  Tanaka Akira  <akr@fsij.org>
56683
56684	* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
56685	  compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c,
56686	  ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb,
56687	  ext/openssl/ossl_bn.c, numeric.c, vm.c,
56688	  benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal"
56689	  for non law violation context.
56690
56691Fri Dec 21 11:23:24 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56692
56693	* common.mk (enc.mk): depends on $(RBCONFIG) instead of rbconfig.rb.
56694
56695	* encoding.c (Init_Encoding): ISO-8859-1 is no longer a replica.
56696
56697	* regenc.h (OnigEncodingDefine): names of extension and encoding can
56698	  differ.
56699
56700	* enc/Makefile.in: always shared.
56701
56702	* enc/depend (deffile): should not upcase.
56703
56704	* enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: fix for Init.
56705
56706Fri Dec 21 09:26:48 2007  Tanaka Akira  <akr@fsij.org>
56707
56708	* tool/compile_prelude.rb: use erb.
56709
56710Fri Dec 21 08:07:35 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56711
56712	* enumerator.c (enumerator_next): should call next_init() if fiber
56713	  is dead already. [ruby-dev:32459]
56714
56715Fri Dec 21 01:21:49 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
56716
56717	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build):
56718	  enable CRL checking by default.
56719
56720Fri Dec 21 01:20:56 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
56721
56722	* lib/net/http.rb (Net::HTTP#connect): use
56723	  OpenSSL::SSL::SSLContext.build instead of SSLContext.new (default
56724	  verify mode is now OpenSSL::SSL::VERIFY_PEER).
56725
56726	* lib/net/https.rb: SSL parameters are defined by attr_accessor.
56727
56728	* test/net/http/test_https.rb: add test for HTTPS features.
56729
56730Fri Dec 21 01:11:37 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
56731
56732	* io.c (select_internal): should return original value.
56733
56734Fri Dec 21 00:26:39 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56735
56736	* string.c (tr_trans): wrong encoding check for tree strings.
56737
56738	* test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring
56739	  sequence" is not an error to be tested.
56740
56741	* test/ruby/test_m17n.rb (TestM17N::test_tr): ditto.
56742
56743Thu Dec 20 19:29:07 2007  Shugo Maeda  <shugo@ruby-lang.org>
56744
56745	* lib/net/imap.rb (initialize): the second argument is an option
56746	  hash now.  use SSLContext.build to specify SSL parameters.
56747
56748Thu Dec 20 19:11:56 2007  Koichi Sasada  <ko1@atdot.net>
56749
56750	* thread_pthread.c (native_thread_apply_priority): check
56751	  _POSIX_PRIORITY_SCHEDULING for OpenBSD.
56752
56753Thu Dec 20 18:33:54 2007  Koichi Sasada  <ko1@atdot.net>
56754
56755	* configure.in: add libthr for FreeBSD.
56756
56757Thu Dec 20 18:17:14 2007  Koichi Sasada  <ko1@atdot.net>
56758
56759	* common.mk, *.ci: renamed to *.c.
56760
56761	* eval_load.c: renamed to load.c.
56762
56763Thu Dec 20 17:36:01 2007  Eric Hodel  <drbrain@segment7.net>
56764
56765	* lib/rubygems*:  Import RubyGems 1.0.0, r1575.
56766
56767Thu Dec 20 17:18:38 2007  Koichi Sasada  <ko1@atdot.net>
56768
56769	* proc.c: support Proc#binding.
56770
56771	* sample/test.rb: add a test.
56772
56773Thu Dec 20 17:15:15 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
56774
56775	* pack.c: Slight change to documentation ('character' ->
56776	  'byte (C char)'). [ruby-core:13126], see also [ruby-core:13998].
56777
56778Thu Dec 20 17:07:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56779
56780	* common.mk (enc.mk): depends on rbconfig.rb.
56781
56782	* regenc.h (OnigEncodingDefine): external encoding definition macro.
56783
56784	* enc/Makefile.in: fix for linking.
56785
56786	* enc/depend, enc/make_encmake.rb: fix for Windows.
56787
56788	* enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: renamed.
56789
56790Thu Dec 20 16:42:55 2007  Koichi Sasada  <ko1@atdot.net>
56791
56792	* iseq.c (find_line_no): return 0 if not found.
56793
56794Thu Dec 20 16:04:17 2007  Koichi Sasada  <ko1@atdot.net>
56795
56796	* insnhelper.ci, vm.c, vm_core.h: change interface of
56797	  vm_invoke_block() to specify block ptr.  [ruby-talk:266422]
56798
56799	* cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c:
56800	  apply above change.
56801
56802	* bootstraptest/test_knownbug.rb: move fixed bug.
56803
56804	* bootstraptest/test_block.rb: ditto. and add a test.
56805
56806Thu Dec 20 15:47:13 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56807
56808	* enc/iso_8859_{1..16}.c: renamed.
56809
56810Thu Dec 20 09:59:27 2007  Koichi Sasada  <ko1@atdot.net>
56811
56812	* insnhelper.ci (vm_expandarray): fix sp increase place.
56813	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32581].
56814
56815	* bootstraptest/test_massign.rb: add a test for above.
56816
56817	* bootstraptest/test_syntax.rb: fix last committed test.
56818
56819Thu Dec 20 09:47:58 2007  Koichi Sasada  <ko1@atdot.net>
56820
56821	* bootstraptest/test_syntax.rb: add a test.
56822
56823Thu Dec 20 09:40:51 2007  Koichi Sasada  <ko1@atdot.net>
56824
56825	* compile.c (iseq_compile_each/NODE_RETURN): fix stack consistency.
56826
56827Thu Dec 20 09:42:11 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56828
56829	* bignum.c (big2str_orig): access beyond memory region cause crash
56830	  on interrupt.  a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in
56831	  [ruby-dev:32651].  [ruby-dev:32641]
56832
56833Thu Dec 20 09:06:54 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56834
56835	* string.c (rb_str_index): wrong starting position.
56836
56837Thu Dec 20 06:34:27 2007  Koichi Sasada  <ko1@atdot.net>
56838
56839	* compile.c (iseq_compile_each): add pop after throw as return.
56840
56841	* bootstraptest/test_knownbug.rb, test_syntax.rb: move resolved test.
56842
56843	* vm_core.h, iseq.c, compile.h: add debug output code.
56844
56845Thu Dec 20 04:57:18 2007  Koichi Sasada  <ko1@atdot.net>
56846
56847	* compile.c (iseq_compile_each): remove unused retry entry.
56848
56849Thu Dec 20 04:15:41 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56850
56851	* */Makefile.sub (DEFS, RM): output to config.status.
56852
56853Thu Dec 20 02:59:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56854
56855	* common.mk (encs): create encoding directory.
56856
56857Thu Dec 20 02:50:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56858
56859	* enc/iso8859_{1..16}.c: adjust for ruby.
56860
56861Thu Dec 20 02:28:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56862
56863	* enc/iso8859_{1..16}.c: imported from Onigiruma 5.9.0.
56864
56865Thu Dec 20 02:23:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56866
56867	* enc/Makefile.in (RM): added.
56868
56869	* enc/depend (encs): sort in alpha-numeric order.
56870
56871	* enc/depend (clean, distclean): added.
56872
56873Thu Dec 20 01:10:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56874
56875	* compile.c (iseq_compile_each): should handle upper level eval iseq
56876	  from break/next, and COMPILE_ERROR() breaks only one block.
56877	  [ruby-dev:31372]
56878
56879Thu Dec 20 00:07:36 2007  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
56880
56881	* test/drb/drbtest.rb (test_07_public_private_protected_missing):
56882	  followed current Ruby specification.
56883
56884Wed Dec 19 23:57:37 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56885
56886	* dir.c (dir_inspect, dir_path, dir_tell): check for frozen and closed
56887	  is not needed.  [ruby-dev:32640]
56888
56889Wed Dec 19 22:59:52 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56890
56891	* string.c (str_sublen): adjust position if position is not at the
56892	  head of a character.
56893
56894	* string.c (rb_str_chomp_bang): check if match start at the head
56895	  of a character.
56896
56897	* string.c (rb_str_chomp_bang): wrong adjust condition.
56898
56899	* string.c (rb_str_rindex): comparison length should be based on
56900	  bytes, not characters.
56901
56902	* string.c (rb_str_rindex_m): too much adjustment.
56903
56904	* re.c (reg_match_pos): pos adjustment should be based on
56905	  characters.
56906
56907	* test/ruby/test_m17n.rb (TestM17N::test_str_insert): test updated
56908	  to check negative offset behavior.
56909
56910	* string.c (rb_str_each_line): should consider rslen.
56911
56912	* string.c (rb_str_buf_append): should propagate encoding.
56913
56914	* string.c (rb_str_each_line): ditto.
56915
56916	* test/ruby/test_m17n.rb (TestM17N::test_str_each_line): should
56917	  check encoding as well.
56918
56919	* test/ruby/test_m17n.rb (TestM17N::test_str_each_line): empty
56920	  array can not propagate encoding;  should not check.
56921
56922Wed Dec 19 21:42:18 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56923
56924	* re.c (rb_reg_regsub): should set checked encoding.
56925
56926	* string.c (rb_str_sub_bang): applied r14212 too.
56927
56928Wed Dec 19 20:40:01 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
56929
56930	* bignum.c (bigmul1): C99ism.
56931
56932	* bignum.c (bigdivrem1): need dummy return value.
56933
56934Wed Dec 19 19:18:06 2007  NARUSE, Yui <naruse@ruby-lang.org>
56935
56936	* ext/nkf/nkf-utf8/nkf.c: Updated.
56937
56938	* ext/nkf/nkf.c (rb_nkf_enc_get): added.
56939	  (find encoding or replicate default encoding)
56940
56941	* ext/nkf/nkf.c (NKF::<ENCODING>): redefine encoding constant.
56942
56943	* ext/nkf/lib/kconv.rb (Kconv::<ENCODING>): redefined as Encoding.
56944
56945	* ext/nkf/lib/kconv.rb: refactoring.
56946
56947Wed Dec 19 19:11:08 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56948
56949	* bignum.c (rb_big_mul0): blocking check for bigger numbers.
56950	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32632].
56951
56952	* bignum.c (bigdivrem): ditto.
56953
56954Wed Dec 19 17:34:50 2007  Koichi Sasada  <ko1@atdot.net>
56955
56956	* compile.c (iseq_compile_each): remove "retry" in block.
56957	  ("iter{retry}" cause syntax error)
56958	  Currently, "begin; ...; rescue; iter{retry}; end" cause
56959	  syntax error too.
56960
56961	* bootstraptest/test_jump.rb: ditto.
56962
56963	* lib/drb/invokemethod.rb: ditto.
56964
56965	* sample/drb/darrayc.rb: ditto.
56966
56967	* sample/test.rb: ditto.
56968
56969	* test/drb/drbtest.rb: ditto.
56970
56971	* test/ruby/test_iterator.rb: ditto.
56972
56973	* sample/test.rb: add a 'test' directory on the SYSTEM test.
56974
56975Wed Dec 19 17:12:59 2007  Koichi Sasada  <ko1@atdot.net>
56976
56977	* bootstraptest/test_knownbug.rb, test_block.rb:
56978	  move fixed bug.
56979
56980	* bootstraptest/test_m17n.rb: added.
56981
56982Wed Dec 19 16:59:55 2007  Koichi Sasada  <ko1@atdot.net>
56983
56984	* eval.c (errinfo_place): skip if error is Fixnum.  [ruby-dev:32608]
56985
56986	* bootstraptest/test_exception.rb, test_known_bug.rb: move fixed bug.
56987
56988Wed Dec 19 16:31:58 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
56989
56990	* parse.y (reg_named_capture_assign_iter): remove C99 dependency.
56991
56992	* parse.y (reg_named_capture_assign_iter): get rid of creating
56993	  unnecessary ID.
56994
56995	* parse.y (rb_enc_symname2_p): check for non-nul-terminated string.
56996
56997Wed Dec 19 15:37:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
56998
56999	* insnhelper.ci (vm_yield_with_cfunc): call cfunc with
57000	   (argv[0], data, argc, argv) to pass all arguments.
57001
57002	* enumerator.c (enumerator_each_i): adapted to new calling
57003	  convention.
57004
57005Wed Dec 19 15:13:20 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57006
57007	* string.c (rb_str_justify): should propagate encoding from pad
57008	  string too.
57009
57010Wed Dec 19 13:57:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57011
57012	* configure.in (TIMEZONE_VOID): check whether timezone requires zero
57013	  arguments.  [ruby-dev:32631]
57014
57015Wed Dec 19 13:22:14 2007  NARUSE, Yui <naruse@ruby-lang.org>
57016
57017	* ext/nkf/nkf.c (NKF::_ENCODING): removed.
57018
57019	* ext/nkf/nkf.c (rb_nkf_kconv): renamed to rb_nkf_convert.
57020
57021	* ext/nkf/nkf.c (rb_nkf_convert): set encoding.
57022
57023	* ext/nkf/nkf.c (rb_nkf_guess1): removed.
57024
57025	* ext/nkf/nkf.c (rb_nkf_guess2): renamed to rb_nkf_guess.
57026
57027	* ext/nkf/nkf.c (rb_nkf_guess):
57028	  guess method now returns encoding object.
57029
57030	* ext/nkf/nkf-utf8/nkf.c: Update to nkf 2.0.8 2007-12-19.
57031
57032Wed Dec 19 10:52:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57033
57034	* bignum.c (rb_cstr_to_inum): an underscore succeeding after octal
57035	  prefix is allowed.  [ruby-core:14139]
57036
57037Wed Dec 19 00:09:19 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57038
57039	* bignum.c (rb_cstr_to_inum): wrong radix check.  a patch from
57040	  Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32628].
57041
57042	* bignum.c (big2str_find_n1): ditto.
57043
57044Tue Dec 18 23:53:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57045
57046	* compile.c (iseq_compile_each): fix for segfault.  [ruby-dev:31372]
57047
57048Tue Dec 18 23:44:32 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57049
57050	* test/net/http/utils.rb: split TestNetHTTPUtils module from
57051	  test/net/http/test_http.rb. and start HTTP server in each test case.
57052
57053Tue Dec 18 23:27:51 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57054
57055	* lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
57056	  should rescue Errno::EINVAL from TCPServer#accept. this exception
57057	  might occur if the server socket is not in ready to listen.
57058
57059	* lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
57060	  don't call TCPServer#close if the :ShutdownSocketWithoutClose is set.
57061
57062	* lib/webrick/config.rb (WEBrick::Config::General): add new parameter
57063	  :ShutdownSocketWithoutClose.
57064
57065Tue Dec 18 22:51:47 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57066
57067	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#shutdown):
57068	  new method which calls TCPSocket#shutdown of the underlying socket.
57069
57070Tue Dec 18 22:11:50 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57071
57072	* lib/rss/parser.rb, lib/rss/atom.rb, lib/rss/rss.rb,
57073	  test/rss/rss-assertions.rb, test/rss/test_atom.rb: use
57074	  pack/unpack("m") instead of base64 library.
57075
57076	* lib/webrick/httpproxy.rb: use delete("\n") instead of chomp/chop
57077	  because the result of pack("m") might be multi-line.
57078
57079Tue Dec 18 22:12:35 2007  Koichi Sasada  <ko1@atdot.net>
57080
57081	* insnhelper.ci, vm.c: rewrite sp manipulation around method/block
57082	  invocation.  [ruby-dev:32547]
57083
57084Tue Dec 18 22:11:23 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
57085
57086	* ext/dl/win32/lib/win32/sspi.rb: use pack/unpack("m") instead of
57087	  base64 library which was already removed.
57088
57089Tue Dec 18 21:09:23 2007  Koichi Sasada  <ko1@atdot.net>
57090
57091	* vm.c (invoke_block): merge 2 stack overflow checks.
57092
57093Tue Dec 18 20:58:35 2007  Koichi Sasada  <ko1@atdot.net>
57094
57095	* compile.c, insnhelper.ci, insns.def, object.c, vm.c, vm.h:
57096	  optimize !@, != method invocation.
57097
57098	* id.c, id.h: ditto.
57099
57100	* bootstraptest/test_syntax.rb: add tests for above.
57101
57102Tue Dec 18 18:10:05 2007  Koichi Sasada  <ko1@atdot.net>
57103
57104	* bootstraptest/test_knownbug.rb: add issues.
57105
57106Tue Dec 18 20:22:44 2007  Tanaka Akira  <akr@fsij.org>
57107
57108	* parse.y (arg tMATCH arg): call reg_named_capture_assign_gen if regexp
57109	  literal is used.
57110	  (reg_named_capture_assign_gen): assign the result of named capture
57111	  into local variables.
57112	  [ruby-dev:32588]
57113
57114	* re.c: document the assignment by named captures.
57115
57116Tue Dec 18 18:09:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57117
57118	* string.c (rb_str_splice): propagate encoding.
57119
57120	* string.c (rb_str_subpat_set): ditto.
57121
57122Tue Dec 18 17:27:12 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57123
57124	* object.c (rb_obj_freeze): preserve frozen state of immediate
57125	  values in internal hash table, a la generic_ivar.
57126
57127	* object.c (rb_obj_frozen_p): check immediate values too.
57128
57129	* variable.c (generic_ivar_set): add frozen check fro immediate
57130	  values.
57131
57132Tue Dec 18 17:04:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57133
57134	* transcode.c (rb_str_transcode_bang, rb_str_transcode): set new
57135	  encoding even if no conversion is done because of 7bit only.
57136	  [ruby-dev:32591]
57137
57138Tue Dec 18 15:43:59 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57139
57140	* common.mk (encs, ext/ripper/ripper.c): other options must come
57141	  before MAKEFLAGS in GNU make.
57142
57143Tue Dec 18 15:19:55 2007  Eric Hodel  <drbrain@segment7.net>
57144
57145	* lib/rdoc/parsers/parse_rb.rb: Don't call private fail anymore.
57146
57147Tue Dec 18 15:17:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57148
57149	* common.mk (encs, ext/ripper/ripper.c): pass MAKEFLAGS.
57150
57151Tue Dec 18 14:45:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57152
57153	* parse.y (op_tbl): remove duplication to avoid symbol aliases.
57154
57155Tue Dec 18 14:39:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57156
57157	* string.c (str_nth): need not to raise out-of-range exception.
57158
57159	* test/ruby/test_m17n.rb (TestM17N::test_str_aref_len): removed
57160	  debug print.
57161
57162Tue Dec 18 14:05:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57163
57164	* enc/depend: get rid of target expanded as empty for nmake.
57165
57166Tue Dec 18 07:56:57 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57167
57168	* proc.c (rb_obj_public_method): Object#public_method to retrieve
57169	  public method object.
57170
57171	* proc.c (rb_mod_public_instance_method): Module#public_instance_method
57172	  to retrieve public instance method from class / module.
57173
57174	* proc.c (mnew): visibility check added.
57175
57176	* eval_error.ci (rb_print_undef): add rb_ prefix.
57177
57178	* eval_error.ci (rb_print_undef): add visibility in the error
57179	  message.
57180
57181Tue Dec 18 05:54:26 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57182
57183	* lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.
57184
57185	* lib/ping.rb, lib/readbytes.rb: removed
57186
57187Tue Dec 18 02:30:56 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57188
57189	* configure.in (BUILTIN_ENCS): removed.
57190
57191	* common.mk (enc.mk): pass BUILTIN_ENCS from command line.
57192
57193	* enc/depend: ditto.
57194
57195	* enc/make_encmake.rb: ditto.
57196
57197Tue Dec 18 01:46:48 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57198
57199	* sprintf.c (rb_str_format): need to clear output buffer to avoid
57200	  broken encoding compatibility check.
57201
57202Tue Dec 18 01:40:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57203
57204	* lib/mkmf.rb (depend_rules): inserts ruby to only headers.
57205
57206Tue Dec 18 01:21:19 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57207
57208	* parse.y (parser_encode_length): chomp eol style modifiers.
57209
57210	* parse.y (parser_magic_comment): ditto.
57211
57212	* parse.y (set_file_encoding): ditto.
57213
57214Tue Dec 18 01:15:44 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57215
57216	* common.mk (encs): added dependencies.
57217
57218	* enc/Makefile.in, enc/depend, enc/make_encmake.rb: moved serb code.
57219
57220	* lib/mkmf.rb (depend_rules): now takes content string, not file name.
57221
57222	* win32/enc-setup.mak: overrides default target.
57223
57224Tue Dec 18 00:26:12 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57225
57226	* re.c (rb_reg_initialize): raise error if non-Unicode fixed
57227	  encoding option is specified for regexp literals with \u{}
57228	  escapes.
57229
57230	* string.c (rb_str_squeeze_bang): should squeeze multibyte
57231	  characters as well.
57232
57233Mon Dec 17 21:41:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57234
57235	* win32/enc-setup.mak: extracts BUILTIN_ENCOBJS.
57236
57237	* tool/compile_prelude.rb: needs srcdir.
57238
57239Mon Dec 17 21:24:04 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57240
57241	* common.mk (miniprelude.c): add -I$(srcdir).
57242
57243Mon Dec 17 20:53:27 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57244
57245	* ext/openssl/ossl_ssl.c (ossl_sslctx_set_ssl_version):
57246	  new method OpenSSL::SSL::SSLContext#ssl_version to wrap
57247	  SSL_CTX_set_ssl_version.
57248
57249	* ext/openssl/ossl_ssl.c (ossl_ssl_get_verify_result):
57250	  new method OpenSSL::SSL::SSLSocket#verify_result to wrap
57251	  SSL_get_verify_result.
57252
57253	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build):
57254	  new method to build OpenSSL::SSL::SSLContext with Hash parameters.
57255	  this method provides safety default parameters than SSLContext.new.
57256
57257	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL.verify_certificate_identity):
57258	  new module function: pull out identity verification process
57259	  from OpenSSL::SSL::SSLSocket#post_connection_check.
57260
57261Mon Dec 17 18:42:23 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57262
57263	* string.c (scan_once): need no encoding compatibility check.
57264	  it's done inside of re_reg_search().
57265
57266	* string.c (rb_str_split_m): ditto.
57267
57268	* re.c (rb_reg_regsub): ditto.
57269
57270Mon Dec 17 17:50:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57271
57272	* string.c (rb_str_index): check if substring is broken.
57273
57274	* string.c (rb_str_rindex): ditto.
57275
57276	* string.c (rb_str_succ): should carry over.
57277
57278Mon Dec 17 17:47:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57279
57280	* common.mk (encs): new target to compile external encodings.
57281
57282	* enc/Makefile.in: became a serb template.
57283
57284	* enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb.
57285
57286	* lib/mkmf.rb (relative_from): moved from ext/extmk.rb.
57287
57288	* lib/mkmf.rb ($extmk): true if under to top source directory, not
57289	  only ext.
57290
57291	* lib/mkmf.rb (depend_rules): extracted from create_makefile.
57292
57293	* tool/serb.rb (serb): splitted from tool/compile_prelude.rb.
57294
57295Mon Dec 17 17:32:55 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57296
57297	* configure.in (MAKEFILES): removed enc/Makefile.
57298
57299	* configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.
57300
57301	* enc/Makefile.in (BUILTIN_ENCS): includes .c suffix.
57302
57303	* enc/depend: splitted from Makefile.in.
57304
57305	* {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS.
57306
57307Mon Dec 17 17:07:53 2007  Tanaka Akira  <akr@fsij.org>
57308
57309	* string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.
57310
57311Mon Dec 17 16:39:25 2007  Tanaka Akira  <akr@fsij.org>
57312
57313	* string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN using
57314	  rb_enc_precise_mbclen.
57315	  (rb_str_valid_encoding_p): just check coderange is
57316	  ENC_CODERANGE_BROKEN or not.
57317
57318Mon Dec 17 16:04:16 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57319
57320	* ext/openssl/lib/openssl/buffering.rb (Buffering#gets): added second
57321	  optional argument to specify maximum length limit.
57322
57323Mon Dec 17 16:02:30 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57324
57325	* lib/webrick/httprequest.rb, lib/webrick/cgi.rb: Request-Line or
57326	  header fields should be read with maximum length. [ruby-talk:231745]
57327
57328Mon Dec 17 14:03:39 2007  Tanaka Akira  <akr@fsij.org>
57329
57330	* include/ruby/encoding.h (ENC_CODERANGE_VALID): rename from
57331	  ENC_CODERANGE_8BIT.
57332
57333	* string.c (rb_enc_str_coderange): follow the renaming.
57334
57335Mon Dec 17 13:56:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57336
57337	* string.c (tr_find): wrong condition fixed.
57338
57339	* sprintf.c (rb_str_format): check encoding based on result, not
57340	  the format string.
57341
57342	* string.c (rb_str_upto): add encoding check.
57343
57344Mon Dec 17 12:21:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57345
57346	* Makefile.in (RUNRUBY): added RUNRUBYOPT.
57347
57348Mon Dec 17 11:38:59 2007  Tanaka Akira  <akr@fsij.org>
57349
57350	* thread_win32.ci (native_thread_create): initialize
57351	  th->machine_stack_maxsize as rb_gc_stack_maxsize.
57352
57353Sun Dec 16 17:07:35 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
57354
57355	* transcode.c (transcode_loop): removed special case (-1)
57356	  for undefined conversions.
57357
57358	* transcode_data_iso_8859.c: Changed from character constants
57359	  ('\xC2') to integer constants (0xC2) for shorter files and
57360	  better readability; eliminated duplicated tables; changed
57361	  from -1 offset to actual UNDEF entry (not yet distinguishing
57362	  UNDEF and ILLEGAL correctly).
57363
57364	* test/ruby/test_transcode.rb: added a test for UNDEF conversion.
57365
57366Sun Dec 16 14:51:59 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57367
57368	* configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.
57369	  [ruby-dev:32609]
57370
57371	* configure.in (BUILTIN_ENCS): removed escapes for OpenBSD.
57372
57373Sat Dec 15 23:58:46 2007  Tanaka Akira  <akr@fsij.org>
57374
57375	* test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, even
57376	  on an error.
57377
57378Sat Dec 15 23:50:31 2007  Tanaka Akira  <akr@fsij.org>
57379
57380	* test/xmlrpc/webrick_testing.rb: join webrick server thread.
57381
57382Sat Dec 15 22:27:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57383
57384	* configure.in (BUILTIN_ENCS): splitted command line instead of
57385	  semicolons for Solaris.
57386
57387Sat Dec 15 21:38:24 2007  Tanaka Akira  <akr@fsij.org>
57388
57389	* lib/timeout.rb: join the background thread to make sure it is dead.
57390
57391Sat Dec 15 20:20:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57392
57393	* configure.in (enc/Makefile): add external encoding objects list.
57394
57395	* common.mk (BUILTIN_ENCOBJS): renamed from ENCOBJS.
57396
57397	* configure.in (BUILTIN_ENCS): [] needs to be enclosed because of m4.
57398
57399	* Makefile.in (BUILTIN_ENCOBJS): substituted by autoconf.
57400
57401	* enc/Makefile.in: new file to compile external encoding sources.
57402
57403	* encoding.c (rb_enc_find_index): auto-load external encoding objects
57404	  as "ext/ENCODING_NAME".  [ruby-dev:32606]
57405
57406Sat Dec 15 13:04:30 2007  Tanaka Akira  <akr@fsij.org>
57407
57408	* vm_core.h (rb_thread_t): new member machine_stack_maxsize and
57409	  machine_register_stack_maxsize.
57410
57411	* gc.c (rb_gc_stack_maxsize): new global variable for the thread size
57412	  of the main thread.
57413	  (STACK_LEVEL_MAX): use machine_stack_maxsize of current thread.
57414	  (ruby_stack_check): check IA64 register stack.
57415	  (ruby_set_stack_size): set rb_gc_stack_maxsize.
57416	  (Init_stack): set rb_gc_stack_maxsize.
57417
57418	* thread_pthread.ci (native_thread_create): initialize
57419	  th->machine_stack_maxsize and th->machine_register_stack_maxsize.
57420
57421	* vm.c (Init_BareVM): initialize th->machine_stack_maxsize and
57422	  th->machine_register_stack_maxsize.
57423
57424	* thread_win32.ci (native_thread_create): initialize
57425	  th->machine_stack_maxsize.  not tested.  just a guess at all.
57426
57427	[ruby-dev:32604]
57428
57429Sat Dec 15 12:58:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57430
57431	* encoding.c (rb_enc_register, rb_enc_replicate, rb_enc_alias): check
57432	  if already registered.
57433
57434Sat Dec 15 01:57:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57435
57436	* lib/rdoc/options.rb (Options::parse): do not access $KCODE any
57437	  longer.  [ruby-core:14079]
57438
57439	* lib/irb/init.rb (IRB::IRB.parse_opts): ditto.
57440
57441	* lib/cgi.rb (CGI::CGI): ditto.
57442
57443Fri Dec 14 18:18:31 2007  Tanaka Akira  <akr@fsij.org>
57444
57445	* thread_pthread.ci (native_thread_create): twice the stack size.
57446	  512KB is not enough to complete test-all on Debian GNU/Linux on
57447	  IA64.
57448
57449Fri Dec 14 16:10:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57450
57451	* io.c (rb_f_p): RDoc update.  a patch from murphy <murphy AT rubychan.de>.
57452	  [ruby-core:14010]
57453
57454Fri Dec 14 16:06:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57455
57456	* string.c (rb_str_cmp): encoding aware comparison.
57457
57458	* string.c (rb_str_casecmp): ditto.
57459
57460Fri Dec 14 15:25:30 2007  Martin Duerst  <duerst@it.aoyama.ac.jp>
57461
57462	* transcode.c (encoding_equal): new function.
57463
57464	* transcode.c (str_transcode, transcode_dispatch): added two-step
57465	  conversion logic via UTF-8.
57466
57467	* transcode.c: some minor formatting fixes
57468
57469	* transcode_data.h, transcode_data_iso_8859.c: Shortened
57470	  extremely frequently used macros to shorten file length.
57471
57472	* test/ruby/test_transcode.rb: Fixed name of test class;
57473	  added setup method to ensure all necessary encodings exist;
57474	  split tests into more test methods; added tests; fixed ordering
57475	  of arguments in assert_equal to have expected result first.
57476
57477Fri Dec 14 13:47:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57478
57479	* common.mk (ruby.imp): fix for circular dependency.  a patch from
57480	  Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590].
57481
57482	* regint.h, st.c, ext/json/ext/generator/generator.c: suppress
57483	  warnings on AIX.
57484
57485Fri Dec 14 12:36:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57486
57487	* configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined
57488	  and its type.
57489
57490	* configure.in (timezone, altzone): check for recent cygwin.
57491
57492	* missing/strftime.c (strftime): fix for timezone.  [ruby-dev:32536]
57493
57494	* lib/mkmf.rb (try_var): should fail for functions.
57495
57496	* ext/readline/extconf.rb: should use have_func for functions instead
57497	  of have_var.
57498
57499Fri Dec 14 10:25:56 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57500
57501	* lib/e2mmap.rb (Exception2MessageMapper::E2MM.Raise): $! no
57502	  longer modifiable in 1.9.
57503
57504Fri Dec 14 08:17:24 2007  Tanaka Akira  <akr@fsij.org>
57505
57506	* eval.c (rb_protect): restore root_jmpbuf even if proc exits by
57507	  break such as dbm.delete_if { break }.
57508
57509Fri Dec 14 02:55:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57510
57511	* string.c (str_nth): direct jump if string is 7bit only.  great
57512	  performance boost for worst case.
57513
57514	* string.c (str_strlen): direct size if string is 7bit only.
57515
57516Fri Dec 14 02:29:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57517
57518	* encoding.c (rb_enc_compatible): 1st argument (typically the
57519	  receiver) would have higher priority in encoding detection.
57520
57521Fri Dec 14 02:05:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57522
57523	* io.c (rb_io_synchronized): should check if initialized.
57524	  [ruby-dev:32585]
57525
57526Fri Dec 14 00:54:40 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57527
57528	* re.c (rb_reg_initialize): embedded string may override encoding
57529	  of the regular expression.
57530
57531	* re.c (rb_reg_initialize): fix encoding of regular expression if
57532	  embedded string has its own encoding specified.
57533
57534Thu Dec 13 22:16:46 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57535
57536	* encoding.c (rb_enc_compatible): encoding should never fall back
57537	  to ASCII-8BIT unless both encodings are ASCII-8BIT.
57538
57539Thu Dec 13 20:31:28 2007  Tanaka Akira  <akr@fsij.org>
57540
57541	* string.c (rb_str_shared_replace): make str noembed after free.
57542
57543Thu Dec 13 20:09:09 2007  Tanaka Akira  <akr@fsij.org>
57544
57545	* eval.c (rb_protect): restore root_jmpbuf to avoid SEGV by
57546	  'IO.pipe; [].each.next' with gcc version 3.3.5 (Debian 1:3.3.5-13)
57547	  on IA64.
57548
57549Thu Dec 13 17:51:54 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57550
57551	* string.c (rb_str_split_m): need not to check encoding if regexp
57552	  is empty.
57553
57554	* string.c (rb_str_justify): associate encoding of original to the
57555	  result.
57556
57557	* string.c (rb_str_chomp_bang): need to check encoding of record
57558	  separator.
57559
57560	* string.c (str_gsub): should copy encoding to the result.
57561
57562	* sprintf.c (rb_str_format): ditto.
57563
57564	* string.c (rb_str_succ): should not enter infinite loop for
57565	  non-ASCII, non-alphanumeric character at the bottom.
57566
57567Thu Dec 13 17:03:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57568
57569	* encoding.c (rb_enc_compatible): should swap encoding indexes too.
57570
57571Thu Dec 13 16:41:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57572
57573	* encoding.c (rb_enc_compatible): should not judge compatibility
57574	  based on rb_enc_asciicompat().
57575
57576Thu Dec 13 13:09:03 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57577
57578	* include/ruby/io.h (MakeOpenFile): fptr->enc should be
57579	  initialized to zero.  [ruby-dev:32569]
57580
57581Thu Dec 13 08:56:01 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57582
57583	* io.c (rb_io_getc): use default external encoding if fptr->enc is
57584	  not set.  [ruby-dev:32565]
57585
57586	* lib/rubygems/package.rb (Gem::TarReader::Entry::rewind): typo fixed.
57587	  [ruby-dev:32565]
57588
57589Thu Dec 13 08:24:16 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57590
57591	* io.c (read_all): should associate default external encoding.
57592
57593	* io.c (io_read): should NOT associate default external encoding.
57594
57595Wed Dec 12 23:22:58 2007  Tanaka Akira  <akr@fsij.org>
57596
57597	* re.c, regerror.c, string.c, parse.y, ruby.c, file.c:
57598	  use capital letter for \xHH notation.  [ruby-dev:32511]
57599
57600Wed Dec 12 22:21:34 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57601
57602	* io.c (rb_io_mode_enc): allow specifying external encoding in
57603	  open mode, e.g. open(path, "r:utf-8").
57604
57605Wed Dec 12 21:26:03 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57606
57607	* eval_method.ci (rb_alias): no need to skip aliasing when new
57608	  equals to old.  [ruby-core:13990]
57609
57610Wed Dec 12 16:34:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57611
57612	* io.c (rb_io_check_readable): set default external encoding to
57613	  STDIN.
57614
57615	* io.c (io_enc_str): associate encoding to output string.
57616
57617Wed Dec 12 12:44:39 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57618
57619	* parse.y (expr): 'not' and '!' should act as conditional
57620	  expression.   [ruby-dev:32548]
57621
57622Wed Dec 12 12:11:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57623
57624	* re.c (rb_reg_regsub): should copy encoding.
57625
57626	* string.c (rb_str_sub_bang, str_gsub): should check and copy encoding
57627	  to be replaced.
57628
57629Tue Dec 11 23:04:17 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57630
57631	* pack.c (pack_pack): RDoc update.  a patch from Gary Wright
57632	  <radar2002 AT gmail.com>.  [ruby-core:13998]
57633
57634	* pack.c (pack_unpack): ditto.
57635
57636Tue Dec 11 16:37:47 2007  Tanaka Akira  <akr@fsij.org>
57637
57638	* encoding.c (rb_enc_ascget): renamed from rb_enc_get_ascii.
57639
57640	* include/ruby/encoding.h: follow the renaming.
57641
57642	* re.c: ditto.
57643
57644Tue Dec 11 16:19:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57645
57646	* Makefile.in, */Makefile.sub (CP, MV): added.
57647
57648	* common.mk (.y.c): not discard the old target until successfully
57649	  created.
57650
57651Tue Dec 11 15:20:39 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57652
57653	* object.c (Init_Object): singleton_method_{added,removed,undefined}
57654	  hooks should be defined for BasicObject.  [ruby-dev:32531]
57655
57656	* eval.c (Init_eval): method_missing should be defined for all
57657	  objects; moved to BasicObject.
57658
57659Tue Dec 11 14:27:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57660
57661	* transcode.c (transcode_loop): get rid of SEGV at sequence can not be
57662	  converted.
57663
57664	* transcode.c (rb_str_transcode_bang): copy encoding.  [ruby-dev:32532]
57665
57666	* test/ruby/test_transcode.rb: added tests from Martin Duerst <duerst
57667	  AT it.aoyama.ac.jp>.  [ruby-dev:32532]
57668
57669Tue Dec 11 12:05:51 2007  Tanaka Akira  <akr@fsij.org>
57670
57671	* encoding.c (rb_enc_get_ascii): add an argument to provide the
57672	  length of the returned character.
57673
57674	* include/ruby/encoding.h (rb_enc_get_ascii): add the argument.
57675
57676	* re.c (rb_reg_expr_str): modify rb_enc_get_ascii call.
57677	  (rb_reg_quote): ditto.
57678	  (rb_reg_regsub): ditto.
57679
57680Tue Dec 11 09:40:21 2007  Tanaka Akira  <akr@fsij.org>
57681
57682	* include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE):
57683	  parenthesize an argument.
57684
57685Tue Dec 11 02:23:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57686
57687	* eval.c (rb_method_missing): RDoc update patch from Hugh Sasse
57688	  <hgs AT dmu.ac.uk>.  [ruby-core:12932]
57689
57690Tue Dec 11 01:51:34 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57691
57692	* lib/net/http.rb (Net::HTTP::get): now supports gzip
57693	  content-encoding.  a patch from Hugh Sasse <hgs AT dmu.ac.uk>.
57694	  [ruby-core:13451]
57695
57696Tue Dec 11 01:21:21 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57697
57698	* parse.y (shadowing_lvar_gen): no duplicate error for "_".
57699
57700Mon Dec 10 22:08:47 2007  Akinori MUSHA  <knu@iDaemons.org>
57701
57702	* array.c (rb_ary_slice_bang): If an invalid range is given, do
57703	  not raise an exception but return nil just like slice() does.
57704
57705Mon Dec 10 21:47:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57706
57707	* transcode.c (str_transcode): allow non-registered encodings.
57708	  [ruby-dev:32520]
57709
57710Mon Dec 10 21:00:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57711
57712	* array.c (rb_ary_slice_bang): should return nil if position out
57713	  of range.  a patch from Akinori MUSHA <knu AT iDaemons.org>.
57714	  [ruby-dev:32518]
57715
57716Mon Dec 10 19:02:52 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57717
57718	* re.c (rb_reg_match): should calculate offset by converted
57719	  operand.  [ruby-cvs:21416]
57720
57721Mon Dec 10 18:28:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57722
57723	* lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
57724	  regular expression.  a patch from Ueda Satoshi
57725	  <s-ueda AT livedoor.jp>.  [ruby-dev:32514]
57726
57727Mon Dec 10 17:46:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57728
57729	* string.c (rb_str_tmp_new): creates hidden temporary buffer.
57730
57731	* transcode.c (transcoding): added a pointer to function to flush.
57732
57733	* transcode.c (transcode_loop): do not use string internal.
57734	  [ruby-dev:32512]
57735
57736	* transcode.c (str_transcode): allow Encoding objects.
57737
57738	* transcode_data.h (BYTE_LOOKUP): use actual struct name.
57739
57740Mon Dec 10 16:52:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57741
57742	* string.c (rb_str_insert): should not add length in bytes to index in
57743	  chars.
57744
57745Mon Dec 10 14:33:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57746
57747	* eval.c (rb_f_public_send): rename invoke_method to public_send.
57748	  it now invokes public method only no matter how it's called.
57749
57750Mon Dec 10 14:00:43 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57751
57752	* transcode.c: new file to provide encoding conversion features.
57753	  code contributed by Martin Duerst.
57754
57755Mon Dec 10 13:50:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57756
57757	* re.c (rb_reg_search): return byte offset.  [ruby-dev:32452]
57758
57759	* re.c (rb_reg_match, rb_reg_match2, rb_reg_match_m): convert byte
57760	  offset to char index.
57761
57762	* string.c (rb_str_index): return byte offset.  [ruby-dev:32472]
57763
57764	* string.c (rb_str_split_m): calculate in byte offset.
57765
57766Mon Dec 10 09:56:29 2007  Koichi Sasada  <ko1@atdot.net>
57767
57768	* benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: added.
57769
57770Mon Dec 10 07:48:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57771
57772	* parse.y (parser_yylex): wrong token was generated.  [ruby-dev:32498]
57773
57774	* object.c (rb_obj_not_match): wrong test.
57775
57776Mon Dec 10 06:44:47 2007  Tanaka Akira  <akr@fsij.org>
57777
57778	* re.c (rb_reg_expr_str): use \xHH instead of \OOO.
57779
57780	* regerror.c (to_ascii): ditto.
57781	  (onig_snprintf_with_pattern): ditto.
57782	  (onig_snprintf_with_pattern): ditto.
57783
57784	* string.c (rb_str_inspect): ditto.
57785	  (rb_str_dump): ditto.
57786
57787	* parse.y (parser_yylex): ditto.
57788
57789	* ruby.c (proc_options): ditto.
57790
57791	* file.c (rb_f_test): ditto.
57792
57793	[ruby-dev:32495]
57794
57795Mon Dec 10 06:41:00 2007  Tanaka Akira  <akr@fsij.org>
57796
57797	* re.c (rb_reg_names): new method Regexp#names.
57798	  (rb_reg_named_captures): new method Regexp#named_captures
57799	  (match_regexp): new method MatchData#regexp.
57800	  (match_names): new method MatchData#names.
57801
57802	* lib/pp.rb (MatchData#pretty_print): show names of named captures.
57803
57804	[ruby-dev:32493]
57805
57806Mon Dec 10 01:35:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57807
57808	* parse.y (expr): redefinable not (!) operator.
57809
57810	* parse.y (arg): ditto.
57811
57812	* object.c (rb_obj_not): new method "!".
57813
57814	* object.c (rb_obj_not_equal): new method "!=".
57815
57816	* object.c (rb_obj_not_match): new method "!~".
57817
57818Sun Dec  9 22:31:36 2007  Tanaka Akira  <akr@fsij.org>
57819
57820	* re.c (rb_reg_s_last_match): accept named capture's name.
57821
57822Sun Dec  9 15:57:53 2007  Tanaka Akira  <akr@fsij.org>
57823
57824	* re.c (match_backref_number): new function for converting a backref
57825	  name/number to an integer.
57826	  (match_offset): use match_backref_number.
57827	  (match_begin): ditto.
57828	  (match_end): ditto.
57829	  (name_to_backref_number): raise IndexError instead of RuntimeError.
57830	  (match_inspect): show capture index.
57831
57832Sun Dec  9 14:59:15 2007  Koichi Sasada  <ko1@atdot.net>
57833
57834	* eval_intern.h (CHECK_STACK_OVERFLOW): reserve frame size.
57835	  [ruby-dev:32485]
57836
57837Sun Dec  9 14:38:25 2007  Koichi Sasada  <ko1@atdot.net>
57838
57839	* vm.c (rb_thread_mark): use rb_gc_mark_maybe() for
57840	  VM stack specified by mark_stack_len.  [ruby-dev:32462]
57841
57842	* insnhelper.ci: clear vm stack extended by opt value.
57843
57844Sun Dec  9 14:08:47 2007  Tanaka Akira  <akr@fsij.org>
57845
57846	* include/ruby/ruby.h (FilePathStringValue): defined.  similar to
57847	  FilePathValue but no taint check.
57848
57849	* file.c (rb_get_path_no_checksafe): implementation of
57850	  FilePathStringValue.
57851	  (rb_file_s_basename): use FilePathStringValue.
57852	  (rb_file_s_dirname): ditto.
57853	  (rb_file_s_extname): ditto.
57854	  (rb_file_s_split): ditto.
57855	  (rb_file_join): ditto.
57856
57857	* dir.c (file_s_fnmatch): ditto.
57858
57859Sun Dec  9 12:49:34 2007  Tanaka Akira  <akr@fsij.org>
57860
57861	* re.c (append_utf8): check unicode range.
57862
57863Sun Dec  9 12:39:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57864
57865	* lib/cgi.rb (read_multipart): exclude blanks from header values.
57866	  [ruby-list:44327]
57867
57868Sun Dec  9 12:18:19 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57869
57870	* file.c (rb_get_path): use the original object if to_path method is
57871	  not defined.  [ruby-dev:32473]
57872
57873	* io.c (rb_f_open): call to_open on non-string objects, instead of
57874	  to_str.  [ruby-dev:32473]
57875
57876Sun Dec  9 12:12:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57877
57878	* string.c (tr_find): returns true if no characters to be removed is
57879	  specified.
57880
57881Sun Dec  9 12:03:16 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57882
57883	* parse.y (parser_magic_comment): delimits with a semicolon.
57884
57885Sun Dec  9 11:29:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57886
57887	* string.c (tr_trans): get rid of segfaults when has multibytes but
57888	  source sets have no multibytes.
57889
57890Sun Dec  9 04:01:28 2007  Tanaka Akira  <akr@fsij.org>
57891
57892	* encoding.c (rb_enc_mbclen): return 1 if underlying implementation
57893	  returns a length longer than e-p.
57894	  (rb_enc_precise_mbclen): return needmore if underlying
57895	  implementation returns a length longer than e-p.
57896
57897Sat Dec  8 17:59:40 2007  Tanaka Akira  <akr@fsij.org>
57898
57899	* signal.c (posix_signal): return value.
57900
57901Sat Dec  8 17:22:16 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57902
57903	* test/openssl/test_pkcs7.rb: Remove redundant module namespace.
57904
57905Sat Dec  8 17:07:10 2007  Tanaka Akira  <akr@fsij.org>
57906
57907	* ruby.c (proc_options): make rb_raise format as a string literal to
57908	  avoid warning.
57909
57910Sat Dec  8 16:18:16 2007  Tanaka Akira  <akr@fsij.org>
57911
57912	* re.c (rb_reg_check_preprocess): new function for validating regexp
57913	  fragment.
57914
57915	* parse.y (regexp): invoke reg_fragment_check.
57916	  (reg_fragment_check): defined.
57917	  (reg_fragment_check_gen): defined.
57918
57919Sat Dec  8 11:06:29 2007  Tanaka Akira  <akr@fsij.org>
57920
57921	* encoding.c (rb_enc_mbclen): make it never fail.
57922	  (rb_enc_nth): don't check the return value of rb_enc_mbclen.
57923	  (rb_enc_strlen): ditto.
57924	  (rb_enc_precise_mbclen): return needmore(1) if e <= p.
57925	  (rb_enc_get_ascii): new function for extracting ASCII character.
57926
57927	* include/ruby/encoding.h (rb_enc_get_ascii): declared.
57928
57929	* include/ruby/regex.h (ismbchar): removed.
57930
57931	* re.c (rb_reg_expr_str): use rb_enc_get_ascii.
57932	  (unescape_escaped_nonascii): use rb_enc_precise_mbclen to determine
57933	  the termination of escaped non-ASCII character.
57934	  (unescape_nonascii): use rb_enc_precise_mbclen.
57935	  (rb_reg_quote): use rb_enc_get_ascii.
57936	  (rb_reg_regsub): use rb_enc_get_ascii.
57937
57938	* string.c (rb_str_reverse) don't check the return value of
57939	  rb_enc_mbclen.
57940	  (rb_str_split_m): don't call rb_enc_mbclen with e <= p.
57941
57942	* parse.y (is_identchar): use ISASCII.
57943	  (parser_ismbchar): removed.
57944	  (parser_precise_mbclen): new macro.
57945	  (parser_isascii): new macro.
57946	  (parser_tokadd_mbchar): use parser_precise_mbclen to check invalid
57947	  character precisely.
57948	  (parser_tokadd_string): use parser_isascii.
57949	  (parser_yylex): ditto.
57950	  (is_special_global_name): don't call is_identchar with e <= p.
57951	  (rb_enc_symname_p): ditto.
57952
57953	  [ruby-dev:32455]
57954
57955	* ext/tk/sample/tkextlib/vu/canvSticker2.rb: remove coding cookie
57956	  because the encoding is not UTF-8.  [ruby-dev:32475]
57957
57958Fri Dec  7 20:21:35 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
57959
57960	* ext/openssl/lib/net/ftptls.rb, ext/openssl/lib/net/telnets.rb:
57961	  half-finished libraries are discontinued.
57962
57963Fri Dec  7 15:44:40 2007  Tanaka Akira  <akr@fsij.org>
57964
57965	* lib/pp.rb: use Hash for recursion check as inspect.
57966
57967Fri Dec  7 15:04:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
57968
57969	* array.c (flatten): some performance improvements, based on a patch
57970	  from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13877].
57971	  [ruby-core:13851]
57972
57973	* thread.c (rb_exec_recursive): use Hash instead of Array for
57974	  performance improvement.  [ruby-core:13898]
57975
57976	* thread.c (recursive_pop): use object ID.
57977
57978Thu Dec  6 19:52:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57979
57980	* parse.y (arg): typo fixed ("!" -> "|") in the ripper code.
57981
57982Thu Dec  6 19:48:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
57983
57984	* parse.y (arg): tUPLUS no longer works as identity operation any
57985	  more.  inspired by [ruby-talk:265532].
57986
57987Thu Dec  6 18:22:11 2007  Tanaka Akira  <akr@fsij.org>
57988
57989	* encoding.c (rb_enc_precise_mbclen): new function for mbclen with
57990	  validation.
57991
57992	* include/ruby/encoding.h (rb_enc_precise_mbclen): declared.
57993	  (MBCLEN_CHARFOUND): new macro.
57994	  (MBCLEN_INVALID): new macro.
57995	  (MBCLEN_NEEDMORE): new macro.
57996
57997	* include/ruby/oniguruma.h (OnigEncodingTypeST): replace mbc_enc_len
57998	  by precise_mbc_enc_len.
57999	  (ONIGENC_PRECISE_MBC_ENC_LEN): new macro.
58000	  (ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND): new macro.
58001	  (ONIGENC_CONSTRUCT_MBCLEN_INVALID): new macro.
58002	  (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE): new macro.
58003	  (ONIGENC_MBCLEN_CHARFOUND): new macro.
58004	  (ONIGENC_MBCLEN_INVALID): new macro.
58005	  (ONIGENC_MBCLEN_NEEDMORE): new macro.
58006	  (ONIGENC_MBC_ENC_LEN): use ONIGENC_PRECISE_MBC_ENC_LEN.
58007
58008	* enc/euc_jp.c: validation implemented.
58009
58010	* enc/sjis.c: ditto.
58011
58012	* enc/utf8.c: ditto.
58013
58014	* string.c (rb_str_inspect): use rb_enc_precise_mbclen for invalid
58015	  encoding.
58016	  (rb_str_valid_encoding_p): new method String#valid_encoding?.
58017
58018	* io.c (rb_io_getc): use rb_enc_precise_mbclen.
58019
58020	[ruby-dev:32438]
58021
58022Thu Dec  6 01:37:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58023
58024	* regparse.c (i_apply_case_fold): fix for negative character class.  a
58025	  patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884].
58026
58027Thu Dec  6 01:00:38 2007  NARUSE, Yui <naruse@ruby-lang.org>
58028
58029	* ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv.
58030
58031Wed Dec  5 16:18:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58032
58033	* proc.c (rb_proc_s_new): call initialize.  [ruby-core:13824]
58034
58035	* proc.c (rb_proc_location): return file name and line number where
58036	  the proc is defined.
58037
58038	* thread.c (thread_s_new): call initialize.  [ruby-core:13835]
58039
58040	* thread.c (thread_initialize): split initialize method.
58041
58042Wed Dec  5 15:25:55 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58043
58044	* parse.y (rb_intern3): fix to changing encoding to default, and
58045	  uncommented r13835, which is rare but not impossible.
58046
58047Wed Dec  5 15:15:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58048
58049	* range.c (step_i, range_step): support non-fixnum steps.
58050	  [ruby-talk:282100]
58051
58052Wed Dec  5 14:25:11 2007  Koichi Sasada  <ko1@atdot.net>
58053
58054	* compile.c (iseq_compile_each): fix typo.
58055
58056Wed Dec  5 13:41:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58057
58058	* parse.y (yycompile): get rid of tracing while parsing.
58059	  [ruby-dev:31351]
58060
58061	* thread.c (ruby_suppress_tracing): added a new parameter, which
58062	  directs to call func always.
58063
58064Tue Dec  4 19:56:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58065
58066	* ext/iconv/iconv.c (iconv_convert): should not set encoding unless
58067	  the target encoding is supported.  [ruby-dev:32451]
58068
58069Tue Dec  4 17:34:17 2007  NARUSE, Yui  <naruse@ruby-lang.org>
58070
58071	* ext/nkf/lib/kconv.rb (tojis, tosjis, toeuc, toutf8):
58072	  set encoding. [ruby-dev:32447]
58073
58074Tue Dec  4 17:07:25 2007  NARUSE, Yui  <naruse@ruby-lang.org>
58075
58076	* lib/json.rb, lib/json/*: moved to ext/json/lib.
58077
58078Tue Dec  4 16:34:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58079
58080	* ext/iconv/iconv.c (iconv_create): achieve target encoding.
58081
58082	* ext/iconv/iconv.c (iconv_convert, iconv_finish, iconv_iconv,
58083	  iconv_conv): set result string encoding.  [ruby-dev:32446]
58084
58085	* ext/iconv/iconv.c (iconv_initialize, iconv_s_open): set encoding to
58086	  Iconv instance.
58087
58088Tue Dec  4 14:34:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58089
58090	* ruby.c (process_options): reverted c flag.
58091
58092Tue Dec  4 11:23:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58093
58094	* bignum.c (rb_cstr_to_inum): trailing spaces may exist at squeezing
58095	  preceding 0s.  [ruby-core:13873]
58096
58097Mon Dec  3 11:51:53 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
58098
58099	* ext/Win32API/*: removed or moved to ext/dl/win32.
58100
58101	* ext/dl/win32/*: new. [ruby-dev:32387]
58102
58103Sun Dec  2 22:08:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58104
58105	* parse.y (parser_tokadd_mbchar): fix for ASCII chars.  [ruby-dev:32432]
58106
58107	* parse.y (parser_parse_string, parser_here_document): prevent false
58108	  error messages.
58109
58110Sun Dec  2 20:43:22 2007  Tanaka Akira  <akr@fsij.org>
58111
58112	* re.c (unescape_escaped_nonascii): fix mbclen argument.
58113
58114Sun Dec  2 15:47:57 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58115
58116	* parse.y (parser_tokadd_mbchar): check insufficient multibyte char.
58117	  [ruby-dev:32429]
58118
58119Sun Dec  2 15:42:16 2007  Kouhei Sutou  <kou@cozmixng.org>
58120
58121	* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.1 -> 0.2.2.
58122
58123	* lib/rss/maker/itunes.rb: fixed new_itunes_category.
58124	* lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because
58125	  of consistency.
58126
58127	* test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed
58128	  needless UTF-8 characters.
58129
58130Sun Dec  2 15:18:37 2007  Koichi Sasada  <ko1@atdot.net>
58131
58132	* insnhelper.ci (vm_callee_setup_arg): fix error message.
58133	  [ruby-dev:32430]
58134
58135Sun Dec  2 09:12:48 2007  Tanaka Akira  <akr@fsij.org>
58136
58137	* parse.y (regexp): fix /#{}\xa1\xa2/e to be EUC-JP.
58138	  (reg_fragment_setenc_gen): extracted from reg_compile_gen.
58139
58140Sun Dec  2 01:39:51 2007  Tanaka Akira  <akr@fsij.org>
58141
58142	* include/ruby/intern.h (rb_uv_to_utf8): declared.
58143
58144	* re.c (rb_reg_preprocess): new function for dynamic regexp with
58145	  \u{} such as Regexp.new("\\u{6666}").
58146	  (rb_reg_prepare_re): preprocess regexp for recompiling.
58147	  (read_escaped_byte): new function.
58148	  (unescape_escaped_nonascii): new function.
58149	  (append_utf8): new function.
58150	  (unescape_unicode_list): new function.
58151	  (unescape_unicode_bmp): new function.
58152	  (unescape_nonascii): new function.
58153	  (rb_reg_initialize): preprocess regexp.
58154
58155	* pack.c (rb_uv_to_utf8): renamed from uv_to_utf8.
58156
58157	* parse.y (STR_NEW3): take func instead of has8 and hasmb.
58158	  (parser_str_new): use default coderange mechanism except for regexp.
58159	  (parser_tokadd_utf8): copy regexp source as-is.
58160	  (parser_read_escape): UTF-8 stuff removed.
58161	  (parser_tokadd_escape): has8bit and hasmb removed.
58162	  (parser_tokadd_string): fix 8-bit single byte character with \u.
58163	  (parser_parse_string): has8bit and hasmb removed.
58164	  (parser_here_document): has8bit and hasmb removed.
58165	  (parser_yylex): call parser_tokadd_utf8 instead of read_escape for
58166	  UTF-8 character.
58167
58168Wed Dec  2 01:00:07 2007  James Edward Gray II  <jeg2@ruby-lang.org>
58169
58170	* lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so
58171	  pressing control-c in the controlling terminal or sending SIGTERM stops
58172	  the XML-RPC server.
58173
58174Sat Dec  1 23:04:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58175
58176	* encoding.c: rename primary_encoding -> default_external (encoding).
58177
58178Sat Dec  1 19:52:57 2007  Tadayoshi Funaba  <tadf@dotrb.org>
58179
58180	* lib/date.rb (Time#to_datetime): use nsec instead of usec.
58181
58182	* lib/date.rb (DateTime#to_time): second minute as an argument to
58183	  Time::utc contains fractional part in rational; hence Time
58184	  object may keep resolution at most nanosecond.
58185
58186Sat Dec  1 14:36:05 2007  Koichi Sasada  <ko1@atdot.net>
58187
58188	* bootstraptest/test_knownbug.rb: move fixed bugs.
58189
58190	* test/ruby/test_sprintf.rb: ditto.
58191
58192	* test/yaml/test_yaml.rb: ditto.
58193
58194Sat Dec  1 13:24:47 2007  Koichi Sasada  <ko1@atdot.net>
58195
58196	* insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on third
58197	  parameter of IFUNC.  [ruby-dev:32329]
58198
58199	* enumerator.c: fix to pass exact number of argument.
58200
58201	* eval.c (rb_yield_values2): added.
58202
58203	* include/ruby/ruby.h: ditto.
58204
58205	* bootstraptest/test_knownbug.rb: move a fixed test.
58206
58207	* bootstraptest/test_block.rb: ditto.
58208
58209Sat Dec  1 10:45:56 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58210
58211	* io.c (rb_f_open): use to_open for every non-string object.  path
58212	  object may use method_missing.
58213
58214Sat Dec  1 09:44:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58215
58216	* insns.def (concatarray, splatarray): use to_a instead of
58217	  to_splat.
58218
58219	* insnhelper.ci (caller_setup_args): ditto.
58220
58221Sat Dec  1 03:34:32 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58222
58223	* parse.y (newline_node): always remove NODE_BEGIN.
58224
58225Fri Nov 30 23:48:07 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58226
58227	* signal.c (ruby_signal): use SA_SIGINFO if available.
58228	  [ ruby-Patches-6418 ]
58229
58230Fri Nov 30 22:52:54 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58231
58232	* signal.c (trap_signm): SIGVTALRM no longer used for green
58233	  thread.  [ruby-talk:281318]
58234
58235	* signal.c (ruby_sig_finalize): do not install SIG_DFL handler if
58236	  previous handler is sighandler().
58237
58238Fri Nov 30 21:02:15 2007  NARUSE, Yui  <naruse@ruby-lang.org>
58239
58240	* lib/json.rb, lib/json/add/{core.rb, rails.rb},
58241	  test/json/test_json_rails.rb: additional files of JSON 1.1.2.
58242	  [ruby-dev:32405]
58243
58244Fri Nov 30 19:33:38 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58245
58246	* ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault.
58247	  [ruby-core:13735]
58248
58249Fri Nov 30 19:05:55 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58250
58251	* enum.c (enum_count): precise argument number check.
58252
58253	* enum.c (enum_count): return Enumerator if no block given.
58254
58255Fri Nov 30 16:42:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58256
58257	* enum.c (enum_take_while): returns Enumerator if no block given.
58258
58259	* enum.c (enum_drop_while): ditto.
58260
58261Thu Nov 29 16:59:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58262
58263	* parse.y (stmt): remove unnecessary NODE_BEGIN.  [ruby-core:13814]
58264
58265Thu Nov 29 06:45:48 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58266
58267	* hash.c (rb_hash_eql): recursive comparison should be based on
58268	  eql?  [ruby-core:13803]
58269
58270Wed Nov 28 18:08:00 2007  NARUSE, Yui  <naruse@ruby-lang.org>
58271
58272	* ext/json, lib/json, test/json: Update to JSON 1.1.2.
58273	  (RubyForge#15447)
58274
58275	* math.c: fix typo.
58276
58277Wed Nov 28 16:29:35 2007  Koichi Sasada  <ko1@atdot.net>
58278
58279	* insnhelper.ci (vm_invoke_block): should splat args.
58280	  [ruby-dev:32392]
58281
58282	* test/ruby/test_yield.rb: add tests for above.
58283
58284Wed Nov 28 14:43:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58285
58286	* ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS to
58287	  get rid of mixing $LDFLAGS and $ARCH_FLAG.
58288
58289	* lib/mkmf.rb (configuration): ditto.
58290
58291	* lib/mkmf.rb (create_makefile): support for extensions which has no
58292	  shared object.
58293
58294Wed Nov 28 02:42:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58295
58296	* bignum.c (big2str_find_n1): removed extraneous element.
58297	  [ruby-dev:32351], [ruby-dev:32365]
58298
58299	* bignum.c (big2str_find_n1): returns necessary digits now.
58300
58301	* sprintf.c (remove_sign_bits): extends sign bit first.
58302
58303Tue Nov 27 15:53:43 2007  Koichi Sasada  <ko1@atdot.net>
58304
58305	* compile.c (iseq_compile_each): "when *[],1" dumps core.
58306	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:32350]
58307
58308	* bootstraptest/test_syntax.rb: add a test for above.
58309
58310Tue Nov 27 15:40:05 2007  Koichi Sasada  <ko1@atdot.net>
58311
58312	* compile.c (iseq_compile_each): "a[*b] += 1" dumps core.
58313	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:32354]
58314
58315	* bootstraptest/test_syntax.rb: add a test for above.
58316
58317Tue Nov 27 12:47:23 2007  Koichi Sasada  <ko1@atdot.net>
58318
58319	* compile.c, insns.def: change return value of "defined?"
58320	  for $&, $1, ... .  If such variables are defined,
58321	  return "global-variable".
58322
58323	* test/ruby/test_defined.rb: add tests.
58324
58325	* bootstraptest/test_syntax.rb: fix a test.
58326
58327Tue Nov 27 11:54:46 2007  Koichi Sasada  <ko1@atdot.net>
58328
58329	* insns.def: fix typo.
58330
58331Tue Nov 27 11:23:20 2007  Koichi Sasada  <ko1@atdot.net>
58332
58333	* test_beginendblock.rb: add loop to wait signal.
58334	  [ruby-dev:32332]
58335
58336Tue Nov 27 11:14:57 2007  Tanaka Akira  <akr@fsij.org>
58337
58338	* include/ruby/encoding.h, encoding.c, re.c, string.c, parse.y:
58339	  rename ENC_CODERANGE_SINGLE to ENC_CODERANGE_7BIT.
58340	  rename ENC_CODERANGE_MULTI to ENC_CODERANGE_8BIT.
58341	  Because single byte 8bit character, such as Shift_JIS 1byte katakana,
58342	  is represented by ENC_CODERANGE_MULTI even if it is not multi byte.
58343
58344Tue Nov 27 10:45:45 2007  Koichi Sasada  <ko1@atdot.net>
58345
58346	* eval.c (rb_method_missing): fix stack trace.
58347
58348	* bootstraptest/test_knownbug.rb: move solved tests.
58349
58350	* bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto.
58351
58352Tue Nov 27 09:57:42 2007  Koichi Sasada  <ko1@atdot.net>
58353
58354	* insns.def, compile.c: fix to allow dsym for alias/undef.
58355	  [ruby-dev:32355]
58356
58357	* bootstraptest/test_method.rb: add tests for above.
58358
58359Mon Nov 26 23:18:46 2007  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
58360
58361	* lib/drb/extserv.rb (initialize, stop_service): synchronize with
58362	  ExtServManager.
58363
58364	* test/drb/test_drb.rb (TestDRbEval): ignored.
58365
58366Mon Nov 26 17:32:16 2007  Tanaka Akira  <akr@fsij.org>
58367
58368	* re.c (Init_Regexp): new method Regexp#fixed_encoding?
58369	  [ruby-dev:32361]
58370
58371Mon Nov 26 13:28:14 2007  Keiju Ishitsuka  <keiju@ruby-lang.org>
58372
58373	* lib/complex.rb: be able to create Complex(0, -0.0). [ruby-list:44268]
58374
58375Mon Nov 26 11:24:04 2007  Tanaka Akira  <akr@fsij.org>
58376
58377	* re.c (rb_reg_fixed_encoding_p): extracted from rb_reg_prepare_re and
58378	  rb_reg_s_union.
58379	  (rb_reg_s_union): refactored.
58380
58381Mon Nov 26 10:44:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58382
58383	* io.c (rb_read_internal, rb_sysopen_internal): remove C99 dependency.
58384
58385Sun Nov 25 22:21:35 2007  Tanaka Akira  <akr@fsij.org>
58386
58387	* include/ruby/encoding.h (rb_enc_str_asciionly_p): declared.
58388	  (rb_enc_str_asciicompat_p): defined.
58389
58390	* re.c (rb_reg_initialize_str): use rb_enc_str_asciionly_p.
58391	  (rb_reg_quote): return ascii-8bit string if the argument is
58392	  ascii-only to generate encoding generic regexp if possible.
58393	  (rb_reg_s_union): fix encoding handling.  [ruby-dev:32094]
58394
58395	* string.c (rb_enc_str_asciionly_p): defined.
58396
58397Sun Nov 25 12:12:03 2007  Eric Hodel  <drbrain@segment7.net>
58398
58399	* gem_prelude.rb: Import fast-loading gem_prelude.rb from RubyGems.
58400
58401	* lib/rubygems*: Import RubyGems r1516.
58402
58403Sat Nov 24 23:25:52 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58404
58405	* test/ruby/test_eval.rb (TestEval::test_instance_eval_cvar):
58406	  updated not to modify class variable of Object class.
58407
58408Fri Nov 23 17:34:24 2007  Koichi Sasada  <ko1@atdot.net>
58409
58410	* io.c: add rb_read_internal() as blocking function.
58411
58412Fri Nov 23 17:33:39 2007  Koichi Sasada  <ko1@atdot.net>
58413
58414	* vm.c: fix comment.
58415
58416Fri Nov 23 17:26:11 2007  Koichi Sasada  <ko1@atdot.net>
58417
58418	* bootstraptest/test_knownbug.rb: move solved tests.
58419
58420	* bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb:
58421	  ditto.
58422
58423	* test/ruby/test_integer.rb, test_regexp.rb: ditto.
58424
58425Fri Nov 23 15:59:04 2007  Tanaka Akira  <akr@fsij.org>
58426
58427	* struct.c (rb_struct_alloc_noinit): new function.
58428	  (rb_struct_define_without_accessor): add allocator to the arguments.
58429
58430	* range.c (range_alloc): re-introduced using rb_struct_alloc_noinit.
58431
58432Fri Nov 23 15:27:43 2007  Tanaka Akira  <akr@fsij.org>
58433
58434	* re.c (REG_CASESTATE): unused macro removed.
58435	  (rb_reg_prepare_re): check encoding difference.
58436	  (rb_reg_initialize): check 8bit byte.
58437
58438	* parse.y (parser_tokadd_escape): fix has8bit.
58439
58440	  [ruby-dev:32113]
58441
58442Fri Nov 23 15:16:48 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58443
58444	* variable.c (rb_f_global_variables): variable names should not
58445	  duplicate.  [ruby-dev:32344]
58446
58447Fri Nov 23 13:34:08 2007  Tanaka Akira  <akr@fsij.org>
58448
58449	* struct.c (rb_struct_define_without_accessor): new function.
58450
58451	* range.c (range_alloc): removed.
58452	  (Init_Range): use rb_struct_define_without_accessor.
58453
58454	  based on [ruby-dev:32327].
58455
58456Fri Nov 23 11:01:54 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58457
58458	* re.c (match_begin): should return offset by character.
58459	  [ruby-dev:32331]
58460
58461	* re.c (match_end): ditto.
58462
58463	* re.c (rb_reg_search): ditto.
58464
58465Fri Nov 23 10:44:24 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58466
58467	* compile.c (defined_expr): defined(method(x)) dumped core.  a
58468	  patch from Yusuke ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:32335]
58469
58470Wed Nov 21 18:03:49 2007  Koichi Sasada  <ko1@atdot.net>
58471
58472	* vm.c: fix to recycle thread data (VM stack).
58473
58474	* thread.c: ditto.
58475
58476	* benchmark/bm_vm3_thread_create_join.rb: add loop count.
58477
58478Wed Nov 21 18:02:10 2007  Koichi Sasada  <ko1@atdot.net>
58479
58480	* benchmark/driver.rb: add path to trunk/lib if driver runner is
58481	  in build directory.
58482
58483Wed Nov 21 16:39:21 2007  Tanaka Akira  <akr@fsij.org>
58484
58485	* test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert
58486	  to test tv_sec only for filestamp resolution portability.
58487	  (assert_same_entry): use assert_same_entry for mtime comparison.
58488
58489Wed Nov 21 14:55:13 2007  Koichi Sasada  <ko1@atdot.net>
58490
58491	* array.c (rb_ary_permutation): add gc guard codes.
58492
58493Wed Nov 21 11:16:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58494
58495	* insnhelper.ci (vm_search_normal_superclass): rename function.
58496
58497	* insnhelper.ci (vm_search_superclass): ditto.
58498
58499	* proc.c (struct METHOD): rename rklass -> rclass.
58500
58501Wed Nov 21 03:12:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58502
58503	* process.c (rb_f_system): returns nil on execution failure.
58504	  [ruby-core:13715]
58505
58506Wed Nov 21 01:04:12 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58507
58508	* object.c (nil_plus): remove unused function.  [ruby-core:13737]
58509
58510Tue Nov 20 21:46:46 2007  Tanaka Akira  <akr@fsij.org>
58511
58512	* time.c (time_mload): ignore invalid digits in submicro.
58513
58514Tue Nov 20 20:33:32 2007  Koichi Sasada  <ko1@atdot.net>
58515
58516	* include/ruby/ruby.h: rename RFloat#double_value -> float_value.
58517
58518	* numeric.c, parse.y: ditto.
58519
58520Tue Nov 20 19:36:21 2007  Koichi Sasada  <ko1@atdot.net>
58521
58522	* gc.h, vm_core.h: decl of rb_gc_save_machine_context()
58523	  should be at vm_core.h.
58524
58525	* include/ruby/ruby.h, intern.h: remove type rb_thread_t.
58526
58527	* include/ruby/intern.h: change rb_unblock_function_t,
58528	  rb_unblock_function_t.
58529
58530	* file.c, process.c: apply above changes.
58531
58532	* thread.c, thread_pthread.ci, thread_win32.ci: ditto.
58533
58534	* io.c: support blocking open (2). [ruby-core:13614]
58535
58536Tue Nov 20 17:10:11 2007  Tanaka Akira  <akr@fsij.org>
58537
58538	* io.c (rb_io_close_on_exec_p): new method IO#close_on_exec?.
58539	  (rb_io_set_close_on_exec): new method IO#close_on_exec=.
58540	  [ruby-dev:32323]
58541
58542Tue Nov 20 16:24:31 2007  Tanaka Akira  <akr@fsij.org>
58543
58544	* gc.c (gc_mark_children): obj->as.file.fptr may be 0 for T_FILE.
58545
58546Tue Nov 20 15:09:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58547
58548	* parse.y (parser_read_escape): has8bit flag may be set with control
58549	  escape.  [ruby-core:13722]
58550
58551	* parse.y (parser_prepare): set begging after BOM if exists.
58552	  [ruby-core:13718]
58553
58554Tue Nov 20 14:55:37 2007  Eric Hodel  <drbrain@segment7.net>
58555
58556	* lib/rubygems*: Update to RubyGems 0.9.5.
58557
58558Tue Nov 20 13:00:44 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
58559
58560	* include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fd
58561	  instead of socketpair when mode is RDWR.
58562
58563	* io.c (pipe_open): pass &write_fd to rb_w32_pipe_exec().
58564
58565	* io.c (popen_redirect): define only when HAVE_FORK.
58566
58567Tue Nov 20 12:12:04 2007  Tanaka Akira  <akr@fsij.org>
58568
58569	* include/ruby/io.h (rb_io_t): add tied_io_for_writing member.
58570
58571	* io.c: use tied_io_for_writing for duplex popen.
58572
58573	* gc.c: mark tied_io_for_writing.
58574
58575	* common.mk: gc.o depends io.h.
58576
58577	  [ruby-dev:32205]
58578
58579Tue Nov 20 11:59:33 2007  Tanaka Akira  <akr@fsij.org>
58580
58581	* test/drb/test_drb.rb: rename TestRubyYield to TestDRbRubyYield to
58582	  avoid name crash with test/ruby/test_yield.rb.
58583	  TestRuby18Yield is renamed to TestDRbRuby18Yield too.
58584
58585Tue Nov 20 03:24:42 2007  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
58586
58587	* lib/drb/extservm.rb: merged from ruby_1_8 branch.
58588
58589	* lib/drb/acl.rb: ditto.
58590
58591	* lib/drb/ssl.rb: ditto.
58592
58593	* lib/drb/unix.rb: ditto.
58594
58595	* lib/drb/drb.rb: ditto.
58596
58597	* lib/drb/observer.rb: ditto.
58598
58599	* lib/drb/invokemethod.rb: ditto.
58600
58601	* test/drb/test_drbssl.rb: ditto.
58602
58603	* test/drb/test_drb.rb: ditto.
58604
58605	* test/drb/drbtest.rb: ditto.
58606
58607	* test/drb/test_drbunix.rb: ditto.
58608
58609Tue Nov 20 00:52:46 2007  Tanaka Akira  <akr@fsij.org>
58610
58611	* test/fileutils/fileasserts.rb (assert_equal_time): show nsec if
58612	  assertion fails but time.to_s equals.
58613	  (assert_same_entry): use assert_equal_time.
58614
58615	* test/fileutils/test_fileutils.rb (test_install): use
58616	  assert_equal_time.
58617
58618Mon Nov 19 18:46:49 2007  Tanaka Akira  <akr@fsij.org>
58619
58620	* file.c (utime_internal): fallback utimensat to utimes.
58621
58622Mon Nov 19 17:51:27 2007  Tanaka Akira  <akr@fsij.org>
58623
58624	* configure.in: check struct timespec, clock_gettime, utimensat,
58625	  struct stat.st_atim,
58626	  struct stat.st_atimespec,
58627	  struct stat.st_atimensec,
58628	  struct stat.st_mtim,
58629	  struct stat.st_mtimespec,
58630	  struct stat.st_mtimensec,
58631	  struct stat.st_ctim,
58632	  struct stat.st_ctimespec,
58633	  struct stat.st_ctimensec.
58634
58635	* include/ruby/missing.h: provide struct timespec if not available.
58636
58637	* time.c: support nanosecond-resolution using struct timespec.
58638	  (time_nsec): new method: Time#nsec and Time#tv_nsec.
58639
58640	* include/ruby/intern.h: provide rb_time_nano_new.
58641
58642	* file.c (utime_internal): use utimensat if available.
58643	  (rb_file_s_utime): refactored.
58644	  (rb_f_test): use stat_atime, stat_mtime, stat_ctime.
58645	  (rb_stat_cmp): check tv_nsec.
58646	  (stat_atimespec): new function.
58647	  (stat_atime): ditto.
58648	  (stat_mtimespec): ditto.
58649	  (stat_mtime): ditto.
58650	  (stat_ctimespec): ditto.
58651	  (stat_ctime): ditto.
58652	  (rb_stat_atime): use stat_atime.
58653	  (rb_file_s_atime): ditto.
58654	  (rb_file_atime): ditto.
58655	  (rb_stat_mtime): use stat_mtime.
58656	  (rb_file_s_mtime): ditto.
58657	  (rb_file_mtime): ditto.
58658	  (rb_file_ctime): use stat_ctime.
58659	  (rb_file_s_ctime): ditto.
58660	  (rb_stat_ctime): ditto.
58661
58662	* variable.c (rb_copy_generic_ivar): clear clone's instance variables
58663	  if obj has no instance variable.
58664
58665	* marshal.c (w_object): dump instance variables of generated string
58666	  for TYPE_USERDEF, even if original object has instance variables.
58667
58668	* lib/time.rb (Time#xmlschema): use nsec instead of usec.
58669
58670	[ruby-dev:32306]
58671
58672Mon Nov 19 17:48:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58673
58674	* object.c (rb_class_superclass): should not raise exception for
58675	  BasicObject.  [ruby-Bugs-15668]
58676
58677Mon Nov 19 16:04:08 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58678
58679	* array.c (rb_ary_permutation): gives all permutations of elements
58680	  if no argument given.  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
58681	  [ruby-dev:32309]
58682
58683Mon Nov 19 02:44:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58684
58685	* compile.c (iseq_compile_each): alias and undef accept dsyms as well
58686	  as literals.  [ruby-dev:32308]
58687
58688Mon Nov 19 02:31:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58689
58690	* eval_method.ci (rb_add_method): no redefinition warning for undef.
58691
58692Mon Nov 19 01:53:11 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58693
58694	* parse.y (parser_read_escape): disallow control and meta modifiers
58695	  for non-ASCII characters.  [ruby-core:13685]
58696
58697Sun Nov 18 20:47:41 2007  Tanaka Akira  <akr@fsij.org>
58698
58699	* marshal.c (mark_dump_arg): it may be called after dump_ensure.
58700
58701Sun Nov 18 18:27:47 2007  Tanaka Akira  <akr@fsij.org>
58702
58703	* time.c (time_minus): fix Time.at(2**60+1) - Time.at(2**60).
58704
58705Sun Nov 18 17:28:49 2007  Tanaka Akira  <akr@fsij.org>
58706
58707	* time.c (time_arg): show actual year in 2-3 digits year warning.
58708	  (time_mdump): show actual year in "year too big to marshal" error.
58709
58710Sun Nov 18 14:03:44 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58711
58712	* eval_method.ci (rb_alias): do not call hook functions until
58713	  initialization finishes.  [ruby-talk:279538]
58714
58715Sun Nov 18 09:09:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58716
58717	* lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.
58718
58719Sun Nov 18 05:19:46 2007  Tanaka Akira  <akr@fsij.org>
58720
58721	* lib/mkmf.rb (have_struct_member): define HAVE_type_member.
58722
58723Sat Nov 17 23:51:29 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
58724
58725	* ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]
58726
58727Sat Nov 17 23:21:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58728
58729	* parse.y (parser_yylex): should clear parser->tokp as well.
58730	  [ruby-dev:32250]
58731
58732	* parse.y: remove NEED_ASSOC that break test_parser_events.
58733
58734	* parse.y (parser_yylex): should not decrement line numbers at the
58735	  end of file.
58736
58737	* file.c (rb_find_file_ext): search .rb files first through in the
58738	  loadpath.
58739
58740Fri Nov 16 23:31:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58741
58742	* bignum.c (rb_big_odd_p): new method added.  a patch from Tadashi
58743	  Saito <shiba AT mail2.accsnet.ne.jp>.  [ruby-dev:32305]
58744
58745	* bignum.c (rb_big_even_p): ditto.
58746
58747Fri Nov 16 17:41:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58748
58749	* ext/iconv/iconv.c (Document-class): moved the simplest example to
58750	  the top.
58751
58752	* ext/iconv/iconv.c (iconv_s_iconv): Document-method: needs class
58753	  prefix for class method.  [ruby-core:13542]
58754
58755	* ext/iconv/iconv.c (iconv_iconv): also instance method needs to be
58756	  qualified.
58757
58758Fri Nov 16 16:26:57 2007  Shugo Maeda  <shugo@ruby-lang.org>
58759
58760	* include/ruby/ruby.h: added some declarations for event hooks.
58761
58762	* lib/profile.rb: set VM::InstructionSequence.compile_option.
58763
58764Fri Nov 16 11:16:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58765
58766	* lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.
58767
58768Fri Nov 16 03:36:01 2007  why the lucky stiff  <why@ruby-lang.org>
58769
58770	* ext/syck/rubyext.c: Node#value defined twice.
58771
58772	* lib/yaml/: several method redefinitions causing warnings.
58773
58774Fri Nov 16 03:01:00 2007  why the lucky stiff  <why@ruby-lang.org>
58775
58776	* lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit.
58777
58778Fri Nov 16 02:51:59 2007  why the lucky stiff  <why@ruby-lang.org>
58779
58780	* lib/yaml.rb (quick_emit): use combination of object_id and hash to
58781	  identify repeated object references, since GC will reuse memory of
58782	  objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698]
58783
58784Thu Nov 15 19:49:03 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
58785
58786	* ext/curses/extconf.rb: check macro if cannot find func.
58787	  [ruby-list:44224]
58788
58789Thu Nov 15 18:04:06 2007  Tanaka Akira  <akr@fsij.org>
58790
58791	* tool/compile_prelude.rb: fix TMP_RUBY_PREFIX for relative load path
58792	  environment.
58793
58794Thu Nov 15 17:28:21 2007  Tanaka Akira  <akr@fsij.org>
58795
58796	* tool/compile_prelude.rb: absolute path may not start with a slash.
58797	  pointed by usa.
58798
58799Thu Nov 15 17:07:54 2007  Tanaka Akira  <akr@fsij.org>
58800
58801	* tool/compile_prelude.rb: fix first substitution.
58802	  use constant for prefix.
58803	  pointed by Richard Kilmer.
58804
58805Thu Nov 15 14:29:56 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58806
58807	* common.mk (prereq): added auto generated sources.  [ruby-dev:32280]
58808
58809Thu Nov 15 12:31:13 2007  Tanaka Akira  <akr@fsij.org>
58810
58811	* tool/compile_prelude.rb: use constant for prefix.
58812
58813Thu Nov 15 12:24:39 2007  Tanaka Akira  <akr@fsij.org>
58814
58815	* tool/compile_prelude.rb: use simple template system for source
58816	  code generation.
58817
58818Thu Nov 15 12:19:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58819
58820	* lib/cgi/session.rb (CGI::Session::FileStore::restore): use
58821	  lockfile for exclusive locks.  a patch from <tommy AT tmtm.org>.
58822	  [ruby-dev:32296]
58823
58824Thu Nov 15 12:14:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58825
58826	* tool/compile_prelude.rb (c_esc): need to escape closing brace.
58827
58828Thu Nov 15 11:52:16 2007  Tanaka Akira  <akr@fsij.org>
58829
58830	* tool/compile_prelude.rb: adjust RbConfig::CONFIG paths relative
58831	  to the installation path.
58832
58833Thu Nov 15 11:25:20 2007  Tanaka Akira  <akr@fsij.org>
58834
58835	* ruby.c (usage): fix typo on --disable-gems option.
58836	  pointed by Richard Kilmer.
58837
58838Wed Nov 14 16:16:17 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58839
58840	* test/net/http/test_https_proxy.rb
58841	  (HTTPSProxyTest::test_https_proxy_authentication): initialize
58842	  local variable 't' first.  [ruby-dev:32253]
58843
58844Wed Nov 14 15:39:24 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
58845
58846	* test/socket/test_socket.rb: update not to use 1.8 assignment to
58847	  external local variable in the block parameters.  [ruby-dev:32251]
58848
58849	* test/strscan/test_stringscanner.rb: avoid $KCODE, and use
58850	  String#force_encoding().  [ruby-dev:32251]
58851
58852Wed Nov 14 14:04:42 2007  Tanaka Akira  <akr@fsij.org>
58853
58854	* common.mk, Makefile.in: rename prelude.c to miniprelude.c.
58855	  rename ext_prelude.c to prelude.c
58856
58857	* win32/Makefile.sub: ditto.
58858
58859	* bcc32/Makefile.sub: ditto.
58860
58861Wed Nov 14 07:09:48 2007  Koichi Sasada  <ko1@atdot.net>
58862
58863	* blockinlining.c, compile.c, compile.h, debug.c, debug.h,
58864	  id.c, insnhelper.h, insns.def, thread.c, thread_pthread.ci,
58865	  thread_pthread.h, thread_win32.ci, thread_win32.h, vm.h,
58866	  vm_dump.c, vm_evalbody.ci, vm_opts.h: fix comments and
58867	  copyright year.
58868
58869Wed Nov 14 07:07:51 2007  Koichi Sasada  <ko1@atdot.net>
58870
58871	* tool/makedocs.rb, template/insnstbl.html: removed.
58872
58873Wed Nov 14 02:50:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58874
58875	* common.mk (parse.c): dependency also needs vpath.
58876
58877	* common.mk (node_name.inc, prelude.c): VPATH in nmake does not
58878	  work for targets of explicit rules.
58879
58880Wed Nov 14 02:11:38 2007  Tanaka Akira  <akr@fsij.org>
58881
58882	* missing/isinf.c (isinf): don't define if the macro is defined.
58883
58884	* configure.in: no need to set ac_cv_func_isinf=yes on non-gcc
58885	  solaris.
58886
58887Wed Nov 14 01:34:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58888
58889	* numeric.c (round): fallback definition.
58890
58891	* numeric.c (flo_divmod, flo_round): use round() always.
58892	  [ruby-dev:32269]
58893
58894Wed Nov 14 00:33:49 2007  Koichi Sasada  <ko1@atdot.net>
58895
58896	* include/ruby/ruby.h: introduce 2 macros:
58897	  RFLOAT_VALUE(v), DOUBLE2NUM(dbl).
58898	  Rename RFloat#value -> RFloat#double_value.
58899	  Do not touch RFloat#double_value directly.
58900
58901	* bignum.c, insns.def, marshal.c, math.c, numeric.c, object.c,
58902	  pack.c, parse.y, process.c, random.c, sprintf.c, string.c,
58903	  time.c: apply above changes.
58904
58905	* ext/dl/mkcallback.rb, ext/json/ext/generator/generator.c:
58906	  ditto.
58907
58908Wed Nov 14 00:15:37 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58909
58910	* tool/ytab.sed: get rid of GNU sed feature.  a patch from Laurent
58911	  Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470].
58912
58913Tue Nov 13 21:41:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58914
58915	* common.mk (parse.c), ext/ripper/depend (ripper.c): process after
58916	  bison with sed.  [ruby-dev:32204]
58917
58918	* ruby.c (proc_options): use yydebug in cmdline_options.
58919
58920	* ruby.c (process_options): set yydebug flag of parser.
58921
58922	* parse.y (yydebug): moved into struct parser_params.
58923
58924	* parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser
58925	  generic methods.
58926
58927	* */Makefile.sub (parse.c): moved to common.mk.
58928
58929	* tool/ytab.sed: comment out yydebug definition, and substitute
58930	  yyerror with parser_yyerror.
58931
58932Tue Nov 13 16:33:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58933
58934	* numeric.c (flodivmod): work around for infinity.
58935
58936	* numeric.c (flo_divmod): work around for platforms have no round().
58937	  [ruby-dev:32247]
58938
58939Tue Nov 13 15:26:33 2007  Tanaka Akira  <akr@fsij.org>
58940
58941	* lex.c.blt: moved from lex.c.
58942
58943	* lex.c.src: copied from keywords.  This is the source of lex.c.blt.
58944
58945	* Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src.
58946
58947	* win32/Makefile.sub (lex.c): re-introduce copy rule.
58948
58949	* bcc32/Makefile.sub (lex.c): ditto.
58950
58951	* wince/Makefile.sub (lex.c): ditto.
58952
58953Tue Nov 13 15:21:52 2007  Koichi Sasada  <ko1@atdot.net>
58954
58955	* compile.c (iseq_specialized_instruction): check argc.
58956
58957Tue Nov 13 14:44:32 2007  why the lucky stiff  <why@ruby-lang.org>
58958
58959	* test/yaml/test_yaml.rb: fixed the failing YAML Struct test
58960	  at ko1's request.
58961
58962Tue Nov 13 02:57:04 2007  URABE Shyouhei  <shyouhei@ice.uec.ac.jp>
58963
58964	* numeric.c (flo_divmod): round to the nearest integer.
58965	  [ ruby-Bugs-14540 ]
58966
58967Tue Nov 13 00:36:16 2007  Shugo Maeda  <shugo@ruby-lang.org>
58968
58969	* test/ruby/test_settracefunc.rb: fixed tests for set_trace_func.
58970
58971Mon Nov 12 19:47:29 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
58972
58973	* thread.c (call_trace_proc): should return value.
58974
58975Mon Nov 12 19:45:18 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
58976
58977	* {bcc,win}32/Makefile.sub (miniruby): use $(COMMONOBJS) and $(DMYEXT)
58978	  instead of $(LIBRUBY_A).
58979
58980Mon Nov 12 18:32:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58981
58982	* {bcc,win}32/Makefile.sub (MINIOBJS): added prelude.$(OBJEXT).
58983
58984Mon Nov 12 17:13:23 2007  Tanaka Akira  <akr@fsij.org>
58985
58986	* Makefile.in, common.mk: add prelude.o to MINIOBJS.
58987
58988Mon Nov 12 16:52:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
58989
58990	* lib/mkmf.rb (create_makefile): rdoc about srcprefix.  a patch from
58991	  Daniel Berger <djberg96 AT gmail.com> in [ruby-core:13378].
58992
58993Mon Nov 12 16:48:09 2007  Tanaka Akira  <akr@fsij.org>
58994
58995	* Makefile.in, common.mk: add ext_prelude.o to OBJS.
58996
58997Mon Nov 12 13:57:39 2007  Tanaka Akira  <akr@fsij.org>
58998
58999	* configure.in (MINIDLNOBJS): removed.
59000	  (MINIOBJS): set to dln.o if dmydln.o is not used.
59001
59002	* Makefile.in (miniruby): use MINIOBJS instead of MINIDLNOBJS.
59003
59004Mon Nov 12 13:53:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59005
59006	* misc/ruby-mode.el (ruby-parse-partial): handle stringified
59007	  symbols properly using ruby-forward-string.
59008
59009Mon Nov 12 12:17:59 2007  Tanaka Akira  <akr@fsij.org>
59010
59011	* configure.in (MINIDLNOBJS): defined.
59012
59013	* Makefile.in (miniruby): use MINIDLNOBJS and COMMONOBJS instead of
59014	  MINIOBJS and OBJS to avoid linking both dmydln.o and dln.o.
59015
59016Sun Nov 11 20:32:45 2007  Tanaka Akira  <akr@fsij.org>
59017
59018	* {win32,wince,bcc32}/Makefile.sub: delete lex.c rule.
59019
59020Sun Nov 11 19:40:52 2007  Tanaka Akira  <akr@fsij.org>
59021
59022	* Makefile.in (lex.c): simplified.
59023
59024Sun Nov 11 18:31:48 2007  Tanaka Akira  <akr@fsij.org>
59025
59026	* Makefile.in (lex.c): touch lex.c if gperf failed but lex.c exists.
59027	  Although this may cause non-updated lex.c,
59028	  svn co may generate keywords newer than lex.c especially on
59029	  a file system which can record fractional mtime such as XFS.
59030
59031Sun Nov 11 17:32:46 2007  Shugo Maeda  <shugo@ruby-lang.org>
59032
59033	* insnhelper.ci (vm_call_method): pass mn->nd_clss to
59034	  vm_call_cfunc() instead of klass.
59035
59036	* vm.c (rb_thread_method_id_and_klass): traverse parent_iseq.
59037
59038	* thread.c (call_trace_proc): use rb_thread_method_id_and_klass().
59039
59040Sun Nov 11 16:54:25 2007  Tanaka Akira  <akr@fsij.org>
59041
59042	* lex.c: renamed from lex.c.blt.
59043
59044	* Makefile.in (lex.c): use find command to check mtime.
59045
59046Sun Nov 11 05:34:13 2007  Eric Hodel  <drbrain@segment7.net>
59047
59048	* bin/gem: Add forgotten gem command.
59049
59050Sat Nov 10 23:50:31 2007  Tanaka Akira  <akr@fsij.org>
59051
59052	* string.c (tr_trans): cast to unsigned char after dereference
59053	  a pointer to a char to avoid SEGV with "\377".tr("a", "b").
59054	  on FreeBSD/amd64.
59055
59056Sat Nov 10 23:08:53 2007  Tanaka Akira  <akr@fsij.org>
59057
59058	* configure.in, common.mk, Makefile.in: don't generate
59059	  libminiruby-static.a.
59060
59061Sat Nov 10 19:46:54 2007  Tanaka Akira  <akr@fsij.org>
59062
59063	* configure.in, common.mk, Makefile.in: generate libminiruby-static.a
59064	  which contains prelude.o for miniruby.
59065
59066Sat Nov 10 18:10:07 2007  Tanaka Akira  <akr@fsij.org>
59067
59068	* gem_prelude.rb: new file for gem libraries.  currently empty.
59069
59070	* common.mk: generate ext_prelude.c by prelude.rb and gem_prelude.rb.
59071	  ruby (not miniruby) is linked with ext_prelude.o instead of
59072	  prelude.o.
59073
59074	* inits.c (rb_call_inits): don't call Init_prelude.
59075
59076	* ruby.c: support --disable-gems option.
59077	  (ruby_init_gems): new function to define Gem::Enable and
59078	  invoke Init_prelude.
59079	  (process_options): call ruby_init_gems just after
59080	  ruby_init_loadpath.
59081
59082	* tool/compile_prelude.rb: support multiple files.
59083
59084Sat Nov 10 17:27:55 2007  Shugo Maeda  <shugo@ruby-lang.org>
59085
59086	* thread.c (call_trace_proc): don't call ID2SYM() for ID_ALLOCATOR
59087	  to avoid SEGV.
59088
59089Sat Nov 10 16:37:07 2007  Eric Hodel  <drbrain@segment7.net>
59090
59091	* lib/rubygems: Import RubyGems revision 1493.
59092
59093	* lib/rubygems.rb: ditto.
59094
59095	* lib/ubygems.rb: ditto.
59096
59097	* lib/rbconfig/datadir.rb: ditto.
59098
59099	* test/rubygems: ditto.
59100
59101Sat Nov 10 16:34:21 2007  Eric Hodel  <drbrain@segment7.net>
59102
59103	* lib/soap/property.rb: Don't override Enumerable#inject for 1.9.
59104
59105Sat Nov 10 14:43:30 2007  David Flanagan  <davidflanagan@ruby-lang.org>
59106
59107	* parse.y: use ASCII encoding for string literals that are
59108	  7-bit clean, fixing regression from my previous patch
59109
59110Sat Nov 10 13:18:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59111
59112	* {bcc32,win32}/Makefile.sub: vendor_ruby support.
59113
59114Fri Nov  9 23:33:16 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59115
59116	* parse.y (parser_nextc): added single line read forward buffer.
59117
59118	* parse.y (parser_yylex): adjust line number for fluent interface.
59119
59120Fri Nov  9 22:04:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59121
59122	* vm.h (FRAME_MAGIC_MASK_BITS): bits of FRAME_MAGIC_MASK.
59123
59124	* insnhelper.ci (vm_call_cfunc, vm_cfunc_flags): use shift operations.
59125
59126Fri Nov  9 21:46:28 2007  Koichi Sasada  <ko1@atdot.net>
59127
59128	* eval.c (eval): should be volatile value for GC.
59129
59130Fri Nov  9 17:48:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59131
59132	* ruby.c (locale_encoding): guesstimate encoding from environment
59133	  variables.  [ruby-core:13315]
59134
59135	* ruby.c (process_options): set primary encoding from environment.
59136
59137Fri Nov  9 16:51:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59138
59139	* io.c (rb_io_each_byte): should update rbuf_off and rbuf_len for
59140	  each iteration.  [ruby-dev:31659][ruby-dev:32192]
59141
59142	* variable.c (rb_cvar_set): cvar assignment obey same rule to cvar
59143	  reference.  [ruby-dev:32192]
59144
59145Fri Nov  9 15:52:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59146
59147	* encoding.c (enc_check_encoding, rb_set_primary_encoding): ENCODING
59148	  is no longer in FL_USERS flags.
59149
59150Fri Nov  9 15:20:13 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59151
59152	* string.c (rb_str_squeeze_bang): initialize squeezing table if no
59153	  arguments given.
59154
59155Fri Nov  9 13:57:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59156
59157	* enum.c (each_with_index_i): use rb_yield_values() for
59158	  compatibility with Enumerator#with_index().  a patch from Yusuke
59159	  ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:32195]
59160
59161Fri Nov  9 13:45:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59162
59163	* test/ruby/test_iterator.rb (TestIterator::IterTest::each):
59164	  #each_pair is now alias to #each.  [ruby-dev:32192]
59165
59166	* test/ruby/test_iterator.rb (TestIterator::test_assoc_yield):
59167	  ditto
59168
59169Fri Nov  9 12:56:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59170
59171	* eval_load.c (loaded_feature_path): check with type of given feature.
59172
59173Fri Nov  9 12:43:02 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59174
59175	* test/ruby/test_basicinstructions.rb: updated for new class
59176	  behavior.  [ruby-dev:32192]
59177
59178	* encoding.c (enc_name): Encoding should not rely on ENCODING in
59179	  the FL_USERS flags.
59180
59181	* encoding.c (rb_enc_from_encoding): do not call rb_enc_associate
59182	  for encoding itself.
59183
59184	* encoding.c (enc_register_at): ditto.
59185
59186	* marshal.c (r_ivar): do not set real instance variable for
59187	  encoding data associated.
59188
59189Fri Nov  9 10:43:55 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59190
59191	* eval.c (send_internal): use self in the previous frame to check for
59192	  protected methods.  [ruby-core:13254]
59193
59194	* insnhelper.ci (vm_call_method): send! method has gone.
59195
59196Fri Nov  9 10:38:13 2007  Koichi Sasada  <ko1@atdot.net>
59197
59198	* marshal.c (w_object): should be SPECIAL_CONST_P() instead of
59199	  IMMEDIATE_P().
59200
59201Fri Nov  9 10:29:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59202
59203	* eval.c (rb_invoke_method): check if invoked in function style.
59204	  [ruby-core:13245]
59205
59206	* insnhelper.ci (vm_call_cfunc, vm_cfunc_flags): stores and returns VM
59207	  calling flags.
59208
59209	* vm.c (rb_vm_cfunc_funcall_p): returns if the current method is
59210	  invoked in function style.
59211
59212Fri Nov  9 10:10:21 2007  Koichi Sasada  <ko1@atdot.net>
59213
59214	* cont.c: add rb_context_t#type.
59215
59216Fri Nov  9 10:05:54 2007  Koichi Sasada  <ko1@atdot.net>
59217
59218	* ruby.c (set_arg0): fix breaking environ bugs.
59219
59220Fri Nov  9 07:26:04 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59221
59222	* random.c: update MT URL.[ruby-core:13305].
59223
59224Thu Nov  8 17:09:55 2007  David Flanagan  <davidflanagan@ruby-lang.org>
59225
59226	* object.c: improve docs for Object.tap
59227
59228	* ChangeLog: fix bogus dates on my previous entries
59229
59230Thu Nov  8 15:13:56 2007 David Flanagan <davidflanagan@ruby-lang.org>
59231
59232	* parse.y: fix segfault with \x escapes in regexps
59233	  delete unused #if 0 code regions from previous patch
59234
59235Thu Nov  8 12:12:10 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59236
59237	* parse.y (parser_read_escape): remove C99/gcc-ism.
59238
59239Thu Nov  8 07:54:22 2007 David Flanagan <davidflanagan@ruby-lang.org>
59240
59241	* parse.y: patch, based on Nobu's, work to support \u escapes
59242	           also modifications for better coderange detection
59243
59244	* test/ruby/test_unicode_escapes.rb: test cases
59245
59246	* test/ruby/test_mixed_unicode_escapes.rb: mixed encoding test cases
59247
59248Thu Nov  8 07:14:37 2007 David Flanagan <davidflanagan@ruby-lang.org>
59249
59250	* parse.y (rb_intern3): commented out broken code that prevented
59251	  correct interning of multi-byte symbols.  Without this patch
59252	  :x==:x is false when x is a multi-byte character.
59253
59254Thu Nov  8 07:04:31 2007 David Flanagan <davidflanagan@ruby-lang.org>
59255
59256	* string.c (tr_setup_table, tr_trans): fix test failures
59257	  in test/ruby/test_string.rb
59258
59259Wed Nov  7 15:07:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59260
59261	* enum.c (enum_each_with_index): make different arrays at each
59262	  iteration.  [ruby-dev:32181]
59263
59264Wed Nov  7 05:17:24 2007  David Flanagan <davidflanagan@ruby-lang.org>
59265
59266	* eval.c: fix typo in invoke_method documentation
59267
59268Wed Nov  7 03:52:26 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59269
59270	* array.c (rb_ary_product): core dumped with non array arguments.
59271	  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:32180]
59272
59273Wed Nov  7 03:32:38 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59274
59275	* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for
59276	  nkf conversion.  a patch from <moonwolf AT moonwolf.com>.
59277	  [ruby-dev:32183]
59278
59279Wed Nov  7 02:59:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59280
59281	* array.c (rb_ary_each_index): should return meaningful value.
59282
59283Tue Nov  6 16:37:47 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59284
59285	* eval_load.c (loaded_feature_path): need to expand relative paths.
59286
59287	* eval_load.c (rb_feature_p): check if the feature is loading with
59288	  load path.  [ruby-dev:31932]
59289
59290	* eval_load.c (load_lock): check the result of barrier waiting.
59291
59292	* thread.c (rb_barrier_wait): check if owned by the current thread.
59293
59294	* thread.c (rb_barrier_release): ditto.
59295
59296Mon Nov  5 08:01:22 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59297
59298	* eval.c (Init_eval): move #send to Kernel module from BasicObject.
59299
59300Mon Nov  5 05:17:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59301
59302	* lib/optparse.rb (OptionParser::Switch::summarize): fix for long form
59303	  option with very long argument.  a patch from Kobayashi Noritada
59304	  <nori1 AT dolphin.c.u-tokyo.ac.jp> in [ruby-list:44179].
59305
59306Mon Nov  5 01:20:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59307
59308	* parse.y (call_args): remove "parenthesize argument(s) for future
59309	  version" warning.  when I added this warning, I had a plan to
59310	  reimplement the parser that is simpler than the current one.
59311	  since we abandoned the plan, warning no longer required.
59312
59313Mon Nov  5 01:02:56 2007  Minero Aoki  <aamine@loveruby.net>
59314
59315	* lib/net/http.rb (HTTPHeader#initialize): provide default
59316	  User-Agent to fix 500 error on some corrupted HTTP servers.
59317	  [ruby-core:13135]
59318
59319Mon Nov  5 00:32:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59320
59321	* eval.c (rb_f_send): allow send/__send__ to call methods of all
59322	  visibility again.  we no longer provide __send, __send!.
59323
59324	* eval.c (rb_invoke_method): new method to honor private
59325	  visibility.  if it's invoked in a function call style, it calls
59326	  private methods as well (previous 1.9 send behavior).
59327
59328Mon Nov  5 00:24:24 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59329
59330	* win32/Makefile.sub: vendor_ruby support.
59331
59332	* configure.in (RUBY_LIB): duplicated.
59333
59334Mon Nov  5 00:01:33 2007  Tanaka Akira  <akr@fsij.org>
59335
59336	* re.c (rb_reg_quote): quote \v as well.
59337
59338Sun Nov  4 23:51:59 2007  Tanaka Akira  <akr@fsij.org>
59339
59340	* re.c (rb_reg_initialize_m): use StringValuePtr instead of
59341	  StringValueCStr because \0 exists when Regexp.new("\0").
59342
59343Sun Nov  4 08:11:19 2007  Tanaka Akira  <akr@fsij.org>
59344
59345	* gc.c (count_objects): count TOTAL.
59346
59347Sun Nov  4 03:58:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59348
59349	* string.c (tr_setup_table): use C array for characters that fit
59350	  in a byte to gain performance.
59351
59352	* string.c (rb_str_delete_bang): ditto.
59353
59354	* string.c (rb_str_squeeze_bang): ditto.
59355
59356	* string.c (rb_str_count): ditto.
59357
59358	* string.c (tr_trans): ditto.
59359
59360Sun Nov  4 00:06:40 2007  Tanaka Akira  <akr@fsij.org>
59361
59362	* gc.c (count_objects): ObjectSpace.count_objects implemented.
59363	  [ruby-core:12301]
59364
59365Sat Nov  3 22:49:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59366
59367	* hash.c (rb_hash_each_pair): make Hash#each to be alias to
59368	  Hash#each_pair for compatibility and clarity.
59369
59370	* hash.c (env_each_pair): ditto.
59371
59372Sat Nov  3 22:41:05 2007  Tanaka Akira  <akr@fsij.org>
59373
59374	* configure.in: --with-vendor-hdrdir implemented.
59375
59376	* lib/mkmf.rb: check --vendor argument.
59377
59378	* README.EXT: explain --vendor option for extconf.rb
59379
59380	* README.EXT.ja: ditto.
59381
59382Sat Nov  3 20:30:48 2007  Tanaka Akira  <akr@fsij.org>
59383
59384	* configure.in: --with-vendordir implemented.
59385
59386	* mkconfig.rb: add config to vendorlibdir and vendorarchdir.
59387
59388	* instruby.rb: make vendor library directories.
59389
59390	* ruby.c: insert vendor library directories into load path.
59391
59392Fri Nov  2 20:55:49 2007  Kouhei Sutou  <kou@cozmixng.org>
59393
59394	* lib/rss/content.rb, lib/rss/content/, lib/rss/maker/content.rb,
59395	  test/rss/test_content.rb, test/rss/test_maker_content.rb,
59396	  test/rss/rss-testcase.rb (RSS::TestCase): supported
59397	  content:encoded with RSS 2.0.
59398	  Suggested by Sam Lown. Thanks.
59399
59400Fri Nov  2 20:47:04 2007  Kouhei Sutou  <kou@cozmixng.org>
59401
59402	* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.
59403
59404Thu Nov  1 21:56:45 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59405
59406	* error.c (Init_Exception): make NameError to be subclass of
59407	  StandardError again.
59408
59409	* error.c (Init_Exception): make SecurityError to be subclass of
59410	  Exception, since it's too important to be handled implicitly.
59411
59412Thu Nov  1 14:51:39 2007 David Flanagan <davidflanagan@ruby-lang.org>
59413	* enum.c (take_while_i, drop_while_i) add RTEST to handle nil return
59414
59415Thu Nov  1 02:12:50 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59416
59417	* common.mk (prereq): update the path of prelude.c.
59418
59419	* common.mk (prelude.c): rollback a part of r13675, because it is not
59420	  documented and causes build error.
59421
59422Thu Nov  1 01:52:23 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59423
59424	* enum.c (enum_drop): fix typo.
59425
59426Thu Nov  1 01:51:01 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59427
59428	* vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.
59429
59430Thu Nov  1 00:46:30 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59431
59432	* win32/configure.bat, setup.mak: now can recognize OS even if
59433	  the ``--target'' option of configure is omitted.
59434
59435	* win32/README.win32: update the descriptions about compiler.
59436
59437Wed Oct 31 03:13:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59438
59439	* enum.c (enum_take_while): separate with-block form.
59440
59441	* enum.c (drop_while_i): ditto.
59442
59443	* enum.c (enum_butfirst): abandon butfirst method.  reverted.
59444
59445Tue Oct 30 10:03:43 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59446
59447	* enum.c (enum_butfirst): add a new method to iterates over
59448	  elements but first n.  RDoc need to be updated.
59449
59450	* enumerator.c (Init_Enumerator): remove unnecessary symbol
59451	  initialization.
59452
59453Mon Oct 29 18:42:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59454
59455	* parse.y (bvar): block-local variable can shadow outer variable.
59456	  [ruby-core:13036]
59457
59458Mon Oct 29 17:58:16 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59459
59460	* string.c (rb_str_substr): performance improvement.  [ruby-dev:31806]
59461
59462Mon Oct 29 17:20:13 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59463
59464	* encoding.c (rb_enc_replicate): new function to replicate encoding.
59465
59466	* encoding.c (enc_based_encoding): Encoding#base_encoding returns
59467	  based encoding of replica.
59468
59469Mon Oct 29 17:18:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59470
59471	* encoding.c (rb_enc_compatible): ASCII encoding is compatible with
59472	  ASCII-compatible encoding, even for non-string objects.
59473
59474Sun Oct 28 21:50:02 2007  Tanaka Akira  <akr@fsij.org>
59475
59476	* lib/open-uri.rb: :redirect option implemented to disable redirects.
59477	  (OpenURI::HTTPRedirect): new exception class for redirection.
59478
59479Fri Oct 26 17:38:13 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59480
59481	* numeric.c (int_chr): take an optional encoding parameter.
59482	  [ruby-core:12816]
59483
59484Fri Oct 26 17:14:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59485
59486	* numeric.c (fix_pow): returns 1.0 for 0**0.0.
59487
59488	* numeric.c (fix_pow): returns infinity for 0**-1.  [ruby-dev:32084]
59489
59490Fri Oct 26 15:00:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59491
59492	* misc/ruby-style.el (ruby-style-{case,label}-indent): adjust for
59493	  labels inside switch block.
59494
59495Fri Oct 26 05:48:57 2007  David Flanagan <davidflanagan@ruby-lang.org>
59496	* array.c: raise IndexError for negative length in rb_ary_fill
59497
59498Wed Oct 25 07:12:03 2007  James Edward Gray II  <jeg2@ruby-lang.org>
59499
59500	* lib/net/telnet.rb (Net::Telnet#login): Allowing "passphrase" in
59501	  addition to "password" for Telnet login prompts. [ruby-Bugs-10746]
59502
59503Wed Oct 25 06:34:11 2007  James Edward Gray II  <jeg2@ruby-lang.org>
59504
59505	* lib/net/telnet.rb (Net::Telnet#login): Making the password prompt
59506	  pattern case insensitive. [ruby-Bugs-10746]
59507
59508Fri Oct 26 04:21:36 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59509
59510	* lib/net/pop.rb (Net::POP3::do_start): type fixed.  a patch from
59511	  Dan Zwell <dzwell AT zwell.net> in [ruby-core:12941].
59512
59513Fri Oct 26 01:48:28 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59514
59515	* array.c (rb_ary_assoc): check and convert inner arrays (assocs)
59516	  using #to_ary.
59517
59518	* hash.c (rb_hash_s_create): check and convert argument hash
59519	  using #to_hash.
59520
59521	* hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of
59522	  hash conversion.
59523
59524Thu Oct 25 16:46:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59525
59526	* parse.y (parser_yylex): dot at the head of the line denote line
59527	  continuation from previous one to support fluent interface.
59528	  [experimental]
59529
59530	* misc/ruby-mode.el (ruby-calculate-indent): support fluent dot.
59531
59532Thu Oct 25 14:19:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59533
59534	* io.c (rb_io_tell, rb_io_seek): check errno too.  [ruby-dev:32093]
59535
59536Thu Oct 25 13:59:53 2007 David Flanagan <davidflanagan@ruby-lang.org>
59537
59538	* parse.y (parser_tokspace): increment tokidx
59539	  fixes test failure at [test/ruby/test_stringchar.rb:72]
59540
59541Thu Oct 25 09:49:49 2007  akira yamada  <akira@ruby-lang.org>
59542
59543	* lib/uri.rb, lib/uri/ldaps.rb: added LDAPS
59544	  scheme. [ruby-dev:31896]
59545
59546Wed Oct 25 06:23:14 2007  James Edward Gray II  <jeg2@ruby-lang.org>
59547
59548	* lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that
59549	  caused time zone conversion to fail for some ISO 8601 date formats.
59550	  [ruby-Bugs-12677]
59551
59552Wed Oct 25 04:59:28 2007  James Edward Gray II  <jeg2@ruby-lang.org>
59553
59554	* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start
59555	  the HTTP connection to support keepalive requests. [ruby-Bugs-9353]
59556
59557Wed Oct 25 04:46:53 2007  James Edward Gray II  <jeg2@ruby-lang.org>
59558
59559	* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error
59560	  message for Content-Type check failures. [ruby-core:12163]
59561
59562Wed Oct 25 03:45:08 2007  James Edward Gray II  <jeg2@ruby-lang.org>
59563
59564	* lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
59565	  Making Content-Type checks case insensitive. [ruby-Bugs-3367]
59566
59567Wed Oct 24 17:09:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59568
59569	* parse.y (parser_tokspace): make space in token buffer.
59570
59571	* parse.y (parser_yylex): fix encoding of single character literal.
59572
59573Tue Oct 23 13:44:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59574
59575	* parse.y (call_args2): nd_head of NODE_BLOCK_PASS should be a list.
59576	  [ruby-core:12850]
59577
59578Tue Oct 23 10:42:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59579
59580	* ruby.c (process_options): encoding set by command line option takes
59581	  priority over the encoding in the source, as the primary encoding.
59582
59583Mon Oct 22 19:24:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59584
59585	* ruby.c (proc_options): allow space after -E (encoding) option.
59586
59587Mon Oct 22 11:03:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59588
59589	* encoding.c (enc_check_encoding): returns index now.
59590
59591	* encoding.c (rb_enc_compatible): check if two objects have compatible
59592	  encodings.
59593
59594	* encoding.c (enc_compatible_p): added Encoding.compatible?.
59595
59596	* include/ruby/encoding.h (rb_enc_compatible): prototype.
59597
59598Sun Oct 21 18:29:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59599
59600	* encoding.c (rb_enc_default, rb_enc_primary): return pointers to
59601	  rb_encoding of default and primary respectively.  [ruby-core:12795]
59602
59603	* encoding.c (set_primary_encoding): removed primary_encoding setter.
59604
59605Sat Oct 20 13:17:01 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59606
59607	* enum.c (enum_cycle): hide temporary array from ObjectSpace.
59608	  [ruby-core:12762]
59609
59610Sat Oct 20 11:49:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59611
59612	* file.c (rb_get_path): returns frozen string.
59613
59614	* file.c (rb_file_s_chown, rb_file_s_lchown): use uid_t and gid_t.
59615
59616Fri Oct 19 20:08:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59617
59618	* encoding.c (rb_id_encoding): returns ID "encoding".
59619
59620	* marshal.c (w_encoding): dump encoding name.
59621
59622	* marshal.c (r_ivar): load encoding.
59623
59624Fri Oct 19 16:41:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59625
59626	* parse.y (parser_regx_options, reg_compile_gen): relaxened encoding
59627	  matching rule.
59628
59629	* re.c (rb_reg_initialize): always set encoding of Regexp.
59630
59631	* re.c (rb_reg_initialize_str): fix encoding for non 7bit-clean
59632	  strings.
59633
59634	* re.c (rb_reg_initialize_m): use ascii encoding for 'n' option.
59635
59636Fri Oct 19 11:09:56 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59637
59638	* ruby.c (process_options): set primary encoding from the parser
59639	  always.  [ruby-core:12758]
59640
59641	* ruby.c (load_file): should not discard the parser parameter.
59642
59643Fri Oct 19 10:55:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59644
59645	* range.c (range_last): removed unused variables.
59646
59647Thu Oct 18 17:08:57 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59648
59649	* enum.c (enum_find_index): update RDoc.  a patch from David Flanagan
59650	  <david AT davidflanagan.com> in [ruby-core:12710].
59651
59652	* enum.c (enum_take, enum_drop): ditto.
59653
59654	* enum.c (enum_cycle): should not cause infinite loop for empty
59655	  arrays.  [ruby-core:12710]
59656
59657	* range.c (Init_Range): typo fixed.
59658
59659Thu Oct 18 16:39:34 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59660
59661	* lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): more
59662	  duck typed.  better performance on JRuby.
59663	  http://headius.blogspot.com/2007/10/another-performance-discovery-rexml.html
59664
59665Thu Oct 18 09:33:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59666
59667	* range.c (range_first): takes first n element if argument is
59668	  given.  [ruby-core:12697]
59669
59670	* range.c (range_last): returns last n elements if argument is
59671	  given.
59672
59673	* array.c (rb_ary_subseq, rb_ary_last): export.
59674
59675Wed Oct 17 17:39:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59676
59677	* ruby.c (proc_options): fixed reversed condition.  [ruby-core:12722]
59678
59679Wed Oct 17 13:54:28 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59680
59681	* re.c (rb_reg_s_union): the last check was not complete.
59682
59683Wed Oct 17 11:30:55 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59684
59685	* encoding.c (rb_enc_from_encoding, rb_enc_register): associate index
59686	  to self.
59687
59688	* encoding.c (enc_capable): Encoding objects are encoding capable.
59689
59690	* re.c (rb_reg_s_union): check if encoding matching by exact encoding
59691	  objects.
59692
59693Wed Oct 17 06:18:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59694
59695	* encoding.c (rb_enc_alias, rb_enc_find_index): changed
59696	  enc_table_alias to a name-to-index hash.
59697
59698	* encoding.c (rb_enc_init): use upper case names for aliases to use as
59699	  constant names.
59700
59701	* encoding.c (enc_find): allow symbols.
59702
59703	* encoding.c (Init_Encoding): define encoding constants.
59704
59705	* st.c (strcasehash): fix wrong code range condition.
59706
59707Wed Oct 17 05:07:18 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59708
59709	* encoding.c (rb_primary_encoding): added Encoding.primary_encoding.
59710
59711	* parse.y (rb_parser_encoding): added.
59712
59713	* ruby.c (proc_options): added -E and --encoding options.
59714
59715	* ruby.c (process_options): set primary encoding from command line
59716	  option if set, or source encoding.
59717
59718	* include/ruby/encoding.h (rb_enc_from_encoding,
59719	  rb_get_primary_encoding, rb_set_primary_encoding): prototypes.
59720
59721	* include/ruby/node.h (rb_parser_encoding): prototype.
59722
59723Wed Oct 17 03:37:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59724
59725	* re.c (rb_reg_desc): set encoding.
59726
59727	* re.c (rb_reg_s_union): check encodings.
59728
59729	* enc/utf8.c (utf8_code_to_mbclen): 0xfe and 0xff are valid Unicode to
59730	  be encoded to 2bytes in UTF-8.  [ruby-core:12700]
59731
59732Wed Oct 17 02:50:49 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59733
59734	* string.c (rb_str_ord): use encoding.
59735
59736Wed Oct 17 01:57:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59737
59738	* re.c (rb_reg_initialize_m): allow binary encoding option.
59739	  [ruby-dev:32083]
59740
59741Tue Oct 16 19:48:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59742
59743	* re.c (rb_reg_s_union): check for encoding of original object.
59744
59745Tue Oct 16 18:28:51 2007  Tanaka Akira  <akr@fsij.org>
59746
59747	* debug.c: use enum for constants for gdb if possible.
59748
59749Tue Oct 16 18:20:10 2007  Tanaka Akira  <akr@fsij.org>
59750
59751	* ruby.c, debug.c: move debug enum and constants to debug.c.
59752
59753Tue Oct 16 18:16:15 2007  Tanaka Akira  <akr@fsij.org>
59754
59755	* ruby.c (RUBY_ENCODING_SHIFT): added as enum.
59756
59757	* .gdbinit (rp): show encoding and coderange for strings.
59758
59759Tue Oct 16 14:48:38 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59760
59761	* parse.y (parser_regx_options): check if regexp encoding option
59762	  matches to current encoding.
59763
59764	* re.c (char_to_option, rb_char_to_option_kcode): 'n' is not kcode
59765	  option now.
59766
59767	* re.c (rb_reg_to_s, rb_reg_error_desc): copy encoding rather than
59768	  append as an option.
59769
59770	* re.c (make_regexp, rb_reg_prepare_re): use encoding of Regexp and
59771	  String instead of kcode.
59772
59773	* re.c (rb_reg_initialize): set fixed option if none is set.
59774
59775	* re.c (rb_reg_regcomp): ditto.
59776
59777	* re.c (rb_reg_equal): check if encodings are equal.
59778
59779	* re.c (rb_reg_initialize_m): encoding option is obsolete.
59780
59781	* re.c (rb_kcode, rb_get_kcode, rb_set_kcode): removed.
59782
59783	* re.c (Init_Regexp): removed Regexp#kcode method.
59784
59785	* ruby.c (proc_options): allow long encoding name.
59786
59787Tue Oct 16 14:03:09 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59788
59789	* re.c (rb_reg_s_union): encoding of all regexp objects should
59790	  match.  [ruby-dev:32076]
59791
59792Tue Oct 16 13:49:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59793
59794	* encoding.c (enc_to_s): rename function.
59795
59796Tue Oct 16 13:25:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59797
59798	* string.c (rb_str_new4): should copy encoding.  a patch from NARUSE,
59799	  Yui <naruse AT airemix.com>.  [ruby-dev:32076]
59800
59801Tue Oct 16 01:31:23 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59802
59803	* enum.c (enum_inject): RDoc update.  a patch from David Flanagan
59804	  <david AT davidflanagan.com> in [ruby-core:12710].
59805
59806Tue Oct 16 01:25:40 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59807
59808	* encoding.c (Init_Encoding): define #to_s to show encoding name
59809	  in to_s representation as well as #inspect.
59810
59811Mon Oct 15 13:24:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59812
59813	* numeric.c (flo_round): should be number but not rounding factor.
59814	  [ruby-dev:32060]
59815
59816Mon Oct 15 11:45:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59817
59818	* marshal.c (r_bytes0): refined length check.  [ruby-dev:32059]
59819
59820Mon Oct 15 10:24:19 2007  Tanaka Akira  <akr@fsij.org>
59821
59822	* process.c (pst_to_s): returns a string such as "pid 10220 exit 1"
59823	  instead of "256".  [ruby-dev:32053]
59824	  (pst_inspect): change format
59825	  "#<Process::Status: pid=10220,exited(1)>" to
59826	  "#<Process::Status: pid 10220 exit 1>".
59827
59828Mon Oct 15 09:58:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59829
59830	* marshal.c (r_bytes0): check if source has enough data.
59831	  [ruby-dev:32054]
59832
59833Mon Oct 15 01:15:09 2007  Tanaka Akira  <akr@fsij.org>
59834
59835	* ext/socket/socket.c (s_accept_nonblock): make accepted fd
59836	  nonblocking.  [ruby-talk:274079]
59837
59838Sun Oct 14 17:31:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59839
59840	* encoding.c (rb_obj_encoding): rdoc update.  a patch from David
59841	  Flanagan <david AT davidflanagan.com>.  [ruby-core:12664]
59842
59843	* encoding.c (enc_dump, enc_load): marshaling feature.  a patch from
59844	  David Flanagan.  [ruby-core:12665]
59845
59846	* encoding.c (Init_Encoding): undefine allocator of Encoding.
59847	  [ruby-core:12665], [ruby-core:12666]
59848
59849	* test/ruby/test_encoding.rb: tests for Encoding from David Flanagan
59850	  [ruby-core:12665]
59851
59852Sun Oct 14 11:09:09 2007  Tanaka Akira  <akr@fsij.org>
59853
59854	* lib/pp.rb (PP::PPMethods#pp_hash): don't sort keys because hash is
59855	  ordered.
59856	  (ENV.pretty_print): call pp_hash with sorted hash.
59857
59858Sun Oct 14 04:08:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59859
59860	* configure.in (AC_SYS_LARGEFILE): keep results also in command
59861	  options, to vail out of mismatch.  [ruby-list:44114]
59862
59863	* mkconfig.rb, lib/mkmf.rb (configuration): add DEFS.
59864
59865Sun Oct 14 03:55:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59866
59867	* win32/mkexports.rb: deal with __fastcall name decorations.
59868	  [ruby-list:44111]
59869
59870Sun Oct 14 02:20:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59871
59872	* encoding.c (rb_cEncoding): new Encoding class.
59873
59874	* encoding.c (rb_to_encoding, rb_to_encoding_index): helper functions.
59875
59876	* encoding.c (rb_obj_encoding): return Encoding object now.
59877
59878	* gc.c (garbage_collect): mark Encoding objects.
59879
59880	* inits.c (rb_call_inits): call Init_Encoding.
59881
59882	* string.c (rb_str_force_encoding): accept Encoding object as well as
59883	  encoding name.
59884
59885	* include/ruby/encoding.h (rb_to_encoding_index, rb_to_encoding):
59886	  prototypes.
59887
59888Sun Oct 14 01:03:30 2007  Tanaka Akira  <akr@fsij.org>
59889
59890	* lib/open-uri.rb (OpenURI.open_http): fix :ssl_ca_cert option.
59891
59892Sat Oct 13 21:23:21 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
59893
59894	* ext/win32ole/win32ole.c (foletype_s_ole_classes,
59895	  foletype_s_typelibs): refactoring.
59896
59897	* test/win32ole/test_win32ole_type.rb: add some test.
59898
59899	* ext/win32ole/win32ole.c (Init_win32ole): change method name
59900	  WIN32OLE_TYPELIB.ole_types from WIN32OLE_TYPELIB.ole_classes.
59901
59902	* test/win32ole/test_win32ole_typelib.rb: ditto.
59903
59904	* test/win32ole/test_folderitem2_invokeverb.rb: check create
59905	  shortcut string more strictly (This test is invoked in Japanese
59906	  Windows environment).
59907
59908Sat Oct 13 09:11:58 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59909
59910	* parse.y (set_file_encoding): case-insensitive search, a patch from
59911	  David Flanagan <david AT davidflanagan.com> [ruby-core:12629]
59912
59913Sat Oct 13 09:02:16 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59914
59915	* {bcc,win}32/mkexports.rb: explicit data.  [ruby-list:44108]
59916
59917Sat Oct 13 00:17:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59918
59919	* lib/rexml/document.rb (REXML::Document::write): leaky
59920	  modification trans -> transitive.  [ruby-dev:32040]
59921
59922Sat Oct 13 00:00:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59923
59924	* parse.y: encoding specifier should work if the line matches
59925	  /coding[:=] ?/, a la Python PEP-263, so that VIM comments like
59926	  "# vim: set fileencoding=<encoding name>" should be recognized.
59927
59928Fri Oct 12 15:04:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59929
59930	* parse.y (magic_comments): add "encoding" as same as "coding".
59931
59932	* parse.y (set_file_encoding): special file encoding handling.
59933
59934	* parse.y (parser_yylex): ditto.
59935
59936Fri Oct 12 12:44:11 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59937
59938	* array.c (rb_ary_combination): fixed memory corruption due to too
59939	  small memory allocation
59940
59941	* array.c (rb_ary_product): accessing out of memory bounds.
59942	  condition fixed.
59943
59944Fri Oct 12 11:22:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59945
59946	* re.c (match_values_at): make #select to be alias to #values_at
59947	  to adapt RDoc description.  [ruby-core:12588]
59948
59949Thu Oct 11 21:10:17 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59950
59951	* include/ruby/node.h (NOEX_LOCAL): remove unused local visibility.
59952
59953	* class.c (ins_methods_push): ditto.
59954
59955	* class.c (rb_class_local_methods): method removed.
59956
59957Thu Oct 11 14:29:31 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
59958
59959	* */Makefile.sub (COMMON_MACROS): workaround for old SDK's bug.
59960	  [ruby-core:12584]
59961
59962Thu Oct 11 06:35:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59963
59964	* Makefile.in, */Makefile.sub (VPATH): add enc directory.
59965
59966	* common.mk (ENCOBJS): encoding objects.
59967
59968	* enc: directory for encodings.
59969
59970Thu Oct 11 00:04:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59971
59972	* include/ruby/oniguruma.h (OnigEncodingTypeST): add OnigEncoding
59973	  parameter to every function members.
59974
59975	* include/ruby/oniguruma.h (OnigEncodingTypeST): add auxiliary
59976	  data member to provide user defined data for an encoding.
59977
59978Wed Oct 10 23:32:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
59979
59980	* re.c (rb_reg_s_quote): no longer takes optional second argument
59981	  that has never been documented.
59982
59983Wed Oct 10 15:39:04 2007  Tanaka Akira  <akr@fsij.org>
59984
59985	* encoding.c (rb_enc_init): don't alias iso-8859-1 to ascii.
59986
59987	* ascii.c (OnigEncodingASCII): change the name US-ASCII to ASCII-8BIT.
59988
59989Wed Oct 10 14:31:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59990
59991	* string.c (rb_enc_str_coderange): fixed check for non-ascii.
59992
59993Tue Oct  9 21:35:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
59994
59995	* array.c (rb_ary_permutation, rb_ary_combination): missing type
59996	  names.
59997
59998	* array.c (rb_ary_permutation): used buffer should be t1.
59999
60000	* array.c (rb_ary_permutation): use frozen shared hidden array.
60001	  [ruby-dev:31985]
60002
60003Tue Oct  9 16:58:10 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60004
60005	* array.c: remove to_a completely.
60006
60007	* array.c (tmpbuf): keep DRY to clear klass of temporary objects.
60008
60009Tue Oct  9 16:33:32 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60010
60011	* array.c (rb_ary_permutation, rb_ary_combination, rb_ary_product):
60012	  hide internal buffer objects.  [ruby-dev:31982]
60013
60014Tue Oct  9 16:00:32 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
60015
60016	* parse.y (parser_read_escape, parser_tokadd_escape): check code range.
60017	  [ruby-dev:31980]
60018
60019Tue Oct  9 15:40:24 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60020
60021	* parse.y (STR_NEW3): check for if single byte sequence.
60022
60023Mon Oct  8 20:06:29 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
60024
60025	* lib/net/imap.rb, lib/net/smtp.rb, lib/net/pop.rb: hostname should
60026	  be verified against server's identity as presented in the server's
60027	  certificate. [ruby-dev:31960]
60028
60029	* ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto.
60030
60031Sun Oct  7 22:37:47 2007  Kouhei Sutou  <kou@cozmixng.org>
60032
60033	* test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,
60034	  test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured
60035	  declaring XML namespaces.
60036
60037Sun Oct  7 22:00:01 2007  Tanaka Akira  <akr@fsij.org>
60038
60039	* include/ruby/node.h: make node flags as VALUE type.
60040	  enum ruby_node_flags removed.
60041
60042	* ruby.c: define RUBY_NODE_* as const for gdb.
60043
60044Sun Oct  7 18:57:12 2007  Tanaka Akira  <akr@fsij.org>
60045
60046	* include/ruby/ruby.h: enum ruby_value_flags removed.  [ruby-dev:31959]
60047
60048	* ruby.c: define RUBY_FL_* as const VALUE for gdb.
60049
60050Sun Oct  7 17:50:14 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
60051
60052	* lib/net/http.rb: remove enable_post_connection_check flag.
60053
60054	* lib/open-uri.rb: ditto.
60055
60056Sun Oct  7 15:48:40 2007  Koichi Sasada  <ko1@atdot.net>
60057
60058	* insns.def (opt_eq): fix to use rb_str_equal().
60059
60060Sat Oct  6 23:14:54 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60061
60062	* string.c (rb_str_to_i): update RDoc since base can be any value
60063	  between 2 and 36.  [ruby-talk:272879]
60064
60065Sat Oct  6 16:24:02 2007  Koichi Sasada  <ko1@atdot.net>
60066
60067	* cont.c (cont_free): check Fiber or Continuation.
60068
60069	* bootstraptest/test_knownbug.rb: remove a fixed test.
60070
60071Sat Oct  6 14:56:02 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60072
60073	* encoding.c (rb_enc_register): returns new index or -1 if failed.
60074
60075	* encoding.c (rb_enc_alias): check if original name is registered.
60076
60077	* encoding.c (rb_enc_init): register in same order as kcode options in
60078	  re.c.  added new aliases.
60079
60080	* string.c (rb_str_force_encoding): check if valid encoding name.
60081
60082Sat Oct  6 14:32:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60083
60084	* insns.def (opt_eq): get rid of gcc bug.
60085
60086Sat Oct  6 02:34:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60087
60088	* include/ruby/defines.h: no longer provide DEFAULT_KCODE.
60089
60090Fri Oct  5 21:24:59 2007  Tanaka Akira  <akr@fsij.org>
60091
60092	* re.c (rb_reg_s_union_m): Regexp.union accepts single argument which
60093	  is an array of patterns.  [ruby-list:44084]
60094
60095Fri Oct  5 16:42:27 2007  Tanaka Akira  <akr@fsij.org>
60096
60097	* bootstraptest/runner.rb (assert_not_match): new method.
60098
60099Fri Oct  5 16:15:52 2007  Akinori MUSHA  <knu@iDaemons.org>
60100
60101	* configure.in: Turn on --enable-pthread by default for FreeBSD
60102	  5.2.1-RELEASE and later, and remove pthread support for older
60103	  versions which has never worked perfectly.
60104
60105Fri Oct  5 16:11:50 2007  Akinori MUSHA  <knu@iDaemons.org>
60106
60107	* time.c (time_to_s): Fix documentation.  Time format changed.
60108
60109Fri Oct  5 04:02:39 2007  Akinori MUSHA  <knu@iDaemons.org>
60110
60111	* lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minor
60112	  code optimization.
60113
60114Fri Oct  5 03:25:51 2007  Akinori MUSHA  <knu@iDaemons.org>
60115
60116	* lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddr
60117	  comparable.
60118
60119	* lib/ipaddr.rb (succ): Implement IPAddr#succ.  You can now create
60120	  a range between two IPAddr's, which (Range) object is
60121	  enumerable.
60122
60123	* lib/ipaddr.rb (to_range): A new method to create a Range object
60124	  for the (network) address.
60125
60126Fri Oct  5 03:14:45 2007  Akinori MUSHA  <knu@iDaemons.org>
60127
60128	* lib/ipaddr.rb (coerce_other): Support type coercion and make &,
60129	  |, == and include? accept a string or an integer instead of an
60130	  IPAddr object as the argument.
60131
60132	* lib/ipaddr.rb (initialize): Give better error messages.
60133
60134	* lib/ipaddr.rb: Improve documentation.
60135
60136Thu Oct  4 20:45:53 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
60137
60138	* process.c (Init_process): win32 has our own WNOHANG definition, so
60139	  remove unnecessary #ifdef guard.
60140
60141Thu Oct  4 20:17:19 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
60142
60143	* array.c (rb_ary_permutation, rb_ary_product): support non C99
60144	  compilers.
60145
60146Thu Oct  4 17:33:18 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60147
60148	* re.c (kcode_setter): Perl-ish global variable `$=' no longer
60149	  effective.
60150
60151	* io.c (Init_IO): remove obsolete variables: $defout, $deferr.
60152
60153	* re.c (Init_Regexp): remove obsolete const alias: MatchingData.
60154
60155	* time.c (Init_Time): remove obsolete Time::times.
60156
60157	* re.c (ignorecase_setter): change warning message.
60158
60159	* re.c (ignorecase_getter): now gives warning.
60160
60161	* string.c (rb_str_cmp_m): update RDoc document.
60162
60163	* re.c (kcode_setter): restore erroneously removed setter.
60164
60165Thu Oct  4 16:28:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60166
60167	* encoding.c (rb_obj_encoding): returns encoding of the given object.
60168
60169	* parse.y (reg_compile_gen): copy encoding from source string if
60170	  non-empty.
60171
60172	* re.c (Init_Regexp): new method Regexp#encoding.
60173
60174	* string.c (str_encoding): moved to encoding.c
60175
60176Thu Oct  4 15:49:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60177
60178	* array.c (rb_ary_permutation): remove C99 dependency.
60179	  [ruby-dev:31934]
60180
60181	* array.c (rb_ary_product): ditto.
60182
60183Wed Oct  3 23:37:17 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60184
60185	* ext/nkf/nkf.c, bin/ri, bin/irb: fixed typos in doc and comments.
60186	  a patch from Eugene Ossintsev  <eugoss AT gmail.com>.
60187	  [ruby-core:12375]
60188
60189Wed Oct  3 17:56:22 2007  Koichi Sasada  <ko1@atdot.net>
60190
60191	* benchmark/driver.rb: enable specify label to executable.
60192	  (-e "ruby1::/path/to/ruby1; ruby2::/path/to/ruby2; ...")
60193
60194Wed Oct  3 16:58:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60195
60196	* parse.y (parser_str_new, parser_yylex, rb_intern3): set code-range
60197	  bits.
60198
60199	* parse.y (parser_tokadd_string): check code-range.
60200
60201	* parse.y (parser_parse_string, parser_here_document): ditto.
60202
60203	* parse.y (parser_set_encode): check if valid encoding.
60204
60205Wed Oct  3 15:43:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60206
60207	* variable.c (rb_cvar_set): check whether class variable is
60208	  defined in superclasses.  root classes have higher priority.
60209	  removes lower class variable entry from IV_TBL (if it's defined
60210	  in classes, not modules).
60211
60212	* variable.c (rb_cvar_get): ditto.
60213
60214Wed Oct  3 10:06:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60215
60216	* ruby.c (ruby_process_options): push frame with program name.
60217	  [ruby-core:12351]
60218
60219Tue Oct  2 20:16:55 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
60220
60221	* win32/win32.c (init_env): refactoring. remove unused code.
60222
60223Tue Oct  2 12:30:40 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60224
60225	* array.c (rb_ary_product): generalized product, now takes
60226	  arbitrary number of arrays.  a patch from David Flanagan
60227	  <david AT davidflanagan.com>.  [ruby-core:12346]
60228
60229Tue Oct  2 08:25:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60230
60231	* array.c (rb_ary_permutation): implementation contributed from
60232	  David Flanagan.  [ruby-core:12344]
60233
60234	* array.c (rb_ary_combination): RDoc update to clarify.  a patch
60235	  from David Flanagan.  [ruby-core:12344]
60236
60237	* array.c (rb_ary_permutation): small dirty hack by Matz to avoid
60238	  arrays on stack.
60239
60240Tue Oct  2 07:01:05 2007  Koichi Sasada  <ko1@atdot.net>
60241
60242	* proc.c (proc_dup): proc->block.proc should be self.
60243
60244	* bootstraptest/test_knownbug.rb, test_method.rb:
60245	  move a fixed test.
60246
60247Mon Oct  1 16:17:44 2007  Tanaka Akira  <akr@fsij.org>
60248
60249	* bootstraptest/test_method.rb: use assert_normal_exit to test
60250	  [ruby-dev:31818].
60251
60252Mon Oct  1 15:57:49 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60253
60254	* gc.c (id2ref): skip ICLASS.
60255
60256Mon Oct  1 15:29:35 2007  Tanaka Akira  <akr@fsij.org>
60257
60258	* bootstraptest/runner.rb (assert_normal_exit): use `` instead of
60259	  system.
60260
60261Mon Oct  1 15:17:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60262
60263	* gc.c (id2ref): T_VALUES is less than T_BLOCK.  [ruby-dev:31911]
60264
60265Mon Oct  1 10:58:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60266
60267	* ruby.c (require_libraries): use require method instead of calling
60268	  rb_require directly.  [ruby-dev:31322]
60269
60270Mon Oct  1 10:52:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60271
60272	* eval.c (ruby_options), ruby.c (proc_options, process_options): not
60273	  call exit(2) directly.  [ruby-dev:31912]
60274
60275	* eval.c (ruby_run_node): deal with direct exit code.
60276
60277Sun Sep 30 17:12:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60278
60279	* string.c (rb_str_append): always set encoding, and coderange
60280	  cache bits.
60281
60282	* include/ruby/encoding.h (ENC_CODERANGE_SET): fixed a bug not to
60283	  set cache bits.
60284
60285Sun Sep 30 11:52:11 2007  Tanaka Akira  <akr@fsij.org>
60286
60287	* bootstraptest/runner.rb (pretty): don't show beginning empty line.
60288
60289Sun Sep 30 11:32:34 2007  Tanaka Akira  <akr@fsij.org>
60290
60291	* numeric.c: use #ifdef for test LONG_LONG_VALUE.
60292
60293Sun Sep 30 04:30:55 2007  Tanaka Akira  <akr@fsij.org>
60294
60295	* bignum.c: use SIZEOF_LONG instead of SIZEOF_ULONG which is not
60296	  defined.
60297
60298Sun Sep 30 04:03:43 2007  Tanaka Akira  <akr@fsij.org>
60299
60300	* re.c (Init_Regexp): test DEFAULT_KCODE in C code because
60301	  KCODE_EUC, etc. are enum.
60302
60303Sun Sep 30 00:55:40 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
60304
60305	* variable.c (obj_ivar_each): get rid of warning.
60306
60307Sat Sep 29 17:45:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60308
60309	* main.c (main): use platform-independent per-process initialization.
60310	  [ruby-dev:31900]
60311
60312	* ruby.c (ruby_sysinit): new function for per-process initialization.
60313
60314	* include/ruby/ruby.h (RUBY_GLOBAL_SETUP): toplevel setup declaration.
60315
60316	* include/ruby/win32.h, win32/mkexports.rb: alias NtInitialize
60317	  ruby_sysinit.
60318
60319	* win32/win32.c (rb_w32_sysinit): renamed from NtInitialize.
60320
60321Sat Sep 29 17:31:04 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60322
60323	* array.c (rb_ary_combination): new method to give all combination
60324	  of elements from an array.  [ruby-list:42671]
60325
60326	* array.c (rb_ary_product): a new method to get all combinations
60327	  of elements from two arrays.  can be extended to combinations of
60328	  n-arrays, e.g. a.product(b,c,d).  anyone volunteer?
60329
60330	* array.c (rb_ary_permutation): empty function body to calculate
60331	  permutations of array elements.  need volunteer.
60332
60333Sat Sep 29 17:14:44 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60334
60335	* marshal.c (r_leave): move proc invocation from r_entry() to
60336	  avoid potential crash.
60337
60338Sat Sep 29 12:28:08 2007  Tanaka Akira  <akr@fsij.org>
60339
60340	* bootstraptest/runner.rb (assert_normal_exit): new method.
60341
60342	* bootstraptest/test_knownbug.rb: add test for Marshal.load.
60343
60344Sat Sep 29 10:12:20 2007  Tanaka Akira  <akr@fsij.org>
60345
60346	* variable.c (rb_ivar_set): fix class instance variable.
60347
60348	* object.c (rb_class_real): cl argument may be 0.
60349
60350Sat Sep 29 09:12:02 2007  Tanaka Akira  <akr@fsij.org>
60351
60352	* object.c (rb_class_real): use BUILTIN_TYPE instead of TYPE.
60353	  access flags directly instead of FL_TEST.
60354	  they are enough because cl argument is a class.
60355
60356Sat Sep 29 08:57:15 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60357
60358	* include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
60359
60360Sat Sep 29 06:47:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60361
60362	* ruby.c (struct cmdline_options): static variables packed.
60363
60364Sat Sep 29 05:29:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60365
60366	* io.c (rb_io_fdopen): create IO object from fd.
60367
60368	* parse.y (yycompile): use encoding of the source as default.
60369
60370	* ruby.c (proc_options, load_file): ditto.
60371
60372Sat Sep 29 04:27:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60373
60374	* encoding.c (rb_enc_alias): allow encodings multiple aliases.
60375
60376	* encoding.c (rb_enc_find_index): search the encoding which has the
60377	  given name and return its index if found, or -1.
60378
60379	* st.c (type_strcasehash): case-insensitive string hash type.
60380
60381	* string.c (rb_str_force_encoding): force encoding of self.  this name
60382	  comes from [ruby-dev:31894] by Martin Duerst.  [ruby-dev:31744]
60383
60384	* include/ruby/encoding.h (rb_enc_find_index, rb_enc_associate_index):
60385	  prototyped.
60386
60387	* include/ruby/encoding.h (rb_enc_isctype): direct interface to ctype.
60388
60389	* include/ruby/st.h (st_init_strcasetable): prototyped.
60390
60391Sat Sep 29 03:53:26 2007  Koichi Sasada  <ko1@atdot.net>
60392
60393	* cont.c: Thread local storage should be fiber local.
60394
60395	* bootstraptest/test_knownbug.rb, test/ruby/test_fiber.rb:
60396	  move a fixed test.
60397
60398Fri Sep 28 23:15:31 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60399
60400	* insnhelper.ci (vm_call_method): allow send! to call protected
60401	  methods as well.  [ruby-core:12280]
60402
60403Fri Sep 28 22:33:47 2007  Koichi Sasada  <ko1@atdot.net>
60404
60405	* benchmark/bm_so_fasta.rb: added.
60406
60407	* benchmark/bm_so_k_nucleotide.rb: added.
60408
60409	* benchmark/bm_so_reverse_complement.rb: added.
60410
60411	* benchmark/make_fasta_output.rb: added.
60412
60413	* benchmark/prepare_so_k_nucleotide.rb: added.
60414
60415	* benchmark/prepare_so_reverse_complement.rb: added.
60416
60417Fri Sep 28 19:14:51 2007  Koichi Sasada  <ko1@atdot.net>
60418
60419	* benchmark/driver.rb: fix notations.
60420
60421	* benchmark/bm_loop_whileloop.rb: ditto.
60422
60423	* benchmark/bm_loop_whileloop2.rb: ditto.
60424
60425	* benchmark/bm_app_uri.rb: added.
60426
60427	* benchmark/bm_vm1_ivar_set.rb: ditto.
60428
60429	* benchmark/bm_so_binary_trees.rb: added from Computer Language
60430	  Benchmarks Game (http://shootout.alioth.debian.org/).
60431
60432	* benchmark/bm_so_fannkuch.rb: ditto.
60433
60434	* benchmark/bm_so_mandelbrot.rb: ditto.
60435
60436	* benchmark/bm_so_meteor_contest.rb: ditto.
60437
60438	* benchmark/bm_so_nbody.rb: ditto.
60439
60440	* benchmark/bm_so_nsieve.rb: ditto.
60441
60442	* benchmark/bm_so_nsieve_bits.rb: ditto.
60443
60444	* benchmark/bm_so_partial_sums.rb: ditto.
60445
60446	* benchmark/bm_so_pidigits.rb: ditto.
60447
60448	* benchmark/bm_so_spectralnorm.rb: ditto.
60449
60450Fri Sep 28 16:22:52 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60451
60452	* vm_core.h (rb_vm_struct): fix typo: bufferd -> buffered.
60453
60454Fri Sep 28 15:47:48 2007  Koichi Sasada  <ko1@atdot.net>
60455
60456	* benchmark/driver.rb: fix to output benchmark results
60457	  to file "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}".
60458
60459	* benchmark/bm_io_file_create.rb: remove useless codes.
60460
60461	* benchmark/bm_vm2_eval.rb: added.
60462
60463Fri Sep 28 15:05:24 2007  Tanaka Akira  <akr@fsij.org>
60464
60465	* include/ruby/intern.h: export rb_ivar_foreach.
60466
60467	* include/ruby/ruby.h: modify struct RObject and RClass for optimizing
60468	  T_OBJECT space.  [ruby-dev:31853]
60469	  (ROBJECT_LEN, ROBJECT_PTR)
60470	  (RCLASS_IV_TBL, RCLASS_M_TBL, RCLASS_SUPER, RCLASS_IV_INDEX_TBL)
60471	  (RMODULE_IV_TBL, RMODULE_M_TBL, RMODULE_SUPER): abstract accessor
60472	  defined.
60473
60474	* variable.c: support the modified RObject and RClass.
60475
60476	* object.c: ditto.
60477
60478	* class.c: ditto.
60479
60480	* gc.c: ditto.
60481
60482	* marshal.c: ditto.
60483
60484	* eval_method.ci: use the abstract accessor.
60485
60486	* insns.def: ditto.
60487
60488	* proc.c: ditto.
60489
60490	* struct.c: ditto.
60491
60492	* eval.c: ditto.
60493
60494	* error.c: ditto.
60495
60496	* vm.c: ditto.
60497
60498	* insnhelper.ci: ditto.
60499
60500	* ext/digest/digest.c: ditto.
60501
60502Fri Sep 28 13:20:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60503
60504	* io.c (rb_io_getline_fast, rb_io_getline_1): set encoding to the
60505	  result string, as well as getc.
60506
60507Fri Sep 28 12:51:42 2007  Koichi Sasada  <ko1@atdot.net>
60508
60509	* benchmark/bm_app_erb.rb: added.
60510
60511	* benchmark/bm_io_file_(create|read|write).rb: added.
60512
60513Fri Sep 28 12:49:05 2007  Koichi Sasada  <ko1@atdot.net>
60514
60515	* benchmark/driver.rb: fix file selection algorithm.
60516
60517Fri Sep 28 02:05:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60518
60519	* string.c (rb_str_comparable): need not to check asciicompat here.
60520
60521	* encoding.c (rb_enc_check): ditto.
60522
60523	* string.c (rb_enc_str_coderange): tuned a bit; no broken check.
60524
60525	* encoding.c (rb_enc_check): new encoding comparison criteria.
60526
60527Thu Sep 27 17:36:28 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
60528
60529	* win32/REAMDE.win32: follow recent changes.
60530
60531Thu Sep 27 16:01:53 2007  Koichi Sasada  <ko1@atdot.net>
60532
60533	* benchmark/driver.rb: fix to output some helpful messages.
60534
60535Thu Sep 27 15:44:51 2007  Koichi Sasada  <ko1@atdot.net>
60536
60537	* benchmark/driver.rb: added.
60538
60539	* common.mk: fix to use above driver.
60540
60541	* benchmark/prepare_so_count_words.rb: added.
60542
60543	* benchmark/bm_so_count_words.rb: fix benchmark process.
60544
60545Thu Sep 27 15:42:34 2007  Koichi Sasada  <ko1@atdot.net>
60546
60547	* ext/fiber/fiber.c: modify prototype declaration.
60548	  [ruby-core:12247]
60549
60550Thu Sep 27 09:42:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60551
60552	* parse.y (strings, xstring, regexp, dsym): empty strings have
60553	  US-ASCII encoding.
60554
60555Thu Sep 27 07:39:13 2007  Tanaka Akira  <akr@fsij.org>
60556
60557	* bootstraptest/runner.rb (assert_finish): new method.
60558
60559	* bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using
60560	  assert_finish.
60561
60562Thu Sep 27 04:46:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60563
60564	* encoding.c (rb_enc_associate_index): deal with ASCII compatible
60565	  flags.
60566
60567	* encoding.c (rb_enc_check): allow ASCII compatible strings.
60568
60569	* parse.y (rb_intern_str): use ASCII encoding for ASCII string.
60570
60571	* string.c (rb_enc_str_coderange): check for code-range.
60572
60573	* string.c (rb_str_modify): clear code-range flags.
60574
60575	* string.c (rb_str_hash, rb_str_eql): ASCII compatible strings are
60576	  comparable.
60577
60578	* include/ruby/encoding.h: added code-range flags.
60579
60580Thu Sep 27 04:40:47 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60581
60582	* gc.c (rb_mark_set): new function to mark keys.
60583
60584	* marshal.c (struct dump_arg, struct load_arg): added wrappers to mark
60585	  data and compat_tbl entries.  [ruby-dev:31870]
60586
60587Thu Sep 27 03:17:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60588
60589	* process.c (rb_waitpid): no needs to poll.  [ruby-dev:31871]
60590
60591Wed Sep 26 20:11:46 2007  Koichi Sasada  <ko1@atdot.net>
60592
60593	* bootstraptest/test_knownbug.rb: remove a fixed test.
60594
60595Wed Sep 26 20:00:12 2007  Koichi Sasada  <ko1@atdot.net>
60596
60597	* bootstraptest/test_knownbug.rb: move fixed tests.
60598
60599	* bootstraptest/test_method.rb: ditto.
60600
60601	* test/ruby/test_io.rb: ditto.
60602
60603Wed Sep 26 19:36:26 2007  Koichi Sasada  <ko1@atdot.net>
60604
60605	* eval.c (eval): fix to check stack overflow.
60606	  [ruby-dev:31850]
60607
60608	* eval_intern.h, vm.h: move CHECK_STACK_OVERFLOW() macro.
60609
60610Wed Sep 26 19:27:11 2007  Koichi Sasada  <ko1@atdot.net>
60611
60612	* insnhelper.ci (vm_throw): fix to move increment point.
60613	  [ruby-dev:31840]
60614
60615Wed Sep 26 19:23:56 2007  Koichi Sasada  <ko1@atdot.net>
60616
60617	* cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]
60618
60619	* ext/fiber/fiber.c: enable Fiber#transfer.
60620
60621Wed Sep 26 18:38:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60622
60623	* encoding.c (rb_enc_check): check for ASCII-compatibilities.
60624
60625	* parse.y (parser_tokadd_string, parser_parse_string,
60626	  parser_here_document, parser_yylex): set encoding to US-ASCII.
60627
60628	* parse.y (rb_enc_symname_p): check if valid with encoding.
60629
60630	* parse.y (rb_intern3): let symbols have encoding.
60631
60632	* string.c (rb_str_hash): add encoding index.
60633
60634	* string.c (rb_str_comparable, rb_str_equal, rb_str_eql): check if
60635	  compatible encoding.
60636
60637	* string.c (sym_inspect): made encoding aware.
60638
60639	* insns.def (opt_eq): compare with encoding.
60640
60641	* include/ruby/encoding.h (rb_enc_asciicompat): check if ASCII
60642	  compatible.
60643
60644	* include/ruby/encoding.h (rb_enc_get_index): added prototype.
60645
60646	* include/ruby/intern.h (rb_str_comparable, rb_str_equal): ditto.
60647
60648Wed Sep 26 15:01:16 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60649
60650	* eval_method.ci (rb_get_alloc_func): cast to suppress a warning.
60651
60652	* eval_method.ci (remove_method): local variable to be initialized.
60653
60654Wed Sep 26 08:36:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60655
60656	* Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as other
60657	  objects.  [ruby-Bugs-14228]
60658
60659Wed Sep 26 05:12:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60660
60661	* parse.y (parser_yyerror): limit error message length.
60662	  [ruby-dev:31848]
60663
60664Tue Sep 25 15:11:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60665
60666	* io.c (io_ungetc): reallocate internal buffer if pushing data
60667	  excess capacity.  [ruby-dev:31650]
60668
60669Tue Sep 25 13:43:03 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60670
60671	* eval_method.ci (remove_method): should not remove undef place
60672	  holder.  [ruby-dev:31816], [ruby-dev:31817]
60673
60674Tue Sep 25 09:51:31 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60675
60676	* eval.c (rb_longjmp): source file information may be NULL.
60677	  [ruby-dev:31849]
60678
60679	* eval.c (ruby_finalize_0): clear trace_func before finalization.
60680
60681Mon Sep 24 22:36:13 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60682
60683	* array.c (rb_ary_equal): should handle recursive array.
60684
60685	* hash.c (hash_equal): should handle recursive hash.
60686
60687Mon Sep 24 22:14:13 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60688
60689	* lib/weakref.rb (WeakRef): remove debug print.  [ruby-dev:31799]
60690
60691	* hash.c (hash_i): avoid too frequent hash conflict where key and
60692	  value are same.  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
60693	  [ruby-dev:31802]
60694
60695Mon Sep 24 17:56:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60696
60697	* ext/strscan/strscan.c (strscan_initialize, strscan_getch): use the
60698	  encoding of the target string instead of setting to StringScanner
60699	  instance.  [ruby-dev:31831]
60700
60701Mon Sep 24 16:52:11 2007  Urabe Shyouhei  <shyouhei@ruby-lang.org>
60702
60703	* lib/net/http.rb: fix typo.
60704
60705Mon Sep 24 06:49:15 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
60706
60707	* lib/net/http.rb: an SSL verification (the server hostname should
60708	  be matched with its certificate's commonName) is added.
60709	  this verification can be skipped by
60710	  "Net::HTTP#enable_post_connection_check=(false)".
60711	  suggested by Chris Clark <cclark at isecpartners.com>
60712
60713	* lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to
60714	  perform SSL post connection check.
60715
60716	* ext/openssl/lib/openssl/ssl.c
60717	  (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message.
60718
60719Sun Sep 23 09:05:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60720
60721	* gc.c (os_obj_of, os_each_obj): hide objects to be finalized.
60722	  [ruby-dev:31810]
60723
60724Sun Sep 23 08:58:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60725
60726	* eval_method.ci (rb_attr): should not use alloca for unknown size
60727	  input.  [ruby-dev:31818]
60728
60729	* parse.y (rb_intern_str): prevent str from optimization.
60730
60731Sun Sep 23 06:16:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60732
60733	* eval_method.ci (remove_method): check for undefined method.
60734	  [ruby-dev:31816]
60735
60736Sun Sep 23 05:42:35 2007  URABE Shyouhei  <shyouhei@ruby-lang.org>
60737
60738	* lib/rdoc/options.rb (Options::check_diagram): dot -V output
60739	  changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.
60740
60741Sat Sep 22 06:02:11 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60742
60743	* lib/optparse.rb (OptionParser::List::summarize): use each_line if
60744	  defined rather than each.  [ruby-Patches-14096]
60745
60746Sat Sep 22 05:19:49 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60747
60748	* ext/stringio/stringio.c (strio_init): separate from strio_initialize
60749	  to share with strio_reopen properly.  [ruby-Bugs-13919]
60750
60751Fri Sep 21 14:51:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60752
60753	* gc.c (gc_mark_rest): copy just used part.
60754
60755	* gc.c (gc_mark_children): mark u1 and u2 of NODE_ARGSCAT.
60756
60757	* gc.c (os_obj_of): hide T_VALUES too.  [ruby-dev:31804]
60758
60759	* gc.c (run_final): freeze temporary argument array.
60760
60761Fri Sep 21 04:58:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60762
60763	* misc/ruby-style.el (ruby-style-label-indent): fix for function top
60764	  level labels.
60765
60766Fri Sep 21 02:11:22 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60767
60768	* re.c (rb_reg_match_m): evaluate a block if match.  it would make
60769	  condition statement much shorter, if no else clause is needed.
60770
60771	* string.c (rb_str_match_m): ditto.
60772
60773Fri Sep 21 02:02:34 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60774
60775	* hash.c (hash_equal): should call rb_eql when argument eql is set.
60776
60777Thu Sep 20 17:28:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60778
60779	* io.c (popen_exec), process.c (rb_spawn): stop other threads before
60780	  exec.  [ruby-core:08262]
60781
60782Tue Sep 18 22:08:42 2007  Keiju Ishitsuka  <keiju@ruby-lang.org>
60783
60784	* lib/matrix.rb: fix a coerce bug of Vector. [ruby-core: 12190]
60785
60786Mon Sep 17 21:06:03 2007  Minero Aoki  <aamine@loveruby.net>
60787
60788	* lib/net/http.rb (HTTP::GenericRequest#initialize): check path is
60789	  not nil. [ruby-dev:31149]
60790
60791Mon Sep 17 21:00:51 2007  Minero Aoki  <aamine@loveruby.net>
60792
60793	* parse.y (ripper): rename event: arglist_* -> args_*.
60794
60795	* parse.y (ripper): rename event: restparam -> rest_param.
60796
60797	* parse.y (ripper): rename event: constpath_* -> const_path_*.
60798
60799	* parse.y (ripper): rename event: topconst_* -> top_const_*.
60800
60801	* parse.y (ripper): rename event: iter_block -> method_add_block.
60802
60803	* parse.y (ripper): support block local parameter declaration.
60804
60805	* parse.y (ripper): introduce new macro params_new.
60806
60807	* ext/ripper/lib/ripper/sexp.rb: should not dispose event
60808	  arguments whose name ends with "_new" but arity != 0.
60809
60810Sat Sep 15 23:36:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60811
60812	* parse.y (struct parser_params): common members in the parser and
60813	  ripper must be placed at each same location.
60814
60815Sat Sep 15 18:25:15 2007  Kouhei Sutou  <kou@cozmixng.org>
60816
60817	* string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]
60818
60819Sat Sep 15 17:32:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60820
60821	* parse.y (parser_initialize): set default encoding.  [ruby-dev:31787]
60822
60823	* ruby.c (load_file): make new parse instance after processing shebang
60824	  line options.
60825
60826Sat Sep 15 17:04:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60827
60828	* encoding.c (rb_enc_associate_index, rb_enc_get_index): check if
60829	  object is encoding capable.  [ruby-dev:31780]
60830
60831	* string.c (rb_str_subpat_set): check for if the argument is a String.
60832
60833Sat Sep 15 13:31:21 2007  Kouhei Sutou  <kou@cozmixng.org>
60834
60835	* lib/rss.rb, lib/rss/, test/rss/:
60836	  - 0.1.9 -> 0.2.0.
60837	  - supported Slash module.
60838
60839Fri Sep 14 22:20:01 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
60840
60841	* ext/win32ole/win32ole.c (fev_unadvise): no needs to reset
60842	  event handlers.
60843
60844Fri Sep 14 17:28:32 2007  Koichi Sasada  <ko1@atdot.net>
60845
60846	* test/ruby/test_io.rb: tests which cause SEGV should not be
60847	  added.
60848
60849	* bootstraptest/test_knownbug.rb: add above test to known bug.
60850
60851Fri Sep 14 16:24:04 2007  Koichi Sasada  <ko1@atdot.net>
60852
60853	* insnhelper.ci (vm_expandarray): assignment should be placed
60854	  after creating new array.
60855
60856Fri Sep 14 16:17:30 2007  Koichi Sasada  <ko1@atdot.net>
60857
60858	* bootstraptest/runner.rb: add a stress test (-s).
60859
60860Fri Sep 14 16:14:28 2007  Koichi Sasada  <ko1@atdot.net>
60861
60862	* vm.h, eval_intern.h: move some macros to eval_intern.h.
60863
60864	* eval_jump.ci (rb_f_throw): fix to use NEW_THROW_OBJECT().
60865
60866	* eval.c (rb_f_loop): remove additional macro.
60867
60868Fri Sep 14 16:12:10 2007  Koichi Sasada  <ko1@atdot.net>
60869
60870	* insnhelper.ci (vm_expandarray): should be volatile value for GC.
60871
60872Thu Sep 13 15:42:03 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60873
60874	* compile.c (iseq_compile_each): inline cache entries are overwritten
60875	  in iseq_build_body().
60876
60877Thu Sep 13 14:00:15 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60878
60879	* parse.y (brace_block): should use compstmt.  patch submitted by
60880	  Kirill A. Shutemov <k.shutemov AT gmail.com>  [ruby-core:12154].
60881
60882Thu Sep 13 13:47:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60883
60884	* parse.y (rb_id2str): fixed typo.
60885
60886Wed Sep 12 23:12:22 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60887
60888	* ruby.c (proc_options): -W should be allowed in RUBYOPT
60889	  environment variable.  [ruby-core:12118]
60890
60891Wed Sep 12 15:19:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
60892
60893	* io.c (rb_io_s_sysopen): should not use alloca for unknown size
60894	  input.  [ruby-dev:31775]
60895
60896	* parse.y (rb_id2str): ditto.
60897
60898	* marshal.c (w_float): use snprintf instead of sprintf.
60899
60900Tue Sep 11 17:28:00 2007  Akinori MUSHA  <knu@iDaemons.org>
60901
60902	* lib/tempfile.rb (Tempfile::make_tmpname): Allow to specify a
60903	  suffix for a temporary file name.
60904
60905	* lib/tempfile.rb (Tempfile::make_tmpname): Make temporary file
60906	  names less predictable by including a random string.
60907	  [inspired by: akr]
60908
60909Tue Sep 11 17:25:59 2007  Akinori MUSHA  <knu@iDaemons.org>
60910
60911	* lib/shellwords.rb: Add shellescape() and shelljoin().
60912
60913	* lib/shellwords.rb: Rename shellwords() to shellsplit() and make
60914	  the former an alias to the latter.
60915
60916	* lib/shellwords.rb: Add escape(), split(), join() as class
60917	  methods, which are aliases to their respective long names
60918	  prefixed with `shell'.
60919
60920	* lib/shellwords.rb: Add String#shellescape(), String#shellsplit()
60921	  and Array#shelljoin() for convenience.
60922
60923Mon Sep 10 15:48:31 2007  Tanaka Akira  <akr@fsij.org>
60924
60925	* range.c: represent initialized state using EXCL instead of FL_USER3.
60926
60927	* range.c (range_dumper): make uninitialized range dumpable.
60928	  (range_loader): make uninitialized range loadable.
60929
60930Mon Sep 10 13:44:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60931
60932	* array.c (rb_ary_cycle): avoid infinite loop for empty array.
60933	  based on a patch from David Flanagan.  [ruby-core:12085]
60934
60935Mon Sep 10 01:21:23 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60936
60937	* marshal.c (r_object0): struct allocation first to check if a
60938	  class is a struct.  compatibility check should come next.
60939
60940Mon Sep 10 01:05:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60941
60942	* range.c (range_step): fixed integer overflow.  [ruby-dev:31763]
60943
60944Sun Sep  9 08:57:27 2007  Tadayoshi Funaba  <tadf@dotrb.org>
60945
60946	* lib/date/format.rb (_strptime): now also attaches an element
60947	  which denotes leftover substring if exists.
60948
60949Sun Sep  9 01:59:08 2007  Tanaka Akira  <akr@fsij.org>
60950
60951	* marshal.c (r_object0): check T_STRUCT type for structs.
60952
60953Sun Sep  9 01:17:05 2007  Tanaka Akira  <akr@fsij.org>
60954
60955	* marshal.c (r_object0): don't call user-defined initialize for
60956	  T_STRUCT objects.
60957
60958	* include/ruby/intern.h (rb_struct_initialize): declared.
60959
60960	* struct.c (rb_struct_initialize): export.
60961
60962Sat Sep  8 23:55:56 2007  Tanaka Akira  <akr@fsij.org>
60963
60964	* eval_method.ci (rb_get_alloc_func): new function to get allocation
60965	  function.
60966
60967	* include/ruby/intern.h (rb_alloc_func_t): declared.
60968	  (rb_define_alloc_func): declared.
60969	  (rb_marshal_define_compat): declared.
60970
60971	* range.c: use T_STRUCT for Range.
60972
60973	* inits.c: move Init_marshal() prior to Init_Range() because
60974	  Init_Range calls rb_marshal_define_compat which needs
60975	  marshal's compat_allocator_tbl initialized.
60976
60977	* marshal.c: support marshal format compatibility layer designed for
60978	  marshaling T_STRUCT Range using T_OBJECT format.
60979	  (rb_marshal_define_compat): defined.
60980
60981	[ruby-dev:31710]
60982
60983Sat Sep  8 10:05:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60984
60985	* struct.c (rb_struct_s_members): check if __members__ is an
60986	  array to prevent segmentation fault.  [ruby-dev:31759]
60987
60988Sat Sep  8 09:33:09 2007  Tadayoshi Funaba  <tadf@dotrb.org>
60989
60990	* lib/date/format.rb (str[fp]time): now check specifications more
60991	  strictly.
60992
60993Sat Sep  8 02:56:31 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60994
60995	* test/ruby/test_fiber.rb (TestFiber::test_throw): uncaught throw
60996	  now raise ArgumentError exception.
60997
60998Sat Sep  8 02:45:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
60999
61000	* struct.c (rb_struct_s_members): should raise TypeError instead
61001	  of call rb_bug().  [ruby-dev:31709]
61002
61003	* marshal.c (r_object0): no nil check require any more.
61004
61005Sat Sep  8 01:46:36 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
61006
61007	* regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should take
61008	  two arguments. [ruby-dev:31754]
61009
61010Fri Sep  7 00:58:16 2007  Koichi Sasada  <ko1@atdot.net>
61011
61012	* common.mk: fix typo.
61013
61014Fri Sep  7 00:28:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61015
61016	* io.c (rb_io_getc): forgot to commit rb_enc_mbclen() fix.
61017
61018	* ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix.
61019
61020	* ext/stringio/stringio.c (strio_ungetc): ditto.
61021
61022Thu Sep  6 22:57:01 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61023
61024	* lib/fileutils.rb (FileUtils::Entry_::copy): prevent self copy of
61025	  directories.
61026
61027	* lib/fileutils.rb (FileUtils::fu_each_src_dest0): use try_convert.
61028
61029	* lib/fileutils.rb (FileUtils::fu_update_option): ditto.
61030
61031Thu Sep  6 21:36:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61032
61033	* include/ruby/oniguruma.h (OnigEncodingTypeST): add end parameter
61034	  to mbc_enc_len.
61035
61036	* euc_jp.c (mbc_enc_len), sjis.c (mbc_enc_len),
61037	  utf8.c (utf8_mbc_enc_len): ditto.
61038
61039	* encoding.c (rb_enc_mbclen): add end parameter.
61040
61041Thu Sep  6 21:31:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61042
61043	* array.c (rb_ary_cycle): typo in rdoc.  a patch from Yugui
61044	  <yugui@yugui.sakura.ne.jp>.  [ruby-dev:31748]
61045
61046Thu Sep  6 12:42:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61047
61048	* string.c (rb_str_succ, rb_str_chop_bang, rb_str_chop): m17n support.
61049	  [ruby-dev:31734]
61050
61051Wed Sep  5 22:02:27 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61052
61053	* array.c (rb_ary_subseq): need integer overflow check.
61054	  [ruby-dev:31736]
61055
61056	* array.c (rb_ary_splice): ditto.  [ruby-dev:31737]
61057
61058	* array.c (rb_ary_fill): ditto.  [ruby-dev:31738]
61059
61060	* string.c (rb_str_splice): integer overflow for length.
61061	  [ruby-dev:31739]
61062
61063Tue Sep  4 20:43:44 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61064
61065	* ext/win32ole/win32ole.c: add WIN32OLE_EVENT#unadvise.
61066
61067	* test/win32ole/test_win32ole_event.rb: ditto.
61068
61069Mon Sep  3 15:37:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61070
61071	* common.mk (vm.o): depends on st.h too.
61072
61073Sun Sep  2 23:38:29 2007  Tanaka Akira  <akr@fsij.org>
61074
61075	* include/ruby/st.h (struct st_table): make num_entries bitfield
61076	  instead of num_bins for speed.  num_entries has less access.
61077
61078Sun Sep  2 00:37:57 2007  Tadayoshi Funaba  <tadf@dotrb.org>
61079
61080	* lib/date/format.rb (_parse): improved parsing of ordinal dates.
61081
61082	* lib/date/format.rb (_parse): use named character classes in some
61083	  regular expressions.
61084
61085Sat Sep  1 23:44:26 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61086
61087	* eval_jump.ci (rb_f_throw): wrap tag and TAG_THROW in a NODE_MEMO
61088	  node to make throw instruction to work well.
61089
61090Sat Sep  1 20:56:07 2007  Tanaka Akira  <akr@fsij.org>
61091
61092	* include/ruby/ruby.h (struct RBignum): embed digits in RBignum for
61093	  small bignums.
61094
61095	* bignum.c: RBignum embedded digits implemented.
61096
61097	* include/ruby/intern.h: declare rb_big_resize.
61098
61099	* gc.c: don't free embedded digits.
61100
61101	* numeric.c: replace direct bignum field accessor by abstract field
61102	  accessor such as RBIGNUM(val)->sign to RBIGNUM_SIGN(val).
61103
61104	* sprintf.c: ditto.
61105
61106	* compar.c: ditto.
61107
61108	* marshal.c: ditto.
61109
61110	* random.c: ditto.
61111
61112	* .gdbinit: support embedded small bignums.
61113
61114	[ruby-dev:31689]
61115
61116Sat Sep  1 19:59:43 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61117
61118	* ext/win32ole/win32ole.c (ole_event_free): IConnectionPoint should be
61119	  released.
61120
61121	* ext/win32ole/win32ole.c (EVENTSINK_Destructor): ITypeInfo should be
61122	  released.
61123
61124	* ext/win32ole/win32ole.c (fev_initialize): refactoring.
61125
61126Sat Sep  1 16:26:09 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
61127
61128	* test/socket/test_tcp.rb (test_recvfrom): same as mswin32 on mswin64.
61129
61130Sat Sep  1 14:24:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61131
61132	* st.c (st_numcmp, st_numhash): use st_data_t instead of long, because
61133	  the former may be larger than the latter.
61134
61135	* include/ruby/st.h (CHAR_BIT): get rid of magic number.
61136
61137	* include/ruby/st.h (rb_index_t): use st_data_t for the platforms it
61138	  is larger than int.
61139
61140Sat Sep  1 10:43:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61141
61142	* eval_jump.ci (rb_f_catch): generate new tag object if no argument is
61143	  given.  backported from MatzRuby.  [ruby-dev:31609]
61144
61145	* eval_jump.ci (rb_catch): call #catch without arguments if tag
61146	  string is NULL.
61147
61148	* eval_jump.ci (rb_f_throw): allow throwing non-symbol object.
61149
61150	* eval_jump.ci (rb_catch_obj): new function to wait throw with arbitrary
61151	  object.
61152
61153	* eval_jump.ci (rb_throw_obj): new function to throw arbitrary object.
61154
61155	* variable.c (check_autoload_table): prevent multiple calls from
61156	  RSTRING_PTR().
61157
61158Fri Aug 31 07:12:24 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
61159
61160	* numeric.c (SQRT_LONG_MAX): use SIZEOF_LONG instead of SIZEOF_VALUE
61161	  because SIZEOF_VALUE > SIZEOF_LONG on some platforms.
61162
61163Fri Aug 31 04:18:03 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61164
61165	* parse.y (f_norm_arg, f_arg_item): not croak already erred names.
61166	  [ruby-dev:31687]
61167
61168	* parse.y (assignable_gen): ignore already erred names.
61169
61170	* parse.y (shadowing_lvar_gen): always make new block local variable
61171	  when shadowing outer local variable.  [ruby-dev:31507]
61172
61173Thu Aug 30 19:40:33 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
61174
61175	* regenc.h: check RUBY_EXTERN before including config.h and defines.h
61176
61177	* common.mk: update header dependency.
61178
61179Thu Aug 30 14:06:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61180
61181	* proc.c (rb_obj_define_method): reverted.  [ruby-talk:266637]
61182
61183Thu Aug 30 13:49:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61184
61185	* lib/mkmf.rb: initialize $top_srcdir always.  [ruby-dev:31682]
61186
61187	* lib/mkmf.rb (try_const, have_const): check for a const is defined.
61188	  [ruby-core:04422]
61189
61190Thu Aug 30 08:00:12 2007  Tanaka Akira  <akr@fsij.org>
61191
61192	* include/ruby/intern.h: declare rb_hash_tbl.
61193
61194	* include/ruby/ruby.h (RHash): delay st_table allocation.
61195	  rename tbl field to ntbl to detect direct reference to the st_table
61196	  as a compile error.
61197	  (RHASH_TBL): abstract accessor defined.
61198	  (RHASH_ITER_LEV): ditto.
61199	  (RHASH_IFNONE): ditto.
61200	  (RHASH_SIZE): ditto.
61201	  (RHASH_EMPTY_P): ditto.
61202	  (hash_alloc0, hash_alloc): unified because hash_alloc doesn't
61203	  allocate st_table now.
61204
61205	* hash.c: delay st_table allocation.
61206
61207	* gc.c: replace tbl by ntbl.
61208
61209	* array.c: replace direct field accessor by abstract field accessor
61210	  such as RHASH(hash)->tbl to RHASH_TBL(hash).
61211
61212	* marshal.c: ditto.
61213
61214	* insns.def: ditto.
61215
61216	* ext/iconv/iconv.c: ditto.
61217
61218	* ext/json/ext/generator/generator.c: ditto.
61219
61220	* ext/json/ext/parser/parser.c: ditto.
61221
61222	* ext/json/ext/parser/parser.rl: ditto.
61223
61224	* ext/syck/rubyext.c: ditto.
61225
61226	* ext/tk/tkutil/tkutil.c: ditto.
61227
61228	[ruby-dev:31678]
61229
61230Wed Aug 29 18:36:06 2007  Tanaka Akira  <akr@fsij.org>
61231
61232	* lib/open-uri.rb: add :ftp_active_mode option.  [ruby-dev:31677]
61233
61234Wed Aug 29 14:55:28 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61235
61236	* string.c (str_gsub): should not use mbclen2() which has broken API.
61237
61238	* re.c: remove rb_reg_mbclen2().
61239
61240Wed Aug 29 12:48:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61241
61242	* parse.y (aref_args): args may not be a list.  [ruby-dev:31592]
61243
61244Wed Aug 29 11:30:10 2007  Tanaka Akira  <akr@fsij.org>
61245
61246	* include/ruby/st.h (struct st_table): add entries_packed 1-bit
61247	  bitfield.  decrease num_bins 1-bit.
61248
61249	* st.c: pack numhash which have 5 or less entries in bins.
61250	  (st_init_table_with_size): setup entries_packed flag.
61251	  (st_clear): support packed mode.
61252	  (st_lookup): ditto.
61253	  (st_insert): ditto.
61254	  (st_add_direct): ditto.
61255	  (st_copy): ditto.
61256	  (st_delete): ditto.
61257	  (st_foreach): ditto.
61258	  (st_reverse_foreach): ditto.
61259	  (unpack_entries): new function for converting to unpacked mode.
61260
61261	[ruby-list:43954]
61262
61263Wed Aug 29 10:46:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61264
61265	* include/ruby/defines.h (flush_register_windows): call "ta 0x03"
61266	  even on Linux/Sparc.  [ruby-dev:31674]
61267
61268Tue Aug 28 19:16:00 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61269
61270	* ext/win32ole/win32ole.c (ole_type_progid): progid getted by
61271	  ProgIDFromCLSID should be freed by CoTaskMemFree. Thanks, arton.
61272
61273	* test/win32ole/test_win32ole.rb (test_raise_message): set negative
61274	  compareMode value to raise WIN32OLERuntimeError.
61275
61276	* test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
61277	  support some environment which returns IShellDispatch5 instead
61278	  of IShellDispatch.
61279
61280Tue Aug 28 15:42:09 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61281
61282	* string.c (rb_str_subseq): retrieve substring based on byte offset.
61283
61284	* string.c (rb_str_rindex_m): was confusing character offset and
61285	  byte offset.
61286
61287Tue Aug 28 14:23:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61288
61289	* string.c (rb_str_splice_0): should check to modify.  [ruby-dev:31665]
61290
61291Tue Aug 28 14:21:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61292
61293	* parse.y (parser_prepare): set parser encode too when BOM exists.
61294
61295Tue Aug 28 00:51:22 2007  Koichi Sasada  <ko1@atdot.net>
61296
61297	* thread.c: fix Mutex to be interruptable lock.
61298
61299	* thread_win32.ci, thread_win32.h, thread_pthread.ci, thread_pthread.h:
61300	  prepare native_cond_*() which are based on pthread_cond_*() spec.
61301
61302	* prelude.rb: fix Mutex#synchronize method.
61303
61304	* vm_core.h, include/ruby/intern.h: change unblock function interface
61305	  (to pass some user data).
61306
61307	* file.c, process.c: ditto.
61308
61309	* benchmark/bm_vm2_mutex.rb: add a benchmark for mutex.
61310
61311	* benchmark/bm_vm3_thread_mutex.rb: add a benchmark for mutex
61312	  with contention.
61313
61314	* benchmark/run.rb: fix to remove ENV['RUBYLIB'] for matzruby.
61315
61316	* test/ruby/test_thread.rb: add a test.
61317
61318	* common.mk: fix benchmark options.
61319
61320Mon Aug 27 23:14:02 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61321
61322	* string.c (rb_str_rstrip_bang): wrong strip point.  [ruby-dev:31652]
61323
61324	* string.c (rb_str_each_line): should swallow sequence of newlines
61325	  if rs (optional argument) is an empty string.  [ruby-dev:31652]
61326
61327Mon Aug 27 22:39:08 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61328
61329	* encoding.c (rb_enc_codelen): raises invalid sequence exception
61330	  if ONIGENC_CODE_TO_MBCLEN() returns zero.  [ruby-dev:31661]
61331
61332	* encoding.c (rb_enc_mbclen): check invalid sequence.
61333
61334Mon Aug 27 20:27:59 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61335
61336	* ext/win32ole/win32ole.c (ole_type_progid): fix the bug.
61337	  [ruby-dev:31576]
61338
61339	* test/win32ole/test_win32ole_type.rb (test_initialize):
61340	  remove duplicate assertions.
61341
61342Mon Aug 27 19:10:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61343
61344	* ext/etc/etc.c (etc_getlogin): update documentation to note
61345	  security issue.  [ruby-Bugs-11821]
61346
61347Mon Aug 27 15:56:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61348
61349	* string.c (sym_encoding): return the encoding of a Symbol.
61350
61351Mon Aug 27 15:33:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61352
61353	* util.c (IEEE_BIG_ENDIAN): use configured value.  [ruby-dev:31623]
61354
61355	* util.c (Llong): set to LONG_LONG if available.
61356
61357Mon Aug 27 13:11:56 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61358
61359	* string.c (tr_trans): wrong condition for mbmaxlen==1 strings.
61360	  [ruby-dev:31652]
61361
61362Mon Aug 27 00:41:13 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61363
61364	* io.c (rb_io_each_byte): caused infinite loop.  [ruby-dev:31652]
61365
61366	* io.c (rb_io_getc): should return nil at EOF, not EOFError.
61367
61368	* lib/delegate.rb (SimpleDelegator::__setobj__): use raise
61369	  argument to specify backtrace.
61370
61371	* test/ruby/test_fnmatch.rb (TestFnmatch::bracket_test):
61372	  String#include? no longer works for Fixnum.  use #chr.
61373	  [ruby-dev:31652]
61374
61375Sun Aug 26 12:27:14 2007  Koichi Sasada  <ko1@atdot.net>
61376
61377	* cont.c: fix to remove Fiber.new until fiber.so is not loaded.
61378
61379	* test/ruby/test_continuation.rb: fix to use resume.
61380
61381Sun Aug 26 06:51:46 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61382
61383	* ext/win32ole/win32ole.c (ole_wc2mb, reg_enum_key): allocate
61384	  buffer should be NULL terminated.
61385
61386Sun Aug 26 06:04:13 2007  Koichi Sasada  <ko1@atdot.net>
61387
61388	* insnhelper.ci (vm_setup_method): reorder code for branch prediction.
61389
61390Sun Aug 26 05:54:49 2007  Koichi Sasada  <ko1@atdot.net>
61391
61392	* insnhelper.ci (vm_call_method): fix to relaxant safe level check
61393	  ($SAFE > 2).  [ruby-core:11998]
61394
61395	* bootstraptest/test_method.rb: add tests for above.
61396
61397Sun Aug 26 05:52:08 2007  Koichi Sasada  <ko1@atdot.net>
61398
61399	* test/ruby/test_fiber.rb: fix to require 'continuation'.
61400
61401Sat Aug 25 23:52:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61402
61403	* enumerator.c (enumerator_next): message changed.
61404
61405Sat Aug 25 23:22:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61406
61407	* include/ruby/encoding.h: remove unused rb_enc_ismbchar().
61408
61409Sat Aug 25 22:50:14 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61410
61411	* ext/win32ole/win32ole.c (ole_event_free, EVENTSINK_Destructor,
61412	  fev_initialize): remove the connection ole_event_free and
61413	  EVENTSINK_Destructor.
61414
61415Sat Aug 25 17:52:06 2007  Koichi Sasada  <ko1@atdot.net>
61416
61417	* string.c, include/ruby/intern.h: export rb_str_length().
61418
61419	* insns.def: use rb_str_length() in opt_length.
61420
61421Sat Aug 25 17:48:51 2007  Koichi Sasada  <ko1@atdot.net>
61422
61423	* cont.c: rename FIBER_STACK_SIZE to FIBER_VM_STACK_SIZE.
61424
61425Sat Aug 25 17:05:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61426
61427	* io.c (swallow): removed condition using an unset variable.
61428
61429	* parse.y, re.c: re-applied revision 13092.
61430
61431	* string.c (rb_str_splice): return from void function.
61432
61433	* include/ruby/encoding.h (rb_enc_str_new): prototype added.
61434
61435Sat Aug 25 11:45:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61436
61437	* encoding.c: provide basic features for M17N.
61438
61439	* parse.y: encoding aware parsing.
61440
61441	* parse.y (pragma_encoding): encoding specification pragma.
61442
61443	* parse.y (rb_intern3): encoding specified symbols.
61444
61445	* string.c (rb_str_length): length based on characters.
61446	  for older behavior, bytesize method added.
61447
61448	* string.c (rb_str_index_m): index based on characters.  rindex as
61449	  well.
61450
61451	* string.c (succ_char): encoding aware succeeding string.
61452
61453	* string.c (rb_str_reverse): reverse based on characters.
61454
61455	* string.c (rb_str_inspect): encoding aware string description.
61456
61457	* string.c (rb_str_upcase_bang): encoding aware case conversion.
61458	  downcase, capitalize, swapcase as well.
61459
61460	* string.c (rb_str_tr_bang): tr based on characters.  delete,
61461	  squeeze, tr_s, count as well.
61462
61463	* string.c (rb_str_split_m): split based on characters.
61464
61465	* string.c (rb_str_each_line): encoding aware each_line.
61466
61467	* string.c (rb_str_each_char): added.  iteration based on
61468	  characters.
61469
61470	* string.c (rb_str_strip_bang): encoding aware whitespace
61471	  stripping.  lstrip, rstrip as well.
61472
61473	* string.c (rb_str_justify): encoding aware justifying (ljust,
61474	  rjust, center).
61475
61476	* string.c (str_encoding): get encoding attribute from a string.
61477
61478	* re.c (rb_reg_initialize): encoding aware regular expression
61479
61480	* sprintf.c (rb_str_format): formatting (i.e. length count) based
61481	  on characters.
61482
61483	* io.c (rb_io_getc): getc to return one-character string.
61484	  for older behavior, getbyte method added.
61485
61486	* ext/stringio/stringio.c (strio_getc): ditto.
61487
61488	* io.c (rb_io_ungetc): allow pushing arbitrary string at the
61489	  current reading point.
61490
61491	* ext/stringio/stringio.c (strio_ungetc): ditto.
61492
61493	* ext/strscan/strscan.c: encoding support.
61494
61495Sat Aug 25 10:59:19 2007  Koichi Sasada  <ko1@atdot.net>
61496
61497	* cont.c: separate Continuation and Fiber from core.
61498
61499	* ext/continuation/*, ext/fiber/*: ditto.
61500
61501	* include/ruby/ruby.h: remove rb_cFiber.
61502
61503	* include/ruby/intern.h: add the rb_fiber_new() declaration.
61504
61505	* enumerator.c (next_init): fix to use rb_fiber_new().
61506
61507	* test/ruby/test_enumerator.rb: remove next? tests.
61508
61509	* test/ruby/test_continuation.rb: add a require 'continuation'.
61510
61511	* test/ruby/test_fiber.rb: add a require 'fiber'.
61512
61513Sat Aug 25 10:20:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61514
61515	* common.mk (prelude.o): depends on vm_core.h now.
61516
61517	* common.mk (prelude.c): depends on tool/compile_prelude.rb too.
61518
61519	* common.mk (prereq): updates all auto-generated sources.
61520
61521	* tool/compile_prelude.rb: separated dynamic and static portions.
61522
61523Sat Aug 25 10:05:17 2007  Koichi Sasada  <ko1@atdot.net>
61524
61525	* prelude.rb: add Thread.exclusive.  This class method
61526	  is different from 1.8's.  Thread.exclusive only does
61527	  synchronize with VM global mutex.
61528
61529Sat Aug 25 09:39:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61530
61531	* array.c (rb_ary_s_try_convert): more document description.
61532
61533	* re.c (rb_reg_s_try_convert): typo fixed.
61534
61535Sat Aug 25 08:54:12 2007  Koichi Sasada  <ko1@atdot.net>
61536
61537	* id.h, id.c: remove idFuncall.
61538
61539	* compile.c (iseq_specialized_instruction): ditto.
61540
61541Sat Aug 25 08:47:28 2007  Koichi Sasada  <ko1@atdot.net>
61542
61543	* tool/compile_prelude.rb: fix to include "vm_core.h".
61544
61545Sat Aug 25 03:49:14 2007  Tanaka Akira  <akr@fsij.org>
61546
61547	* test/ruby/sentence.rb (Sentence): include Enumerable.
61548	  (Sentence#each): defined.
61549
61550	* test/ruby/test_assignment.rb: use Sentence#expand.
61551
61552Sat Aug 25 03:08:57 2007  Koichi Sasada  <ko1@atdot.net>
61553
61554	* prelude.rb: fix Mutex#synchronize definition.
61555
61556Sat Aug 25 02:08:45 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61557
61558	* array.c (rb_ary_s_try_convert): a new class method to convert
61559	  object or nil if it's not target-type.  this mechanism is used
61560	  to convert types in the C implemented methods.
61561
61562	* hash.c (rb_hash_s_try_convert): ditto.
61563
61564	* io.c (rb_io_s_try_convert): ditto.
61565
61566	* re.c (rb_reg_s_try_convert): ditto.
61567
61568	* string.c (rb_str_s_try_convert): ditto.
61569
61570Sat Aug 25 00:49:44 2007  Koichi Sasada  <ko1@atdot.net>
61571
61572	* benchmark/bm_loop_generator.rb: added.
61573
61574Sat Aug 25 00:22:31 2007  Koichi Sasada  <ko1@atdot.net>
61575
61576	* prelude.rb: added.  run this script on startup.
61577
61578	* tool/compile_prelude.rb: compile prelude.rb to C string.
61579	  (prelude.rb -> prelude.c)
61580
61581	* common.mk: fix to build with prelude.c.
61582
61583	* inits.c (rb_call_inits): ditto.
61584
61585	* thread.c (Init_Thread): move definition of Mutex#synchronize
61586	  to prelude.rb.
61587
61588Sat Aug 25 00:08:43 2007  Koichi Sasada  <ko1@atdot.net>
61589
61590	* compile.c (compile_massign_opt): fix to skip massign optimization
61591	  with global variables.
61592
61593	* bootstraptest/test_massign.rb: add some tests for above.
61594
61595Fri Aug 24 18:42:03 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61596
61597	* test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.
61598
61599	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize):
61600	  initialize @workdir to stop warning.
61601
61602Fri Aug 24 18:30:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61603
61604	* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block):
61605	  replace funcall by send!.  other files in the distribution as well.
61606
61607Fri Aug 24 17:06:56 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61608
61609	* eval.c (rb_f_send_bang): abandon the name funcall for private
61610	  aware method call.
61611
61612Fri Aug 24 15:27:12 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61613
61614	* enumerator.c (enumerator_next): stop pre-fetching.
61615
61616	* enumerator.c (Init_Enumerator): remove next? method.
61617
61618Fri Aug 24 15:14:57 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61619
61620	* eval.c (rb_f_loop): now handles StopIteration exception.
61621
61622Thu Aug 23 20:31:31 2007  Koichi Sasada  <ko1@atdot.net>
61623
61624	* compile.c: optimize simple massign.
61625
61626Thu Aug 23 20:02:25 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
61627
61628	* ext/win32ole/win32ole.c (reg_get_value): use RegQueryValueEx instead
61629	  of RegQueryValueEx.
61630
61631	* ext/win32ole/win32ole.c (typelib_file_from_clsid): fix the bug
61632	  that the function always returns Qnil.
61633
61634	* test/win32ole/test_win32ole_type.rb (test_initialize): add some test.
61635
61636Thu Aug 23 17:25:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61637
61638	* configure.in (group_member): check if presents.
61639
61640	* configure.in (XCFLAGS): add _GNU_SOURCE on linux.
61641
61642	* file.c (group_member): use system routine if available.
61643
61644	* process.c: moved _GNU_SOURCE macro to Makefile.
61645
61646Thu Aug 23 16:59:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61647
61648	* compile.c (compile_massign), insnhelper.ci (vm_throw): not use C99
61649	  comment.
61650
61651	* cont.c (rb_cont_call, fiber_switch, rb_fiber_resume, rb_fiber_yield):
61652	  suppress warnings.
61653
61654	* cont.c (rb_fiber_start): change on non-volatile variable between
61655	  setjmp and longjmp may not has an effect.
61656
61657	* enumerator.c (sym_call): initialize first.
61658
61659	* enumerator.c (enum_iter): typedefed.
61660
61661	* enumerator.c (next_i): suppress a warning.
61662
61663Thu Aug 23 16:04:11 2007  Koichi Sasada  <ko1@atdot.net>
61664
61665	* compile.c, insns.def, parse.y: fix massign order.  This change
61666	  causes performance problem.  Try vm1_swap benchmark.
61667	  [ruby-dev:31522]
61668
61669	* insns.def, insnhelper.ci: move process body of expandarray insn to
61670	  vm_expandarray().
61671
61672	* bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb:
61673	  move a solved test.
61674
61675Thu Aug 23 15:51:19 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61676
61677	* parse.y (f_norm_arg): ripper has no shadowing check.
61678
61679	* parse.y (f_block_arg): dispatch blkarg_mark.
61680
61681Thu Aug 23 15:48:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61682
61683	* compile.c (make_masgn_lhs, iseq_compile_each): fixed indent.
61684
61685	* compile.c (iseq_translate_threaded_code),
61686	  vm_evalbody.ci (get_insns_address_table),
61687	  template/vmtc.inc.tmpl (insns_address_table): constified.
61688
61689	* vm_evalbody.ci (vm_eval),
61690	  template/insns_info.inc.tmpl (insn_stack_increase, insn_ret_num):
61691	  suppress warnings.
61692
61693Thu Aug 23 13:19:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61694
61695	* parse.y (f_norm_arg): check also nested arguments.  [ruby-dev:31502]
61696
61697Thu Aug 23 00:06:48 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61698
61699	* util.c: updated for ANSI C only.  applied a patch from
61700	  <snakagawa AT infoteria.co.jp>.  [ruby-dev:31591]
61701
61702Thu Aug 23 00:04:45 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61703
61704	* missing/strtod.c: removed.  [ruby-dev:31588]
61705
61706	* LEGAL: updated.
61707
61708Wed Aug 22 15:59:44 2007  Koichi Sasada  <ko1@atdot.net>
61709
61710	* bootstraptest/test_knownbug.rb:
61711	  fix typo of filename (test_knownbug.rb).
61712
61713Wed Aug 22 14:04:53 2007  Koichi Sasada  <ko1@atdot.net>
61714
61715	* bootstraptest/test_knownbug.rb: added.  This file will contain
61716	  test cases which point out known bug.  If bug is fixed, tests
61717	  should move to the suitable place.
61718
61719	* bootstraptest/test_massign.rb: move a test which show known bug
61720	  to test_knownbug.rb.
61721
61722Wed Aug 22 13:02:26 2007  Tanaka Akira  <akr@fsij.org>
61723
61724	* bootstraptest/runner.rb (in_temporary_working_directory):
61725	  don't remove the directory specified by --dir.
61726
61727Wed Aug 22 05:51:23 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61728
61729	* util.c (ruby_strtod): replaced by the implementation by David
61730	  M. Gay inspired by William D. Clinger's paper "How to Read Floating
61731	  Point Numbers Accurately" [Proc. ACM SIGPLAN '90, pp. 92-101].
61732	  a patch from Satoshi Nakagawa <snakagawa AT infoteria.co.jp>.
61733	  [ruby-dev:31582]
61734
61735	* test/ruby/test_float.rb (TestFloat::test_float): add test for
61736	  precision.
61737
61738Wed Aug 22 03:51:07 2007  Koichi Sasada  <ko1@atdot.net>
61739
61740	* cont.c: add Fiber#resume and Fiber.yield.
61741	  and Fiber::Core class to realize Coroutine.
61742
61743	* include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume().
61744
61745	* enumerator.c: use above api.
61746
61747	* test/ruby/test_fiber.rb: fix and add tests for above changes.
61748
61749Tue Aug 21 21:09:48 2007  Tanaka Akira  <akr@fsij.org>
61750
61751	* lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable.
61752	  suggested by knu.  [ruby-dev:31568]
61753
61754Tue Aug 21 15:00:23 2007  Koichi Sasada  <ko1@atdot.net>
61755
61756	* st.c (st_clear): reset num_entries too.
61757
61758Tue Aug 21 13:57:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61759
61760	* hash.c (st_foreach_func, rb_foreach_func): typedefed.
61761
61762	* hash.c (rb_hash_clear): use st_clear() unless iterating.
61763
61764	* st.c (struct st_table_entry): add new members, fore and back, to
61765	  iterate in inserted order.
61766
61767	* include/ruby/st.h (struct st_table): ditto.
61768
61769Tue Aug 21 04:09:06 2007  Koichi Sasada  <ko1@atdot.net>
61770
61771	* benchmark/bm_vm2_case.rb: add a new benchmark.
61772	  YARV optimize case/when syntax.  If every conditions
61773	  are literal (such as Symbol, Fixnum, String), dispatch
61774	  calc order will be O(1).
61775
61776Tue Aug 21 04:08:07 2007  Koichi Sasada  <ko1@atdot.net>
61777
61778	* test/ruby/test_enumerator.rb: fix last commit.
61779
61780Tue Aug 21 03:59:32 2007  Koichi Sasada  <ko1@atdot.net>
61781
61782	* test_enumerator.rb (enum_test): fix to return sorted
61783	  array (for Hash test).
61784
61785Tue Aug 21 03:55:20 2007  Koichi Sasada  <ko1@atdot.net>
61786
61787	* enumerator.c (next_i): fix to return with Fiber#yield at
61788	  the end of each block.  [ruby-dev:31470]
61789
61790	* enumerator.c (enumerator_next_p): call init_next if not
61791	  initialized.  [ruby-dev:31514]
61792
61793	* test/ruby/test_enumerator.rb: add tests for Enumerator.
61794
61795Mon Aug 20 23:28:39 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
61796
61797	* string.c (Init_String): remove Symbol.intern and Symbol#dump.
61798	  [ruby-dev:31525]
61799
61800	* dir.c (dir_foreach): return Enumerator if no block given.
61801	  [ruby-dev:31525]
61802
61803	* io.c (rb_io_s_foreach): argument count check before making
61804	  Enumerator.  [ruby-dev:31525]
61805
61806Mon Aug 20 23:17:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61807
61808	* vm_core.h (struct rb_thread_struct): removed first_func_arg and
61809	  reuse first_args instead.
61810
61811Sun Aug 19 13:31:40 2007  Tanaka Akira  <akr@fsij.org>
61812
61813	* gc.c: use VALGRIND_MAKE_MEM_UNDEFINED to detect use of collected
61814	  objects if valgrind is available.  It cannot detect first 2 words
61815	  because they are used as the free list.
61816
61817Sun Aug 19 13:13:52 2007  Koichi Sasada  <ko1@atdot.net>
61818
61819	* compile.c (iseq_compile_each/NODE_RESBODY): fix to add
61820	  additional nop to prevent tailcall optimization.
61821
61822	* vm_opts.h: clean up comments.
61823
61824Sun Aug 19 12:58:39 2007  Koichi Sasada  <ko1@atdot.net>
61825
61826	* insnhelper.ci (vm_call_bmethod): fix to propagate information
61827	  that this proc is "from Method".  [ruby-dev:31490]
61828
61829	* proc.c (method_proc, rb_mod_define_method): ditto.
61830
61831	* vm.c (vm_invoke_proc_core): removed.
61832
61833	* vm_core.h: ditto.
61834
61835Sun Aug 19 12:36:11 2007  Tanaka Akira  <akr@fsij.org>
61836
61837	* test/ruby/sentence.rb: new method Sentence().
61838
61839Sun Aug 19 12:32:39 2007  Koichi Sasada  <ko1@atdot.net>
61840
61841	* insnhelper.ci (vm_callee_setup_arg): fix to mark enough VM stack.
61842	  [ruby-dev:31492]
61843
61844Sat Aug 18 19:02:34 2007  Tanaka Akira  <akr@fsij.org>
61845
61846	* test/ruby/test_yield.rb (TestYieldGen): relax array size check
61847	  in nested parameters.
61848	  [ruby-dev:31485]
61849
61850Sat Aug 18 17:44:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61851
61852	* ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc().
61853
61854Sat Aug 18 17:40:11 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61855
61856	* thread.c (is_ruby_native_thread): check properly.  [ruby-dev:31166]
61857
61858Sat Aug 18 16:44:15 2007  Koichi Sasada  <ko1@atdot.net>
61859
61860	* insnhelper.ci (vm_call_bmethod),
61861	  vm.c (vm_invoke_proc_core): fix to do not restore
61862	  $SAFE when proc invoked by bmethod.
61863
61864	* vm_core.h: ditto.
61865
61866Sat Aug 18 16:44:49 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61867
61868	* eval_error.ci (ruby_error_print): call error_print.
61869
61870	* eval_jump.ci, process.c (rb_exit, rb_f_exit, rb_f_abort): moved.
61871
61872Sat Aug 18 15:59:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61873
61874	* process.c (detach_process_watcher): should not pass the pointer
61875	  to an auto variable to the thread to be created.  pointed and
61876	  fix by KUBO Takehiro <kubo at jiubao.org>  [ruby-dev:30618]
61877
61878Sat Aug 18 15:52:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61879
61880	* insnhelper.ci (vm_send_optimize): use MEMMOVE to shift values inside
61881	  an array.
61882
61883Sat Aug 18 15:45:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61884
61885	* insnhelper.ci (vm_yield_setup_args): rsize and psize should not be
61886	  negative.
61887
61888Sat Aug 18 14:35:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61889
61890	* insnhelper.ci (vm_callee_setup_arg, vm_send_optimize,
61891	  vm_yield_setup_args): bulk copy for arguments.
61892
61893Sat Aug 18 13:55:58 2007  Koichi Sasada  <ko1@atdot.net>
61894
61895	* compile.c (iseq_compile_each): fix to allow self.x=
61896	  if x= is private.
61897
61898	* bootstraptest/test_method.rb: add a test for above.
61899
61900Sat Aug 18 14:05:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61901
61902	* parse.y (reg_compile_gen): obtain error info from errinfo.
61903
61904	* re.c (rb_reg_error_desc): make RegexpError for initialization error.
61905
61906	* re.c (rb_reg_compile): return nil and set errinfo if error.
61907
61908Sat Aug 18 13:23:01 2007  Koichi Sasada  <ko1@atdot.net>
61909
61910	* eval.c: $! should not be writable.
61911
61912	* eval.c (rb_rubylevel_errinfo): added.  rb_errinfo() returns
61913	  rb_thread_t#errinfo.  rb_rubylevel_errinfo() returns $! value.
61914
61915Sat Aug 18 13:14:40 2007  Koichi Sasada  <ko1@atdot.net>
61916
61917	* insnhelper.ci (vm_callee_setup_arg): fix to check arguments
61918	  correctly. [ruby-dev:31472]
61919
61920Sat Aug 18 13:13:06 2007  Koichi Sasada  <ko1@atdot.net>
61921
61922	* bootstraptest/test_exception.rb: add escape character ("\") for
61923	  editors.
61924
61925Sat Aug 18 12:42:50 2007  Tanaka Akira  <akr@fsij.org>
61926
61927	* test/ruby/test_yield.rb (TestYieldGen): add test for yielding to
61928	  lambda using lambda parameter passing emulator.
61929
61930Sat Aug 18 12:24:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61931
61932	* sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep
61933	  comment lines first.
61934
61935Sat Aug 18 11:44:59 2007  Koichi Sasada  <ko1@atdot.net>
61936
61937	* compile.c (iseq_set_arguments), insnhelper.ci
61938	  (vm_callee_setup_arg, vm_yield_setup_args):
61939	  fix to cause raise on "lambda{|a|}.call(1, 2)".
61940	  [ruby-dev:31464]
61941
61942	* bootstraptest/test_block.rb: add tests for above.
61943
61944Sat Aug 18 01:12:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
61945
61946	* eval.c (frame_func_id): return proper method ID.
61947
61948Fri Aug 17 22:43:11 2007  Koichi Sasada  <ko1@atdot.net>
61949
61950	* compile.c (iseq_compile_each): massign should return rvalue(s).
61951
61952Fri Aug 17 22:10:19 2007  Koichi Sasada  <ko1@atdot.net>
61953
61954	* test/ruby/test_basicinstructions.rb: fix old tests.
61955	  class variables should be inherited.
61956
61957Fri Aug 17 21:20:44 2007  Koichi Sasada  <ko1@atdot.net>
61958
61959	* eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias),
61960	  insnhelper.ci (vm_call_method): fix to save safelevel for
61961	  method node.
61962
61963	* include/ruby/node.h: ditto.
61964
61965	* bootstraptest/test_method.rb: add a test for above.
61966
61967Fri Aug 17 16:02:50 2007  Koichi Sasada  <ko1@atdot.net>
61968
61969	* thread.c (rb_thread_terminate_all): fix to ignore
61970	  exceptions.
61971
61972	* thread.c (thread_start_func_2): fix
61973	  abort_on_exception process.  [ruby-dev:31394]
61974
61975Fri Aug 17 14:38:36 2007  Tanaka Akira  <akr@fsij.org>
61976
61977	* bootstraptest/runner.rb (in_temporary_working_directory): use
61978	  Dir.mktmpdir to create and remove temporary directory.
61979	  (Dir.mktmpdir): define if not available.
61980	  [ruby-dev:31431]
61981
61982Fri Aug 17 03:07:37 2007  Koichi Sasada  <ko1@atdot.net>
61983
61984	* compile.c (iseq_compile_each): fix throw insn option of next.
61985
61986Fri Aug 17 01:25:23 2007  Koichi Sasada  <ko1@atdot.net>
61987
61988	* compile.c (iseq_set_arguments), insnhelper.ci
61989	  (vm_callee_setup_arg, vm_yield_setup_args): fix
61990	  block parameter problems. [ruby-dev:31437], [ruby-dev:31440]
61991
61992	* bootstraptest/test_block.rb: add a test of [ruby-dev:31440].
61993
61994Fri Aug 17 01:24:12 2007  Koichi Sasada  <ko1@atdot.net>
61995
61996	* iseq.c (ruby_iseq_disasm): fix to show arg_simple value.
61997
61998Fri Aug 17 01:21:29 2007  Koichi Sasada  <ko1@atdot.net>
61999
62000	* insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361]
62001
62002Thu Aug 16 20:40:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62003
62004	* bignum.c (bigtrunc): RBIGNUM(x)->len may be zero.  out of bound
62005	  access.  [ruby-dev:31404]
62006
62007	* sprintf.c (rb_str_format): small float should not call
62008	  rb_dbl2big().
62009
62010Thu Aug 16 22:10:06 2007  Koichi Sasada  <ko1@atdot.net>
62011
62012	* compile.c (iseq_compile_each): fix next/redo stack consistency.
62013	  [ruby-dev:31373]
62014
62015	* bootstraptest/test_syntax.rb: add tests for above.
62016
62017	* sample/test.rb: fix to use __FILE__ instead of $0 to know basedir.
62018
62019Thu Aug 16 21:14:06 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
62020
62021	* configure.in (BASERUBY): need AC_SUBST.  [ruby-dev:31438]
62022
62023Thu Aug 16 19:18:26 2007  Tanaka Akira  <akr@fsij.org>
62024
62025	* test/ruby/sentence.rb: Sentence class implemented
62026	  based on sentgen.rb
62027
62028	* test/ruby/sentgen.rb: removed.
62029
62030	* test/ruby/test_assignment.rb: use sentence.rb.
62031
62032	* test/ruby/test_yield.rb: block parameter passing emulator
62033	  implemented.
62034
62035Thu Aug 16 16:48:47 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62036
62037	* configure.in (BASERUBY): check if base ruby is runnable first.
62038	  [ruby-core:11900]
62039
62040Thu Aug 16 16:46:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62041
62042	* configure.in (aix): enable shared by default.
62043
62044	* configure.in (aix): for 64bit-mode AIX.  [ruby-dev:31401]
62045	  + use CC for LDSHARED if non-gcc,
62046	  + moved -G option from *LDFLAGS to LDSHARED,
62047	  + set -brtl only in XLDFLAGS.
62048
62049Thu Aug 16 13:06:08 2007  Tanaka Akira  <akr@fsij.org>
62050
62051	* bignum.c (big_lshift): make shift offset long type.
62052	  (big_rshift): ditto.
62053	  (rb_big_lshift): ditto.
62054	  (big_rshift): ditto.
62055	  [ruby-dev:31434]
62056
62057Thu Aug 16 06:29:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62058
62059	* io.c (argf_readpartial): argf_forward needs argc and argv.
62060
62061Thu Aug 16 02:47:39 2007  Koichi Sasada  <ko1@atdot.net>
62062
62063	* cont.c (rb_fiber_m_yield): added.  use this function
62064	  for Fiber#yield instead of rb_fiber_yield.
62065
62066Thu Aug 16 00:36:52 2007  Tanaka Akira  <akr@fsij.org>
62067
62068	* lib/tmpdir.rb (Dir.mktmpdir): new method.  [ruby-dev:31416]
62069
62070Wed Aug 15 18:57:30 2007  Koichi Sasada  <ko1@atdot.net>
62071
62072	* gc.c (os_live_obj): fix to skip T_VALUES.
62073
62074	* sample/test.rb: add an ObjectSpace test.
62075
62076Wed Aug 15 16:49:04 2007  Koichi Sasada  <ko1@atdot.net>
62077
62078	* inits.c (rb_call_inits): change initializing order.
62079	  [ruby-dev:31420]
62080
62081Wed Aug 15 16:44:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62082
62083	* io.c (ARGF_FORWARD): wrongly compares with current_file with
62084	  rb_stdout.  should be rb_stdin.  [ruby-cvs:20177]
62085
62086Wed Aug 15 14:59:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62087
62088	* io.c (rb_io_initialize, argf_each_line, argf_each_byte): suppress
62089	  warnings.
62090
62091Wed Aug 15 14:22:05 2007  Koichi Sasada  <ko1@atdot.net>
62092
62093	* parse.y: remove "//" type comment.
62094
62095Wed Aug 15 13:42:15 2007  Koichi Sasada  <ko1@atdot.net>
62096
62097	* parse.y: fix rules around f_margs.  "make test" passes all tests.
62098
62099	* bootstraptest/test_block.rb: add some tests for above.
62100
62101Wed Aug 15 13:50:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62102
62103	* hash.c (rb_hash_delete_key): delete the entry without calling block.
62104
62105	* hash.c (rb_hash_shift): should consider iter_lev too.
62106
62107	* hash.c (delete_if_i): use rb_hash_delete_key() so that the block
62108	  isn't called twice.  [ruby-core:11556]
62109
62110Wed Aug 15 13:39:25 2007  Koichi Sasada  <ko1@atdot.net>
62111
62112	* process.c (proc_geteuid): fix strange conversion.  [ruby-dev:31417]
62113
62114Wed Aug 15 01:05:55 2007  Tanaka Akira  <akr@fsij.org>
62115
62116	* bootstraptest/runner.rb (assert_check): don't call newtest.
62117	  (assert_equal): call newtest.
62118	  (assert_match): ditto.
62119
62120Tue Aug 14 21:43:39 2007  Tanaka Akira  <akr@fsij.org>
62121
62122	* bootstraptest/runner.rb (assert_check): new method.
62123	  (assert_match): new method.
62124	  (assert_equal): use assert_check.
62125	  (pretty): give failure description as an argument.
62126
62127	* bootstraptest/test_exception.rb: use assert_match to describe the
62128	  test for [ruby-dev:31407].  [ruby-dev:31412]
62129
62130Tue Aug 14 19:53:15 2007  Koichi Sasada  <ko1@atdot.net>
62131
62132	* proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move
62133	  init place of exception_error.
62134
62135	* inits.c: ditto.
62136
62137	* eval.c (Init_eval): set exception_error#throwed_state as TAG_FATAL.
62138	  [ruby-dev:31407]
62139
62140	* bootstraptest/test_exception.rb: add a test for above.
62141
62142Tue Aug 14 19:51:20 2007  Koichi Sasada  <ko1@atdot.net>
62143
62144	* common.mk: change test order (test -> btest).
62145
62146Tue Aug 14 00:04:27 2007  Kouhei Sutou  <kou@cozmixng.org>
62147
62148	* lib/rss/rss.rb: 0.1.8 -> 0.1.9.
62149
62150	* test/rss/test_version.rb: followed the above change.
62151
62152	* lib/rss/parser.rb: fixed a bug that handles unintended elements.
62153	  Thanks to Takuo Yonezawa. [ruby-list:43841]
62154
62155Mon Aug 13 17:23:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62156
62157	* eval.c (rb_clear_trace_func, rb_thread_stop_timer_thread):
62158	  declarations for forward references.
62159
62160	* eval.c (rb_longjmp, eval): use local variable.
62161
62162	* eval.c (rb_longjmp): string object not to be optimized.
62163
62164Mon Aug 13 13:21:58 2007  Tanaka Akira  <akr@fsij.org>
62165
62166	* lib/open-uri.rb: make ftp passive mode to avoid NAT problem.
62167	  [ruby-dev:31377]
62168
62169Mon Aug 13 09:18:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62170
62171	* ext/stringio/stringio.c (strio_getc): should returns
62172	  one-character string.
62173
62174	* ext/stringio/stringio.c: remove unnecessary prototypes.
62175
62176	* ext/stringio/stringio.c (strio_getbyte): new method.
62177
62178	* ext/stringio/stringio.c (strio_readbyte): new method.
62179
62180	* ext/stringio/stringio.c (strio_ungetc): should take a string as
62181	  an input.
62182
62183Mon Aug 13 08:19:43 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62184
62185	* io.c (argf_close): always close via method.
62186
62187	* io.c (Init_IO): remove obsolete Kernel#getc.
62188
62189Mon Aug 13 05:03:53 2007  Koichi Sasada  <ko1@atdot.net>
62190
62191	* thread.c (rb_thread_raise): check if target thread is
62192	  thrown by another thread or not.  [ruby-dev:31371]
62193
62194	* bootstraptest/test_thread.rb: add a test for above.
62195
62196Mon Aug 13 04:35:30 2007  Koichi Sasada  <ko1@atdot.net>
62197
62198	* compile.c (iseq_peephole_optimize): fix peephole optimization
62199	  bug. [ruby-dev:31360]
62200
62201	* bootstraptest/test_syntax.rb: add a test for above.
62202
62203Mon Aug 13 04:02:29 2007  Koichi Sasada  <ko1@atdot.net>
62204
62205	* vm_dump.c (debug_print_pre): fix to show control frame count.
62206
62207	* insns.def (opt_call_c_function): fix operand type.
62208
62209	* lib/vm/instruction.rb: ditto.
62210
62211	* insnhelper.ci (vm_push_frame, vm_pop_frame): fix to show
62212	  control stack status on if VMDEBUG == 2.
62213
62214	* vm.h: add a comment about VMDEBUG.
62215
62216	* iseq.c (find_prev_line_no): fix to skip bug report if
62217	  line is not found.
62218
62219	* lib/vm/instruction.rb: fix to use build_string() on
62220	  source code generators.
62221
62222Mon Aug 13 03:57:32 2007  Koichi Sasada  <ko1@atdot.net>
62223
62224	* template/yasmdata.rb.tmpl: fix type and name.
62225
62226Sat Aug 11 23:27:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62227
62228	* io.c (argf_each_line): should use #each_line, not #each.
62229
62230	* io.c (argf_each_line): simplified.
62231
62232	* io.c (argf_getline): should handle non T_FILE object in ARGV.
62233
62234	* io.c (argf_each_byte): each_byte should yield bytes not
62235	  one-character strings.  [ruby-dev:31374]
62236
62237Sat Aug 11 07:24:55 2007  Tadayoshi Funaba  <tadf@dotrb.org>
62238
62239	* lib/date/format.rb: reverted some wrongly erased "o" options
62240	  (pointed out by nobu).
62241
62242Sat Aug 11 00:01:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62243
62244	* thread.c (thread_start_func_2): not re-raise to main thread if it is
62245	  joining the current thread.
62246
62247Fri Aug 10 23:54:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62248
62249	* thread.c (thread_create_core): inherit the priority of creating
62250	  thread.  submitted at [ruby-core:11873] by David Flanagan <david AT
62251	  davidflanagan.com>.  [ruby-core:11876]
62252
62253Fri Aug 10 05:12:19 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62254
62255	* thread.c (thread_start_func_2): let abort_on_exception work.
62256	  [ruby-core:11873]
62257
62258Fri Aug 10 04:47:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62259
62260	* parse.y (internal_id_gen): internal ID must be bigger than
62261	  tLAST_TOKEN.
62262
62263Thu Aug  9 16:04:55 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62264
62265	* parse.y (stmt): check if rhs has value before assignment instead
62266	  inside node_assign_gen().  [ruby-dev:31293]
62267
62268	* parse.y (call_bin_op_gen, call_uni_op_gen): split call_op_gen.
62269
62270Thu Aug  9 14:01:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62271
62272	* parse.y (f_marg_list): renamed from f_marg_head.
62273
62274	* parse.y (f_margs): allow multiple mandatory arguments after a splat.
62275	  [ruby-dev:31153]
62276
62277Thu Aug  9 02:02:02 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62278
62279	* enum.c (enum_cycle): typo fixed.  a patch from Kazuhiro
62280	  NISHIYAMA <zn AT mbf.nifty.com>.  [ruby-dev:31362]
62281
62282Wed Aug  8 19:17:40 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62283
62284	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): no longer check
62285	  HAVE_RB_IO_STDIO_FILE.
62286
62287Wed Aug  8 15:52:01 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62288
62289	* enumerator.c (enumerator_next_p): should check correctly even when
62290	  e.next has not been called before.
62291
62292	* enumerator.c (enumerator_next): raise StopIteration (name taken
62293	  from Python) instead of IndexError.
62294
62295	* enum.c (enum_zip): catch StopIteration exception.
62296
62297	* enumerator.c (enumerator_with_index): return Enumerator if no
62298	  block is given.
62299
62300	* test/ruby/test_iterator.rb (TestIterator::test_enumerator): add
62301	  test for enumerators.
62302
62303Wed Aug  8 11:48:37 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62304
62305	* bignum.c (rb_big2str0): should not use RTEST for non-VALUE.
62306
62307Wed Aug  8 11:25:25 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
62308
62309	* bignum.c (rb_big2str0): should preserve sign mark.
62310
62311Wed Aug  8 11:02:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62312
62313	* common.mk (btest-miniruby, test-sample): split the test target
62314	  so that -k option works.
62315
62316Tue Aug  7 14:58:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62317
62318	* ext/pty/pty.c (establishShell): handshaking before close slave
62319	  device.  [ruby-talk:263410]
62320
62321	* ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): constified.
62322
62323	* ext/pty/pty.c (SlaveName): removed static buffer.
62324
62325	* ext/pty/expect_sample.rb: support for autologin.
62326
62327Tue Aug  7 13:58:03 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62328
62329	* include/ruby/ruby.h (ruby_special_consts): added RUBY_SPECIAL_SHIFT.
62330
62331	* .gdbinit: some improvements.
62332
62333Tue Aug  7 13:28:32 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62334
62335	* common.mk (node_name.inc): use $? instead of $< for nmake.
62336	  [ruby-dev:31356]
62337
62338Tue Aug  7 12:45:13 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62339
62340	* configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.
62341	  [ruby-Bugs-12859]
62342
62343Tue Aug  7 12:31:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62344
62345	* io.c (pipe_open): fix for win32 platforms.
62346
62347Tue Aug  7 02:58:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62348
62349	* bignum.c (rb_big2str0): make Bignum#to_s even faster.  a patch
62350	  from Kenta Murata <muraken AT gmail.com>.  [ruby-dev:31354]
62351
62352Tue Aug  7 01:42:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62353
62354	* enum.c (enum_zip): zip no longer converts arguments into
62355	  arrays, uses enumerators.
62356
62357Tue Aug  7 01:27:47 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62358
62359	* cont.c (rb_fiber_yield): change argument ordering.  export.
62360
62361	* cont.c (rb_fiber_current): export
62362
62363	* include/ruby/intern.h: export several functions from cont.c.
62364
62365	* enumerator.c (enumerator_next): new method to implement external
62366	  iterator (generator) using fiber.
62367
62368	* enumerator.c (enumerator_next_p): new method to check whether
62369	  any element is left in the generator sequence.
62370
62371	* enumerator.c (enumerator_rewind): a new method to rewind the
62372	  generator sequence.
62373
62374Tue Aug  7 01:15:24 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62375
62376	* enum.c (enum_cycle): new method to cycle enumerable forever.
62377
62378Tue Aug  7 00:05:38 2007  Keiju Ishitsuka  <keiju@ruby-lang.org>
62379
62380	* irb/ruby-lex.rb: support for '\c'. [ruby-talk:263508]
62381
62382Mon Aug  6 20:29:22 2007  Koichi Sasada  <ko1@atdot.net>
62383
62384	* insnhelper.ci, insns.def: move some statements to functions.
62385
62386	* vm.c, vm.h, vm_evalbody.ci: fix include/typedef places.
62387
62388Mon Aug  6 18:41:12 2007  Koichi Sasada  <ko1@atdot.net>
62389
62390	* lib/vm/instruction.rb (make_header_analysys): fix last commit.
62391
62392Mon Aug  6 18:33:22 2007  Koichi Sasada  <ko1@atdot.net>
62393
62394	* lib/vm/instruction.rb (make_header_analysys): add to separate
62395	  header addition process.
62396
62397Mon Aug  6 17:36:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62398
62399	* lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
62400
62401Mon Aug  6 16:57:08 2007  Koichi Sasada  <ko1@atdot.net>
62402
62403	* sample/test.rb: fix to output file name if it contains
62404	  invalid syntax.
62405
62406Mon Aug  6 16:41:22 2007  Koichi Sasada  <ko1@atdot.net>
62407
62408	* parse.y (value_expr_gen): fix to cause "void value expression"
62409	  when jump expression such as "next" are shown on value_expr().
62410	  [ruby-dev:31119]
62411
62412	* bootstraptest/test_syntax.rb: fix to above change.
62413
62414Mon Aug  6 14:36:30 2007  Koichi Sasada  <ko1@atdot.net>
62415
62416	* parse.y: fix a f_marg rule. [ruby-dev:31160]
62417
62418Mon Aug  6 14:29:30 2007  Koichi Sasada  <ko1@atdot.net>
62419
62420	* bootstraptest/runner.rb (assert_equal): add additional
62421	  message parameter.
62422
62423Mon Aug  6 13:34:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62424
62425	* common.mk (INSNS): not chdir to srcdir.
62426
62427	* common.mk (node_name.inc): auto-generate node name list.
62428
62429	* iseq.c (ruby_node_name): ditto.
62430
62431	* iseq.c (iseq_s_compile_option_get, Init_ISeq): added a new
62432	  method VM::InstructionSequence::compile_option.
62433
62434	* lib/vm/instruction.rb (RubyVM::SourceCodeGenerator): --destdir
62435	  option.
62436
62437	* tool/node_name.rb: to auto-generate node name list.
62438
62439Sun Aug  5 11:51:39 2007  Kouhei Sutou  <kou@cozmixng.org>
62440
62441	* lib/rss, sample/rss, test/rss:
62442	- 0.1.7 -> 0.1.8.
62443	- supported <itunes:XXX>.
62444	- reverted backward incompatibility API changes introduced 0.1.7.
62445
62446Sun Aug  5 04:56:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62447
62448	* io.c (pipe_open_v, pipe_open_s): separate array and string
62449	  cases.  [ruby-dev:31344]
62450
62451Fri Aug  3 11:05:54 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62452
62453	* ext/extmk.rb (extmake): save all CONFIG values.
62454
62455	* ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at
62456	  distclean, respectively.
62457
62458	* ext/extmk.rb: remove rdoc at clean, and installed list file at
62459	  distclean, respectively.
62460
62461Fri Aug  3 07:09:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62462
62463	* lib/mkmf.rb: more verbose message.  [ruby-Bugs-12766]
62464
62465	* lib/mkmf.rb (have_type): suppress a warning with -Wall.
62466
62467	* lib/mkmf.rb (find_type): new method.
62468
62469Fri Aug  3 00:00:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62470
62471	* bignum.c (big2str_table): base cannot be 0 or 1.
62472
62473Thu Aug  2 23:42:57 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62474
62475	* parse.y (reg_compile_gen): set error if failed to compile regexp
62476	  literal.  [ruby-dev:31336]
62477
62478	* re.c (option_to_str, arg_kcode, opt_kcode): options conversion
62479	  between int and string.
62480
62481	* re.c (rb_reg_compile): should not use regexp which could not get
62482	  initialized.  [ruby-dev:31333]
62483	  return error message to let the parser know it.
62484
62485	* re.c (rb_reg_compile): append regexp options to error message.
62486	  [ruby-dev:31334]
62487
62488Thu Aug  2 22:05:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62489
62490	* bignum.c (rb_big2str0): faster Bignum#to_s using Karatsuba
62491	  algorithm.  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
62492	  in [ruby-dev:31312], slightly modified by Kenta Murata
62493	  <muraken AT gmail.com> in [ruby-dev:31339].
62494
62495Thu Aug  2 13:46:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62496
62497	* sprintf.c (rb_f_sprintf): should not check positional number as
62498	  width.  [ruby-core:11838]
62499
62500Wed Aug  1 12:40:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62501
62502	* generic.rb (URI::Generic::merge_path): behave as RFC 3986.
62503	  [ruby-talk:252052]
62504
62505Tue Jul 31 23:38:09 2007  Tadayoshi Funaba  <tadf@dotrb.org>
62506
62507	* lib/date/format.rb (_parse): now interprets slashed numerical
62508	  dates as a big endian (except dd/mm/yyyy). [experimental]
62509
62510Mon Jul 30 11:16:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62511
62512	* bignum.c (rb_big_aref): check for Bignum index range.
62513	  [ruby-dev:31271]
62514
62515Sat Jul 28 09:35:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62516
62517	* ext/digest/lib/digest.rb (Digest::self.const_missing): avoid
62518	  infinite recursive const_missing call.  [ruby-talk:262193]
62519
62520Thu Jul 26 20:40:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62521
62522	* range.c (range_eqq): call_super() in === does not work well
62523	  since Enumerable#=== has different behavior.  [ruby-dev:31296]
62524
62525Thu Jul 26 13:57:45 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62526
62527	* dln.c (load_1, dln_find_1): constified.
62528
62529	* dln.c (conv_to_posix_path): removed.
62530
62531	* ruby.c (usage): constified.
62532
62533	* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return
62534	  VALUE instead of a pointer to static buffer.
62535
62536	* ruby.c (push_include_cygwin): fixed buffer overflow.
62537	  [ruby-dev:31297]
62538
62539	* ruby.c (ruby_init_loadpath): not convert built-in paths.
62540
62541Tue Jul 24 10:37:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62542
62543	* io.c (rb_f_p): return nil if no argument.  [ruby-dev:31285]
62544
62545Tue Jul 24 01:05:07 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62546
62547	* regint.h (USE_MATCH_RANGE_IS_COMPLETE_RANGE): undef to achieve old
62548	  rindex behavior.  [ruby-dev:31265]
62549
62550Mon Jul 23 18:37:14 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62551
62552	* include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0.  fixes
62553	  some memory violation.  [ruby-dev:31070]
62554
62555Sun Jul 22 20:09:49 2007  Tadayoshi Funaba  <tadf@dotrb.org>
62556
62557	* lib/date/format.rb (Date._parse): now accepts some new
62558	  hints. [experimental]
62559
62560	* lib/parsedate.rb: followed the changes on
62561	  lib/date/format.rb. [experimental]
62562
62563Sun Jul 22 16:06:56 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62564
62565	* thread.c (is_ruby_native_thread): made an int function as
62566	  well as version 1.8.
62567
62568	* include/ruby/ruby.h (is_ruby_native_thread): moved prototype
62569	  from intern.h as well as version 1.8.
62570
62571Sun Jul 22 14:33:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62572
62573	* file.c (rb_file_s_rename): deleted code to get rid of a bug of
62574	  old Cygwin.
62575
62576	* file.c (rb_file_truncate): added prototype of GetLastError()
62577	  on cygwin.  [ruby-dev:31239]
62578
62579	* include/ruby/intern.h (is_ruby_native_thread): prototype.
62580
62581	* missing/strftime.c (strftime): fix printf format and actual
62582	  arguments.
62583
62584	* ext/Win32API/Win32API.c (Win32API_initialize): ditto.
62585
62586	* ext/tk/tcltklib.c (ip_finalize): ditto.
62587
62588	* ext/win32ole/win32ole.c (lcid_installed): ditto.
62589
62590	* ext/socket/getnameinfo.c: include stdio.h always.
62591
62592Sat Jul 21 21:39:12 2007  Tadayoshi Funaba  <tadf@dotrb.org>
62593
62594	* lib/date.rb, lib/date/format.rb (Date._parse): now can take some
62595	  hints (its aim must be mainly determination of endianness of
62596	  date). [experimental]
62597
62598	* lib/date.rb, lib/date/format.rb (Date._parse): now completes
62599	  truncated year as default action. [experimental]
62600
62601	* lib/date.rb, lib/date/format.rb: added ::iso8601, ::rfc3339,
62602	  ::xmlschema, ::rfc2822, ::httpdate, ::jisx0301, #xmlschema,
62603	  #httpdate. [experimental]
62604
62605Sat Jul 21 17:48:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62606
62607	* common.mk: inverted rules order.
62608
62609	* thread_win32.ci (w32_create_thread): bcc does not have
62610	  _beginthreadex().
62611
62612	* lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H
62613	  only if extconf.h is created.
62614
62615	* bcc32/Makefile.sub: headers have moved.
62616
62617	* bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args
62618	  support.
62619
62620	* bcc32/setup.mak: check runtime version.
62621
62622	* win32/win32.c (rb_w32_open_osfhandle): prototype has changed
62623	  in bcc 5.82.
62624
62625	* {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.
62626
62627	* win32/resource.rb: include patchlevel number.
62628
62629Sat Jul 21 12:06:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62630
62631	* lib/mkmf.rb (init_mkmf): should remove mkmf.log too.
62632
62633Sat Jul 21 01:45:03 2007  Tadayoshi Funaba  <tadf@dotrb.org>
62634
62635	* lib/date/format.rb (Date._parse): completes calendar week based year.
62636
62637	* lib/date/format.rb (Date._parse): detects year of ordinal date in
62638	  extended format.
62639
62640Fri Jul 20 16:30:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62641
62642	* compile.c (iseq_set_sequence): raise SyntaxError instead of rb_bug
62643	  since this function can be called from VM::InstructionSequence.load.
62644
62645	* compile.c (insn_set_sc_state, iseq_set_sequence_stackcaching): ditto.
62646
62647Fri Jul 20 16:11:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62648
62649	* compile.c, compile.h (DECL_ANCHOR, INIT_ANCHOR): split not to
62650	  initialize aggregations with dynamic values.  [ruby-talk:259306]
62651
62652	* eval.c (rb_protect): not to initialize aggregations with dynamic
62653	  values.  [ruby-talk:259306]
62654
62655	* gc.c (mark_current_machine_context): ditto.
62656
62657	* thread.c (thgroup_list, call_trace_func): ditto.
62658
62659	* vm.c (vm_init_redefined_flag): ditto.
62660
62661Fri Jul 20 15:22:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62662
62663	* ext/openssl/ossl_config.c (ossl_config_set_section): do not
62664	  initialize aggregations with dynamic values.  [ruby-talk:259306]
62665
62666Fri Jul 20 10:39:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62667
62668	* parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummy
62669	  NODE_BEGIN after errors.  [ruby-dev:31100], [ruby-dev:31118]
62670
62671	* parse.y (remove_begin): keep empty NODE_BEGIN, instead of null.
62672	  [ruby-dev:31252], [ruby-dev:31263]
62673
62674Fri Jul 20 09:50:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62675
62676	* bootstraptest/runner.rb (get_result_string): check $?.coredump?
62677	  first.
62678
62679	* bootstraptest/runner.rb (cleanup_coredump, check_coredump): see
62680	  stackdump file too.
62681
62682Thu Jul 19 20:39:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62683
62684	* parse.y (value_expr_gen): warn for empty expression ().
62685	  [ruby-dev:31252]
62686
62687Thu Jul 19 19:24:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62688
62689	* eval_error.ci (get_backtrace): check the result more.
62690	  [ruby-dev:31261] [ruby-bugs-12398]
62691
62692Thu Jul 19 14:38:45 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62693
62694	* bignum.c (rb_big_lshift, rb_big_rshift): separated functions
62695	  to get rid of infinite recursion.  fixed calculation in edge
62696	  cases.  [ruby-dev:31244]
62697
62698	* numeric.c (rb_fix_lshift, rb_fix_rshift): ditto.
62699
62700Wed Jul 18 16:57:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62701
62702	* bignum.c (rb_big_pow): refine overflow check.  [ruby-dev:31242]
62703
62704Wed Jul 18 09:19:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62705
62706	* parse.y (rb_parser_append_print, rb_parser_while_loop): moved check
62707	  for node to the head.
62708
62709	* ruby.c (proc_options): do nothing for -p/-n options if tree is null.
62710	  submitted by Yusuke ENDOH <mame AT tsg.ne.jp> at [ruby-dev:31243].
62711
62712Wed Jul 18 08:47:09 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62713
62714	* time.c (time_succ): Time#succ should return a time object in the
62715	  same timezone mode to the original.  [ruby-talk:260256]
62716
62717Mon Jul 16 23:07:51 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62718
62719	* lib/base64.rb (Base64::b64encode): should not specify /o option
62720	  for regular expression.  [ruby-dev:31221]
62721
62722Mon Jul 16 22:57:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62723
62724	* sprintf.c (rb_str_format): make %u behave like %d for negative
62725	  values, since decimal format does not work with preceding dots.
62726	  [ruby-core:11575]
62727
62728Mon Jul 16 18:29:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62729
62730	* string.c (rb_str_rindex_m): accept string-like object convertible
62731	  with #to_str method, as well as rb_str_index_m.  [ruby-core:11692]
62732
62733Mon Jul 16 07:17:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62734
62735	* insns.def (getspecial): lfp_svar_get() requires int for special
62736	  global variables.
62737
62738Mon Jul 16 05:45:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62739
62740	* sprintf.c (rb_f_sprintf): more checks for format argument.
62741	  [ruby-core:11569], [ruby-core:11570], [ruby-core:11571],
62742	  [ruby-core:11573]
62743
62744Mon Jul 16 00:26:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62745
62746	* bignum.c (rb_big_pow): removed invariant variable.  [ruby-dev:31236]
62747
62748Sun Jul 15 22:24:37 2007  pegacorn  <subscriber.jp AT gmail.com>
62749
62750	* ext/dl/cfunc.c (rb_dlcfunc_call): adjust format.  [ruby-dev:31222]
62751
62752	* ext/digest/digest.c (rb_digest_instance_update,
62753	  rb_digest_instance_finish, rb_digest_instance_reset,
62754	  rb_digest_instance_block_length): %s in rb_raise() expects char*.
62755	  [ruby-dev:31222]
62756
62757	* ext/openssl/ossl.h: include ossl_pkcs5.h.  [ruby-dev:31231]
62758
62759	* ext/openssl/ossl_pkcs5.h: new file for PKCS5.  [ruby-dev:31231]
62760
62761	* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise()
62762	  instead of rb_raise().  [ruby-dev:31222]
62763
62764	* ext/sdbm/_sdbm.c: DOSISH platforms need io.h.  [ruby-dev:31232]
62765
62766	* ext/syck/syck.h: include stdlib.h for malloc() and free().
62767	  [ruby-dev:31232]
62768
62769	* ext/syck/syck.h (syck_parser_set_input_type): prototype added.
62770	  [ruby-dev:31231]
62771
62772	* win32/win32.c: include mbstring.h for _mbspbrk().  [ruby-dev:31232]
62773
62774	* include/ruby/win32.h (rb_w32_getcwd): prototype added.
62775	  [ruby-dev:31232]
62776
62777Sun Jul 15 21:07:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62778
62779	* bignum.c (bigtrunc): do not empty Bignum.  [ruby-dev:31229]
62780
62781Sun Jul 15 19:05:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62782
62783	* bignum.c (rb_cstr_to_inum): check leading non-digits.
62784	  [ruby-core:11691]
62785
62786Sun Jul 15 04:42:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62787
62788	* bignum.c (get2comp): do nothing for empty Bignum.  [ruby-dev:31225]
62789
62790Sat Jul 14 22:49:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62791
62792	* numeric.c (fix_pow): integer power calculation: 0**n => 0,
62793	  1**n => 1, -1**n => 1 (n: even) / -1 (n: odd).
62794
62795	* test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test
62796	  suite.  pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf.
62797
62798Sat Jul 14 18:46:35 2007  Tanaka Akira  <akr@fsij.org>
62799
62800	* configure.in: add --with-valgrind.
62801
62802	* gc.h (SET_MACHINE_STACK_END): new macro to replace
62803	  rb_gc_set_stack_end.  it find out accurate stack boundary by
62804	  asm using gcc on x86.
62805
62806	* thread.c (rb_gc_set_stack_end): don't define if asm-version
62807	  SET_MACHINE_STACK_END is available.
62808
62809	* gc.c (mark_current_machine_context): extracted from garbage_collect.
62810	  it use SET_MACHINE_STACK_END to not scan out of stack area.
62811	  it notify conservative GC information to valgrind if
62812	  --with-valgrind.
62813
62814Sat Jul 14 14:04:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62815
62816	* enum.c (sort_by_cmp): check if reentered.  [ruby-dev:24291]
62817
62818Sat Jul 14 11:08:28 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62819
62820	* ext/json/ext/generator/generator.c (check_max_nesting): wrong
62821	  format specifier.  a patch from pegacorn <subscriber.jp AT gmail.com>.
62822	  [ruby-dev:31217]
62823
62824Sat Jul 14 02:27:43 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62825
62826	* numeric.c (int_pow): overflow detection using FIT_SQRT_LONG().
62827	  [ruby-dev:31215]
62828
62829Sat Jul 14 02:05:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62830
62831	* insns.def (opt_div): LONG2FIX() may not work for corner cases,
62832	  use LONG2NUM() instead.  [ruby-dev:31210]
62833
62834Sat Jul 14 00:34:01 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62835
62836	* numeric.c (int_round): should not return false, but self.
62837	  [ruby-dev:31212]
62838
62839Fri Jul 13 18:31:27 2007  Koichi Sasada  <ko1@atdot.net>
62840
62841	* include/ruby/intern.h: remove unused function declarations.
62842
62843	* include/ruby/ruby.h: ditto.
62844
62845Fri Jul 13 17:32:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62846
62847	* vm.c (vm_free): clear free'ed living_threads field.
62848	  [ruby-dev:31163]
62849
62850	* insns.def (opt_succ): use cast to shut a warning up.
62851
62852Fri Jul 13 16:10:00 2007  Tanaka Akira  <akr@fsij.org>
62853
62854	* lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access
62855	  http_proxy environment variable to avoid case insensitive
62856	  environment search.
62857
62858Fri Jul 13 15:02:15 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62859
62860	* win32/win32.c (CreateChild): enclose command line except for
62861	  command.com which can not handle quotes.  [ruby-talk:258939]
62862
62863Fri Jul 13 11:33:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62864
62865	* range.c (range_max, range_min): return nil for empty set as well as
62866	  1.8 and Enumerable.  [ruby-dev:31198]
62867
62868Fri Jul 13 11:28:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
62869
62870	* parse.y (bvar): semicolon was lost for ripper description.
62871	  [ruby-dev:31140]
62872
62873Fri Jul 13 11:25:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62874
62875	* parse.y (program, stmt, primary): reduced duplicated code.
62876
62877	* parse.y (dsym): convert also literals containing NUL to
62878	  symbol.
62879
62880	* parse.y (debug_lines): use rb_hash_lookup() to get rid of
62881	  call of Hash#default.
62882
62883	* parse.y (ripper_warningS): unused in ripper right now.
62884
62885Fri Jul 13 10:33:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62886
62887	* array.c (rb_ary_flatten_bang): check argument if valid
62888	  integer.  [ruby-dev:31197]
62889
62890Fri Jul 13 10:10:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62891
62892	* lib/mkmf.rb (link_command, cc_command, cpp_command): do not expand
62893	  ::CONFIG which is an alias of MAKEFILE_CONFIG.
62894
62895Thu Jul 12 21:38:02 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
62896
62897	* insns.def (opt_succ): use LONG_MAX as maximum Fixnum VALUE.
62898	  [ruby-dev:31199]
62899
62900Thu Jul 12 18:42:18 2007  Tanaka Akira  <akr@fsij.org>
62901
62902	* range.c (range_max): use FIX2LONG instead of FIX2INT to avoid
62903	  RangeError by ((-0x80000001)...(-0x80000001)).max on LP64.
62904
62905	* insns.def (opt_plus): use FIX2LONG instead of FIX2INT to avoid
62906	  RangeError by 0x3fffffffffffffff+1 on LP64.
62907
62908	* insns.def (opt_succ): don't use 0x80000000 which assumes 32bit VALUE.
62909	  use FIX2LONG instead of FIX2INT.
62910	  [ruby-dev:31190]
62911
62912Thu Jul 12 17:03:15 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62913
62914	* struct.c (rb_struct_init_copy): disallow changing the size.
62915	  [ruby-dev:31168]
62916
62917Thu Jul 12 12:58:21 2007  Koichi Sasada  <ko1@atdot.net>
62918
62919	* blockinlining.c: remove "yarv" prefix.
62920
62921	* array.c, numeric.c: ditto.
62922
62923	* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
62924
62925	* yarvcore.c: removed.
62926
62927	* yarvcore.h: renamed to core.h.
62928
62929	* cont.c, debug.c, error.c, process.c, signal.c : ditto.
62930
62931	* ext/probeprofiler/probeprofiler.c: ditto.
62932
62933	* id.c, id.h: added.
62934
62935	* inits.c: ditto.
62936
62937	* compile.c: rename internal functions.
62938
62939	* compile.h: fix debug flag.
62940
62941	* eval.c, object.c, vm.c: remove ruby_top_self.
62942	  use rb_vm_top_self() instead.
62943
62944	* eval_intern.h, eval_load: ditto.
62945
62946	* gc.c: rename yarv_machine_stack_mark() to
62947	  rb_gc_mark_machine_stack().
62948
62949	* insnhelper.h: remove unused macros.
62950
62951	* iseq.c: add iseq_compile() to create iseq object
62952	  from source string.
62953
62954	* proc.c: rename a internal function.
62955
62956	* template/insns.inc.tmpl: remove YARV prefix.
62957
62958	* thread.c: use rb_iseq_eval() and rb_str_new2().
62959
62960	* vm.c (rb_iseq_eval): added.
62961
62962	* vm.c: move some functions from yarvcore.c.
62963
62964	* vm_dump.c: fix to remove compiler warning.
62965
62966Thu Jul 12 12:24:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62967
62968	* insns.def (opt_succ): fixed typo.  [ruby-dev:31189]
62969
62970Thu Jul 12 10:30:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
62971
62972	* thread.c (thread_start_func_2): moved prototye from thread_*.ci.
62973
62974	* thread_pthread.ci (thread_start_func_2): not use a directive
62975	  inside a macro argument.  [ruby-talk:258763]
62976
62977	* thread.c (thread_join): pthread_t may not be pointer.
62978
62979	* thread_pthread.ci (ubf_select_each): ditto.
62980
62981Thu Jul 12 05:32:28 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
62982
62983	* include/ruby/ruby.h (FIX2ULONG): drop sign bit for LLP64 platform.
62984
62985Tue Jul 10 19:34:45 2007  Koichi Sasada  <ko1@atdot.net>
62986
62987	* hash.c (rb_hash_lookup): added.  this function is similar to
62988	  rb_hash_aref(), but doesn't call Hash#default when no entry
62989	  exists.
62990
62991	* include/ruby/intern.h: ditto.
62992
62993	* insnhelper.ci (lfp_svar_get): use rb_hash_lookup().
62994
62995Tue Jul 10 19:16:28 2007  Koichi Sasada  <ko1@atdot.net>
62996
62997	* eval.c, insnhelper.ci, vm.c: change cref index (-1 -> 2).
62998
62999Tue Jul 10 18:49:56 2007  Koichi Sasada  <ko1@atdot.net>
63000
63001	* eval.c (exec_under): add proper casts.
63002
63003Tue Jul 10 16:58:16 2007  Koichi Sasada  <ko1@atdot.net>
63004
63005	* vm.c, insnhelper.ci: fix svar interface.
63006
63007	* compile.c (iseq_compile_each), yarvcore.h: fix to use new
63008	  svar interface for flip flop.
63009
63010	* eval.c: ditto.
63011
63012	* insns.def: ditto.
63013
63014	* include/ruby/intern.h: remove "rb_svar()" declaration.
63015
63016Tue Jul 10 16:52:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63017
63018	* compile.c (rb_iseq_compile): formatted if/else to switch statement.
63019
63020Tue Jul 10 15:57:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63021
63022	* bootstraptest/test_flip.rb: new test for flip-flop operator.
63023
63024Tue Jul 10 14:50:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63025
63026	* bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.
63027
63028Mon Jul  9 02:17:36 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63029
63030	* cont.c (cont_restore_1): workaround for x64-mswin64's SEH.
63031
63032Sun Jul  8 02:08:53 2007  NARUSE, Yui  <naruse@ruby-lang.org>
63033
63034	* lib/json.rb, lib/json/, ext/json/: import JSON 1.1.1
63035
63036Sat Jul  7 21:59:29 2007  Tanaka Akira  <akr@fsij.org>
63037
63038	* lib/pp.rb (PP::PPMethods#pp_hash): sort condition changed:
63039	  all keys have a same class which is kind of Comparable.
63040
63041Sat Jul  7 17:12:37 2007  Koichi Sasada  <ko1@atdot.net>
63042
63043	* compile.c: use rb_bug() instead of rb_compile_error().
63044
63045Sat Jul  7 16:12:48 2007  Koichi Sasada  <ko1@atdot.net>
63046
63047	* parse.y: fix node construction (around f_margs).
63048	  [ruby-dev:31143]
63049
63050	* bootstraptest/test_block.rb: add a test for above.
63051
63052	* insnhelper.ci: fix indent.
63053
63054Sat Jul  7 15:36:50 2007  Tanaka Akira  <akr@fsij.org>
63055
63056	* lib/pp.rb (PP::PPMethods#pp_hash): sort if
63057	  all keys are strings, symbols or integers.
63058
63059Sat Jul  7 15:30:05 2007  Koichi Sasada  <ko1@atdot.net>
63060
63061	* insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:
63062	  fix to pass nil as block parameter to yielded block.
63063	  [ruby-dev:31147]
63064
63065	* bootstraptest/test_block.rb: add a test for above.
63066
63067Fri Jul  6 19:55:10 2007  Keiju Ishitsuka  <keiju@ruby-lang.org>
63068
63069	* lib/irb.rb: typo. Thanks, Giles Bowkett.
63070
63071	* lib/irb/completion.rb: support Ruby1.9 changing return value
63072	  String to Symbol for Object#methods, etc. [ruby-dev:31148].
63073
63074Fri Jul  6 18:20:50 2007  Koichi Sasada  <ko1@atdot.net>
63075
63076	* bootstraptest/runner.rb: fix load path.
63077
63078	* common.mk: fix "test" rule to run with "btest".
63079
63080	* rubytest.rb, sample/test.rb: fix to show tests progress.
63081
63082Fri Jul  6 15:37:48 2007  Koichi Sasada  <ko1@atdot.net>
63083
63084	* test/ruby/test_iterator.rb: fix test to 1.9 spec.
63085
63086Fri Jul  6 15:21:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63087
63088	* eval.c (rb_interrupt): suppress a gcc's officious warning.
63089
63090Fri Jul  6 14:57:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63091
63092	* parse.y (keyword_to_name): constified.
63093
63094	* ext/ripper/eventids2.c (token_to_eventid): ditto.
63095
63096Fri Jul  6 14:50:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63097
63098	* bootstraptest/runner.rb: added --quiet option.
63099
63100Fri Jul  6 14:35:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63101
63102	* parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.
63103	  [ruby-dev:31141]
63104
63105Fri Jul  6 12:15:01 2007  Tanaka Akira  <akr@fsij.org>
63106
63107	* test/ruby/sentgen.rb: new file.
63108
63109	* test/ruby/test_assignment.rb: tests implemented using assignment
63110	  generator and emulator.
63111
63112Fri Jul  6 03:06:58 2007  Koichi Sasada  <ko1@atdot.net>
63113
63114	* insns.def: remove unused code.
63115
63116	* compile.c (compile_massign): fix to invoke to_splat on
63117	  splat rhs (example: *a = *nil). [ruby-dev:31136]
63118
63119	* bootstraptest/test_massign.rb: add tests for above.
63120
63121	* compile.c (iseq_compile_each): disable excess optimization.
63122	  [ruby-dev:31126]
63123
63124Fri Jul  6 02:08:25 2007  Koichi Sasada  <ko1@atdot.net>
63125
63126	* insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.
63127	  [ruby-dev:31138].
63128
63129	* bootstraptest/test_literal.rb: add tests for above.
63130
63131Thu Jul  5 19:45:55 2007  Koichi Sasada  <ko1@atdot.net>
63132
63133	* yarvcore.h: rename rb_control_frame_t#magic to flag.
63134
63135	* vm.h: add VM_FRAME_TYPE() and VM_FRAME_FLAG().
63136
63137	* cont.c, insnhelper.ci, insns.def, vm.c, vm_dump.c,
63138	  vm_evalbody.ci, yarvcore.c: apply above changes.
63139
63140Thu Jul  5 19:16:14 2007  Koichi Sasada  <ko1@atdot.net>
63141
63142	* test/ruby/test_basicinstructions.rb: remove an assertion using
63143	  unsupported hash literal (such as {1, 2}).
63144
63145	* test/ruby/test_hash.rb: ditto.
63146
63147Thu Jul  5 19:12:22 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63148
63149	* ruby.c: Qfalse is VALUE, not pointer.
63150
63151Thu Jul  5 18:42:01 2007  Koichi Sasada  <ko1@atdot.net>
63152
63153	* compile.c (iseq_compile_each): add break catch point.
63154
63155	* insns.def (throw): support correct "break" and "return".
63156	  this commit achieve that "make test" passes all tests.
63157
63158	* vm.c: ditto.
63159
63160Thu Jul  5 18:44:12 2007  Tanaka Akira  <akr@fsij.org>
63161
63162	* parse.y (mlhs_basic): use mlhs_post after tSTAR.
63163	  [ruby-dev:31109]
63164
63165Thu Jul  5 18:27:58 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63166
63167	* include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
63168	  eval_load.c, gc.c, iseq.c, main.c, parse.y, re.c, ruby.c,
63169	  yarvcore.[ch] (ruby_eval_tree, ruby_sourcefile, ruby_sourceline,
63170	  ruby_nerrs): purge global variables.
63171
63172	* ruby.c (proc_options): moved do_print and do_loop options
63173	  handling from ruby_process_options().
63174
63175Thu Jul  5 16:37:34 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63176
63177	* numeric.c (int_pow): fix previous nubu's commit.
63178
63179	* test/ruby/test_fixnum.rb: new test.
63180
63181Thu Jul  5 15:56:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63182
63183	* numeric.c (int_pow): even number multiplication never be negative.
63184
63185Thu Jul  5 10:42:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63186
63187	* include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
63188	  support.  [ruby-dev:31066]
63189
63190	* .gdbinit: some improvements.
63191
63192Thu Jul  5 10:13:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63193
63194	* parse.y (global_symbols.last_id): reduce unused ID numbers.
63195
63196	* include/ruby/st.h, st.c (st_init_table, st_init_table_with_size):
63197	  constified.
63198
63199Wed Jul  4 23:36:27 2007  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
63200
63201	* lib/webrick/httpauth/authenticator.rb
63202	  (WEBrick::HTTPAuth::Authenticator#check_scheme): auth-scheme must be
63203	  treated as a case-insensitive token according to RFC 2617 section 1.2.
63204
63205Wed Jul  4 18:30:04 2007  Tanaka Akira  <akr@fsij.org>
63206
63207	* parse.y (mlhs_inner): new rule.  [ruby-dev:31132]
63208
63209Wed Jul  4 05:11:57 2007  Koichi Sasada  <ko1@atdot.net>
63210
63211	* iseq.c (set_relation): added.
63212
63213Wed Jul  4 04:58:30 2007  Koichi Sasada  <ko1@atdot.net>
63214
63215	* insnhelper.ci (caller_setup_args): fix to show correct class
63216	  on an error message (ex: m(&1)). [ruby-dev:31101]
63217
63218Wed Jul  4 04:30:32 2007  Koichi Sasada  <ko1@atdot.net>
63219
63220	* compile.c (compile_array, iseq_compile_each): fix about array
63221	  generation in void context. [ruby-dev:31102]
63222
63223	* bootstraptest/test_literal.rb: add a test for above.
63224
63225Wed Jul  4 04:07:00 2007  Koichi Sasada  <ko1@atdot.net>
63226
63227	* compile.c (compile_array): ignore NODE_ZARRAY.
63228	  [ruby-dev:31110]
63229
63230	* bootstraptest/test_method.rb: add a test for above.
63231
63232Wed Jul  4 04:04:02 2007  Koichi Sasada  <ko1@atdot.net>
63233
63234	* compile.h: fix debug print level.
63235
63236Wed Jul  4 03:52:55 2007  Koichi Sasada  <ko1@atdot.net>
63237
63238	* compile.c (iseq_compile_each): support v[&b]= type method call.
63239	  [ruby-dev:31094]
63240
63241	* bootstraptest/test_method.rb: add a test for above.
63242
63243Wed Jul  4 03:43:29 2007  Koichi Sasada  <ko1@atdot.net>
63244
63245	* compile.c (compile_massign): fix massign compilation
63246	  (example: a, *v, (*x) = ...).  [ruby-dev:31107]
63247
63248	* bootstraptest/test_massign.rb: add tests for above.
63249
63250Tue Jul  3 23:12:29 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63251
63252	* include/ruby/onigiruma.h (ONIG_EXTERN): use RUBY_EXTERN if defined.
63253
63254	* regenc.h: include ruby/defines.h.
63255
63256	* regint.h: x64-mswin64 support.
63257
63258Tue Jul  3 13:47:44 2007  Koichi Sasada  <ko1@atdot.net>
63259
63260	* cont.c (cont_save_machine_stack): clear saved_thread.machine_stack*.
63261
63262Mon Jul  2 21:45:53 2007  Koichi Sasada  <ko1@atdot.net>
63263
63264	* compile.c: rename iseq_translate_direct_threaded_code()
63265	  to iseq_translate_threaded_code().
63266
63267	* eval_intern.h, yarvcore.h: mv EXEC_EVENT_HOOK() and
63268	  exec_event_hooks() to yarvcore.h.
63269
63270	* insnhelper.ci, vm.c: mv yarv_finish_insn_seq to vm.c.
63271
63272	* insns.def (opt_call_c_function): fix to use RESTORE_REGS().
63273
63274	* iseq.c (rb_iseq_build_for_ruby2cext): fix to allocate iseq.
63275
63276Mon Jul  2 11:59:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63277
63278	* insns.def (defineclass): suppress a warning.
63279
63280	* insns.def (opt_call_c_function): should raise the thrown exception
63281	  instead of returning it.
63282
63283Mon Jul  2 08:53:47 2007  Koichi Sasada  <ko1@atdot.net>
63284
63285	* eval_intern.h, yarvcore.h: move declaration of sysstack_error
63286	  to yarvcore.h.
63287
63288	* iseq.c: fix symbol name (:toplevel -> :top).
63289
63290	* lib/vm/instruction.rb, template/vm.inc.tmpl: replaceable
63291	  current file name.
63292
63293Mon Jul  2 05:29:07 2007  Koichi Sasada  <ko1@atdot.net>
63294
63295	* compile.c, iseq.c: fix iseq some of load/store process.
63296
63297Mon Jul  2 03:09:36 2007  Koichi Sasada  <ko1@atdot.net>
63298
63299	* yarvcore.h, compile.c, insnhelper.ci, iseq.c, vm.c:
63300	  rename structure names and field names.
63301
63302	* insnhelper.h, insns.def: add GET_CONST_INLINE_CACHE().
63303
63304	* iseq.c: add rb_iseq_build_for_ruby2cext().
63305
63306	* yarvcore.h, vm.h: move declaration of rb_insn_func_t
63307	  to yarvcore.h.
63308
63309Sun Jul  1 03:25:53 2007  Koichi Sasada  <ko1@atdot.net>
63310
63311	* insnhelper.h, vm.h: some refactoring.
63312	  remove useless comments, etc.
63313
63314Sun Jul  1 03:02:29 2007  Koichi Sasada  <ko1@atdot.net>
63315
63316	* yarvcore.h: some refactoring on rb_iseq_t.
63317	  rename some variable names, add comments, etc.
63318
63319	* compile.c, iseq.c, proc.c, vm.c: ditto.
63320
63321Sun Jul  1 02:57:57 2007  Koichi Sasada  <ko1@atdot.net>
63322
63323	* vm.h: rename insn_func_type to rb_insn_func_type.
63324
63325	* vm_evalbody.ci: ditto.
63326
63327	* insns.def: add opt_call_native_compiled instruction
63328	  instead of opt_call_native_compiled.
63329
63330Sat Jun 30 00:17:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63331
63332	* parse.y (parser_yylex): return non-valid token for an invalid
63333	  instance/class variable name.  a patch from Yusuke ENDOH
63334	  <mame AT tsg.ne.jp>.  [ruby-dev:31095]
63335
63336Fri Jun 29 23:38:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63337
63338	* parse.y (stmts): fix for ripper.
63339
63340Fri Jun 29 21:55:48 2007  Koichi Sasada  <ko1@atdot.net>
63341
63342	* parse.y: fix to show line number of blank block.
63343	  [ruby-dev:31093]
63344
63345Fri Jun 29 20:51:04 2007  Tanaka Akira  <akr@fsij.org>
63346
63347	* lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to
63348	  follow Ruby 1.8.
63349
63350Fri Jun 29 17:10:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63351
63352	* debug.h: constified.
63353
63354	* debug.c (ruby_set_debug_option): separated from main.c.
63355
63356	* gc.c (ruby_gc_stress), signal.c (ruby_enable_coredump): prefixed.
63357
63358Fri Jun 29 16:39:06 2007  Koichi Sasada  <ko1@atdot.net>
63359
63360	* proc.c (proc_new): fix to return a proc object
63361	  which block is contained ([ruby-dev:31056]).
63362
63363Fri Jun 29 15:43:59 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63364
63365	* numeric.c (fix_pow): get rid of division by zero.  reported by
63366	  Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:31040]
63367
63368	* numeric.c (int_round): do nothing when rounding by zeroth digit.
63369	  check underflow.  [ruby-dev:31043]
63370
63371Fri Jun 29 15:32:00 2007  Koichi Sasada  <ko1@atdot.net>
63372
63373	* configure.in: add fastcall attribute check.
63374
63375Fri Jun 29 14:51:24 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63376
63377	* parse.y (assoc_list): remove expanded hash literal (no splat).
63378
63379	* lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::EOFError): adapt
63380	  to new syntax.
63381
63382Fri Jun 29 14:48:18 2007  Koichi Sasada  <ko1@atdot.net>
63383
63384	* tool/insns2vm.rb, lib/vm/instruction.rb: move process body
63385	  to lib/vm/instruction.rb.
63386
63387	* common.mk: fix aotc rule.
63388	  experimental. bin/ruby2cext is not added yet.
63389
63390Fri Jun 29 11:23:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63391
63392	* parse.y (dsym): return non-null NODE even if yyerror().  based on a
63393	  patch from Yusuke ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:31085]
63394
63395Thu Jun 28 23:29:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63396
63397	* parse.y (assoc_list): odd number check only for NODE_ARRAY.
63398	  [ruby-dev:31082]
63399
63400Thu Jun 28 22:24:33 2007  Koichi Sasada  <ko1@atdot.net>
63401
63402	* win32/Makefile.sub: define FUNC_FASTCALL macro.
63403
63404	* vm.h: fix to use FUNC_FASTCALL macro.
63405	  TODO: add FUNC_FASTCALL macro by configure.
63406
63407Thu Jun 28 19:38:53 2007  Koichi Sasada  <ko1@atdot.net>
63408
63409	* compile.c: fix to remove -Wall warnings on gcc.
63410
63411	* compile.c (make_name_with_str): removed. use rb_sprintf() instead.
63412
63413Thu Jun 28 18:53:01 2007  Tanaka Akira  <akr@fsij.org>
63414
63415	* bignum.c (rb_big_hash): fix hash area.
63416
63417Thu Jun 28 15:00:06 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63418
63419	* ext/stringio/stringio.c (strio_getline): local variable to be
63420	  initialized.  [ruby-dev:31077]
63421
63422Thu Jun 28 11:30:39 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63423
63424	* gc.c (rb_obj_id): use SIGNED_VALUE instead of long.
63425
63426Thu Jun 28 05:01:56 2007  Koichi Sasada  <ko1@atdot.net>
63427
63428	* common.mk (run.gdb): fix to load $(srcdir)/.gdbinit
63429
63430	* vm.c (rb_vm_set_finish_env): add a cast.
63431
63432	* vm.h: support __fastcall for MSVC.
63433
63434Thu Jun 28 02:12:08 2007  Koichi Sasada  <ko1@atdot.net>
63435
63436	* bootstraptest/runner.rb: fix to untouch $:.
63437
63438Thu Jun 28 02:03:07 2007  Koichi Sasada  <ko1@atdot.net>
63439
63440	* compile.c (setup_args): change parameter type.
63441
63442Thu Jun 28 02:03:39 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63443
63444	* parse.y (rb_intern2): unconstify cast.
63445
63446Thu Jun 28 01:44:31 2007  Tanaka Akira  <akr@fsij.org>
63447
63448	* parse.y (rb_intern2): don't allocate a string object at first.
63449	  [ruby-dev:31064]
63450
63451Thu Jun 28 01:24:02 2007  Koichi Sasada  <ko1@atdot.net>
63452
63453	* bootstraptest/runner.rb: fix to show file name.
63454
63455	* bootstraptest/test_*.rb: add bootstrap tests.
63456
63457Thu Jun 28 01:22:15 2007  Koichi Sasada  <ko1@atdot.net>
63458
63459	* include/ruby/node.h, parse.y, gc.c, iseq.c: remove NODE_CREF.
63460
63461Thu Jun 28 01:19:43 2007  Koichi Sasada  <ko1@atdot.net>
63462
63463	* compile.c (iseq_compile_each): fix popped backref and others.
63464	  ([ruby-dev:31068]).
63465
63466	* compile.c (iseq_compile_each): remove needless statements.
63467
63468Wed Jun 27 23:51:33 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63469
63470	* win32/win32.c: remove unused functions.
63471
63472Wed Jun 27 20:46:05 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63473
63474	* include/ruby/win32.h, win32/Makefile.sub, win32/configure.bat,
63475	  win32/mkexports.rb, win32/setup.mak, win32/win32.c: import
63476	  x64-mswin64 port.
63477
63478Wed Jun 27 20:31:07 2007  Koichi Sasada  <ko1@atdot.net>
63479
63480	* compile.c (iseq_translate_direct_threaded_code): fix prototype
63481	  function name.
63482
63483	* vm.h: add correct cast.
63484
63485Wed Jun 27 17:08:42 2007  Koichi Sasada  <ko1@atdot.net>
63486
63487	* vm_evalbody.ci: support OPT_CALL_THREADED_CODE.
63488
63489	* insns.def, vm.c, vm.h: ditto.
63490
63491	* vm.h: add VM_CFP_CNT() and VM_SP_CNT().
63492
63493Wed Jun 27 04:23:47 2007  Koichi Sasada  <ko1@atdot.net>
63494
63495	* compile.c (iseq_compile_each): fix type error.
63496
63497Wed Jun 27 03:26:15 2007  Koichi Sasada  <ko1@atdot.net>
63498
63499	* compile.c (compile_massign), insns.def (expandarray): support
63500	  postarg with massign (a, *b, c = ...).
63501
63502	* bootstraptest/test_massign.rb: add tests for above.
63503
63504	* compile.h: fix debug macro names.
63505
63506Wed Jun 27 00:18:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63507
63508	* string.c (rb_str_clear): need to check STR_EMBED_P() before
63509	  free()ing memory.  a patch from Yusuke ENDOH <mame AT tsg.ne.jp>.
63510	  [ruby-dev:31062]
63511
63512Tue Jun 26 16:39:01 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63513
63514	* process.c (proc_getgroups): use GIDT2NUM for rb_gid_t.
63515
63516Tue Jun 26 16:28:24 2007  Koichi Sasada  <ko1@atdot.net>
63517
63518	* thread.c (rb_thread_wait_fd_rw): terminate fdset.
63519
63520Tue Jun 26 16:26:58 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63521
63522	* regint.h: IL32LLP64 support.
63523
63524Tue Jun 26 16:22:45 2007  Koichi Sasada  <ko1@atdot.net>
63525
63526	* iseq.c (ruby_node_name): update node names.
63527
63528Tue Jun 26 15:21:20 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63529
63530	* include/ruby/ruby.h: IL32LLP64 support.
63531
63532	* bignum.c (bigfixize, rb_cstr_to_inum): ditto.
63533
63534	* insns.def (opt_plus, opt_minus, opt_mult): ditto.
63535
63536Tue Jun 26 15:04:06 2007  Koichi Sasada  <ko1@atdot.net>
63537
63538	* cont.c (rb_fiber_s_new): revert initializing VM stack.
63539
63540	* yarvcore.c (th_init2): ditto.
63541
63542	* vm.c, vm.h: fix to stop using Qundef on VM stack.  According to
63543	  this change, VM stack should not include Qundef value.
63544
63545	* insns.def (putundef): removed.
63546
63547	* compile.c (iseq_compile_each): ditto.
63548
63549	* eval.c (eval): fix spacing.
63550
63551Tue Jun 26 04:03:50 2007  Koichi Sasada  <ko1@atdot.net>
63552
63553	* insnhelper.ci (vm_yield_with_cfunc), proc.c: fix Method#to_proc
63554	  to return lambda Proc ([ruby-dev:31021], [ruby-dev:31037]).
63555
63556Tue Jun 26 03:46:08 2007  Koichi Sasada  <ko1@atdot.net>
63557
63558	* cont.c (rb_fiber_s_new): fix to clear rb_thread_t#tag.
63559	  [ruby-dev:30995]
63560
63561Tue Jun 26 03:38:31 2007  Koichi Sasada  <ko1@atdot.net>
63562
63563	* cont.c (rb_fiber_s_new), yarvcore.c (th_init2): fix to clear
63564	  VM stack ([ruby-dev:31046]).
63565
63566Tue Jun 26 03:15:27 2007  Koichi Sasada  <ko1@atdot.net>
63567
63568	* compile.c: rename setup_arg() to setup_args().
63569	  fix to use setup_args() at processing NODE_YIELD.
63570
63571Tue Jun 26 02:50:24 2007  Koichi Sasada  <ko1@atdot.net>
63572
63573	* compile.c (setup_arg): support kind of "m(*ary, x)" method call.
63574	  ([ruby-dev:31048]).
63575
63576Tue Jun 26 00:28:44 2007  Koichi Sasada  <ko1@atdot.net>
63577
63578	* insnhelper.ci, vm.c: complete block parameter support.
63579	  post arguments, optional arguments, block argument.
63580
63581	* compile.c, parse.y: fix {|a|} parameter.
63582
63583	* insnshelper.ci, insns.def: revert caller_setup_args() option
63584	  (need_block_check) parameter.
63585
63586Mon Jun 25 20:18:44 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63587
63588	* gc.c (RVALUE): in RVALUE and RBasic, flags must be the same type.
63589
63590Mon Jun 25 18:02:55 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63591
63592	* ext/pty/extconf.rb: skip wince and win64.
63593
63594Mon Jun 25 17:59:32 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
63595
63596	* include/ruby/node.h (NODE_LMASK, nd_line): shouldn't use int and/or
63597	  long carelessly.
63598
63599Mon Jun 25 11:36:35 2007  Koichi Sasada  <ko1@atdot.net>
63600
63601	* gc.h: add RUBY_ prefix to debug macros.
63602
63603	* cont.c, proc.c, yarvcore.c,
63604
63605	* gc.c: define ruby_gc_debug_indent variable to debug mark/free.
63606
63607	* vm.c, insnhelper.ci: rename some functions to vm_* or rb_vm_*.
63608	  move some functions, definitions, declarations to suitable files.
63609
63610	* eval.c, yarvcore.h, eval_error.ci, insnhelper.ci: ditto.
63611
63612Mon Jun 25 09:45:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63613
63614	* eval_error.ci, eval_jump.ci, eval_method.ci, eval_safe.ci: c-mode.
63615
63616Mon Jun 25 05:27:54 2007  Koichi Sasada  <ko1@atdot.net>
63617
63618	* eval.c: remove ruby_current_node and change eval() prototype.
63619	  fix to use rb_sourcefile/line() instead of ruby_sourcefile/line.
63620
63621	* error.c, eval_error.ci, eval_load.c, eval_safe.ci, gc.c,
63622	  include/ruby/intern.h, parse.y, process.c, ruby.c: ditto.
63623
63624	* vm.c: fix spaces.
63625
63626Mon Jun 25 04:20:14 2007  Koichi Sasada  <ko1@atdot.net>
63627
63628	* eval_*.h: rename to eval_*.ci.
63629
63630	* common.mk: ditto.
63631
63632	* eval_error.ci: remove ruby_set_current_source().
63633
63634	* error.c, eval.c, ruby.c: ditto.
63635
63636	* eval_safe.c, proc.c: remove unused macros.
63637
63638Mon Jun 25 03:37:20 2007  Koichi Sasada  <ko1@atdot.net>
63639
63640	* insnhelper.ci (caller_setup_args): add need_block_check option.
63641
63642	* insns.def: ditto.
63643
63644	* yarvcore.h: add GetCoreDataFromValue().
63645
63646Mon Jun 25 02:14:30 2007  Koichi Sasada  <ko1@atdot.net>
63647
63648	* call_cfunc.ci: removed.
63649
63650	* insnhelper.ci: added. this function includes all functions that
63651	  vm insns need.
63652
63653	* common.mk: ditto.
63654
63655	* insnhelper.h, vm.h, vm.c: move some declaration.
63656
63657	* gc.h: remove GC_CHECK() macro because GC.stress is more useful.
63658
63659	* compile.c, iseq.c, vm_dump: ditto.
63660
63661	* gc.h, thread.c: move a prototype declaration.
63662
63663	* debug.c, debug.h: rename some functions.
63664
63665	* compile.h: ditto.
63666
63667Mon Jun 25 00:45:02 2007  Koichi Sasada  <ko1@atdot.net>
63668
63669	* insns.def (invokesuper): fix error message.
63670
63671Mon Jun 25 00:14:13 2007  Koichi Sasada  <ko1@atdot.net>
63672
63673	* vm.c: some refactoring.
63674	  * rename th_* to vm_*.
63675	  * remove unused variables functions.
63676	  * add prototypes.
63677
63678	* blockinlining.c, compile.c, cont.c, eval.c, eval_intern.h,
63679	  eval_jump.h, eval_load.c, inits.c, insns.def, iseq.c, parse.y,
63680	  proc.c, process.c, signal.c, thread.c, vm.c, vm_dump.c,
63681	  vm_evalbody.ci, yarvcore.c, yarvcore.h: ditto.
63682
63683Sun Jun 24 22:32:00 2007  Koichi Sasada  <ko1@atdot.net>
63684
63685	* eval_method.h (rb_add_method): fix to check 0.
63686
63687Sun Jun 24 22:00:17 2007  Koichi Sasada  <ko1@atdot.net>
63688
63689	* insn_send.ci: removed.
63690
63691	* common.mk: ditto.
63692
63693	* vm.c (vm_call_bmethod), isnsn.def: added.  fix to use this
63694	  function instead of using goto.
63695
63696	* vm.c (vm_call_bmethod): renamed from th_invoke_bmethod().
63697
63698	* vm.c (vm_method_missing): renamed from eval_method_missing().
63699
63700	* vm_evalbody.ci: remove tmp_* variables.
63701
63702	* insnhelper.h: add some macros.
63703
63704	* insns.def: forbid zsuper from method defined by define_method().
63705
63706	* test/ruby/test_super.rb: ditto.
63707
63708Sun Jun 24 20:01:08 2007  Koichi Sasada  <ko1@atdot.net>
63709
63710	* vm_macro.def: removed.
63711
63712	* insn_send.ci: added.  this file includes send instruction body.
63713
63714	* common.mk: ditto.
63715
63716	* insns.def: ditto.
63717
63718	* tool/insns2vm.rb: ditto.
63719
63720	* vm.c: ditto.
63721
63722Sun Jun 24 19:30:37 2007  Koichi Sasada  <ko1@atdot.net>
63723
63724	* insnhelper.h (RESTORE_REGS): add do/while(0) around macro.
63725
63726	* vm.c, vm_macro.def: remove macro_eval_invoke_func() and
63727	  add vm_setup_method().  use it instead.
63728
63729Sun Jun 24 19:02:33 2007  Koichi Sasada  <ko1@atdot.net>
63730
63731	* vm.c, vm_macro.def : remove macro_eval_invoke_cfunc() and
63732	  add vm_call_cfunc().
63733
63734Sun Jun 24 17:54:13 2007  Koichi Sasada  <ko1@atdot.net>
63735
63736	* insns.def, vm.c: add/fix stack overflow check.
63737
63738Sun Jun 24 17:28:52 2007  Koichi Sasada  <ko1@atdot.net>
63739
63740	* insnhelper.h: change CHECK_STACK_OVERFLOW() to throw exception.
63741
63742	* vm.c (caller_setup_arg), vm_macro.def: remove
63743	  macro_eval_setup_send_arguments and add caller_setup_arg().
63744
63745	* insns.def: ditto.
63746
63747	* bootstraptest/test_method.rb: add splat arg tests.
63748
63749Sun Jun 24 16:35:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63750
63751	* proc.c (proc_to_s): used a variable before initialized.
63752
63753Sun Jun 24 16:05:45 2007  Koichi Sasada  <ko1@atdot.net>
63754
63755	* vm.c (callee_setup_arg): added.  support correct post arg.
63756
63757	* vm_macro.def (macro_eval_invoke_func): fix to use
63758	  callee_setup_arg.
63759
63760	* compile.c (set_arguments): adjust for above changes.
63761
63762	* compile.c (iseq_compile_each): ditto.
63763
63764	* iseq.c (ruby_iseq_disasm): ditto.
63765
63766	* yarvcore.h: add rb_iseq_t#post_arg_start and arg_size.
63767
63768	* bootstraptest/test_method.rb: add post arg tests.
63769
63770Sun Jun 24 16:10:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63771
63772	* proc.c (proc_to_s): suppress warning, and reduced duplicated code.
63773
63774Sun Jun 24 15:33:47 2007  Koichi Sasada  <ko1@atdot.net>
63775
63776	* bootstraptest/runner.rb: set default directory to
63777	  '/tmp/bootstraptest.tmpwd' and add --dir option.
63778	  fix to output driver and target information.
63779
63780	* common.mk: fix to run btest on BASERUBY and
63781	  add OPTS to pass option ("make btest OPTS=...").
63782
63783Sun Jun 24 03:05:00 2007  Tanaka Akira  <akr@fsij.org>
63784
63785	* enum.c (enum_minmax): fix SEGV by [].minmax.
63786
63787Sat Jun 23 17:18:19 2007  Tanaka Akira  <akr@fsij.org>
63788
63789	* re.c (match_inspect): MatchData#inspect implemented.
63790
63791Sat Jun 23 15:00:16 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63792
63793	* enum.c (enum_minmax): new method to get the minimum and maximum
63794	  values from the enumerable at once.
63795
63796	* enum.c (enum_minmax_by): ditto.
63797
63798Sat Jun 23 01:25:40 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63799
63800	* hash.c (rb_hash_assoc): new method.
63801
63802	* hash.c (rb_hash_rassoc): ditto.
63803
63804	* hash.c (rb_hash_flatten): ditto.
63805
63806Fri Jun 22 23:55:59 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63807
63808	* string.c (rb_str_upto): add optional argument to specify
63809	  exclusiveness.
63810
63811	* range.c (range_step): use String#upto with optional argument.
63812
63813	* range.c (range_each): ditto.
63814
63815Fri Jun 22 19:55:51 2007  Tanaka Akira  <akr@fsij.org>
63816
63817	* proc.c (proc_to_s): revert the change from %p to %lx at YARV
63818	  merge time.
63819
63820Fri Jun 22 19:33:49 2007  Tanaka Akira  <akr@fsij.org>
63821
63822	* proc.c (proc_to_s): show is_lambda.
63823
63824Thu Jun 21 20:36:12 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63825
63826	* hash.c (rb_hash_sort): remove hash specific implementation.
63827
63828Thu Jun 21 20:28:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63829
63830	* hash.c (rb_hash_select): returns new hash, not assoc array.
63831	  [ruby-core:11504]
63832
63833	* hash.c (env_select): ditto.
63834
63835Thu Jun 21 23:08:19 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
63836
63837	* parse.y (rb_intern2): ID_JUNK test based on len, not by NUL.
63838
63839Thu Jun 21 19:42:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63840
63841	* yarvcore.c (rb_thread_mark): mark also thrown_errinfo.
63842
63843Thu Jun 21 17:13:44 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63844
63845	* parse.y (rb_intern2): name may not be NUL-terminated.
63846
63847Wed Jun 20 08:27:57 2007  Tanaka Akira  <akr@fsij.org>
63848
63849	* eval_error.h (error_print): show full stacktrace on
63850	  non-SystemStackError.
63851
63852Wed Jun 20 04:45:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63853
63854	* parse.y (rb_intern2): use rb_intern2 to intern without trailing
63855	  equal sign.
63856
63857	* parse.y (rb_intern2, ripper_id2sym): fixed indent.
63858
63859Tue Jun 19 10:55:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63860
63861	* eval_load.c (load_ext, rb_require_safe): pass VALUE instead of
63862	  pointer.  [ruby-Bugs-11659]
63863
63864Mon Jun 18 08:47:54 2007  Technorama Ltd.  <oss-ruby@technorama.net>
63865
63866	* ext/openssl/{extconf.rb,ossl_ssl_session.c}:
63867	  Fix ruby-Bugs-11513.
63868
63869	* ext/openssl/ossl_pkey_ec.c
63870	  New methods EC::Point.[eql,make_affine!,invert!,on_curve?,infinity?]
63871	  By default output the same key form as the openssl command.
63872
63873	* ext/openssl/ossl_rand.c
63874	  New method Random.status?
63875
63876	* test/openssl/test_ec.rb
63877	  New tests.
63878
63879Mon Jun 18 17:04:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63880
63881	* eval_load.c (rb_require_safe, ruby_init_ext): load with ruby level
63882	  cfp.  [ruby-core:10779]
63883
63884	* eval_intern.h, vm.c (rb_vm_call_cfunc): new function to call a
63885	  function with ruby level cfp.
63886
63887Mon Jun 18 16:57:24 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63888
63889	* parse.y (yycompile): disable trace while creating ruby_debug_lines.
63890	  [ruby-talk:253586]
63891
63892	* thread.c (ruby_suppress_tracing): new function to call a function
63893	  with suppressing trace.
63894
63895	* lib/debug.rb, lib/tracer.rb: for YARV.
63896
63897Mon Jun 18 13:54:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63898
63899	* eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occurred
63900	  in at_exit blocks.  [ruby-core:11263]
63901
63902Mon Jun 18 02:49:16 2007  Koichi Sasada  <ko1@atdot.net>
63903
63904	* vm.c (env_mark): fix to mark block.proc.
63905
63906	* vm.c (th_make_proc_from_block): set created proc to block->proc.
63907
63908Mon Jun 18 02:48:12 2007  Koichi Sasada  <ko1@atdot.net>
63909
63910	* vm_dump.c (vm_stack_dump_raw): hide VM stack trace.
63911
63912Mon Jun 18 02:43:53 2007  Koichi Sasada  <ko1@atdot.net>
63913
63914	* signal.c (sigsegv): clear gc_stress flag on SEGV.
63915
63916Mon Jun 18 01:14:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63917
63918	* variable.c (rb_path2class): get rid of dangling pointer caused by
63919	  optimized out value.
63920
63921	* variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable,
63922	  rb_generic_ivar_table, generic_ivar_get, generic_ivar_set,
63923	  generic_ivar_defined, generic_ivar_remove, rb_mark_generic_ivar,
63924	  rb_free_generic_ivar, rb_copy_generic_ivar,
63925	  rb_obj_instance_variables): suppress warnings.
63926
63927Sun Jun 17 11:11:07 2007  Tanaka Akira  <akr@fsij.org>
63928
63929	* eval.c (rb_method_missing): avoid a warning "too many arguments
63930	  for format string" on "./ruby -ve 'def m() super end; m'".
63931
63932Sat Jun 16 22:24:17 2007  Tanaka Akira  <akr@fsij.org>
63933
63934	* gc.c (garbage_collect): re-introduce ruby_current_node marking code.
63935	  [ruby-dev:31005]
63936
63937Sat Jun 16 21:37:43 2007  Tanaka Akira  <akr@fsij.org>
63938
63939	* gc.c (gc_sweep): re-introduce heap extension strategy change.
63940	  [ruby-dev:31005]
63941
63942Fri Jun 15 22:59:37 2007  Tanaka Akira  <akr@fsij.org>
63943
63944	* .gdbinit: new file to ease debugging using gdb.
63945
63946Fri Jun 15 22:33:55 2007  Tanaka Akira  <akr@fsij.org>
63947
63948	* signal.c (default_handler): func argument removed.
63949	  (trap_handler): support SYSTEM_DEFAULT.  call default_handler
63950	  internally.
63951	  (sig_trap): don't call default_handler.
63952	  [ruby-dev:30999]
63953
63954Fri Jun 15 22:33:29 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
63955
63956	* common.mk (realclean): separate local and ext.
63957
63958	* ext/extmk.rb: not remove unrelated directories.
63959
63960Fri Jun 15 20:50:02 2007  Tanaka Akira  <akr@fsij.org>
63961
63962	* keywords: enclose C code in declaration section by %{ and %} to
63963	  avoid extra semicolon after #ifdef RIPPER.
63964	  pointed by eban.
63965
63966Fri Jun 15 18:56:52 2007  Tanaka Akira  <akr@fsij.org>
63967
63968	* signal.c (trap_handler): trap("SIGSEGV", "DEFAULT") may cause wrong
63969	  trap error because SIG_DFL may be zero.
63970
63971Fri Jun 15 15:55:55 2007  Koichi Sasada  <ko1@atdot.net>
63972
63973	* insns.def (setconstant, toregexp): fix to mark object correctly.
63974
63975Fri Jun 15 13:24:18 2007  Koichi Sasada  <ko1@atdot.net>
63976
63977	* hash.c: exchange semantics of Hash#each and Hash#each_pair.
63978	  pointed out by [ruby-dev:30997].
63979
63980	* test/ruby/test_iterator.rb: ditto.
63981
63982	* test/ruby/test_yield.rb: ditto.
63983
63984Fri Jun 15 12:38:29 2007  Koichi Sasada  <ko1@atdot.net>
63985
63986	* test/ruby/test_iterator.rb: remove debug code (GC.stress=true).
63987
63988Fri Jun 15 12:25:33 2007  Koichi Sasada  <ko1@atdot.net>
63989
63990	* vm.c (th_yield_setup_args): |v| should work as |v,|.
63991	  ex) def m;yield 1, 2; end; m{|v| p v} #=> 1
63992
63993	* parse.y: apply above change for "for" statement.
63994
63995	* test/ruby/test_assignment.rb: ditto
63996
63997	* test/ruby/test_basicinstructions.rb: ditto.
63998
63999	* test/ruby/test_iterator.rb: ditto.
64000
64001	* test/ruby/test_yield.rb: ditto.
64002
64003	* compile.c (iseq_compile_each): fix debug.
64004
64005Fri Jun 15 12:22:10 2007  Koichi Sasada  <ko1@atdot.net>
64006
64007	* eval.c (ruby_finalize_1): rb_thread_t#errinfo should be clear with
64008	  Qnil.
64009
64010Fri Jun 15 12:20:11 2007  Koichi Sasada  <ko1@atdot.net>
64011
64012	* cont.c (rb_cont_call): forbid cross fiber continuation call.
64013
64014	* test/ruby/test_fiber.rb: ditto.
64015
64016Fri Jun 15 12:14:07 2007  Koichi Sasada  <ko1@atdot.net>
64017
64018	* sample/test.rb: fix to show line information whether test succeeds.
64019
64020Thu Jun 14 17:16:05 2007  Tanaka Akira  <akr@fsij.org>
64021
64022	* eval_load.c (Init_load): delay allocating an array for rb_load_path
64023	  to avoid GC problem in very early stage.
64024	  (RUBY_GC_STRESS causes GC in such stage.)
64025
64026	* variable.c (rb_gc_mark_global_tbl): rb_global_tbl may be 0 in
64027	  very early stage.
64028
64029	* thread.c (thread_cleanup_func) [IA64]: clear register stack position.
64030	  (thread_start_func_2) [IA64]: record the beginning of register
64031	  stack using extra argument.
64032	  (rb_gc_save_machine_context) [IA64]: record the end of register
64033	  stack.
64034
64035	* gc.c [IA64] (SET_STACK_END): record the end of register stack.
64036	  (garbage_collect) [IA64]: use recorded register stack area for
64037	  GC marking.
64038	  (yarv_machine_stack_mark) [IA64]: GC mark from the register stack
64039	  area.
64040
64041	* yarvcore.c [IA64] (rb_gc_register_stack_start): defined.
64042	  (Init_VM): store th->self on stack to fix GC problem.
64043	  (Init_yarv) [IA64]: initialize the beginning of register stack.
64044
64045	* yarvcore.h (struct rb_thread_struct) [IA64]: new members for
64046	  register stack area.
64047
64048	* thread_pthread.ci (thread_start_func_1) [IA64]: call
64049	  thread_start_func_2 with the end of register stack.
64050
64051	* cont.c (struct rb_context_struct) [IA64]: new members for register
64052	  stack area.
64053	  (cont_mark) [IA64]: GC mark from register stack area.
64054	  (cont_free) [IA64]: free saved register stack.
64055	  (cont_save_machine_stack) [IA64]: record the position and contents
64056	  of the register stack.
64057	  (cont_capture): store cont->self on stack to fix GC problem.
64058	  (cont_restore_1) [IA64]: restore the register stack.
64059	  [IA64] (register_stack_extend): new function.
64060	  (cont_restore_0) [IA64]: call register_stack_extend instead of
64061	  cont_restore_1.
64062
64063	[ruby-dev:30982]
64064
64065Thu Jun 14 17:09:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64066
64067	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
64068	  extensions.  [ruby-dev:30972]
64069
64070Thu Jun 14 14:40:42 2007  Tanaka Akira  <akr@fsij.org>
64071
64072	* lib/securerandom.rb: document updated.
64073	  suggested by NaHi.  [ruby-dev:30966]
64074
64075Wed Jun 13 22:42:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64076
64077	* gc.c (garbage_collect): update IA64 register stack code.
64078	  [ruby-dev:30971]
64079
64080Wed Jun 13 06:05:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64081
64082	* configure.in (darwin): prohibit loading extension libraries to
64083	  miniruby.
64084
64085Tue Jun 12 21:50:51 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64086
64087	* parse.y (call_args): no allow splat after assocs.  takes
64088	  consistency over compatibility.
64089
64090	* parse.y (call_args2): ditto
64091
64092Tue Jun 12 14:53:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64093
64094	* lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag and
64095	  use it.  [ruby-core:10909]
64096
64097	* lib/mkmf.rb (find_header): use header names in the message.
64098
64099Sun Jun 10 18:37:13 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64100
64101	* ext/probeprofiler/probeprofiler.c: clean warnings.
64102
64103Sun Jun 10 18:32:24 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64104
64105	* missing/isinf.c, missing/dup2.c, missing/strtod.c, missing/x68.c,
64106	  missing/alloca.c: use "ruby/config.h".
64107
64108Sun Jun 10 17:49:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64109
64110	* instruby.rb (install_recursive): should check parent directories of
64111	  the destination.  [ruby-dev:30947]
64112
64113Sun Jun 10 16:59:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64114
64115	* parse.y (do_block, brace_block): fix line numbers.  [ruby-dev:30831]
64116
64117Sun Jun 10 16:57:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64118
64119	* instruby.rb (install_recursive): add :glob option rather than
64120	  using FNM_DOTMACH.
64121
64122	* instruby.rb (ext-comm): make header directory first.
64123
64124Sun Jun 10 16:10:58 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64125
64126	* test/ruby/test_beginendblock.rb: typo.
64127
64128Sun Jun 10 16:07:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64129
64130	* instruby.rb (install_recursive): skip .svn directories.
64131
64132Sun Jun 10 15:44:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64133
64134	* win32/Makefile.sub (config.status): rubyhdrdir was missing.
64135
64136Sun Jun 10 15:26:36 2007  Tanaka Akira  <akr@fsij.org>
64137
64138	* Makefile.in: use --output-file for gperf to not leave lex.c.tmp.
64139
64140Sun Jun 10 15:11:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64141
64142	* Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.
64143
64144	* ext/extmk.rb: prepend also topdir to mflags at last.
64145
64146Sun Jun 10 13:47:36 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64147
64148	* test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
64149	  get rid of invoking shell.  [ruby-dev:30942]
64150
64151Sun Jun 10 12:56:46 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64152
64153	* include/ruby: moved public headers.
64154
64155	* instruby.rb (install_recursive): skip backup files.
64156
64157	* instruby.rb (ext-comm): install only current platform headers.
64158
64159Sun Jun 10 10:42:04 2007  Tanaka Akira  <akr@fsij.org>
64160
64161	* lib/securerandom.rb: renamed from lib/secrand.rb.
64162	  suggested by NaHi.  [ruby-dev:30934]
64163
64164Sat Jun  9 06:40:05 2007  Tanaka Akira  <akr@fsij.org>
64165
64166	* lib/secrand.rb: rename SecRand() to SecRand.random_number.
64167	  suggested by NaHi.  [ruby-dev:30934]
64168
64169Fri Jun  8 16:34:20 2007  Tanaka Akira  <akr@fsij.org>
64170
64171	* ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support
64172	  to_path.
64173
64174Fri Jun  8 16:11:00 2007  Koichi Sasada  <ko1@atdot.net>
64175
64176	* eval_jump.h: th->errinfo should clear with nil.
64177
64178Fri Jun  8 14:53:28 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64179
64180	* parse.y (call_args): allow splat argument after unpacked
64181	  assocs like 1.8 does.
64182
64183	* parse.y (call_args): ditto.
64184
64185Fri Jun  8 14:26:18 2007  Tanaka Akira  <akr@fsij.org>
64186
64187	* lib/secrand.rb: new file for secure random interface.
64188
64189	* lib/cgi/session.rb: use secrand for generating cookies.
64190
64191Fri Jun  8 12:44:37 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64192
64193	* {win32,wince}/Makefile.sub: add lex.c rule.
64194
64195Fri Jun  8 11:54:18 2007  Tanaka Akira  <akr@fsij.org>
64196
64197	* lex.c.blt: moved from lex.c.
64198
64199	* Makefile.in: use lex.c.blt if gperf is not available.
64200	  [ruby-list:8212], [ruby-list:8214], [ruby-list:24667],
64201	  [ruby-talk:120857], [ruby-dev:28102]
64202
64203Thu Jun  7 21:38:39 2007  Koichi Sasada  <ko1@atdot.net>
64204
64205	* thread.c (rb_thread_execute_interrupts): invoke ensure when
64206	  main thread exits.
64207
64208Thu Jun  7 19:02:48 2007  Tanaka Akira  <akr@fsij.org>
64209
64210	* lib/pp.rb: call original "method" method instead of redefined one.
64211
64212Thu Jun  7 17:20:57 2007  Koichi Sasada  <ko1@atdot.net>
64213
64214	* iseq.c (prepare_iseq_build): freeze filename and name string.
64215
64216	* variable.c: freeze class name string.
64217
64218Thu Jun  7 12:48:33 2007  Koichi Sasada  <ko1@atdot.net>
64219
64220	* cont.c (cont_restore_1): fix to check root fiber [ruby-dev:30911].
64221
64222	* test/ruby/test_fiber.rb: add a test.
64223
64224Thu Jun  7 07:24:36 2007  NARUSE, Yui  <naruse@ruby-lang.org>
64225
64226	* lib/json/common.rb: Ponder offering parse! method.
64227
64228	* lib/json/editor.rb: be a bit more robust while loading data.
64229
64230	* ext/json/ext/{generator,parser}/extconf.rb:
64231	  add a have_header directive for st.h
64232
64233	* test/json: fix some tests.
64234
64235Thu Jun  7 03:29:18 2007  Koichi Sasada  <ko1@atdot.net>
64236
64237	* test_fiber.rb: add a test (Continuation and Fiber).
64238
64239Thu Jun  7 03:17:24 2007  Koichi Sasada  <ko1@atdot.net>
64240
64241	* cont.c (cont_new): add debug message.
64242
64243	* cont.c (cont_restore_1): copy stack information from fiber.
64244
64245	* cont.c (rb_fiber_s_new): fix to mark created fiber.
64246
64247	* test/ruby/test_fiber.rb: add some tests around Thread and Fiber.
64248
64249	* yarvcore.c (thread_free): fix to skip freeing stack if root fiber
64250	  is available.
64251
64252Thu Jun  7 01:03:20 2007  Koichi Sasada  <ko1@atdot.net>
64253
64254	* eval_intern.h, eval.c (ruby_init): remove POP_TAG_INIT().
64255
64256	* cont.c (rb_fiber_start): remove zero-clearing tag.
64257
64258Wed Jun  6 20:23:46 2007  Koichi Sasada  <ko1@atdot.net>
64259
64260	* insns.def (invokeblock): fix of splat argument.
64261	  (splat same as normal method dispatch)
64262
64263Wed Jun  6 16:27:25 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64264
64265	* insns.def: fixed indentation.
64266
64267Wed Jun  6 10:58:23 2007  Koichi Sasada  <ko1@atdot.net>
64268
64269	* eval.c (rb_yield): fix to check Qundef.
64270
64271Wed Jun  6 10:57:45 2007  Koichi Sasada  <ko1@atdot.net>
64272
64273	* test/ruby/test_continuation.rb: add a test for last commit.
64274
64275Wed Jun  6 10:55:42 2007  Koichi Sasada  <ko1@atdot.net>
64276
64277	* cont.c (rb_cont_call): forbid calling dead fiber with
64278	  Continuation#call.
64279
64280Wed Jun  6 10:50:01 2007  Koichi Sasada  <ko1@atdot.net>
64281
64282	* compile.c (iseq_compile_each): fix around yield arguments
64283	  (with NODE_ARGSCAT).
64284
64285Wed Jun  6 02:50:53 2007  Koichi Sasada  <ko1@atdot.net>
64286
64287	* cont.c (rb_fiber_start): clear th->tag and check error to fix
64288	  [ruby-dev:30888] and [ruby-dev:30889].
64289
64290	* eval_intern.h: fix rb_fiber_start() prototype.
64291
64292	* test/ruby/test_fiber.rb: add tests for above.
64293
64294Wed Jun  6 02:40:20 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64295
64296	* insnhelper.h, insns.def (DEC_SP): shouldn't use unary minus operator
64297	  in pointer operation. some compilers (such as VC++8 x64) cannot deal
64298	  it with expected way.
64299
64300Wed Jun  6 02:19:48 2007  Koichi Sasada  <ko1@atdot.net>
64301
64302	* parse.y (new_yield), compile.c (iseq_compile_each): fix
64303	  passing parameter.
64304
64305	* eval.c, eval_jump.h: simplify rb_yield*.
64306
64307	* proc.c (proc_mark): fix to mark proc->block.proc.
64308
64309	* proc.c (Init_Proc): add Proc#lambda?
64310
64311	* test/ruby/test_lambda.rb: add some tests.
64312
64313	* vm.c (invoke_block): fix to check lambda block or not.
64314
64315	* vm.c (th_yield_setup_args): fix to check arguments size
64316	  when lambda block.
64317
64318Tue Jun  5 16:30:38 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64319
64320	* io.c (rb_f_p): returns arguments to intervene.  [ruby-dev:29736]
64321
64322Tue Jun  5 14:07:55 2007  Koichi Sasada  <ko1@atdot.net>
64323
64324	* insns.def (invokeblock): check block is created by lambda
64325	  or Proc.new.
64326
64327	* vm.c (block_proc_is_lambda): added.
64328
64329Tue Jun  5 14:47:52 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64330
64331	* lib/pp.rb (PP::PPMethods::seplist): revert last change to work
64332	  around wrapper bug.  [ruby-dev:30840]
64333
64334Tue Jun  5 14:11:15 2007  NARUSE, Yui  <naruse@ruby-lang.org>
64335
64336	* ext/nkf/nkf-utf8/nkf.c (kanji_convert): Fix guess fallback.
64337
64338Tue Jun  5 13:32:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64339
64340	* compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,
64341	  pack.c, parse.y, re.c, thread.c, vm.c, vm_dump.c, call_cfunc.ci,
64342	  thread_pthread.ci, thread_win32.ci: fixed indentation.
64343
64344	* call_cfunc.ci: protoized.
64345
64346	* thread_win32.ci: fixed typo.
64347
64348Tue Jun  5 13:17:11 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64349
64350	* call_cfunc.ci, compile.c, dir.c, eval.c, eval_jump.h, numeric.c,
64351	  pack.c, re.c, thread.c, thread_win32.ci, vm.c, vm_dump.c: fixed
64352	  indentation.
64353
64354Mon Jun  4 21:15:45 2007  NARUSE, Yui  <naruse@ruby-lang.org>
64355
64356	* lib/json.rb, lib/json, ext/json, test/json:
64357	  import JSON library.
64358
64359	* ext/nkf: import nkf.c rev:1.124
64360	  Support CP10001.
64361
64362Mon Jun  4 20:52:58 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64363
64364	* numeric.c (int_round): should not just truncate.
64365
64366Sat Jun  2 16:48:55 2007  Koichi Sasada  <ko1@atdot.net>
64367
64368	* cont.c (Fiber#pass): rename to Fiber#yield.  Block parameter
64369	  of fiber body receive first yield values.
64370	  e.g.: Fiber.new{|x| p x}.yield(:ok) #=> :ok
64371
64372	* cont.c: rename rb_context_t#retval to rb_context_t#value.
64373
64374	* test/ruby/test_fiber.rb: ditto.
64375
64376Sat Jun  2 16:45:21 2007  Koichi Sasada  <ko1@atdot.net>
64377
64378	* proc.c (Init_Proc): remove a line break.
64379
64380Sat Jun  2 01:27:27 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64381
64382	* numeric.c (int_round): small optimization to handle bignums.
64383
64384Fri Jun  1 13:02:35 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64385
64386	* insnhelper.h (INC_SP): shouldn't cast ``x'' to unsigned type because
64387	  it might be a negative value.
64388
64389	* insnhelper.h, insns.def: shouldn't use unary minus operator in index
64390	  operator. some compilers (such as VC++8 x64) cannot deal it with
64391	  expected way.
64392
64393Fri Jun  1 11:33:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64394
64395	* numeric.c (num_round): should convert self to Float.
64396	  [ruby-dev:30860]
64397
64398Fri Jun  1 02:01:13 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64399
64400	* numeric.c (flo_round): now takes optional argument to specify
64401	  number of digits, like round() in Python/PHP.
64402
64403	* numeric.c (num_round): ditto.
64404
64405Fri Jun  1 01:58:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64406
64407	* enum.c (each_with_index_i): should work well with continuation.
64408	  a patch from sheepman <sheepman AT sheepman.sakura.ne.jp>.
64409	  [ruby-dev:30846]
64410
64411Thu May 31 17:27:53 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64412
64413	* lib/benchmark.rb (Benchmark::Job::item): avoid modifying the
64414	  argument unintentionally.  [ruby-talk:253676]
64415
64416Wed May 30 14:43:00 2007  Koichi Sasada  <ko1@atdot.net>
64417
64418	* cont.c (cont_capture): store all local variables in heap
64419	  ([ruby-dev:30832]).
64420
64421	* vm.c (th_stack_to_heap): added.
64422
64423	* test/ruby/test_continuation.rb: add a test for above.
64424
64425	* eval_intern.h (th_get_ruby_level_cfp): fix to clean code.
64426
64427Wed May 30 13:32:34 2007  Shugo Maeda  <shugo@ruby-lang.org>
64428
64429	* lib/net/imap.rb (ResponseParser#next_token): fixed
64430	  error message.
64431
64432	* lib/net/imap.rb (ResponseParser#parse_error): fixed
64433	  the condition not to refer to @token.symbol unexpectedly.
64434	  Thanks, Dick Monahan.
64435
64436Wed May 30 13:24:33 2007  Shugo Maeda  <shugo@ruby-lang.org>
64437
64438	* lib/net/ftp.rb (Net::FTP#transfercmd): skip 2XX
64439	  responses for some FTP servers.
64440
64441Wed May 30 04:18:37 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64442
64443	* eval.c (rb_eval_cmd): just return if no exceptions.
64444	  [ruby-dev:30820]
64445
64446Wed May 30 02:14:25 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64447
64448	* signal.c (interrupt_init): needs to pass nil for Interrupt.
64449	  [ruby-core:11038]
64450
64451	* signal.c (trap): fixed segfaults.  [ruby-dev:30830]
64452
64453Wed May 30 00:50:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64454
64455	* gc.c (rb_source_filename, obj_free): suppress warnings.
64456
64457	* gc.c (garbage_collect, yarv_machine_stack_mark): fixed typo.
64458	  http://bugs.debian.org/426267
64459
64460Wed May 30 00:24:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64461
64462	* parse.y (open_args, arg_ambiguous, parser_warning): should not use
64463	  rb_warning in the parser.
64464
64465Tue May 29 12:31:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64466
64467	* win32/win32.c (rb_w32_opendir): removed duplicated code.
64468
64469Tue May 29 10:55:24 2007  Koichi Sasada  <ko1@atdot.net>
64470
64471	* cont.c: fix bug around Continuation and Fiber.
64472
64473	* test/ruby/test_continuation.rb: add tests for Continuation.
64474
64475Tue May 29 10:54:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64476
64477	* win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magic
64478	  numbers.
64479
64480Mon May 28 10:27:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64481
64482	* cont.c: fixed a function name.
64483
64484Mon May 28 03:56:44 2007  Koichi Sasada  <ko1@atdot.net>
64485
64486	* cont.c: support Fiber.  Check test/ruby/test_fiber.rb for detail.
64487	  Fiber is known as "Micro Thread", "Coroutine", and other terms.
64488	  At this time, only Fiber#pass is supported to change context.
64489	  I want to know more suitable method name/API for Fiber (... do you
64490	  know more suitable class name instead of Fiber?) as "suspend/resume",
64491	  "call", "yield", "start/kick/stop/restart", ....
64492
64493	* eval.c, eval_intern.h, thread.c, yarvcore.c, yarvcore.h: ditto.
64494
64495Sat May 26 00:38:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64496
64497	* eval.c (ruby_exec_internal): do nothing if no code.
64498
64499	* compile.c (rb_iseq_compile): check node if NULL before check
64500	  nd_type.  [ruby-talk:252956]
64501
64502Sat May 26 00:05:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64503
64504	* test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
64505	  skip tests for exitstatus and termsig on the platforms where
64506	  signals not supported.
64507
64508Fri May 25 16:04:47 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64509
64510	* yarvcore.c (Init_VM): wrap already initialized structs to use
64511	  it directly.
64512
64513Fri May 25 11:09:47 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64514
64515	* regint.h (include): on some platform, defines.h redefines
64516	  SIZE_OF_LONG_LONG so shouldn't re-include config.h after included
64517	  defines.h.
64518
64519	* regint.h (vsnprintf): ruby on windows already have vsnprintf macro.
64520
64521Thu May 24 12:07:27 2007  Koichi Sasada  <ko1@atdot.net>
64522
64523	* cont.c: check across trap violation.
64524
64525	* eval.c, yarvcore.h: ditto.
64526
64527Thu May 24 11:46:55 2007  Koichi Sasada  <ko1@atdot.net>
64528
64529	* gc.c, yarvcore.c: fix to mark VM structure on startup.
64530
64531	* yarvcore.h: disable USE_CACHED_VALUE.
64532
64533Thu May 24 01:54:53 2007  Koichi Sasada  <ko1@atdot.net>
64534
64535	* cont.c: support callcc which everyone love.
64536	  incomplete. please give me bug reports.
64537
64538	* common.mk, inits.c, thread.c: ditto.
64539
64540	* yarvcore.c: export thread_mark().
64541
64542	* yarvcore.h: disable value cache option.
64543
64544	* eval_intern.h: set th_get_ruby_level_cfp to inline.
64545
64546Wed May 23 15:39:02 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64547
64548	* common.mk: add a rule for regsyntax.c.
64549
64550Wed May 23 10:31:53 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64551
64552	* oniguruma.h: updated to Oniguruma 5.7.0.
64553
64554	* regsyntax.c, unicode.c: new files along with Oniguruma 5.x.
64555
64556Wed May 23 06:51:46 2007  URABE Shyouhei  <shyouhei@ruby-lang.org>
64557
64558	* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
64559	  [ruby-dev:30740], Thanks Kentaro KAWAMOTO.
64560
64561Wed May 23 05:49:49 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64562
64563	* ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
64564	  load path to get rid of load pre-installed extensions/libraries.
64565	  [ruby-core:11017]
64566
64567Tue May 22 16:37:36 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64568
64569	* ruby.c (set_arg0): support RSTRING_LEN on HP-UX.  a patch from
64570	  WATANABE Tetsuya <Tetsuya.WATANABE AT nifty.com>.  [ruby-dev:30806]
64571
64572Mon May 21 13:40:00 2007  Koichi Sasada  <ko1@atdot.net>
64573
64574	* compile.c, vm_macro.def: support tail call optimization
64575	  (on default, this feature is not enabled).
64576
64577	* iseq.c, compile.c, vm_opts.h: add "tailcall_optimization"
64578	  option.
64579
64580	* sample/test.rb (test_ok): fix to adjust tailcall stack layout.
64581
64582	* insns.def, vm.c, compile.c, yarvcore.c, yarvcore.h:
64583	  add opt_gt, opt_le instructions.
64584
64585Mon May 21 03:34:06 2007  Minero Aoki  <aamine@loveruby.net>
64586
64587	* lib/net/smtp.rb: CRAM-MD5 authentication did not work.
64588	  [ruby-dev:30770]
64589
64590Sat May 19 10:26:01 2007  Tadayoshi Funaba  <tadf@dotrb.org>
64591
64592	* lib/date/format.rb (Date._parse): detects some OFX dates
64593	  (Of course not fully).
64594
64595Sat May 19 03:08:05 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64596
64597	* enum.c (enum_inject): minor improvement.  [ruby-dev:30792]
64598
64599	* enum.c (one_i): no needs to iterate once the result became false.
64600
64601	* enum.c (enum_one): fix for an example.
64602
64603	* enum.c (one_iter_i, none_iter_i): DRY.;
64604
64605Sat May 19 01:07:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64606
64607	* enum.c (enum_inject): it is now can work without block.  you
64608	  have to specify two argument method name as the first argument.
64609
64610	* enum.c (Init_Enumerable): reduce is new alias to inject.
64611
64612Sat May 19 01:05:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64613
64614	* file.c (Init_File): method definition mismatch.
64615
64616Fri May 18 16:44:04 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64617
64618	* file.c (Init_File): add to_path method to File objects.
64619
64620Fri May 18 11:12:39 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64621
64622	* ruby.c (DllMain, ruby_init_loadpath): use DLL instance handle given
64623	  to DllMain instead of VirtualQuery so that loadpath becomes relative
64624	  from the DLL on WinCE too.
64625
64626Thu May 17 17:03:11 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64627
64628	* misc/ruby-style.el (ruby-style-label-indent): for yacc rules.
64629
64630Thu May 17 13:30:27 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64631
64632	* parse.y (f_arg): remove typo from ripper description.
64633
64634Thu May 17 13:23:38 2007  Koichi Sasada  <ko1@atdot.net>
64635
64636	* parse.y, compile.c (set_arguments): fix to support in-paren
64637	  parameter (ex: def foo((a, b))).
64638
64639Thu May 17 13:01:52 2007  Koichi Sasada  <ko1@atdot.net>
64640
64641	* iseq.c (ruby_iseq_disasm): fix to show post arg info.
64642
64643Thu May 17 12:56:52 2007  Koichi Sasada  <ko1@atdot.net>
64644
64645	* debug.c (ruby_debug_node): fix to show node line.
64646
64647Wed May 16 21:48:44 2007  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
64648
64649	* lib/logger.rb (Logger::Application): remove meaningless logdev
64650	  attribute and added logger attribute instead.  [ruby-core:11143]
64651	  also added Logger#formatter rdoc comment.
64652
64653Tue May 15 16:40:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64654
64655	* test/ruby/test_beginendblock.rb (test_endblockwarn): now parser
64656	  warnings emit source names and line numbers.
64657
64658Tue May 15 15:01:38 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64659
64660	* win32/win32.c (init_stdhandle): stderr should be without buffering,
64661	  but mswin32 use buffering when stderr is not connected to tty.
64662
64663Mon May 14 02:12:07 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64664
64665	* array.c (rb_ary_zip): a.zip(b,c) should return an array, not
64666	  enumerator.
64667
64668	* array.c (rb_ary_zip): a.zip(b,c) should return array with size
64669	  truncated to the size of its shortest argument array.
64670	  [incompatible]
64671
64672Mon May 14 01:54:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64673
64674	* array.c (rb_ary_choice): should return nil when the array is
64675	  empty.
64676
64677Sat May 12 18:26:36 2007  Minero Aoki  <aamine@loveruby.net>
64678
64679	* lib/net/http.rb (tokens): forgot to add strip. [ruby-core:11120]
64680
64681	* test/net/http/test_http.rb: test Net::HTTP.post_form.
64682
64683Fri May 11 15:27:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64684
64685	* iseq.c (iseq_data_to_ary): internal IDs must not be exposed.
64686	  [ruby-core:11073]
64687
64688	* parse.y (internal_id_gen): now returns scope local ID instead of
64689	  global one.
64690
64691Thu May 10 15:15:53 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64692
64693	* test/ruby/test_super.rb: add tests.
64694
64695Thu May 10 15:14:05 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64696
64697	* ext/iconv/iconv.c (iconv_s_conv): rdoc fix.
64698
64699Thu May 10 15:09:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64700
64701	* parse.y (POINTER_P): pointer may be larger than long.
64702
64703	* parse.y (vtable_size, vtable_included, vtable_tblcpy,
64704	  vtable_to_tbl): constified.
64705
64706Thu May 10 10:13:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64707
64708	* thread.c (rb_thread_priority): rdoc fix; the initial value is
64709	  inherited from the creating thread.  [ruby-core:10607]
64710
64711Wed May  9 12:28:57 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64712
64713	* bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv as
64714	  aliases of quo.  [ruby-dev:30771]
64715
64716Tue May  8 23:39:09 2007  Tadayoshi Funaba  <tadf@dotrb.org>
64717
64718	* lib/date/format.rb (Date._parse): revised treatment of
64719	  hyphened/separatorless dates.
64720
64721	* lib/date/format.rb: some trivial adjustments.
64722
64723Tue May  8 20:23:07 2007  Tadayoshi Funaba  <tadf@dotrb.org>
64724
64725	* lib/date/format.rb: reverted.
64726
64727Tue May  8 19:32:18 2007  Keiju Ishitsuka  <keiju@ruby-lang.org>
64728
64729	* lib/rational.rb: fix high-precision Rationals cannot be
64730	  converted to Floats. [ruby-Bugs:10502], [ruby-core:11069],
64731	  [ruby-dev:30743]
64732
64733Mon May  7 10:59:55 2007  Kouhei Sutou  <kou@cozmixng.org>
64734
64735	* lib/rss/image.rb, test/rss/test_image.rb: fixed Image module
64736	  namespace URI. reported by Dmitry Borodaenko. Thanks.
64737
64738Sun May  6 18:44:11 2007  Minero Aoki  <aamine@loveruby.net>
64739
64740	* lib/net/http.rb (Net::HTTP.post_form): allow an Array of String
64741	  for pairs argument. [ruby-Bugs:10340]
64742
64743	* lib/net/http.rb (Net::HTTP#set_form_data): ditto.
64744
64745Sun May  6 17:54:36 2007  Minero Aoki  <aamine@loveruby.net>
64746
64747	* lib/net/http.rb: Connection header field might include both of
64748	  "keep-alive" token and "close" token. [ruby-core:10818]
64749
64750Sat May  5 16:26:33 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64751
64752	* lib/date/format.rb (Format::Bag#method_missing): get rid of
64753	  modifying original argument.  [ruby-core:11090]
64754
64755Thu May  3 22:20:08 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64756
64757	* configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,
64758	  search_required, rb_require_safe), ext/extmk.rb: Fix
64759	  a bug where a statically linked extension cannot be autoloaded.
64760	  [ruby-dev:30023] / [ruby-dev:30239]
64761
64762	* thread.c: added an internal class, Barrier.
64763
64764	* thread.c: copied rdocs from fastthread.
64765
64766	* yarvcore.h (struct rb_vm_struct): moved loading_table from global.
64767
64768Thu May  3 18:10:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64769
64770	* vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t):
64771	  renamed to get rid of name clash.  [ruby-dev:30504]
64772
64773	* yarvcore.c (ruby_thread_init): ditto.
64774
64775Wed May  2 18:52:58 2007  Koichi Sasada  <ko1@atdot.net>
64776
64777	* vm.c, yarvcore.h, yarvcore.c, insns.def: fix to mark VM stack
64778	  in correct range.
64779
64780Wed May  2 17:13:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64781
64782	* bignum.c (rb_big_quo): now calculate in integer.  [ruby-dev:30753]
64783
64784Wed May  2 15:14:56 2007  Koichi Sasada  <ko1@atdot.net>
64785
64786	* eval_method.h: add redefine checks ([ruby-dev:30751]).
64787
64788Wed May  2 11:22:52 2007  Koichi Sasada  <ko1@atdot.net>
64789
64790	* compile.c: use Qtrue instead of 2.
64791
64792	* vm.c, insns.def: support "lambda" calling convention.
64793
64794Wed May  2 06:46:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64795
64796	* error.c, parse.y, ruby.h (rb_compile_warn, rb_compile_warning): warn
64797	  for compilation.  the parser should no longer use rb_warn() and
64798	  rb_warning().  [ruby-dev:30121]
64799
64800Wed May  2 05:45:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64801
64802	* parse.y (assoc): result of assoc_new needs to be an assoc.
64803
64804Wed May  2 05:40:43 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64805
64806	* bignum.c (rb_big_pow): improvement by calculating from MSB and using
64807	  factorization.  <http://yowaken.dip.jp/tdiary/20070426.html#p01>
64808
64809Tue May  1 18:45:45 2007  Koichi Sasada  <ko1@atdot.net>
64810
64811	* sample/test.rb: import matzruby's sample/test.rb.
64812
64813Tue May  1 17:46:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
64814
64815	* array.c (rb_ary_choice): a new method to choose an element
64816	  randomly from an array.
64817
64818	* array.c (rb_ary_choice): fixed mistake from RDoc.
64819
64820Tue May  1 13:59:18 2007  Koichi Sasada  <ko1@atdot.net>
64821
64822	* proc.c (proc_arity): fix an arity bug ([ruby-core:11060]).
64823
64824Tue May  1 13:12:49 2007  Koichi Sasada  <ko1@atdot.net>
64825
64826	* yarvcore.h, compile.c (set_arguments): support post arguments.
64827
64828	* test/ruby/test_method.rb: add tests for above.
64829
64830	* test/ruby/test_proc.rb: ditto.
64831
64832	* proc.c: fix an arity bug ([ruby-core:11029]).
64833
64834	* vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process.
64835
64836	* vm.c: support block argument on block parameter.
64837
64838Fri Apr 27 17:05:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64839
64840	* numeric.c (int_pow): bugfix of overflow detection.
64841
64842	* numeric.c (int_pow): rb_big_pow() may return other than Bignum.
64843
64844Fri Apr 27 01:51:50 2007  Koichi Sasada  <ko1@atdot.net>
64845
64846	* compile.c: support multiple splat (e.g, [a, *b, *c, e, *f]).
64847
64848Fri Apr 27 00:03:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64849
64850	* bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733]
64851
64852Thu Apr 26 17:31:00 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64853
64854	* bignum.c (rb_big_pow): reduce multiplying for even number.
64855
64856	* numeric.c (int_pow): calculate power in Fixnum as possible.
64857	  [ruby-dev:30726]
64858
64859Thu Apr 26 17:18:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64860
64861	* parse.y: fixes for ripper.
64862
64863	* parse.y (primary): reduced duplicated code.
64864
64865	* parse.y (f_arg_item): should not override by meaningless value.
64866
64867	* parse.y (f_arg, assocs): should not use $$ before assigned.
64868
64869	* parse.y (assoc_list): dispatch assoclist_from_args for assocs as
64870	  well as args.
64871
64872	* parse.y (assoc): return assoc if dispatched result is $1.
64873
64874Thu Apr 26 13:54:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64875
64876	* misc/ruby-style.el: new file.  C/C++ style for ruby source code.
64877
64878Wed Apr 25 19:49:16 2007  Tanaka Akira  <akr@fsij.org>
64879
64880	* ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA to
64881	  align file descriptor appropriately.
64882
64883Wed Apr 25 15:23:29 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
64884
64885	* win32/win32.c (NtInitialize, exit_handler): add initializing and
64886	  cleanup of critical section object for select.
64887
64888	* win32/win32.c (do_select): block reentrance.
64889
64890	* win32/win32.c (rb_w32_select): 0 sec polling of socket. this is
64891	  workaround because winsock cannot do select at same socket at the
64892	  same time by two or more threads.
64893
64894Wed Apr 25 14:10:47 2007  Koichi Sasada  <ko1@atdot.net>
64895
64896	* ext/probeprofiler/probeprofiler.c: fix function name and
64897	  return value.
64898
64899Wed Apr 25 12:42:40 2007  Koichi Sasada  <ko1@atdot.net>
64900
64901	* yarvcore.h: remove rb_control_frame_t#callee_id.
64902
64903	* vm_macro.def: ditto.
64904
64905	* eval_intern.h (exec_event_hooks): fix to check event flags
64906
64907	* eval_intern.h (EXEC_EVENT_HOOK): fix to re-check event flags.
64908
64909	* ext/probeprofiler : added.  this profiler is sampling based
64910	  profiler.
64911
64912	* vm.c: add rb_thread_current_status() API for probeprofiler.
64913
64914	* thread.c (rb_thread_execute_interrupts): add comments.
64915
64916Wed Apr 25 10:36:03 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64917
64918	* eval_intern.h (PUSH_TAG): no argument now.
64919
64920	* eval.c, eval_error.h, eval_jump.h, eval_load.c, proc.c, thread.c:
64921	  ditto.
64922
64923	* thread.c (alloc_event_hook, rb_thread_remove_event_hook): should
64924	  return value.
64925
64926Tue Apr 24 09:33:57 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64927
64928	* dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR.
64929	  [ruby-talk:248288]
64930
64931Mon Apr 23 22:14:42 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64932
64933	* ext/extmk.rb ($ruby): add extout directory to include path.
64934	  [ruby-core:11003]
64935
64936	* lib/mkmf.rb (libpathflag): not to append RPATHFLAG to current
64937	  directory.
64938
64939	* lib/mkmf.rb (init_mkmf): add current directory to default
64940	  library path with highest priority.  [ruby-core:10960]
64941
64942	* lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS.
64943
64944Fri Apr 20 16:05:22 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64945
64946	* configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted,
64947	  it is done by libpathflag in mkmf.rb.
64948
64949Fri Apr 20 12:27:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64950
64951	* lib/optparse.rb: fix to override conv proc.
64952
64953Fri Apr 20 12:21:28 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64954
64955	* eval.c (ruby_cleanup): fixed access to out of bound, and inverted
64956	  the order of errinfos.
64957
64958Fri Apr 20 10:33:23 2007  Koichi Sasada  <ko1@atdot.net>
64959
64960	* eval_intern.h: add prototypes of rb_sourceline() and
64961	  rb_sourcefile().
64962
64963Fri Apr 20 02:37:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
64964
64965	* eval.c (ruby_cleanup): re-send signal.  [ruby-dev:30516]
64966
64967	* eval_error.h (error_handle): no message when exiting by signal.
64968
64969	* intern.h (rb_thread_signal_raise, ruby_default_signal): prototypes.
64970
64971	* signal.c (esignal_init): takes a signal number and an optional
64972	  signal name.
64973
64974	* signal.c (interrupt_init): pass SIGINT always.
64975
64976	* signal.c (ruby_default_signal): invoke system default signal
64977	  handler.
64978
64979	* signal.c (rb_f_kill): use NUM2PIDT instead of NUM2INT.
64980
64981	* signal.c (rb_signal_exec, trap): handle SIGTERM.  [ruby-dev:30505]
64982
64983	* thread.c (rb_thread_signal_raise): now takes signal number instead
64984	  of signal name.
64985
64986	* thread.c (rb_thread_signal_exit): since rb_make_exception() calls
64987	  #exception method, rb_class_new_instance() is not needed here.
64988
64989	* yarvcore.h (struct rb_vm_struct), eval_jump.h (terminate_process):
64990	  exit_code is no longer stored in VM.
64991
64992Thu Apr 19 18:37:49 2007  Koichi Sasada  <ko1@atdot.net>
64993
64994	* eval.c, node.h, thread.c, yarvcore.[ch], eval_intern.h:
64995	  support set_trace_func (incomplete.  id and klass
64996	  don't be passed).  And support Thread#set_trace_func
64997	  which hook only specified thread and Thread#add_trace_func
64998	  which add new trace func instead of replace old one.
64999	  C level API was modified.  See thread.c (logic) and
65000	  yarvcore.h (data structures).
65001
65002	* vm.c, vm_macro.def: add hook points.
65003
65004	* compile.c, insns.def: fix "trace" instruction.
65005
65006	* iseq.c, vm_macro.h: add compile option "trace_instruction".
65007
65008	* test/ruby/test_settracefunc.rb: hook "c-return" of set_trace_func.
65009
65010Thu Apr 19 20:57:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65011
65012	* parse.y (symbol): symbols should be followed by EXPR_ENDARG.
65013
65014	* parse.y (dsym): ditto.
65015
65016	* parse.y (parser_yylex): strings should be followed by
65017	  EXPR_ENDARG.
65018
65019	* parse.y (parser_yylex): ditto for numbers.
65020
65021	* parse.y (parser_yylex): EXPR_ENDARG after ']' and '}'.
65022
65023Thu Apr 19 17:46:36 2007  Koichi Sasada  <ko1@atdot.net>
65024
65025	* lib/optparse.rb: fix to override conv proc.
65026
65027Wed Apr 18 10:41:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65028
65029	* util.c (ruby_strtod): exponent is radix 10.  [ruby-talk:248272]
65030
65031Wed Apr 18 02:50:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65032
65033	* yarvcore.c (th_init2): push initial blockptr value for
65034	  rb_block_given_p() outside ruby_exec().  [ruby-core:10923]
65035
65036Wed Apr 18 02:30:24 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65037
65038	* configure.in (LDFLAGS): prepend -L. instead appending it to
65039	  XLDFLAGS.  [ruby-core:10933]
65040
65041	* configure.in (Makefile): remove $U for automake from MISSING.
65042	  [ruby-talk:248171]
65043
65044Mon Apr 16 22:56:01 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65045
65046	* ext/pty/expect_sample.rb: avoid symbolic link representation for
65047	  expect.  a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
65048	  [ruby-dev:30714]
65049
65050Mon Apr 16 22:51:11 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65051
65052	* sample: replace TRUE, FALSE with true, false respectively.
65053	  a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
65054	  [ruby-dev:30713]
65055
65056Mon Apr 16 17:08:02 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65057
65058	* lib/optparse.rb (make_switch): do not clobber converter if pattern
65059	  has no convert method.  reported by sheepman in [ruby-dev:30709].
65060
65061Mon Apr 16 16:49:32 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65062
65063	* ext/stringio/stringio.c (strio_seek): consistent behavior with
65064	  IO#seek.  patch by sheepman in [ruby-dev:30710].
65065
65066Mon Apr 16 16:34:08 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65067
65068	* parse.y (parser_yylex): should set command_start after block
65069	  starting "do"s and braces.  [ruby-core:10916]
65070
65071Mon Apr 16 10:51:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65072
65073	* enum.c (enum_each_with_index): each_with_index to forward
65074	  arguments to each.  [ruby-core:10921]
65075
65076Mon Apr 16 10:43:10 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65077
65078	* time.c (time_arg): should allow to specify 24:00.
65079	  [ruby-core:10915]
65080
65081Sun Apr 15 09:12:54 2007  Tadayoshi Funaba  <tadf@dotrb.org>
65082
65083	* lib/date/format.rb: added some zone names.
65084
65085	* lib/date/format.rb (_parse): now interprets doted numerical
65086	  dates as a big endian (except dd.mm.yyyy).
65087
65088Thu Apr 12 17:13:22 2007  Koichi Sasada  <ko1@atdot.net>
65089
65090	* thread.c (mutex_try_lock): check and set owner thread.
65091
65092	* thread_pthread.ci: fix to show error code in error message.
65093
65094Thu Apr 12 17:11:54 2007  Koichi Sasada  <ko1@atdot.net>
65095
65096	* eval.c (rb_rescue2): restore cfp ([ruby-dev:30582]).
65097
65098Thu Apr 12 16:06:48 2007  Koichi Sasada  <ko1@atdot.net>
65099
65100	* eval.c (rb_protect): restore cfp ([ruby-dev:30671]).
65101
65102Thu Apr 12 16:04:31 2007  Koichi Sasada  <ko1@atdot.net>
65103
65104	* compile.c (iseq_compile_each): check node->nd_state == 1, not !0.
65105
65106Wed Apr 11 16:35:16 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65107
65108	* win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): no
65109	  need to reject reentrance. removed.
65110
65111	* rubysig.h (RUBY_CRITICAL): follow above changes.
65112
65113	* rubysig.h (TRAP_BEG, TRAP_END): no need to save errno.
65114
65115Tue Apr 10 17:02:17 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65116
65117	* win32/win32.c (rb_w32_fclose, rb_w32_close): need to save errno
65118	  before calling original fclose()/close().
65119
65120Tue Apr 10 16:14:22 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65121
65122	* thread_win32.ci (w32_wait_events): check whether interrupt_event is
65123	  valid handle or not.
65124
65125	* thread_win32.ci (native_thread_destroy): clear interrupt_event when
65126	  close it.
65127
65128Tue Apr 10 15:53:17 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65129
65130	* thread_pthread.ci (native_thread_create): initialize sleep_cond.
65131	  fixed: [ruby-dev:30675]
65132
65133Mon Apr  9 18:48:57 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65134
65135	* thread.c (do_select): ubf_select() is not necessary. interrupt is
65136	  checked in the loop.
65137
65138Mon Apr  9 18:27:26 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65139
65140	* thread.c (do_select): use ubf_select() as UBF on windows.
65141
65142	* win32/win32.c (do_select): shouldn't call catch_interrupt() here.
65143	  fixed: [ruby-dev:30674], reported by wanabe.
65144
65145Mon Apr  9 09:24:32 2007  Shugo Maeda  <shugo@ruby-lang.org>
65146
65147	* lib/net/imap.rb (disconnect): call shutdown for
65148	  SSLSocket. Thanks, Technorama Ltd.
65149
65150Sun Apr  8 13:28:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65151
65152	* compile.c (defined_expr): test arguments of NODE_CALL and so
65153	  on as well as NODE_ATTRASGN.  [ruby-core:10886]
65154
65155Fri Apr  6 10:56:29 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65156
65157	* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of
65158	  warning. we are aware of it.
65159
65160Fri Apr  6 04:00:24 2007  Technorama Ltd.  <oss-ruby@technorama.net>
65161
65162	* ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:
65163	  Add documentation.
65164
65165Thu Apr  5 17:59:19 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65166
65167	* compile.c (defined_expr): support for assignment.
65168	  [ruby-core:10867]
65169
65170	* compile.h (ADD_CATCH_ENTRY): removed temporary variable.
65171
65172Thu Apr  5 15:13:34 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65173
65174	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
65175	  return value.
65176
65177Thu Apr  5 14:58:49 2007  Technorama Ltd. <oss-ruby@technorama.net>
65178
65179	* ext/openssl/ossl_pkcs5.c: New module.
65180
65181	* ext/openssl/ossl_{cipher,digest,pkcs7,pkcs12}.c:
65182	  Remove redundant module namespace.
65183
65184	* ext/openssl/lib/openssl/{cipher,digest}.rb
65185	  Add backwards compatible classes for rearranged classes.
65186
65187	* ext/openssl/ossl_{pkcs7,pkcs12}.c: Add documentation.
65188
65189Thu Apr  5 00:42:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65190
65191	* error.c (rb_notimplement), io.c (pipe_open): removed definite
65192	  articles and UNIX manual section from messages.  [ruby-dev:30690]
65193
65194Wed Apr  4 17:09:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65195
65196	* io.c (pipe_open): refined the message of NotImplementedError.
65197	  [ruby-dev:30685]
65198
65199Wed Apr  4 12:29:02 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65200
65201	* error.c (rb_notimplement): should show the name of this func,
65202	  not callee.
65203
65204Wed Apr  4 10:18:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65205
65206	* io.c (popen_exec): should not close close-on-exec FDs.
65207	  [ruby-dev:30679]
65208
65209	* io.c (pipe_open): raise NotImplementedError for command "-" on
65210	  platforms where fork(2) is not available.  [ruby-dev:30681]
65211
65212Tue Apr  4 04:17:18 2007  Technorama Ltd. <oss-ruby@technorama.net>
65213
65214	* ext/openssl/ossl_ssl.c: Add documentation.
65215
65216Tue Apr  3 16:22:24 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65217
65218	* ext/openssl/extconf.rb: check for functions added in 1.9.
65219
65220	* ext/openssl/ruby_missing.h: check per features instead by
65221	  checking version code.  [ruby-core:10845]
65222
65223Tue Apr  3 16:02:44 2007  Technorama Ltd. <oss-ruby@technorama.net>
65224
65225	* ext/openssl/ossl_bn.c: More documentation.
65226
65227	* ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves.
65228
65229Tue Apr  3 15:50:41 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65230
65231	* ext/socket/socket.c (s_recv, s_recvfrom): some systems (such as
65232	  windows) doesn't set fromlen if the socket is connection-oriented.
65233	  reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061]
65234
65235Tue Apr  3 09:36:55 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65236
65237	* ext/openssl/ruby_missing.h: need to include version.h to check
65238	  RUBY_VERSION_CODE.
65239
65240Mon Apr  3 07:10:12 2007  Technorama Ltd. <oss-ruby@technorama.net>
65241
65242	* ext/openssl/ossl_{ssl.[ch],ssl_session.c},
65243	  ext/openssl/lib/openssl/lib/openssl/ssl.rb:
65244	  New SSL::Session class.  Add session cb's, getter/setters,
65245	  config, and statistics methods.
65246
65247Mon Apr  3 04:00:23 2007  Technorama Ltd. <oss-ruby@technorama.net>
65248
65249	* ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.
65250
65251	* ext/openssl/ossl_hmac.c Add reset method.
65252
65253	* ext/openssl/ossl_cipher.c (Cipher#update) Take additional
65254	  buffer argument.
65255
65256	* ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h}
65257	  compatibility with 1.8.
65258
65259Mon Apr  2 21:55:12 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65260
65261	* insns.def (throw), thread.c, yarvcore.h (throwed_errinfo): fixed
65262	  typo.
65263
65264Fri Mar 30 11:46:51 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65265
65266	* win32/win32.c (rb_w32_cmdvector): fixed buffer size. reported by
65267	  wanabe [ruby-dev:30672]
65268
65269	* win32/win32.c (init_env, insert, rb_w32_get_environ): use strdup
65270	  instead of malloc + strlcpy. suggested by nobu [ruby-dev:30673]
65271
65272Fri Mar 30 02:29:04 2007  Technorama  <oss-ruby@technorama.net>
65273
65274	* ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c:
65275	  Add Documentation for various methods.
65276
65277	* ext/openssl/lib/openssl/cipher.rb: Ditto
65278
65279	* ext/openssl/ossl_bn.c: add lshift! and rshift! methods.
65280
65281	* ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string.
65282
65283Fri Mar 23 11:28:24 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65284
65285	* win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
65286	  rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64,
65287	  rb_w32_get_environ): use strlcpy() and strlcat().
65288
65289	* win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc().
65290
65291	* win32/win32.c (rb_w32_closedir): check NULL before free pointers.
65292
65293Fri Mar 23 00:24:52 2007  Keiju Ishitsuka <keiju@ruby-lang.org>
65294
65295	* lib/shell: commit miss(support for ruby 1.9(YARV) thread model).
65296
65297Thu Mar 22 13:32:17 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65298
65299	* win32/Makefile.sub (LIBS): remove an unnecessary library.
65300
65301Thu Mar 22 10:27:58 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65302
65303	* test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s.
65304
65305Wed Mar 21 20:38:06 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65306
65307	* marshal.c (w_short, w_long, w_object): get rid of VC++ warnings.
65308
65309Wed Mar 21 20:05:07 2007  Koichi Sasada  <ko1@atdot.net>
65310
65311	* compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
65312	  proc.c, vm.c, vm_macro.def, vm_macro.def, yarvcore.c, yarvcore.h,
65313	  debug.c, debug.h: merge half-baked-1.9 changes.  The biggest change
65314	  is to change node structure around NODE_SCOPE, NODE_ARGS.  Every
65315	  scope (method/class/block) has own NODE_SCOPE node and NODE_ARGS
65316	  represents more details of arguments information.  I'll write a
65317	  document about detail of node structure.
65318
65319Wed Mar 21 17:04:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65320
65321	* bignum.c (rb_big2str0): round up for the most significant digit.
65322	  [ruby-core:10686]
65323
65324Tue Mar 21 08:20:00 2007  Nathaniel Talbott  <ntalbott@ruby-lang.org>
65325
65326	* test/testunit/collector/test_dir.rb: Fixed test/unit tests that
65327	  were breaking due to Module#public_instance_methods now
65328	  returning a Symbol instead of a String.
65329
65330	* test/testunit/collector/test_objectspace.rb: Ditto.
65331
65332Tue Mar 20 22:54:50 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65333
65334	* marshal.c (w_extended): erroneous check condition when dump
65335	  method is defined.  [ruby-core:10646]
65336
65337Tue Mar 20 21:36:47 2007  Keiju Ishitsuka <keiju@ruby-lang.org>
65338
65339	* lib/shell.rb, lib/shell: support for ruby 1.9(YARV) thread model.
65340
65341Tue Mar 20 16:36:08 2007  URABE Shyouhei  <shyouhei@ruby-lang.org>
65342
65343	* distruby.rb: Add zip generation.
65344
65345Tue Mar 20 16:20:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65346
65347	* eval.c (rb_f_callee_name): add __method__ and __callee__ again.
65348	  __callee__ need to rework to adopt YARV.  [ruby-core:10671]
65349
65350Tue Mar 20 11:09:00 2007  Akinori MUSHA  <knu@iDaemons.org>
65351
65352	* lib/set.rb: Revise rdoc.
65353
65354	* lib/set.rb (Set#freeze, Set#taint, Set#untaint): Implement
65355	  Set#freeze, Set#taint, and Set#untaint; requested by: Dan
65356	  Hutchings <dan AT moltoagitato.com> in [ruby-bugs:PR#9359].
65357
65358Tue Mar 20 09:13:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65359
65360	* process.c (rb_fork): flush stdouts always before fork(2).
65361	  fixed: [ruby-dev:30612]
65362
65363Tue Mar 20 01:38:48 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65364
65365	* thread.c (thread_start_func_2): store the result of first_func
65366	  as well as first_proc.
65367
65368	* thread.c (thread_create_core): block is not used if first_func
65369	  is given.
65370
65371Mon Mar 19 16:58:52 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65372
65373	* missing/{strlcat,strlcpy}.c, missing.h: new functions.
65374
65375	* LEGAL: add copyright notice about above files.
65376
65377	* configure.in: check whether strlcat and strlcpy are exist or not.
65378
65379	* {bcc32,win32,wince}/Makefile.sub: use above files.
65380
65381Mon Mar 19 14:12:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65382
65383	* lib/matrix.rb (Matrix::inverse_from): adding partial pivoting to
65384	  the Gauss-Jordan algorithm, making it stable.  a patch from
65385	  Peter Vanbroekhoven.  [ruby-core:10641]
65386
65387Mon Mar 19 12:13:36 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65388
65389	* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
65390	  Huehner <stefan at huehner.org>.  [ruby-core:10543]
65391
65392Mon Mar 19 11:27:13 2007  Minero Aoki  <aamine@loveruby.net>
65393
65394	* lib/net/protocol.rb (rbuf_read): extend buffer size for speed.
65395
65396Sun Mar 18 08:31:51 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65397
65398	* win32/dir.h, win32/win32.c (rb_w32_opendir, rb_w32_readdir,
65399	  rb_w32_closedir): get rid of possible buffer-overflows.
65400
65401Sat Mar 17 19:10:39 2007  Kouhei Sutou  <kou@cozmixng.org>
65402
65403	* lib/rss, test/rss:
65404	- supported Atom.
65405	- bumped version 0.1.6 to 0.1.7.
65406	* sample/rss/convert.rb: added new sample.
65407
65408Fri Mar 16 22:32:20 2007  Minero Aoki  <aamine@loveruby.net>
65409
65410	* lib/net/pop.rb: change default verification mode from
65411	  VERIFY_PEER to VERIFY_NONE because most POPS server does not have
65412	  true certification.
65413
65414Fri Mar 16 22:19:24 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
65415
65416	* ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize,
65417	  a little bit supporting ActiveX control. [ruby-talk:241188]
65418
65419Fri Mar 16 22:16:58 2007  Minero Aoki  <aamine@loveruby.net>
65420
65421	* lib/net/http.rb: merge Ruby-SSPI patch contributed by Justin
65422	  Bailey.
65423
65424	* ext/Win32API/lib/win32/sspi.rb: new file.
65425
65426Wed Mar 14 12:30:00 2007  Shigeo Kobayashi  <shigeo@tinyforest.jp>
65427
65428	* ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
65429	  treated as ("-0.31") not as ("0.31").
65430
65431Tue Mar 13 19:04:30 2007  Keiju Ishitsuka <keiju@ruby-lang.org>
65432
65433	* lib/sync.rb: support for ruby 1.9(YARV) thread model.
65434
65435Tue Mar 13 09:25:10 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65436
65437	* common.mk (clear-installed-list): separated from install-prereq.
65438
65439Tue Mar 13 07:23:20 2007  Shugo Maeda  <shugo@ruby-lang.org>
65440
65441	* lib/monitor.rb (mon_try_enter): call @mon_muetx.try_lock.
65442	  Thanks, Keiju ISHITSUKA. [ruby-dev:30507]
65443
65444Tue Mar 13 02:42:58 2007  Akinori MUSHA  <knu@iDaemons.org>
65445
65446	* lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph
65447	  assumption any more; submitted by MIYASAKA Masaru <alkaid AT
65448	  coral.ocn.ne.jp> in [ruby-dev:30537].
65449
65450Mon Mar 12 10:53:28 2007  Akinori MUSHA  <knu@iDaemons.org>
65451
65452	* ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know about
65453	  externally defined modules; submitted by Technorama
65454	  Ltd. <oss-ruby AT technorama.net> in [ruby-bugs:PR#4704].
65455
65456	* ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto.
65457
65458	* ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto.
65459
65460	* ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto.
65461
65462	* ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto.
65463
65464	* ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto.
65465
65466	* ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto.
65467
65468	* ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto.
65469
65470	* ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto.
65471
65472	* ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto.
65473
65474	* ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto.
65475
65476Sun Mar 11 18:42:01 2007  Akinori MUSHA  <knu@iDaemons.org>
65477
65478	* misc/ruby-mode.el (ruby-block-end-re): Support for the
65479	  experimental ';;' terminator had been dropped.
65480
65481Sun Mar 11 05:45:46 2007  Akinori MUSHA  <knu@iDaemons.org>
65482
65483	* misc/README, misc/rdebug.el: Add rdebug.el, Emacs ruby-debug
65484	  interface based on rubydb3x.el; submitted by Martin Nordholts
65485	  <enselic AT gmail.com> in [ruby-bugs:PR#9023].
65486
65487Sat Mar 10 07:20:28 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
65488
65489	* ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB#library_name,
65490	  WIN32OLE_TYPELIB#visible?.
65491
65492	* test/win32ole/test_win32ole_typelib.rb: ditto.
65493
65494Thu Mar  8 09:17:59 2007  Minero Aoki  <aamine@loveruby.net>
65495
65496	* compile.c: iseq_compile -> rb_iseq_compile.
65497
65498	* iseq.c: ditto.
65499
65500	* intern.h: provide function prototype of Init_jump.
65501
65502	* eval_jump.h (Init_jump): declare function type.
65503
65504	* thread.c: platform-dependent functions should be surrounded by #ifdef.
65505
65506	* iseq.c (iseq_data_to_ary): remove unused variable.
65507
65508	* compile.c (set_arguments): ditto.
65509
65510	* thread.c (set_unblock_function): ditto.
65511
65512	* thread_pthread.ci: reduce printf warning.
65513
65514	* vm_dump.c: ditto.
65515
65516Tue Mar  6 16:35:04 2007  Keiju Ishitsuka  <keiju@ruby-lang.org>
65517
65518	* lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477].
65519
65520Tue Mar  6 11:53:25 2007  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
65521
65522	* ext/tk/sample/irbtkw.rbw: fails to exit process.
65523
65524Tue Mar  6 10:23:09 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65525
65526	* runruby.rb: added --pure (turned on by default) and --debugger
65527	  options.
65528
65529Mon Mar  5 09:19:33 2007  Minero Aoki  <aamine@loveruby.net>
65530
65531	* lib/timeout.rb (Timeout.timeout): should return the block value
65532	  always.
65533
65534	* lib/timeout.rb (Timeout.timeout): should yield sec argument
65535	  always.
65536
65537	* lib/timeout.rb (Timeout.timeout): fix document.
65538
65539Mon Mar  5 09:16:40 2007  Minero Aoki  <aamine@loveruby.net>
65540
65541	* lib/net/smtp.rb: support automatic STARTTLS.
65542
65543	* lib/net/smtp.rb: check server advertisement.
65544
65545	* lib/net/smtp.rb: introduce new class SMTP::Response.
65546
65547	* lib/net/smtp.rb (getok): should not use sprintf.
65548
65549	* lib/net/smtp.rb (get_response): ditto.
65550
65551	* lib/net/protocol.rb: reduce syntax warning on 1.9.
65552
65553Mon Mar  5 07:13:28 2007  Minero Aoki  <aamine@loveruby.net>
65554
65555	* lib/net/smtp.rb: reconstruct SMTPS/STARTTLS interface.  New
65556	  interface is incompatible from current 1.9 interface at all.
65557
65558	* lib/net/smtp.rb: All SSL-related class methods are removed; use
65559	  instance methods instead.
65560
65561	* lib/net/smtp.rb: rename methods: *ssl -> *tls (with alias
65562	  "ssl").
65563
65564	* lib/net/smtp.rb: rename methods: *tls -> *starttls.
65565
65566Mon Mar  5 01:36:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65567
65568	* parse.y (parser_yylex), win32/win32.c (rb_w32_utime): fixed
65569	  indentation broken at YARV merger.
65570
65571Sun Mar  4 23:41:14 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65572
65573	* file.c (rb_stat_uid, rb_stat_gid, eaccess): use rb_uid_t and
65574	  rb_gid_t instead of int.
65575
65576	* file.c (rb_stat_s_utime): fixed a commit miss for the platforms
65577	  where utimes() does not exist.
65578
65579	* lib/fileutils.rb (touch): ditto.
65580
65581Sun Mar  4 14:46:56 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
65582
65583	* util.c (push_element): should return a int value.
65584
65585Sun Mar  4 01:01:25 2007  Akinori MUSHA  <knu@iDaemons.org>
65586
65587	* lib/set.rb (Set#^, Set#&): Correct documentation.  Those methods
65588	  return sets, not arrays; noted by Oliver Frank Wittich <nietz AT
65589	  mangabrain.de>.
65590
65591Sat Mar  3 22:54:33 2007  Minero Aoki  <aamine@loveruby.net>
65592
65593	* lib/fileutils.rb (touch): last #touch change causes error when
65594	  :mtime option was not given.
65595
65596Sat Mar  3 22:51:29 2007  Minero Aoki  <aamine@loveruby.net>
65597
65598	* lib/fileutils.rb (mv): could not move directory between
65599	  different file systems. [ruby-dev:30411]
65600
65601Sat Mar  3 22:37:02 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65602
65603	* file.c (rb_file_s_utime): allow nil to set the current time.
65604
65605	* lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate
65606	  options.  fixed: [ruby-talk:219037]
65607
65608Sat Mar  3 15:52:26 2007  Akinori MUSHA  <knu@iDaemons.org>
65609
65610	* object.c (instance_variable_get): Restore rdoc markups lost in
65611	  the last commit.
65612
65613Fri Mar  2 21:17:14 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
65614
65615	* ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,
65616	  ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val,
65617	  ): fix some bugs of WIN32OLE_VARIANT.new when variant type is
65618	  VT_ARRAY|VT_BSTR or VT_BYREF.
65619
65620	* ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize):
65621	  WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value=
65622	  is defined as instance method of WIN32OLE_VARIANT.
65623
65624	* test/win32ole/test_win32ole_variant.rb: add some test for
65625	  VT_ARRAY, VT_BYREF variant type.
65626
65627Fri Mar  2 07:58:24 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65628
65629	* object.c (rb_obj_ivar_set): RDoc updated according to a
65630	  suggestion from Brian Candler <B.Candler AT pobox.com>.
65631	  [ruby-core:10469]
65632
65633Thu Mar  1 21:38:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65634
65635	* parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even if
65636	  empty.  [ruby-dev:30455]
65637
65638Thu Mar  1 02:55:25 2007  Akinori MUSHA  <knu@iDaemons.org>
65639
65640	* ext/digest/digest.c (get_digest_base_metadata): Allow inheriting
65641	  Digest::Base subclasses, which was unintentionally made
65642	  impossible while restructuring Digest classes.
65643
65644Thu Mar  1 02:05:17 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65645
65646	* mkconfig.rb (patchlevel): read from version.h.
65647
65648Wed Feb 28 21:15:00 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
65649
65650	* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.
65651
65652	* missing/flock.c: workaround for MinGW.
65653
65654Wed Feb 28 20:51:32 2007  URABE Shyouhei  <shyouhei@ruby-lang.org>
65655
65656	* pack.c (pack_unpack): properly ignore non-base64 octets such as
65657	  UTF-8 encoded BOMs; submitted by SOUMA Yutaka <holon@radastery.jp>
65658	  to fix [ruby-core:10437]
65659
65660Wed Feb 28 18:31:51 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65661
65662	* ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.
65663	  they are already checked at configure.
65664	  reported by KOBAYASHI Yasuhiro [ruby-list:43225]
65665
65666Wed Feb 28 18:23:43 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65667
65668	* lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc)
65669	  should be the first elements of library paths list.
65670	  reported by KOBAYASHI Yasuhiro [ruby-list:43225]
65671
65672Wed Feb 28 10:33:58 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65673
65674	* Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): system
65675	  specific thread model.
65676
65677	* compile.h, regint.h, vm.h, array.c: removed unnecessary #include.
65678
65679Wed Feb 28 04:03:03 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65680
65681	* enum.c (take_i): small cosmetic / documentation patch from
65682	  Tadashi Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:30446]
65683
65684Wed Feb 28 01:20:18 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65685
65686	* test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use
65687	  target_os instead. reported by KOBAYASHI Yasuhiro [ruby-list:43225]
65688
65689Wed Feb 28 00:08:11 2007  URABE Shyouhei  <shyouhei@ice.uec.ac.jp>
65690
65691	* mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']
65692
65693	* common.mk: new target dist
65694
65695	* distruby.rb: new file
65696
65697Tue Feb 27 22:18:45 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
65698
65699	* configure.in (--enable-auto-image-base): avoid the necessity to
65700	  rebase the shared libs as much as possible;
65701	  submitted by Corinna Vinschen <spam at vinschen.de> in
65702	  [ruby-talk:240964].
65703
65704Tue Feb 27 21:36:47 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
65705
65706	* util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
65707
65708Tue Feb 27 21:33:04 2007  WATANABE Hirofumi  <eban@ruby-lang.org>
65709
65710	* configure.in (ac_cv_func_setrlimit): workaround for djgpp.
65711
65712Tue Feb 27 20:35:28 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65713
65714	* common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h.
65715
65716Tue Feb 27 19:26:31 2007  Akinori MUSHA  <knu@iDaemons.org>
65717
65718	* ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,
65719	  rb_nkf_guess2): Silence warnings regarding char * vs. unsigned
65720	  char * mismatch; submitted by Lyle Johnson
65721	  <lyle.johnson@gmail.com> in [ruby-core:10416].
65722
65723Tue Feb 27 19:15:01 2007  Akinori MUSHA  <knu@iDaemons.org>
65724
65725	* lib/base64.rb (Base64::b64encode): Fix documentation; submitted
65726	  by David Symonds <dsymonds@gmail.com> in [ruby-core:10432].
65727
65728Tue Feb 27 18:59:42 2007  Akinori MUSHA  <knu@iDaemons.org>
65729
65730	* ext/bigdecimal/bigdecimal.c (BigDecimal_load): Silence warnings
65731	  regarding char * vs. unsigned char * mismatch; submitted by Lyle
65732	  Johnson <lyle.johnson@gmail.com> in [ruby-core:10416].
65733
65734	* ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto.
65735
65736	* ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto.
65737
65738	* ext/digest/digest.c (rb_digest_base_finish,
65739	  rb_digest_base_update): Ditto.
65740
65741Tue Feb 27 18:12:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65742
65743	* enum.c (enum_take): new method.  [ruby-dev:30407]
65744
65745	* enum.c (enum_drop): ditto.
65746
65747Tue Feb 27 07:47:24 2007  Koichi Sasada  <ko1@atdot.net>
65748
65749	* yarvcore.h, vm.h: rename th_invoke_yield() to th_yield().
65750
65751	* blockinlining.c: ditto.
65752
65753	* eval.c: ditto.
65754
65755	* vm.c, insns.def: rename th_invoke_yield_cfunc()
65756	  to th_yield_with_cfunc().
65757
65758	* yarvcore.h, yarvcore.c: rename theYarvVM to ruby_current_vm and
65759	  yarvCurrentThread to ruby_current_thread.  remove yarvVMArray.
65760
65761Tue Feb 27 00:45:23 2007  Minero Aoki  <aamine@loveruby.net>
65762
65763	* test/ruby/test_optimization.rb: restore method before calling
65764	  assert_equal.
65765
65766Mon Feb 26 00:58:39 2007  Koichi Sasada  <ko1@atdot.net>
65767
65768	* yarvcore.h: add rb_thread_t#top_wrapper, top_self.
65769
65770	* eval_load.c (rb_load): support eval in wrapper module
65771	  (load(file, true)).
65772
65773	* eval.c: ditto.
65774
65775	* eval_jump.h: ditto.
65776
65777	* iseq.c: ditto.
65778
65779	* vm.c: ditto.
65780
65781	* yarvcore.c: ditto.
65782
65783	* insns.def: add a empty line.
65784
65785Mon Feb 26 00:54:36 2007  Koichi Sasada  <ko1@atdot.net>
65786
65787	* common.mk: change "gdb" rule.  You can debug miniruby with
65788	  $(srcdir)/test.rb on gdb by this rule (type "make gdb").
65789	  If you write break points to "breakpoints.gdb" on $srcdir,
65790	  gdb runs with this file.
65791
65792Sun Feb 25 11:46:58 2007  Koichi Sasada  <ko1@atdot.net>
65793
65794	* win32/Makefile.sub: enable -Zi (debug) option.
65795
65796Sun Feb 25 11:38:40 2007  Koichi Sasada  <ko1@atdot.net>
65797
65798	* ruby.h: define RUBY_VM macro and remove NATIVETHREAD* macros.
65799
65800	* intern.h: ditto.
65801
65802	* signal.c (posix_signal): remove unused function
65803	  posix_nativethread_signal().
65804
65805Sun Feb 25 11:31:13 2007  Koichi Sasada  <ko1@atdot.net>
65806
65807	* thread.c (rb_thread_run): fix to ANSI style.
65808
65809Sun Feb 25 11:09:16 2007  Minero Aoki  <aamine@loveruby.net>
65810
65811	* bootstraptest/runner.rb: show source code in error message.
65812
65813Sun Feb 25 09:39:50 2007  Koichi Sasada  <ko1@atdot.net>
65814
65815	* yarvcore.h:
65816	  rename:
65817	    rb_iseq_t#file_name -> filename
65818	    rb_iseq_t#local_tbl -> local_table
65819	  add:
65820	    rb_iseq_t#local_table_size
65821
65822	* compile.c: separate local_table_size and local_size
65823	  (local variable size)
65824
65825	* blockinlining.c: apply above rename.
65826
65827	* compile.h: ditto.
65828
65829	* eval.c: ditto.
65830
65831	* iseq.c: ditto.
65832
65833	* proc.c: ditto.
65834
65835	* vm.c: ditto.
65836
65837	* vm_dump.c: ditto.
65838
65839Sun Feb 25 10:27:17 2007  Minero Aoki  <aamine@loveruby.net>
65840
65841	* bootstraptest/runner.rb: add lib/ to load path.
65842
65843Sat Feb 25 10:16:50 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65844
65845	* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
65846
65847Sat Feb 24 19:39:16 2007  Minero Aoki  <aamine@loveruby.net>
65848
65849	* common.mk: new target "btest", to run bootstraptests.
65850
65851Sat Feb 24 19:30:40 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65852
65853	* file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):
65854	  renamed from OpenFile.
65855
65856	* ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h,
65857	  ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c,
65858	  ext/readline/readline.c, ext/socket/socket.c: ditto.
65859
65860Sat Feb 24 19:28:23 2007  Minero Aoki  <aamine@loveruby.net>
65861
65862	* bootstraptest/runner.rb: new option -v,--verbose.
65863
65864Sat Feb 24 18:55:50 2007  Minero Aoki  <aamine@loveruby.net>
65865
65866	* yarvtest/test_method.rb: removed (merged to bootstraptest).
65867
65868	* yarvtest/test_class.rb: ditto.
65869
65870Sat Feb 24 18:44:39 2007  Minero Aoki  <aamine@loveruby.net>
65871
65872	* bootstraptest/test_class.rb: new file.
65873
65874	* bootstraptest/test_method.rb: add tests.
65875
65876Sat Feb 24 18:44:30 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
65877
65878	* intern.h (rb_thread_blocking_region): add prototype.
65879
65880	* file.c (rb_thread_flock, rb_file_flock): use UBF feature.
65881
65882	* process.c (rb_waitpid_blocking, rb_waitpid): use UBF feature.
65883
65884	* thread.c (rb_thread_debug): added runtime debugging flag.
65885
65886	* thread.c (BLOCKING_REGION): restore previous UBF.
65887
65888	* thread.c (rb_thread_blocking_region): default UBF to interrupt
65889	  in system dependent way by RB_UBF_DFL.
65890	  + ubf_select() on posix system
65891	  + ubf_handle() on Win32
65892	  + none on cygwin
65893
65894	* thread_win32.ci (rb_w32_wait_events_blocking): blocking version.
65895
65896	* win32/win32.c (waitpid): use rb_w32_wait_events_blocking().
65897
65898Sat Feb 24 17:45:48 2007  Minero Aoki  <aamine@loveruby.net>
65899
65900	* parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.
65901
65902Sat Feb 24 16:52:55 2007  Minero Aoki  <aamine@loveruby.net>
65903
65904	* bootstraptest/runner.rb: fix syntax error.
65905
65906Sat Feb 24 16:51:09 2007  Minero Aoki  <aamine@loveruby.net>
65907
65908	* bootstraptest/runner.rb: new option --help.
65909
65910Sat Feb 24 16:47:33 2007  Minero Aoki  <aamine@loveruby.net>
65911
65912	* bootstraptest: new test suite.
65913
65914	* bootstraptest/runner.rb: new file.
65915
65916	* bootstraptest/test_literal.rb: new file.
65917
65918	* bootstraptest/test_method.rb: new file.
65919
65920Sat Feb 24 16:29:15 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
65921
65922	* win32/win32.c (StartSocket): remove unnecessary code.
65923
65924Sat Feb 24 16:04:30 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65925
65926	* parse.y (struct local_vars): remove unused nofree member from
65927	  struct.
65928
65929	* parse.y (parser_free): ditto.
65930
65931Sat Feb 24 15:57:19 2007  Shugo Maeda  <shugo@ruby-lang.org>
65932
65933	* lib/thread.rb (ConditionVariable#broadcast): use Mutex
65934	  instead of Thread.exclusive.
65935
65936	* lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
65937	  before calling Mutex#unlock.
65938
65939Sat Feb 24 15:51:45 2007  Minero Aoki  <aamine@loveruby.net>
65940
65941	* parse.y (program): remove useless assignment to reduce warning.
65942
65943Sat Feb 24 15:41:51 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
65944
65945	* parse.y (lambda): remove unused clause from the rule to stop
65946	  warning.
65947
65948Sat Feb 24 15:41:22 2007  Shugo Maeda  <shugo@ruby-lang.org>
65949
65950	* lib/thread.rb: do not redefine Mutex#synchronize.
65951
65952Sat Feb 24 15:14:02 2007  Shugo Maeda  <shugo@ruby-lang.org>
65953
65954	* lib/monitor.rb: rewritten using Mutex/ConditionVariable.
65955
65956Sat Feb 24 13:25:32 2007  Koichi Sasada  <ko1@atdot.net>
65957
65958	* lib/soap/mapping/factory.rb: catch up with spec changes (return
65959	  Symbols instead of Strings).
65960
65961	* lib/soap/mapping/mapping.rb: ditto.
65962
65963Sat Feb 24 10:49:55 2007  Koichi Sasada  <ko1@atdot.net>
65964
65965	* parse.y, node.h, compile.c: change node tree structure.  a purpose
65966	  of this change is to unify argument structure of method and block.
65967	  this change prohibits duplicate block parameter name.
65968	  new argument information:
65969	    NODE_ARGS	  [m: int, o: NODE_OPT_ARG, ->]
65970	    NODE_ARGS_AUX [r: ID, b: ID, ->]
65971	    NODE_ARGS_AUX [Pst: id, Plen: int, init: NODE*]
65972	  optarg information:
65973	    NODE_OPT_ARGS [idx, expr, ->]
65974
65975	* vm_macro.def: ditto.
65976
65977	* gc.c: ditto.
65978
65979	* iseq.c: ditto.
65980
65981	* compile.h: fix debug function name.
65982
65983	* test/ripper/test_scanner_events.rb: |_,_,foo| -> |_1,_2,foo|
65984
65985	* test/ruby/test_lambda.rb: disable test temporarily.
65986
65987Sat Feb 24 10:46:28 2007  Koichi Sasada  <ko1@atdot.net>
65988
65989	* test/testunit/test_testcase.rb: catch up with current instance
65990	  variable spec.
65991
65992Sat Feb 24 10:32:59 2007  Koichi Sasada  <ko1@atdot.net>
65993
65994	* common.mk: change vm_macro.def rule.
65995
65996Sat Feb 24 10:38:05 2007  Minero Aoki  <aamine@loveruby.net>
65997
65998	* ext/racc/cparse/cparse.c (cparse_params_mark): remove useless
65999	  rb_gc_mark.  Thanks Tomoyuki Chikanaga. [ruby-dev:30405]
66000
66001Sat Feb 24 07:31:35 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66002
66003	* ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array,
66004	  WIN32OLE_VARIANT#value=, refactoring.
66005
66006	* test/win32ole/test_win32ole_variant.rb: add some test for
66007	  WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=.
66008
66009Fri Feb 23 18:37:55 2007  Minero Aoki  <aamine@loveruby.net>
66010
66011	* test/ruby/test_yield.rb: new test.
66012
66013	* yarvtest/test_yield.rb: removed (moved to test_yield.rb).
66014
66015Fri Feb 23 18:27:17 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
66016
66017	* thread.c (rb_thread_polling): check interrupts here.
66018
66019	* thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and
66020	  now receive multiple event handles.
66021
66022	* win32/win32.c (wait_events, rb_w32_main_context): removed.
66023
66024	* thread_win32.ci (rb_w32_wait_events): new function.
66025
66026	* thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move
66027	  from win32/win32.c to thread_win32.ci, and use w32_wait_events().
66028
66029Fri Feb 23 18:13:22 2007  Minero Aoki  <aamine@loveruby.net>
66030
66031	* test/ruby/test_optimization.rb: new test (merges test_opts.rb).
66032
66033	* yarvtest/test_opts.rb: removed.
66034
66035Fri Feb 23 16:59:39 2007  Minero Aoki  <aamine@loveruby.net>
66036
66037	* test/ruby/test_assignment.rb: merge yarvtest/test_massign.
66038
66039	* yarvtest/test_massign.rb: removed (merged to
66040	  test_assignment.rb).
66041
66042Fri Feb 23 15:58:20 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
66043
66044	* signal.c (sighandler): need to re-install sighandler on some
66045	  platforms.
66046
66047Fri Feb 23 15:05:57 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
66048
66049	* win32/win32.c (set_pioinfo_extra): simplified.
66050
66051Fri Feb 23 14:23:20 2007  Minero Aoki  <aamine@loveruby.net>
66052
66053	* test/ruby/test_literal.rb: new test.
66054
66055Fri Feb 23 12:40:12 2007  James Edward Gray II  <james@grayproductions.net>
66056
66057	* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the
66058	  Content-Length parameter optional for responses in
66059	  xmlrpc/client.rb; suggested by Daniel Berger
66060	  <Daniel.Berger@qwest.com> and approved by the maintainer.
66061
66062	* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime
66063	  support to xmlrpc; approved by the maintainer.
66064
66065Fri Feb 23 12:24:46 2007  Minero Aoki  <aamine@loveruby.net>
66066
66067	* parse.y (lambda): add ripper event.  This fixes bus error on
66068	  "make test-all".
66069
66070	* ext/ripper/extconf.rb: do not stop build.
66071
66072Fri Feb 23 12:16:05 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66073
66074	* parse.y: remove dyna_check_gen() prototype.
66075
66076Fri Feb 23 11:41:21 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66077
66078	* parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h,
66079	  object.c, string.c, variable.c, vm_macro.def: revert private
66080	  instance variable feature, which is postponed until next major
66081	  release.
66082
66083	* marshal.c: TYPE_SYMBOL2 removed; MARSHAL_MINOR reverted back to
66084	  8th version.
66085
66086Fri Feb 23 10:53:21 2007  Shugo Maeda  <shugo@ruby-lang.org>
66087
66088	* thread_pthread.ci (native_mutex_lock): do not call
66089	  pthread_mutex_trylock().
66090
66091Fri Feb 23 10:31:16 2007  Minero Aoki  <aamine@loveruby.net>
66092
66093	* dln.c: use dlopen on Mac OS X 10.3 or later.
66094
66095Fri Feb 23 10:03:49 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66096
66097	* string.c (rb_str_ord): need not to check string length;  ord
66098	  returns a codepoint for the first character in the string.
66099
66100Wed Feb 21 22:29:45 2007  Akinori MUSHA  <knu@iDaemons.org>
66101
66102	* numeric.c (fix_equal): A bit more optimization.
66103
66104Wed Feb 21 17:40:37 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66105
66106	* numeric.c (fix_equal): remove FIX2LONG() to optimize.  suggested
66107	  in http://t-a-w.blogspot.com/2007/02/making-ruby-faster.html.
66108	  [ruby-talk:240223]
66109
66110	* numeric.c (fix_cmp): ditto.
66111
66112Wed Feb 21 09:14:04 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66113
66114	* eval_load.c (rb_require_safe): should restore safe level.
66115
66116Tue Feb 20 21:19:29 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66117
66118	* ext/win32ole/win32ole.c (installed_code_page_proc,
66119	  ole_variant2val): small refactoring.
66120
66121Tue Feb 20 15:11:42 2007  Koichi Sasada  <ko1@atdot.net>
66122
66123	* eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to
66124	  vm.c from eval.c.  change th_call_super() to static function.
66125
66126Tue Feb 20 15:08:25 2007  Koichi Sasada  <ko1@atdot.net>
66127
66128	* test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
66129	  another thread close IO object which current thread is blocking with.
66130
66131Tue Feb 20 15:03:29 2007  Koichi Sasada  <ko1@atdot.net>
66132
66133	* thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if
66134	  errno is not 0 and EBADF.
66135
66136Mon Feb 19 22:15:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66137
66138	* configure.in (RUBY_REPLACE_TYPE): cache convertible type info.
66139
66140	* intern.h (rb_detach_process): use rb_pid_t instead of pid_t.
66141
66142	* ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT):
66143	  defaulted to conversion using long.
66144
66145Mon Feb 19 17:14:28 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66146
66147	* ext/socket/socket.c (unix_peeraddr): wrong syscall name in error
66148	  message for #peeraddr. a patch from Sam Roberts
66149	  <sroberts at uniserve.com>.  [ruby-core:10366]
66150
66151Sun Feb 18 22:56:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66152
66153	* ext/etc/etc.c (etc_getgrgid): missed to replace a macro.
66154
66155Sun Feb 18 19:33:00 2007  Tadayoshi Funaba  <tadf@dotrb.org>
66156
66157	* lib/date/format.rb: updated based on date2 4.0.3.
66158
66159Sun Feb 18 13:11:51 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66160
66161	* configure.in (pid_t, uid_t, gid_t): check if defined.
66162
66163	* intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use
66164	  rb_{pid,uid,gid}_t instead of plain int.  [ruby-dev:30376]
66165
66166	* ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM,
66167	  NUM2GIDT): moved to configure.in.
66168
66169Fri Feb 16 21:34:33 2007  Koichi Sasada  <ko1@atdot.net>
66170
66171	* object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id.
66172
66173	* test/testunit/test_testcase.rb: fix to use instance_variable_get()
66174	  to access @_result.
66175
66176Fri Feb 16 20:59:10 2007  Koichi Sasada  <ko1@atdot.net>
66177
66178	* intern.h: add a prototype of rb_sym_to_s().
66179
66180Fri Feb 16 19:24:22 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66181
66182	* math.c (math_log): update document to mention second optional
66183	  argument for logarithm base.
66184
66185Fri Feb 16 19:19:21 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66186
66187	* parse.y (mrhs): need to append by arg_append().
66188	  [ruby-talk:239385]
66189
66190Fri Feb 16 11:18:21 2007  Eric Hodel  <drbrain@segment7.net>
66191
66192	* lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
66193	  <hgs at dmu.ac.uk> from [ruby-core:10135]
66194
66195	* lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite.
66196
66197Thu Feb 15 20:48:36 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
66198
66199	* win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1
66200	  workaround. [ruby-core:10259]
66201
66202	* win32/win32.c (NtInitialize): call above function.
66203
66204Thu Feb 15 16:25:54 2007  Akinori MUSHA  <knu@iDaemons.org>
66205
66206	* lib/uri/generic.rb (URI::Generic::userinfo): Considering how
66207	  `scheme://user:@...', `scheme://:password@...' and
66208	  `scheme://:@...' are parsed, an empty user name or password
66209	  should be allowed and represented as it is.
66210
66211Thu Feb 15 01:52:53 2007  Koichi Sasada  <ko1@atdot.net>
66212
66213	* vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to
66214	  ruby_vm_global_state_version.
66215
66216Thu Feb 15 01:50:26 2007  Koichi Sasada  <ko1@atdot.net>
66217
66218	* test/fileutils/test_fileutils.rb (check_singleton): fix to use
66219	  symbol instead of string.
66220
66221	* test/io/nonblock/test_flush.rb: enable tests.
66222
66223	* test/xmlrpc/test_webrick_server.rb: ditto.
66224
66225Thu Feb 15 01:43:45 2007  Koichi Sasada  <ko1@atdot.net>
66226
66227	* lib/delegate.rb: catch up with class local variable (@_v) spec.
66228
66229	* lib/singleton.rb: ditto.
66230
66231Wed Feb 14 22:52:43 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66232
66233	* ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not
66234	  support VT_I8, VT_UI8.
66235
66236Wed Feb 14 22:10:21 2007  Koichi Sasada  <ko1@atdot.net>
66237
66238	* configure.in: change stack limit to 2MB from 32MB.
66239
66240	* win32/Makefile.sub: ditto.
66241
66242Wed Feb 14 21:39:36 2007  Akinori MUSHA  <knu@iDaemons.org>
66243
66244	* ext/digest/lib/digest.rb (Digest::self.const_missing): Drop
66245	  autoloads for sha2 classes in favor of handling in
66246	  const_missing(), to work around a problem exposed on OS X.
66247
66248Wed Feb 14 21:19:47 2007  Koichi Sasada  <ko1@atdot.net>
66249
66250	* thread_pthread.ci (native_thread_create): adjust 4KB (page size)
66251	  alignment.
66252
66253Wed Feb 14 21:12:36 2007  Koichi Sasada  <ko1@atdot.net>
66254
66255	* thread_pthread.ci (CHECK_ERR): call rb_bug()
66256	  instead of printf() and exit().
66257
66258Wed Feb 14 16:48:56 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66259
66260	* lib/date/format.rb (Date::Format::Bag::method_missing): need not
66261	  to use instance variables corresponding each method; use Hash
66262	  instead.
66263
66264Wed Feb 14 13:12:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66265
66266	* re.c (reg_operand): allow symbols to be operands for regular
66267	  expression matches.
66268
66269	* string.c (Init_String): allow Symbol#===.
66270
66271	* lib/date/format.rb (Date::Format::Bag::to_hash): string
66272	  added prefixes.
66273
66274Wed Feb 14 12:58:38 2007  Koichi Sasada  <ko1@atdot.net>
66275
66276	* thread.c (do_select): fix to iterate select().
66277	  on cygwin/mswin32, iterate in unblocking region.
66278
66279	* thread.c (rb_thread_select): don't iterate on this function.
66280	  (iterate in do_select).
66281
66282Wed Feb 14 11:39:18 2007  Koichi Sasada  <ko1@atdot.net>
66283
66284	* thread.c (set_unblock_function): fix function interface.
66285
66286Wed Feb 14 11:12:02 2007  Koichi Sasada  <ko1@atdot.net>
66287
66288	* eval_load.c, yarvcore.h: use rb_vm_t#loaded_features instead of
66289	  rb_features (global variable).
66290
66291	* yarvcore.c: mark rb_vm_t#loaded_features.
66292
66293Wed Feb 14 08:46:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66294
66295	* compile.c (defined_expr): no longer distinguish ordinary local
66296	  variables and in-block local variables in defined? value.
66297
66298Wed Feb 14 03:14:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66299
66300	* lib/uri/generic.rb (URI::Generic::userinfo): should support
66301	  empty password.  [ruby-core:10290]
66302
66303	* lib/uri/generic.rb (URI::Generic::set_password): password can be
66304	  cleared by nil.  [ruby-core:10290]
66305
66306Wed Feb 14 03:10:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66307
66308	* parse.y (struct local_vars): no need to warn out-of-scope
66309	  variables; remove dnames member from struct.
66310
66311Wed Feb 14 03:04:10 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66312
66313	* parse.y: RVarmap no longer used as yytype; removed.
66314
66315	* parse.y (dyna_push_gen): no longer need return value.
66316
66317	* parse.y (dyna_pop_gen): no longer need argument.
66318
66319	* parse.y (local_push_gen): initialize nofree.
66320
66321Wed Feb 14 00:30:07 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66322
66323	* ext/socket/socket.c (init_unixsock): path may contain NUL for
66324	  abstract unix sockets.  [ruby-core:10288]
66325
66326Tue Feb 13 02:21:12 2007  Sam Roberts  <sroberts@uniserve.com>
66327
66328	* io.c (rb_f_syscall): Fix buffer overflow with syscall
66329	  arguments.  [ruby-bugs:PR#8541]
66330
66331Mon Feb 12 13:57:30 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66332
66333	* ext/win32ole/win32ole.c (ole_variant2val): support VT_I8, VT_UI8.
66334
66335Mon Feb 12 11:48:52 2007  Kouhei Sutou  <kou@cozmixng.org>
66336
66337	* lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightses
66338	  -> dc_rights_list. dc_rightses still exists for backward
66339	  compatibility. [ruby-core:8350]
66340
66341	* test/rss/test_maker_dc.rb: added tests for dc_rights_list.
66342
66343Sun Feb 11 22:40:17 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66344
66345	* ext/win32ole/win32ole.c (ole_ptrtype2val): ole_type, ole_type_detail
66346	  should not return "VARIANT,VARIANT".
66347
66348Sun Feb 11 22:11:05 2007  Kouhei Sutou  <kou@cozmixng.org>
66349
66350	* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#initialize):
66351	  kept backward compatibility.
66352
66353Sun Feb 11 22:10:08 2007  Kouhei Sutou  <kou@cozmixng.org>
66354
66355	* lib/rss/parser.rb (RSS::ListenerMixin#start_else_element): used
66356	  const_defined? instead of constants.include?.
66357
66358Sun Feb 11 18:47:14 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66359
66360	* ext/win32ole/win32ole.c (ole_val2olevariantdata):
66361	  WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY.
66362
66363	* test/win32ole/test_win32ole_variant.rb: ditto.
66364
66365	* ext/win32ole/win32ole.c: small refactoring.
66366
66367Sun Feb 11 07:42:25 2007  Akinori MUSHA  <knu@iDaemons.org>
66368
66369	* lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse
66370	  a quoted-string in a Content-Disposition value.
66371
66372Sat Feb 10 20:21:29 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66373
66374	* ext/win32ole/win32ole.c: add WIN32OLE#ole_query_interface.
66375	  thanks to Mikael Pahmp.
66376
66377	* test/win32ole/test_win32ole.rb: ditto.
66378
66379Sat Feb 10 17:46:52 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66380
66381	* common.mk: targets which depend on yarvcore.h now depend on
66382	  rubysig.h too.
66383
66384	* yarvcore.h (rb_vm_t): use rb_atomic_t instead of int.
66385
66386Sat Feb 10 00:13:11 2007  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
66387
66388	* ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd,
66389	  __conv_keyonly_opts).
66390
66391Fri Feb  9 12:33:40 2007  Koichi Sasada  <ko1@atdot.net>
66392
66393	* thread_win32.ci (w32_show_error_message): renamed to w32_error.
66394	  this function do rb_bug().
66395
66396	* thread_win32.ci (w32_set_event, w32_reset_event, w32_close_handle,
66397	  w32_resume_thread): added. fix to use these functions instead calling
66398	  win32api directly.
66399
66400	* thread_win32.ci (w32_create_thread): create suspend thread
66401	  (caller must call w32_resume_thread()).
66402
66403Fri Feb  9 11:03:40 2007  Koichi Sasada  <ko1@atdot.net>
66404
66405	* test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.
66406
66407Fri Feb  9 05:08:17 2007  Koichi Sasada  <ko1@atdot.net>
66408
66409	* thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1):
66410	  move cleanup function to thread_start_func_2().
66411
66412	* thread.c, thread_pthread.ci, thread_win32.ci:
66413	  add more destruct functions.
66414	  (native_thread_destroy() and native_mutex_destroy())
66415
66416	* thread_pthread.ci, thread_pthread.h: make native_mutex_* functions
66417	  (check error, etc), it's not macro any more.
66418
66419	* thread_win32.ci (thread_start_func_1): store some values before
66420	  running thread (to release these after running thread).
66421
66422	* thread_win32.ci (native_thread_create): fix spaces.
66423
66424Thu Feb  8 22:44:04 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66425
66426	* ext/win32ole/win32ole.c (ole_set_safe_array, ole_variant2val,
66427	  ole_val_ary2variant_ary): fix WIN32OLE_VARIANT.new bug when
66428	  1st argument is empty array, and when 2nd argument is
66429	  VT_ARRAY|VT_BYREF.
66430
66431	* test/win32ole/test_win32ole_variant.rb: ditto.
66432
66433Thu Feb  8 22:39:09 2007  Koichi Sasada  <ko1@atdot.net>
66434
66435	* yarvtest/yarvtest.rb: check target command names.
66436
66437Thu Feb  8 22:31:45 2007  Koichi Sasada  <ko1@atdot.net>
66438
66439	* test/ruby/test_clone.rb: fix to current spec
66440	  (Module should not be occur many times in ancestors).
66441
66442Thu Feb  8 22:26:14 2007  Koichi Sasada  <ko1@atdot.net>
66443
66444	* test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo)
66445	  should be false.
66446
66447	* ChangeLog: fix last messages.
66448
66449Thu Feb  8 22:24:06 2007  Koichi Sasada  <ko1@atdot.net>
66450
66451	* test/ruby/test_module.rb: fix to use Symbol instead of String.
66452
66453	* test/ruby/test_module.rb: remove space before argument parentheses.
66454
66455Thu Feb  8 22:02:14 2007  Koichi Sasada  <ko1@atdot.net>
66456
66457	* test/ruby/marshaltestlib.rb: eval(sym) -> eval(sym.to_s)
66458
66459Thu Feb  8 21:35:16 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66460
66461	* test/win32ole/test_propertyputref.rb (setup): fix typo.
66462
66463	* test/win32ole/test_win32ole_event.rb: should not use
66464	  InternetExplorer.gohome to test.
66465
66466Thu Feb  8 21:02:07 2007  Koichi Sasada  <ko1@atdot.net>
66467
66468	* thread.c (GVL_UNLOCK_RANGE): rename to BLOCKING_REGION().
66469
66470	* thread.c (rb_thread_run_parallel): rename to
66471	  rb_thread_blocking_region().
66472
66473Thu Feb  8 15:48:44 2007  Koichi Sasada  <ko1@atdot.net>
66474
66475	* yarvcore.h, thread.c: fix to use pthread on cygwin.
66476
66477	* yarvcore.h, thread.c: move GVL_UNLOCK_BEGIN() and GVL_UNLOCK_END()
66478	  from yarvcore.h to thread.c.
66479
66480	* thread.c: change GVL_UNLOCK_RANGE() arguments
66481	  (adding ubf as 2nd argument).
66482
66483	* thread.c: fix to use polling in select on cygwin and mswin32.
66484
66485	* thread.c, thread_pthread.ci, thread_win32.ci, yarvcore.h:
66486	  rename:
66487	  * rb_thread_t#interrupt_function -> unblock_function
66488	  * rb_interrupt_function_t -> rb_unblock_function
66489	  * some interrupt function name -> ubf_*
66490	  * yarv_* -> *
66491
66492Thu Feb  8 16:08:02 2007  Koichi Sasada  <ko1@atdot.net>
66493
66494	* common.mk: fix to use RUNRUBY instead of BASERUBY if possible.
66495
66496	* common.mk ($(INSNS) rule): remove $(PROGRAM) first.
66497
66498Thu Feb  8 15:43:05 2007  Koichi Sasada  <ko1@atdot.net>
66499
66500	* process.c: fix to use rb_status_line_set/get/clear().
66501
66502	* eval_intern.h: fix line break.
66503
66504Thu Feb  8 15:00:14 2007  Koichi Sasada  <ko1@atdot.net>
66505
66506	* blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
66507	  eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
66508	  thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
66509	  vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
66510	  fix typo (rb_thead_t -> rb_thread_t).
66511
66512	* eval_intern.h: remove unused definitions.
66513
66514	* common.mk: fix around vm_opts.h path
66515	  and remove harmful argument passed to insns2vm.rb.
66516
66517Thu Feb  8 03:11:47 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66518
66519	* lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single
66520	  unescaped ampersand.  a patch from Tietew
66521	  <tietew+ruby-dev at tietew.net> in [ruby-dev:30292].
66522	  fixed: [ruby-dev:30289]
66523
66524Wed Feb  7 23:25:31 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66525
66526	* eval.c (specific_eval): suppress warning.
66527
66528	* thread_win32.h: undefine _WIN32 on cygwin.  [ruby-dev:30303]
66529
66530Wed Feb  7 22:41:34 2007  Koichi Sasada  <ko1@atdot.net>
66531
66532	* eval_intern.h: remove UNSUPPORTED() macro.
66533
66534	* thread.c: fix to define Continuation methods
66535	  (they only do rb_notimplement()).
66536
66537Wed Feb  7 22:33:58 2007  Koichi Sasada  <ko1@atdot.net>
66538
66539	* eval_intern.h, yarvcore.h: remove unused macro definition.
66540
66541Wed Feb  7 22:30:28 2007  Koichi Sasada  <ko1@atdot.net>
66542
66543	* eval.c: fixed to use ANSI function style.
66544
66545Wed Feb  7 09:35:32 2007  Koichi Sasada  <ko1@atdot.net>
66546
66547	* this commit is a result of refactoring. only renaming functions,
66548	  moving definitions place, add/remove prototypes, deleting
66549	  unused variables and removing yarv.h.
66550	  This commit doesn't change any behavior of ruby/vm.
66551
66552	* yarv.h, common.mk: remove yarv.h (contents are moved to yarvcore.h).
66553
66554	* error.c, eval_intern.h: include yarvcore.h instead yarv.h
66555
66556	* rename some functions:
66557	  * debug.[ch]: debug_*() -> ruby_debug_*()
66558	  * iseq.c: iseq_*() -> rb_iseq_*(), ruby_iseq_disasm()
66559	  * iseq.c: node_name() -> ruby_node_name()
66560	  * vm.c: yarv_check_redefinition_opt_method() ->
66561	          rb_vm_check_redefinition_opt_method()
66562
66563	* some refactoring with checking -Wall.
66564
66565	* array.c: remove rb_ary_ptr() (unused) and remove unused
66566	  local variables.
66567
66568	* object.c: add a prototype of rb_mod_module_exec().
66569
66570	* eval_intern.h (ruby_cref): set it inline.
66571
66572	* eval_load.c (rb_load), yarvcore.c: yarv_load() -> rb_load_internal().
66573
66574	* parse.y: add a prototype of rb_parse_in_eval() (in eval.c).
66575
66576	* process.c: add a prototype of rb_thread_stop_timer_thread() (in thread.c).
66577
66578	* thread.c: remove raw_gets() function (unused) and fix some format
66579	  mismatch (format mismatches have remained yet. this is todo).
66580
66581	* thread.c (rb_thread_wait_fd_rw): fix typo on label name.
66582
66583	* thread_pthread.ci: comment out codes with USE_THREAD_CACHE.
66584
66585	* vm.c (rb_svar, rb_backref_get, rb_backref_get,
66586	  rb_lastline_get, rb_lastline_set) : moved from yarvcore.c.
66587
66588	* vm.c (yarv_init_redefined_flag): add a prototype and rename
66589	  yarv_opt_method_table to vm_opt_method_table.
66590
66591	* vm.c (rb_thread_eval): moved from yarvcore.c.
66592
66593	* yarvcore.c: remove unused global variables and fix to use nsdr().
66594
66595Wed Feb  7 03:39:32 2007  Koichi Sasada  <ko1@atdot.net>
66596
66597	* blockinlining.c, compile.c, compile.h, error.c, eval.c,
66598	  eval_intern.h, eval_jump.h, eval_load.c, eval_method.h,
66599	  eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c,
66600	  process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci,
66601	  vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def,
66602	  yarv.h, yarvcore.h, yarvcore.c: change type and macro names:
66603	  * yarv_*_t -> rb_*_t
66604	  * yarv_*_struct -> rb_*_struct
66605	  * yarv_tag -> rb_vm_tag
66606	  * YARV_* -> RUBY_VM_*
66607
66608	* proc.c, vm.c: move functions about env object creation
66609	  from proc.c to vm.c.
66610
66611	* proc.c, yarvcore.c: fix rb_cVM initialization place.
66612
66613	* inits.c: change Init_ISeq() order (after Init_VM).
66614
66615	* ruby.h, proc.c: change declaration place of rb_cEnv
66616	  from proc.c to ruby.c.
66617
66618Tue Feb  6 22:06:45 2007  NARUSE, Yui  <naruse@ruby-lang.org>
66619
66620	* ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}:
66621	  imported nkf 2007-01-28.
66622	  * Fixed: can't decode MIME encode JIS string.
66623	  * Fixed: Fullwidth-halfwidth conversion.
66624	  * Support DoCoMo's and Softbank's EMOJI
66625	  * Support CP932, CP5022x, eucJP-ms UDC
66626	  * Support UTF-32 encoding
66627	  * Support beyond BMP
66628	  [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144]
66629
66630Tue Feb  6 20:36:19 2007  Kouhei Sutou  <kou@cozmixng.org>
66631
66632	* lib/rss/rss.rb, lib/rss/parser.rb: followed current Ruby
66633	  specification. [ruby-dev:30274]
66634
66635Tue Feb  6 20:29:44 2007  Kouhei Sutou  <kou@cozmixng.org>
66636
66637	* lib/rss/rss.rb, lib/rss/parser.rb: removed needless code for
66638	  backward compatibility.
66639
66640Tue Feb  6 18:43:17 2007  Shugo Maeda  <shugo@ruby-lang.org>
66641
66642	* lib/net/ftp.rb: moved fixes for EPIPE to the correct
66643	  place. [ruby-core:10204]
66644
66645Tue Feb  6 16:38:08 2007  Koichi Sasada  <ko1@atdot.net>
66646
66647	* vm_opts.h: set properties:
66648	  svn:keywords:  Author Date Id Revision
66649	  svn:eol-style: native
66650
66651Tue Feb  6 15:55:46 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66652
66653	* variable.c (ivar_i): need to support class local instance
66654	  variables.
66655
66656Tue Feb  6 15:44:11 2007  Koichi Sasada  <ko1@atdot.net>
66657
66658	* compile.c (iseq_compile_each): fix setting is_local flag.
66659
66660	* yarvtest/test_class.rb: add a test for class local instance variable.
66661
66662Tue Feb  6 14:15:34 2007  Koichi Sasada  <ko1@atdot.net>
66663
66664	* compile.c, insns.def: remove (get|set)instancevariable2 and add a
66665	  operand is_local to (get|set)instancevariable.
66666
66667	* yarvtest/test_class.rb: add a test for class local instance variable.
66668
66669	* parse.y (rb_decompose_ivar2): remove unused variable oid.
66670
66671	* tool/insns2vm.rb: remove needless require.
66672
66673Tue Feb  6 11:18:41 2007  Shugo Maeda  <shugo@ruby-lang.org>
66674
66675	* lib/net/ftp.rb: check the control connection on EPIPE.
66676	  Thanks, Simon Williams. [ruby-core:9547]
66677
66678Tue Feb  6 11:03:27 2007  Koichi Sasada  <ko1@atdot.net>
66679
66680	* complement last commit.
66681
66682	* common.mk (*.inc): use VPATH.
66683
66684	* vm_opts.h: renamed from vm_opts.h.base.
66685
66686Tue Feb  6 10:02:41 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66687
66688	* tool/insns2vm.rb: use vm_opts.h in VPATH.
66689
66690Tue Feb  6 03:47:58 2007  Koichi Sasada  <ko1@atdot.net>
66691
66692	* proc.c: support Binding#eval.
66693
66694	* yarvtest/test_eval.rb: add a test for above change.
66695
66696Tue Feb  6 03:13:33 2007  Koichi Sasada  <ko1@atdot.net>
66697
66698	* proc.c: refactoring (remove K&R style, move Binding stuffs from
66699	  Init_Proc() to Init_Binding()).
66700
66701Tue Feb  6 01:07:14 2007  Koichi Sasada  <ko1@atdot.net>
66702
66703	* intern.h: prepare rb_last_status_get() and rb_last_status_set().
66704	  Use these functions instead of rb_last_status ([ruby-dev:30264]).
66705
66706	* process.c: define above functions.
66707
66708	* ext/pty/pty.c: use above functions.
66709
66710	* io.c (pipe_finalize): ditto.
66711
66712	* process.c: ditto.
66713
66714Mon Feb  5 21:26:56 2007  Koichi Sasada  <ko1@atdot.net>
66715
66716	* ruby.h: add a prototype of rb_id2str().
66717
66718Mon Feb  5 21:06:50 2007  Koichi Sasada  <ko1@atdot.net>
66719
66720	* eval_thread.c, common.mk: remove eval_thread.c.
66721
66722	* yarvcore.c: rename cYarvThread to rb_cThread.
66723
66724	* gc.c: remove YARV_* prefix.
66725
66726	* gc.h: add an include guard and prototype of rb_gc_set_stack_end().
66727
66728	* inits.c: fix to ANSI prototype style and reorder Init_*().
66729
66730	* io.c (pipe_finalize): TODO: comment out last_status.
66731
66732	* process.c, yarvcore.h: fix to use yarv_vm_t#last_status instead of
66733	  rb_last_status and make last_status_get() to access $?.
66734
66735	* yarvcore.c (vm_mark): mark yarv_vm_t#last_status.
66736
66737	* ruby.h: add declarations of rb_cISeq and rb_cVM.
66738
66739	* thread.c: move eval_thread.c codes to thread.c and remove yarv_*
66740	  function prefix.
66741
66742	* thread.c (thread_start_func_2): use yarv_thread_t#first_func if
66743	  it is not null.
66744
66745	* vm.c: fix copyright year.
66746
66747	* yarvcore.c (Init_vm): rename to Init_VM().
66748
66749Mon Feb  5 04:09:48 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66750
66751	* eval.c (rb_frame_callee): check if prev_cfp can be accessible.
66752	  a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in
66753	  [ruby-dev:30252].  solves [ruby-dev:30200] and [ruby-core:9856].
66754
66755Sun Feb  4 20:34:41 2007  Kouhei Sutou  <kou@cozmixng.org>
66756
66757	* test/rss/rss-assertions.rb: removed needless code for backward
66758	  compatibility.
66759
66760Sun Feb  4 02:22:59 2007  Akinori MUSHA  <knu@iDaemons.org>
66761
66762	* lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debug
66763	  print.
66764
66765Sat Feb  3 23:51:58 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66766
66767	* parse.y (rb_compose_ivar2): function to create a new ivar2
66768	  symbol from a symbol and a class.  back-ported from matzruby.
66769
66770	* parse.y (rb_decompose_ivar2): reverse function of
66771	  rb_compose_ivar2().
66772
66773	* marshal.c (w_symbol): support class local instance variables.
66774
66775	* marshal.c (r_object0): ditto.
66776
66777	* compile.c (defined_expr): ditto.
66778
66779	* compile.c (iseq_compile_each): ditto.
66780
66781	* insns.def: add two new instructions: getinstancevariable2 and
66782	  setinstancevariable2.
66783
66784Sat Feb  3 23:21:13 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66785
66786	* insns.def (setclassvariable): remove unnecessary operand.
66787
66788	* compile.c (iseq_compile_each): ditto.
66789
66790	* common.mk (insns_info.inc): add dependency for insns_info.inc.
66791
66792Sat Feb  3 14:32:58 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66793
66794	* ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):
66795	  fix the bug of WIN32OLE_VARIANT.new when variant type is
66796	  VT_ARRAY.
66797
66798	* ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT.
66799
66800	* test/win32ole/test_win32ole.rb: add some test.
66801
66802	* test/win32ole/test_win32ole_variant.rb: ditto.
66803
66804Sat Feb  3 03:35:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66805
66806	* Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
66807
66808	* common.mk (runruby, benchmark, benchmark-each, tbench): use
66809	  PROGRAM for the file to be built.
66810
66811	* proc.c (yarv_proc_alloc): needs return.
66812
66813	* call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
66814	  eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c,
66815	  insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y,
66816	  range.c, ruby.h, signal.c, thread.c, thread_win32.ci, vm.c,
66817	  vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
66818	  fixed indents and non-C90 comments.
66819
66820	* regenc.h: revert to before YARV.
66821
66822	* lib/mkmf.rb (create_makefile): make object files depend on
66823	  extconf.h even if depend file exists.
66824
66825Fri Feb  2 23:39:42 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66826
66827	* common.mk (bin): add more dependency.  a patch from Tadashi
66828	  Saito <shiba at mail2.accsnet.ne.jp>.  [ruby-dev:30245]
66829
66830Fri Feb  2 18:44:31 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66831
66832	* insns.def (setclassvariable): remove warn argument.
66833
66834Fri Feb  2 18:36:40 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66835
66836	* common.mk (compile.$(OBJEXT)): add config.h to vm.c and
66837	  compile.c.
66838
66839Fri Feb  2 18:27:54 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66840
66841	* eval.c: remove duplicated global variables rb_cProc and
66842	  rb_cBinding.  [ruby-dev:30242]
66843
66844Fri Feb  2 00:13:44 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66845
66846	* ruby.h (SYMBOL_P): make Symbol immediate again for performance.
66847
66848	* string.c: redesign symbol methods.
66849
66850Thu Feb  1 23:25:21 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66851
66852	* parse.y (rb_id2str): store Strings for operator symbols.
66853	  [ruby-dev:30235]
66854
66855Thu Feb  1 21:04:39 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66856
66857	* parse.y (assignable_gen): no need to generate NODE_CVDECL.
66858
66859	* compile.c (iseq_compile_each): no NODE_CVDECL.
66860
66861Thu Feb  1 20:53:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66862
66863	* vm.c (eval_get_cvar_base): destination for class variable access
66864	  is now strictly innermost surrounding class or module.  warned
66865	  if accessed from toplevel.
66866
66867	* variable.c (rb_cvar_get): new class variable look-up scheme:
66868	  1) look up in the class.  2) if the class is singleton attached
66869	  to a class (i.e. metaclass) then start look up in the attached
66870	  class and its ancestors. 3) otherwise, look-up in ancestors of
66871	  the class.
66872
66873	* eval.c (cvar_cbase): destination for class variable access is
66874	  the class/module that holds the method, or cbase outside of
66875	  methods.
66876
66877Thu Feb  1 20:31:41 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66878
66879	* variable.c (rb_cvar_set): remove warn argument.
66880
66881Wed Jan 31 14:52:09 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66882
66883	* test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator):
66884	  add new test.  [ruby-core:10125]
66885
66886Tue Jan 30 17:01:21 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
66887
66888	* string.c (rb_str_sub_bang): calling rb_str_modify() should be just
66889	  before actually modifying the string.
66890	  fixed: [ruby-dev:30211] (originally reported by zunda)
66891
66892Tue Jan 30 13:24:06 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66893
66894	* numeric.c (int_pred): add Integer#pred corresponding
66895	  Integer#succ.  [RCR#5]
66896
66897Tue Jan 30 12:05:35 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
66898
66899	* mkconfig.rb: autoconf 2.61 support.  [ruby-core:10016]
66900
66901Mon Jan 29 23:52:32 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66902
66903	* tool/compile.rb: replace YARVCore by VM class.
66904
66905Mon Jan 29 17:52:44 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66906
66907	* lib/date/format.rb (Date::Format::Bag::method_missing): add
66908	  prefix to avoid making t class-local instance variable.
66909
66910Mon Jan 29 21:32:37 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66911
66912	* ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,
66913	  WIN32OLE_VARIANT#vartype.
66914
66915	* test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=,
66916	  WIN32OLE.locale.
66917
66918	* test/win32ole/test_win32ole_variant.rb: add test for
66919	  WIN32OLE_VARIANT#vartype.
66920
66921Mon Jan 29 14:14:35 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66922
66923	* tool/parse.rb: replace YARVCore by VM class.
66924	  http://d.hatena.ne.jp/ysano2005/20070128
66925
66926Sun Jan 28 08:41:49 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66927
66928	* ext/win32ole/win32ole.c: refactoring.
66929
66930Sat Jan 27 18:36:33 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66931
66932	* ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix.
66933	  WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY
66934	  when variant type is VT_ARRAY.
66935
66936	* test/win32ole/test_win32ole_variant.rb: add some test.
66937
66938Fri Jan 26 23:55:56 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66939
66940	* ext/win32ole/win32ole.c: bug fix of WIN32OLE_VARIANT when variant
66941	  type is VT_BYREF|VT_VARIANT.
66942
66943	* test/win32ole/test_win32ole_variant_with_ie.rb: ditto.
66944
66945Fri Jan 26 12:03:39 2007  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
66946
66947	* ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,
66948	  __conv_keyonly_optkeys): make them private [ruby-dev:30074].
66949
66950	* ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073].
66951
66952	* ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument.
66953
66954	* ext/tk/lib/tk/canvas.rb: clarify the including module name
66955	  [ruby-dev:30080].
66956
66957	* ext/tk/lib/tk/scrollable.rb: change primary name of modules
66958	  [ruby-dev:30080].
66959
66960Fri Jan 26 07:48:57 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66961
66962	* enumerator.c (enumerator_init_copy): need to copy internal
66963	  structure on clone and dup.  [ruby-dev:30192]
66964
66965Wed Jan 24 20:34:51 2007  Kouhei Sutou  <kou@cozmixng.org>
66966
66967	* test/ruby/test_iterator.rb: removed a needless workaround.
66968
66969Wed Jan 24 18:05:39 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66970
66971	* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix
66972	  regexp font-lock bug.  [ruby-talk:235758]
66973
66974Tue Jan 23 18:26:12 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66975
66976	* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
66977	  of ===.  [ruby-dev:30176]
66978
66979Tue Jan 23 15:39:25 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
66980
66981	* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
66982	  setup.mak}: add --with-baseruby configure option.
66983
66984Mon Jan 22 14:57:25 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
66985
66986	* ext/socket/socket.c: fix errors in socket sample code.
66987	  [ruby-core:09992]
66988
66989Sat Jan 20 21:05:18 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66990
66991	* ext/win32ole/win32ole.c (fole_s_set_code_page): WIN32OLE.codepage=
66992	  accepts installed codepage.
66993
66994	* test/win32ole/test_win32ole.rb (test_s_codepage_changed): ditto.
66995
66996Sat Jan 20 11:18:49 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
66997
66998	* ext/win32ole/win32ole.c (ole_invoke, ole_invoke2, ole_propertyput):
66999	  modify WIN32OLERuntimeError message.
67000
67001	* test/win32ole/test_win32ole.rb: ditto.
67002
67003Sat Jan 20 06:45:21 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
67004
67005	* eval_proc.c (method_receiver): add new method to get the bound
67006	  receiver of the method object.  [ruby-talk:234949]
67007
67008	* eval_proc.c (method_name): new method to get the name of a
67009	  method.
67010
67011	* eval_proc.c (method_owner): a new method to get the class or
67012	  module that defines the method.
67013
67014Fri Jan 19 17:12:23 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67015
67016	* ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_VARIANT::Empty,
67017	  WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.
67018
67019	* test/win32ole/test_win32ole_variant.rb: ditto.
67020
67021	* test/win32ole/test_nil2vtempty.rb(test_openSchema): ditto.
67022
67023Fri Jan 19 06:53:38 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67024
67025	* ext/win32ole/win32ole.c (olevariant_free): fix memory leak.
67026
67027	* ext/win32ole/win32ole.c (ole_val2olevariantdata):
67028	  WIN32OLE_VARIANT.new accepts nil as first argument for some VARIANT
67029	  TYPE.
67030
67031	* test/win32ole/test_win32ole_variant.rb: ditto.
67032
67033Wed Jan 17 17:31:28 2007  Koichi Sasada  <ko1@atdot.net>
67034
67035	* some refactoring around yarvcore and proc.
67036
67037	* eval_proc.c: renamed to proc.c.
67038
67039	* common.mk: ditto.
67040
67041	* yarvcore.h, yarvcore.c: rename or remove some global variables
67042	  removed: mYarvCore, mYarvInsns
67043	  renamed: cYarvISeq -> rb_cISeq,
67044	           cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding
67045	  ::YarvCore module is removed and ::YarvCore::VM class becomes ::VM.
67046	  And change/remove some functions which added with YARV.
67047
67048	* compile.c: ditto.
67049
67050	* eval.c: ditto.
67051
67052	* iseq.c: ditto.
67053
67054	* vm.c: ditto.
67055
67056	* inits.c: rename Init_yarvcore to Init_vm.
67057
67058	* yarvcore.c, proc.c: move some functions and initialization
67059	  from yarvcore.c to proc.c.
67060
67061	* intern.h, proc.c: add global function rb_binding_new(void).
67062
67063Tue Jan 16 17:49:29 2007  Koichi Sasada  <ko1@atdot.net>
67064
67065	* vm.c (eval_search_super_klass): rename to search_super_klass() and
67066	  use it by th_call_super().
67067
67068	* insns.def: ditto.
67069
67070Tue Jan 16 17:48:11 2007  Koichi Sasada  <ko1@atdot.net>
67071
67072	* common.mk: fix ruby script path.
67073
67074Tue Jan 16 17:39:44 2007  Koichi Sasada  <ko1@atdot.net>
67075
67076	* vm.c (invoke_block): fix to specify self.
67077
67078Tue Jan 16 12:12:27 2007  Koichi Sasada  <ko1@atdot.net>
67079
67080	* env.h: removed
67081
67082Tue Jan 16 12:00:06 2007  Koichi Sasada  <ko1@atdot.net>
67083
67084	* eval_proc.c (rb_proc_new): added.
67085
67086	* string.c (sym_to_proc): supported.
67087
67088	* vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support
67089	  rb_proc_new.
67090
67091	* yarvcore.c: add a test code.
67092
67093Sat Jan 13 23:24:59 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67094
67095	* ext/win32ole/win32ole.c (ole_free, ole_type_free,
67096	  olemethod_free, olevariable_free, oleparam_free,
67097	  ole_event_free): fix memory leak.  [ruby-core:09846]
67098
67099Wed Jan 10 00:10:23 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67100
67101	* array.c (rb_ary_replace): use ptr and len of orig instead of
67102	  shared.  fixed: [ruby-dev:30116]
67103
67104Tue Jan  9 17:48:38 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
67105
67106	* file.c (rb_find_file): should not call fpath_check() with NULL.
67107	  fixed: [ruby-core:09867]
67108
67109Tue Jan  9 12:29:20 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67110
67111	* ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly
67112	  convert uid/gid from VALUE.
67113
67114	* ext/etc/etc.c (etc_getpwuid): ditto.
67115
67116Tue Jan  9 03:54:38 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
67117
67118	* string.c (rb_str_upto): String#upto from empty string makes
67119	  infinite loop.  [ruby-core:09864]
67120
67121	* string.c (rb_str_upto): use RSTRING_LEN().
67122
67123Sun Jan  7 18:36:05 2007  Koichi Sasada  <ko1@atdot.net>
67124
67125	* thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),
67126	  rb_thread_start_timer_thread()): added.
67127
67128	* thread_pthread.ci: add a native_thread_join() and move
67129	  rb_thread_reset_timer_thread() definition to thread.c.
67130
67131	* thread_win32.ci: ditto
67132
67133	* process.c: fix before_exec(), after_exec() to stop timer thread
67134	  (and restart timer thread if exec failed).  and fix to reset
67135	  timer thread information when forked child process starts
67136	  (to fix [ruby-core:09822]).
67137
67138Sun Jan  7 18:28:17 2007  Koichi Sasada  <ko1@atdot.net>
67139
67140	* common.mk: add a "compare" rule and fix MATZRUBY variable
67141
67142Sun Jan  7 17:47:16 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67143
67144	* test/win32ole/test_win32ole.rb: add test for WIN32OLE#[],
67145	  WIN32OLE#[]=.
67146
67147	* ext/win32ole/win32ole.c: update comment for rdoc of
67148	  WIN32OLE#[] and WIN32OLE#[]=.
67149
67150Sun Jan  7 12:13:26 2007  Eric Hodel  <drbrain@segment7.net>
67151
67152	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_class_comment):
67153	  Look for class and module comments above rb_define_class and
67154	  rb_define_module.  Patch by Daniel Berger <djberg96 at gmail.com>
67155
67156Sun Jan  7 10:32:12 2007  Eric Hodel  <drbrain@segment7.net>
67157
67158	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
67159	  Properly handle escaping of : in comments.
67160	* test/rdoc/parsers/test_parse_c.rb:
67161	  Test RDoc::C_Parser#do_classes and Rdoc::C_Parser#find_class_comment.
67162
67163Sun Jan  7 09:31:18 2007  Tadayoshi Funaba  <tadf@dotrb.org>
67164
67165	* lib/date/format.rb: updated based on date2 4.0.1.
67166
67167Sat Jan  6 18:46:34 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67168
67169	* io.c (rb_io_getline_fast, rb_io_getline): increase lineno
67170	  when met the delimiter or EOF.  fixed: [ruby-dev:30081]
67171
67172	* io.c (prepare_getline_args, rb_io_getline_1): split
67173	  preparation of arguments and reading.  [ruby-dev:30085]
67174
67175Sat Jan  6 13:48:36 2007  Koichi Sasada  <ko1@atdot.net>
67176
67177	* insns.def (send): fix to optimize send() with Symbol.
67178
67179	* yarvtest/test_method.rb: add another test.
67180
67181Sat Jan  6 13:43:55 2007  Koichi Sasada  <ko1@atdot.net>
67182
67183	* common.mk: add PHONY dependency to some rules
67184
67185Sat Jan  6 11:50:33 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
67186
67187	* io.c (argf_read): fix wrong replacement.  [ruby-dev:30070]
67188
67189Sat Jan  6 09:10:52 2007  Koichi Sasada  <ko1@atdot.net>
67190
67191	* insns.def: support direct method dispatch with "send" or "funcall".
67192	  This means that "obj.send :m" skips "BasicObject#send" invocation
67193	  (method frame creation, etc) and "obj.m" invokes directly.
67194	  If you make backtrace, there are no entries of "send" method.
67195
67196	* compile.c (iseq_specialized_instruction): fix to support above
67197
67198	* eval.c: ditto (remove "static" from rb_f_send and rb_f_funcall
67199
67200	* yarvcore.c: ditto (add a external IDs for compiler)
67201
67202	* yarvcore.h: ditto (add a VM_CALL_SEND_BIT macro)
67203
67204	* yarvtest/test_method.rb: add tests for above changes
67205
67206	* eval.c: remove unused "Kernel#send" declaration
67207
67208Sat Jan  6 08:29:17 2007  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67209
67210	* ext/win32ole/win32ole.c (Init_win32ole): add
67211	  WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_NULL
67212
67213	* test/win32ole/test_win32ole_variant_m.rb (test_variant): ditto.
67214
67215Sat Jan  6 03:49:22 2007  Koichi Sasada  <ko1@atdot.net>
67216
67217	* benchmark/run.rb: change option format
67218
67219	* common.mk: ditto
67220
67221Fri Jan  5 22:21:08 2007  Koichi Sasada  <ko1@atdot.net>
67222
67223	* benchmark/bm_app_pentomino.rb: use Array#dup instead of
67224	  Array#clone
67225
67226	* benchmark/bmx_temp.rb: removed
67227
67228	* benchmark/run.rb: use run.rb instead of run_rite.rb
67229
67230	* common.mk: ditto
67231
67232	* benchmark/run_rite.rb: removed
67233
67234	* common.mk: use $(srcdir)/test.rb to run a test program
67235	  with "make run"
67236
67237	* benchmark/bmx_temp.rb: removed and
67238	  set svn:ignore (bmx_*.rb) to benchmark/
67239
67240	* test.rb: set svn:ignore
67241
67242Fri Jan  5 21:03:08 2007  Koichi Sasada  <ko1@atdot.net>
67243
67244	* yarvtest/yarvtest.rb: fix to compare results
67245
67246Fri Jan  5 20:52:56 2007  Koichi Sasada  <ko1@atdot.net>
67247
67248	* compile.c, compile.h: add ADD_CALL_RECEIVER() macro.
67249
67250	* insns.def (send): use GET_SELF() direct if FCALL.
67251
67252	* eval.c (rb_f_send): check method dispatch type to permit
67253	  invoking private method when dispatch type is FCALL/VCALL
67254
67255	* insns.def (opt_ltlt): remove useless statement.
67256
67257	* vm.h: remove unused macros.
67258
67259Fri Jan  5 20:50:31 2007  Koichi Sasada  <ko1@atdot.net>
67260
67261	* benchmark/run_rite.rb: fix to use readlines instead of
67262	  read(...).lines (because 1.8 doesn't have String#lines).
67263
67264Fri Jan  5 20:28:19 2007  Koichi Sasada  <ko1@atdot.net>
67265
67266	* thread_win32.ci (rb_thread_reset_timer_thread):
67267	  added ([ruby-dev:30086]).
67268
67269Fri Jan  5 20:20:36 2007  Koichi Sasada  <ko1@atdot.net>
67270
67271	* common.mk: add .SUFFIXES rule
67272
67273Fri Jan  5 15:58:15 2007  Koichi Sasada  <ko1@atdot.net>
67274
67275	* eval_method.h (rb_alias): fix to check search result
67276
67277Fri Jan  5 13:59:53 2007  Koichi Sasada  <ko1@atdot.net>
67278
67279	* eval_method.h (rb_add_method): fix to check old_node
67280
67281Fri Jan  5 12:03:07 2007  Koichi Sasada  <ko1@atdot.net>
67282
67283	* compile.c (iseq_compile_each, set_block_local_tbl):
67284	  support NODE_LAMBDA (partly).
67285
67286	* sample/test.rb: restore test of NODE_LAMBDA
67287
67288	* test/ruby/test_lambda.rb: ditto
67289
67290Fri Jan  5 12:31:23 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
67291
67292	* thread_pthread.ci (native_sleep): fix tv_nsec overflow.
67293
67294Thu Jan  4 20:01:29 2007  Koichi Sasada  <ko1@atdot.net>
67295
67296	* common.mk: rename yarv-test-[all/each] to compare-test[/-each].
67297	  purpose of "compare-test" rule is to compare ruby (trunk) and
67298	  matzruby (branches/matzruby) binary in miniruby level.  MATZRUBY
67299	  parameter means an path to miniruby of matzruby binary.  to do this
67300	  comparison test, you should build matzruby branch.
67301
67302	* yarvtest/yarvtest.rb: fix to use command line option as
67303	  command names to be compared.
67304
67305	* yarvtest/runner.rb: remove a debug output.
67306
67307Thu Jan  4 19:12:27 2007  Koichi Sasada  <ko1@atdot.net>
67308
67309	* common.mk: fix to use test.rb script in build directory.
67310	  ($(srcdir)/test.rb -> test.rb)
67311
67312Thu Jan  4 17:28:05 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
67313
67314	* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
67315	  Arrays could not be modified in its each block. [ruby-dev:30063]
67316
67317Thu Jan  4 16:57:14 2007  Koichi Sasada  <ko1@atdot.net>
67318
67319	* yarv_version.h: removed.
67320
67321	* common.mk: remove yarv_version.h from rules
67322
67323	* yarvcore.h (Init_yarvcore): remove useless constants
67324
67325Thu Jan  4 17:00:06 2007  GOTOU Yuuzou  <gotoyuzo@notwork.org>
67326
67327	* ext/openssl/ossl_asn1.c (Init_ossl_asn1):
67328	  OpenSSL::ASN1::ASN1Data#value,#tag,#tag_class and
67329	  OpenSSL::ASN1::BitString#unused_bits should be public.
67330
67331Thu Jan  4 13:45:10 2007  Koichi Sasada  <ko1@atdot.net>
67332
67333	* thread_pthread.ci: fix last changes around PTHREAD_STACK_MIN.
67334
67335Thu Jan  4 13:42:47 2007  Koichi Sasada  <ko1@atdot.net>
67336
67337	* common.mk: restore changes.
67338
67339Thu Jan  4 10:33:54 2007  Koichi Sasada  <ko1@atdot.net>
67340
67341	* thread_pthread.ci: fix to skip using PTHREAD_STACK_MIN.
67342	  [ruby-dev:30063]
67343
67344Thu Jan  4 10:30:11 2007  Koichi Sasada  <ko1@atdot.net>
67345
67346	* benchmark/run_rite.rb (bm): fix to use lines.
67347
67348Wed Jan  3 18:49:15 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
67349
67350	* io.c (rb_io_getline): lineno update condition was wrong.
67351	  [ruby-dev:30065]
67352
67353	* io.c (rb_io_getline_fast): ditto.
67354
67355Wed Jan  3 11:36:51 2007  Yukihiro Matsumoto  <matz@ruby-lang.org>
67356
67357	* io.c (ruby_dup): start GC on ENOMEM as well.
67358
67359Tue Jan  2 10:29:54 2007  Eric Hodel  <drbrain@segment7.net>
67360
67361	* ext/zlib/zlib.c: fix to compile on YARV
67362	  ruby_errinfo -> rb_errinfo()
67363
67364Mon Jan  1 08:07:06 2007  Koichi Sasada  <ko1@atdot.net>
67365
67366	* ext/tk/tcltklib.c: fix to compile on YARV
67367	  ruby_errinfo -> rb_errinfo(),
67368	  ruby_safe_level -> rb_safe_level().
67369
67370Mon Jan  1 07:57:17 2007  Koichi Sasada  <ko1@atdot.net>
67371
67372	* test/drb/test_drbssl.rb: fix to skip drb tests.
67373
67374Mon Jan  1 06:13:11 2007  Eric Hodel  <drbrain@segment7.net>
67375
67376	* lib/rdoc/parsers/c_parser.rb: Make Rdoc accessible.  Update constant
67377	  value information.
67378
67379	* ext/bigdecimal/bigdecimal.c: Update constant comments to provide
67380	  values for RDoc.
67381
67382Mon Jan  1 06:05:55 2007  Eric Hodel  <drbrain@segment7.net>
67383
67384	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
67385	  Allow RDoc comment to give friendly value for rb_define_const.  Patch
67386	  by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].
67387	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants): Fix
67388	  whitespace handling in constant comments.
67389
67390Mon Jan  1 00:00:00 2007  Koichi Sasada  <ko1@atdot.net>
67391
67392	* Merge YARV
67393
67394Sun Dec 31 16:22:48 2006  Eric Hodel  <drbrain@segment7.net>
67395
67396	* array.c: Fix Array#reject.
67397
67398Sun Dec 31 00:46:25 2006  Tadayoshi Funaba  <tadf@dotrb.org>
67399
67400	* lib/date2.rb: removed.
67401
67402Sun Dec 31 00:15:13 2006  Tadayoshi Funaba  <tadf@dotrb.org>
67403
67404	* lib/date.rb, lib/date/format.rb: updated based on date2 4.0.
67405
67406Sat Dec 30 04:38:23 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67407
67408	* enum.c (enum_each_with_index): reuse array for yield parameters.
67409
67410	* enum.c (enum_min, enum_max): ditto.
67411
67412Sat Dec 30 04:25:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67413
67414	* enum.c (enum_inject): reuse array for yield parameters.
67415
67416Sat Dec 30 02:54:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67417
67418	* ext/stringio/stringio.c (strio_gets): accepts limit argument.
67419
67420	* ext/stringio/stringio.c (strio_readline, strio_each,
67421	  strio_readlines): ditto.
67422
67423Sat Dec 30 02:22:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67424
67425	* ext/stringio/stringio.c (strio_getline): add limit capability.
67426
67427	* io.c (rb_io_gets_m): accepts limit argument.  [ruby-talk:231563]
67428
67429	* io.c (rb_io_readline, rb_io_readlines, rb_io_each_line, argf_getline):
67430	  ditto.
67431
67432	* io.c (appendline): add limit capability.
67433
67434	* io.c (rb_io_getline_fast, rb_io_getline): ditto.
67435
67436	* io.c (rb_io_getline): small refactoring for DRY.
67437
67438	* io.c (rb_io_s_foreach, rb_io_s_readlines): small refactoring.
67439
67440Thu Dec 28 15:27:38 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67441
67442	* lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
67443	  [ruby-core:09781]
67444
67445Wed Dec 27 20:52:32 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67446
67447	* ext/win32ole/win32ole.c: remove WIN32OLE::PROPERTY class.
67448
67449	* ext/win32ole/tests/testWIN32OLE.rb: ditto.
67450
67451Wed Dec 27 10:04:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67452
67453	* object.c (rb_Array): returns 1-element array if the argument
67454	  does not have to_ary nor to_a.
67455
67456Tue Dec 26 21:02:14 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
67457
67458	* test/win32ole/test_folderitem2_invokeverb.rb: The argument
67459	  of Shell.NameSpace should not be file path.
67460
67461Tue Dec 26 06:13:08 2006  Minero Aoki  <aamine@loveruby.net>
67462
67463	* ext/bigdecimal/bigdecimal.c: remove useless method
67464	  BigDecimal#!=. [ruby-dev:30050]
67465
67466Thu Dec 21 15:37:17 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67467
67468	* string.c (rb_str_slice_bang): rdoc description bug fixed.
67469	  [ruby-core:09754]
67470
67471Wed Dec 20 12:54:31 2006  Koichi Sasada  <ko1@atdot.net>
67472
67473	* Convert CVS repository to Subversion repository.
67474
67475Mon Dec 18 08:36:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67476
67477	* lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
67478	  works.  [ruby-core:09738]
67479
67480Fri Dec 15 00:19:53 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67481
67482	* win32/Makefile.sub (COMPILE_RULES): latter rule has higher priority.
67483
67484	* lib/mkmf.rb (create_makefile): remove static library before update,
67485	  to get rid of sludge of Borland tlib.exe.
67486
67487Thu Dec 14 18:29:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67488
67489	* ext/readline/readline.c: NetBSD editline does not have
67490	  rl_username_completion_function() and rl_completion_matches().
67491	  a patch from Takahiro Kambe <taca at back-street.net>.
67492	  [ruby-dev:30008]
67493
67494Thu Dec 14 18:20:43 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67495
67496	* lib/irb/locale.rb (IRB::Locale::puts): typo fixed.  a patch from
67497	  NAKAMURA Usaku <usa@ruby-lang.org>.  [ruby-dev:30012]
67498
67499Tue Dec 12 23:33:53 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67500
67501	* lib/optparse.rb (Switch#parse_arg, Switch#conv_arg): splat failures.
67502
67503Mon Dec 11 11:51:10 2006  Akinori MUSHA  <knu@iDaemons.org>
67504
67505	* ext/digest/sha2/lib/sha2.rb: Moved one level up from under
67506	  the superfluous subdirectory digest/.
67507
67508Mon Dec 11 11:46:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67509
67510	* variable.c (rb_define_const): typo fixed.
67511
67512Mon Dec 11 09:36:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67513
67514	* string.c (rb_str_aset): index double decode problem.
67515	  [ruby-core:09695]
67516
67517Sat Dec  9 21:39:24 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67518
67519	* eval.c (ruby_cleanup): keep the exception till after END blocks.
67520	  [ruby-core:09675]
67521
67522Sat Dec  9 11:22:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67523
67524	* lib/irb/locale.rb (IRB::Locale::search_file): use File.exist?
67525	  instead of File.exists?.  a patch from Yutaka Kanemoto
67526	  <kinpoco at gmail.com> in [ruby-dev:30000].
67527
67528Fri Dec  8 18:11:18 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
67529
67530	* lib/optparse.rb: cannot put :nodoc: before method definition.
67531	  put after it.
67532
67533Fri Dec  8 17:00:13 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
67534
67535	* bin/rdoc: use File.exist? instead of File.exists?.
67536
67537Thu Dec  7 23:50:21 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67538
67539	* object.c (Init_Object): new method Dir.exist?(path).
67540	  [ruby-core:09663]
67541
67542	* file.c (Init_File): remove File.exists?; use File.exist?
67543	  instead.
67544
67545	* file.c: rename functions to test_* to rb_file_*_p.
67546
67547Thu Dec  7 09:29:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67548
67549	* lib/weakref.rb (WeakRef::__setobj__): should support
67550	  marshaling.  [ruby-talk:228508]
67551
67552Wed Dec  6 23:58:36 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67553
67554	* Makefile.in, common.mk (NULLCMD): moved for platforms that empty
67555	  command does not run.  fixed: [ruby-dev:29994]
67556
67557	* win32/win32.c (init_stdhandle): redirect unopened IOs to NUL.
67558	  [ruby-core:09572]
67559
67560Tue Dec  5 19:01:42 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
67561
67562	* configure.in (SITE_DIR): fixed to empty RUBY_SITE_LIB in config.h on
67563	  NetBSD.  fixed: [ruby-dev:29358]
67564
67565Tue Dec  5 18:38:21 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67566
67567	* lib/matrix.rb (Matrix::rank): use quo method to avoid integer
67568	  division problem.  [ruby-core:09644]
67569
67570	* lib/matrix.rb (Matrix::rank_e): ditto.
67571
67572Tue Dec  5 00:59:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67573
67574	* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
67575	  self assignment operator, not regex.  [ruby-talk:227324]
67576
67577Tue Dec  5 00:19:14 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67578
67579	* intern.h, object.c, variable.c (rb_mod_constants): added an optional
67580	  flag to search ancestors, which is defaulted to true, as well as
67581	  const_defined? and const_get.  [ruby-dev:29989]
67582
67583Mon Dec  4 23:49:28 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67584
67585	* instruby.rb (install_recursive): get rid of warning.
67586
67587	* lib/optparse.rb (CompletingHash#match): get rid of splat failure.
67588
67589Mon Dec  4 19:16:39 2006  Akinori MUSHA  <knu@iDaemons.org>
67590
67591	* ext/digest/lib/digest/hmac.rb: Do alias << update.
67592
67593Mon Dec  4 10:48:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67594
67595	* ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to
67596	  sizeof(off_t).
67597
67598Mon Dec  4 08:32:25 2006  Shugo Maeda  <shugo@ruby-lang.org>
67599
67600	* lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote
67601	  boundary. JVN#84798830
67602
67603Sun Dec  3 16:16:53 2006  Akinori MUSHA  <knu@iDaemons.org>
67604
67605	* ext/digest/lib/digest/hmac.rb: Fix problems with update
67606	  timing. [Reported by: oss-ruby@technorama.net]
67607
67608Sat Dec  2 07:33:53 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
67609
67610	* lib/webrick/httputils.rb (WEBrick::HTTPUtils::FormData::<<):
67611	  HTTPUtils::parse_header() takes a string.  [ruby-dev:29931]
67612
67613	* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header):
67614	  String does no longer have each method.
67615
67616	* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_form_data):
67617	  ditto.
67618
67619Sat Dec  2 07:09:04 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
67620
67621	* ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should be
67622	  subclass of OpenSSL::OpenSSLError. [ruby-dev:29980]
67623
67624Fri Dec  1 16:31:53 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
67625
67626	* ext/tk/tcltklib.c: shouldn't run the killed thread at callback.
67627	  [ruby-talk: 227408]
67628
67629Tue Nov 28 17:25:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67630
67631	* array.c (ary_iter_check): should check modification (size
67632	  change) during iteration.
67633
67634	* array.c (rb_ary_initialize, rb_ary_shift, rb_ary_unshift,
67635	  rb_ary_splice, rb_ary_reverse, rb_ary_sort, rb_ary_delete,
67636	  rb_ary_delete_at, rb_ary_reject_bang, rb_ary_replace,
67637	  rb_ary_clear, rb_ary_fill, rb_ary_uniq_bang, rb_ary_compact,
67638	  rb_ary_shuffle): add iteration check.
67639
67640Mon Nov 27 09:00:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67641
67642	* string.c (rb_str_ord): typo fixed.  reported from Kornelius
67643	  Kalnbach <murphy@rubychan.de>.  [ruby-core:09621]
67644
67645Sun Nov 26 16:36:46 2006  URABE Shyouhei  <shyouhei@ruby-lang.org>
67646
67647	* version.h: addition of RUBY_PATCHLEVEL.
67648	* version.c: ditto.
67649
67650Wed Nov 22 16:00:49 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
67651
67652	* ext/tk/extconf.rb: support --with-X11/--without-X11 option.
67653
67654	* ext/tk/README.tcltklib: add description about --with-X11-* option
67655	  [ruby-talk:225166] and --with-X11/--without-X11 option.
67656
67657	* ext/tk/tkutil/extconf.rb: able to be called manually
67658	  [ruby-talk:225950].
67659
67660Sat Nov 18 23:39:20 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67661
67662	* object.c (rb_obj_tap): a new method.  [ruby-talk:224013]
67663
67664Wed Nov 15 23:22:54 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67665
67666	* file.c (test_grpowned, rb_stat_grpowned): should honor
67667	  supplementary group IDs.  [ruby-core:09546]
67668
67669Tue Nov  7 18:35:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67670
67671	* eval.c (formal_assign): need to pack rest arg information in
67672	  argc.
67673
67674Tue Nov  7 18:05:01 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
67675
67676	* ext/tk/lib/tk/itemconfig.rb: minor bug fix.
67677
67678Tue Nov  7 17:52:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67679
67680	* class.c (rb_include_module): revert duplicate inclusion of
67681	  modules.  [ruby-dev:29793]
67682
67683Tue Nov  7 17:18:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67684
67685	* eval.c (method_missing): update old argument adjustment.
67686
67687Tue Nov  7 16:41:21 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67688
67689	* eval.c (when_check): need to splat for NODE_ARGSCAT as well.
67690	  [ruby-dev:29860]
67691
67692Mon Nov  6 22:23:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67693
67694	* string.c (Init_String): remove duplicated definition of
67695	  Symbol#to_s.
67696
67697Mon Nov  6 18:54:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67698
67699	* eval.c (svalue_to_avalue): need to splat but no error.
67700
67701	* eval.c: new macros - YIELD_CALL, YIELD_VALUES.
67702
67703	* eval.c (rb_yield_values): specify YIELD_VALUES.
67704
67705	* eval.c (rb_yield_0): use new macros.
67706
67707	* eval.c (proc_invoke): slightly modified to separate YIELD_CALL
67708	  and YIELD_VALUES from YIELD_ARY_ARGS.
67709
67710	* object.c (Init_Object): add nil.to_splat => [].
67711
67712Mon Nov  6 15:41:55 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
67713
67714	* ext/tk/lib/tk/itemconfig.rb: ext/tk/lib/tk/itemconfig.rb: bug
67715	  fix on 'itemconfiginfo' method, and modify to make it easy to
67716	  override 'itemconfiginfo' method.
67717
67718	* ext/tk/lib/tkextlib/tile/treeview.rb: support Tile 0.7.8.
67719
67720	* ext/tk/lib/tkextlib/version.rb: [new] add Tk::Tkextlib_RELEASE_DATE
67721	  to get the information from scripts.
67722
67723	* ext/tk/lib/tk.rb: load 'tkextlib/version.rb', and update RELEASE_DATE
67724
67725	* ext/tk/lib/tkextlib/SUPPORT_STATUS: update.
67726
67727	* ext/tk/sample/editable_listbox.rb: [new] the listbox with editable
67728	  items. It's one of the example about usage of Place geometry manager.
67729
67730	* ext/tk/sample/tktextio.rb: improve the functions of TkTextIO class.
67731	  Those are required by 'irbtkw.rbw'.
67732
67733	* ext/tk/sample/irbtkw.rbw: [new] IRB on Ruby/Tk. It doesn't need any
67734	  real console. IRB works on a text widget without I/O blocking. That
67735	  is, thread switching on IRB will work properly, even if on Windows.
67736
67737Mon Nov  6 00:42:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67738
67739	* parse.y (arg_dup_check): vid may be nameless internal id.
67740
67741Sun Nov  5 19:52:19 2006  Tadayoshi Funaba  <tadf@dotrb.org>
67742
67743	* lib/date.rb: updated based on date2 3.9.7.
67744
67745Sat Nov  4 13:09:31 2006  Shugo Maeda  <shugo@ruby-lang.org>
67746
67747	* lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]
67748
67749Fri Nov  3 00:16:37 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67750
67751	* ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaround
67752	  for AIX.  a patch from Yutaka Kanemoto <kinpoco AT gmail.com>.
67753	  [ruby-dev:29744]
67754
67755Thu Nov  2 14:19:44 2006  Akinori MUSHA  <knu@iDaemons.org>
67756
67757	* lib/set.rb (Set#^): Fix XOR operation against a container that
67758	  holds duplicate values. [ruby-core:9372]
67759
67760Thu Nov  2 10:00:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67761
67762	* string.c: class Symbol is no longer subclass of String. also
67763	  covers [ruby-core:09366]
67764
67765Thu Nov  2 08:21:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67766
67767	* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should
67768	  come earlier than String.
67769
67770	* lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap):
67771	  ditto.
67772
67773	* lib/set.rb (TC_Set::test_s_new): strings are no longer
67774	  Enumerable
67775
67776	* lib/soap/property.rb (Property::load): ditto.
67777
67778	* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto.
67779
67780	* lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto.
67781
67782Thu Nov  2 09:08:04 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67783
67784	* array.c: revert lfree shift/unshift boost patch to avoid unknown
67785	  memory error.
67786
67787Wed Nov  1 23:24:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67788
67789	* ruby.h (struct RArray): revert embedding ptr in RVALUE.
67790
67791	* array.c: ditto.
67792
67793Wed Nov  1 23:01:55 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67794
67795	* string.c (hash): use Bob Jenkins' hash algorithm.
67796
67797Wed Nov  1 02:22:31 2006  Akinori MUSHA  <knu@iDaemons.org>
67798
67799	* ext/digest/lib/digest/hmac.rb (Digest::HMAC::update): Minor
67800	  optimization.
67801
67802	* ext/digest/digest.c (rb_digest_instance_equal): Allow comparing
67803	  a digest instance with another of a different class.
67804
67805Wed Nov  1 01:05:13 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
67806
67807	* eval.c (rb_call0): fixed bug of zsuper with both of opt and rest.
67808	  fixed: [ruby-list:42928]
67809
67810Tue Oct 31 17:03:21 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67811
67812	* time.c (time_dup): duplicate the class of original time.
67813	  [ruby-core:09357]
67814
67815	* lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate):
67816	  should respect subclasses.  [ruby-core:09357]
67817
67818Tue Oct 31 16:25:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67819
67820	* array.c (ary_shared_first): should address offset after
67821	  ary_shared_array().  [ruby-core:09358]
67822
67823Mon Oct 30 23:40:52 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67824
67825	* Makefile.in (miniruby): add XLDFLAGS.
67826
67827	* configure.in (aix): use -bE option for miniruby.  [ruby-dev:29698]
67828
67829	* dir.c (glob_helper): get rid of possible memory leak.
67830
67831	* win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir,
67832	  rb_w32_get_environ): not to use GC before initialization.
67833
67834Mon Oct 30 19:28:02 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
67835
67836	* bignum.c (rb_big2str0): use better approximation.
67837
67838Mon Oct 30 18:35:33 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67839
67840	* bignum.c (rb_big2str0): wrong allocation length.  a patch from
67841	  U.Nakamura <usa at garbagecollect.jp> [ruby-dev:29710]
67842
67843Mon Oct 30 12:34:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67844
67845	* eval.c (rb_eval): fix commit miss.  [ruby-dev:29707]
67846
67847Mon Oct 30 11:15:40 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67848
67849	* sprintf.c (rb_str_format): should preserve leading zero
67850	  information for negative %b and %x.  [ruby-talk:221347]
67851
67852Sun Oct 29 19:51:31 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
67853
67854	* regexec.c: invalid offset value was used in STATE_CHECK_BUFF_INIT().
67855
67856Sat Oct 28 20:13:18 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
67857
67858	* oniguruma.h: Version 4.4.5
67859
67860	* regint.h: ditto.
67861
67862	* regerror.c: ditto.
67863
67864	* regexec.c: ditto.
67865
67866	* regcomp.c ditto.
67867
67868	* regparse.c ditto.
67869
67870Sat Oct 28 07:56:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67871
67872	* marshal.c (r_object0): missing break.  [ruby-core:09345]
67873
67874Fri Oct 27 17:30:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67875
67876	* enumerator.c (enum_each_cons): move RETURN_ENUMERATOR() after
67877	  argument check.
67878
67879Thu Oct 26 21:05:48 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
67880
67881	* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_verify): should clear error.
67882	  (fix http://bugs.debian.org/394336)
67883
67884	* ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): ditto.
67885
67886Thu Oct 26 15:23:47 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67887
67888	* enumerator.c: remove by_slice and by_cons.
67889
67890Thu Oct 26 15:12:12 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
67891
67892	* ext/digest/digest.c (Init_digest): typo.
67893
67894Wed Oct 25 17:16:05 2006  Akinori MUSHA  <knu@iDaemons.org>
67895
67896	* test/digest/test_digest_hmac.rb: added.
67897
67898Wed Oct 25 16:34:31 2006  Akinori MUSHA  <knu@iDaemons.org>
67899
67900	* ext/digest/test.sh: make this script work again.
67901
67902Wed Oct 25 07:59:42 2006  Tadayoshi Funaba  <tadf@dotrb.org>
67903
67904	* lib/date/format.rb: updated based on date2 3.9.6.
67905	  [ruby-core:09323]
67906
67907Wed Oct 25 00:58:19 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67908
67909	* win32/mkexports.rb, win32/resource.rb: use unique variable names.
67910
67911Tue Oct 24 19:18:53 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67912
67913	* enumerator.c (enumerator_by_slice): new method added.
67914
67915	* enumerator.c (enumerator_by_cons): ditto.
67916
67917Tue Oct 24 18:56:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67918
67919	* enumerator.c (enum_each_slice, enum_each_cons): returns
67920	  Enumerable::Enumerator if no block is given.  [ruby-dev:29246]
67921
67922	* enumerator.c: remove methods: enum_with_index, enum_slice,
67923	  enum_cons.  [ruby-dev:29246]
67924
67925Tue Oct 24 18:51:27 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67926
67927	* enum.c (enum_zip): add RETURN_ENUMERATOR() to zip method.
67928
67929Mon Oct 23 04:30:04 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67930
67931	* marshal.c (r_object0): use return value from proc given as the
67932	  second argument to Marshal#load() to allow value replacement in
67933	  the restoring data.
67934
67935Sun Oct 22 14:48:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67936
67937	* signal.c (Init_signal): avoid duplicated installation of SIGCHLD
67938	  handler.
67939
67940Sun Oct 22 16:47:56 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
67941
67942	* string.c (rb_str_substr): should be infected with only original
67943	  string, but not the shared string.  fixed: [ruby-core:09152]
67944
67945	* string.c (rb_str_new4): keep shared string untainted when original
67946	  string is tainted.  fixed: [ruby-dev:29672]
67947
67948Sun Oct 22 07:55:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
67949
67950	* string.c (rb_str_upcase, rb_str_downcase, rb_str_downcase,
67951	  rb_str_upcase_bang, rb_str_downcase_bang, rb_str_swapcase_bang):
67952	  add RDoc description that case conversion to be effective only
67953	  in ASCII region.
67954
67955Sun Oct 22 05:20:34 2006  URABE Shyouhei  <shyouhei@ice.uec.ac.jp>
67956
67957	* configure.in: alloca is broken; use C_ALLOCA instead.
67958	  [ruby-dev:29416]
67959
67960Sat Oct 21 17:50:40 2006  Akinori MUSHA  <knu@iDaemons.org>
67961
67962	* ext/digest/lib/digest.rb: Follow the framework updates.
67963
67964Fri Oct 20 22:00:43 2006  Akinori MUSHA  <knu@iDaemons.org>
67965
67966	* ext/digest/lib/digest/hmac.rb: Complete half-boiled updates.
67967
67968	* ext/digest/sha2/lib/digest/sha2.rb: Fix #initialize_clone().
67969
67970Fri Oct 20 20:28:37 2006  Akinori MUSHA  <knu@iDaemons.org>
67971
67972	* ext/digest: Prefix C constants with RUBY_ and C type names with
67973	  rb_ to avoid name clash in writing extensions.
67974
67975	* ext/digest: Introduce Digest::Class and Digest::Instance for
67976	  ease of implementing subclasses and add-ons, inspired by
67977	  gotoyuzo.
67978
67979	* ext/digest: The Digest::Instance module now requires and assumes
67980	  that any instance be resettable and clonable, and add some
67981	  convenient instance methods such as "new()", for creating a new
67982	  copy, parameter taking "digest()" and "hexdigest()", for instant
67983	  calculation.  These methods make digest instances work just like
67984	  digest classes.
67985
67986	* ext/digest/sha2/lib/digest/sha2.rb:
67987	  Add the Digest::SHA2 class to wrap up SHA2 variants: SHA256,
67988	  SHA384 and SHA512, hoping this module would make a decent
67989	  example of a digest subclass written in Ruby.
67990
67991	* ext/digest/lib/digest.rb: Adjust autoload entries for SHA2
67992	  classes.
67993
67994	* ext/digest/lib/digest/hmac.rb: Follow the framework updates.
67995
67996Fri Oct 20 10:47:43 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
67997
67998	* lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.
67999
68000Fri Oct 20 08:42:38 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68001
68002	* common.mk (NULLCMD): dummy command.
68003
68004	* bcc32/Makefile.sub (post-install-*): Borland make cannot ignore
68005	  command-less double-colon rules.  [ruby-dev:29676]
68006
68007Fri Oct 20 00:37:07 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68008
68009	* bcc32/Makefile.sub ($(LIBRUBY_SO)): execute pre-link hook.
68010
68011	* ext/extmk.rb: workaround for Borland make.
68012
68013Wed Oct 18 23:02:40 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68014
68015	* array.c (rb_ary_shift): shorten copy size.  fixed: [ruby-list:42907]
68016
68017	* signal.c (Init_signal): handle SIGTERM.  fixed: [ruby-list:42895]
68018
68019	* win32/win32.c (rb_w32_utime): allow NULL to set the current time.
68020	  [ruby-talk:219248]
68021
68022Wed Oct 18 13:25:50 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68023
68024	* string.c (rb_str_each_line): String#lines now works when a block
68025	  is given.  in other words, lines become an alias to each_line.
68026	  [ruby-core:09218]
68027
68028	* string.c (rb_str_each_byte): ditto for bytes in place of lines.
68029
68030Wed Oct 18 00:55:33 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68031
68032	* parse.y (parser_yylex): use particular enums.  [ruby-core:09221]
68033
68034Tue Oct 17 22:03:08 2006  Minero Aoki  <aamine@loveruby.net>
68035
68036	* lib/erb.rb: String#each was removed, use #each_line instead.
68037
68038Tue Oct 17 12:27:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68039
68040	* array.c (ary_shared_array): should set NOEMBED flag for a copied
68041	  array.
68042
68043Tue Oct 17 08:04:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68044
68045	* string.c (rb_str_lines): now takes optional argument for the
68046	  line separator.
68047
68048	* io.c (rb_io_lines, rb_io_bytes): new methods.
68049
68050Mon Oct 16 23:33:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68051
68052	* array.c (rb_ary_unshift_m): a bug in lfree shift length
68053	  calculation.
68054
68055Mon Oct 16 08:30:43 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68056
68057	* mkconfig.rb: *OBJS are not needed for extension libraries.
68058
68059	* {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo,
68060	  missing comma.
68061
68062Mon Oct 16 00:44:26 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68063
68064	* pack.c (pack_unpack): execute block if given with unpacked value
68065	  instead of creating an array.  an idea from Tim Bray.
68066
68067Sun Oct 15 01:03:08 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68068
68069	* lib/test/unit/collector/dir.rb (Collector::Dir#collect): append base
68070	  directory but not prepend.
68071
68072	* lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not
68073	  join with dot.  fixed: [ruby-core:09179]
68074
68075Sat Oct 14 23:39:50 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68076
68077	* parse.y (singleton): no need to re-create NODE_SELF() again.
68078	  [ruby-core:09177]
68079
68080Sat Oct 14 23:25:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68081
68082	* parse.y (parser_warning, parser_warn): some error message may
68083	  contain format specifiers.  a patch from Akinori MUSHA <knu at
68084	  iDaemons.org>.  [ruby-dev:29657]
68085
68086	* regparse.c (onig_rb_warning, onig_rb_warn): ditto.
68087
68088	* ext/bigdecimal/bigdecimal.c (VpException): ditto.
68089
68090	* ext/dl/handle.c (rb_dlhandle_initialize): ditto.
68091
68092	* ext/gdbm/gdbm.c (rb_gdbm_fatal): ditto.
68093
68094Sat Oct 14 08:15:42 2006  Akinori MUSHA  <knu@iDaemons.org>
68095
68096	* ext/digest/digest.c, ext/digest/digest.h,
68097	  ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
68098	  ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c:
68099	  Introduce API versioning.
68100
68101	* ext/digest/digest.c, ext/digest/digest.h,
68102	  ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
68103	  ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c: Remove
68104	  the constants DIGEST_LENGTH and BLOCK_LENGTH and turn them into
68105	  instance methods digest_length() and block_length().  Class
68106	  methods with the same names are also provided, which take extra
68107	  parameters for a digest method.
68108
68109	* ext/digest/lib/digest/hmac.rb: Completely redesign the somewhat
68110	  bizarre API, now that Digest classes can take hashing
68111	  parameters.
68112
68113Sat Oct 14 05:54:05 2006  Akinori MUSHA  <knu@iDaemons.org>
68114
68115	* ext/digest/digest.c: Improve RDoc documentation further more.
68116
68117Sat Oct 14 04:33:33 2006  Akinori MUSHA  <knu@iDaemons.org>
68118
68119	* ext/digest/digest.c: Improve RDoc documentation.
68120
68121	* ext/digest/digest.c (Init_digest, rb_digest_base_s_digest,
68122	  rb_digest_base_s_hexdigest): Make Digest::Base::digest() and
68123	  Digest::Base::hexdigest() take extra arguments, which are passed
68124	  through to the constructor in an internal call.
68125
68126	* ext/digest/bubblebabble/bubblebabble.c
68127	  (rb_digest_base_s_bubblebabble): Ditto for
68128	  Digest::Base::bubblebabble().
68129
68130Sat Oct 14 00:55:08 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68131
68132	* bcc32/Makefile.sub (post-install-ext): no longer needed.
68133
68134	* bcc32/configure.bat: get rid of a quirk of Borland make, which
68135	  sets empty macro in command line to "1".
68136
68137Fri Oct 13 22:49:02 2006  Tadayoshi Funaba  <tadf@dotrb.org>
68138
68139	* lib/date.rb: updated based on date2 3.9.5.
68140
68141Fri Oct 13 21:00:01 2006  Akinori MUSHA  <knu@iDaemons.org>
68142
68143	* ext/digest/lib/digest.rb (Digest): Try to auto-load non-standard
68144	  digest modules when a specified digest class is missing.
68145
68146	* ext/digest/lib/digest.rb: Define Digest(name) for ease of
68147	  dynamically selecting a hashing algorithm.
68148
68149Fri Oct 13 20:53:37 2006  Akinori MUSHA  <knu@iDaemons.org>
68150
68151	* ext/digest/digest.c (Init_digest): Digest::Base.new() does no
68152	  longer take an initial string to feed.  This change allows
68153	  subclasses to take hashing parameters.  A statement such as
68154	  ``md = Digest::MD5.new(s)'' can be easily rewritten as
68155	  ``md = Digest::MD5.new << s'' or
68156	  ``md = Digest::MD5.new.update(s)''.
68157
68158Fri Oct 13 20:51:55 2006  Akinori MUSHA  <knu@iDaemons.org>
68159
68160	* ext/digest/digest.c, ext/digest/md5/md5init.c,
68161	  ext/digest/rmd160/rmd160init.c, ext/digest/sha1/sha1init.c,
68162	  ext/digest/sha2/sha2init.c: Add RDoc documentation.
68163
68164	* ext/digest/digest.txt, ext/digest/digest.txt.ja: Removed in
68165	  favor of embedded RDoc documentation.
68166
68167Fri Oct 13 20:38:12 2006  Akinori MUSHA  <knu@iDaemons.org>
68168
68169	* ext/digest/bubblebabble, ext/digest/digest.c: Rip BubbleBabble
68170	  support out of the base class and have a separate module named
68171	  digest/bubblebabble.
68172
68173Fri Oct 13 19:53:59 2006  Akinori MUSHA  <knu@iDaemons.org>
68174
68175	* ext/digest/digest.c (rb_digest_base_equal): Again, should call
68176	  digest() of a subclass instead of the one defined in the base
68177	  class.
68178
68179Fri Oct 13 18:19:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68180
68181	* object.c: Class#inherited RDoc added.  a patch from Daniel
68182	  Berger <djberg96 at gmail.com>  [ruby-core:08942]
68183
68184Fri Oct 13 02:42:00 2006  Akinori MUSHA  <knu@iDaemons.org>
68185
68186	* ext/digest/digest.c (rb_digest_base_equal): Should call digest()
68187	  of a subclass instead of the one defined in the base class.
68188
68189Fri Oct 13 02:30:12 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68190
68191	* lib/test/unit/collector/dir.rb (Collector::Dir#collect): prepend
68192	  base directory to load path.
68193
68194	* lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should
68195	  use the given File-like interface, but not File directly.
68196
68197	* test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement
68198	  File-like methods correctly.
68199
68200Fri Oct 13 01:48:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68201
68202	* lib/date.rb (Date::self.complete_hash): need to check if g is
68203	  nil before dereference.  [ruby-core:09116]
68204
68205Fri Oct 13 01:05:58 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68206
68207	* string.c (rb_str_partition): RDoc update.  a patch from
68208	  Mauricio Fernandez <mfp at acm.org>.  [ruby-core:09160]
68209
68210	* hash.c (rb_hash_compare_by_id): ditto.
68211
68212Fri Oct 13 00:34:26 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68213
68214	* object.c (rb_mod_cvar_defined): wrong id check.  a patch from
68215	  Mauricio Fernandez <mfp at acm.org>.  [ruby-core:09158]
68216
68217	* object.c (rb_mod_cvar_get): typo fixed.  [ruby-core:09168]
68218
68219	* object.c (rb_mod_cvar_set): ditto.
68220
68221Thu Oct 12 22:58:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68222
68223	* hash.c (rb_hash_compare_by_id): somehow we lost renaming from
68224	  Hash#identical.  [ruby-core:09163]
68225
68226Thu Oct 12 18:25:40 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68227
68228	* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): need to handle new
68229	  character literal (1 char string).
68230
68231	* lib/mkmf.rb: shut up some warnings from tk's extconf.rb.
68232
68233Thu Oct 12 02:15:24 2006  Akinori MUSHA  <knu@iDaemons.org>
68234
68235	* ext/digest/lib/digest/hmac.rb: Make use of String#bytes.
68236
68237Thu Oct 12 02:12:31 2006  Akinori MUSHA  <knu@iDaemons.org>
68238
68239	* ext/digest/digest.c (get_digest_base_metadata): Use an instance
68240	  variable of a class object instead of a class variable for
68241	  metadata.  This change is only crucial for ruby 1.8 because
68242	  class variables are inherited to subclasses prior to 1.9, but
68243	  applying it also to 1.9 will assure compatibilities.
68244
68245	* ext/digest/md5/md5init.c (Init_md5): Ditto.
68246
68247	* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
68248
68249	* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
68250
68251	* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
68252
68253Wed Oct 11 21:36:47 2006  Akinori MUSHA  <knu@iDaemons.org>
68254
68255	* ext/digest/digest.c (rb_digest_base_alloc,
68256	  rb_digest_base_equal): Simplify the equality check and just
68257	  compare resulted digests since state-level equality should
68258	  not be so significant.
68259
68260	* ext/digest/digest.h: Ditto.
68261
68262	* ext/digest/*/*.[ch]: Ditto.
68263
68264Wed Oct 11 17:11:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68265
68266	* eval.c (rb_obj_define_method): add half boiled RDoc document.
68267
68268Wed Oct 11 16:57:46 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68269
68270	* array.c (rb_ary_replace): should shift lfree pointer before
68271	  calling xfree.
68272
68273Wed Oct 11 15:07:42 2006  Akinori MUSHA  <knu@iDaemons.org>
68274
68275	* ext/digest/lib/digest/hmac.rb: Add digest/hmac, which implements
68276	  HMAC keyed-hashing algorithm.
68277
68278Wed Oct 11 15:03:55 2006  Akinori MUSHA  <knu@iDaemons.org>
68279
68280	* ext/digest/digest.c (rb_digest_base_reset): Do not make
68281	  recursive calls, but call initialize() when reset() is not
68282	  defined in a subclass.
68283
68284Wed Oct 11 14:56:10 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68285
68286	* ext/digest/sha1/sha1ossl.h: libssl 0.9.8c-3 defines no
68287	  SHA_BLOCK_LENGTH.
68288
68289Wed Oct 11 14:03:31 2006  Akinori MUSHA  <knu@iDaemons.org>
68290
68291	* ext/digest/digest.c (rb_digest_base_reset, Init_digest): Add
68292	  Digest::Base#reset.
68293
68294	* ext/digest/digest.h: Update the header comment.
68295
68296	* ext/digest/md5/md5ossl.h, ext/digest/md5/md5init.c (Init_md5):
68297	  Define DIGEST_LENGTH and BLOCK_LENGTH.
68298
68299	* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
68300
68301	* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
68302
68303	* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
68304
68305	* ext/digest/depend, ext/digest/extconf.rb: Use $INSTALLFILES
68306	  rather than adding make targets. [Pointed out by: nobu]
68307
68308Tue Oct 10 16:39:08 2006  Akinori MUSHA  <knu@iDaemons.org>
68309
68310	* ext/digest/digest.c (hexdigest_str_new, bubblebabble_str_new):
68311	  Perform StringValue() checks properly.
68312
68313Tue Oct 10 13:21:21 2006  Akinori MUSHA  <knu@iDaemons.org>
68314
68315	* ext/digest/sha1/depend, ext/digest/sha2/depend: Remove obsolete
68316	  dependencies.
68317
68318Mon Oct  9 23:46:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68319
68320	* lib/parsedate.rb: documentation patch from Konrad Meyer
68321	  <konrad.meyer@gmail.com>.  [ruby-doc:1238]
68322
68323	* lib/open3.rb, lib/ping.rb: ditto.
68324
68325Mon Oct  9 23:40:58 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68326
68327	* ext/extmk.rb, lib/fileutils.rb, lib/mkmf.rb, lib/optparse.rb,
68328	  lib/shellwords.rb: get rid of shadowing outer local variable.
68329
68330Mon Oct  9 22:56:12 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68331
68332	* lib/rexml/encoding.rb (REXML::Encoding::check_encoding): spaces
68333	  are allowed around equal sign.  [ruby-core:09032]
68334
68335	* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser): ditto.
68336
68337Mon Oct  9 01:56:34 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68338
68339	* eval.c (rb_obj_define_method): add new method
68340	  Kernel#define_singleton_method.  [ruby-list:42851]
68341
68342Sat Oct  7 23:53:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68343
68344	* string.c (rb_str_scan): small documentation fix.
68345	  [ruby-core:09007]
68346
68347Sat Oct  7 23:44:33 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68348
68349	* bignum.c (rb_big_rshift): a bug in right shift of negative
68350	  bignums.  [ruby-core:09020]
68351
68352Sat Oct  7 23:33:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68353
68354	* eval.c (formal_assign): packed post splat arguments may conflict
68355	  with normal arguments.  [ruby-core:09021]
68356
68357	* eval.c (rb_call0): ditto.
68358
68359Sat Oct  7 11:53:04 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68360
68361	* object.c (rb_mod_initialize): since module_eval no longer passes
68362	  self, use module_exec instead.  fixed: [ruby-dev:29637]
68363
68364Sat Oct  7 00:27:58 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68365
68366	* class.c (rb_include_module): remove unnecessary check.
68367	  [ruby-talk:218402]
68368
68369Fri Oct  6 15:19:59 2006  Akinori MUSHA  <knu@iDaemons.org>
68370
68371	* ext/digest/depend: Fix header installation when the build
68372	  directory is different from srcdir. [Pointed out by: eban]
68373
68374Fri Oct  6 09:56:31 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
68375
68376	* {bcc32,win32,wince}/Makefile.sub (config.status): shouldn't use
68377	  copy command instead of install. use -run install.
68378
68379Fri Oct  6 06:53:46 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68380
68381	* eval.c (rb_yield_0): small refactoring.
68382
68383	* parse.y (bparam_item): fixed bugs in handling parenthesized LHS.
68384
68385Fri Oct  6 04:47:07 2006  Akinori MUSHA  <knu@iDaemons.org>
68386
68387	* ext/digest/depend: Install digest.h.
68388
68389Fri Oct  6 04:27:40 2006  Akinori MUSHA  <knu@iDaemons.org>
68390
68391	* ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Remove those
68392	  compatibility stub libraries.
68393
68394	* sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.
68395
68396Fri Oct  6 04:09:51 2006  Akinori MUSHA  <knu@iDaemons.org>
68397
68398	* ext/digest/digest.c: Make hexdigest() always call digest() internally.
68399
68400	* ext/digest/digest.c: Add bubblebabble().
68401
68402Fri Oct  6 02:38:42 2006  Akinori MUSHA  <knu@iDaemons.org>
68403
68404	* ext/digest/digest.c: Allow subclassing in Ruby.
68405
68406Fri Oct  6 02:06:10 2006  Akinori MUSHA  <knu@iDaemons.org>
68407
68408	* ext/digest/digest.c (hexdigest_str_new): Add a string size check.
68409
68410Thu Oct  5 19:28:35 2006  Akinori MUSHA  <knu@iDaemons.org>
68411
68412	* ext/digest/digest.[ch]: Since the argument order of
68413	  hash_final_func_t was inconsistent with others, change it and
68414	  rename to hash_finish_func_t to avoid confusion.
68415
68416	* ext/digest/digest.[ch]: Remove and eliminate the use of
68417	  hash_end_func_t.  Implement hexdigest conversion in the base
68418	  class.
68419
68420	* ext/digest/md5/md5.c, ext/digest/md5/md5.h,
68421	  ext/digest/md5/md5init.c, ext/digest/md5/md5ossl.c,
68422	  ext/digest/md5/md5ossl.h: Remove MD5_End() and change
68423	  MD5_Final() to MD5_Finish().
68424
68425	* ext/digest/rmd160/depend, ext/digest/rmd160/extconf.rb,
68426	  ext/digest/rmd160/rmd160.c, ext/digest/rmd160/rmd160.h,
68427	  ext/digest/rmd160/rmd160hl.c, ext/digest/rmd160/rmd160init.c,
68428	  ext/digest/rmd160/rmd160ossl.c, ext/digest/rmd160/rmd160ossl.h:
68429	  Remove unused functions RMD160_End(), RMD160_File(),
68430	  RMD160_Data() and change RMD160_Final() to RMD160_Finish().
68431
68432	* ext/digest/sha1/extconf.rb, ext/digest/sha1/sha1.c,
68433	  ext/digest/sha1/sha1.h, ext/digest/sha1/sha1hl.c,
68434	  ext/digest/sha1/sha1init.c, ext/digest/sha1/sha1ossl.c,
68435	  ext/digest/sha1/sha1ossl.h: Likewise.
68436
68437	* ext/digest/sha2/extconf.rb, ext/digest/sha2/sha2.c,
68438	  ext/digest/sha2/sha2.h, ext/digest/sha2/sha2hl.c,
68439	  ext/digest/sha2/sha2init.c: Likewise.
68440
68441Wed Oct  4 18:47:25 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
68442
68443	* ext/tk/lib/tkextlib/*: bugfix and update
68444	  (see ext/tk/ChangeLog.tkextlib).
68445
68446Wed Oct  4 17:25:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68447
68448	* eval.c (rb_call): check protected visibility based on real self,
68449	  not ruby_frame->self.  [ruby-talk:217822]
68450
68451Wed Oct  4 15:46:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68452
68453	* parse.y (block_param): should interpret single parenthesized
68454	  left hand side expression.
68455
68456Wed Oct  4 08:52:30 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68457
68458	* test/optparse/test_getopts.rb: changed the class name of test case
68459	  to get rid of conflict with test_optparse.rb.
68460
68461Tue Oct  3 21:04:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68462
68463	* parse.y (dyna_in_block): inline using macro.
68464
68465	* parse.y (mlhs): simplifies the rule a bit.
68466
68467	* parse.y (block_param): restrict block parameters to be local
68468	  variables only.
68469
68470	* test/ruby/test_iterator.rb (TestIterator::test_nested_iterator):
68471	  update test suite to conform the last change.
68472
68473Tue Oct  3 02:31:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68474
68475	* eval.c (splat_value): use "to_splat" instead of "to_ary" to
68476	  prepare splat values as an array.
68477
68478	* array.c (Init_Array): define to_splat.
68479
68480	* range.c (range_to_splat): new method.
68481
68482	* enumerator.c (enumerator_to_splat): ditto.
68483
68484Tue Oct  3 01:36:47 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68485
68486	* string.c (rb_str_lines): returns an Enumerator instead of an
68487	  array of lines.
68488
68489	* string.c (rb_str_bytes): a new method.
68490
68491Mon Oct  2 23:47:55 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68492
68493	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
68494	  base directory should be lower precedence.  fixed: [ruby-dev:29622]
68495
68496	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
68497
68498	* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
68499	  load expanded path.  fixed: [ruby-dev:29621]
68500
68501Mon Oct  2 15:47:55 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
68502
68503	* instruby.rb: batfile should be CRLF'ed.
68504
68505Mon Oct  2 01:24:26 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68506
68507	* common.mk (test-all): separate directory where running test cases
68508	  from source tree.
68509
68510	* lib/test/unit/autorunner.rb (options): added --basedir, --workdir
68511	  and --load-path options.
68512
68513	* lib/test/unit/collector/dir.rb (recursive_collect, collect_file):
68514	  base directory support.
68515
68516Sun Oct  1 23:56:52 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68517
68518	* Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keep
68519	  LIBRUBY_SO unless need to be removed.
68520
68521Sun Oct  1 23:12:19 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68522
68523	* lib/optparse.rb (OptionParser#make_switch): pass arguments directly.
68524
68525Sat Sep 30 15:11:26 2006  Tadayoshi Funaba  <tadf@dotrb.org>
68526
68527	* lib/date.rb, lib/date/format.rb: updated based on date2 3.9.4.
68528
68529Fri Sep 29 13:18:24 2006  Akinori MUSHA  <knu@iDaemons.org>
68530
68531	* ext/digest/lib/digest.rb (Digest): Require digest.so and fix the
68532	  breakage.  Point out by NAKAMURA Usaku in [ruby-dev:29619].
68533
68534Fri Sep 29 12:11:04 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
68535
68536	* jcode.rb (succ!): call original succ! if $KCODE == 'n'.
68537	  fixed: [ruby-talk:216845]
68538
68539Fri Sep 29 11:43:40 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68540
68541	* lib/mkmf.rb (try_func): revert fallback checking undeclared function.
68542	  fixed: [ruby-core:08949]
68543
68544Fri Sep 29 09:56:56 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68545
68546	* ext/extmk.rb: extout is needed for also clean.
68547	  fixed: [ruby-core:08944]
68548
68549	* lib/optparse.rb (OptionParser::Switch#conv_arg): unsplat by
68550	  Proc#call if no conversion is given.
68551
68552Thu Sep 28 23:59:31 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68553
68554	* node.h (struct thread): declare win32_exception_list on cygwin and
68555	  win32 regardless if it is implemented.  Provisional fix for
68556	  [ruby-core:08917].
68557
68558Thu Sep 28 20:49:20 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
68559
68560	* lib/tmpdir.rb: use return value of getdir.call for length.
68561
68562Wed Sep 27 22:08:16 2006  Akinori MUSHA  <knu@iDaemons.org>
68563
68564	* ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
68565	  require "digest" rather than "digest.so".
68566
68567	* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
68568
68569	* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
68570
68571	* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
68572
68573Wed Sep 27 21:21:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68574
68575	* string.c (rb_str_startwith): rename startwith? to start_with?,
68576	  endwith? to endwith?, respectively.  [ruby-talk:216685]
68577
68578Wed Sep 27 13:29:01 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68579
68580	* lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by
68581	  join.  some other methods as well.  [ruby-dev:29613]
68582
68583Wed Sep 27 01:04:49 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68584
68585	* lib/mkmf.rb (try_func): check function pointer first and macro next.
68586
68587	* lib/mkmf.rb (have_type): simplified with typedef and sizeof.
68588
68589Wed Sep 27 00:08:12 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68590
68591	* array.c (rb_ary_shift): shift/unshift performance boost patch,
68592	  based on the patch from Eric Mahurin <eric_mahurin at yahoo.com>.
68593	  [ruby-core:05861]
68594
68595	* array.c (rb_ary_unshift_m): ditto.
68596
68597	* array.c (ary_make_shared): ditto.
68598
68599	* array.c (RESIZE_CAPA): ditto.
68600
68601	* array.c (rb_ary_free): new function to free memory.  code moved
68602	  from gc.c.
68603
68604	* string.c (rb_str_free): ditto.
68605
68606Tue Sep 26 23:57:03 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68607
68608	* lib/optparse.rb (OptionParser#getopts): use strings as key.
68609	  fixed: [ruby-dev:29614]
68610
68611Tue Sep 26 15:29:55 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
68612
68613	* {win32,wince}/Makefile.sub (CPP): check predefined value.
68614
68615Tue Sep 26 07:55:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68616
68617	* array.c (rb_ary_shift): should not move memory region if array
68618	  body is shared.  a patch from Kent Sibilev <ksruby at gmail.com>.
68619	  [ruby-core:08922]
68620
68621Mon Sep 25 23:10:46 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68622
68623	* dir.c (rb_push_glob): need not to check by FilePathValue().
68624	  [ruby-dev:29599]
68625
68626	* dir.c (dir_globs): ditto.
68627
68628Mon Sep 25 22:26:26 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68629
68630	* file.c (rb_path_end): skip root directory.  fixed: [ruby-core:08913]
68631
68632	* lib/mkmf.rb (rm_f): get rid of NUL.
68633
68634	* lib/mkmf.rb (init_mkmf): set default $LDFLAGS.  Patch by Michal
68635	  Suchanek <hramrach at centrum.cz>.  [ruby-talk:216256]
68636
68637Mon Sep 25 15:06:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68638
68639	* sample/test.rb: "print nil" now prints empty string.
68640
68641	* test/ruby/test_system.rb (TestSystem::test_system): ditto.
68642
68643Mon Sep 25 11:26:25 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68644
68645	* hash.c (recursive_hash): remove unused local variable.
68646
68647	* parse.y (parser_yylex): ditto.
68648
68649	* parse.y (rb_gc_mark_symbols): fix unmatched prototype .
68650
68651	* file.c (rb_get_path): check NUL byte in the path string.
68652
68653Mon Sep 25 08:14:43 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68654
68655	* array.c (rb_ary_shift): should clear shifting top element.
68656	  [ruby-talk:216055]
68657
68658	* array.c (rb_ary_shift): avoid creating shared object if array
68659	  size is small.
68660
68661Mon Sep 25 08:11:35 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68662
68663	* random.c (rb_f_rand): RDoc typo fix.  a patch from Frederick
68664	  Cheung <fred at 82ask.com>.  [ruby-talk:216047]
68665
68666Sun Sep 24 21:19:24 2006  Guy Decoux  <ts@moulon.inra.fr>
68667
68668	* gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.
68669	  [ruby-core:08912]
68670
68671Sun Sep 24 22:28:20 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68672
68673	* runruby.rb: extension library scripts moved into common directory.
68674
68675Sun Sep 24 12:10:04 2006  Tadayoshi Funaba  <tadf@dotrb.org>
68676
68677	* lib/date.rb, lib/date/format.rb: updated based on date2 3.9.3.
68678
68679Sun Sep 24 06:55:36 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68680
68681	* io.c (rb_io_print): no special handling for nil as well as puts.
68682	  fixed: [ruby-dev:29586]
68683
68684Sun Sep 24 06:25:53 2006  why the lucky stiff  <why@ruby-lang.org>
68685
68686	* eval.c (rb_thread_save_context, rb_thread_restore_context):
68687	  sandbox hook to save and restore sandbox state.
68688
68689	* eval.c (thread_no_ensure): added THREAD_NO_ENSURE thread flag.
68690
68691	* eval.c (rb_thread_kill_bang): Thread#kill! uses the above flag
68692	  to circumvent ensure, in order to prevent endless loops.
68693	  contributed by MenTaLguY. [ruby-core:08768]
68694
68695	* eval.c (rb_thread_kill): fix Thread#kill docs, which returns
68696	  the thread object in all cases.
68697
68698	* node.h: expose the rb_jmpbuf_t and rb_thread_t structs, along
68699	  with the thread flags.  used by the sandbox extension.
68700
68701	* ruby.h: extern rb_eThreadError, so sandbox can swap it.
68702
68703Sat Sep 23 21:34:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68704
68705	* lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI content
68706	  may be empty.  a patch from Jamis Buck <jamis at 37signals.com>.
68707
68708Sat Sep 23 20:54:28 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
68709
68710	* oniguruma.h: Version 4.4.4
68711
68712	* regexec.c: ditto.
68713
68714	* regcomp.c ditto.
68715
68716Sat Sep 23 08:35:53 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68717
68718	* lib/rdoc/ri/ri_options.rb: prevent NameError.  [ruby-dev:29597]
68719
68720Sat Sep 23 01:02:57 2006  Tadayoshi Funaba  <tadf@dotrb.org>
68721
68722	* lib/date.rb, lib/date/format.rb: updated based on date2 3.9.2.
68723
68724Fri Sep 22 18:07:17 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68725
68726	* string.c (rb_str_partition): no need to call rb_call_super(),
68727	  since String is no longer includes Enumerable.
68728
68729Fri Sep 22 17:33:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68730
68731	* hash.c (rb_hash_eql): new method to be used by Hash.
68732
68733	* hash.c (rb_hash_hash): ditto.
68734
68735Fri Sep 22 06:53:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68736
68737	* bignum.c (rb_big_hash): use rb_memhash().
68738
68739	* numeric.c (flo_hash): simplified.  klass need not to affect
68740	  resulting hash value.
68741
68742Fri Sep 22 02:06:26 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68743
68744	* .cvsignore: ignore timestamp files and installed list file.
68745
68746Fri Sep 22 01:36:34 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68747
68748	* instruby.rb: include FileUtils unconditionally.
68749
68750Fri Sep 22 00:36:05 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68751
68752	* numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.
68753	  patch from Ondrej Bilka <neleai at seznam.cz>.  [ruby-core:08904]
68754
68755Thu Sep 21 22:56:20 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68756
68757	* common.mk (no-install): not install rdoc actually.
68758
68759	* common.mk (install-doc, no-install-doc): use instruby.rb.
68760
68761	* instruby.rb: rdoc installation.
68762
68763	* ext/extmk.rb: expand ruby executable names.
68764
68765Thu Sep 21 20:19:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68766
68767	* string.c (str_new3): embed shorter strings more eagerly.
68768
68769Thu Sep 21 17:44:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68770
68771	* string.c (rb_str_startwith): a new method to check if a string
68772	  starts with given prefix.
68773
68774	* string.c (rb_str_endwith): the opposite of String#startwith?.
68775
68776Thu Sep 21 16:29:02 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
68777
68778	* rubytest.rb: use each_line instead of each.
68779
68780Thu Sep 21 15:06:24 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68781
68782	* numeric.c (int_odd_p): a new method to check even or odd.
68783	  [RCR#337]
68784
68785	* numeric.c (int_even_p): ditto.
68786
68787Thu Sep 21 13:55:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68788
68789	* ext/etc/etc.c (etc_getpwuid): uid integer should be wrapped in
68790	  uid_t value.  [ruby-core:08897]
68791
68792	* ext/etc/etc.c (etc_getpwuid): uid_t may be bigger than plain
68793	  'int' type.
68794
68795Thu Sep 21 10:07:09 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68796
68797	* string.c (rb_str_partition): RDoc typo fixed.  [ruby-core:08898]
68798
68799	* string.c (rb_str_rpartition): fixed separation seek bug.
68800
68801Thu Sep 21 09:38:12 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68802
68803	* string.c (rb_str_lines): new method to split a string into lines.
68804
68805	* string.c (Init_String): Strings are no longer Enumerable.  use
68806	  each_line or lines method explicitly.
68807
68808	* string.c (Init_String): remove each method. use each_lines.
68809
68810Wed Sep 20 23:17:41 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68811
68812	* common.mk (pre-install-doc): create data directory before install.
68813
68814	* lib/mkmf.rb (dir_re): fixed typo.
68815
68816	* lib/mkmf.rb (install_dirs): remove extra slash.
68817
68818Wed Sep 20 22:41:45 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68819
68820	* numeric.c (fix_mul): typo again.  patch from Tadashi Saito
68821	  <shiba at mail2.accsnet.ne.jp>.  fixed: [ruby-core:08893]
68822
68823Wed Sep 20 19:32:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68824
68825	* string.c (rb_str_partition): a new method to separate the string
68826	  by a separator.  taken from Python 2.5.
68827
68828	* string.c (rb_str_rpartition): ditto.
68829
68830Wed Sep 20 09:49:40 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
68831
68832	* {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to define
68833	  this macro to install.
68834
68835Wed Sep 20 09:43:10 2006  Shugo Maeda  <shugo@ruby-lang.org>
68836
68837	* lib/net/imap.rb: allow extra spaces in responses.
68838	  Thanks, Tom Soderlund.
68839
68840Wed Sep 20 09:25:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68841
68842	* ext/gdbm/gdbm.c: add RDoc documentation. a patch from Peter
68843	  Adolphs <futzilogik at users dot sourceforge dot net>.
68844	  [ruby-doc:1223]
68845
68846Tue Sep 19 00:42:15 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68847
68848	* object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,
68849	  Kernel#instance_variable_defined? and Module#class_variable_defined?.
68850	  [ruby-dev:29587]
68851
68852	* lib/date/format.rb (Date::Bag#method_missing): use new method,
68853	  instance_variable_defined? to check if an instance variable is
68854	  defined.  fixed: [ruby-dev:29554]
68855	  -- This didn't fix anything.
68856
68857Tue Sep 19 00:07:17 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68858
68859	* string.c (sym_eql): fail early to gain performance.
68860
68861	* string.c (sym_hash): cache hash value in aux.shared if possible.
68862
68863	* gc.c (rb_obj_id): no need to treat symbols specially.
68864
68865	* lib/fileutils.rb (FileUtils::FileUtils): singleton_methods() no
68866	  longer return an array of strings, but of symbols.
68867
68868	* lib/delegate.rb (DelegateClass): ditto.
68869
68870Mon Sep 18 15:29:21 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68871
68872	* dir.c (dir_s_glob): restore GC protection volatile variable.
68873	  [ruby-dev:29588]
68874
68875	* re.c (rb_reg_regcomp): ditto.
68876
68877Mon Sep 18 12:16:48 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68878
68879	* numeric.c (fix_mul): get rid of shift overflow.
68880
68881Mon Sep 18 10:47:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68882
68883	* dir.c (dir_s_glob): remove unused variable.
68884
68885	* math.c (math_log): ditto.
68886
68887	* re.c (rb_reg_regcomp): ditto.
68888
68889	* eval.c (break_jump): ditto.
68890
68891	* eval.c (rb_thread_yield_0): remove unused function.
68892
68893Sun Sep 17 23:44:58 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68894
68895	* lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modified
68896	  after the previous generation.
68897
68898Sun Sep 17 17:42:13 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68899
68900	* common.mk (install-doc): reverted.
68901
68902	* instruby.rb: stores file name list without destdir prefix.
68903
68904	* lib/rdoc/generators/ri_generator.rb: do not chdir twice.
68905
68906Sun Sep 17 10:42:10 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68907
68908	* numeric.c (fix_mul): fixed typo.  fixed: [ruby-core:08885]
68909
68910Sat Sep 16 19:47:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68911
68912	* README.EXT: should mention new macros: RSTRING_PTR, RSTRING_LEN,
68913	  RARRAY_PTR, RARRAY_LEN.
68914
68915	* README.EXT.ja: ditto.
68916
68917Sat Sep 16 16:39:23 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
68918
68919	* Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
68920	  use instruby.rb to install extensions instead of ext/extmk.rb.
68921
68922	* instruby.rb: store installed list into the file.
68923
68924	* ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
68925
68926	* ext/io/wait/extconf.rb: suspicious checking_for.
68927
68928	* ext/pty/pty.c (establishShell): parent pid is not used.
68929
68930	* ext/pty/pty.c (freeDevice): not used.
68931
68932	* lib/mkmf.rb (checking_for): improved the messages.
68933
68934Sat Sep 16 11:03:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68935
68936	* array.c (ary_shared_first): should create embedded copies
68937	  instead of sharing memory region for smaller arrays.
68938
68939Sat Sep 16 09:37:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68940
68941	* struct.c (inspect_struct): do not display a class name for
68942	  anonymous struct.  The member fields are sufficient.
68943
68944Fri Sep 15 20:22:15 2006  NARUSE, Yui  <naruse@ruby-lang.org>
68945
68946	* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.
68947	  * Fix: check_bom cuts \xfe\xff\xXX\xXX of UTF-32LE.
68948	  * Add support --ic=UTF-32.
68949	  * Fix: can't guess UTF-16 and UTF-32.
68950	  * Fix: can't decode beyond BMP of UTF-16LE.
68951
68952	* ext/nkf/nkf.c (guess): Support UTF-32.
68953
68954	* ext/nkf/lib/kconv.rb (kconv): Support UTF-32.
68955
68956	* ext/nkf/lib/kconv.rb (to_utf32): new method.
68957
68958Fri Sep 15 05:23:24 2006  NARUSE, Yui  <naruse@ruby-lang.org>
68959
68960	* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 2006-09-15.
68961	  Add support for U+10000 - U+10FFFF
68962	  Add support UTF-32
68963
68964Fri Sep 15 00:03:07 2006  Tanaka Akira  <akr@fsij.org>
68965
68966	* ext/digest/lib/digest.rb (Digest::Base.file): open a file in binary
68967	  mode.  suggested by Kazuhiro NISHIYAMA.  [ruby-dev:29579]
68968
68969Thu Sep 14 17:21:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68970
68971	* numeric.c (fix_mul): avoid bignum multiplication as far as
68972	  possible.  a patch from Ondrej Bilka <neleai at seznam.cz>.
68973	  [ruby-core:08825]
68974
68975Thu Sep 14 16:34:55 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68976
68977	* string.c (rb_str_intern): allow zero length symbols.
68978	  [ruby-core:08861]
68979
68980Thu Sep 14 16:11:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
68981
68982	* string.c (rb_str_intern): raise SecurityError only when $SAFE
68983	  level is greater than zero.  [ruby-core:08862]
68984
68985	* parse.y (rb_interned_p): new function to check if a string is
68986	  already interned.
68987
68988	* string.c (str_to_id): use rb_str_intern().
68989
68990Thu Sep 14 14:37:45 2006  Tanaka Akira  <akr@fsij.org>
68991
68992	* ext/digest/lib/digest.rb (Digest::Base.file): new method.
68993	  [ruby-dev:29572]
68994
68995Thu Sep 14 08:30:02 2006  Tanaka Akira  <akr@fsij.org>
68996
68997	* ext/digest/digest.c (rb_digest_base_inspect): new method.
68998	  [ruby-dev:29573]
68999
69000Thu Sep 14 01:13:56 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69001
69002	* gc.c (ruby_init_stack): decrease "stack level too deep" in Windows.
69003	  [ruby-dev:29569]
69004
69005Thu Sep 14 01:02:25 2006  Tanaka Akira  <akr@fsij.org>
69006
69007	* ext/digest/lib/digest.rb: new file.
69008	  [ruby-dev:28689]
69009
69010Wed Sep 13 18:43:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69011
69012	* README.EXT: English adjustment.  [ruby-core:08851] and
69013	  [ruby-core:08852]
69014
69015Wed Sep 13 18:25:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69016
69017	* misc/ruby-mode.el (ruby-parse-partial): better here-doc support.
69018	  a patch from Marshall T. Vandegrift <llasram at gmail.com>.
69019	  [ruby-core:08804]
69020
69021Wed Sep 13 16:43:36 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69022
69023	* string.c (rb_str_intern): prohibit interning tainted string.
69024
69025Wed Sep 13 01:14:02 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69026
69027	* lib/optparse.rb (OptionParser#getopts): works with pre-registered
69028	  options.  [ruby-core:08826]
69029
69030Tue Sep 12 03:58:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69031
69032	* hash.c (rb_hash_compare_by_identity): rename Hash#identical to
69033	  Hash#compare_by_identity.
69034
69035Mon Sep 11 16:52:37 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69036
69037	* hash.c (rb_hash_identical): a new method to make a hash to
69038	  compare keys by their identity.
69039
69040	* hash.c (rb_hash_identical_p): new method to tell if a hash is
69041	  identical or not.
69042
69043	* st.c (st_numcmp, st_numhash): export hash type functions.
69044
69045Mon Sep 11 11:42:21 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69046
69047	* lib/rexml/source.rb (REXML::Source::encoding): should not
69048	  convert the body twice.  [ruby-core:08828]
69049
69050	* lib/rexml/encoding.rb (REXML::Encoding::encoding):
69051	  Encoding#encoding= to return boolean value to tell if the body
69052	  is really converted or not.
69053
69054	* lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
69055	  conversion library (e.g. rexml/encodings/UTF-16.rb) to have
69056	  higher preceding.
69057
69058	* lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
69059	  UTF-16#decode_utf16 should work strings without BOM.
69060
69061Mon Sep 11 07:39:44 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69062
69063	* string.c (sym_equal): "sym == str" should compare them as
69064	  strings.  [ruby-dev:29554]
69065
69066Sun Sep 10 22:59:43 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69067
69068	* instruby.rb (parse_args): remove splat.
69069
69070Sun Sep 10 20:25:30 2006  Tadayoshi Funaba  <tadf@dotrb.org>
69071
69072	* lib/date.rb, lib/date/format.rb: updated based on date2 3.9.1.
69073
69074Sun Sep 10 09:41:29 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69075
69076	* file.c: ISPRINT() needs ctype.h
69077
69078Sun Sep 10 09:19:47 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69079
69080	* lib/optparse.rb: splat parsed arguments.
69081
69082Tue Jan 10 09:18:03 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69083
69084	* eval.c (rb_require_safe): prevent extension from loading twice.
69085	  fixed: [ruby-dev:29523]
69086
69087Sat Sep  9 23:55:28 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69088
69089	* file.c (rb_f_test): test(0) should not have any special
69090	  meaning.  [ruby-dev:29425]
69091
69092	* file.c (rb_f_test): properer error message.
69093
69094Sat Sep  9 14:08:38 2006  Eric Hodel  <drbrain@segment7.net>
69095
69096	* lib/test/unit/testcase.rb (Test::Unit::TestCase#run): Rescue
69097	  Exception in Test::Unit::TestCase#run.  [ruby-core:08783]
69098
69099Sat Sep  9 04:55:59 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69100
69101	* lib/pstore.rb: open all in binary mode, and get rid of the quirk of
69102	  msvcrt.  fixed: [ruby-dev:29518]
69103
69104Sat Sep  9 04:47:45 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69105
69106	* Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
69107
69108	* mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress
69109	  warnings with $VERBOSE.
69110
69111	* win32/resource.rb: only file which has more than one icon is DLL.
69112
69113Fri Sep  8 16:53:30 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69114
69115	* string.c (str_alloc): should allocate a String object, even when
69116	  asked to allocate a Symbol object.  [ruby-dev:29529]
69117
69118Fri Sep  8 16:36:27 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69119
69120	* ext/extmk.rb (extmake): follow Array#to_s.
69121
69122	* lib/mkmf.rb (create_makefile): ditto.
69123
69124	* win32/resource.rb: ditto.
69125
69126Fri Sep  8 10:00:12 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
69127
69128	* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new
69129	  method to parse multiple cookies per Set-Cookie header.
69130	  Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>.
69131	  [ruby-core:08802]
69132
69133Fri Sep  8 08:59:30 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69134
69135	* win32/Makefile.sub, win32/configure.bat win32/setup.mak: program
69136	  name transform.
69137
69138Fri Sep  8 08:25:39 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69139
69140	* lib/optparse.rb: suppress `assigning void value' warning.
69141
69142Fri Sep  8 01:16:34 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69143
69144	* array.c (Init_Array): #to_s to be an alias to #inspect.
69145	  [ruby-dev:29520]
69146
69147	* hash.c (Init_Hash): ditto.
69148
69149	* lib/mkmf.rb (create_makefile): replace "print array" by
69150	  "print *array".
69151
69152	* mkconfig.rb: ditto.
69153
69154Thu Sep  7 21:02:56 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69155
69156	* object.c (nil_to_s): returns the empty string again.
69157	  [ruby-dev:29520]
69158
69159Thu Sep  7 23:27:05 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69160
69161	* file.c (path_check_0, fpath_check): disable path check on cygwin.
69162	  [ruby-talk:213074]
69163
69164Thu Sep  7 02:03:45 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69165
69166	* time.c (time_to_s): adopt new date format using digits
69167	  e.g. "2006-09-07 02:03:45 +9000".
69168
69169Thu Sep  7 01:54:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69170
69171	* string.c (sym_equal): override.  check equivalence.
69172
69173Wed Sep  6 13:25:04 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69174
69175	* parse.y (symbols_i): need to initialize early-created symbols.
69176	  [ruby-dev:29496]
69177
69178Wed Sep  6 12:05:19 2006  NARUSE, Yui  <naruse@ruby-lang.org>
69179
69180	* ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
69181
69182Tue Sep  5 22:06:43 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69183
69184	* ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
69185
69186	* ext/tk/tkutil/tkutil.c: use RARRAY_PTR() and RARRAY_LEN() and etc.
69187	  fixed: [ruby-dev:29473]
69188
69189Tue Sep  5 06:47:22 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69190
69191	* time.c (time_to_s): variable declaration after an execution
69192	  statement.
69193
69194Tue Sep  5 05:49:41 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69195
69196	* file.c (path_check_0): check if sticky bit is set on parent
69197	  directories for executable path.  fixed: [ruby-dev:29415]
69198
69199Tue Sep  5 05:03:46 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69200
69201	* numeric.c (fix_plus): addition in Fixnum will never overflow
69202	  long.  a patch from Ondrej Bilka <neleai at seznam.cz>.
69203	  [ruby-core:08794]
69204
69205	* numeric.c (fix_minus): ditto.
69206
69207	* bignum.c (rb_big_pow): eagerly truncate resulting bignum.
69208	  [ruby-core:08794]
69209
69210Mon Sep  4 23:15:34 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69211
69212	* time.c (time_to_s): make it conform to RFC2822 date format.
69213	  [ruby-dev:29467]
69214
69215Mon Sep  4 21:43:57 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69216
69217	* ext/dbm/extconf.rb: create makefile according to the result of check
69218	  for dbm header.  fixed: [ruby-dev:29445]
69219
69220Mon Sep  4 21:39:42 2006  Tadayoshi Funaba  <tadf@dotrb.org>
69221
69222	* lib/date.rb, lib/date/format.rb: updated based on date2 3.9.
69223
69224Mon Sep  4 21:14:20 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69225
69226	* time.c (time_strftime): include nul character.  fixed: [ruby-dev:29422]
69227
69228Mon Sep  4 16:39:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69229
69230	* lib/cgi.rb (CGI::out): specify -x option for nkf.
69231
69232	* lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using
69233	  NKF.  it is too Japanese centric.
69234
69235Mon Sep  4 14:23:10 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69236
69237	* ext/dbm/extconf.rb (db_check): remove debug print.
69238
69239Mon Sep  4 06:46:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69240
69241	* parse.y (rb_id2sym): intern if id is attrset_id.
69242	  [ruby-dev:29420] [ruby-dev:29447]
69243
69244Mon Sep  4 01:25:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69245
69246	* eval.c (rb_f_local_variables): list symbols.
69247
69248	* struct.c (rb_struct_s_members_m): ditto.
69249
69250	* variable.c (ivar_i): ditto.
69251
69252	* variable.c (gvar_i): ditto.
69253
69254	* variable.c (cv_i): ditto.
69255
69256Sun Sep  3 20:47:02 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69257
69258	* ruby.h (SYMBOL_P): Qnil and Qfalse are not Symbol.
69259
69260Sun Sep  3 15:32:44 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69261
69262	* lib/mkmf.rb: get rid of nil.to_s.
69263
69264Sun Sep  3 06:24:38 2006  Tanaka Akira  <akr@fsij.org>
69265
69266	* ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
69267
69268Sun Sep  3 04:40:42 2006  Tanaka Akira  <akr@fsij.org>
69269
69270	* ext/socket/extconf.rb: check arpa/inet.h for ntohs.
69271
69272	* ext/socket/socket.c: include arpa/inet.h if available.
69273
69274Sat Sep  2 23:59:58 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69275
69276	* string.c (Init_String): undef Symbol#new.
69277
69278	* struct.c (rb_struct_s_def): wrong symbol detection.
69279
69280Sat Sep  2 23:59:37 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69281
69282	* string.c (str_to_id): a bug caused by premature optimization.
69283
69284Sat Sep  2 23:53:28 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69285
69286	* object.c (Init_Object): move symbol related code to string.c
69287
69288	* string.c (Init_String): Symbol as subclass of String.
69289
69290	* parse.y (rb_intern2): handle symbol as strings.
69291
69292	* string.c (str_new): substring of symbols are mere strings, not
69293	  symbols.
69294
69295Sat Sep  2 23:37:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69296
69297	* ruby.h (struct RArray): embed small arrays.
69298	  (RARRAY_LEN): defined for accessing array members.
69299	  (RARRAY_PTR): ditto.
69300
69301	* array.c: use RARRAY_LEN and RARRAY_PTR.
69302
69303Sat Sep  2 13:23:01 2006  Tanaka Akira  <akr@fsij.org>
69304
69305	* common.mk (ia64.o): use the compiler driver to assemble ia64.s
69306	  to use appropriate ABI.
69307
69308Sat Sep  2 12:06:35 2006  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
69309
69310	* lib/soap/generator.rb (SOAP::SOAPGenerator#encode_tag): do not dump
69311	  XML attribute which value is nil.  value "" and nil both were dumped
69312	  as 'attr="value"'.  [ruby-dev:29395]
69313
69314Sat Sep  2 12:00:32 2006  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
69315
69316	* lib/csv.rb (CSV::IOReader#initialize): use String#[](pos, len)
69317	  instead of String#[](idx) to check utf BOM.  follows String#[](idx)
69318	  behavior change of 1.9.
69319
69320Sat Sep  2 11:47:58 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69321
69322	* eval.c (rb_eval): should handle when in else clause.  a patch
69323	  from Eric Hodel <drbrain at segment7.net>.  [ruby-core:08662]
69324
69325	* parse.y (primary): wrap with NODE_CASE.  [ruby-core:08663]
69326
69327Fri Sep  1 22:07:04 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69328
69329	* ruby.h (RSTRING_EMBED_LEN_MASK): uses 5 bits to support 64bit
69330	  environment.  [ruby-dev:29369]
69331
69332Fri Sep  1 22:02:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69333
69334	* string.c (rb_str_resize): should copy embedded string to
69335	  malloc'ed buffer.  a patch from <nobu at ruby-lang.org> in
69336	  [ruby-dev:29369].  fixed: [ruby-dev:29368]
69337
69338	* string.c (rb_str_ord): use %ld specifier since STRING_LEN() is a
69339	  long.  [ruby-dev:29369]
69340
69341Fri Sep  1 21:41:12 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69342
69343	* ext/socket/socket.c (socks_init): typo fixed.  a patch from Sven
69344	  Klemm <sven at c3d2.de>.  [ruby-core:08770]
69345
69346Fri Sep  1 14:22:42 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
69347
69348	* array.c (rb_ary_shuffle): RDoc fixed.
69349
69350Fri Sep  1 13:52:57 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
69351
69352	* ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work
69353	  on Tcl/Tk8.x.
69354
69355Fri Sep  1 09:32:55 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69356
69357	* lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil into
69358	  reading buffer (@readed).  reported in
69359	  <http://jarp.does.notwork.org/diary/200608c.html#200608311>.
69360
69361Thu Aug 31 23:59:03 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69362
69363	* lib/mkmf.rb (configuration): follow nil.to_s.
69364
69365Thu Aug 31 20:50:46 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69366
69367	* lib/mkmf.rb (create_makefile): follow nil.to_s.
69368
69369	* win32/resource.rb: ditto.
69370
69371Thu Aug 31 20:21:47 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69372
69373	* eval.c (search_required): use RSTRING_PTR and RSTRING_STR.
69374
69375	* file.c (test_identical, rb_file_s_truncate): ditto.
69376
69377	* io.c (pipe_open, rb_io_reopen): ditto.
69378
69379	* object.c (nil_plus): ditto.
69380
69381	* process.c (proc_spawn_n, rb_spawn): ditto.
69382
69383	* util.c (ruby_add_suffix): ditto.
69384
69385	* ext/Win32API/Win32API.c (Win32API_initialize): ditto.
69386
69387	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): ditto.
69388
69389	* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): ditto.
69390
69391	* ext/tk/stubs.c, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: ditto.
69392
69393	* ext/win32ole/win32ole.c (ole_val2olevariantdata): ditto.
69394
69395Thu Aug 31 18:23:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69396
69397	* ruby.h (struct RString): embed small strings.
69398	  (RSTRING_LEN): defined for accessing string members.
69399	  (RSTRING_PTR): ditto.
69400
69401	* string.c: use RSTRING_LEN and RSTRING_PTR.
69402
69403Thu Aug 31 17:16:19 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69404
69405	* array.c (rb_ary_shuffle_bang): new method.
69406
69407	* array.c (rb_ary_shuffle): ditto.
69408
69409	* random.c (genrand_real): ditto.
69410
69411	* random.c (genrand_int32): export the function.
69412
69413	* random.c (Init_Random): initialize random seed at the
69414	  beginning.
69415
69416Thu Aug 31 13:12:06 2006  why the lucky stiff  <why@ruby-lang.org>
69417
69418	* eval.c (ruby_init): rename top_cref to ruby_top_cref and export,
69419	  along with ruby_cref, for use by the sandbox. [ruby-core:08762]
69420
69421	* node.h: ditto.
69422
69423Wed Aug 30 12:01:57 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69424
69425	* numeric.c (flo_hash): improve collision.
69426
69427	* string.c (rb_memhash): new generic function to calculate hash value
69428	  for memory chunk.
69429
69430Tue Aug 29 19:10:10 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69431
69432	* hash.c (rb_hash_s_create): fixed memory leak, based on the patch
69433	  by Kent Sibilev <ksruby at gmail.com>.  fixed: [ruby-talk:211233]
69434
69435Mon Aug 28 11:29:46 2006  Eric Hodel  <drbrain@segment7.net>
69436
69437	* eval.c, parse.y: Revert.
69438	* ext/.document: Add digest.c.
69439	* ext/digest/digest.c: Make RDoc show up.
69440	* ext/io/wait.c: Fix call-seq in RDoc.
69441
69442Mon Aug 28 08:03:20 2006  Eric Hodel  <drbrain@segment7.net>
69443
69444	* ext/.document: Add C files with RDoc.
69445	* ext/digest/digest.c: Convert to RDoc.
69446	* ext/io/wait.c: ditto.
69447	* lib/rdoc/parsers/parse_rb.rb: Fix typo.  Submitted by
69448	  <calamitas at gmail.com>.  [ruby-core:08724]
69449
69450Mon Aug 28 07:21:47 2006  Eric Hodel  <drbrain@segment7.net>
69451
69452	* file.c (File#size?): Fix documentation submitted by Rick Ohnemus.
69453	  ruby-Bugs-5529.  [ruby-core:08725]
69454
69455Sun Aug 27 21:41:23 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
69456
69457	* oniguruma.h: Version 4.4.0
69458
69459	* regint.h: ditto.
69460
69461	* regparse.h: ditto.
69462
69463	* regexec.c: ditto.
69464
69465	* regcomp.c ditto.
69466
69467	* regparse.c: ditto.
69468
69469Sat Aug 26 08:03:03 2006  Tadayoshi Funaba  <tadf@dotrb.org>
69470
69471	* lib/date.rb, lib/date/format.rb: updated based on date2 3.8.2.
69472
69473Fri Aug 25 21:15:22 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
69474
69475	* common.mk: add regint.h and oniguruma.h to dependence.
69476
69477	* ext/strscan/depend: ditto.
69478
69479Fri Aug 25 20:35:57 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69480
69481	* test/wsdl/document/echo.rb: removed.
69482
69483	* test/wsdl/document/test_rpc.rb: remove echo.rb after test.
69484	  [ruby-dev:29337]
69485
69486Fri Aug 25 17:02:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69487
69488	* gc.c (gc_sweep): typo fixed.
69489
69490Fri Aug 25 16:05:50 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69491
69492	* object.c (sym_call): check if the receiver is given.
69493
69494Fri Aug 25 01:10:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69495
69496	* object.c (rb_Integer): Integer(nil) should raise TypeError.
69497	  [ruby-talk:210205]
69498
69499	* object.c (nil_to_s): no longer returns empty string but "nil".
69500	  [ruby-talk:210205]
69501
69502	* lib/mkmf.rb: avoid COMMON_HEADERS being nil.
69503
69504Wed Aug 23 00:25:14 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69505
69506	* lib/rexml/source.rb (REXML::IOSource#initialize): encoding have to
69507	  be set with the accessor.  fixed: [ruby-list:42737]
69508
69509Tue Aug 22 19:21:00 2006  Minero Aoki  <aamine@loveruby.net>
69510
69511	* lib/net/smtp.rb: parameter `to_addrs' might be an Array,
69512	  .flatten is required. [ruby-dev:29316]
69513
69514Tue Aug 22 18:47:51 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69515
69516	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
69517	  rdoc documents C module methods as instance methods. a patch in
69518	  [ruby-core:08536].
69519
69520Tue Aug 22 12:35:57 2006  NARUSE, Yui  <naruse@ruby-lang.org>
69521
69522	* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for
69523	  euc-jp [ruby-dev:29344]
69524
69525Sun Aug 20 11:46:52 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69526
69527	* numeric.c (num_step): also return an enumerator object if no block
69528	  is given.
69529
69530Sat Aug 19 16:47:51 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
69531
69532	* ext/win32ole/win32ole.c (hash2named_arg): accept hash argument
69533	  of symbol key.
69534
69535	* test/win32ole/test_win32ole.rb
69536	  ditto.
69537
69538Sat Aug 19 11:28:08 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69539
69540	* file.c (rb_file_s_rename): use errno if set properly.
69541	  fixed: [ruby-dev:29293]
69542
69543Fri Aug 18 01:05:57 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69544
69545	* lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode.  a
69546	  patch from Fujioka <fuj at rabbix.jp>.  [ruby-dev:29284]
69547
69548Thu Aug 17 19:15:16 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69549
69550	* file.c (rb_stat_[rRwWxX]): check for super user.
69551	  fixed: [ruby-core:08616]
69552
69553Thu Aug 17 14:47:06 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69554
69555	* lib/mkmf.rb: added rdoc by Daniel Berger.  [ruby-core:08177]
69556
69557Wed Aug 16 17:46:59 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69558
69559	* marshal.c (r_byte): IO#getc returns one byte string now.
69560	  fixed: [ruby-dev:29255]
69561
69562Wed Aug 16 17:22:44 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69563
69564	* common.mk (pre-install-local): remove unnecessary code.
69565	  [ruby-dev:29249]
69566
69567Wed Aug 16 11:45:36 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69568
69569	* process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid):
69570	  get rid of bogus implementations on Mac OS X.
69571
69572Wed Aug 16 11:09:26 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69573
69574	* ruby.c (set_arg0): fill argv other than the first with an empty
69575	  string instead of NULL.
69576
69577Tue Aug 15 11:21:08 2006  Minero Aoki  <aamine@loveruby.net>
69578
69579	* lib/net/smtp.rb: support SMTP/SSL.  Thanks Kazuhiro NISHIYAMA.
69580
69581	* lib/net/smtp.rb: new method SMTP.use_ssl?
69582
69583	* lib/net/smtp.rb: new method SMTP.enable_ssl.
69584
69585	* lib/net/smtp.rb: new method SMTP.disable_ssl.
69586
69587	* lib/net/smtp.rb: new method SMTP.default_ssl_port.
69588
69589	* lib/net/smtp.rb: new method SMTP.default_tls_port.
69590
69591	* lib/net/smtp.rb: now SMTP#enable_tls accepts a SSLContext
69592	  object, instead of a verity and cert.  [FEATURE CHANGE]
69593
69594	* lib/net/smtp.rb: new method SMTP.ssl_context.
69595
69596	* lib/net/smtp.rb: new method SMTP.default_ssl_context.
69597
69598	* lib/net/smtp.rb: export SMTP.authenticate.
69599
69600	* lib/net/smtp.rb: export SMTP.auth_plain.
69601
69602	* lib/net/smtp.rb: export SMTP.auth_login.
69603
69604	* lib/net/smtp.rb: export SMTP.auth_cram_md5.
69605
69606	* lib/net/smtp.rb: export SMTP.starttls.
69607
69608	* lib/net/smtp.rb: export SMTP.helo.
69609
69610	* lib/net/smtp.rb: export SMTP.ehlo.
69611
69612	* lib/net/smtp.rb: export SMTP.mailfrom.
69613
69614	* lib/net/smtp.rb: export SMTP.rcptto.
69615
69616	* lib/net/smtp.rb: export SMTP.rcptto_list.
69617
69618	* lib/net/smtp.rb: export SMTP.data.
69619
69620	* lib/net/smtp.rb: export SMTP.quit.
69621
69622Sat Aug 12 22:33:06 2006  Eric Hodel  <drbrain@segment7.net>
69623
69624	* string.c (String#split): Describe grouping behavior.  Patch by Jan
69625	  Svitok <jan.svitok at gmail.com>.  [ruby-core:08603]
69626
69627Sun Aug 13 12:08:02 2006  Tanaka Akira  <akr@fsij.org>
69628
69629	* ext/socket/socket.c: ANSIfied.  [ruby-core:08601]
69630
69631Sat Aug 12 15:55:32 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69632
69633	* configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,
69634	  win32/win32.c, win32/win32.h: large file support for win32.
69635
69636Fri Aug 11 15:39:25 2006  Eric Hodel  <drbrain@segment7.net>
69637
69638	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_body): Make RDoc
69639	  ignore C function prototypes.  Patch by Tilman Sauerbeck
69640	  <tilman at code-monkey.de>.  [ruby-core:8574]
69641	* lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get
69642	  documented.
69643
69644Wed Aug  9 16:53:28 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69645
69646	* lib/net/smtp.rb (Net::SMTP::auth_cram_md5): use ord to retrieve
69647	  bytes from strings.  a patch from WATANABE Tetsuya
69648	  <Tetsuya.WATANABE at nifty.com>.  [ruby-dev:29240]
69649
69650Tue Aug  8 23:49:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69651
69652	* lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify
69653	  RDoc.  a patch from Eric Hodel <drbrain at segment7.net>.
69654	  [ruby-core:08522]
69655
69656Tue Aug  8 19:26:10 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69657
69658	* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_string):
69659	  affected by str[0] returns 1 char string.  [ruby-dev:29223]
69660
69661	* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_labels):
69662	  ditto.
69663
69664Tue Aug  8 12:28:43 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69665
69666	* parse.y (arg): allow newlines before ternary colon.  [ruby-dev:29189]
69667
69668Mon Aug  7 17:56:59 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69669
69670	* ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c,
69671	  ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move
69672	  inclusion of config.h to pacify AIX.  a patch from Yutaka
69673	  Kanemoto <kinpoco at gmail.com>.  [ruby-dev:29197]
69674
69675Mon Aug  7 15:55:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69676
69677	* ext/syck/syck.c (syck_move_tokens): should avoid negative
69678	  memmove.  [ruby-list:42625]
69679
69680Mon Aug  7 14:37:48 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69681
69682	* configure.in, common.mk: AIX link issue.  a patch from Yutaka
69683	  Kanemoto <kinpoco at gmail.com>.  [ruby-dev:29190]
69684
69685	* ext/socket/socket.c: AIX socket support.  [ruby-dev:29190]
69686
69687Mon Aug  7 12:05:28 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69688
69689	* dln.c, eval.c, gc.c, ruby.h: shut up AIX alloca warning.
69690	  a patch from Yutaka Kanemoto <kinpoco at gmail.com>.
69691	  [ruby-dev:29191]
69692
69693Sun Aug  6 20:34:24 2006  Tadayoshi Funaba  <tadf@dotrb.org>
69694
69695	* lib/date/format.rb (str[fp]time): %[EO]U didn't denote %U.
69696
69697Sun Aug  6 17:12:12 2006  Tanaka Akira  <akr@fsij.org>
69698
69699	* io.c (io_reopen): STDERR.reopen(open("/dev/tty", "w")) should not
69700	  clear FMODE_PREP in STDERR.
69701
69702Sat Aug  5 22:53:41 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
69703
69704	* oniguruma.h: Version 4.2.2
69705
69706	* regint.h: ditto.
69707
69708	* regparse.h: ditto.
69709
69710	* regexec.c: ditto.
69711
69712	* regcomp.c ditto.
69713
69714	* regerror.c: ditto.
69715
69716	* regparse.c: ditto.
69717
69718Sat Aug  5 17:07:43 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69719
69720	* parse.y (top_local_setup): local_vars[-1] should point
69721	  ruby_scope itself to protect local_tbl from garbage collection.
69722	  [ruby-dev:29049]
69723
69724Sat Aug  5 13:49:43 2006  Tadayoshi Funaba  <tadf@dotrb.org>
69725
69726	* lib/date/format.rb (str[fp]time): "%\n" means "\n".
69727
69728Fri Aug  4 12:13:22 2006  Eric Hodel  <drbrain@segment7.net>
69729
69730	* lib: Clean up files for RDoc.
69731	* lib/.document: Include most of the standard library in RDoc
69732	  generation.
69733	* lib/rdoc/ri/ri_formatter.rb: Don't unescape HTML in HtmlFormatter.
69734	  Submitted by <ksruby at gmail.com>.  [ruby-core:08392].
69735	* lib/drb/ssl.rb: Close socket on SSLError [ruby-core:7197]
69736
69737Fri Aug  4 18:59:49 2006  Keiju Ishitsuka  <keiju@ruby-lang.org>
69738
69739	* lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
69740	  [ruby-core: 7122]. and support for ruby1.8.X
69741
69742Fri Aug  4 14:02:14 2006  James Edward Gray II  <james@grayproductions.net>
69743
69744	* lib/date/format.rb (__strptime, strftime): allow multi-line patterns
69745	  in Date#strftime the same as Time#strftime accepts.
69746	  fixed: [ruby-core:08466]
69747
69748Fri Aug  4 13:56:51 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69749
69750	* pack.c (pack_pack): check argument overrun for 'P'.  based on a
69751	  patch by rucila <rucila at yahoo.cojp>.  fixed: [ruby-dev:29182]
69752
69753Fri Aug  4 02:42:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69754
69755	* sprintf.c (rb_str_format): a bug in %c type check.
69756
69757Fri Aug  4 01:28:19 2006  Tanaka Akira  <akr@fsij.org>
69758
69759	* io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) should
69760	  not fclose stderr.
69761
69762Thu Aug  3 15:16:44 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69763
69764	* range.c (range_include): should always call Enumerable#include?
69765	  (not #===) for non numeric end points.  [ruby-core:08477]
69766	  [ruby-core:08496]
69767
69768Mon Jul 31 16:51:40 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69769
69770	* win32/win32.c (exit_handler): new function; release winsock and
69771	  environment work area.
69772
69773	* win32/win32.c (NTInitialize): setup exit_handler.
69774
69775	* win32/win32.c (StartSockets): use exit_handler.
69776
69777	* win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead
69778	  of GetEnvironmentVariable(), because the latter cannot distinguish
69779	  whether a null environment variable exists or not.
69780	  fixed: [ruby-talk:205123]
69781
69782Mon Jul 31 16:15:13 2006  Tanaka Akira  <akr@fsij.org>
69783
69784	* test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):
69785	  setrlimit may fail with EINVAL.
69786	  reported by MIYAMUKO Katsuyuki.  [ruby-dev:29174]
69787
69788Mon Jul 31 09:22:12 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69789
69790	* ruby.h: use ifdef (or defined) for macro constants that may or
69791	  may not be defined to shut up gcc's -Wundef warnings.
69792	  [ruby-core:08447]
69793
69794Mon Jul 31 13:38:13 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
69795
69796	* lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve
69797	  for the value of IPv6 address in the Host: header field.
69798
69799Sun Jul 30 23:26:12 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69800
69801	* eval.c (rb_call0): trace call/return of method defined from block.
69802	  fixed: [ruby-core:08329]
69803
69804	* eval.c (rb_trap_eval): make the current thread runnable to deal with
69805	  exceptions which occurred within the trap.  fixed: [ruby-dev:27729]
69806
69807	* lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.
69808	  fixed: [ruby-talk:204896]
69809
69810Sat Jul 29 06:12:06 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
69811
69812	* ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
69813
69814Sat Jul 29 01:23:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69815
69816	* lib/logger.rb: improves the amount of documentation that Rdoc
69817	  picks up when processing logger.rb by moving the require
69818	  statement back before the comment block.  a patch from Hugh
69819	  Sasse <hgs at dmu.ac.uk>.  [ruby-core:08422]
69820
69821Fri Jul 28 17:18:03 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69822
69823	* ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.
69824
69825Fri Jul 28 14:09:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69826
69827	* eval.c (rb_call): fixed typo in cache look-up.  [ruby-dev:29167]
69828
69829Fri Jul 28 10:41:35 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69830
69831	* eval.c (rb_call): a bug in method cache look-up.
69832	  http://www.rubyist.net/~matz/20060720.html#c04
69833
69834Fri Jul 28 10:19:28 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69835
69836	* sprintf.c (rb_f_sprintf): documentation update patch from Jacob
69837	  Fugal <lukfugl at gmail.com>.  [ruby-core:08418]
69838
69839Fri Jul 28 09:41:45 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69840
69841	* time.c (time_to_s): fixed typo.  [ruby-dev:29162]
69842
69843Fri Jul 28 00:26:47 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69844
69845	* math.c (domain_check): ANSI style function arguments
69846
69847	* math.c (math_log): too few argument to domain_check().
69848
69849Thu Jul 27 21:19:54 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69850
69851	* math.c (domain_check): a new function to check domain error
69852	  explicitly for systems that return NaN like FreeBSD.
69853	  [ruby-core:07019]
69854
69855	* math.c (math_acos, math_asin, math_acosh, math_atanh, math_log,
69856	  math_log10, math_sqrt): use domain_check().
69857
69858	* math.c (math_sqrt): fix documentation flaw.
69859
69860Thu Jul 27 22:21:52 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69861
69862	* time.c (time_to_s): fixed format mismatch.
69863
69864Thu Jul 27 18:12:12 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
69865
69866	* time.c: need to declare time_utc_offset.
69867
69868Thu Jul 27 17:01:01 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69869
69870	* io.c (io_close): always calls "close" method of the receiver.
69871	  [ruby-core:6911] [ruby-core:8112]
69872
69873Thu Jul 27 16:41:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69874
69875	* ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
69876	  Solaris compiler.  [ruby-core:08114]
69877
69878	* time.c (time_to_s): use +0900 style timezone string for local time.
69879	  [ruby-dev:29143]
69880
69881Wed Jul 26 22:20:59 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69882
69883	* configure.in: add support for as and ASFLAGS.  [ruby-dev:29138]
69884
69885Wed Jul 26 21:59:33 2006  Minero Aoki  <aamine@loveruby.net>
69886
69887	* lib/net/http.rb (Net::HTTP#post, request_post, request): should
69888	  set Content-Type: x-www-form-urlencoded by default.
69889
69890	* lib/net/http.rb (Net::HTTPHeader#content_type): should return
69891	  nil when there's no Content-Type.
69892
69893	* lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil
69894	  when there's no sub Content-Type (e.g. "Content-Type: text").
69895
69896	* lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed
69897	  when there's no Content-Type.
69898
69899Wed Jul 26 18:38:13 2006  Minero Aoki  <aamine@loveruby.net>
69900
69901	* ext/strscan/strscan.c (strscan_do_scan): always return nil if
69902	  p->curr exceeds string size.
69903
69904Wed Jul 26 18:33:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69905
69906	* eval.c (Init_eval): rename #invoke_method and
69907	  #invoke_functional_method to __send and __send! respectively.
69908
69909	* eval.c (remove_method): prohibit removing __send and __send!.
69910
69911	* eval.c (rb_undef): prohibit undef'ing  __send and __send!.
69912
69913	* eval.c (rb_eval): prohibit redefining  __send and __send!.
69914
69915	* lib/delegate.rb (Delegator): preserve __send.
69916
69917Wed Jul 26 18:14:19 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69918
69919	* ext/pty/pty.c (getDevice): retry once after GC on failure.
69920	  [ruby-core:08282]
69921
69922Wed Jul 26 17:43:20 2006  Minero Aoki  <aamine@loveruby.net>
69923
69924	* ext/strscan/strscan.c (strscan_do_scan):
69925	  StringScanner.new("").scan(//) should return "". [ruby-Bugs:4361]
69926
69927Wed Jul 26 17:28:16 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69928
69929	* sprintf.c (rb_str_format): prepend ".." to %u for negative bignum,
69930	  but not "-".  fixed: [ruby-core:08167]
69931
69932Wed Jul 26 16:39:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69933
69934	* string.c (rb_str_scan): add string modification check.
69935	  [ruby-core:7216]
69936
69937Wed Jul 26 16:06:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69938
69939	* lib/cgi.rb (CGI::QueryExtension::read_multipart): check
69940	  multipart boundary end.  a patch from Fujioka <fuj at rabbix.jp>
69941	  [ruby-dev:28470]
69942
69943Wed Jul 26 01:02:59 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69944
69945	* configure.in: suppress warnings by automake 1.8 or later.
69946
69947Tue Jul 25 14:46:14 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
69948
69949	* lib/mkmf.rb (configuration): typo.
69950
69951Tue Jul 25 13:14:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69952
69953	* process.c (rb_proc_times): rename hz to hertz to avoid name
69954	  crash on AIX.  [ruby-dev:29126]
69955
69956Mon Jul 24 22:03:40 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69957
69958	* eval.c (backtrace): skip frames successive on node and method name.
69959
69960Mon Jul 24 15:51:52 2006  Tanaka Akira  <akr@fsij.org>
69961
69962	* ext/readline/readline.c (readline_readline): rl_deprep_term_function
69963	  may be NULL with libedit.  reported by Ryan Davis.  [ruby-dev:29070]
69964
69965Mon Jul 24 15:19:55 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69966
69967	* eval.c (rb_call0): revert last change.  [ruby-dev:29112]
69968	  [ruby-core:08374]
69969
69970Sun Jul 23 22:59:49 2006  Tanaka Akira  <akr@fsij.org>
69971
69972	* test/socket/test_unix.rb: disabled on cygwin.
69973	  reported by Kouhei Yanagita.  [ruby-dev:29080]
69974
69975Fri Jul 21 23:57:26 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69976
69977	* ruby.c (proc_options): script is never used while recursing.
69978
69979Fri Jul 21 21:21:08 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69980
69981	* eval.c (rb_call0): include funcalled methods in caller list.
69982	  fixed: [ruby-core:08290]
69983
69984Fri Jul 21 17:52:24 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69985
69986	* object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" as
69987	  trailing garbage so that it should return 9.0.  [ruby-dev:29088]
69988
69989Fri Jul 21 12:11:00 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
69990
69991	* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
69992	  prepending destdir on DOSISH.
69993
69994Fri Jul 21 04:17:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
69995
69996	* eval.c (rb_call): try local method look-up first for fcall, then
69997	  normal method look-up.  [ruby-talk:202564]
69998
69999	* eval.c (rb_get_method_body): save local method cache separately.
70000
70001	* eval.c (search_method): export info whether method is local or
70002	  not.
70003
70004Thu Jul 20 20:27:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70005
70006	* object.c (rb_mod_attr): make Module#attr to be an alias to
70007	  attr_reader.  [RCR#331]
70008
70009Thu Jul 20 15:07:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70010
70011	* ruby.h: export classes/modules to implement sandbox.
70012	  [ruby-core:08283]
70013
70014Wed Jul 19 19:40:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70015
70016	* eval.c (rb_yield_0): should check args_args before lambda
70017	  argument check.  [ruby-dev:29029]
70018
70019Tue Jul 18 23:53:59 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70020
70021	* process.c (rb_f_system): shouldn't block SIGCHLD if it's not
70022	  exist.
70023
70024Tue Jul 18 22:10:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70025
70026	* process.c (rb_f_system): block SIGCHLD during the process
70027	  execution, like glibc system(3) does.  [ruby-talk:202361]
70028
70029Tue Jul 18 23:10:43 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70030
70031	* win32/win32.c (open_ifs_socket): should not use plain malloc.
70032
70033	* win32/win32.c (rb_w32_opendir): should not use plain realloc.
70034
70035Tue Jul 18 18:05:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70036
70037	* test/ruby/test_float.rb (TestFloat::test_strtod): update test to
70038	  conform strtod change.
70039
70040Tue Jul 18 16:52:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70041
70042	* eval.c (yield_under_i): argument should be passed in avalue
70043	  form.  [ruby-dev:29044]
70044
70045Tue Jul 18 15:49:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70046
70047	* pack.c (pack_unpack): propagate association array to copied
70048	  string.  [ruby-core:08223]
70049
70050	* pack.c (pack_unpack): return referenced string itself if it has
70051	  same length as specified.  a patch from <nobu at ruby-lang.org>
70052	  in [ruby-core:08225].
70053
70054	* pack.c (pack_pack): taint 'p' packed strings.
70055
70056Tue Jul 18 15:19:07 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70057
70058	* intern.h (st_foreach_safe): fix prototype.
70059
70060	* node.h (NODE_LMASK): bigger than long on LLP64.
70061
70062	* missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64.
70063	  all changes are derived from [ruby-dev:29045]
70064
70065Tue Jul 18 14:03:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70066
70067	* lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove
70068	  inpect argument from sprintf.  [ruby-dev:29039]
70069
70070Tue Jul 18 10:53:37 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70071
70072	* object.c (rb_cstr_to_dbl): limit out-of-range message.
70073
70074	* util.c (ruby_strtod): return end pointer even if ERANGE occurred.
70075	  fixed: [ruby-dev:29041]
70076
70077Mon Jul 18 00:43:05 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70078
70079	* util.c (ruby_strtod): stop at dot not followed by digits.
70080	  fixed: [ruby-dev:29036]
70081
70082Tue Jul 18 00:01:27 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70083
70084	* ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
70085
70086Mon Jul 17 23:30:46 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70087
70088	* configure.in (rb_cv_msvcrt): defaulted to msvcrt.  Workaround for a
70089	  bug of cygwin 1.5.20.
70090
70091Mon Jul 17 22:55:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70092
70093	* ext/io/wait/wait.c (io_ready_p): protoize.
70094
70095Mon Jul 17 13:43:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70096
70097	* pack.c (define_swapx): should not use plain malloc.
70098
70099	* ext/curses/curses.c (curses_getmouse): ditto.
70100
70101Mon Jul 17 12:58:41 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
70102
70103	* configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.
70104
70105Mon Jul 17 11:47:35 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70106
70107	* st.c: still need to include config.h on some platforms.
70108
70109Sat Jul 15 01:09:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70110
70111	* st.c (malloc): use xmalloc/xcalloc instead of plain
70112	  malloc/calloc, to detect memory allocation failure.  see
70113	  <http://www.nongnu.org/failmalloc/>.
70114
70115Fri Jul 14 13:08:13 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70116
70117	* ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5.
70118
70119	* ext/tk/lib/tk/namespace.rb: ditto.
70120
70121Fri Jul 14 02:30:12 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70122
70123	* lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
70124	  [ruby-core:08205]
70125
70126Fri Jul 14 00:10:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70127
70128	* array.c (rb_ary_pop): may cause realloc oscillation.  a patch
70129	  from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>.
70130	  [ruby-dev:29028]
70131
70132Thu Jul 13 22:23:56 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70133
70134	* ext/tk/lib/tk/composite.rb: improve handling of the classname on the
70135	  option database for the widget class which includes TkComposite.
70136
70137Thu Jul 13 00:40:57 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70138
70139	* ruby.h (FIX2LONG): returns integer of size of VALUE.
70140	  [ruby-dev:29024]
70141
70142	* ruby.h (FIX2ULONG): ditto.
70143
70144Wed Jul 12 20:05:23 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70145
70146	* parse.y (f_args): allow post mandatory arguments after optional
70147	  arguments.  [ruby-dev:29014]
70148
70149	* parse.y (new_args_gen): allow post_args without rest_args.
70150
70151	* eval.c (formal_assign): ditto.
70152
70153	* parse.y (new_args_gen): check post argument duplication.
70154
70155Tue Jul 11 20:58:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70156
70157	* ruby.h: export rb_cMethod.  [ruby-talk:201259]
70158
70159Tue Jul 11 19:13:33 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70160
70161	* ext/tk/lib/multi-tk.rb: remove restriction on the class of
70162	  pseudo-toplevel.
70163
70164Tue Jul 11 18:00:57 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70165
70166	* ext/tk/lib/multi-tk.rb: security fix.
70167
70168Tue Jul 11 17:28:08 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70169
70170	* string.c (rb_str_dump): need to extend len for \b.
70171
70172Tue Jul 11 15:29:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70173
70174	* bignum.c (rb_int2big): use SIGNED_VALUE.  [ruby-dev:29019]
70175
70176	* bignum.c (rb_int2inum, rb_uint2inum): use VALUE sized integer.
70177
70178	* bignum.c (rb_big2long, rb_big2ulong): ditto.
70179
70180	* numeric.c (rb_num2long, rb_num2ulong): ditto.
70181
70182	* numeric.c (check_int, check_uint): ditto.
70183
70184	* bignum.c (rb_quad_pack): typo fixed.
70185
70186Tue Jul 11 13:40:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70187
70188	* bignum.c (bignorm): sizeof(long) may be smaller than
70189	  sizeof(VALUE).  [ruby-dev:29013]
70190
70191	* ruby.h (FIXNUM_MAX): fixnum may be bigger than long.
70192
70193	* ruby.h (SIGNED_VALUE): signed integer of size of VALUE.
70194
70195Mon Jul 10 23:37:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70196
70197	* lib/soap/rpc/proxy.rb (Proxy::Operation::response_doc): remove
70198	  splat star from return statements.
70199
70200	* lib/soap/rpc/proxy.rb (Proxy::Operation::response_obj): retrieve
70201	  the first value from the result array if response has only one
70202	  value.
70203
70204Mon Jul 10 22:00:00 2006  Shigeo Kobayashi  <shigek@ruby-lang.org>
70205
70206	* ext/bigdecimal/bigdecimal.c: Allows '_' to appear within
70207	  digits.  [ruby-dev:28872]
70208
70209	* ext/bigdecimal/lib/bigdecimal/util.rb: Bug in to_r reported by
70210	  [ruby-list:42533] fixed.
70211
70212Mon Jul 10 19:22:19 2006  Tanaka Akira  <akr@fsij.org>
70213
70214	* gc.c (gc_sweep): expand heap earlier.
70215	  reported by MORITA Naoyuki.  [ruby-dev:28960]
70216
70217Mon Jul 10 18:59:34 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70218
70219	* ext/tk/lib/tk/font.rb: sorry. mistaken to patch.
70220
70221Mon Jul 10 18:46:52 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70222
70223	* ext/tk/tcltklib.c: make SEGV risk lower at exit.
70224
70225	* ext/tk/lib/tk.rb: ditto.
70226
70227	* ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave
70228	  interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to
70229	  fix the problem is a little tricky. You may have to take care of
70230	  conflicting with it.
70231
70232	* ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy.
70233
70234	* ext/tk/lib/tk/font.rb: ditto.
70235
70236	* ext/tk/lib/tk/msgcat.rb: ditto.
70237
70238	* ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto.
70239
70240	* ext/tk/sample/demos-en/widget: fail to call function-style methods
70241	  on sample scripts. To fix it, a strategy which similar to the way
70242	  on MultiTiIp is used. Please take care when re-write and re-run a
70243	  demo script on the Widget-Demo code viewer.
70244
70245	* ext/tk/sample/demos-jp/widget: ditto.
70246
70247Mon Jul 10 17:32:38 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70248
70249	* sample/test.rb: update test suites.
70250
70251	* test/ruby/test_assignment.rb (TestAssignment::test_yield): ditto.
70252
70253	* test/ruby/test_iterator.rb (TestIterator::test_itertest): ditto.
70254
70255Mon Jul 10 14:43:47 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70256
70257	* eval.c (rb_call): remove erroneously restored prot_tag->blkid
70258	  initialization.  [ruby-dev:28997]  [ruby-dev:29000]
70259
70260Mon Jul 10 13:58:08 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70261
70262	* signal.c (install_nativethread_sighandler): commented out.
70263
70264Mon Jul 10 09:29:12 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70265
70266	* eval.c (rb_clear_cache_for_remove): clear entries for included
70267	  module.  fixed: [ruby-core:08180]
70268
70269Mon Jul 10 02:22:58 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70270
70271	* eval.c (proc_invoke): should not overwrite block information in
70272	  current frame.  [ruby-dev:28957]
70273
70274	* eval.c (rb_yield_0): retrieve proper block object from the frame
70275	  record.
70276
70277	* eval.c (proc_alloc): return preserved block object if it's
70278	  available.
70279
70280Mon Jul 10 01:48:38 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70281
70282	* st.h (st_data_t): use pointer sized integer for st_data_t.
70283	  [ruby-dev:28988]
70284
70285Sun Jul  9 18:06:47 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70286
70287	* lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
70288
70289	* lib/mkmf.rb (create_makefile): prevent substitution of macro
70290	  definition.  fixed: http://www.yotabanana.com/lab/20060624.html#p02
70291
70292Sun Jul  9 07:58:48 2006  Ryan Davis  <ryand-ruby@zenspider.com>
70293
70294	* lib/rdoc/parsers/parse_f95.rb: massive overhaul from Yasuhiro
70295	  Morikawa including new file suffixes, function support, public
70296	  variables and constants, derived-types, defined operators and
70297	  assignments, namelists, and subroutine and function
70298	  arguments. Truly massive.
70299
70300	* lib/rdoc/diagram.rb: diagrams are now cached.
70301
70302	* lib/irb/completion.rb: fixed a crasher when completing against
70303	  an unnamed class/module.
70304
70305	* lib/rdoc/parsers/parse_c.rb: private comment (--/++) support in
70306	  C-file rdoc.
70307
70308	* lib/debug.rb: minor clarification in help.
70309
70310	* lib/pp.rb: minor clarification on exception.
70311
70312Sun Jul  9 00:54:11 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70313
70314	* eval.c (next_jump): deal with destination of next.
70315	  fixed: [ruby-core:08169]
70316
70317Fri Jul  7 17:49:16 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70318
70319	* string.c (rb_str_ord): extract lower byte.  fixed: [ruby-dev:28980]
70320
70321	* lib/jcode.rb (String#succ!): fix for 1.9.  fixed: [ruby-dev:28979]
70322
70323Fri Jul  7 14:05:03 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70324
70325	* win32/Makefile.sub (config.h): define FUNC_STDCALL/FUNC_CDECL.
70326	  from [ruby-dev:28970].
70327
70328Fri Jul  7 00:38:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70329
70330	* hash.c (rb_hash_default): should not call default procedure if
70331	  no key is given.  [ruby-list:42541]
70332
70333Thu Jul  6 23:30:04 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70334
70335	* process.c (rb_proc_times): use sysconf(_SC_CLK_TCK) value prior to
70336	  HZ and CLK_TCK.  fixed: [ruby-talk:200293]
70337
70338Thu Jul  6 21:50:06 2006  Minero Aoki  <aamine@loveruby.net>
70339
70340	* ext/racc/cparse/cparse.c: sync with original code, rev 1.8.
70341
70342	* ext/racc/cparse/cparse.c: should mark CparseParams objects.
70343
70344	* lib/racc/parser.rb: sync with original code, rev 1.8.
70345
70346	* lib/racc/parser.rb: update coding style.
70347
70348Wed Jul  5 05:28:45 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70349
70350	* parse.y (block_param): should allow block argument after splat
70351	  and post splat args.
70352
70353Wed Jul  5 01:12:19 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70354
70355	* test/ruby/test_lambda.rb (TestLambdaParameters::test_lambda_as_iterator):
70356	  -> style block no longer available.  [ruby-dev:28958]
70357
70358Tue Jul  4 21:48:56 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70359
70360	* ruby.c (proc_options): suppress warning on DOSISH.
70361
70362Tue Jul  4 15:12:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70363
70364	* eval.c (rb_call): should not set prot_tag->blkid since it would
70365	  never catch breaks at this level.  [ruby-dev:28922]
70366
70367Tue Jul  4 04:48:36 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70368
70369	* bignum.c: ruby 1.9 HEAD 64 bit warnings clean up from
70370	  <ville.mattila at stonesoft.com>.   [ruby-core:08120]
70371
70372Mon Jul  3 19:04:38 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70373
70374	* ext/tk/tcltklib.c (ip_make_menu_embeddable): help to make a menu
70375	  widget embeddable (pack, grid, and so on) like as a general widget.
70376	  However, an embeddable menu may require to be defined some event
70377	  bindings for general use.
70378
70379	* ext/tk/lib/tk/event.rb: [bug fix] Tk.callback_break and
70380	  Tk.callback_continue don't work on MultiTkIp.
70381
70382	* ext/tk/lib/multi-tk.rb: ditto.
70383
70384	* ext/tk/lib/tk.rb: lack of Tk.callback_return.
70385
70386	* ext/tk/lib/tk/menu.rb: improve creating clone menus.
70387
70388Mon Jul  3 14:42:06 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70389
70390	* ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion
70391	  from int, and sys/types.h needs to be included before grp.h.
70392	  fixed: [ruby-dev:28938]
70393
70394Mon Jul  3 10:44:01 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70395
70396	* io.c (popen_exec): close file descriptors other than standard I/Os.
70397	  fixed: [ruby-dev:28924]
70398
70399Mon Jul  3 05:15:29 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
70400
70401	* test/openssl/test_asn1.c: String#[]= doesn't accept Integer.
70402
70403Mon Jul  3 01:14:15 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70404
70405	* string.c (rb_str_inspect): encode \b (\010) for escape.
70406	  [ruby-dev:28927]
70407
70408	* string.c (rb_str_dump): ditto.
70409
70410Sun Jul  2 19:03:30 2006  Minero Aoki  <aamine@loveruby.net>
70411
70412	* ext/racc/cparse/cparse.c: sync with original code, rev 1.7.
70413
70414	* ext/racc/cparse/cparse.c: must require version.h to get
70415	  RUBY_VERSION_CODE.
70416
70417Sun Jul  2 18:42:27 2006  Minero Aoki  <aamine@loveruby.net>
70418
70419	* ext/racc/cparse/cparse.c: sync with original source code, rev
70420	  1.6.
70421
70422	* ext/racc/cparse/cparse.c: do not use rb_iterate to give a block
70423	  to the method, use rb_block_call instead. [ruby-dev:28445]
70424
70425Sun Jul  2 11:22:03 2006  Tanaka Akira  <akr@m17n.org>
70426
70427	* io.c (io_reopen): STDOUT.reopen(filename, "w+") didn't work.
70428	  (rb_io_reopen): STDOUT.reopen(File.open(filename, "w+")) didn't work.
70429
70430Sat Jul  1 23:55:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70431
70432	* eval.c (PUSH_FRAME): initialize frame->self.  [ruby-dev:28911]
70433
70434Sat Jul  1 17:00:42 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
70435
70436	* test/webrick/utils.rb: use Proc#yield instead of Proc#call.
70437	  [ruby-dev:28914]
70438
70439Sat Jul  1 15:15:49 2006  Tanaka Akira  <akr@m17n.org>
70440
70441	* test/socket/test_nonblock.rb: add timeout to send/receive
70442	  an empty UDP packet.
70443	  [ruby-dev:28820]
70444
70445Fri Jun 30 23:46:23 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70446
70447	* configure.in: should test isinf for Solaris with GCC compiler.
70448	  a patch from <ville.mattila at stonesoft.com>.  [ruby-core:07791]
70449
70450	* configure.in: -shared patch from Andrew Morrow
70451	  <andrew.c.morrow at gmail.com>.  [ruby-core:08100]
70452
70453Fri Jun 30 19:35:41 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
70454
70455	* lib/webrick/httputils.rb (WEBrick::HTTPUtils._escape): should
70456	  use String#ord to get ascii code from the one-character string.
70457	  [ruby-dev:28901]
70458
70459Thu Jun 29 23:56:01 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70460
70461	* gc.c (gc_mark_children): a bug in NODE_BLOCK_PASS marking.
70462	  [ruby-dev:28908]
70463
70464Thu Jun 29 23:04:36 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70465
70466	* parse.y: use ARGSPUSH instead of ARGSCAT to prevent too much
70467	  splat expansion.
70468
70469	* eval.c (when_check): need to handle ARGSPUSH as well.
70470
70471	* eval.c (block_orphan): lambda and proc from method are always
70472	  orphan.
70473
70474	* gc.c (gc_mark_children): proper marking for NODE_LAMBDA.
70475
70476Thu Jun 29 22:47:30 2006  Tanaka Akira  <akr@m17n.org>
70477
70478	* eval.c (SETUP_ARGS0): avoid GC problem.
70479	  [ruby-dev:28902]
70480
70481Thu Jun 29 18:58:51 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70482
70483	* ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patch
70484	  failure.
70485
70486Thu Jun 29 18:00:51 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70487
70488	* ext/bigdecimal/bigdecimal.c: add RDoc document.  a patch from
70489	  mathew <meta at pobox.com>.   [ruby-core:07050]
70490
70491Wed Jun 28 14:53:09 2006  Eric Hodel  <drbrain@segment7.net>
70492
70493	* lib/optparse.rb: RDoc patch from Robin Stocker <robin@nibor.org>
70494	  [ruby-core:08087]
70495
70496Wed Jun 28 23:23:48 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70497
70498	* object.c (rb_cstr_to_dbl): underscores should appear only
70499	  between digits.  [ruby-dev:28891]
70500
70501Wed Jun 28 19:04:34 2006  Tanaka Akira  <akr@m17n.org>
70502
70503	* test/socket/test_unix.rb: test_seqpacket_pair removed.
70504	  [ruby-dev:28846]
70505
70506Wed Jun 28 13:51:21 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70507
70508	* eval.c (when_check): arbitrary values are allowed after splats.
70509	  fixed: [ruby-dev:28879]
70510
70511Wed Jun 28 09:16:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70512
70513	* parse.y (primary): remove meaningless else-only case statement
70514	  syntax.
70515
70516Wed Jun 28 08:08:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70517
70518	* eval.c (rb_eval): problem to handle else part.  [ruby-dev:28873]
70519
70520Wed Jun 28 01:48:23 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70521
70522	* eval.c (rb_eval): support splat in when expression list.
70523	  [ruby-dev:28822]
70524
70525	* eval.c (when_check): a new auxiliary function for case match.
70526
70527	* eval.c (when_cond): ditto.
70528
70529Wed Jun 28 01:05:37 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70530
70531	* object.c (rb_cstr_to_dbl): should not skip '_' at the beginning
70532	  of a string.  [ruby-dev:28830]
70533
70534	* bignum.c (rb_cstr_to_inum): ditto.
70535
70536Tue Jun 27 23:03:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70537
70538	* string.c: RDoc update for =~ method.  a patch from Alex Young
70539	  <alex at blackkettle.org>.  [ruby-core:08068]
70540
70541Tue Jun 27 22:47:18 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70542
70543	* ext/tk/tcltklib.c: forgot to update TCLTKLIB_RELEASE_DATE.
70544
70545	* ext/tk/lib/tk.rb (tk_tcl2ruby): [bug fix] sometimes fail to convert
70546	  a tcl string to a ruby object if the tcl string includes "\n".
70547
70548Tue Jun 27 20:05:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70549
70550	* io.c (pipe_open): backout unnecessary fix on 2006-06-26.
70551	  [ruby-dev:28865]
70552
70553	* eval.c (rb_yield_0): exact argument number check now done only
70554	  for lambda Proc.
70555
70556	* eval.c (rb_yield_0): add check for number of arguments, if
70557	  there's one lambda block parameter.
70558
70559Tue Jun 27 16:04:05 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
70560
70561	* win32/win32.h: define isascii on MinGW for msvcrt compatibility.
70562
70563	* configure.in: set ac_cv_header_sys_time_h=no on MinGW
70564	  for msvcrt compatibility.
70565
70566Tue Jun 27 11:36:02 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70567
70568	* ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid and
70569	  so on.  [ruby-talk:199102]
70570
70571Tue Jun 27 10:46:53 2006  Tanaka Akira  <akr@m17n.org>
70572
70573	* eval.c (rb_yield_0): avoid core dump.  [ruby-dev:28840]
70574
70575Mon Jun 26 11:03:00 2006  Eric Hodel  <drbrain@segment7.net>
70576
70577	* lib/rdoc/ri: Add options to limit the ri search path.
70578
70579Tue Jun 27 01:31:59 2006  Tanaka Akira  <akr@m17n.org>
70580
70581	* ext/socket/socket.c (bsock_recv_nonblock): new method
70582	  BasicSocket#recv_nonblock.
70583	  (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock.
70584	  IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock.
70585	  (unix_recvfrom_nonblock): removed.
70586	  UNIXSocket#recvfrom_nonblock is removed.
70587
70588Tue Jun 27 00:52:40 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70589
70590	* ext/ripper/eventids2.c (token_assoc): added tCHAR, which is not
70591	  under 256 now.  fixed: [ruby-dev:28832]
70592
70593Mon Jun 26 23:42:57 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70594
70595	* eval.c (call_trace_func): no check for argument number of the
70596	  callback.  fixed: [ruby-dev:28812]
70597
70598Mon Jun 26 18:37:44 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70599
70600	* ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is
70601	  deleted on callback.
70602
70603Mon Jun 26 15:40:26 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70604
70605	* ext/socket/socket.c (sock_accept): revert to avoid ambiguity of
70606	  argument evaluation order.  [ruby-dev:28861]
70607
70608	* ext/socket/socket.c (sock_accept_nonblock): ditto.
70609
70610Mon Jun 26 10:47:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70611
70612	* io.c (pipe_open): avoid closing uninitialized file descriptors.
70613	  a patch from <tommy at tmtm.org> [ruby-dev:28600]
70614
70615Sun Jun 25 23:02:12 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70616
70617	* Makefile.in, mkconfig.rb: catch-up for latest autoconf.
70618
70619Sun Jun 25 17:44:16 2006  Tanaka Akira  <akr@m17n.org>
70620
70621	* parse.y (paren_args): wrap $2 by escape_Qundef because it may be
70622	  Qundef.  [ruby-dev:28843]
70623
70624Sun Jun 25 17:18:33 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
70625
70626	* ext/win32ole/win32ole.c(ole_invoke): support some kind of
70627	  method of word. [ruby-Bugs#3237]
70628
70629	* test/win32ole/test_word.rb: ditto.
70630
70631Sat Jun 24 23:48:08 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70632
70633	* parse.y: replace terminal token names with more descriptive
70634	  name, i.e. kEND to keyword_end.  [ruby-list:42477]
70635
70636Sat Jun 24 23:37:41 2006  Tanaka Akira  <akr@m17n.org>
70637
70638	* eval.c (rb_eval): use rb_ary_new2 instead of rb_ary_new4 to avoid
70639	  GC problem.
70640	  (rb_yield_values): use rb_ary_new2 instead of rb_ary_new4.
70641
70642	* array.c (rb_ary_new4): don't set len as n if contents is not
70643	  initialized.  make it safe with GC.
70644
70645	  [ruby-dev:28826]
70646
70647Fri Jun 23 23:35:32 2006  Tanaka Akira  <akr@m17n.org>
70648
70649	* ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.
70650	  [ruby-dev:28805]
70651
70652Fri Jun 23 17:27:52 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70653
70654	* eval.c (rb_block_pass): removed.
70655
70656	* eval.c (rb_thread_start_1): use rb_proc_yield() instead of
70657	  rb_block_pass().  fixed: [ruby-dev:28794]
70658
70659Thu Jun 22 11:52:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70660
70661	* lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
70662	  HTTPInternalServerError should be error 500.  [ruby-core:08037]
70663
70664Thu Jun 22 11:47:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70665
70666	* variable.c (rb_mod_name): returns nil for anonymous modules.
70667	  [ruby-talk:198440]
70668
70669Thu Jun 22 10:31:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70670
70671	* string.c (rb_str_aref): "abc"[3] should not return an empty
70672	  string but nil.  [ruby-dev:28786]
70673
70674Thu Jun 22 05:15:58 2006  Tanaka Akira  <akr@m17n.org>
70675
70676	* ext/socket/socket.c (sock_s_socketpair): try GC only once.
70677	  [ruby-dev:28778]
70678
70679Wed Jun 21 21:20:31 2006  Tadayoshi Funaba  <tadf@dotrb.org>
70680
70681	* lib/date.rb (jd_to_commercial): now works fine even if in
70682	  mathn-ized context.
70683
70684Wed Jun 21 17:29:57 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70685
70686	* ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.
70687
70688	* ext/tk/tcltklib.c (tcl_eval, tcl_global_eval): ditto.
70689
70690	* ext/zlib/zlib.c (rscheck): constified.
70691
70692Wed Jun 21 17:18:55 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70693
70694	* lib/pp.rb (PP::PPMethods::seplist): should have preserved
70695	  original reference to the array.  [ruby-dev:28747]
70696
70697Wed Jun 21 14:35:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70698
70699	* parse.y (block_param): do not use multiple assignment for a sole
70700	  block parameter.  [ruby-dev:28710]
70701
70702	* eval.c (rb_yield_0): pass a raw yielded value to a sole block
70703	  parameter if a value is passed by yield.
70704
70705	* eval.c (proc_invoke): args may not be an array.
70706
70707	* eval.c (rb_proc_yield): pass original value without wrapping
70708	  it in an array.
70709
70710Wed Jun 21 14:06:47 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70711
70712	* parse.y (method_call): remove (fn)(args) style lambda
70713	  invocation, add fn.(args) instead.
70714
70715Wed Jun 21 08:39:54 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70716
70717	* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date
70718	  and Time processing.  [ruby-core:08033]
70719
70720Wed Jun 21 03:01:10 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70721
70722	* eval.c, file.c, etc.: code-cleanup patch from Stefan Huehner
70723	  <stefan at huehner.org>.  [ruby-core:08029]
70724
70725Wed Jun 21 01:40:25 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70726
70727	* parse.y (reswords): modifier token is no longer returned in fname
70728	  state.  fixed: [ruby-dev:28775]
70729
70730Tue Jun 20 23:28:34 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70731
70732	* ext/extmk.rb (parse_args): provisional catch-up for the recent changes.
70733
70734	* lib/optparse.rb (OptionParser::List#summarize, OptionParser#order!): ditto.
70735
70736Tue Jun 20 11:07:55 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70737
70738	* eval.c (proc_invoke): intercept break and return from lambda
70739	  Proc objects.  [ruby-dev:28742]
70740
70741	* eval.c (proc_invoke): remove unnecessary YIELD_PROC_CALL flag.
70742
70743	* eval.c (YIELD_EXACT_ARGS): renamed from YIELD_LAMBDA_CALL, which
70744	  is no longer related to the behavior turned on by this flag.
70745
70746	* eval.c (return_jump): no need to care about PROT_YIELD.
70747
70748	* eval.c (break_jump): no jump to toplevel PROT_THREAD tag.
70749
70750	* eval.c (rb_yield_0): fix confusion between lambda (which is a
70751	  property of a proc) and pcall (which depends on whether it's
70752	  called via yield or call).
70753
70754	* eval.c (rb_thread_yield): no need to specify YIELD_LAMBDA_CALL.
70755
70756	* eval.c (rb_block_pass): update blkid in prot_tag.
70757
70758Mon Jun 19 23:40:59 2006  NARUSE, Yui  <naruse@ruby-lang.org>
70759
70760	  * ext/nkf/lib/kconv.rb: remove default -m0 and fix document.
70761
70762	  * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}:
70763	    imported nkf 2.0.7.
70764
70765Mon Jun 19 17:02:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70766
70767	* sample/test.rb (proc_return3): return within non lambda block
70768	  should terminate surrounding method.  [ruby-dev:28741]
70769
70770Mon Jun 19 13:22:48 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70771
70772	* ext/socket/socket.c (unix_sysaccept): typo fixed.
70773
70774	* ext/socket/socket.c (sock_connect): remove an unused local
70775	  variable tmpaddr.
70776
70777Mon Jun 19 02:10:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70778
70779	* ext/socket/socket.c (tcp_accept_nonblock): forgot to remove
70780	  abandoned hacks.  [ruby-dev:28740]
70781
70782Mon Jun 19 00:00:17 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
70783
70784	* ext/tk/lib/multi-tk.rb: fix bug: initialize improper tables.
70785
70786Sun Jun 18 20:28:43 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
70787
70788	* ext/win32ole/win32ole.c (fole_methods): The return value
70789	  of WIN32OLE#ole_methods should include PROPERTYPUTREF methods.
70790
70791	* ext/win32ole/win32ole.c (fole_put_methods): The return value
70792	  of WIN32OLE#ole_put_methods should include PROPERTYPUTREF methods.
70793
70794	* test/win32ole/test_ole_methods.rb: ditto.
70795
70796	* ext/win32ole/win32ole.c (ole_propertyput): support
70797	  PROPERTYPUTREF. [ruby-talk:183042]
70798
70799	* test/win32ole/test_propertyputref.rb: ditto.
70800
70801Sat Jun 17 23:42:26 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70802
70803	* eval.c (Init_eval): add aliases invoke_method and
70804	  invoke_functional_method corresponding send and funcall
70805	  respectively.  [ruby-talk:197512]
70806
70807	* parse.y (parser_yylex): returns the most typical keyword token
70808	  on EXPR_FNAME.  [ruby-core:7995]
70809
70810	* ext/socket/socket.c: protoize.
70811
70812Sat Jun 17 22:17:17 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70813
70814	* lib/mathn.rb (Integer::prime_division): raise ZeroDivisionError
70815	  on zeros.  [ruby-dev:28739]
70816
70817Sat Jun 17 14:53:32 2006  Tanaka Akira  <akr@m17n.org>
70818
70819	* lib/pathname.rb (Kernel#Pathname): new method.
70820
70821Sat Jun 17 02:01:00 2006  Tanaka Akira  <akr@m17n.org>
70822
70823	* lib/pp.rb (Kernel#pretty_inspect): defined for pretty printed
70824	  string.
70825
70826Fri Jun 16 01:41:00 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70827
70828	* eval.c (rb_proc_arity): get rid of segfault for mere splat.
70829
70830	* gc.c (gc_mark_children): NODE_BLOCK_PASS needs u3 to be marked.
70831
70832Thu Jun 15 22:06:56 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70833
70834	* parse.y (then): remove ':' from 'then' and 'do' rules.
70835
70836Wed Jun 14 18:00:20 2006  Eric Hodel  <drbrain@segment7.net>
70837
70838	* enum.c (enum_any): Documentation typo.
70839
70840Wed Jun 14 15:01:09 2006  Eric Hodel  <drbrain@segment7.net>
70841
70842	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#warn): Don't print
70843	  warnings when -q is set.
70844
70845Wed Jun 14 16:11:37 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70846
70847	* eval.c (rb_f_method_name, rb_f_callee_name): document typo.
70848
70849Wed Jun 14 15:19:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70850
70851	* hash.c (env_aset): raise TypeError on nil with more descriptive
70852	  message.  [ruby-core:07990]
70853
70854Tue Jun 13 17:22:19 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70855
70856	* ext/socket/socket.c (Init_socket): remove obsolete constants:
70857	  IPsocket, TCPsocket, SOCKSsocket, TCPserver, UDPsocket,
70858	  UNIXsocket, UNIXserver.
70859
70860Tue Jun 13 09:07:27 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70861
70862	* eval.c (formal_assign): post splat arguments should have had
70863	  higher priority than optional arguments, since they are
70864	  mandatory.  [ruby-dev:28715]
70865
70866	* eval.c (VIS_MASK): broken. should be 15.  [ruby-dev:28715]
70867
70868	* io.c (argf_getc): should return one-character string.
70869	  [ruby-dev:28715]
70870
70871	* io.c (rb_io_readchar): ditto.
70872
70873Sun Jun 11 23:20:07 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70874
70875	* object.c (sym_call): disallow to call private methods.
70876
70877	* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
70878	  parser.
70879
70880Sun Jun 11 09:56:41 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70881
70882	* win32/win32.h (write): not need to define on bcc.
70883
70884Sun Jun 11 08:30:33 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70885
70886	* lib/optparse.rb (OptionParser#getopts): new methods.
70887
70888Sun Jun 11 07:27:11 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70889
70890	* lib/rdoc/ri/ri_writer.rb: use String#ord.
70891
70892Sun Jun 11 04:38:20 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70893
70894	* object.c (sym_to_proc): imported Symbol#to_proc from ActiveSupport.
70895
70896Sat Jun 10 18:02:40 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70897
70898	* ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo
70899	  fixed: raize -> raise.  [ruby-talk:196608]
70900
70901Sat Jun 10 17:49:53 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70902
70903	* string.c (rb_str_ord): new method.
70904
70905	* parse.y (rbracket): allow optional newline before closing
70906	  brackets.
70907
70908Sat Jun 10 15:12:29 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70909
70910	* eval.c (rb_f_method_name, rb_f_callee_name): new functions.
70911	  new global method `__method__' and `__callee__'.
70912
70913Sat Jun 10 10:13:13 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70914
70915	* lib/getoptlong.rb (GetoptLong#set_options): receive arguments
70916	  as Array.
70917
70918	* lib/irb/slex.rb: use Proc#yield.
70919
70920	* lib/rdoc/markup/simple_markup/inline.rb: follow the new behavior
70921	  of String#[].
70922
70923	* lib/rdoc/ri/ri_writer.rb: ditto.
70924
70925Sat Jun 10 08:17:23 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
70926
70927	* math.c (log2): may be a macro.
70928
70929	* parse.y (args, block_param, f_args): pass f_post_arg to #params.
70930
70931	* util.c (powersOf10): constified.
70932
70933	* ext/readline/readline.c: include extconf.h first.
70934
70935	* ext/ripper/eventids2.c: removed tLAMBDA_ARG.
70936
70937	* ext/tk/tcltklib.c (lib_fromUTF8_core): removed conflict.
70938
70939	* ext/tk/tkutil/tkutil.c (cbsubst_get_subst_arg): rb_id2name() is
70940	  defined as const now.
70941
70942	* ext/win32ole/win32ole.c (fole_missing): ditto.
70943
70944	* lib/mkmf.rb (create_makefile): force to create extconf header.
70945
70946	* lib/optparse.rb (order!): use Proc#yield.
70947
70948Sat Jun 10 06:53:22 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70949
70950	* eval.c (CALLARGS): remove last semicolon. C90 compiler doesn't
70951	  allow any lines (even if they're empty) within variable
70952	  declarations.
70953
70954Fri Jun  9 09:56:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70955
70956	* sprintf.c (rb_str_format): allow %c to print one character
70957	  string (e.g. ?x).
70958
70959Thu Jun  8 14:00:02 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70960
70961	* win32/win32.[ch] (rb_w32_read, rb_w32_write): new functions.
70962	  use recv() and send() when fd is socket. fixed: [ruby-dev:28694]
70963
70964Wed Jun  7 16:22:51 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70965
70966	* lib/tempfile.rb (Tempfile::make_tmpname): put dot between
70967	  basename and pid.  [ruby-talk:196272]
70968
70969Wed Jun  7 16:16:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70970
70971	* parse.y (do_block): remove -> style block.
70972
70973	* parse.y (parser_yylex): remove tLAMBDA_ARG.
70974
70975Wed Jun  7 14:51:22 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
70976
70977	* win32/win32.c (errmap): add some winsock errors.
70978
70979Wed Jun  7 09:14:44 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70980
70981	* eval.c (rb_call0): binding for the return event hook should have
70982	  consistent scope.  [ruby-core:07928]
70983
70984Tue Jun  6 23:25:49 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
70985
70986	* eval.c (proc_invoke): return behavior should depend whether it
70987	  is surrounded by a lambda or a mere block.
70988
70989Mon Jun  5 18:12:12 2006  Tanaka Akira  <akr@m17n.org>
70990
70991	* ext/socket/socket.c (sock_s_unpack_sockaddr_in): reject
70992	  non-AF_INET/AF_INET6 sockaddr.
70993	  (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr.
70994	  [ruby-dev:28691]
70995
70996Sun Jun  4 20:40:19 2006  Tanaka Akira  <akr@m17n.org>
70997
70998	* ext/socket/socket.c: fix sockaddr_un handling.
70999	  [ruby-dev:28677]
71000
71001Sat Jun  3 23:53:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71002
71003	* eval.c (formal_assign): handles post splat arguments.
71004
71005	* eval.c (rb_call0): ditto.
71006
71007Sat Jun  3 13:10:41 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71008
71009	* st.c (strhash): use FNV-1a hash.
71010
71011Fri Jun  2 20:01:24 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71012
71013	* parse.y (parser_yylex): removed experimental ';;' terminator.
71014
71015Fri Jun  2 19:00:40 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71016
71017	* ext/openssl/extconf.rb: use create_header.
71018
71019	* ext/openssl/ossl.h, ext/openssl/openssl_missing.h:
71020	  include RUBY_EXTCONF_H.
71021
71022Fri Jun  2 17:16:52 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71023
71024	* lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created.
71025
71026Fri Jun  2 00:11:19 2006  Tanaka Akira  <akr@m17n.org>
71027
71028	* ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket
71029	  too.  (tested on NetBSD 3.0)
71030	  (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock.
71031	  (sock_recvfrom_nonblock): use s_recvfrom_nonblock.
71032	  (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock
71033	  (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock
71034	  (s_accept_nonblock): extracted from sock_accept_nonblock.
71035	  (sock_accept_nonblock): use s_accept_nonblock.
71036	  (tcp_accept_nonblock): new method: TCPServer#accept_nonblock
71037	  (unix_accept_nonblock): new method: UNIXServer#accept_nonblock
71038
71039Thu Jun  1 19:12:37 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71040
71041	* win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes
71042	  no longer has special meanings.  fixed: [ruby-list:42311]
71043
71044Thu Jun  1 17:55:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71045
71046	* eval.c (rb_node_arity): should be aware of post splat arguments.
71047
71048	* eval.c (rb_proc_arity): ditto.
71049
71050Thu Jun  1 16:17:26 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71051
71052	* win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success
71053	  if the length of the cwd is longer than MAX_PATH.
71054	  fixed [ruby-list:42335]
71055
71056Thu Jun  1 16:07:48 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71057
71058	* parse.y (f_args): syntax rule enhanced to support arguments
71059	  after the splat.
71060
71061	* parse.y (mlhs_basic): ditto for multiple assignments
71062
71063	* parse.y (block_param): ditto for block parameters.
71064
71065	* parse.y (f_post_arg): mandatory formal arguments after the splat
71066	  argument.
71067
71068	* parse.y (new_args_gen): generate nodes for mandatory formal
71069	  arguments after the splat argument.
71070
71071	* eval.c (rb_eval): dispatch mandatory formal arguments after the
71072	  splat argument.
71073
71074Thu Jun  1 11:33:32 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71075
71076	* win32/win32.c (rb_w32_getcwd): set errno if not set.
71077	  fixed [ruby-list:42346]
71078
71079Thu Jun  1 00:45:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71080
71081	* parse.y (args): allow more than one splat in the argument list.
71082
71083Wed May 31 18:38:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71084
71085	* parse.y (method_call): allow aref [] to accept all kind of
71086	  method argument, including assocs, splat, and block argument.
71087
71088	* eval.c (SETUP_ARGS0): prepare block argument as well.
71089
71090Tue May 30 18:13:53 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71091
71092	* lib/mathn.rb (Integer): remove Integer#gcd2. [ruby-core:07931]
71093
71094Mon May 29 22:40:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71095
71096	* eval.c (error_line): print receivers true/false/nil specially.
71097
71098	* eval.c (rb_proc_yield): handles parameters in yield semantics.
71099
71100	* eval.c (nil_yield): gives LocalJumpError to denote no block
71101	  error.
71102
71103	* io.c (rb_io_getc): now takes one-character string.
71104
71105Sat May 27 22:46:38 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71106
71107	* eval.c (proc_invoke): save and restore block in the current frame.
71108	  fixed: [ruby-core:07833], [ruby-talk:191639]
71109
71110Sat May 27 11:29:46 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71111
71112	* ext/extmk.rb (extmake): remove extinit files if no statically linked
71113	  extensions.
71114
71115Fri May 26 19:56:46 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71116
71117	* string.c (rb_str_hash): use FNV-1a hash from Fowler/Noll/Vo
71118	  hashing algorithm.
71119
71120Fri May 26 09:05:11 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71121
71122	* ruby.h, lib/mkmf.rb (create_header): clear command line options for
71123	  macros moved to extconf.h.
71124
71125	* ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and
71126	  EXTSTATIC permanent.
71127
71128	* ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS.
71129
71130	* {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added
71131	  $(INCFLAGS).
71132
71133	* lib/mkmf.rb (configuration): add $defs unless extconf.h was created.
71134
71135Thu May 25 01:52:07 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71136
71137	* lib/mkmf.rb (pkg_config): particular config commands support.
71138
71139	* ext/extmk.rb: deal with $static set in extconf.rb.
71140
71141	* mkconfig.rb: merge multiple entries to an entry with multiple lines.
71142
71143	* lib/mkmf.rb: allow a series of commands to link.
71144
71145	* win32/Makefile.sub: embed manifests.
71146
71147	* win32/setup.mak: suffix OS name by runtime version.
71148
71149Wed May 24 23:52:11 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71150
71151	* configure.in (ac_install_sh): ignore dummy install-sh.
71152	  [ruby-talk:193876]
71153
71154Wed May 24 17:55:13 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71155
71156	* string.c (rb_str_aref): str[0] now returns 1 character string,
71157	  instead of a fixnum.	[Ruby2]
71158
71159	* parse.y (parser_yylex): ?c now returns 1 character string,
71160	  instead of a fixnum.	[Ruby2]
71161
71162	* string.c (rb_str_aset): no longer support fixnum insertion.
71163
71164Wed May 24 03:10:44 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71165
71166	* ext/openssl/lib/openssl/ssl.rb
71167	  (OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed.
71168
71169Mon May 22 16:32:03 2006  Tanaka Akira  <akr@m17n.org>
71170
71171	* rubyio.h (rb_io_set_nonblock): declared.
71172
71173	* io.c (rb_io_set_nonblock): new function.
71174	  (io_getpartial): nonblocking read support.
71175	  (io_read_nonblock): new method: IO#read_nonblock.
71176	  (io_write_nonblock): new method: IO#write_nonblock.
71177
71178	* ext/socket/socket.c (s_accept): retry for EWOULDBLOCK.
71179	  revert [ruby-talk:113807].
71180	  (sock_connect_nonblock): new method: Socket#connect_nonblock.
71181	  (sock_accept_nonblock): new method: Socket#accept_nonblock.
71182	  (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock.
71183
71184	  [ruby-core:7917]
71185
71186Mon May 22 15:57:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71187
71188	* eval.c (umethod_bind): should not update original class.
71189	  [ruby-dev:28636]
71190
71191Mon May 22 13:38:57 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71192
71193	* eval.c (ev_const_get): should support constant access from
71194	  within instance_eval().  [ruby-dev:28327]
71195
71196Sun May 21 09:50:31 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71197
71198	* regexec.c: add STK_NULL_CHECK_END to IS_TO_VOID_TARGET().
71199	  [ruby-list:42234]
71200
71201Thu May 18 22:37:20 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71202
71203	* lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,
71204	  :InputBufferSize and :OutputBufferSize.
71205
71206	* lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout
71207	  method. this implementation is expected to be compatible with
71208	  timeout.rb and faster than timeout.rb.
71209
71210	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):
71211	  Timeout.timeout is replaced by WEBrick::Utils.timeout.
71212
71213	* lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is
71214	  replaced by config[:InputBufferSize].
71215
71216	* lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is
71217	  replaced by config[:OutputBufferSize].
71218
71219	* lib/webrick/server.rb: get rid of unnecessary require.
71220
71221	* test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.
71222
71223Thu May 18 17:51:32 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71224
71225	* time.c (time_timeval): should round for usec floating
71226	  number.  [ruby-core:07896]
71227
71228	* time.c (time_add): ditto.
71229
71230Thu May 18 00:42:12 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71231
71232	* ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
71233
71234Wed May 17 17:55:26 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71235
71236	* dir.c (sys_warning): should not call a vararg function
71237	  rb_sys_warning() indirectly.	[ruby-core:07886]
71238
71239Tue May 16 17:23:19 2006  Shin-ichiro HARA  <sinara@blade.nagaokaut.ac.jp>
71240
71241	* numeric.c (flo_divmod): the first element of Float#divmod should
71242	  be an integer. [ruby-dev:28589]
71243
71244	* test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder.
71245
71246Tue May 16 15:34:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71247
71248	* re.c (rb_reg_initialize): should not allow modifying literal
71249	  regexps.  frozen check moved from rb_reg_initialize_m as well.
71250
71251Tue May 16 09:20:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71252
71253	* re.c (rb_reg_initialize): should not modify untainted objects in
71254	  safe levels higher than 3.
71255
71256	* re.c (rb_memcmp): type change from char* to const void*.
71257
71258	* dir.c (dir_close): should not close untainted dir stream.
71259
71260	* dir.c (GetDIR): add tainted/frozen check for each dir operation.
71261
71262Mon May 15 21:37:12 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71263
71264	* re.c (rb_reg_prepare_re): don't use onig_recompile().
71265
71266Mon May 15 17:42:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71267
71268	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):
71269	  typo fixed.  a patch from Florian Gross <florg at florg.net>.
71270
71271Sat May 13 16:14:05 2006  Tanaka Akira  <akr@m17n.org>
71272
71273	* lib/pp.rb (PP.mcall): new method.
71274	  (Struct#pretty_print): call Kernel#class and Struct#members even if
71275	  overridden.
71276	  (Struct#pretty_print_cycle): ditto.
71277	  [ruby-core:7865]
71278
71279Fri May 12 15:54:48 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71280
71281	* eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from
71282	  event_hooks.	no guarantee for arbitrary hook deletion.
71283	  [ruby-dev:28632]
71284
71285Thu May 11 19:57:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71286
71287	* util.c (ruby_strtod): differ addition to minimize error.
71288	  [ruby-dev:28619]
71289
71290Thu May 11 18:30:11 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71291
71292	* ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): should return
71293	  value. [ruby-dev:28627]
71294
71295Thu May 11 18:10:43 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71296
71297	* util.c (ruby_strtod): should not raise ERANGE when the input
71298	  string does not have any digits.  [ruby-dev:28629]
71299
71300Wed May 10 23:40:21 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71301
71302	* oniguruma.h: Version 4.0.3
71303
71304	* regexec.c: ditto.
71305
71306Mon May  8 09:10:31 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71307
71308	* ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
71309
71310	* ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
71311	  OpenSSL::Cipher.ciphers. it returns all the cipher names.
71312
71313	* ext/openssl/ossl_cipher.c (ossl_cipher_init): refine warning message.
71314
71315	* ext/openssl/lib/openssl/cipher.rb: reimplement without eval() and
71316	  add constants AES128, AES192, AES256. [ruby-dev:28610]
71317
71318	* ext/openssl/lib/openssl/digest.rb: reimplement without eval().
71319
71320	* test/openssl/test_cipher.rb, test_digest: fix about reimplemented
71321	  features.
71322
71323	* sample/openssl/cipher.rb: rewrite all.
71324
71325Sun May  7 03:09:51 2006  Stephan Maka  <stephan@spaceboyz.net>
71326
71327	* lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):
71328	  Use AF_INET6 for nameservers containing colons.
71329
71330Sat May  6 23:40:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71331
71332	* eval.c (proc_invoke): should restore old ruby_frame->block.
71333	  thanks to ts <decoux at moulon.inra.fr>.  [ruby-core:07833]
71334	  also fix [ruby-dev:28614] as well.
71335
71336Sat May  6 00:38:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71337
71338	* signal.c (trap): sig should be less then NSIG.  Coverity found
71339	  this bug.  a patch from Kevin Tew <tewk at tewk.com>.
71340	  [ruby-core:07823]
71341
71342Thu May  4 22:13:22 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71343
71344	* math.c (math_log2): add new method inspired by
71345	  [ruby-talk:191237].
71346
71347	* math.c (math_log): add optional base argument to Math::log().
71348	  [ruby-talk:191308]
71349
71350Thu May  4 02:24:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71351
71352	* ext/syck/emitter.c (syck_scan_scalar): avoid accessing
71353	  uninitialized array element.	a patch from Pat Eyler
71354	  <rubypate at gmail.com>.  [ruby-core:07809]
71355
71356	* array.c (rb_ary_fill): initialize local variables first.  a
71357	  patch from Pat Eyler <rubypate at gmail.com>.	 [ruby-core:07810]
71358
71359	* ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
71360	  type_tag.  a patch from Pat Eyler <rubypate at gmail.com>.
71361	  [ruby-core:07808]
71362
71363Wed May  3 02:12:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71364
71365	* ext/socket/socket.c (make_hostent_internal): accept ai_family
71366	  check from Sam Roberts <sroberts at uniserve.com>.
71367	  [ruby-core:07691]
71368
71369Mon May  1 17:58:16 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71370
71371	* ext/win32ole/win32ole.c (add_event_call_back): should not
71372	  delete event handler when the event name is not entried.
71373
71374Mon May  1 08:32:10 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71375
71376	* ext/win32ole/win32ole.c (ole_param_ole_type): should return
71377	  "unknown type" string when ITypeInfo::GetFuncDesc failed.
71378
71379Sat Apr 29 22:43:37 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71380
71381	* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
71382	  flag. [ruby-core:07785]
71383
71384Fri Apr 28 10:53:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71385
71386	* util.c (ruby_strtod): should not cut off 18 digits for no
71387	  reason.  [ruby-core:07796]
71388
71389Thu Apr 27 01:38:10 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71390
71391	* array.c (rb_ary_fill): internalize local variable "beg" to
71392	  pacify Coverity.  [ruby-core:07770]
71393
71394Wed Apr 26 16:59:24 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71395
71396	* pack.c (pack_unpack): now supports CRLF newlines.  a patch from
71397	  <tommy at tmtm.org>.	[ruby-dev:28601]
71398
71399Wed Apr 26 16:55:19 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71400
71401	* applied code clean-up patch from Stefan Huehner
71402	  <stefan at huehner.org>.  [ruby-core:07764]
71403
71404Tue Apr 25 18:00:05 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
71405
71406	* ext/tk/tcltklib.c (delete_slaves): maybe increment the reference
71407	  count of a NULL Tcl_Obj [ruby-core:07759].
71408
71409Tue Apr 25 07:55:31 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71410
71411	* lib/jcode.rb (String::tr_s): should have translated non
71412	  squeezing character sequence (i.e. a character) as well.  thanks
71413	  to Hiroshi Ichikawa <gimite at gimite.ddo.jp> [ruby-list:42090]
71414
71415Fri Apr 21 15:19:13 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
71416
71417	* ext/tk/tcltklib.c (lib_eventloop_ensure): avoid dereferencing
71418	  freed pointer [ruby-core:07744] and memory leak.
71419
71420Fri Apr 21 12:14:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71421
71422	* ext/socket/socket.c: document update patch from Sam Roberts
71423	  <sroberts at uniserve.com>.  [ruby-core:07701]
71424
71425Thu Apr 20 08:43:54 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71426
71427	* lib/mathn.rb (Integer): need not to remove gcd2.  a patch from
71428	  NARUSE, Yui <naruse at airemix.com>.	[ruby-dev:28570]
71429
71430Wed Apr 19 13:55:27 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71431
71432	* parse.y (arg): too much NEW_LIST()
71433
71434	* eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen.
71435
71436Wed Apr 19 11:57:04 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71437
71438	* eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.
71439	  [ruby-dev:28585]
71440
71441	* parse.y (arg): use NODE_ARGSCAT for placeholder.
71442
71443Wed Apr 19 11:13:17 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71444
71445	* lib/getoptlong.rb (GetoptLong::get): RDoc update patch from
71446	  mathew <meta at pobox.com>.  [ruby-core:07738]
71447
71448Wed Apr 19 10:13:27 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71449
71450	* variable.c (rb_const_set): raise error when no target klass is
71451	  supplied.  [ruby-dev:28582]
71452
71453Tue Apr 18 17:40:37 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
71454
71455	* ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP.
71456
71457	* ext/tk/lib/tk.rb: update RELEASE_DATE.
71458
71459	* ext/tk/tcltklib.c: forget to reset a Tcl interpreter.
71460
71461	* ext/tk/stubs.c: fix potential bugs about handling rb_argv0.
71462
71463Mon Apr 10 01:03:10 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71464
71465	* prec.c (prec_prec_f): documentation patch from
71466	  <gerardo.santana at gmail.com>.  [ruby-core:07689]
71467
71468Sat Apr  8 02:34:34 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71469
71470	* bignum.c (rb_big_pow): second operand may be too big even if
71471	  it's a Fixnum.  [ruby-talk:187984]
71472
71473Sat Apr  8 02:12:38 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71474
71475	* README.EXT: update symbol description.  [ruby-talk:188104]
71476
71477Sat Apr  8 18:06:28 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71478
71479	* ext/win32ole/win32ole.c: add WIN32OLE_METHOD#inspect,
71480	  WIN32OLE_PARAM#inspect.
71481
71482	* test/win32ole/test_win32ole_method.rb: ditto.
71483
71484	* add test/win32ole/test_win32ole_param.rb.
71485
71486Fri Apr  7 22:11:30 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71487
71488	* ext/win32ole/win32ole.c(foletypelib_initialize): WIN32OLE_TYPELIB.new
71489	  accepts OLE file.
71490
71491	* test/win32ole/test_win32ole_typelib.rb(test_initialize): ditto.
71492
71493Thu Apr  6 23:28:47 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71494
71495	* COPYING: explicitly note GPLv2.  [ruby-talk:187922]
71496
71497Thu Apr  6 16:43:06 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
71498
71499	* intern.h (rb_obj_instance_exec, rb_mod_module_exec): add declaration.
71500
71501Thu Apr  6 11:18:37 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
71502
71503	* ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]
71504
71505Thu Apr  6 01:04:47 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
71506
71507	* ext/tk/tcltklib.c: fix SEGV when embedding to an application.
71508	  [ruby-core:7600]
71509
71510	* ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489]
71511
71512	* ext/tk/tkutil/tkutil.c: follow to changing specification of
71513	  instance_eval on ruby-1.9.x.
71514
71515	* ext/tk/lib/tk.rb: ditto.
71516
71517	* ext/tk/lib/multi-tk.rb: ditto.
71518
71519	* ext/tk/lib/tk.rb: remove warning about redefinition of methods.
71520
71521	* ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl
71522	  variables.
71523
71524Wed Apr  5 00:22:54 2006  Tanaka Akira  <akr@m17n.org>
71525
71526	* lib/pathname.rb: use a subclass for instantiation except
71527	  methods take pathname argument.  suggested by Evan Phoenix.
71528	  [ruby-core:7618]
71529
71530Tue Apr  4 22:15:41 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71531
71532	* parse.y: remove some obsolete syntax rules (unparenthesized
71533	  method calls in argument list).
71534
71535Sat Apr  1 15:11:27 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71536
71537	* ext/win32ole/win32ole.c: add WIN32OLE_TYPE#inspect,
71538	  WIN32OLE_VARIABLE#inspect
71539
71540	* remove ext/win32ole/tests/testOLEVARIABLE.rb, testOLETYPE.rb
71541	  testOLETYPELIB.rb.
71542
71543	* testall.rb: ditto.
71544
71545	* add test/win32ole
71546
71547Fri Mar 31 14:24:55 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
71548
71549	* enumerator.c (enumerator_with_index): removed suspicious return
71550	  statement.
71551
71552Wed Mar 29 23:06:48 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71553
71554	* ext/win32ole/win32ole.c (ole_invoke): change the behavior of
71555	  WIN32OLE#[], WIN32OLE#[]=. These methods invoke DISPID_VALUE.
71556
71557	* ext/win32ole/sample/excel2.rb: ditto.
71558
71559	* ext/win32ole/tests/testWIN32OLE.rb: ditto.
71560
71561Wed Mar 29 10:11:31 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71562
71563	* ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,
71564	  e2w_conv): support C90 compiler.
71565
71566Mon Mar 27 22:45:37 2006  NARUSE, Yui  <naruse@ruby-lang.org>
71567
71568	* ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: imported nkf 2.0.6.
71569	  * Add --ic / --oc option and mapping tables.
71570	  * Add fallback option.
71571	  * Add --no-best-fit-chars option.
71572	  * Fix some bugs.
71573
71574	* ext/nkf/nkf.c (nkf_split_options): added for parse option string.
71575
71576	* ext/nkf/lib/kconv.rb (Kconv.to*): add -m0.
71577	  Note that Kconv.to* still imply -X.
71578
71579	* ext/nkf/test.rb: Removed.  Obsolete by test/nkf.
71580
71581	* ext/.document: enabled documents in nkf and kconv
71582
71583	* ext/nkf/nkf.c, ext/nkf/lib/kconv.rb: Add rdoc.
71584
71585Mon Mar 27 03:17:21 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71586
71587	* eval.c (rb_call0): insecure calling should be checked for non
71588	  NODE_SCOPE method invocations too.
71589
71590	* eval.c (rb_alias): should preserve the current safe level as
71591	  well as method definition.
71592
71593Sun Mar 26 22:02:51 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71594
71595	* re.c: refactoring for options.
71596
71597	* parse.y: ditto.
71598
71599Fri Mar 24 21:11:02 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71600
71601	* re.c (match_aref): RDoc description updated.
71602
71603	* string.c (rb_str_sub): ditto.
71604
71605	* string.c (rb_str_gsub): ditto.
71606
71607Fri Mar 24 17:20:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71608
71609	* process.c (rb_f_sleep): remove RDoc description about SIGALRM
71610	  which is not valid on the current implementation. [ruby-dev:28464]
71611
71612Thu Mar 23 21:40:47 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71613
71614	* re.c (rb_reg_regsub): prohibit \1, \2 ...\9 in replaced string
71615	  for named regex pattern.
71616
71617Thu Mar 23 21:06:23 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71618
71619	* oniguruma.h: Version 4.0.2
71620
71621	* regparse.c: ditto.
71622
71623	* regcomp.c ditto.
71624
71625	* regerror.c: ditto.
71626
71627Thu Mar 23 10:47:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71628
71629	* eval.c (method_missing): should support argument splat in
71630	  super.  a bug in combination of super, splat and
71631	  method_missing.  [ruby-talk:185438]
71632
71633Thu Mar 23 00:01:32 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71634
71635	* re.c (rb_reg_regsub): add back reference by name \k<name> in
71636	  replace string.
71637
71638	* re.h: add regexp argument to rb_reg_regsub().
71639
71640	* string.c (rb_str_sub_bang): ditto.
71641
71642	* string.c (str_gsub): ditto.
71643
71644Tue Mar 21 22:14:01 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
71645
71646	* re.c (match_alloc): initialize member regexp.
71647
71648	* re.c (match_aref): add String and Symbol argument. [ruby-dev:28448]
71649
71650	* re.h: add member regexp to RMatch.
71651
71652	* gc.c (gc_mark_children): add gc_mark() to regexp member.
71653
71654Mon Mar 20 12:05:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71655
71656	* configure.in: Solaris SunPro compiler -rapth patch from
71657	  <kuwa at labs.fujitsu.com>.  [ruby-dev:28443]
71658
71659Mon Mar 20 11:12:38 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71660
71661	* ext/win32ole/win32ole.c (folevariant_value): could not compile
71662	  with C90 compiler.
71663
71664Mon Mar 20 09:40:23 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71665
71666	* configure.in: remove enable_rpath=no for Solaris.
71667	  [ruby-dev:28440]
71668
71669Sun Mar 19 09:46:30 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71670
71671	* ext/win32ole/win32ole.c (ole_val2olevariantdata): change behavior
71672	  of converting	 OLE Variant object with VT_ARRAY|VT_UI1 and Ruby
71673	  String object.
71674
71675	* ext/win32ole/win32ole.c (folevariant_value): ditto.
71676
71677	* ext/win32ole/tests/testOLEVARIANT.rb: ditto.
71678
71679Wed Mar 15 16:51:11 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71680
71681	* lib/mkmf.rb (create_makefile): support libraries without *.so.
71682
71683Wed Mar 15 16:39:29 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71684
71685	* ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: should use
71686	  "rb_str_new(0, 0)" to make empty string.
71687
71688Sun Mar 12 17:02:10 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
71689
71690	* ext/win32ole/win32ole.c(ole_val2olevariantdata): support VT_ARRAY in
71691	  WIN32OLE_VARIANT.new().
71692
71693	* ext/win32ole/tests/testOLEVARIANT.rb: ditto.
71694
71695	* ext/win32ole/tests/testOLEPARAM.rb: test method name should not be
71696	  duplicated.
71697
71698Sat Mar 11 14:24:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71699
71700	* ruby.1: a clarification patch from David Lutterkort
71701	  <dlutter at redhat.com>.  [ruby-core:7508]
71702
71703Sun Mar  5 18:40:58 2006  Minero Aoki  <aamine@loveruby.net>
71704
71705	* lib/fileutils.rb: do not repeat command options.
71706
71707Sun Mar  5 18:35:03 2006  Minero Aoki  <aamine@loveruby.net>
71708
71709	* lib/net/http.rb (send_request_with_body): #content_type never
71710	  return false, use #main_type instead. [ruby-core:07476]
71711
71712Sat Mar  4 15:26:40 2006  Tanaka Akira  <akr@m17n.org>
71713
71714	* gc.c (id2ref): fix symbol test.
71715
71716Sat Mar  4 01:08:07 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71717
71718	* lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems
71719	  directories.	a patch from Eric Hodel <drbrain at segment7.net>.
71720	  [ruby-core:07423]
71721
71722Fri Mar  3 17:59:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71723
71724	* eval.c (rb_clear_cache_by_class): clearing wrong cache.
71725
71726Fri Mar  3 21:22:42 2006  Tanaka Akira  <akr@m17n.org>
71727
71728	* lib/fileutils.rb (FileUtils.cp_r): implement :remove_destination
71729	  option.
71730
71731	* ext/extmk.rb: use :remove_destination to install extension libraries
71732	  to avoid SEGV.  [ruby-dev:28417]
71733
71734Fri Mar  3 14:41:04 2006  Minero Aoki  <aamine@loveruby.net>
71735
71736	* ext/dl/.cvsignore: ignore callback.h.
71737
71738	* ext/ripper/.cvsignore: ignore eventids2table.c.
71739
71740	* ext/socket/.cvsignore: ignore constants.h.
71741
71742Thu Mar  2 18:58:18 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71743
71744	* eval.c (rb_thread_fd_writable): should not re-schedule output
71745	  from KILLED thread (must be error printing).
71746
71747Thu Mar  2 09:12:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71748
71749	* array.c (rb_ary_flatten_bang): allow specifying recursion
71750	  level.  [ruby-talk:182170]
71751
71752	* array.c (rb_ary_flatten): ditto.
71753
71754Thu Mar  2 08:02:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71755
71756	* gc.c (add_heap): a heap_slots may overflow.  a patch from Stefan
71757	  Weil <weil at mail.berlios.de>.
71758
71759Wed Mar  1 17:13:37 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71760
71761	* eval.c (rb_call): use separate cache for fcall/vcall
71762	  invocation.
71763
71764	* eval.c (rb_eval): NODE_FCALL, NODE_VCALL can call local
71765	  functions.
71766
71767	* eval.c (rb_mod_local): a new method to specify newly added
71768	  visibility "local".
71769
71770	* eval.c (search_method): search for local methods which are
71771	  visible only from the current class.
71772
71773	* class.c (rb_class_local_methods): a method to list local methods.
71774
71775Thu Mar  2 17:54:45 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
71776
71777	* gc.c: commited magic for reducing RVALUE size on windows. (24->20byte)
71778	  [ruby-core:7474]
71779
71780Thu Mar  2 14:12:26 2006  Tanaka Akira  <akr@m17n.org>
71781
71782	* gc.c: align VALUE with sizeof(RVALUE) globally.
71783	  (is_pointer_to_heap): check alignment out of loop.
71784	  (id2ref): avoid collision between symbols and objects.
71785	  (rb_obj_id): ditto.  moved from object.c.
71786	  [ruby-talk:178364] [ruby-core:7305]
71787
71788Thu Mar  2 12:55:16 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
71789
71790	* win32/win32.c (filetime_to_unixtime): should set tm_isdst to -1.
71791	  stat() didn't treat daylight saving time property on WinNT.
71792	  [ruby-talk:182100]
71793
71794Wed Mar  1 00:15:51 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
71795
71796	* lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
71797	  merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
71798	  [ruby-talk:181631] [ruby-dev:28404]
71799
71800Tue Feb 28 19:32:14 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71801
71802	* object.c (Init_Object): add BasicObject class as a top level
71803	  BlankSlate class.
71804
71805Mon Feb 27 00:19:16 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71806
71807	* ruby.h (SYM2ID): should not cast to signed long.
71808	  [ruby-core:07414]
71809
71810Fri Feb 24 20:21:38 2006  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
71811
71812	* test/drb/drbtest.rb (add_service_command): quote pathnames in the
71813	  server's command line for space contained directory names.
71814	  Thanks, arton. [ruby-dev:28386]
71815
71816Fri Feb 24 12:10:07 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71817
71818	* instruby.rb: install *.exe.manifest and *.dll.manifest if exist.
71819	  It's for VC++8.
71820
71821Fri Feb 24 11:17:45 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71822
71823	* win32/win32.c (NtInitialize): need to set a handler for VC++8.
71824
71825Thu Feb 23 22:39:59 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
71826
71827	* bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
71828	  memory manager cannot handle large memory block properly.
71829	  ex: 10000.times { "" << "." * 529671; GC.start } # crash
71830	  [ruby-dev:28230]
71831
71832Thu Feb 23 13:23:03 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
71833
71834	* eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
71835
71836Wed Feb 22 21:16:55 2006  Tanaka Akira  <akr@m17n.org>
71837
71838	* lib/pathname.rb (Pathname#each_filename): use split_names properly.
71839
71840Wed Feb 22 16:24:05 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71841
71842	* test/webrick/test_cgi.rb: should support platforms which search
71843	  library path from the interpreter's path.
71844	  And, support test without install incidentally.
71845
71846Wed Feb 22 14:21:03 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71847
71848	* bignum.c (bignorm): x may not be a bignum.  [ruby-dev:28367]
71849
71850Wed Feb 22 09:22:40 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71851
71852	* eval.c (proc_alloc): add proper check for creation of a lambda
71853	  without a block.
71854
71855Tue Feb 21 02:07:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71856
71857	* parse.y (f_arglist): should set command_start = Qtrue for
71858	  command body.  [ruby-talk:180648]
71859
71860Mon Feb 20 22:30:17 2006  Tanaka Akira  <akr@m17n.org>
71861
71862	* mkconfig.rb: alias Config to RbConfig for compatibility.
71863
71864Mon Feb 20 18:21:41 2006  Tanaka Akira  <akr@m17n.org>
71865
71866	* io.c (rb_io_reopen): flush before reopening a file.
71867	  reported by Mathieu Bouchard.  [ruby-core:7396]
71868
71869Mon Feb 20 17:29:50 2006  Tanaka Akira  <akr@m17n.org>
71870
71871	* mkconfig.rb: generate RbConfig instead of Config.
71872
71873	* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
71874	  ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
71875	  lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
71876	  lib/webrick/httpservlet/cgihandler.rb,
71877	  test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
71878	  test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
71879	  test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
71880	  win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
71881	  Config.
71882
71883Mon Feb 20 13:46:19 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
71884
71885	* lib/find.rb: should raise ENOENT if root entry does not exist,
71886	  without opening it. [ruby-dev:28345]
71887
71888Mon Feb 20 12:27:53 2006  Kent Sibilev  <ksruby@gmail.com>
71889
71890	* lib/rational.rb (Integer::gcd): small typo fix.
71891	  [ruby-core:07395]
71892
71893Mon Feb 20 10:03:59 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71894
71895	* variable.c (rb_const_get_0): Object should have been the lowest
71896	  in const lookup precedence.  [ruby-dev:28343]
71897
71898Mon Feb 20 09:17:11 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71899
71900	* lib/delegate.rb (Delegator): should not delegate "funcall".
71901
71902Mon Feb 20 09:13:42 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71903
71904	* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):
71905	  qualify the access for Config constant.  [ruby-dev:28338]
71906
71907	* lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify
71908	  ClassValue.  [ruby-dev:28338]
71909
71910Mon Feb 20 01:05:27 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71911
71912	* lib/rational.rb (Integer::gcd): replaced by gcd4 in
71913	  [ruby-core:07390].  [ruby-core:07377]
71914
71915Mon Feb 20 00:57:02 2006  GOTOU Yuuzou  <gotoyuzo@notwork.org>
71916
71917	* ext/openssl/ossl.h (OSSL_Debug): should not use __func__.
71918	  [ruby-dev:28339]
71919
71920Mon Feb 20 00:13:49 2006  Tanaka Akira  <akr@m17n.org>
71921
71922	* lib/open-uri.rb: add :ssl_verify_mode option.
71923	  suggested by Will Glynn.
71924
71925	* lib/open-uri.rb: add :ssl_ca_cert option.
71926
71927Sun Feb 19 04:46:29 2006  Guy Decoux  <ts@moulon.inra.fr>
71928
71929	* eval.c: initial value for block_unique must be 1.
71930	  [ruby-talk:180420]
71931
71932Sat Feb 18 23:58:26 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71933
71934	* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
71935	  only when caller() level size is one.  [ruby-core:07389]
71936
71937	* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
71938	  [ruby-core:07389]
71939
71940	* sample/rtags.rb: ditto.
71941
71942Sat Feb 18 21:16:27 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71943
71944	* eval.c (rb_obj_instance_eval): RDoc description updated.  a
71945	  patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>.
71946	  [ruby-core:07381]
71947
71948Sat Feb 18 01:01:17 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71949
71950	* variable.c (rb_const_get_0): skip ruby_wrapper in const search
71951	  to give it lower priority (just above Object).  need not to
71952	  change rb_const_defined_0() since it's only a precedence matter;
71953	  they are defined anyway.
71954
71955Sat Feb 18 00:22:39 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71956
71957	* lib/tracer.rb: merged a minor clarification patch from Daniel
71958	  Berger <Daniel.Berger at qwest.com>.  [ruby-core:07376]
71959
71960Fri Feb 17 17:30:20 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71961
71962	* eval.c (ev_const_get): simplified using rb_const_get_fallback().
71963
71964	* eval.c (ev_const_defined): adopt to ev_const_get() using
71965	  rb_const_defined_fallback().
71966
71967	* variable.c (rb_const_get_fallback): new function to implement
71968	  constant search.
71969
71970	* variable.c (rb_const_defined_fallback): new function to
71971	  implement constant definition check.
71972
71973	* variable.c (rb_const_get_0): adopt to new behavior.  constants
71974	  are looked up in the order of: current class, super classes (but
71975	  Object), lexically external classes/modules, and Object.
71976
71977	* variable.c (rb_const_defined_0): ditto.
71978
71979Fri Feb 17 11:20:53 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
71980
71981	* util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330]
71982
71983	* pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4.
71984	  [ruby-talk:180024]
71985
71986	* pack.c (pack_unpack): fixed integer overflow on template "w".
71987	  [ruby-talk:180126]
71988
71989Fri Feb 17 09:39:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71990
71991	* eval.c (rb_thread_wait_for): sleep should always sleep for
71992	  specified amount of time.  [ruby-talk:180067]
71993
71994Wed Feb 15 16:52:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
71995
71996	* eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its
71997	  argument list.  [ruby-core:07366]
71998
71999	* parse.y (arg): avoid unnecessary extra argument.
72000	  [ruby-core:07366]
72001
72002	* eval.c (rb_eval): honor visibility on OP_ASGN1 and
72003	  OP_ASGN2. [ruby-core:07366]
72004
72005Wed Feb 15 15:20:23 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72006
72007	* eval.c (error_line): remove void control path.  [ruby-dev:28335]
72008
72009Wed Feb 15 10:09:51 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72010
72011	* eval.c (yield_under_i): should not pass self as an argument to
72012	  the block for instance_eval.  [ruby-core:07364]
72013
72014Wed Feb 15 09:20:35 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72015
72016	* eval.c (rb_obj_instance_eval): should be no singleton classes for
72017	  true, false, and nil.  [ruby-dev:28186]
72018
72019Tue Feb 14 20:26:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72020
72021	* enumerator.c (enumerator_each): return self if no block is
72022	  given.  [yarv-dev:882]
72023
72024Tue Feb 14 18:48:33 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72025
72026	* eval.c (DMETHOD_P): accessing wrong frame.  [ruby-dev:28181]
72027
72028	* eval.c (proc_invoke): preserve FRAME_DMETH flag.
72029
72030Tue Feb 14 15:15:22 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72031
72032	* ext/zlib/zlib.c: suppress warning on test/zlib. [ruby-dev:28323]
72033
72034Tue Feb 14 13:47:22 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72035
72036	* win32/win32.c (rb_w32_utime): drop read-only attribute before
72037	  changing file time.
72038
72039Tue Feb 14 13:38:01 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72040
72041	* win32/Makefile.sub (config.h): should define HAVE_LONG_LONG with
72042	  VC++8.
72043
72044Tue Feb 14 11:42:38 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72045
72046	* time.c (search_time_t): support non 32bit time_t environments.
72047
72048	* win32/Makefile.sub (config.h): VC++8 has ``long long'' type.
72049
72050	* win32/Makefile.sub (config.h): VC++8's time_t is 64bit value.
72051
72052Mon Feb 13 18:01:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72053
72054	* eval.c (copy_node_scope): remove duplicated semicolons at end.
72055	  a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>.
72056	  [ruby-dev:28332]
72057
72058	* eval.c (VIS_MODE): remove unnecessary argument.
72059	  [ruby-dev:28332]
72060
72061Mon Feb 13 13:49:48 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72062
72063	* parse.y (parser_parse_string): mention "regexp" in a error
72064	  message.  a patch from Mauricio Fernandez <mfp at acm.org>
72065	  [ruby-core:07340]
72066
72067Mon Feb 13 00:01:32 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>
72068
72069	* oniguruma.h: Version 4.0.1
72070
72071	* regparse.c (onig_free_shared_cclass_table): fix memory leaks.
72072
72073	* regcomp.c (optimize_node_left): change from IS_POSIXLINE() to IS_MULTILINE().
72074
72075	* regint.h: rename ANCHOR_ANYCHAR_STAR_PL to ANCHOR_ANYCHAR_STAR_ML.
72076
72077	* regparse.h: ditto.
72078
72079	* regexec.c: ditto.
72080
72081Sat Feb 11 21:57:29 2006  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
72082
72083	* ext/win32ole/win32ole.c: add WIN32OLE.create_guid.
72084
72085	* ext/win32ole/tests/testWIN32OLE.rb: ditto.
72086
72087Sat Feb 11 01:57:44 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72088
72089	* eval.c (rb_f_autoload): check if ruby_cbase is nil (during
72090	  instance_eval for objects cannot have singleton classes,
72091	  e.g. fixnums and symbols).  [ruby-dev:28178]
72092
72093Fri Feb 10 12:31:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72094
72095	* eval.c (rb_eval): should support NODE_ZSUPER in NODE_ITER.
72096	  [ruby-dev:28326]
72097
72098	* eval.c (ZSUPER_ARGS): support macro.
72099
72100Wed Feb  8 10:26:06 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72101
72102	* gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while
72103	  invoking finalizers.
72104
72105	* gc.c (rb_gc_finalize_deferred): ditto.
72106
72107Tue Feb  7 23:03:13 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72108
72109	* ext/zlib/zlib.c: should not access ruby objects in finalizer.
72110	  [ruby-dev:28286]
72111
72112Tue Feb  7 18:42:00 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72113
72114	* io.c (rb_write_error2): use fwrite(3) if rb_stderr is not
72115	  updated or is already freed.  [ruby-dev:28313]
72116
72117Mon Feb  6 16:02:51 2006  WATANABE Hirofumi  <eban@ruby-lang.org>
72118
72119	* file.c (rb_thread_flock): ERROR_NOT_LOCKED is not an error on Cygwin.
72120	  In such situation, flock() should return 0.
72121
72122Mon Feb  6 14:36:29 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72123
72124	* eval.c (error_line): include the class name of a surrounding
72125	  method in error position description.
72126
72127Mon Feb  6 00:14:57 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72128
72129	* enum.c (enum_find_index): a new method Enumerable#find_index.
72130	  [ruby-talk:178495]
72131
72132Sun Feb  5 23:29:31 2006  Tanaka Akira  <akr@m17n.org>
72133
72134	* ruby.h (struct RStruct): embed 3 or less elements structs.
72135	  (RSTRUCT_LEN): defined for accessing struct members.
72136	  (RSTRUCT_PTR): ditto.
72137
72138	* struct.c: use RSTRUCT_LEN and RSTRUCT_PTR.
72139	  (struct_alloc): allocate small structs in embedded format.
72140	  (rb_struct_init_copy): ditto.
72141
72142	* gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR.
72143	  (obj_free): ditto.
72144
72145	* marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR.
72146
72147Sun Feb  5 21:01:49 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72148
72149	* numeric.c (fix_to_s): removed workaround for radix 2. Historically,
72150	  rb_fix2str could only handle radix 8, 10, 16. (Rev1.37) But for now,
72151	  it can handle radix 2..36. [ruby-Bugs#3438] [ruby-core:7300]
72152
72153Sun Feb  5 18:49:00 2006  Minero Aoki  <aamine@loveruby.net>
72154
72155	* lib/net/http.rb (add_field, get_fields): keep 1.8.2
72156	  compatibility.  This patch is contributed by Rob Pitt.
72157
72158Sun Feb  5 16:33:50 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72159
72160	* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
72161
72162Sun Feb  5 14:26:54 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72163
72164	* lib/pstore.rb: should return default value if name is not found.
72165	  [ruby-core:7304]
72166
72167	* lib/pstore.rb: should raise PStore::Error if not in transaction.
72168
72169Sat Feb  4 22:51:43 2006  Tanaka Akira  <akr@m17n.org>
72170
72171	* eval.c: apply the FreeBSD getcontext/setcontext workaround
72172	  only before FreeBSD 7-CURRENT.
72173
72174Sat Feb  4 21:10:06 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72175
72176	* win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.
72177	  In such situation, flock() should return 0.
72178
72179Sat Feb  4 15:52:56 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72180
72181	* numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
72182	  sizeof(int) == 4 < sizeof(long). [ruby-core:7300]
72183
72184Sat Feb  4 15:02:05 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72185
72186	* oniguruma.h: merge Oniguruma 4.0.0  [ruby-dev:28290]
72187
72188Fri Feb  3 19:25:53 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72189
72190	* ruby.h: fixed prototype.
72191
72192	* ext/syck/rubyext.c: defined symbol ID as global variable as others.
72193
72194Fri Feb  3 17:57:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72195
72196	* eval.c: unify ruby_class (for method definition) and ruby_cbase
72197	  (for constant reference).
72198
72199Fri Feb  3 15:02:10 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72200
72201	* ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etc
72202	  even if skip == 0. This causes buffer overrun.
72203	  (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"'))
72204
72205Fri Feb  3 00:01:31 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72206
72207	* ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
72208	  emitter's marker. if marker points to the end of buffer, this is
72209	  buffer overrun. (ex: YAML.dump("." * 12288))
72210
72211Thu Feb  2 17:13:01 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72212
72213	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): added
72214	  support of :'string' style Symbol.
72215
72216Thu Feb  2 16:01:24 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72217
72218	* eval.c (rb_call0): use TMP_ALLOC() instead of allocating
72219	  a temporary array object.
72220
72221	* eval.c (eval): need not to protect $SAFE value.
72222	  [ruby-core:07177]
72223
72224	* error.c (Init_Exception): change NameError to direct subclass of
72225	  Exception so that default rescue do not handle it silently.
72226
72227Thu Feb  2 14:45:53 2006  Ville Mattila  <ville.mattila@stonesoft.com>
72228
72229	* configure.in: The isinf is not recognized by autoconf
72230	  library guesser on solaris 10. [ruby-core:7138]
72231
72232Wed Feb  1 22:01:47 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72233
72234	* configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)
72235	  where they are supported. modifying environ variable seems to
72236	  segfault solaris 10. [ruby-core:7276] [ruby-dev:28270]
72237
72238	* ruby.c (set_arg0): if use setenv(3), environ space cannot be used
72239	  for altering argv[0].
72240
72241Tue Jan 31 14:46:28 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72242
72243	* struct.c (rb_struct_select): update RDoc description.
72244	  [ruby-core:7254]
72245
72246Tue Jan 31 11:58:51 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
72247
72248	* ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.
72249
72250	* ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the
72251	  last commit. Now it will return a proper object.
72252
72253Tue Jan 31 08:07:02 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72254
72255	* numeric.c (int_upto): return an enumerator if no block is
72256	  attached to the method.
72257
72258	* numeric.c (int_downto): ditto.
72259
72260	* numeric.c (int_dotimes): ditto.
72261
72262	* enum.c (enum_first): new method Enumerable#first to take first n
72263	  elements from an enumerable.
72264
72265	* enum.c (enum_group_by): new method Enumerable#group_by that
72266	  groups enumerable values according to their block values.
72267
72268Tue Jan 31 00:08:22 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72269
72270	* ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.
72271	  ex: ruby -ryaml -e 'YAML.load("!map:B {}")' [ruby-core:7217]
72272
72273Sat Jan 28 07:49:30 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72274
72275	* lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this case
72276	  file name is "a:0". I don't know this really happens though...
72277	  [ruby-Bugs:3344]
72278
72279Thu Jan 26 15:55:52 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>
72280
72281	* ext/socket/socket.c: turn on do_not_reverse_lookup by default.
72282
72283Wed Jan 25 22:29:04 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72284
72285	* configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use
72286	  system routine if provided.  fixed: [ruby-core:07195]
72287
72288Sun Jan 22 23:27:13 2006  Go Noguchi  <gonoguti@yahoo.co.jp>
72289
72290	* lib/test/unit/autorunner.rb (process_args): ignore arguments after
72291	  '--' so that test scripts can handle them.  fixed: [ruby-dev:28258]
72292
72293Sun Jan 22 22:09:52 2006  Tanaka Akira  <akr@m17n.org>
72294
72295	* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on
72296	  IA64 to avoid reusing variable address.
72297
72298Sun Jan 22 20:03:35 2006  Tanaka Akira  <akr@m17n.org>
72299
72300	* eval.c (ruby_setjmp): define PRE_GETCONTEXT and POST_GETCONTEXT
72301	  instead of FUNCTION_CALL_MAY_RETURN_TWICE.
72302	  define PRE_GETCONTEXT to clear carry flag for workaround of
72303	  FreeBSD/i386 getcontext/setcontext bug.
72304	  [ruby-dev:28263]
72305
72306Thu Jan 19 22:19:18 2006  Minero Aoki  <aamine@loveruby.net>
72307
72308	* lib/fileutils.rb (mv): should remove file after copying.
72309	  [ruby-dev:28223]
72310
72311Wed Jan 18 23:37:06 2006  Tanaka Akira  <akr@m17n.org>
72312
72313	* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC
72314	  if enable-shared.
72315	  (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext
72316	  too.
72317	  reported by Pav Lucistnik and Marius Strobl.
72318	  http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html
72319
72320Tue Jan 17 23:59:56 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72321
72322	* object.c (rb_mod_const_get, rb_mod_const_defined): added optional
72323	  flag to search ancestors, which is defaulted to true.
72324	  fixed: [ruby-talk:175899]
72325
72326	* eval.c (rb_mod_method_defined): ditto.
72327
72328Tue Jan 17 11:31:47 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72329
72330	* win32/setup.mak (MAKE): workaround for nmake 8.
72331
72332Tue Jan 17 11:06:19 2006  NAKAMURA Usaku  <usa@ruby-lang.org>
72333
72334	* win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.
72335
72336Mon Jan 16 10:13:38 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72337
72338	* ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):
72339	  should output complex key mark even if map's key is empty seq/map.
72340	  [ruby-core:7129]
72341
72342Sat Jan 14 03:38:54 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72343
72344	* file.c (rb_file_s_chmod): avoid warning where sizeof(int) !=
72345	  sizeof(void*).
72346
72347Fri Jan 13 19:26:15 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72348
72349	* lib/rdoc/diagram.rb:
72350	    - properly quote bare element attributes
72351	    - terminates dangling elements (e.g. <img>, <br>, <link>, etc)
72352	    - converts "CVS" to the more HTML-friendly acronym element
72353	    - adds missing type attributes to style elements
72354
72355	  based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]
72356
72357	* lib/rdoc/generators/html_generator.rb: ditto.
72358	* lib/rdoc/generators/template/html/hefss.rb: ditto.
72359	* lib/rdoc/generators/template/html/html.rb: ditto.
72360	* lib/rdoc/generators/template/html/kilmer.rb: ditto.
72361
72362Thu Jan 12 11:53:08 2006  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
72363
72364	* ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget
72365	  which is constructed with TkComposite module.
72366	  [new feature] support 'command' option which is called just before
72367	  popping up the balloon help.
72368
72369Wed Jan 11 00:12:29 2006  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
72370
72371	* lib/erb.rb (ERB::Compiler): add instance variable @insert_cmd to
72372	  change <%='s behavior.
72373
72374Tue Jan 10 19:42:33 2006  Tanaka Akira  <akr@m17n.org>
72375
72376	* gc.c (garbage_collect): mark ruby_current_node.
72377	  if an exception is raised in a finalizer written in C called by
72378	  rb_gc_call_finalizer_at_exit, ruby_set_current_source may use
72379	  collected ruby_current_node and mark_source_filename may corrupt
72380	  memory.
72381
72382Tue Jan 10 13:30:34 2006  akira yamada  <akira@ruby-lang.org>
72383
72384	* ext/syck/rubyext.c (syck_resolver_transfer): should be able to load
72385	  !ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159]
72386
72387Tue Jan 10 12:47:41 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72388
72389	* lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in
72390	  ruby 1.8.3/1.8.4. [ruby-core:6115]
72391
72392	* lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
72393	  be dumped properly. [ruby-core:7047]
72394
72395Tue Jan 10 12:00:48 2006  Aaron Schrab  <aaron @nospam@ schrab.com>
72396
72397	* lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted
72398	  Symbols broken. [ruby-Bugs:2535]
72399
72400Tue Jan 10 07:26:52 2006  Tanaka Akira  <akr@m17n.org>
72401
72402	* gc.c (gc_stress): renamed from always_gc and enabled by default.
72403	  (gc_stress_get): new function for GC.stress.
72404	  (gc_stress_set): new function for GC.stress=.
72405
72406Mon Jan  9 19:58:56 2006  arton  <artonx@yahoo.co.jp>
72407
72408	* ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed by
72409	  http://www.zlib.net/ has zdll.lib. [ruby-dev:28209]
72410
72411Mon Jan  9 14:25:00 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72412
72413	* win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
72414	  (VisualC++6) so use -O2b2xg- if  $(MSC_VER) < 1400. [ruby-core:7040]
72415
72416Mon Jan  9 14:25:00 2006  Kero van Gelder  <rubyforge @nospam@ kero.tmfweb.nl>
72417
72418	* lib/webrick/httpservlet/filehandler.rb: fixed typo. [ruby-core:7075]
72419
72420Sun Jan  8 14:15:27 2006  Tanaka Akira  <akr@m17n.org>
72421
72422	* eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.
72423	  Intel C++ Compiler defines __GNUC__.
72424	  http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm
72425
72426Sat Jan  7 15:40:07 2006  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72427
72428	* parse.y (singleton): get rid of segfault on syntax error.
72429	  fixed: [ruby-core:07070]
72430
72431Sat Jan  7 06:24:18 2006  Tanaka Akira  <akr@m17n.org>
72432
72433	* eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to
72434	  avoid FreeBSD bug.  FreeBSD defines FD_ISSET as just a bitmap of
72435	  unsigned long.  So returning the value from rb_fd_isset discards
72436	  upper 32bits on LP64 environment.
72437	  http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421
72438
72439Fri Jan  6 02:20:18 2006  Tanaka Akira  <akr@m17n.org>
72440
72441	* configure.in: don't force getcontext on IA64.
72442
72443	* eval.c (ruby_setjmp): add an argument for just before getcontext.
72444	  (THREAD_SAVE_CONTEXT): call rb_thread_save_context just
72445	  before getcontext.
72446	  [ruby-dev:28205]
72447
72448Sun Jan  1 15:28:46 2006  Tanaka Akira  <akr@m17n.org>
72449
72450	* missing.h (isinf): avoid macro expansion
72451	  "extern int isinf(double);" to
72452	  "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on
72453	  HP-UX.
72454
72455Sun Jan  1 14:42:54 2006  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72456
72457	* win32/win32.c (rb_w32_seekdir): should not segfault even if passed
72458	  the location which rb_w32_telldir didn't return. (and should change
72459	  `bits' position) [ruby-core:7035]
72460
72461	* win32/dir.h: ditto. (stores `loc' instead of `bitpos')
72462
72463	* test/ruby/test_dir.rb: added.
72464
72465Sat Dec 31 22:57:00 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72466
72467	* eval.c (rb_thread_save_context): should not recycle scope object used
72468	  in a thread.  fixed: [ruby-dev:28177]
72469
72470Sat Dec 31 19:50:38 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72471
72472	* ext/syck/rubyext.c: attribute name was truncated with Rev1.64.
72473
72474Sat Dec 31 11:53:16 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72475
72476	* lib/generator.rb: (Generator#initialize): should kill @loop_thread
72477	  before starting new thread. (occurs when called via Generator#rewind)
72478	  [ruby-dev:28184]
72479
72480Fri Dec 30 18:22:42 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72481
72482	* gc.c (garbage_collect): mark objects referred from aborting threads.
72483	  [ruby-dev:28190]
72484
72485	* win32/Makefile.sub: VC++8 support.
72486
72487Fri Dec 30 15:17:35 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72488
72489	* lib/generator.rb (Generator#initialize): ensured to stop @loop_thread.
72490	  Mr. Tanaka pointed out one Thread.pass is not enough. [ruby-dev:28185]
72491
72492Fri Dec 30 12:20:57 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72493
72494	* lib/generator.rb (Generator#initialize): fixed dead lock. this occurred
72495	  when end? was called before @loop_thread was stopped. [ruby-core:7029]
72496
72497Fri Dec 30 01:04:52 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72498
72499	* lib/generator.rb: should work with another thread. (more robust code)
72500	  [ruby-dev:28177]
72501
72502Thu Dec 29 23:59:37 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72503
72504	* eval.c (rb_gc_mark_threads): keep unmarked threads which won't wake
72505	  up alone, and mark threads in the loading table.  [ruby-dev:28154]
72506
72507	* eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked
72508	  threads.  [ruby-dev:28172]
72509
72510Thu Dec 29 17:02:07 2005  Tanaka Akira  <akr@m17n.org>
72511
72512	* test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of
72513	  "miniruby".  [ruby-dev:28140]
72514
72515Thu Dec 29 14:35:10 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72516
72517	* eval.c (rb_mod_define_method): should save safe_level in the
72518	  proc object.  [ruby-dev:28146]
72519
72520Thu Dec 29 11:22:34 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72521
72522	* lib/generator.rb: reimplemented Generator class with Thread instead of
72523	  callcc, in order to fix memory leak. [ruby-dev:28142]
72524
72525Wed Dec 28 14:10:05 2005  Tanaka Akira  <akr@m17n.org>
72526
72527	* ia64.s: remove .pred.safe_across_calls directive.
72528	  reported by WATANABE Tetsuya.  [ruby-dev:28141]
72529
72530Wed Dec 28 01:32:39 2005  Tanaka Akira  <akr@m17n.org>
72531
72532	* eval.c (struct thread): add bstr_max.
72533	  (rb_thread_save_context): use realloc instead of REALLOC_N
72534	  to avoid GC.
72535
72536Tue Dec 27 23:59:53 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72537
72538	* lib/optparse.rb (CompletingHash#match): fix for 1.9.
72539
72540Tue Dec 27 16:59:52 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72541
72542	* test/drb/drbtest.rb (DRbService::self.ext_service): increase
72543	  timeout limit.  a patch from Kazuhiro NISHIYAMA
72544	  <zn at mbf.nifty.com>. [ruby-dev:28132]
72545
72546Tue Dec 27 14:17:55 2005  Tanaka Akira  <akr@m17n.org>
72547
72548	* configure.in: define IA64 for portability.  (HP aC++/ANSI C doesn't
72549	  define __ia64__.)
72550	  don't check libunwind stuff.
72551	  check __libc_ia64_register_backing_store_base.
72552
72553	* defines.h: declare rb_ia64_bsp and rb_ia64_flushrs.
72554	  (flush_register_windows): call rb_ia64_flushrs on IA64.
72555
72556	* ia64.s: new file for IA64.
72557	  it is separated from C program files because
72558	  Intel C++ Compiler for IA64 doesn't support inline assembly.
72559
72560	* common.mk (ia64.$(OBJEXT)): new target.
72561
72562	* ruby.h (RUBY_INIT_STACK): defined.
72563	  (ruby_init_stack): declared for RUBY_INIT_STACK.
72564
72565	* main.c (main): precedes RUBY_INIT_STACK before ruby_init.
72566
72567	* gc.c (rb_gc_register_stack_start): new global variable on IA64.
72568	  (garbage_collect): simplify register stack marking code.
72569	  don't use libunwind.
72570	  (Init_stack): initialize rb_gc_register_stack_start.
72571	  (ruby_init_stack): new function for RUBY_INIT_STACK.
72572
72573	* eval.c (struct thread): add bstr_pos member for original position of
72574	  register stack.
72575	  (rb_thread_save_context): simplify register stack saving code.
72576	  don't use libunwind.
72577	  (rb_thread_restore_context_0): new function.  moved from
72578	  rb_thread_restore_context except the stack position checking code.
72579	  don't use libunwind for IA64 register stack.
72580	  (register_stack_extend): new function.
72581	  (stack_extend): make it self-recursive with
72582	  the stack position checking code in old rb_thread_restore_context.
72583	  (rb_thread_restore_context): just call stack_extend.
72584	  (flush_register_windows): removed.
72585
72586	  [ruby-dev:28127]
72587
72588Tue Dec 27 14:09:39 2005  Minero Aoki  <aamine@loveruby.net>
72589
72590	* process.c: new method Process.exec. [ruby-dev:28107]
72591
72592Tue Dec 27 08:22:15 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
72593
72594	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_check):
72595	  treat wildcard character in commonName. [ruby-dev:28121]
72596
72597Mon Dec 26 08:50:36 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72598
72599	* eval.c (ev_const_get): fixed a bug in constant reference during
72600	  instance_eval.  [yarv-dev:707]
72601
72602	* eval.c (ev_const_defined): ditto.
72603
72604	* lib/yaml.rb (YAML::add_domain_type): typo fixed.  a patch from
72605	  Joel VanderWerf <vjoel at path.berkeley.edu>.
72606	  [ruby-talk:165285] [ruby-core:6995]
72607
72608Fri Dec 23 10:30:23 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72609
72610	* ext/digest/sha2/sha2.c (ULL): support AIX C.  a patch from
72611	  Kailden <kailden at gmail.com>.  [ruby-core:06984]
72612
72613Wed Dec 21 16:47:35 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72614
72615	* file.c (w32_io_info): should return handle because FileIndex is
72616	  valid only while file is open. [ruby-dev:28088]
72617
72618Wed Dec 21 12:12:21 2005  Tanaka Akira  <akr@m17n.org>
72619
72620	* test/pathname/test_pathname.rb (test_kernel_open): use
72621	  File.identical?.
72622	  [ruby-talk:171804]
72623
72624Tue Dec 20 22:41:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72625
72626	* eval.c (eval_under_i): evaluate source in caller's frame.
72627	  [ruby-dev:28076]
72628
72629Tue Dec 20 12:53:23 2005  why the lucky stiff  <why@ruby-lang.org>
72630
72631	* ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibility
72632	  with previous Ruby versions, documents are no longer headless.
72633
72634Tue Dec 20 12:33:01 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72635
72636	* ext/syck/rubyext.c (syck_node_transform): ruby object holding
72637	  explicitly freed SyckNode caused SEGV. [ruby-dev:28067]
72638
72639	... I think syck GC problem was solved now!
72640
72641Tue Dec 20 01:46:48 2005  Tanaka Akira  <akr@m17n.org>
72642
72643	* io.c (rb_f_backquote): fix a GC problem on
72644	  IA64 with gcc 4.0.3 20051216 (prerelease) -O3.
72645
72646Mon Dec 19 23:32:39 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72647
72648	* Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
72649
72650	* main.c (always_gc): dllimport is required for VC to import a DLL
72651	  symbol.  fixed: [ruby-dev:28051]
72652
72653	* parse.y (rb_symname_p): fixed wrong validation.  [ruby-dev:28047]
72654
72655Mon Dec 19 23:09:24 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72656
72657	* st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
72658	  in gram.c to insert node from rb_syck_bad_anchor_handler into
72659	  SyckParser's hash table. if GC occurs in st_insert, it's not under
72660	  SyckParser's mark system yet. so RString can be released wrongly.
72661
72662	* ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
72663	  NULL or not before S_FREE.
72664
72665	* ext/syck/rubyext.c (syck_parser_assign_io): rb_check_string_type can
72666	  return new RString. if so, it becomes unreachable from GC after
72667	  returns syck_parser_assign_io, and can be freed by GC. (dangling
72668	  in syck io system) so extends its life time till syck_parse is called.
72669
72670	* ext/syck/rubyext.c (syck_parser_s_alloc): always allocates bonus,
72671	  so no need to check if NULL, and "volatile VALUE hash"
72672	  is not needed. (bonus->port was not protected in syck_emitter_reset)
72673
72674	* ext/syck/rubyext.c (syck_mark_parser): ditto.
72675
72676	* ext/syck/rubyext.c (syck_parser_load): ditto.
72677
72678	* ext/syck/rubyext.c (syck_parser_load_documents): ditto.
72679
72680	* ext/syck/rubyext.c (syck_emitter_s_alloc): ditto.
72681
72682	* ext/syck/rubyext.c (syck_mark_emitter): ditto.
72683
72684	* ext/syck/rubyext.c (syck_emitter_reset): ditto.
72685
72686	* ext/syck/rubyext.c (syck_scalar_value_set): "should set newly
72687	  allocated memory instead of RString's internal storage" stuff again.
72688	  by this, should call syck_free_node instead of rb_syck_free_node.
72689
72690	* ext/syck/rubyext.c (syck_node_type_id_set): ditto.
72691
72692	... I believe syck GC problem was solved by this.
72693
72694Mon Dec 19 12:20:59 2005  Tanaka Akira  <akr@m17n.org>
72695
72696	* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): activate only
72697	  before gcc 4.0.3 on SPARC and IA64.
72698
72699Mon Dec 19 11:37:47 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72700
72701	* ext/syck/rubyext.c: sorry, I reverted my "should set newly
72702	  allocated memory instead of RString's internal storage" stuff.
72703	  node allocated in rubyext.c seems to be freed by rb_syck_free_node
72704	  not syck_free_node, and it won't free data.str->ptr and type_id.
72705
72706	 (I still think this is unsafe because RString(foo)->ptr becomes
72707	  dangling pointer when RString is modified or freed, but anyway
72708	  I misunderstood, so go back to original code for now)
72709
72710Sat Dec 17 21:50:41 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72711
72712	* ext/syck/rubyext.c (syck_emitter_reset): should initialize
72713	  emitter->bonus->oid. otherwise rb_gc_mark crashes.
72714
72715	* ext/syck/rubyext.c (syck_mark_parser): should mark anchor nodes
72716	  because they hold ruby objects. (ie: rb_syck_bad_anchor_handler)
72717
72718Sat Dec 17 11:00:17 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72719
72720	* ext/syck/rubyext.c (rb_syck_compile): avoid potential memory
72721	  leak.
72722
72723	* ext/syck/rubyext.c (syck_set_ivars): avoid potential memory
72724	  leak by explicit symbol allocation.
72725
72726Sat Dec 17 03:57:01 2005  Tanaka Akira  <akr@m17n.org>
72727
72728	* bignum.c (rb_big_rshift): fix a GC problem on
72729	  IA64 with gcc 4.0.3 20051216 (prerelease).
72730
72731Sat Dec 17 03:30:23 2005  Tanaka Akira  <akr@m17n.org>
72732
72733	* eval.c (bmcall): fix a GC problem by tail call on
72734	  IA64 with gcc 4.0.3 20051216 (prerelease).
72735
72736Fri Dec 16 17:53:45 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72737
72738	* ext/syck/rubyext.c (rb_syck_compile): fixed memory leak.
72739
72740	* ext/syck/rubyext.c: should protect global variable from GC.
72741
72742Fri Dec 16 11:44:43 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72743
72744	* ext/syck/rubyext.c (syck_resolver_tagurize): fixed memory leak.
72745
72746	* ext/syck/rubyext.c (syck_node_type_id_set): should set newly
72747	  allocated memory instead of RString's internal storage.
72748
72749	* ext/syck/rubyext.c (syck_scalar_value_set): ditto.
72750
72751	... these fixes won't fix [ruby-dev:27839]. more work is needed.
72752
72753Fri Dec 16 04:38:55 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72754
72755	* lib/delegate.rb (Delegator::method_missing): should delegate
72756	  block as well.
72757
72758Thu Dec 15 19:57:12 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72759
72760	* lib/cgi.rb (CGI::QueryExtension::MorphingBody): fix criteria to
72761	  use Tempfile.  A fix from Zev Blut <rubyzbibd at ubit.com>.
72762	  [ruby-core:06076]
72763
72764	* string.c: remove global functions work on $_.
72765
72766Thu Dec 15 12:35:14 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72767
72768	* lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain at
72769	  segment7.net>.  [ruby-core:06894]
72770
72771Thu Dec 15 01:33:31 2005  Tanaka Akira  <akr@m17n.org>
72772
72773	* ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on
72774	  x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
72775
72776Wed Dec 14 23:50:20 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72777
72778	* lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for class
72779	  document with prototypes.  [ruby-core:06863]
72780
72781Wed Dec 14 23:39:53 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72782
72783	* dir.c (has_magic): glob names contain alphabets to enable case fold
72784	  search.  [ruby-dev:27735]
72785
72786	* dir.c (Init_Dir): FNM_SYSCASE which is default case fold flag.
72787	  [ruby-dev:23296]
72788
72789Wed Dec 14 12:01:26 2005  Tanaka Akira  <akr@m17n.org>
72790
72791	* marshal.c (r_object0): fix a GC problem for reading a bignum on
72792	  IA64 with gcc 3.3.5 (Debian 1:3.3.5-13).
72793
72794Tue Dec 13 12:23:47 2005  Tanaka Akira  <akr@m17n.org>
72795
72796	* re.c (rb_reg_regcomp): fix a GC problem on x86_64 with
72797	  gcc 3.3.5 (Debian 1:3.3.5-13).
72798
72799Tue Dec 13 01:44:16 2005  Tanaka Akira  <akr@m17n.org>
72800
72801	* array.c (rb_ary_diff): fix a GC problem on IA64 with
72802	  gcc 3.3.5 (Debian 1:3.3.5-13).
72803	  When rb_ary_push is called, there was no register which contains
72804	  `hash' but `&RHASH(hash)->tbl' instead.
72805
72806Tue Dec 13 00:08:09 2005  Tanaka Akira  <akr@m17n.org>
72807
72808	* sprintf.c (rb_str_format): fix a GC problem.
72809	  [ruby-dev:28001]
72810
72811Mon Dec 12 15:51:22 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
72812
72813	* test/openssl/test_ssl.rb (test_parallel): call GC.start to close
72814	  unused files. [ruby-dev:27981]
72815
72816Mon Dec 12 09:58:09 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72817
72818	* range.c (range_cover): new method Range#cover? added.  the
72819	  method name might be changed.  thanks to takano32 at
72820	  http://www.rubyist.net/~matz/20051210.html#c08 for name
72821	  suggestion.  [ruby-talk:167182]
72822
72823Mon Dec 12 00:33:56 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72824
72825	* ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
72826	  protect temporary context object.  [ruby-dev:27979]
72827
72828	* ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should
72829	  be called before actual variable initialization.
72830	  [ruby-dev:27986]
72831
72832Sun Dec 11 23:54:07 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
72833
72834	* ext/tk/*: update to support libraries in ActiveTcl8.4.12.0
72835	  (see ext/tk/ChangeLog.tkextlib).
72836
72837	* ext/tk/sample/scrollframe.rb: add a new sample.
72838
72839Sun Dec 11 22:07:58 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
72840
72841	* test/rinda/test_rinda.rb (test_remote_array_and_hash): pseudo remote
72842	  objects are protected against GC. [ruby-dev:27911]
72843
72844Sat Dec 10 01:06:06 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
72845
72846	* lib/matrix.rb: add Matrix#determinant_e, Matrix#rank_e.
72847	  [ruby-dev:27820] and related thread.
72848
72849Sat Dec 10 00:31:42 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72850
72851	* eval.c (calling_scope_t): gave names to magic numbers for rb_call().
72852	  [ruby-dev:27978]
72853
72854Fri Dec  9 23:31:02 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72855
72856	* lib/rexml/encoding.rb (encoding=): give priority to particular
72857	  conversion to iconv.  [ruby-core:06520]
72858
72859Fri Dec  9 23:16:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72860
72861	* range.c (range_include): return false unless included in numeric
72862	  range.  fixed: [ruby-dev:27975]
72863
72864Thu Dec  8 02:07:19 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72865
72866	* eval.c (umethod_bind): adjust invoking class for module method.
72867	  [ruby-dev:27964]
72868
72869Thu Dec  8 00:40:52 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72870
72871	* eval.c (call_trace_func): klass parameter should be a
72872	  class/module that defines calling method.  [ruby-talk:169307]
72873
72874Wed Dec  7 17:10:27 2005  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
72875
72876	* sprintf.c (rb_f_sprintf): [ruby-dev:27967]
72877
72878Wed Dec  7 16:39:18 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72879
72880	* range.c (range_include): use discrete membership for non Numeric
72881	  values, for example, String.
72882
72883	* numeric.c (num_scalar_p): new method. [ruby-dev:27936]
72884
72885	* lib/complex.rb (Complex#scalar?): ditto.
72886
72887Wed Dec  7 15:31:35 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72888
72889	* sprintf.c (rb_str_format): integer overflow check added.
72890
72891	* sprintf.c (GETASTER): ditto.
72892
72893Wed Dec  7 01:02:04 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
72894
72895	* ext/tk/README.macosx-aqua: [new document] tips to avoid the known
72896	  bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X.
72897
72898	* ext/tk/tcltklib.c: fix bug on switching threads and waiting on the
72899	  deleted interpreter on vwait and tkwait command.
72900
72901	* ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk
72902	  interpreter.
72903
72904	* ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument.
72905
72906	* ext/tk/sample/demos-en/image3.rb: ditto.
72907
72908	* ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X.
72909
72910	* ext/tk/sample/demos-jp/menu8x.rb: ditto.
72911
72912	* ext/tk/sample/demos-en/menu.rb: ditto.
72913
72914Tue Dec  6 16:48:40 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72915
72916	* gc.c (ruby_xmalloc2): change check condition for integer
72917	  overflow.  [ruby-dev:27399]
72918
72919	* gc.c (ruby_xrealloc2): ditto.
72920
72921Tue Dec  6 16:37:57 2005  Yuya Nishida  <yuya@j96.org>
72922
72923	* eval.c (exec_under): avoid accessing ruby_frame->prev.
72924	  [ruby-dev:27948]
72925
72926Fri Dec  2 19:06:06 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72927
72928	* dir.c (Compare): should not fold double byte alphabet on win9x.
72929
72930Thu Dec  1 00:50:33 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72931
72932	* eval.c (rb_funcall2): allow to call protected methods.
72933	  fixed: [ruby-dev:27890]
72934
72935Wed Nov 30 23:52:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72936
72937	* parse.y (struct parser_params): fields common to ripper must be
72938	  placed at each same offset.
72939
72940	* parse.y (NEWHEAP, ADD2HEAP): set count after pointer was set.
72941	  fixed: [ruby-dev:27896]
72942
72943Wed Nov 30 13:43:07 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
72944
72945	* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
72946	  expression.   [ruby-dev:27868]
72947
72948Tue Nov 29 23:57:05 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
72949
72950	* parse.y (struct parser_params): heap must be placed at same offset
72951	  also in ripper.y.  fixed: [ruby-dev:27846]
72952
72953	* parse.y (yycompile): prevent vparser from tail call optimization.
72954	  fixed: [ruby-dev:27851]
72955
72956	* parse.y (parser_mark): value needs to be marked.
72957	  fixed: [ruby-dev:27845]
72958
72959Tue Nov 29 22:45:30 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
72960
72961	* lib/drb/observer.rb (notify_observers): follow change of observer.rb.
72962	  fixed: [ruby-core:6796]
72963
72964Mon Nov 28 20:24:22 2005  Tanaka Akira  <akr@m17n.org>
72965
72966	* lib/pp.rb (PP::PPMethods#object_address_group): mask an address with
72967	  word size.
72968
72969	* lib/pp.rb (PP::PPMethods#object_address_group): adjust address format.
72970
72971Mon Nov 28 18:55:22 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
72972
72973	* ext/socket/socket.c (init_inetsock_internal): remove setting
72974	  SO_REUSEADDR option on server socket on Cygwin.
72975	  fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ])
72976
72977Mon Nov 28 13:11:45 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72978
72979	* win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid broken
72980	  error message on bccwin32 + winsock)
72981
72982Mon Nov 28 09:15:50 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
72983
72984	* lib/mkmf.rb (create_makefile): should not change sodir with
72985	  dir.gsub!. (bccwin32 failed to install third party extensions)
72986	  [ruby-dev:27834]
72987
72988Sun Nov 27 05:37:20 2005  Tanaka Akira  <akr@m17n.org>
72989
72990	* lib/pathname.rb: use File.basename to decompose pathnames.
72991	  experimental Windows support.
72992
72993Sun Nov 27 00:56:13 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
72994
72995	* lib/wsdl/xmlSchema/complexContent.rb: missing
72996	  ComplexContent#elementformdefault method.
72997
72998Sat Nov 26 19:57:45 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
72999
73000	* dln.c (conv_to_posix_path): should initialize posix.
73001
73002Fri Nov 25 20:34:56 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73003
73004	* lib/xmlrpc/datetime.rb (DateTime::to_a): comparison with non
73005	  array-convertible object must return false.
73006
73007Fri Nov 25 14:34:09 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73008
73009	* range.c (range_max): treat end exclusion without iteration if
73010	  the end value is an integer.  [ruby-talk:167433]
73011
73012Fri Nov 25 12:52:57 2005  Kouhei Sutou  <kou@cozmixng.org>
73013
73014	* lib/rss/rss.rb: added backward compatibility codes.
73015	* lib/rss/parser.rb: ditto.
73016	* test/rss/test_parser.rb: ditto.
73017	* test/rss/test_2.0.rb: ditto.
73018
73019	* test/rss/test_content.rb: use #__send__ instead of #funcall for
73020	  no private method.
73021
73022Fri Nov 25 12:39:56 2005  Kouhei Sutou  <kou@cozmixng.org>
73023
73024	* lib/rss/rss.rb: improved type conversion.
73025	* lib/rss/1.0.rb: ditto.
73026	* lib/rss/0.9.rb: ditto.
73027	* lib/rss/2.0.rb: ditto.
73028	* lib/rss/image.rb: ditto.
73029	* lib/rss/syndication.rb: ditto.
73030
73031	* test/rss/test_2.0.rb: added type conversion tests.
73032	* test/rss/test_accessor.rb: ditto.
73033	* test/rss/test_to_s.rb: ditto.
73034	* test/rss/test_syndication.rb: ditto.
73035	* test/rss/test_setup_maker_2.0.rb: ditto.
73036	* test/rss/test_setup_maker_1.0.rb: ditto.
73037	* test/rss/test_setup_maker_0.9.rb: ditto.
73038	* test/rss/test_maker_sy.rb: ditto.
73039	* test/rss/test_maker_image.rb: ditto.
73040	* test/rss/test_maker_2.0.rb: ditto.
73041	* test/rss/test_maker_0.9.rb: ditto.
73042	* test/rss/test_image.rb: ditto.
73043
73044	* test/rss/test_maker_1.0.rb: use assert instead of assert_equal.
73045
73046	* test/rss/rss-assertions.rb: improved type conversion assertions.
73047
73048Fri Nov 25 10:38:20 2005  Kouhei Sutou  <kou@cozmixng.org>
73049
73050	* lib/rss/image.rb: added Image prefix.
73051
73052	* lib/rss/maker/image.rb: ditto.
73053
73054Fri Nov 25 10:33:02 2005  Kouhei Sutou  <kou@cozmixng.org>
73055
73056	* test/rss/test_2.0.rb: added RSS 2.0 tests.
73057
73058	* test/rss/rss-assertions.rb: extended XML stylesheet assertion.
73059
73060	* lib/rss/0.9.rb: added initialize method.
73061
73062	* test/rss/test_1.0.rb: cleanup.
73063
73064Fri Nov 25 10:29:48 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73065
73066	* range.c (range_min): use <=> comparison rather than iteration.
73067	  [ruby-talk:167420]
73068
73069	* range.c (range_max): ditto.
73070
73071Thu Nov 24 01:31:44 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73072
73073	* file.c (w32_io_info): CreateFile failed on Win9x if file was already
73074	  opened. (FILE_SHARE_READ was needed, but actually I don't understand
73075	  the flags of CreateFile well...)
73076
73077Wed Nov 23 23:52:35 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73078
73079	* numeric.c (num_div): use floor rather than rb_Integer().
73080	  [ruby-dev:27674]
73081
73082Wed Nov 23 22:34:15 2005  Kouhei Sutou  <kou@cozmixng.org>
73083
73084	* lib/rss/parser.rb: added entity handling type predicate.
73085	* lib/rss/rexmlparser.rb: ditto.
73086	* lib/rss/xmlparser.rb: ditto.
73087	* lib/rss/xmlscanner.rb: ditto.
73088
73089	* lib/rss/xmlscanner.rb: more robust entity handling.
73090
73091	* test/rss/test_parser.rb: added an entity handling test.
73092
73093Wed Nov 23 20:59:01 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73094
73095	* ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get
73096	  [Tk8.5 feature].
73097
73098	* ext/tk/lib/tk/text.rb: supports new indices modifiers on a Text
73099	  widget [Tk8.5 feature].
73100
73101	* ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent.
73102
73103	* ext/tk/lib/tk/autoload.rb: ditto.
73104
73105	* ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5
73106	  feature].
73107
73108Wed Nov 23 18:52:45 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73109
73110	* file.c (w32_io_info): should not call GetFileInformationByHandle
73111	  for pipe.
73112
73113	* file.c (w32_io_info): checks return value from rb_w32_get_osfhandle.
73114
73115	* file.c (w32_io_info): now can identify directory on WinNT.
73116
73117Wed Nov 23 18:46:53 2005  Kouhei Sutou  <kou@cozmixng.org>
73118
73119	* lib/rss/: use #__send__ instead of #send.
73120	* test/rss/: ditto.
73121
73122Wed Nov 23 18:32:56 2005  Kouhei Sutou  <kou@cozmixng.org>
73123
73124	* test/rss/test_taxonomy.rb: use #reject directory.
73125
73126Wed Nov 23 18:26:00 2005  Kouhei Sutou  <kou@cozmixng.org>
73127
73128	* lib/rss/taxonomy.rb: changed class or module prefix to
73129	  Taxonomy from Taxo.
73130	* lib/rss/maker/taxonomy.rb: ditto.
73131
73132Wed Nov 23 18:21:11 2005  Kouhei Sutou  <kou@cozmixng.org>
73133
73134	* lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS
73135	  Maker.
73136	* lib/rss/taxonomy.rb: supported RSS Maker.
73137	* lib/rss/maker.rb: added taxonomy module support.
73138
73139	* lib/rss/rss.rb: adjusted to other element API.
73140	* lib/rss/1.0.rb: adjusted to other element API but backward
73141	  compatibility is reserved.
73142	* lib/rss/0.9.rb: ditto.
73143
73144	* test/rss/test_maker_taxo.rb: added test case for taxonomy module
73145	  for RSS Maker.
73146	* test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic.
73147
73148	* test/rss/test_setup_maker_1.0.rb: added backward compatibility
73149	  test.
73150	* test/rss/test_setup_maker_0.9.rb: ditto.
73151	* test/rss/test_setup_maker_2.0.rb: ditto.
73152
73153	* test/rss/rss-testcase.rb: added convenience method for setting
73154	  up taxo:topic.
73155	* test/rss/rss-assertions.rb: added assertion for taxo:topic.
73156
73157	* sample/rss/blend.rb: followed new API.
73158
73159Wed Nov 23 17:42:24 2005  Kouhei Sutou  <kou@cozmixng.org>
73160
73161	* lib/rss/rss.rb: fixed a indentation bug.
73162
73163	* lib/rss/taxonomy.rb: fixed <taxo:topic> #to_s bug.
73164
73165	* test/rss/test_taxonomy.rb: added a #to_s test.
73166
73167Wed Nov 23 03:40:49 2005  Guy Decoux  <ts@moulon.inra.fr>
73168
73169	* re.c (KR_REHASH): should cast to unsigned for 64bit CPU.
73170	  [ruby-core:06721]
73171
73172Wed Nov 23 07:26:44 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73173
73174	* ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
73175
73176	* ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
73177	  OPENSSL_malloc to allocate X509V3_CTX.
73178
73179	* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use
73180	  X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
73181	  values are placed in separate section).
73182
73183	* test/openssl/test_x509ext.rb: new file.
73184
73185Wed Nov 23 01:22:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73186
73187	* file.c (test_identical): test if two files are identical.
73188
73189	* file.c (rb_f_test): support DOSISH systems where st_ino is not
73190	  reliable.  fixed: [ruby-core:06672]
73191
73192	* win32.h, win32.c (rb_w32_osid): check the running platform.
73193
73194Tue Nov 22 23:52:06 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73195
73196	* lib/optparse.rb: match incomplete (in current enconding) multibyte
73197	  string.  http://inamode6.tokuhirom.dnsalias.org/show/1551
73198
73199Tue Nov 22 18:36:11 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73200
73201	* win32/win32.c (winnt_stat): set mapped errno instead of ENOENT.
73202
73203Tue Nov 22 14:36:54 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73204
73205	* file.c (rb_file_s_basename): skip slashes just after UNC top slashes.
73206
73207	* test/ruby/test_path.rb (test_dirname, test_basename): follow new
73208	  spec. and add new tests.
73209
73210Tue Nov 22 13:30:15 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73211
73212	* win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared');
73213	  p Dir.glob('*') should work on WinNT. (implemented our own
73214	  stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711]
73215
73216Tue Nov 22 02:31:53 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73217
73218	* ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
73219	  is not defined).
73220
73221Tue Nov 22 01:45:21 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73222
73223	* file.c (rb_file_s_basename): DOSISH_UNC is defined on cygwin but
73224	  DOSISH is not.  fixed: [ruby-dev:27797]
73225
73226Mon Nov 21 22:50:48 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73227
73228	* file.c (rb_path_skip_prefix, rb_file_s_basename): UNC without path
73229	  should not be splitted.  fixed: [ruby-dev:27776] [ruby-dev:27786]
73230
73231	* parse.y (dsym): prohibit empty symbol literal by interpolation.
73232	  fixed: [ruby-talk:166529]
73233
73234Mon Nov 21 16:03:48 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73235
73236	* win32/setup.mk: findstr doesn't exist on win9x.
73237	  fixed: [ruby-dev:27756]
73238
73239Sun Nov 20 21:39:27 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
73240
73241	* regparse.c (fetch_token_in_cc): tok->escaped should be
73242	  initialized.  [ruby-dev:27763]
73243
73244Sun Nov 20 22:34:06 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73245
73246	* parse.y (rb_symname_p): [ not followed by ] is not valid symbol.
73247	  fixed: [ruby-talk:166520]
73248
73249Sat Nov 19 19:57:54 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73250
73251	* lib/fileutils.rb (FileUtils::ln): ln documentation fix.
73252	  [ruby-core:06661]
73253
73254Sat Nov 19 08:19:38 2005  Zach Dennis  <zdennis@mktec.com>
73255
73256	* ext/socket/socket.c: Socket Documentation. [ruby-core:6552]
73257
73258Sat Nov 19 07:34:32 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73259
73260	* ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8
73261	  or 1.9).
73262
73263	* ext/tk/lib/tkextlib/ICONS/icons.rb: ditto.
73264
73265	* ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
73266
73267Fri Nov 18 18:07:05 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73268
73269	* file.c (rb_file_s_dirname): should use skipprefix for UNC path.
73270	  pointed out by nobu ([ruby-dev:27744]). fixed: [ruby-core:5076]
73271
73272Fri Nov 18 17:35:09 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73273
73274	* ext/tk/lib/multi-tk.rb: add restriction to access the entried
73275	  command table and manipulate other IPs (for reason of security).
73276	  Now, a IP object can be controlled by only its master IP or the
73277	  default IP.
73278
73279	* ext/tk/lib/remote-tk.rb: add restriction to manipulate.
73280
73281	* ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip)
73282	  to check manipulability.
73283
73284	* ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces.
73285
73286	* ext/tk/lib/tk/namespace.rb: ditto.
73287
73288Fri Nov 18 16:47:33 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73289
73290	* file.c (rb_file_s_dirname): added checks for some patterns with drive
73291	  letter. fixed: [ruby-dev:27738]
73292
73293	* test/ruby/test_path.rb (test_dirname): added tests for above
73294	  patterns.
73295
73296Fri Nov 18 12:19:16 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73297
73298	* win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
73299	  returns true on VisualC++6.
73300
73301Thu Nov 17 17:58:00 2005  Kouhei Sutou  <kou@cozmixng.org>
73302
73303	* lib/rss/1.0.rb: added convenience method 'resources'.
73304
73305	* lib/rss/taxonomy.rb: ditto.
73306
73307	* test/rss/rss-assertions.rb: added test for 'resources'.
73308
73309	* test/rss/test_taxonomy.rb: ditto.
73310
73311Thu Nov 17 17:53:30 2005  Kouhei Sutou  <kou@cozmixng.org>
73312
73313	* lib/rss/taxonomy.rb: implemented taxonomy module.
73314
73315	* test/rss/test_taxonomy.rb: added tests for taxonomy support.
73316
73317Thu Nov 17 17:40:19 2005  Kouhei Sutou  <kou@cozmixng.org>
73318
73319	* lib/rss/1.0.rb: added rdf:Bag.
73320
73321Thu Nov 17 13:52:00 2005  Kouhei Sutou  <kou@cozmixng.org>
73322
73323	* lib/rss/rss.rb: removed needless argument 'prefix'.
73324
73325	* lib/rss/parser.rb: ditto.
73326
73327Wed Nov 16 23:24:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73328
73329	* common.mk (static-ruby): overridable.
73330
73331	* ext/extmk.rb (parse_args): force to link extensions statically only
73332	  if static is given for extstatic.
73333
73334	* ext/extmk.rb (RUBY, RUBYW): overridable.
73335
73336Wed Nov 16 01:29:31 2005  Kouhei Sutou  <kou@cozmixng.org>
73337
73338	* lib/rss/trackback.rb: added TrackBack prefix.
73339
73340	* lib/rss/maker/trackback.rb: ditto.
73341
73342Wed Nov 16 01:26:13 2005  Kouhei Sutou  <kou@cozmixng.org>
73343
73344	* lib/rss/rss.rb (RSS::VERSION): 0.1.5 -> 0.1.6.
73345
73346	* test/rss/test_version.rb (RSS::TestVersion#test_version): ditto.
73347
73348Tue Nov 15 23:54:24 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73349
73350	* file.c (file_load_ok): eaccess() returns 0 on success.
73351	  fixed: [ruby-dev:27713]
73352
73353Tue Nov 15 16:36:03 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73354
73355	* array.c (rb_ary_fill): previous commit disabled this usage:
73356
73357	    a = [0,1,2,3,4,5,6,7,8,9]
73358	    a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil]
73359
73360	  previous commit has the advantage of early garbage collection, but
73361	  potentially this would break some script. so I reverted behavior.
73362
73363Tue Nov 15 16:15:23 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73364
73365	* file.c (file_load_ok): use eaccess() instead of actually opening
73366	  the file.  [ruby-talk:156378]
73367
73368	* lib/jcode.rb (String::reverse): add new methods.
73369	  [ruby-list:41245]
73370
73371Tue Nov 15 15:49:34 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73372
73373	* array.c (rb_ary_fill): tail elements were vanished when the middle
73374	  part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1])
73375
73376	* test/ruby/test_array.rb (test_fill): added.
73377
73378Tue Nov 15 14:39:16 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73379
73380	* array.c (rb_ary_fill): should adjust array length correctly when
73381	  an array is expanded in the fill process.  [ruby-core:06625]
73382
73383Mon Nov 14 23:49:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73384
73385	* file.c (rb_file_s_readlink): ERANGE will occur only on GPFS.
73386	  [ruby-dev:27699]
73387
73388Mon Nov 14 17:36:22 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73389
73390	* array.c (rb_ary_first): RDoc update from Daniel Berger
73391	  <djberg96@yahoo.com>.  [ruby-core:06577].
73392
73393Sun Nov 13 10:55:24 2005  Minero Aoki  <aamine@loveruby.net>
73394
73395	* lib/uri/common.rb (escape): regard second argument as a
73396	  character set. [ruby-dev:27692]
73397
73398Sat Nov 12 08:36:40 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73399
73400	* configure.in, eval.c, intern.h: check fd_mask type.
73401
73402	* configure.in (socketpair): need to be checked.
73403
73404Fri Nov 11 19:53:47 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73405
73406	* eval.c, intern.h: failed to compile where NFDBITS is defined but
73407	  howmany() is not defined. [ruby-dev:27680]
73408
73409	* io.c (is_socket): failed to compile where S_ISSOCK is not defined.
73410
73411	* io.c (pipe_open): failed to compile where socketpair is not supported.
73412
73413Fri Nov 11 08:20:56 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73414
73415	* Makefile.in (OUTFLAG): keep trailing spaces.  [ruby-dev:27666]
73416
73417	* mkconfig.rb: substitution references added.
73418
73419Fri Nov 11 07:39:49 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73420
73421	* configure.in: undef HAVE_LINK on BeOS. (link(2) always returns
73422	  EINVAL, and this causes error in test/fileutils.)
73423
73424	* file.c: override chown(2) and fchown(2) on BeOS. (these functions
73425	  should not change user/group id if -1 is passed as corresponding
73426	  argument, and this causes error in test/fileutils too)
73427	  [ruby-dev:27672]
73428
73429Thu Nov 10 21:05:03 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73430
73431	* lib/shellwords.rb: fix for blank but not empty string.
73432	  fixed: [ruby-dev:27663]
73433
73434Wed Nov  9 08:39:38 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73435
73436	* lib/shellwords.rb: refactored.  [ruby-core:06581]
73437
73438Tue Nov  8 17:35:53 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73439
73440	* intern.h, eval.c (rb_thread_signal_raise): constified.
73441
73442	* signal.c: cosmetic change.
73443
73444Tue Nov  8 15:32:27 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73445
73446	* lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.
73447	  [ruby-dev:27560] [ruby-core:4627]
73448
73449Mon Nov  7 20:54:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73450
73451	* ext/iconv/iconv.c: iconvctl() support.  [EXPERIMENTAL]
73452
73453Mon Nov  7 16:23:23 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73454
73455	* ext/openssl/ossl.h: need to include winsock2.h before including
73456	  windows.h by some openssl headers.
73457
73458Mon Nov  7 13:43:51 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73459
73460	* ext/tk/stubs.c (_nativethread_consistency_check): use simpler
73461	  (low cost) way to check whether the Tcl interpreter was compiled
73462	  with threads enabled of not.
73463
73464	* ext/tk/tcltklib.c: reduce warnings.
73465
73466	* ext/tk/tkutil/tkutil.c: ditto.
73467
73468Mon Nov  7 00:06:12 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73469
73470	* lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324]
73471
73472Sun Nov  6 23:39:13 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73473
73474	* ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
73475	  bug of underlying library.
73476
73477Sun Nov  6 21:43:22 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73478
73479	* ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch
73480	  interpreter after initialization is done. [ruby-dev:27638]
73481
73482Sun Nov  6 20:13:27 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73483
73484	* file.c (rb_file_s_readlink): readlink(2) on AIX fails with ERANGE if
73485	  buffer size is less than required.  fixed: [ruby-dev:27634]
73486
73487Sat Nov  5 13:42:50 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73488
73489	* configure.in, cygwin/GNUmakefile.in (mingw): use def file to alias
73490	  symbols.  [ruby-dev:27532]
73491
73492	* bcc32/mkexports.rb, win32/mkexports.rb: make aliases in DLL.
73493
73494	* win32/win32.c, win32/win32.h: replace symbols only when RUBY_EXPORT
73495	  is defined.
73496
73497Thu Nov  3 07:57:39 2005  Minero Aoki  <aamine@loveruby.net>
73498
73499	* lib/open-uri.rb (open_loop): find_proxy should return nil when
73500	  proxy does not exist. [ruby-dev:27630]
73501
73502Wed Nov  2 20:25:28 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73503
73504	* ext/tk/extconf.rb: ext/tk/extconf.rb: change the check parameter
73505	  for Win32.
73506
73507Wed Nov  2 19:03:06 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73508
73509	* ext/tk/tcltklib.c (ip_rbUpdateObjCmd, ip_rb_threadUpdateObjCmd):
73510	  passed improper flags to DoOneEvent().
73511
73512	* ext/tk/tkutil/tkutil.c: use rb_obj_respond_to() instead of
73513	  rb_respond_to().
73514
73515Tue Nov  1 14:20:11 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73516
73517	* eval.c (rb_call_super): should call method_missing if super is
73518	  called from Kernel method.
73519
73520	* eval.c (exec_under): frame during eval should preserve external
73521	  information.
73522
73523Tue Nov  1 10:48:49 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73524
73525	* ext/openssl/extconf.rb: should check ERR_peek_last_error().
73526	  [ruby-dev:27597]
73527
73528	* ext/openssl/ossl.c (ossl_raise): ditto.
73529
73530Mon Oct 31 17:34:46 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73531
73532	* configure.in: use proper option for Sun linker. A patch from
73533	  Shinya Kuwamura <kuwa at labs.fujitsu.com>.  [ruby-dev:27603]
73534
73535Mon Oct 31 05:46:08 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73536
73537	* ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
73538	  not be empty. [ruby-talk:161220]
73539
73540	* test/openssl/test_cipher.rb: add test for Cipher#update("").
73541
73542Mon Oct 31 05:38:26 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73543
73544	* lib/webrick/httpservlet/cgihandler.rb
73545	  (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
73546	  header field should be splited into each cookie.  [ruby-Bugs:2199]
73547
73548	* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
73549	  to parse the value of Set-Cookie: header field.
73550
73551	* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
73552	  test/webrick/webrick.cgi: add some test for cookie.
73553
73554Mon Oct 31 02:33:25 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73555
73556	* numeric.c (fix_rshift): RDoc fix.  [ruby-core:6351]
73557
73558	* util.h (strtod): add #undef for platforms defines strtod()
73559	  macro.   [ruby-dev:27563]
73560
73561Mon Oct 31 02:31:41 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73562
73563	* test/ruby/test_float.rb (test_precision): test by assert_in_delta.
73564	  [ruby-dev:27575]
73565
73566Sat Oct 29 01:58:25 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73567
73568	* ext/etc/etc.c: document update from mathew <meta@pobox.com>.
73569	  [ruby-core:06473]
73570
73571	* ext/fcntl/fcntl.c: ditto.
73572
73573Sat Oct 29 16:56:03 2005  Tadayoshi Funaba  <tadf@dotrb.org>
73574
73575	* lib/date.rb: added seven predicates sunday? to saturday?.
73576
73577	* lib/date.rb: added two methods {prev,next}_month,
73578	  that are almost same as << and >>.
73579
73580Thu Oct 27 20:34:43 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73581
73582	* enumerator.c (enumerator_allocate): allow subclassing.
73583
73584Thu Oct 27 16:45:31 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73585
73586	* string.c (scan_once): wrong condition to use mbclen2().
73587	  [ruby-dev:27535]
73588
73589Thu Oct 27 11:53:17 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73590
73591	* missing.h, missing/memcmp.c, missing/memmove.c:
73592	  ANSI compatible interface.
73593
73594Wed Oct 26 09:15:48 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73595
73596	* ext/syck/implicit.c (syck_type_id_to_uri): should return
73597	  newly allocated memory. otherwise, type_id will be freed
73598	  twice. [ruby-dev:27384] [ruby-core:6385]
73599
73600Wed Oct 26 01:58:19 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73601
73602	* configure.in (RUBY_EXTERN): macro to export symbols in shared
73603	  library.  [ruby-core:05528]
73604
73605	* defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
73606	  configuration pass.
73607
73608	* ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.
73609
73610Tue Oct 25 20:06:59 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73611
73612	* ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate
73613	  values have VALUE type. there is an environment where sizeof(VALUE)
73614	  != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS
73615	  and received by 64bit integer (VALUE), upper bits may have garbage value.
73616	  [ruby-dev:27513]
73617
73618Tue Oct 25 15:32:00 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73619
73620	* lib/rational.rb: applied documentation patch from Gavin Sinclair
73621	  <gsinclair@gmail.com>.  [ruby-core:06364]
73622
73623	* lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
73624	  in irb auto-indentation mode.  [ruby-core:06358]
73625
73626Tue Oct 25 14:21:46 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73627
73628	* gc.c (garbage_collect): sorry, previous commit was incorrect.
73629	  [ruby-core:6386]
73630
73631Tue Oct 25 13:40:16 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73632
73633	* gc.c (garbage_collect): return now whether there're rooms for new
73634	  objects, rather than whether GC run. fixed: [ruby-core:6376]
73635
73636Tue Oct 25 02:12:08 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73637
73638	* lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
73639	  reduce redundant backtrack.  [ruby-talk:161771]
73640
73641Tue Oct 25 00:35:33 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
73642
73643	* lib/rinda/*: RDoc documentation from Eric Hodel
73644	  <drbrain@segment7.net> added.
73645
73646Mon Oct 24 21:14:29 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73647
73648	* configure.in, io.c: use sys/syscall.h if syscall.h is not available.
73649	  [ruby-core:06247]
73650
73651Mon Oct 24 20:38:25 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73652
73653	* ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS.
73654	  fixed: [ruby-list:40058], [ruby-dev:27479]
73655
73656Mon Oct 24 11:01:11 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73657
73658	* ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
73659	  typo fixed.  [ruby-talk:162187]
73660
73661	* ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
73662	  ditto.  [ruby-core:06359]
73663
73664Mon Oct 24 07:57:56 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73665
73666	* ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
73667	  typo fixed.  [ruby-talk:162187]
73668
73669	* ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
73670	  ditto.  [ruby-core:06359]
73671
73672	* lib/matrix.rb (Matrix::initialize): use funcall instead of send
73673	  to allow private methods to be called.  A report from
73674	  Jean-Claude Arbaut <jcarbaut@laposte.net>.  [ruby-core:06359]
73675
73676Mon Oct 24 00:41:18 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73677
73678	* time.c (time_sunday): added predicate methods for the days of the
73679	  week.  [ruby-list:41340]
73680
73681Sun Oct 23 07:11:11 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
73682
73683	* ext/tk/extconf.rb: improve messages [ruby-core:06325].
73684
73685	* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
73686	  ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
73687	  ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
73688	  ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
73689	  ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
73690	  ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
73691	  ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
73692
73693	* ext/tk/lib/tkextlib/*: ditto.
73694
73695	* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
73696
73697	* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
73698
73699	* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
73700
73701	* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
73702
73703	* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
73704
73705Sat Oct 22 23:54:07 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73706
73707	* ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
73708	  options.  [ruby-dev:27449]
73709
73710Sat Oct 22 14:25:43 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73711
73712	* util.[hc] (ruby_add_suffix): constified.
73713
73714	* util.[hc] (ruby_scan_{oct,hex}): fixed typo. (renamed from
73715	  scan_{oct,hex})
73716
73717	* util.c: almostly ANSI styled. (except for functions depending on
73718	  macro and K&R technique)
73719
73720Sat Oct 22 13:26:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73721
73722	* object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
73723	  if valid as a symbol name more strictly.  [ruby-dev:27478]
73724
73725	* test/ruby/test_symbol.rb: tests for [ruby-core:03573].
73726
73727	* time.c (rb_strftime): removed meaningless volatile modifiers, and
73728	  concatenate successive nul characters at once.  [ruby-dev:27472]
73729
73730	* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
73731	  ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
73732	  lib/rss/parser.rb, test/rss/test_content.rb,
73733	  test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
73734	  test/rss/test_trackback.rb, test/ruby/test_eval.rb,
73735	  test/socket/test_socket.rb, test/socket/test_udp.rb:
73736	  Object#fcall was renamed as Object#funcall.
73737
73738Sat Oct 22 10:08:28 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73739
73740	* missing.h, missing/*.c: SUSv3 compatible strcasecmp and strncasecmp,
73741	  ANSI compatible strtol and strtoul, and ANSI styled other functions.
73742
73743Fri Oct 21 19:16:08 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73744
73745	* rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper)
73746
73747Fri Oct 21 17:49:32 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73748
73749	* bin/erb (ERB::Main::run): typo fixed.  [ruby-core:06337]
73750
73751Fri Oct 21 15:42:28 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73752
73753	* intern.h, struct.c (rb_struct_iv_get): constified.
73754
73755	* marshal.c: avoid one VC++6 warning for implicit conversion
73756	  from int to char.
73757
73758	* ruby.h: ANSI styled.
73759
73760	* bcc32/Makefile.sub (HAVE_HYPOT): added.
73761
73762	* ext/socket/extconf.rb: BeOS is only one platform should call
73763	  closesocket, so check __BEOS__ macro directly. (I was worried
73764	  accidently HAVE_CLOSESOCKET is defined on windows again because
73765	  it has it)
73766
73767	* ext/socket/{getaddrinfo.c,socket.c}: ditto.
73768
73769	... these are all cosmetic changes.
73770
73771Fri Oct 21 15:23:23 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73772
73773	* bignum.c (bignew_1): convertion from `int' to `char' discards
73774	  upper bits, (ie. (char)0xff00 -> 0) so it's better to test if
73775	  nonzero and set 0 or 1 instead of simply casting ... as a flag usage.
73776	  (but I believe this won't cause actual bug in current implementation)
73777	  [ruby-dev:27055]
73778
73779	* time.c: should use LONG_LONG instead of `long long'.
73780
73781Thu Oct 20 22:22:49 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73782
73783	* parser.y (struct parser_params): parser never modify input string.
73784
73785	* ext/ripper/tools/preproc.rb (prelude): do not append surplus
73786	  newlines to fix line numbers.
73787
73788Thu Oct 20 11:41:57 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73789
73790	* class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuff
73791	  protoize generated to ANYARGS.
73792
73793Thu Oct 20 11:18:11 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73794
73795	* eval.c, file.c, ruby.c: removed strchr, strrchr, strstr definition
73796	  because they are defined in missing.h.
73797
73798	* missing.h, missing/strchr.c, missing/strstr.c: ANSI styled.
73799
73800Thu Oct 20 09:36:06 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
73801
73802	* lib/mkmf.rb (create_makefile): Borland make seems not to allow
73803	  empty dependency list. If this change is not good, please correct
73804	  it.
73805
73806Thu Oct 20 07:55:09 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73807
73808	* lib/mkmf.rb (create_makefile): get rid of a restriction
73809	  of Borland make.  fixed: [ruby-dev:27460]
73810
73811	* ext/ripper/depend: ditto.
73812
73813Wed Oct 19 23:58:03 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73814
73815	* lib/mkmf.rb (create_makefile): do not create unnecessary empty
73816	  directories.  fixed: [ruby-dev:27451]
73817
73818Wed Oct 19 08:28:32 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73819
73820	* file.c (rb_file_join): elements may contain null pointer strings.
73821	  report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326]
73822
73823Wed Oct 19 02:34:33 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73824
73825	* enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:
73826	  made internal symbols static.  [ruby-dev:27435]
73827
73828Tue Oct 18 10:58:27 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73829
73830	* ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
73831	  ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend,
73832	  use $distcleanfiles in extconf.rb.
73833
73834	* win32/Makefile.sub (distclean-local): should remove .config.h.time.
73835
73836Mon Oct 17 09:42:50 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73837
73838	* mkconfig.rb: fixup configure_args for mswin32 configure.
73839
73840	* win32/configure.bat (srcdir, target): ditto.
73841
73842Mon Oct 17 05:01:50 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73843
73844	* env.h: move struct METHOD and struct BLOCK from eval.c to
73845	  support NodeWrap and ParseTree.
73846
73847Sun Oct 16 22:16:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73848
73849	* ext/extmk.rb: omit non-existing directories.
73850
73851Sun Oct 16 14:40:54 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
73852
73853	* lib/rinda/rinda.rb (Rinda::Tuple#initialize): check remote hash
73854	  tuple. fixed: [ruby-list:41227]
73855
73856	* test/rinda/test_rinda.rb: test it.
73857
73858Sun Oct 16 03:38:07 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73859
73860	* rubysig.h (CHECK_INTS): prevent signal handler to run during
73861	  critical section.  [ruby-core:04039]
73862
73863	* eval.c (load_wait): need not to call rb_thread_schedule()
73864	  explicitly.  [ruby-core:04039]
73865
73866	* eval.c (rb_thread_schedule): clear rb_thread_critical.
73867	  [ruby-core:04039]
73868
73869Sun Oct 16 00:13:14 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73870
73871	* win32/configure.bat: remove unnecessary line which prevents
73872	  creating Makefile.
73873
73874Sat Oct 15 23:52:07 2005  Shugo Maeda  <shugo@ruby-lang.org>
73875
73876	* lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, and
73877	  returns retrieved data if localfile is nil.
73878
73879	* lib/net/ftp.rb: (gettextfile): ditto.
73880
73881Sat Oct 15 19:51:29 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
73882
73883	* bin/erb: typo fixed, again. thanks, Doug Kearns.
73884
73885Fri Oct 14 23:09:31 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73886
73887	* win32/Makefile.sub (MKFILES): update MKFILES if configure files get
73888	  changed.
73889
73890	* win32/configure.bat, win32/setup.mak (configure_args): store
73891	  arguments to configure files.
73892
73893Fri Oct 14 22:05:45 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
73894
73895	* win32/win32.c (ioctl): should set errno.
73896
73897Fri Oct 14 16:39:37 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73898
73899	* lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
73900	  It is harmful to permit the access to ~/public_html by default.
73901	  suggested by Hiroyuki Iwatsuki.
73902
73903Fri Oct 14 04:58:38 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73904
73905	* eval.c (rb_obj_instance_exec): create instance_exec and
73906	  module_exec which pass arguments to the block.
73907
73908	* eval.c (rb_f_funcall): rename fcall to funcall to follow
73909	  tradition.
73910
73911Thu Oct 13 23:29:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73912
73913	* parse.y (HEAPCNT): bison allocates indivisible size.
73914	  fixed: [ruby-core:06261]
73915
73916	* io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
73917	  get rid of warnings.  fixed: [ruby-core:06247]
73918
73919Wed Oct 12 12:51:56 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
73920
73921	* ext/openssl/ossl.c (Init_openssl): should call
73922	  OpenSSL_add_ssl_algorithms().
73923
73924Wed Oct 12 11:08:54 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
73925
73926	* file.c (rb_f_test): typo in RDoc comments.
73927
73928Tue Oct 11 21:41:58 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73929
73930	* configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
73931	  first.  [ruby-dev:27398]
73932
73933	* array.c, enum.c, eval.c, util.c: safer function pointer usage.
73934	  fixed: [ruby-core:06143]
73935
73936	* util.h (qsort): removed the definition incompatible to ANSI.
73937	  fixed: [ruby-core:06147]
73938
73939	* eval.c (rb_obj_respond_to): check if obj responds to the given
73940	  method with the given visibility.  [ruby-dev:27408]
73941
73942	* eval.c (rb_respond_to): conform to Object#respond_to?.  [ruby-dev:27411]
73943
73944Tue Oct 11 00:01:21 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73945
73946	* st.c (st_free_table): do not call free() but xfree().
73947	  [ruby-core:06205]
73948
73949Sat Oct  8 19:49:42 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
73950
73951	* eval.c (Init_Binding): add Binding#dup method.  [yarv-dev:666]
73952
73953	* io.c (rb_io_init_copy): clear PREP flag for copied IO.
73954	  fixed: [ruby-dev:27371]
73955
73956	* parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
73957	  heap.  [ruby-list:41199]
73958
73959	* parse.y (ripper_initialize): use rb_respond_to().
73960
73961	* ext/ripper/depend (check): get rid of re-generating ripper.y always.
73962
73963	* ext/iconv/charset_alias.rb: parse config.charset_alias file directly.
73964
73965	* ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
73966
73967	* lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
73968	  substring directly.
73969
73970	* test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
73971	  change of sample/test.rb.
73972
73973	* test/net/http/test_http.rb: removed superfluous splatting stars.
73974
73975Fri Oct  7 16:41:43 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73976
73977	* eval.c (splat_value): call rb_Array() to convert svalue to
73978	  values.  [ruby-dev:27397]
73979
73980Fri Oct  7 09:54:00 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73981
73982	* lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
73983	  not be parsed correctly.  A patch from August Z. Flatby
73984	  (augustzf) in [ruby-Patches-2595].  [ruby-core:06183]
73985
73986Thu Oct  6 22:51:30 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73987
73988	* object.c (rb_Array): Array() to raise error for objects without
73989	  to_ary, nor to_a.
73990
73991	* object.c (nil_to_a): revert NilClass#to_a.
73992
73993Thu Oct  6 20:10:38 2005  Minero Aoki  <aamine@loveruby.net>
73994
73995	* ext/strscan/strscan.c (strscan_free): remove useless code.
73996	  [ruby-dev:26368] [ruby-dev:27389]
73997
73998Thu Oct  6 01:02:19 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
73999
74000	* range.c (rb_range_beg_len): should return Qfalse for non-range
74001	  object.
74002
74003Wed Oct  5 04:42:38 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
74004
74005	* lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount the
74006	  servlet on "/".
74007
74008Wed Oct  5 04:06:49 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
74009
74010	* lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong call
74011	  of "join".
74012
74013Mon Oct  3 00:04:00 2005  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
74014
74015	* pack.c (EXTEND16): [ruby-dev:27383]
74016
74017Sat Oct  1 23:55:24 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
74018
74019	* win32/win32.c (do_select, rb_w32_select): brush up.
74020
74021Sat Oct  1 12:57:02 2005  Tanaka Akira  <akr@m17n.org>
74022
74023	* bignum.c (rb_big_rand): removed.  [ruby-dev:25405]
74024
74025Sat Oct  1 01:46:51 2005  Tanaka Akira  <akr@m17n.org>
74026
74027	* lib/open-uri.rb (OpenURI.open_loop): prohibit multiple proxy
74028	  options.
74029
74030Thu Sep 29 10:26:18 2005  Tanaka Akira  <akr@m17n.org>
74031
74032	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): abolish sizeof(FILE).
74033	  [ruby-dev:27317]
74034
74035Thu Sep 29 10:15:14 2005  Tanaka Akira  <akr@m17n.org>
74036
74037	* lib/open-uri.rb (:proxy_http_basic_authentication): new option.
74038
74039Thu Sep 29 07:22:05 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74040
74041	* eval.c (rb_f_send): underscores need to be escaped.
74042	  fixed by Doug Kearns.  [ruby-core:06053]
74043
74044Thu Sep 29 00:57:35 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74045
74046	* eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when
74047	  autoload succeeded.
74048
74049	* variable.c (rb_autoload_load): now return true if autoload
74050	  succeeded.  fixed: [ruby-dev:27331]
74051
74052Wed Sep 28 23:40:04 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74053
74054	* file.c (rb_stat_inspect): constified.
74055
74056Wed Sep 28 15:12:28 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
74057
74058	* lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
74059	  refer to the value of QUERY_STRING. [ruby-list:41186]
74060
74061	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=):
74062	  add new method.
74063
74064Wed Sep 28 10:45:44 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
74065
74066	* ext/tk/tcltklib.c: cannot compile with Tcl/Tk8.0.x [ruby-dev:27335].
74067
74068Wed Sep 28 07:56:52 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74069
74070	* lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.
74071	  [ruby-dev:27237], [ruby-core:05854]
74072
74073	* lib/yaml/tag.rb (Module#yaml_as): suppress warnings.
74074
74075	* lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto.
74076
74077Wed Sep 28 03:16:41 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
74078
74079	* rubysig.h: fixed build problem with --enable-pthread on platforms
74080	  which don't have setitimer().
74081
74082Mon Sep 26 22:32:13 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74083
74084	* eval.c (set_trace_func): add rb_secure(4) to prevent adding
74085	  tracing function.
74086
74087Mon Sep 26 20:59:28 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74088
74089	* parse.y: changed to ANSI function style.
74090
74091Sun Sep 25 12:02:04 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
74092
74093	* bin/erb: typo fixed.
74094
74095Sun Sep 25 11:54:11 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
74096
74097	* lib/rinda/tuplespace.rb (Rinda::TemplateEntry::initialize): pull
74098	  up method. Tabs converted to spaces.
74099
74100Sun Sep 25 09:34:22 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74101
74102	* parse.y: replaced `foo _((boo))' with `foo(boo)'.
74103
74104Sun Sep 25 08:19:53 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74105
74106	* test/rss/test_content.rb, test/rss/test_syndication.rb: use fcall
74107	  instead of send in order to override visibility.
74108
74109Sun Sep 25 01:46:43 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74110
74111	* misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indent
74112	  closing parenthesis at same column as the opening.
74113
74114Sun Sep 25 01:33:41 2005  Tanaka Akira  <akr@m17n.org>
74115
74116	* process.c (proc_setrlimit): make the third argument (rlim_max)
74117	  optional.
74118
74119Sun Sep 25 00:42:11 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74120
74121	* misc/ruby-mode.el (ruby-expr-beg): deal with heredoc separately.
74122	  fixed: [ruby-list:41168]
74123
74124	* misc/ruby-mode.el (ruby-calculate-indent): not to deepen indent
74125	  level for continuous line inside parentheses.
74126	  http://nabeken.tdiary.net/20050915.html#p02
74127
74128Sat Sep 24 21:19:39 2005  Minero Aoki  <aamine@loveruby.net>
74129
74130	* ext/strscan/strscan.c: document enhancement.
74131
74132	* ext/strscan/strscan.c: update copyright year.
74133
74134	* ext/strscan/strscan.c: update coding style.
74135
74136Sat Sep 24 20:20:05 2005  Minero Aoki  <aamine@loveruby.net>
74137
74138	* test/net/http/test_http.rb (teardown): Net::HTTP.version_1_1 breaks
74139	  many other tests; ensure that Net::HTTP is version 1.2 after test.
74140	  [ruby-dev:27312]
74141
74142Sat Sep 24 11:44:28 2005  Minero Aoki  <aamine@loveruby.net>
74143
74144	* test/net/http/test_http.rb: new file.
74145
74146Sat Sep 24 08:54:05 2005  Minero Aoki  <aamine@loveruby.net>
74147
74148	* lib/fileutils.rb (cd): no longer accept :noop option, related
74149	  code is useless. [ruby-core:05858] [ruby-Bugs:2494]
74150
74151Sat Sep 24 08:30:00 2005  Tanaka Akira  <akr@m17n.org>
74152
74153	* lib/pathname.rb (Pathname#sub): new method.
74154
74155Sat Sep 24 08:29:36 2005  Minero Aoki  <aamine@loveruby.net>
74156
74157	* lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose,
74158	  DryRun. [ruby-core:05954]
74159
74160	* test/fileutils/test_nowrite.rb: test it.
74161
74162	* test/fileutils/test_dryrun.rb: new file.
74163
74164	* test/fileutils/test_verbose.rb: new file.
74165
74166Sat Sep 24 07:59:01 2005  Minero Aoki  <aamine@loveruby.net>
74167
74168	* sample/ripper/colorize.rb: removed (replaced by ruby2html.rb).
74169
74170	* sample/ripper/ruby2html.rb: added.
74171
74172Sat Sep 24 06:35:15 2005  Minero Aoki  <aamine@loveruby.net>
74173
74174	* ext/ripper: no longer generates .rb files.
74175
74176	* parse.y (Init_ripper): ripper_init_eventids*() takes 1 argument,
74177	  self (class Ripper).
74178
74179	* ext/ripper/depend: target removed: `lib/ripper/core.rb'.
74180
74181	* ext/ripper/depend: new target `eventids2table.c'.
74182
74183	* ext/ripper/depend: new target `check'.
74184
74185	* ext/ripper/eventids2.c: include eventids2table.c.
74186
74187	* ext/ripper/eventids2.c: initialize SCANNER_EVENT_TABLE.
74188
74189	* ext/ripper/extconf.rb: update $cleanfiles list.
74190
74191	* ext/ripper/tools/generate.rb: no longer generate ripper/core.rb.
74192
74193	* ext/ripper/tools/generate.rb: new mode `check'.
74194
74195	* ext/ripper/tools/generate.rb: new mode `eventids2table'.
74196
74197	* ext/ripper/lib/ripper/core.rb.in: removed.
74198
74199	* ext/ripper/lib/ripper/core.rb: added.
74200
74201	* ext/ripper/lib/ripper/filter.rb: update copyright year.
74202
74203	* ext/ripper/lib/ripper/lexer.rb: ditto.
74204
74205	* ext/ripper/lib/ripper/sexp.rb: ditto.
74206
74207Sat Sep 24 02:40:20 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74208
74209	* lib/delegate.rb: document update from James Edward Gray II
74210	  <james@grayproductions.net>.  [ruby-core:05942]
74211
74212Sat Sep 24 02:05:51 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74213
74214	* process.c (proc_daemon): should restrict execution on levels
74215	  higher than $SAFE=2.  suggested by URABE Shyouhei
74216	  <shyouhei@ice.uec.ac.jp>.
74217
74218Fri Sep 23 20:10:35 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74219
74220	* ext/ripper/tools/generate.rb, ext/ripper/tools/preproc.rb: StringIO
74221	  is not available for miniruby.  fixed: [ruby-dev:27307]
74222
74223Fri Sep 23 17:36:48 2005  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
74224
74225	* ext/win32ole/win32ole.c: avoid core dump with WIN32OLE_EVENT.
74226	  [ruby-dev:27133]
74227
74228Fri Sep 23 16:27:39 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74229
74230	* lib/forwardable.rb: replaced by new implementation from
74231	  <Daniel.Berger@qwest.com>.  [ruby-core:05899]
74232
74233Fri Sep 23 07:07:47 2005  Minero Aoki  <aamine@loveruby.net>
74234
74235	* test/ripper/depend: use --output option instead of redirect;
74236	  nmake does not remove a target when the target file is created by
74237	  redirect. [ruby-dev:26466]
74238
74239	* test/ripper/tools/preproc.rb: new option --output.
74240
74241Fri Sep 23 06:57:52 2005  Minero Aoki  <aamine@loveruby.net>
74242
74243	* test/ripper/tools/generate.rb: check parser event arity.
74244
74245	* test/ripper/tools/generate.rb: detect crash of parser-event-IDs
74246	  and scanner-event-IDs.
74247
74248Fri Sep 23 06:01:30 2005  Minero Aoki  <aamine@loveruby.net>
74249
74250	* test/ruby/test_file.rb: check File#chown(nil,nil).
74251	  [ruby-dev:27140]
74252
74253Fri Sep 23 05:57:23 2005  Minero Aoki  <aamine@loveruby.net>
74254
74255	* ext/ripper: refactoring code generation tools. [ruby-dev:27247]
74256	  [ruby-dev:27273]
74257
74258	* ext/ripper/depend: use generate.rb.
74259
74260	* ext/ripper/lib/ripper/core.rb: removed.
74261
74262	* ext/ripper/tools/generate-eventids1.rb: removed (code moved to
74263	  generate.rb).
74264
74265	* ext/ripper/tools/generate-ripper_rb.rb: removed (code moved to
74266	  generate.rb).
74267
74268	* ext/ripper/tools/list-parse-event-ids.rb: removed (code moved to
74269	  generate.rb).
74270
74271	* ext/ripper/tools/list-scan-event-ids.rb: removed (code moved to
74272	  generate.rb).
74273
74274	* ext/ripper/lib/ripper/core.rb: removed.
74275
74276	* ext/ripper: refactoring tests. [ruby-dev:27273]
74277
74278	* ext/ripper/test/check-event-arity.rb: removed (code moved to
74279	  tools/generate.rb).
74280
74281	* ext/ripper/test/check-event-coverage.rb: removed (code moved to
74282	  test/ripper/test_parser_events.rb).
74283
74284	* ext/ripper/test/check-scanner-event-coverage.rb: removed (code
74285	  moved to test/ripper/test_scanner_events.rb).
74286
74287	* ext/ripper/test/list-called-events.rb: removed.
74288
74289	* ext/ripper/test/src_rb: removed.
74290
74291	* ext/ripper/test/validate.rb: removed.
74292
74293	* test/ripper/test_scanner_events.rb: check event coverage.
74294
74295	* ext/ripper/lib/ripper/core.rb.in: update copyright year.
74296
74297Thu Sep 22 23:40:19 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74298
74299	* lib/mkmf.rb (find_executable0): default path if environment is not
74300	  set.  [ruby-dev:27281]
74301
74302	* ext/ripper/extconf.rb (have_command): replaced with find_executable.
74303
74304Thu Sep 22 17:31:48 2005  Shugo Maeda  <shugo@ruby-lang.org>
74305
74306	* test/readline/test_readline.rb (TestReadline::replace_stdio):
74307	  merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223].
74308	  (merged from ruby_1_8 branch)
74309
74310Wed Sep 21 23:30:44 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74311
74312	* lib/mkmf.rb (configuration): generalized nmake dependent code.
74313
74314Wed Sep 21 14:16:30 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
74315
74316	* ext/ripper/depend (SUFFIXES): no longer needed.
74317
74318	* ext/ripper/depend (c): avoid nmake problem. fixed [ruby-dev:27191]
74319
74320Wed Sep 21 08:52:25 2005  why the lucky stiff  <why@ruby-lang.org>
74321
74322	* ext/syck/token.c: correctly compute indentation of a block
74323	  scalar's parent node. [ruby-talk:150620]
74324
74325Wed Sep 21 08:20:24 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74326
74327	* README.EXT, README.EXT.ja: add new features.
74328
74329Wed Sep 21 07:43:58 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74330
74331	* lib/optparse.rb (default_argv, Arguable#options): defaults strings
74332	  to be parsed to Arguable instance.
74333
74334Wed Sep 21 02:44:09 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74335
74336	* file.c (path_check_0): disallow sticky world writable directory
74337	  in PATH (and $LOAD_PATH).  [ruby-dev:27226]
74338
74339Wed Sep 21 00:32:22 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74340
74341	* numeric.c (fix_idiv): 1.div(1.0) should return integer value.
74342	  [ruby-dev:27235]
74343
74344Tue Sep 20 22:25:43 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74345
74346	* ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flag
74347	  is not available.  fixed: [ruby-dev:27187]
74348
74349	* file.c (rb_stat_inspect): protoized function pointer.
74350
74351Tue Sep 20 18:23:04 2005  Tanaka Akira  <akr@m17n.org>
74352
74353	* eval.c (thread_mark): mark th->last_status.  [ruby-dev:27179]
74354
74355Tue Sep 20 18:20:33 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74356
74357	* lib/yaml.rb: require 'yaml/constants'.  [ruby-core:5776]
74358
74359Tue Sep 20 17:48:34 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74360
74361	* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset
74362	  information to content-type header.[ruby-core:5127]
74363
74364	* lib/xmlrpc/server.rb (CGIServer::serve): ditto.
74365
74366	* lib/xmlrpc/server.rb (ModRubyServer::serve): ditto.
74367
74368	* lib/xmlrpc/server.rb (WEBrickServlet::service): ditto.
74369
74370Tue Sep 20 17:26:42 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74371
74372	* test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on
74373	  windows. bcc32's runtime is not installed into system directory,
74374	  so it cannot be found without this setting. [ruby-dev:27166]
74375
74376Tue Sep 20 17:14:10 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74377
74378	* io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.
74379	  [ruby-dev:27185]
74380
74381Tue Sep 20 17:10:38 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74382
74383	* test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
74384	  test_s_open_error test to detect duplicate open.
74385	  [ruby-dev:27202]
74386
74387Tue Sep 20 15:39:40 2005  why the lucky stiff  <why@ruby-lang.org>
74388
74389	* ext/syck/emitter.c (syck_scan_scalar): prevent indicators from
74390	  appearing alone or at the end of plain scalars. [ruby-core:5826]
74391
74392	* ext/syck/emitter.c (syck_emit_scalar): treat typed scalar nodes
74393	  as complex keys.
74394
74395	* lib/syck.h: version 0.60.
74396
74397	* lib/yaml/basenode.rb (YAML::BaseNode#at): transform keys during
74398	  key searches.
74399
74400	* ext/syck/rubyext.c: loading of binary-typed nodes.  prevent
74401	  emission of plain strings that look like symbols, but which aren't.
74402
74403Tue Sep 20 05:48:26 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74404
74405	* test/xmlrpc/test_webrick_server.rb (setup_http_server):
74406	  should not include 'webrick/https' unless 'use_ssl' because
74407	  it fails where openssl is not installed.
74408
74409Tue Sep 20 01:24:45 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74410
74411	* eval.c (splat_value): use to_a to splat non Array object.
74412
74413	* object.c (nil_to_a): remove nil.to_a.  [experimental]
74414
74415Tue Sep 20 01:01:41 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74416
74417	* lib/mathn.rb (Fixnum): remove debug print.
74418
74419	* lib/rational.rb (Rational): ditto.
74420
74421Tue Sep 20 00:34:07 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74422
74423	* io.c (io_close): call rb_io_close() directly if io is a T_FILE
74424	  object.  [ruby-dev:27156]
74425
74426Mon Sep 19 18:58:10 2005  Minero Aoki  <aamine@loveruby.net>
74427
74428	* file.c (rb_file_chown): should accept nil. [ruby-dev:27171]
74429
74430Mon Sep 19 18:29:54 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74431
74432	* file.c (file_expand_path): allow pathnames to expand.
74433	  [ruby-dev:27152]
74434
74435Mon Sep 19 15:12:15 2005  Minero Aoki  <aamine@loveruby.net>
74436
74437	* ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]
74438
74439Mon Sep 19 14:49:19 2005  Minero Aoki  <aamine@loveruby.net>
74440
74441	* ext/ripper/eventids2.c: add prefix `t' to tLAMBDA-related lexer
74442	  events.
74443
74444	* ext/ripper/lib/ripper/core.rb: updated.
74445
74446Mon Sep 19 14:39:46 2005  Minero Aoki  <aamine@loveruby.net>
74447
74448	* parse.y (do_block): do_block event dispatches 2 args.
74449	  [ruby-dev:26964]
74450
74451	* ext/ripper/lib/ripper/core.rb: updated.
74452
74453	* ext/ripper/tools/list-parser-event-ids.rb: check arity mismatch.
74454
74455Mon Sep 19 07:45:37 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
74456
74457	* ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:
74458	  an instance variable "private" is added to OpenSSL::PKey class.
74459	  this ivar is a flag that shows whether there is a private key
74460	  in the instance.
74461
74462	* ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private
74463	  key flag.
74464
74465	* test/openssl/test_pkey_rsa.rb: add test about private detection.
74466
74467Mon Sep 19 06:38:03 2005  Minero Aoki  <aamine@loveruby.net>
74468
74469	* lib/fileutils.rb: method renaming: collect_methods ->
74470	  collect_method.
74471
74472Mon Sep 19 05:58:59 2005  Minero Aoki  <aamine@loveruby.net>
74473
74474	* lib/fileutils.rb: use module_function instead of single extend.
74475
74476	* test/fileutils/test_fileutils.rb: test existence of singleton
74477	  methods.
74478
74479Mon Sep 19 05:32:41 2005  Minero Aoki  <aamine@loveruby.net>
74480
74481	* lib/fileutils.rb (remove_entry_secure): does not use chdir(2).
74482
74483Mon Sep 19 03:17:48 2005  Tanaka Akira  <akr@m17n.org>
74484
74485	* file.c (rb_thread_flock): wrap the flock system call by
74486	  TRAP_BEG/TRAP_END to enable signals.  [ruby-dev:27122]
74487
74488	* ext/socket/socket.c (bsock_send): wrap the sendto and send system
74489	  call by TRAP_BEG/TRAP_END to enable signals when writing to a socket
74490	  which is full.  [ruby-dev:27132]
74491
74492	* io.c (rb_io_syswrite): wrap the write system call by
74493	  TRAP_BEG/TRAP_END to run signal handler in syswrite method.
74494	  [ruby-dev:27134]
74495
74496Mon Sep 19 01:07:38 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74497
74498	* numeric.c (Init_Numeric): should define Fixnum#div.
74499	  [ruby-dev:27129]
74500
74501	* file.c (rb_thread_flock): wrap flock(2) by TRAP_BEG and
74502	  TRAP_END.  [ruby-dev:27122]
74503
74504	* file.c (rb_file_join): call FilePathValue() to all Pathnames to
74505	  join.  [ruby-dev:27127]
74506
74507	* file.c (rb_get_path): call StringValueCStr() to ensure no nul
74508	  bytes in path strings.
74509
74510	* gc.c (garbage_collect): need value for return.  [ruby-dev:27127]
74511
74512Sun Sep 18 02:10:47 2005  why the lucky stiff  <why@ruby-lang.org>
74513
74514	* lib/yaml/rubytypes.rb: remove comments that are bungling up
74515	  the rdoc and ri output.  output symbols as plain scalars.
74516
74517	* ext/syck/rubyext.c (syck_emitter_reset): emit headless
74518	  documents always.
74519
74520	* ext/syck/emitter.c (syck_scan_scalar): quote scalars with any
74521	  kind of surrounding line space, tabs or spaces alike.
74522
74523	* ext/syck/token.c: accept tabs as whitespace, not for indentation,
74524	  but strip from plain scalars.
74525
74526	* test/yaml/test_yaml.rb: remove outdated tests.
74527
74528Sun Sep 18 01:10:37 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74529
74530	* gc.c (garbage_collect): return false if no GC run.
74531
74532Sat Sep 17 23:25:04 2005  sheepman  <sheepman@sheepman.sakura.ne.jp>
74533
74534	* lib/mathn.rb (Rational::inspect): should preserve original
74535	  operand.  [ruby-core:05806]
74536
74537Sat Sep 17 23:20:27 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74538
74539	* lib/cgi.rb (CGI::Cookie): should handle multiple values for a
74540	  cookie name.  [ruby-talk:156140]
74541
74542	* test/socket/test_tcp.rb (TestTCPSocket::test_recvfrom): typo
74543	  fixed.  [ruby-dev:27123]
74544
74545Sat Sep 17 20:58:56 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74546
74547	* win32/win32.c (rb_w32_select): fixed deadlock bug.
74548	  because select(2) modifies its fd_set arguments, it must be
74549	  restored sometimes.
74550
74551	* win32/win32.c (rb_w32_select): performance improvement when
74552	 'always readable/writable handles' and sockets are passed.
74553	  sockets should be polled every time.
74554
74555	    require "net/http"
74556
74557	    Thread.new {
74558	      loop do
74559		STDOUT.write(".") # busy on console (this is worst case though)
74560	      end
74561	    }
74562
74563	    # socket operation took long time. (sometimes timed out)
74564	    Net::HTTP.start("www.ruby-lang.org") do |http|
74565		http.get("/cgi-bin/cvsweb.cgi/ruby/array.c?rev=1.179")
74566	    end
74567
74568Sat Sep 17 14:54:40 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74569
74570	* test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):
74571	  these tests are working now, so turned on. (windows)
74572
74573Sat Sep 17 14:18:15 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74574
74575	* win32/win32.c (rb_w32_select): I hope performance problem was
74576	  solved.
74577
74578Sat Sep 17 13:45:22 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74579
74580	* win32/win32.c (rb_w32_select): console support is back.
74581	  but still has performance problem because I loosely took 1 second
74582	  for wait time. I'll fix it later. (The reason I drastically changed
74583	  the code is that I wanted to implement the fileset management as
74584	  single function, and I was worried that if pipe or console
74585	  was always available, socket may not be processed any time)
74586
74587Sat Sep 17 11:24:16 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74588
74589	* win32/win32.c (rb_w32_select): select for socket didn't work.
74590	  this caused deadlock in drb test. this happened because GetFileType
74591	  for socket handle returns FILE_TYPE_PIPE. Of course, it's not a
74592	  pipe. So socket handle didn't reach winsock's select function.
74593
74594	* win32/win32.c (rb_w32_select): read for pipe was still blocked
74595	  even if writer handle was closed.
74596
74597	    r,w = IO.pipe
74598
74599	    Thread.new {
74600	      sleep 3; puts "------- 1"
74601	      w.puts("foo")
74602	      sleep 3; puts "------- 2"
74603	      w.puts("boo")
74604	      sleep 3; puts "------- 3"
74605	      w.close
74606	    }
74607
74608	    until r.eof? # should break by w.close but didn't.
74609	      puts r.gets
74610	    end
74611
74612	* win32/win32.c (rb_w32_select): temporary reverted console support
74613	  but it'll be back soon.
74614
74615Sat Sep 17 10:42:13 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
74616
74617	* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
74618	  should call Kernel.eval on caller's safe-level instead of slave's
74619	  safe-level (Of course, the given script should be evaluated on
74620	  slave's safe-level).
74621
74622Sat Sep 17 09:45:26 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74623
74624	* string.c (rb_str_substr): should propagate taintness even for
74625	  empty strings.  [ruby-dev:27121]
74626
74627	* string.c (rb_str_aref): should infect result if range argument
74628	  is tainted.  [ruby-dev:27121]
74629
74630Sat Sep 17 08:35:39 2005  Kouhei Sutou  <kou@cozmixng.org>
74631
74632	* lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixed
74633	  strange RSS::Maker::Item#max_size behavior.
74634	  Thanks to Kazuhiko <kazuhiko@fdiary.net>.
74635
74636	* test/rss/test_maker_1.0.rb (RSS::TestMaker10#test_items): ditto.
74637
74638Sat Sep 17 08:02:53 2005  Shugo Maeda  <shugo@ruby-lang.org>
74639
74640	* lib/net/imap.rb: supported DIGEST-MD5.  Thanks, Mathieu Arnold.
74641
74642	* lib/net/imap.rb: use fcall instead of send.  Thanks, Satoru
74643	  Takabayashi.
74644
74645Fri Sep 16 22:45:49 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74646
74647	* file.c (rb_file_s_extname): empty string for path name ending with a
74648	  period.  fixed: [ruby-core:05651]
74649
74650	* file.c (rb_file_join): smarter behavior at edge cases.
74651	  fixed: [ruby-core:05706]
74652
74653	* gc.c (rb_memerror, ruby_xmalloc, ruby_xrealloc, rb_newobj): just
74654	  abandon if no memory available, when interpreter is not running.
74655	  [ruby-dev:27104]
74656
74657	* gc.c (garbage_collect): return whether GC could run.
74658
74659	* dir.c (rb_push_glob): fix delimiter bug.  fixed: [ruby-dev:27105]
74660
74661	* dir.c (dir_s_aref, dir_s_glob): allow multiple patterns.
74662	  [ruby-dev:27110]
74663
74664	* win32/win32.c (cmdglob): enable brace expansion.
74665
74666Fri Sep 16 18:34:01 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74667
74668	* ext/syck/node.c (syck_replace_str): was using return from the
74669	  void function.  a patch from MIYAMUKO Katsuyuki
74670	  <miyamuko at mtb.biglobe.ne.jp>.  [ruby-dev:27111]
74671
74672Fri Sep 16 14:48:48 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
74673
74674	* ext/tk/lib/multi-tk.rb: fix typo on MultiTkIp#bg_eval_string
74675
74676Fri Sep 16 12:02:12 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74677
74678	* ext/syck/rubyext.c (syck_resolver_transfer): remove C++ style
74679	  comment (//).  [ruby-core:05793]
74680
74681Fri Sep 16 00:17:03 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
74682
74683	* test/logger/test_logger.rb: unintentionally overwritten changes by
74684	  Usa.  reverted.
74685
74686Fri Sep 16 00:03:11 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
74687
74688	* lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set
74689	  $stdout.binmode.
74690
74691Thu Sep 15 23:25:21 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
74692
74693	* lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.
74694
74695	  #nnn is a ticket number at http://dev.ctor.org/soap4r
74696
74697	  * SOAP
74698
74699	    * allow to configure an envelope namespace of SOAP request. (#124)
74700		TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope'
74701		@client.options["soap.envelope.requestnamespace"] =
74702		  TemporaryNamespace
74703		@client.options["soap.envelope.responsenamespace"] =
74704		  TemporaryNamespace
74705		@client.do_proc(...)
74706
74707	    * let SOAP request XML indent space configurable.  see
74708	      "soap.envelope.no_indent" option. (#130)
74709
74710	    * let external CES configurable.
74711	      ex. client["soap.mapping.external_ces"] = 'SJIS'.  $KCODE is used
74712	      by default. (#133)
74713		external CES ::= CES used in Ruby object of client and server
74714		internal CES ::= CES used in SOAP/OM
74715
74716	    * add iso-8859-1 external CES support. (#106)
74717
74718	    * fixed illegal 'qualified' handling of elements.  it caused
74719	      ASP.NET interoperability problem. (#144)
74720
74721	    * added 'soap.envelope.use_numeric_character_reference' (boolean)
74722	      option to let query XML use numeric character reference in XML,
74723	      not plain UTF-8 character.  !GoogleSearch server seems to not
74724	      allow plain UTF-8 character since 2005-08-15 update. (#147)
74725
74726	    * SOAP::Header::SimpleHeader (de)serialization throws an exception
74727	      on !SimpleHeader.on_(in|out)bound when header is a String.  so we
74728	      could not use a simple single element headerItem.  fixed.  thanks
74729	      to emil. (#129)
74730
74731	    * out parameter of rpc operation did not work.  (#132)
74732
74733	    * follow HTTP redirect only if using http-access2.  (#125) (#145)
74734
74735	    * add a workaround for importing an WSDL whose path begins with
74736	      drive letter.  (#115)
74737
74738	  * WSDL
74739
74740	    * SOAP Data which is defined as a simpletype was not mapped
74741	      correctly to Ruby obj when using wsdl2ruby.rb generated classdef
74742	      file. (#123)
74743
74744	    * rpc/literal support. (#118)
74745
74746	    * re-implemented local element qualify/unqualify control.  handles
74747	      elementFormDefault and form in WSDL.  (#119)
74748
74749	    * Array of an element which has simpleType causes a crash. (#128)
74750
74751	    * parameterOrder may not contain return part so it can be shorter
74752	      than parts size.  Thanks to Hugh.  (#139)
74753
74754	  * Samples
74755
74756	    * added !BasicAuth client sample. (#117)
74757
74758	    * added Base64 client/server sample.
74759
74760	    * added Flickr SOAP interface client sample. (#122)
74761
74762	    * added !SalesForce client sample. (#135)
74763
74764	    * updated Thawte CA certificate for !GoogleAdWords sample.
74765
74766	    * updated a client script with the newer version made by Johan.
74767	      thanks!
74768
74769	    * shortened long file names. (#120)
74770
74771	    * fixed typo in authheader sample. (#129)
74772
74773	    * updated deprecated method usage.  (#138)
74774
74775Thu Sep 15 22:40:27 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
74776
74777	* test/ruby/test_signal.rb (test_exit_action): skip the test using
74778	  fork on fork-less platforms.
74779
74780Thu Sep 15 13:54:33 2005  Tanaka Akira  <akr@m17n.org>
74781
74782	* lib/open-uri.rb: add :read_timeout option.
74783	  [ruby-core:4848]
74784
74785Thu Sep 15 11:39:18 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
74786
74787	* ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,
74788	  TkDialogObj#name raises an exception. [ruby-talk:156109]
74789
74790Thu Sep 15 11:01:58 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
74791
74792	* win32/win32.c (rb_w32_pipe_exec): remove unnecessary CloseHandle().
74793
74794	* win32/win32.c (extract_console_fd, peek_console): new functions.
74795
74796	* win32/win32.c (rb_w32_select): check consoles by polling them.
74797
74798Thu Sep 15 00:18:24 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74799
74800	* lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread with
74801	  readpartial.  [ruby-talk:127641]
74802
74803Wed Sep 14 23:28:28 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
74804
74805	* win32/win32.c (collect_file_fd): rename from extract_file_fd.
74806
74807	* win32/win32.c (extract_pipe_fd, peek_pipe): new functions.
74808
74809	* win32/win32.c (rb_w32_select): check pipes by polling them.
74810
74811Wed Sep 14 22:40:26 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74812
74813	* dir.c (ruby_glob): glob function not using ruby exception system.
74814
74815Wed Sep 14 17:24:22 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74816
74817	* dir.c: changed `foo (*bar)_((boo))' to `foo (*bar)(boo)`.
74818
74819	* enumerator.c, eval.c, gc.c, intern.h, io.c, process.c, ruby.c,
74820	  ruby.h, signal.c: ditto.
74821
74822Wed Sep 14 15:06:22 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74823
74824	* bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
74825
74826	* defines.h, dir.c, dln.h, enumerator.c, env.h, error.c, eval.c, file.c,
74827	  gc.c, hash.c, inits.c, intern.h, io.c, lex.c, marshal.c, missing.h,
74828	  node.h, numeric.c, pack.c, process.c, re.h, ruby.c, ruby.h, rubyio.h,
74829	  rubysig.h, signal.c, sprintf.c, st.h, string.c, struct.c, time.c,
74830	  util.c, util.h, variable.c: ditto.
74831
74832Tue Sep 13 22:09:40 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
74833
74834	* lib/logger.rb (Logger): added formatter accessor to logger for
74835	  dictating the way in which the logger should format the messages it
74836	  displays.  Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and
74837	  Daniel Berger.
74838
74839	* lib/logger.rb (Logger): added VERSION constant.
74840
74841	* lib/logger.rb: removed document for LogDevice. It is an
74842	  implementation detail and is not a public interface.
74843
74844	* test/logger/test_logger.rb: added tests.
74845
74846Tue Sep 13 21:47:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74847
74848	* eval.c (BEGIN_CALLARGS): pop halfly pushed status.
74849	  fixed: [ruby-dev:26881]
74850
74851Tue Sep 13 20:24:37 2005  Tanaka Akira  <akr@m17n.org>
74852
74853	* ruby.h (PRINTF_ARGS): new macro for printf style argument checking.
74854
74855Tue Sep 13 15:41:29 2005  Minero Aoki  <aamine@loveruby.net>
74856
74857	* lib/net/http.rb: wrote documentation of HTTPRequest/HTTPResponse
74858	  classes.
74859
74860Tue Sep 13 14:27:47 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74861
74862	* string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0
74863	  because of crypt argument's constness mismatch. (I hope this works)
74864	  (http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz)
74865
74866Tue Sep 13 12:33:05 2005  why the lucky stiff  <why@ruby-lang.org>
74867
74868	* lib/yaml.rb: reworking YAML::Stream to use the new
74869	  emitter.
74870
74871	* lib/yaml/stream.rb: ditto.
74872
74873	* lib/yaml/rubytypes.rb: added Object#yaml_new.
74874
74875	* lib/yaml/tag.rb: the tag_subclasses? method now
74876	  shows up in the class.  allow taguri to be set using an accessor.
74877	  continue support of Object#to_yaml_type.
74878
74879	* ext/syck/rubyext.c: new emitter code.  yaml_new and yaml_initialize
74880	  get called, should they be present.  consolidated all the diaspora of 	  internal node types into the family below YAML::Syck::Node -- Map,
74881	  Seq, Scalar -- all of whom are SyckNode structs pointing to
74882	  Ruby data.  moved Object#yaml_new into the node_import and made it
74883	  the default behavior.  the target_class is always called with
74884	  yaml_new, prepended a parameter, which is the klass.  loaded nodes
74885	  through GenericResolver show their style.
74886	  new Resolver#tagurize converts type ids to taguris.
74887
74888	* ext/syck/implicit.re: were 'y' and 'n' seriously omitted??
74889
74890	* ext/syck/emitter.c: renovated emitter, walks the tree in advance.
74891	  consolidated redundant block_styles struct into
74892	  the scalar_style struct.  (this means loaded nodes can now
74893	  be sent back to emitter and preserve at least its very basic
74894	  formatting.)
74895
74896	* ext/syck/gram.c: headless documents of any kind allowed.
74897
74898	* ext/syck/node.c: new syck_replace_str methods and syck_empty_*
74899	  methods for rewriting node contents, while keeping the ID
74900	  and other setup info.  added syck_seq_assign.
74901
74902	* ext/syck/syck.h: reflect block_styles and new node functions.
74903
74904Tue Sep 13 08:09:18 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74905
74906	* lib/ostruct.rb (new_ostruct_member): Object#send no longer call
74907	  private methods.  [ruby-dev:27044]
74908
74909	* test/rss/test_dublincore.rb, test/rss/test_trackback.rb,
74910	  test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto.
74911
74912	* test/ruby/test_lambda (test_call_with_block): lambda makes new scope
74913	  for formal block parameter.
74914
74915Tue Sep 13 01:17:45 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74916
74917	* eval.c (proc_save_safe_level): no need to restrict safe level
74918	  memoize in $SAFE>=3.  [ruby-dev:27050]
74919
74920Tue Sep 13 00:02:33 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74921
74922	* file.c (apply2files): stricter callback definition.
74923
74924	* file.c (rb_path_check): constified.
74925
74926Mon Sep 12 20:53:06 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
74927
74928	* test/openssl/test_pkcs7.rb (test_enveloped): skip this test
74929	  to avoid a bug of PKCS7_encrypt() (only if ext/openssl is
74930	  compiled with OpenSSL-0.9.7d or earlier versions).
74931	  http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html
74932
74933Mon Sep 12 20:32:00 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74934
74935	* win32/win32.[hc] (rb_w32_argv_size, ...): reverted my latest change
74936	  to avoid incompatible pointer warning. (mingw32)
74937
74938Mon Sep 12 19:58:53 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74939
74940	* dln.c: avoid warning of const to non-const convertion.
74941	  [ruby-dev:27041]
74942
74943	* eval.c, io.c, ruby.c: ditto.
74944
74945Mon Sep 12 19:26:29 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
74946
74947	* array.c: moved to ANSI function style from K&R function style.
74948	  (used protoize on windows, so still K&R remains on #ifdef part of
74949	   other platforms. And  `foo _((boo))' stuff is still there)
74950	   [ruby-dev:26975]
74951
74952	* bignum.c, class.c, compar.c, dir.c, dln.c, dmyext.c, enum.c,
74953	  enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c,
74954	  io.c, main.c, marshal.c, math.c, numeric.c, object.c, pack.c,
74955	  prec.c, process.c, random.c, range.c, re.c, regcomp.c, regenc.c,
74956	  regerror.c, regexec.c, regparse.c, regparse.h, ruby.c, signal.c,
74957	  sprintf.c, st.c, string.c, struct.c, time.c, util.h, variable.c,
74958	  version.c: ditto.
74959
74960Mon Sep 12 14:03:33 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74961
74962	* test/dbm/test_dbm.rb: remove locking test, which may not be
74963	  supported on some platforms.  [ruby-dev:27030]
74964
74965Sun Sep 11 23:23:02 2005  Shugo Maeda  <shugo@ruby-lang.org>
74966
74967	* lib/net/imap.rb (starttls): supported the STARTTLS command.
74968
74969Sun Sep 11 22:18:07 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
74970
74971	* bin/erb (ERB::Main#run): set ERB#filename so that it is used
74972	  when reporting syntax/runtime errors. Tabs converted to spaces.
74973
74974Sat Sep 10 22:34:19 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74975
74976	* array.c, bignum.c: protoize.
74977
74978Sat Sep 10 00:23:01 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74979
74980	* eval.c (splat_value): simpler and consistent array conversion
74981	  for argument splat.  [yarv-dev:599]
74982
74983Fri Sep  9 16:45:25 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
74984
74985	* string.c (rb_str_times): make empty strings to keep taintness,
74986	  and a little improvement.  [ruby-dev:26900]
74987
74988	* ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of meta
74989	  characters in command line option.  fixed: [ruby-talk:155369]
74990
74991	* ext/iconv/iconv.c: protoized.
74992
74993Thu Sep  8 14:58:11 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
74994
74995	* merged a patch from Takahiro Kambe <taca at back-street.net> to
74996	  support DragonFly BSD.  [ruby-dev:26984]
74997
74998Thu Sep  8 13:14:57 2005  Tadashi Saito  <shiba@mail2.accsnet.ne.jp>
74999
75000	* missing/strchr.c (strrchr): fixed a bug in detecting NUL in a
75001	  string.  [ruby-dev:26985]
75002
75003Wed Sep  7 17:29:27 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75004
75005	* ext/openssl/ossl_engine.c (ossl_engine_s_by_id):
75006	  OpenSSL::Engine.by_id calls given block before calling
75007	  ENGINE_init (block parameter is the return value of this method
75008	  itself).  this functionality is useful to load dynamic shared
75009	  engines.
75010
75011		require "openssl"
75012		pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e|
75013		  e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so")
75014		  e.ctrl_cmd("LIST_ADD", "1")
75015		  e.ctrl_cmd("LOAD")
75016		}
75017		pkcs11.ctrl_cmd("PIN", "secret")
75018		key = pkcs11.load_private_key
75019
75020	* ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method
75021	  OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string.
75022
75023	* ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method
75024	  OpenSSL::Engine#cmds. it returns engine command definitions.
75025
75026Wed Sep  7 15:48:37 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75027
75028	* ext/openssl/ossl_asn1.c (asn1str_to_str): new function.
75029
75030	* ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo.
75031	  this class wraps PKCS7_RECIP_INFO struct.
75032
75033	* ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to
75034	  OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of
75035	  SignerInfo.)
75036
75037	* test/openssl/test_pkcs7.rb: new file.
75038
75039Wed Sep  7 12:55:08 2005  Tanaka Akira  <akr@m17n.org>
75040
75041	* lib/open-uri.rb: abolish mod === tempfile to avoid a problem
75042	  [ruby-dev:26967].
75043
75044Wed Sep  7 10:45:15 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75045
75046	* eval.c (rb_thread_switch): convert all exceptions to
75047	  SystemExit.  fixed: [ruby-core:05724]
75048
75049	* eval.c (rb_thread_terminated): show backtrace before propagate
75050	  exceptions to main thread.
75051
75052Wed Sep  7 09:21:41 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75053
75054	* win32/win32.[hc] (rb_w32_utime): constified.
75055
75056	* win32/win32.h (rb_w32_stat): added prototype.
75057
75058	* win32/win32.[hc] (rb_w32_argv_size,rb_w32_join_argv,rb_w32_aspawn):
75059	  changed `char *const *' to `const char *const *'. (constify string)
75060
75061Wed Sep  7 08:35:04 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75062
75063	* Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
75064	  extension libraries.
75065
75066	* bignum.c (bignew_1, bigadd): K&R style argument actually can't be
75067	  defined as char.
75068
75069	* missing/vsnprintf.c: ANSI compiler supports const keyword.
75070
75071	* ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h
75072	  but no 64bit integer.
75073
75074	* lib/mkmf.rb (what_type?): guesstimate type.
75075
75076	* ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
75077	  char*.  fixed: [ruby-core:05470]
75078
75079Wed Sep  7 08:32:07 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75080
75081	* string.c (rb_str_times): should taint empty strings as well.
75082
75083	* object.c (Init_Object): make class_variable_{get,set} public.
75084	  [ruby-dev:26965]
75085
75086Mon Sep  5 22:28:46 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75087
75088	* parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be
75089	  nothing.  fixed: [ruby-dev:26952]
75090
75091	* ext/ripper/eventids2.c: added new tokens.  fixed: [ruby-dev:26952]
75092
75093Mon Sep  5 17:03:07 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75094
75095	* lib/find.rb: should raise ENOENT if root entry does not exist.
75096	  [ruby-list:41054]
75097
75098	* lib/ostruct.rb: a patch from Florian Gross <florgro at gmail.com>
75099	  merged to allow recursive inspect (and to_s) for OpenStruct.
75100	  [ruby-core:05532]
75101
75102Mon Sep  5 08:20:19 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75103
75104	* lib/observer.rb: a patch from nornagon <nornagon at gmail.com>
75105	  merged to allow arbitrary names for update methods.
75106	  [ruby-core:05416]
75107
75108Mon Sep  5 07:01:12 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75109
75110	* ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):
75111	  should clear data from the buffer which already been output.
75112
75113Sun Sep  4 15:01:35 2005  Minero Aoki  <aamine@loveruby.net>
75114
75115	* parse.y (f_arg): Ripper should not do semantic check.
75116	  [ruby-dev:26948]
75117
75118Sat Sep  3 23:52:35 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75119
75120	* eval.c (rb_f_fcall): new method to avoid inefficiency of
75121	  obj.instance_eval{send(...)} tricks.
75122
75123Sat Sep  3 13:59:31 2005  Tanaka Akira  <akr@m17n.org>
75124
75125	* lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend
75126	  didn't yield "."
75127	  (Pathname#ascend): ditto.
75128
75129Fri Sep  2 23:51:54 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75130
75131	* parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID.
75132	  fixed: [ruby-dev:26942]
75133
75134	* lib: do not use __send__ to access private methods.  [ruby-dev:26935]
75135
75136Thu Sep  1 17:11:25 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75137
75138	* eval.c (rb_call0): wrong condition for $SAFE restoration.
75139
75140Thu Sep  1 14:12:45 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75141
75142	* ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't
75143	  work (gives wrong order of arguments).
75144
75145	* ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace
75146	  to support '-namespace' option of 'interp invokehidden' command
75147	  on Tcl8.5.
75148
75149Wed Aug 31 14:41:30 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
75150
75151	* win32/Makefile.sub (OPTFLAGS): default global optimization to
75152	  disabled for all VC++ versions.  fixed: [ruby-dev:26897]
75153
75154Wed Aug 31 10:36:09 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75155
75156	* process.c (proc_detach, proc_setmaxgroups): missing argument type
75157	  declaration. (I recommend ANSI-style function)
75158
75159Wed Aug 31 06:59:01 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75160
75161	* string.c (rb_str_scan): already String#scan behaves differently
75162	  regarding if block is given.
75163
75164Tue Aug 30 23:49:34 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75165
75166	* array.c, dir.c, enum.c, hash.c, io.c, range.c, string.c, struct.c:
75167	  let enumerable methods return Enumerator.  [ruby-dev:26924]
75168
75169	* intern.h (RETURN_ENUMERATOR): utility macro for enumerable methods.
75170
75171Tue Aug 30 23:25:45 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
75172
75173	* lib/debug.rb: no need to restart at exit.
75174
75175Tue Aug 30 23:20:19 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75176
75177	* eval.c (rb_rescue2): initialization miss.  fixed: [ruby-dev:26917]
75178
75179	* lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.
75180
75181	* lib/mkmf.rb (link_command, cc_command, cpp_command): expand
75182	  variables at once, and quote hdrdir.  fixed: [ruby-core:05680]
75183
75184	* lib/mkmf.rb (libpathflag): quote paths.
75185
75186Tue Aug 30 19:34:27 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75187
75188	* ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h,
75189	  ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid
75190	  error in compilation with OpenSSL-0.9.8. [ruby-list:41068]
75191
75192Tue Aug 30 16:19:40 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
75193
75194	* lib/irb/init.rb: bug fix. [ruby-dev: 26920]
75195
75196Tue Aug 30 16:13:00 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75197
75198	* enum.c (enum_count): new method.  [ruby-dev:26895]
75199
75200Tue Aug 30 12:45:15 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75201
75202	* eval.c (rb_f_send): do not call private methods if the receiver
75203	  is specified.  [ruby-talk:153672]
75204
75205Mon Aug 29 19:47:18 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75206
75207	* lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]
75208
75209	* lib/rdoc/usage.rb: support the case when non-ruby code exists before
75210	  shebang. (this is needed when ri.bat is executed on windows)
75211
75212Mon Aug 29 18:58:05 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
75213
75214	* lib/irb/init.rb: make IRB -I option that is same behavior for ruby.
75215	  [ruby-dev:26872]
75216
75217	* lib/irb/locale.rb: support to print help message when OS locale is
75218	  ja_JP.utf-8. [ruby-dev:26872]
75219
75220Mon Aug 29 01:43:05 2005  Tanaka Akira  <akr@m17n.org>
75221
75222	* lib/pathname.rb (Pathname#descend): new method.
75223	  (Pathname#ascend): ditto.
75224
75225Mon Aug 29 00:35:09 2005  Tanaka Akira  <akr@m17n.org>
75226
75227	* lib/time.rb: require 'date/format' instead of 'parsedate'.
75228	  (Time.parse): extract fractional seconds using Date._parse.
75229	  (Time.strptime): extract fractional seconds using Date._strptime.
75230	  [ruby-talk:153859]
75231
75232Sat Aug 27 20:13:31 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75233
75234	* ext/curses/curses.c ({curses,window}_clrtoeol): added. suggested
75235	  by Reyn Vlietstra.
75236
75237	* ext/curses/curses.c: chtype in curses is not `char', rather `long'.
75238	  [ruby-Bugs:2298]
75239
75240	* ext/curses/view.rb: String =~ String is deprecated.
75241
75242Thu Aug 25 15:48:58 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75243
75244	* ext/win32ole/win32ole.c: suppress warnings. (win32)
75245
75246Wed Aug 24 11:01:26 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
75247
75248	* test/logger/test_logger.rb (test_shifting_size): should close log
75249	  device before unlink, since some platform cannot unlink opened
75250	  file.
75251
75252Tue Aug 23 06:07:02 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75253
75254	* ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.
75255	  these features are enabled if this library is compiled with
75256	  OpenSSL 0.9.8 or later.
75257
75258	* test/openssl/test_digest.rb: add test for new digests.
75259
75260Tue Aug 23 05:47:04 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75261
75262	* ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode
75263	  the argument as a string.
75264
75265	* ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method.
75266
75267	* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should
75268	  set @time to avoid warning.
75269
75270	* ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths,
75271	  X509_STORE_add_cert, X509_STORE_add_crl): should raise error if
75272	  wrapped functions fails.
75273
75274	* ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message.
75275
75276	* ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid
75277	  of unused variable.
75278
75279	* test/openssl/test_ns_spki.rb: add new file.
75280
75281	* test/openssl/test_x509store.rb: add test for error.
75282
75283Tue Aug 23 01:11:40 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75284
75285	* sprintf.c (ruby__sfvwrite): should move `buf' to the end of
75286	  `result'. [ruby-dev:26859]
75287
75288Mon Aug 22 23:51:19 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75289
75290	* parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with
75291	  RE_OPTION_ONCE.  [ruby-dev:26852]
75292
75293Mon Aug 22 20:11:35 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75294
75295	* missing/vsnprintf.c (BSD__sprint): needs to call vwrite function
75296	  pointer.  fixed: [ruby-dev:26854]
75297
75298Sat Aug 20 23:55:25 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75299
75300	* parse.y (parser_yylex): update paren_nest for brackets [].
75301
75302Sun Aug 21 00:10:23 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
75303
75304	* lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): add
75305	  a workaround for importing an WSDL whose path begins with drive
75306	  letter.  [ruby-dev:26242]
75307
75308Sat Aug 20 22:05:25 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
75309
75310	* regexec.c (code_is_in_cclass_node): check code size.
75311	  [ruby-dev:26840]
75312
75313Sat Aug 20 22:37:13 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
75314
75315	* lib/logger.rb (write, shift_log?, shift_log): file shifting race
75316	  condition bug fixed.  [ruby-dev:26764]
75317
75318	* test/logger/test_logger.rb: tests.
75319
75320Fri Aug 19 18:13:39 2005  Tanaka Akira  <akr@m17n.org>
75321
75322	* lib/time.rb (Time.apply_offset): fix a problem with last day of
75323	  month.  reported by Lucas Nussbaum.  [ruby-talk:152866]
75324
75325Thu Aug 18 11:05:36 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
75326
75327	* win32/win32.c (socketpair_internal): need to call open_ifs_socket()
75328	  to create sockets instead of winsock's socket().
75329	  fixed: [yarv-dev:581]
75330
75331Wed Aug 17 23:58:05 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75332
75333	* eval.c (terminate_process): take String message.
75334
75335	* eval.c (rb_thread_switch): propagate the exception caused thread
75336	  termination directly.  fixed: [ruby-core:05552]
75337
75338Wed Aug 17 21:20:05 2005  NARUSE, Yui  <naruse@ruby-lang.org>
75339
75340	* ext/nkf/lib/kconv.rb: ensure that symbol_to_option is private_class_method
75341	  and all other methods are module_function
75342	  fixed: [ruby-dev:26808]
75343
75344Wed Aug 17 00:05:46 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75345
75346	* eval.c (rb_add_method): preserve safe level in the environment
75347	  where a method is defined .
75348
75349	* eval.c (rb_call0): restore preserved safe level in the method
75350	  execution.
75351
75352	* parse.y (lambda): need separate block variable stack
75353	  manipulation and lpar_beg maintenance.  based on a patch found
75354	  in [ruby-core:05551] from Mauricio Fernandez <mfp at acm.org>.
75355
75356	* parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and
75357	  kDO_LAMBDA. [ruby-core:05551]
75358
75359Mon Aug 15 07:24:38 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75360
75361	* intern.h (rb_check_to_integer): add declaration.
75362
75363	* object.c (rb_to_integer, rb_check_to_integer): argument constified.
75364
75365Mon Aug 15 00:38:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75366
75367	* eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE.
75368	  [ruby-dev:26800]
75369
75370	* range.c (range_check, range_init): reduce useless exceptions.
75371
75372Mon Aug 15 00:34:11 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75373
75374	* parse.y (yycompile): remove unreachable code.  [yarv-dev:570]
75375
75376Sat Aug 13 22:16:12 2005  Minero Aoki  <aamine@loveruby.net>
75377
75378	* lib/fileutils.rb (remove_entry_secure): forgot final chdir.
75379
75380Sat Aug 13 22:07:49 2005  Minero Aoki  <aamine@loveruby.net>
75381
75382	* lib/fileutils.rb (remove_entry_secure): uses chdir(2) and check
75383	  if current directory is correct. [ruby-dev:26100] [ruby-dev:26226]
75384
75385Sat Aug 13 21:11:05 2005  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
75386
75387	* ext/win32ole/win32ole.c: add WIN32OLE_VARIANT class.
75388
75389	* ext/win32ole/tests/testall.rb: ditto.
75390
75391	* ext/win32ole/tests/testOLEVARIANT.rb: ditto.
75392
75393Sat Aug 13 18:51:26 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75394
75395	* eval.c (rb_block_pass): distinguish current block from others.
75396	  fixed: [ruby-dev:26274]
75397
75398	* ext/stringio/stringio.c (strio_set_string): disallow nil.
75399	  http://www.rubyist.net/~nobu/t/20050811.html#c05
75400
75401Sat Aug 13 08:01:59 2005  NARUSE, Yui  <naruse@ruby-lang.org>
75402
75403	* ext/nkf/lib/kconv.rb: Kconv.kconv is now alias of Kconv.conv
75404	* ext/nkf/lib/kconv.rb: remove nkf dependent symbols from SYMBOL_TO_OPTION
75405
75406Fri Aug 12 17:06:53 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75407
75408	* parse.y (f_larglist): allow optional arguments even when
75409	  parentheses are omitted.  based on Nobu's patch from
75410	  http://www.rubyist.net/~nobu/t/20050805.html
75411
75412	* parse.y (parser_yylex): update & maintain lpar_beg for detect
75413	  lambda parameters.
75414
75415Thu Aug 11 23:29:03 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75416
75417	* ext/stringio/stringio.c: keep holding string after closed.
75418
75419Thu Aug 11 20:48:40 2005  Tadashi Saito  <shiba@mail2.accsnet.ne.jp>
75420
75421	* numeric.c (fix_equal, fix_cmp, fix_gt, fix_ge, fix_lt, fix_le):
75422	  reduce coercing when a method knows about a operand type.
75423	  [ruby-dev:26789]
75424
75425Thu Aug 11 13:01:48 2005  Kouhei Sutou  <kou@cozmixng.org>
75426
75427	* lib/rss: fixed sort bug. [ruby-list:41018]
75428
75429	* lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):
75430	  removed self.
75431
75432	* lib/rss/maker/base.rb (RSS::Maker::ItemsBase#<=>): use #date
75433	  instead of @date.
75434	  (RSS::Maker::Base::self.def_array_element): added #size.
75435
75436	* lib/rss/maker/1.0.rb
75437	  (RSS::Maker::RSS10::Channel#to_rss,
75438	   RSS::Maker::RSS10::Items::Item#to_rss): cleared dc_dates set
75439	  upped by using #date.
75440
75441	* lib/rss/maker/dublincore.rb
75442	  (RSS::Maker::ChannelBase, RSS::Maker::ItemsBase::ItemBase):
75443	  fixed opposite alias.
75444
75445	* test/rss/test_setup_maker_1.0.rb
75446	  (RSS::TestSetupMaker10::test_setup_maker_items_sort): added some
75447	  tests for RSS::Maker::ItemsBase#do_sort.
75448
75449Wed Aug 10 12:01:20 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75450
75451	* lib/delegate.rb: simplifies Delegator classes; SimpleDelegator
75452	  now uses method_missing for all methods.
75453
75454Wed Aug 10 10:38:50 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75455
75456	* bignum.c (rb_big_mul0): multiply two numbers (x, y) without
75457	  normalizing the result.  x should be a big number.
75458	  [ruby-dev:26778]
75459
75460	* bignum.c (rb_big_pow): use rb_big_mul0() instead of
75461	  rb_big_mul().
75462
75463	* array.c (rb_ary_or, rb_ary_and, rb_ary_plus, rb_ary_diff):
75464	  revert the change on 2005-08-03.  Set operation on other item
75465	  should have in separate methods.
75466
75467	* parse.y (shadowing_lvar_gen): warn when arguments shadows
75468	  external local variables.
75469
75470	* parse.y (f_opt): optional arguments should not clobber external
75471	  local variables.
75472
75473	* parse.y (f_rest_arg): rest arguments should not clobber external
75474	  local variables.
75475
75476Wed Aug 10 10:29:40 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75477
75478	* ext/tk/lib/tk.rb: fix bug on handling __ruby2val_optkeys().
75479
75480	* ext/tk/lib/tk/itemconfig.rb: fix bug on handling
75481	  __item_ruby2val_optkeys().
75482
75483	* ext/tk/lib/tk/canvas.rb: didn't check __item_ruby2val_optkeys().
75484
75485	* ext/tk/lib/tkextlib/blt/component.rb: ditto.
75486
75487Tue Aug  9 21:53:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75488
75489	* eval.c (formal_assign): let default values override
75490	  arguments to zsuper.  fixed: [ruby-dev:26743]
75491
75492Tue Aug  9 20:30:19 2005  Tadashi Saito  <shiba@mail2.accsnet.ne.jp>
75493
75494	* bignum.c (rb_big_coerce): allow bignum x bignum coercing.
75495	  [ruby-dev:26778]
75496
75497Tue Aug  9 15:12:04 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75498
75499	* ext/tk/tcltklib.c: remove dangerous 'rb_jump_tag's.
75500
75501	* ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to
75502	  help to convert option values between ruby and tcl.
75503
75504	* ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and
75505	  __item_ruby2val_optkeys to help to convert option values between
75506	    ruby and tcl.
75507
75508	* ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable'
75509	  option (for the reason of backward compatibility).
75510
75511	* ext/tk/lib/tk/composite.rb: clarify the arguments of super().
75512
75513	* ext/tk/lib/tk/spinbox.rb: ditto.
75514
75515	* ext/tk/lib/tk/text.rb: ditto.
75516
75517	* ext/tk/lib/tk/validation.rb: ditto.
75518
75519	* ext/tk/lib/tkextlib/*: support to treat tkvariable-type
75520	  configure options.
75521
75522Tue Aug  9 08:24:05 2005  Mauricio Fernandez  <mfp@acm.org>
75523
75524	* parse.y (f_block_arg), eval.c (rb_yield_0): deal with dynamic
75525	  variable lambda arguments.  [ruby-core:05540]
75526
75527Mon Aug  8 22:13:48 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75528
75529	* eval.c (assign): deal with new block argument.
75530	  fixed: [ruby-core:05536]
75531
75532	* eval.c (rb_node_arity): follow change of NODE_ARGS.
75533	  fixed: [ruby-dev:26761]
75534
75535Mon Aug  8 21:28:13 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75536
75537	* test/ruby/test_fnmatch.rb: separated from test_file.rb.
75538
75539Mon Aug  8 20:40:35 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
75540
75541	* test/ruby/test_method.rb: added.  [ruby-dev:26761]
75542
75543Mon Aug  8 01:26:37 2005  Mauricio Fernandez  <mfp@acm.org>
75544
75545	* parse.y (f_larglist): mistake in syntax rule.  [ruby-core:05535]
75546
75547Mon Aug  8 05:16:55 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75548
75549	* ext/openssl/ossl.c (ossl_raise): should use ERR_peek_last_error
75550	  to get last error on the current thread. And should report
75551	  if errors are on the stack while OpenSSL.debug is true.
75552
75553	* ext/openssl/ossl.c (ossl_get_errors): new method for debugging
75554	  this library.
75555
75556Mon Aug  8 05:15:19 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75557
75558	* lib/webrick/httpproxy.rb (HTTPProxyServer#initialize),
75559	  lib/webrick/httpserver.rb (HTTPServer#initialize),
75560	  lib/webrick/httpservlet/cgihandler.rb (CGIHandler#initialize),
75561	  lib/webrick/httpservlet/erbhandler.rb (ERBHandler#initialize),
75562	  lib/webrick/httpservlet/filehandler.rb(DefaultFileHandler#initialize):
75563	  super (called with no arguments) takes default value of optional
75564	  arguments. [ruby-dev:26743]
75565
75566	* lib/webrick/httputils.rb: add a media-type "text/html" for .xhtml.
75567
75568Sun Aug  7 23:52:39 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
75569
75570	* test/ruby/test_super.rb: added optional arg tests.  [ruby-dev:26743]
75571	  the tests expects 1.8 behavior at this time.
75572
75573Sat Aug  6 12:35:24 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75574
75575	* ext/tk/lib/{tk.rb,tk/itemconfig.rb}: configure creates
75576	  TkVariable if key name is 'variable' or 'textvariable'
75577	  by default. [ruby-dev:26749]
75578
75579	* ext/tk/lib/tk/{label,radiobutton}.rb: removed its own
75580	  {variable,textvariable} function.
75581
75582	* ext/tk/lib/tk/variable.rb: retains backward compatibility.
75583
75584Fri Aug  5 12:48:31 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75585
75586	* ext/tk/tcltklib.c: fixed memory leak when tk_funcall raised
75587	  exception. (copies argv into heap in tk_funcall instead of
75588	  caller)
75589
75590Fri Aug  5 12:36:40 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
75591
75592	* lib/mkmf.rb (create_makefile): need to convert path separator
75593	  before invoking install command.
75594
75595Fri Aug  5 08:08:05 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75596
75597	* eval.c (return_jump): fix "can't across thread" error message
75598	  when no thread associated.
75599	  http://www.namikilab.tuat.ac.jp/~sasada/diary/200507.html#d31
75600
75601Fri Aug  5 00:25:12 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75602
75603	* ext/tk/tcltklib.c: refactoring - extract ruby string <->
75604	  tcl object conversion as get_str_from_obj and get_obj_from_str.
75605
75606Fri Aug  5 00:19:33 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75607
75608	* enumerator.c (Init_Enumerator): provided features should have
75609	  extensions.
75610
75611	* eval.c (rb_feature_p): returns type of the feature instead of
75612	  extension.
75613
75614	* eval.c (search_required): ruby library should be prior to statically
75615	  linked extensions.  fixed: [ruby-dev:26711]
75616
75617	* eval.c (formal_assign): returns position of rest arguments variable.
75618
75619	* parse.y (f_rest_arg): use anonymous variable for rest arguments.
75620	  fixed: [ruby-dev:26647]
75621
75622	* extmk.rb (extmake): needs to be wrapped in an Array.
75623
75624Thu Aug  4 20:03:18 2005  Tadashi Saito  <shiba@mail2.accsnet.ne.jp>
75625
75626	* numeric.c (Init_Numeric): do not share implementation among
75627	  Fixnum#/ and Fixnum#div.  [ruby-core:05531]
75628
75629Thu Aug  4 18:38:36 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75630
75631	* ext/tk/tcltklib.c: cannot compile for Tcl7.6/Tk4.2.
75632
75633	* ext/tk/tcltklib.c: add nativethread consistency check.
75634
75635	* ext/tk/stubs.c: ditto.
75636
75637	* ext/tk/lib/tk.rb: forgot to define TclTkIp.encoding and encoding=
75638	  when Tcl is 7.6 or 8.0.
75639
75640	* ext/tk/lib/tk/wm.rb: support to make some methods as options of
75641	  root or toplevel widget. [ruby-talk:150336]
75642
75643	* ext/tk/lib/tk/root.rb: ditto.
75644
75645	* ext/tk/lib/tk/toplevel.rb: ditto.
75646
75647	* ext/tk/lib/tkextlib/SUPPORT_STATUS: update RELEASE_DATE
75648
75649Thu Aug  4 13:30:15 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75650
75651	* numeric.c (fix_div): should not convert the result into
75652	  integer.  [ruby-core:05524]
75653
75654Thu Aug  4 08:03:39 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75655
75656	* ext/extmk.rb (extmake): should not modify $mflags for each
75657	  extensions.
75658
75659Thu Aug  4 00:25:48 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75660
75661	* common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
75662	  macro definitions.
75663
75664	* bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.
75665
75666	* {win32,wince}/Makefile.sub: separate config.h for compiler versions.
75667
75668Thu Aug  4 00:24:59 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75669
75670	* sprintf.c: replacing is no longer needed.
75671
75672Wed Aug  3 21:59:16 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75673
75674	* ext/tk/lib/tk/variable.rb: TkVariable#trace didn't work on
75675	  TkVariable retrieved from TkVariable.new_hash.ref. [ruby-dev:26721]
75676
75677Wed Aug  3 12:40:28 2005  Tadashi Saito  <shiba@mail2.accsnet.ne.jp>
75678
75679	* numeric.c (fix_plus): reduce coercing when a method knows about
75680	  a operand type.  [ruby-dev:26723]
75681
75682	* numeric.c (fix_minus, fix_mul, fix_quo, fix_div, fix_mod,
75683	  fix_divmod, fix_pow): ditto.
75684
75685	* bignum.c (rb_big_div, rb_big_modulo): export to reduce
75686	  coercing.
75687
75688Wed Aug  3 10:13:52 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
75689
75690	* configure.in, {bcc32,win32,wince}/Makefile.sub (HAVE_SNPRINTF,
75691	  HAVE_VSNPRINTF): use win32/win32.c's implementation instead of
75692	  missing/vsnprintf.c's.
75693
75694	* win32/win32.[ch] (rb_w32_snprintf, rb_w32_vsnprintf): reverted.
75695
75696Wed Aug  3 10:05:08 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75697
75698	* configure.in: check vsnprintf() and snprintf().
75699
75700	* sprintf.c, missing/vsnprintf.c: made vsnprintf() and snprintf()
75701	  private.  fixed: [ruby-dev:26651]
75702
75703Wed Aug  3 08:22:13 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75704
75705	* ext/socket/socket.c (ruby_connect): revert [ruby-talk:111654]
75706	  changes at 2004-09-07.  [ruby-dev:26656]
75707
75708Wed Aug  3 06:53:35 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75709
75710	* array.c (rb_ary_or): wraps the operand in an array if it is not
75711	  an array.  [ruby-talk:150495] [EXPERIMENTAL]
75712
75713	* array.c (rb_ary_and, rb_ary_plus, rb_ary_diff): ditto.
75714
75715Tue Aug  2 10:23:12 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75716
75717	* ext/tk/tcltklib.c: use Tcl_[GS]etVar2Ex instead of
75718	  Tcl_Obj[GS]etVar2. (avoid Tcl_NewStringObj on supported platforms)
75719
75720	* ext/tk/tcltklib.c: use ip_{get,set,unset}_variable2_core from
75721	  ip_{get,set,unset}_variable.
75722
75723	* ext/tk/tcltklib.c: replaced Tcl_Panic with rb_bug.
75724
75725Tue Aug  2 01:40:38 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75726
75727	* lib/ping.rb (Ping.pingecho): should rescue StandardError.
75728	  [ruby-dev:26677]
75729
75730Mon Aug  1 19:02:23 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75731
75732	* ext/tk/tcltklib.c: refactoring - replaced rb_ivar_defined &
75733	  rb_ivar_get with single rb_attr_get call.
75734
75735Mon Aug  1 18:44:08 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75736
75737	* ext/tk/tcltklib.c (Tcl_GetStringResult): refactoring - define
75738	  alternative macro on Tcl7.x or earlier.
75739
75740Mon Aug  1 13:53:55 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
75741
75742	* ext/tk/tcltklib.c (deleted_ip): refactoring - interpreter
75743	  deletion check. [ruby-dev:26664]
75744
75745Mon Aug  1 01:08:21 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
75746
75747	* lib/drb/drb.rb (check_insecure_method): use private_methods and
75748	  protected_methods instead of respond_to? to check method visibility.
75749	  [ruby-dev:26616]
75750
75751	* test/drb/drbtest.rb: ditto.
75752
75753	* test/drb/ut_drb.rb: ditto.
75754
75755Sat Jul 30 18:49:44 2005  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
75756
75757	* ext/win32ole/win32ole.c: add WIN32OLE_TYPE#ole_typelib,
75758	  WIN32OLE_TYPE#implemented_ole_types.
75759
75760	* ext/win32ole/tests/testOLETYPE.rb: ditto.
75761
75762Fri Jul 29 16:12:02 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
75763
75764	* lib/irb/context.rb: fix `irb --readline` option. [ruby-dev:40955]
75765
75766Fri Jul 29 09:59:38 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75767
75768	* eval.c (rb_call0): fix calling zsuper from a method with anonymous
75769	  rest argument.  [ruby-dev:26639]
75770
75771	* eval.c (rb_yield_0): push yielded node instead of yielding.
75772	  fixed: [yarv-dev:549]
75773
75774Thu Jul 28 21:49:17 2005  IWATSUKI Hiroyuki  <don@na.rim.or.jp>
75775
75776	* parse.y (rb_parser_end_seen_p): exclude from ripper.
75777	  <http://moonrock.jp/~don/d/200507.html#d28_t2>
75778
75779	* sprintf.c (clearerr): remove standard macro before re-definition.
75780	  <http://moonrock.jp/~don/d/200507.html#d28_t3>
75781
75782Thu Jul 28 18:09:55 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75783
75784	* ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize
75785	  routine creates a Tcl/Tk interpreter and deletes it. However,
75786	  init cost of Tk's MainWindow is not so small. And that makes it
75787	  impossible to use libraries written with Tcl functions only on
75788	  an environment without a graphical display. This changes support
75789	  delaying initialization of Tk_Stubs until the script needs Tk.
75790
75791	* ext/tk/stubs.h: New file. Define prototypes and return codes of
75792	  functions on stubs.c.
75793
75794	* ext/tk/tcltklib.c: Support delaying initialization of Tk_Stubs
75795	  until the script needs Tk.
75796
75797	* ext/tk/tcltklib.c: Show friendly error messages for errors on
75798	  initialization.
75799
75800	* ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
75801	  exiting and $DEBUG is true. (Not fix. If you know the reason of
75802	  why, please fix it.)
75803
75804	* ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling
75805	  of encoding.
75806
75807	* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
75808	  don't work properly.
75809
75810	* ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk.
75811
75812	* ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
75813	  object for an element of a Tcl's array variable.
75814
75815Thu Jul 28 17:23:37 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75816
75817	* parse.y (f_larglist): allow block argument in lambda parameter
75818	  list without parenthesis.
75819
75820Thu Jul 28 17:14:01 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75821
75822	* hash.c (each_i): typo fixed.  [ruby-dev:26622]
75823
75824Thu Jul 28 15:04:11 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75825
75826	* parse.y (f_arg): better argument name duplication check
75827
75828	* parse.y (new_args_gen): factored out name duplication check for
75829	  optional and rest arguments.
75830
75831	* parse.y (new_bv_gen): allow shadowing outer local variables;
75832	  warning remains.
75833
75834Thu Jul 28 13:46:06 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75835
75836	* parse.y (ripper_warningS): the argument was omitted.
75837	  [ruby-dev:26621]
75838
75839Thu Jul 28 11:30:57 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75840
75841	* parse.y (f_larglist): allow bv_decl at the end of lambda
75842	  argument list.  [EXPERIMENTAL]
75843
75844	* parse.y (new_bv_gen): allow local variable shadowing, with
75845	  warning in verbose mode.
75846
75847Wed Jul 27 23:23:54 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75848
75849	* gc.c (obj_free): make message format consistent with one from
75850	  gc_mark().  [ruby-talk:149668]
75851
75852	* sprintf.c (quad_t): prepare quad_t as well.  [ruby-talk:149668]
75853
75854Wed Jul 27 22:11:37 2005  Kouhei Sutou  <kou@cozmixng.org>
75855
75856	* sample/rss/tdiary_plugin: removed. because the plugin
75857	  is imported in the tDiary plugin packages.
75858
75859Wed Jul 27 19:11:53 2005  Minero Aoki  <aamine@loveruby.net>
75860
75861	* lib/fileutils.rb (cd): follow :noop option change. (This patch
75862	  is contributed by Doug Kearns)
75863
75864Wed Jul 27 16:25:59 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75865
75866	* parse.y (lambda): Perl6 style -> lambda expression. [NEW]
75867	  [VERY EXPERIMENTAL]
75868
75869Wed Jul 27 10:43:14 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75870
75871	* gc.c (id2ref): must not assign pointers to long int.  use
75872	  LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP.
75873	  [ruby-talk:149645]
75874
75875	* ruby.h: use LONG_LONG to simplify the change.
75876	  [ruby-talk:149645]
75877
75878Wed Jul 27 10:59:02 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75879
75880	* dir.c (dir_each): rewinddir(3) before iteration.
75881	  [ruby-talk:149628]
75882
75883Wed Jul 27 02:34:58 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75884
75885	* eval.c (rb_f_throw): replace all '0x%lx' by '%p'.
75886	  [ruby-talk:149553]
75887
75888	* missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit
75889	  size pointer.  [ruby-talk:149553]
75890
75891Tue Jul 26 22:41:28 2005  Minero Aoki  <aamine@loveruby.net>
75892
75893	* ext/ripper/lib/ripper/sexp.rb: new method Ripper.sexp_raw.
75894
75895	* ext/ripper/lib/ripper/sexp.rb (Ripper.sexp): returns more
75896	  readable tree.  This is suggested by Kirill A. Shutemov.
75897
75898Tue Jul 26 22:05:12 2005  Minero Aoki  <aamine@loveruby.net>
75899
75900	* lib/net/http.rb: merge a patch contributed by Daniel Berger,
75901	  with some modification. (RubyForge #2128)
75902
75903Tue Jul 26 18:11:33 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
75904
75905	* ruby.h: support LLP64 model.  [ruby-talk:149524]
75906
75907Tue Jul 26 12:57:40 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75908
75909	* ext/openssl/openssl_missing.c: include <openssl/engine.h> before
75910	  <openssl/x509_vfy.h> to avoid compilation error of mswin32.
75911	  suggested by NAKAMURA Usaku.
75912
75913Mon Jul 25 23:48:55 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
75914
75915	* win32/win32.[ch]: (rb_w32_vsnprintf, rb_w32_snprintf): removed.
75916
75917Mon Jul 25 21:30:46 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75918
75919	* common.mk: Borland MAKE doesn't look for file names which have paths
75920	  from VPATH.  fixed: [ruby-dev:26604]
75921
75922	* ruby.h (NORETURN, DEPRECATED): moved just after config.h.
75923
75924	* {win32,wince}/Makefile.sub: vsnprintf() is in missing now.
75925
75926	* {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for ruby
75927	  source to XCFLAGS.
75928
75929Mon Jul 25 14:10:02 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75930
75931	* ext/tk/lib/multi-tk.rb: fix en-bugged part in the last commit.
75932
75933Mon Jul 25 13:45:18 2005  NAJIMA Hiroki  <najima@mickey.ai.kyutech.ac.jp>
75934
75935	* io.c: check HAVE_SYS_IOCTL_H before including the header.
75936	  [ruby-dev:26610]
75937
75938Sat Jul 23 16:48:12 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
75939
75940	* ext/openssl/ossl_engine.c (ossl_engine_s_load): should check
75941	  OPENSSL_NO_STATIC_ENGINE.
75942
75943Sat Jul 23 11:46:30 2005  Tanaka Akira  <akr@m17n.org>
75944
75945	* eval.c (rb_fd_select): the all three fd_sets must be long enough for
75946	  select.  fixed: [ruby-talk:149059]
75947
75948Sat Jul 23 10:01:41 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
75949
75950	* sprintf.c (rb_vsprintf, rb_sprintf): new functions return new String,
75951	  using missing/vsnprintf.c.  [ruby-dev:26580]
75952
75953	*  missing/vsnprintf.c: made the output changeable.
75954
75955Fri Jul 22 21:06:08 2005  Tadashi Saito  <shiba@mail2.accsnet.ne.jp>
75956
75957	* bignum.c (rb_big_eq): reduce isnan().  [ruby-dev:26600]
75958
75959	* numeric.c (flo_eq, flo_gt, flo_ge, flo_lt, flo_le): ditto.
75960
75961Fri Jul 22 15:02:39 2005  Kouhei Sutou  <kou@cozmixng.org>
75962
75963	* lib/rss/rss.rb: moved copyright description to lib/rss.rb.
75964
75965	* lib/rss.rb: added for convenience.
75966
75967	* sample/rss/re_read.rb: added #to_s sample.
75968
75969	* sample/rss/blend.rb: use 'require "rss"' instead of
75970	  'require "rss/*"'.
75971	* sample/rss/list_description.rb: ditto.
75972	* sample/rss/rss_recent.rb: ditto.
75973	* sample/rss/tdiary-plugin/rss-recent.rb: ditto.
75974
75975	* sample/rss/tdiary-plugin/rss-recent.rb: 0.0.6 -> 0.0.7.
75976
75977Fri Jul 22 14:37:43 2005  Kouhei Sutou  <kou@cozmixng.org>
75978
75979	* lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTP
75980	  URI and local file path too.
75981
75982	* test/rss/test_parser.rb (RSS::TestParser#test_parse): test
75983	  for the above.
75984
75985Fri Jul 22 07:01:42 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
75986
75987	* ext/tk/tkutil/tkutil.c (tk_conv_args): forget to revert
75988	  thread_critical and gc_disable when raise ArgumentError.
75989
75990	* ext/tk/lib/remote-tk.rb: RemoteTkIp doesn't need to include TkUtil.
75991
75992	* ext/tk/tcltklib.c: add TclTkIp#has_mainwindow? method.
75993
75994	* ext/tk/lib/tk.rb: add Tk.has_mainwindow? method.
75995
75996	* ext/tk/lib/multi-tk.rb: add MultiTkIp#has_mainwindow? method.
75997
75998	* ext/tk/lib/remote-tk.rb: add RemoteTkIp#has_mainwindow? method.
75999
76000	* ext/tk/lib/multi-tk.rb: slave IP fail to exit itself when $SAFE==4.
76001
76002	* ext/tk/lib/multi-tk.rb: remove constants from MultiTkIp module to
76003	  avoid access from external.
76004
76005	* ext/tk/lib/multi-tk.rb: check_root flag is ignored on slave IPs'
76006	  mainloop.
76007
76008	* ext/tk/lib/multi-tk.rb: hang-up Tk.mainloop called on a slave IP
76009	  with $SAFE==4.
76010
76011	* ext/tk/lib/multi-tk.rb: MultiTkIp#bg_eval_proc doesn't work
76012	  properly.
76013
76014	* ext/tk/lib/multi-tk.rb: add MultiTkIp#set_cb_error(proc) and
76015	  cb_error(exc) to log errors at callbacks on safe slave IPs.
76016
76017	* ext/tk/lib/multi-tk.rb: fail to get an available slave IP object
76018	  when call Tk.mainloop in the block which is given to new_* method,
76019	    because cannot finish initialize while the root widget is alive.
76020
76021	* ext/tk/lib/multi-tk.rb: fail to control a slave IP when Tk.mainloop
76022	  runs on the IP.
76023
76024Thu Jul 21 01:00:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
76025
76026	* ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:
76027	  import 1.76
76028	  [ruby-dev:26592] nkf constification
76029
76030Wed Jul 20 19:18:52 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76031
76032	* io.c (S_ISREG): need to define S_ISREG before it is used first.
76033
76034Wed Jul 20 18:33:15 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76035
76036	* io.c (wsplit_p): patch for the environment where
76037	  fcntl(F_GETFL, O_NONBLOCK) is not supported. in that case,
76038	  set FMODE_WSPLIT without fcntl check. [ruby-dev:26566]
76039
76040Wed Jul 20 18:07:11 2005  Tanaka Akira  <akr@m17n.org>
76041
76042	* io.c (rb_io_ctl): update FMODE_WSPLIT_INITIALIZED and FMODE_WSPLIT
76043	  by F_SETFL.
76044
76045Wed Jul 20 10:04:51 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76046
76047	* variable.c (rb_class_path): need to adjust snprintf() len for
76048	  terminating NUL.  [ruby-dev:26581]
76049
76050Wed Jul 20 03:58:52 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76051
76052	* ext/socket/socket.c: sorry, BeOS also uses HAVE_CLOSESOCKET,
76053	  so reverted.
76054
76055	* ext/socket/extconf.rb: should not define HAVE_CLOSESOCKET
76056	  on windows.
76057
76058Wed Jul 20 03:12:21 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76059
76060	* ext/socket/socket.c: should not undef close() on win32.
76061	  it's defined to rb_w32_close(), otherwise handle leaks.
76062	  [ruby-Bugs-2131]
76063
76064Wed Jul 20 00:48:16 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76065
76066	* error.c (syserr_initialize): don't use str before StringValue()
76067	  check.  [ruby-dev:26579]
76068
76069Tue Jul 19 22:47:29 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76070
76071	* error.c (syserr_initialize): add 1 byte for snprintf() size for
76072	  NUL at the end.  [ruby-dev:26574]
76073
76074Tue Jul 19 17:16:34 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76075
76076	* signal.c (trap): remove sigexit(); handle "EXIT" via sig_exec().
76077	  [ruby-dev:26440]
76078
76079	* io.c (rb_io_inspect): replace sprintf() with "%s" format all
76080	  over the place by snprintf() to avoid integer overflow.
76081
76082Tue Jul 19 14:10:50 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76083
76084	* ext/tk/tcltklib.c: rbtk_eventloop_depth is used as int.
76085
76086	* ext/tk/tcltklib.c: rbtk_pending_exception is tested with
76087	  NIL_P, so should assign Qnil instead of 0 (Qfalse).
76088
76089	* ext/tk/tcltklib.c (ip_invoke_real): fixed memory leak when
76090	  ip is deleted.
76091
76092Tue Jul 19 13:19:46 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76093
76094	* ext/tk/lib/tk/variable.rb: For symmetry, add TkVariable#string. It
76095	  returns a string even if the default value type of the TkVariable
76096	  object is not "string".
76097
76098Mon Jul 18 21:39:18 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76099
76100	* eval.c (rb_call0): make the pointer to NODE volatile
76101	  instead of NODE itself.
76102
76103Mon Jul 18 14:32:21 2005  Tanaka Akira  <akr@m17n.org>
76104
76105	* eval.c (rb_call0): make body volatile to avoid possible optimization
76106	  problem.
76107	  [ruby-dev:26195]
76108
76109Mon Jul 18 12:23:27 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76110
76111	* ext/io/wait/wait.c: wrong backport from trunk, and compile error on
76112	  platforms fd_set is not a bit set.  fixed: [ruby-dev:26562]
76113
76114Mon Jul 18 09:36:25 2005  Tanaka Akira  <akr@m17n.org>
76115
76116	* rubyio.h (FMODE_WSPLIT, FMODE_WSPLIT_INITIALIZED): new constant.
76117
76118	* io.c (wsplit_p): new function.
76119	  (io_fflush): split writing data by PIPE_BUF if wsplit_p is true in
76120	  multi-threaded mode.
76121	  (io_fwrite): ditto.
76122	  [ruby-dev:26540]
76123
76124Mon Jul 18 05:00:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
76125
76126	* ext/nkf/nkf-utf8/nkf.c: import nkf.c 1.73
76127	  fix: TestKconv 1F
76128
76129Sun Jul 17 13:46:54 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76130
76131	* ext/io/wait/extconf.rb, ext/io/wait/wait.c: Win32 platforms support.
76132
76133Sat Jul 16 23:43:16 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76134
76135	* enumerator.c (Init_Enumerator): wrong argument specs.
76136	  [ruby-core:05481]
76137
76138Sat Jul 16 15:52:50 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76139
76140	* win32/win32.[hc]: constified socket functions. [ruby-dev:26553]
76141
76142Fri Jul 15 23:59:03 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76143
76144	* lib/rdoc/parsers/parse_c.rb (handle_class_module): handle a
76145	  module enclosed in a built-in module.  fixed: [ruby-talk:148239]
76146
76147	* lib/rdoc/parsers/parse_c.rb (find_body): allow macros as methods.
76148
76149	* lib/rdoc/parsers/parse_c.rb (find_call_seq): allow :nodoc: modifier
76150	  in C.  [ruby-core:04572]
76151
76152Fri Jul 15 23:20:03 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76153
76154	* enumerator.c (Init_Enumerator): use an internal directly.
76155
76156Fri Jul 15 07:58:10 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76157
76158	* lib/webrick/server.rb (WEBrick::GenericServer#accept_client):
76159	  sockets should be non-blocking mode. [ruby-dev:26405]
76160
76161	* lib/webrick/utils.rb (WEBrick::Utils.set_non_blocking): new method.
76162
76163Fri Jul 15 00:11:36 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76164
76165	* enum.c (enumeratorize): create new enumerator for current method if
76166	  no block is given.
76167
76168	* enumerator.c: moved from ext/enumerator.
76169
76170Thu Jul 14 18:27:35 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76171
76172	* win32/win32.c (rb_w32_strerror): should return correct message
76173	  for ENAMETOOLONG and ENOTEMPTY. (bcc32) [ruby-dev:26533]
76174
76175	* win32/win32.c (rb_w32_strerror): stripped CR LF on the tail.
76176	  (bcc32) [ruby-dev:26533]
76177
76178Thu Jul 14 00:45:42 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76179
76180	* LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8.
76181
76182Wed Jul 13 22:44:00 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76183
76184	* parse.y: remove static variables.  [ruby-dev:26530]
76185
76186Wed Jul 13 19:36:29 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76187
76188	* win32/win32.c (rb_w32_mkdir): should set EEXIST (not EACCES)
76189	  if file or directory already exists. (bcc32) [ruby-dev:26508]
76190
76191	* win32/win32.c (rb_w32_rmdir): should set ENOTDIR (not EINVAL)
76192	  if it is not directory. (bcc32, win32)
76193
76194	* win32/win32.c (rb_w32_rmdir, rb_w32_unlink): restore
76195	  FILE_ATTRIBUTE_READONLY flag on function failure.
76196
76197Wed Jul 13 12:40:00 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76198
76199	* ext/tk/tcltklib.c: TclTkLib.do_one_event doesn't work.
76200
76201	* ext/tk/lib/tk.rb: Tk.thread_update is available.
76202
76203Tue Jul 12 23:32:11 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76204
76205	* lib/mkmf.rb: keep curdir unexpanded.
76206
76207Mon Jul 11 23:50:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76208
76209	* eval.c, intern.h (rb_proc_call, rb_obj_method, rb_method_call):
76210	  export.
76211
76212	* ext/enumerator/enumerator.c (enumerator_with_index): [EXPERIMENTAL]
76213	  added a new method Enumerator#with_index.  [ruby-talk:147728]
76214
76215Mon Jul 11 08:31:29 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76216
76217	* regparse.c (fetch_escaped_value): mask values following \c in
76218	  regexp.  fixed: [ruby-dev:26500]
76219
76220Sun Jul 11 05:18:17 2005  Michael Neumann  <mneumann@ruby-lang.org>
76221
76222	* lib/xmlrpc/server.rb (XMLRPC::Server): Switch from GServer over to
76223	  WEBrick. This makes file lib/xmlrpc/httpserver.rb obsolete (at least it is
76224	  no further used by the XML-RPC library).
76225
76226Mon Jul 11 02:50:23 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76227
76228	* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
76229	  mistook to merge the patch of [ruby-dev:26235] at
76230	  revision 1.11.
76231
76232Sun Jul 10 23:58:04 2005  Tanaka Akira  <akr@m17n.org>
76233
76234	* lib/pathname.rb (Pathname#unlink): try Dir.unlink first to
76235	  avoid unlink a directory by root.
76236	  cf. [ruby-dev:26237]
76237
76238Sun Jul 10 12:47:01 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76239
76240	* lib/debug.rb (debug_command): added a deficient format specifier.
76241	  fixed: [ruby-core:05419]
76242
76243Sat Jul  9 22:02:37 2005  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
76244
76245	* ext/win32ole/win32ole.c (ole_method_dispid): convert dispid
76246	  in Ruby and C by INT2NUM and NUM2INT.
76247
76248	* ext/win32ole/win32ole.c (ole_invoke2): ditto.
76249
76250	* ext/win32ole/test/testWIN32OLE.rb: ditto.
76251
76252	* ext/win32ole/test/testOLEMETHOD.rb: ditto.
76253
76254Fri Jul  8 15:45:04 2005  Kouhei Sutou  <kou@cozmixng.org>
76255
76256	* lib/rss/rss.rb (RSS::VERSION): 0.1.4 -> 0.1.5.
76257
76258	* test/rss/test_version.rb (RSS::TestVersion#test_version):
76259	  ditto.
76260
76261	* lib/rss/0.9.rb (RSS::Rss::Channel::Item::Category):
76262	  domain attribute of <category> is optional. Thanks to
76263	  Chris Lee <clee@kde.org>.
76264
76265	* test/rss/test_parser.rb (RSS::TestParser#test_category20):
76266	  adjusted test case.
76267
76268Wed Jul  6 18:45:53 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76269
76270	* object.c (rb_obj_pattern_match): now returns nil.
76271	  [ruby-core:05391]
76272
76273Mon Jul  4 14:35:52 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76274
76275	* sample/svr.rb: service can be stopped by ill-behaved client; use
76276	  tsvr.rb instead.
76277
76278Mon Jul  4 13:25:21 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76279
76280	* missing/erf.c: original erf.c by prof. Okumura is confirmed to
76281	  be public domain.  reverted BSD implementation.
76282
76283Wed Jul  6 11:15:21 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76284
76285	* win32/win32.c (open_ifs_socket): new function.
76286
76287	* win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket()
76288	  instead of socket().
76289	  all changes are derived from [ruby-core:5388].
76290
76291Wed Jul  6 00:15:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
76292
76293	* ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:
76294	  imported nkf.c 1.70 (support UTF-8-MAC)
76295
76296	* ext/nkf/lib/kconv.rb: add :utf8mac and :internalunicode
76297
76298Tue Jul  5 23:44:06 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76299
76300	* instruby.rb: expand source library path.
76301
76302Tue Jul  5 23:27:14 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76303
76304	* array.c (sort_2): get rid of yet another bcc's bug.
76305	  fixed: [ruby-core:05152]
76306
76307	* eval.c (rb_thread_save_context): must not switch contexts during
76308	  re-allocating stack.  fixed: [ruby-core:05219]
76309
76310Tue Jul  5 15:15:10 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76311
76312	* ext/tk/tkutil.c: fix typo.
76313
76314Tue Jul  5 14:52:56 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76315
76316	* ext/tk/tcltklib.c: bug fix on treating Unicode strings.
76317
76318	* ext/tk/tcltklib.c: add methods to treat encoding mode.
76319
76320	* ext/tk/MANUAL_tcltklib.eng: add description of TclTkLib#encoding,
76321	  encoding_system, and so on.
76322
76323	* ext/tk/MANUAL_tcltklib.eucj: ditto.
76324
76325	* ext/tk/tkutil/tkutil.c: fail to create a Tcl's list string from
76326	  an array including multiple kind of encoded strings.
76327
76328	* ext/tk/lib/tk.rb: ditto.
76329
76330	* ext/tk/lib/multi-tk.rb: 2nd arg of _{to|from}UTF8 is omissible.
76331
76332	* ext/tk/lib/remote-tk.rb: ditto.
76333
76334	* ext/tk/lib/tk.rb: override TclTkLib#encoding and encoding= to
76335	  use TkCore::INTERP.encoding and encoding=.
76336
76337	* ext/tk/lib/tk.rb: when "require 'tk'" and $KCODE=='NONE', check
76338	  DEFAULT_TK_ENCODING to decide Ruby/Tk's system encoding mode.
76339
76340	* ext/tk/lib/tk/encodedstr.rb: check both of Tk.encoding and
76341	  Tk.encoding_system. Tk.encoding has higher priority.
76342
76343	* ext/tk/lib/tk/optiondb.rb: ditto.
76344
76345	* ext/tk/lib/tk/spinbox.rb: ditto.
76346
76347	* ext/tk/lib/tk/validation.rb: ditto.
76348
76349	* ext/tk/lib/tk/namespace.rb: arguemnts for TclTkIp#_merge_tklist
76350	  should be UTF-8 strings.
76351
76352Mon Jul  4 19:29:32 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76353
76354	* lib/set.rb: test change to follow revision 1.28. (duck typing?)
76355
76356Mon Jul  4 11:23:50 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76357
76358	* test/{dbm,gdbm,sdbm}/test_{dbm,gdbm,sdbm}.rb: skip some tests
76359	  which using fork on fork-less platforms.
76360
76361Sun Jul  3 23:26:30 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
76362
76363	* test/wsdl/document/test_rpc.rb: compare formatted time string of
76364	  Time objects instead of comparing Time objects itself to avoid
76365	  unintended conflict of usec part.  [ruby-dev:26220]
76366
76367Sat Jul  2 22:41:04 2005  Tanaka Akira  <akr@m17n.org>
76368
76369	* ext/socket/socket.c (unix_send_io, unix_recv_io): support x86-64 and
76370	  IA64.
76371
76372Sat Jul  2 17:06:23 2005  Tanaka Akira  <akr@m17n.org>
76373
76374	* defines.h (FLUSH_REGISTER_WINDOWS): defined for IA64.
76375	  (flush_register_windows): declare flush_register_windows.
76376
76377	* eval.c (flush_register_windows): new function.
76378
76379	* ruby.h (NOINLINE): move up to be effective in defines.h.
76380
76381Sat Jul  2 15:19:41 2005  Tanaka Akira  <akr@m17n.org>
76382
76383	* configure.in: check select_large_fdset.
76384
76385	* eval.c: use select_large_fdset to support large file descriptors
76386	  on Solaris.  [ruby-dev:26404]
76387
76388Fri Jul  1 17:55:08 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76389
76390	* bignum.c (rb_big_neg): may be accessing bogus pointer value.
76391
76392Fri Jul  1 15:50:12 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76393
76394	* missing/erf.c: need to include some headers for some platforms.
76395
76396	* win32/win32.h (copysign, scalb): define for compatibility with
76397	  other platforms. [ruby-dev:26430]
76398
76399Fri Jul  1 15:37:42 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76400
76401	* missing/crypt.c: modified to make it compilable on platforms
76402	  other than BSD.  [ruby-dev:26430]
76403
76404	* missing/erf.c: ditto.  code from <exp.c> merged.
76405
76406Fri Jul  1 12:44:56 2005  Tanaka Akira  <akr@m17n.org>
76407
76408	* lib/open-uri.rb (OpenURI.open_http): refine post_connection_check
76409	  call.
76410
76411Fri Jul  1 11:34:08 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76412
76413	* missing/crypt.c: replaced with 4.4BSD version.
76414
76415	* missing/erf.c: ditto.
76416
76417	* missing/vsnprintf.c: removed the third provision from the old
76418	  BSD license.  [ruby-core:05177]
76419
76420Fri Jul  1 01:45:21 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76421
76422	* enum.c (enum_min, enum_max): must not return Qundef.
76423	  fixed: [ruby-core:05299]
76424
76425Fri Jul  1 00:18:40 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76426
76427	* lib/delegate.rb (Delegator::respond_to): respond_to? must check
76428	  destination object.  [ruby-talk:146894]
76429
76430Thu Jun 30 23:52:12 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76431
76432	* signal.c (trap): non-string trap hander was ignored.
76433	  fixed: [ruby-dev:26417]
76434
76435Thu Jun 30 19:00:21 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
76436
76437	* lib/irb/ruby-lex.rb (RubyLex::identify_number): alternative implements
76438	  for [ruby-dev:26410]. And support a numeric form of 0d99999.
76439
76440Thu Jun 30 17:28:10 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76441
76442	* lib/irb/ruby-lex.rb (RubyLex::identify_number): should not treat
76443	  plain zero as an octal number.  [ruby-dev:26410]
76444
76445Thu Jun 30 15:13:16 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76446
76447	* eval.c (rb_eval): pre-evaluate argument for unambiguous
76448	  evaluation order.  [ruby-dev:26383]
76449
76450Thu Jun 30 14:48:23 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76451
76452	* lib/net/http.rb (Net::HTTP#connect, Net::HTTP#request): should
76453	  not send proxy username and password to origin servers.
76454	  [ruby-dev:25673]
76455
76456	* lib/net/http.rb (Net::HTTP::ProxyDelta#edit_path): should not
76457	  send HTTPS scheme URL to origine servers. [ruby-dev:25689]
76458
76459Thu Jun 30 09:53:56 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76460
76461	* lib/delegate.rb (Delegator::method_missing): forward unknown
76462	  method to the destination.  suggested by
76463	  <christophe.poucet@gmail.com>.  [ruby-talk:146776]
76464
76465Wed Jun 29 00:03:20 2005  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
76466
76467	* regparse.c (fetch_token): avoid warning of unused goto tag.
76468	  [ruby-dev:26389]
76469
76470Tue Jun 28 21:59:29 2005  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
76471
76472	* dir.c, eval.c, parse.y, process.c, ruby.c: avoid warning "unused
76473	  variable" [ruby-dev:26387]
76474
76475	* dir.c (glob_helper): avoid warning "enumeration value `RECURSIVE'
76476	  not handled in switch" [ruby-dev:26392]
76477
76478Tue Jun 28 01:52:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
76479
76480	* ext/nkf/lib/kconv.rb: add Kconv::VERSION
76481	* ext/nkf/lib/kconv.rb (conv): can process arrayed options
76482	* ext/nkf/nkf-utf8/nkf.c: imported Revision 1.69
76483	* ext/nkf/nkf-utf8/utf8tbl.c: imported Revision 1.9
76484
76485Sat Jun 25 23:30:51 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76486
76487	* process.c (detach_process_watcher): terminate process watcher
76488	  thread right after rb_waitpid() succeed.  [ruby-talk:146430]
76489
76490Sat Jun 25 17:12:20 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76491
76492	* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_query): should
76493	  discard if key=val pair is empty. patch from Gary Wright.
76494
76495Sat Jun 25 15:49:18 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76496
76497	* enum.c (enum_min, enum_max, enum_min_by, enum_max_by): do not ignore
76498	  nil as the first element.
76499
76500Sat Jun 25 15:13:54 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76501
76502	* lib/set.rb (Set#==): [ruby-dev:25206] (ported from ruby_1_8 branch)
76503
76504Sat Jun 25 11:37:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
76505
76506	* ext/nkf/lib/kconv.rb: remove constants
76507	  Iconv_Shift_JIS, Uconv_EUC_JP, Iconv_UTF8
76508	* ext/nkf/lib/kconv.rb: add module functions to Kconv
76509	  conv, {eucjp, shiftjis, utf8}?, guess_as_symbol
76510	* ext/nkf/lib/kconv.rb: add instance methods to String
76511	  conv, {eucjp, shiftjis, utf8}?
76512	* ext/nkf/lib/kconv.rb: add aliases Kconv.to_* and String#to_*
76513
76514Fri Jun 24 17:00:00 2005  Shigeo Kobayashi  <shigeo@tinyforest.jp>
76515
76516	* ext/bigdecimal/bigdecimal.c: patch from "NATORI Shin"
76517	  (u-tokyo.ac.jp) applied to fix rounding bug.
76518
76519Fri Jun 24 13:17:45 2005  akira yamada  <akira@ruby-lang.org>
76520
76521	* lib/uri/common.rb, lib/uri/generic.rb: fixed typo in documents and
76522	  replaced some existent domain name with "example.com".
76523
76524Fri Jun 24 12:23:19 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76525
76526	* ext/tk/lib/tk.rb: fix typo on Tk.grid_propagate.
76527
76528	* ext/tk/lib/tk.rb: Tk.event_generate and TkWindow#event_generate
76529	  accept TkEvent::Event object as context argument.
76530
76531	* ext/tk/lib/tk/event.rb: add TkEvent::Event#valid_fields and
76532	  valid_for_generate to get field parameters of event_generate.
76533
76534Thu Jun 23 23:55:59 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76535
76536	* runruby.rb: should load built rbconfig.rb.
76537
76538Thu Jun 23 16:53:15 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76539
76540	* ext/tk/lib/tk/canvastag.rb: TkcGroup.new cannot include given items.
76541	  TkcGroup#exclude calls wrong method.
76542	  Add alias TkcGroup#add [ruby-talk:146049].
76543
76544	* ext/tk/lib/tk/canvas.rb: TkCanvas#dtag and some subcommands of
76545	  TkCanvas#addtag fail to treat a TkcTag argument.
76546
76547	* ext/tk/lib/tk/event.rb: add TkEvent::Event#generate to help to send
76548	  current event to other widgets.
76549
76550Mon Jun 20 18:44:04 2005  Tanaka Akira  <akr@m17n.org>
76551
76552	* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): DUMMY_SETJMP is replaced
76553	  because setjmp is not enough to fix getcontext and SPARC register
76554	  window problem.
76555
76556Mon Jun 20 17:15:51 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76557
76558	* ext/dbm/dbm.c (fdbm_closed): new method DBM#closed?
76559
76560	* ext/gdbm/gdbm.c (fgdbm_closed): new method GDBM#closed?
76561
76562	* ext/sdbm/init.c (fsdbm_closed): new method SDBM#closed?
76563
76564	* test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb
76565	  (teardown): close all db objects before deleting data files.
76566
76567	* win32/win32.{ch} (unlink): hook runtime function to change
76568	  file attribute before unlinking.
76569	  merge from 1.8, see [ruby-dev:26360]
76570
76571Mon Jun 20 02:15:35 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76572
76573	* gc.c (define_final): document fix: finalizers never get called
76574	  before target object is destroyed.
76575
76576Mon Jun 20 01:26:49 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76577
76578	* ext/openssl/openssl_missing.c, ext/openssl/ossl.h,
76579	  ext/openssl/ossl_asn1.c, ext/openssl/ossl_bio.c,
76580	  ext/openssl/ossl_pkcs12.h, ext/openssl/ossl_x509req.c: avoid
76581	  compiler warnings. suggested by Michal Rokos.
76582
76583Sun Jun 20 00:22:02 2005  Michael Neumann  <mneumann@ruby-lang.org>
76584
76585	* lib/xmlrpc/utils.rb: Patch by Nobuhiro IMAI fixes the following
76586	  problem: Default value modification on
76587	  Module#public_instance_methods (false -> true) breaks
76588	  s.add_handler(XMLRPC::iPIMethods("sample"), MyHandler.new) style
76589	  security protection.
76590
76591	* lib/xmlrpc/client.rb: Aliased XMLRPC::Client#new2 as
76592	  XMLRPC::Client#new_from_uri, and #new3 as #new_from_hash.
76593
76594Sun Jun 19 14:09:07 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76595
76596	* gc.c (run_final): reduce unnecessary object allocation during
76597	  finalization.
76598
76599	* gc.c (rb_gc_call_finalizer_at_exit): deferred finalizers list should
76600	  be cleared before calling them.  fixed: [ruby-talk:145790]
76601
76602Sat Jun 18 01:15:36 2005  Shugo Maeda  <shugo@ruby-lang.org>
76603
76604	* ext/readline/readline.c (readline_readline): do not set
76605	  rl_{in,out}stream.
76606
76607	* ext/readline/readline.c (readline_s_set_input): new method.
76608
76609	* ext/readline/readline.c (readline_s_set_output): new method.
76610
76611	* lib/irb/input-method.rb: set Readline.input and Readline.output.
76612
76613Fri Jun 17 13:01:40 2005  Tanaka Akira  <akr@m17n.org>
76614
76615	* lib/time.rb (Time.parse): fix previous leap seconds support.
76616	  (Time.rfc2822): ditto.
76617	  (Time.xmlschema): ditto.
76618
76619Thu Jun 16 15:41:32 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76620
76621	* ruby.c (load_file): '!' is already read. reported by gotoyuzo.
76622
76623Thu Jun 16 15:09:38 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76624
76625	* ext/tk/tcltklib.c (ip_rb_threadVwaitCommand): Tcl_Release
76626	  was missing.
76627
76628Thu Jun 16 13:34:48 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76629
76630	* ext/tk/lib/tk.rb: add Tk.getMultiple{Open|Save}File() which return
76631	  an Array of selected files.
76632
76633Thu Jun 16 12:53:24 2005  Tanaka Akira  <akr@m17n.org>
76634
76635	* lib/time.rb (Time.parse): "Fri Jan  1 08:59:60 +0900 1999" was
76636	  parsed as "Fri Jan 01 09:00:00 JST 1999" even on an environment
76637	  which supports leap seconds.
76638	  (Time.rfc2822): ditto.
76639	  (Time.xmlschema): ditto.
76640
76641Thu Jun 16 00:13:41 2005  Tanaka Akira  <akr@m17n.org>
76642
76643	* lib/resolv.rb (Resolv::DNS::Resource#ttl): new attribute.
76644	  (Resolv::DNS::Resource#==): ignore @ttl.
76645	  (Resolv::DNS::Resource#hash): ditto.
76646	  (Resolv::DNS::Message::MessageDecoder#get_rr): save TTL in a
76647	  Resource object.
76648	  based on [ruby-core:5190] by Eric Hodel.
76649
76650Wed Jun 15 18:26:39 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76651
76652	* ext/tk/lib/tk.rb: support "tk inactive" sub-command [for Tcl/Tk8.5a3]
76653
76654	* ext/tk/lib/tk/namespace.rb: support "namespace path" sub-command and
76655	  'namespace ensemble' sub-command [for Tcl/Tk8.5a3]
76656
76657Tue Jun 14 02:02:43 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76658
76659	* ext/tk/tkutil/tkutil.c: add TkUtil::CallbackSubst.subst_arg(m, ...)
76660	  & _define_attribute_aliases(hash) to get substitution-argument from
76661	  attributes (e.g. subst_arg(:x,:y,:num,:button) --> "%x %y %b %b ").
76662
76663	* ext/tk/lib/tk/event.rb: use _define_attribute_aliases().
76664
76665Mon Jun 13 13:03:08 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76666
76667	* hash.c (ruby_setenv): fixed SEGV. [ruby-dev:26186]
76668
76669Mon Jun 13 01:54:20 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76670
76671	* signal.c (sigexit): call rb_thread_signal_exit() instead of
76672	  rb_exit().  [ruby-dev:26347]
76673
76674	* eval.c (rb_thread_signal_exit): a new function to exit on main
76675	  thread.
76676
76677	* eval.c (rb_thread_switch): exit status should be retrieved from
76678	  ruby_errinfo.
76679
76680	* eval.c (rb_f_exit): ensure exit(0) should call
76681	  exit(EXIT_SUCCESS).
76682
76683Mon Jun 13 01:20:02 2005  Tanaka Akira  <akr@m17n.org>
76684
76685	* eval.c (rb_gc_mark_threads): curr_thread may not be part of the
76686	  thread list.  [ruby-dev:26312]
76687
76688Sat Jun 11 22:34:44 2005  Minero Aoki  <aamine@loveruby.net>
76689
76690	* parse.y: missing arg_paren event.  This patch is contributed by
76691	  Mitchell N Charity.
76692
76693Fri Jun 10 23:55:17 2005  Tanaka Akira  <akr@m17n.org>
76694
76695	* eval.c (unknown_node): show more information.  [ruby-dev:26196]
76696
76697Fri Jun 10 23:35:34 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76698
76699	* missing/mkdir.c: remove. [ruby-core:05177]
76700
76701Fri Jun 10 22:54:18 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76702
76703	* missing.h: fd_set stuffs need sys/types.h.  fixed: [ruby-core:05179]
76704
76705Thu Jun  9 23:58:12 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76706
76707	* ext/Win32API/Win32API.c (Win32API_Call): disable global
76708	  optimization. fixed: [ruby-core:05143]
76709
76710Thu Jun  9 23:35:22 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76711
76712	* enum.c (enum_inject): default the result value to Qundef to use
76713	  first element as initial value if not given.
76714
76715Thu Jun  9 19:55:41 2005  Tanaka Akira  <akr@m17n.org>
76716
76717	* eval.c (ruby_longjmp): new macro to call longjmp, setcontext, etc.
76718	  (ruby_setjmp): new macro to call setjmp, getcontext, etc.
76719	  (ruby_setjmp): call setjmp before getcontext to avoid IA64 register
76720	  stack problem.
76721	  [ruby-talk:144939]
76722
76723	* gc.c (Init_stack): remove IA64_MAGIC_STACK_LIMIT.
76724
76725Thu Jun  9 18:24:16 2005  Tanaka Akira  <akr@m17n.org>
76726
76727	* configure.in, eval.c, gc.c: use libunwind only on HP-UX.
76728	  [ruby-dev:26297]
76729
76730Thu Jun  9 14:46:32 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76731
76732	* hash.c (env_aset): do not treat nil as key-removing value.
76733	  [ruby-list:40865]
76734
76735	* parse.y (method_call): allow aref expression ([]) to take a
76736	  block.
76737
76738	* parse.y (block_dup_check): a function to check duplication of
76739	  a block argument and an actual block.
76740
76741Thu Jun  9 11:55:34 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76742
76743	* lib/delegate.rb (SimpleDelegator::__setobj__): need check for
76744	  recursive delegation.  [ruby-core:04940]
76745
76746Thu Jun  9 11:50:43 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76747
76748	* lib/cgi.rb: add underscore aliases CGI::escape_html,
76749	  CGI::unescape_html, CGI::escape_element, CGI::unescape_element.
76750	  [ruby-core:05058]
76751
76752Wed Jun  8 18:47:10 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76753
76754	* misc/ruby-mode.el (ruby-expr-beg): fix looking point drift.
76755
76756Wed Jun  8 12:25:59 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76757
76758	* array.c (rb_ary_nitems): add the block feature to Array#nitems.
76759	  suggested by Bertram Scharpf <lists@bertram-scharpf.de> in
76760	  [ruby-talk:134083].
76761
76762Wed Jun  8 11:11:34 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76763
76764	* bignum.c (get2comp): revert all prior changes, and calculate
76765	  proper 2's complement for negative numbers.
76766
76767Wed Jun  8 08:33:10 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76768
76769	* enum.c (enum_min_by, enum_max_by): return nil if no iteration.
76770	  fixed: [ruby-dev:26245]
76771
76772	* eval.c (rb_need_block): ensure a block is given.
76773
76774	* eval.c (backtrace): skip successive frames sharing same node.
76775
76776Wed Jun  8 01:27:06 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76777
76778	* bignum.c (bignorm): fixed a bug in normalizing negative numbers
76779	  reported from Honda Hiroki <hhonda@ipflex.com>.  normalizing
76780	  should not trim leading zeros from negative numbers.
76781
76782	* bignum.c (rb_cstr_to_inum): must remove leading zeros for this
76783	  case.
76784
76785Wed Jun  8 00:15:08 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76786
76787	* ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from
76788	  KUBO Takehiro <kubo at jiubao.org> to support AIX.  [ruby-list:40832]
76789
76790Wed Jun  8 00:09:01 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76791
76792	* lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from
76793	  Tilman Sauerbeck <tilman at code-monkey.de>.  [ruby-core:05055]
76794
76795	* lib/yaml/rubytypes.rb (Hash::to_yaml): ditto.
76796
76797Wed Jun  8 00:00:01 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76798
76799	* ext/curses/curses.c (curses_insertln): merged a patch from
76800	  TAKAHASHI Tamotsu <ttakah at lapis.plala.or.jp>.  [ruby-ext:02305]
76801
76802Tue Jun  7 19:34:15 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76803
76804	* lib/irb/init.rb (IRB::IRB.rc_file_generators): more flexible
76805	  IRB.rc_file_generators.  [ruby-core:05163]
76806
76807Tue Jun  7 18:39:31 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76808
76809	* lib/thread.rb: RDoc documentation from Eric Hodel
76810	  <drbrain@segment7.net> added.  [ruby-core:05148]
76811
76812Tue Jun  7 18:30:04 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76813
76814	* lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.
76815	  fixed: [ruby-dev:26294]
76816
76817Tue Jun  7 17:20:39 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76818
76819	* parse.y (parser_yylex): allow ';;' to be block terminator in
76820	  place of 'end'.  [highly experimental]
76821
76822	* misc/ruby-mode.el (ruby-block-end-re): allow ';;' to be a
76823	  negative indent trigger.  [highly experimental]
76824
76825	* parse.y (parser_yylex): small error fixed.
76826
76827Tue Jun  7 16:45:49 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76828
76829	* parse.y (parser_yylex): "respond_to?:foo" should be interpreted
76830	  as "respond_to? :foo" at the command level.  [ruby-talk:144303]
76831
76832Tue Jun  7 16:32:53 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76833
76834	* sprintf.c (rb_f_sprintf): raise exception on debug mode (-d),
76835	  not verbose mode (-v/-w).  [ruby-core:05123]
76836
76837	* sprintf.c (rb_f_sprintf): warn always on verbose mode.
76838
76839Tue Jun  7 10:30:49 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76840
76841	* ext/tk/lib/multi-tk.rb: slave-ip fails to call procedures
76842	  delegated by master-ip.
76843
76844Mon Jun  6 16:35:18 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
76845
76846	* ext/ripper/depend: add .y to .SUFFIXES for nmake.
76847
76848Sun Jun  5 23:00:35 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76849
76850	* ext/tk/lib/tk/console.rb: create console when required
76851
76852	* ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console
76853
76854Sun Jun  5 10:23:52 2005  Tanaka Akira  <akr@m17n.org>
76855
76856	* signal.c (ruby_signal): don't set SA_RESTART.
76857	  [ruby-dev:26276]
76858
76859Sat Jun  4 14:55:18 2005  Tanaka Akira  <akr@m17n.org>
76860
76861	* test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
76862
76863	* test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.
76864
76865	* test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with
76866	  modification to use test/unit.
76867
76868Fri Jun  3 23:23:02 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76869
76870	* intern.h (rb_fdset_t): deal with fd bit sets over FD_SETSIZE.
76871	  fixed: [ruby-dev:26187]
76872
76873	* eval.c (rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr,
76874	  rb_fd_isset, rb_fd_copy): ditto.
76875
76876	* io.c (rb_io_wait_readable, rb_io_wait_writable, rb_f_select): ditto.
76877
76878	* ext/io/wait/wait.c (io_wait): ditto.
76879
76880	* ext/socket/socket.c (wait_connectable, unix_recv_io): ditto.
76881
76882Fri Jun  3 14:06:12 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76883
76884	* ext/tk/lib/multi-tk.rb: fix typo.
76885
76886Thu Jun  2 23:42:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
76887
76888	* parse.y: pragma support on ripper.  [ruby-dev:26266]
76889
76890Thu Jun  2 00:02:16 2005  Minero Aoki  <aamine@loveruby.net>
76891
76892	* struct.c: accessing >10 member caused segmentation fault.
76893	  [ruby-dev:26247]
76894
76895	* test/ruby/test_struct.rb: test it.
76896
76897Wed Jun  1 11:30:09 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
76898
76899	* bcc32/Makefile.sub: can use single quote character in DESTDIR.
76900	  [ruby-dev:26205]
76901
76902	* bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
76903	  [ruby-dev:26254]
76904
76905Wed Jun  1 00:11:06 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76906
76907	* parse.y (method_call): new experiment: "(expr)(args...)" to
76908	  invoke "expr.call(args...)".  [EXPERIMENTAL]
76909
76910Tue May 31 23:43:41 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
76911
76912	* parse.y (command): revert implicit "call" for local variables.
76913
76914Tue May 31 15:52:45 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76915
76916	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
76917	  break the loop if the socket reached to EOF. [ruby-talk:142285]
76918
76919	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): send response
76920	  without reading the whole request body if keep-alive is diabled.
76921	  [experimental]
76922
76923Mon May 30 23:48:29 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76924
76925	* ext/tk/lib/tk/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk
76926	  Extension.
76927
76928	* ext/tk/lib/tk/msgcat.rb: ditto.
76929
76930	* ext/tk/lib/tk/winpkg.rb: ditto.
76931
76932	* ext/tk/lib/tkextlib/*: ditto.
76933
76934Sat May 28 16:39:21 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76935
76936	* test/openssl/test_x509store.rb: add test for expired CRL
76937	  and refine some assertions.
76938
76939Sat May 28 05:15:44 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76940
76941	* ext/openssl/ossl_x509store.c (ossl_x509stctx_set_time): should
76942	  not set internal flag directry.
76943
76944Sat May 28 02:00:11 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
76945
76946	* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
76947	  ENV["REQUEST_URI"] is better to get correct Request-URI
76948	  than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"].  [ruby-dev:26235]
76949
76950Fri May 27 16:32:04 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
76951
76952	* lib/mkmf.rb: use the semicolon as the path separator
76953	  in the environment of MSYS.  fixed: [ruby-dev:26232]
76954
76955Thu May 26 20:31:21 2005  Minero Aoki  <aamine@loveruby.net>
76956
76957	* lib/fileutils.rb (remove_entry_secure): add documentation.
76958
76959	* lib/fileutils.rb (remove_entry_secure): should not invoke
76960	  unlink(2) against a directory.
76961
76962Thu May 26 08:29:19 2005  Akiyoshi, Masamichi  <akiyoshi@hp.com>
76963
76964	* vms/vmsruby_private.c, vms/vmsruby_private.h: private routines
76965	  for VMS port are added.
76966
76967	* eval.c (ruby_init): change to call VMS private intialization routine.
76968
76969Thu May 26 07:39:07 2005  Minero Aoki  <aamine@loveruby.net>
76970
76971	* lib/fileutils.rb (rm_r): use lchown(2), not chown(2).
76972	  [ruby-dev:26226]
76973
76974	* lib/fileutils.rb (cd): remove :noop option. (feature change)
76975
76976	* lib/fileutils.rb (cp_r): should copy symlink as symlink, for
76977	  also tree root. (feature change)
76978
76979	* lib/fileutils.rb (cp_r): new option :dereference_root.
76980
76981	* lib/fileutils.rb: new method remove_entry.
76982
76983	* lib/fileutils.rb: new method remove_entry_secure.
76984
76985	* lib/fileutils.rb: add documentation.
76986
76987Thu May 26 06:08:11 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76988
76989	* ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_list
76990
76991Wed May 25 20:06:27 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
76992
76993	* ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJIS
76994	  strings. To avoid the trouble, add arguments to control converting
76995	  encoding, and do split on a UTF8 string.
76996
76997	* ext/tk/lib/multi-tk.rb: modify to attend encoding.
76998
76999	* ext/tk/lib/remote-tk.rb: ditto.
77000
77001	* ext/tk/lib/tk/itemconfig.rb: ditto.
77002
77003	* ext/tk/lib/tk/listbox.rb: ditto.
77004
77005	* ext/tk/lib/tk/namespace.rb: ditto.
77006
77007	* ext/tk/lib/tk/panedwindow.rb: ditto.
77008
77009	* ext/tk/lib/tk/text.rb: ditto.
77010
77011	* ext/tk/lib/tk/textmark.rb: ditto.
77012
77013	* ext/tk/lib/tk/texttag.rb: ditto.
77014
77015	* ext/tk/lib/tk/variable.rb: ditto.
77016
77017	* ext/tk/lib/tk/winfo.rb: ditto.
77018
77019	* ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto.
77020
77021	* ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto.
77022
77023	* ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and
77024	  Tk#lower_window/raise_window by reason of method-name conflict
77025
77026	* ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given
77027	  non-TkcItem arguments.
77028
77029	* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto.
77030
77031Wed May 25 19:48:12 2005  Minero Aoki  <aamine@loveruby.net>
77032
77033	* lib/fileutils.rb (rm_r): does chown(2). [ruby-dev:26199]
77034
77035Wed May 25 12:59:48 2005  Tanaka Akira  <akr@m17n.org>
77036
77037	* lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content of
77038	  quoted-string should be zero or more characters.
77039
77040Tue May 24 23:42:16 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
77041
77042	* numeric.c (fix_pow): support Fixnum ** Float case directly
77043	  without coercing.  [ruby-talk:142697] [ruby-talk:143054]
77044
77045Tue May 24 16:57:24 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
77046
77047	* ruby.c (require_libraries): caused SEGV when continuation jumped
77048	  in to the required library code.
77049
77050Tue May 24 17:45:59 2005  Shugo Maeda  <shugo@ruby-lang.org>
77051
77052	* test/readline/test_readline.rb: do not test libedit.
77053	  fixed: [ruby-dev:26217]
77054
77055Tue May 24 06:45:31 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77056
77057	* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string
77058	  literals to be matched non-greedy.
77059
77060Tue May 24 00:39:14 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
77061
77062	* test/soap/calc: method name 'set' was able to crash with a class Set.
77063	  [ruby-dev:26210]
77064
77065	* test/wsdl/document/test_rpc.rb: dateTime comparison failed under
77066	  TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208]
77067
77068Mon May 23 16:23:06 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77069
77070	* ext/tk/extconf.rb: Framework support on MacOS X Tiger.
77071
77072	* ext/tk/README.tcltklib: add description of Framework support options.
77073
77074Mon May 23 15:07:34 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
77075
77076	* win32/Makefile.sub ($(PROGRAM)): add dependency on $(LIBRUBY_SO).
77077	  [experimental]
77078
77079Mon May 23 12:21:37 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
77080
77081	* re.c (make_regexp): should not return junk address during
77082	  compile time.  [ruby-dev:26206]
77083
77084Sun May 22 21:54:06 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
77085
77086	* lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.
77087
77088	  == SOAP client and server ==
77089
77090	  === for both client side and server side ===
77091
77092	  * improved document/literal service support.
77093	    style(rpc,document)/use(encoding, literal) combination are all
77094	    supported.  for the detail about combination, see
77095	    test/soap/test_style.rb.
77096
77097	  * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to
77098	    WSDL as well as obj2soap.  closes #70.
77099
77100	  * let SOAP::Mapping::Object handle XML attribute for doc/lit service.
77101	    you can set/get XML attribute via accessor methods which as a name
77102	    'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name).
77103
77104	  === client side ===
77105
77106	  * WSDLDriver capitalized name operation bug fixed.  from
77107	    1.5.3-ruby1.8.2, operation which has capitalized name (such as
77108	    KeywordSearchRequest in AWS) is defined as a method having
77109	    uncapitalized name. (converted with GenSupport.safemethodname
77110	    to handle operation name 'foo-bar').  it introduced serious
77111	    incompatibility; in the past, it was defined as a capitalized.
77112	    define capitalized method as well under that circumstance.
77113
77114	  * added new factory interface 'WSDLDriverFactory#create_rpc_driver'
77115	    to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver
77116	    are merged).  'WSDLDriverFactory#create_driver' still creates
77117	    WSDLDriver for compatibility but it warns that the method is
77118	    deprecated.  please use create_rpc_driver instead of create_driver.
77119
77120	  * allow to use an URI object as an endpoint_url even with net/http,
77121	    not http-access2.
77122
77123	  === server side ===
77124
77125	  * added mod_ruby support to SOAP::CGIStub.  rename a CGI script
77126	    server.cgi to server.rb and let mod_ruby's RubyHandler handles the
77127	    script.  CGIStub detects if it's running under mod_ruby environment
77128	    or not.
77129
77130	  * added fcgi support to SOAP::CGIStub.  see the sample at
77131	    sample/soap/calc/server.fcgi.  (almost same as server.cgi but has
77132	    fcgi handler at the bottom.)
77133
77134	  * allow to return a SOAPFault object to respond customized SOAP fault.
77135
77136	  * added the interface 'generate_explicit_type' for server side
77137	    (CGIStub, HTTPServer).  call 'self.generate_explicit_type = true'
77138	    if you want to return simplified XML even if it's rpc/encoded
77139	    service.
77140
77141	  == WSDL ==
77142
77143	  === WSDL definition ===
77144
77145	  * improved XML Schema support such as extension, restriction,
77146	    simpleType, complexType + simpleContent, ref, length, import,
77147	    include.
77148
77149	  * reduced "unknown element/attribute" warnings (warn only 1 time for
77150	    each QName).
77151
77152	  * importing XSD file at schemaLocation with xsd:import.
77153
77154	  === code generation from WSDL ===
77155
77156	  * generator crashed when there's '-' in defined element/attribute
77157	    name.
77158
77159	  * added ApacheMap WSDL definition.
77160
77161	* sample/{soap,wsdl}: removed.
77162
77163Sun May 22 19:11:35 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
77164
77165	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):
77166	  should initialize session id context. [ruby-core:4663]
77167
77168	* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support.
77169
77170Sun May 22 12:30:58 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77171
77172	* intern.h, parse.y (ruby_pragma): removed.  fixed: [ruby-dev:26198]
77173
77174	* parse.y (parser_pragma): pragma name was ignored.
77175
77176Sun May 22 02:39:57 2005  Minero Aoki  <aamine@loveruby.net>
77177
77178	* lib/fileutils.rb (rm_r): new option :secure to avoid
77179	  time-to-check-to-time-to-use security problem.  [ruby-dev:26100]
77180
77181	* lib/fileutils.rb (remove_file, remove_dir): try chmod(700) only
77182	  on Windows.
77183
77184	* lib/fileutils.rb: does not depend on find.rb.
77185
77186	* lib/fileutils.rb: new method chmod_R.
77187
77188	* lib/fileutils.rb (chown_R): did not work.
77189
77190Sat May 21 10:23:21 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77191
77192	* bcc32/Makefile.sub: tds files were not deleted when DESTDIR
77193	  included '\' path delimiter. [ruby-dev:26193]
77194
77195Fri May 20 15:52:18 2005  Shugo Maeda  <shugo@ruby-lang.org>
77196
77197	* ext/readline/readline.c (readline_attempted_completion_function):
77198	  return 2 items if completion_proc returns only 1 item (for libedit).
77199
77200Fri May 20 01:24:33 2005  Shugo Maeda  <shugo@ruby-lang.org>
77201
77202	* ext/readline/extconf.rb: check rl_vi_editing_mode() and
77203	  rl_emacs_editing_mode().
77204
77205Thu May 19 23:33:09 2005  Shugo Maeda  <shugo@ruby-lang.org>
77206
77207	* ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]
77208
77209	* ext/readline/extconf.rb: added new option --enable-libedit.
77210
77211	* test/readline/test_readline.rb: added assertions for
77212	  Readline::HISTORY.
77213
77214	* lib/irb/input-method.rb: do not use Readline::HISTORY.pop.
77215
77216Wed May 18 23:42:25 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77217
77218	* error.c (exc_exception): reverted to call Exception#initialize
77219	  directly.  fixed: [ruby-dev:26177]
77220
77221Wed May 18 17:38:51 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
77222
77223	* dir.c (glob_helper): check whether path is "" before calling
77224	  do_opendir.  [ruby-dev:26183]
77225
77226Wed May 18 13:40:48 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
77227
77228	* win32/win32.c (NtInitialize): fix typo.
77229
77230Wed May 18 11:07:47 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77231
77232	* dir.c (glob_helper): get rid of using String.  [ruby-dev:26180]
77233
77234	* eval.c (ruby_options), win32/win32.c (NtInitialize): move argument
77235	  intialization back.  [ruby-dev:26180]
77236
77237Tue May 17 11:49:18 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
77238
77239	* win32/win32.c (unixtime_to_filetime): use localtime() instead of
77240	  gmtime() when using FileLocalTimeToFileTime().
77241
77242Mon May 16 22:42:52 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77243
77244	* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
77245	  to get rid of redefinition warnings on mingw.
77246
77247	* class.c (rb_class_init_copy): singleton class is disallowed to copy,
77248	  from its definition.  fixed: [ruby-talk:142749]
77249
77250	* parse.y (pragma_encoding): add prototype to suppress false warning
77251	  by VC.
77252
77253	* process.c (proc_spawn_v): use rb_w32_aspawn on Win32.
77254
77255Mon May 16 03:29:01 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77256
77257	* win32/win32.{h,c}: define rb_[pgu]id_t.
77258
77259Mon May 16 00:21:02 2005  Tanaka Akira  <akr@m17n.org>
77260
77261	* lib/pathname.rb (Pathname#unlink): use SystemCallError instead of
77262	  Errno::EISDIR because EISDIR is not portable.
77263	  [ruby-core:5001]
77264
77265Sun May 15 22:28:10 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
77266
77267	* lib/drb/drb.rb (DRbObject#method_missing): use raise(exception).
77268	  [ruby-dev:26164]
77269
77270Sun May 15 18:56:35 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77271
77272	* configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefs
77273	  to get rid of types which might not be defined yet.  [ruby-dev:26165]
77274
77275Sun May 15 14:35:46 2005  Tanaka Akira  <akr@m17n.org>
77276
77277	* lib/pathname.rb (Pathname#unlink): unlink a symlink to a directory
77278	  was failed.  [ruby-core:4992]
77279
77280Sun May 15 09:57:30 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77281
77282	* win32/win32.c (unixtime_to_filetime): deal with DST.
77283	  [ruby-talk:141817]
77284
77285Sat May 14 23:59:11 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77286
77287	* error.c (exc_exception, {exit,name_err,syserr}_initialize): call
77288	  Execption#initialize.  fixed: [ruby-talk:142593]
77289
77290Sat May 14 23:56:41 2005  Erik Huelsmann  <ehuels@gmail.com>
77291
77292	* configure.in: Check for the availability of pid_t, gid_t and uid_t and
77293	  remove AC_TYPE_UID_T.  fixed: [ruby-core:04745]
77294
77295	* defines.h: Remove pid_t typedef.
77296
77297	* ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
77298	 the available system types.
77299
77300	* process.c: Change instances of pid_t and gid_t to their rb_*
77301	 counterparts.
77302
77303	* ext/pty/pty.c: Change pid_t to rb_pid_t.
77304
77305	* vms/config.h: Define HAVE_{P,G,U}ID_T to 1.
77306
77307	* win32/Makefile.sub: Remove #define for {g,u}id_t.
77308
77309	* win32/win32.c: Change pid_t to rb_pid_t.
77310
77311	* wince/Makefile.sub: Remove #define for {g,u}id_t.
77312
77313	* wince/sys/types.h: Remove definitions of {p,g,u}id_t.
77314
77315Sat May 14 11:47:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77316
77317	* intern.h (ruby_pragma): prototype.  [ruby-core:04881]
77318
77319	* parse.y (parser_pragma): parse Emacsen hack.
77320
77321	* parse.y (parser_prepare): deal with specific syntax at the top.
77322
77323	* ruby.c (load_file): read the first line iff it started with shebang.
77324
77325Fri May 13 23:44:22 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77326
77327	* ext/extmk.rb: keep srcdir unexpanded.
77328
77329	* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
77330	  fixed: [ruby-core:04932]
77331
77332	* lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
77333	  also INSTALL_PROG and INSTALL_DATA system dependent.
77334	  fixed: [ruby-core:04931]
77335
77336Fri May 13 23:32:55 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77337
77338	* eval.c (unknown_node): add volatile directive to prototype.
77339
77340Fri May 13 17:50:49 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77341
77342	* variable.c (generic_ivar_get): rb_attr_get should not warn.
77343	  [ruby-dev:26010]
77344
77345Thu May 12 17:41:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
77346
77347	* ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5
77348
77349Thu May 12 16:50:40 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77350
77351	* lib/rdoc/parsers/parse_c.rb: more readability for mixing
77352	  progress "c..." and warning message.
77353
77354Thu May 12 15:50:56 2005  Tilman Sauerbeck  <tilman@code-monkey.de>
77355
77356	* lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.
77357	  [ruby-core:4341]
77358
77359Thu May 12 09:53:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77360
77361	* version.c (ruby_show_version): flush for non-tty stdout.
77362
77363Thu May 12 01:23:55 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77364
77365	* eval.c (unknown_node): ignore broken NODE to get rid of accessing
77366	  possibly inaccessible address.  fixed: [ruby-dev:26122]
77367	  should emit more useful information like [ruby-dev:26126], though.
77368
77369Wed May 11 15:58:39 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
77370
77371	* eval.c (break_jump): break should not cross functions.
77372	  [ruby-list:40818]
77373
77374Wed May 11 10:41:54 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77375
77376	* lib/tempfile.rb (Tempfile#unlink): fixed typo.
77377
77378Wed May 11 01:03:36 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77379
77380	* eval.c (TMP_ALLOC): use macro NEW_NODE() to get rid of warnings on
77381	  platforms which have no alloca().  fixed: [ruby-talk:141301]
77382
77383Sun May  8 23:17:47 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77384
77385	* ext/tk/lib/tk/timer.rb: fix typo.
77386
77387Sun May  8 21:00:50 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77388
77389	* hash.c (Init_Hash): remove custom "hash" and "eql?".
77390	  (ported from 1.8) [ruby-dev:26132]
77391
77392Sun May  8 16:50:25 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77393
77394	* lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"
77395	  [ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118]
77396
77397Sat May  7 22:58:00 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77398
77399	* lib/mkmf.rb (have_var): no libs argument is given.
77400
77401Fri May  6 08:08:37 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77402
77403	* hash.c:rb_hash_hash_i() should be static.  [ruby-core:04815]
77404
77405	* re.c should include regint.h for declarations of oniguruma
77406	  functions.  [ruby-core:04815]
77407
77408Sun May  1 09:15:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77409
77410	* ruby.c (process_sflag): replace '-' in variable names with '_'.
77411	  [ruby-dev:26107]
77412
77413	* eval.c (rb_eval), parse.y (arg): reduce fixnum range literal at
77414	  parser.  fixed: [ruby-dev:26113]
77415
77416Sat Apr 30 11:59:25 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77417
77418	* configure.in (RUBY_FUNC_ATTRIBUTE): check for function attribute.
77419	  [ruby-dev:26109]
77420
77421	* eval.c, gc.c: moved noinline to configure.in.
77422
77423	* rubyio.h (DEPRECATED): moved to configure.in.
77424
77425	* ruby.h (DEPRECATED, NOINLINE): default definition.
77426
77427	* win{32,ce}/Makefile.sub (config.h): deprecated and noinline for
77428	  __declspec() are available for VC++7 or later.
77429
77430Sat Apr 30 06:57:39 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
77431
77432	* lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger
77433	  and WEBrick::CGI#config.  these are necessary to use an instance of
77434	  WEBrick::CGI as the first argument of HTTPServlet#get_instance.
77435	  (suggested by Tatsuki Sugiura)
77436
77437	* lib/webrick/cgi.rb
77438	  (WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware]
77439	  if SERVER_SOFTWARE environment variable is not given.
77440	  (WEBrick::CGI#start): req.path_info must be a String.
77441	  (WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO
77442	  and SCRIPT_NAME to run in console.
77443
77444	* lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should
77445	  not use String#split("/"). it removes trailing empty path component.
77446
77447Thu Apr 28 08:21:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77448
77449	* ruby.c (set_arg0): use also environment variable space for setting
77450	  $0.  [ruby-core:04774]
77451
77452Wed Apr 27 23:42:22 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77453
77454	* win32/Makefile.sub (OPTFLAGS): default global optimization to
77455	  disabled only for VC++6.
77456
77457Tue Apr 26 22:58:00 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77458
77459	* ext/tk/tcltklib.c (ip_invoke_core): call Tcl's "::unknown"
77460	  command when can't get information of target command.
77461
77462Mon Apr 25 13:54:55 2005  speakillof  <speakillof@yahoo.co.jp>
77463
77464	* lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding were
77465	  swapped. [ruby-core:4772]
77466
77467Mon Apr 25 01:18:43 2005  Tanaka Akira  <akr@m17n.org>
77468
77469	* oniguruma.h (OnigWarnFunc): add a variadic argument.
77470	  [ruby-core:4751]
77471
77472Sat Apr 23 19:49:21 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77473
77474	* ext/tk/tcltklib.c (ip_RubyExitCommand): exit with status code
77475	  via TclTkIp#_eval didn't work. [ruby-talk:139390]
77476
77477Sat Apr 23 11:45:29 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77478
77479	* eval.c (rb_provided): should check also path name to be loaded.
77480	  fixed: [ruby-dev:26093]
77481
77482Fri Apr 22 16:55:35 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77483
77484	* ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.
77485
77486	* ext/tk/tcltklib.c: eTkCallbackReturn was not initialized.
77487
77488Thu Apr 21 06:45:28 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77489
77490	* ruby.c (ruby_incpush_expand, proc_options): expand relative path
77491	  given with -I option.  [ruby-dev:26090]
77492
77493	* configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
77494	  C++ support.  [ruby-dev:26089]
77495
77496Thu Apr 21 01:53:09 2005  Minero Aoki  <aamine@loveruby.net>
77497
77498	* lib/net/http.rb: add rdoc.
77499
77500Thu Apr 21 00:07:50 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77501
77502	* lib/mkmf.rb (create_makefile): support platforms have file separator
77503	  other than /.
77504
77505	* {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
77506	  of building platform.
77507
77508	* {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.
77509
77510Wed Apr 20 23:22:39 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77511
77512	* Makefile.in, common.mk: miniruby depends on MINIOBJS.
77513
77514	* dmydln.c (dln_load): dummy function to raise LoadError.
77515
77516	* cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
77517	  can't load extensions on Windows.
77518
77519Wed Apr 20 23:01:35 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77520
77521	* win32/ifchange.bat: delete testing files.
77522
77523Wed Apr 20 22:54:54 2005  Minero Aoki  <aamine@loveruby.net>
77524
77525	* lib/net/http.rb: new method Net::HTTP.post_form.
77526
77527	* lib/net/http.rb: new method Net::HTTPHeader#set_form_data and
77528	  its alias #form_data=.
77529
77530	* lib/net/http.rb: Net::HTTPHeader#add_header -> add_field
77531	  (adjustted to Ruby 1.8).
77532
77533Wed Apr 20 10:53:30 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
77534
77535	* lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.
77536	  [ruby-core:04737]
77537
77538Wed Apr 20 07:27:18 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77539
77540	* {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
77541	  add extout option.
77542
77543	* bcc32/setup.mak: make configuration variables overridable.
77544
77545Tue Apr 19 23:37:09 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
77546
77547	* lib/ftools.rb (File.safe_unlink): do not modify a symlinked file.
77548
77549Tue Apr 19 23:02:40 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77550
77551	* eval.c (search_required): deal with features with path too.
77552
77553	* intern.h (rb_file_expand_path): prototype.  fixed: [ruby-dev:26082]
77554
77555Tue Apr 19 08:38:07 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77556
77557	* eval.c (search_required, rb_require_safe): expand path in
77558	  rb_features.  [ruby-dev:26079]
77559
77560	* file.c (rb_find_file_ext): return absolute path.
77561
77562	* ext/extmk.rb: expand path for ext/**/extconf.rb.
77563
77564	* eval.c (search_required): handle static linked extensions.
77565
77566Mon Apr 18 15:37:35 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
77567
77568	* eval.c (rb_attr): attribute name check added.
77569
77570	* numeric.c (flo_plus): small typo fix.
77571
77572Mon Apr 18 11:25:14 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77573
77574	* ext/zlib/zlib.c (zstream_run): fixed SEGV. [ruby-core:4712]
77575
77576Sun Apr 17 23:57:49 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77577
77578	* ext/extmk.rb (extmake, parse_args): do not expand destdir.
77579
77580	* ext/extmk.rb (relative_from): treat mere drive letter as an absolute
77581	  path.
77582
77583Sat Apr 16 17:01:16 2005  Kouhei Sutou  <kou@cozmixng.org>
77584
77585	* sample/rss/tdiary_plugin/rss-recent.rb (rss_recent_cache_rss):
77586	  use the first date information of items as site date information
77587	  if channel doesn't have date information.
77588
77589Sat Apr 16 15:27:03 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77590
77591	* configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL.
77592	  files need timestamps to be kept are only ar-archive on a few
77593	  platforms, and be installed by instruby.rb but not INSTALL.
77594	  fixed: [ruby-core:04721]
77595
77596	* mkconfig.rb: purge autoconf value variables.
77597
77598Sat Apr 16 10:33:48 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77599
77600	* bcc32/Makefile.sub: quick hack... prepend DESTDIR.
77601	  still have restriction on DESTDIR ("", "/", "e:")
77602
77603Sat Apr 16 03:59:42 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
77604
77605	* ext/openssl/extconf.rb: check for OPENSSL_cleanse.
77606
77607	* ext/openssl/openssl_missing.h: ditto.
77608
77609Fri Apr 15 22:40:19 2005  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
77610
77611	* ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE.codepage=
77612
77613	* ext/win32ole/tests/testOLETYPELIB.rb: correct expected message.
77614
77615Fri Apr 15 22:04:07 2005  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
77616
77617	* ext/win32ole/win32ole.c(ole_invoke): retry after converting Qnil
77618	  to VT_EMPTY.
77619
77620Thu Apr 14 19:05:06 2005  Minero Aoki  <aamine@loveruby.net>
77621
77622	* parse.y [ripper] (regexp): dispatch regexp option.
77623	  [ruby-Bugs:1688]
77624
77625	* ext/ripper/lib/core.rb: regenerated (interface changed).
77626
77627Thu Apr 14 18:59:43 2005  Minero Aoki  <aamine@loveruby.net>
77628
77629	* lib/fileutils.rb (remove_file): ignore exceptions caused by
77630	  chmod.
77631
77632	* lib/fileutils.rb (remove_dir): try to get rights to rmdir.
77633	  [ruby-Bugs:1502]
77634
77635Thu Apr 14 18:51:02 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
77636
77637	* lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745]
77638
77639	* lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb:
77640	  fix location of @RCS_ID
77641
77642	* lib/irb/cmd/help.rb: a lost of release IRB 0.9.5.
77643
77644Thu Apr 14 15:10:30 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
77645
77646	* lib/irb/notifier.rb, lib/irb/output-method.rb, lib/irb/ext/history.rb
77647	  fixed warning of 'ruby -w'
77648
77649Thu Apr 14 05:35:45 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
77650
77651	* doc/irb/irb.rd.ja: a lost  of release IRB 0.9.5.
77652
77653	* lib/irb/slex.rb: bug fix by [ruby-core:04707].
77654
77655Thu Apr 14 00:20:31 2005  Keiju Ishitsuka  <keiju@ruby-lang.org>
77656
77657	* bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.
77658
77659Wed Apr 13 23:40:21 2005  Kouhei Sutou  <kou@cozmixng.org>
77660
77661	* lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.
77662
77663	* lib/rss/rss.rb (RSS::Element#converter): fixed converter
77664	  transmission bug.
77665
77666Wed Apr 13 22:12:16 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77667
77668	* lib/optparse.rb (OptionParser#order!): call handlers iff matches
77669	  non-switch.
77670
77671Wed Apr 13 21:20:35 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
77672
77673	* configure.in (mingw32): extract msvcr*.dll from objdump result.
77674
77675Wed Apr 13 19:25:31 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77676
77677	* configure.in (mingw32): use actual runtime DLL name as ruby DLL
77678	  name and default load path.
77679
77680	* win32/Makefile.sub, win32/setup.mak: ditto.
77681
77682Tue Apr 12 19:30:36 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77683
77684	* lib/optparse.rb (OptionParser#make_switch, OptionParser#order!):
77685	  added non-option and end-of-args handler.  [ruby-talk:136878]
77686	  [EXPERIMENTAL]
77687
77688Tue Apr 12 15:33:09 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77689
77690	* ext/tk/tcltklib.c (ip_finalize): better modification than the
77691	  previous commit [ruby-dev:26029].
77692
77693Tue Apr 12 12:38:06 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77694
77695	* ext/tk/tcltklib.c (ip_finalize): fix SEGV when Tcl_GlobalEval()
77696	  modifies the argument string to eval.
77697
77698Tue Apr 12 02:21:55 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77699
77700	* ext/tk/tcltklib.c (ip_finalize): add existence check of
77701	  Tcl commands before calling Tcl_GlobalEval().
77702
77703Mon Apr 11 23:36:04 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
77704
77705	* lib/drb/drb.rb: [druby-ja:123] fix: When reference of my object is
77706	  loaded, the object is tainted.
77707
77708	* test/drb/test_drb.rb: ditto.
77709
77710Mon Apr 11 22:18:23 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
77711
77712	* dir.c, file.c (lstat): avoid warnings for mingw.
77713
77714Mon Apr 11 20:11:06 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77715
77716	* ext/tk/tcltklib.c (ip_finalize): adhoc patch to avoid SEGV when exit
77717	  on Tcl/Tk8.3.x.
77718
77719Mon Apr 11 15:24:20 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
77720
77721	* lib/mkmf.rb (configuration): shouldn't output hdrdir twice.
77722
77723Sat Apr  9 18:20:31 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77724
77725	* ext/tk/lib/tk/image.rb: support to create TkImage object without
77726	  creating a new image object on Tk.
77727
77728	* ext/tk/lib/tk/menu.rb: use TkCommandNames on create_self()
77729
77730	* ext/tk/lib/tk/root.rb: TkRoot.to_eval() returns '.'.
77731
77732	* ext/tk/lib/tk/text.rb: add methods to create a TkText::IndexString
77733	  from (x, y) coords.
77734
77735	* ext/tk/lib/tkextlib/tile/: add demo and update support status.
77736
77737Sat Apr  9 14:42:29 2005  Kouhei Sutou  <kou@cozmixng.org>
77738
77739	* sample/rss/tdiary_plugin/rss-recent.rb: supported configuration
77740	  via Web browser.
77741
77742Fri Apr  8 20:17:48 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77743
77744	* ext/extmk.rb (extmake): hdrdir needs to be defined also in
77745	  Config::CONFIG.
77746
77747	* lib/mkmf.rb (configuration, create_makefile): get rid of recursive
77748	  macro reference.
77749
77750Fri Apr  8 01:55:20 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77751
77752	* ext/tk/sample/demos-{en,jp}/goldberg.rb: reduced window size.
77753	  [ruby-dev:25992]
77754
77755Thu Apr  7 23:58:40 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77756
77757	* ext/extmk.rb (extmake): keep directory names in Makefile as macros.
77758
77759	* lib/mkmf.rb (configuration, create_makefile): ditto.
77760
77761	* lib/mkmf.rb (CXX_EXT): separate C++ extensions.
77762
77763Thu Apr  7 17:24:17 2005  Shugo Maeda  <shugo@ruby-lang.org>
77764
77765	* eval.c (rb_call0): "return" event hook should be always executed
77766	  if event_hooks is set.
77767
77768Thu Apr  7 14:33:09 2005  Kouhei Sutou  <kou@cozmixng.org>
77769
77770	* test/rss/test_maker_dc.rb (test_date): added a test for #date=
77771	  and #dc_date=.
77772
77773Thu Apr  7 11:49:53 2005  Kouhei Sutou  <kou@cozmixng.org>
77774
77775	* lib/rss/maker/dublincore.rb: _really_ supported multiple Dublin
77776	  Core items.
77777
77778	* test/rss/rss-assertions.rb (assert_multiple_dublin_core): added
77779	  an assertion for testing multiple Dublin Core items.
77780
77781	* test/rss/test_maker_dc.rb (test_rss10_multiple): added a test
77782	  for making multiple Dublin Core items.
77783
77784Wed Apr  6 16:06:30 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77785
77786	* test/ruby/test_env.rb (test_key): should test ENV.key instead of
77787	  ENV.index. [ruby-dev:25994]
77788
77789Tue Apr  5 16:01:12 2005  Kouhei Sutou  <kou@cozmixng.org>
77790
77791	* lib/rss/*: refactored.
77792	  - gave a name to 'x'.
77793	  - undef_method -> remove_method for avoiding a warning in ruby 1.6.
77794
77795Tue Apr  5 15:45:33 2005  Kouhei Sutou  <kou@cozmixng.org>
77796
77797	* sample/rss/tdiary_plugin/rss-recent.rb:
77798	  new option: @options['rss-recent.use-image-link']:
77799	  use image as link instread of text if available.
77800
77801	* sample/rss/tdiary_plugin/rss-recent.rb (RSS_RECENT_VERSION):
77802	  0.0.5 -> 0.0.6.
77803
77804Tue Apr  5 15:15:26 2005  Kouhei Sutou  <kou@cozmixng.org>
77805
77806	* lib/rss/dublincore.rb: supported multiple Dublin Core items.
77807
77808	* lib/rss/parser.rb: added class name registry for complex model
77809	  elements. (ex. have childlen elements, have some attributes and
77810	  a child element and so on.)
77811
77812	* lib/rss/maker/base.rb: added default current_element implementation.
77813
77814	* lib/rss/maker/dublincore.rb: supported multiple Dublin Core
77815	  items.
77816
77817	* lib/rss/maker/image.rb: supproted new Dublin Core API.
77818
77819	* lib/rss/trackback.rb (RSS::TrackBackUtils.new_with_value_if_need):
77820	  moved to RSS::Utils.
77821
77822	* lib/rss/utils.rb (RSS::Utils.new_with_value_if_need):
77823	  moved from RSS::TrackBackUtils.
77824
77825	* lib/rss/maker/image.rb: fixed invalid argument of
77826	  add_need_initialize_variable bug.
77827
77828	* lib/rss/maker/trackback.rb: ditto.
77829
77830	* lib/rss/rss.rb (Hash#merge): added for ruby 1.6.
77831
77832	* lib/rss/rss.rb (RSS::BaseModel.date_writer): changed to accept nil
77833	  for date value.
77834
77835	* test/test_dublincore.rb: added tests for plural accessor and
77836	  multiple Dublin Core items.
77837
77838	* test/test_setup_maker_1.0.rb: fixed swapped actual and expected
77839	  values.
77840
77841Mon Apr  4 23:17:52 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77842
77843	* ext/tk/lib/tk.rb (TkComm#array2tk_list): accept enc-mode argument to
77844	  decide whether convert encoding of each element or not.
77845
77846	* ext/tk/lib/tk/variable.rb (TkVariable#value=): fail to convert the
77847	  encoding of array elements when assign an array to an TkVariable
77848	  object.
77849
77850Mon Apr  4 10:26:48 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77851
77852	* ext/tk/lib/tk/dialog.rb: fixed typo.
77853
77854Sat Apr  2 23:38:54 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77855
77856	* configure.in (CP, INSTALL): get rid of less portable options.
77857
77858	* lib/mkmf.rb (configuration, create_makefile): correct configuration
77859	  variable.
77860
77861	* wince/configure.bat, wince/setup.mak: add prefix, extstatic and
77862	  rdoc options.
77863
77864	* lib/mkmf.rb (create_makefile): ensure library directories get made
77865	  before copying libraries there.
77866
77867Sat Apr  2 16:59:46 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77868
77869	* ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
77870
77871	* ext/tk/lib/tk/variable.rb: fix namespace trouble when autoloading
77872
77873	* ext/tk/lib/tk/palette.rb: define Tcl variable 'tkPalette' as global
77874
77875	* ext/tk/lib/tk/dialog.rb: use array2tk_list method when calling
77876	  Tk.ip_eval.
77877
77878	* ext/tk/lib/tk/autoload.rb: add autoload entry 'TkDialogObj' and
77879	  'TkWarningObj'
77880
77881Sat Apr  2 13:23:17 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
77882
77883	* hash.c (env_key): ENV.index is deprecated as well as Hash#index.
77884	  use ENV.key instead. [ruby-dev:25974]
77885
77886Sat Apr  2 02:19:11 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77887
77888	* ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'
77889	  option without 'widgetname' option to allow creating a widget object
77890	  which is used as an argument of Tcl/Tk's widget allocation commands.
77891
77892	* ext/tk/lib/tk/image.rb (TkImage.initialize): accept 'imagename'
77893	  option to create a image object by the given name.
77894
77895Thu Mar 31 22:23:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77896
77897	* lib/mkmf.rb (SRC_EXT): exclude just case different suffixes on case
77898	  insensitive file system platforms.
77899
77900	* README.EXT, README.EXT.ja (Appendix C): utility functions.
77901
77902Thu Mar 31 14:08:43 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
77903
77904	* ext/openssl/ossl_engine.c (ossl_engine_s_load): should return
77905	  value. [ruby-dev:25971]
77906
77907Thu Mar 31 11:07:50 2005  Kouhei Sutou  <kou@cozmixng.org>
77908
77909	* lib/rss/parser.rb: @@setter -> @@setters.
77910
77911	* lib/rss/parser.rb
77912	  (RSS::BaseListener.register_uri)
77913	  (RSS::BaseListener.uri_registered?)
77914	  (RSS::BaseListener.install_get_text_element):
77915	  swapped the first argument and the second argument.
77916
77917	* lib/rss/taxonomy.rb: swapped the first argument and the second
77918	  argument for RSS::BaseListener.install_get_text_element.
77919	* lib/rss/image.rb: ditto.
77920	* lib/rss/syndication.rb: ditto.
77921	* lib/rss/dublincore.rb: ditto.
77922	* lib/rss/parser.rb: ditto.
77923	* lib/rss/1.0.rb: ditto.
77924	* lib/rss/2.0.rb: ditto.
77925	* lib/rss/0.9.rb: ditto.
77926	* lib/rss/content.rb: ditto.
77927
77928Thu Mar 31 11:00:36 2005  Kouhei Sutou  <kou@cozmixng.org>
77929
77930	* lib/rss/parser.rb
77931	  (RSS::BaseListener.install_setter)
77932	  (RSS::BaseListener.register_uri): changed fallback way.
77933
77934Thu Mar 31 08:25:40 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77935
77936	* common.mk (RUBYOPT): clear for the environment RubyGems installed.
77937
77938	* common.mk (clean-local): keep $(PREP) files till distclean.
77939
77940	* common.mk (check): do all tests.
77941
77942Thu Mar 31 06:00:20 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
77943
77944	* ext/openssl/ossl_engine.c (ossl_engine_s_load): should not raise
77945	  error even if the specified engine could not be loaded. (Dynamic
77946	  engines don't have fixed name to load.)
77947
77948Wed Mar 30 17:41:48 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77949
77950	* ext/tk/tcltklib.c: add TclTkIp#_create_console() method to create
77951	  a Tcl/Tk's console window.
77952
77953	* ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method.
77954
77955	* ext/tk/lib/remote-tk.rb: ditto.
77956
77957	* ext/tk/lib/tk/console.rb: ditto.
77958
77959	* ext/tk/lib/tk.rb: update RELEASE_DATE
77960
77961	* ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object.
77962
77963	* ext/tk/sample/tkextlib/**: ditto.
77964
77965Tue Mar 29 22:20:49 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
77966
77967	* test/rinda/test_rinda.rb: use DRbObject.new_with instead of reinit.
77968	  [ruby-dev:25961]
77969
77970Tue Mar 29 00:04:57 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
77971
77972	* lib/drb/drb.rb: move method DRbObject#reinit to DRbObject.new_with.
77973	  extract method DRbObject.prepare_backtrace. add DRb.regist_server,
77974	  remove_server, fetch_server. change server in thread variable if
77975	  in-proc server. [druby-ja:113]
77976
77977	* lib/drb/gw.rb: ditto.
77978
77979Mon Mar 28 20:53:44 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77980
77981	* ext/extmk.rb (extract_makefile): nothing to be removed when no file
77982	  was deleted.
77983
77984	* ext/extmk.rb (extmake): restore srcdir.
77985
77986Mon Mar 28 08:39:49 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
77987
77988	* ext/iconv/iconv.c (iconv_create): Iconv::Failure requires 3
77989	  arguments.  (pointed out by NaHi)
77990
77991Sun Mar 27 00:56:58 2005  Minero Aoki  <aamine@loveruby.net>
77992
77993	* lib/fileutils.rb (remove_file): ignore Errno::E* if force option
77994	  is set. [ruby-dev:25944]
77995
77996Sat Mar 26 22:51:33 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
77997
77998	* ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whether
77999	  a class is available for a callback entry.
78000
78001	* ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method.
78002
78003	* ext/tk/lib/tk.rb (array2tk_list): change from private module method
78004	  of TkComm to public module method.
78005
78006	* ext/tk/lib/tk.rb (cget): add check that slot argument is not
78007	  empty string.
78008
78009	* ext/tk/lib/tk.rb (configinfo): ditto.
78010
78011	* ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument
78012	  is not empty string.
78013
78014	* ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto.
78015
78016	* ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of
78017	  cursor and cursor= method).
78018
78019	* ext/tk/lib/tk/font.rb: improve font treatment when the font name is
78020	  empty string.
78021
78022	* ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure
78023	  type.
78024
78025	* ext/tk/lib/tk/variable.rb: improve treatment of array-type
78026	  tkvariable.
78027
78028	* ext/tk/lib/tkextlib/blt.rb: add commands for zooming.
78029
78030	* ext/tk/lib/tkextlib/blt/*: bug fix.
78031
78032	* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods
78033	  to call TreeCtrl commands for bindings.
78034
78035	* ext/tk/sample/tkextlib/blt/*: new sample scripts.
78036
78037	* ext/tk/sample/tkextlib/treectrl/*: ditto.
78038
78039Fri Mar 25 10:53:16 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
78040
78041	* configure.in (WIN32_LEAN_AND_MEAN): removed because a lot of
78042	  troubles.  [ruby-list:40721]
78043
78044Thu Mar 24 23:10:44 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78045
78046	* lib/mkmf.rb (macro_defined?): try to compile for an old compiler
78047	  which doesn't bail out at #error directive.  [ruby-dev:25818]
78048
78049	* lib/mkmf.rb (check_sizeof): refine logging messages.
78050
78051Wed Mar 23 19:08:10 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78052
78053	* lib/webrick/utils.rb (WEBrick::Utils.create_listeners):
78054	  - should raise ArgumentError if no port is specified.
78055	  - even if the specified port is 0, all TCPServers should be
78056	    initialized with the port given to the first one.
78057
78058	* lib/webrick/server.rb (WEBrick::GenericServer#initialize): if :Port
78059	  parameter is 0, it should be updated with the port number which
78060	  ectually listened.
78061
78062Wed Mar 23 16:12:40 2005  Shugo Maeda  <shugo@ruby-lang.org>
78063
78064	* parse.y (primary): fix lineno of rescue and ensure.
78065
78066Wed Mar 23 00:39:05 2005  Shugo Maeda  <shugo@ruby-lang.org>
78067
78068	* test/ruby/test_settracefunc.rb (test_event): added tests for
78069	  "class" and "end" and "raise".
78070
78071Sun Mar 20 22:51:19 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78072
78073	* lib/mkmf.rb (mkmf_failed): check if Makefile is created without
78074	  create_makefile.
78075
78076Sat Mar 19 23:48:10 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78077
78078	* misc/ruby-mode.el (ruby-expr-beg): returned true always.
78079	  fixed: [ruby-list:40683]
78080
78081Sat Mar 19 00:41:02 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78082
78083	* ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
78084	  information without creating a TkFont object.
78085
78086	* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
78087	  classes for components of Tk::TreeCtrl
78088
78089Thu Mar 17 17:42:13 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78090
78091	* struct.c (make_struct): allow non local-id field
78092	  names. [ruby-core:04575]
78093
78094	* struct.c (inspect_struct): ditto.
78095
78096Wed Mar 16 23:39:13 2005  Shugo Maeda  <shugo@ruby-lang.org>
78097
78098	* test/ruby/test_settracefunc.rb: added test for c-return.
78099
78100Wed Mar 16 22:57:43 2005  Shugo Maeda  <shugo@ruby-lang.org>
78101
78102	* eval.c (rb_call0): call_cfunc() should be protected.
78103
78104	* eval.c (rb_add_event_hook): use K&R style.
78105
78106	* eval.c (rb_remove_event_hook): ditto.
78107
78108Wed Mar 16 22:03:15 2005  Shugo Maeda  <shugo@ruby-lang.org>
78109
78110	* eval.c (rb_add_event_hook): new function to add a hook function for
78111	  interpreter events.
78112
78113Wed Mar 16 18:08:32 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78114
78115	* eval.c (rb_call0): reorganize "return" event post.
78116
78117	* eval.c (return_jump): no need to post "return" event here.
78118
78119Tue Mar 15 23:49:19 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78120
78121	* ext/iconv/iconv.c (Init_iconv): InvalidEncoding also should include
78122	  Iconv::Failure.
78123
78124Tue Mar 15 23:12:36 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78125
78126	* eval.c (recursive_check, recursive_push): more restrictive check.
78127	  fixed: [ruby-dev:25916]
78128
78129Tue Mar 15 16:38:31 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78130
78131	* ext/tk/tkutil/tkutil.c (ary2list): give wrong arguments to hash2kv()
78132
78133Mon Mar 14 19:39:33 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78134
78135	* ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value
78136	  when restarting
78137
78138	* ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer
78139
78140Mon Mar 14 12:21:03 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78141
78142	* ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callback
78143	  time. So, 'continue' do all callbacks between 'stop' and 'continue'.
78144
78145Mon Mar 14 08:14:56 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78146
78147	* object.c (str_to_id): raise ArgumentError for NUL containing
78148	  strings.
78149
78150Mon Mar 14 00:13:49 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78151
78152	* ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offset
78153	  value. get a little better accuracy.
78154
78155	* ext/tk/sample/demos-en/widget: use a binding with no local variables
78156	  when eval a sample script.
78157
78158	* ext/tk/sample/demos-en/bind.rb: ditto.
78159
78160	* ext/tk/sample/demos-en/tcolor: ditto.
78161
78162	* ext/tk/sample/demos-jp/widget: ditto.
78163
78164	* ext/tk/sample/demos-jp/bind.rb: ditto.
78165
78166	* ext/tk/sample/demos-jp/tcolor: ditto.
78167
78168Sun Mar 13 22:19:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78169
78170	* eval.c (recursive_pop): raise TypeError instead of fatal error.
78171	  fixed: [ruby-dev:25843]
78172
78173Sun Mar 13 10:09:17 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
78174
78175	* test/rinda/test_rinda.rb: remove test_gc. [ruby-dev:25871]
78176
78177Sun Mar 13 02:32:54 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78178
78179	* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH
78180	  parameter from the current SSL object.
78181
78182Sun Mar 13 02:09:03 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78183
78184	* ext/openssl/ossl_pkey_dh.c (ossl_create_dh): fix typo.
78185	  patch from IWATSUKI Hiroyuki. [ruby-dev:25867]
78186
78187	* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): ditto.
78188	  (ossl_call_tmp_dh_callback): ditto
78189
78190Fri Mar 11 03:24:59 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78191
78192	* parse.y (primary): wrong var node was set for NODE_LAMBDA.
78193	  [ruby-core:04555]
78194
78195Thu Mar 10 19:10:29 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78196
78197	* ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler
78198	  when exit from a recursive called eventloop
78199
78200	* ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a
78201	  realtime operation
78202
78203	* ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class
78204
78205	* ext/tk/lib/tk/textmark.rb: move  TkTextMark#+ and TkTextMark#- to
78206	  TkText::IndexModMethods
78207
78208	* ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and
78209	  add them to TkText::IndexModMethods module
78210
78211	* ext/tk/sample/tktextio.rb: add test part of "seek by text index
78212	  modifiers"
78213
78214Thu Mar 10 08:10:11 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78215
78216	* re.c (make_regexp): need to free internal regexp structure when
78217	  compilation fails.  [ruby-talk:133228]
78218
78219Thu Mar 10 01:08:20 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78220
78221	* parse.y (bv_decl): remove initialize rule from block local
78222	  variable declaration.
78223
78224Wed Mar  9 23:55:34 2005  Tanaka Akira  <akr@m17n.org>
78225
78226	* lib/pp.rb (PP::PPMethods#guard_inspect_key): support
78227	  __recursive_key__.  [ruby-dev:25821]
78228
78229Wed Mar  9 19:42:21 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78230
78231	* ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks:
78232	  - SSLContext#client_cert_cb is a Proc. it is called when a client
78233	    certificate is requested by a server and no certificate was yet
78234	    set for the SSLContext. it must return an Array which includes
78235	    OpenSSL::X509::Certificate and OpenSSL::PKey::RSA/DSA objects.
78236	  - SSLContext#tmp_dh_callback is called in key exchange with DH
78237	    algorithm. it must return an OpenSSL::PKey::DH object.
78238
78239	* ext/openssl/ossl_ssl.c:
78240	  (ossl_sslctx_set_ciphers): ignore the argument if it's nil.
78241	  (ossl_start_ssl, ossl_ssl_write): call rb_sys_fail if errno isn't 0.
78242	  [ruby-dev:25831]
78243
78244	* ext/openssl/ossl_pkey.c
78245	  (GetPrivPKeyPtr, ossl_pkey_sign): should call rb_funcall first.
78246	  (DupPrivPKeyPtr): new function.
78247
78248	* ext/openssl/ossl_pkey_dh.c: add default DH parameters.
78249
78250	* ext/openssl/ossl_pkey.h: ditto.
78251
78252	* ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285]
78253
78254Wed Mar  9 18:09:51 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78255
78256	* parse.y (gettable_gen): warns if VCALL name is used as
78257	  out-of-scope block local variable.  [EXPERIMENTAL]
78258
78259	* parse.y (opt_bv_decl): add explicit block local variable
78260	  declaration.  raises error for name conflicts.  [EXPERIMENTAL]
78261
78262Wed Mar  9 13:37:57 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78263
78264	* ext/tk/sample/tktextio.rb: fix bug of handling 'end' position.
78265	  support initial text, overwrite setting and pos_gravity control.
78266
78267Tue Mar  8 18:16:55 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78268
78269	* ext/tk/sample/tktextio.rb: New sample script. TkTextIO class in this
78270	  sample supports to use a text widget as if it is a I/O stream (such
78271	  like as StringIO class).
78272
78273Tue Mar  8 13:39:25 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78274
78275	* ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite
78276	  derived OSs.
78277
78278Tue Mar  8 12:36:17 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78279
78280	* ext/socket/socket.c: document from Sam Roberts
78281	  <sroberts@uniserve.com> for getsockopt and setsockopt is merged.
78282	  [ruby-doc:824]
78283
78284Tue Mar  8 10:48:53 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78285
78286	* eval.c (rb_exec_recursive): declaration should precede statements
78287	  before C99.
78288
78289Tue Mar  8 10:05:40 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78290
78291	* error.c (errno_missing): Errno.const_missing to allow references
78292	  to SyscallError exceptions not defined on the platform.
78293	  [ruby-core:04522]
78294
78295	* error.c (Init_syserr): Errno::NOERROR(0) for fallback exception.
78296
78297Tue Mar  8 01:19:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
78298
78299	* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
78300	  fixed: [ruby-dev:25828]
78301
78302Mon Mar  7 21:29:40 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78303
78304	* lib/webrick/server.rb (WEBrick::GenericServer#start): should
78305	  restore @token if accept failure. suggested by Dominique Brezinski.
78306	  [ruby-core:04518]
78307
78308	* sample/webrick/httpsd.rb: fix typo in comment. suggested by
78309	  Kazuhiko Shiozaki.
78310
78311Mon Mar  7 21:01:37 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78312
78313	* eval.c (rb_require_safe): get actual path string under safe level
78314	  when requested.  fixed: [ruby-dev:25815]
78315
78316Mon Mar  7 16:46:02 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78317
78318	* ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,
78319	  ossl_ssl_write): need to set errno on Win32 platform.
78320
78321Mon Mar  7 14:55:43 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78322
78323	* eval.c (block_pass): should not push unique number if a block is
78324	  not an orphan.  [ruby-dev:25808]
78325
78326Mon Mar  7 14:13:23 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78327
78328	* ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
78329	  should set @eof and @rbuffer.
78330
78331Mon Mar  7 10:28:00 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78332
78333	* object.c (inspect_obj): unintended space removal.
78334	  [ruby-dev:25810]
78335
78336	* eval.c (rb_exec_recursive): should not use NODE in disclosed
78337	  context.  [ruby-dev:25812]
78338
78339	* io.c (rb_f_open): need not to check if to_open value is a
78340	  T_FILE.  [ruby-dev:25812]
78341
78342Mon Mar  7 01:21:01 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78343
78344	* ext/tk/tkutil/tkutil.c: follow the change of st.c (committed
78345	  at Fri, 4 Mar 2005 15:47:47 +0900 by matz)
78346
78347Mon Mar  7 00:01:55 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78348
78349	* ext/tk/tcltklib.c: fail to call TclTkLib.mainloop when $SAFE==4
78350
78351Sun Mar  6 13:04:10 2005  Dee Zsombor  <zsombor@ruby-lang.org>
78352
78353	* misc/ruby-electric.el: added.
78354	* misc/Readme: updated.
78355
78356Sun Mar  6 11:47:10 2005  Sam Roberts  <sroberts@uniserve.com>
78357
78358	* lib/pp.rb: rdoced.  [ruby-core:4490]
78359
78360Sun Mar  6 11:36:37 2005  Tanaka Akira  <akr@m17n.org>
78361
78362	* lib/pp.rb (File::Stat#pretty_print): Etc.getpwuid and Etc.getgrgid
78363	  may return nil.  [ruby-talk:129826]
78364	  reported by Daniel Berger.
78365
78366Sun Mar  6 06:34:31 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78367
78368	* ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that
78369	  the underlying IO become readable or writable if the error was
78370	  SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795]
78371
78372	* ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto.
78373
78374	* ext/openssl/lib/openssl/buffering.rb
78375	  (Buffering#consume_rbuf): pointless eof flag resetting is deleted.
78376	  (Buffering#read): should return an empty string if the specified
78377	  size is zero.
78378	  (Buffering#readpartial): new method.
78379	  (Buffering#readline): fix typo.
78380	  (Buffering#getc): return the first character of string correctly.
78381	  (Buffering#readchar): fix typo.
78382	  (Buffering#eof?): should read again it the input buffer is empty.
78383	  (Buffering#do_write): should rescue Errno::EAGAIN.
78384	  (Buffering#puts): use "\n" as the output field separator.
78385
78386	* ext/openssl/extconf.rb: get rid of GNUmakefile generation.
78387
78388	* text/openssl/test_pair.rb: test for IO like methods.
78389
78390	* test/ruby/ut_eof.rb: test about empty file.
78391
78392Sat Mar  5 17:48:31 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
78393
78394	* dir.c (rb_glob): fixed mismatch of argument.
78395
78396	* dir.c (fnmatch): removed unnecessary code. (by string.c 1.219)
78397
78398	* win32/win32.c (NtInitialize): ditto. (by numeric.c 1.117)
78399
78400Sat Mar  5 16:50:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
78401
78402	* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.65
78403
78404Sat Mar  5 16:29:26 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78405
78406	* ext/tk/lib/multi-tk.rb: freeze callback-entry objects
78407
78408	* ext/tk/lib/tkextlib/tile.rb: support tile-0.6
78409
78410Sat Mar  5 12:52:08 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78411
78412	* lib/mkmf.rb (create_makefile): allow putting spaces between target
78413	  and colon in depend file.
78414
78415Sat Mar  5 02:41:00 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78416
78417	* file.c (eaccess): workaround for VC++8 runtime.
78418
78419	* win32/win32.c (ioinfo): VC++8 support.
78420
78421Fri Mar  4 19:39:55 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78422
78423	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace
78424	  also locally defined modules.
78425
78426	* ext/iconv/iconv.c: rdocified.
78427
78428	* ext/strscan/strscan.c: moved misplaced rdoc.
78429
78430Fri Mar  4 16:11:20 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78431
78432	* eval.c (rb_exec_recursive): matched the declaration to prototype.
78433
78434	* ext/curses/curses.c: don't need to check HAVE_WCOLOR_SET excluding
78435	  window_color_set().
78436
78437	* ext/tk/tcltklib.c: fixed commit mistakes.
78438
78439Fri Mar  4 12:45:17 2005  Tilman Sauerbeck  <tilman@code-monkey.de>
78440
78441	* lib/rdoc/parsers/parse_c.rb: allow whitespace after function names.
78442	  [ruby-core:4296]
78443
78444	* lib/rdoc/parsers/parse_simple.rb: adds support for private comments
78445	  in the "simple" parser. [ruby-core:4301]
78446
78447Fri Mar  4 12:45:17 2005  Charles Mills  <cmills@freeshell.org>
78448
78449	* lib/rdoc/parsers/parse_c.rb: adds support for constants
78450	  (rb_define_const), accessors (rb_define_attr), and makes a
78451	  couple fixes. [ruby-core:4307]
78452
78453Fri Mar  4 12:45:17 2005  Florian Gross  <florgro@gmail.com>
78454
78455	* lib/rdoc/parsers/parse_rb.rb: Logic for def Builtin.method() end
78456	  [ruby-core:4302]
78457
78458Fri Mar  4 12:45:17 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78459
78460	* array.c: replace rb_protect_inspect() and rb_inspecting_p() by
78461	  rb_exec_recursive() in eval.c.
78462
78463	* eval.c (rb_exec_recursive): new function.
78464
78465	* array.c (rb_ary_join): use rb_exec_recursive().
78466
78467	* array.c (rb_ary_inspect, rb_ary_hash): ditto.
78468
78469	* file.c (rb_file_join): ditto.
78470
78471	* hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto.
78472
78473	* io.c (rb_io_puts): ditto.
78474
78475	* object.c (rb_obj_inspect): ditto
78476
78477	* struct.c (rb_struct_inspect): ditto.
78478
78479Fri Mar  4 10:15:30 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78480
78481	* lib/set.rb (SortedSet::setup): a hack to shut up warning.
78482	  [ruby-talk:132866]
78483
78484Fri Mar  4 09:37:12 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78485
78486	* common.mk (install-nodoc, pre-install-doc, post-install-doc):
78487	  fix some omissions.
78488
78489Fri Mar  4 08:09:12 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78490
78491	* lib/time.rb (Time::strptime): add new function.  inspired by
78492	  [ruby-talk:132815].
78493
78494	* lib/parsedate.rb (ParseDate::strptime): ditto.
78495
78496Fri Mar  4 07:07:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
78497
78498	* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63
78499
78500Thu Mar  3 23:24:00 2005  NARUSE, Yui  <naruse@ruby-lang.org>
78501
78502	* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62
78503
78504Thu Mar  3 18:47:18 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78505
78506	* {bcc32,win32,wince}/Makefile.sub (config.h): check if affected
78507	  when makefiles are modified.
78508
78509	* {bcc32,win32,wince}/Makefile.sub (config.status): add variables
78510	  for tests.
78511
78512	* win32/ifchange.bat: try to update a file only if modified.
78513
78514	* win32/resource.rb: more descriptions.
78515
78516	* common.mk: add {pre,post}-install targets.
78517
78518	* instruby.rb (install?): install particular part.
78519
78520	* bcc32/Makefile.sub (post-install-ext): remove debug information
78521	  files after installation.
78522
78523	* ext/tk/tcltklib.c (ip_rbUpdateCommand, ip_rb_threadUpdateCommand):
78524	  get rid of warnings with Tcl/Tk 8.3 or former.
78525
78526Thu Mar  3 11:49:51 2005  Kouhei Sutou  <kou@cozmixng.org>
78527
78528	* sample/rss/tdiary_plugin/rss-recent.rb: added site information.
78529
78530Wed Mar  2 19:53:44 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78531
78532	* ext/extmk.rb (parse_args): return false if nothing matched.
78533
78534Wed Mar  2 17:15:08 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78535
78536	* ext/tk/tcltklib.c (lib_eventloop_core): fix typo
78537
78538Wed Mar  2 16:59:50 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78539
78540	* eval.c (ruby_native_thread_kill): call pthread_kill() to send a
78541	  signal to ruby's native thread
78542
78543	* ruby.h: add definition of ruby_native_thread_kill()
78544
78545	* signal.c (sigsend_to_ruby_thread): send the signal to ruby's
78546	  native thread ([ruby-dev:25744], [ruby-dev:25754]), and set
78547	  signal mask to the current native thread
78548
78549Wed Mar  2 16:03:08 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78550
78551	* ext/tk/tcltklib.c: enforce thread-check and exception-handling to
78552	  avoid SEGV trouble.
78553
78554	* ext/tk/tkutil/tkutil.c: fix a bug on converting a SJIS string array
78555	  to a Tcl's list string.
78556
78557	* ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to
78558	  protect from namespace crash.
78559
78560	* ext/tk/lib/multi-tk.rb: enforce exception-handling.
78561
78562	* ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb.
78563
78564	* ext/tk/lib/tk.rb: ditto.
78565
78566	* ext/tk/tcltklib.c: add TclTkLib.mainloop_thread?
78567
78568	* ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value.
78569
78570	* ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments.
78571
78572	* ext/tk/lib/clock.rb: fix 'no method error'.
78573
78574	* ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument.
78575
78576	* ext/tk/lib/variable.rb: be able to set default_value_type; :numeric,
78577	  :bool, :string, :symbol, :list, :numlist or nil (default; same to
78578	  :string). If set a type, TkVariable#value returns a value of the
78579	  type.
78580
78581	* ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the
78582	  risk of using TclX extension's 'signal' command.
78583
78584	* ext/tk/sample/irbtk.rb: irb with Ruby/Tk.
78585
78586	* ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code'
78587
78588	* ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo.
78589
78590	* ext/tk/sample/demos-*/pendulum.rb: ditto.
78591
78592	* ext/tk/sample/demos-*/goldberg.rb: ditto.
78593
78594	* ext/tk/sample/demos-*/widget: add entries of animation demos.
78595
78596Wed Mar  2 12:21:18 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78597
78598	* eval.c (rb_eval): [EXPERIMENTAL] NODE_LAMBDA implemented.
78599	  [ruby-dev:25780]
78600
78601	* node.h (NODE_LAMBDA): for literal Proc object.
78602
78603	* parse.y (expr): interpret mere do...end block as proc object.
78604
78605	* parse.y (primary): ditto, for brace block.
78606
78607Tue Mar  1 21:16:54 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
78608
78609	* regcomp.c (optimize_node_left): uninitialized member
78610	  (OptEnv.backrefed_status) was used. [ruby-dev:25778]
78611
78612Tue Mar  1 16:50:37 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78613
78614	* regparse.c: move st_*_strend() functions from st.c.  fixed some
78615	  potential memory leaks.
78616
78617Tue Mar  1 00:40:35 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
78618
78619	* lib/rinda/tuplespace.rb (Rinda::TupleSpace): improved keeper thread.
78620
78621	* test/rinda/test_rinda.rb: ditto.
78622
78623Mon Feb 28 23:10:13 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
78624
78625	* ext/socket/socket.c (Init_socket): IPv6 is not supported although
78626	  AF_INET6 is defined on bcc32. (rev1.108 again)
78627
78628	* ext/socket/mkconstants.rb: ditto.
78629
78630Mon Feb 28 21:55:49 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
78631
78632	* ext/strscan/strscan.c (strscan_s_allocate):
78633	  use onig_region_init().
78634
78635	* ext/strscan/strscan.c (adjust_registers_to_matched):
78636	  use onig_region_set().
78637
78638Mon Feb 28 15:12:06 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
78639
78640	* ext/socket/socket.c (Init_socket): ported more Socket::Constants
78641	  from ruby_1_8, and made it easy to add new constants.
78642	  [ruby-dev:25771]
78643
78644	* ext/socket/depend: ditto.
78645
78646	* ext/socket/mkconstants.rb: ditto. (added)
78647
78648Mon Feb 28 11:42:23 2005  Ian Macdonald  <ian@caliban.org>
78649
78650	* exception error messages updated.  [ruby-core:04497]
78651
78652Mon Feb 28 09:03:09 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78653
78654	* ext/socket/socket.c (Init_socket): add bunch of Socket
78655	  constants.  Patch from Sam Roberts <sroberts@uniserve.com>.
78656	  [ruby-core:04409]
78657
78658Sun Feb 27 05:55:38 2005  Minero Aoki  <aamine@loveruby.net>
78659
78660	* parse.y [ripper]: fix typo. [ruby-core:04494]
78661
78662Sat Feb 26 16:58:20 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
78663
78664	* parse.y, re.c, regex.h, LEGAL, ext/strscan/strscan.c:
78665	  remove oniggnu.h (GNU regex API).
78666
78667Wed Feb 23 22:08:16 2005  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
78668
78669	* st.c, st.h: imported additional file changes on
78670	  Oniguruma 3.7.0.
78671
78672Wed Feb 23 21:45:29 2005  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
78673
78674	* ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c,
78675	  regenc.c, regenc.h, regerror.c, regexec.c, regint.h,
78676	  regparse.c, regparse.h, sjis.c, utf8.c: imported Oni Guruma
78677	  3.7.0.
78678
78679Wed Feb 23 15:04:32 2005  akira yamada  <akira@ruby-lang.org>
78680
78681	* lib/uri/generic.rb (split_userinfo): should split ":pass" into ""
78682	  and "pass".  [ruby-dev:25667]
78683
78684Wed Feb 23 08:00:18 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78685
78686	* array.c (rb_ary_s_create): no need for negative argc check.
78687	  [ruby-core:04463]
78688
78689	* array.c (rb_ary_unshift_m): ditto.
78690
78691Wed Feb 23 01:53:29 2005  Shugo Maeda  <shugo@ruby-lang.org>
78692
78693	* lib/net/imap.rb (initialize): handle certs correctly. Thanks,
78694	  NABEYA Kenichi.
78695
78696Wed Feb 23 00:37:34 2005  Kouhei Sutou  <kou@cozmixng.org>
78697
78698	* lib/mkmf.rb (mkmf_failed): fixed typo.
78699
78700Tue Feb 22 23:52:45 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78701
78702	* configure.in, lib/mkmf.rb: use simple commands if available.
78703
78704	* mkconfig.rb: remove autoconf internal variables from rbconfig.rb.
78705
78706	* lib/mkmf.rb (create_makefile): substitute implicit rules in depend
78707	  file.
78708
78709	* {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST):
78710	  include $(topdir) and $(hdrdir) to search path.
78711
78712Tue Feb 22 23:51:45 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78713
78714	* ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.
78715
78716Tue Feb 22 23:50:26 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78717
78718	* signal.c (ruby_signal, ruby_nativethread_signal): must be valid as
78719	  expressions, not only statements.
78720
78721Tue Feb 22 12:54:13 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78722
78723	* eval.c (rb_thread_start_0): update curr_thread before raising
78724	  TAG_THREAD.  [ruby-dev:25712]
78725
78726Tue Feb 22 07:24:57 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78727
78728	* parse.y (parser_yylex): identifier after dot must not be a variable.
78729
78730Mon Feb 21 18:31:12 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
78731
78732	* signal.c: Standard signal handlers ignore signals on non-Ruby native
78733	  threads. When a handler is entried with ruby_signal() (like as the
78734	  standard signal handlers), the handler for the signal is marked as
78735	  it cannot accept non-Ruby native threads. If a handler can treat all
78736	  signals on all native threads, please use ruby_nativethread_signal()
78737	  to entry it.
78738
78739Sun Feb 20 00:48:48 2005  Tanaka Akira  <akr@m17n.org>
78740
78741	* lib/open-uri.rb (URI::FTP#buffer_open): access mechanism
78742	  re-implemented according to RFC 1738.
78743	  reported by Guillaume Marcais.  [ruby-talk:131650]
78744
78745Sat Feb 19 18:46:56 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
78746
78747	* lib/drb/drb.rb (DRbObject#respond_to?): take two arguments.
78748	  [ruby-dev:25722]
78749
78750	* test/drb/drbtest.rb: ditto.
78751
78752Sat Feb 19 13:52:02 2005  Tanaka Akira  <akr@m17n.org>
78753
78754	* lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_check
78755	  after connection is made.
78756
78757Sat Feb 19 13:31:28 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78758
78759	* ext/extmk.rb (extract_makefile): remove no longer existing installed
78760	  files.
78761
78762	* lib/mkmf.rb (install_dirs): return installation directory list.
78763
78764	* lib/mkmf.rb (create_makefile): reverted wrongly removed lines.
78765
78766Sat Feb 19 01:28:56 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
78767
78768	* ext/bigdecimal/lib/bigdecimal/newton.rb: resolved LoadError.
78769	  [ruby-dev:25685]
78770
78771	* ext/bigdecimal/sample/linear.rb: ditto.
78772
78773	* ext/bigdecimal/sample/nlsolve.rb: ditto.
78774
78775	* ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file
78776	  is sample script and same file exists in ext/bigdecimal/sample.
78777
78778Fri Feb 18 17:14:00 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78779
78780	* lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
78781	  of StandardError class, not Exception class.  [ruby-core:04429]
78782
78783Fri Feb 18 04:06:41 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78784
78785	* parse.y (fcall_gen): lvar(arg) will be evaluated as
78786	  lvar.call(arg) when lvar is a defined local variable. [new]
78787
78788Thu Feb 17 22:15:34 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
78789
78790	* ext/strscan/strscan.c: calls Oniguruma API directly.
78791
78792Thu Feb 17 21:53:12 2005  K.Kosako  <sndgk393 AT ybb.ne.jp>
78793
78794	* common.mk, LEGAL: remove reggnu.c.
78795
78796Thu Feb 17 21:53:12 2005  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
78797
78798	* gc.c, re.c: now ruby calls Oniguruma API directly, bypassing
78799	  GNU compatible APIs.
78800
78801Thu Feb 17 20:09:23 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
78802
78803	* lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.
78804
78805Thu Feb 17 20:09:23 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78806
78807	* test/digest/test_digest.rb: separate test case for each algorithms.
78808	  [ruby-dev:25412]
78809
78810Thu Feb 17 14:31:52 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78811
78812	* object.c (rb_class_initialize): call inherited method before
78813	  calling initializing block.
78814
78815	* eval.c (rb_thread_start_1): initialize newly pushed frame.
78816	  fixed: [ruby-dev:25707]
78817
78818Thu Feb 17 13:46:00 2005  Nathaniel Talbott  <ntalbott@ruby-lang.org>
78819
78820	* lib/test/unit/collector.rb (collect_file): now deletes paths added
78821	  to $LOAD_PATH instead of restoring it verbatim.
78822
78823	* lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that
78824	  'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace
78825	  collector again. Also tried to simplify the calling convention.
78826
78827	* test/runner.rb: adjusted for new AutoRunner semantics.
78828
78829	* lib/test/unit.rb: ditto.
78830
78831Thu Feb 17 04:21:47 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78832
78833	* lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
78834	  fixed: [ruby-core:04444]
78835
78836Thu Feb 17 00:31:21 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
78837
78838	* test/drb/test_drb.rb, ut_safe1.rb: port from 1.8
78839
78840Thu Feb 17 00:02:27 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
78841
78842	* eval.c (is_defined): NODE_IASGN is an assignment.
78843
78844Wed Feb 16 23:54:14 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78845
78846	* eval.c (rb_thread_start_1): outer block variables wasn't linked to
78847	  threads.  fixed: [ruby-dev:25700]
78848
78849Wed Feb 16 15:11:43 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78850
78851	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize):
78852	  native win32 platform doesn't have F_GETFL.
78853
78854Wed Feb 16 02:47:45 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78855
78856	* ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): should
78857	  call rb_sys_fail instead of raising SSLError if SSL_ERROR_SYSCALL
78858	  occurred.
78859
78860	* ext/openssl/lib/openssl/buffering.rb (Buffering#fill_rbuff):
78861	  should rescue Errno::EAGAIN.
78862
78863	* ext/openssl/lib/openssl/buffering.rb (Buffering#each): fix typo.
78864	  suggested by Brian Ollenberger.
78865
78866	* ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the
78867	  underlying IO.
78868
78869Tue Feb 15 22:14:34 2005  sheepman  <sheepman@tcn.zaq.ne.jp>
78870
78871	* ext/readline/readline.c (Readline.readline): use rl_outstream
78872	  and rl_instream.  [ruby-dev:25699]
78873
78874Mon Feb 14 23:58:17 2005  Kouhei Sutou  <kou@cozmixng.org>
78875
78876	* lib/rss/parser.rb (RSS::ListenerMixin::tag_end):
78877	  fixed invalid namespace handling bug.
78878
78879Mon Feb 14 13:12:38 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78880
78881	* ext/openssl/lib/openssl/ssl.rb
78882	  (OpenSSL::SSL::SSLSocket#post_connection_check): new method.
78883
78884Mon Feb 14 00:10:17 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
78885
78886	* lib/drb/drb.rb (DRbServer): add default_safe_level, safe_level,
78887	  config[:safe_level] ([druby-ja:120])
78888
78889	* test/drb/test_drb.rb, ut_eval.rb, ut_safe1.rb: ditto.
78890
78891Sun Feb 13 23:13:46 2005  Kouhei Sutou  <kou@cozmixng.org>
78892
78893	* lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added
78894	  convenient methods.
78895
78896	* lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto.
78897
78898	* lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto.
78899
78900	* test/rss/: added tests for the convenient methods.
78901
78902Sun Feb 13 23:12:47 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78903
78904	* eval.c (rb_thread_start_0): restore prot_tag before rewinding.
78905
78906Sun Feb 13 16:56:52 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78907
78908	* lib/webrick/cgi.rb (WEBrick::CGI.start): should set reason-phrase
78909	  to the value of status header field. ([ruby-dev:40617])
78910
78911Sun Feb 13 11:38:40 2005  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
78912
78913	* regparse.c (type_cclass_hash): (Thanks Nobu) fixed
78914	  overrun. ([ruby-dev:25676]).
78915
78916Sun Feb 13 10:53:08 2005  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
78917
78918	* oniggnu.h, oniguruma.h, regcomp.c, st.c: imported
78919	  Oni Guruma 3.6.0.
78920
78921Sun Feb 13 01:33:19 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
78922
78923	* lib/erb.rb (ERB::Util.h, u): make it module_function.
78924
78925Sat Feb 12 22:17:11 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78926
78927	* eval.c (TAG_THREAD): to start a new thread.
78928
78929	* eval.c (ruby_init, ruby_options, ruby_cleanup, rb_protect,
78930	  rb_load_protect, rb_thread_start_0): make thread anchor.
78931
78932	* eval.c (proc_alloc): clone proc object if klass is not Proc or
78933	  created in different thread.
78934
78935	* eval.c (rb_block_pass): call a function with a block.  [new]
78936
78937	* eval.c (rb_f_throw): raise NameError in main thread.
78938
78939Sat Feb 12 17:29:19 2005  Tanaka Akira  <akr@m17n.org>
78940
78941	* lib/open-uri.rb (OpenURI.open_loop): send authentication only for
78942	  the URI directly specified.
78943
78944Sat Feb 12 15:07:23 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78945
78946	* random.c (rand_init): suppress warning.
78947
78948Sat Feb 12 14:10:24 2005  Tanaka Akira  <akr@m17n.org>
78949
78950	* lib/open-uri.rb (OpenURI.open_http): reject userinfo explicitly.
78951
78952Sat Feb 12 13:54:03 2005  Tanaka Akira  <akr@m17n.org>
78953
78954	* lib/open-uri.rb: support https if the platform provides CA
78955	  certificates.
78956
78957Sat Feb 12 06:18:28 2005  URABE Shyouhei  <shyouhei@ice.uec.ac.jp>
78958
78959	* ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check
78960	  [ruby-dev:25675]
78961
78962Fri Feb 11 17:37:50 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
78963
78964	* ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths):
78965	  new method OpenSSL::X509::Store#set_default_paths.
78966
78967Fri Feb 11 11:33:53 2005  Tanaka Akira  <akr@m17n.org>
78968
78969	* lib/open-uri.rb (URI::HTTP#proxy_open): new option supported:
78970	  :http_basic_authentication.
78971	  suggested by Kent Sibilev.  [ruby-core:4392]
78972
78973Fri Feb 11 06:30:07 2005  George Ogata  <g_ogata@optushome.com.au>
78974
78975	* misc/ruby-mode.el: ignore parenthesis inside heredoc.
78976	  [ruby-core:04415]
78977
78978Fri Feb 11 04:54:13 2005  Tilman Sauerbeck  <tilman@code-monkey.de>
78979
78980	* lib/rdoc/generators/html_generator.rb: [ruby-core:04412]
78981
78982	* lib/rdoc/generators/ri_generator.rb: ditto.
78983
78984Thu Feb 10 13:52:42 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
78985
78986	* configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): use
78987	  winsock2 on mswin32/mingw.
78988
78989	* ext/socket/extconf.rb: ditto.
78990
78991	* win32/win32.c (StartSockets): ditto.
78992
78993	* win32/win32.h: ditto.
78994
78995Thu Feb 10 12:09:16 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
78996
78997	* ext/extmk.rb (extract_makefile): default to true if not compiled
78998	  previously.
78999
79000	* ext/extmk.rb (extmake): create dummy makefile if extconf failed.
79001
79002Thu Feb 10 12:07:10 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79003
79004	* win32/win32.c (init_stdhandle): assign standard file handles.
79005
79006	* bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
79007	  import32.lib.
79008
79009	* lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to
79010	  rule lines, add search path to implicit rules, and set Borland make
79011	  special macros for search path.
79012
79013	* win32/win32.c, win32/win32.h (read): avoid a BCC runtime bug.
79014
79015Thu Feb 10 00:47:25 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79016
79017	* struct.c (make_struct): fixed: [ruby-core:04402]
79018
79019Wed Feb  9 16:33:05 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79020
79021	* ext/socket/socket.c (wait_connectable): fixed wrong condition.
79022
79023Wed Feb  9 14:42:28 2005  URABE Shyouhei  <shyouhei@ice.uec.ac.jp>
79024
79025	* eval.c (scope_dup): add volatile not to optimize tbl.
79026
79027Wed Feb  9 10:02:02 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79028
79029	* ext/tk/make-tkutil, ext/tk/tkutil/subconf.rb: no longer used.
79030
79031	* ext/tk/tkutil/extconf.rb: need to compile tkutil. [ruby-dev:25607]
79032
79033Wed Feb  9 08:07:08 2005  Paul Duncan  <pabs@pablotron.org>
79034
79035	* ext/curses/curses.c (window_color_set): [ruby-core:04393]
79036
79037Tue Feb  8 23:48:36 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79038
79039	* lib/drb/drb.rb: reject :instance_eval, :class_eval, :module_eval
79040	  [druby-ja:117]
79041
79042Tue Feb  8 22:38:28 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79043
79044	* keywords, parse.y: separate EXPR_VALUE from EXPR_BEG.
79045	  fixed: [ruby-core:04310], [ruby-core:04368]
79046
79047Tue Feb  8 13:06:12 2005  Sam Roberts  <sroberts@uniserve.com>
79048
79049	* ext/socket/socket.c (Init_socket): SO_REUSEPORT added.
79050	  [ruby-talk:130092]
79051
79052Tue Feb  8 00:19:02 2005  Tanaka Akira  <akr@m17n.org>
79053
79054	* lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method.
79055	  (Resolv::DNS::Name#inspect): ditto.
79056	  Suggested by Sam Roberts.  [ruby-talk:129086]
79057
79058Mon Feb  7 23:14:11 2005  Tanaka Akira  <akr@m17n.org>
79059
79060	* io.c (io_getc): flush rb_stdout before read from stdin, which is
79061	  connected to a tty.  [ruby-core:4378]
79062
79063	* rubyio.h (FMODE_TTY): renamed from FMODE_LINEBUF.
79064
79065Mon Feb  7 10:06:30 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79066
79067	* object.c: [ruby-doc:818]
79068
79069Mon Feb  7 02:13:05 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79070
79071	* ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the
79072	  definition of struct sockaddr_storage, but socket.c doesn't
79073	  include it because this version of ruby still has binary level
79074	  compatibility with winsock1.
79075
79076Mon Feb  7 01:22:50 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79077
79078	* ext/extmk.rb (extract_makefile): extract previously collected
79079	  informations from existing Makefile.
79080
79081	* ext/socket/extconf.rb: check if getaddrinfo() works fine only when
79082	  wide-getaddrinfo option is not given.  fixed: [ruby-dev:25422]
79083
79084	* ext/tk/extconf.rb: separate tkutil configuration.
79085
79086	* lib/mkmf.rb ($extmk): check if under ext directory.
79087
79088	* lib/mkmf.rb (Logging.postpone): allow recursive operation.
79089
79090	* lib/mkmf.rb (try_constant): make sure if really a constant, reduce
79091	  the number of times of compile.
79092
79093	* lib/mkmf.rb (have_macro, have_var, byte_order): new functions.
79094
79095	* lib/mkmf.rb (find_library): allow directory list with separators.
79096
79097	* lib/mkmf.rb (arg_config): manage provided configuration options.
79098
79099	* lib/mkmf.rb (dir_config): accept arrays of directory names as
79100	  default values.
79101
79102	* lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flags
79103	  modified if the block returned true.
79104
79105Sun Feb  6 19:20:05 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79106
79107	* eval.c (stack_extend): add prototype because VC++8 doesn't
79108	  accept __declspec(noinline) with K&R style function definitions.
79109
79110Sun Feb  6 13:56:19 2005  Tadayoshi Funaba  <tadf@dotrb.org>
79111
79112	* lib/date.rb (new_with_hash): changed messages of exception.
79113
79114	* lib/date/format.rb (str[fp]time): undocumented conversion
79115	  specifications %[1-3] are now deprecated.
79116
79117Sun Feb  6 11:27:37 2005  Tanaka Akira  <akr@m17n.org>
79118
79119	* ext/dl/dl.c (Init_dl): function declaration should precede
79120	  statements before C99.
79121
79122Sun Feb  6 03:24:20 2005  Tanaka Akira  <akr@m17n.org>
79123
79124	* lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not
79125	  handled.
79126	  (Resolv::DNS::Resource::TXT#strings): new method to return all
79127	  strings.
79128	  (Resolv::DNS::Message::MessageEncoder#put_string_list): new method.
79129	  (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto.
79130	  based on [ruby-talk:129732] by Sam Roberts.
79131
79132Sat Feb  5 02:24:06 2005  Minero Aoki  <aamine@loveruby.net>
79133
79134	* test/ripper/test_scanner_events.rb: fix test.
79135
79136Fri Feb  4 18:44:35 2005  Minero Aoki  <aamine@loveruby.net>
79137
79138	* ext/ripper/lib/ripper/lexer.rb: last Lexer fix was incomplete;
79139	  test all green.
79140
79141Fri Feb  4 15:57:06 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79142
79143	* parse.y (open_args): fix too verbose warnings for the space
79144	  before argument parentheses.  [ruby-dev:25492]
79145
79146	* parse.y (parser_yylex): ditto.
79147
79148Fri Feb  4 14:33:25 2005  Minero Aoki  <aamine@loveruby.net>
79149
79150	* ext/ripper/lib/ripper/filter.rb: ripper/tokenizer ->
79151	  ripper/lexer. [ruby-dev:25632]
79152
79153Fri Feb  4 00:24:15 2005  Kouhei Sutou  <kou@cozmixng.org>
79154
79155	* lib/rss: supported Image module.
79156	  http://web.resource.org/rss/1.0/modules/image/
79157
79158Thu Feb  3 23:42:36 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79159
79160	* ext/stringio/stringio.c (strio_close, strio_close_read, strio_close_write):
79161	  should return nil instead of self as well as IO.  [ruby-dev:25623]
79162
79163	* ext/stringio/stringio.c (strio_extend, strio_putc): fill with zero
79164	  extended portion.  [ruby-dev:25626]
79165
79166Thu Feb  3 16:12:57 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79167
79168	* parse.y (parser_yylex): the first expression in the parentheses
79169	  should not be a command.  [ruby-dev:25492]
79170
79171Thu Feb  3 03:31:20 2005  NARUSE, Yui  <naruse@ruby-lang.org>
79172
79173	* ext/nkf/nkf-utf8/nkf.c: follow original v 1.57
79174
79175	* ext/nkf/nkf-utf8/utf8tbl.c: follow original v 1.8
79176
79177	* ext/nkf/nkf-utf8/config.h: follow original v 1.7
79178
79179Wed Feb  2 23:52:53 2005  sheepman  <sheepman@tcn.zaq.ne.jp>
79180
79181	* ext/stringio/stringio.c (strio_truncate): should MEMZERO an extended
79182	  part.  [ruby-dev:25618]
79183
79184Wed Feb  2 21:56:01 2005  Kouhei Sutou  <kou@cozmixng.org>
79185
79186	* lib/rss/rss.rb (RSS::Element#convert): added.
79187
79188	* lib/rss/rss.rb: convert -> need_convert.
79189
79190	* lib/rss/1.0.rb: ditto.
79191
79192	* lib/rss/0.9.rb: ditto.
79193
79194	* lib/rss/2.0.rb: ditto.
79195
79196	* lib/rss/trackback.rb: ditto.
79197
79198Wed Feb  2 03:30:58 2005  Minero Aoki  <aamine@loveruby.net>
79199
79200	* ext/ripper/lib/ripper/tokenizer.rb -> lexer.rb.
79201
79202	* ext/ripper/lib/ripper/lexer.rb: new method Ripper.slice.
79203	  [experimental]
79204
79205	* ext/ripper/lib/ripper/sexp.rb: new file. [experimental]
79206
79207	* ext/ripper/lib/ripper.rb: require ripper/lexer and ripper/sexp.
79208
79209Tue Feb  1 21:49:24 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79210
79211	* lib/drb/drb.rb (DRb::DRbObject#respond_to?): check marshal_dump and
79212	  _dump.
79213
79214Tue Feb  1 00:20:23 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79215
79216	* Makefile.in, configure.in: made EXTOUT configurable.
79217
79218	* ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style.
79219
79220	* lib/mkmf.rb: make extensions in depth order.  [ruby-dev:25522]
79221
79222	* configure.in (aix): fix linker flags on AIX.  [ruby-talk:125460]
79223
79224Mon Jan 31 13:16:39 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79225
79226	* ext/tk/extconf.rb: add tkutil configuration step (remove old schema)
79227
79228	* ext/tk/depend: remove the information of tkutil
79229
79230	* ext/tk/make-tkutil: sub-part of Makefile to compile tkutil
79231
79232	* ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory
79233
79234	* ext/tk/tkutil/subconf.rb: configuration file for tkutil.c
79235
79236	* ext/tk/tkutil/depend: ditto
79237
79238Mon Jan 31 13:13:35 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79239
79240	* ext/tk/tcltklib.c: add invalid namespace check
79241
79242	* ext/tk/lib/multi-tk.rb: add invalid_namespace? method
79243
79244	* ext/tk/lib/remote-tk.rb: ditto
79245
79246Mon Jan 31 10:29:18 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79247
79248	* lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330]
79249
79250Mon Jan 31 09:44:03 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79251
79252	* object.c (Init_Object): remove Object#type.  [ruby-core:04335]
79253
79254Sat Jan 29 09:42:12 2005  Sam Roberts  <sroberts@uniserve.com>
79255
79256	* lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRV
79257	  resource record for specifying location of services.
79258
79259Sat Jan 29 00:10:33 2005  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
79260
79261	* ascii.c, euc_jp.c, hash.c, oniggnu.h, oniguruma.h, regcomp.c,
79262	  regenc.c, regenc.h, regerror.c, regexec.c, reggnu.c, regint.h,
79263	  regparse.c, regparse.h, sjis.c, st.c, st.h, utf8.c: imported
79264	  Oni Guruma 3.5.4.
79265
79266Fri Jan 28 17:16:55 2005  Tanaka Akira  <akr@m17n.org>
79267
79268	* lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf):
79269	  parse options line for ndots option.
79270	  (Resolv::Hosts#lazy_initialize): return self.
79271	  (Resolv::DNS#lazy_initialize): ditto.
79272	  (Resolv::DNS::Config#lazy_initialize): ditto.
79273	  Suggested by Sam Roberts.
79274
79275Thu Jan 27 17:15:03 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79276
79277	* ext/tk/extconf.rb: support new tk scheme on bccwin32.
79278	  fixed: [ruby-dev:25546]
79279
79280Thu Jan 27 13:18:03 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79281
79282	* st.c (st_foreach): report success/failure by return value.
79283	  [ruby-Bugs-1396]
79284
79285Thu Jan 27 00:12:19 2005  Minero Aoki  <aamine@loveruby.net>
79286
79287	* test/fileutils/test_fileutils.rb (setup): support BSD style
79288	  directory group inheritance (again).
79289
79290Thu Jan 27 00:02:40 2005  Minero Aoki  <aamine@loveruby.net>
79291
79292	* test/fileutils/test_fileutils.rb (setup): support BSD style
79293	  directory group inheritance. [ruby-dev:25440]
79294
79295	* test/fileutils/fileasserts.rb (assert_same_entry): show entry
79296	  difference.
79297
79298Wed Jan 26 17:12:50 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79299
79300	* parse.y: forgot to initialize parser struct.  [ruby-dev:25492]
79301
79302	* parse.y (parser_yylex): no tLABEL on EXPR_BEG.
79303	  [ruby-talk:127711]
79304
79305Wed Jan 26 14:12:58 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79306
79307	* ext/Setup*: remove tcltklib.
79308
79309Wed Jan 26 12:45:16 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79310
79311	* ext/tk/extconf.rb: support new tk scheme on mswin32.
79312	 fixed: [ruby-dev:25535]
79313
79314Wed Jan 26 10:45:19 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79315
79316	* win32/win32.c (flock_winnt, flock_win95): unlock file even if
79317	  LOCK_NB is specified.
79318
79319Tue Jan 25 23:10:48 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79320
79321	* ext/tk: merge tcltklib for Ruby/Tk installation control
79322
79323	* ext/tcltklib: remove
79324
79325Tue Jan 25 17:05:15 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79326
79327	* ruby.c (proc_options): correct -T option in RUBYOPT.
79328	  fixed: [ruby-dev:25512]
79329
79330Tue Jan 25 14:05:52 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79331
79332	* ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remained
79333	  after scripts [ruby-dev:25479]: NULL current namespace when deleting
79334	    Tk interpreter [ruby-talk:126225]
79335
79336	* ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted
79337	  [ruby-talk:126360]
79338
79339	* ext/tcltklib/extconf.rb: add yet another native-thread check
79340
79341	* ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize
79342	  Ruby interpreter
79343
79344	* ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame
79345
79346	* ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag
79347	  doesn't return the created object [ruby-dev:25479]
79348
79349	* ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479]
79350
79351	* ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for
79352	  a command argument [ruby-dev:25479]
79353
79354	* ext/tk/lib/multi-tk.rb: ditto
79355
79356	* ext/tk/lib/tk/*.rb: ditto
79357
79358	* ext/tk/lib/tkextlib/*.rb: ditto
79359
79360	* ext/tk/sample/demos-jp/anilabel.rb: new demo script
79361
79362	* ext/tk/sample/demos-en/anilabel.rb: ditto
79363
79364	* ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix
79365	  [ruby-dev:25479]
79366
79367Mon Jan 24 16:00:53 2005  NARUSE, Yui  <naruse@ruby-lang.org>
79368
79369	* ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_old
79370	  but NKF.guess1. fixed: [ruby-dev:25491]
79371
79372Mon Jan 24 15:44:25 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79373
79374	* document updates - [ruby-core:04296], [ruby-core:04301],
79375	  [ruby-core:04302], [ruby-core:04307]
79376
79377Sun Jan 23 12:38:01 2005  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
79378
79379	* lib/soap/wsdlDriver.rb: from 1.5.3-ruby1.8.2, operation which has
79380	  capitalized name (such as KeywordSearchRequest in AWS) is defined as
79381	  a method having uncapitalized name. (converted with
79382	  GenSupport.safemethodname to handle operation name 'foo-bar').  it
79383	  introduced serious incompatibility; in the past, it was defined as a
79384	  capitalized.
79385
79386	  define capitalized method as well under that circumstance.
79387
79388Sun Jan 23 05:24:42 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79389
79390	* ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
79391	  GetOCSPReq at first.
79392
79393Sat Jan 22 22:59:08 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79394
79395	* lib/drb/ssl.rb (accept): rescue SSLError. [druby-ja:110]
79396
79397Sat Jan 22 22:27:28 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79398
79399	* lib/drb/unix.rb: fail if UNIXFileOwner is set. [druby-ja:111]
79400
79401Fri Jan 21 20:07:02 2005  Tanaka Akira  <akr@m17n.org>
79402
79403	* lib/resolv.rb (Resolv::DNS::Config.resolv): don't raise ResolvError.
79404	  reported by Sam Roberts.  [ruby-talk:127133]
79405
79406Fri Jan 21 17:09:44 2005  Shugo Maeda  <shugo@ruby-lang.org>
79407
79408	* lib/net/imap.rb (decode_utf7): use pack("U*") to encode UTF-8.
79409
79410	* lib/net/imap.rb (encode_utf7): use unpack("U*") to decode UTF-8.
79411
79412	* test/net/imap/test_imap.rb: added tests for Net::IMAP.
79413
79414Fri Jan 21 16:58:10 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79415
79416	* dir.c (rb_push_glob): should work for NUL delimited patterns.
79417
79418	* dir.c (rb_glob2): should aware of offset in the pattern.
79419
79420Fri Jan 21 13:58:37 2005  Shugo Maeda  <shugo@ruby-lang.org>
79421
79422	* lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]
79423
79424Fri Jan 21 00:37:09 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
79425
79426	* ext/syck/rubyext.c (syck_parser_bufsize_set): avoid VC++ warning
79427	  "local variable 'size' used without having been initialized".
79428
79429Thu Jan 20 11:42:02 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79430
79431	* string.c (rb_str_new4): should propagate taintedness.
79432
79433	* env.h: rename member names in struct FRAME; last_func -> callee,
79434	  orig_func -> this_func, last_class -> this_class.
79435
79436	* struct.c (rb_struct_set): use original method name, not callee
79437	  name, to retrieve member slot.  [ruby-core:04268]
79438
79439	* time.c (time_strftime): protect from format modification from GC
79440	  finalizers.
79441
79442Thu Jan 20 02:01:10 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79443
79444	* object.c (Init_Object): remove rb_obj_id_obsolete()
79445
79446Wed Jan 19 18:02:19 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79447
79448	* lib/ipaddr.rb (to_s, test_to_s): too many colons with some cases.
79449
79450Wed Jan 19 01:16:30 2005  Tanaka Akira  <akr@m17n.org>
79451
79452	* lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore
79453	  domain and search directive without an argument.
79454	  reported by Sam Roberts.  [ruby-talk:126781]
79455
79456Mon Jan 17 23:33:46 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79457
79458	* configure.in (aix): fix typo.  [ruby-talk:126401]
79459
79460Mon Jan 17 07:08:51 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79461
79462	* ext/readline/readline.c: suppress warnings.
79463
79464	* lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command):
79465	  ditto.
79466
79467	* lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto.
79468
79469	* lib/irb/ext/history.rb (IRB::Context::eval_history): ditto.
79470
79471	* lib/irb/locale.rb (IRB::Locale::real_load): ditto.
79472
79473	* lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage.
79474
79475Mon Jan 17 00:09:42 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
79476
79477	* lib/uri/common.rb (PORT): typo fix. fixed: [ruby-core:04256]
79478
79479Sat Jan 15 14:57:22 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79480
79481	* ruby.c (proc_options): ignore trailing CRs at the end of short
79482	  options as well as long options.  fixed: [ruby-core:04232]
79483
79484Sat Jan 15 13:44:22 2005  Kouhei Sutou  <kou@cozmixng.org>
79485
79486	* lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.
79487
79488	* lib/rss/rss.rb: accept inheritance. [ruby-talk:126104]
79489
79490Wed Jan 12 12:29:28 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79491
79492	* eval.c (rb_mod_define_method): incomplete subclass check.
79493	  [ruby-dev:25464]
79494
79495	* class.c (rb_make_metaclass): class of metaclasses should be
79496	  plain Class.  [ruby-list:40524]
79497
79498Tue Jan 11 20:58:52 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79499
79500	* io.c (remain_size): use buffered data instead of unreading to avoid
79501	  inconsistency of text mode.  fixed: [ruby-dev:25446]
79502
79503Tue Jan 11 09:37:53 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
79504
79505	* numeric.c (Init_Numeric): turn off floating point exceptions
79506	  on bcc32. "1e300".to_f had crashed by overflow.
79507
79508Mon Jan 10 15:28:51 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79509
79510	* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should
79511	  escape SCRIPT_NAME and PATH_INFO before being parsed as a URI.
79512
79513	* lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add
79514	  new method to escape URI path component.
79515
79516	* lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value
79517	  of :SSLEnable is false.
79518
79519	* test/webrick/{test_cgi.rb,webrick.cgi}: new file.
79520
79521	* test/webrick/utils.rb: require "webrick/https.h".
79522
79523Mon Jan 10 01:22:55 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79524
79525	* gc.c (rb_data_object_alloc): klass may be NULL.
79526	  [ruby-list:40498]
79527
79528Sun Jan  9 14:12:17 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79529
79530	* io.c (rb_f_select): IO list could be altered.  [ruby-dev:25312]
79531
79532Sun Jan  9 04:08:40 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79533
79534	* test/webrick/test_server.rb (test_daemon): delete an assertion
79535	  which has possibility to fail by race condition.
79536
79537Sun Jan  9 03:22:46 2005  Minero Aoki  <aamine@loveruby.net>
79538
79539	* test/fileutils/test_fileutils.rb (test_copy_entry): copy_entry
79540	  copies only file type, not mtime. [ruby-dev:25383]
79541
79542Sat Jan  8 04:38:47 2005  why the lucky stiff  <why@ruby-lang.org>
79543
79544	* lib/yaml.rb: Kernel#y requires an argument.
79545
79546Fri Jan  7 21:12:29 2005  TAMURA Takashi  <sheepman@tcn.zaq.ne.jp>
79547
79548	* random.c (rand_init): use ALLOC_N instead of ALLOCA_N
79549	  [ruby-dev:25426]
79550
79551Fri Jan  7 20:01:31 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79552
79553	* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
79554	  should delete trailing LF from the result of pack("m*").
79555
79556	* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
79557	  - should delete trailing LF from the result of pack("m*").
79558	  - clear Request-Line not to send the response by HTTPServer#run.
79559
79560	* lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues):
79561	  refine regexp (and change the name of a local variable).
79562
79563	* lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio
79564	  don't allow changing its mode.
79565
79566	* test/webrick/*, sample/webrick/httpproxy.rb: add new files.
79567
79568Fri Jan  7 18:03:35 2005  Tanaka Akira  <akr@m17n.org>
79569
79570	* gc.c (mark_locations_array): avoid core dump with -O3.
79571	  [ruby-dev:25424]
79572
79573Thu Jan  6 20:29:18 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
79574
79575	* ext/zlib/zlib.c (zstream_end): should return value.
79576
79577Thu Jan  6 19:59:03 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
79578
79579	* win32/win32.c (rb_w32_close): didn't close socket handle.
79580	  [ruby-dev:25414]
79581
79582	* win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle
79583	  never set EMFILE.
79584
79585Thu Jan  6 17:22:41 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
79586
79587	* random.c (random_seed): O_NONBLOCK isn't defined on some
79588	  platforms. [ruby-dev:25417]
79589
79590Thu Jan  6 13:45:35 2005  Tanaka Akira  <akr@m17n.org>
79591
79592	* lib/time.rb: recognize +00:00 and GMT as a localtime.
79593
79594Thu Jan  6 07:58:28 2005  Dave Thomas  <dave@pragprog.com>
79595
79596	* lib/rdoc/usage.rb (RDoc::RDoc.usage_no_exit): Allow for colons
79597	  in path names on DOS machines. (thanks to Johan Nilsson)
79598
79599Thu Jan  6 00:02:35 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79600
79601	* test/rinda/test_rinda.rb: use MockClock.sleep instead of Kernel.sleep
79602	  [ruby-dev:25387]
79603
79604Wed Jan  5 20:16:32 2005  Tanaka Akira  <akr@m17n.org>
79605
79606	* random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2.
79607	  [ruby-dev:25408]
79608
79609	* random.c (random_seed): refined.
79610
79611Wed Jan  5 16:39:54 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
79612
79613	* parse.y (BITSTACK_POP): workaround for bcc32 compiler's bug.
79614	  shift assignment operator '>>=' for __int64 in struct may
79615	  generate collapsed code. [ruby-dev:25342]
79616
79617	* win32/win32.[ch]: failed to compile on bcc32 (and probably wince)
79618	  [ruby-dev:25306]
79619
79620Wed Jan  5 12:49:39 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79621
79622	* eval.c (rb_thread_initialize): Thread objects cannot be initialized
79623	  again.  fixed: [ruby-core:04067]
79624
79625Wed Jan  5 02:30:11 2005  Tanaka Akira  <akr@m17n.org>
79626
79627	* random.c (init_by_array): imported from mt19937ar-cok.tgz.
79628	  (genrand_int32): ditto.
79629	  (genrand_real): replaced with genrand_res53 in mt19937ar-cok.
79630	  (rand_init): support bignum for longer seed.
79631	  (random_seed): generate longer seed.
79632	  (make_mask): new function.
79633	  (limited_rand): ditto.
79634	  (limited_big_rand): ditto.
79635	  (rb_f_rand): call limited_rand and limited_big_rand.
79636	  [ruby-dev:25403]
79637
79638Tue Jan  4 23:25:29 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79639
79640	* bignum.c (rb_big_rand): should return positive random number.
79641	  [ruby-dev:25401]
79642
79643Tue Jan  4 21:25:43 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79644
79645	* test/drb/{test_drbssl.rb,test_drbunix.rb,ut_drb.rb}: use
79646	  DRbService.ext_service. reduce sleep.
79647
79648Mon Jan  3 14:01:54 2005  Tanaka Akira  <akr@m17n.org>
79649
79650	* random.c (random_seed): don't use /dev/urandom if it is not
79651	  character device.
79652
79653Mon Jan  3 11:37:42 2005  Tanaka Akira  <akr@m17n.org>
79654
79655	* random.c (random_seed): use /dev/urandom if available.
79656	  [ruby-dev:25392]
79657
79658Tue Jan  4 11:15:29 2005  TAMURA Takashi  <sheepman@tcn.zaq.ne.jp>
79659
79660	* bignum.c (rb_big_rand): do not use rb_big_modulo to generate
79661	  random bignums.  [ruby-dev:25396]
79662
79663Mon Jan  3 11:03:37 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79664
79665	* test/drb/test_drb.rb: move TestDRbReusePort to new file.
79666	  [ruby-dev:25238]
79667
79668	* test/drb/drbtest.rb: change timeout.
79669
79670	* test/drb/ignore_test_drb.rb: new file.
79671
79672Mon Jan  3 07:27:46 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79673
79674	* lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
79675	  raise NotImplementedError if password is encrypted by digest
79676	  algorithms. This patch is contributed by sheepman. [ruby-list:40467]
79677
79678	* lib/webrick/httpauth/digestauth.rb
79679	  (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
79680	  This patch is contributed by sheepman. [ruby-list:40482]
79681
79682	* lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
79683	  pack/unpack-template char "m" instead of lib/base64.rb to do base64
79684	  encoding/decoding. fixed: [ruby-dev:25336]
79685
79686	* test/webrick/test_httpauth.rb: new file.
79687
79688Sun Jan  2 15:42:10 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79689
79690	* lib/drb/drb.rb: add lazy stop_service.
79691
79692	* lib/drb/extserv.rb: ditto.
79693
79694Sun Jan  2 01:17:17 2005  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
79695
79696	* test/drb/drbtest.rb: add method DRbService.ext_service.
79697
79698	* test/drb/test_drb.rb: ditto.
79699
79700	* test/drb/test_drbssl.rb: ditto.
79701
79702Sat Jan  1 20:23:02 2005  Tanaka Akira  <akr@m17n.org>
79703
79704	* io.c (argf_readpartial): new method ARGF.readpartial.
79705	  (io_getpartial): extracted from io_readpartial.
79706	  (io_readpartial): call io_getpartial.
79707
79708Sat Jan  1 17:44:54 2005  Minero Aoki  <aamine@loveruby.net>
79709
79710	* lib/net/http.rb (each_capitalized): should join header field
79711	  value.  This patch is contributed sheepman [ruby-list:40478]
79712
79713	* test/net/http/test_httpheader.rb: test it.
79714
79715Sat Jan  1 16:21:29 2005  Minero Aoki  <aamine@loveruby.net>
79716
79717	* lib/fileutils.rb (copy_stream): use read/write instead of
79718	  sysread/syswrite, which allows duck typing. [ruby-dev:25369]
79719
79720	* lib/fileutils.rb (copy_stream): does NOT support nonblocking IO.
79721	  [ruby-dev:25370]
79722
79723	* lib/fileutils.rb (copy_entry): could not copy symlink.
79724
79725	* test/fileutils/test_fileutils.rb: test copy_entry, copy_file,
79726	  copy_stream.
79727
79728Sat Jan  1 04:20:23 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79729
79730	* ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call
79731	  StringValue before GetSPKI. fixed: [ruby-dev:25359].
79732
79733Sat Jan  1 01:13:28 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
79734
79735	* variable.c (rb_autoload): [ruby-dev:25373]
79736
79737Fri Dec 31 14:10:43 2004  Dave Thomas  <dave@pragprog.com>
79738
79739	* lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item):
79740	  Fix problem if heading contains formatting.
79741
79742Fri Dec 31 00:08:02 2004  Tanaka Akira  <akr@m17n.org>
79743
79744	* configure.in (HAVE_RLIM_T): removed because not used.
79745
79746Thu Dec 30 22:45:39 2004  Tanaka Akira  <akr@m17n.org>
79747
79748	* rubyio.h: don't deprecate rb_read_check.
79749
79750	* io.c (STDIO_READ_DATA_PENDING): reverted from old READ_DATA_PENDING
79751	  to check stdio read buffer.
79752	  (rb_read_check): use STDIO_READ_DATA_PENDING.
79753	  (rb_read_pending): ditto.
79754	  (rb_getc): ditto.
79755
79756Thu Dec 30 05:39:35 2004  Minero Aoki  <aamine@loveruby.net>
79757
79758	* parse.y: eliminate unused members in struct parser_params.
79759	  [ruby-dev:25258] (again)
79760
79761	* parse.y: make parser_new() static.
79762
79763Thu Dec 30 00:41:42 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
79764
79765	* eval.c (svalue_to_avalue): [ruby-dev:25366]
79766
79767	* string.c (rb_str_justify): [ruby-dev:25367]
79768
79769Wed Dec 29 11:07:07 2004  Dave Thomas  <dave@pragprog.com>
79770
79771	* lib/rdoc/generators/template/html/kilmer.rb: Update to use new
79772	  sections.
79773
79774Tue Dec 28 22:31:46 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79775
79776	* string.c (rb_str_justify): create buffer string after argument type
79777	  conversion.  fixed: [ruby-dev:25341]
79778
79779Tue Dec 28 17:18:17 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
79780
79781	* lib/net/telnet.rb (preprocess): remove NULL unless binmode.
79782	  fixed: [ruby-list:40320]
79783
79784Tue Dec 28 15:41:48 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79785
79786	* ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
79787	  variables.  fixed: [ruby-list:40445]
79788
79789Tue Dec 28 15:25:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79790
79791	* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
79792	  0xfe.
79793
79794	* ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
79795	  properly.
79796
79797Tue Dec 28 13:35:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79798
79799	* ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensure
79800	  freeing internal zstreams.  fixed: [ruby-dev:25309]
79801
79802	* ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone.
79803
79804Mon Dec 27 20:02:14 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79805
79806	* ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interp
79807
79808	* ext/tk/lib/multi-tk.rb: ditto
79809
79810Mon Dec 27 16:54:05 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79811
79812	* ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use
79813	  rb_hash_new to get exactly a Hash. fix [ruby-dev:25325].
79814
79815Mon Dec 27 15:29:12 2004  Minero Aoki  <aamine@loveruby.net>
79816
79817	* test/fileutils/test_fileutils.rb (cp_r): tested wrong file name.
79818	  [ruby-dev:25339]
79819
79820Mon Dec 27 15:15:18 2004  Minero Aoki  <aamine@loveruby.net>
79821
79822	* lib/fileutils.rb (mv): should raise error when moving a
79823	  directory to the (empty) directory. [ruby-talk:124368]
79824
79825	* lib/fileutils.rb (mv): wrongly did not overwrite file on Win32
79826	  platforms.
79827
79828Mon Dec 27 14:36:20 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
79829
79830	* process.c (NUM2RLIM, RLIM2NUM): Without SIZEOF_RLIM_T is not error.
79831	  fixed: [ruby-dev:25346]
79832
79833Sun Dec 26 16:21:39 2004  Shugo Maeda  <shugo@ruby-lang.org>
79834
79835	* lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new class
79836	  to support the PLAIN authentication mechanism. Thanks, Benjamin
79837	  Stiglitz.
79838
79839Sat Dec 25 01:28:23 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
79840
79841	* io.c (rb_f_select): [ruby-dev:25312]
79842
79843Fri Dec 24 23:27:18 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79844
79845	* ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fix
79846
79847Fri Dec 24 03:06:13 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79848
79849	* io.c (io_reopen, rb_io_reopen): prohibit to change access mode for
79850	  special IO ports.  [ruby-dev:25225]
79851
79852	* io.c (next_argv): reduce use of stdio.
79853
79854Fri Dec 24 02:22:53 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79855
79856	* ext/syck/rubyext.c (syck_loader_transfer): check type conversion.
79857
79858	* ext/syck/rubyext.c (syck_parser_assign_io, rb_new_syck_node): duck
79859	  typing.
79860
79861	* ext/syck/rubyext.c (syck_parser_s_alloc, syck_parser_initialize):
79862	  allocation framework.
79863
79864	* ext/syck/rubyext.c (syck_emitter_s_alloc, syck_emitter_initialize):
79865	  ditto.
79866
79867Fri Dec 24 01:21:00 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79868
79869	* ext/tk/lib/tkextlib/blt.rb: add BLT extension support
79870
79871	* ext/tk/lib/tkextlib/blt/*.rb: ditto
79872
79873	* ext/tk/lib/tkextlib/blt/tile/*.rb: ditto
79874
79875Thu Dec 23 23:43:24 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79876
79877	* process.c (proc_setgroups): check if the argument length is
79878	  modified.  fixed: [ruby-dev:25285]
79879
79880	* process.c (SIZEOF_RLIM_T): err if size of rlim_t is not set.
79881
79882Thu Dec 23 19:08:41 2004  Tanaka Akira  <akr@m17n.org>
79883
79884	* rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
79885
79886	* io.c (io_check_tty): extracted function to set FMODE_LINEBUF and
79887	  FMODE_DUPLEX.
79888
79889Thu Dec 23 13:13:33 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79890
79891	* ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and
79892	  RELEASE_DATE
79893
79894	* ext/tcltklib/extconf.rb: ditto
79895
79896	* ext/tk/tkutil.c: define TkUtil::RELEASE_DATE
79897
79898	* ext/tk/lib/tk.rb: define Tk::RELEASE_DATE
79899
79900Thu Dec 23 00:16:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79901
79902	* configure.in (bsdi): use $(CC) for LDSHARED.  fixed [ruby-dev:25270]
79903
79904Wed Dec 22 11:14:55 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79905
79906	* io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
79907	  fixed: [ruby-dev:25273]
79908
79909Wed Dec 22 08:34:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
79910
79911	* ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers after
79912	  all argument conversion.  fixed: [ruby-dev:25271]
79913
79914Tue Dec 21 16:15:21 2004  Michael Neumann  <mneumann@ruby-lang.org>
79915
79916	* lib/xmlrpc/client.rb: use "" instead of "." if prefix argument is
79917	  nil in proxy methods. nil is default value.
79918
79919	* test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
79920	  use threads instead of forking. this should fix issue #1208
79921	  (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426).
79922	  removed testing of SSL enabled servlet as this hangs.
79923
79924Wed Dec 22 00:05:10 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
79925
79926	* lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
79927
79928Tue Dec 21 22:07:41 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79929
79930	* ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): use rb_str_new4
79931	  to avoid SEGV.
79932
79933	* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
79934	  ossl_asn1_decode_all): temporary value should be marked volatile.
79935
79936Tue Dec 21 12:42:34 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79937
79938	* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):
79939	  use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261]
79940
79941	* test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1.
79942
79943Tue Dec 21 12:10:04 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79944
79945	* ext/tk/lib/tk/grid.rb: rescue bug of 'grid configure' on Tcl/Tk8.3-
79946
79947Mon Dec 20 22:52:29 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
79948
79949	* added samples for the previous soap4r's commit.
79950
79951Mon Dec 20 22:56:39 2004  Tanaka Akira  <akr@m17n.org>
79952
79953	* gc.c (set_stack_end): gcc noinline attribute is available since
79954	  gcc-3.1.
79955
79956Mon Dec 20 22:40:31 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
79957
79958	* added files:
79959	  * lib/soap/mapping/wsdl*.rb
79960	  * lib/wsdl/soap/element.rb
79961	  * lib/wsdl/xmlSchema/simpleContent.rb
79962
79963	* modified files:
79964	  * lib/soap/*
79965	  * lib/wsdl/*
79966	  * lib/xsd/*
79967	  * test/soap/*
79968	  * test/wsdl/*
79969	  * test/xsd/*
79970
79971	* summary
79972	  * imported from the soap4r repository.  Version: 1.5.3-ruby1.8.2
79973
79974	  * added several XSD basetype support: nonPositiveInteger,
79975	    negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt,
79976	    unsignedShort, unsignedByte, positiveInteger
79977
79978	  * HTTP client connection/send/receive timeout support.
79979
79980	  * HTTP client/server gzipped content encoding support.
79981
79982	  * improved WSDL schema definition support; still is far from
79983	    complete, but is making step by step improvement.
79984
79985Mon Dec 20 14:45:19 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
79986
79987	* lib/net/https.rb: delete descriptions about key_file and cert_file.
79988	  fixed: [ruby-dev:25243]
79989
79990	* ext/openssl/lib/net/telnets.rb: ditto.
79991
79992Mon Dec 20 14:07:02 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
79993
79994	* ext/tk/lib/multi-tk.rb: supports new features of Tcl/Tk8.5a2
79995
79996	* ext/tk/lib/tk/clock.rb: ditto
79997
79998	* ext/tk/lib/tk/text.rb: ditto
79999
80000	* ext/tk/lib/tk/panedwindow.rb: ditto
80001
80002Mon Dec 20 13:51:40 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80003
80004	* ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072]
80005
80006Mon Dec 20 10:51:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80007
80008	* parse.y (special_local_set): prevent the parser object from GC.
80009	  fixed: [ruby-dev:25252]
80010
80011Mon Dec 20 03:30:40 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80012
80013	* lib/cgi/session.rb (CGI::Session#initialize): empty session id was
80014	  used if request had no session key.  fixed: [ruby-core:03981]
80015
80016Mon Dec 20 01:51:01 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80017
80018	* struct.c (make_struct): [ruby-dev:25249]
80019
80020Mon Dec 20 00:16:54 2004  Kouhei Sutou  <kou@cozmixng.org>
80021
80022	* lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug.
80023	  [ruby-core:3958]
80024
80025Sun Dec 19 17:24:59 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80026
80027	* configure.in (enable_rpath): use rpath flag to embed the library
80028	  path into extensions on ELF environment.  [ruby-dev:25035]
80029
80030Sun Dec 19 11:01:25 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80031
80032	* lib/test/unit.rb: use standalone runner for -e.
80033
80034	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept
80035	  multiple -p and -x options.
80036
80037	* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect):
80038	  ditto.
80039
80040Sat Dec 18 16:36:23 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80041
80042	* ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):
80043	  disallow interrupt by type conversion.  fixed: [ruby-dev:25226]
80044
80045Sat Dec 18 15:09:02 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
80046
80047	* lib/webrick/httpauth.rb,
80048	  lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use
80049	  pack/unpack-template char "m" instead of lib/base64.rb to do base64
80050	  encoding/decoding.
80051
80052Sat Dec 18 10:51:01 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80053
80054	* dir.c (dir_open_dir): new function.  [ruby-dev:25242]
80055
80056	* io.c (rb_f_open): add type check for return value from to_open.
80057
80058Fri Dec 17 16:44:26 2004  Tanaka Akira  <akr@m17n.org>
80059
80060	* configure.in (ac_cv_sizeof_rlim_t): set 8 for BSD/OS.
80061	  Reported by OHARA Shigeki.  [ruby-dev:25236]
80062
80063Fri Dec 17 16:28:12 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80064
80065	* ext/tk/lib/tk.rb: fix bug on setting up system encoding
80066
80067	* ext/tk/lib/tk/event.rb: fix error on require process
80068
80069	* ext/tk/lib/tk/font.rb: fix abnormal termination error on Windows
80070
80071	* ext/tk/lib/tk/virtevent.rb: TkVirtualEvent::PreDefVirtEvent.new()
80072	  accepts event-sequence arguments
80073
80074	* ext/tk/lib/tk/text.rb: fail to dump embedded images
80075
80076	* ext/tk/lib/tk/text.rb: tag_nextrange and tag_prevrange returns wrong
80077	  types of values
80078
80079	* ext/tk/lib/tk/texttag.rb: nextrange and prevrange returns wrong
80080	  types of values
80081
80082	* ext/tk/lib/tk/text.rb: add TkText::IndexModMethods module and
80083	  TkText::IndexString class to treat text index modifiers
80084
80085	* ext/tk/lib/tk/texttag.rb: use TkText::IndexModMethods module
80086
80087	* ext/tk/lib/tk/textmark.rb: ditto
80088
80089	* ext/tk/lib/tk/textimage.rb: ditto
80090
80091	* ext/tk/lib/tk/textwindow.rb: ditto
80092
80093	* ext/tk/lib/tk/textimage.rb: wrong gravity of text mark for embedded
80094	  image
80095
80096	* ext/tk/lib/tk/textwindow.rb: wrong gravity of text mark for
80097	  embedded window
80098
80099Fri Dec 17 13:33:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80100
80101	* lib/cgi/session.rb (CGI::Session#initialize): control adding
80102	  session_id hidden fields.  fixed: [ruby-talk:123850]
80103
80104Fri Dec 17 00:01:48 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80105
80106	* eval.c (rb_proc_arity, rb_node_arity, rb_mod_method_arity,
80107	  rb_obj_method_arity): new functions to obtain method arity.
80108	  [ruby-dev:25143]
80109
80110Thu Dec 16 23:31:13 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80111
80112	* lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
80113	  is installed.  fixed: [ruby-dev:25215]
80114
80115Thu Dec 16 22:36:57 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
80116
80117	* test/drb/test_drb.rb: adjust and reduce sleep.
80118
80119Thu Dec 16 18:37:08 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
80120
80121	* ext/openssl/ossl.c (ossl_raise): refine message format.
80122
80123Thu Dec 16 16:29:44 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80124
80125	* ext/tk/sample/demos-en/widget: modify version check for
80126	  supporting features
80127
80128Thu Dec 16 16:03:50 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80129
80130	* ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]
80131
80132	* ext/tk/lib/tk/timer.rb: accept :idle for the interval argument
80133
80134	* ext/tk/lib/tk.rb: add TkComm._callback_entry?()
80135
80136	* ext/tk/lib/multi-tk.rb: add MultiTkIp.cb_entry_class
80137
80138	* ext/tk/lib/tk/canvas.rb: use TkComm._callback_entry?()
80139
80140	* ext/tk/lib/tk/canvastag.rb: ditto
80141
80142	* ext/tk/lib/tk/dialog.rb: ditto
80143
80144	* ext/tk/lib/tk/optiondb.rb: ditto
80145
80146	* ext/tk/lib/tk/text.rb: ditto
80147
80148	* ext/tk/lib/tk/texttag.rb: ditto
80149
80150	* ext/tk/lib/tk/textwindow.rb: ditto
80151
80152	* ext/tk/lib/tk/timer.rb: ditto
80153
80154	* ext/tk/lib/tk/validation.rb: ditto
80155
80156	* ext/tk/lib/tkextlib/*: ditto
80157
80158Thu Dec 16 04:02:28 2004  Minero Aoki  <aamine@loveruby.net>
80159
80160	* ext/ripper/extconf.rb: bison is not needed if ripper.c exists.
80161	  [ruby-dev:25191]
80162
80163Thu Dec 16 03:27:10 2004  Minero Aoki  <aamine@loveruby.net>
80164
80165	* lib/net/http.rb: remove junk.
80166
80167Thu Dec 16 00:57:30 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80168
80169	* ext/syck/rubyext.c (rb_syck_io_str_read): [ruby-core:03973]
80170
80171Thu Dec 16 00:43:29 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
80172
80173	* lib/drb/drb.rb: changed default binded address family to use an
80174	  available address family of host name. [druby-ja:101]
80175
80176	* lib/drb/ssl.rb: ditto
80177
80178Wed Dec 15 17:47:17 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
80179
80180	* lib/webrick/server.rb (WEBrick::GenericServer#start_thread):
80181	  should log about all accepted socket. [ruby-core:03962]
80182
80183	* lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params):
80184	  "%%" and "%u" are supported. [webricken:135]
80185
80186	* lib/webrick/httpservlet/filehandler.rb
80187	  (WEBrick::HTTPServlet::FileHandler#check_filename):
80188	  :NondisclosureName is acceptable if it is Enumerable.
80189
80190	* lib/webrick/config.rb (WEBrick::Config::FileHandler):
80191	  default value of :NondisclosureName is [".ht*", "*~"].
80192
80193Wed Dec 15 16:10:23 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80194
80195	* object.c (rb_obj_id_obsolete): warn always.
80196
80197Wed Dec 15 15:31:02 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80198
80199	* lib/set.rb (Set#==): [ruby-dev:25206]
80200
80201Wed Dec 15 14:32:18 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80202
80203	* win32/win32.c (rb_w32_fdisset): check whether the handle is valid.
80204
80205Wed Dec 15 10:30:37 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80206
80207	* ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198]
80208
80209Tue Dec 14 19:17:15 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80210
80211	* utf8.c (utf8_is_mbc_ambiguous): [ruby-talk:123561]
80212
80213	* utf8.c (utf8_mbc_to_normalize): ditto.
80214
80215Tue Dec 14 17:08:15 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80216
80217	* win32/win32.c (rb_w32_close): need to reset osfhnd().
80218
80219Tue Dec 14 14:03:57 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
80220
80221	* ext/openssl/ossl.c (ossl_raise): avoid buffer overrun.
80222	  [ruby-dev:25187]
80223
80224Tue Dec 14 12:36:04 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80225
80226	* lib/cgi/session.rb (CGI::Session::initialize): generate new
80227	  session if given session_id does not exist.  [ruby-list:40368]
80228
80229Tue Dec 14 08:47:45 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80230
80231	* eval.c (Init_eval): should mark ruby_eval_tree.  [ruby-dev:25189]
80232
80233Mon Dec 13 18:13:52 2004  Tanaka Akira  <akr@m17n.org>
80234
80235	* gc.c (set_stack_end): new function to obtain stack end address.
80236	  set_stack_end obtains a stack end address by an address of local
80237	  variable in the function.
80238	  (SET_STACK_END, STACK_END): use set_stack_end.  don't use alloca.
80239	  This makes the conservative garbage collector to scan a stack frame
80240	  of the garbage_collect function itself.  This is required because
80241	  callee-save registers may be stored in the frame.
80242	  [ruby-dev:25158]
80243
80244Mon Dec 13 02:45:51 2004  Shugo Maeda  <shugo@ruby-lang.org>
80245
80246	* ext/curses/curses.c (window_subwin): call NUM2INT() before
80247	  GetWINDOW(). fixed: [ruby-dev:25161]
80248
80249Mon Dec 13 00:58:02 2004  Tanaka Akira  <akr@m17n.org>
80250
80251	* lib/pathname.rb (cleanpath_aggressive): make it private.
80252	  (cleanpath_conservative): ditto.
80253	  Suggested by Daniel Berger.  [ruby-core:3914]
80254
80255Sun Dec 12 21:32:14 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80256
80257	* test/ruby/test_super.rb (TestSuper#test_define_method): now methods
80258	  from procs can call super.
80259
80260Sun Dec 12 10:35:10 2004  Dave Thomas  <dave@pragprog.com>
80261
80262	* lib/rdoc/generators/template/html/html.rb (RDoc::Page): Don't
80263	  show an accessor's r/w flag if none was specified
80264
80265Sun Dec 12 10:14:03 2004  Dave Thomas  <dave@pragprog.com>
80266
80267	* lib/rdoc/rdoc.rb (RDoc::RDoc::parse_files): Never exclude files
80268	  explicitly given on the command line.
80269
80270Sat Dec 11 21:10:16 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
80271
80272	* lib/drb/drb.rb: add DRbRemoteError. [ruby-list:40348],
80273	  [ruby-list:40390]
80274
80275	* test/drb/drbtest.rb: ditto.
80276
80277	* test/drb/ut_drb.rb: ditto.
80278
80279Sat Dec 11 13:08:28 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80280
80281	* sample/optparse/subcommand.rb: a sample for sub commands like
80282	  cvs.  contributed by Minero Aoki.
80283
80284Fri Dec 10 08:39:48 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80285
80286	* ext/socket/socket.c (sock_listen): get OpenFile just before calling
80287	  listen(2).
80288
80289Thu Dec  9 16:28:35 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80290
80291	* ext/sdbm/init.c (GetDBM): typo.
80292
80293Thu Dec  9 16:21:51 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
80294
80295	* lib/webrick/cgi.rb (WEBrick::CGI#setup_header): avoid
80296	  SecurityError. [ruby-dev:24970]
80297
80298	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should wait
80299	  for reading request till data arrive. [ruby-talk:121068]
80300
80301Thu Dec  9 14:38:35 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80302
80303	* string.c (rb_str_inspect): escape # which starts an expression
80304	  substitution.  fixed: [ruby-core:03922]
80305
80306	* string.c (rb_str_dump): not escape # which isn't a substitution.
80307
80308Thu Dec  9 12:31:53 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
80309
80310	* io.c (pipe_open): should set prog if argc != 0.
80311
80312Thu Dec  9 10:54:36 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80313
80314	* ext/dbm/dbm.c (fdbm_select): [ruby-dev:25132]
80315
80316	* ext/sdbm/init.c: ditto.
80317
80318	* ext/gdbm/gdbm.c: ditto.
80319
80320Thu Dec  9 10:19:18 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80321
80322	* test/socket/test_socket.rb (test_setsockopt): use SO_LINGER instead
80323	  of SO_BINDTODEVICE.  fixed: [ruby-dev:25133]
80324
80325Thu Dec  9 03:08:36 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80326
80327	* ext/tcltklib/tcltklib.c (ip_init): set root-win title to "ruby" when
80328	  the running script is '-e one-liner' or '-' (stdin).
80329
80330	* ext/tcltklib/extconf.rb: add find_library("#{lib}#{ver}",..) for
80331	  stub libs
80332
80333	* ext/tk/lib/tk/textmark.rb: TkTextMarkCurrent and TkTextMarkAnchor
80334	  have a wrong parent class.
80335
80336	* ext/tk/lib/tk/dialog.rb: rename TkDialog2 --> TkDialogObj and
80337	  TkWarning2 --> TkWarningObj (old names are changed to alias names)
80338
80339	* ext/tk/lib/tk/dialog.rb: bug fix of treatment of 'prev_command'
80340	  option and hashes for configuration
80341
80342	* ext/tk/lib/tk/dialog.rb: add TkDialogObj#name to return the
80343	  button name
80344
80345	* ext/tk/lib/tk/radiobutton.rb: rename enbugged method value() ==>
80346	  get_value() and value=(val) ==> set_value(val).
80347
80348	* ext/tk/lib/tk/menu.rb: add TkMenu.new_menuspec
80349
80350	* ext/tk/lib/tk/menu.rb: add alias (TkMenuButton = TkMenubutton,
80351	  TkOptionMenuButton = TkOptionMenubutton)
80352
80353	* ext/tk/lib/tk/event.rb: new method aliases (same as option keys of
80354	  event_generate) for Event object
80355
80356	* ext/tk/lib/tk/font.rb: configinfo returns proper types of values
80357
80358	* ext/tk/lib/tk.rb: bind methods accept subst_args + block
80359
80360	* ext/tk/lib/tk/canvas.rb: ditto
80361
80362	* ext/tk/lib/tk/canvastag.rb: ditto
80363
80364	* ext/tk/lib/tk/frame.rb: ditto
80365
80366	* ext/tk/lib/tk/text.rb: ditto
80367
80368	* ext/tk/lib/tk/texttag.rb: ditto
80369
80370	* ext/tk/lib/tk/toplevel.rb: ditto
80371
80372	* ext/tk/lib/tkextlib/*: ditto and bug fix
80373
80374Wed Dec  8 23:54:29 2004  Dave Thomas  <dave@pragprog.com>
80375
80376	* lib/rdoc/generators/template/html/html.rb (RDoc::Page): Typo
80377	  meant that h2 tag was invisible.
80378
80379Wed Dec  8 22:10:02 2004  Tanaka Akira  <akr@m17n.org>
80380
80381	* rubyio.h, io.c, ext/dl/dl.c, ext/pty/pty.c, ext/socket/socket.c:
80382	  create FILE object only when required: popen(3) and DL's IO#to_ptr.
80383	  [ruby-dev:25122]
80384
80385	* io.c (rb_io_binmode): use setmode for Human68k.  [ruby-dev:25121]
80386
80387Wed Dec  8 20:13:06 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
80388
80389	* process.c (rb_spawn): support for DJGPP.
80390
80391	* lib/mkmf.rb (VPATH): specify the implicit path separator for DJGPP.
80392
80393Wed Dec  8 17:48:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80394
80395	* eval.c (proc_invoke): merge Guy Decoux's argument preserve
80396	  patch in [ruby-core:03874].
80397
80398Wed Dec  8 17:37:33 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80399
80400	* win32/win32.c (rb_w32_pipe_exec): need to close original socket
80401	  handle.
80402
80403Wed Dec  8 14:31:36 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80404
80405	* sprintf.c (rb_f_sprintf): [ruby-dev:25104]
80406
80407Wed Dec  8 13:49:46 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80408
80409	* win32/win32.c (rb_w32_pipe_exec): must close original handle
80410	  before exec. fixed: [ruby-dev:25112]
80411
80412Wed Dec  8 11:46:26 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80413
80414	* parse.y (string_content): get rid of segfault at empty evstr.
80415	  fixed: [ruby-dev:25113]
80416
80417Wed Dec  8 03:26:51 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
80418
80419	* ext/openssl/ossl_bio.c (ossl_obj2bio): should not use fptr->f.
80420	  [ruby-dev:25101]
80421
80422Wed Dec  8 03:26:41 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80423
80424	* runruby.rb: prepend LIBRUBY_SO to LD_PRELOAD as well as rubytest.rb.
80425
80426Wed Dec  8 01:35:44 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80427
80428	* win32/win32.c (is_socket): reorder of function definitions.
80429
80430Wed Dec  8 00:44:31 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80431
80432	* io.c (pipe_open): win32 bidirectional pipe support.
80433
80434	* win32/win32.[ch] (rb_w32_pipe_exec): ditto.
80435
80436	* win32/win32.[ch] (socketpair): new function. POSIX socketpair
80437	  emulation.
80438
80439	* win32/win32.c (socketpair_internal): ditto.
80440
80441Wed Dec  8 00:25:07 2004  Kouhei Sutou  <kou@cozmixng.org>
80442
80443	* test/rss/test_version.rb: added version check test.
80444	  [ruby-dev:25053]
80445
80446Tue Dec  7 15:40:38 2004  Tanaka Akira  <akr@m17n.org>
80447
80448	* io.c (io_fwrite): avoid context switch before writing to stderr.
80449	  [ruby-dev:25080]
80450
80451	* rubyio.h: refine deprecated declaration.
80452
80453	* configure.in, file.c, io.c: remove useless check: fseeko, etc.
80454
80455Tue Dec  7 13:42:07 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80456
80457	* dir.c (dir_s_mkdir): win32 special processing doesn't need any
80458	  longer.
80459
80460	* win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible
80461	  interface.
80462
80463	* win32/win32.[ch] (rb_w32_rmdir): new function.
80464
80465Tue Dec  7 00:27:37 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80466
80467	* process.c (proc_setgroups): [ruby-dev:25081]
80468
80469Mon Dec  6 23:07:57 2004  Tanaka Akira  <akr@m17n.org>
80470
80471	* configure.in: check -lsocket for socketpair and shutdown.
80472	  reported by Ville Mattila.  [ruby-core:03903]
80473
80474Mon Dec  6 23:00:45 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
80475
80476	* configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.
80477
80478	* io.c (is_socket, shutdown): define dummy macros for DJGPP.
80479
80480	* process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP.
80481
80482Mon Dec  6 21:19:40 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80483
80484	* io.c (is_socket): fix typos. [ruby-core:03900]
80485
80486Mon Dec  6 20:13:28 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80487
80488	* io.c (is_socket): new function.
80489
80490	* io.c (rb_io_close_read, rb_io_close_write): use is_socket().
80491
80492	* io.c (rb_io_fptr_finalize): need to check fptr->f before calling
80493	  rb_io_fptr_cleanup().
80494
80495	* io.c (pipe_open): win32 pipe support (experimental).
80496
80497	* win32/win32.[ch] (rb_w32_pipe_exec): return file descriptors
80498	  instead of FILE structure objects.
80499
80500	* win32/win32.[ch] (rb_w32_is_socket): new function.
80501
80502Mon Dec  6 19:40:40 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
80503
80504	* Makefile.in (.y.c): simplify the rule.
80505
80506Mon Dec  6 18:08:10 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80507
80508	* re.c (rb_reg_eqq): document fix.  [ruby-talk:122541]
80509
80510Mon Dec  6 17:49:30 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80511
80512	* eval.c (run_trap_eval): add prototype for Microsoft compiler.
80513
80514Mon Dec  6 17:32:38 2004  Tanaka Akira  <akr@m17n.org>
80515
80516	* rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,
80517	  ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c:
80518	  Use own buffering mechanism instead of stdio.  [ruby-dev:25056]
80519
80520	* io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb:
80521	  EOF flag removed.
80522
80523Mon Dec  6 17:15:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80524
80525	* test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):
80526	  BasicSocket#setsockopt dumps core.  [ruby-dev:25039]
80527
80528	* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom):
80529	  TCPSocket#recvfrom dumps core.  [ruby-dev:24705]
80530
80531	* test/socket/test_udp.rb (TestUDPSocket#test_connect):
80532	  UDPSocket#connect dumps core.  [ruby-dev:25045]
80533
80534	* test/socket/test_udp.rb (TestUDPSocket#test_bind):
80535	  UDPSocket#bind dumps core.  [ruby-dev:25057]
80536
80537Mon Dec  6 09:59:23 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80538
80539	* io.c (io_fread): take VALUE argument.
80540
80541	* ext/socket/socket.c (sock_connect): use rb_str_new4().
80542	  [ruby-dev:25052]
80543
80544	* eval.c (rb_yield_0): [ruby-dev:25051]
80545
80546Mon Dec  6 01:32:31 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
80547
80548	* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,
80549	  ossl_rsa_public_decrypt, ossl_rsa_private_encrypt,
80550	  ossl_rsa_private_decrypt): should take an optional argument
80551	  to specify padding mode. [ruby-talk:122539]
80552
80553	* ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants
80554	  PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING
80555	  under OpenSSL::PKey::RSA.
80556
80557	* test/openssl/test_pkey_rsa.rb: new file.
80558
80559Sun Dec  5 19:39:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80560
80561	* lib/optparse.rb (OptionParser::Completion#complete): new parameter
80562	  to direct case insensitiveness.
80563
80564	* lib/optparse.rb (OptionParser#order!): ignore case only for long
80565	  option.  [ruby-dev:25048]
80566
80567Sun Dec  5 00:54:32 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
80568
80569	* mkconfig.rb: setup library paths before requiring library.
80570	  [ruby-core:03892]
80571
80572Sat Dec  4 22:54:15 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80573
80574	* io.c (io_write): remove rb_str_locktmp().  [ruby-dev:25050]
80575
80576	* io.c (io_fwrite): takes VALUE string as an argument.
80577	  [ruby-dev:25050]
80578
80579	* ext/socket/socket.c (sock_connect): remove rb_str_locktmp().
80580	  [ruby-dev:25050]
80581
80582	* ext/socket/socket.c (udp_connect): [ruby-dev:25045]
80583
80584	* ext/socket/socket.c (udp_bind): ditto.
80585
80586	* ext/socket/socket.c (udp_send): ditto.
80587
80588	* ext/socket/socket.c (bsock_send): ditto.
80589
80590	* ext/socket/socket.c (s_recvfrom): ditto.
80591
80592	* hash.c (rb_hash_hash): should provide "hash" method where "eql?"
80593	  is redefined.  [ruby-talk:122482]
80594
80595Sat Dec  4 21:29:05 2004  Minero Aoki  <aamine@loveruby.net>
80596
80597	* lib/fileutils.rb: (In previous commit) new method chown.
80598
80599	* lib/fileutils.rb: (In previous commit) new method chown_R.
80600
80601	* lib/fileutils.rb: (In previous commit) new method chmod_R
80602	  wrongly added.  Removed now.
80603
80604Sat Dec  4 20:45:52 2004  Minero Aoki  <aamine@loveruby.net>
80605
80606	* lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly.
80607	  [ruby-core:03881]
80608
80609Sat Dec  4 18:54:09 2004  Kouhei Sutou  <kou@cozmixng.org>
80610
80611	* lib/rss/rss.rb: removed empty lines from output.
80612
80613Sat Dec  4 18:49:09 2004  Kouhei Sutou  <kou@cozmixng.org>
80614
80615	* lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
80616
80617	* lib/rss/rss.rb: #item=/#set_item and so on are obsolete.
80618
80619Sat Dec  4 14:28:56 2004  Dave Thomas  <dave@pragprog.com>
80620
80621	* lib/rdoc/code_objects.rb (RDoc::Context::Section::set_comment):
80622	  Section comments may now be bracketed by lines which are
80623	  ignored. You can now write
80624	      # -----------
80625	      # :section: Dave's Section
80626	      # comment material
80627	      # -----------
80628	   The lines before :section: are removed, and identical lines at the end are
80629	   also removed if present.
80630
80631Sat Dec  4 00:35:08 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80632
80633	* ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039]
80634
80635Fri Dec  3 12:25:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80636
80637	* st.h: fix prototype for C++.
80638
80639Fri Dec  3 01:55:24 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80640
80641	* ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missing
80642	  returns proper object. "widget.option = val" returns val, and
80643	  "widget.option(val)" returns self.
80644
80645	* ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument.
80646
80647	* ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and
80648	  TkRadiobutton#value=(val).
80649
80650	* ext/tk/lib/tk/spinbox.rb: callback substitution support on
80651	  command option.
80652
80653	* ext/tk/sample/demos-en/widget: bug fix (wrong image height)
80654
80655	* ext/tk/sample/demos-jp/widget: ditto.
80656
80657Fri Dec  3 00:21:05 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80658
80659	* eval.c (proc_invoke): prepare to pass a block from "call" method
80660	  to a Proc generated by Method#to_proc.  [ruby-dev:25031]
80661
80662	* eval.c (rb_yield_0): actually passes a block given to "call".
80663
80664	* object.c (convert_type): use rb_respond_to() again.  this fix is
80665	  based on [ruby-dev:25021]
80666
80667	* eval.c (rb_respond_to): funcall respond_to? if it's redefined.
80668	  [ruby-dev:25021]
80669
80670Thu Dec  2 15:13:53 2004  Michael Neumann  <mneumann@ruby-lang.org>
80671
80672	* test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expected
80673	  values are now stored in YAML instead of using #inspect. This fixes
80674	  false hash order.
80675
80676Fri Dec  3 00:11:48 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80677
80678	* io.c (rb_file_initialize): [ruby-dev:25032]
80679
80680Thu Dec  2 16:41:03 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80681
80682	* eval.c (rb_protect): prevent continuations created inside from being
80683	  called from the outside.  [ruby-dev:25003]
80684
80685	* eval.c (rb_callcc, rb_cont_call): prohibit calling from different
80686	  signal contexts.  [ruby-dev:25022]
80687
80688Thu Dec  2 10:45:02 2004  Shugo Maeda  <shugo@ruby-lang.org>
80689
80690	* test/readline/test_readline.rb: fix for NetBSD.
80691
80692Thu Dec  2 09:57:24 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80693
80694	* lib/ostruct.rb (OpenStruct::Marshaler): OpenStruct can be
80695	  marshaled again.  [ruby-core:03862]
80696
80697Thu Dec  2 09:30:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80698
80699	* eval.c (thread_mark): mark thread group.  [ruby-dev:25020]
80700
80701	* eval.c (thgroup_add): check whether the argument is really a Thread.
80702
80703Thu Dec  2 07:57:16 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80704
80705	* io.c (rb_io_ctl): [ruby-dev:25019]
80706
80707Wed Dec  1 06:13:00 2004  NARUSE, Yui  <naruse@ruby-lang.org>
80708
80709	* ext/nkf/nkf.c: add constant NKF::VERSION
80710
80711	* ext/nkf/nkf.c(guess): this becomes an alias of guess2
80712
80713	* ext/nkf/test.rb: add --no-cp932
80714
80715	* ext/nkf/nkf-utf8/nkf.c: original nkf2 revision 1.47
80716
80717Wed Dec  1 02:21:02 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80718
80719	* signal.c (sighandler): call handler immediately only for default
80720	  handlers.  [ruby-dev:25003]
80721
80722Tue Nov 30 23:49:12 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80723
80724	* io.c (pipe_open): errno should be preserved for rb_sys_fail() when
80725	  fork failed.
80726
80727Tue Nov 30 16:18:50 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80728
80729	* io.c (io_fread): need not to null terminate.  [ruby-dev:24998]
80730
80731	* eval.c (rb_eval): should check previous frame for ZSUPER.
80732
80733	* io.c (read_all): remove unnecessary rb_str_resize().
80734	  [ruby-dev:24996]
80735
80736	* io.c (io_readpartial): ditto.
80737
80738	* io.c (io_read): ditto.
80739
80740Tue Nov 30 14:58:33 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
80741
80742	* instruby.rb (install): add arguments explicitly to "super".
80743
80744Tue Nov 30 00:49:08 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80745
80746	* eval.c (PUSH_FRAME): flags should have been initialized.
80747
80748	* eval.c (rb_eval): [ruby-core:03856]
80749
80750	* io.c (rb_io_sysread): use temporary lock.  [ruby-dev:24992]
80751
80752Tue Nov 30 00:12:57 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
80753
80754	* regparse.c: now handles many alternatives (over 500000)
80755	  in regexp. [ruby-dev:24773]
80756
80757Mon Nov 29 16:06:04 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80758
80759	* ext/stringio/stringio.c (strio_write): insufficiently filled string
80760	  being extended when overwriting.  [ruby-core:03836]
80761
80762Mon Nov 29 15:59:05 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80763
80764	* lib/ostruct.rb (OpenStruct::method_missing): check method
80765	  duplication for -d.
80766
80767	* lib/ostruct.rb (OpenStruct::initialize): ditto.
80768
80769Mon Nov 29 15:22:28 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80770
80771	* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
80772	  not supported.
80773
80774Mon Nov 29 13:37:54 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80775
80776	* io.c (fptr_finalize): must not use FILE after fclose().
80777	  [ruby-dev:24985]
80778
80779Mon Nov 29 13:13:13 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
80780
80781	* win32/win32.c (CreateChild): push back the last space before next
80782	  loop because CharNext() eats it.
80783
80784Mon Nov 29 03:08:30 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80785
80786	* object.c (convert_type): [ruby-core:03845]
80787
80788	* eval.c (rb_funcall_rescue): new function.
80789
80790	* object.c (rb_Array): avoid using rb_respond_to().
80791
80792	* object.c (rb_Integer): ditto.
80793
80794	* eval.c (get_backtrace): no conversion for nil.
80795
80796	* parse.y (reduce_nodes): empty body should return nil.
80797
80798Mon Nov 29 01:18:18 2004  Tanaka Akira  <akr@m17n.org>
80799
80800	* io.c (rb_io_check_writable): call io_seek regardless of
80801	  NEED_IO_SEEK_BETWEEN_RW.  [ruby-dev:24986]
80802
80803Sun Nov 28 15:57:58 2004  Kouhei Sutou  <kou@cozmixng.org>
80804
80805	* lib/rss/rss.rb (RSS::Element#tag): not use block_given? for
80806	  working with ruby 1.6 again.
80807
80808	* lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb:
80809	  undef -> remove_method for working with ruby 1.6 again.
80810
80811Sun Nov 28 15:51:40 2004  Kouhei Sutou  <kou@cozmixng.org>
80812
80813	* lib/rss/rss.rb (RSS::NotSetError): added.
80814
80815	* lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise
80816	  RSS::NotSetError if required values of maker.channel are not
80817	  set. [ruby-talk:120061]
80818
80819	* test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
80820	  Maker raises or not.
80821
80822Sun Nov 28 12:14:47 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
80823
80824	* regparse.c (fetch_token): fixed test failure on HP-UX ia64
80825	  ([ruby-dev:24859]).
80826
80827Sun Nov 28 12:08:15 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
80828
80829	* regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8
80830	  characters that have U+00FE or invalid characters.
80831
80832Sun Nov 28 12:07:04 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
80833
80834	* regexec.c, test/ruby/test_regexp.rb: fixed segmentation fault
80835	  ([ruby-dev:24887]).
80836
80837Sun Nov 28 12:05:48 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
80838
80839	* regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS
80840	  problem ([ruby-dev:24802] and [ruby-core:3733])
80841
80842Sat Nov 27 23:43:39 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80843
80844	* io.c (rb_io_initialize): [ruby-dev:24972]
80845
80846Sat Nov 27 21:43:39 2004  Tanaka Akira  <akr@m17n.org>
80847
80848	* io.c: avoid data lost with nonblocking fd and
80849	  stdio buffering in sync mode.  [ruby-dev:24966]
80850	  based on matz's patch [ruby-dev:24967]
80851	  (io_fwrite): new primitive writing function which writes
80852	  directly if sync mode.
80853	  (rb_io_fwrite): wrapper for io_fwrite now.
80854	  (io_write): call io_fwrite instead of rb_io_fwrite.
80855
80856Sat Nov 27 17:43:21 2004  Kouhei Sutou  <kou@cozmixng.org>
80857
80858	* lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: added
80859	  #setup_maker.
80860
80861	* test/rss/test_setup_maker_*.rb: added tests for #setup_maker.
80862
80863	* lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported
80864	  output item size limitation.
80865
80866	* sample/rss/blend.rb: added sample for RSS Maker.
80867
80868Sat Nov 27 17:41:35 2004  Kouhei Sutou  <kou@cozmixng.org>
80869
80870	* lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,
80871	  "0.9" is just alias of "0.91."
80872
80873	* test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
80874
80875	* test/rss/test_to_s.rb: ditto.
80876
80877Sat Nov 27 17:21:30 2004  Kouhei Sutou  <kou@cozmixng.org>
80878
80879	* sample/rss/list_description.rb: untabified.
80880
80881	* sample/rss/rss_recent.rb: ditto.
80882
80883Sat Nov 27 14:44:15 2004  Kent Sibilev  <ksibilev@bellsouth.net>
80884
80885	* lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832]
80886
80887Sat Nov 27 09:41:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80888
80889	* io.c (io_fread): old rb_io_fread with file closing checking.
80890	  (rb_io_fread): wrapper for io_fread now.
80891	  [ruby-dev:24964]
80892
80893Fri Nov 26 18:02:44 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80894
80895	* ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath
80896
80897	* ext/tk/lib/tk/image.rb: bug fix
80898
80899	* ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only)
80900
80901	* ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath
80902
80903Fri Nov 26 14:29:39 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80904
80905	* io.c (rb_io_initialize): uninitialized fd was checked to see open
80906	  mode.  [ruby-dev:24963]
80907
80908	* io.c (rb_io_initialize): uninitialized fd was used.  [ruby-dev:24962]
80909
80910Fri Nov 26 13:49:06 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80911
80912	* io.c (rb_io_initialize): should retrieve flags from copying file
80913	  descriptor. [ruby-dev:24961]
80914
80915	* eval.c (method_missing): raise TypeError for classes do not
80916	  have allocators.  [ruby-core:03752]
80917
80918	* lib/erb.rb: add RDoc by James Edward Gray II.  [ruby-core:03786]
80919
80920Fri Nov 26 13:29:02 2004  Dave Thomas  <dave@pragprog.com>
80921
80922	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::look_for_directives_in): Break
80923	  out of preprocessing when we find a :section: directive (previously cleared out the
80924	  comment, but this apparently now generates an error in gsub!)
80925
80926Fri Nov 26 00:17:40 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80927
80928	* io.c (io_read): move StringValue() check before GetOpenFile().
80929	  [ruby-dev:24959]
80930
80931Thu Nov 25 20:14:57 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
80932
80933	* lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
80934	  threads should be also processed.  [ruby-talk:121320]
80935
80936Thu Nov 25 18:06:37 2004  Tanaka Akira  <akr@m17n.org>
80937
80938	* configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix
80939	  problem with autoconf 2.52 or earlier.
80940	  revert AC_PREREQ to 2.50.
80941	  [ruby-core:3809]
80942
80943Thu Nov 25 07:59:41 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80944
80945	* configure.in: AC_PREREQ(2.53) [ruby-core:03800]
80946
80947	* io.c (read_all): stringify non-nil buffer argument, and always
80948	  taint the result.  [ruby-dev:24955]
80949
80950Wed Nov 24 01:01:31 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80951
80952	* io.c (io_read): integer conversion should be prior to
80953	  GetOpenFile().  [ruby-dev:24952]
80954
80955	* configure.in, io.c: cancel [ ruby-Patches-1074 ].
80956
80957Tue Nov 23 08:09:50 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
80958
80959	* ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
80960
80961Tue Nov 23 02:00:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80962
80963	* file.c (rb_file_chown): integer conversion should be prior to
80964	  GetOpenFile().  [ruby-dev:24949]
80965
80966Tue Nov 23 00:10:48 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80967
80968	* file.c (rb_file_chown): integer conversion should be prior to
80969	  GetOpenFile().  [ruby-dev:24947]
80970
80971	* file.c (rb_file_truncate): ditto.
80972
80973	* file.c (rb_file_s_truncate): ditto.
80974
80975	* dir.c (dir_seek): use NUM2OFFT().
80976
80977	* misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719]
80978
80979Mon Nov 22 22:33:02 2004  Dave Thomas  <dave@pragprog.com>
80980
80981	* lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Don't use names
80982	  of variables or constants when parsing 'require'
80983
80984Mon Nov 22 00:13:35 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
80985
80986	* dir.c (dir_seek): should retrieve dir_data after NUM2INT().
80987	  [ruby-dev:24941]
80988
80989Sat Nov 20 23:57:33 2004  Dave Thomas  <dave@pragprog.com>
80990
80991	* lib/rdoc/README (et al): Add a new directive, :section:, and
80992	  change the output format to accommodate. :section: allows to to
80993	  group together methods, attributes, constants, etc under
80994	  headings in the output. If used, a table of contents is
80995	  generated.
80996
80997Sat Nov 20 23:56:54 2004  Dave Thomas  <dave@pragprog.com>
80998
80999	* lib/rdoc/options.rb (Options::parse): Force --inline-source if
81000	  --one-file option given
81001
81002Sat Nov 20 23:55:19 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81003
81004	* string.c (rb_str_splice): should place index wrapping after
81005	  possible modification.  [ruby-dev:24940]
81006
81007Sat Nov 20 23:25:12 2004  Minero Aoki  <aamine@loveruby.net>
81008
81009	* io.c (rb_io_getline): f.gets("") did not work. [ruby-core:03771]
81010
81011	* test/ruby/test_io.rb (test_gets_rs): test it.
81012
81013Sat Nov 20 22:55:09 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81014
81015	* test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb before
81016	  using CROSS_COMPILNG.
81017
81018Sat Nov 20 20:42:42 2004  Minero Aoki  <aamine@loveruby.net>
81019
81020	* ext/ripper/depend: fix ripper.o dependency.
81021
81022Sat Nov 20 17:48:29 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81023
81024	* io.c (io_reopen): work around problem with Cygwin fseeko
81025	  returning ESPIPE.
81026
81027Sat Nov 20 05:34:24 2004  NARUSE, Yui  <naruse@ruby-lang.org>
81028
81029	* ext/nkf/nkf-utf8/nkf.c: original nkf.c rev:1.40
81030
81031	* ext/nkf/test.rb: add test for mime encode/decode
81032
81033Sat Nov 20 01:45:04 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81034
81035	* test/xmlrpc/test_webrick_server.rb: move `requrie "webrick/https"'
81036	  into #setup_http_server method to avoid soap test errors.
81037
81038Sat Nov 20 01:37:34 2004  Johan Holmberg  <holmberg@iar.se>
81039
81040	* eval.c (error_print): nicer traceback at interrupt.
81041	  [ruby-core:03774]
81042
81043Sat Nov 20 00:07:16 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81044
81045	* string.c (str_gsub): internal buffer should not be listed by
81046	  ObjectSpace.each_object() by String#gsub.  [ruby-dev:24931]
81047
81048Fri Nov 19 22:44:43 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81049
81050	* lib/test/unit/collector/dir.rb: better support for -p/-x option.
81051
81052Fri Nov 19 17:46:56 2004  Kouhei Sutou  <kou@cozmixng.org>
81053
81054	* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
81055	  changed /rss/channel/image to be optional. [ruby-Bugs:1047]
81056
81057	* test/rss/test_maker_0.9.rb: added tests for the above.
81058
81059Fri Nov 19 17:18:17 2004  Kouhei Sutou  <kou@cozmixng.org>
81060
81061	* lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
81062
81063	* lib/rss: #to_s used #tag.
81064
81065	* test/rss/test_to_s.rb: added.
81066
81067	* lib/rss/maker.rb (RSS::Maker.make): changed API. It's not
81068	  received modules which is used as the second argument.
81069
81070	* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate):
81071	  changed return value type which is not String but Boolean.
81072
81073	* lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
81074	  type which is not String but Integer.
81075
81076	* lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
81077	  <skipHours> has <hour>s.
81078
81079	* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto.
81080
81081	* lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s.
81082
81083	* lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto.
81084
81085	* lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s.
81086
81087	* lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto.
81088
81089	* lib/rss/trackback.rb: parent element has <trackback:about>s.
81090
81091	* lib/rss/maker/trackback.rb: ditto.
81092
81093Fri Nov 19 11:10:16 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81094
81095	* lib/test/unit/collector/dir.rb: add support for directory name
81096	  with -p/-x options.
81097
81098	* test/testunit/collector/test_dir.rb: ditto.
81099
81100	* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
81101	  instead of to_a.
81102
81103Fri Nov 19 10:32:36 2004  Shugo Maeda  <shugo@ruby-lang.org>
81104
81105	* ext/readline/readline.c (readline_s_set_completion_append_character):
81106	  accept nil.  [ruby-core:03765]
81107
81108Fri Nov 19 01:20:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81109
81110	* lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise
81111	  exception if data corresponding to session specified from the
81112	  client does not exist.
81113
81114Fri Nov 19 00:59:31 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81115
81116	* string.c (str_gsub): internal buffer should not be listed by
81117	  ObjectSpace.each_object().  [ruby-dev:24919]
81118
81119Thu Nov 18 23:42:36 2004  Minero Aoki  <aamine@loveruby.net>
81120
81121	* ext/ripper/depend: Never regenerate lib/ripper/core.rb
81122	  automatically. [ruby-dev:24911]
81123
81124Thu Nov 18 20:47:24 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81125
81126	* win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT's
81127	  isatty because it never sets errno.
81128
81129Thu Nov 18 18:41:08 2004  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
81130
81131	* test/ruby/test_stringchar.rb (test_bang): added.
81132
81133	* string.c (rb_str_upcase_bang, rb_str_capitalize_bang)
81134	  (rb_str_swapcase_bang): missing rb_str_modify().
81135
81136Thu Nov 18 17:05:01 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81137
81138	* parse.y (f_rest_arg): store rest args into invisible local variable
81139	  in order to get rid of SEGV at ZSUPER.  [ruby-dev:24913]
81140
81141Thu Nov 18 15:39:52 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81142
81143	* hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
81144
81145Thu Nov 18 14:58:42 2004  Shugo Maeda  <shugo@ruby-lang.org>
81146
81147	* ext/readline/readline.c: check $SAFE.
81148
81149	* test/readline/test_readline.rb: added tests for readline.
81150
81151Thu Nov 18 00:21:15 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81152
81153	* process.c (proc_getpgrp): prohibit for $SAFE=2.
81154	  [ruby-dev:24899]
81155
81156	* process.c (get_pid): ditto.  [ruby-dev:24904]
81157
81158	* process.c (get_ppid): ditto.
81159
81160	* array.c (rb_ary_delete): defer rb_ary_modify() until actual
81161	  modification.  [ruby-dev:24901]
81162
81163Thu Nov 18 10:10:14 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81164
81165	* io.c, rubyio.h (rb_io_modenum_flags): exported.
81166
81167	* ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as
81168	  well as IO.new does.  [ruby-dev:24896]
81169
81170Wed Nov 17 23:47:30 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
81171
81172	* test/ruby/test_settracefunc.rb: added.  [ruby-dev:24884]
81173
81174Wed Nov 17 18:59:16 2004  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
81175
81176	* process.c (proc_getrlimit, proc_setrlimit): add rb_secure(2) to
81177	  methods of Process.{getrlimit,setrlimit}
81178
81179Wed Nov 17 13:56:57 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81180
81181	* parse.y (newline_node): should not use FL_SET. [ruby-dev:24874]
81182
81183	* parse.y (string_content): should not use FL_UNSET.
81184
81185	* node.h (NODE_NEWLINE): remove unused bit to utilize flag field
81186	  in nodes.
81187
81188Wed Nov 17 13:05:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81189
81190	* dir.c (rb_push_glob): fix overrun.  [ruby-dev:24886]
81191
81192Wed Nov 17 11:48:17 2004  Michael Neumann  <mneumann@ruby-lang.org>
81193
81194	* lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assigning
81195	  to constants" warnings
81196
81197Wed Nov 17 09:38:18 2004  Johan Holmberg  <holmberg@iar.se>
81198
81199	* re.c (rb_reg_initialize_m): should raise exception instead of
81200	  compile error.  [ruby-core:03755]
81201
81202Wed Nov 17 03:42:45 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81203
81204	* string.c (rb_str_splice): move rb_str_modify() after
81205	  StringValue(), which may alter the receiver.  [ruby-dev:24878]
81206
81207	* error.c (rb_error_frozen): now raise RuntimeError instead of
81208	  TypeError.
81209
81210Tue Nov 16 21:22:47 2004  Michael Neumann  <mneumann@ruby-lang.org>
81211
81212	* lib/xmlrpc/server.rb (CGIServer): fixed bug when client sends
81213	  "Content-typ: text/xml; ..."
81214
81215Tue Nov 16 23:45:07 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81216
81217	* numeric.c (flo_divmod): protect float values from GC by
81218	  assignment to local variables.  [ruby-dev:24873]
81219
81220Tue Nov 16 14:31:54 2004  Michael Neumann  <mneumann@ruby-lang.org>
81221
81222	* test/xmlrpc/*: imported and refactored original test cases.
81223
81224	* test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
81225	  added test case that starts up a WEBrick XML-RPC server and performs
81226	  some tests on it (both http and https servers are started).
81227
81228	* lib/xmlrpc/create.rb (XMLWriter::each_installed_writer),
81229	  lib/xmlrpc/parser.rb (XMLParser::each_installed_parser):
81230	  added methods to simply original test cases
81231
81232	* lib/xmlrpc/parser.rb, lib/xmlrpc/datetime.rb: applied patch by
81233	  MoonWolf <moonwolf@moonwolf.com> to allow parsing datetime.iso8601
81234	  (e.g. 20041105T01:15:23Z).
81235
81236	* lib/xmlrpc/server.rb: fixed issue #998
81237	  (http://rubyforge.org/tracker/?func=detail&atid=1700&aid=998&group_id=426)
81238
81239	* lib/xmlrpc/create.rb, lib/xmlrpc/utils.rb: when marshalling/loading
81240	  user-defined data structures, use Class#allocate instead of defining
81241	  an empty #initialize method. module XMLRPC::Marshallable is now only
81242	  used for tagging.
81243
81244	* lib/xmlrpc/.document, lib/xmlrpc/README.rdoc: added howto
81245
81246Tue Nov 16 16:26:12 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81247
81248	* {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
81249	  config.status to force updating them.
81250
81251Tue Nov 16 16:20:45 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81252
81253	* ext/stringio/stringio.c (strio_read): position was ignored when a
81254	  buffer was passed.  http://www.yo.rim.or.jp/~nov/d/?date=20041116#p03
81255
81256Tue Nov 16 13:35:54 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81257
81258	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): add
81259	  new option --exclude (-x) to skip some tests. [ruby-core:3363],
81260	  [ruby-dev:24865]
81261
81262	* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir.exclude):
81263	  ditto.
81264
81265Tue Nov 16 11:19:07 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81266
81267	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
81268	  Regexp conversion.
81269
81270Tue Nov 16 01:41:31 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81271
81272	* string.c (str_mod_check): frozen check should be separated.
81273	  [ruby-core:3742]
81274
81275	* array.c (rb_ary_update): pedantic check to detect
81276	  rb_ary_to_ary() to modify the receiver.  [ruby-dev:24861]
81277
81278Mon Nov 15 18:58:05 2004  Tanaka Akira  <akr@m17n.org>
81279
81280	* configure.in: check rlim_t more portably. [ruby-core:3735]
81281
81282Mon Nov 15 11:50:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81283
81284	* misc/ruby-mode.el (ruby-special-char-p, ruby-parse-partial): handle
81285	  operator symbols.  [ruby-talk:120177]
81286
81287Mon Nov 15 08:58:55 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81288
81289	* eval.c (Init_Proc): make proc as an alias to Proc.new.
81290	  [ruby-dev:24848]
81291
81292Mon Nov 15 00:46:03 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81293
81294	* eval.c (rb_yield_0): lambda{}.call(1) should raise exception.
81295	  [ruby-talk:120253]
81296
81297Mon Nov 15 00:33:40 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81298
81299	* string.c (rb_str_clear): avoid revealing NULL pointer.
81300	  [ruby-dev:24766]
81301
81302	* string.c (str_gsub): add paranoid check. [ruby-dev:24827]
81303
81304	* string.c (str_mod_check): check frozen status as well.
81305	  [ruby-dev:24801]
81306
81307Sun Nov 14 18:59:03 2004  Tanaka Akira  <akr@m17n.org>
81308
81309	* process.c (proc_getrlimit): new function for Process.getrlimit.
81310	  (proc_setrlimit): new function for Process.setrlimit.
81311	  [ruby-dev:24834]
81312
81313	* configure.in: check rlim_t and its size.  check setrlimit.
81314
81315	* ruby.h (NUM2ULL): new macro.
81316
81317Sun Nov 14 13:27:03 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81318
81319	* lib/pp.rb (PP#object_address_group): remove odd number of 'f'
81320	  prefixed to negative address.
81321
81322Sun Nov 14 10:48:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81323
81324	* lib/mathn.rb (Integer::gcd2): faster implementation by
81325	  <erlercw@siu.edu>. [ruby-talk:120232]
81326
81327Sun Nov 14 08:46:33 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
81328
81329	* test/logger/test_logger.rb: Logger just expects
81330	  Logger#datetime_format to be used for Time#strftime independently of
81331	  locale. [ruby-dev:24828]
81332
81333Fri Nov 12 17:32:07 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81334
81335	* bcc32/README.bcc32, win32/README.win32: need bison instead of
81336	  byacc.
81337
81338Fri Nov 12 15:15:06 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81339
81340	* eval.c (ruby_options): now we cannot call rb_glob() before
81341	  ruby_init(), so call rb_w32_cmdvector() at ruby_options().
81342
81343	* win32/win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and
81344	  export it.
81345
81346Fri Nov 12 14:08:01 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81347
81348	* ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES trick
81349
81350	* ext/tk/lib/tk.rb: ditto
81351
81352Fri Nov 12 00:31:05 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81353
81354	* ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string
81355	  pointer.  [ruby-dev:24783]
81356
81357Thu Nov 11 17:58:19 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81358
81359	* dir.c (rb_glob): should have called rb_glob_caller().
81360	  [ruby-dev:24773]
81361
81362Thu Nov 11 16:56:10 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81363
81364	* test/ruby/test_file.rb (test_truncate_wbuf): we want to test
81365	  only File#truncate, not behavior of seek(2).
81366
81367Thu Nov 11 01:52:52 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81368
81369	* error.c (syserr_initialize): use stringified object.
81370	  [ruby-dev:24768]
81371
81372Wed Nov 10 22:49:01 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81373
81374	* lib/delegate.rb (SimpleDelegator::dup): wrong number of
81375	  arguments.
81376
81377	* lib/delegate.rb (DelegateClass::dup): ditto.
81378
81379Wed Nov 10 19:47:55 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81380
81381	* dir.c (glob_helper): path is a string object now.
81382
81383Wed Nov 10 12:31:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81384
81385	* README.EXT (Example): extconf.rb is indispensable now.
81386
81387Wed Nov 10 03:33:36 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81388
81389	* ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x
81390	  or older
81391
81392	* ext/tk/lib/tkextlib/tile/style.rb: bug fix
81393
81394Tue Nov  9 22:24:07 2004  NARUSE, Yui  <naruse@ruby-lang.org>
81395
81396	* ext/nkf: original nkf.c rev:1.38
81397
81398	* ext/nkf/nkf.c: fix bug: can't parse long-name options
81399
81400	* ext/nkf/test.rb: fix bug: mime tests fail
81401
81402Tue Nov  9 14:27:18 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81403
81404	* lib/optparse.rb (OptionParser::Officious): moved from DefaultList.
81405
81406Tue Nov  9 00:50:06 2004  Dave Thomas  <dave@pragprog.com>
81407
81408	* lib/rdoc/rdoc.rb: Change version numbering of RDoc and ri
81409
81410Tue Nov  9 01:05:04 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81411
81412	* dir.c (rb_glob2): do not allocate buffer from heap to avoid
81413	  memory leaks.  use string object for buffering instead.
81414	  [ruby-dev:24738]
81415
81416	* dir.c (join_path): ditto.
81417
81418	* io.c (io_read): external input buffer may be modified even after
81419	  rb_str_locktmp().  [ruby-dev:24735]
81420
81421	* dir.c (fnmatch): p or s may be NULL.  [ruby-dev:24749]
81422
81423Tue Nov  9 00:36:26 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
81424
81425	* lib/drb/extservm.rb: add DRb::ExtServManager#uri=.
81426	  [ruby-dev:24743]
81427
81428Mon Nov  8 22:20:19 2004  Dave Thomas  <dave@pragprog.com>
81429
81430	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
81431	  Fix bug where parent class wasn't being detected if the
81432	  child class was defined using the A::B notation.
81433
81434Mon Nov  8 00:14:13 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81435
81436	* configure.in: add setup for mingw32 cross compiling.
81437	  [ruby-talk:119413]
81438
81439Sun Nov  7 23:49:26 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81440
81441	* ext/tk/lib/tk.rb: bind-event methods accept multi substitution
81442	  arguments.
81443
81444	* ext/tk/lib/tk/canvas.rb: ditto.
81445
81446	* ext/tk/lib/tk/canvastag.rb: ditto.
81447
81448	* ext/tk/lib/tk/text.rb: ditto.
81449
81450	* ext/tk/lib/tk/texttag.rb: ditto.
81451
81452	* ext/tk/lib/tkextlib: ditto.
81453
81454Sat Nov  6 20:40:16 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
81455
81456	* ext/win32ole/win32ole.c: rename WIN32OLE#ole_obj_help to
81457	  WIN32OLE#ole_type. alias ole_obj_help to ole_type.
81458
81459	* ext/win32ole/tests/testWIN32OLE.rb: ditto.
81460
81461Sat Nov  6 11:18:59 2004  Tadayoshi Funaba  <tadf@dotrb.org>
81462
81463	* lib/date.rb (_parse): checks whether zone was given.
81464
81465Sat Nov  6 00:46:27 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81466
81467	* string.c (rb_str_locktmp): check STR_TMPLOCK flag before
81468	  locking.  [ruby-dev:24727]
81469
81470Fri Nov  5 19:07:16 2004  NARUSE, Yui  <naruse@ruby-lang.org>
81471
81472	* ext/nkf: follow CVS Head of original nkf.
81473
81474Fri Nov  5 18:12:42 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81475
81476	* ext/tk/lib/tk/scrollable.rb: divide Scrollable module into
81477	  X_Scrollable and Y_Scrollable
81478
81479	* ext/tk/lib/tk/entry.rb: include X_Scrollable instead of Scrollable
81480
81481	* ext/tk/lib/tk/autoload.rb: define autoload for X_Scrollable and
81482	  Y_Scrollable
81483
81484Fri Nov  5 16:05:32 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81485
81486	* ext/tk/lib/tk.rb: TkComm._at() supprts both of "@x,y" and "@x"
81487
81488Fri Nov  5 13:22:58 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81489
81490	* ext/tk/lib/tk/text.rb: sorry. bug fix again.
81491
81492Fri Nov  5 13:17:54 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81493
81494	* ext/tk/lib/tk/text.rb: bug fix
81495
81496Fri Nov  5 08:52:48 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81497
81498	* gc.c (gc_mark): stricter GC stack check.
81499
81500Fri Nov  5 08:34:43 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81501
81502	* string.c (str_gsub): should have removed rb_str_unlocktmp(str).
81503	  [ruby-dev:24708]
81504
81505	* ext/socket/socket.c (s_recvfrom): buffer modification check.
81506	  [ruby-dev:24708]
81507
81508Thu Nov  4 23:54:21 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
81509
81510	* regexec.c, regparse.c, regint.h: fixed conflicts between
81511	  vendor branch.
81512
81513Thu Nov  4 23:41:55 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
81514
81515	* ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c,
81516	  regenc.c, regenc.h, regerror.c, regexec.c, reggnu.c,
81517	  regint.h, regparse.c, regparse.h, sjis.c, utf8.c:
81518	  imported Oni Guruma 3.4.0.
81519
81520	* parse.y, re.c: Now mbclen() takes unsigned char as
81521	  its argument.
81522
81523Thu Nov  4 21:25:38 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81524
81525	* string.c (str_gsub): string modify check no longer based on
81526	  tmplock.  [ruby-dev:24706]
81527
81528Thu Nov  4 21:13:48 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
81529
81530	* ext/win32ole/win32ole.c(typelib_file_from_typelib): search "win16"
81531	  entry to get library path.
81532
81533	* ext/win32ole/win32ole.c(oletypelib_path): ditto.
81534
81535	* ext/win32ole/win32ole.c(ole_typedesc2val): add VT_LPWSTR, VT_LPSTR,
81536	  VT_ERROR case.
81537
81538Thu Nov  4 15:02:14 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81539
81540	* ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
81541	  of TkVarAccess objects
81542
81543Thu Nov  4 09:11:35 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81544
81545	* gc.c (gc_mark): enable GC stack checking.
81546
81547Thu Nov  4 03:11:33 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81548
81549	* string.c (str_gsub): lock strings temporarily.  [ruby-dev:24687]
81550
81551	* ext/socket/socket.c (s_recvfrom): tmplock input buffer.
81552	  [ruby-dev:24705]
81553
81554Wed Nov  3 22:24:17 2004  Daigo Moriwaki  <techml@sgtpepper.net>
81555
81556	* lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
81557	  avoid warnings.
81558
81559Wed Nov  3 17:19:59 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81560
81561	* array.c (rb_ary_uniq_bang): do not push frozen string from hash
81562	  table.  [ruby-dev:24695]
81563
81564	* array.c (rb_ary_and): ditto.
81565
81566	* array.c (rb_ary_or): ditto.
81567
81568Wed Nov  3 17:02:48 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81569
81570	* ext/tk/lib/tk.rb: support to use different Tcl commands between
81571	  configure and configinfo
81572
81573	* ext/tk/lib/font.rb: ditto.
81574
81575	* ext/tk/lib/itemconfig.rb: support to use different Tcl commands
81576	  between item_configure and item_configinfo
81577
81578	* ext/tk/lib/itemfont.rb: ditto.
81579
81580	* ext/tk/extconf.rb: install SUPPORT_STATUS
81581
81582	* ext/tk/lib/tkextlib: some bug fixes (see ext/tk/ChangeLog.tkextlib)
81583
81584Wed Nov  3 15:38:28 2004  Kouhei Sutou  <kou@cozmixng.org>
81585
81586	* test/rss/*.rb: removed tab width configuration headers.
81587
81588	* test/rss/test_maker_{0.9,1.0}.rb: sort -> do_sort.
81589
81590	* lib/rss/maker/*.rb: changed API to RSS version independence.
81591
81592	* lib/rss/maker/base.rb
81593	  (RSS::Maker::XMLStyleSheets::XMLStyleSheet): checked required
81594	  (pseudo) attributes.
81595
81596	* lib/rss/maker/base.rb (RSS::Maker::Items): sort -> do_sort.
81597
81598	* lib/rss/rss.rb (RSS::BaseModel.install_date_element): avoided
81599	  warning.
81600
81601	* lib/rss/0.9.rb (RSS::Rss#textinput): added convenience method.
81602
81603Tue Nov  2 16:35:57 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81604
81605	* ext/enumerator/enumerator.c (each_cons_i): pass copy of an
81606	  internal consequent array.  [ruby-talk:118691]
81607
81608Tue Nov  2 14:54:02 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81609
81610	* io.c (pipe_open): need to set cmd if argc == 0 (win32).
81611
81612Tue Nov  2 01:20:09 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81613
81614	* io.c (pipe_open): IO.popen should take array as 1st argument for
81615	  a command line.  [ruby-dev:24678]
81616
81617	* eval.c (proc_invoke): nail down dyna_var node when Proc object
81618	  or continuation is created.  [ruby-dev:24671]
81619
81620	* io.c (rb_io_s_popen): do not expand argv array.  [ruby-dev:24670]
81621
81622Mon Nov  1 22:25:56 2004  Kouhei Sutou  <kou@cozmixng.org>
81623
81624	* lib/rss/maker/base.rb: changed xml-stylesheet's API of RSS Maker
81625	  like to item's one.
81626
81627	* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#guess_type): fixed
81628	  regular expression bug.
81629
81630	* test/rss/test_maker_xml-stylesheet.rb: updated tests for
81631	  xml-stylesheet.
81632
81633Mon Nov  1 13:59:28 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81634
81635	* ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.
81636
81637	* ext/enumerator/extconf.rb, ext/fcntl/extconf.rb,
81638	  ext/stringio/extconf.rb: added.
81639
81640	* MANIFEST, ext/**/MANIFEST: removed.
81641
81642	* README.EXT, README.EXT.ja: remove MANIFEST stuff.
81643
81644Mon Nov  1 11:52:18 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81645
81646	* io.c (pipe_open): avoid conflict of variable name. [ruby-dev:24662]
81647
81648Mon Nov  1 11:46:19 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81649
81650	* process.c (rb_f_exec): should check whether prog is NULL.
81651
81652Mon Nov  1 09:37:19 2004  Kouhei Sutou  <kou@cozmixng.org>
81653
81654	* lib/rss/maker.rb: added entry point of RSS Maker.
81655
81656Mon Nov  1 03:14:14 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81657
81658	* eval.c (rb_get_method_body): store ICLASS in the cache.
81659	  [ruby-core:03672]
81660
81661	* eval.c (rb_provided): should return true for loading library
81662	  too for autoloading.  [ruby-core:03655]
81663
81664Mon Nov  1 01:14:52 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81665
81666	* io.c (rb_f_open): create copy of popen specifier.  [ruby-dev:24656]
81667
81668	* string.c (rb_str_locktmp): lock string temporarily.
81669
81670	* string.c (str_independent): add tmplock check.
81671
81672	* io.c (io_write): lock output string temporarily.
81673	  [ruby-dev:24649]
81674
81675	* io.c (io_write): use rb_str_locktmp().
81676
81677	* io.c (read_all): ditto.
81678
81679Sun Oct 31 23:37:00 2004  NARUSE, Yui  <naruse@ruby-lang.org>
81680
81681	* process.c: on NetBSD don't use setruid() and setrgid().
81682
81683Sun Oct 31 23:12:10 2004  Kouhei Sutou  <kou@cozmixng.org>
81684
81685	* lib/rss/maker/*.rb: added RSS Maker.
81686
81687	* test/rss/test_maker_*.rb: added tests for RSS Maker.
81688
81689Sun Oct 31 16:58:12 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
81690
81691	* ext/win32ole/win32ole.c: add WIN32OLE.codepage, WIN32OLE.codepage=.
81692
81693	* ext/win32ole/tests/testWIN32OLE.rb: ditto.
81694
81695Sun Oct 31 14:35:26 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81696
81697	* ext/nkf/nkf-utf8/nkf.c: add "\075?UTF-8?Q?" for Gmail.
81698
81699Sun Oct 31 14:18:56 2004  Minero Aoki  <aamine@loveruby.net>
81700
81701	* parse.y [ripper]: emit lexer-event values to the parser
81702	  (still incomplete).
81703
81704Sat Oct 30 15:24:41 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
81705
81706	* ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB class. add
81707	  WIN32OLE#ole_typelib method.
81708
81709	* ext/win32ole/tests/testOLETYPELIB.rb: add WIN32OLE_TYPELIB class.
81710
81711Sat Oct 30 06:53:24 2004  Peter Vanbroekhoven  <peter.vanbroekhoven@cs.kuleuven.ac.be>
81712
81713	* eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
81714
81715Sat Oct 30 00:19:40 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81716
81717	* array.c (rb_ary_update): a[n,m]=nil no longer works as element
81718	  deletion.
81719
81720	* enum.c (enum_sort_by): protect continuation jump in.
81721	  [ruby-dev:24642]
81722
81723	* eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS,
81724	  NEW_VALIAS), parse.y (fitem): allow dynamic symbols to
81725	  NODE_UNDEF and NODE_ALIAS.
81726
81727Fri Oct 29 21:27:51 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81728
81729	* io.c (rb_io_check_initialized): new function to check uninitialized
81730	  object.  [ruby-talk:118234]
81731
81732	* file.c (rb_file_path), io.c (rb_io_closed): check if initialized.
81733
81734Fri Oct 29 19:05:33 2004  NARUSE, Yui  <naruse@ruby-lang.org>
81735
81736	* ext/nkf: follow nkf2.0.
81737
81738Fri Oct 29 17:18:22 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
81739
81740	* parse.y (ripper_s_allocate): add prototype for Microsoft compiler.
81741
81742	* range.c (range_step, range_each): need cast.
81743
81744Fri Oct 29 16:34:19 2004  Daiki Ueno  <ueno@unixuser.org>
81745
81746	* misc/ruby-mode.el (ruby-parse-partial): Parse the rest of the
81747	  line after opening heredoc identifier.  [ruby-dev:24635]
81748
81749Fri Oct 29 11:35:04 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81750
81751	* parse.y (rb_parser_append_print, rb_parser_while_loop): body node
81752	  can be empty.  [ruby-dev:24628]
81753
81754Fri Oct 29 10:00:30 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81755
81756	* eval.c (rb_thread_start_0): forget to free some memory chunks.
81757	  [ruby-core:03611]
81758
81759	* eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,
81760	  should be wrapped by PUSH_TAG/POP_TAG().  [ruby-dev:24627]
81761
81762Thu Oct 28 08:42:02 2004  Tanaka Akira  <akr@m17n.org>
81763
81764	* io.c (argf_forward): use ANSI style.
81765	  (argf_read): call argf_forward with argv argument.
81766	  [ruby-dev:24624]
81767
81768Wed Oct 27 09:17:30 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81769
81770	* string.c (str_gsub): use a string object for exception safeness.
81771	  [ruby-dev:24601]
81772
81773Wed Oct 27 07:38:55 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81774
81775	* node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.
81776	  [ruby-talk:117841]
81777
81778	* ruby.h (FL_ABLE): nodes are not subject for flag operations.
81779
81780	* io.c (ARGF_FORWARD): should have specified argv explicitly,
81781	  since we no longer have frame->argv saved.  [ruby-dev:24602]
81782
81783Tue Oct 26 23:30:39 2004  Dave Thomas  <dave@pragprog.com>
81784
81785	* lib/rdoc/code_objects.rb (RDoc::Context::add_class_or_module):
81786	  Restore correct :nopdoc: behavior with nested classes and modules.
81787
81788Tue Oct 26 18:21:29 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81789
81790	* string.c (RESIZE_CAPA): check string attribute before modifying
81791	  capacity member of string structure.  [ruby-dev:24594]
81792
81793Tue Oct 26 11:33:26 2004  David G. Andersen  <dga@lcs.mit.edu>
81794
81795	* ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain
81796	  performance.  [ruby-talk:117701]
81797
81798Tue Oct 26 10:56:55 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81799
81800	* sprintf.c (rb_f_sprintf): raise ArgumentError for extra
81801	  arguments, unless (digit)$ style used.
81802
81803Mon Oct 25 18:35:39 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81804
81805	* win32/win32.c (isUNCRoot): should check NUL after '.'.
81806	  [ruby-dev:24590]
81807
81808	* win32/win32.c (isUNCRoot): fixed buffer overrun.
81809
81810Mon Oct 25 08:03:26 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81811
81812	* eval.c (get_backtrace): ignore illegal backtrace.  [ruby-dev:24587]
81813
81814Sun Oct 24 00:40:50 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81815
81816	* eval.c (rb_load, search_required, rb_require_safe, rb_require): use
81817	  frozen shared string to avoid outside modification.  [ruby-dev:24580]
81818
81819Sat Oct 23 23:40:34 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81820
81821	* io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in
81822	  interpreter termination.  [ruby-dev:24579]
81823
81824Sat Oct 23 22:18:32 2004  Guy Decoux  <ts@moulon.inra.fr>
81825
81826	* eval.c (frame_free): Guy Decoux solved the leak problem.
81827	  Thanks.  [ruby-core:03549]
81828
81829Sat Oct 23 00:20:55 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81830
81831	* ext/zlib/zlib.c (zstream_append_input): clear klass for z->input
81832	  to avoid potential vulnerability.
81833
81834	* ext/zlib/zlib.c (zstream_run): always use zstream_append_input()
81835	  to avoid SEGV.  [ruby-dev:24568]
81836
81837Fri Oct 22 12:02:28 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81838
81839	* eval.c (rb_alias): was warning for wrong condition.
81840	  [ruby-dev:24565]
81841
81842Fri Oct 22 10:36:37 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
81843
81844	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
81845	  should check if path_info is not nil.
81846
81847Fri Oct 22 00:22:31 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81848
81849	* ext/zlib/zlib.c (zstream_shift_buffer): should restore class
81850	  field of a buffer.  [ruby-dev:24562]
81851
81852Fri Oct 22 00:20:33 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81853
81854	* string.c (rb_str_include): should not treat char as negative value.
81855	  [ruby-dev:24558]
81856
81857Thu Oct 21 21:32:30 2004  IWATSUKI Hiroyuki  <don@na.rim.or.jp>
81858
81859	* lib/pstore.rb (PStore#transaction): Use the empty content when a
81860	  file is not found.  [ruby-dev:24561]
81861
81862Thu Oct 21 19:06:15 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
81863
81864	* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):
81865	  ensure to close @body. (http://bugs.debian.org/277520)
81866
81867Thu Oct 21 13:11:31 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
81868
81869	* io.c (pipe_open): variable name "fpw" is conflicted.
81870
81871Thu Oct 21 00:36:41 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81872
81873	* eval.c (rb_alias): should warn on method discarding.
81874	  [ruby-dev:24546]
81875
81876	* ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal
81877	  string buffer by clearing klass.  [ruby-dev:24548]
81878
81879	* parse.y (lex_getline): should not touch ruby_debug_lines if
81880	  RIPPER is defined.  [ruby-dev:24547]
81881
81882Wed Oct 20 19:45:13 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81883
81884	* string.c (str_gsub): 	reentrant check.  [ruby-dev:24432]
81885
81886Wed Oct 20 12:42:53 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81887
81888	* io.c (rb_io_getline): rs modification check should not interfere
81889	  in the loop.
81890
81891Wed Oct 20 10:31:33 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81892
81893	* parse.y (lex_getline): should update ruby_debug_lines.
81894
81895Wed Oct 20 04:17:55 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81896
81897	* ext/dbm/dbm.c (fdbm_delete_if): should check if deleting element
81898	  is a string.  [ruby-dev:24490]
81899
81900	* ext/sdbm/init.c (fsdbm_delete_if): ditto.
81901
81902Wed Oct 20 01:37:18 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81903
81904	* array.c (rb_ary_times): Array#* should return an instance of
81905	  the class of right operand.  [ruby-dev:24526]
81906
81907	* ext/zlib/zlib.c (zstream_detach_buffer): should not expose
81908	  class-less object to Ruby world. [ruby-dev:24530]
81909
81910	* eval.c (proc_dup): provide Proc#dup as well.  [ruby-talk:116915]
81911
81912	* eval.c (ruby_exec): stack marking position may be higher than
81913	  expected.  thanks to Guy Decoux.  [ruby-core:03527]
81914
81915Wed Oct 20 00:25:41 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81916
81917	* eval.c (search_required): required name must not be changed before
81918	  loading.  [ruby-dev:24492]
81919
81920Tue Oct 19 23:59:46 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81921
81922	* eval.c (rb_require_safe): provide the feature after loaded.
81923	  [ruby-list:40085]
81924
81925Tue Oct 19 22:43:12 2004  Dave Thomas  <dave@pragprog.com>
81926
81927	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_attr): If
81928	  we come across 'attr' in a context where it isn't
81929	  followed by a symbol, just issue a warning.
81930
81931Tue Oct 19 20:32:50 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
81932
81933	* ext/win32ole.c(ole_invoke): retrieve the result value when
81934	  retrying the IDispatch::invoke.
81935
81936Tue Oct 19 17:24:11 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81937
81938	* io.c (read_all): block string buffer modification during
81939	  rb_io_fread() by freezing it temporarily. [ruby-dev:24479]
81940
81941	* dir.c (rb_push_glob): block call at once the end of method.
81942	  [ruby-dev:24487]
81943
81944	* ext/enumerator/enumerator.c (enum_each_slice): remove
81945	  rb_gc_force_recycle() to prevent potential SEGV.
81946	  [ruby-dev:24499]
81947
81948	* ext/zlib/zlib.c (zstream_expand_buffer): hide internal string
81949	  buffer by clearing klass.  [ruby-dev:24510]
81950
81951Tue Oct 19 08:47:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81952
81953	* string.c (rb_str_upto): method result must be checked.  [ruby-dev:24504]
81954
81955	* eval.c (error_print): ditto.  [ruby-dev:24519]
81956
81957Mon Oct 18 23:37:05 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81958
81959	* marshal.c (r_object0): check inheritance by the internal function.
81960	  [ruby-dev:24515]
81961
81962Mon Oct 18 11:29:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81963
81964	* io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether file
81965	  not existing is created.  [ruby-dev:24505]
81966
81967Mon Oct 18 07:26:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
81968
81969	* file.c (rb_file_truncate): discard read buffer before truncation.
81970	  [ruby-dev:24197]
81971
81972Mon Oct 18 01:56:03 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
81973
81974	* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):
81975	  initial value of accpet-* should be array.
81976
81977Mon Oct 18 00:42:45 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
81978
81979	* ext/socket/socket.c (sock_s_getservbyaname): protocol string
81980	  might be altered.  [ruby-dev:24503]
81981
81982	* string.c (rb_str_upto): check if return value from succ is a
81983	  string.  [ruby-dev:24504]
81984
81985Sun Oct 17 23:03:48 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
81986
81987	* ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a block
81988
81989Sun Oct 17 12:53:46 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
81990
81991	* ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.
81992	* ext/win32ole/win32ole.c (fole_get_methods): ditto.
81993	* ext/win32ole/win32ole.c (fole_put_methods): ditto.
81994	* ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods
81995	  WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods
81996
81997Sat Oct 16 14:45:28 2004  Kouhei Sutou  <kou@cozmixng.org>
81998
81999	* lib/rss/0.9.rb (RSS::Rss#to_s): removed garbage.
82000
82001Sat Oct 16 13:42:49 2004  Kouhei Sutou  <kou@cozmixng.org>
82002
82003	* lib/rss/: untabified.
82004	* test/rss/: untabified.
82005	* lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent.
82006
82007Sat Oct 16 13:34:56 2004  Kouhei Sutou  <kou@cozmixng.org>
82008
82009	* lib/rss: supported prety print.
82010	* test/rss/test_1.0.rb: added test for calculating default indent size.
82011
82012Sat Oct 16 10:56:36 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82013
82014	* lib/mkmf.rb (create_makefile): install-rb is needed for statically
82015	  linked extensions.  [ruby-dev:24491]
82016
82017Fri Oct 15 18:07:08 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
82018
82019	* ext/openssl/ossl_x509store.c
82020	  (ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with
82021	  ossl_x509stctx_* functions instead of X509_STORE_CTX_*.
82022	  (ossl_x509store_set_time): add OpenSSL::X509::Store#time=.
82023	  (ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=.
82024
82025	* test/openssl/ossl_x509store.rb: test certificate validity times.
82026
82027Fri Oct 15 18:04:35 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82028
82029	* ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is
82030	  acceptable. Add TkTimer.start ( == new + start ).
82031
82032Fri Oct 15 12:43:09 2004  Tanaka Akira  <akr@m17n.org>
82033
82034	* eval.c (Init_stack): make prototype declaration consistent with
82035	  the definition in gc.c.
82036
82037Thu Oct 14 13:33:59 2004  Kouhei Sutou  <kou@cozmixng.org>
82038
82039	* lib/rss/rss.rb: added link to Tutorial.
82040
82041Tue Oct 12 21:22:50 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
82042
82043	* lib/webrick/config.rb:
82044	  add WEBrick::Config::FileHandler[:AcceptableLanguages].
82045
82046	* lib/webrick/httpservlet/filehandler.rb
82047	  (WEBrick::HTTPServlet::FileHandler#set_filename): search files
82048	  having suffix of language-name which Accept-Language header field
82049	  includes if :AcceptableLanguages options is present.
82050
82051	* lib/webrick/httpservlet/filehandler.rb
82052	  (WEBrick::HTTPServlet::FileHandler#get_servlet): new method to
82053	  search servlet correspond to the suffix of filename.
82054
82055	* lib/webrick/httprequest.rb: add attributes access methods: accept,
82056	  accept_charset, accept_encoding, accept_language, content_length
82057	  and content_type.
82058
82059	* lib/webrick/httpresponse.rb: add attribute access methods:
82060	  content_length, content_length=, content_type and content_type=.
82061
82062	* lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types):
82063	  use the second suffix to detect media type. (the first suffix
82064	  may be a language name.)
82065
82066	* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues):
82067	  add method to parse Accept header field. it returns an Array of
82068	  values sorted by the qvalues.
82069
82070Tue Oct 12 15:05:32 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
82071
82072	* io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.
82073
82074Mon Oct 11 17:51:34 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82075
82076	* io.c (rb_io_popen): get mode string via rb_io_flags_mode() to
82077	  avoid mode string modification.  [ruby-dev:24454]
82078
82079	* io.c (rb_io_getline_fast): should take delim as unsigned char to
82080	  distinguish EOF and '\377'.  [ruby-dev:24460]
82081
82082	* io.c (rb_io_getline): add check for RS modification.
82083	  [ruby-dev:24461]
82084
82085	* enum.c (enum_sort_by): use qsort() directly instead using
82086	  rb_iterate().  [ruby-dev:24462]
82087
82088	* enum.c (enum_each_with_index): remove rb_gc_force_recycle() to
82089	  prevent access to recycled object (via continuation for
82090	  example).  [ruby-dev:24463]
82091
82092Mon Oct 11 13:48:20 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82093
82094	* ext/tk/lib/tk/*: untabify
82095
82096Sun Oct 10 12:32:08 2004  Dave Thomas  <dave@pragprog.com>
82097
82098	* lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Allow 'require'
82099	  to be used as a variable name
82100
82101Sun Oct 10 02:49:14 2004  Minero Aoki  <aamine@loveruby.net>
82102
82103	* ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.
82104
82105	* ext/ripper/lib/ripper/filter.rb (parse): argument is optional.
82106
82107Sun Oct 10 02:43:13 2004  Minero Aoki  <aamine@loveruby.net>
82108
82109	* parse.y [ripper]: \n between two comments disappeared.
82110
82111Sat Oct  9 21:23:37 2004  Kouhei Sutou  <kou@cozmixng.org>
82112
82113	* lib/rss/converter.rb: changed to try to use Iconv for default
82114	  conversion.
82115
82116	* lib/rss/rss.rb: 0.0.9 -> 0.1.0.
82117
82118Sat Oct  9 19:50:36 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82119
82120	* io.c (rb_io_getline): should not treat char as negative value.
82121	  [ruby-dev:24460]
82122
82123Sat Oct  9 00:25:39 2004  Tanaka Akira  <akr@m17n.org>
82124
82125	* io.c (rb_io_fread): rb_thread_wait_fd() was lost.
82126	  [ruby-dev:24457]
82127
82128Fri Oct  8 21:36:56 2004  Minero Aoki  <aamine@loveruby.net>
82129
82130	* lib/fileutils.rb (fu_traverse): return value of Dir.entries is
82131	  reliable. (pass $SAFE=1)
82132
82133	* lib/fileutils.rb (remove_dir): return value of Dir.foreach is
82134	  reliable. (pass $SAFE=1)
82135
82136Fri Oct  8 09:49:32 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82137
82138	* pack.c (pack_pack): pointer modification check before each
82139	  iteration.  [ruby-dev:24445]
82140
82141Fri Oct  8 01:13:05 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82142
82143	* ext/tk/lib/tk/optiondb.rb: make it more secure
82144
82145Thu Oct  7 23:47:57 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82146
82147	* ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar
82148	  cannot propagate view port information from the source widget
82149	  (that calls 'set') to other assigned widgets.
82150
82151Thu Oct  7 17:36:25 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82152
82153	* ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returns
82154	  a Fixnum for 2nd element (it's pid) of the return value.
82155
82156Thu Oct  7 12:55:04 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82157
82158	* io.c (io_read): should freeze buffer before thread context
82159	  switch. [ruby-dev:24442]
82160
82161	* pack.c (pack_unpack): string conversion should at the top of the
82162	  method.  [ruby-dev:24439]
82163
82164	* io.c (io_read): buffer should be frozen only after the length
82165	  check.  [ruby-dev:24440]
82166
82167Thu Oct  7 02:56:43 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82168
82169	* ext/stringio/stringio.c: use FMODE_APPEND.
82170
82171Thu Oct  7 01:05:33 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82172
82173	* ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCode
82174
82175Thu Oct  7 00:08:37 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82176
82177	* io.c (rb_io_s_sysopen): preserve path in the buffer allocated by
82178	  ALLOCA_N() to prevent modification.  [ruby-dev:24438]
82179
82180Wed Oct  6 09:21:00 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82181
82182	* io.c (rb_io_mode_flags): preserve append mode flag.
82183	  [ruby-dev:24436]
82184
82185	* io.c (rb_io_modenum_mode): do not use external output buffer.
82186
82187	* string.c (rb_str_justify): differ pointer retrieval to prevent
82188	  padding string modification.  [ruby-dev:24434]
82189
82190	* range.c (range_each_func): allow func to terminate loop by
82191	  returning RANGE_EACH_BREAK.
82192
82193	* range.c (member_i): use RANGE_EACH_BREAK. [ruby-talk:114959]
82194
82195Tue Oct  5 09:53:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82196
82197	* io.c (rb_fopen): mode string copy at the lowest level.
82198
82199	* io.c (rb_io_flags_mode): requires output buffer no more.  no
82200	  allocation needed.
82201
82202	* array.c (rb_ary_index): takes a block to compare items in an
82203	  array.  [ruby-talk:113069] [Ruby2]
82204
82205	* array.c (rb_ary_rindex): ditto.
82206
82207Mon Oct  4 14:03:40 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82208
82209	* io.c (rb_file_open_internal, rb_io_reopen): fname might be altered
82210	  while GC.  [ruby-dev:24408]
82211
82212Mon Oct  4 12:53:45 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82213
82214	* ext/tk/lib/tk/optiondb.rb: support definition of command
82215	  resources on widgets
82216
82217	* ext/tk/lib/tk/image.rb: bug fix
82218
82219Sun Oct  3 21:16:05 2004  Shugo Maeda  <shugo@ruby-lang.org>
82220
82221	* lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german
82222	  version of Microsoft Exchange Server.
82223
82224	* lib/net/imap.rb (RTEXT_REGEXP): ditto.
82225
82226	* lib/net/imap.rb (CTEXT_REGEXP): ditto.
82227
82228Sat Oct  2 20:34:05 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82229
82230	* parse.y (local_vars): moved to struct parser_params.
82231	  [ruby-dev:24391]
82232
82233	* parser.y (stmts): remove suspicious NODE_BEGIN.  [ruby-dev:24390]
82234
82235	* node.h (NEW_DVAR): extra semicolon.
82236
82237Sat Oct  2 00:42:20 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82238
82239	* marshal.c (r_byte): retrieve pointer from string value for each
82240	  time.  [ruby-dev:24404]
82241
82242	* marshal.c (r_bytes0): ditto.
82243
82244	* enum.c (sort_by_i): re-entrance check added.  [ruby-dev:24399]
82245
82246	* io.c (io_read): should freeze all reading buffer.
82247	  [ruby-dev:24400]
82248
82249	* string.c (rb_str_sum): should use bignums when bits is greater
82250	  than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395]
82251
82252	* eval.c (specific_eval): defer pointer retrieval to prevent
82253	  unsafe sourcefile string modification.  [ruby-dev:24382]
82254
82255	* string.c (rb_str_sum): wrong cast caused wrong result.
82256	  [ruby-dev:24385]
82257
82258	* enum.c (enum_sort_by): hide temporary array from
82259	  ObjectSpace.each_object.  [ruby-dev:24386]
82260
82261	* string.c (rb_str_sum): check was done with false pointer.
82262	  [ruby-dev:24383]
82263
82264	* string.c (rb_str_sum): string may be altered.  [ruby-dev:24381]
82265
82266Fri Oct  1 11:40:14 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82267
82268	* eval.c (rb_f_eval): defer pointer retrieval to prevent unsafe
82269	  sourcefile string modification.  [ruby-dev:24373]
82270
82271	* io.c (io_read): block string buffer modification during
82272	  rb_io_fread() by freezing it temporarily. [ruby-dev:24366]
82273
82274	* io.c (rb_io_s_popen): mode argument may be altered.
82275	  [ruby-dev:24375]
82276
82277	* file.c (rb_file_s_basename): ext argument may be altered.
82278	  [ruby-dev:24377]
82279
82280	* enum.c (enum_sort_by): use NODE instead of 2 element arrays.
82281	  [ruby-dev:24378]
82282
82283	* string.c (rb_str_chomp_bang): StringValue() may change the
82284	  receiver.  [ruby-dev:24371]
82285
82286Fri Oct  1 11:25:20 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82287
82288	* ext/tk/lib/tk/grid.rb: revive TkGrid.grid
82289
82290	* ext/tk/lib/tk/pack.rb: revive TkPack.pack
82291
82292	* ext/tk/lib/tk/place.rb: revive TkPlace.place
82293
82294Thu Sep 30 00:50:44 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82295
82296	* ext/tcltklib/tcltklib.c (ip_init): bug fix
82297
82298	* ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object
82299
82300	* ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation
82301
82302	* ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a
82303	  matting pattern argument
82304
82305Wed Sep 29 10:58:07 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82306
82307	* enum.c (sort_by_i): internally used object must not be changed
82308	  outside.  [ruby-dev:24368]
82309
82310Mon Sep 27 21:25:12 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82311
82312	* eval.c (rb_call0): invoke finalizers periodically.
82313
82314	* gc.c (gc_sweep): defer running finalizers.  [ruby-dev:24354]
82315
82316	* gc.c (rb_gc_finalize_deferred): run deferred finalizers.
82317
82318Mon Sep 27 15:01:59 2004  Minero Aoki  <aamine@loveruby.net>
82319
82320	* parse.y [ripper]: missing ';'.
82321
82322Mon Sep 27 13:46:45 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82323
82324	* intern.h, struct.c (rb_struct_s_members, rb_struct_members): public
82325	  accessors.  [ruby-dev:24342]
82326
82327	* marshal.c (w_object, r_object0): use accessors.
82328
82329Mon Sep 27 09:14:03 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82330
82331	* array.c (rb_ary_delete): comparison may change the capacity.
82332	  [ruby-dev:24348]
82333
82334	* array.c (rb_ary_fill): fill should honor length argument.
82335	  [ruby-dev:24346]
82336
82337	* array.c (rb_ary_replace): should not use ptr from shared array.
82338	  [ruby-dev:24345]
82339
82340	* ext/socket/socket.c (s_accept): don't retry for EWOULDBLOCK.
82341	  [ruby-talk:113807]
82342
82343Sun Sep 26 08:05:10 2004  Tadayoshi Funaba  <tadf@dotrb.org>
82344
82345	* lib/date.rb: provides {Time,Date,DateTime}#to_{time,date,datetime}.
82346
82347	* sample/cal.rb: uses getoptlong instead of getopts.
82348
82349Sat Sep 25 18:39:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82350
82351	* array.c (flatten): element size might change during comparison.
82352	  [ruby-dev:24343]
82353
82354Sat Sep 25 01:52:49 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82355
82356	* struct.c (rb_struct_s_members): wrong call of struct_members.
82357	  [ruby-dev:24333]
82358
82359Fri Sep 24 16:09:42 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82360
82361	* eval.c (proc_invoke): propagate DVAR_DONT_RECYCLE on termination
82362	  to avoid double call to rb_gc_force_recycle(). [ruby-dev:24311]
82363
82364Fri Sep 24 08:29:45 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82365
82366	* parse.y (rb_parser_append_print): should handle prelude.
82367	  [llama@u01.gate0]
82368
82369	* parse.y (rb_parser_while_loop): ditto.
82370
82371	* array.c (rb_ary_subseq): original object might be modified after
82372	  sharing data creation.  [ruby-dev:24327]
82373
82374	* array.c (rb_ary_replace): ditto.
82375
82376	* array.c (ary_make_shared): freeze shared array. [ruby-dev:24325]
82377
82378	* struct.c (struct_members): always check struct size and size of
82379	  members list in the class.  [ruby-dev:24320]
82380
82381Thu Sep 23 19:48:14 2004  Minero Aoki  <aamine@loveruby.net>
82382
82383	* ext/ripper/Makefile.dev: removed.
82384
82385	* ext/ripper/ripper.rb.in: moved to lib/ripper/core.rb.in.
82386
82387	* ext/ripper/lib/ripper/core.rb: new file.
82388
82389	* ext/ripper/lib/ripper/core.rb.in: new file.
82390
82391	* ext/ripper/tools/generate-ripper_rb.rb: change comment.
82392
82393	* test/ripper/*.rb: on__scan event removed.
82394
82395	* test/ripper/*.rb: event name is changed: on__XXX -> on_XXX.
82396
82397Thu Sep 23 09:29:14 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82398
82399	* string.c (rb_str_sub_bang): check if string is not modified
82400	  during iteration.  [ruby-dev:24315]
82401
82402	* hash.c (rb_hash_rehash): replace st_foreach() by its deep
82403	  checking counterpart.  [ruby-dev:24310]
82404
82405Wed Sep 22 14:21:54 2004  Minero Aoki  <aamine@loveruby.net>
82406
82407	* parse.y [ripper]: on__scan event removed.
82408
82409	* parse.y [ripper]: event name is changed: on__XXX -> on_XXX.
82410
82411	* ext/ripper/eventids2.c: ditto.
82412
82413	* ext/ripper/ripper.rb.in: ditto.
82414
82415	* ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
82416
82417	* ext/ripper/lib/ripper/tokenizer: ditto.
82418
82419	* ext/ripper/lib/ripper/filter: new file.
82420
82421	* sample/ripper/colorize.rb: new file.
82422
82423	* sample/ripper/strip-comment.rb: new file.
82424
82425Wed Sep 22 13:50:49 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82426
82427	* hash.c (hash_alloc): was using tbl pointer without
82428	  initialization.
82429
82430Wed Sep 22 13:38:12 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82431
82432	* hash.c (rb_hash_rehash): add iteration check.  [ruby-dev:24301]
82433
82434	* st.c (st_foreach): add deep check.
82435
82436	* hash.c (rb_hash_fetch): returns KeyError instead of IndexError.
82437
82438	* hash.c (env_fetch): ditto.
82439
82440Wed Sep 22 13:02:02 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
82441
82442	* win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.
82443
82444Wed Sep 22 09:04:41 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82445
82446	* parse.y: remove global variables ruby_eval_tree and
82447	  ruby_eval_tree_begin.
82448
82449	* array.c (rb_ary_collect_bang): element size might change during
82450	  comparison.  [ruby-dev:24300]
82451
82452	* array.c (rb_ary_reject_bang): ditto. [ruby-dev:24300]
82453
82454	* array.c (rb_ary_eql): ditto. [ruby-dev:24300]
82455
82456Wed Sep 22 00:11:12 2004  Dave Thomas  <dave@pragprog.com>
82457
82458	* process.c: Add documentation for fork()
82459
82460Tue Sep 21 18:29:49 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82461
82462	* array.c (rb_ary_uniq_bang): element size might change during
82463	  comparison.  [ruby-dev:24298]
82464
82465Mon Sep 20 17:46:51 2004  Minero Aoki  <aamine@loveruby.net>
82466
82467	* ext/ripper/lib/ripper/tokenizer.rb: fix typo.
82468
82469Mon Sep 20 17:38:43 2004  Minero Aoki  <aamine@loveruby.net>
82470
82471	* test/ripper/test_scanner_events.rb: tokens must be reordered.
82472
82473	* ext/ripper/lib/ripper/tokenizer.rb: ditto.
82474
82475Mon Sep 20 16:58:16 2004  Minero Aoki  <aamine@loveruby.net>
82476
82477	* parse.y [ripper]: do not delay dispatching.
82478
82479	* ext/ripper/lib/ripper/tokenizer.rb: sort tokens by right order.
82480
82481Mon Sep 20 15:17:47 2004  Minero Aoki  <aamine@loveruby.net>
82482
82483	* ext/ripper/lib/ripper/tokenizer.rb: new file.
82484
82485Mon Sep 20 15:13:52 2004  Minero Aoki  <aamine@loveruby.net>
82486
82487	* test/ripper/test_scanner_events.rb: test #lineno and #column.
82488
82489Mon Sep 20 14:50:17 2004  Minero Aoki  <aamine@loveruby.net>
82490
82491	* parse.y [ripper]: delayed heredocument events should be
82492	  dispatched after EOF.
82493
82494Mon Sep 20 14:39:42 2004  Minero Aoki  <aamine@loveruby.net>
82495
82496	* parse.y [ripper]: adjust lineno and columns for multi-line
82497	  strings.
82498
82499	* parse.y [ripper]: delay heredocument events until seeing
82500	  end-of-line.
82501
82502	* parse.y [ripper]: event on__heredoc_contentn ->
82503	  on__tstring_content.
82504
82505	* ext/ripper/eventids2.c: ditto.
82506
82507	* ext/ripper/lib/ripper.rb: sync with eventids2.c.
82508
82509	* test/ripper/test_scanner_events.rb: test it.
82510
82511	* ext/ripper/tools/generate-ripper_rb.rb: show basename of input.
82512
82513	* ext/ripper/Makefile.dev: support objdir build.
82514
82515Mon Sep 20 13:22:55 2004  Minero Aoki  <aamine@loveruby.net>
82516
82517	* parse.y [ripper]: remove Ripper#pos.
82518
82519	* parse.y [ripper]: Ripper#column should return the column of the
82520	  current token.
82521
82522Mon Sep 20 12:02:41 2004  Minero Aoki  <aamine@loveruby.net>
82523
82524	* parse.y [ripper]: unify old_lex_p and token_head.
82525
82526	* test/ripper/test_scanner_events.rb: now \r\n is saved correctly.
82527
82528	* parse.y: new macro lex_goto_eol() for next change.
82529
82530Mon Sep 20 11:01:55 2004  Minero Aoki  <aamine@loveruby.net>
82531
82532	* parse.y [ripper]: adjust line number for heredoc.  [ruby-dev:24272]
82533
82534Mon Sep 20 04:49:22 2004  Minero Aoki  <aamine@loveruby.net>
82535
82536	* ext/ripper/ripper.rb.in: new const Ripper::PARSER_EVENT_TABLE.
82537
82538	* ext/ripper/ripper.rb.in: new const Ripper::SCANNER_EVENT_TABLE.
82539
82540	* ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
82541
82542Mon Sep 20 04:13:00 2004  Minero Aoki  <aamine@loveruby.net>
82543
82544	* test/ripper/test_scanner_events.rb: test spaces before heredoc
82545	  mark.
82546
82547Mon Sep 20 03:46:54 2004  Minero Aoki  <aamine@loveruby.net>
82548
82549	* parse.y [ripper]: spaces before heredoc marker was lost.
82550	  [ruby-dev:24272]
82551
82552	* keywords: rb_reserved_word() should be defined only in ruby
82553	  core.  [ruby-dev:24272]
82554
82555	* lex.c: sync with keywords.
82556
82557	* ext/ripper/ripper.rb.in (parse): fix typo.
82558
82559	* ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
82560
82561Mon Sep 20 03:37:59 2004  Tanaka Akira  <akr@m17n.org>
82562
82563	* ext/zlib/zlib.c (gzfile_read_raw): call readpartial at first.
82564	  (Zlib::GzipReader#readpartial): new method.
82565
82566Mon Sep 20 00:24:19 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82567
82568	* enum.c (enum_sort_by): do not use qsort directly.  use
82569	  rb_ary_sort_bang() instead.  [ruby-dev:24291]
82570
82571	* enum.c (enum_sort_by): pedantic type check added.
82572	  [ruby-dev:24291]
82573
82574	* hash.c (rb_hash_foreach_iter): check iter_lev after each
82575	  iteration.  [ruby-dev:24289]
82576
82577	* array.c (rb_ary_and): element size might change during
82578	  comparison.  [ruby-dev:24290]
82579
82580	* array.c (rb_ary_or): ditto. [ruby-dev:24292]
82581
82582	* array.c (rb_ary_equal): wrong fix. [ruby-dev:24286]
82583
82584Sat Sep 18 15:02:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82585
82586	* array.c (rb_ary_equal): element size might change during
82587	  comparison.  [ruby-dev:24254]
82588
82589	* array.c (rb_ary_diff): ditto. [ruby-dev:24274]
82590
82591	* array.c (rb_ary_select): ditto. [ruby-dev:24278]
82592
82593	* array.c (rb_ary_delete): ditto. [ruby-dev:24283]
82594
82595	* array.c (rb_ary_rindex): ditto. [ruby-dev:24275]
82596
82597	* array.c (rb_ary_initialize): element size might change during
82598	  initializing block.  [ruby-dev:24284]
82599
82600Sat Sep 18 14:10:23 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82601
82602	* dir.c (dir_s_chdir): avoid memory leak and unnecessary chdir to
82603	  the original directory when exception has caused in changing
82604	  direcotry or within block.  thanks to Johan Holmberg
82605	  <holmberg@iar.se> [ruby-core:03446]
82606
82607Fri Sep 17 20:29:33 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
82608
82609	* parse.y: add prototypes for Microsoft compiler.
82610
82611	* ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
82612
82613	* {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
82614	  use bison.
82615
82616Fri Sep 17 17:11:08 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82617
82618	* array.c (rb_ary_delete): element comparison might change array
82619	  size. [ruby-dev:24273]
82620
82621	* parse.y: make ruby parser reentrant. merge ripper parser to the
82622	  real one.  this change makes ruby require bison.
82623
82624	* file.c (rb_file_truncate): clear stdio buffer before truncating
82625	  the file.  [ruby-dev:24191]
82626
82627	* ext/digest/digest.c: use rb_obj_class() instead of CLASS_OF
82628	  which might return singleton class.  [ruby-dev:24202]
82629
82630Fri Sep 17 16:07:09 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82631
82632	* ext/tk/lib/multi-tk.rb: improve exit operation
82633
82634Fri Sep 17 15:01:57 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82635
82636	* ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or
82637	  (thread_)tkwait
82638
82639	* ext/tk/lib/tk.rb: add alias wait_window to wait_destroy
82640
82641	* ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave
82642	  interpreters (however, the 'real' eventloop must be run on the
82643	  Default Master IP)
82644
82645	* ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb
82646
82647	* ext/tk/sample/remote-ip_sample2.rb: ditto
82648
82649	* ext/tk/sample/tkoptdb-safeTk.rb: ditto
82650
82651Thu Sep 16 18:12:13 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
82652
82653	* lib/webrick/cgi.rb (WEBrick::CGI#start): should set REMOTE_USER
82654	  to request.user attribute.
82655
82656	* lib/webrick/httpservlet/filehandler.rb
82657	  (WEBrick::HTTPServlet::FileHandler#initialize): should expand
82658	  the pathname of document root directory.
82659
82660Thu Sep 16 15:49:28 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82661
82662	* string.c (rb_str_intern): protect string argument from GC.
82663	  [ruby-core:03411]
82664
82665Wed Sep 15 20:22:23 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82666
82667	* ext/tk/sample/tkoptdb-safeTk.rb: fix a bug depend on the changes
82668	  of MultiTkIp
82669
82670Tue Sep 14 23:54:11 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82671
82672	* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by
82673	  the previous changes.
82674
82675Tue Sep 14 23:45:44 2004  Dave Thomas  <dave@pragprog.com>
82676
82677	* lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::TextFormatter.for):
82678	  Add Eric Hodel's simpleformatter.
82679
82680Tue Sep 14 22:11:08 2004  Minero Aoki  <aamine@loveruby.net>
82681
82682	* parse.y [ripper]: Add rdoc.
82683
82684Tue Sep 14 20:24:49 2004  Minero Aoki  <aamine@loveruby.net>
82685
82686	* parse.y [ripper]: space event is on__sp, not on__lwsp.
82687	  [ruby-dev:24257]
82688
82689	* ext/ripper/eventids2.c: ditto.
82690
82691	* ext/ripper/lib/ripper.rb: ditto.
82692
82693	* ext/ripper/depend (ripper.o): No action is needed.
82694	  [ruby-dev:24260]
82695
82696	* ext/ripper/depend: Borland make does not accept pipes in
82697	  Makefile rules. [ruby-dev:24589]
82698
82699	* ext/ripper/depend: separate rules for developpers.
82700
82701	* ext/ripper/Makefile.dev: new file.
82702
82703	* ext/ripper/MANIFEST: add Makefile.dev.
82704
82705	* ext/ripper/tools/generate-eventids1.rb: read from file, not
82706	  stdin.
82707
82708	* ext/ripper/extconf.rb: clean ripper.E.
82709
82710	* ext/ripper/tools/generate-ripper_rb.rb: #include ids1/ids2
82711	  function was lost.
82712
82713	* ext/ripper/tools/generate-ripper_rb.rb: SCANNER_EVENTS wrongly
82714	  contained parser events.
82715
82716	* ext/ripper/lib/ripper.rb: ditto.
82717
82718Tue Sep 14 16:59:37 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82719
82720	* ext/tcltklib/tcltklib.c: fix SEGV
82721
82722	* ext/tk/lib/multi-tk.rb: improve safe-level handling of argument proc
82723
82724	* ext/tk/sample/multi-ip_sample.rb: rename of old 'safe-tk.rb'
82725
82726	* ext/tk/sample/safe-tk.rb: new sample script
82727
82728Mon Sep 13 21:33:40 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
82729
82730	* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): add optional
82731	  second argument to specify the output format (see also
82732	   X509_NAME_print_ex).
82733
82734	* ext/openssl/ossl_x509name.c (ossl_x509name_init): new constants:
82735	  OpenSSL::X509::Name::COMPAT, OpenSSL::X509::Name::RFC2253,
82736	  OpenSSL::X509::ONELINE, OpenSSL::X509::MULTILINE.
82737
82738	* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name::RFC2253DN):
82739	  new module to provide the parse for RFC2253 DN format.
82740
82741	* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name.parse_rfc2253):
82742	  new method to parse RFC2253 DN format.
82743
82744Mon Sep 13 19:16:33 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
82745
82746	* eval.c (blk_copy_prev): need frame_dup().  [ruby-dev:24103]
82747
82748Mon Sep 13 16:23:27 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82749
82750	* ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave accept
82751	  safe-level value argument
82752
82753Mon Sep 13 10:48:37 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
82754
82755	* win32/win32.c (rb_w32_getpid): don't need to use _getpid() on
82756	  mswin32 and mingw32.
82757
82758Mon Sep 13 10:22:05 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
82759
82760	* object.c (nil_inspect): fix typo.
82761
82762Mon Sep 13 09:29:58 2004  Minero Aoki  <aamine@loveruby.net>
82763
82764	* ext/ripper/depend: (nmake hack) prepend "./" to ripper.c to
82765	  avoid {$(srcdir)}.
82766
82767Mon Sep 13 06:43:42 2004  Minero Aoki  <aamine@loveruby.net>
82768
82769	* ext/ripper/tools/list-parse-event-ids.rb: does not use getopts.
82770
82771	* ext/ripper/tools/list-scan-event-ids.rb: ditto.
82772
82773Mon Sep 13 02:42:28 2004  Minero Aoki  <aamine@loveruby.net>
82774
82775	* ext/Setup: add ripper.
82776
82777	* ext/Setup.atheos: ditto.
82778
82779	* ext/Setup.dj: ditto.
82780
82781	* ext/Setup.emx: ditto.
82782
82783	* ext/Setup.nt: ditto.
82784
82785	* ext/Setup.x68: ditto.
82786
82787Mon Sep 13 02:26:31 2004  Minero Aoki  <aamine@loveruby.net>
82788
82789	* ext/ripper: ripper extension added.
82790
82791	* ext/ripper/MANIFEST: new file.
82792
82793	* ext/ripper/README: new file.
82794
82795	* ext/ripper/depend: new file.
82796
82797	* ext/ripper/extconf.rb: new file.
82798
82799	* ext/ripper/eventids2.c: new file.
82800
82801	* ext/ripper/ripper.rb.in: new file.
82802
82803	* ext/ripper/lib/ripper.rb: new file.
82804
82805	* ext/ripper/test/check-event-arity.rb: new file.
82806
82807	* ext/ripper/test/check-event-coverage.sh: new file.
82808
82809	* ext/ripper/test/check-scanner-event-coverage.rb: new file.
82810
82811	* ext/ripper/test/list-called-events.rb: new file.
82812
82813	* ext/ripper/test/src_rb: new file.
82814
82815	* ext/ripper/test/validate.rb: new file.
82816
82817	* ext/ripper/tools/generate-eventids1.rb: new file.
82818
82819	* ext/ripper/tools/generate-param-macros.rb: new file.
82820
82821	* ext/ripper/tools/generate-ripper_rb.rb: new file.
82822
82823	* ext/ripper/tools/list-parse-event-ids.rb: new file.
82824
82825	* ext/ripper/tools/list-scan-event-ids.rb: new file.
82826
82827	* ext/ripper/tools/preproc.rb: new file.
82828
82829	* ext/ripper/tools/strip.rb: new file.
82830
82831	* test/ripper: ripper tests added.
82832
82833	* test/ripper/dummyparser.rb: new file.
82834
82835	* test/ripper/test_parser_events.rb: new file.
82836
82837	* test/ripper/test_scanner_events.rb: new file.
82838
82839Mon Sep 13 01:03:02 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82840
82841	* ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkip
82842
82843	* ext/tcltklib/tcltklib.c: store original 'exit' command
82844
82845	* ext/tk/tkutil.c: fix(?) SEGV
82846
82847Mon Sep 13 00:22:53 2004  Minero Aoki  <aamine@loveruby.net>
82848
82849	* parse.y: fix file header.
82850
82851Mon Sep 13 00:20:39 2004  Minero Aoki  <aamine@loveruby.net>
82852
82853	* parse.y: ripper merged.
82854
82855	* lex.c: ditto.
82856
82857	* keywords: ditto.
82858
82859Sun Sep 12 23:53:17 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
82860
82861	* util.c (ruby_strdup): remove unnecessary code. (xmalloc never
82862	  returns NULL.)
82863
82864	* util.c (ruby_getcwd): fix memory leak on failure.
82865
82866Sun Sep 12 02:41:58 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82867
82868	* ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and
82869	  allow_ruby_exit=
82870
82871	* ext/tk/lib/multi-tk.rb: ditto.
82872
82873	* ext/tk/lib/remote-tk.rb: ditto.
82874
82875	* ext/tcltklib/MANUAL.euc: ditto.
82876
82877	* ext/tcltklib/MANUAL.eng: ditto.
82878
82879	* ext/tcltklib/tcltklib.c: fix some reasons of SEGV
82880
82881	* ext/tk/tkutil.c: ditto.
82882
82883	* ext/tk/lib/multi-tk.rb: ditto.
82884
82885	* ext/tk/lib/tk/timer.rb: ditto.
82886
82887Sat Sep 11 16:09:46 2004  Dave Thomas  <dave@pragprog.com>
82888
82889	* lib/rdoc/parsers/parse_rb.rb: Fix up cross-file class merging.
82890
82891Fri Sep 10 20:18:05 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
82892
82893	* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
82894	  pointer conversion.
82895
82896Fri Sep 10 19:16:24 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
82897
82898	* bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
82899	  (need to rebuild all) [ruby-dev:24138]
82900
82901	* win32/win32.{h,c}: ditto.
82902
82903Fri Sep 10 15:55:59 2004  Minero Aoki  <aamine@loveruby.net>
82904
82905	* lib/fileutils.rb (mkdir_p): should pass mode argument to
82906	  Dir.mkdir. [ruby-dev:24242]
82907
82908	* test/fileutils/test_fileutils.rb: test it.
82909
82910Fri Sep 10 02:43:54 2004  Dave Thomas  <dave@pragprog.com>
82911
82912	* lib/rdoc/generators/template/kilmer.rb: James Buck's
82913	  patch for call-seq.
82914
82915Thu Sep  9 13:58:56 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82916
82917	* ext/tcltklib/tcltklib.c (ip_init): change flag value for setting
82918	  'argv' and 'argv0' variable
82919
82920	* ext/tk/lib/remote-tk.rb: follow changes of multi-tk.rb
82921
82922Thu Sep  9 11:46:18 2004  Dave Thomas  <dave@pragprog.com>
82923
82924	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_classes): Allow
82925	  spaces aroun parameter to define_method_under (James Buck)
82926
82927Wed Sep  8 18:44:03 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82928
82929	* ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.
82930	  [ruby-dev:24190]
82931
82932Wed Sep  8 15:19:49 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82933
82934	* ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4
82935
82936	* ext/tk/lib/multi-tk.rb: improve 'exit' operation, security check,
82937	  and error treatment
82938
82939	* ext/tk/lib/multi-tk.rb: allow a trusted slave IP to create slave IPs
82940
82941	* ext/tk/lib/tk/listbox.rb: add TkListbox#value, value=, clear,	and
82942	  erase
82943
82944	* ext/tk/lib/tk/text.rb: add TkText#clear and erase
82945
82946Tue Sep  7 15:17:49 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
82947
82948	* ext/socket/socket.c (ruby_connect): break immediately if a
82949	  socket is non-blocking.  [ruby-talk:111654]
82950
82951Tue Sep  7 12:48:22 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
82952
82953	* {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
82954
82955	* win32/win32.[ch] (fcntl): ditto.
82956
82957	* win32/win32.c (rb_w32_connect): support nonblocking mode.
82958
82959	* ext/socket/socket.c (wait_connectable, ruby_connect): support
82960	  nonblocking connect on various platforms.
82961
82962Mon Sep  6 11:00:47 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82963
82964	* dir.c (dir_s_chdir): the patch to shut up false warning when
82965	  exception occurred within a block.  a patch was given from Johan
82966	  Holmberg <holmberg at iar.se>.  [ruby-core:03292]
82967
82968Mon Sep  6 10:57:40 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
82969
82970	* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
82971
82972Mon Sep  6 07:51:42 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82973
82974	* eval.c (cvar_cbase): singletons should refer to outer cvar scope.
82975	  [ruby-dev:24223]
82976
82977	* eval.c (rb_load): should preserve previous ruby_wrapper value.
82978	  [ruby-dev:24226]
82979
82980Sat Sep  4 01:14:57 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82981
82982	* eval.c (cvar_cbase): class variables cause SEGV in
82983	  instance_eval() for fixnums and symbols. [ruby-dev:24213]
82984
82985Fri Sep  3 17:47:58 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
82986
82987	* struct.c (make_struct): remove redefining constant when
82988	  conflict.  [ruby-dev:24210]
82989
82990Fri Sep  3 11:31:44 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82991
82992	* ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow
82993	  [ruby-dev:24207]
82994
82995Fri Sep  3 02:12:48 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
82996
82997	* ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]
82998
82999	* ext/tk/lib/tk/text.rb: fix typo
83000
83001	* ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs
83002
83003Fri Sep  3 01:54:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83004
83005	* ext/extmk.rb (extmake): extact target prefix from Makefiles.
83006
83007	* ext/extmk.rb: already built-in libraries satisfy dependencies.
83008	  [ruby-dev:24028]
83009
83010Wed Sep  1 21:16:50 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83011
83012	* ext/tk/lib/tk/spinbox.rb: fix typo
83013
83014Wed Sep  1 19:28:37 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83015
83016	* process.c (rb_proc_exec): label cannot precede variable declarations.
83017
83018Tue Aug 31 18:20:49 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83019
83020	* ext/tk/tkutil.c (cbsubst_init): fix memory leak
83021
83022	* ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV
83023
83024Tue Aug 31 16:04:22 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83025
83026	* ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted,
83027	  destroy its root widget
83028
83029Tue Aug 31 12:30:36 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83030
83031	* ext/tcltklib/tcltklib.c (del_root): fix SEGV
83032
83033Mon Aug 30 21:50:14 2004  Dave Thomas  <dave@pragprog.com>
83034
83035	* object.c: Add RDoc for Module.included.
83036
83037Mon Aug 30 23:11:06 2004  Dave Thomas  <dave@pragprog.com>
83038
83039	* lib/rdoc/ri/ri_driver.rb (and others): ri now merges documentation
83040	  if it finds the same class in multiple places.
83041
83042Mon Aug 30 22:40:30 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83043
83044	* ext/tk/lib/multi-tk.rb: 'restart' method accepts arguments
83045
83046Mon Aug 30 15:10:46 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
83047
83048	* configure.in (GNU/k*BSD): fixed FTBFS on GNU/k*BSD. [ruby-dev:24051]
83049
83050Sun Aug 29 14:08:56 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83051
83052	* ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]
83053
83054	* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string does not work
83055
83056Sat Aug 28 23:04:41 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83057
83058	* bignum.c (rb_big_and): protect parameters from GC.
83059	  [ruby-talk:110664]
83060
83061Fri Aug 27 12:13:50 2004  Tanaka Akira  <akr@m17n.org>
83062
83063	* ext/stringio/stringio.c (Init_stringio): add StringIO#readpartial as
83064	  an alias for StringIO#sysread.
83065
83066Fri Aug 27 10:14:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83067
83068	* process.c (rb_proc_exec): strip trailing spaces.  [ruby-dev:24143]
83069
83070	* win32/win32.c (CreateChild): ditto.
83071
83072Thu Aug 26 04:38:29 2004  Dave Thomas  <dave@pragprog.com>
83073
83074	* eval.c (return_jump): Minor typo in error message. Now reads
83075	  "return can't jump across threads".
83076
83077Wed Aug 25 15:18:52 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83078
83079	* eval.c (rb_longjmp): Exception#to_str is no longer defined.
83080
83081Wed Aug 25 11:39:10 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83082
83083	* error.c (exc_equal): exceptions are equal if they share same
83084	  class, message and backtrace. [ruby-talk:110354]
83085
83086	* error.c (name_err_mesg_equal): ditto.
83087
83088Tue Aug 24 16:41:48 2004  Shugo Maeda  <shugo@ruby-lang.org>
83089
83090	* lib/cgi/session.rb (CGI::Session::FileStore#initialize): do not
83091	  use a session id as a filename.
83092
83093	* lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): ditto.
83094
83095	* lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): use
83096	  Dir::tmpdir.
83097
83098Tue Aug 24 14:32:17 2004  Shugo Maeda  <shugo@ruby-lang.org>
83099
83100	* lib/cgi/session.rb (CGI::Session::FileStore#initialize): untaint
83101	  session id after check.
83102
83103Tue Aug 24 08:57:51 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83104
83105	* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): d2i
83106	  functions may replace the pointer indicated by the first argument.
83107
83108	* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
83109
83110	* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
83111
83112Mon Aug 23 12:43:32 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
83113
83114	* lib/resolv.rb (Config.default_config_hash): when multiple domains
83115	  are set, Win32::Resolv.get_resolv_info returns Array.
83116
83117Sun Aug 22 16:27:38 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83118
83119	* ext/openssl/ossl_ssl.c (ossl_ssl_read):
83120	  - should return an empty string if specified length to read is 0.
83121	  - should check for pending data and wait for fd before reading.
83122	  - call underlying IO's sysread if SSL session is not started.
83123	  [ruby-dev:24072], [ruby-dev:24075]
83124
83125	* ext/openssl/ossl_ssl.c (ossl_ssl_write):
83126	  - call underlying IO's syswrite if SSL session is not started.
83127
83128	* ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method
83129	  OpenSSL::SSL#pending.
83130
83131	* ext/openssl/lib/openssl/buffering.rb: should not use select.
83132
83133Sun Aug 22 01:10:36 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83134
83135	* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
83136	  should call :ProxyContentHandler before finishing CONNECT.
83137
83138Sat Aug 21 06:41:16 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83139
83140	* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
83141
83142	* lib/mkmf.rb (arg_config, with_config): deal with '-' and '_'
83143	  uniformly.  [ruby-dev:24118]
83144
83145Fri Aug 20 14:49:42 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
83146
83147	* io.c (rb_io_check_writable): no need to check read buffer if
83148	  already changed to write mode.
83149
83150Fri Aug 20 11:46:43 2004  UENO Katsuhiro  <katsu@blue.sky.or.jp>
83151
83152	* ext/zlib/zlib.c: GzipReader#ungetc caused crc error.
83153
83154Thu Aug 19 16:29:45 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83155
83156	* ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.
83157
83158	* ext/tk/lib/tk.rb: bindinfo cannot return '%' substiturion infomation.
83159
83160	* ext/tk/lib/menu.rb: typo bug.
83161
83162Thu Aug 19 15:15:24 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83163
83164	* dir.c (free_dir): fix memory leak.  reported by yamamoto
83165	  madoka.
83166
83167Thu Aug 19 09:19:27 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
83168
83169	* configure.in, win32/Makefile.sub (LIBS): need to link shell32
83170	  library for SH* functions on mswin32 and mingw32.
83171
83172	* wince/Makefile.sub (LIBS): need to link ceshell library for SH*
83173	  functions on mswince.
83174
83175Thu Aug 19 03:07:00 2004  why the lucky stiff  <why@ruby-lang.org>
83176
83177	* lib/yaml/baseemitter.rb: folding now handles double-quoted strings,
83178	  fixed problem with extra line feeds at end of folding, whitespace
83179	  opening scalar blocks.
83180
83181	* lib/yaml/rubytypes.rb: subtelties in handling strings with
83182	  non-printable characters and odd whitespace patterns.
83183
83184Wed Aug 18 23:44:20 2004  Minero Aoki  <aamine@loveruby.net>
83185
83186	* lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own
83187	  buffer, select(2) might not work. [ruby-dev:24072]
83188
83189Wed Aug 18 17:10:12 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
83190
83191	* ext/tcltklib/stubs.c (ruby_tcltk_stubs): need to call
83192	  Tcl_FindExecutable() for Tcl/Tk 8.4.
83193
83194Wed Aug 18 12:52:55 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83195
83196	* eval.c (rb_obj_instance_eval): evaluates under special singleton
83197	  classes as for special constants.
83198
83199Wed Aug 18 11:22:52 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83200
83201	* win32/win32.c (init_env): initialize HOME and USER environment
83202	  variables unless set.
83203
83204Wed Aug 18 10:17:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83205
83206	* eval.c (bind_eval): new method. [RCR 251]
83207
83208	* string.c (rb_str_clear): new method. [ruby-dev:24104]
83209
83210Tue Aug 17 17:20:59 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83211
83212	* io.c (rb_io_reopen): should clear allocated OpenFile.  pointed
83213	  out by Guy Decoux. [ruby-core:03288]
83214
83215Tue Aug 17 01:36:32 2004  Dave Thomas  <dave@pragprog.com>
83216
83217	* lib/rdoc/usage.rb: Remove extra indent. Tidy 'ri' option
83218	  parsing so RDoc::usage plays better with OptionParser.
83219
83220Sat Aug 14 02:48:16 2004  Dave Thomas  <dave@pragprog.com>
83221
83222	* lib/rdoc/usage.rb: Added. Allows command line programs
83223	  to report usage using their initial RDoc comment.
83224
83225Sat Aug 14 01:25:48 2004  why the lucky stiff  <why@ruby-lang.org>
83226
83227	* ext/syck/token.c: re2c no longer compiled with bit vectors.  caused
83228	  problems for non-ascii characters. [ruby-core:03280]
83229	* ext/syck/implicit.c: ditto.
83230	* ext/syck/bytecode.c: ditto.
83231
83232Fri Aug 13 12:55:20 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83233
83234	* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):
83235	  fix regex for range-spec.
83236
83237	* lib/webrick/httpservlet/filehandler.rb
83238	  (WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content):
83239	  multipart/byteranges response was broken.
83240
83241	* lib/xmlrpc/server.rb: refine example code.
83242
83243Thu Aug 12 10:54:17 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
83244
83245	* rubyio.h (rb_eof_error): should mark as NORETURN.
83246
83247	* win32/win32.c (make_cmdvector): adjust escaped successive
83248	  double-quote handling.
83249
83250Thu Aug 12 01:53:10 2004  Tanaka Akira  <akr@m17n.org>
83251
83252	* io.c (read_buffered_data): extracted from rb_io_fread.
83253	  (io_readpartial): new method IO#readpartial.
83254	  [ruby-dev:24055]
83255
83256Wed Aug 11 17:17:50 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
83257
83258	* configure.in (RPATHFLAG): stop setting RPATHFLAG on Interix.
83259
83260Mon Aug  9 15:03:20 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83261
83262	* lib/webrick/httpservlet/erbhandler.rb
83263	  (WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type
83264	  by suffix of script filename.
83265
83266Mon Aug  9 12:51:43 2004  Dave Thomas  <dave@pragprog.com>
83267
83268	* dir.c (dir_s_glob): Roll in Austin Ziegler's Dir.glob and
83269	  fnmatch updates.
83270
83271Mon Aug  9 06:33:06 2004  Minero Aoki  <aamine@loveruby.net>
83272
83273	* lib/fileutils.rb (cp_r): copies symlink to symlink, except
83274	  root entries of cp_r.
83275
83276	* lib/fileutils.rb: new method FileUtils.copy_entry.
83277
83278	* test/fileutils/test_fileutils.rb: more cp_r tests.
83279
83280Sun Aug  8 00:43:31 2004  why the lucky stiff  <why@ruby-lang.org>
83281
83282	* lib/implicit.c: added sexagecimal float#base60.
83283
83284	* ext/syck/rubyext.c (yaml_org_handler): ditto.
83285
83286	* lib/token.c: indentation absolutely ignored when processing flow
83287	  collections.  plain scalars are trimmed if indentation follows in
83288	  an ambiguous flow collection.
83289
83290Sat Aug  7 03:08:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83291
83292	* process.c (proc_daemon): new method.  should be modified for
83293	  platforms without /dev/null.
83294
83295Sat Aug  7 00:50:01 2004  Tanaka Akira  <akr@m17n.org>
83296
83297	* ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.
83298
83299Wed Aug  4 13:26:00 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83300
83301	* marshal.c (r_bytes0): optimize out read(0). [ruby-talk:108276]
83302
83303Tue Aug  3 13:49:12 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83304
83305	* ext/tk/lib/tk/namespace.rb: bug fix
83306
83307	* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe
83308
83309Mon Aug  2 23:33:48 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83310
83311	* test/ruby/test_file.rb (test_fnmatch): added more tests.
83312
83313Mon Aug  2 18:04:21 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83314
83315	* ext/tk/lib/tk/msgcat.rb (set_translation): bug fix (fail to set
83316	  trans_str to the same as src_str when trans_str is not given.)
83317
83318Mon Aug  2 17:40:44 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83319
83320	* eval.c (blk_free): fixed serious memory leak. [ruby-dev:24013]
83321
83322Mon Aug  2 11:53:06 2004  Dave Thomas  <dave@pragprog.com>
83323
83324	* lib/rdoc/code_objects.rb (RDoc::Context::find_symbol): Fix infinite recursion
83325	  looking up some top level symbols (batsman)
83326
83327Mon Aug  2 11:48:29 2004  Dave Thomas  <dave@pragprog.com>
83328
83329	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Allow '.'s in
83330	  variable names to support SWIG generated files (Hans Fugal)
83331
83332Sat Jul 31 23:08:00 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83333
83334	* eval.c (is_defined): stupid mistakes fixed. [ruby-dev:24006]
83335
83336Sat Jul 31 17:39:47 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83337
83338	* misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial,
83339	  ruby-calculate-indent, ruby-move-to-block, ruby-forward-sexp,
83340	  ruby-backward-sexp): keywords must match word-wise.
83341
83342Sat Jul 31 13:37:51 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83343
83344	* eval.c (is_defined): avoid unnecessary method invocations.
83345
83346Sat Jul 31 05:35:37 2004  why the lucky stiff  <why@ruby-lang.org>
83347
83348	* lib/yaml/rubytypes.rb: exceptions were using an older
83349	  YAML.object_maker. [ruby-core:03080]
83350
83351	* ext/syck/token.c (sycklex_yaml_utf8): using newline_len to
83352	  handline CR-LFs.  "\000" was showing up on folded blocks which
83353	  stopped at EOF.
83354
83355Sat Jul 31 01:25:11 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83356
83357	* eval.c (is_defined): call is_defined() before invoking
83358	  rb_eval().  [ruby-talk:107867]
83359
83360Fri Jul 30 16:10:54 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83361
83362	* ext/tcltklib/tcltklib.c (lib_fromUTF8_core): raise ArgumentError when
83363	  the unknown encoding name is given.
83364
83365	* ext/tcltklib/tcltklib.c (lib_toUTF8_core): ditto.
83366
83367	* ext/tk/lib/tk.rb (Tk::Encoding.encoding_convertfrom): bug fix.
83368
83369	* ext/tk/lib/tk.rb (Tk::Encoding.encoding_convertto): ditto.
83370
83371Wed Jul 28 18:59:17 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83372
83373	* lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMS
83374	  and CGI_COOKIES.  they will no longer be used.
83375
83376Wed Jul 28 15:44:08 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83377
83378	* eval.c (rb_call0): should call rb_call_super() directly for
83379	  visibility overriding.  [ruby-dev:23989]
83380
83381Wed Jul 28 01:04:44 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83382
83383	* env.h: remove argv from ruby_frame.
83384
83385	* eval.c (rb_eval): no more copy on write.
83386
83387	* eval.c (assign): ditto.
83388
83389	* eval.c (rb_call0): can receive *rest by specifying negative
83390	  argc.  (-1 means 0 arg and *rest, -2 means 1 arg and *rest...)
83391
83392	* eval.c (rb_call0): properly set frame's argc counter.
83393
83394	* gc.c (rb_gc_mark_frame): need not to mark frame's argv
83395
83396	* gc.c (run_final): wrong order of data. [ruby-dev:23984]
83397
83398Tue Jul 27 07:05:04 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83399
83400	* eval.c (rb_eval): copy on write for argument local variable
83401	  assignment.
83402
83403	* eval.c (assign): ditto.
83404
83405	* eval.c (rb_call0): update ruby_frame->argv with the default
83406	  value used for the optional arguments.
83407
83408	* object.c (Init_Object): "===" calls rb_obj_equal() directly.
83409	  [ruby-list:39937]
83410
83411Mon Jul 26 11:22:55 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83412
83413	* lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should
83414	  escape space.
83415
83416Sun Jul 25 10:56:28 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83417
83418	* win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32's
83419	  {f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963]
83420
83421	* test/drb/drbtest.rb: fix method duplication.
83422
83423Sat Jul 24 13:32:47 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83424
83425	* range.c (rb_range_beg_len): returns Qnil only when "beg" points
83426	  outside of a range.  No boundary check for "end".
83427
83428Fri Jul 23 16:40:25 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83429
83430	* gc.c (define_final): should not disclose NODE* to Ruby world.
83431	  [ruby-dev:23957]
83432
83433Fri Jul 23 08:52:22 2004  Shugo Maeda  <shugo@ruby-lang.org>
83434
83435	* lib/net/imap.rb (disconnected?): new method.
83436
83437Thu Jul 22 16:41:54 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83438
83439	* lib/cgi/session.rb (CGI::Session::FileStore#update): sets the
83440	  permission of the session data file to 0600.
83441
83442	* lib/cgi/session/pstore.rb (CGI::Session::Pstore#initialize):
83443	  ditto.
83444
83445Mon Jul 19 00:53:46 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83446
83447	* lib/webrick/httpservlet/cgihandler.rb
83448	  (WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment
83449	  variable to CGI process on Windows native platforms. [ruby-dev:23936]
83450
83451Sun Jul 18 16:14:29 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83452
83453	* ext/tk/lib/tk/msgcat.rb (TkMsgCatalog.callback): bug fix
83454	  ( wrong number of argument )
83455
83456Sun Jul 18 08:13:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83457
83458	* sprintf.c (rb_f_sprintf): remove extra sign digit.
83459
83460Sun Jul 18 03:19:14 2004  Akinori MUSHA  <knu@iDaemons.org>
83461
83462	* dir.c (bracket): use NULL instead of 0.
83463
83464Sun Jul 18 02:35:30 2004  Shugo Maeda  <shugo@ruby-lang.org>
83465
83466	* lib/net/imap.rb (receive_responses): return if a LOGOUT response
83467	  received.
83468
83469Sat Jul 17 23:59:01 2004  Shugo Maeda  <shugo@ruby-lang.org>
83470
83471	* lib/net/imap.rb (send_string_data): wait command continuation
83472	  requests before sending octet data of literals.
83473
83474Sat Jul 17 23:54:59 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83475
83476	* ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable object
83477
83478Sat Jul 17 22:04:44 2004  akira yamada  <akira@ruby-lang.org>
83479
83480	* lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.
83481
83482Sat Jul 17 18:29:07 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83483
83484	* parse.y (stmt): not to show same error messages twice.
83485
83486Sat Jul 17 14:18:11 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83487
83488	* string.c (rb_str_match_m): String#match should also take
83489	  optional argument.  [ruby-core:03205]
83490
83491	* re.c (rb_reg_match_m): add optional second argugment "pos" to
83492	  specify match start point.  [ruby-core:03203]
83493
83494Sat Jul 17 13:13:32 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83495
83496	* lib/irb/ruby-lex.rb (RubyLex::identify_string): %s string do not
83497	  process expression interpolation.  [ruby-talk:106691]
83498
83499Sat Jul 17 05:26:27 2004  Dave Thomas  <dave@pragprog.com>
83500
83501	* lib/rdoc/diagram.rb: Incorporate Micheal Neumann's
83502	  client-side imagemao patch
83503
83504Sat Jul 17 01:57:03 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83505
83506	* eval.c (THREAD_ALLOC): th->thread should be initialized to NULL.
83507	  [ruby-talk:106657]  The solution was found by Guy Decoux.
83508
83509Fri Jul 16 22:30:28 2004  Michael Neumann  <mneumann@ntecs.de>
83510
83511	* file.c (rb_stat_dev_major): new methods File::Stat#dev_major and
83512	  #dev_minor. [ruby-core:03195]
83513
83514Fri Jul 16 11:17:38 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83515
83516	* error.c (exit_initialize): use EXIT_SUCCESS instead of 0.
83517	  [ruby-dev:23913]
83518
83519	* error.c (exit_success_p): new method SystemExit#success?.
83520	  [ruby-dev:23912]
83521
83522	* error.c (syserr_initialize): initialization for subclasses.
83523	  [ruby-dev:23912]
83524
83525Thu Jul 15 23:53:38 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83526
83527	* lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
83528	  no longer has to_str method.
83529
83530Thu Jul 15 22:59:48 2004  Shugo Maeda  <shugo@ruby-lang.org>
83531
83532	* ext/readline/extconf.rb: added dir_config for curses, ncurses,
83533	  termcap.
83534
83535Thu Jul 15 20:44:46 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83536
83537	* class.c: rdoc patch
83538
83539Thu Jul 15 14:12:34 2004  why the lucky stiff  <why@ruby-lang.org>
83540
83541	* lib/yaml.rb (YAML::load_file, YAML::parse_file): added.
83542
83543	* ext/syck/token.c: re2c compiled with bit vectors now.
83544	* ext/syck/implicit.c: ditto.
83545	* ext/syck/bytecode.c: ditto.
83546
83547Thu Jul 15 10:15:04 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83548
83549	* ext/tk/, ext/tcltklib/: bug fix
83550
83551	* ext/tk/lib/tk.rb: better operation for SIGINT when processing
83552	  callbacks.
83553	* ext/tk/lib/tk/msgcat.rb: ditto.
83554	* ext/tk/lib/tk/variable.rb: ditto.
83555	* ext/tk/lib/tk/timer.rb: ditto.
83556
83557	* ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd
83558	  to define validatecommand methods easier
83559
83560	* ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext
83561	  classes
83562
83563	* ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type
83564	  check for items (e.g. canvas items; depends on the class) to
83565	  avoid some troubles on Tk extension widget class definition.
83566
83567	* ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support
83568
83569	* ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable
83570
83571Wed Jul 14 23:49:30 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83572
83573	* enum.c (enum_min_by): new method Enum#min_by.  added Enum#max_by
83574	  as well.
83575
83576Wed Jul 14 18:05:21 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83577
83578	* ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type of
83579	  argument. [ruby-dev:23891]
83580
83581	* test/openssl/test_x509store.rb: prune tests for CRL checking
83582	  unless X509::V_FLAG_CRL_CHECK is defined.
83583
83584Wed Jul 14 12:20:05 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83585
83586	* util.c (ruby_strtod): should not convert string in the form of
83587	  "-I.FE-X" which both "I" and "F" are ommitted. [ruby-dev:23883]
83588
83589	* test/ruby/test_float.rb (test_strtod): add test for bug fix.
83590
83591Wed Jul 14 00:33:48 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83592
83593	* array.c: rdoc patch. merged patch from Johan Holmberg
83594	  <holmberg@iar.se> [ruby-core:3170]
83595
83596Tue Jul 13 19:39:12 2004  akira yamada  <akira@ruby-lang.org>
83597
83598	* lib/uri/generic.rb (URI::Generic#merge_path):
83599	  "URI('http://www.example.com/foo/..') + './'" should return
83600	  "URI('http://www.example.com/')".  [ruby-list:39838]
83601	  "URI('http://www.example.com/') + './foo/bar/..'" should return
83602	  "URI('http://www.example.com/foo/')".  [ruby-list:39844]
83603
83604	* test/uri/test_generic.rb (TestGeneric#test_merge): added tests.
83605
83606Tue Jul 13 15:48:56 2004  Akinori MUSHA  <knu@iDaemons.org>
83607
83608	* lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH in
83609	   extmk mode.
83610
83611	* lib/mkmf.rb (dir_config): Prepend a new library path instead of
83612	  appending so it is tried first.
83613
83614Tue Jul 13 00:50:48 2004  Dave Thomas  <dave@pragprog.com>
83615
83616	* lib/rdoc/parsers/parse_rb.rb: Support call-seq: for Ruby files.
83617
83618Mon Jul 12 21:20:51 2004  Dave Thomas  <dave@pragprog.com>
83619
83620	* html_generator.rb: Support hyperlinks of the form {any text}[xxx]
83621	  as well as stuff[xxx]
83622
83623Sat Jul 10 09:30:24 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
83624
83625	* test/soap/marshal/test_struct.rb: use qualified built-in class name
83626	  (::Struct) to avoid name crash.
83627
83628Sat Jul 10 04:21:56 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83629
83630	* ext/tk/lib/tk.rb: better operation for SIGINT when processing
83631	  callbacks.
83632	* ext/tk/lib/tk/msgcat.rb: ditto.
83633	* ext/tk/lib/tk/variable.rb: ditto.
83634	* ext/tk/lib/tk/timer.rb: ditto.
83635
83636	* ext/tk/lib/tk/validation.rb (__def_validcmd):  add a module
83637	  function of Tk::ValidateConfigure to define validatecommand
83638	  methods easier
83639
83640Fri Jul  9 22:18:59 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83641
83642	* array.c, enum.c, pack.c: rdoc patch from Johan Holmberg
83643	  <holmberg@iar.se> [ruby-core:3132] [ruby-core:3136]
83644
83645	* numeric.c: rdoc patch.
83646
83647Fri Jul  9 19:26:39 2004  Tanaka Akira  <akr@m17n.org>
83648
83649	* lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to
83650	  notice https is not supported.
83651
83652Fri Jul  9 14:28:54 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83653
83654	* eval.c (rb_thread_raise): accept third argument as well as
83655	  Kernel#raise, and evaluate the arguments to create an exception in
83656	  the caller's context.  [ruby-talk:105507]
83657
83658Fri Jul  9 01:47:08 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83659
83660	* ext/tk/lib: bug fix
83661	* ext/tk/lib/tkextlib/itcl: add [incr Tcl] support
83662	* ext/tk/lib/tkextlib/itk: add [incr Tk] support
83663	* ext/tk/lib/tkextlib/iwidgets: midway point of [incr Widgets] support
83664	* ext/tk/sample/tkextlib/iwidgets: very simple examples of
83665	  [incr Widgets]
83666
83667Thu Jul  8 19:27:16 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83668
83669	* configure.in (rb_cv_stack_end_address): detect stack end address
83670	  variable supplied by system.  [ruby-core:03115]
83671
83672	* gc.c (Init_stack): use system provided address if possible.
83673
83674Thu Jul  8 00:05:23 2004  akira yamada  <akira@ruby-lang.org>
83675
83676	* lib/tempfile.rb (Tempfile::initialize): got out code of
83677	  generating tmpname.  [ruby-dev:23832][ruby-dev:23837]
83678
83679Wed Jul  7 02:31:41 2004  Kouhei Sutou  <kou@cozmixng.org>
83680
83681	* lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0
83682	  validation and validation which disregard order of elements.
83683	* test/rss/test_parser.rb: added tests for RSS 0.9x/2.0
83684	  validation.
83685	* test/rss/{test_trackback,rss-testcase}.rb: fixed no good method
83686	  name.
83687
83688Wed Jul  7 00:48:34 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
83689
83690	* ext/tk/lib/tkextlib/tktrans.rb,
83691	  ext/tk/lib/tkextlib/treectrl.rb: fix syntax errors.
83692
83693Tue Jul  6 18:38:45 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83694
83695	* ext/tk/lib: improve framework of developping Tcl/Tk extension
83696	  wrappers
83697
83698Mon Jul  5 23:56:42 2004  Kouhei Sutou  <kou@cozmixng.org>
83699
83700	* lib/rss/{trackback,syndication,dublincore,content}.rb: worked
83701	  with ruby 1.6 again.
83702
83703	* test/rss/rss-assertions.rb: ditto.
83704
83705Mon Jul  5 22:54:39 2004  Tanaka Akira  <akr@m17n.org>
83706
83707	* lib/uri/common.rb (Kernel#URI): new global method for parsing URIs.
83708
83709Mon Jul  5 09:02:52 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83710
83711	* eval.c (rb_thread_yield, rb_f_catch): 4th argument to rb_yield_0()
83712	  is a set of bit flags.  [ruby-dev:23859]
83713
83714Mon Jul  5 01:20:17 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83715
83716	* lib/drb/drb.rb(DRbConn self.open): If socket pool is full, close
83717	  the socket whose last-access-time is oldest. (and add new one)
83718	  [ruby-dev:23860]
83719
83720Sun Jul  4 12:24:50 2004  Kouhei Sutou  <kou@cozmixng.org>
83721
83722	* lib/rss/rss.rb: added copyright header.
83723
83724Sat Jul  3 22:25:27 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
83725
83726	* added files:
83727	  * lib/soap/header/*
83728	  * lib/soap/rpc/httpserver.rb
83729	  * lib/wsdl/soap/cgiStubCreator.rb
83730	  * lib/wsdl/soap/classDefCreator.rb
83731	  * lib/wsdl/soap/classDefCreatorSupport.rb
83732	  * lib/wsdl/soap/clientSkeltonCreator.rb
83733	  * lib/wsdl/soap/driverCreator.rb
83734	  * lib/wsdl/soap/mappingRegistryCreator.rb
83735	  * lib/wsdl/soap/methodDefCreator.rb
83736	  * lib/wsdl/soap/servantSkeltonCreator.rb
83737	  * lib/wsdl/soap/standaloneServerStubCreator.rb
83738	  * lib/wsdl/xmlSchema/enumeration.rb
83739	  * lib/wsdl/xmlSchema/simpleRestriction.rb
83740	  * lib/wsdl/xmlSchema/simpleType.rb
83741	  * lib/xsd/codegen/*
83742	  * lib/xsd/codegen.rb
83743	  * sample/soap/authheader/*
83744	  * sample/soap/raa2.4/*
83745	  * sample/soap/ssl/*
83746	  * sample/soap/swa/*
83747	  * sample/soap/whois.rb
83748	  * sample/wsdl/raa2.4/*
83749	  * test/soap/header/*
83750	  * test/soap/ssl/*
83751	  * test/soap/struct/*
83752	  * test/soap/swa/*
83753	  * test/soap/wsdlDriver/*
83754	  * test/wsdl/multiplefault.wsdl
83755	  * test/wsdl/simpletype/*
83756	  * test/wsdl/test_multiplefault.rb
83757
83758	* modified files:
83759	  * lib/soap/baseData.rb
83760	  * lib/soap/element.rb
83761	  * lib/soap/generator.rb
83762	  * lib/soap/netHttpClient.rb
83763	  * lib/soap/parser.rb
83764	  * lib/soap/property.rb
83765	  * lib/soap/soap.rb
83766	  * lib/soap/streamHandler.rb
83767	  * lib/soap/wsdlDriver.rb
83768	  * lib/soap/encodingstyle/handler.rb
83769	  * lib/soap/encodingstyle/literalHandler.rb
83770	  * lib/soap/encodingstyle/soapHandler.rb
83771	  * lib/soap/mapping/factory.rb
83772	  * lib/soap/mapping/mapping.rb
83773	  * lib/soap/mapping/registry.rb
83774	  * lib/soap/mapping/rubytypeFactory.rb
83775	  * lib/soap/mapping/wsdlRegistry.rb
83776	  * lib/soap/rpc/cgistub.rb
83777	  * lib/soap/rpc/driver.rb
83778	  * lib/soap/rpc/proxy.rb
83779	  * lib/soap/rpc/router.rb
83780	  * lib/soap/rpc/soaplet.rb
83781	  * lib/soap/rpc/standaloneServer.rb
83782	  * lib/wsdl/data.rb
83783	  * lib/wsdl/definitions.rb
83784	  * lib/wsdl/operation.rb
83785	  * lib/wsdl/parser.rb
83786	  * lib/wsdl/soap/definitions.rb
83787	  * lib/wsdl/xmlSchema/complexContent.rb
83788	  * lib/wsdl/xmlSchema/complexType.rb
83789	  * lib/wsdl/xmlSchema/data.rb
83790	  * lib/wsdl/xmlSchema/parser.rb
83791	  * lib/wsdl/xmlSchema/schema.rb
83792	  * lib/xsd/datatypes.rb
83793	  * lib/xsd/qname.rb
83794	  * sample/soap/sampleStruct/server.rb
83795	  * sample/wsdl/amazon/AmazonSearch.rb
83796	  * sample/wsdl/amazon/AmazonSearchDriver.rb
83797	  * test/soap/test_property.rb
83798	  * test/soap/calc/test_calc_cgi.rb
83799	  * test/wsdl/test_emptycomplextype.rb
83800
83801	* summary
83802	  * add SOAP Header mustUnderstand support.
83803
83804	  * add HTTP client SSL configuration and Cookies support (works
83805	    completely with http-access2).
83806
83807	  * add header handler for handling sending/receiving SOAP Header.
83808
83809	  * map Ruby's anonymous Struct to common SOAP Struct in SOAP Object
83810	    Model.  it caused error.
83811
83812	  * add WSDL simpleType support to restrict lexical value space.
83813
83814Sat Jul  3 17:19:44 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
83815
83816	* ext/tk/lib/tkextlib/tkDND.rb: fix syntax error.
83817
83818Thu Jul  1 18:36:08 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
83819
83820	* ext/tk/lib/tcltklib: bug fix
83821
83822	* ext/tk/lib/tk: bug fix and add Tcl/Tk extension support libraries
83823
83824Thu Jul  1 18:31:31 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83825
83826	* lib/pstore.rb (PStore#transaction): get rid of opening in write mode
83827	  when read only transaction.  [ruby-dev:23842]
83828
83829Thu Jul  1 00:44:42 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83830
83831	* ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt):
83832	  re-implemnt (the arguments for this method is ).
83833
83834	* ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method
83835	  OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey().
83836
83837	* ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method
83838	  OpenSSL::Cipher::Cipher#key_len=.
83839
83840Wed Jun 30 19:48:09 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
83841
83842	* ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,
83843	  EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex,
83844	  EVP_DigestFinal_ex and EVP_DigestInit_ex.
83845
83846	* ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function.
83847
83848	* ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex,
83849	  EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for
83850	  OpenSSL 0.9.6.
83851
83852	* ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize,
83853	  ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt,
83854	  ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key,
83855	  ossl_cipher_set_iv): replace all EVP_CipherInit and
83856	  EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex.
83857	  and EVP_CIPHER_CTX_init should only be called once.
83858
83859	* ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for
83860	  EVP_CIPHER_CTX_set_padding.
83861
83862	* ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated.
83863
83864	* ext/openssl/ossl_digest.c: replace all EVP_DigestInit and
83865	  EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex.
83866	  and EVP_MD_CTX_init should only be called once.
83867
83868	* ext/openssl/ossl_digest.c (digest_final): should call
83869	  EVP_MD_CTX_cleanup to avoid memory leak.
83870
83871	* ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init
83872	  into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc.
83873
83874	* ext/openssl/ossl_hmac.c (hmac_final): should call
83875	  HMAC_CTX_cleanup to avoid memory leak.
83876
83877	* test/openssl/test_cipher.rb, test/openssl/test_digest.rb,
83878	  test/openssl/test_hmac.rb: new file.
83879
83880Wed Jun 30 16:59:39 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83881
83882	* test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatch
83883	  are added.
83884
83885Wed Jun 30 11:38:51 2004  Mikael Brockman  <phubuh@phubuh.org>
83886
83887	* parse.y (primary): should not be NULL.  [ruby-core:03098]
83888
83889Wed Jun 30 02:41:10 2004  why the lucky stiff  <why@ruby-lang.org>
83890
83891	* ext/syck/rubyext.c (syck_emitter_new): set buffer after
83892	  Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835]
83893
83894Tue Jun 29 10:31:19 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83895
83896	* eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.
83897
83898	* gc.c (define_final, run_final): preserve and restore safe level for
83899	  finalizers.  [ruby-core:03058]
83900
83901	* signal.c (signal_exec, rb_trap_exit, trap): preserve and restore
83902	  safe level for signal handlers.  [ruby-dev:23829]
83903
83904Mon Jun 28 14:57:56 2004  Jeff Mitchell  <quixoticsycophant@yahoo.com>
83905
83906	* configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due to
83907	  DOSISH compilers.  [ruby-core:03107]
83908
83909Mon Jun 28 00:35:29 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
83910
83911	* sample/drb/*.rb: using 'DRb.thread.join' instead of 'gets'
83912
83913Sun Jun 27 22:36:47 2004  Kouhei Sutou  <kou@cozmixng.org>
83914
83915	* sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.
83916
83917Sat Jun 26 15:17:11 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83918
83919	* variable.c (rb_mod_class_variables): class variables are no longer
83920	  inherited.  [ruby-dev:23808]
83921
83922Sat Jun 26 11:07:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83923
83924	* configure.in (aix): -b must come at the start of the command line,
83925	  and -e must not appear while testing libraries.  [ruby-talk:104501]
83926
83927	* lib/mkmf.rb (find_header, dir_config): quote directory names if
83928	  necessary.  [ruby-talk:104505]
83929
83930Sat Jun 26 00:13:08 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83931
83932	* io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may return
83933	  positive value on failure.  [ruby-dev:23792]
83934
83935Fri Jun 25 18:07:15 2004  Michal Rokos  <michal@ruby-lang.org>
83936
83937	* gc.c: bring back _stklen for DJGPP [ruby-core:3084]
83938
83939Fri Jun 25 15:33:01 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83940
83941	* ext/iconv/extconf.rb: check stricter.  [ruby-talk:104501]
83942
83943Fri Jun 25 01:58:01 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
83944
83945	* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
83946	  including version.h. [ruby-talk:104456]
83947
83948Thu Jun 24 14:23:29 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83949
83950	* io.c (rb_io_fread): return already read data when system call is
83951	  interrupted.  [ruby-talk:97206]
83952
83953Thu Jun 24 01:25:21 2004  Shugo Maeda  <shugo@ruby-lang.org>
83954
83955	* version.h: added declarations of ruby_version,
83956	  ruby_release_date, ruby_platform.
83957
83958Thu Jun 24 01:07:15 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
83959
83960	* ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()
83961	  should give us packed address, not struct sockaddr.
83962	  [ruby-core:03053]
83963
83964Wed Jun 23 22:19:10 2004  Dave Thomas  <dave@pragprog.com>
83965
83966	* ext/socket/socket.c (sock_s_gethostbyaddr): Work around problem
83967	  with OS X not returning 'from' parameter to recvfrom for
83968	  connection-oriented sockets.
83969
83970Wed Jun 23 22:16:16 2004  Michal Rokos  <michal@ruby-lang.org>
83971
83972	* io.c: io_seek()'s retval should be checked [ruby-core:03045]
83973
83974Wed Jun 23 21:48:27 2004  Michal Rokos  <michal@ruby-lang.org>
83975
83976	* time.c: Fix indentation.
83977
83978	* main.c: Remove _stklen, and _CRT_glob. Move _stacksize for
83979	  __human68k__ to gc.c where the others are.
83980
83981	* gc.c: put _stacksize in place and clean the #ifdefs macros.
83982
83983Wed Jun 23 17:37:54 2004  Shugo Maeda  <shugo@ruby-lang.org>
83984
83985	* lib/net/imap.rb: added new option --ssl.
83986
83987Wed Jun 23 01:45:27 2004  Dave Thomas  <dave@pragprog.com>
83988
83989	* lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_quotation):
83990	  Fix problem with the 'r' being dropped from %r{xxx}
83991
83992Wed Jun 23 00:10:17 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
83993
83994	* ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing
83995	  CRs and LFs. (doesn't depend on CR+LF) [ruby-dev:23749]
83996
83997Wed Jun 23 00:00:25 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
83998
83999	* eval.c (return_jump, break_jump): raise unexpected local jump
84000	  exception directly.  [ruby-dev:23740]
84001
84002	* io.c (rb_io_initialize): should check fcntl result.  [ruby-dev:23742]
84003
84004Tue Jun 22 23:35:43 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
84005
84006	* sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
84007
84008	* test/ruby/test_sprintf.rb (test_nan, test_inf): add tests.
84009
84010Tue Jun 22 21:11:36 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
84011
84012	* ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-
84013	  dLibraries().
84014
84015	* ext/win32ole/win32ole.c (ole_event_free): ditto.
84016
84017	* ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message
84018	  before CR.
84019
84020Tue Jun 22 19:24:59 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
84021
84022	* sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf with
84023	  "%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747]
84024
84025Tue Jun 22 15:28:12 2004  Michal Rokos  <michal@ruby-lang.org>
84026
84027	* compar.c: Remove explicit NIL_P() checks since rb_cmpint() does it
84028	  again in the exactly same manner.
84029
84030Tue Jun 22 01:32:40 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
84031
84032	* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create
84033	  empty pkey object if no argument is passed. [ruby-talk:103328]
84034
84035	* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
84036
84037	* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto.
84038
84039	* ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p,
84040	  OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=,
84041	  OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=,
84042	  OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=.
84043
84044	* ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p,
84045	  OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=,
84046	  OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=,
84047	  OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=,
84048	  OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=.
84049
84050Mon Jun 21 09:24:51 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
84051
84052	* win32/win32.c (rb_w32_opendir): should set errno if error occurs
84053	  when calling OS API.
84054
84055Sun Jun 20 21:12:54 2004  Shugo Maeda  <shugo@ruby-lang.org>
84056
84057	* lib/net/ftp.rb (binary=): send TYPE commands only once.
84058
84059Sat Jun 19 13:27:01 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84060
84061	* eval.c (method_call): allow changing $SAFE.  [ruby-dev:23713]
84062
84063	* eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): not
84064	  set $SAFE for methods defined from Proc.  [ruby-dev:23697]
84065
84066Sat Jun 19 01:10:12 2004  Kouhei Sutou  <kou@cozmixng.org>
84067
84068	* sample/rss/tdiary_plugin/rss-recent.rb: added more information.
84069
84070Fri Jun 18 23:12:22 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84071
84072	* eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limit
84073	  safe level.
84074
84075Wed Jun 16 23:05:57 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84076
84077	* object.c (rb_mod_freeze): prepare string representation before
84078	  freezing. [ruby-talk:103646]
84079
84080Wed Jun 16 19:57:24 2004  Michal Rokos  <michal@ruby-lang.org>
84081
84082	* test/ruby/test_array.rb: extend testcase to check #first, #last,
84083	  #shift, #unshift, #pop, #push
84084
84085Wed Jun 16 16:05:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84086
84087	* array.c (ary_new): move alloc behind checks.  [ruby-core:02982]
84088
84089	* array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push
84090	  and unshift.
84091
84092	* array.c (rb_ary_first, rb_ary_last): make shared array for result
84093	  array, and correct doc for Array#first(n) and Array#last(n)
84094
84095	* array.c (rb_ary_select): not accept any arg.
84096
84097Wed Jun 16 16:03:59 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84098
84099	* object.c (rb_class_inherited_p): singleton class inherits Class
84100	  rather than its object's class.  [ruby-dev:23690]
84101
84102Wed Jun 16 16:01:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84103
84104	* gc.c (stack_grow_direction): memoize the direction.
84105
84106	* gc.c (Init_stack): should always move to end of VALUE.
84107
84108Tue Jun 15 12:10:04 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84109
84110	* ext/tk/lib/tk.rb: bug fix (TkWindow#grab)
84111
84112Mon Jun 14 18:23:27 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84113
84114	* ext/tk/lib/remote-tk.rb: bug fix
84115
84116Sun Jun 13 00:23:04 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84117
84118	* ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
84119
84120	* ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
84121	  eliminate warning about instance variable access
84122
84123	* ext/tk/lib/tk/menubar.rb: improve supported menu_spec
84124
84125	* ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
84126
84127	* ext/tk/lib/tk/root.rb: add menu_spec support
84128
84129	* ext/tk/lib/tk/text.rb: bug fix
84130
84131	* ext/tk/lib/tk/toplevel.rb: add menu_spec support
84132
84133	* ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
84134
84135Sat Jun 12 14:15:20 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84136
84137	* dir.c: RDOC for File::FNM_CASEFOLD was missed.
84138
84139Sat Jun 12 11:15:53 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84140
84141	* configure.in (target_os): strip -gnu suffix on Linux.
84142
84143Fri Jun 11 22:08:50 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84144
84145	* array.c: remove #indexes, #indices.
84146
84147	* hash.c: ditto.
84148
84149	* ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning
84150	  from #select.
84151
84152	* ext/gdbm/gdbm.c: ditto.
84153
84154	* ext/sdbm/init.c: ditto.
84155
84156	* ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when
84157	  DB_VERSION_STRING is not available.
84158
84159Thu Jun 10 19:19:41 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84160
84161	* ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().
84162	  [ruby-talk:103062]
84163
84164Wed Jun  9 16:09:01 2004  akira yamada  <akira@ruby-lang.org>
84165
84166	* lib/uri/generic.rb (URI::Generic::merge,
84167	  URI::Generic::route_from): accepts non-hierarchical URI.
84168	  [ruby-dev:23631]
84169
84170	* test/uri/test_generic.rb (TestGeneric::test_route,
84171	  TestGeneric::test_merge): added tests for above changes.
84172
84173Wed Jun  9 15:39:55 2004  Akinori MUSHA  <knu@iDaemons.org>
84174
84175	* configure.in: Add support for DragonFly BSD.
84176
84177Wed Jun  9 15:07:06 2004  Akinori MUSHA  <knu@iDaemons.org>
84178
84179	* config.guess, config.sub: Update to a more recent version as of
84180	  2004-01-20.
84181
84182Wed Jun  9 11:20:05 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
84183
84184	* win32/win32.c: remove unused functions and variables.
84185
84186Wed Jun  2 20:16:03 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84187
84188	* string.c (str_new4): should share shared instance if it already
84189	  exists.  [ruby-dev:23665]
84190
84191Wed Jun  2 12:41:53 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84192
84193	* io.c (rb_io_gets_m): set lastline ($_) even when read line is
84194	  nil.  [ruby-dev:23663]
84195
84196Fri May 28 11:20:31 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84197
84198	* eval.c (rb_eval): bad influence on frame node.
84199
84200	* eval.c (eval): reverted wrongly removed condition.  [ruby-dev:23638]
84201
84202Thu May 27 21:37:50 2004  Tanaka Akira  <akr@m17n.org>
84203
84204	* lib/pathname.rb (Pathname#initialize): fix pathname initialization
84205	  by pathname.
84206
84207Thu May 27 20:02:09 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84208
84209	* io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]
84210
84211Thu May 27 15:54:02 2004  Shugo Maeda  <shugo@ruby-lang.org>
84212
84213	* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
84214	  Thanks, Rutger Nijlunsing.
84215
84216Thu May 27 14:53:13 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84217
84218	* io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.
84219	  add errno checking.  [ruby-dev:23627]
84220
84221	* io.c (rb_io_fwrite): should check if errno == ENOENT, too.
84222
84223Thu May 27 11:25:03 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
84224
84225	* test/csv/test_csv.rb: illegal require module name (../lib/csv.rb).
84226
84227Wed May 26 23:12:13 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
84228
84229	* lib/csv.rb (CSV.read, CSV.readlines): added.  works as IO.read and
84230	  IO.readlines in CSV format.
84231
84232	* lib/csv.rb (CSV.parse): [CAUTION] behavior changed.  in the past,
84233	  CSV.parse accepts a filename to be read-opened (it was just a
84234	  shortcut of CSV.open(filename, 'r')).  now CSV.parse accepts a
84235	  string or a stream to be parsed e.g.
84236	  CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']]
84237
84238	* test/csv/test_csv.rb: follow above changes.
84239
84240Wed May 26 14:19:42 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84241
84242	* eval.c (rb_eval, eval): make line number consistent on eval with
84243	  Proc.  [ruby-talk:101253]
84244
84245Wed May 26 13:59:17 2004  Dave Thomas  <dave@pragprog.com>
84246
84247	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::skip_for_variable): Allow for
84248	  'do' after for statement
84249
84250Wed May 26 13:56:03 2004  Dave Thomas  <dave@pragprog.com>
84251
84252	* lib/rdoc/generators/html_generator.rb (Generators::MarkUp::style_url): Fix
84253	  relative path to code CSS file
84254
84255Wed May 26 13:14:52 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84256
84257	* io.c (rb_io_init_copy): copy also positions.  [ruby-talk:100910]
84258
84259Wed May 26 00:00:00 2004  why the lucky stiff  <why@ruby-lang.org>
84260
84261	* ext/syck/syck.c (syck_new_parser): clear parser on init.
84262	  thanks, ts. [ruby-core:02931]
84263
84264	* ext/syck/token.c (sycklex_yaml_utf8): buffer underflow.
84265	  thanks, ts. [ruby-core:02929]
84266
84267	* lib/yaml/baseemitter.rb (indent_text): simpler flow block code.
84268
84269Tue May 25 11:54:13 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84270
84271	* eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a block
84272	  to a Proc.  [ruby-dev:23533]
84273
84274	* parse.y (block_par, block_var): ditto.
84275
84276Tue May 25 01:50:17 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
84277
84278	* ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):
84279	  workaround for the versions earlier than OpenSSL-0.9.7.
84280
84281Mon May 24 10:46:26 2004  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
84282
84283	* lib/rdoc/generators/template/html/html.rb: SYSTEM identifiers
84284	  must be absolute URIs
84285
84286Sun May 23 04:53:50 2004  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
84287
84288	* lib/pstore.rb (transaction): allow overriding dump and load.
84289	  [ruby-dev:23567]
84290
84291	* lib/yaml/store.rb: follow lib/pstore.rb's change.
84292
84293Sat May 22 11:54:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84294
84295	* MANIFEST: add test/openssl/test_x509store.rb.
84296
84297	* ext/tk/MANIFEST: add recent files.
84298
84299Sat May 22 05:37:11 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84300
84301	* ext/tk/lib/remote-tk.rb: (NEW library) controll Tk interpreters
84302	  on the other processes by Tcl/Tk's 'send' command
84303
84304Fri May 21 09:22:05 2004  Dave Thomas  <dave@pragprog.com>
84305
84306	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_parameters):
84307	  Add ()'s around parameters that don't have them
84308
84309Fri May 21 02:21:11 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
84310
84311	* lib/csv.rb: fixed a few bugs around multi char record/field separator.
84312
84313	* test/csv/test_csv.rb: added boundary test for above feature.
84314
84315Thu May 20 17:02:03 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84316
84317	* lib/mkmf.rb (check_sizeof): define result size.  [ruby-core:02911]
84318
84319	* lib/mkmf.rb (create_header): macro name should not include equal
84320	  sign.
84321
84322Thu May 20 14:35:52 2004  Tanaka Akira  <akr@m17n.org>
84323
84324	* ext/socket/socket.c: check SCM_RIGHTS macro addition to
84325	  the msg_control field to test existence of file descriptor passing
84326	  by msg_control.
84327
84328Thu May 20 12:38:06 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84329
84330	* numeric.c (flo_eq): always check if operands are NaN.
84331	  [ruby-list:39685]
84332
84333Thu May 20 12:34:39 2004  Dave Thomas  <dave@pragprog.com>
84334
84335	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_visibility):
84336	  At Ryan Davis' suggestion, honor visibility modifers if guarded by a
84337	  statement modifier
84338
84339Thu May 20 12:22:13 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84340
84341	* lib/mkmf.rb (have_type): do not check pointer to incomplete type,
84342	  which always get compiled.
84343	  [ruby-list:39683]
84344
84345Wed May 19 23:45:43 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84346
84347	* test/inlinetest.rb (InlineTest::loadtest): requiring library with
84348	  replaced $0 can make $0 == __FILE__ block be evaluated twice.
84349
84350	* test/ruby/envutil.rb (EnvUtil::rubybin): give priority to
84351	  environment variable.  [ruby-dev:23538]
84352
84353Wed May 19 11:08:10 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84354
84355	* ext/tk/lib/tk.rb: change permition of TkObject#tk_send from
84356	  private to public
84357
84358Wed May 19 02:29:36 2004  Minero Aoki  <aamine@loveruby.net>
84359
84360	* lib/net/http.rb: support TRACE.
84361
84362Wed May 19 02:21:53 2004  Minero Aoki  <aamine@loveruby.net>
84363
84364	* lib/net/http.rb: do not use class variables.
84365
84366Tue May 18 21:21:43 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
84367
84368	* lib/csv.rb: writes lines with "\n" when row separator is not given.
84369	  formerly it was "\r\n".
84370
84371	* lib/csv.rb: [CAUTION] API change
84372
84373	  * CSV::Row removed.  a row is represented as just an Array.  since
84374	    CSV::Row was a subclass of Array, it won't hurt almost all programs
84375	    except one which depended CSV::Row#match.
84376
84377	  * CSV::Cell removed.  a cell is represented as just a String or
84378	    nil(NULL).  this change will cause widespread destruction.
84379
84380	      CSV.open("foo.csv", "r") do |row|
84381		row.each do |cell|
84382		  if cell.is_null       # Cell#is_null
84383		    p "(NULL)"
84384		  else
84385		    p cell.data		# Cell#data
84386		  end
84387		end
84388	      end
84389
84390	    must be just;
84391
84392	      CSV.open("foo.csv", "r") do |row|
84393		row.each do |cell|
84394		  if cell.nil?
84395		    p "(NULL)"
84396		  else
84397		    p cell
84398		  end
84399		end
84400	      end
84401
84402	* lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior
84403	  change.  CSV.open, CSV.parse, and CSV,generate now do not force
84404	  opened file binmode.  formerly it set binmode explicitly.
84405
84406	  with CSV.open, binmode of opened file depends the given mode
84407	  parameter "r", "w", "rb", and "wb".  CSV.parse and CSV.generate open
84408	  file with "r" and "w".
84409
84410	  setting mode properly is user's responsibility now.
84411
84412	* lib/csv.rb: accepts String as a fs (field separator/column separator)
84413	  and rs (record separator/row separator)
84414
84415	* lib/csv.rb: added CSV.foreach(path, rs = nil, &block).  CSV.foreach
84416	  now does not handle "| cmd" as a path different from IO.foreach.
84417	  needed?
84418
84419	* test/csv/test_csv.rb: updated.
84420
84421Tue May 18 14:24:20 2004  why the lucky stiff  <why@ruby-lang.org>
84422
84423	* lib/yaml.rb: added rdoc to beginning of lib.
84424
84425Tue May 18 14:00:46 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84426
84427	* node.h (NEW_DSTR): adjust list length.
84428
84429	* parse.y (literal_concat): ditto.
84430
84431Tue May 18 09:30:25 2004  SASADA Koichi  <ko1@atdot.net>
84432
84433	* eval.c (rb_method_node): search cache entry first.
84434
84435Mon May 17 16:04:06 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84436
84437	* numeric.c (flo_to_s): it's preferable that "p 0.0" outputs "0.0"
84438	  instead of "0.0e+00". [ruby-dev:23480]
84439
84440	* numeric.c (flo_to_s): it's preferable that "p 0.00000000000000000001"
84441	  outputs "1.0e-20" instead of "9.999999999999999e-21". (the precision
84442	  is considered, but there is assumption DBL_DIG == 15 in current
84443	  implementation)
84444
84445Mon May 17 10:13:33 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84446
84447	* ext/socket/socket.c (setup_domain_and_type): honor duck typing.
84448	  [ruby-dev:23522]
84449
84450	* ext/socket/socket.c (sock_s_getnameinfo): ditto.
84451
84452Mon May 17 00:36:21 2004  why the lucky stiff  <why@ruby-lang.org>
84453
84454	* lib/yaml/baseemitter.rb (indent_text): was forcing a mod value
84455	  of zero at times, which kept some blocks from getting indentation.
84456
84457Mon May 17 00:07:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
84458
84459	* lib/drb/drb.rb: Cosmetic documentation changes.
84460
84461Sun May 16 20:55:49 2004  Tanaka Akira  <akr@m17n.org>
84462
84463	* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
84464	  specify an open flag.
84465	  (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
84466	  and DBM::NEWDB.
84467
84468Sat May 15 17:52:24 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84469
84470	* test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1
84471
84472Sat May 15 14:20:13 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84473
84474	* ext/syck/depend: add ruby's headers.
84475
84476Sat May 15 13:38:33 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84477
84478	* ext/syck/MANIFEST, ext/syck/depend: new file.
84479
84480	* lib/yaml/rubytypes.rb: range of exponential floats.  [ruby-core:02824]
84481
84482	* test/yaml/test_yaml.rb: tests for strings start with colon and some
84483	  round trip.
84484
84485Sat May 15 12:04:58 2004  why the lucky stiff  <why@ruby-lang.org>
84486
84487	* lib/yaml.rb: removed fallback to pure Ruby parser.
84488
84489	* lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.
84490
84491	* ext/syck/syck.h: reports style of scalars now, be they plain, block
84492	  single-, or double-quoted.
84493
84494	* ext/syck/syck.c: ditto.
84495
84496	* ext/syck/gram.c: ditto.
84497
84498	* ext/syck/node.c: ditto.
84499
84500	* ext/syck/token.c: ditto.
84501
84502	* ext/syck/rubyext.c (yaml_org_handler): symbols loaded only
84503	  if scalar style is plain.
84504
84505	* test/yaml/test_yaml.rb (test_perl_regexp): updated test to
84506	  match new regexp serialization.
84507
84508Sat May 15 01:41:34 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84509
84510	* eval.c (eval): forgot to restore $SAFE value before evaluating
84511	  compiled node.  [ruby-core:02872]
84512
84513Sat May 15 01:33:12 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84514
84515	* range.c (range_each_func): terminates loop if generating value
84516	  is same to @end.  [ruby-talk:100269]
84517
84518Fri May 14 22:08:38 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84519
84520	* string.c (rb_str_new4): should not reuse frozen shared string if
84521	  the original is not an instance of String. [ruby-talk:100193]
84522
84523Fri May 14 21:29:26 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84524
84525	* time.c (time_mdump): preserve GMT bit in the marshal data.
84526	  [ruby-talk:100213]
84527
84528Fri May 14 18:37:49 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84529
84530	* ext/tk/lib/tk/canvas.rb: improve coords support for canvas
84531	  items. Now, supports all of the followings.
84532	       TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
84533	       TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
84534	       TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
84535	       TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red')
84536	       TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red')
84537	       TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red')
84538
84539Fri May 14 13:30:39 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84540
84541	* test/ruby/test_float.rb: Add test for util.c revision 1.42.
84542
84543Fri May 14 12:13:46 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84544
84545	* util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.
84546	 [ruby-dev:23498]
84547
84548Thu May 13 15:47:30 2004  akira yamada  <akira@ruby-lang.org>
84549
84550	* lib/net/telnet.rb (Net::Telnet::login): "options" can specify
84551	  regexps for login prompt and/or password prompt.
84552
84553Thu May 13 14:17:57 2004  why the lucky stiff  <why@ruby-lang.org>
84554
84555	* ext/syck/rubyext.c (yaml_org_handler): some empty strings were
84556	  loaded as symbols.
84557
84558Thu May 13 11:04:08 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84559
84560	* pack.c (pack_pack): always add with null for 'Z'.
84561
84562	* pack.c (pack_unpack): terminated by null for 'Z'.  [ruby-talk:98281]
84563
84564Wed May 12 19:59:43 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84565
84566	* lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
84567	  [ruby-talk:99788]
84568
84569Wed May 12 17:41:42 2004  Tanaka Akira  <akr@m17n.org>
84570
84571	* lib/resolv.rb (Resolv::DNS::Config): make it configurable without
84572	  external file such as /etc/resolv.conf.
84573
84574Wed May 12 14:37:27 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
84575
84576	* ext/openssl/ossl_x509name.c: attribute value of DC (short name of
84577	  domainComponent) should be IA5String.
84578
84579Wed May 12 13:20:19 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84580
84581	* ext/tk/lib/tk/composite.rb: improve configure methods (based on
84582	  the proposal of [ruby-talk:99671]).
84583
84584Wed May 12 11:51:08 2004  Dave Thomas  <dave@pragprog.com>
84585
84586	* class.c (rb_obj_singleton_methods): fix rdoc
84587
84588Tue May 11 07:09:42 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84589
84590	* eval.c (is_defined): do not protect exception during receiver
84591	  evaluation.
84592
84593Mon May 10 22:28:14 2004  Minero Aoki  <aamine@loveruby.net>
84594
84595	* lib/net/protocol.rb (each_crlf_line): remove junk line.
84596
84597Mon May 10 21:44:42 2004  Dave Thomas  <dave@pragprog.com>
84598
84599	* lib/rdoc/generators/html_generator.rb: Change scheme for
84600	  looking up symbols in  HTML generator.
84601
84602Mon May 10 16:45:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84603
84604	* eval.c (eval): warning during eval should not cause deadlock.
84605	  [ruby-talk:98651]
84606
84607	* eval.c (rb_eval): raise TypeError exception for superclass
84608	  mismatch.  [ruby-list:39567]
84609
84610Mon May 10 12:11:37 2004  Dave Thomas  <dave@pragprog.com>
84611
84612	* lib/rdoc/generators/html_generator.rb: Hack to search parents
84613	  for unqualified constant names.
84614
84615Mon May 10 01:18:15 2004  Minero Aoki  <aamine@loveruby.net>
84616
84617	* lib/net/pop.rb (logging): append "\n".
84618
84619Sun May  9 23:38:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
84620
84621	* lib/net/ftp.rb: ported documentation improvement from 1.8 branch
84622
84623	* lib/net/imap.rb:   ditto
84624
84625	* lib/net/pop.rb:    ditto
84626
84627	* lib/net/smtp.rb:   ditto
84628
84629	* lib/net/telnet.rb: ditto
84630
84631Sun May  9 23:34:51 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
84632
84633	* test/ruby/test_float.rb: added test_strtod to test Float("0").
84634
84635Sun May  9 13:24:24 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84636
84637	* lib/yaml/store.rb: use FileUtils::copy.
84638
84639Sun May  9 12:34:26 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
84640
84641	* regex.c: removed unused file.
84642
84643Sat May  8 10:53:30 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84644
84645	* io.c (rb_f_open): open should not ignore block when "to_open"
84646	  method is used.  [ruby-dev:23478]
84647
84648Fri May  7 22:07:39 2004  Minero Aoki  <aamine@loveruby.net>
84649
84650	* lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]
84651
84652	* lib/fileutils.rb: new method for command option reflection:
84653	  FileUtils.commands, .options, .have_option?, .options_of,
84654	  .collect_methods.
84655
84656	* lib/fileutils.rb: module Verbose, NoWrite, DryRun do not have
84657	  option flags @fileutils_verbose and @fileutils_noop, they make no
84658	  sense.
84659
84660Fri May  7 21:50:21 2004  Dave Thomas  <dave@pragprog.com>
84661
84662	* lib/rdoc/parsers/parse_rb.rb (RDoc::parse_include): Allow
84663	  multiple arguments to 'include'
84664
84665Fri May  7 21:03:51 2004  Minero Aoki  <aamine@loveruby.net>
84666
84667	* lib/fileutils.rb (fu_list): Array() breaks pathes including "\n".
84668	  [ruby-core:02843]
84669
84670	* test/fileutils/test_fileutils.rb (mkdir): test "\n" in path.
84671
84672Fri May  7 20:53:25 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84673
84674	* ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473]
84675
84676Fri May  7 11:17:27 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84677
84678	* util.c (ruby_strtod): "0.0000000000000000001" should be converted
84679	  to 1.0e-19 instead of 0.0. (leading zeros aren't significant digits)
84680	  [ruby-talk:99318] [ruby-dev:23465]
84681
84682Thu May  6 22:27:32 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
84683
84684	* ext/socket/socket.c (ippaddr): use NUMERICHOST if can not resolve
84685	  hostname.
84686
84687Thu May  6 22:09:29 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84688
84689	* ext/tk/tkutil.c (get_eval_string_core): bug fix. [ruby-dev:23466]
84690
84691Thu May  6 14:22:29 2004  why the lucky stiff  <why@ruby-lang.org>
84692
84693	* lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
84694	  for Ranges, Strings, Structs, Regexps.
84695
84696	* lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a
84697	  String's flow style.
84698
84699	* lib/yaml.rb (YAML::object_maker): now uses Object.allocate.
84700
84701	* ext/syck/gram.c: fixed transfer methods on structs, broke it
84702	  last commit.
84703
84704Thu May  6 14:38:02 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84705
84706	* dir.c (rb_push_glob): simplified code (not change behavior)
84707
84708Thu May  6 13:32:44 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84709
84710	* ext/extmk.rb: get rid of side effect of Config.expand, patched by
84711	  <tttt01@infoseek.jp>  (ruby-bugs:PR#597)
84712
84713Thu May  6 11:40:28 2004  Shugo Maeda  <shugo@ruby-lang.org>
84714
84715	* lib/net/imap.rb (string): accept NIL.
84716
84717	* lib/net/imap.rb (body_type_basic): allow body-fields omissions.
84718
84719Thu May  6 01:59:04 2004  Dave Thomas  <dave@pragprog.com>
84720
84721	* lib/rdoc/generators/html_generator.rb (Generators::HtmlMethod::params):
84722	  Don't include the &block parameter if we have explicit
84723	  yield parameters.
84724
84725Wed May  5 03:52:31 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
84726
84727	* lib/rinda/ring.rb: use recv instead of recvfrom.
84728
84729Wed May  5 00:38:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
84730
84731	* lib/gserver.rb: documented
84732	* lib/xmlrpc/README.txt: introduced for documentation purposes
84733
84734Mon May  3 09:47:24 2004  Dave Thomas  <dave@pragprog.com>
84735
84736	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_or_yield_parameters):
84737	  Fix parsing bug if yield called within 1 line block
84738
84739Sun May  2 21:56:48 2004  Minero Aoki  <aamine@loveruby.net>
84740
84741	* test/fileutils/test_fileutils.rb (rm_f, rm_r): test :force flag.
84742
84743Sun May  2 01:04:38 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
84744
84745	* ext/tcltklib, ext/tk: renewal Ruby/Tk
84746
84747Fri Apr 30 20:08:41 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84748
84749	* time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
84750
84751Wed Apr 28 01:26:11 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
84752
84753	* oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
84754
84755Wed Apr 28 01:16:23 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
84756
84757	* oniguruma.h, regparse.c: imported Oni Guruma 2.2.7.
84758
84759Tue Apr 27 14:43:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84760
84761	* common.mk: LIBURUBY_A is needed for extconf.rb even when
84762	  cross-compiling.
84763
84764Tue Apr 27 13:33:50 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84765
84766	* parse.y (string_content): turn off NODE_NEWLINE flag to avoid
84767	  unnecessary line trace for inlined expression.
84768	  (ruby-bugs PR#1320)
84769
84770Tue Apr 27 08:15:13 2004  why the lucky stiff  <why@ruby-lang.org>
84771
84772	* lib/yaml/rubytypes.rb: passing Range tests.
84773
84774	* ext/syck/syck.h: version 0.44.
84775
84776	* ext/syck/gram.c: transfers no longer open an indentation.
84777	  fixed transfers which precede blocks.
84778
84779	* ext/syck/token.c: ditto.
84780
84781	* ext/syck/syck.c: fixed segfault if an anchor has been released already.
84782
84783	* ext/syck/node.c (syck_free_members): organized order of free'd nodes.
84784
84785	* ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with
84786	  StringValue.
84787
84788Mon Apr 26 23:56:54 2004  Daniel Kelley  <news-1082945587@dkelley.gmp.san-jose.ca.us>
84789
84790	* README.EXT, README.EXT.ja: fixed wrong function signature.
84791	  [ruby-talk:98349]
84792
84793Mon Apr 26 21:40:09 2004  Dave Thomas  <dave@pragprog.com>
84794
84795	* lib/rdoc/code_objects.rb (RDoc::Context::add_alias): Only alias
84796	  to instance methods.
84797
84798Sun Apr 25 18:26:23 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84799
84800	* configure.in (ac_cv_func_fork): set to no on DJGPP.
84801
84802Sat Apr 24 14:32:03 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
84803
84804	* re.c: applied stack error handling patch. [ruby-dev:23431]
84805
84806Sat Apr 24 10:38:31 2004  Dave Thomas  <dave@pragprog.com>
84807
84808	* lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::group_lines):
84809	  Fix bug where consecutive headings are merged.
84810
84811Fri Apr 23 23:24:47 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84812
84813	* lib/mkmf.rb: $hdrdir should not contain macros, for backward
84814	  compatibility.  [bruby-dev:28]
84815
84816	* lib/mkmf.rb (create_makefile): in the case of extout, just copy
84817	  script files, without comparison.
84818
84819Fri Apr 23 16:38:46 2004  Tanaka Akira  <akr@m17n.org>
84820
84821	* lib/pathname.rb: sync taint/freeze flag between
84822	  a pathname object and its internal string object.
84823
84824Fri Apr 23 14:52:14 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84825
84826	* parse.y (stmt, arg, aref_args): should not make sole splat into
84827	  array, in aref_args other than aref with op_asgn.
84828
84829Fri Apr 23 14:14:38 2004  Tanaka Akira  <akr@m17n.org>
84830
84831	* lib/resolv.rb: don't use Regexp#source to embed regexps.
84832	  [ruby-dev:23432]
84833
84834Thu Apr 22 18:25:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84835
84836	* common.mk, ext/extmk.rb: make ext and .ext get removed by distclean.
84837
84838Thu Apr 22 10:07:01 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
84839
84840	* */Makefile.sub (distclean-local): should remove $(RBCONFIG).
84841
84842Thu Apr 22 04:17:57 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84843
84844	* eval.c (rb_mod_define_method): allow binding methods to modules.
84845	  [ruby-dev:23410]
84846
84847	* parse.y (aref_args): should pass expanded list.  [ruby-core:02793]
84848
84849Thu Apr 22 01:12:57 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84850
84851	* numeric.c (flo_to_s): tweak output string based to preserve
84852	  decimal point and to remove trailing zeros.  [ruby-talk:97891]
84853
84854	* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
84855	  search.  [ruby-talk:97342]
84856
84857Wed Apr 21 23:04:42 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
84858
84859	* lib/rinda/rinda.rb, test/rinda/test_rinda.rb: check Hash tuple size.
84860
84861Wed Apr 21 20:05:00 2004  Tanaka Akira  <akr@m17n.org>
84862
84863	* lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.
84864	  [ruby-list:39542]
84865
84866Wed Apr 21 18:39:46 2004  Minero Aoki  <aamine@loveruby.net>
84867
84868	* lib/net/smtp.rb: merge SMTP-TLS patch.  This patch is
84869	  contributed by Daniel Hob. [ruby-core:02789]
84870
84871Wed Apr 21 18:23:45 2004  Minero Aoki  <aamine@loveruby.net>
84872
84873	* lib/net/smtp.rb: change coding style: def m( a ) -> def m(a).
84874
84875Wed Apr 21 18:01:47 2004  Minero Aoki  <aamine@loveruby.net>
84876
84877	* lib/net/pop.rb: do not use class variables.
84878
84879	* lib/net/pop.rb (do_start): ensure to clean up connection when
84880	  authentication failed.
84881
84882Wed Apr 21 17:23:59 2004  Minero Aoki  <aamine@loveruby.net>
84883
84884	* lib/net/http.rb (HTTP#connect): CONNECT must precede SSL connect.
84885	  [ruby-dev:23379]
84886
84887	* lib/net/http.rb (HTTP.new): class variables are not inherited
84888	  now.
84889
84890Wed Apr 21 15:56:43 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84891
84892	* lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
84893	  after changing process title.  [ruby-talk:97426]
84894
84895Wed Apr 21 10:18:06 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84896
84897	* process.c(rb_spawn): fix SEGV at "p system('command line here')"
84898	 (may happen only in bccwin32) [ruby-dev:23380]
84899
84900Mon Apr 19 20:58:44 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84901
84902	* dir.c: Updated RDocs.
84903
84904Mon Apr 19 18:11:15 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84905
84906	* hash.c (rb_hash_equal): returns true if two hashes have same set
84907	  of key-value set.  [ruby-talk:97559]
84908
84909	* hash.c (rb_hash_eql): returns true if two hashes are equal and
84910	  have same default values.
84911
84912Mon Apr 19 08:19:11 2004  Doug Kearns  <djkea2@mugca.its.monash.edu.au>
84913
84914	* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
84915	  lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
84916	  lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
84917	  lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
84918	  lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
84919	  lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
84920	  lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
84921	  lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
84922	  lib/test/unit/testsuite.rb: typo fix.
84923
84924Mon Apr 19 08:14:18 2004  Dave Thomas  <dave@pragprog.com>
84925
84926	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body): Allow for
84927	  #ifdef HAVE_PROTOTYPES
84928
84929Fri Apr 16 17:04:07 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
84930
84931	* string.c (rb_str_equal): always returns true or false, never
84932	  returns nil. [ruby-dev:23404]
84933
84934Fri Apr 16 12:38:48 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84935
84936	* lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
84937	  deprecated.
84938
84939	* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
84940	  value class changed.
84941
84942	* lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
84943	  ditto.
84944
84945Fri Apr 16 08:27:08 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84946
84947	* ext/extmk.rb: skip linking when libraries to be preloaded not
84948	  compiled.  [ruby-list:39561]
84949
84950Thu Apr 15 19:57:11 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
84951
84952	* process.c (pst_success_p): new method Process::Status#success?.
84953	  [ruby-dev:23385]
84954
84955	* rubytest.rb: do nothing while cross-compiling, return status in
84956	  system independent style.
84957
84958Thu Apr 15 19:26:54 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84959
84960	* dir.c (rb_push_glob): Dir.glob() should return nil if block is given.
84961	  (http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=Dir)
84962
84963	* dir.c (push_braces): Dir.glob() should handle '{ }' nested more than
84964	  3 times.
84965
84966	* dir.c (push_braces, rb_push_glob): Dir.glob() should handle escaped
84967	  '{' and '}' and ','.
84968
84969	  [ruby-dev:23376]
84970
84971Thu Apr 15 17:12:13 2004  Tanaka Akira  <akr@m17n.org>
84972
84973	* ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,
84974	  GDBM::WRCREAT and GDBM::NEWDB.
84975	  (fgdbm_initialize): use specified read/write flag.
84976
84977Wed Apr 14 13:06:09 2004  Doug Kearns  <djkea2@mugca.its.monash.edu.au>
84978
84979	* array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c,
84980	  process.c, re.c, string.c: typos in RDoc comments.  [ruby-core:02783]
84981
84982Wed Apr 14 11:29:56 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
84983
84984	* numeric.c (flo_eq): workaround for bcc32's bug.
84985	  (ruby-bugs-ja:PR#594)
84986
84987Wed Apr 14 11:06:38 2004  Dave Thomas  <dave@pragprog.com>
84988
84989	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::scan): Changed
84990	  behavior of :enddoc: -- it now unconditionally terminates
84991	  processing of the current file.
84992
84993Wed Apr 14 10:57:40 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
84994
84995	* defines.h: include <net/socket.h> to get fd_set definition in BeOS.
84996
84997Tue Apr 13 23:00:55 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
84998
84999	* lib/rinda/rinda.rb: change pattern matching.
85000	  a === b -> a == b || a === b. [druby-ja:98]
85001
85002	* test/rinda/test_rinda.rb: ditto.
85003
85004Tue Apr 13 21:50:57 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85005
85006	* bcc32/Makefile.sub (PHONY): Borland make disallows empty command
85007	  rules.
85008
85009Tue Apr 13 17:55:16 2004  Minero Aoki  <aamine@loveruby.net>
85010
85011	* lib/net/http.rb (begin_transport): should not overwrite HTTP
85012	  request header. [ruby-list:39543]
85013
85014Tue Apr 13 16:48:00 2004  Minero Aoki  <aamine@loveruby.net>
85015
85016	* lib/net/pop.rb: merge POP3S patch.  This patch is contributed by
85017	  Daniel Hobe.
85018
85019Tue Apr 13 02:56:29 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
85020
85021	* common.mk: changed the order of ascii.c alphabetically.
85022
85023Mon Apr 12 19:11:21 2004  Eric Hodel  <drbrain@segment7.net>
85024
85025	* gc.c (rb_gc_copy_finalizer): typo.  [ruby-core:02774]
85026
85027Mon Apr 12 18:45:58 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
85028
85029	* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return
85030	  a value.
85031
85032Mon Apr 12 10:39:50 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
85033
85034	* dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):
85035	  fix memory leak. (leaked when block was interrupted)
85036
85037Sun Apr 11 19:10:13 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85038
85039	* ruby.c (require_libraries): restore source file/line after
85040	  statically linked extensions initialized.  [ruby-dev:23357]
85041
85042Sun Apr 11 10:47:04 2004  Dave Thomas  <dave@pragprog.com>
85043
85044	* lib/rdoc/code_objects.rb (RDoc::TopLevel::add_class_or_module): Toplevel
85045	  classes and modules are a special case too... (handle extending existing
85046	  classes with or without :enddoc:)
85047
85048Sat Apr 10 23:51:13 2004  Dave Thomas  <dave@pragprog.com>
85049
85050	* lib/rdoc/code_objects.rb (RDoc::Context::add_to): Implementation of :enddoc:
85051	  made one too many assumptions...
85052
85053Sat Apr 10 00:00:19 2004  Dave Thomas  <dave@pragprog.com>
85054
85055	* lib/rdoc/markup/simple_markup/inline.rb: Fix problem
85056	  with \_cat_<b>dog</b>
85057
85058Fri Apr  9 17:05:21 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
85059
85060	* dir.c (has_magic, find_dirsep): incomplete '[' matches no character
85061	  in Dir.glob. (follows File.fnmatch's behavior)
85062
85063	* dir.c (fnmatch_helper): incomplete escape is ignored in File.fnmatch.
85064	  (follows Dir.glob's behavior)
85065
85066	* dir.c (find_dirsep): '/' between '[' and ']' is ignored in Dir.glob.
85067	  (follows File.fnmatch with File::FNM_PATHNAME 's behavior)
85068
85069	* dir.c (find_dirsep): escaped slash '\/' loses its meaning as
85070	  directory separator in Dir.glob.
85071
85072	  [ruby-dev:23291]
85073
85074Thu Apr  8 20:25:19 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85075
85076	* ext/extmk.rb (extmake): skip uncompiled extensions.
85077
85078	* lib/mkmf.rb (create_makefile): emit no rules for static library if
85079	  $static is nil, e.g., outside of ext/.
85080
85081	* lib/test/unit/ui/console/testrunner.rb (test_started): show test
85082	  name via $0.
85083
85084	* runruby.rb: set environments to use the compiled binary.
85085
85086	* test/runner.rb: do nothing while cross-compiling.
85087
85088	* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
85089	  know ruby binary, and restore $: after require.
85090
85091	* test/ruby/envutil.rb: give priority to RUBY environment variable to
85092	  use just compiled binary and libraries.
85093
85094Thu Apr  8 19:03:33 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85095
85096	* io.c (rb_io_binmode): inverted condition.  [ruby-dev:23349]
85097
85098Thu Apr  8 18:22:00 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85099
85100	* ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
85101	  is given.  [ruby-dev:23063]
85102
85103Wed Apr  7 15:29:24 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85104
85105	* pack.c (pack_pack): use NUM2INT() instead of num2i32().
85106
85107Wed Apr  7 12:32:02 2004  Kouhei Sutou  <kou@cozmixng.org>
85108
85109	* lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
85110	  resource attribute in rdf:li.
85111	* test/rss/test_parser.rb: added test for above change.
85112
85113	* lib/rss/dublincore.rb: reverted style.
85114
85115	* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
85116
85117Wed Apr  7 10:43:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85118
85119	* Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
85120	  doesn't work for object files on VC.
85121
85122	* */Makefile.sub (config.h): need SIZEOF_TIME_T now.
85123
85124Wed Apr  7 00:24:34 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
85125
85126	* lib/rinda/rinda.rb: fix hash tuple bug.
85127
85128	* lib/rinda/tuplespace.rb: ditto.
85129
85130	* test/rinda/test_rinda.rb
85131
85132Tue Apr  6 18:24:18 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85133
85134	* file.c (rb_get_path): get path string via "to_path" method if
85135	  path object is not a string. [Ruby2]
85136
85137	* gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
85138	  exit finalizers.
85139
85140	* io.c (rb_io_reopen): should use rb_io_check_io().
85141
85142Tue Apr  6 16:46:09 2004  Tanaka Akira  <akr@m17n.org>
85143
85144	* configure.in: check the size of time_t.
85145
85146	* time.c (time_add): new function.
85147	  (time_plus): use time_add.
85148	  (time_minus): use time_add.
85149
85150Tue Apr  6 13:11:48 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
85151
85152	* ext/socket/socket.c (raise_socket_error): never return.
85153
85154	* ext/socket/socket.c (make_hostent): must return value.
85155
85156Tue Apr  6 00:14:43 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85157
85158	* error.c (Init_Exception): remove Exception#to_str. [Ruby2]
85159
85160	* eval.c (error_print): should no call "to_str" anymore use
85161	  "message" method instead.
85162
85163	* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
85164	  argument responds to it. [Ruby2]
85165
85166Tue Apr  6 00:13:43 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
85167
85168	* lib/rinda/rinda.rb: add require 'drb/drb'
85169
85170Mon Apr  5 22:25:32 2004  Tanaka Akira  <akr@m17n.org>
85171
85172	* test/zlib/test_zlib.rb: new file.
85173	  (TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].
85174
85175Mon Apr  5 22:16:23 2004  Minero Aoki  <aamine@loveruby.net>
85176
85177	* parse.y (assoc_list): {a: 1, b: 2} should be allowed.
85178	  [ruby-dev:23328]
85179
85180Mon Apr  5 19:43:40 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
85181
85182	* regexec.c: imported Oni Guruma 2.2.6.
85183
85184Mon Apr  5 19:39:10 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
85185
85186	* regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
85187
85188Mon Apr  5 12:12:09 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
85189
85190	* ext/socket/socket.c (raise_socket_error): some platforms don't have
85191	  EAI_SYSTEM.
85192
85193Mon Apr  5 08:18:23 2004  Dave Thomas  <dave@pragprog.com>
85194
85195	* lib/rdoc/rdoc.rb: Remove leading ./ from file names so that cross
85196	  references work properly.
85197
85198Sun Apr  4 14:01:20 2004  Dave Thomas  <dave@pragprog.com>
85199
85200	* lib/rdoc/options.rb (Options::parse): Allow multiple -x options to
85201	  RDoc. Fix bug where files weren't being excluded properly
85202
85203Sat Apr  3 09:36:38 2004  why the lucky stiff  <why@ruby-lang.org>
85204
85205	* ext/syck/syck.h: version 0.43.
85206
85207Sat Apr  3 08:28:47 2004  why the lucky stiff  <why@ruby-lang.org>
85208
85209	* ext/syck/lib/gram.c: allow root-level inline collections.
85210	  [ruby-talk:94922]
85211
85212	* lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
85213	  [ruby-talk:94930]
85214
85215Fri Apr  2 19:28:48 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85216
85217	* bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
85218
85219Fri Apr  2 18:00:05 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85220
85221	* ext/extmk.rb (extmake): extract necessary variables for static link
85222	  from Makefile.
85223
85224	* lib/mkmf.rb (create_makefile): save preload and libpath for next
85225	  compile.
85226
85227Fri Apr  2 17:27:17 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85228
85229	* eval.c (top_include): include in the wrapped load is done for
85230	  the wrapper, not for a singleton class for wrapped main.
85231	  [ruby-dev:23305]
85232
85233Fri Apr  2 15:13:44 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85234
85235	* bignum.c (rb_big_eq): use temporary double variable to save the
85236	  result (internal float register may be bigger than 64 bits, for
85237	  example, 80 bits on x86).  [ruby-dev:23311]
85238
85239Fri Apr  2 14:35:26 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85240
85241	* eval.c (block_pass): should generate unique identifier of the
85242	  pushing block.  [ruby-talk:96363]
85243
85244Fri Apr  2 11:36:20 2004  Minero Aoki  <aamine@loveruby.net>
85245
85246	* eval.c (Init_load): make $LOADED_FEATURES built-in.
85247	  [ruby-dev:23299]
85248
85249	* ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
85250
85251	* lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.
85252
85253Fri Apr  2 07:31:38 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85254
85255	* ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.
85256	  [ruby-list:39475]
85257
85258	* ext/socket/socket.c (make_hostent): fix memory leak, based on
85259	  the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.
85260
85261Thu Apr  1 22:55:33 2004  Dave Thomas  <dave@pragprog.com>
85262
85263	* lib/rdoc/parsers/parse_rb.rb: Allow rdoc comments in
85264	  =begin rdoc/=end
85265
85266	* lib/rdoc/parsers/parse_rb.rb: Fix problem with comment in
85267	  top-level method being taken as file comment.
85268
85269Thu Apr  1 22:55:04 2004  Dave Thomas  <dave@pragprog.com>
85270
85271	* lib/rdoc/ri/ri_options.rb: Fix undefined variable warning.
85272
85273Thu Apr  1 19:58:37 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
85274
85275	* lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
85276	  object with soap/marshal.
85277	  added URIFactory class for URI mapping.  BasetypeFactory checks
85278	  instance_variables when original mapping is not allowed (ivar must
85279	  be empty).  Instance of URI have instance_variables but it must be
85280	  llowed whenever original mapping is allowed or not.
85281
85282Wed Mar 31 19:06:23 2004  Tanaka Akira  <akr@m17n.org>
85283
85284	* time.c (year_leap_p): new function.
85285	  (timegm_noleapsecond): ditto.
85286	  (search_time_t): use timegm_noleapsecond instead of
85287	  mktime for first guess.
85288
85289Wed Mar 31 12:05:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85290
85291	* lib/delegate.rb (DelegateClass): define internal methods of the
85292	  result class, but not metaclass of the caller.  [ruby-talk:96156]
85293
85294	* intern.h: provide proper prototypes.  [ruby-core:02724]
85295
85296	* ruby.h: missing.h is now prerequisite to intern.h.
85297
85298Wed Mar 31 11:17:16 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85299
85300	* pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
85301	  range.  [ruby-dev:23281]
85302
85303	* io.c (rb_io_binmode): stdio buffer should be empty when calling
85304	  IO#binmode.  [ruby-talk:96155]
85305
85306Tue Mar 30 20:25:34 2004  Tanaka Akira  <akr@m17n.org>
85307
85308	* time.c (search_time_t): limit guess range by mktime if it is
85309	  available.  [ruby-dev:23274]
85310
85311Tue Mar 30 18:19:00 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85312
85313	* eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
85314	  [ruby-dev:23227]
85315
85316Mon Mar 29 20:17:16 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85317
85318	* process.c (rb_exec): follow older behavior if close-on-exec is not
85319	  available.
85320
85321	* process.c (rb_fork): protect from exceptions while waiting failed
85322	  process, if status is given.
85323
85324Sun Mar 28 16:25:37 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85325
85326	* cygwin/GNUmakefile.in (clean-local, distclean-local): remove
85327	  work files.
85328
85329	* win32/Makefile.sub (clean-local): ditto.
85330
85331Sun Mar 28 14:23:02 2004  Minero Aoki  <aamine@loveruby.net>
85332
85333	* lib/net/pop.rb: def m( arg ) -> def m(arg).
85334
85335Sun Mar 28 14:09:13 2004  Minero Aoki  <aamine@loveruby.net>
85336
85337	* lib/net/pop.rb (auth): failed when account/password include "%".
85338	  [ruby-talk:95933]
85339
85340Sat Mar 27 21:40:41 2004  Tanaka Akira  <akr@m17n.org>
85341
85342	* lib/open-uri.rb: permit extra semicolon in content-type field.
85343
85344Sat Mar 27 10:40:48 2004  Tanaka Akira  <akr@m17n.org>
85345
85346	* (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
85347	  instead of PrettyPrint.
85348
85349Sat Mar 27 01:47:09 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
85350
85351	* lib/logger.rb: trim tail space of each line.  no user visible change.
85352
85353	* lib/rss/dublincore.rb: fixed class definition mismatch.
85354
85355	* sample/openssl/gen_csr.rb: fixed wrong usage text.
85356
85357Thu Mar 25 23:15:24 2004  Dave Thomas  <dave@pragprog.com>
85358
85359	* lib/rdoc/ri/ri_options.rb (RI::Options::show_version):
85360	  Add --version option
85361
85362Thu Mar 25 21:45:00 2004  Shigeo Kobayashi  <shigek@ruby-lang.org>
85363
85364	* ext/bigdecimal/bigdecimal.c: Bug in + and - reported by Bret Jolly
85365	  fixed.
85366
85367Thu Mar 25 21:01:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85368
85369	* version.c (ruby_show_copyright): obtain copyright year from
85370	  RUBY_RELEASE_YEAR.
85371
85372	* win32/resource.rb: ditto.
85373
85374Thu Mar 25 19:37:35 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85375
85376	* win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
85377	  include them.
85378
85379	* win32/resource.rb: include winver.h for older WindowsCE.
85380
85381Thu Mar 25 14:01:03 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85382
85383	* common.mk, */Makefile.sub (lib, dll): phony targets.
85384
85385	* configure.in (ruby, miniruby): ditto.
85386
85387	* cygwin/GNUmakefile.in (rubyw): ditto.
85388
85389Thu Mar 25 04:16:18 2004  Dave Thomas  <dave@pragprog.com>
85390
85391	* lib/rdoc/ri/ri_options.rb (RI::Options): Add the --list-names option,
85392	  which dumps our all known names
85393
85394Thu Mar 25 03:57:47 2004  Dave Thomas  <dave@pragprog.com>
85395
85396	* lib/rdoc/ri/ri_util.rb (NameDescriptor::initialize): No longer
85397	  allow nested classes to be designated using "."--you must
85398	  now use "::"
85399
85400Thu Mar 25 02:00:18 2004  Dave Thomas  <dave@pragprog.com>
85401
85402	* lib/rdoc/generators/template/html/one_page_html.rb (Page):
85403	  Fix to work with C modules.
85404
85405Wed Mar 24 20:49:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
85406
85407	* lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
85408	* lib/uri/common.rb: Ditto.
85409	* lib/uri/ftp.rb: Ditto.
85410	* lib/uri/generic.rb: Ditto.
85411	* lib/uri/http.rb: Ditto.
85412	* lib/uri/https.rb: Ditto.
85413	* lib/uri/ldap.rb: Ditto.
85414	* lib/uri/mailto.rb: Ditto.
85415
85416Wed Mar 24 18:48:05 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85417
85418	* lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
85419	  DESTDIR after installed.
85420
85421	* lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.
85422
85423Wed Mar 24 12:32:56 2004  Dave Thomas  <dave@pragprog.com>
85424
85425	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_class_module):
85426	  Don't document methods if we don't know for sure the
85427	  class or module.
85428
85429	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
85430	  Don't store documentation for singleton classes if we
85431	  don't know the real class.
85432
85433Wed Mar 24 11:11:26 2004  Dave Thomas  <dave@pragprog.com>
85434
85435	* lib/rdoc/generators/html_generator.rb (Generators::HTMLGenerator::load_html_template):
85436	  Allow non-RDoc templates by putting a slash in the template name
85437
85438Wed Mar 24 10:05:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85439
85440	* lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
85441	  until the file is really removed. [ruby-core:02684]
85442
85443Wed Mar 24 04:12:44 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85444
85445	* object.c (rb_mod_cvar_get): new method Module#class_variable_get.
85446
85447	* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).
85448
85449Tue Mar 23 17:45:22 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85450
85451	* eval.c (rb_thread_atfork): 1.9 warns no more for thread
85452	  termination.  [ruby-dev:23212]
85453
85454Tue Mar 23 14:46:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85455
85456	* Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
85457	  separate files under directories due to directory separator.
85458
85459	* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
85460	  removed.
85461
85462	* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
85463	  rules.
85464
85465	* cygwin/GNUmakefile.in: some mingw stuffs were missed.
85466
85467	* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
85468	  from command lines.
85469
85470	* bcc32/Makefile.sub: needs bcc32/mkexports.rb.
85471
85472Mon Mar 22 08:21:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85473
85474	* Makefile.in, */Makefile.sub, common.mk: extract common portions.
85475
85476	* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
85477	  separated time stamp file for rbconfig.rb.
85478
85479	* configure.in: append common.mk to Makefile.
85480
85481	* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
85482
85483	* win32/rm.bat: remove multiple files.
85484
85485	* wince/mkconfig_wce.rb: use fake.rb instead.
85486
85487Sun Mar 21 22:17:35 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
85488
85489	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
85490	  sort @virtual_hosts in address, port, host order.
85491
85492	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
85493	  hostname should not be match if :ServerAlias is not given.
85494
85495Sun Mar 21 21:11:16 2004  Keiju Ishitsuka  <keiju@ishitsuka.com>
85496
85497	* lib/shell/*: bug fix for Shell#system(command_line_string).
85498
85499Sun Mar 21 21:04:42 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
85500
85501	* ruby.1: add -width option to .Bl for old groff.
85502
85503Sun Mar 21 18:57:37 2004  Kouhei Sutou  <kou@cozmixng.org>
85504
85505	* test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
85506	  Test::Unit::Assertions -> RSS::Assertions.
85507
85508Sun Mar 21 18:48:20 2004  Kouhei Sutou  <kou@cozmixng.org>
85509
85510	* lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
85511
85512Sun Mar 21 18:15:29 2004  Kouhei Sutou  <kou@cozmixng.org>
85513
85514	* test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
85515
85516	* lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
85517	  function.
85518
85519Sat Mar 20 23:51:03 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
85520
85521	* eval.c (rb_require_safe): preserve old ruby_errinfo.
85522	  [ruby-talk:95409]
85523
85524	* eval.c (rb_f_raise): should not clear backtrace information if
85525	  exception object already have one.
85526
85527Sat Mar 20 21:21:03 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
85528
85529	* ext/extmk.rb: rm -rf $extout, not extout.
85530
85531Sat Mar 20 15:25:36 2004  Dave Thomas  <dave@pragprog.com>
85532
85533	* lib/rdoc/generators/template/html/html.rb (RDoc::Page): Force
85534	  page background to white.
85535
85536Sat Mar 20 09:33:36 2004  Tadayoshi Funaba  <tadf@dotrb.org>
85537
85538	* lib/date.rb, lib/date/format.rb: _parse() now accepts fractional
85539	  part of second minute that follows a comma or a full stop.
85540
85541Fri Mar 19 21:06:21 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85542
85543	* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
85544	  this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
85545
85546Fri Mar 19 15:15:15 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85547
85548	* variable.c (rb_cvar_set): class variables become private to the
85549	  particular class/module. [Ruby2]
85550
85551	* variable.c (rb_cvar_get): ditto.
85552
85553	* variable.c (rb_cvar_defined): ditto.
85554
85555Fri Mar 19 11:31:32 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
85556
85557	* lib/mkmf.rb ($beos, $solaris): add OS flags.
85558
85559	* lib/mkmf.rb (RUBY): / is not recognized as path separator on
85560	   nmake/bmake. [ruby-list:39388]
85561
85562	* lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.
85563
85564Fri Mar 19 01:55:57 2004  Mauricio Fernandez  <batsman.geo@yahoo.com>
85565
85566	* io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
85567
85568Thu Mar 18 19:47:44 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
85569
85570	* instruby.rb, rubytest.rb: do not depend on srcdir.
85571
85572Thu Mar 18 18:50:06 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85573
85574	* mkconfig.rb: no longer embed srcdir and compile_dir into
85575	  rbconfig.rb.
85576
85577	* ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
85578	  paths.
85579
85580Thu Mar 18 17:46:35 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
85581
85582	* lib/drb/drb.rb: do not undef :to_a.
85583
85584Thu Mar 18 16:22:38 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85585
85586	* eval.c (proc_eq): avoid false positive by using scope and
85587	  dyna_vars.  no longer use frame.uniq.
85588
85589	* eval.c (proc_arity): arity is now defined as number of
85590	  parameters that would not be ignored. i.e. Proc.new{}.arity
85591	  returns zero.  update test suites too.
85592
85593Thu Mar 18 15:27:25 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85594
85595	* eval.c: remove specialized version of rb_Array().  use simple
85596	  one defined in object.c.
85597
85598	* object.c (Init_Object): remove Kernel#to_a.
85599
85600	* enum.c (enum_zip): use "to_a" instead of "to_ary".
85601
85602Wed Mar 17 00:22:03 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
85603
85604	* oniguruma.h: imported Oniguruma 2.2.5.
85605	* regparse.c: ditto.
85606
85607Tue Mar 16 11:14:17 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
85608
85609	* dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
85610	  (Rev1.112 lost compatiblity)
85611
85612	* dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
85613	  should return true. (Rev1.112 lost compatiblity)
85614
85615	* dir.c (fnmatch): File.fnmatch('**/.boo', '.foo/.boo',
85616	  File::FNM_PATHNAME) should return false because of leading period.
85617
85618Mon Mar 15 17:01:07 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85619
85620	* error.c (exc_initialize): calling 'to_str' each time just for
85621	  type checking is too heavy.  [ruby-core:02661]
85622
85623Mon Mar 15 10:14:51 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
85624
85625	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
85626	  add do_not_reverse_lookup.
85627
85628Mon Mar 15 07:39:13 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85629
85630	* eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
85631	  yield is not break destination. [ruby-dev:23197]
85632
85633Sun Mar 14 22:07:38 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85634
85635	* eval.c (rb_thread_raise): err at unstarted thread.  (PR#1302)
85636
85637Sat Mar 13 14:56:32 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
85638
85639	* test/drb/ut_drb.rb: use 'druby://localhost:0'. [ruby-dev:23078]
85640
85641	* test/drb/ut_eval.rb: ditto.
85642
85643	* test/drb/ut_large.rb: ditto.
85644
85645	* test/drb/ut_safe1.rb: ditto.
85646
85647	* test/drb/ut_drb_drbssl.rb: use 'drbssl://localhost:0'.
85648
85649Fri Mar 12 23:52:56 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
85650
85651	* dir.c (fnmatch): directory recursion '**/' can be used with
85652	  File::FNM_PATHNAME. [ruby-dev:22901]
85653
85654	* dir.c (fnmatch, fnmatch_helper): only '/' is accepted as path
85655	  separator even in DOSISH environment. [ruby-dev:22974]
85656	  [ruby-list:39337]
85657
85658	* dir.c (fnmatch_helper): faster '*' matching.
85659
85660Fri Mar 12 20:19:16 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85661
85662	* configure.in (rb_cv_noreturn): default for platforms not support
85663	  prototypes.
85664
85665	* ruby.c (ruby_init_loadpath): buffer for path name should have
85666	  MAXPATHLEN.
85667
85668	* lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.
85669
85670	* lib/mkmf.rb (create_makefile): default dependency rule.
85671
85672Fri Mar 12 07:35:36 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
85673
85674	* lib/webrick/config.rb (WEBrick::Config::General): add
85675	  :DoNotReverseLookup.
85676
85677	* lib/webrick/server.rb (WEBrick::GenericServer#accept): call
85678	  do_not_reverse_lookup for each socket if :DoNotReverseLookup
85679	  is set.  [ruby-code:02357]
85680
85681Wed Mar 10 22:26:25 2004  Minero Aoki  <aamine@loveruby.net>
85682
85683	* lib/fileutils.rb (remove_dir): should handle symlink correctly.
85684	  This patch is contributed by Christian Loew.  [ruby-talk:94635]
85685
85686Wed Mar 10 16:28:42 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85687
85688	* eval.c (return_jump): set return value to the return
85689	  destination.  separated from localjump_destination().
85690
85691	* eval.c (break_jump): break innermost loop (or thread or proc).
85692
85693	* eval.c (rb_yield_0): set exit_value for block break.
85694
85695Wed Mar 10 16:00:14 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85696
85697	* struct.c (rb_struct_s_def): Struct::new executes block with
85698	  generated struct class. [ruby-talk:02606]
85699
85700Wed Mar 10 15:58:43 2004  Ryan Davis  <ryand-ruby@zenspider.com>
85701
85702	* eval.c (eval): Only print backtrace if generating the backtrace
85703	  doesn't generate an exception.  [ruby-core:02621]
85704
85705Wed Mar 10 10:15:16 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
85706
85707	* ruby.c (opt_W_getter): get rid of warning.
85708
85709	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
85710	  fixed dependency.
85711
85712Tue Mar  9 13:04:26 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85713
85714	* io.c (rb_io_ungetc): raise IOError instead of calling
85715	  rb_sys_fail().  [ruby-talk:23181]
85716
85717Tue Mar  9 10:03:40 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
85718
85719	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
85720	  replaced regex.c entry with Oniguruma files.
85721
85722Tue Mar  9 01:09:46 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
85723
85724	* Makefile.in: replaced regex.c entry with Oniguruma files.
85725
85726Mon Mar  8 23:16:07 2004  Minero Aoki  <aamine@loveruby.net>
85727
85728	* lib/net/http.rb: HTTPHeader did not initialized correctly.
85729
85730	* lib/net/http.rb (connect): does same debug output.
85731
85732Mon Mar  8 21:38:18 2004  Minero Aoki  <aamine@loveruby.net>
85733
85734	* lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
85735
85736Mon Mar  8 21:09:39 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
85737
85738	* dir.c (range): Cancel change for incomplete '['. More discussion
85739	  is needed.
85740
85741Mon Mar  8 19:35:13 2004  akira yamada  <akira@arika.org>
85742
85743	* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
85744	  -> (?::#{PORT}).  [ruby-dev:23170]
85745
85746Mon Mar  8 15:03:24 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
85747
85748	* dir.c (range): treat incomplete '[' as ordinary character (like
85749	  has_magic does). fix buffer overrun at incomplete escape like '[\'.
85750
85751Mon Mar  8 13:35:32 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
85752
85753	* regparse.c (parse_exp): need to separate initialization for bcc32.
85754	  [ruby-dev:23169]
85755
85756	* oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.
85757
85758Mon Mar  8 01:05:55 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
85759
85760	* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
85761	  to :RequestCallback and add new option :ServerAlias.
85762
85763	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
85764	  :RequestCallback and warn if :RequestHandler is in server's option.
85765
85766	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
85767	  error message for WEBrick::HTTPSataus::Error.
85768
85769	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
85770	  lookup for hostname from :ServerAlias if the req.host is not match
85771	  to :ServerName.
85772
85773	* lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
85774	  use $?.exitstatus and refine log message.
85775
85776Sun Mar  7 16:22:26 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
85777
85778	* Makefile.in (lex.c): use $? instead of $<.
85779
85780	* lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.
85781	  [ruby-dev:23157]
85782
85783Sun Mar  7 05:34:42 2004  Minero Aoki  <aamine@loveruby.net>
85784
85785	* lib/net/http.rb: HTTPHeader keeps its header fields as an array.
85786
85787	* lib/net/http.rb: new method HTTPHeader#add_header, get_fields.
85788
85789	* lib/net/http.rb: new method HTTPHeader#content_length=.
85790
85791	* lib/net/http.rb: new method HTTPHeader#content_type, main_type,
85792	  sub_type, type_params, content_type=, set_content_type.
85793
85794	* lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may
85795	  contain multiple LFs.
85796
85797Sun Mar  7 03:11:00 2004  Minero Aoki  <aamine@loveruby.net>
85798
85799	* lib/net/http.rb: new method Net::HTTPRequest#body(=).
85800
85801	* lib/net/http.rb: new method Net::HTTPRequest#body_stream(=).
85802
85803Sun Mar  7 02:06:07 2004  Minero Aoki  <aamine@loveruby.net>
85804
85805	* lib/net/http.rb: spin off https code again.
85806
85807	* lib/net/https.rb: new file.
85808
85809	* ext/openssl/lib/net/https.rb: removed.  moved to net/https with
85810	  slight modifications.
85811
85812	* ext/openssl/lib/net/protocols.rb: removed.  merged with net/http.
85813
85814	* lib/net/protocol.rb: new class BufferedIO.
85815
85816	* lib/net/protocol.rb: InternetMessageIO < BufferedIO.
85817
85818	* lib/net/protocol.rb: BufferedIO.new takes an IO.
85819
85820	* lib/net/smtp.rb: follow InternetMessageIO's change.
85821
85822	* lib/net/pop.rb: ditto.
85823
85824Sun Mar  7 00:55:03 2004  Minero Aoki  <aamine@loveruby.net>
85825
85826	* lib/net/protocol.rb: remove method: InternetMessageIO#address,
85827	  port, ip_address, read_timeout(=), socket.
85828
85829	* lib/net/protocol.rb: simplify code.
85830
85831	* lib/net/protocol.rb: apply latest coding style.
85832
85833Sat Mar  6 15:15:05 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85834
85835	* ext/strscan/depend: depends on re.h and regex.h.
85836
85837	* ext/strscan/strscan.c: no version check needed.
85838
85839	* ext/strscan/strscan.c (strscan_init_copy): struct re_registers must
85840	  not be bitwise copied.
85841
85842Sat Mar  6 11:14:33 2004  David Black  <dblack@wobblini.net>
85843
85844	* lib/scanf.rb: refixed the previous fix in IO#block_scanf
85845
85846Sat Mar  6 10:49:40 2004  David Black  <dblack@wobblini.net>
85847
85848	* lib/scanf.rb: fixed a logic glitch in IO#block_scanf
85849
85850Sat Mar  6 02:00:19 2004  Minero Aoki  <aamine@loveruby.net>
85851
85852	* lib/net/http.rb: net/https is merged.
85853
85854	* ext/openssl/lib/net/https.rb: ditto.
85855
85856Sat Mar  6 00:39:21 2004  Kazuo Saito  <ksaito@uranus.dti.ne.jp>
85857
85858	* oniggnu.h: imported from Oniguruma library.
85859	* oniguruma.h: ditto.
85860	* regcomp.c: ditto.
85861	* regenc.c: ditto.
85862	* regenc.h: ditto.
85863	* regerror.c: ditto.
85864	* regex.c: ditto.
85865	* regexec.c: ditto.
85866	* reggnu.c: ditto.
85867	* regint.h: ditto.
85868	* regparse.c: ditto.
85869	* regparse.h: ditto.
85870	* ascii.c: ditto.
85871	* euc_jp.c: ditto.
85872	* sjis.c: ditto.
85873	* utf8.c: ditto.
85874
85875	* MANIFEST: added Oniguruma files listed above.
85876
85877	* LEGAL: added Oniguruma license.
85878
85879	* regex.h: now includes oniggnu.h.
85880
85881	* re.c: applied Oniguruma patch.
85882
85883Fri Mar  5 23:13:08 2004  Minero Aoki  <aamine@loveruby.net>
85884
85885	* lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK,
85886	  UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL.
85887	  This patch is contributed by Tatsuki Sugiura.
85888
85889Fri Mar  5 20:58:37 2004  Minero Aoki  <aamine@loveruby.net>
85890
85891	* lib/net/http.rb: Net::HTTPResponse#response is obsolete.
85892	  [ruby-core:02592]
85893
85894	* lib/net/http.rb: Net::HTTPResponse#header is obsolete.
85895
85896	* lib/net/http.rb: Net::HTTPResponse#read_header is obsolete.
85897
85898Fri Mar  5 20:10:57 2004  Minero Aoki  <aamine@loveruby.net>
85899
85900	* ext/strscan/strscan.c: new method StringScanner#initialize_copy
85901	  to allow #dup and #clone.
85902
85903	* test/strscan/test_strscan.rb: test StringScanner#dup.
85904
85905Fri Mar  5 19:42:09 2004  Minero Aoki  <aamine@loveruby.net>
85906
85907	* lib/net/http.rb (HTTPResponse#to_ary): should return an object
85908	  which does not respond to #to_ary.  It causes infinite loop in
85909	  puts. [ruby-core:02578]
85910
85911Fri Mar  5 00:51:35 2004  Dave Thomas  <dave@pragprog.com>
85912
85913	* lib/test/unit.rb: Move RDoc documentation so that you can
85914	  now say 'ri Test::Unit'
85915
85916Thu Mar  4 22:31:40 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85917
85918	* Makefile.in: miniruby is not needed for cross compile.
85919
85920	* configure.in (PREP): miniruby for native compile.
85921
85922Thu Mar  4 11:46:32 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85923
85924	* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
85925	  detach server processes to get rid of zombies.
85926
85927Thu Mar  4 10:41:25 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85928
85929	* ruby.h (T_MASK): save 1 bit in flags bits by shifting T_xxx
85930	  values.
85931
85932Thu Mar  4 08:08:36 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85933
85934	* ext/syck/rubyext.c: get rid of warnings.
85935
85936	* lib/rss/taxonomy.rb: ditto.
85937
85938	* lib/rdoc/ri/ri_formatter.rb: ditto.
85939
85940	* test/ruby/test_assignment.rb: ditto.
85941
85942Thu Mar  4 01:17:28 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85943
85944	* lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
85945	  pager terminates.
85946
85947Wed Mar  3 13:10:56 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
85948
85949	* eval.c (method_hash): new method. [ruby-talk:93968]
85950
85951	* eval.c (proc_eq): do not compare dyna_vars.
85952
85953	* eval.c (proc_hash): new method.
85954
85955	* eval.c (rb_yield_0): protect break/return from within orphan (or
85956	  lambda) Proc object.
85957
85958Wed Mar  3 09:52:05 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85959
85960	* lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
85961	  [ruby-talk:94098]
85962
85963Wed Mar  3 01:18:52 2004  Kouhei Sutou  <kou@cozmixng.org>
85964
85965	* lib/rss/converter.rb: handled Uconv::Error.
85966
85967	* lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel
85968
85969Wed Mar  3 00:59:30 2004  David Black  <dblack@wobblini.net>
85970
85971	* lib/scanf.rb: soak_up_spaces only ungetc's non-space last
85972	  character
85973
85974	* lib/scanf.rb: IO#block_scanf now returns partial last iteration
85975	  array if format string matches partly
85976
85977Tue Mar  2 16:30:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
85978
85979	* io.c (pipe_open): erred program name should be reported by
85980	  exceptions, instead of the first argument.
85981
85982	* process.c (rb_spawn): ditto.
85983
85984	* process.c (proc_spawn_v): use first argument as program name.
85985
85986	* win32/win32.c (rb_w32_aspawn): ditto.
85987
85988	* win32/win32.c (CreateChild): search executable file if no program
85989	  name given.
85990
85991	* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
85992	  [ruby-dev:23103]
85993
85994	* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
85995	  [ruby-dev:23086], [ruby-dev:23103]
85996
85997	* lib/rdoc/diagram.rb (convert_to_png): ditto.
85998
85999	* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.
86000
86001Tue Mar  2 12:24:03 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86002
86003	* win32/Makefile.sub, wince/Makefile.sub (config.h): shouldn't check
86004	  defined? NORETURN. [ruby-dev:23100]
86005
86006Tue Mar  2 11:28:40 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86007
86008	* test/ruby/test_iterator.rb (test_ljump): cannot use
86009	  assert_nothing_raised due to passing block.
86010
86011Tue Mar  2 06:23:14 2004  David Black  <dblack@wobblini.net>
86012
86013	* lib/scanf.rb: fixed Kernel#scanf to propagate code block
86014
86015Mon Mar  1 23:25:40 2004  David Black  <dblack@wobblini.net>
86016
86017	* lib/scanf.rb: Partial fix so STDIN#scanf works with new
86018	 STDIN#pos behavior
86019
86020Mon Mar  1 19:42:05 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86021
86022	* bcc32/setup.mak: configure's default is "--enable-install-doc"
86023
86024	* win32/setup.mak: ditto.
86025
86026Mon Mar  1 12:24:10 2004  Dave Thomas  <dave@pragprog.com>
86027
86028	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_alias):
86029	  Allow aliases to have parentheses
86030
86031Sun Feb 29 23:14:53 2004  Dave Thomas  <dave@pragprog.com>
86032
86033	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
86034	  Handle :nodoc: on singleton classes.
86035
86036Sat Feb 28 21:50:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86037
86038	* bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
86039	  bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
86040	  instead of ``make DESTDIR=dir install''.
86041	  --with-static-linked-ext support on bccwin32. [ruby-dev:23034]
86042
86043Sat Feb 28 21:50:20 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86044
86045	* bcc32/setup.mak: "configure --disable-install-doc" is now working.
86046
86047	* win32/setup.mak: ditto.
86048
86049Sat Feb 28 15:09:49 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86050
86051	* bcc32/configure.bat: append missing label ":exit".
86052
86053	* bcc32/configure.bat: fix typo.
86054
86055Sat Feb 28 10:31:03 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86056
86057	* MANIFEST: add test_erb.rb
86058
86059	* lib/erb.rb, test/erb/test_erb.rb: don't forget filename,
86060	  if both filename and safe_level given. [ruby-dev:23050]
86061
86062Sat Feb 28 01:08:40 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86063
86064	* parse.y (yylex): should not allow symbol for invalid global
86065	  variable (e.g. `:$-)`). [ruby-core:02518]
86066
86067Fri Feb 27 20:37:09 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86068
86069	* eval.c (proc_invoke): no orphan block check is needed when pcall
86070	  is true.
86071
86072	* eval.c (localjump_destination): update localjump condition.
86073
86074Fri Feb 27 02:10:49 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86075
86076	* eval.c (localjump_destination): lambda should not interfere
86077	  return from the yielded block.
86078
86079Fri Feb 27 00:53:49 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86080
86081	* lib/drb/drb.rb, test/drb/drbtest.rb: require drb/eq.rb by default
86082
86083Thu Feb 26 12:15:02 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86084
86085	* win32/win32.c (make_cmdvector): adjust successive double-quote
86086	  handling.
86087
86088Thu Feb 26 09:42:56 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86089
86090	* hash.c (delete_if_i): use st_delete_safe() (via
86091	  rb_hash_delete()) instead of returning ST_DELETE.
86092
86093Thu Feb 26 02:35:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86094
86095	* process.c (rb_f_exec): get rid of SEGV when exec failed for command
86096	  in single string.
86097
86098Wed Feb 25 21:17:33 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86099
86100	* gc.c (obj_free), io.c (rb_io_fptr_finalize), rubyio.h (OpenFile):
86101	  sharing OpenFile.
86102
86103	* io.c (rb_io_initialize): accept IO instance.  [ruby-dev:22195]
86104
86105Wed Feb 25 21:16:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86106
86107	* instruby.rb (with_destdir): should return the given argument if no
86108	  DESTDIR is given.
86109
86110	* instruby.rb: use path name expansion of cmd.exe.
86111
86112Wed Feb 25 20:44:45 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86113
86114	* lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:
86115	  warn with caller position.
86116
86117	* test/rss/test_content.rb, test/rss/test_dublincore.rb,
86118	  test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
86119	  instead of cgi-lib.
86120
86121Tue Feb 24 18:42:03 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86122
86123	* dir.c (glob_helper): '**/' should not match leading period
86124	  unless File::FNM_DOTMATCH is set. (like '*/') [ruby-dev:23014]
86125
86126Tue Feb 24 18:03:14 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86127
86128	* test/ruby/test_file.rb (test_fnmatch): test for dir.c:1.108.
86129
86130Tue Feb 24 17:07:17 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86131
86132	* dir.c (fnmatch): File.fnmatch with File::FNM_PATHNAME was broken
86133	  for the pattern including '*' followed by '/'.
86134
86135Tue Feb 24 13:22:21 2004  Dave Thomas  <dave@pragprog.com>
86136
86137	* lib/rdoc/rdoc.rb (RDoc::RDoc::normalized_file_list): Attempt to get better
86138	  heuristics on which files to include and exclude. Now only include
86139	  non-standard files if they are explicitly named in ARGV.
86140
86141Tue Feb 24 07:23:30 2004  Dave Thomas  <dave@pragprog.com>
86142
86143	* lib/rdoc/generators/html_generator.rb: Deal with :stopdoc: when
86144	  choosing a default main page to display (ie. don't select a page
86145	  if we don't have documentation for it).
86146
86147Tue Feb 24 06:40:14 2004  Dave Thomas  <dave@pragprog.com>
86148
86149	* lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_identifier): Handle
86150	  class variables in code listings
86151
86152Tue Feb 24 06:32:27 2004  Dave Thomas  <dave@pragprog.com>
86153
86154	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_aliases): Handle
86155	  aliases in C files.
86156
86157Tue Feb 24 06:16:22 2004  Dave Thomas  <dave@pragprog.com>
86158
86159	* lib/rdoc/rdoc.rb (RDoc::RDoc::document): Now create op dir _before_
86160	  parsing files.
86161
86162Tue Feb 24 06:08:47 2004  Dave Thomas  <dave@pragprog.com>
86163
86164	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_constant):
86165	  Start collecting text of constant values earlier: was missing
86166	  values in output if there was no space after '='
86167
86168Tue Feb 24 06:08:25 2004  Dave Thomas  <dave@pragprog.com>
86169
86170	* lib/rdoc/generators/html_generator.rb: Escape contant values.
86171
86172Tue Feb 24 03:45:06 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
86173
86174	* ext/openssl/ossl_config.c (ossl_config_each): add new method
86175	  OpenSSL::Config#each. it iterates with section name, field name
86176	  and value.
86177
86178	* ext/openssl/ossl_config.c (Init_ossl_config): include Enumerable.
86179
86180Mon Feb 23 09:09:44 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86181
86182	* instruby.rb (parse_args): use optparse instead of getopts.
86183
86184	* instruby.rb (DOSISH): embedded path in batch files should not be
86185	  prefixed by DESTDIR.  [ruby-core:02186]
86186
86187Sun Feb 22 14:58:04 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86188
86189	* ext/extmk.rb: $extstatic is Array or nil now.  [ruby-talk:93383]
86190
86191	* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.
86192
86193	* lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.
86194
86195Sun Feb 22 13:05:37 2004  akira yamada  <akira@ruby-lang.org>
86196
86197	* lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.
86198
86199Sun Feb 22 12:58:35 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86200
86201	* ext/extmk.rb: use optparse instead of getopts.
86202
86203	* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto.
86204
86205Sun Feb 22 09:51:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86206
86207	* re.c: corrected documentation format (rb_reg_initialize_m)
86208
86209Sat Feb 21 22:41:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86210
86211	* ext/zlib/zlib.c: documented, but needs more effort.
86212
86213Sat Feb 21 14:33:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86214
86215	* ext/extmk.rb: prefer relative path.  [ruby-talk:93037]
86216
86217Sat Feb 21 11:12:08 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86218
86219	* missing/os2.c, missing/x68.c: typo fix.  pointed out by greentea.
86220
86221Fri Feb 20 19:11:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86222
86223	* lib/ostruct.rb (OpenStruct#initialize_copy): should not share
86224	  members.  [ruby-dev:22966]
86225
86226Fri Feb 20 18:59:47 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86227
86228	* lib/irb/init.rb (IRB::IRB.parse_opts): add -I option to
86229	  irb. [ruby-dev:39243]
86230
86231Fri Feb 20 12:55:27 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86232
86233	* io.c (pipe_open): fix typo.
86234
86235	* win32/win32.c (CreateChild): first argument to CreateProcess() must
86236	  have path, not just basename.
86237
86238Thu Feb 19 23:24:16 2004  Dave Thomas  <dave@pragprog.com>
86239
86240	* lib/rdoc/generators/html_generator.rb (Generators::HtmlClass::build_attribute_list):
86241	  Support visibility modifiers for attributes
86242
86243Thu Feb 19 22:39:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86244
86245	* lib/ostruct.rb: documented
86246
86247Thu Feb 19 22:39:04 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86248
86249	* test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.
86250	  DRb.start_service could handle this.
86251
86252Thu Feb 19 22:24:04 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86253
86254	* lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.
86255	  [ruby-dev:22588]
86256	  c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c)
86257
86258Thu Feb 19 18:08:18 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86259
86260	* ext/strscan/strscan.c: improved documentation
86261
86262Thu Feb 19 18:08:18 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86263
86264	* win32/win32.c, win32/win32.h: fixed prototypes.
86265
86266	* win32/win32.c (wait): same as waitpid() with -1.
86267
86268Thu Feb 19 02:34:28 2004  Dave Thomas  <dave@pragprog.com>
86269
86270	* lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::include_file):
86271	  Only strip comment markers if all lines start with comments.
86272
86273Thu Feb 19 03:05:49 2004  Minero Aoki  <aamine@loveruby.net>
86274
86275	* ext/strscan/strscan.c: StringScanner#restsize is obsolete;
86276	  use #rest_size instead.
86277
86278	* ext/strscan/strscan.c: StringScanner#matchedsize is obsolete;
86279	  use #matched_size instead.
86280
86281Thu Feb 19 02:42:19 2004  Minero Aoki  <aamine@loveruby.net>
86282
86283	* ext/strscan/strscan.c: don't use rb_eval_string, it defines
86284	  classes under the module when required in module clauses.
86285	  [ruby-dev:22951]
86286
86287Thu Feb 19 02:37:28 2004  Minero Aoki  <aamine@loveruby.net>
86288
86289	* ext/strscan/strscan.c: merge documentation from 1.8 branch.
86290	  Thanks Gavin Sinclair.
86291
86292Thu Feb 19 00:20:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86293
86294	* lib/cgi-lib.rb:   deprecated after 1.8.1
86295
86296	* lib/getopts.rb:   ditto
86297
86298	* lib/importenv.rb: ditto
86299
86300	* lib/parsearg.rb:  ditto
86301
86302Thu Feb 19 00:11:05 2004  Dave Thomas  <dave@pragprog.com>
86303
86304	* lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::handle):
86305	  Strip extraneous space from filenames in :include:
86306
86307Wed Feb 18 22:53:41 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86308
86309	* lib/drb/unix.rb: remove O_NONBLOCk, thanks \ay
86310
86311Wed Feb 18 22:42:19 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86312
86313	* test/rinda/test_rinda.rb: improt test_rinda.rb
86314
86315Wed Feb 18 22:03:11 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86316
86317	* test/*: should not depend on $KCODE.
86318
86319Wed Feb 18 18:07:09 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86320
86321	* test/ruby/test_sprintf.rb: added tests.
86322
86323Wed Feb 18 17:18:01 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
86324
86325	* ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.
86326
86327Wed Feb 18 10:40:38 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86328
86329	* sprintf.c (rb_f_sprintf): sign bit extension should not be done
86330	  if FPLUS flag is specified.  [ruby-list:39224]
86331
86332	* sprintf.c (rb_f_sprintf): do not prepend dots for negative
86333	  numbers if FZERO is specified.  [ruby-dev:39218]
86334
86335Wed Feb 18 10:23:34 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86336
86337	* sprintf.c (rb_f_sprintf): clean up.
86338
86339Tue Feb 17 23:40:34 2004  Guy Decoux  <ts@moulon.inra.fr>
86340
86341	* sprintf.c (rb_f_sprintf): preserve original val for
86342	  format_integer. [ruby-talk:92975]
86343
86344Tue Feb 17 23:28:45 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86345
86346	* test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:
86347	  trick to share the testcase test/ruby/marshaltestlib.rb.
86348
86349Tue Feb 17 23:13:23 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86350
86351	* test/ruby/marshaltestlib.rb: common marshal testcase added.
86352
86353	* test/ruby/test_marshal.rb: use above testsuite.
86354
86355	* test/soap/marshal/test_marshal.rb: ditto.
86356
86357	* test/soap/marshal/cmarshal.rb: removed (not used).
86358
86359Tue Feb 17 19:34:26 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86360
86361	* ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.
86362
86363	* ext/extmk.rb (extmake): remove compile directory if empty.
86364
86365	* ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move
86366	  initialization of $extout_prefix from lib/mkmf.rb.  [ruby-dev:22928]
86367
86368	* ext/extmk.rb: clear ext and extout directory when cleaning.
86369
86370	* lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory.
86371
86372Tue Feb 17 18:02:10 2004  Minero Aoki  <aamine@loveruby.net>
86373
86374	* ext/strscan/strscan.c: ScanError may be (wrongly) garbage
86375	  collected. (thanks Gavin Sinclair)
86376
86377	* ext/strscan/strscan.c: move ::ScanError to StringScanner::Error.
86378	  ::ScanError is also defined for backward compatibility.
86379
86380	* ext/strscan/strscan.c: #peep is obsolete, use #peek.
86381
86382	* ext/strscan/strscan.c: #empty? is obsolete, use #eos?.
86383
86384	* ext/strscan/strscan.c: #clear is obsolete, use #terminate.
86385
86386	* ext/strscan/strscan.c: #getbyte is obsolete, use #get_byte.
86387
86388Tue Feb 17 12:12:47 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86389
86390	* ext/extmk.rb (parse_args): delay expanding $(extout) until invoking
86391	  make.
86392
86393	* lib/mkmf.rb (CLEANLIBS): should remove files have specific
86394	  extensions.
86395
86396Tue Feb 17 11:33:30 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86397
86398	* lib/rss/rexmlparser.rb: REXML version may be 4 digits.
86399
86400Tue Feb 17 10:45:59 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86401
86402	* ext/syck/rubyext.c (syck_emitter_end_object): takes only one arg.
86403
86404Tue Feb 17 07:48:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86405
86406	* lib/rexml/encodings/SHIFT_JIS: wrong library name.
86407
86408Tue Feb 17 01:35:28 2004  Tanaka Akira  <akr@m17n.org>
86409
86410	* eval.c (rb_eval): care that another thread replace NODE_DREGX_ONCE
86411	  to NODE_LIT.  [ruby-dev:22920]
86412
86413Tue Feb 17 01:20:57 2004  Minero Aoki  <aamine@loveruby.net>
86414
86415	* lib/fileutils.rb: new module FileUtils::DryRun.
86416
86417Mon Feb 16 23:28:14 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86418
86419	* lib/csv.rb: document reduction.  [ruby-core:02429]
86420
86421	* test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display.
86422	  it should be defined that the specification about what kind of Range
86423	  is supported in ruby's custom type in YAML.
86424
86425Mon Feb 16 22:22:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86426
86427	* lib/generator.rb: corrected doc format
86428
86429	* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
86430
86431	* lib/rinda/tuplespace.rb: ditto
86432
86433	  [Note: rinda files actually committed Wed Feb 18 07:27:00 2004]
86434
86435Mon Feb 16 20:28:52 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86436
86437	* bcc32/Makefile.sub: show more warnings. (refering to mingw)
86438
86439	* bcc32/setup.mak: ditto.
86440
86441Mon Feb 16 18:35:58 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86442
86443	* win32/Makefile.sub (config.status): should create *.pdb on ext/,
86444	  not .ext/.
86445
86446	* win32/Makefile.sub (config.status): convert the name of import
86447	  library.
86448
86449	* lib/mkmf.rb (create_makefile): now don't need to remove
86450	  $(TARGET).lib.
86451
86452Mon Feb 16 15:45:22 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86453
86454	* configure.in: check functions, fork spawnv.
86455
86456	* io.c (rb_io_s_popen): accept argv not only single command line.
86457
86458	* process.c (rb_proc_exec_n): export.
86459
86460	* process.c (rb_check_argv): check if arguments are safe to invoke.
86461
86462	* process.c (rb_fork): retry to fork.
86463
86464	* process.c (rb_spawn): spawn child process asynchronously.
86465
86466	* process.c (rb_f_system): raise an exception if the command could not
86467	  execute.
86468
86469	* win32/win32.c (rb_w32_argv_size): count necessary size for joined
86470	  arguments.
86471
86472	* win32/win32.c (rb_w32_join_argv): join arguments with quoting.
86473
86474	* win32/win32.c (rb_w32_pipe_exec, rb_w32_spawn, rb_w32_aspawn):
86475	  accept program name adding to command line.
86476
86477Mon Feb 16 15:18:33 2004  Minero Aoki  <aamine@loveruby.net>
86478
86479	* lib/racc/parser.rb: add note for Racc full package.
86480
86481Mon Feb 16 15:13:01 2004  Minero Aoki  <aamine@loveruby.net>
86482
86483	* ext/racc/cparse/README: new file.
86484
86485	* ext/racc/cparse/MANIFEST: add README.
86486
86487Mon Feb 16 12:29:10 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86488
86489	* ext/iconv/iconv.c (iconv_s_list): new method Iconv.list
86490	  (libiconv only).
86491
86492Mon Feb 16 10:29:52 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86493
86494	* dir.c (CompareImpl): File.fnmatch and Dir.glob get better performance
86495	  in Win32. This is achived by calling downcase() for single-byte
86496	  characters. (CharLower() is slower than downcase())
86497
86498Mon Feb 16 02:14:29 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86499
86500	* bcc32/Makefile.sub: should warn suspicious pointer conversion.
86501
86502	* bcc32/setup.mak: ditto.
86503
86504Sun Feb 15 20:56:22 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86505
86506	* dir.c (push_braces): remove wrong const. [ruby-dev:22891]
86507
86508Sun Feb 15 20:41:15 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86509
86510	* sample/soap/calc/httpd.rb, sample/soap/exchange/httpd.rb,
86511	  sample/soap/sampleStruct/httpd.rb, sample/wsdl/googleSearch/httpd.rb:
86512	  use soap/property instead of getopts for configuring DocumentRoot
86513	  and port# of httpd.  see samplehttpd.conf below.
86514
86515	* sample/soap/calc/samplehttpd.conf,
86516	  sample/soap/exchange/samplehttpd.conf,
86517	  sample/soap/sampleStruct/samplehttpd.conf,
86518	  sample/wsdl/googleSearch/samplehttpd.conf: added.
86519
86520Sun Feb 15 19:13:33 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86521
86522	* lib/rinda/tuplespace.rb: read(tpl,0), raise RequestExpiredError
86523	  if not found.
86524
86525Sun Feb 15 15:48:57 2004  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
86526
86527	* ext/win32ole/win32ole.c: add IDispatch wrapper in val2variant.
86528	  Thanks, arton.
86529
86530Sun Feb 15 15:23:29 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86531
86532	* ruby.h, dir.c (rb_glob): add const.
86533
86534Sun Feb 15 01:46:05 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
86535
86536	* lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
86537	  [ruby-dev:22870]
86538
86539Sat Feb 14 23:59:11 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86540
86541	* mkconfig.rb: use fileutils.rb instead of ftools.rb.
86542
86543	* bcc32/Makefile.sub, win32/Makefile.sub (config.h): define
86544	  STACK_GROW_DIRECTION.
86545
86546	* bcc32/Makefile.sub (config.h): add newer checks.
86547
86548	* wince/Makefile.sub (config.h): define NEED_IO_SEEK_BETWEEN_RW.
86549
86550Sat Feb 14 23:26:27 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
86551
86552	* lib/un.rb: use OptionParser instead of getopts.
86553
86554Sat Feb 14 11:28:14 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86555
86556	* sample/drb/*: import lib/drb/sample
86557
86558Sat Feb 14 11:14:12 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
86559
86560	* lib/drb/drb.rb: add pretty_print, thanks gotoken.
86561
86562Fri Feb 13 21:51:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86563
86564	* lib/fileutils.rb: slighly improved documentation (sync with 1.8)
86565
86566Fri Feb 13 19:57:01 2004  Kouhei Sutou  <kou@cozmixng.org>
86567
86568	* test/rss/test_trackback.rb: added tests for TrackBack with RSS
86569	  2.0.
86570
86571	* test/rss/common.rb: added methods make RSS 2.0.
86572
86573	* lib/rss/trackback.rb: TrackBack API is decided.
86574
86575	* lib/rss/rss.rb: RSS::VERSION 0.0.7 -> 0.0.8.
86576
86577	* lib/rss/parser.rb, lib/rss/rss.rb: replaced $DEBUG by RSS::DEBUG.
86578
86579	* lib/rss/2.0.rb: removed RSS 2.0 URI. Because RSS 2.0 doesn't
86580	  have URI.
86581
86582Fri Feb 13 14:41:00 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
86583
86584	* ext/tk/lib/tk.rb: en-bugged at last commit (Feb 11 23:24:22 2004)
86585
86586Fri Feb 13 12:26:37 2004  Minero Aoki  <aamine@loveruby.net>
86587
86588	* test/fileutils/test_fileutils.rb: rescue SystemCallError instead
86589	  of EINVAL.  File.link may raise EACCES on network file systems.
86590
86591Fri Feb 13 05:18:58 2004  Minero Aoki  <aamine@loveruby.net>
86592
86593	* test/fileutils/test_fileutils.rb: File.link raises EINVAL on
86594	  Win9x. [ruby-dev:22713]
86595
86596Thu Feb 12 21:49:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86597
86598	* lib/ftools.rb: documented
86599
86600Thu Feb 12 21:19:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86601
86602	* lib/base64.rb: added and tidied documentation
86603
86604Thu Feb 12 20:45:01 2004  Minero Aoki  <aamine@loveruby.net>
86605
86606	* lib/net/protocol.rb (WriteAdapater#puts): must append "\n" to
86607	  the string, don't prepend. (ruby-bugs:PR#1280)
86608
86609Thu Feb 12 20:31:43 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86610
86611	* lib/mkmf.rb (create_tmpsrc): cpp32 of Borland C++ ignores #error
86612	  directives in DOS line-ending files at all.
86613
86614Thu Feb 12 15:23:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86615
86616	* parse.y (rparen): ignore preceding newlines to right parentheses.
86617	  (ruby-bugs:PR#1221) [ruby-dev:22858]
86618
86619Thu Feb 12 14:17:43 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
86620
86621	* configure.in: set ac_cv_func_link to yes to enable link() on MinGW.
86622	  [ruby-dev:22241]
86623
86624Thu Feb 12 13:32:49 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86625
86626	* win32/win32.c (link): raise NotImplementedError on Win9X.
86627	  contributed by Tietew. [ruby-dev:22713]
86628
86629	* win32/win32.c, win32/win32.h (link): add const.
86630
86631Thu Feb 12 09:56:19 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86632
86633	* ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.
86634
86635Thu Feb 12 02:23:56 2004  Tanaka Akira  <akr@m17n.org>
86636
86637	* lib/pathname.rb: use assert_raise instead of assert_raises.
86638
86639	* lib/pp.rb: ditto.
86640
86641	* lib/time.rb: ditto.
86642
86643	* lib/tsort.rb: ditto.
86644	  use TSortHash and TSortArray instead of Hash and Array in test.
86645
86646Wed Feb 11 23:24:22 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
86647
86648	* ext/tk/lib/tk.rb: properly treat a Tcl/Tk's string with escaping
86649	  special characters.
86650
86651Tue Feb 10 20:49:07 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86652
86653	* eval.c (method_proc): return bound Proc object.  [ruby-dev:22854]
86654
86655	* eval.c (rb_mod_define_method): bind method body itself for Method
86656	  object.
86657
86658	* node.h (NODE_DMETHOD): deprecated.
86659
86660	* object.c (rb_class_inherited_p): export.
86661
86662Tue Feb 10 16:43:50 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86663
86664	* eval.c (umethod_bind): purge unused check.  [ruby-dev:22850]
86665
86666Tue Feb 10 14:33:08 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86667
86668	* string.c (rb_str_match): raise TypeError when both arguments are
86669	  strings. [ruby-dev:22851]
86670
86671	* string.c (rb_str_match2): removed.
86672
86673	* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
86674	  wince/Makefile.sub (string.c): now not depend on version.h.
86675
86676Mon Feb  9 17:46:07 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86677
86678	* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
86679	  runruby.rb: run rdoc, test and so on with compiled extension
86680	  libraries.  [ruby-dev:22688]
86681
86682	* ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
86683	  directory, similar to the actual directory structure.
86684
86685	* lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
86686	  file to create new file.
86687
86688	* lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
86689	  influence by environment variable.
86690
86691	* bcc32/configure.bat, win32/configure.bat: add install-doc options.
86692
86693	* win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
86694	  bug which returns wrong mode.  [ruby-dev:22846]
86695
86696Mon Feb  9 16:30:12 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86697
86698	* process.c (detach_process_watcher): return the last status.
86699	  [ruby-dev:22841]
86700
86701Sun Feb  8 16:46:08 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86702
86703	* lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
86704	  sign for higher heap areas.
86705
86706Sun Feb  8 16:18:27 2004  akira yamada  <akira@ruby-lang.org>
86707
86708	* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
86709	  added tests.
86710
86711Sun Feb  8 15:51:57 2004  akira yamada  <akira@ruby-lang.org>
86712
86713	* test/ruby/test_file.rb (TestFile::test_fnmatch): added tests for
86714	  File.fnmatch. [ruby-dev:22815][ruby-dev:22819]
86715
86716Sun Feb  8 15:41:45 2004  akira yamada  <akira@ruby-lang.org>
86717
86718	* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
86719	  added tests. [ruby-core:02306] [ruby-core:02311]
86720
86721Sun Feb  8 14:24:35 2004  Minero Aoki  <aamine@loveruby.net>
86722
86723	* lib/net/http.rb (HTTP#request): should not overwrite Connection
86724	  header. (ruby-bugs:PR#1274)
86725
86726Sun Feb  8 10:11:21 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86727
86728	* dir.c (glob_helper): Dir.glob('**/') did not work. [ruby-dev:22832]
86729
86730Sun Feb  8 00:29:26 2004  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
86731
86732	* dir.c (fnmatch): File.fnmatch('*?', 'a') should return true.
86733	  [ruby-dev:22815]
86734
86735	* dir.c (fnmatch): File.fnmatch('\[1\]' , '[1]') should return true.
86736	  [ruby-dev:22819]
86737
86738	* dir.c: Did some styles (no change to behavior)
86739
86740Sat Feb  7 19:56:11 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86741
86742	* lib/irb/init.rb (IRB.rc_files): yield possible rc file names.
86743
86744	* lib/irb/input-method.rb (IRB::ReadlineInputMethod::initialize):
86745	  load and save history automatically.  [ruby-core:02352]
86746
86747Fri Feb  6 22:48:16 2004  Dave Thomas  <dave@pragprog.com>
86748
86749	* lib/rdoc/generators/html_generator.rb (gen_url): Support
86750	  https in RDoc hyperlinks
86751
86752Fri Feb  6 22:41:22 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86753
86754	* lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous
86755	  commit.  [ruby-dev:22813]
86756
86757Fri Feb  6 22:22:50 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86758
86759	* lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
86760	  variable which is defined in the test.
86761
86762Fri Feb  6 18:54:18 2004  akira yamada  <akira@ruby-lang.org>
86763
86764	* test/ruby/test_proc.rb (TestProc::test_eq): added a
86765	  test.  [ruby-dev:22599]
86766
86767Fri Feb  6 18:26:00 2004  akira yamada  <akira@ruby-lang.org>
86768
86769	* test/ruby/test_proc.rb (TestProc::test_eq): added tests for
86770	  Proc#==.  [ruby-dev:22592], [ruby-dev:22601]
86771
86772Fri Feb  6 10:12:06 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86773
86774	* ext/socket/socket.c (bsock_do_not_reverse_lookup): control reverse
86775	  lookup for every instance.  [ruby-core:02346]
86776
86777Fri Feb  6 09:15:11 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86778
86779	* lib/irb/extend-command.rb: add irb_help command.  [ruby-talk:91610]
86780
86781	* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help): show RDoc.
86782
86783Fri Feb  6 00:48:37 2004  Tanaka Akira  <akr@m17n.org>
86784
86785	* lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
86786
86787Thu Feb  5 23:56:55 2004  Tanaka Akira  <akr@m17n.org>
86788
86789	* lib/prettyprint.rb (PrettyPrint#seplist): added.
86790
86791	* lib/pp.rb (PPMethods#pp_object): use seplist.
86792	  (PPMethods#pp_hash): ditto.
86793	  (Array#pretty_print): ditto.
86794	  (Struct#pretty_print): ditto.
86795	  (MatchData#pretty_print): ditto.
86796
86797	* lib/set.rb (Set#pretty_print): use seplist.
86798
86799Wed Feb  4 22:39:46 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86800
86801	* file.c (rb_stat_mode): should not sign-expand, so backout.
86802
86803Wed Feb  4 02:12:06 2004  Tanaka Akira  <akr@m17n.org>
86804
86805	* file.c (test_l): fix wrong method name in document.
86806	  (test_S): ditto.
86807	  (test_b): ditto.
86808	  (test_c): ditto.
86809	  (test_suid): ditto.
86810	  (test_sgid): ditto.
86811	  (test_sticky): ditto.
86812
86813Tue Feb  3 22:36:25 2004  Kouhei Sutou  <kou@cozmixng.org>
86814
86815	* lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,
86816	  lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings.
86817
86818	* lib/rss/converter.rb: removed handling load error of nkf.
86819
86820	* test/rss/test_syndication.rb, test/rss/test_trackback.rb,
86821	  test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced
86822	  'require "rss/parser"' by 'require "rss/1.0"'.
86823
86824	* test/rss/test_parser.rb, test/rss/test_accessor.rb: removed
86825	  'require "rss/parser"'.
86826
86827Tue Feb  3 11:23:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86828
86829	* parse.y (reduce_nodes): remove tail returns.  [ruby-talk:90934]
86830
86831Tue Feb  3 08:04:57 2004  Tanaka Akira  <akr@m17n.org>
86832
86833	* lib/pp.rb (Struct#pretty_print_cycle): follow 1.8 style.
86834
86835Mon Feb  2 22:06:31 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86836
86837	* parse.y (block_append, new_evstr, void_expr0): remove no longer used
86838	  labels.
86839
86840Mon Feb  2 18:45:50 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
86841
86842	* dln.c (dln_load): don't specify RTLD_GLOBAL on Interix,
86843	  because it caused SEGV when running runner.rb.
86844
86845Mon Feb  2 01:54:00 2004  Tanaka Akira  <akr@m17n.org>
86846
86847	* lib/pp.rb (Struct#pretty_print): make it 1.8 style.
86848	  (Numeric#pretty_print, FalseClass#pretty_print)
86849	  (TrueClass#pretty_print, Module#pretty_print): fix pp for objects
86850	  with instance variables.  [ruby-talk:91157]
86851
86852	* lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopback
86853	  address.
86854
86855	* lib/resolv-replace.rb (BasicSocket#send): don't replace because
86856	  it has no hostname argument.
86857	  (IPSocket.getaddress): raise SocketError instead of
86858	  Resolv::ResolvError for errors.
86859	  (TCPSocket#initialize, UDPSocket#bind, UDPSocket#connect)
86860	  (SOCKSSocket#initialize): use IPSocket.getaddress instead of
86861	  Resolv.getaddress.
86862	  (UDPSocket#send): recognize 3 arguments form.  try all addresses on
86863	  4 arguments form.
86864
86865Sun Feb  1 23:00:00 2004  Shigeo Kobayashi  <shigek@ruby-lang.org>
86866
86867	* ext/bigdecimal.c: Bug in BigDecimal("1e#{n}").add BigDecimal('.5'),n)
86868	  reported and fixed by Javier Goizueta.
86869
86870Sun Feb  1 18:21:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
86871
86872	  From ruby_1_8 branch:
86873	* lib/test/unit.rb: rearranged documentation for RDoc's sake.
86874	* lib/matrix.rb: improved documentation.
86875	* lib/net/http.rb: slight documentation formatting improvement.
86876
86877Sun Feb  1 05:30:06 2004  Tanaka Akira  <akr@m17n.org>
86878
86879	* lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.
86880	 raise an errror on non-http proxy URI.
86881	 (OpenURI::Buffer#<<): make a tempfile binmode.  [ruby-talk:90793]
86882
86883Sun Feb  1 00:57:41 2004  Kouhei Sutou  <kou@cozmixng.org>
86884
86885	* lib/rss/parser.rb (RSS::Parser): added @@default_parser. Used
86886	  XML parser became selectable.
86887	* test/rss/test_parser.rb: added tests for
86888	  RSS::Parser.default_parser.
86889
86890Sat Jan 31 02:28:15 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
86891
86892	* configure.in (RPATHFLAG): set to -Wl,-R like NetBSD on Interix.
86893
86894Sat Jan 31 01:09:41 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86895
86896	* lib/logger.rb: leading 0 padding of timestamp usec part.
86897
86898Fri Jan 30 18:53:23 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86899
86900	* re.c (KR_REHASH): wrong hash value on sizeof(long) > sizeof(int).
86901
86902Thu Jan 29 23:11:57 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
86903
86904	* configure.in (DLEXT2): removed.  Ruby does not treat
86905	  ".dll" as a extension library anymore.
86906
86907	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (DLEXT2):
86908	  ditto.
86909
86910	* util.c (mblen): fix overrun.  [ruby-dev:22672]
86911
86912Thu Jan 29 22:41:53 2004  Dave Thomas  <dave@pragprog.com>
86913
86914	* lib/rdoc/generators/html_generator.rb: Allow 'link:' in Tidylinks.
86915	  THis means you can write "see f1[link:files/f1_rb.html]".
86916
86917Thu Jan 29 22:24:47 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86918
86919	* sample/openssl/gen_csr.rb: follow OpenSSL::X509::Name change.
86920	  ASN.1 type of subject DN elements were wrong.
86921
86922Thu Jan 29 22:19:51 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86923
86924	* test/*: remove $: trick.  [ruby-dev:22763]  use test/runner.rb to
86925	  run test.
86926
86927Thu Jan 29 19:28:16 2004  Minero Aoki  <aamine@loveruby.net>
86928
86929	* lib/net/http.rb (Request#initialize): reject only when a path is
86930	  empty. [ruby-dev:22771]
86931
86932Thu Jan 29 18:54:08 2004  H.Yamamoto  <ocean@m2.ccsnet.ne.jp>
86933
86934	* dir.c (glob_helper): infinite loop bug in win32 code.
86935	  [ruby-dev:22770]
86936
86937Thu Jan 29 17:03:49 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86938
86939	* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
86940	  [ruby-dev:22761]
86941
86942Thu Jan 29 11:32:14 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
86943
86944	* test/rss/test_*: do $: trick while searching a module in the current
86945	  directory.
86946
86947	* test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb,
86948	  test/soap/helloworld/test_helloworld.rb,
86949	  test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path
86950	  before using __FILE__.
86951
86952	* test/yaml/test_yaml.rb: assert_equals -> assert_equal.
86953
86954Thu Jan 29 01:56:02 2004  why the lucky stiff  <why@ruby-lang.org>
86955
86956	* ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]
86957
86958	* lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306]
86959
86960	* test/yaml/test_yaml.rb: add Time and Range tests.
86961
86962Thu Jan 29 00:00:46 2004  Kouhei Sutou  <kou@cozmixng.org>
86963
86964	* lib/rss: rss/parser.rb is always required.
86965
86966Wed Jan 28 15:09:14 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86967
86968	* test/rss/*.rb: remove "test/" prefix.
86969
86970Wed Jan 28 13:07:02 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
86971
86972	* ext/iconv/extconf.rb: include iconv.h for libiconv.  [ruby-dev:22715]
86973
86974Wed Jan 28 12:43:07 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86975
86976	* lib/rss: rss library imported. [ruby-dev:22726]
86977
86978Wed Jan 28 04:29:41 2004  Eric Schwartz  <emschwar@fc.hp.com>
86979
86980	* lib/cgi/session.rb: use LOCK_SH to read, and a few other
86981	  improvements.  [ruby-core:02328]
86982
86983Tue Jan 27 15:00:14 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
86984
86985	* misc/ruby-mode.el: better support for general delimited
86986	  strings.  [ruby-dev:22695]
86987
86988Tue Jan 27 11:04:40 2004  FUKUMOTO Atsushi  <fukumoto@nospam.imasy.or.jp>
86989
86990	* ext/socket/socket.c (s_recvfrom): sending length should be an
86991	  invariant while retrying on EAGAIN.  [ruby-talk:89962]
86992
86993Tue Jan 27 10:31:28 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
86994
86995	* ext/win32ole/win32ole.c (set_argv): fix condition.
86996
86997Tue Jan 27 02:26:31 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
86998
86999	* lib/webrick/httputils.rb (WEBrick:HTTPUtils::parse_header):
87000	  refine regex for header-name.
87001
87002Mon Jan 26 22:53:04 2004  Dave Thomas  <dave@pragprog.com>
87003
87004	* io.c: Remove documentation references to $defout.
87005
87006Mon Jan 26 14:41:46 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87007
87008	* lib/weakref.rb (WeakRef::initialize): set up @__id before
87009	  calling "super".
87010
87011	* lib/delegate.rb (Delegator::initialize): preserve
87012	  singleton_method_added method [ruby-dev:22685]
87013
87014	* lib/delegate.rb (Delegator::initialize): use Kernel::raise
87015	  instead of mere raise.  [ruby-dev:22681]
87016
87017Mon Jan 26 12:45:23 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
87018
87019	* ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
87020
87021Mon Jan 26 11:30:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87022
87023	* ext/extmk.rb: Makefiles should depend on also rbconfig.rb.
87024	  (ruby-bugs:PR#1256)
87025
87026	* ext/win32ole/win32ole.c (set_argv): set real arguments to
87027	  WIN32OLE::ARGV.  [ruby-list:39073]
87028
87029Sun Jan 25 18:25:26 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87030
87031	* ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): third
87032	  argument become optional.
87033
87034	* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
87035
87036	* ext/openssl/ossl_x509name.c (Init_x509name): emailAddress and
87037	  domainComponent should be IA5String.
87038
87039Sun Jan 25 01:45:38 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87040
87041	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): support
87042	  virtual host.
87043
87044	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host): add
87045	  new method to register virtual hosting server.
87046
87047	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): add
87048	  new method to lookup virtual hosting server.
87049
87050Sat Jan 24 13:06:26 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87051
87052	* ext/openssl/ossl_x509hame.c (ossl_x509name_initialize): change
87053	  second argument. it expected to be a Hash not an Integer.
87054
87055	* ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): add new
87056	  function for OpenSSL::X509::Name#add_entry.
87057
87058	* ext/openssl/ossl_x509name.c (Init_ossl_x509name): add constants
87059	  OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE and OBJECT_TYPE_TEMPLATE.
87060
87061	* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#initialize):
87062	  second argument takes OBJECT_TYPE_TEMPLATE by default.
87063
87064Fri Jan 23 02:26:30 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87065
87066	* pack.c (num2i32): pack should not raise RangeError.
87067	  [ruby-dev:22654]
87068
87069	* pack.c (pack_pack): do not auto convert nil to zero.
87070
87071Thu Jan 22 22:54:53 2004  Shugo Maeda  <shugo@ruby-lang.org>
87072
87073	* lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted
87074	  strings for Novell GroupWise Internet Agent.
87075
87076	* lib/net/imap.rb (DATA_REGEXP): ditto.
87077
87078Thu Jan 22 18:35:49 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87079
87080	* lib/e2mmap.rb (VERSION): remove unnecessary version checking.
87081
87082Thu Jan 22 16:21:02 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87083
87084	* parse.y (string_content): reset lexical states at the beginning of
87085	  string contents.  [ruby-list:39061]
87086
87087Thu Jan 22 08:08:50 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87088
87089	* parse.y (opt_rescue): use NODE_ERRINFO() instead of
87090	  NODE_GVAR("$!"), to avoid confusion from variable aliasing.
87091	  [ruby-talk:90074]
87092
87093	* version.c (Init_version): remove obsolete constants VERSION
87094	  etc.  [ruby-dev:22643]
87095
87096Thu Jan 22 01:46:32 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87097
87098	* parse.y (newline_node): do not use NODE_NEWLINE node anymore,
87099	  use NEWLINE flag instead.
87100
87101Thu Jan 22 01:12:12 2004  Siena.  <siena@faculty.chiba-u.jp>
87102
87103	* missing/os2.c (chdir, getcwd):
87104	  use _chdir2 and _getcwd2 supporting multiple drives in OS/2 with EMX.
87105
87106Thu Jan 22 00:33:52 2004  Siena.  <siena@faculty.chiba-u.jp>
87107
87108	* configure.in: check availability of link(). [ruby-dev:22237]
87109	* file.c (rb_file_s_link): raise an exception when link() is unavailable.
87110	* missing/os2.c (link): removed. File#link isn't supported.
87111	* bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241]
87112	* win32/Makefile.sub: ditto.
87113
87114Thu Jan 22 00:26:25 2004  Siena.  <siena@faculty.chiba-u.jp>
87115
87116	* ChangeLog: typo: RUBY_MBCHAR_MAX was RUBY_MBCHAR_MAXSIZE.
87117
87118Thu Jan 22 00:12:51 2004  Siena.  <siena@faculty.chiba-u.jp>
87119
87120	* defines.h: define RUBY_MBCHAR_MAX instead of MB_CUR_MAX.
87121	* dir.c (Next, emx_mblen): use RUBY_MBCHAR_MAX for mblen().
87122	* file.c (CharNext): ditto.
87123	* ruby.c (translate_char): ditto.
87124	* util.c (__crt0_glob_function): ditto.
87125
87126Thu Jan 22 00:10:01 2004  Dave Thomas  <dave@pragprog.com>
87127
87128	* lib/base64.rb: :nodoc: the Deprecated module
87129
87130Wed Jan 21 23:52:39 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87131
87132	* configure.in: Interix(SFU) support.
87133
87134Wed Jan 21 23:03:45 2004  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
87135
87136	* lib/drb/drb.rb: remove O_NONBLOCK, thanks \ay
87137	* lib/drb/extserv.rb: typo
87138
87139Wed Jan 21 17:57:56 2004  Shugo Maeda  <shugo@ruby-lang.org>
87140
87141	* lib/net/imap.rb (envelope): allow NIL.
87142	* lib/net/imap.rb (body): ditto.
87143	* lib/net/imap.rb (number): ditto.
87144	* lib/net/imap.rb (ensure_nz_number): show a detailed error
87145	  message.
87146
87147Wed Jan 21 16:44:15 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87148
87149	* lib/mkmf.rb (merge_libs): squeeze successive same libraries.
87150	  [ruby-dev:22652]
87151
87152Wed Jan 21 16:10:36 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87153
87154	* lib/base64.rb: enclosed in a module.  [ruby-core:02285]
87155
87156Wed Jan 21 16:01:26 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87157
87158	* ext/digest/rmd160/extconf.rb: have_library appends found library.
87159
87160Wed Jan 21 11:36:00 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87161
87162	* ext/socket/socket.c (sock_gethostbyname): returns host if
87163	  ai_canonname is NULL. (ruby-bugs PR#1243)
87164
87165	* parse.y (block_append): update nd_end for "real" head node.
87166	  [ruby-list:39058]
87167
87168Tue Jan 20 14:48:28 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87169
87170	* ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
87171	  of OPENSSL_VERSION_NUMBER. [ruby-list:39056]
87172
87173Tue Jan 20 14:43:17 2004  Dave Thomas  <dave@pragprog.com>
87174
87175	* lib/base64.rb: Add RDoc
87176
87177Tue Jan 20 14:25:51 2004  Dave Thomas  <dave@pragprog.com>
87178
87179	* lib/abbrev.rb: Add RDoc
87180
87181Tue Jan 20 13:22:39 2004  Dave Thomas  <dave@pragprog.com>
87182
87183	* lib/rdoc/generators/html_generator.rb: Document aliases at
87184	  top-most level.
87185
87186	* lib/English.rb: Document English.rb.
87187
87188Tue Jan 20 04:41:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87189
87190	* test/ruby/test_marshal.rb (MarshalTestLib::test_exception): test
87191	  for [ruby-dev:22604].
87192
87193	* test/ruby/test_marshal.rb (MarshalTestLibtest_singleton): test
87194	  for [ruby-dev:22588].
87195
87196Tue Jan 20 02:38:13 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87197
87198	* marshal.c (w_class): should not dump singleton class.
87199	  [ruby-dev:22631]
87200
87201Tue Jan 20 02:49:22 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87202
87203	* ext/openssl/extconf.rb: add check for OpenSSL version.
87204	  [ruby-list:39054]
87205
87206Mon Jan 19 23:56:20 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87207
87208	* error.c (name_err_mesg_to_str): inverted condition for result of
87209	  inspection.  [ruby-dev:22628]
87210
87211Mon Jan 19 22:24:28 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87212
87213	* sample/exyacc.rb: escape '}' to avoid warning.
87214
87215	* lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.
87216
87217Mon Jan 19 21:28:06 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87218
87219	* ext/digest/defs.h, win32/win3.c, win32/win32.h, file.c: remove
87220	  useless casts for Borland C.
87221
87222Mon Jan 19 17:39:38 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87223
87224	* error.c (NameError::message): internal use only.
87225
87226	* eval.c (rb_method_missing): use hidden constant.
87227
87228Mon Jan 19 16:30:53 2004  akira yamada  <akira@ruby-lang.org>
87229
87230	* test/ruby/test_time.rb: added tests for [ruby-dev:22614] and
87231	  [ruby-dev:22617].
87232
87233Mon Jan 19 13:09:21 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
87234
87235	* ext/extmk.rb, win32/Makefile.sub, win32/configure.bat,
87236	  win32/setup.mak: --with-static-linked-ext support on mswin32.
87237
87238Mon Jan 19 06:49:07 2004  Tadayoshi Funaba  <tadf@dotrb.org>
87239
87240	* lib/date.rb: zone was wrong when it was behind UTC.
87241	  Thanks Mark J. Reed.
87242
87243	* lib/date/format.rb: %z is now always replaced by four digits
87244	  with a leading plus or minus sign.
87245
87246	* sample/cal.rb: added a class, anyway.
87247
87248Mon Jan 19 01:08:39 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87249
87250	* class.c, error.c, eval.c, intern.h, object.c, variable.c:
87251	  do not set path if it is a singleton class.  [ruby-dev:22588]
87252
87253	* lib/cgi.rb (CGI::QueryExtension): give extended string, not a
87254	  delegater object.
87255
87256Sun Jan 18 23:59:44 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87257
87258	* ext/iconv/charset_alias.rb: prefer us_EN locale encodings or
87259	  former.  [ruby-dev:22609]
87260
87261	* ext/iconv/iconv.c (iconv_create): raise InvalidEncoding
87262	  exception when EINVAL.
87263
87264Sun Jan 18 23:16:34 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87265
87266	* class.c, error.c, file.c, io.c, numeric.c, object.c, re.c, struct.c,
87267	  time.c: marked init_copy functions nodoc.
87268
87269Sun Jan 18 20:47:35 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87270
87271	* ruby.c: use translate_char() on Cygwin.
87272
87273Sun Jan 18 20:00:16 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87274
87275	* lib/soap/wsdlDriver.rb, lib/wsdl/soap/operation.rb: add support of
87276	  "parts" attribute of soap:body element in WSDL.
87277
87278	* lib/wsdl/xmlSchema/schema.rb: friendly warning message for
87279	  simpleType element which is not supported for now.
87280
87281	* test/wsdl/soap/{soapbodyparts.wsdl,test_soapbodyparts.wsdl}: new
87282	  files.
87283
87284Sun Jan 18 16:46:48 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87285
87286	* time.c (time_overflow_p): should return results.  [ruby-dev:22614]
87287
87288Sun Jan 18 12:07:24 2004  Siena.  <siena@faculty.chiba-u.jp>
87289
87290	* test/ruby/test_time.rb: new test case to test Time#[+-].
87291
87292	* time.c (time_plus, time_minus): fix RangeError for a negative
87293	  argument in environments whose time_t is unsigned. [ruby-dev:22608]
87294
87295Sun Jan 18 02:33:26 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87296
87297	* defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH.
87298
87299Sun Jan 18 00:23:55 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87300
87301	* marshal.c (class2path): check anonymous class/module before
87302	  checking referable, and allow singleton classes.
87303
87304Sat Jan 17 23:58:51 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87305
87306	* error.c (NameError::Message): new class for lazy evaluation of
87307	  message to ensure replaced before marshalling.  [ruby-dev:22604]
87308
87309	* eval.c (rb_method_missing): use NameError::Message.
87310
87311Sat Jan 17 21:49:50 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
87312
87313	* lib/time.rb (test_rfc2822, test_rfc3339, test_encode_xmlschema):
87314	  should not expect that all platforms handle negative time_t value.
87315
87316Fri Jan 16 23:53:09 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87317
87318	* eval.c (proc_eq): compare also arguments and environment
87319	  (including local variables).  [ruby-dev:22590]
87320
87321Fri Jan 16 14:33:35 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87322
87323	* marshal.c (class2path): get class path and check referable.
87324	  [ruby-dev:22588]
87325
87326Thu Jan 15 12:58:26 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87327
87328	* io.c (argf_read): do not append EOF.  (ruby-bugs-ja:PR#585)
87329
87330	* io.c (rb_io_fwrite): ad-hockery hack to get rid of HP-UX stdio
87331	  weird behavior.  [ruby-dev:22424]
87332
87333Wed Jan 14 21:13:06 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87334
87335	* test/inlinetest.rb (InlineTest::eval_part): eval under the top
87336	  level environment.
87337
87338Wed Jan 14 17:54:17 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87339
87340	* test/inlinetest.rb (InlineTest::loadtest): require instead of
87341	  load, to get rid of multiple loading.
87342
87343Wed Jan 14 13:30:52 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87344
87345	* ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform.
87346
87347Wed Jan 14 09:32:02 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
87348
87349	* MANIFEST: add test/net/test_httpheader.rb. (commit miss?)
87350
87351Wed Jan 14 00:58:35 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87352
87353	* eval.c (Init_Proc): move SystemStackError from under
87354	  StandardError to Exception.  [ruby-talk:89782]
87355
87356Tue Jan 13 18:03:02 2004  Ian Macdonald  <ian@caliban.org>
87357
87358	* file.c (rb_stat_wr, rb_stat_ww): New functions
87359	  implementing new methods (File::Stat#world_readable?,
87360	  File::Stat#world_writable?).
87361
87362Tue Jan 13 16:53:25 2004  why the lucky stiff  <why@ruby-lang.org>
87363
87364	* ext/syck/rubyext.c: omission of Date library code caused
87365	  test suite failure. [ruby-core:2251]
87366
87367Tue Jan 13 16:50:03 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
87368
87369	* ext/tk/lib/tk.rb: use $0 as the default application class name.
87370
87371Tue Jan 13 14:48:00 2004  Ian Macdonald  <ian@caliban.org>
87372
87373	* lib/pathname.rb: New methods (Pathname#world_readable?,
87374	  Pathname#world_writable?).
87375
87376Tue Jan 13 14:48:01 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87377
87378	* parse.y (primary): allow no "when" case. [ruby-dev:22578]
87379
87380	* ruby.h (rb_class_of): reduce branch. [ruby-dev:22577]
87381
87382	* ruby.h (rb_type): ditto.
87383
87384Tue Jan 13 14:26:59 2004  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>
87385
87386	* lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):
87387	  moved run method which allows output level.  [ruby-dev:22554]
87388
87389Tue Jan 13 13:04:24 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87390
87391	* test/test_*.rb: Pathname#parent -> Pathname#dirname.
87392
87393Tue Jan 13 11:38:58 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87394
87395	* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):
87396	  fix syntax error.
87397
87398Tue Jan 13 07:52:40 2004  why the lucky stiff  <why@ruby-lang.org>
87399
87400	* ext/syck/bytecode.c: turn off default implicit typing.
87401
87402	* ext/syck/implicit.c: detect base60 integers.
87403
87404	* ext/syck/rubyext.c: handle base60, as well as hex and octal
87405	  with commas.  implicit typing of ruby symbols.
87406
87407	* test/yaml/test_yaml.rb: add test.
87408
87409Tue Jan 13 04:29:52 2004  Dave Thomas  <dave@pragprog.com>
87410
87411	* lib/rdoc/ri/ri_driver.rb (RiDriver::report_method_stuff):
87412	  Show fully-qualified class names in class list.
87413
87414Tue Jan 13 01:24:17 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87415
87416	* file.c (test_wr): Rdoc fix.  [ruby-core:02225]
87417
87418Tue Jan 13 01:04:37 2004  Dave Thomas  <dave@pragprog.com>
87419
87420	* lib/rdoc/ri/ri_paths.rb (RI::Paths): First attempt at
87421	  incorporating DESTDIR in the rdoc installation.
87422
87423Mon Jan 12 23:26:21 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87424
87425	* parse.y (primary): fix position after FCALL.  [ruby-dev:22574]
87426
87427Mon Jan 12 18:00:11 2004  Ian Macdonald  <ian@caliban.org>
87428
87429	* file.c (test_wr, test_ww): New functions implementing new
87430	  methods (File::world_readable?, File::world_writable?).
87431
87432	* file.c (S_IRUGO, S_IGUGO): New macros.
87433
87434Mon Jan 12 12:07:22 2004  Dave Thomas  <dave@pragprog.com>
87435
87436	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods):
87437	  Someone changed the "// in eval.c" comments to "/*...*/" style,
87438	  so the parsing of the source file name broke.
87439
87440	* object.c: Remove spurious space in TrueClass documentation.
87441
87442	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body): Fix
87443	  bad regexp: if the code before a documented method contained
87444	  a comment that wasn't terminated by whitespace, that comment
87445	  and all intervening code was included in the following
87446	  method's documentation.
87447
87448	* lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter::break_to_newline):
87449	  HTML formats need explicit line breaks.
87450
87451Mon Jan 12 02:24:07 2004  Dave Thomas  <dave@pragprog.com>
87452
87453	* lib/rdoc/ri/ri_formatter.rb (RI::HtmlFormatter): Add HTML
87454	  generation support to ri (Elliot Hughes)
87455
87456Sun Jan 11 23:54:41 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87457
87458	* env.h (ruby_frame, ruby_scope, ruby_in_eval, ruby_class,
87459	  ruby_dyna_vars): export.  [ruby-dev:22566]
87460
87461Sun Jan 11 02:35:53 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87462
87463	* ext/socket/socket.c (make_hostent): a bug in brace position.
87464
87465	* configure.in: install rdoc by default. if you do not want to
87466	  install rdoc, specify --disable-install-doc.
87467
87468Sun Jan 11 02:07:47 2004  Dave Thomas  <dave@pragprog.com>
87469
87470	* lib/rdoc/ri/ri_options.rb (RI::Options::OptionList::OptionList):
87471	  Also accept command line options via the 'RI' environment variable.
87472
87473Sat Jan 10 21:27:41 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87474
87475	* eval.c (eval): need to add message delimiter. [ruby-dev:22561]
87476
87477Sat Jan 10 01:54:50 2004  Eric Sunshine  <sunshine@sunshineco.com>
87478
87479	* defines.h (__NeXT__): Ensure that all standard S_IRUSR, S_IWGRP,
87480	  S_IRWXO, etc. macros are defined since future code might require
87481	  them (even though present code only requires a subset).
87482
87483	* defines.h (__NeXT__): Bug fix: WORDS_BIGENDIAN was not being set
87484	  correctly on Rhapsody when -arch compiler flag was used (via
87485	  configure's --enable-fat-binary option).
87486
87487Sat Jan 10 23:01:41 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87488
87489	* configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
87490	  quotes.  [ruby-dev:22564]
87491
87492	* lib/mkmf.rb (libpathflag): do not enclose with quotes always.
87493
87494	* {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted.
87495
87496Sat Jan 10 22:46:18 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87497
87498	* dir.c (dir_inspect): new method, Dir#inspect.  [ruby-dev:22562]
87499
87500Fri Jan  9 17:36:51 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87501
87502	* ext/socket/socket.c (make_hostent): getaddrinfo(3) on BSD do not
87503	  fill ai_canonname if serv is not supplied.  (ruby-bugs PR#1243)
87504
87505Fri Jan  9 13:14:59 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87506
87507	* lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadError
87508	  and SystemExitError) while loading a testcase.  smell of bug.
87509
87510	* test/testunit/collector/test_dir.rb: add new test of the LoadError.
87511
87512	* test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
87513	  openssl is not installed.
87514
87515	* test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
87516
87517Fri Jan  9 11:52:16 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87518
87519	* rubysig.h: <errno.h> is needed to use errno which may be a macro.
87520
87521Fri Jan  9 11:20:24 2004  Siena.  <siena@faculty.chiba-u.jp>
87522
87523	* ext/extmk.rb (extmake): should not reduce necessary libraries.
87524	  [ruby-dev:22440]
87525
87526	* lib/mkmf.rb (merge_libs): merge libraries according to
87527	  dependency.
87528
87529Fri Jan  9 10:05:23 2004  Siena.  <siena@faculty.chiba-u.jp>
87530
87531	* lib/mkmf.rb (libpathflag): use single quotes.  [ruby-dev:22440]
87532
87533Thu Jan  8 23:49:21 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87534
87535	* configure.in (RDOCTARGET): new macro.  if you want to install
87536	  rdoc documentation, you need to run configure with
87537	  --enable-install-doc.
87538
87539Thu Jan  8 21:17:43 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87540
87541	* ext/openssl/ossl_pkey.c (ossl_pkey_to_der): removed; it returns
87542	  public key only.
87543
87544	* ext/openssl/ossl_pkey_dh.c (ossl_dh_to_der): new function for
87545	  OpenSSL::PKey::DH#to_der.
87546
87547	* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_to_der): new function for
87548	  OpenSSL::PKey::DSA#to_der.
87549
87550	* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_to_der): new function for
87551	  OpenSSL::PKey::RSA#to_der.
87552
87553Thu Jan  8 18:25:29 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87554
87555	* dir.c (glob_helper): should not recurse in exceptional status.
87556
87557Thu Jan  8 16:51:04 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87558
87559	* test/wsdl/datetime/test_datetime.rb: fixed a stupid testcase which
87560	  dumps "E" at month-end.
87561
87562Thu Jan  8 11:20:01 2004  WATANABE Hirofumi  <eban@ruby-lang.org>
87563
87564	* eval.c, object.c, process.c, re.c: don't use C++ style comments.
87565
87566Thu Jan  8 08:46:14 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87567
87568	* ext/syck/rubyext.c (yaml_org_handler): lazy-load Date for
87569	  static-ext.
87570
87571Thu Jan  8 07:06:30 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87572
87573	* ext/extmk.rb: preserve order in Setup.  [ruby-dev:22503]
87574
87575	* ext/extmk.rb: move dependent libraries just after depended
87576	  libraries.
87577
87578	* ext/digest/*/extconf.rb: depend on digest.
87579
87580Thu Jan  8 04:36:17 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87581
87582	* lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create
87583	  @config[:Logger] if it was not given.
87584
87585Wed Jan  7 22:28:12 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87586
87587	* dir.c (glob_helper): fix memory leak.
87588
87589Wed Jan  7 21:15:07 2004  GOTOU Yuuzou  <gotoyuzo@notwork.org>
87590
87591	* sample/webrick/*: new files.
87592
87593	* MANIFEST: add sample/webrick/*
87594
87595Wed Jan  7 20:51:51 2004  Minero Aoki  <aamine@loveruby.net>
87596
87597	* test/net/test_httpheader.rb: new file.
87598
87599	* MANIFEST: add test/net/test_httpheader.rb.
87600
87601Wed Jan  7 20:42:06 2004  Minero Aoki  <aamine@loveruby.net>
87602
87603	* lib/net/http.rb (HTTPHeader#content_length): should return nil
87604	  unless header exists. [ruby-dev:22519]
87605
87606Wed Jan  7 14:26:05 2004  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
87607
87608	* ext/tk/lib/tk.rb (TkPanedWindow): use epath for embedded windows.
87609
87610	* ext/tk/lib/tktext.rb: use epath for embedded windows.
87611
87612	* ext/tk/lib/tkcanvas.rb: use epath for window items.
87613
87614Wed Jan  7 14:24:04 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87615
87616	* lib/soap/{attachment.rb,mimemessage.rb}: added from soap4r/1.5.2.
87617
87618Wed Jan  7 13:00:18 2004  Dave Thomas  <dave@pragprog.com>
87619
87620	* lib/rdoc/ri/ri_driver.rb: Fix problem where ri was
87621	  being too eager to find matches of ambiguous method
87622	  names (such as "ri Thread.join" would return both
87623	  Thread.join and ThreadsWait.join)
87624
87625Wed Jan  7 12:35:41 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87626
87627	* lib/debug.rb: revert command parse regexps.  [ruby-list:39014] by
87628	  Shirai,Kaoru.
87629
87630Wed Jan  7 08:21:04 2004  Dave Thomas  <dave@pragprog.com>
87631
87632	* lib/rdoc/parsers/parserfactory.rb: Check for shebang
87633	  line in files that would otherwise be treated as
87634	  plain text.
87635
87636Tue Jan  6 22:13:34 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87637
87638	* eval.c (rb_mod_modfunc): should break if m has no super class.
87639	  [ruby-dev:22498]
87640
87641Tue Jan  6 21:51:37 2004  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87642
87643	* io.c (fptr_finalize): should save errno just after failure.
87644	  [ruby-dev:22492]
87645
87646Tue Jan  6 20:51:10 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87647
87648	* lib/logger.rb(Logger#msg2str): no special treatment for the object
87649	  which responds to :to_str.
87650
87651	* lib/logger.rb(LogDevice#initialize): remove type checking if the
87652	  given object is a String.  Kernel.open handles it correctly.
87653
87654	* test/logger/test_logger.rb: follow above change (ArgumentError ->
87655	  TypeError.)
87656
87657Tue Jan  6 14:53:14 2004  Dave Thomas  <dave@pragprog.com>
87658
87659	* bin/ri: split out the display side, making it pluggable. Added
87660	  new ri_driver and ri_display files in lib/rdoc/ri.
87661
87662Tue Jan  6 11:29:43 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87663
87664	* test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,
87665	  test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb,
87666	  test_time.rb,test_tsort.rb: added.
87667
87668Tue Jan  6 09:38:27 2004  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87669
87670	* import soap4r/1.5.2;
87671
87672	* lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}:
87673	  introduce SOAPExternalReference class as a referenct to SOAPEnvelope
87674	  external content.
87675
87676	* lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages
87677	  with Attachments) support code by Jamie Herre.
87678
87679	* lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb,
87680	  streamHandler.rb,wsdlDriver.rb}: SwA support.
87681
87682	* lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb,
87683	  soaplet.rb}: SwA support and refactoring.
87684
87685	* lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow
87686	  SOAPReference#initialize signature change.
87687
87688	* lib/soap/mapping/factory.rb: deleted unused methods.
87689
87690	* lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type
87691	  string <-> Ruby class name matching.
87692
87693	* lib/xsd/datatypes.rb: check the smallest positive non-zero
87694	  single-precision float exactly instead of packing with "f".
87695	  [ruby-talk:88822]
87696
87697	* test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not
87698	  1.4e-45.  1.4e-45 is smaller than 2 ** -149...
87699
87700	* test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb,
87701	  test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0".
87702
87703	* test/soap/test_streamhandler.rb: revert to the previous test that
87704	  warns "basic_auth unsupported under net/http".
87705
87706Tue Jan  6 06:37:53 2004  Dave Thomas  <dave@pragprog.com>
87707
87708	* bin/rdoc: Add --ri-system switch
87709
87710	* lib/.document: Update with list of files that seem to have
87711	  documentation
87712
87713	* lib/test/unit.rb: Reorder comment to make it RDoc friendly.
87714
87715	* Makefile.in: add install-nodoc target, and make it
87716	  generate RDoc on default install.
87717
87718	* lib/rdoc/ri/ri_options.rb (RI::Options::parse): Add
87719	  --doc-dir option to ri.
87720
87721Tue Jan  6 00:04:40 2004  Dave Thomas  <dave@pragprog.com>
87722
87723	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method_or_yield_parameters):
87724	  fix parsing if there are braces in a method parameter list
87725
87726Tue Jan  6 01:01:04 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
87727
87728	* win32/dir.h, win32/win32.c: fix patch miss.
87729
87730	* win32/Makefile.sub: fix file dependency.
87731
87732Mon Jan  5 20:32:00 2004  Gavin Sinclair  <gsinclair@soyabean.com.au>
87733
87734	* lib/logger.rb: enhanced documentation.
87735
87736Mon Jan  5 18:58:47 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87737
87738	* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
87739	  [ruby-dev:22486]
87740
87741	* pack.c (pack_unpack): unpack requires big endian offet (OFF16B
87742	  and OFF32B).  The patch is from Minero Aoki in [ruby-dev:22489]
87743
87744	* pack.c (OFF16B): add big-endian offset again.
87745
87746Mon Jan  5 03:00:53 2004  Minero Aoki  <aamine@loveruby.net>
87747
87748	* test/ruby/test_pack.rb: new test test_unpack_N.
87749
87750Mon Jan  5 01:47:53 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
87751
87752	* lib/mkmf.rb (create_makefile): remove duplicated object files
87753	  from $objs on DOSISH platforms.
87754
87755Sat Jan  3 02:44:48 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87756
87757	* rubysig.h (TRAP_END): preserve errno before switching context.
87758	  [ruby-core:02137]
87759
87760Sat Jan  3 01:18:08 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87761
87762	* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
87763	  [ruby-dev:22476]
87764
87765Fri Jan  2 14:54:11 2004  Dave Thomas  <dave@pragprog.com>
87766
87767	* bin/ri: Add new --classes option, and arrange for
87768	  help messages to be paged too.
87769
87770	* bin/rdoc: Add statistics.
87771
87772	* process.c: (MG) Added Process documentation
87773
87774	* lib/rdoc/ri/ri_formatter.rb (RI::AttributeFormatter::wrap):
87775	  Fix problem with labels not displaying in RI labeled
87776	  lists using BS and ANSI modes.
87777
87778Fri Jan  2 01:50:13 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
87779
87780	* io.c (argf_eof): ARGF.eof? should not have any side effect.
87781	  [ruby-dev:22469]
87782
87783Thu Jan  1 09:03:20 2004  Dave Thomas  <dave@pragprog.com>
87784
87785	* bin/ri (report_class_stuff): Fix problem with ambiguous nested
87786	  classes not matching.
87787
87788Wed Dec 31 17:25:17 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
87789
87790	* io.c (argf_each_byte): should return self.  [ruby-dev:22465]
87791
87792Wed Dec 31 15:05:00 2003  Gavin Sinclair  <gsinclair@soyabean.com.au>
87793
87794	* lib/pathname.rb: Corrected small coding error.
87795
87796Wed Dec 31 15:00:00 2003  Gavin Sinclair  <gsinclair@soyabean.com.au>
87797
87798	* lib/pathname.rb: Completed documentation.
87799
87800Wed Dec 31 11:20:34 2003  Dave Thomas  <dave@pragprog.com>
87801
87802	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::do_methods): Make
87803	  file referenced in "// in sss.c" relative to current file.
87804
87805Wed Dec 31 11:17:37 2003  Dave Thomas  <dave@pragprog.com>
87806
87807	* lib/rdoc/generators/html_generator.rb: Fix problem when
87808	  a public method was aliased, but the alias is then
87809	  made private, and hence doesn't appear in RDoc output.
87810
87811Wed Dec 31 01:33:05 2003  Dave Thomas  <dave@pragprog.com>
87812
87813	* array.c, error.c, eval.c, io.c, prec.c, range.c, re.c,
87814	  string.c, time.c: Add RDoc for Kernel functions, and tidy.
87815
87816Tue Dec 30 19:39:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
87817
87818	* io.c (rb_f_readline): should raise EOFError at the end of
87819	  files.  [ruby-dev:22458]
87820
87821	* io.c (argf_read): should concatenate input files when length
87822	  argument is nil. [ruby-dev:22450]
87823
87824	* io.c (argf_read): should update supplied string buffer (2nd
87825	  argument) even when IO#read is called multiple times.
87826
87827	* io.c: should initialize lineno by zero. [ruby-dev:22460]
87828
87829Tue Dec 30 12:30:30 2003  Dave Thomas  <dave@pragprog.com>
87830
87831	* lib/rdoc/code_objects.rb (RDoc::Context::find_symbol): If a
87832	  class and a method have the same name, finding Xxx.abc was trying
87833	  to find 'abc' in method 'Xxx', not class 'Xxx'.
87834
87835Tue Dec 30 08:32:32 2003  Dave Thomas  <dave@pragprog.com>
87836
87837	* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_method):
87838	  Handle undoing nsting of yield parameters correctly for:
87839
87840	    def each_entry(&b) Dir.foreach(@path) {|f| yield P.new(f) } end
87841
87842Tue Dec 30 07:30:00 2003  Gavin Sinclair  <gsinclair@soyabean.com.au>
87843
87844	* lib/pathname.rb: Added documentation.
87845
87846Mon Dec 29 20:08:17 2003  Minero Aoki  <aamine@loveruby.net>
87847
87848	* lib/net/http.rb (GenericRequest#initialize): check if path
87849	  begins with '/'.
87850
87851	* lib/net/http.rb: def m( arg ) -> def m(arg)
87852
87853Mon Dec 29 12:51:02 2003  Dave Thomas  <dave@pragprog.com>
87854
87855	* eval.c: Add RDoc for Kernel global functions.
87856
87857Mon Dec 29 11:00:16 2003  Dave Thomas  <dave@pragprog.com>
87858
87859	* array.c: Tidy up RDoc loose ends.
87860
87861Mon Dec 29 05:05:51 2003  Dave Thomas  <dave@pragprog.com>
87862
87863	* struct.c, random: Add RDoc comments
87864
87865Mon Dec 29 02:25:00 2003  Gavin Sinclair  <gsinclair@soyabean.com.au>
87866
87867	* lib/optparse.rb: Improved documentation.
87868
87869Mon Dec 29 02:20:54 2003  Dave Thomas  <dave@pragprog.com>
87870
87871	* eval.c: Add RDoc for class Proc, Method, UnboundMethod
87872
87873Mon Dec 29 02:20:26 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
87874
87875	* instruby.rb: fix install directory if destdir and compile_dir are
87876	  not in the same drive.
87877
87878	* ext/extmk.rb: ditto. [ruby-list:39009]
87879
87880	* win32/Makefile.sub, win32/README.win32, win32/configure.bat,
87881	  win32/setup.mak: new configure scheme. use ``configure --prefix=dir''
87882	  instead of ``nmake DESTDIR=dir install''.
87883
87884Mon Dec 29 00:41:44 2003  Dave Thomas  <dave@pragprog.com>
87885
87886	* math.c: Add RDoc comments
87887
87888Sun Dec 28 20:19:11 2003  Tanaka Akira  <akr@m17n.org>
87889
87890	* ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn't
87891	  raise EOFError.
87892
87893	* ext/zlib/zlib.c (gzreader_gets): don't increment lineno when
87894	  gzfile_read_all returns "".
87895
87896Sun Dec 28 15:25:08 2003  Dave Thomas  <dave@pragprog.com>
87897
87898	* class.c,object.c,parse.y,sprintf.c,variable.c: Document classes
87899	  Object, Module, etc...
87900
87901Sun Dec 28 11:55:29 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
87902
87903	* test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.
87904	  [ruby-talk:88852]
87905
87906	* test/csv/{bom.csv,mac.csv}: removed.
87907
87908Sun Dec 28 08:56:51 2003  Dave Thomas  <dave@pragprog.com>
87909
87910	* eval.c: Thead[Group] RDoc (thanks to MG)
87911
87912Sun Dec 28 03:50:05 2003  Dave Thomas  <dave@pragprog.com>
87913
87914	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_override_comment):
87915	  Escape method names used in regexp
87916
87917Sun Dec 28 01:46:02 2003  Dave Thomas  <dave@wireless_3.local.thomases.com>
87918
87919	* lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item):
87920	  Add support for rules in 'ri' output.
87921
87922Sun Dec 28 01:35:35 2003  Dave Thomas  <dave@pragprog.com>
87923
87924	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_body):
87925	  Sometimes the Ruby source aliases two otherwise
87926	  unrelated methods (for example Kernel#object_id and
87927	  Kernel#hash are both the same C function). Provide a
87928	  facility to allow the methods to be documented
87929	  separately.
87930
87931Sun Dec 28 01:05:31 2003  Dave Thomas  <dave@pragprog.com>
87932
87933	* marshal.c, signal.c: RDoc collemts added by Elliott Hughes
87934
87935Sun Dec 28 00:46:25 2003  Dave Thomas  <dave@pragprog.com>
87936
87937	* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::find_class_comment):
87938	  Some Ruby source uses lower-case class names for the
87939	  Init_Xxx C function name.
87940
87941Sat Dec 27 23:41:46 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
87942
87943	* configure.in: fix "test: too many arguments" error.
87944
87945Sat Dec 27 15:32:40 2003  Dave Thomas  <dave@wireless_3.local.thomases.com>
87946
87947	* time.c: Add RDoc comments for Time class.
87948
87949Sat Dec 27 15:07:26 2003  Dave Thomas  <dave@pragprog.com>
87950
87951	* object.c: Add RDoc comments for Symbol class.
87952
87953Sat Dec 27 14:39:53 2003  Dave Thomas  <dave@pragprog.com>
87954
87955	* numeric.c (Init_Numeric): Add RDoc comments.
87956
87957Sat Dec 27 00:44:00 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
87958
87959	* io.c (next_argv): warn always for stdin on inplace edit mode.
87960
87961	* io.c (read_all): need to check string value.
87962
87963	* io.c (argf_read): allow ARGF.read(nil).  [ruby-dev:22433]
87964
87965Fri Dec 26 23:02:09 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
87966
87967	* io.c (rb_f_backquote): need not to check nil result.
87968	  [ruby-core:02078]
87969
87970	* io.c (rb_io_getline): should return nil when read_all gives
87971	  empty string, even when nil rs is specified. [ruby-core:02077]
87972
87973Fri Dec 26 18:33:54 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
87974
87975	* configure.in: check if getcontext and setcontext are available.
87976
87977	* eval.c: use presence of getcontext/setcontext.
87978
87979Fri Dec 26 16:40:53 2003  Tanaka Akira  <akr@m17n.org>
87980
87981	* lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
87982
87983Fri Dec 26 14:05:13 2003  Minero Aoki  <aamine@loveruby.net>
87984
87985	* test/ruby/test_pack.rb: new test test_pack_N.
87986
87987Fri Dec 26 12:53:26 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
87988
87989	* pack.c (pack_pack): add sign check for 'i', and 'l'.
87990	  [ruby-dev:22427]
87991
87992	* bignum.c (rb_quad_pack): add range check for 'quad int'.
87993
87994Fri Dec 26 10:58:58 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
87995
87996	* MANIFEST: add vms/config.h and remove vms/config.h_in.
87997
87998Fri Dec 26 10:42:00 2003  AKIYOSHI, Masamichi  <masamichi.akiyoshi@hp.com>
87999
88000	* io.c: [VMS] "rfm=stmlf" is specified for open() and fopen().
88001
88002Thu Dec 25 22:29:53 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
88003
88004	* string.c (rb_str_update): don't return any value.
88005
88006Thu Dec 25 15:30:17 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88007
88008	* string.c (rb_str_update): call rb_str_modify().
88009
88010Thu Dec 25 05:08:09 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88011
88012	* eval.c (search_required): search actual file name once when no
88013	  extension specified.
88014
88015Thu Dec 25 04:00:44 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88016
88017	* stable version 1.8.1 released.
88018
88019Thu Dec 25 00:17:53 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88020
88021	* configure.in: check for nanosleep, -lrt if required.
88022	  [ruby-core:02059]
88023
88024	* eval.c (thread_timer): use select(2) if nanosleep(2) is not
88025	  available.
88026
88027	* eval.c: check __stub_getcontext for glibc on some platforms.
88028	  [ruby-list:38984]
88029
88030Wed Dec 24 23:48:04 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88031
88032	* test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb
88033	  test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0"
88034	  to express -0.0.  [ruby-talk:88786]
88035
88036Wed Dec 24 23:29:30 2003  Tanaka Akira  <akr@m17n.org>
88037
88038	* lib/tsort.rb (test_orphaned_break): removed.
88039
88040Wed Dec 24 20:53:06 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88041
88042	* ext/tk/sample/tkmulticolumnlist.rb: new sample
88043
88044	* ext/tk/sample/tkmultilistframe.rb: bug fix
88045
88046Wed Dec 24 20:37:37 2003  Eric Sunshine  <sunshine@sunshineco.com>
88047
88048	* configure.in (LDSHARED): Fixed typographical error in assignment of
88049	  LDSHARED for Rhapsody which caused linking of extension modules to
88050	  fail.
88051
88052Wed Dec 24 17:51:18 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88053
88054	* file.c (rb_thread_flock): enable thread support again.
88055
88056Wed Dec 24 16:46:08 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88057
88058	* eval.c (catch_timer): do not call rb_thread_schedule() inside to
88059	  avoid pthread_mutex_lock() deadlock.  interrupts to system calls
88060	  are detected by TRAP_END via EINTR error.
88061
88062	* eval.c (thread_timer): do not post signal unless it is
88063	  absolutely necessary.
88064
88065	* rubysig.h (TRAP_END): add CHECK_INTS to switch thread.
88066
88067	* regex.c (re_compile_pattern): check if nextp is smaller than
88068	  pend.  [ruby-dev:22372]
88069
88070	* eval.c (umethod_bind): remove method overridden check.
88071	  [ruby-dev:22366]
88072
88073Wed Dec 24 16:13:05 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88074
88075	* ext/openssl/ossl_ssl.c (ossl_ssl_read): should check for error
88076	  status by SSL_get_error().
88077
88078	* ext/openssl/ossl_ssl.c (ossl_ssl_write): ditto.
88079
88080Wed Dec 24 14:23:27 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88081
88082	* ext/stringio/stringio.c (strio_read): clear the buffer argument
88083	  when returning nil.  [ruby-dev:22363]
88084
88085	* test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1):
88086	  add buffer argument tests.
88087
88088Wed Dec 24 14:07:55 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88089
88090	* lib/test/unit/assertions.rb: Modules are allowed to rescue.
88091
88092	* lib/test/unit/autorunner.rb: show output_level in order.
88093
88094	* lib/test/unit/collector/dir.rb: get rid of successive same
88095	  directories in load path.
88096
88097	* test/testunit/test_assertions.rb (test_assert_nothing_raised,
88098	  test_assert_raise): test for modules.
88099
88100Wed Dec 24 13:43:34 2003  Shugo Maeda  <shugo@ruby-lang.org>
88101
88102	* lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
88103	  strings.
88104
88105Wed Dec 24 11:26:41 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88106
88107	* test/fileutils/test_fileutils.rb: should not create any
88108	  files or directories in current directory.  [ruby-talk:88724]
88109
88110Wed Dec 24 10:29:53 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88111
88112	* ext/stringio/stringio.c (strio_read): never return nil at
88113	  unlimited read.  [ruby-dev:22334]
88114
88115	* ext/stringio/stringio.c (strio_read): support second
88116	  argument.  [ruby-dev:22350]
88117
88118Wed Dec 24 09:38:49 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88119
88120	* parse.y (arg): should return 0 after error.  [ruby-dev:22360]
88121
88122Wed Dec 24 00:56:54 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88123
88124	* io.c (read_all): do not return nil at the end of file.
88125	  [ruby-dev:22334]
88126
88127	* io.c (argf_read): do not depend on nil at eof behavior of
88128	  IO#read().
88129
88130	* eval.c (rb_thread_join): dup exception before re-raising it.
88131
88132	* io.c (rb_io_eof): call clearerr() to prevent side effect.  this
88133	  patch is supplied by Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>.
88134	  [ruby-dev:22234]
88135
88136	* pack.c (OFF16): get offset for big endian machines.
88137
88138	* pack.c (pack_pack): use OFF16 instead of OFF16B.
88139	  [ruby-dev:22344]
88140
88141	* pack.c (pack_unpack): ditto.
88142
88143Tue Dec 23 22:47:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88144
88145	* io.c (rb_io_check_readable): set FMODE_RBUF always, even if
88146	  NEED_IO_SEEK_BETWEEN_RW is not defined. [ruby-dev:22340]
88147
88148	* io.c (rb_io_check_writable): clear FMODE_RBUF before writing
88149	  something.
88150
88151Tue Dec 23 22:25:00 2003  Gavin Sinclair  <gsinclair@soyabean.com.au>
88152
88153	* lib/optparse.rb: incomplete RDoc documentation added in place of
88154	  existing RD comments.  Tabs converted to spaces.
88155
88156Tue Dec 23 19:44:47 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88157
88158	* test/soap/test_streamhandler.rb (test_basic_auth): removed.
88159	  soap4r + basic_auth is not officially supported in ruby/1.8.1 even
88160	  though soap4r + basic_auth + http-access2 should run fine.
88161
88162Tue Dec 23 19:42:59 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88163
88164	* io.c (rb_io_ungetc): raise an exception at unread stream to
88165	  avoid unspecified behavior.  [ruby-dev:22330]
88166
88167	* test/ruby/test_system.rb (test_syntax): glob relatively from
88168	  __FILE__.
88169
88170Tue Dec 23 18:09:40 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88171
88172	* pack.c (pack_pack): remove unnecessary negative value check.
88173	  [ruby-dev:22329]
88174
88175Tue Dec 23 17:26:55 2003  KONISHI Hiromasa  <konishih@fd6.so-net.ne.jp>
88176
88177	* bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
88178
88179Tue Dec 23 16:08:16 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88180
88181	* lib/rexml/encodings/US-ASCII.rb: typo.  [ruby-talk:88650]
88182
88183	* test/ruby/test_system.rb: num of asserts depended on running dir.
88184
88185	* test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
88186	  handle euc-jp.  install iconv, uconv or xmlscan.
88187
88188Tue Dec 23 14:13:51 2003  akira yamada  <akira@ruby-lang.org>
88189
88190	* lib/uri/generic.rb (URI::Generic::check_userinfo,
88191	  URI::Generic::check_user, URI::Generic::check_password): tests
88192	  conflicts/depends with other components closely.
88193
88194	* test/uri/test_generic.rb (TestGeneric::test_set_component):
88195	  added tets.
88196
88197Tue Dec 23 11:08:34 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88198
88199	* test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
88200	  "euc-jp" might not be in supported encoding name list.
88201	  [ruby-talk:88650]
88202
88203Tue Dec 23 06:10:31 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88204
88205	* lib/webrick/cgi.rb (CGI): add support for mod_ruby.
88206
88207	* lib/webrick/cgi.rb (CGI::Socket): add check for existence of
88208	  OpenSSL module in all HTTPS related methods.
88209
88210	* lib/webrick/cgi.rb (CGI::Socket#cipher): should create similar
88211	  value to OpenSSL::SSLSocket#cipher.
88212
88213	* lib/webrick/httpresponse.rb (HTTPResponse#setup_header): should
88214	  set "connection: close" if @keep_alive is false.
88215
88216	* lib/webrick/https.rb (HTTPrequest#meta_vars): add supprt for
88217	  SSL_PROTOCOL, SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE.
88218
88219Mon Dec 22 23:00:05 2003  akira yamada  <akira@ruby-lang.org>
88220
88221	* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
88222
88223Mon Dec 22 21:59:24 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88224
88225	* ext/iconv/iconv.c (map_charset): always ensure code is a String.
88226
88227Mon Dec 22 21:15:29 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88228
88229	* class.c (rb_mod_init_copy): always copy singleton class.
88230	  [ruby-dev:22325]
88231
88232Mon Dec 22 20:44:36 2003  akira yamada  <akira@ruby-lang.org>
88233
88234	* lib/uri/generic.rb (URI::Generic#route_from): accepts urls which
88235	  has no host-part.
88236
88237	* test/uri/test_generic.rb (TestGeneric::test_route): added a test.
88238
88239Mon Dec 22 20:38:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88240
88241	* lib/cgi.rb: reduce eval.
88242
88243	* lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to
88244	  local_path.  [ruby-list:38883]
88245
88246Mon Dec 22 20:09:31 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88247
88248	* test/soap/test_property.rb: remove duplicated test method.
88249
88250Mon Dec 22 18:22:04 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
88251
88252	* bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
88253	  HAVE_ISINF definition to follow previous commits of missing.h
88254	  and win32/win32.h.
88255
88256Mon Dec 22 17:23:42 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88257
88258	* configure.in (ac_cv_func_setitimer): moved from defines.h
88259
88260	* defines.h, rubysig.h, signal.c: removed macro handling which
88261	  should be done in configure.
88262
88263	* configure.in (intrinsics.h): check if present.
88264
88265	* ruby.h: include intrinsics.h if available.
88266
88267	* bignum.c, marshal.c: include ieeefp.h if available.
88268
88269	* missing.h (isinf): define as a macro if finite() and isnan()
88270	  are available.  [ruby-core:02032]
88271
88272Mon Dec 22 17:07:31 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88273
88274	* configure.in (mingw): set isnan, finite and isinf to yes.
88275
88276Mon Dec 22 13:40:19 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88277
88278	* lib/soap/property.rb: passing block by reference.
88279
88280Mon Dec 22 00:32:43 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88281
88282	* eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead of
88283	  ALLOW_INTS which may switch context.  [ruby-dev:22319]
88284
88285	* ext/syck/emitter.c (syck_emitter_write): str bigger than
88286	  e->bufsize causes buffer overflow.  [ruby-dev:22307]
88287
88288Sun Dec 21 17:29:00 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88289
88290	* class.c (rb_check_inheritable): new function.  [ruby-dev:22316]
88291
88292	* intern.h: add prototype.
88293
88294	* eval.c (superclass): use rb_check_inheritable().
88295
88296	* object.c (rb_class_initialize): check argument validity.
88297
88298Sun Dec 21 16:25:10 2003  Tanaka Akira  <akr@m17n.org>
88299
88300	* lib/pathname.rb (Pathname#+): re-implemented to resolve ".." in
88301	  beginning of the argument.
88302	  (Pathname#join): concatenate from the last argument.
88303	  (Pathname#parent): just use Pathname#+.
88304
88305Sun Dec 21 00:12:37 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88306
88307	* ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)
88308
88309	* ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method
88310
88311Sat Dec 20 21:59:03 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88312
88313	* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.
88314
88315	* lib/webrick/cgi.rb (CGI#start): NPH scripts return status line
88316	  instead of Status: header field.
88317
88318	* lib/webrick/cgi.rb (CGI::Socket): refine some coditions.
88319
88320Sat Dec 20 16:07:14 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88321
88322	* lib/optparse.rb (OptionParser::Completion::complete): wrong
88323	  Regexp for word boundary.  pointed out by Gavin Sinclair.
88324
88325	* lib/optparse.rb (OptionParser::make_switch): [no-] prefix was
88326	  missing.
88327
88328Sat Dec 20 11:40:10 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88329
88330	* lib/yaml.rb (YAML::YAML): adjust Marshal version.
88331
88332Sat Dec 20 03:56:02 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88333
88334	* eval.c (rb_with_disable_interrupt): prohibit thread context
88335	  switch during proc execution.  [ruby-dev:21899]
88336
88337Sat Dec 20 02:41:02 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88338
88339	* lib/webrick/cgi.rb: add file. (yet another CGI library)
88340
88341	* MANIFEST: add lib/webrick/cgi.rb.
88342
88343Sat Dec 20 02:18:31 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88344
88345	* misc/ruby-mode.el (ruby-calculate-indent): proper indentation
88346	  inside of parentheses.  [ruby-dev:22308]
88347
88348Fri Dec 19 21:24:22 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88349
88350	* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): should not set
88351	  HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH.
88352
88353	* lib/webrick/https.rb (HTTPRequest#parse): should check presence
88354	  of cert() method to detect SSLSocket.
88355
88356Fri Dec 19 22:56:46 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88357
88358	* lib/soap/property.rb (SOAP::Property#load): new method for loading
88359	  property value into existing property tree.
88360
88361	* test/soap/test_property.rb: add test.
88362
88363Fri Dec 19 19:21:49 2003  akira yamada  <akira@ruby-lang.org>
88364
88365	* lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):
88366	  should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}.
88367
88368Fri Dec 19 17:36:49 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88369
88370	* ext/tk/sample/tkmultilistbox.rb: bug fix
88371
88372	* ext/tk/sample/tkmultilistframe.rb: new sample script
88373
88374Fri Dec 19 03:44:27 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88375
88376	* lib/webrick/httputils.rb (parse_form_data): should return an
88377	  empty Hash if the body is empty.
88378
88379Thu Dec 18 21:47:35 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
88380
88381	* lib/mkmf.rb (create_makefile): should remove deffile if it's
88382	  made by miniruby. based on nobu's patch.
88383
88384Thu Dec 18 21:44:21 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
88385
88386	* eval.c (stack_extend): ignore inline optimization on VC7.
88387
88388	* win32/Makefile.sub (OS, RT): can override.
88389
88390	* win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none
88391	  option. based on Tietew's patch [ruby-dev:22289]
88392
88393Thu Dec 18 16:38:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88394
88395	* dir.c (fnmatch): unlike find_dirsep(), rb_path_next() never
88396	  return NULL.
88397
88398Thu Dec 18 15:27:59 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88399
88400	* lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.
88401	  [ruby-dev:21678]
88402
88403Wed Dec 17 15:15:30 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88404
88405	* lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like
88406	  String#[] if more than one arguments are specified.
88407
88408	* lib/delegate.rb: avoid using common instance name as "@obj".
88409
88410	* lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer
88411	  subclass of String, but DelegateClass(String).
88412
88413	* ext/curses/extconf.rb: restore function check for init_color.
88414	  [ruby-list:38905]
88415
88416	* Makefile.in: need to specify $(MAINLIBS) for the miniruby
88417	  generation rule.
88418
88419	* configure.in: better FreeBSD -lc_r support.
88420
88421Wed Dec 17 00:16:14 2003  Minero Aoki  <aamine@loveruby.net>
88422
88423	* ext/strscan/strscan.c: new method
88424	  StringScanner#beginning_of_line? (alias #bol?)
88425
88426	* ext/strscan/strscan.c: new method StringScanner#concat and #<<.
88427
88428	* ext/strscan/strscan.c: StringScanner#new(str) does not duplicate
88429	  nor freeze STR (allow destructive modification).
88430
88431	* test/strscan/test_stringscanner.rb: test new methods above.
88432
88433	* test/strscan/test_stringscanner.rb: test destructive string
88434	  modification.
88435
88436Tue Dec 16 21:20:47 2003  Tanaka Akira  <akr@m17n.org>
88437
88438	* lib/pp.rb: don't use local variable `pp'.
88439
88440	* lib/prettyprint.rb: ditto.
88441
88442Tue Dec 16 13:20:43 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88443
88444	* ext/tk/lib/tk.rb: condition bug of if statement on
88445	  {pack,grid}_propagate methods
88446
88447Tue Dec 16 03:17:29 2003  why the lucky stiff  <why@ruby-lang.org>
88448
88449	* lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]
88450
88451	* test/yaml/test_yaml.rb: add test.
88452
88453Tue Dec 16 01:14:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88454
88455	* eval.c (catch_timer): check rb_thread_crtical in main native
88456	  thread.
88457
88458	* eval.c (thread_timer): just sends signals periodically, to
88459	  prevent main native thread from receiving them in critical
88460	  section.  [ruby-core:01959]
88461
88462Mon Dec 15 13:32:22 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88463
88464	* dir.c (check_dirname): check string safety and remove extraneous
88465	  trailing directory separators.  [ruby-dev:22279]
88466
88467	* file.c: renamed and externalized rb_path_next,
88468	  rb_path_skip_prefix, rb_path_last_separator, rb_path_end.
88469
88470	* intern.h: prototypes for rb_path_next, rb_path_skip_prefix,
88471	  rb_path_last_separator, rb_path_end.
88472
88473Mon Dec 15 09:27:46 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
88474
88475	* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): first argument
88476	  of rb_protect should take an argument of VALUE.
88477
88478Sun Dec 14 18:46:48 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88479
88480	* ext/socket/socket.c (Init_socket): IPv6 is not supported although
88481	  AF_INET6 is defined on MinGW.
88482
88483	* lib/ipaddr.rb (AF_INET6): workaround in the environment which does
88484	  not support IPv6.
88485
88486Sat Dec 13 18:55:16 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88487
88488	* ext/iconv/charset_alias.rb: preserve original order.
88489
88490	* ext/iconv/extconf.rb: remove wrapper file at clean.
88491
88492Sat Dec 13 18:09:42 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88493
88494	* eval.c (thread_timer): use timer by sub-thread and nanosleep.
88495	  [ruby-talk:87519]
88496
88497	* gc.c (Init_stack): no stack adjustment for THREAD_SAFE.
88498
88499Sat Dec 13 17:17:59 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88500
88501	* eval.c (proc_alloc): cache the created object at first time.
88502	  [ruby-talk:61288], [ruby-dev:22240]
88503
88504Sat Dec 13 09:01:23 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88505
88506	* configure.in: check ucontext.h.
88507
88508	* eval.c: use getcontext/setcontext() instead of setjmp/longjmp()
88509	  on ia64 or with native thread enabled.  [ruby-core:01932]
88510
88511Sat Dec 13 03:09:14 2003  why the lucky stiff  <why@ruby-lang.org>
88512
88513	* lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]
88514
88515	* test/yaml/test_yaml.rb: add test.
88516
88517Fri Dec 12 22:36:44 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88518
88519	* lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,
88520	  "#{aCell}" and so on.
88521
88522	* test/csv/test_csv.rb: add tests.
88523
88524Fri Dec 12 19:33:06 2003  Minero Aoki  <aamine@loveruby.net>
88525
88526	* lib/fileutils.rb (mkdir): remove trailing `/' from pathes.
88527
88528	* lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238]
88529
88530	* lib/fileutils.rb (rmdir_r): ditto.
88531
88532	* lib/fileutils.rb (fu_copy_dir): check if it is a directory after
88533	  mkdir(2).
88534
88535Fri Dec 12 06:06:09 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88536
88537	* eval.c (proc_invoke): fix class name in warning message for
88538	  define_method.  [ruby-dev:22235]
88539
88540Thu Dec 11 21:24:43 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88541
88542	* ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12.
88543
88544	* ext/openssl/ossl.[ch]: ditto.
88545
88546	* ext/openssl/MANIFEST: add ossl_pkcs12.[ch].
88547
88548Thu Dec 11 20:54:28 2003  Minero Aoki  <aamine@loveruby.net>
88549
88550	* lib/fileutils.rb (mkdir_p): remove trailing `/' befere mkdir(2).
88551	  mkdir("nonexistdir/") does not work on NetBSD/Alpha 1.6.1.
88552
88553	* lib/fileutils.rb (fu_list): call to_str for all arguments.
88554
88555Thu Dec 11 20:07:01 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88556
88557	* lib/ftools.rb (makedirs): sync with fileutils.
88558
88559Thu Dec 11 19:53:03 2003  Minero Aoki  <aamine@loveruby.net>
88560
88561	* lib/fileutils.rb (mkdir_p): catch all SystemCallErrors.
88562	  (mkdir("C:\") causes EACCESS on Windows 2000/NTFS)
88563
88564Thu Dec 11 19:08:02 2003  Minero Aoki  <aamine@loveruby.net>
88565
88566	* lib/fileutils.rb (mkdir_p): check if it is a directory after
88567	  mkdir(2) instead of before mkdir(2), to avoid race condition.
88568	  [ruby-talk:87730]
88569	  Refer: mkinstalldirs sh script, GNU mkdir(1) (coreutils 5.0)
88570
88571Thu Dec 11 18:49:30 2003  Minero Aoki  <aamine@loveruby.net>
88572
88573	* lib/fileutils.rb: def m( arg ) -> def m(arg).
88574
88575Thu Dec 11 11:39:43 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88576
88577	* configure.in (ieeefp.h), numeric.c: needed for finite() on
88578	  Solaris.  [ruby-core:01921]
88579
88580	* file.c (rb_stat_inspect): adjust format specifier.
88581
88582	* parse.c (arg_prepend): nodetype() is for debug use.
88583
88584	* ruby.h (ISASCII, etc): cast to int to get rid of warning.
88585
88586	* ruby.h (alloca.h): include even in GCC.  [ruby-core:01925]
88587
88588	* ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format
88589	  specifier.
88590
88591	* ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce,
88592	  BigDecimal_divmod): use rb_assoc_new() to suppress memory usage.
88593
88594	* ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto.
88595
88596	* ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be
88597	  volatile.
88598
88599	* ext/iconv/iconv.c (iconv_convert): ensure actual parameter with
88600	  format specifier.
88601
88602	* ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not
88603	  define unless used.
88604
88605	* ext/pty/pty.c (getDevice): get rid of warning.
88606
88607	* ext/socket/socket.c (port_str, sock_s_getaddrinfo,
88608	  sock_s_getnameinfo): FIX2INT() now returns long.
88609
88610	* ext/socket/socket.c (init_inetsock_internal): uninitialized
88611	  variable.
88612
88613	* ext/syck/rubyext.c (syck_parser_assign_io): add prototype.
88614
88615	* ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use
88616	  ISDIGIT() instead of isdigit() to avoid warnings and for
88617	  platforms which don't support non-ascii charater.
88618
88619Wed Dec 10 19:28:56 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88620
88621	* ext/stringio/stringio.c (strio_read): set EOF flag at short read.
88622	  [ruby-dev:22223], [ruby-dev:22224]
88623
88624Wed Dec 10 18:07:25 2003  Minero Aoki  <aamine@loveruby.net>
88625
88626	* lib/erb.rb: new method ERB#filename(=). [ruby-dev:22208]
88627
88628Wed Dec 10 17:54:51 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88629
88630	* ext/stringio/stringio.c (strio_read): do not set EOF flag when
88631	  requested length is zero.  [ruby-dev:22214]
88632
88633Wed Dec 10 17:17:18 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88634
88635	* io.c (read_all): should return given string even if data read is
88636	  empty.  [ruby-dev:22207]
88637
88638Wed Dec 10 17:16:06 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88639
88640	* ext/stringio/stringio.c (strio_read): adjust behavior at reading
88641	  beyond EOF to IO.  [ruby-dev:22205]
88642
88643	* test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading
88644	  beyond EOF.
88645
88646	* test/ruby/test_file.rb, test/stringio/test_stringio.rb: include
88647	  TestEOF::Seek test case.
88648
88649Wed Dec 10 15:01:19 2003  Shugo Maeda  <shugo@ruby-lang.org>
88650
88651	* test/monitor/test_monitor.rb (test_cond): use Queue#deq
88652	  instead of sleep.
88653
88654Wed Dec 10 14:45:39 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88655
88656	* ext/pty/pty.c (HAVE_SYS_IOCTL_H): need to include <sys/ioctl.h>
88657	  for TIOCSCTTY on *BSD.  based on gotoyuzo's patch.
88658	  (ruby-bugs:PR#1211)
88659
88660	* ext/pty/pty.c (establishShell): should close descriptors if fork
88661	  failed.
88662
88663Wed Dec 10 12:53:05 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88664
88665	* win32/win32.h: define execv() using do_aspawn().
88666
88667	* process.c (proc_exec_v): remove #ifdef's which stopped needing.
88668
88669Tue Dec  9 23:32:23 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88670
88671	* ext/tk/lib/tk.rb, ext/tk/lib/tkcanvas.rb, ext/tk/lib/tkdialog.rb,
88672	  ext/tk/lib/tkentry.rb, ext/tk/lib/tkscrollbox.rb, ext/tk/lib/tktext.rb,
88673	  ext/tk/sample/tkalignbox.rb, ext/tk/sample/tkcombobox.rb,
88674	  ext/tk/sample/tkmultilistbox.rb, ext/tk/sample/tkoptdb.rb, ext/tk/sample/tktextframe.rb,
88675	  ext/tk/sample/demos-en/dialog1.rb, ext/tk/sample/demos-en/dialog2.rb,
88676	  ext/tk/sample/demos-jp/dialog1.rb, ext/tk/sample/demos-jp/dialog2.rb:
88677	  overrided instance methods, which are private methods on the super
88678	  class, are changed to 'private'
88679
88680Tue Dec  9 19:53:02 2003  akira yamada  <akira@ruby-lang.org>
88681
88682	* lib/uri/generic.rb (URI::Generic#route_from0): make case insensitive
88683	  for host-part.
88684
88685	* test/uri/test_generic.rb (test_route): added tests for the above
88686	  change.
88687
88688Tue Dec  9 14:10:48 2003  Tanaka Akira  <akr@m17n.org>
88689
88690	* io.c (rb_io_check_readable): don't call io_seek if EOF flag is set,
88691	  to avoid clearing EOF flag.
88692	  (rb_io_check_writable): ditto.
88693
88694Tue Dec  9 02:53:55 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88695
88696	* ext/tk/sample/tkalignbox.rb: new sample script
88697
88698Tue Dec  9 00:45:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
88699
88700	* lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raise
88701	  and made the former call the latter. [ruby-core:01890]
88702
88703	* test/testunit/test_assertions.rb: ditto.
88704
88705Tue Dec  9 00:07:35 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88706
88707	* lib/soap/rpc/standaloneServer.rb: add 'shutdown' and 'status'
88708	  methods as delegates to WEBrick.
88709
88710	* test/soap/calc/{test_calc.rb,test_calc2.rb},
88711	  test/soap/helloworld/test_helloworld.rb,
88712	  test/wsdl/datetime/test_datetime.rb, test/wsdl/raa/test_raa.rb:
88713	  follow the change.
88714
88715Mon Dec  8 22:48:03 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88716
88717	* lib/test/unit/autorunner.rb: remove dependency to a particular
88718	  runner.  [ruby-core:01901], [ruby-list:38869]
88719
88720	* lib/test/unit/ui/testrunnerutilities.rb: moved output level
88721	  constants from Console.
88722
88723	* lib/test/unit/ui/console/testrunner.rb: ditto.
88724
88725	* lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
88726	  accept output_level.
88727
88728Mon Dec  8 15:03:30 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88729
88730	* ext/syck/syck.c (syck_io_str_read): get rid of buffer overflow.
88731
88732Mon Dec  8 13:02:11 2003  Minero Aoki  <aamine@loveruby.net>
88733
88734	* lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]
88735
88736	* test/uri/test_common.rb: add test for URI.regexp.
88737
88738Mon Dec  8 12:44:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88739
88740	* pack.c: define swap16 and swap32 only if they are not
88741	  defined. OpenBSD defines these macros. [ruby-dev:22181]
88742
88743Sun Dec  7 20:54:17 2003  Tanaka Akira  <akr@m17n.org>
88744
88745	* ext/iconv/iconv.c (map_charset): make case sensitive.
88746	  ext/iconv/charset_alias.rb (charset_alias): don't ignore
88747	  config.charset's information.  sort aliases.
88748
88749Sat Dec  6 22:58:03 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88750
88751	* ext/openssl/ossl_ssl.c (ossl_start_ssl): new function to wrap
88752	  SSL_connect and SSL_accept; if SSL_connect (or SSL_accept) returned
88753	  but not finished the handshake process, we should retry it.
88754
88755	* ext/openssl/ossl_ssl.c (ossl_ssl_connect): call ossl_start_ssl.
88756
88757	* ext/openssl/ossl_ssl.c (ossl_ssl_accept): ditto.
88758
88759	* ext/openssl/ossl_ssl.c (ossl_ssl_read): allow signal traps.
88760
88761Sat Dec  6 21:45:10 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
88762
88763	* io.c (flush_before_seek): flush before seek on any platform.
88764
88765	* configure.in: ditto.
88766
88767Sat Dec  6 17:23:00 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88768
88769	* lib/soap/soap.rb(SOAP::Env.getenv): allow upcase environment variable
88770	  as well as downcase one.
88771
88772	* lib/soap/netHttpClient.rb(SOAP::NetHttpClient#proxy=): check URI.
88773
88774Fri Dec  5 23:22:30 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88775
88776	* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises,
88777	  Test::Unit::Assertions::assert_nothing_raised): use the last
88778	  argument as message unless class object.
88779
88780	* test/testunit/test_assertions.rb (test_assert_raises): test for
88781	  multiple exception list.  [ruby-core:01891]
88782
88783	* test/testunit/test_assertions.rb (test_assert_nothing_raised): test
88784	  for non-exception classes.
88785
88786Fri Dec  5 22:23:04 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88787
88788	* lib/soap/netHttpClient.rb: proxy support did not work.  fixed.
88789
88790	* lib/soap/property.rb: add class methods for loading property from
88791	  stream/file/propertyfile.  propertyfile is a file which is located at
88792	  somedir in $:.
88793
88794	* lib/soap/soap.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb,
88795	  lib/wsdl/importer.rb: load property from propertyfile 'soap/property'
88796	  e.g. /usr/local/lib/ruby/site_ruby/1.8/soap/property.
88797
88798	* test/soap/test_property.rb, test/soap/test_streamhandler.rb: new file.
88799
88800Fri Dec  5 17:26:23 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88801
88802	* eval.c (rb_exec_end_proc): maintain tmp_end_procs.
88803	  [ruby-dev:22154]
88804
88805Fri Dec  5 13:36:59 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88806
88807	* eval.c (rb_exec_end_proc): should not clear end_procs and
88808	  ephemeral_end_procs before execution. [ruby-dev:22144]
88809
88810	* eval.c (rb_obj_extend): call Module#extended hook after
88811	  extended_object.  [ruby-list:38866]
88812
88813	* object.c (Init_Object): Module#extended defined.
88814
88815Fri Dec  5 13:17:30 2003  Tanaka Akira  <akr@m17n.org>
88816
88817	* test/ruby/test_pipe.rb: use IO.pipe instead of IO.popen.
88818
88819Fri Dec  5 11:54:45 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88820
88821	* ext/stringio/stringio.c (strio_read): follow IO#read.
88822
88823	* test/ruby/ut_eof.rb, test/ruby/test_file.rb, test/ruby/test_pipe.rb,
88824	  test/stringio/test_stringio.rb: add EOF test.
88825
88826Fri Dec  5 02:49:35 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88827
88828	* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises):
88829	  allow multiple exception list.  [ruby-core:01884]
88830
88831	* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
88832	  check whether arguments are subclass of Exception.
88833
88834Thu Dec  4 23:54:00 2003  Rick Ohnemus  <rick.ohnemus@systemware.com>
88835
88836	* dln.c (aix_loaderror): should not use member named 'errno' which
88837	  might be a macro (e.g. on AIX).
88838
88839Thu Dec  4 23:32:26 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88840
88841	* io.c (read_all): do not depend on lseek position.
88842	  [ruby-dev:22026]
88843
88844Thu Dec  4 22:37:26 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88845
88846	* eval.c (rb_eval): preserve $! value when retry happens in the
88847	  rescue clause.  [ruby-talk:86697]
88848
88849Thu Dec  4 21:50:07 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88850
88851	* lib/drb/drb.rb (DRb::DRbMessage::send_request, send_reply):
88852	  should rescue errors and re-raise DRbConnError on write too.
88853	  [ruby-dev:22132]
88854
88855Thu Dec  4 16:41:17 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88856
88857	* parse.y (exc_list): allow expanding list.  [ruby-dev:22134]
88858
88859Thu Dec  4 14:09:24 2003  Minero Aoki  <aamine@loveruby.net>
88860
88861	* test/fileutils/test_fileutils.rb (test_cp): test if the error is
88862	  kind of SystemCallError.  It is needless details that which errno
88863	  is set on each systems.
88864
88865Thu Dec  4 13:24:13 2003  Shugo Maeda  <shugo@ruby-lang.org>
88866
88867	* lib/monitor.rb: use Object#__send__ instead of Object#send.
88868
88869Thu Dec  4 13:17:45 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88870
88871	* lib/soap/streamHandler.rb: support latest released version of
88872	  http-access2.
88873
88874Thu Dec  4 13:04:44 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
88875
88876	* lib/soap/soap.rb: add SOAP::Env module for environment repository
88877	  such as HTTP_PROXY.
88878
88879	* lib/soap/property.rb: property implementation.
88880
88881	* lib/soap/streamHandler.rb, lib/soap/wsdlDriver.rb,
88882	  lib/soap/rpc/driver.rb: use soap/property.rb.
88883
88884	* lib/wsdl/importer.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb:
88885	  use SOAP::Env.
88886
88887	* lib/soap/netHttpClient.rb: add basic_auth, ssl_config, and cookie
88888	  management interface, but ignored for now.
88889
88890	* lib/xsd/charset.rb: add XSD::Charset.encoding= interface to set
88891	  wiredump charset explicitly.  it was fixed to 'utf-8' when iconv or
88892	  uconv module was found.
88893
88894Thu Dec  4 10:43:58 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
88895
88896	* ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
88897	  feature.
88898
88899Thu Dec  4 10:27:12 2003  Minero Aoki  <aamine@loveruby.net>
88900
88901	* lib/net/http.rb: update hyperlink to the Japanese document.
88902
88903Thu Dec  4 09:12:43 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88904
88905	* ext/openssl/ossl_asn1.c (asn1time_to_time): should check that
88906	  the underlying value of ASN1_TIME isn't NULL. [ruby-core:01881]
88907
88908Thu Dec  4 08:29:43 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
88909
88910	* lib/webrick/server.rb (GenericServer#start): should rescue
88911	  Exception to avoid unexpected aborting. [ruby-core:01853]
88912
88913	* lib/webrick/server.rb (GenericServer#start_thread): should check
88914	  that peeraddr isn't nil before printing.
88915
88916	* lib/webrick/httpresponse.rb (HTTPResponse#start_thread): should
88917	  rescue Exception to avoid unexpected aborting of thread.
88918
88919Thu Dec  4 03:48:59 2003  Tanaka Akira  <akr@m17n.org>
88920
88921	* lib/pathname.rb (Pathname#link, Pathname#symlink): obsoleted.
88922	  (Pathname#make_link, Pathname#make_symlink): new method.
88923
88924Thu Dec  4 01:45:24 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
88925
88926	* io.c (argf_read): should not terminate on empty string; wait
88927	  until real EOF.  [ruby-dev:21969]
88928
88929	* io.c (argf_read): should adjust length to read, when length is
88930	  specified and read spans command line argument files.
88931
88932Wed Dec  3 19:38:36 2003  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
88933
88934	* lib/drb/drb.rb: correct fcntl parameter. [ruby-dev:22120]
88935
88936Wed Dec  3 13:49:07 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
88937
88938	* ext/tk/lib/tk.rb: 'format'==>'Kernel.format' (avoid override trouble)
88939
88940	* ext/tk/lib/tkafter.rb: ditto.
88941
88942	* ext/tk/lib/tkcanvas.rb: ditto.
88943
88944	* ext/tk/lib/tkdialog.rb: ditto.
88945
88946	* ext/tk/lib/tktext.rb: ditto.
88947
88948Wed Dec  3 13:28:13 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88949
88950	* Makefile.in (lex.c): try gperf first, and copy from the source
88951	  directory if failed.  [ruby-dev:22123]
88952
88953	* ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
88954
88955	* lib/mkmf.rb (configuration): DLDFLAGS was duplicated.
88956
88957Tue Dec  2 23:18:12 2003  Minero Aoki  <aamine@loveruby.net>
88958
88959	* lib/net/http.rb: wrote the warning about HTTP_PROXY environment
88960	  variable.
88961
88962Tue Dec  2 21:31:42 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
88963
88964	* bin/testrb: new test runner.  [ruby-core:01845]
88965
88966	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
88967	  Test::Unit::AutoRunner#process_args): take test list to run and
88968	  options.
88969
88970	* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
88971	  Test::Unit::AutoRunner#run): should not exit inside a library,
88972	  just return the result instead.
88973
88974	* lib/test/unit.rb: ditto.
88975
88976	* test/runner.rb: exit with the test result.
88977
88978Tue Dec  2 20:18:48 2003  Eric Sunshine  <sunshine@sunshineco.com>
88979
88980	* configure.in (AC_PROG_YACC): AC_DEFINE(OLD_YACC) if Yacc is found
88981	  instead of Bison or byacc.
88982
88983	* parse.y: If OLD_YACC is defined, ensure that YYMAXDEPTH is at least
88984	  10000 (Bison's default) since some old versions of Yacc define it as
88985	  low as 150 by default, which is too low for Ruby to parse some files,
88986	  such as date/format.rb.  Among other issues, the parse problem causes
88987	  "make test" to fail.
88988
88989Tue Dec  2 20:03:20 2003  Minero Aoki  <aamine@loveruby.net>
88990
88991	* test/fileutils/test_fileutils.rb: check if Pathnames are usable
88992	  for arguments.
88993
88994Tue Dec  2 04:22:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
88995
88996	* lib/test/unit/assertions.rb: fixed #assert_no_match message.
88997
88998	* test/testunit/test_assertions.rb: ditto.
88999
89000Tue Dec  2 00:43:00 2003  why the lucky stiff  <why@ruby-lang.org>
89001
89002	* ext/syck/syck.c: string buffering bug.  decrementing by full
89003	  max_size now. [ruby-core:01834]
89004
89005Mon Dec  1 21:33:08 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89006
89007	* numeric.c (num_sadded): prohibit singleton method definition for
89008	  Numerics.  fill yet another gap between Fixnum and Bignum.
89009
89010Mon Dec  1 17:33:47 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89011
89012	* pack.c (htov16): converts endian using swap16. htov32(), hton16,
89013	  hton32 as well. [ruby-talk:85377]
89014
89015	* pack.c (swap16): swap 2 bytes no matter how big short is on the
89016	  platform.  swap32() is also prepared.
89017
89018	* numeric.c (rb_num2int): returns long to preserve information.
89019	  rb_fix2int(), rb_num2uint(), rb_fix2uint() as well.
89020	  [ruby-talk:85377]
89021
89022	* numeric.c (rb_num2uint): should not check for value range if the
89023	  source value is negative.
89024
89025Mon Dec  1 17:14:34 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89026
89027	* sample/optparse/opttest.rb: added.
89028
89029Mon Dec  1 16:10:52 2003  Dave Thomas  <dave@pragprog.com>
89030
89031	* lib/rdoc/rdoc.rb: (etc) initial merge into main tree.
89032
89033Mon Dec  1 14:17:49 2003  Minero Aoki  <aamine@loveruby.net>
89034
89035	* lib/fileutils.rb (fu_each_src_dest0): call #to_str to allow
89036	  Pathname for arguments. [ruby-core:01795]
89037
89038	* test/fileutils/test_fileutils.rb: does much strict test on
89039	  "same" files detecting.
89040
89041Mon Dec  1 09:28:14 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89042
89043	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
89044	  (XCFLAGS): re-export $(XCFLAGS).
89045
89046	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
89047	  (ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
89048
89049Mon Dec  1 01:03:27 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89050
89051	* lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGS
89052	  and ARCH_FLAG.  [ruby-dev:22085]
89053
89054Sun Nov 30 20:18:07 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89055
89056	* configure.in: keep ARCH_FLAG separate. export ARCH_FLAG.
89057	  [ruby-core:01819]
89058
89059	* Makefile.in: add ARCH_FLAG to CFLAGS.
89060
89061	* Makefile.in: add @CPPFLAGS@ to CPPFLAGS.
89062
89063	* lib/mkmf.rb (link_command, cc_command): use ARCH_FLAG.
89064
89065	* lib/mkmf.rb (configuration): add ARCH_FLAG to DLDFLAGS.
89066
89067	* Makefile.in: add ARCH_FLAG to DLDFLAGS.
89068
89069	* configure.in: should put getcwd in AC_CHECK_FUNCS, not
89070	  AC_REPLACE_FUNCS.  [ruby-core:01826]
89071
89072Sun Nov 30 18:22:48 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89073
89074	* configure.in: do not override CCDLDFLAGS, LDFLAGS, XLDFLAGS,
89075	  DLDFLAGS and LDSHARED.
89076
89077	* configure.in: XCFLAGS for compiling ruby itself.  ARCH_FLAG is
89078	  reflected in CFLAGS.
89079
89080	* lib/mkmf.rb: ditto.  do not import XCFLAGS from config.status.
89081
89082Sun Nov 30 17:37:36 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89083
89084	* ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]
89085
89086Sun Nov 30 13:02:00 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89087
89088	* lib/soap/encodingstyle/soapHandler.rb: refactoring - Simplifying
89089	  Conditional Expressions.
89090
89091	* lib/wsdl/soap/definitions.rb: refactoring - Move Method.
89092
89093	* test/xsd/{test_noencoding.rb,noencoding.xml}: new files.  test for
89094	  encoding unspecified XML file parsing.
89095
89096	* test/wsdl/{test_fault.rb,map,datetime}: new files.  test of
89097	  SOAPFault, dateTime and Apache's Map.
89098
89099Sun Nov 30 09:35:14 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89100
89101	* string.c (rb_str_update): get rid of SEGV at just allocated String.
89102	  [ruby-core:01812]
89103
89104Fri Nov 28 23:19:34 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89105
89106	* gc.c (gc_mark): explicitly check mark recursion levels, instead
89107	  of unreliable stack length.
89108
89109Fri Nov 28 22:49:56 2003  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
89110
89111	* lib/rinda/rinda.rb: fix TupleSpaceProxy#read, read_all.
89112
89113Fri Nov 28 21:44:40 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89114
89115	* test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not
89116	  a directory for FreeBSD.
89117
89118Fri Nov 28 19:37:56 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89119
89120	* hash.c (env_has_value, env_index): must match exactly.
89121
89122	* test/ruby/test_env.rb (test_has_value, test_index): condition for
89123	  aboves.
89124
89125Fri Nov 28 17:59:20 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89126
89127	* test/ruby/test_env.rb: add tests for ENV.
89128
89129Fri Nov 28 17:47:46 2003  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
89130
89131	* lib/drb/drb.rb (DRbMessage#load): rescue Errno::* and raise
89132	  DRbConnError.
89133
89134Fri Nov 28 15:41:15 2003  Tanaka Akira  <akr@m17n.org>
89135
89136	* lib/pathname.rb (Pathname#realpath): obsolete the force_absolute
89137	  argument.
89138
89139Fri Nov 28 14:41:52 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89140
89141	* lib/soap/streamHandler.rb: drop unused http parameters.
89142
89143	* lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb,
89144	  lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb,
89145	  lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken
89146	  under WSDL dynanic client environment.  fixed.
89147
89148	* test/wsdl/raa/*: add tests.
89149
89150	* lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.)
89151	  bug of soap4r.  XSDDateTimeImple.to_time passed a Float to
89152	  Time.local/Time.gm as an usec, and NUM2LONG(rb_num2long for Float)
89153	  causes rounding error.
89154
89155	* test/soap/test_basetype.rb, test/xsd/test_xsd.rb: add tests.
89156
89157Fri Nov 28 04:15:24 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89158
89159	* eval.c (method_arity): used wrong Proc object.  [ruby-talk:86504]
89160
89161Fri Nov 28 00:47:29 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89162
89163	* eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as
89164	  success, false as failure.  [ruby-dev:22067]
89165
89166	* eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use
89167	  ANSI macro instead of hard coded value.
89168
89169	* eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but
89170	  TYPEs.
89171
89172Thu Nov 27 22:05:48 2003  Akinori MUSHA  <knu@iDaemons.org>
89173
89174	* eval.c, gc.c: FreeBSD/ia64 currently does not have a way for a
89175	  process to get the base address for the RSE backing store, so
89176	  hardcode it for the moment.
89177	  [submitted by: Marcel Moolenaar <marcel@FreeBSD.org>]
89178
89179Thu Nov 27 17:36:42 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89180
89181	* ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode).
89182	  TkTimer#wait recieves the exception of the callback.
89183	  The exception is kept on @return_value.
89184
89185Thu Nov 27 16:58:48 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89186
89187	* win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.
89188
89189Wed Nov 26 15:38:47 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89190
89191	* test/fileutils/test_fileutils.rb (test_ln_s): should take the
89192	  existing symbolic link for OpenBSD.
89193
89194Wed Nov 26 04:48:42 2003  why the lucky stiff  <why@ruby-lang.org>
89195
89196	* ext/syck/token.c: removed YYTOKTMP references which
89197	  were causing buffer overflows on large block scalars,
89198	  comments, quoted scalars and plain scalars.
89199
89200	* ext/syck/rubyext.c: dynamic changing of buffer size.
89201
89202	* ext/syck/syck.h: default buffer size of 4k.
89203
89204Wed Nov 26 00:55:30 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89205
89206	* lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=.
89207
89208	* lib/webrick/httpserver.rb (HTTPServer#run): should pass the
89209	  request's keep_alive flag to the response.
89210
89211Tue Nov 25 21:41:35 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89212
89213	* defines.h (ENV_IGNORECASE): should define when DOSISH without
89214	  human68k. [ruby-dev:22047]
89215
89216	* hash.c (env_has_value, env_index): don't ignore case of value.
89217	  [ruby-dev:22048]
89218
89219Tue Nov 25 21:39:37 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89220
89221	* file.c (path_check_1): honor sticky bits always.
89222	  [ruby-talk:86273]
89223
89224Tue Nov 25 20:02:14 2003  Minero Aoki  <aamine@loveruby.net>
89225
89226	* test/fileutils/test_fileutils.rb: do test in more deep
89227	  directory.
89228
89229	* test/fileutils/test_nowrite.rb: ditto.
89230
89231Tue Nov 25 19:04:23 2003  Tanaka Akira  <akr@m17n.org>
89232
89233	* lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test
89234	  refined.
89235
89236Tue Nov 25 18:13:30 2003  Minero Aoki  <aamine@loveruby.net>
89237
89238	* test/fileutils/test_fileutils.rb: chdir Dir.tmpdir before each
89239	  test. [ruby-dev:22045]
89240
89241	* test/fileutils/test_nowrite.rb: ditto.
89242
89243Tue Nov 25 17:52:11 2003  Tanaka Akira  <akr@m17n.org>
89244
89245	* lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGI
89246	  if the environment variable is case sensitive.
89247
89248Tue Nov 25 16:41:33 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89249
89250	* test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb:
89251	  removed.  this test requires extra libraries in soap4r/1.5.*.
89252
89253Tue Nov 25 16:24:42 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89254
89255	* lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license;
89256	  GPL2 -> Ruby's.
89257
89258	* lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb,
89259	  lib/soap/streamHandler.rb: add interface to streamhandler.
89260
89261	* lib/soap/marshal.rb: raise error if parse fails.
89262
89263	* lib/soap/netHttpClient.rb: add https support.  Patched by
89264	  Oliver M. Bolzer.
89265
89266	* lib/soap/netHttpClient.rb: dump HTTP response message body by itself.
89267
89268	* lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb,
89269	  lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce
89270	  using charset for parsing response from buggy server.
89271
89272	* lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half
89273	  typed multi-ref array.
89274
89275	* lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map
89276	  SOAPStruct which has multi-accessors which name are the same, to an
89277	  array.
89278
89279	* lib/soap/rpc/element.rb: fixed illegal parameter order.
89280
89281	* lib/soap/rpc/element.rb: element name of response message could have
89282	  the name other than 'return'.
89283
89284	* lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb,
89285	  lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb,
89286	  lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural
89287	  fault definition in a operation. [ruby-talk:84948]
89288
89289	* test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add
89290	  test for above fix.
89291
89292	* lib/wsdl/soap/complexType.rb: support WSDL array definition with
89293	  maxOccures="unbound".
89294
89295	* lib/xsd/charset.rb: use cp932 under emx.  Patched by
89296	  Siena. / SHINAGAWA, Norihide in [ruby-dev:21972]
89297
89298	* lib/xsd/xmlparser/parser.rb: set @charset nil by default.  Nil means
89299	  'follow encoding declaration in XML'.
89300
89301	* sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb,
89302	  sample/wsdl/googleSearch/sampleClient.rb,
89303	  sample/wsdl/googleSearch/wsdlDriver.rb,
89304	  test/wsdl/test_emptycomplextype.rb,
89305	  test/wsdl/marshal/test_wsdlmarshal.rb,
89306	  test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read }
89307	  instead of File.open(...).read. [ruby-dev:21964]
89308
89309	* test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb:
89310	  simplify the test case.
89311
89312	* test/wsdl/axisArray/*: add tests for axis's array encoding.
89313
89314Tue Nov 25 16:15:29 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89315
89316	* ruby.h: don't treat Cygwin as Windows.
89317
89318Tue Nov 25 15:18:28 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89319
89320	* configure.in: change default value of --enable-pthread (default: no)
89321
89322Tue Nov 25 07:31:16 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89323
89324	* parse.y (primary): allow newlines just before right argument
89325	  parenthesis.  (ruby-bugs:PR#1221)
89326
89327Mon Nov 24 23:32:06 2003  Tanaka Akira  <akr@m17n.org>
89328
89329	* lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): use
89330	  catch/throw for redirection instead of exception.
89331	  (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection.
89332
89333Mon Nov 24 19:59:48 2003  Tanaka Akira  <akr@m17n.org>
89334
89335	* lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXY
89336	  instead of HTTP_PROXY in the CGI environment.
89337
89338Mon Nov 24 19:32:55 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89339
89340	* ext/etc/extconf.rb: check for pw_passwd in struct passwd and
89341	  gr_passwd in struct group for DJGPP.
89342
89343	* ext/etc/etc.c: ditto.
89344
89345	* ext/Setup.dj: support for curses, etc, zlib.
89346
89347Mon Nov 24 17:00:00 2003  Tanaka Akira  <akr@m17n.org>
89348
89349	* lib/open-uri.rb: validate option names.
89350	  :content_length_proc and :progress_proc option implemented.
89351
89352Mon Nov 24 14:53:10 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89353
89354	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
89355	  (XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.
89356
89357Sat Nov 22 23:09:45 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89358
89359	* configure.in: set enable_pthread to no on MinGW.
89360
89361Sat Nov 22 22:56:20 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89362
89363	* configure.in: add --enable-pthread option (default: yes)
89364
89365Sat Nov 22 22:48:46 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89366
89367	* ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkComposite
89368
89369	* ext/tk/lib/tkafter.rb: bug fix of TkAfter#start
89370
89371	* ext/tk/sample/tkcombobox.rb: new sample script
89372
89373	* ext/tcltklib/tcltklib.c: add native thread check
89374
89375Sat Nov 22 18:49:47 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89376
89377	* ext/curses/curses.c (window_nodelay): nodelay() of NetBSD's
89378	  libcruses returns no value, just like keypad().
89379
89380Sat Nov 22 17:36:36 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89381
89382	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
89383	  (HAVE_GETCWD): output to config.h.
89384
89385	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
89386	  (XCFLAGS): output to config.status.
89387
89388Sat Nov 22 13:10:10 2003  Minero Aoki  <aamine@loveruby.net>
89389
89390	* lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino.
89391
89392Sat Nov 22 11:28:48 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89393
89394	* gc.c (Init_stack): stack region is far smaller than usual if
89395	  pthread is used.
89396
89397Sat Nov 22 07:30:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
89398
89399	* lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred
89400	  when an exception had no backtrace.
89401
89402	* test/testunit/util/test_backtracefilter.rb: ditto.
89403
89404Fri Nov 21 16:44:18 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89405
89406	* ext/tk/lib/tkentry.rb: fix the encoding trouble of percent
89407	  substitutions on validatecommand option of TkEntry widget
89408
89409	* ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method
89410
89411Fri Nov 21 16:12:11 2003  Akinori MUSHA  <knu@iDaemons.org>
89412
89413	* ruby.1: Fix markups and grammar.
89414
89415Fri Nov 21 14:49:42 2003  Minero Aoki  <aamine@loveruby.net>
89416
89417	* ruby.1: wrote about ruby related environment variables.
89418
89419Fri Nov 21 12:28:03 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89420
89421	* marshal.c (w_extended): singleton methods should not be checked
89422	  when dumping via marshal_dump() or _dump(). [ruby-talk:85909]
89423
89424Fri Nov 21 01:40:00 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89425
89426	* configure.in: check <pthread.h>
89427
89428	* ruby.h: include pthread.h if existence.
89429	  define is_ruby_native() macro when not HAVE_NATIVETHREAD
89430
89431	* eval.c: undef is_ruby_native() function when not HAVE_NATIVETHREAD
89432
89433Fri Nov 21 00:43:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
89434
89435	* lib/test/unit/assertions.rb: use #__send__ instead of #send.
89436
89437	* lib/test/unit/testcase.rb: ditto.
89438
89439Thu Nov 20 19:19:22 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89440
89441	* configure.in: don't find the Cygwin's pthread library on MinGW.
89442
89443Thu Nov 20 19:15:50 2003  Minero Aoki  <aamine@loveruby.net>
89444
89445	* lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not
89446	  have st_ino (always 0). [ruby-dev:21972]
89447
89448	* lib/fileutils.rb (rename_cannot_overwrite_file?): emx does not
89449	  allow overwriting files by rename(2).
89450
89451	* test/fileutils/test_fileutils.rb: windows? ->
89452	  have_drive_letter?, have_file_perm?
89453
89454Thu Nov 20 17:50:58 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89455
89456	* ext/tk/sample/tkballoonhelp.rb: new sample script
89457
89458	* ext/tk/sample/tkmultilistbox.rb: ditto
89459
89460	* ext/tk/sample/tktextframe.rb: ditto
89461
89462Thu Nov 20 13:37:34 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89463
89464	* ruby.h: define is_ruby_native_thread() for no native thread
89465	  environment
89466
89467	* eval.c: ditto
89468
89469Thu Nov 20 12:42:47 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89470
89471	* configure.in: always check existence of the pthread library
89472
89473	* ruby.h: define macros for ruby's native thread check
89474
89475	* eval.c: add ruby's native thread check
89476
89477	* gc.c: ditto
89478
89479Wed Nov 19 14:45:18 2003  Minero Aoki  <aamine@loveruby.net>
89480
89481	* lib/net/http.rb (to_ary): print more friendly warning message.
89482
89483Wed Nov 19 14:32:08 2003  Minero Aoki  <aamine@loveruby.net>
89484
89485	* lib/fileutils.rb (fu_same?): add djgpp and wince.
89486
89487	* lib/fileutils.rb (cannot_overwrite_file?): add wince.
89488
89489Wed Nov 19 11:04:47 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89490
89491	* lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32
89492	  is same as mswin32.
89493
89494Wed Nov 19 07:54:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
89495
89496	* lib/test/unit.rb: do not run tests if $! is set.
89497
89498	* lib/test/unit/assertionfailederror.rb: extend StandardError instead
89499	  Exception (irb catches the former but not the latter).
89500
89501Tue Nov 18 23:31:36 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89502
89503	* missing/memmove.c (memmove): take void *, not char *.
89504
89505	* missing.h (memmove): ditto.
89506
89507	* missing.h (strchr, strrchr): return char *, not int.
89508
89509Tue Nov 18 22:20:10 2003  Minero Aoki  <aamine@loveruby.net>
89510
89511	* lib/fileutils.rb (fu_same?): temporal fix for windows.
89512
89513Tue Nov 18 19:05:04 2003  Minero Aoki  <aamine@loveruby.net>
89514
89515	* lib/fileutils.rb (fu_same?): check by inode instead of path
89516	  name, to detect two hard links pointing to the same content.
89517
89518	* test/fileutils.rb: did not create correctly looped symlinks.
89519
89520Tue Nov 18 18:23:05 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89521
89522	* ext/stringio/stringio.c (strio_read): behave as IO at empty string.
89523	  [ruby-dev:21939], [ruby-dev:21941]
89524
89525	* ext/stringio/stringio.c (strio_getc, strio_getline): set EOF flag.
89526
89527	* ext/stringio/stringio.c (strio_rewind, strio_seek, strio_ungetc):
89528	  clear EOF flag.
89529
89530	* test/stringio/test_stringio.rb: imported from [ruby-dev:21941].
89531
89532Tue Nov 18 14:06:35 2003  Minero Aoki  <aamine@loveruby.net>
89533
89534	* lib/fileutils.rb (fu_each_src_dest): raise if src==dest.
89535	  [ruby-talk:85344] [ruby-core:01699]
89536
89537	* lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow
89538	  e.g. remote objects for receivers.
89539
89540	* lib/fileutils.rb: FileTest -> File.
89541
89542	* lib/fileutils.rb: put parentheses for arguments of File.xxxx?
89543
89544	* test/fileutils/test_fileutils.rb (test_cp): test "cp a a".
89545
89546	* test/fileutils/test_fileutils.rb (test_mv): test "mv a a".
89547
89548	* test/fileutils/test_fileutils.rb (test_ln): test "ln a a".
89549
89550	* test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a".
89551
89552	* test/fileutils/test_fileutils.rb (test_install): test "install a a".
89553
89554	* test/fileutils/fileasserts.rb: new method assert_symlink.
89555
89556	* test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory.
89557
89558Mon Nov 17 19:38:49 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89559
89560	* file.c (getcwdofdrv): avoid using getcwd() directly, use
89561	  my_getcwd() instead.
89562
89563	* merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine
89564	  <sunshine@sunshineco.com>.  [ruby-core:01596]
89565
89566Mon Nov 17 10:50:27 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89567
89568	* lib/optparse.rb (OptionParser::Completion::complete): allow least
89569	  common completion for three or more candidates.
89570
89571Mon Nov 17 09:41:38 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89572
89573	* lib/test/unit/ui/tk/testrunner.rb,
89574	  lib/test/unit/ui/gtk/testrunner.rb:
89575	  run GUI main loop in sub thread.
89576
89577	* lib/test/unit/ui/gtk2/testrunner.rb: imported from rough.
89578
89579	* lib/test/unit/autorunner.rb (keyword_display): sort keywords.
89580
89581Sun Nov 16 18:10:57 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89582
89583	* eval.c (rb_eval): iterator should return value from next inside
89584	  begin/rescue/end.  (ruby-bugs:PR#1218)
89585
89586Sun Nov 16 13:26:07 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89587
89588	* marshal.c (w_object): LINK check earlier than anything else,
89589	  i.e. do not dump TYPE_IVAR for already dumped objects.
89590	  (ruby-bugs:PR#1220)
89591
89592	* eval.c (rb_eval): call "inherited" only when a new class is
89593	  generated; not on reopening.
89594
89595	* eval.c (eval): prepend error position in evaluating string to
89596	  "mesg" attribute string only when it's available and is a
89597	  string.
89598
89599Sun Nov 16 12:16:10 2003  Minero Aoki  <aamine@loveruby.net>
89600
89601	* lib/net/protocol.rb: logging response body. [experimental]
89602	  [ruby-list:38800]
89603
89604Sun Nov 16 10:49:38 2003  Gavin Sinclair  <gsinclair@soyabean.com.au>
89605
89606	* lib/thread.rb (Thread.exclusive): wrap method definition in
89607	  class Thread to enable rdoc to process.
89608
89609Sun Nov 16 09:45:23 2003  Minero Aoki  <aamine@loveruby.net>
89610
89611	* lib/net/http.rb (set_debug_output): warn if method is called
89612	  after #start.  [ruby-dev:38798]
89613
89614Sun Nov 16 04:41:33 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89615
89616	* eval.c (eval): do not re-raise exception to avoid unnecessary
89617	  exception copying, instead modify exception and internal
89618	  information to adjust eval().
89619
89620	* eval.c (backtrace): can return the current frame information
89621	  only if lev < -1.
89622
89623Sat Nov 15 22:16:42 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89624
89625	* /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext):
89626	  refine error message.
89627
89628Sat Nov 15 10:05:40 2003  Tanaka Akira  <akr@m17n.org>
89629
89630	* lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):
89631	  refactored to support options.
89632	  (Buffer): maintain size by this class.
89633
89634Sat Nov 15 07:40:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89635
89636	* eval.c (rb_method_node): new API to retrieve method body.
89637
89638Fri Nov 14 13:21:30 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89639
89640	* ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)
89641
89642	* ext/tk/lib/tkdialog.rb: TkDialog.new accepts a parent widget
89643	  argument [ruby-talk:85066]
89644
89645Thu Nov 13 20:53:35 2003  Tanaka Akira  <akr@m17n.org>
89646
89647	* lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.
89648	  [ruby-ext:02251]
89649
89650Thu Nov 13 19:17:00 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89651
89652	* lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow
89653	  (if available)
89654
89655Thu Nov 13 17:56:41 2003  Tanaka Akira  <akr@m17n.org>
89656
89657	* lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.
89658	  reported by Take_tk <ggb03124@nifty.ne.jp>.
89659	  [ruby-ext:02245]
89660
89661Thu Nov 13 16:45:53 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89662
89663	* ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function for
89664	  X509::Request#to_der.
89665
89666Thu Nov 13 11:31:14 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89667
89668	* lib/optparse.rb (OptionParser::Completion#complete): prior shorter
89669	  name to containing longer name.
89670
89671Thu Nov 13 06:08:54 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89672
89673	* ext/tk/lib/tk.rb: stop freezing some classes
89674
89675	* ext/tk/lib/multi-tk.rb: ditto.
89676
89677Wed Nov 12 17:32:49 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89678
89679	* lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):
89680	  uncaught throw in sub thread raises ThreadError.
89681
89682	* lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not
89683	  necessary.
89684
89685Wed Nov 12 14:09:43 2003  Shugo Maeda  <shugo@ruby-lang.org>
89686
89687	* test/monitor/test_monitor.rb: fix the timing problem by Queue.
89688
89689Wed Nov 12 12:59:44 2003  Shugo Maeda  <shugo@ruby-lang.org>
89690
89691	* test/monitor/test_monitor.rb: added.
89692
89693Wed Nov 12 10:14:28 2003  Shugo Maeda  <shugo@ruby-lang.org>
89694
89695	* lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.
89696
89697Wed Nov 12 06:11:39 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89698
89699	* ext/openssl/ossl.c (ossl_x509_sk2ary, ossl_x509crl_sk2ary):
89700	  add functions to convert STACK into Array.
89701
89702	* ext/openssl/ossl.h: add prototypes.
89703
89704	* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_set_certificates,
89705	  ossl_pkcs7_get_certificates, ossl_pkcs7_get_crls,
89706	  ossl_pkcs7_set_crls): add functions for PKCS7#certificates=
89707	  PKCS7#certificates, PKCS7#crls= and PKCS7#crls.
89708
89709Wed Nov 12 00:47:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
89710
89711	* lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.
89712
89713Tue Nov 11 23:54:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
89714
89715	* lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
89716	  the case when the requested font is not available.
89717
89718Tue Nov 11 22:44:08 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89719
89720	* io.c (appendline): file may not end with newline.  a bug if
89721	  READ_DATA_PENDING_PTR is defined. [ruby-talk:84925]
89722
89723Tue Nov 11 10:42:41 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89724
89725	* ext/tk/lib/tk.rb: raise an exception when creating TkWindow
89726	  object, because TkWindow class is an abstract class.
89727
89728Tue Nov 11 03:30:43 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89729
89730	* lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nil
89731	  if the specified value doesn't exist.
89732
89733	* lib/ext/openssl/ossl_conf.c (ossl_config_get_section): return
89734	  a empty hash if the specified section doesn't exist.
89735
89736Mon Nov 10 11:40:29 2003  Shugo Maeda  <shugo@ruby-lang.org>
89737
89738	* lib/monitor.rb (wait): return true on signal/broadcastfalse and
89739	  false on timeout. Thanks Gennady Bystritsky.
89740
89741Mon Nov 10 00:07:10 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89742
89743	* parse.y (primary): primary_value may be 0 when syntax error.
89744	  [ruby-talk:84893]
89745
89746Sun Nov  9 02:05:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
89747
89748	* lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
89749	  maintain symmetry with #assert_nil. Also added better output for
89750	  #assert_kind_of.
89751
89752	* test/testunit/tc_assertions.rb: ditto.
89753
89754Sat Nov  8 18:50:20 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89755
89756	* test/wsdl/raa/*: add new testcase for WSDL loading, parsing and
89757	  reading.
89758
89759	* test/soap/marshal/*: backport from soap4r/1.5.1.  all differences are
89760	  for ruby/1.6.
89761
89762	* lib/soap/*: backport from soap4r/1.5.1.  all differences are for
89763	  ruby/1.6.
89764
89765	* lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of
89766	  ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*.
89767	  [ruby-talk:84813]
89768
89769	* lib/wsdl/soap/definitions.rb: element name typo in custom exception
89770	  struct definition which is needed for wsdlDriver; camelCase ->
89771	  underscore_name.
89772
89773Sat Nov  8 13:49:50 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89774
89775	* configure.in: improvement of pthread check
89776
89777Sat Nov  8 13:28:46 2003  Takaaki Tateishi  <ttate@ttsky.net>
89778
89779	* ext/dl/sym.c: Add DL.win32_last_error and DL.last_error.
89780	  Thanks, Kaoru Shirai.
89781
89782Sat Nov  8 06:19:38 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89783
89784	* ext/tcltklib/tcltklib.c: To fix 'pthread-enabled Tcl/Tk' problem,
89785	  TclTkIp#_eval calls Tcl_Eval() on the mainloop thread only
89786	  (queueing a handler to the EventQueue).
89787
89788	* ext/tcltklib/README.1st: edit the description of '--with-pthread-ext'
89789
89790Fri Nov  7 23:23:04 2003  Tanaka Akira  <akr@m17n.org>
89791
89792	* lib/pathname.rb (Pathname#+): if self or the argument is `.', return
89793	  another.
89794	  (Pathname#parent): if self is `.', return `..'.
89795	  (Pathname#children): if self is `.', don't prepend self for a
89796	  pathname in a result.
89797	  (Pathname#join): re-implemented using Pathname#+.
89798	  (Pathname#find): if self is `.', remove `./' prefix of yielding
89799	  pathname.
89800
89801Fri Nov  7 10:23:24 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89802
89803	* ext/socket/socket.c (make_hostent): get rid of SEGV on aliases
89804	  lookup failure.  (ruby-bugs:PR#1215)
89805
89806Fri Nov  7 04:08:05 2003  UENO Katsuhiro  <katsu@blue.sky.or.jp>
89807
89808	* ext/zlib/zlib.c (Init_zlib): define Zlib::GzipReader#each_line as
89809	  an alias of Zlib::GzipReader#each.
89810
89811Fri Nov  7 01:03:16 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89812
89813	* eval.c (rb_load): save and restore rb_prohibit_interrupt.
89814	  [ruby-dev:21857]
89815
89816Thu Nov  6 18:05:07 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89817
89818	* io.c (rb_io_inspect): show the path also at a closed file.
89819	  [ruby-dev:21851]
89820
89821Thu Nov  6 11:42:07 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89822
89823	* ext/stringio/stringio.c (strio_set_string, strio_reopen): check
89824	  tainted.
89825
89826	* ext/stringio/stringio.c (strio_copy, strio_ungetc, strio_write,
89827	  strio_putc): add infection.
89828
89829	* ext/stringio/stringio.c (strio_path): just nil.  [ruby-dev:21846]
89830
89831	* ruby.c (proc_options): reserve searched script path in the
89832	  source file name table.  [ruby-list:38765]
89833
89834	* lib/optparse.rb (OptionParser::Completion#complete): default not to
89835	  ignore case on completion.  [ruby-talk:84726]
89836
89837	* win32/win32.c (make_cmdvector): process backslashes even if a quote
89838	  is not enclosed.
89839
89840Wed Nov  5 23:49:45 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89841
89842	* sample/openssl/gen_csr.rb: there (at least) is a CA which does not
89843	  accept DN in UTF8STRING format.  it's a sample.
89844
89845Wed Nov  5 22:55:16 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
89846
89847	* configure.in, eval.c, signal.c: : add '--with-pthread-ext'
89848	  option to fix the pthread trouble on 'tcltklib'
89849
89850	* ext/tcltklib/README.1st: add the description of '--with-pthread-ext'
89851
89852	* ext/tk/lib/tktext.rb: add TkText#text_copy, text_cut, text_paste
89853	  to support Tcl/Tk8.4's tk_textCopy, tk_textCut, tk_textPaste
89854
89855	* ext/tk/lib/tk.rb: add TkMenu#set_focus support Tcl/Tk's
89856	  tk_menuSetFocus
89857
89858Wed Nov  5 17:33:45 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89859
89860	* eval.c (rb_load): allow interrupt during loaded program
89861	  evaluation.  [ruby-dev:21834]
89862
89863	* hash.c (rb_hash_fetch): always warn if default argument and a
89864	  block are supplied at the same time. [ruby-dev:21842]
89865
89866	* hash.c (env_fetch): ditto.
89867
89868	* array.c (rb_ary_fetch): ditto.
89869
89870Wed Nov  5 19:08:47 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89871
89872	* lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
89873	  do not remove next argument if empty value is placed.
89874
89875	* test/optparse: added.
89876
89877Wed Nov  5 17:05:18 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
89878
89879	* lib/test/unit/ui/gtk/testrunner.rb: typo.
89880
89881Wed Nov  5 11:13:32 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89882
89883	* string.c: add #include "version.h". this file still depends on it.
89884
89885	* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
89886	  wince/Makefile.sub: add version.h dependency to string.c.
89887
89888Wed Nov  5 09:14:23 2003  Shugo Maeda  <shugo@ruby-lang.org>
89889
89890	* lib/monitor.rb: revert to the previous revision.
89891
89892Wed Nov  5 08:39:51 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89893
89894	* lib/webrick/https.rb (HTTPRequest#parse): set @client_cert_chain.
89895
89896	* lib/webrick/https.rb (HTTPRequest#meta_vars): create
89897	  SSL_CLIENT_CERT_CHAIN_n from @client_cert_chain.
89898
89899	* ext/openssl/ossl_ssl.c (ossl_ssl_get_peer_cert_chain): return nil
89900	  if no cert-chain was given.
89901
89902Tue Nov  4 23:44:48 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
89903
89904	* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
89905	  remove needless version.h dependency.
89906
89907Tue Nov  4 23:38:43 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
89908
89909	* class.c, hash.c, string.c: remove #include "version.h".
89910
89911	* Makefile.in: remove needless version.h dependency.
89912
89913Tue Nov  4 06:54:52 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89914
89915	* io.c (read_all): fptr->f may be NULL, if IO is closed in the
89916	  signal handler.
89917
89918	* io.c (io_read): ditto.
89919
89920	* string.c (get_pat): remove 1.8.0 warning code.
89921
89922	* string.c (rb_str_match): extend warning until 1.8.2.
89923
89924	* string.c (rb_str_match2): ditto.
89925
89926	* class.c (class_instance_method_list): remove 1.8.0 warnings.
89927	  method_list now recurs.  [ruby-dev:21816]
89928
89929	* class.c (rb_obj_singleton_methods): ditto.
89930
89931	* array.c (rb_ary_select): remove select with block.
89932	  [ruby-dev:21824]
89933
89934	* hash.c (rb_hash_select): ditto.
89935
89936	* hash.c (env_select): ditto.
89937
89938	* re.c (match_select): ditto.
89939
89940	* struct.c (rb_struct_select): ditto.
89941
89942Mon Nov  3 22:53:21 2003  Minero Aoki  <aamine@loveruby.net>
89943
89944	* lib/racc/parser.rb: synchronize with Racc 1.4.4.
89945
89946	* ext/racc/cparse/cparse.c: ditto.
89947
89948	* ext/racc/cparse/cparse.c (parse_main): should abort when
89949	  the length of LR state stack <=1, not ==0.
89950
89951Mon Nov  3 08:50:47 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
89952
89953	* process.c (check_uid_switch): remove duplicated error messages.
89954
89955	* process.c (check_gid_switch): ditto.
89956
89957Sun Nov  2 02:28:33 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89958
89959	* lib/webrick/ssl.rb: new option :SSLExtraChainCert.
89960
89961Sun Nov  2 01:02:04 2003  Akinori MUSHA  <knu@iDaemons.org>
89962
89963	* string.c (rb_str_hash): Update the HASH_PERL alternative hash
89964	  algorithm in sync with Perl 5.8.
89965
89966	* st.c (strhash): Ditto.
89967
89968Sat Nov  1 18:21:09 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
89969
89970	* ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method
89971	  SSLSocket#peer_cert_chain.
89972
89973	* ext/openssl/ossl_x509req.c (GetX509ReqPtr): new function
89974	  which returns underlying X509_REQ.
89975
89976	* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_issuer_cert,
89977	  ossl_x509extfactory_set_subject_cert, ossl_x509extfactory_set_crl,
89978	  ossl_x509extfactory_set_subject_req, ossl_x509extfactory_set_config):
89979	  use underlying C struct without duplication not to leak momory.
89980
89981Sat Nov  1 01:49:03 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
89982
89983	* lib/soap/mapping/factory.rb: mark marshalled basetype objects when
89984	  @allow_original_mapping is true.  multi-referencing basetype node is
89985	  prohibited in SOAP/1.1 encoding but soap4r's original ruby object
89986	  mapping requires basetype to be marked to detect self referencing
89987	  loop.  e.g. o = 1; o.instance_eval { @iv = o }  soap4r's original
89988	  mapping is only used through soap/marshal API.
89989
89990	* test/soap/marshal/test_marshal.rb: add tests for self referencing
89991	  immutable objects.
89992
89993	* test/soap/calc/test_calc_cgi.rb: fix test name.
89994
89995Fri Oct 31 22:26:29 2003  Takaaki Uematsu  <uema2x@jcom.home.ne.jp>
89996
89997	* wince/string_wce.c (strrchr): should decrement pointer.
89998
89999	* wince/Makefile.sub: correct a range of isdigit().
90000
90001Fri Oct 31 12:55:24 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
90002
90003	* configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD.
90004	  [ruby-dev:21791]
90005
90006	* bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto.
90007
90008Fri Oct 31 01:38:14 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90009
90010	* wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces
90011	  at the beginning of line to remove by sed. (ruby-bugs-ja:PR#580)
90012
90013Fri Oct 31 01:02:24 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90014
90015	* compar.c (cmp_equal): protect exceptions from <=> comparison
90016	  again.  returns nil if any exception or error happened during
90017	  comparison.
90018
90019	* eval.c (search_required): should update *featurep when DLEXT2 is
90020	  defined. (ruby-bugs-ja:PR#581)
90021
90022Thu Oct 30 23:41:04 2003  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
90023
90024	* lib/drb/drb.rb: add DRbArray
90025
90026	* lib/drb/invokemethod.rb: fix Hash#each problem. [ruby-dev:21773]
90027
90028	* lib/drb/unix.rb: add LoadError. [ruby-dev:21743]
90029
90030Thu Oct 30 23:19:11 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90031
90032	* lib/soap/generator.rb: better XML pretty printing.
90033
90034	* lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
90035	  assignment in the element which has "encodingStyle" attribute, and
90036	  add necessary namespace assignment for "arrayType" attribute.
90037
90038	* test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process
90039	  through CGI.
90040
90041Thu Oct 30 22:59:39 2003  why the lucky stiff  <why@ruby-lang.org>
90042
90043	* ext/syck/yaml2byte.c: HASH const too long.  Thanks, matz.
90044
90045Thu Oct 30 19:13:53 2003  Akinori MUSHA  <knu@iDaemons.org>
90046
90047	* ext/syck/MANIFEST: Add yamlbyte.h.
90048
90049Thu Oct 30 14:25:31 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90050
90051	* io.c (READ_DATA_BUFFERED): new macro to detect whether stdio
90052	  buffer filled.
90053
90054	* io.c (rb_io_fptr_cleanup): move path deallocation to
90055	  rb_io_fptr_finalize (finalizer called by GC).
90056
90057Thu Oct 30 13:23:39 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90058
90059	* parse.y (logop): left may be NULL. [ruby-talk:84539]
90060
90061	* eval.c (rb_eval): NODE_CASE nd_head may be NULL.
90062
90063Thu Oct 30 10:14:51 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90064
90065	* lib/test/unit/autorunner.rb: make fox runner work.
90066
90067Thu Oct 30 09:32:26 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90068
90069	* process.c (rb_f_system): fixed lack of security check before
90070	  calling do_spawn() on win32. [ruby-talk:84555]
90071
90072Thu Oct 30 02:46:35 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90073
90074	* eval.c (proc_invoke): single array value to normal Proc#call
90075	  (i.e. not via lambda call), should be treated just like yield.
90076	  [ruby-dev:21726]
90077
90078Thu Oct 30 02:25:48 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
90079
90080	* ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
90081	  add new method to inherit @sync from @io.sync.
90082
90083	* ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): no need to
90084	  set sync flag explicitly.
90085
90086	* ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): call super.
90087
90088	* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): set extra chain
90089	  certificates in @extra_chain_cert.
90090
90091Wed Oct 29 22:02:04 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90092
90093	* test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby
90094	  interpreter to exec, instead of test/ruby/envutil.rb,
90095
90096Wed Oct 29 19:58:59 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90097
90098	* ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
90099	  defined and TCL_MAJOR_VERSION >= 8.
90100
90101	* ext/tcltklib/tcltklib.c (VwaitVarProc, WaitVariableProc,
90102	  rb_threadVwaitProc): use CONST84 instead of CONST.
90103
90104	* ext/tcltklib/tcltklib.c (ip_rbTkWaitCommand,
90105	  ip_rb_threadTkWaitCommand): use CONST84 always.
90106
90107Wed Oct 29 17:27:05 2003  Tanaka Akira  <akr@m17n.org>
90108
90109	* re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
90110
90111	* lib/pathname.rb (realpath): examine Dir.pwd because it may have
90112	  symlinks.
90113
90114Wed Oct 29 17:16:31 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90115
90116	* eval.c (rb_longjmp): must not disturb original jump.
90117	  [ruby-dev:21733]
90118
90119Wed Oct 29 15:28:34 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90120
90121	* eval.c (Init_Proc): taint preallocated exception object
90122	  sysstack_error. [ruby-talk:84534]
90123
90124Wed Oct 29 11:27:39 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90125
90126	* parse.y (ret_args): node may be NULL. [ruby-talk:84530]
90127
90128Tue Oct 28 15:20:12 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90129
90130	* ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
90131	  WaitVariableProc, WaitVisibilityProc, WaitWindowProc,
90132	  ip_rbTkWaitObjCmd, ip_rbTkWaitCommand, rb_threadVwaitProc,
90133	  rb_threadWaitVisibilityProc, rb_threadWaitWindowProc,
90134	  ip_rb_threadVwaitObjCmd, ip_rb_threadTkWaitObjCmd): prototype;
90135	  avoid VC++ warnings.
90136
90137Mon Oct 27 19:19:55 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90138
90139	* eval.c (rb_longjmp): ignore reentering error while warning.
90140	  [ruby-dev:21730]
90141
90142Mon Oct 27 00:23:50 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90143
90144	* ext/tcltklib/tcltklib.c (ip_ruby): bug fix on Win : hang-up when
90145	  calling 'exit' in the Tk callback procedure. [ruby-list:38656]
90146
90147Sat Oct 25 09:18:04 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90148
90149	* eval.c (rb_method_missing): protect exception from within
90150	  "inspect".  (ruby-bugs:PR#1204)
90151
90152Fri Oct 24 23:26:34 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90153
90154	* hash.c (rb_hash_each): Hash#each should yield single value.
90155	  [ruby-talk:84420]
90156
90157	* hash.c (env_each): ditto for ENV.each.
90158
90159Thu Oct 23 20:25:32 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
90160
90161	* lib/webrick/server.rb (GenericServer#start): should rescue
90162	  IOError from IO::accept. [ruby-dev:21692]
90163
90164Thu Oct 23 17:59:36 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90165
90166	* eval.c (ruby_cleanup): initialize stack bottom for embedding.
90167	  [ruby-dev:21686]
90168
90169	* ext/dl/extconf.rb: move list of files to clean from DEPEND file,
90170	  to get rid of macro redefinitions.
90171
90172Thu Oct 23 13:44:00 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90173
90174	* parse.y: integrate operations for stack_type.  [ruby-dev:21681]
90175
90176Thu Oct 23 00:41:45 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90177
90178	* test/soap/calc/*, test/soap/helloworld/*: set logging threshold
90179	  to ERROR.
90180
90181Wed Oct 22 12:53:31 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90182
90183	* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
90184	  ignore tests which raised LoadError.
90185
90186	* test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
90187	  test/ruby/test_system.rb: avoid requiring same file twice.
90188
90189	* test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
90190	  ARGV unless invoked directly.  do not create test cases unless
90191	  required libraries are available.
90192
90193Wed Oct 22 02:31:34 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90194
90195	* eval.c (ruby_cleanup): should not ignore exit_value in END
90196	  execution. [ruby-dev:21670]
90197
90198Tue Oct 21 23:16:26 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90199
90200	* eval.c (ruby_cleanup): call finalizers and exit procs before
90201	  terminating threads.
90202
90203	* eval.c (ruby_cleanup): preserve ruby_errinfo before ruby_finalize_0().
90204
90205Tue Oct 21 15:57:11 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90206
90207	* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
90208	  prepend the directory of target file to the load path.
90209
90210Tue Oct 21 15:08:53 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90211
90212	* win32/win32.c (do_spawn, do_aspawn): should wait child process even
90213	  if callded with P_OVERLAY.
90214
90215	* win32/win32.c (do_spawn, do_aspawn): should return child's exit
90216	  status to parent.
90217
90218Tue Oct 21 00:35:02 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90219
90220	* test/soap/calc/*, test/soap/helloworld/*: catch the exception from
90221	  test server thread and recover.
90222
90223Tue Oct 21 00:22:57 2003  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
90224
90225	* test/drb/*: import drb/runit.
90226
90227Mon Oct 20 23:55:47 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90228
90229	* eval.c (rb_eval): set current node after arguments evaluation.
90230	  [ruby-dev:21632]
90231
90232	* eval.c (rb_yield_0): set current node and keep it at local jump.
90233
90234Mon Oct 20 22:01:18 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90235
90236	* eval.c (rb_thread_cleanup): keep thread group for main thread.
90237	  [ruby-dev:21644]
90238
90239Mon Oct 20 18:28:10 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90240
90241	* eval.c (rb_catch): backout.
90242
90243Mon Oct 20 17:31:46 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90244
90245	* eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()
90246	  destination.
90247
90248	* eval.c (localjump_destination): use unique number in ruby_frame
90249	  for localjump destination.
90250
90251Mon Oct 20 11:31:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90252
90253	* test/ruby/test_signal.rb (test_signal): restore old trap.
90254
90255Mon Oct 20 11:00:46 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90256
90257	* gc.c (gc_sweep): loosen page free condition to avoid add_heap()
90258	  race condition. [ruby-dev:21633]
90259
90260	* gc.c (gc_sweep): do not update malloc_limit when malloc_increase
90261	  is smaller than malloc_limit.
90262
90263Mon Oct 20 09:45:12 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90264
90265	* lib/debug.rb (debug_command): remove debug print.
90266
90267Sun Oct 19 13:12:30 2003  Tanaka Akira  <akr@m17n.org>
90268
90269	* lib/pathname.rb (foreachline, dir_foreach): add obsolete warning.
90270
90271Sun Oct 19 00:14:22 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90272
90273	* test/soap/calc/*, test/soap/helloworkd/*: changed port# of test
90274	  server. (17171)
90275
90276Sat Oct 18 23:01:32 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
90277
90278	* missing/acosh.c (DBL_MANT_DIG): typo fix(ifdef -> ifndef).
90279
90280Sat Oct 18 05:48:59 2003  why the lucky stiff  <why@ruby-lang.org>
90281
90282	* ext/syck/rubyext.c: YAML::Syck::compile method.
90283
90284	* ext/syck/syck.c: Buffer edge bug.
90285
90286	* ext/syck/yaml2byte.c: YAML to bytecode converter.
90287
90288	* ext/syck/yamlbyte.h: Ditto.
90289
90290	* ext/syck/bytecode.c: Bytecode parser fixes to empty collections
90291	  and empty strings.
90292
90293	* ext/syck/token.c: Ditto.
90294
90295Fri Oct 17 23:07:38 2003  Akinori MUSHA  <knu@iDaemons.org>
90296
90297	* ext/enumerator/enumerator.c, ext/enumerator/enumerator.txt:
90298	  Provide Kernel#to_enum as an alias for Kernel#enum_for.  Maybe
90299	  this is a better name.
90300
90301Fri Oct 17 23:00:30 2003  Akinori MUSHA  <knu@iDaemons.org>
90302
90303	* lib/generator.rb: Add rdoc documentation.
90304
90305Fri Oct 17 22:16:42 2003  Akinori MUSHA  <knu@iDaemons.org>
90306
90307	* lib/set.rb: Reword and fix Overview.
90308
90309	* lib/set.rb: It is not necessary to require
90310	  'test/unit/ui/console/testrunner'.
90311
90312Fri Oct 17 11:15:22 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90313
90314	* test/ruby/test_range.rb: added.
90315
90316	* MANIFEST: add test/ruby/test_range.rb.
90317
90318Fri Oct 17 03:21:23 2003  William Sobel  <will.sobel@barra.com>
90319
90320	* ext/socket/socket.c (make_hostent): h_aliases may be NULL.
90321	  (ruby-bugs:PR#1195)
90322
90323	* ext/socket/socket.c (sock_s_gethostbyaddr): ditto.
90324
90325Fri Oct 17 00:12:41 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90326
90327	* ext/tk/lib/tk.rb: (bug fix) instance variable @frame was used
90328	  without initializing on TkComposite module.
90329
90330Thu Oct 16 23:51:04 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90331
90332	* ext/tk/lib/tk.rb: If $DEBUG == true and some exception is caused
90333	  in a callback operation, Ruby/Tk shows a (verbose) backtrace
90334	  information on the callback process.
90335
90336Thu Oct 16 17:09:19 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90337
90338	* lib/debug.rb (DEBUGGER__::Context::debug_command): do not call
90339	  debug_silent_eval() when $1 is not set. (ruby-bugs:PR#1194)
90340
90341Thu Oct 16 16:54:57 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90342
90343	* string.c (rb_str_upto): ("a"..."a").to_a should return [].
90344	  [ruby-core:01634]
90345
90346Thu Oct 16 16:40:51 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90347
90348	* ext/tk/lib/tk.rb:
90349	  Add Tk::EncodedString and Tk::UTF8_String class to support
90350	  characters using the \uXXXX escape to the UNICODE string.
90351
90352	* ext/tk/sample/{demos-en,demos-jp}/unicodeout.rb
90353	  new demo-scripts (samples of Tk::UTF8_String)
90354
90355	* ext/tk/sample/{demos-en,demos-jp}/widget
90356	  add entries for 'unicodeout.rb'
90357
90358Thu Oct 16 08:38:06 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90359
90360	* test/digest/test_digest.rb (test_eq): show failed class.
90361
90362	* test/ruby/test_iterator.rb (test_break, test_return_trace_func):
90363	  test localjump destination.
90364
90365Wed Oct 15 20:22:31 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90366
90367	* lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
90368	  instance_eval('path_query').  [ruby-list:38575]
90369
90370Wed Oct 15 17:24:45 2003  URABE Shyouhei  <root@mput.dip.jp>
90371
90372	* lib/cgi.rb (CGI::Cookie): tiny typo fix.
90373
90374Wed Oct 15 15:00:54 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90375
90376	* eval.c (ruby_run): just return FAILURE instead of parse error
90377	  count.  [ruby-list:38569]
90378
90379Wed Oct 15 13:17:02 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90380
90381	* ext/digest/digest.c (rb_digest_base_alloc): need to initialize
90382	  buffer. [ruby-dev:21622]
90383
90384Wed Oct 15 11:23:05 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90385
90386	* marshal.c (w_object): dump extended modules as well.
90387
90388	* marshal.c (r_object0): TYPE_USRMARSHAL should restore extended
90389	  modules before invoking marshal_load.  these two fixes are done
90390	  by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>.
90391
90392Wed Oct 15 09:30:34 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
90393
90394	* ext/enumerator/enumerator.c (enumerator_each): avoid VC++ warning.
90395
90396	* ext/syck/syck.h: include stdio.h for definition of FILE.
90397
90398Wed Oct 15 08:09:07 2003  why the lucky stiff  <why@ruby-lang.org>
90399
90400	* ext/syck/bytecode.c: Checkin of YAML bytecode support.
90401
90402	* ext/syck/gram.c: Ditto.
90403
90404	* ext/syck/syck.c: Ditto.
90405
90406	* ext/syck/token.c: Ditto.
90407
90408	* ext/syck/handler.c: Ditto.
90409
90410	* ext/syck/handler.c: Now using 'tag' rather than 'taguri' in type URIs.
90411
90412	* ext/syck/rubyext.c: Ditto (on both counts).
90413
90414Wed Oct 15 05:05:53 2003  Akinori MUSHA  <knu@iDaemons.org>
90415
90416	* lib/generator.rb: A new library which converts an internal
90417	  iterator to an external iterator.
90418
90419	* lib/abbrev.rb: A new library which creates an abbreviation table
90420	  from a list.
90421
90422Wed Oct 15 04:31:51 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90423
90424	* ext/tk/sample/demos-en/entry3.rb, ext/tk/sample/demos-jp/entry3.rb:
90425	  new demo-scripts
90426
90427	* ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/widget:
90428	  add entries for 'entry3.rb'
90429
90430Wed Oct 15 04:31:47 2003  Akinori MUSHA  <knu@iDaemons.org>
90431
90432	* test/digest/test_digest.rb: Moved from ext/digest/test.rb.
90433
90434Wed Oct 15 03:53:20 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90435
90436	* ext/tk/lib/tk.rb: fixed trouble on auto-load Tcl commands (enbug
90437	  on the last commit).
90438
90439Wed Oct 15 00:25:00 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90440
90441	* parse.y (yylex): argument parentheses preceded by spaces should
90442	  be warned; not error.  [ruby-talk:84103]
90443
90444Wed Oct 15 00:20:15 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
90445
90446	* ext/tcltklib/tcltklib.c: replace Tcl/Tk's vwait and tkwait to
90447	  switch on threads smoothly and avoid seg-fault.
90448
90449	* ext/tcltklib/tcltklib.c: add TclTkIp._thread_vwait and
90450	  _thread_tkwait for waiting on a thread. (Because Tcl/Tk's vwait
90451	  and tkwait command wait on an eventloop.)
90452
90453	* ext/tk/lib/multi-tk.rb: support TclTkIp._thread_vwait and
90454	  _thread_tkwait.
90455
90456	* ext/tk/lib/tk.rb: now, TkVariable#wait has 2 arguments.
90457	  If 1st argument is true, waits on a thread. If false, waits on
90458	  an eventloop. If 2nd argument is true, checks existence of
90459	  rootwidgets. If false, doesn't. Default is wait(true, false).
90460
90461	* ext/tk/lib/tk.rb: add TkVariable#tkwait(arg) which is equal to
90462	  TkVariable#wait(arg, true). wait_visibility and wait_destroy
90463	  have an argument for waiting on a thread or an eventloop.
90464
90465	* ext/tk/lib/tk.rb: improve of accessing Tcl/Tk's special variables.
90466
90467	* ext/tk/lib/tkafter.rb: support 'wait on a thread' and 'wait on
90468	  an eventloop'.
90469
90470Wed Oct 15 00:10:24 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90471
90472	* lib/soap/baseData.rb: Introduce SOAPType as the common ancestor of
90473	  SOAPBasetype and SOAPCompoundtype.
90474
90475	* lib/soap/generator.rb, lib/soap/element.rb, lib/soap/encodingstyle/*:
90476	  Encoding methods signature change.  Pass SOAPGenerator as a parameter.
90477
90478	* lib/soap/mapping/*, test/soap/marshal/test_marshal.rb: Refactoring
90479	  for better marshalling/unmarshalling support.  Now I think SOAP
90480	  marshaller supports all kind of object graph which is supported by
90481	  Ruby's original marshaller.  Of course there could be bugs as always.
90482	  Find it.  :-)
90483
90484	* lib/soap/rpc/standaloneServer.rb: Set severity threshould to INFO.
90485	  DEBUG is too noisy.
90486
90487	* lib/xsd/datatypes.rb: DateTime#of is obsoleted.  Use DateTime#offset.
90488
90489	* test/wsdl/emptycomplextype.wsdl, test/xsd/xmlschema.xml: Avoid
90490	  useless warning.
90491
90492Tue Oct 14 19:09:35 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90493
90494	* eval.c (ruby_finalize_0): return the given exit status unless
90495	  SystemExit got raised.
90496
90497Tue Oct 14 11:53:49 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90498
90499	* intern.h (ruby_stop): never return.
90500
90501	* ruby.h (ruby_run): ditto.
90502
90503Tue Oct 14 04:43:55 2003  Tanaka Akira  <akr@m17n.org>
90504
90505	* lib/pathname.rb (realpath): make ELOOP check bit more robust.
90506	  (children): prepend self by default.
90507	  (chroot): obsoleted.
90508
90509Tue Oct 14 02:29:31 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90510
90511	* eval.c (rb_require_safe): segfault after loading .so.
90512
90513Tue Oct 14 02:05:23 2003  Akinori MUSHA  <knu@iDaemons.org>
90514
90515	* ext/Setup*, ext/enumerator/*: Add ext/enumerator, a helper
90516	  module for the Enumerable interface.
90517
90518Mon Oct 13 23:55:59 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
90519
90520	* test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],
90521	  not "ruby".
90522
90523Mon Oct 13 23:57:29 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90524
90525	* eval.c (rb_feature_p): match by classified suffix.
90526
90527	* eval.c (rb_require_safe): require library in the specified safe
90528	  level.
90529
90530	* variable.c (rb_autoload, rb_autoload_load): restore safe level
90531	  when autoload was called.  [ruby-dev:21338]
90532
90533	* intern.h: prototypes; rb_require_safe.
90534
90535	* test/runner.rb: accept non-option arguments.
90536
90537Mon Oct 13 20:49:51 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90538
90539	* string.c (str_new4): should not preserve FL_TAINT status in the
90540	  internal shared string. [ruby-dev:21601]
90541
90542	* string.c (rb_str_new4): ditto.
90543
90544	* eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values.
90545
90546	* process.c: ditto. [ruby-list:38521]
90547
90548Mon Oct 13 19:51:02 2003  Koji Arai  <jca02266@nifty.ne.jp>
90549
90550	* lib/debug.rb (debug_command): should enter emacs mode when
90551	  assigned any value to the environment variable "EMACS".
90552	  On Meadow, (getenv "EMACS") is "meadow".
90553
90554Sun Oct 12 14:45:03 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
90555
90556	* ext/win32ole/extconf.rb: check "windows.h", not "windows".
90557	  [ruby-talk:84051]
90558
90559Sat Oct 11 20:41:03 2003  Corinna Vinschen  <corinna@vinschen.de>
90560
90561	* file.c (eaccess): Use access(2) on Cygwin.
90562
90563Sat Oct 11 17:09:21 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
90564
90565	* lib/rexml/quickpath.rb (REXML::QuickPath::match):
90566	  escape '[' to avoid warning.
90567
90568Sat Oct 11 16:08:41 2003  Tanaka Akira  <akr@m17n.org>
90569
90570	* lib/pathname.rb (realpath): check existence of the file.
90571
90572	* lib/pathname.rb (realpath): re-implemented.
90573	  (realpath_root?, realpath_rec): removed
90574
90575Sat Oct 11 10:19:39 2003  Shugo Maeda  <shugo@ruby-lang.org>
90576
90577	* lib/monitor.rb: handle exceptions correctly. Thanks, Gennady
90578	  Bystritsky.
90579
90580Fri Oct 10 07:50:54 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90581
90582	* eval.c (is_defined): inheritance line adjustment as like as
90583	  rb_call_super().
90584
90585Fri Oct 10 01:19:00 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
90586
90587	* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): add
90588	  optional argument to specify the DirectoryString type
90589	  (ASN1::UTF8STRING by default). RFC3280 deprecates PrintableString
90590	  for DirectoryString, and strongly requires to use UTF8String for
90591	  all certificates issued after December, 31 2003.
90592
90593	* ext/openssl/lib/openssl/x509.rb (X509::Name::parse): ditto.
90594
90595Thu Oct  9 23:50:21 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90596
90597	* eval.c (rb_thread_start_0): prevent thread from GC.
90598	  [ruby-dev:21572]
90599
90600Thu Oct  9 19:11:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90601
90602	* eval.c (rb_thread_start_0): non-volatile should be restored from
90603	  volatile.
90604
90605Thu Oct  9 17:43:36 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90606
90607	* eval.c (proc_save_safe_level, proc_get_safe_level,
90608	  proc_set_safe_level): save/restore safe level 1..4.
90609
90610Thu Oct  9 16:33:23 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90611
90612	* marshal.c (r_object0): remove unnecessary iv restoration for
90613	  USRMARSHAL. [ruby-dev:21582]
90614
90615	* marshal.c (w_object): dump generic instance variables from
90616	  a string from '_dump'.
90617
90618	* variable.c (rb_generic_ivar_table): return 0 if obj's FL_EXIVAR
90619	  is not set.
90620
90621	* time.c (time_dump): copy instance variables to dumped string, to
90622	  be included in the marshaled data.
90623
90624	* bignum.c (rb_big2ulong): add range check to ensure round trip.
90625
90626Thu Oct  9 15:45:27 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90627
90628	* pack.c (uv_to_utf8): change message to "out of range", since
90629	  negative values are not "too big". [ruby-dev:21567]
90630
90631Thu Oct  9 14:05:38 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90632
90633	* eval.c (rb_set_end_proc, rb_exec_end_proc): restore safe level.
90634	  [ruby-dev:21557]
90635
90636Thu Oct  9 10:51:04 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90637
90638	* eval.c (rb_yield_0): no error if block is empty.
90639
90640Thu Oct  9 06:43:33 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90641
90642	* eval.c (localjump_error): id should be ID.
90643
90644	* eval.c (rb_eval): nd_rval is set in copy_node_scope().
90645
90646	* eval.c (rb_yield_0): unused variable.
90647
90648	* eval.c (rb_yield_0): nothing to do for empty node.
90649
90650	* eval.c (call_end_proc, proc_invoke): adjust backtrace in END.
90651	  [ruby-dev:21551]
90652
90653	* eval.c (rb_thread_start_0): set the value by break as the result.
90654	  [ruby-dev:21552]
90655
90656	* eval.c (rb_thread_start_0, rb_thread_raise, rb_callcc): save
90657	  variables across THREAD_SAVE_CONTEXT.
90658
90659Thu Oct  9 12:05:46 2003  Eric Sunshine  <sunshine@sunshineco.com>
90660
90661	* configure.in: revived NextStep, OpenStep, and Rhapsody ports which
90662	  had become unbuildable; enhanced --enable-fat-binary option so that
90663	  it accepts a list of desired architectures (rather than assuming a
90664	  fixed list), or defaults to a platform-appropriate list if user does
90665	  not provide an explicit list; made the default list of architectures
90666	  for MAB (fat binary) more comprehensive; now uses -fno-common even
90667	  when building the interpreter (in addition to using it for
90668	  extensions), thus allowing the interpreter to be embedded into a
90669	  plugin module of an external project (in addition to allowing
90670	  embedding directly into an application); added checks for
90671	  <netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now
90672	  ensures that -I/usr/local/include is employed when extensions'
90673	  extconf.rb scripts invoke have_header() since extension checks on
90674	  NextStep and OpenStep will fail without it if the desired resource
90675	  resides in the /usr/local tree; fixed formatting of --help message.
90676
90677	* Makefile.in: $(LIBRUBY_A) rule now deletes the archive before
90678	  invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives
90679	  (see configure's --enable-fat-binary option); added rule for new
90680	  missing/getcwd.c.
90681
90682	* defines.h: fixed endian handling during MAB build (see configure's
90683	  --enable-fat-binary option) to ensure that all portions of the
90684	  project see the correct WORDS_BIGENDIAN value (some extension modules
90685	  were getting the wrong endian setting); added missing constants
90686	  GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep
90687	  and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H
90688	  define in NeXT section.
90689
90690	* dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on
90691	  NextStep since, on some installations, this value always resolves
90692	  uselessly to zero.
90693
90694	* dln.c: added error reporting to NextStep extension loader since the
90695	  previous behavior of failing silently was not useful; now ensures
90696	  that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined
90697	  for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice
90698	  on Rhapsody since this header lacks multiple-include protection,
90699	  which resulted in "redefinition" compilation errors.
90700
90701	* main.c: also create hard reference to objc_msgSend() on NeXT
90702	  platforms (in addition to Apple platforms).
90703
90704	* lib/mkmf.rb: now exports XCFLAGS from configure script to extension
90705	  makefiles so that extensions can be built MAB (see configure's
90706	  --enable-fat-binary option); also utilize XCFLAGS in cc_command()
90707	  (but not cpp_command() because MAB flags are incompatible with
90708	  direct invocation of `cpp').
90709
90710	* ext/curses/extconf.rb: now additionally checks for presence of these
90711	  curses functions which are not present on NextStep or Openstep:
90712	  bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),
90713	  setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),
90714	  wscrl(), wsetscrreg()
90715
90716	* ext/curses/curses.c: added appropriate #ifdef's for additional set of
90717	  curses functions now checked by extconf.rb; fixed curses_bkgd() and
90718	  window_bkgd() to correctly return boolean result rather than numeric
90719	  result; fixed window_getbkgd() to correctly signal an error by
90720	  returning nil rather than -1.
90721
90722	* ext/etc/etc.c: setup_passwd() and setup_group() now check for null
90723	  pointers before invoking rb_tainted_str_new2() upon fields extracted
90724	  from `struct passwd' and `struct group' since null pointers in some
90725	  fields are common on NextStep/OpenStep (especially so for the
90726	  `pw_comment' field) and rb_tainted_str_new2() throws an exception
90727	  when it receives a null pointer.
90728
90729	* ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for
90730	  platforms such as NextStep and OpenStep which lack strdup().
90731
90732	* ext/socket/getaddrinfo.c: cast first argument of getservbyname(),
90733	  gethostbyaddr(), and gethostbyname() from (const char*) to non-const
90734	  (char*) for older platforms such as NextStep and OpenStep.
90735
90736	* ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for
90737	  platforms such as NextStep and OpenStep which lack strdup(); include
90738	  <netinet/in_systm.h> if present for NextStep and OpenStep; cast first
90739	  argument of gethostbyaddr() and getservbyname() from (const char*) to
90740	  non-const (char*) for older platforms.
90741
90742	* ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for
90743	  platforms such as NextStep and OpenStep which lack strdup().
90744
90745Wed Oct  8 22:19:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90746
90747	* lib/test/unit.rb: removed installation instructions.
90748
90749	* lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more
90750	  central location.
90751
90752	* lib/test/unit.rb: ditto.
90753
90754	* lib/test/unit.rb: extracted the running code in to AutoRunner.
90755
90756	* lib/test/unit/autorunner.rb: added.
90757
90758	* lib/test/unit/collector/objectspace.rb: extracted common test
90759	  collection functionality in to a module.
90760
90761	* lib/test/unit/collector.rb: ditto; added.
90762
90763	* test/testunit/collector/test_objectspace.rb: ditto.
90764
90765	* lib/test/unit/collector/dir.rb: added. Supports collecting tests out
90766	  of a directory structure.
90767
90768	* test/testunit/collector/test_dir.rb: added.
90769
90770	* test/runner.rb: simplified to use the new capabilities.
90771
90772Tue Oct  7 15:23:09 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90773
90774	* test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.
90775
90776	* test/ruby/beginmainend.rb: add tests for nested BEGIN/END.
90777
90778	* test/ruby/endblockwarn.rb: new file added to test of END-in-method
90779	  warning.
90780
90781Tue Oct  7 12:23:47 2003  Tanaka Akira  <akr@m17n.org>
90782
90783	* ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::O_ACCMODE.
90784
90785	* ext/socket/extconf.rb: useless assignment removed.
90786
90787Tue Oct  7 09:13:24 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90788
90789	* test/ruby/test_beginendblock.rb (test_endinmethod): END{} is now
90790	  allowed in eval.
90791
90792Tue Oct  7 04:15:25 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90793
90794	* parse.y (stmt): should not expand mrhs if lhs is solely starred.
90795
90796Tue Oct  7 02:57:53 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90797
90798	* parse.y (stmt): rhs of multiple assignment should not be
90799	  expanded using "to_a". [ruby-dev:21527]
90800
90801Tue Oct  7 01:42:34 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
90802
90803	* ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): use appropriate
90804	  free function for ASN1_OBJECT.
90805
90806	* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_sn): add new function for
90807	  ASN1::ObjectId#sn; it returns short name text representation of OID.
90808
90809	* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_ln): add new function for
90810	  ASN1::ObjectId#ln; it returns long name text representation of OID.
90811
90812	* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): add new function for
90813	  ASN1::ObjectId#oid; it returns numerical representation of OID.
90814
90815Mon Oct  6 22:59:46 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90816
90817	* lib/csv.rb (IOReader, BasicWriter): call binmode when a given IO
90818	  respond_to?(:binmode).  record separator was wrong when you gave
90819	  text mode IO to Reader.parse and Writer.generate.
90820
90821	* test/csv/test_csv.rb: add tests for above change.
90822
90823Mon Oct  6 16:23:38 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90824
90825	* marshal.c (w_object): wrong method name in the message.
90826
90827Mon Oct  6 16:02:05 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90828
90829	* parse.y (stmt): END in method should cause warning.
90830	  [ruby-dev:21519]
90831
90832Mon Oct  6 15:17:23 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90833
90834	* test/ruby/test_iterator.rb (test_block_argument_without_paren):
90835	  added. (follows sample/test.rb)
90836
90837Mon Oct  6 11:57:06 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90838
90839	* test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: added
90840	  test for eval-ed BEGIN END order.
90841
90842Mon Oct  6 09:19:54 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90843
90844	* marshal.c (w_object): should pass "weak" value to next level.
90845	  [ruby-dev:21496]
90846
90847	* eval.c (proc_alloc): should not use cached object if klass is
90848	  different. [ruby-talk:83685]
90849
90850Sun Oct  5 23:27:09 2003  Tanaka Akira  <akr@m17n.org>
90851
90852	* ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.
90853
90854	* ext/socket/socket.c (thread_read_select): restored.
90855
90856	* lib/pathname.rb: version information is added in document.
90857
90858Sun Oct  5 23:07:03 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90859
90860	* eval.c (rb_f_END): block should be given.  [ruby-dev:21497]
90861
90862Sun Oct  5 22:51:23 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
90863
90864	* lib/ext/openssl/extconf.rb: add check for some engine functions
90865	  unavailable in OpenSSL-0.9.6.
90866
90867	* lib/ext/openssl/ossl_engine.c: ditto.
90868
90869Sun Oct  5 17:56:30 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
90870
90871	* eval.c (rb_eval): fix evaluation order.  [ruby-list:38431]
90872
90873Sun Oct  5 15:05:06 2003  akira yamada  <akira@ruby-lang.org>
90874
90875	* test/uri/*: translated RUNIT to Test::Unit.
90876
90877Sun Oct  5 14:37:39 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90878
90879	* lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.
90880
90881	* test/soap/marshal/test_marshal.rb: ditto.
90882
90883	* test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEEXT"] to
90884	  RUBYBIN.
90885
90886Sun Oct  5 13:47:22 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90887
90888	* test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: add tests
90889	  about scope, order and allowed syntax.
90890
90891Sun Oct  5 11:54:29 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90892
90893	* test/ruby/envutil.rb: added.  split "rubybin" from test_system.rb.
90894
90895	* test/ruby/test_system.rb: use envutil.rb
90896
90897	* test/ruby/test_beginendblock.rb: added.
90898
90899	* test/ruby/beginmainend.rb: added.  used in test_beginendblock.rb.
90900
90901Sun Oct  5 11:23:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90902
90903	* test/testunit/runit/test_testresult.rb: removed some unnecessary
90904	  cruft.
90905
90906Sun Oct  5 11:14:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90907
90908	* lib/rubyunit.rb: aliasing TestCase into the top level is
90909	  problematic.
90910
90911	* lib/runit/assert.rb: fixed a couple of bugs caused by recent
90912	  refactoring in Test::Unit.
90913
90914	* test/testunit/runit/*: added.
90915
90916Sun Oct  5 10:55:29 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90917
90918	* lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not
90919	  work.  [ruby-dev:21484]
90920
90921Sun Oct  5 09:52:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90922
90923	* lib/test/unit/assertions.rb: will use pp for output if available.
90924	  Can be disabled by setting Assertions.use_pp = false.
90925
90926	* test/testunit/test_assertions.rb: made a small change to exception
90927	  formatting.
90928
90929Sun Oct  5 07:42:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90930
90931	* lib/test/unit/assertions.rb: made small improvements to assertion
90932	  messages. Deprecated Assertions#assert_not_nil; use #assert instead.
90933
90934	* test/testunit/test_assertions.rb: ditto.
90935
90936	* test/testunit/util/test_procwrapper.rb: use #assert instead of
90937	  #assert_not_nil.
90938
90939Sun Oct  5 04:10:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90940
90941	* lib/test/unit/assertions.rb: refactored message building.
90942
90943Sun Oct  5 03:40:22 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
90944
90945	* ext/openssl/ossl_asn1.h: global symbols should be declared
90946	  as external.
90947
90948Sun Oct  5 03:03:20 2003  akira yamada  <akira@ruby-lang.org>
90949
90950	* test/ruby/test_exception.rb (test_else): added.
90951
90952Sun Oct  5 02:12:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
90953
90954	* lib/test/unit/assertions.rb: changed assertion messages to rely more
90955	  heavily on #inspect. Added backtrace filtering for exceptions in
90956	  assertion messages.
90957
90958	* test/testunit/test_assertions.rb: ditto.
90959
90960Sun Oct  5 02:12:00 2003  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>
90961
90962	* lib/drb/acl.rb, lib/drb/ssl.rb: added.
90963
90964	* lib/drb/drb.rb: exit from a thread using 'break'.
90965
90966Sat Oct  4 21:49:14 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
90967
90968	* gc.c (Init_stack): the type of space is changed to unsigned int
90969	  from double.  [ruby-dev:21483]
90970
90971Sat Oct  4 17:52:59 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
90972
90973	* lib/soap/netHttpClient.rb: follow http-access2.  hosts which matches
90974	  ENV['no_proxy'] or ENV['NO_PROXY'] are not proxyed.
90975	  - [,:] separated. ("ruby-lang.org:rubyist.net")
90976	  - no regexp. (give "ruby-lang.org", not "*.ruby-lang.org")
90977	  - if you want specify host by IP address, give full address.
90978	    ("192.168.1.1, 192.168.1.2")
90979
90980	* lib/soap/rpc/cgistub.rb: return "Status: XXX MMM" line.
90981
90982	* test/runner.rb: give testsuite name.
90983
90984Sat Oct  4 15:16:02 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
90985
90986	* marshal.c (w_object): instance variable dump do not cause error
90987	  for objects that cannot be dumped, if they traversed from
90988	  marshal_dump.  they are just ignored.
90989
90990	* gc.c (Init_stack): cast "space" (doble value) into unsigned
90991	  int.  should run on PowerPC.
90992
90993	* eval.c (rb_eval): should not execute else part if any exception
90994	  is caught. [ruby-dev:21482]
90995
90996	* parse.y (f_args): should allow unparenthesized block argument.
90997
90998	* parse.y (f_rest_arg): should allow unparenthesized rest
90999	  argument.
91000
91001Sat Oct  4 14:59:51 2003  Tanaka Akira  <akr@m17n.org>
91002
91003	* lib/pathname.rb (initialize): raise ArgumentError if argument has
91004	  '\0' character.
91005	  (relative_path_from): new method.
91006	  (each_entry): new method for replacement of dir_foreach.
91007	  (foreach, foreachline, dir_foreach, chdir): obsoleted.
91008
91009Sat Oct  4 12:58:48 2003  akira yamada  <akira@ruby-lang.org>
91010
91011	* test/uri/* (6 files): added.
91012
91013Sat Oct  4 12:44:45 2003  akira yamada  <akira@ruby-lang.org>
91014
91015	* lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.
91016
91017Sat Oct  4 07:33:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
91018
91019	* lib/test/unit/testsuite.rb: changed #<< to return self, and added
91020	  #delete.
91021
91022	* test/testunit/test_testsuite.rb: ditto. Also slightly refactored
91023	  #test_size.
91024
91025	* lib/test/unit/collector/objectspace.rb: collector now preserves the
91026	  hierarchy of suites.
91027
91028	* test/testunit/collector/test_objectspace.rb: ditto.
91029
91030Sat Oct  4 04:48:49 2003  why the lucky stiff  <why@ruby-lang.org>
91031
91032	* ext/syck/rubyext.c: default keys handled.
91033
91034	* ext/syck/syck.h: lowered default buffer size to 16k for increased
91035	  performance.
91036
91037	* test/yaml: checkin of basic unit tests.
91038
91039Sat Oct  4 04:24:19 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91040
91041	* ext/openssl/extconf.rb: add check for X509V3_set_nconf.
91042
91043	* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
91044	  cannot implement if X509V3_set_nconf doesn't exist.
91045
91046Sat Oct  4 02:12:44 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91047
91048	* lib/xsd/datatypes.rb: dump sign by itself.  under the problematic
91049	  platform, sprintf("%+.10g", -0.0) => +0.  sigh.
91050
91051	* sample/wsdl/amazon/*: update schema ver2 to ver3.
91052
91053Sat Oct  4 01:33:46 2003  Tanaka Akira  <akr@m17n.org>
91054
91055	* lib/pathname.rb (initialize): duplicate and freeze argument.
91056	  (to_s): return duplicated string.
91057	  (children): new method.
91058	  (each_line): new alias to foreachline.
91059
91060Fri Oct  3 16:13:19 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91061
91062	* ext/openssl/ossl_asn1.c: add DER encoder and decoder.
91063
91064	* ext/openssl/ossl_asn1.h: add OpenSSL::ASN1 module.
91065
91066	* ext/openssl/ossl.c (Init_openssl): call Init_ossl_asn1.
91067
91068	* ext/openssl/extconf.rb: check if X509_ATTRIBUTE has field "single".
91069
91070	* ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): accept
91071	  DER encoded data argument.
91072
91073	* ext/openssl/ossl_x509attr.c (ossl_x509attr_get_value): return
91074	  DER encoded data in OpenSSL::ASN1 types.
91075
91076Fri Oct  3 13:02:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
91077
91078	* lib/test/unit.rb: refactored to use optparse.
91079
91080	* lib/test/unit.rb: added support for selecting the output
91081	  level from the command-line.
91082
91083	* lib/test/unit.rb: added a command-line switch to stop processing
91084	  the command-line, allowing arguments to be passed to tests.
91085
91086	* lib/test/unit.rb: changed the method for specifying a runner or a
91087	  filter from the command-line.
91088
91089	* lib/test/unit/collector/objectspace.rb: fixed a bug causing all
91090	  tests to be excluded when the filter was set to an empty array.
91091
91092	* test/testunit/collector/test_objectspace.rb: ditto.
91093
91094Fri Oct  3 08:14:32 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91095
91096	* lib/irb/ruby-lex.rb (RubyLex::identify_identifier): support
91097	  'class ::Foo' syntax. [ruby-talk:83514]
91098
91099Fri Oct  3 08:01:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
91100
91101	* lib/test/unit/assertions.rb: added a default message for #assert,
91102	  #assert_block, and #flunk.
91103
91104	* test/testunit/test_assertions.rb: ditto.
91105
91106	* lib/test/unit/failure.rb: failures now show a better trace of where
91107	  they occurred.
91108
91109	* test/testunit/test_failure.rb: ditto (added).
91110
91111	* lib/test/unit/testcase.rb: ditto.
91112
91113	* test/testunit/test_testcase.rb: ditto.
91114
91115	* lib/test/unit/util/backtracefilter.rb: added.
91116
91117	* test/testunit/util/test_backtracefilter.rb: added.
91118
91119	* lib/test/unit/error.rb: changed to use BacktraceFilter and improved
91120	  output.
91121
91122	* test/testunit/test_error.rb: ditto.
91123
91124Thu Oct  2 20:33:49 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91125
91126	* ext/iconv/iconv.c (iconv_failure_initialize): conform with
91127	  orthodox initialization method.
91128
91129	* ext/iconv/iconv.c (iconv_fail): initialize exception instance
91130	  from the class, and do not share instance variables with the
91131	  others.  [ruby-dev:21470]
91132
91133Thu Oct  2 18:20:27 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91134
91135	* time.c (Init_Time): define initialize.  [ruby-dev:21469]
91136
91137Thu Oct  2 17:39:38 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91138
91139	* ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.
91140	  it supports OpenSSL hardware cryptographic engine interface.
91141
91142	* ext/openssl/ossl_engine.h: ditto.
91143
91144	* ext/openssl/MANIFEST: add ossl_engine.c and ossl_engine.h.
91145
91146	* ext/openssl/extconf.rb: add check for openssl/engine.h.
91147
91148	* ext/openssl/ossl.c: call Init_ossl_engine().
91149
91150	* ext/openssl/ossl.h: include openssl/engine.h.
91151
91152	* ext/openssl/ossl_pkey_{rsa,dsa,dh}.c: check if underlying
91153	  EVP_PKEY referes engine.
91154
91155Thu Oct  2 17:22:37 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91156
91157	* time.c (time_load): restore instance variables (if any) before
91158	  loading from marshaled data.
91159
91160Thu Oct  2 14:19:15 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91161
91162	* ext/iconv/iconv.c (iconv_fail): now yield erred substring, and
91163	  set error object to $!.
91164
91165	* ext/iconv/iconv.c (iconv_convert): error handler block should
91166	  return appended part and the rest.  if rest is nil, the
91167	  conversion stops.
91168
91169Thu Oct  2 12:00:18 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91170
91171	* variable.c (rb_const_defined_0): look up constants in Object as
91172	  well.  [ruby-dev:21458]
91173
91174	* test/ruby/test_defined.rb (TestDefined::test_defined): test for
91175	  constants.
91176
91177Thu Oct  2 11:17:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
91178
91179	* lib/test/unit/assertions.rb: should not capture an
91180	  AssertionFailedError unless explicitly requested.
91181
91182	* test/testunit/test_assertions.rb: ditto.
91183
91184	* test/testunit/collector/test_objectspace.rb: fixed a test failure
91185	  caused by methods being returned in different orders on different
91186	  platforms by moving test sorting from TestSuite into the locations
91187	  where suites are constructed. [ruby-talk:83156]
91188
91189	* lib/test/unit/testcase.rb: ditto.
91190
91191	* lib/test/unit/testsuite.rb: ditto.
91192
91193	* lib/test/unit/collector/objectspace.rb: ditto.
91194
91195Thu Oct  2 03:25:01 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
91196
91197	* eval.c (rb_thread_raise): prototype; avoid VC++ warning.
91198
91199Thu Oct  2 01:37:34 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91200
91201	* time.c (time_mdump): new marshal dumper. _dump is still
91202	  available for compatibility.
91203
91204	* time.c (time_mload): new marshal loader.
91205
91206	* marshal.c (w_object): preserve instance variables for objects
91207	  with marshal_dump.
91208
91209	* marshal.c (r_object0): restore instance variables before calling
91210	  marshal_load.
91211
91212	* error.c (rb_warn_m): always return nil.
91213
91214Thu Oct  2 01:32:46 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91215
91216	* eval.c (rb_f_block_given_p): real required condition is
91217	  ruby_frame->prev->iter == ITER_CUR.
91218
91219	* eval.c (rb_block_given_p): ditto.
91220
91221	* eval.c (block_pass): update ruby_frame->iter only when previous
91222	  value is ITER_NOT.
91223
91224Thu Oct  2 01:02:35 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91225
91226	* variable.c (rb_const_defined_at): should exclude constants from
91227	  Object when TYPE(klass) == T_MODULE *and* exclude is on.
91228	  [ruby-dev:21458]
91229
91230	* variable.c (rb_const_get_0): do not lookup constants from Object
91231	  when TYPE(klass) == T_MODULE *and* exclude is on.
91232
91233Thu Oct  2 00:21:11 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91234
91235	* test/logger/test_logger.rb: unlinking file before close causes
91236	  problem under win32 box.
91237
91238	* lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly
91239	  when stringified and embedded into XML instance.  Ruby's sprintf may
91240	  format -0.0 as "0.0" (no minus sign) depending on underlying C
91241	  sprintf implementation.
91242
91243	* test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change.
91244
91245	* test/soap/calc/*: give httpd config param "CGIInterpreter".
91246	  "/usr/bin/env ruby" thing does not work under non-Unix boxes.
91247
91248Thu Oct  2 00:25:21 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91249
91250	* signal.c (ruby_signal_name): adjust to the prototype.
91251
91252	* process.c (pst_inspect): ditto.
91253
91254	* ext/etc/etc.c (etc_getgrent, Init_etc): typo.
91255
91256Wed Oct  1 20:49:41 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91257
91258	* gc.c (heaps): manage slots and limits together.  [ruby-dev:21453]
91259
91260	* gc.c (add_heap): should not clear heaps slot even if realloc()
91261	  failed.
91262
91263Wed Oct  1 20:36:49 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
91264
91265	* MANIFEST: add wince/mkconfig_wce.rb.
91266
91267Wed Oct  1 17:22:33 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91268
91269	* ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,
91270	  setgrent, getgrent, endgrent.
91271
91272	* ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup.
91273
91274Wed Oct  1 17:01:30 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91275
91276	* eval.c (rb_load): Object scope had priority over required file
91277	  scope.  [ruby-dev:21415]
91278
91279Wed Oct  1 14:09:53 2003  Takaaki Uematsu  <uema2x@jcom.home.ne.jp>
91280
91281	* wince/mkconfig_wce.rb: sorry, forget to commit.
91282
91283Wed Oct  1 10:08:42 2003  Takaaki Uematsu  <uema2x@jcom.home.ne.jp>
91284
91285	* wince/setup.mak: add sigmarionIII SDK support.
91286
91287	* wince/Makefile.sub: ditto.
91288
91289	* wince/mkexports.rb: fix linker error in SH4.
91290
91291	* wince/mkconfig_wce.rb: camouflage RUBY_PLATFORM for compiling ext.
91292
91293Wed Oct  1 08:02:52 2003  Takaaki Uematsu  <uema2x@jcom.home.ne.jp>
91294
91295	* wince/time_wce.c (time): add zero check.
91296
91297Tue Sep 30 16:11:05 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91298
91299	* Makefile.in: copy lex.c from $(srcdir) if it's not the current
91300	  directory.  [ruby-dev:21437]
91301
91302Tue Sep 30 11:29:23 2003  Tanaka Akira  <akr@m17n.org>
91303
91304	* process.c (pst_inspect): describe stopped process "stopped".
91305
91306Tue Sep 30 09:31:56 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91307
91308	* test/runner.rb: glob for directories.
91309
91310Tue Sep 30 09:11:43 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91311
91312	* eval.c (rb_eval): while/until should not capture break unless
91313	  they are destination of the break.
91314
91315Tue Sep 30 03:12:02 2003  Minero Aoki  <aamine@loveruby.net>
91316
91317	* lib/net/http.rb (finish): revert to 1.93.
91318
91319	* lib/net/pop.rb (finish): revert to 1.60.
91320
91321	* lib/net/smtp.rb (finish): revert to 1.67.
91322
91323	* lib/net/http.rb (do_start): ensure to close socket if failed to
91324	  start session.
91325
91326	* lib/net/pop.rb (do_start): ditto.
91327
91328	* lib/net/smtp.rb (do_start): ditto.
91329
91330	* lib/net/smtp.rb: SMTP#started? wrongly returned false always.
91331
91332Tue Sep 30 02:54:49 2003  Minero Aoki  <aamine@loveruby.net>
91333
91334	* test/ruby/test_iterator.rb: new test
91335	  test_break__nested_loop[123].
91336
91337Mon Sep 29 23:39:13 2003  Minero Aoki  <aamine@loveruby.net>
91338
91339	* lib/net/http.rb (finish): does not raise IOError even if
91340	  !started?, to allow closing socket which was opened before
91341	  session started.
91342
91343	* lib/net/pop.rb (finish): ditto.
91344
91345	* lib/net/smtp.rb (finish): ditto.
91346
91347Mon Sep 29 19:06:51 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
91348
91349	* ext/win32ole/extconf.rb: add windows.h checking.
91350	  (ruby-bugs:PR#1185)
91351
91352Mon Sep 29 16:18:30 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91353
91354	* lib/logger.rb: check if the given logdevice object respond_to :write
91355	  and :close, not is_a? IO.  duck duck.
91356
91357	* test/logger/test_logger.rb: self IO.pipe reading/writing may be
91358	  locked by the flood.  use tempfile.
91359
91360	* lib/wsdl/xmlSchema/data.rb: wrong constant reference.
91361
91362Mon Sep 29 16:11:23 2003  Minero Aoki  <aamine@loveruby.net>
91363
91364	* test/fileutils/test_fileutils.rb: clean up temporary symlink.
91365	  Patched by NaHi.  [ruby-dev:21420]
91366
91367Mon Sep 29 11:16:55 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91368
91369	* eval.c (rb_thread_atfork): wrong format specifier.
91370	  [ruby-dev:21428]
91371
91372	* process.c (pst_inspect): better description.
91373
91374Mon Sep 29 02:31:44 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91375
91376	* lib/webrick/utils.rb (Utils::su): use setgid and setuid to
91377	  set real and effective IDs. and setup group access list by
91378	  initgroups.
91379
91380Sun Sep 28 11:14:19 2003  Koji Arai  <jca02266@nifty.ne.jp>
91381
91382	* ext/digest/digest.c (Init_digest): `copy_object' was deprecated.
91383	  `initialize_copy' should be defined.
91384
91385	* ext/stringio/stringio.c (Init_stringio): ditto.
91386
91387Sat Sep 27 18:25:13 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91388
91389	* lib/xsd/charset.rb: XSD::Charset.is_ces did return always true under
91390	  $KCODE = "NONE" environment.  check added.
91391
91392	* test/xsd/test_xsd.rb: add tests for above fix.
91393
91394Sat Sep 27 15:58:50 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91395
91396	* lib/soap/rpc/cgistub.rb: make logging severity threshold higher.
91397
91398	* lib/soap/rpc/standaloneServer.rb: defer WEBrick server start to give
91399	  a chance to reset logging severity threshold.
91400
91401	* test/soap/calc/test_*, test/soap/helloworld/test_helloworld.rb: run
91402	  silent.
91403
91404Sat Sep 27 09:44:18 2003  Minero Aoki  <aamine@loveruby.net>
91405
91406	* test/fileutils/test_fileutils.rb: clear all errors on Windows.
91407	  [ruby-dev:21417]
91408
91409	* test/fileutils/test_nowrite.rb: ditto.
91410
91411Sat Sep 27 04:57:07 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91412
91413	* test/ruby/test_file.rb: new file.  only asserts unlink-before-close
91414	  behaviour now.
91415
91416	* test/soap/marshal/test_digraph.rb: should close before unlink.
91417	  unlink-before-close pattern is not needed here.
91418
91419Sat Sep 27 03:32:37 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91420
91421	* test/soap/*, test/wsdl/*, test/xsd/*: move TestCase classes into
91422	  each module namespace.  TestMarshal in
91423	  test/soap/marshal/test_marshal.rb crashed with
91424	  test/ruby/test_marshal.rb.
91425
91426Sat Sep 27 01:30:59 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
91427
91428	* ext/socket/socket.c (ruby_connect): on win32, type of the 4th
91429	  argument of getsockopt is char *.
91430
91431Fri Sep 26 18:35:40 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91432
91433	* lib/resolv-replace.rb: 1.8 compliance.  [ruby-talk:82946]
91434
91435Fri Sep 26 17:39:27 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91436
91437	* test/ruby/test_marshal.rb: add test for ruby's objects.
91438
91439Fri Sep 26 09:52:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91440
91441	* defines.h (flush_register_windows): use volatile only for gcc on
91442	  Solaris.  [ruby-dev:21403]
91443
91444	* lib/mkmf.rb (xsystem): use system directly to honor shell meta
91445	  charaters.
91446
91447Fri Sep 26 00:10:13 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91448
91449	* lib/README: updated.
91450
91451Thu Sep 25 17:48:10 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
91452
91453	* ext/openssl/ossl.c (ossl_buf2str): fix type of 1st argument for
91454	  rb_protect.
91455
91456	* ext/openssl/ossl_hmac.c (ossl_hmac_digest): should return meaningful
91457	  value.
91458
91459Thu Sep 25 09:00:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
91460
91461	* lib/ostruct.rb: Added OpenStruct#==.
91462
91463	* test/ostruct/test_ostruct.rb: Added.
91464
91465Thu Sep 25 07:55:26 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91466
91467	* ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c,
91468	  ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must
91469	  not use C++ or C99 style comment yet.  (ruby-bugs:PR#1184)
91470
91471Thu Sep 25 00:23:22 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
91472
91473	* MANIFEST: add SOAP4R.
91474
91475Thu Sep 25 00:13:15 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91476
91477	* lib/soap/* (29 files): SOAP4R added.
91478
91479	* lib/wsdl/* (42 files): WSDL4R added.
91480
91481	* lib/xsd/* (12 files): XSD4R added.
91482
91483	* test/soap/* (16 files): added.
91484
91485	* test/wsdl/* (2 files): added.
91486
91487	* test/xsd/* (3 files): added.
91488
91489	* sample/soap/* (27 files): added.
91490
91491	* sample/wsdl/* (13 files): added.
91492
91493Wed Sep 24 02:08:11 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91494
91495	* lib/webrick/httpservlet/cgihandler.rb: conform to mswin32.
91496	  [ruby-talk:82735], [ruby-talk:82748], [ruby-talk:82818]
91497
91498Tue Sep 23 23:10:16 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91499
91500	* lib/logger.rb: add Logger#<<(msg) for writing msg without any
91501	  formatting.
91502
91503	* test/logger/test_logger.rb: ditto.
91504
91505Tue Sep 23 20:47:51 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91506
91507	* error.c (rb_warn_m): should not warn if -W0 is specified.
91508	  [ruby-talk:82675]
91509
91510Mon Sep 22 21:28:57 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
91511
91512	* MANIFEST: updated.
91513
91514Mon Sep 22 19:22:26 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91515
91516	* configure.in (AC_CHECK_FUNCS): add setuid and setgid.
91517
91518Mon Sep 22 12:34:55 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91519
91520	* util.c (ruby_strtod): skip preceding zeros before counting
91521	  digits in the mantissa. (ruby-bugs:PR#1181)
91522
91523Sun Sep 21 04:12:36 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91524
91525	* ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): the argument
91526	  should be a String.
91527
91528	* ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): ditt.
91529
91530	* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): ditto.
91531
91532	* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
91533
91534	* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.
91535
91536Sat Sep 20 11:49:05 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91537
91538	* lib/logger.rb: typo fixed.
91539
91540	* test/logger/test_logger.rb: new file.
91541
91542Fri Sep 19 11:39:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
91543
91544	* test/testunit/*: Added.
91545
91546	* lib/test/unit.rb: Documentation update.
91547
91548	* lib/test/unit/ui/console/testrunner.rb (TestRunner#initialize):
91549	  Ditto.
91550
91551	* lib/test/unit.rb: Factored out an ObjectSpace collector.
91552
91553	* lib/test/unit/collector/objectspace.rb: Ditto.
91554
91555	* sample/testunit/*: Added.
91556
91557Fri Sep 19 01:00:48 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91558
91559	* lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual
91560	  condition.
91561
91562	* lib/webrick/log.rb (BasicLog#format): add "\n" to message.
91563
91564Thu Sep 18 22:43:20 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91565
91566	* eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
91567
91568	* eval.c (proc_invoke): should update "result" for orphans.
91569
91570Thu Sep 18 20:33:03 2003  Tietew  <tietew-ml-ruby-list@tietew.net>
91571
91572	* parse.y (str_xquote): do not prepend escapes in
91573	  backqoute literals.  [ruby-list:38409]
91574
91575Thu Sep 18 20:30:17 2003  Tanaka Akira  <akr@m17n.org>
91576
91577	* lib/pathname.rb: update document.
91578
91579Thu Sep 18 15:27:05 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91580
91581	* lib/logger.rb: new file.  Logger, formerly called devel-logger or
91582	  Devel::Logger.
91583
91584	* sample/logger/*: new file.  samples of logger.rb.
91585
91586Wed Sep 17 23:41:45 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91587
91588	* eval.c (localjump_destination): should not raise ThreadError
91589	  exception for "break". [ruby-dev:21348]
91590
91591	* eval.c (proc_invoke): use result instead of prot_tag->retval.
91592	  retval is no longer propagated to the ancestors.
91593
91594Wed Sep 17 20:34:00 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91595
91596	* parse.y (tokadd_string, parse_string, yylex): escaped terminator
91597	  is now interpreted as is.  [ruby-talk:82206]
91598
91599Wed Sep 17 18:52:36 2003  Minero Aoki  <aamine@loveruby.net>
91600
91601	* test/fileutils/fileassertions.rb: new file.
91602
91603	* test/fileutils/test_fileutils.rb: new file.
91604
91605	* test/fileutils/test_nowrite.rb: new file.
91606
91607Wed Sep 17 18:51:02 2003  Minero Aoki  <aamine@loveruby.net>
91608
91609	* test/strscan/test_stringscanner.rb: require test/unit.
91610
91611Wed Sep 17 18:35:34 2003  Minero Aoki  <aamine@loveruby.net>
91612
91613	* test/strscan/test_stringscanner.rb: new file.
91614
91615Wed Sep 17 18:03:30 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91616
91617	* ext/openssl: all files are reviewed to simplify and avoid memory leak.
91618
91619	* ext/openssl/extconf.rb: add check for assert.h.
91620
91621	* ext/openssl/ossl.c (ossl_buf2str): new function to convert
91622	  C buffer to String and free buffer.
91623
91624	* ext/openssl/ossl.c (ossl_x509_ary2sk): new function to convert
91625	  Array of OpenSSL::X509 to STACK_OF(X509) with exception safe.
91626
91627	* ext/openssl/ossl.c (ossl_to_der, ossl_to_der_if_possible): new
91628	  functions to convert object to DER string.
91629
91630	* ext/openssl/ossl.h: ditto.
91631
91632	* ext/openssl/ossl_bio.c (ossl_membio2str): new function to convert
91633	  BIO to String object and free BIO.
91634
91635	* ext/openssl/ossl_bio.h: ditto.
91636
91637	* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_to_der): add for "to_der".
91638
91639	* ext/openssl/ossl_x509name.c (ossl_x509name_to_der): ditto.
91640
91641	* ext/openssl/ossl_x509ext.c (ossl_x509ext_to_der): ditto.
91642
91643	* ext/openssl/ossl_x509ext.c (create_ext_from_array): removed
91644	  and reimplement in openssl/x509.rb.
91645
91646	* ext/openssl/ossl_x509attr.c: reimplemented and disable some
91647	  method temporarily. this class doesn't work fine without ASN.1
91648	  data support;-) I'll rewrite in near future.
91649
91650	* ext/openssl/lib/openssl/x509.c (X509::Attribute): get rid off
91651	  unused code.
91652
91653	* ext/openssl/lib/openssl/x509.c (X509::ExtensionFactory): refine all.
91654
91655Tue Sep 16 22:25:06 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91656
91657	* test/csv/test_csv.rb: add negative tests of row_sep.
91658
91659Tue Sep 16 18:02:36 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91660
91661	* regex.c (re_compile_pattern): should not translate character
91662	  class range edge. [ruby-list:38393]
91663
91664Tue Sep 16 16:47:56 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
91665
91666	* MANIFEST: add test/csv/mac.csv.
91667
91668	* win32/Makefile.sub, bcc32/Makefile.sub (test): add phony NUL target.
91669
91670Mon Sep 15 19:02:52 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91671
91672	* lib/csv.rb: add extra pamameter to specify row(record) separater
91673	  character.  To parse Mac's CR separated CSV, do like this.
91674	    CSV.open("mac.csv", "r", ?,, ?\r) { |row| p row.to_a }
91675	  The 3rd parameter in this example ?, is for column separater and the
91676	  4th ?\r is for row separater.  Row separater is nil by default.  Nil
91677	  separater means "\r\n" or "\n".
91678
91679	* test/csv/test_csv.rb: add tests for above feature.
91680
91681	* test/csv/mac.csv: added.  Sample CR separated CSV file.
91682
91683Fri Sep 12 22:41:48 2003  Michal Rokos  <m.rokos@sh.cvut.cz>
91684
91685	* ext/openssl/ossl.c: move ASN.1 stuff to ossl_asn1.[ch]
91686
91687	* ext/openssl/ossl.c: move BIO stuff to ossl_bio.[ch]
91688
91689	* ext/openssl/ossl_asn1.[ch]: new files
91690
91691	* ext/openssl/ossl_bio.[ch]: new files
91692
91693Fri Sep 12 12:30:41 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91694
91695	* intern.h (rb_disable_super, rb_enable_super): replace with dummy
91696	  expressions instead of prototypes.  the functions remain yet for
91697	  binary compatibility.  [ruby-talk:81758]
91698
91699Fri Sep 12 12:09:54 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91700
91701	* bignum.c (rb_big_and): convert argument using 'to_int'.
91702
91703	* bignum.c (rb_big_or): ditto.
91704
91705	* bignum.c (rb_big_xor): ditto.
91706
91707Fri Sep 12 07:06:14 2003  David Black  <dblack@superlink.net>
91708
91709	* lib/scanf.rb: Took out useless @matched_item variable; some small
91710	  refactoring.
91711
91712Thu Sep 11 08:43:44 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91713
91714	* eval.c (rb_f_require): allow "require" on $SAFE>0, if feature
91715	  name is not tainted.
91716
91717	* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream):
91718	  Supports StringIO.
91719
91720Wed Sep 10 22:47:30 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91721
91722	* ext/openssl/ossl.h: add a workaround for win32 platform.
91723	  libeay32.dll doesn't export functions defined in conf_api.h.
91724
91725	* ext/openssl/ossl_config.c (ossl_config_initialize): ditto.
91726
91727	* ext/openssl/ossl_config.c (ossl_config_add_value): ditto.
91728
91729	* ext/openssl/ossl_config.c (set_conf_section_i): should check
91730	  if the argument is Array.
91731
91732Wed Sep 10 22:41:54 2003  Tietew  <tietew@tietew.net>
91733
91734	* eval.c (win32_get_exception_list): avoid VC7 warning.
91735	  [ruby-win32:577]
91736
91737Tue Sep  9 10:39:51 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91738
91739	* eval.c (struct tag): dst should be VALUE.
91740
91741	* eval.c (localjump_destination): stop at the scope where the current
91742	  block was created.  [ruby-dev:21353]
91743
91744Tue Sep  9 05:17:04 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91745
91746	* ext/openssl/ossl_config.rb: avoid compile error in OpenSSL-0.9.6.
91747
91748Tue Sep  9 02:41:35 2003  Michal Rokos  <m.rokos@sh.cvut.cz>
91749
91750	* ext/openssl/ossl_config.c: Refine compatibility.
91751
91752Tue Sep  9 01:50:45 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91753
91754	* lib/webrick/httpserver.rb (HTTPServer#access_log): add "\n" to
91755	  the message.
91756
91757	* lib/webrick/log.rb (BasicLog#log): add "\n" only if needed.
91758
91759Mon Sep  8 22:15:33 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
91760
91761	* ext/tk/lib/multi-tk.rb: modify security check at creating
91762	  a new interpreter
91763
91764Mon Sep  8 20:00:12 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91765
91766	* lib/optparse.rb, lib/optparse/version.rb: search also all
91767	  capital versions.
91768
91769Mon Sep  8 19:26:33 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91770
91771	* ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h.
91772
91773	* ext/openssl/ossl_config.c: refine all with backward compatibility.
91774
91775	* ext/openssl/ossl_config.h: export GetConfigPtr() and DupConfigPtr().
91776
91777	* ext/openssl/ossl_x509.c: added new constants under X509 module.
91778	  DEFAULT_CERT_AREA, DEFAULT_CERT_DIR, DEFAULT_CERT_FILE,
91779	  DEFAULT_CERT_DIR_ENV, DEFAULT_CERT_FILE_ENV and DEFAULT_PRIVATE_DIR.
91780
91781	* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_free): don't free
91782	  the members of the struct. it's left to GC.
91783
91784	* ext/openssl/ossl_x509ext.c (ossl_x509_set_config): add for config=.
91785
91786	* ext/openssl/ossl_x509ext.c (Xossl_x509extfactory_initialize):
91787	  add attr readers: issuer_certificate, subject_certificate,
91788	  subject_request, crl and config.
91789
91790Mon Sep  8 18:26:41 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91791
91792	* lib/webrick/accesslog.rb (AccessLog::setup_params): use req.port
91793	  instead of config[:Port] or req.request_uri.port.
91794
91795	* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): ditto.
91796
91797	* lib/webrick/httpservlet/filehandler.rb (FileHandler#dir_list): ditto.
91798
91799	* lib/webrick/config.rb: :Listen option never be used.
91800
91801	* lib/webrick/server.rb (GenericServer#initialize): don't use :Listen
91802	  option and add warning message.
91803
91804	* lib/webrick/log.rb (BasicLog#<<): shortcut of log(INFO, ...).
91805
91806	* lib/webrick/httpserver.rb (HTTPServer#accesslog): use << for logging.
91807
91808Sun Sep  7 16:08:28 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
91809
91810	* ext/tcltklib/tcltklib.c (lib_mainloop_core): fixed signal-trap bug
91811
91812	* ext/tk/lib/*.rb: Ruby/Tk works at $SAFE == 4
91813
91814Sat Sep  6 02:26:34 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91815
91816	* test/ruby/test_*.rb: assert_same, assert_match, and so on.
91817
91818Sat Sep  6 18:45:46 2003  Mauricio Fernandez  <batsman.geo@yahoo.com>
91819
91820	* parse.y (assignable): call rb_compile_error(), not rb_bug().
91821	  [ruby-core:01523]
91822
91823Sat Sep  6 17:40:41 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91824
91825	* ext/openssl/ruby_missing.c: rid of unnecessary backward
91826	  compatibility stuff. and remove DEFINE_ALLOC_WRAPPER from
91827	  all sources.
91828
91829	* ext/openssl/ossl_x509ext.c (X509::Extension.new): new method.
91830
91831	* ext/openssl/ossl_x509ext.c (X509::Extension#oid=): new method.
91832
91833	* ext/openssl/ossl_x509ext.c (X509::Extension#value=): new method.
91834
91835	* ext/openssl/ossl_x509ext.c (X509::Extension#critical=): new method.
91836
91837Sat Sep  6 01:23:22 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
91838
91839	* win32/win32.c (CreateChild): need to quote cmd if RUBYSHELL is set.
91840
91841	* win32/win32.c (CreateChild): fix condition about whether to call
91842	  shell or not.
91843
91844Sat Sep  6 00:36:20 2003  Nobuyoshi Nakada  <nobu.nokada@softhome.net>
91845
91846	* Makefile.in (test): phony target.
91847
91848	* lib/mkmf.rb (have_library, find_library): configure by library
91849	  name.
91850
91851	* lib/optparse.rb (OptionParser#order, #permute, #parse): allow an
91852	  array as argument.
91853
91854	* test/ruby/test_*.rb: moved invariants to left side in
91855	  assert_equal, and use assert_nil, assert_raises and so on.
91856
91857	* win32/win32.c (isInternalCmd): distinguish command.com and
91858	  cmd.exe.
91859
91860	* win32/win32.c (make_cmdvector): a character just after wildcard
91861	  was ignored.  [ruby-core:01518]
91862
91863Fri Sep  5 20:27:08 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91864
91865	* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
91866
91867Fri Sep  5 18:00:51 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
91868
91869	* ext/openssl/lib/openssl/x509.rb: new method X509::Name::parse.
91870
91871	* ext/openssl/ossl_digest.c: add ossl_digest_new().
91872
91873	* ext/openssl/ossl_digest.h: ditto.
91874
91875	* ext/openssl/ossl_cipher.c: add ossl_cipher_new().
91876
91877	* ext/openssl/ossl_cipher.h: ditto.
91878
91879Fri Sep  5 15:32:04 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91880
91881	* misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): should not
91882	  search delimiter forward if found in backward.
91883
91884Fri Sep  5 13:32:48 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91885
91886	* test/runner.rb: arguments should be keys.
91887
91888Fri Sep  5 12:09:55 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
91889
91890	* test/ruby/test_system.rb (test_system): check existence of ruby
91891	  interpreter.
91892
91893Fri Sep  5 11:32:17 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91894
91895	* lib/optparse.rb (--version): fix assignment/reference order.
91896
91897	* lib/optparse.rb (OptionParser#help): new; OptionParser#to_s may
91898	  be deprecated in future.
91899
91900	* lib/optparse/version.rb (OptionParser#show_version): hide Object.
91901
91902	* test/runner.rb: fix optparse usage.
91903
91904	* test/runner.rb: glob all testsuits if no tests given.
91905
91906Fri Sep  5 10:42:58 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91907
91908	* test/runner.rb: added.  gets testcases from command line and runs it.
91909
91910	* test/ruby/test_gc.rb: remove useless part which was for dumping test
91911	  result.
91912
91913Fri Sep  5 09:28:59 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91914
91915	* test/ruby/test_gc.rb: added.  splitter.rb which I made to split
91916	  sample/test.rb into test/ruby/test_* kindly removed GC test (the
91917	  last section in the original test) to reduce things to be worried.
91918
91919Fri Sep  5 03:00:04 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91920
91921	* test/ruby/test_iterator.rb (test_block_in_arg): add no block
91922	  given tests.
91923
91924	* test/ruby/test_iterator.rb (test_ljump): uncomment LocalJumpError
91925	  test.
91926
91927Fri Sep  5 01:10:11 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91928
91929	* test/ruby: tests for ruby itself.
91930
91931	* test/ruby/test_*.rb: split sample/test.rb into 28 test/unit testcases.
91932	  some tests could not be translates...  search '!!' mark to see it.
91933
91934	* test/csv/test_csv.rb: should require 'csv', not '../lib/csv'.  test
91935	  runner should set load path correctly.
91936
91937Fri Sep  5 01:03:59 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91938
91939	* test/csv/test_csv.rb: close opened files for CSV::IOBuf explicitly.
91940	  opened file cannot be removed under win32 box.
91941
91942Thu Sep  4 23:59:40 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91943
91944	* parse.y (tokadd_string): newlines have no special meanings in
91945	  %w/%W, otherwise they are ignored only when interpolation is
91946	  enabled.  [ruby-dev:21325]
91947
91948Thu Sep  4 19:38:25 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91949
91950	* ext/io/wait/.cvsignore: added.
91951
91952	* ext/openssl/.cvsignore: added.
91953
91954Thu Sep  4 19:28:24 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91955
91956	* sample/openssl: added.  Sample of standard distribution library
91957	  should be locate in sample/{module_name}/*.
91958
91959	* ext/openssl/sample/*: removed.  move to sample/openssl/*.
91960
91961Thu Sep  4 18:02:15 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91962
91963	* test/csv/test_csv.rb: use remove_const to reduce warnings.  use
91964	  Dir.tmpdir to locate working files.
91965
91966Thu Sep  4 17:41:31 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
91967
91968	* misc/ruby-mode.el (ruby-here-doc-beg-re): underscore also is
91969	  valid delimiter.
91970
91971	* misc/ruby-mode.el (ruby-here-doc-end-match): must quote
91972	  arbitrary string to use as regexp.
91973
91974	* misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): must not
91975	  call `ruby-here-doc-end-match' unless `ruby-here-doc-beg-re'
91976	  matched.
91977
91978Thu Sep  4 15:40:07 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91979
91980	* test/csv/test_csv.rb: run on test/unit original layer.
91981
91982Thu Sep  4 12:54:50 2003  why the lucky stiff  <why@ruby-lang.org>
91983
91984	* ext/syck/token.c: headerless documents with root-level spacing now
91985	  honored.
91986
91987Thu Sep  4 00:06:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
91988
91989	* eval.c (mark_frame_adj): need to adjust argv pointer if using
91990	  system's alloca. [ruby-core:01503]
91991
91992Wed Sep  3 21:33:20 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
91993
91994	* test: add test directory.  Test::Unit aware testcases and needed
91995	  files should be located in this directory.  dir/file name convention;
91996	    test/{module_name}/test_{testcase_name}.rb
91997	    test/{module_name}/{needed_files}
91998	  someday, someone will write testrunner which searches test_*.rb and
91999	  run testcases automatically.
92000
92001	* test/csv/*: add testcase for lib/csv.rb.
92002
92003Wed Sep  3 01:37:09 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92004
92005	* io.c (rb_f_gets): should call next_argv() before type check
92006	  current_file. [ruby-list:38336]
92007
92008Tue Sep  2 20:37:15 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
92009
92010	* ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): warning
92011	  for skipping server verification.
92012
92013Tue Sep  2 23:36:57 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92014
92015	* eval.c (proc_invoke): should retrieve retval when pcall is true.
92016
92017Tue Sep  2 14:09:20 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92018
92019	* ext/socket/extconf.rb: check s6_addr8 in in6_addr (Tru64 UNIX).
92020	  the patch is submitted by nmu <nmu@users.sourceforge.jp>.
92021
92022	* ext/socket/getaddrinfo.c (getaddrinfo): should use in6_addr8 on
92023	  some platforms.
92024
92025	* ext/socket/getnameinfo.c (getnameinfo): ditto.
92026
92027Tue Sep  2 14:02:19 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
92028
92029	* ext/tcltklib/tcltklib.c (ip_invoke): fixed bug on passing a exception
92030
92031	* ext/tk/lib/{tk.rb, tkcanvas.rb, tkfont.rb, tktext.rb}:
92032	  bug fix and improvement of font control
92033
92034Tue Sep  2 09:51:36 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92035
92036	* eval.c (rb_eval): should not handle exceptions within rescue
92037	  argument.  [ruby-talk:80804]
92038
92039Tue Sep  2 00:44:37 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92040
92041	* re.c (rb_memsearch): fix overrun.  [ruby-talk:80759]
92042
92043Tue Sep  2 00:41:27 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92044
92045	* ext/iconv/iconv.c (map_charset): use lower case keys.
92046
92047	* ext/iconv/iconv.c (iconv_fail): just yield error and return the
92048	  result if a block is given.
92049
92050	* ext/iconv/iconv.c (iconv_convert): yield error and append the
92051	  result if a block is given.
92052
92053	* ext/iconv/charset_alias.rb (charset_alias): optional third
92054	  argument.
92055
92056	* ext/iconv/charset_alias.rb (charset_alias): use CP932 instead of
92057	  SHIFT_JIS on cygwin.
92058
92059Mon Sep  1 18:34:25 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92060
92061	* eval.c (rb_eval): make tail recursion in ELSE clause of
92062	  RESCUE a jump.
92063
92064Mon Sep  1 18:00:02 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92065
92066	* parse.y (aref_args): forgot to call NEW_SPLAT(). reported by
92067	  Dave Butcher.
92068
92069	* eval.c (Init_Thread): protect thgroup_default.  suggested by Guy
92070	  Decoux in [ruby-talk:80623]
92071
92072Mon Sep  1 16:59:10 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92073
92074	* eval.c (rb_thread_switch): add RESTORE_EXIT; exit by another
92075	  thread termination.
92076
92077	* eval.c (rb_thread_start_0): should not error_print() within
92078	  terminated thread, because $stderr used by it might be
92079	  overriden now.  [ruby-dev:21280]
92080
92081Sun Aug 31 22:46:55 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
92082
92083	* eval.c (TAG_DST()): take no argument.
92084
92085	* process.c (p_gid_sw_ensure): return VALUE.
92086
92087Sun Aug 31 22:27:10 2003  Hidetoshi NAGAI  <nagai@dumbo.ai.kyutech.ac.jp>
92088
92089	* process.c (p_gid_sw_ensure): lack of function type
92090
92091Sun Aug 31 12:25:06 2003  Nobuyoshi Nakada  <nobu.nokada@softhome.net>
92092
92093	* lib/optparse.rb: --version takes an optional argument; "all" or
92094	  a list of package names.
92095
92096Sun Aug 31 10:17:02 2003  Tadayoshi Funaba  <tadf@dotrb.org>
92097
92098	* lib/date/format.rb: yyyy/mm is not an acceptable format.
92099
92100	* lib/time.rb: follow above.
92101
92102Sat Aug 30 14:25:43 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92103
92104	* eval.c (rb_iter_break): should not call TAG_JUMP directly.
92105
92106Sat Aug 30 03:58:21 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92107
92108	* eval.c (struct BLOCK): remove BLOCKTAG, use scope instead.
92109
92110	* eval.c (POP_TAG): no longer propagate retval.  retval is now set
92111	  directly by localjump_destination().
92112
92113	* eval.c (localjump_destination): new function to cast
92114	  return/break local jump.
92115
92116	* eval.c (rb_yield_0): stop TAG_RETURN/TAG_BREAK escaping.
92117
92118Fri Aug 29 22:35:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92119
92120	* bigdecimal.c *.html: The 2nd arg. for add,sub,mult, and div is 0,
92121	  then result will be the same as +,-,*,/ respectively.
92122
92123Fri Aug 29 17:30:15 2003  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
92124
92125	* process.c: bug fix
92126
92127	* process.c: add rb_secure(2) to methods of Process::{UID,GID,Sys}
92128
92129	* process.c: deny handling IDs during evaluating the block given to
92130	  the Process::{UID,GID}.switch method
92131
92132	* ext/tcltklib/tcltklib.c: some methods have no effect if on slave-IP
92133
92134	* ext/tcltklib/tcltklib.c: can create a interpreter without Tk
92135
92136	* ext/tcltklib/tcltklib.c: bug fix on handling exceptions
92137
92138	* ext/tcltklib/MANUAL.euc: modify
92139
92140	* ext/tk/lib/tk.rb: freeze some core modules
92141
92142	* ext/tk/lib/multi-tk.rb: more secure
92143
92144	* ext/tk/lib/tk.rb: TkVariable.new(array) --> treat the array as the
92145	  Tk's list
92146
92147	* ext/tk/lib/tk.rb: improve accessibility of TkVariable object
92148
92149	* ext/tk/lib/tk.rb, ext/tk/lib/tkfont.rb, ext/tk/lib/tkcanvas.rb,
92150	  ext/tk/lib/tktext.rb: fix bug of font handling
92151
92152	* ext/tk/lib/tkfont.rb: TkFont.new() accepts compound fonts
92153
92154Thu Aug 28 22:07:12 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92155
92156	* variable.c (rb_autoload_load): call const_missing if autoloading
92157	  constant is not defined to allow hook.
92158
92159	* eval.c (rb_eval): use rb_const_get_from() instead of
92160	  rb_const_get_at().
92161
92162	* eval.c (is_defined): forgot to check NODE_COLON3.
92163
92164Thu Aug 28 17:30:24 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92165
92166	* variable.c (rb_const_get_0): should check constants defined in
92167	  included modules, if klass is Object. [ruby-talk:79302]
92168
92169	* numeric.c (check_uint): check should be done using UINT_MAX, not
92170	  INT_MAX. this fix is submitted by Lyle Johnson
92171	  <lyle@knology.net> in [ruby-core:01486]
92172
92173Thu Aug 28 05:02:52 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92174
92175	* parse.y (singleton): typo fixed (ruby-bugs-ja:PR#562)
92176
92177Thu Aug 28 02:37:45 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92178
92179	* eval.c (rb_eval): *a = [1,2] now assigns [[1,2]] to a.
92180	  consistent with *a = [1], which set [[1]] to a.
92181
92182	* node.h: merge NODE_RESTARY to NODE_SPLAT.
92183
92184	* parse.y: rules simplified a bit by removing NODE_RESTARY.
92185
92186	* sample/test.rb: updated for new assignment behavior.
92187
92188Wed Aug 27 22:33:24 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92189
92190	* error.c (rb_bug): should not use other methods; this function is
92191	  not for ordinary use.  [ruby-dev:21259]
92192
92193Wed Aug 27 15:07:57 2003  Minero Aoki  <aamine@loveruby.net>
92194
92195	* lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334
92196	  response. [ruby-list:38279]
92197
92198Wed Aug 27 05:10:15 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
92199
92200	* win32/win32.c (map_errno): support winsock error.
92201
92202	* win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid,
92203	  kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime):
92204	  pass errno to map_errno().
92205
92206	* win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind,
92207	  rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname,
92208	  rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv,
92209	  rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt,
92210	  rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr,
92211	  rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname,
92212	  rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport,
92213	  rb_w32_fclose, rb_w32_close): use map_errno().
92214
92215	* win32/win32.h: add winsock errors.
92216
92217Tue Aug 26 23:53:23 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92218
92219	* lib/ostruct.rb (OpenStruct::method_missing): prohibit modifying
92220	  frozen OpenStruct. [ruby-talk:80214]
92221
92222Tue Aug 26 20:03:50 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92223
92224	* lib/mkmf.rb (create_tmpsrc): add the hook for source.
92225	  [ruby-list:38122]
92226
92227Tue Aug 26 15:59:53 2003  why the lucky stiff  <why@ruby-lang.org>
92228
92229	* implicit.c (syck_type_id_to_taguri): corrected detection of
92230	  x-private types.
92231
92232Sun Aug 24 01:02:48 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92233
92234	* file.c (file_expand_path): performance improvement.
92235	  [ruby-talk:79748]
92236
92237Sat Aug 23 23:41:16 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92238
92239	* file.c (rb_file_s_expand_path): avoid calling rb_scan_args() for
92240	  apparent cases. [ruby-talk:79748]
92241
92242Sat Aug 23 18:56:53 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92243
92244	* ext/nkf/nkf.c (rb_nkf_putchar): should use rb_str_resize() to just
92245	  resize a string, rb_str_cat() disallows NULL.  [ruby-dev:21237]
92246
92247Sat Aug 23 16:48:41 2003  Keiju Ishitsuka  <keiju@ishitsuka.com>
92248
92249	* lib/irb/ruby-lex.rb: bug fix for "foo" !~ /bar/. [ruby-talk:79942]
92250
92251Sat Aug 23 15:59:58 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92252
92253	* eval.c (rb_eval, rb_iterate, block_pass): reduce PUSH/POP_TAG and
92254	  EXEC_TAG() for retry.  [ruby-dev:21216]
92255
92256Sat Aug 23 02:32:33 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92257
92258	* eval.c (rb_yield_splat): should check if "values" is array.
92259
92260	* enum.c (each_with_index_i): typo.
92261
92262Fri Aug 22 17:07:05 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92263
92264	* enum.c (inject_i): use rb_yield_values.
92265
92266	* enum.c (each_with_index_i): ditto.
92267
92268	* eval.c (rb_yield_splat): new function to call "yield *values".
92269
92270	* string.c (rb_str_scan): use rb_yield_splat().
92271
92272Fri Aug 22 06:13:22 2003  why the lucky stiff  <why@ruby-lang.org>
92273
92274	* ext/syck/rubyext.c: refactoring of the transfer method
92275	  dispatch.  added yaml_org_handler for faster dispatch of
92276	  transfers to base types.
92277
92278	* lib/yaml/rubytypes.rb: removed handling of builtins from
92279	  Ruby library.
92280
92281	* ext/syck/token.c: quoted and block scalars are now implicit !str
92282
92283	* ext/syck/implicit.c: empty string detected as !null.
92284
92285Fri Aug 22 01:00:31 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92286
92287	* eval.c (block_pass): improve passing current block.
92288
92289Fri Aug 22 00:13:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92290
92291	* ext/bigdecimal/bigdecimal.c: Int. overflow bug in multiplication
92292	  fixed, and VpNmlz() speed up.
92293
92294Wed Aug 20 16:44:49 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92295
92296	* ext/socket/socket.c (ruby_connect): many systems seem to have
92297	  a problem in select() after EINPROGRESS.  [ruby-list:38080]
92298
92299Wed Aug 20 01:31:17 2003  why the lucky stiff  <why@ruby-lang.org>
92300
92301	* ext/syck/syck.h: Parser definition problems on HP-UX.
92302	  [ruby-talk:79389]
92303
92304	* ext/syck/handler.c (syck_hdlr_get_anchor): Memory leak.
92305
92306	* ext/syck/syck.s (syck_io_file_read): Bad arguments to fread.
92307
92308	* ext/syck/rubyext.c: Tainting issues.
92309
92310Tue Aug 19 23:20:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92311
92312	* ext/bigdecimal/bigdecimal.c .h .html: to_s("+") implemented.
92313
92314	* ext/bigdecimal/lib/bigdecimal/math.rb: E implemented.
92315
92316Tue Aug 19 11:19:33 2003  Shugo Maeda  <shugo@ruby-lang.org>
92317
92318	* io.c (next_argv): should not call GetOpenFile() if rb_stdout is
92319	  not a IO (T_FILE).
92320
92321Tue Aug 19 07:47:10 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
92322
92323	* lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer.
92324
92325	* lib/webrick/https.rb: SSLSocket handling is moved to webrick/ssl.rb.
92326
92327	* lib/webrick/compat.rb (File::fnmatch): remove old migration code.
92328
92329	* lib/webrick/httpserver.rb (HTTPServer#run): ditto.
92330
92331	* lib/webrick/server.rb (GenericServer#listen): the body of this
92332	  method is pull out as Utils::create_lisnteners.
92333
92334	* lib/webrick/utils.rb (Utils::create_lisnteners): new method.
92335
92336	* lib/webrick/server.rb (GenericServer#start): should rescue
92337	  unknown errors. and refine comments.
92338
92339	* ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): should close
92340	  socket if SSLSocket raises error.
92341
92342Tue Aug 19 07:47:09 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
92343
92344	* ext/openssl/ossl_ssl.c: sync_close is moved to SSLSocket as
92345	  a builtin.
92346
92347	* ext/openssl/lib/openssl/buffering.rb (Buffering#close): ditto.
92348
92349	* ext/openssl/lib/openssl/buffering.rb (Buffering#puts): should
92350	  add a return to the tails of each line.
92351
92352	* ext/openssl/lib/openssl/ssl.rb: new class OpenSSL::SSL::SSLServer.
92353
92354	* ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): use sync_close.
92355
92356	* ext/openssl/sample/echo_svr.rb: use SSLServer.
92357
92358	* ext/openssl/sample/echo_cli.rb: add example of SSLSocket#sync_close.
92359
92360Tue Aug 19 01:24:34 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92361
92362	* ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standard
92363	  headers are inconsistent at this macro.  [ruby-core:01432]
92364
92365	* ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks.
92366
92367	* ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers
92368	  winspool.h
92369
92370	* instruby.rb: make list at first instead of iterator.
92371	  [ruby-talk:79347]
92372
92373Mon Aug 18 11:23:11 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92374
92375	* dir.c (glob_helper): preserve raw order for **.
92376
92377Sun Aug 17 23:39:55 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92378
92379	* ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.
92380
92381Sun Aug 17 17:10:03 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
92382
92383	* ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add a
92384	  method to specify if the underlying IO will be closed in
92385	  SSLSocket#close.
92386
92387	* ext/openssl/lib/openssl/buffering.rb: add forwarders to
92388	  setsockopt, getsockopt and fcntl.
92389
92390	* ext/openssl/lib/net/protocols.rb: enable sync for SSLSocket.
92391
92392Sun Aug 17 11:32:04 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92393
92394	* ext/extmk.rb (extmake): should not force to remake Makefile when
92395	  installation and so on.
92396
92397Sat Aug 16 23:58:18 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92398
92399	* marshal.c (w_symbol, w_object): get rid of warnings.
92400
92401	* re.c (rb_memsearch): ditto.
92402
92403	* time.c (time_dump): ditto.
92404
92405	* ext/extmk.rb (extmake): not continue making when extconf.rb
92406	  failed.
92407
92408	* ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely.
92409
92410	* ext/openssl/ossl.h: remove version.h dependency.
92411
92412	* ext/openssl/ruby_missing.h: ditto.
92413
92414	* lib/mkmf.rb (pkg_config): use --libs output except with
92415	  only-L for other options.  [ruby-list:38099]
92416
92417	* lib/mkmf.rb (create_makefile): separate rule for static
92418	  library from shared object.
92419
92420	* win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub:
92421	  define exec_prefix and libdir.
92422
92423Fri Aug 15 23:15:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92424
92425	* ext/bigdecimal/bigdecimal.c .h: Bug in combination of limit & div
92426	  method fixed.
92427
92428	* ext/bigdecimal/lib/bigdecimal/math.rb: atan() & sqrt() added.
92429
92430Fri Aug 15 12:01:44 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92431
92432	* configure.in (HUGE_ST_INO): check whether struct stat.st_ino
92433	  is larger than long.  [ruby-dev:21194]
92434	  http://www.geocities.co.jp/SiliconValley-PaloAlto/1409/ruby/beos.html
92435
92436	* error.c (syserr_eqq): errno might exceed Fixnum limit.
92437
92438	* error.c (Init_Exception): moved base initialization from
92439	  init_syserr().
92440
92441	* inits.c (rb_call_inits): postpone initializing errnos until
92442	  Bignum is available.
92443
92444Fri Aug 15 12:01:43 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92445
92446	* ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): needed to let
92447	  keyname() and so on be declared.
92448
92449	* ext/curses/curses.c (curses_resizeterm, window_resize):
92450	  arguments conflicted with macros in term.h.
92451
92452	* ext/curses/curses.c (Curses module methods): ensure
92453	  initialized.  [ruby-dev:21191]
92454
92455Fri Aug 15 02:08:53 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92456
92457	* gc.c (id2ref): recycle check should be done by klass == 0.
92458	  [ruby-core:01408]
92459
92460Fri Aug 15 01:34:23 2003  Michal Rokos  <m.rokos@sh.cvut.cz>
92461
92462	* ext/openssl/ossl_pkey.c: move generate_cb here
92463
92464	* ext/openssl/ossl_pkey_{dh|dsa|rsa}.c: adapt to this cb
92465
92466	* ext/openssl/openssl_missing.[ch]: add (0.9.6x, x<j) missing BN funcs
92467
92468	* ext/openssl/ossl_bn.c: use supplied funcs from openssl_missing.c
92469
92470Fri Aug 15 00:38:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92471
92472	* ext/bigdecimal/bigdecimal.c: Bug in div method fixed.
92473
92474	* ext/bigdecimal/lib/bigdecimal/math.rb: Newly added.
92475
92476	* ext/bigdecimal/sample/pi.rb: Changed so as to use math.rb.
92477
92478Thu Aug 14 21:19:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92479
92480	* eval.c (Init_Thread): Continuation#[] added.  [ruby-talk:79028]
92481
92482Thu Aug 14 20:03:34 2003  Masaki Suketa  <masaki.suketa@nifty.ne.jp>
92483
92484	* ext/win32ole/win32ole.c (OLE_FREE): should not call
92485	  ole_message_loop.
92486
92487	* ext/win32ole/win32ole.c (ole_event_free): ditto.
92488
92489	* ext/win32ole/win32ole.c (ole_initialize): stop calling
92490	  OleUninitialize at exit.
92491
92492Thu Aug 14 11:27:37 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
92493
92494	* gc.c (rb_data_object_alloc): check type of 1st argument.
92495	  [ruby-dev:21192]
92496
92497Thu Aug 14 00:21:14 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92498
92499	* parse.y (mlhs_node): should allow "::Foo" (colon3) as lhs.
92500
92501	* parse.y (lhs): ditto.
92502
92503	* parse.y (yylex): should return tCOLON3 right after kCLASS.
92504	  [ruby-talk:78918]
92505
92506	* error.c (exc_initialize): was converting argument to string too
92507	  eagerly.  Only check was needed. [ruby-talk:78958]
92508
92509Wed Aug 13 23:31:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92510
92511	* ext/bigdecimal/bigdecimal.c .h .html: Ambiguity of
92512	  BigDecimal::limit removed.
92513
92514Wed Aug 13 19:21:34 2003  Christian Neukirchen  <chneukirchen@yahoo.de>
92515
92516	* lib/webrick/https.rb (HTTPServer#run): should set syncing-mode
92517	  to SSLSocket. [ruby-talk:78919]
92518
92519Wed Aug 13 18:13:49 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92520
92521	* eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.
92522
92523	* eval.c (proc_invoke): unpack return/break destination when block
92524	  is already left.
92525
92526Wed Aug 13 15:58:31 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
92527
92528	* object.c (rb_class_s_alloc): add function prototype to avoid VC++
92529	  warning.
92530
92531Wed Aug 13 13:50:59 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
92532
92533	* ext/Win32API/Win32API.c (Win32API_initialize): should pass some
92534	  class to first argument of Data_Wrap_Struct(). (ruby-bugs:PR#1109)
92535
92536Tue Aug 12 16:55:11 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92537
92538	* Makefile.in: static link libraries to LIBRUBY_SO with static linked
92539	  ext.  [ruby-dev:21157]
92540
92541	* ext/extmk.rb (extmake): sort extension library initialization order.
92542
92543	* ext/extmk.rb (extmake): compact $extlibs.
92544
92545Tue Aug 12 02:48:56 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92546
92547	* eval.c (THREAD_SAVE_CONTEXT): should explicitly turn off the
92548	  flag before calling getcontext(2).
92549
92550	* eval.c (struct thread): add member to save backing store on
92551	  IA64. (ruby-bugs PR1086)
92552
92553	* eval.c (thread_mark): mark IA64 backing store region.
92554
92555	* eval.c (thread_free): free saved IA64 backing store.
92556
92557	* eval.c (rb_thread_save_context): save IA64 backing store as well.
92558
92559	* eval.c (rb_thread_restore_context): restore IA64 backing store.
92560
92561	* eval.c (THREAD_ALLOC): initialize IA64 members.
92562
92563Mon Aug 11 22:31:50 2003  NAKAMURA, Hiroshi  <nahi@ruby-lang.org>
92564
92565	* lib/debug.rb(debug_command): inspection command should inspect
92566	  resulting value even if it's nil.  [ruby-dev:21180] by OMAE, jun
92567	  <jun66j5@ybb.ne.jp>.
92568
92569	* lib/debug.rb(debug_command): incomplete regexp.
92570
92571Mon Aug 11 17:33:07 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92572
92573	* eval.c (rb_call_super): do not use rb_block_given_p() for
92574	  check. [ruby-talk:78656]
92575
92576	* eval.c (BEGIN_CALLARGS): push ITER_NOT only when ITER_PRE.
92577
92578Sun Aug 10 10:43:05 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
92579
92580	* ext/openssl/lib/openssl/buffering.rb: increase BLOCK_SIZE
92581	  from 1k to 16k bytes. [ruby-talk:78603]
92582
92583	* ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable
92584	  partial write to allow interruption in SSLSocket#write.
92585
92586Sun Aug 10 00:34:16 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
92587
92588	* cygwin/GNUmakefile: remove unnecessary '--drive-name=$(CC)'
92589	  for ccache.
92590
92591Sat Aug  9 10:36:21 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92592
92593	* marshal.c (w_object): do not dump generic instance variable when
92594	  marshal_dump is defined.
92595
92596Sat Aug  9 00:35:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92597
92598	* ext/bigdecimal.c: F style output(like 1234.56789) implemented
92599	  to to_s method.
92600	* ext/bigdecimal_??.html: F style output(like 1234.56789)
92601	  implemented to to_s method.
92602
92603Fri Aug  8 12:33:17 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
92604
92605	* bcc32/Makefile.sub: rubyw.exe should be a Windows GUI program.
92606	  add the -aa option to WLDFLAGS.
92607
92608Fri Aug  8 11:29:26 2003  Koji Arai  <jca02266@nifty.ne.jp>
92609
92610	* marshal.c (w_object): should set `c_arg' at first.
92611
92612Fri Aug  8 03:22:28 2003  GOTOU Yuuzou  <gotoyuzo@notwork.org>
92613
92614	* lib/webrick/httputils.rb (FormData#list): should not take
92615	  a side effect for the receiver.
92616
92617Thu Aug  7 14:40:37 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
92618
92619	* cygwin/GNUmakefile: better --disbale-shared option support.
92620
92621	* cygwin/GNUmakefile: add forwarding DLL target for cygwin.
92622
92623Thu Aug  7 14:21:05 2003  Corinna Vinschen  <vinschen@redhat.com>
92624
92625	* configure.in: Fix Cygwin specific naming of libraries to
92626	  be net distribution compliant. (ruby-bugs:PR#1077)
92627	  cygwin-ruby18.dll -> cygruby18.dll
92628
92629Thu Aug  7 12:51:38 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92630
92631	* eval.c (rb_f_at_exit): should not be called without a block.
92632	  block_given check added.
92633
92634Thu Aug  7 06:46:06 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92635
92636	* eval.c (rb_call0): forgot to pop ruby_class.
92637
92638	* eval.c (rb_call0): update ruby_class as well as ruby_cref.
92639	  (ruby-bugs-ja:PR#540)
92640
92641Thu Aug  7 04:52:50 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92642
92643	* eval.c (rb_yield_0): remove ruby_frame->cbase and unify to
92644	  ruby_cref.  [ruby-talk:78141]
92645
92646Thu Aug  7 04:19:15 2003  Akinori MUSHA  <knu@iDaemons.org>
92647
92648	* gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
92649	  Linux/ia64.  This makes gc.c compile but miniruby coredumps for
92650	  the moment.
92651
92652Thu Aug  7 00:15:00 2003  Shigeo Kobayashi  <shigek@ruby-lang.org>
92653
92654	* ext/bigdecimal.c: Comparison results adjusted to Float's.
92655	* ext/bigdecimal.c: Use rb_num_coerce_????(x,y) instead of own.
92656
92657Wed Aug  6 22:58:00 2003  Nathaniel Talbott  <ntalbott@ruby-lang.org>
92658
92659	* lib/test/unit/testcase.rb: Added equality checking.
92660	* lib/test/unit/testsuite.rb: Added equality checking.
92661	* lib/test/unit/assertions.rb: Fixed a warning.
92662
92663Wed Aug  6 17:28:10 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92664
92665	* ext/extmk.rb (extmake): pass LIBPATH to make ruby.  [ruby-dev:21137]
92666
92667	* ext/extmk.rb (extmake): set library name as source file name in
92668	  Init_ext().  [ruby-dev:21137]
92669
92670	* lib/mkmf.rb (Logging::postpone): postpone logging messages after
92671	  heading message as the result of the block.
92672
92673	* lib/mkmf.rb (macro_defined?): append newline to src unless ended
92674	  with it.
92675
92676	* lib/mkmf.rb (have_library): treat nil function name as "main".
92677	  (ruby-bugs:PR#1083)
92678
92679	* lib/mkmf.rb (pkg_config): should append additional libraries to
92680	  $libs but not $LIBS.  [ruby-dev:21137]
92681
92682	* ext/io/wait/extconf.rb: check DOSISH macro instead of platform.
92683
92684	* ext/digest/sha1/extconf.rb: have_library already appends library
92685	  name.
92686
92687Wed Aug  6 17:23:57 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92688
92689	* eval.c: initialize /* OK */ variables by Qnil to stop warnings.
92690
92691Wed Aug  6 04:58:32 2003  NAKAMURA Usaku  <usa@ruby-lang.org>
92692
92693	* ext/Setup*: add io/wait and openssl.
92694
92695Wed Aug  6 01:13:38 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92696
92697	* eval.c (rb_f_autoload): use ruby_cbase instead of ruby_class.
92698
92699	* eval.c (rb_f_autoload_p): ditto.
92700
92701	* class.c (rb_mod_init_copy): no longer implements independent
92702	  clone and dup methods.  override "initialize_copy" instead.
92703	  [ruby-core:01352]
92704
92705	* object.c (rb_class_s_alloc): define Class allocation function.
92706	  this makes Classes to follow clone framework that uses
92707	  initialize_copy.
92708
92709	* object.c (rb_class_initialize): separate instantiation and
92710	  initialization.
92711
92712	* object.c (rb_obj_alloc): prohibit instantiation from
92713	  uninitialized class.
92714
92715	* object.c (rb_class_superclass): check uninitialized class.
92716
92717	* array.c (rb_ary_fill): wrong index processing with block.  this
92718	  fix was done by Koji Arai <JCA02266@nifty.ne.jp> [ruby-list:38029]
92719
92720	* marshal.c (w_object): should preserve generic ivar for nil,
92721	  true, false, symbols, and fixnums.
92722
92723	* marshal.c (w_uclass): base_klass check should be done after
92724	  rb_class_real().
92725
92726Wed Aug  6 01:18:50 2003  Minero Aoki  <aamine@loveruby.net>
92727
92728	* lib/net/http.rb: update document.
92729
92730	* lib/net/pop.rb: ditto.
92731
92732	* lib/net/protocol.rb: ditto.
92733
92734Wed Aug  6 00:48:37 2003  Koji Arai  <jca02266@nifty.ne.jp>
92735
92736	* marshal.c (w_object): should recommend marshal_dump rather than
92737	  _dump_data.
92738
92739Tue Aug  5 17:58:57 2003  WATANABE Hirofumi  <eban@ruby-lang.org>
92740
92741	* lib/fileutils.rb (install): should preserve timestamp only.
92742
92743Tue Aug  5 17:31:59 2003  Ian Macdonald  <ian@caliban.org>
92744
92745	* lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):
92746	  simple typo.
92747
92748Tue Aug  5 15:47:34 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
92749
92750	* eval.c (rb_load): should preserve current source file/line.
92751
92752Tue Aug  5 10:04:42 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92753
92754	* string.c (str_new4): ptr may refer to null_str.
92755
92756Mon Aug  4 17:25:18 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
92757
92758	* stable version 1.8.0 released.
92759
92760For the changes before 1.8.0, see doc/ChangeLog-1.8.0
92761
92762Local variables:
92763add-log-time-format: (lambda ()
92764  (let* ((time (current-time))
92765	 (system-time-locale "C")
92766	 (diff (+ (cadr time) 32400))
92767	 (lo (% diff 65536))
92768	 (hi (+ (car time) (/ diff 65536))))
92769  (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
92770indent-tabs-mode: t
92771tab-width: 8
92772end:
92773