summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * parse.y (POINTER_P): pointer may be larger than long.nobu2007-05-101-0/+7
| | | | | | | | * parse.y (vtable_size, vtable_included, vtable_tblcpy, vtable_to_tbl): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_priority): rdoc fix; the initial value isnobu2007-05-101-0/+5
| | | | | | | inherited from the creating thread. [ruby-core:10607] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv asnobu2007-05-091-0/+5
| | | | | | | aliases of quo. [ruby-dev:30771] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date._parse): revised treatment oftadf2007-05-081-0/+7
| | | | | | | | | | hyphend/separatorless dates. * lib/date/format.rb: some trivial adjustments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: reverted.tadf2007-05-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rational.rb: fix high-precision Rationals cannot bekeiju2007-05-081-0/+6
| | | | | | | | | converted to Floats. [ruby-Bugs:10502], [ruby-core:11069], [ruby-dev:30743] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/image.rb, test/rss/test_image.rb: fixed Image modulekou2007-05-071-0/+5
| | | | | | | namespace URI. reported by Dmitry Borodaenko. Thanks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP.post_form): allow an Array of String for pairs ↵aamine2007-05-061-0/+7
| | | | | | | | | argument. [ruby-Bugs:10340] * lib/net/http.rb (Net::HTTP#set_form_data): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Connection header field might include both of ↵aamine2007-05-061-0/+5
| | | | | | "keep-alive" token and "close" token. [ruby-core:10818] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Format::Bag#method_missing): get rid ofnobu2007-05-051-0/+5
| | | | | | | modifying orginal argument. [ruby-core:11090] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,nobu2007-05-031-1/+10
| | | | | | | | | | | | | search_required, rb_require_safe), ext/extmk.rb: Fix a bug where a statically linked extension cannot be autoloaded. [ruby-dev:30023] / [ruby-dev:30239] * thread.c: added an internal class, Barrier. * yarvcore.h (struct rb_vm_struct): moved loading_table from global. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: copied rdocs from fastthread.nobu2007-05-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t):nobu2007-05-031-0/+7
| | | | | | | | | renamed to get rid of name clash. [ruby-dev:30504] * yarvcore.c (ruby_thread_init): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, yarvcore.h, yarvcore.c, insns.def: fix to mark VM stackko12007-05-021-0/+5
| | | | | | | | in correct range. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_quo): now calculate in integer. [ruby-dev:30753]nobu2007-05-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.h: add redefine checks ([ruby-dev:30751]).ko12007-05-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: use Qtrue instead of 2.ko12007-05-021-0/+6
| | | | | | | | * vm.c, insns.def: support "lambda" calling convention. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c, parse.y, ruby.h (rb_compile_warn, rb_compile_warning): warnnobu2007-05-011-0/+6
| | | | | | | | for compilation. the parser should no longer use rb_warn() and rb_warning(). [ruby-dev:30121] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assoc): result of assoc_new needs to be an assoc.nobu2007-05-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): improvement by calculating from MSB and usingnobu2007-05-011-0/+5
| | | | | | | factorization. <http://yowaken.dip.jp/tdiary/20070426.html#p01> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: import matzruby's sample/test.rb.ko12007-05-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_choice): fixed mistake from RDoc.matz2007-05-011-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_choice): a new method to choose an elementmatz2007-05-011-0/+5
| | | | | | randomly from an array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_arity): fix an arity bug ([ruby-core:11060]).ko12007-05-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h, compile.c (set_arguments): support post arguments.ko12007-05-011-0/+14
| | | | | | | | | | | | * test/ruby/test_method.rb: add tests for above. * test/ruby/test_proc.rb: ditto. * proc.c: fix an arity bug ([ruby-core:11029]). * vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process. * vm.c: support block argument on block parameter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pow): bugfix of overflow detection.nobu2007-04-271-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pow): rb_big_pow() may return other than Bignum.nobu2007-04-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: support multiple splat (e.g, [a, *b, *c, e, *f]).ko12007-04-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733]nobu2007-04-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): reduce multiplying for even number.nobu2007-04-261-0/+7
| | | | | | | | * numeric.c (int_pow): calculate power in Fixnum as possible. [ruby-dev:30726] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: fixes for ripper.nobu2007-04-261-0/+15
| | | | | | | | | | | | | | | | * parse.y (primary): reduced duplcated code. * parse.y (f_arg_item): should not override by meaningless value. * parse.y (f_arg, assocs): should not use $$ before assigned. * parse.y (assoc_list): dispatch assoclist_from_args for assocs as well as args. * parse.y (assoc): return assoc if dispatched result is $1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el: new file. C/C++ style for ruby source code.nobu2007-04-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA toakr2007-04-251-0/+5
| | | | | | | align file descriptor appropriately. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize, exit_handler): add initializing andusa2007-04-251-0/+11
| | | | | | | | | | | | | | cleanup of critical section object for select. * win32/win32.c (do_select): block reentrance. * win32/win32.c (rb_w32_select): 0 sec polling of socket. this is workaround because winsock cannot do select at same socket at the same time by two or more threads. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/probeprofiler/probeprofiler.c: fix function name andko12007-04-251-0/+5
| | | | | | | | return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h: remove rb_control_frame_t#callee_id.ko12007-04-251-0/+17
| | | | | | | | | | | | | | * vm_macro.def: ditto. * eval_intern.h (exec_event_hooks): fix to check event flags * eval_intern.h (EXEC_EVENT_HOOK): fix to re-check event flags. * ext/probeprofiler : added. this profiler is sampling based profiler. * vm.c: add rb_thread_current_status() API for probeprofiler. * thread.c (rb_thread_execute_interrupts): add comments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h (PUSH_TAG): no argument now.nobu2007-04-251-1/+6
| | | | | | | | * eval.c, eval_error.h, eval_jump.h, eval_load.c, proc.c, thread.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (alloc_event_fook, rb_thread_remove_event_hook): shouldnobu2007-04-251-0/+5
| | | | | | | return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR.nobu2007-04-241-0/+5
| | | | | | | [ruby-talk:248288] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb ($ruby): add extout directory to include path.nobu2007-04-231-1/+4
| | | | | | | [ruby-core:11003] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to currentnobu2007-04-231-0/+10
| | | | | | | | | | | | directory. * lib/mkmf.rb (init_mkmf): add current directory to default library path with highest priority. [ruby-core:10960] * lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (symbol): symbols should be followed by EXPR_ENDARG.matz2007-04-201-0/+13
| | | | | | | | | | | | | * parse.y (dsym): ditto. * parse.y (parser_yylex): strings should be followed by EXPR_ENDARG. * parse.y (parser_yylex): ditto for numbers. * parse.y (parser_yylex): EXPR_ENDARG after ']' and '}'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted,nobu2007-04-201-0/+5
| | | | | | | it is done by libpathflag in mkmf.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: fix to override conv proc.nobu2007-04-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): fixed access to out of bound, and inversednobu2007-04-201-0/+5
| | | | | | | the order of errinfos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h: add prototypes of rb_sourceline() andko12007-04-201-0/+5
| | | | | | | | rb_sourcefile(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): re-send signal. [ruby-dev:30516]nobu2007-04-191-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval_error.h (error_handle): no message when exiting by signal. * intern.h (rb_thread_signal_raise, ruby_default_signal): prototypes. * signal.c (esignal_init): takes a signal number and an optional signal name. * signal.c (interrupt_init): pass SIGINT always. * signal.c (ruby_default_signal): invoke system default signal handler. * signal.c (rb_f_kill): use NUM2PIDT instead of NUM2INT. * signal.c (rb_signal_exec, trap): handle SIGTERM. [ruby-dev:30505] * thread.c (rb_thread_signal_raise): now takes signal number instead of signal name. * thread.c (rb_thread_signal_exit): since rb_make_exception() calls #exception method, rb_class_new_instance() is not needed here. * yarvcore.h (struct rb_vm_struct), eval_jump.h (terminate_process): exit_code is no longer stored in VM. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, node.h, thread.c, yarvcore.[ch], eval_intern.h:ko12007-04-191-0/+18
| | | | | | | | | | | | | | | | | support set_trace_func (incomplete. id and klass don't be passed). And support Thread#set_trace_func which hook only specified thread and Thread#add_trace_func which add new trace func instead of replace old one. C level API was modified. See thread.c (logic) and yarvcore.h (data structures). * vm.c, vm_macro.def: add hook points. * compile.c, insns.def: fix "trace" instruction. * iseq.c, vm_macro.h: add compile option "trace_instruction". * test/ruby/test_settracefunc.rb: hook "c-return" of set_trace_func. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: fix to override conv proc.ko12007-04-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]nobu2007-04-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e