summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * eval.c (rb_eval): make tail recursion in ELSE clause ofnobu2003-09-011-0/+5
| | | | | | | RESCUE a jump. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (aref_args): forgot to call NEW_SPLAT(). reported bymatz2003-09-011-0/+8
| | | | | | | | | | Dave Butcher. * eval.c (Init_Thread): protect thgroup_default. suggested by Guy Decoux in [ruby-talk:80623] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_switch): add RESTORE_EXIT; exit by anothernobu2003-09-011-4/+13
| | | | | | | | | | | thread termination. * eval.c (rb_thread_start_0): should not error_print() within terminated thread, because $stderr used by it might be overriden now. [ruby-dev:21280] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (p_gid_sw_ensure): return VALUE.eban2003-08-311-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (TAG_DST()): take no argument.eban2003-08-311-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (p_gid_sw_ensure): lack of function typenagai2003-08-311-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: --version takes an optional argument; "all" or a list of ↵nobu2003-08-311-0/+5
| | | | | | package names. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* yyyy/mm is not an acceptable format.tadf2003-08-311-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_iter_break): should not call TAG_JUMP directly.matz2003-08-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (struct BLOCK): remove BLOCKTAG, use scope instead.matz2003-08-301-0/+22
| | | | | | | | | | | | | | | | | | | | | * eval.c (POP_TAG): no longer propagate retval. retval is now set directly by localjump_destination(). * eval.c (localjump_destination): new function to cast return/break local jump. * eval.c (rb_yield_0): stop TAG_RETURN/TAG_BREAK escaping. * variable.c (rb_autoload_load): call const_missing if autoloading constant is not defined to allow hook. * eval.c (rb_eval): use rb_const_get_from() instead of rb_const_get_at(). * eval.c (is_defined): forgot to check NODE_COLON3. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The 2nd arg for add,sub,mult, and div is 0, then result will be same as ↵shigek2003-08-291-0/+5
| | | | | | +,-,*,/ respectively. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/ChangeLog-1.8.0: add changes of Ruby/Tknagai2003-08-291-0/+31
| | | | | | | | | | | | | | | | | | | | | | * ext/tcltklib/tcltklib.c : some methods have no effect if on slave-IP * ext/tcltklib/tcltklib.c : can create a interpreter without Tk * ext/tcltklib/tcltklib.c : bug fix on handling exceptions * ext/tcltklib/MANUAL.euc : modify * ext/tk/lib/tk.rb : freeze some core modules * ext/tk/lib/multi-tk.rb : more secure * ext/tk/lib/tk.rb: TkVariable.new(array) --> treat the array as the Tk's list * ext/tk/lib/tk.rb: improve accessibility of TkVariable object * ext/tk/lib/tk.rb, ext/tk/lib/tkfont.rb, ext/tk/lib/tkcanvas.rb, ext/tk/lib/tktext.rb : fix bug of font handling * ext/tk/lib/tkfont.rb TkFont.new() accepts compound fonts * process.c: bug fix * process.c: add rb_secure(2) to methods of Process::{UID,GID,Sys} * process.c: deny handling IDs during evaluating the block given to the Process::{UID,GID}.switch method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_get_0): should check constants defined inmatz2003-08-281-0/+9
| | | | | | | | | | | included modules, if klass is Object. [ruby-talk:79302] * numeric.c (check_uint): check should be done using UINT_MAX, not INT_MAX. this fix is submitted by <lyle@knology.net> in [ruby-core:01486] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (singleton): typo fixed (ruby-bugs-ja PR#562)matz2003-08-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): *a = [1,2] now assigns [[1,2]] to a.matz2003-08-271-0/+11
| | | | | | | | | | | | | consistent with *a = [1], which set [[1]] to a. * node.h: merge NODE_RESTARY to NODE_SPLAT. * parse.y: rules simplified a bit by removing NODE_RESTARY. * sample/test.rb: updated for new assignment behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_bug): should not use other methods; this function isnobu2003-08-271-0/+5
| | | | | | | not for ordinary use. [ruby-dev:21259] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. ↵aamine2003-08-271-0/+5
| | | | | | [ruby-list:38279] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (map_errno): support winsock error.usa2003-08-261-0/+19
| | | | | | | | | | | | | | | | | | | | * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid, kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime): pass errno to map_errno(). * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind, rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname, rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv, rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt, rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr, rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname, rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport, rb_w32_fclose, rb_w32_close): use map_errno(). * win32/win32.h: add winsock errors. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (OpenStruct::method_missing): prohibit modifyingmatz2003-08-261-0/+5
| | | | | | | frozen OpenStruct. [ruby-talk:80214] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-08-261-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): add the hook for source.nobu2003-08-261-3/+7
| | | | | | | [ruby-list:38122] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * implicit.c (syck_type_id_to_taguri): corrected detection ofwhy2003-08-261-0/+5
| | | | | | | x-private types. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_expand_path): avoid calling rb_scan_args() formatz2003-08-231-0/+5
| | | | | | | apparent cases. [ruby-talk:79748] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* BUFCHECK() doesn't update p/pend in loop.nobu2003-08-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): performance improvement.nobu2003-08-231-1/+6
| | | | | | | [ruby-talk:79748] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* again, sorrynobu2003-08-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-08-231-235/+235
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_nkf_putchar): should use rb_str_resize() to justnobu2003-08-231-236/+243
| | | | | | | resize a string, rb_str_cat() disallows NULL. [ruby-dev:21237] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: bug fix for "foo" !~ /bar/. [ruby-talk:79942]keiju2003-08-231-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval, rb_iterate, block_pass): reduce PUSH/POP_TAG andnobu2003-08-231-1/+5
| | | | | | | EXEC_TAG() for retry. [ruby-dev:21216] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_splat): should check if "values" is array.matz2003-08-231-3/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (each_with_index_i): typo.matz2003-08-221-0/+7
| | | | | | | | * eval.c (rb_yield_splat): should call svalue_to_avalue() before calling rb_yield_0(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: re-formatted.eban2003-08-221-16/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (inject_i): use rb_yield_values.matz2003-08-221-0/+10
| | | | | | | | | | | * enum.c (each_with_index_i): ditto. * eval.c (rb_yield_splat): new function to call "yield *values". * string.c (rb_str_scan): use rb_yield_splat(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: refactoring of the transfer methodwhy2003-08-211-0/+13
| | | | | | | | | | | | | | | dispatch. added yaml_org_handler for faster dispatch of transfers to base types. * lib/yaml/rubytypes.rb: removed handling of builtins from Ruby library. * ext/syck/token.c: quoted and block scalars are now implicit !str * ext/syck/implicit.c: empty string detected as !null. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (block_pass): improve passing current block.nobu2003-08-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Int. overflow bug in multiplication fixed & VpNmlz() speed up.shigek2003-08-211-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): many systems seem to havenobu2003-08-201-0/+5
| | | | | | | a problem in select() after EINPROGRESS. [ruby-list:38080] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h: Parser definition problems on HP-UX. [ruby-talk:79389]why2003-08-191-0/+10
| | | | | | | | | | | * ext/syck/handler.c (syck_hdlr_get_anchor): Memory leak. * ext/syck/syck.s (syck_io_file_read): Bad arguments to fread. * ext/syck/rubyext.c: Tainting issues. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* to_s("+") implemented.shigek2003-08-191-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer.gotoyuzo2003-08-191-0/+21
| | | | | | | | | | | | | | | | | | | | | | * lib/webrick/https.rb: SSLSocket handling is moved to webrick/ssl.rb. * lib/webrick/compat.rb (File::fnmatch): remove old migration code. * lib/webrick/httpserver.rb (HTTPServer#run): ditto. * lib/webrick/server.rb (GenericServer#listen): the body of this method is pull out as Utils::create_lisnteners. * lib/webrick/utils.rb (Utils::create_lisnteners): new method. * lib/webrick/server.rb (GenericServer#start): should not through unknown errors. and refine comments. * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): should close socket if SSLSocket raises error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): should not call GetOpenFile() if rb_stdout isshugo2003-08-191-0/+5
| | | | | | | not a IO (T_FILE). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: sync_close is moved to SSLSocket asgotoyuzo2003-08-181-0/+18
| | | | | | | | | | | | | | | | | | a builtin. * ext/openssl/lib/openssl/buffering.rb (Buffering#close): ditto. * ext/openssl/lib/openssl/buffering.rb (Buffering#puts): should add a return to the tails of each line. * ext/openssl/lib/openssl/ssl.rb: new class OpenSSL::SSL::SSLServer. * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): use sync_close. * ext/openssl/sample/echo_svr.rb: use SSLServer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standardnobu2003-08-181-0/+13
| | | | | | | | | | | | | | | headers are inconsistent at this macro. [ruby-core:01432] * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks. * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers winspool.h * instruby.rb: make list at first instead of iterator. [ruby-talk:79347] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): preserve raw order for **.nobu2003-08-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.nobu2003-08-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add agotoyuzo2003-08-171-1/+12
| | | | | | | | | | | | | method to specify if the underlying IO will be closed in SSLSocket#close. * ext/openssl/lib/openssl/buffering.rb: add forwarders to setsockopt, getsockopt and fcntl. * ext/openssl/lib/net/protocols.rb: enable sync for SSLSocket. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): should not force to remake Makefile whennobu2003-08-171-0/+5
| | | | | | | installation and so on. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_symbol, w_object): get rid of warnings.nobu2003-08-161-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * re.c (rb_memsearch): ditto. * time.c (time_dump): ditto. * ext/extmk.rb (extmake): not continue making when extconf.rb failed. * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely. * ext/openssl/ossl.h: remove version.h dependency. * ext/openssl/ruby_missing.h: ditto. * lib/mkmf.rb (pkg_config): use --libs output except with only-L for other options. [ruby-list:38099] * lib/mkmf.rb (create_makefile): separate rule for static library from shared object. * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub: define exec_prefix and libdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sqrt() & atan() added.shigek2003-08-151-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e