summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* * sorry. fixed commit missnagai2003-08-031-12/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *bug fix ( NOT MAINTAINED : only for running 'line2.rb' demo. )nagai2003-08-031-4/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add or modify some widget demo scriptsnagai2003-08-0216-35/+1509
| | | | | | | * (bug fix) TkGrid failed to treat RELATIVE PLACEMENT git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): get rid of buffer overflow.matz2003-08-021-0/+12
| | | | | | | | * io.c (appendline): clearerr(3) before raising exception, since exception may be captured by rescue. [ruby-talk:77794] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (bug fix) forgot to entry a widget class name of 'labelframe' widgetnagai2003-08-0212-6/+650
| | | | | | | * add demo-scripts to the JP/EN widget demos git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (--no-undefined): annoying option removed.eban2003-08-021-11/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (pkg_config): get configuration by pkg-config. [new]nobu2003-08-021-8/+1
| | | | | | | * ext/openssl/extconf.rb: use pkg_config. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (bug fix) TkEntry#deletenagai2003-08-0233-134/+297
| | | | | | | | | | * (bug fix) some widget demos * support <TkVariable object> == <Symbol> ( "coerce TkVariable" add to the TODO list :-) ) * freeze some object for security reason git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_write_m): forgot to declarematz2003-08-011-4/+4
| | | | | | | | | | | "self", making it default to "int". * ext/syck/rubyext.c (syck_emitter_simple_write): ditto. * gc.c (rb_gc): should mark backing store region on IA64. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-08-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: should replace literally.nobu2003-08-011-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (READ_DATA_PENDING_PTR): cast to get rid of warnings.nobu2003-08-011-0/+2
| | | | | | | * ext/socket/socket.c (unix_send_io, unix_recv_io): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forgot to commit a sample scriptnagai2003-08-012-0/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Specs adjusted for FLoat.shigek2003-08-014-74/+87
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fix : forget to eval given block to TkRoot.new methodnagai2003-08-011-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* MANIFESTnobu2003-08-011-0/+139
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fix : wrong resource file format (resource.{en,jp})nagai2003-07-315-12/+72
| | | | | | | | * add Tk::Encoding.{encoding_convertfrom, encoding_convertto} * add TkOptionDB.read_with_encoding to read non-utf8 resource file git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (IMPORTANT BUG FIX) scan of event keywords doesn't work on recentnagai2003-07-31141-25/+19495
| | | | | | | | | | | versions of Tck/Tk * (bug fix) initialize error of instance variable on TkComposite * (bug fix) initialize error on encoding-system on MultiTkIp * (bug fix) trouble on destroying widgets * (new) add JP and EN version of Ruby/Tk widget demos git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c: revert getenv()'s prototype. use it only when _WIN32usa2003-07-311-1/+3
| | | | | | | is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wrap the command-proc of TkScale : pass the numeric object to the procnagai2003-07-314-24/+117
| | | | | | | | * better support for widgets created on Tk interpreter (without Ruby) * a little more stable on Multiple Tk interpreters running git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: move gmake specific featuresgotoyuzo2003-07-311-26/+26
| | | | | | | into GNUmakefile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MultiTkIp.new_* accept a block to eval under the new interpreternagai2003-07-301-6/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fixnagai2003-07-306-6/+33
| | | | | | | | * fix lack of methods for TkEntry * fix reference of uninitialized variables git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): should initializegotoyuzo2003-07-301-0/+5
| | | | | | | instance variables. [ruby-talk:77362] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * additional check of Tk interpreters' status for a little more safetynagai2003-07-304-13/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_convert): append unchanged portionnobu2003-07-302-1/+17
| | | | | | | | | after overflow. [ruby-dev:21006] * ext/iconv/extconf.rb: check if iconv() 2nd argument is const. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (os2-emx): renamed from os2_emx, add flags tonobu2003-07-302-6/+8
| | | | | | | | | | | | | | | | | | CFLAGS and LDFLAGS, and remove lib prefix. [ruby-dev:20993] * file.c (rb_file_s_rename): retry with removing new file on DOSISH. [ruby-dev:21007] * ext/socket/extconf.rb (sendmsg, recvmsg): check functions. * ext/socket/socket.c (unix_send_io, unix_recv_io): raise NotImplementedError unless system calls are available. * ext/socket/socket.c (sock_initialize): rename from sock_init() to get rid of conflict with OS/2 socket library. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): if object responds to 'marshal_dump',matz2003-07-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Marshal.dump uses it to dump object. unlike '_dump', marshal_dump returns any kind of object. * marshal.c (r_object0): restore instance by calling 'marshal_load' method. unlike '_load', it's an instance method, to handle cyclic reference. * marshal.c (marshal_load): all objects read from file should be tainted. [ruby-core:01325] * lib/timeout.rb (Timeout::timeout): execute immediately if sec is zero. * ext/socket/socket.c (socks_init): typo fixed. [ruby-talk:77232] * ext/socket/extconf.rb: the default value for --enable-socks is taken from ENV["SOCKS_SERVER"]. [ruby-talk:77232] * ruby.c (proc_options): add -W option. -W0 to shut up all warning messages. [ruby-talk:77227] * error.c (rb_warn): no message will be printed if the value of $VERBOSE is "nil", i.e. perfect silence. * ruby.c (verbose_setter): $VERBOSE value is either true, false, or nil. * io.c (Init_IO): no "read" check for $stdin. in addition some function names has been changed. * regex.c (re_match_exec): incorrect multibyte match. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix a bug of the procedure for 'Delete' button on the safe-Tk frmaenagai2003-07-292-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * change default mode of mainloop_abort_on_exception on multi-tk.rbnagai2003-07-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fixnagai2003-07-294-56/+90
| | | | | | | | * change mainloop_abort_on_no_widget_cmd => mainloop_abort_on_exception ( to avoid thread timing trouble on accessing destroyed widgets ) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (INSTALL_PROG, INSTALL_DATA): modify verbose messages.eban2003-07-291-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fix ( tested with Ruby/Tk widget demo )nagai2003-07-296-15/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP::send0): add taint check.matz2003-07-291-2/+1
| | | | | | | | | * ruby.h (LLONG_MIN): wrong value. * io.c (rb_f_getc): $stdin may not be IO. [ruby-dev:20973] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: prefixed many constants and definitions with YAML_ towhy2003-07-293-95/+97
| | | | | | | | | | | avoid name clash. * ext/syck/gram.c: ditto. * ext/syck/gram.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: tabify.usa2003-07-291-1/+1
| | | | | | | | * ext/etc/etc.c: add real prototype to getenv(). * win32/win32.h: add arguments to definitions of functions if possible. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c : use RTEST()nagai2003-07-291-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c : bug fixnagai2003-07-293-36/+89
| | | | | | | | multi-tk.rb : bug fix and pack options are pssed to the safeTk container sample/safe-tk.rb : add example for pack options of safeTk container git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h: Added 'syck' yacc prefixes.why2003-07-289-132/+215
| | | | | | | | | | | * ext/syck/gram.c: ditto. * ext/syck/token.c: ditto. * ext/syck: Added ruby.h reference to source files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/net/https.rb (use_ssl=): raise ProtocolError ifgotoyuzo2003-07-281-1/+10
| | | | | | | connection is set up already. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unusednobu2003-07-281-32/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/configsub.rb: $defout is obsolete.nobu2003-07-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug for 2nd arg of round fixed.shigek2003-07-281-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: check again after pkg-config for MinGW oneban2003-07-281-1/+3
| | | | | | | Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_gets): only "gets" should set $_.matz2003-07-281-7/+9
| | | | | | | | | | | | | | | | | | | | | | | * ext/stringio/stringio.c (strio_getline): should not set $_ here. * io.c (argf_to_s): argf.to_s returns "ARGF". * io.c (set_defout_var, set_deferr_var): make $defout and $deferr obsolete. * io.c (set_input_var, set_output_var): allow $stdin, $stdout, $stderr not to be instance of IO. * io.c (rb_f_readline): forward method to current_file. gets, readline, readlines, getc, readchar, tell, seek, pos=, rewind, fileno, to_io, eof, each_line, each_byte, binmode, and closed? as well. * io.c (argf_forward): utility function to forward method to current_file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c : *bug fixnagai2003-07-282-14/+318
| | | | | | | | | multi-tk.rb : *bug fix *add methods depend on Tcl's 'interp' command *suppot to control safe-level of each interpreter git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug fix from Javier Goizueta.shigek2003-07-284-71/+86
| | | | | | | ROUND_MODE & round changed(source & docs). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* multi-tk.rb : (new) library to support multiple Tk interpreters (high level)nagai2003-07-2710-144/+1142
| | | | | | | | | | | tcltklib.c : add some methods to support multiple interpreters (low level) MANUAL.euc : modify descriptions tcltklib/sample/safeTk.rb : (new) sample : how to use safeTk interpreter tk/sample/safe-tk.rb : (new) sample : how to use multi-tk.rb tk.rb, tkafter.rb : bug fix and add feature to supprt multi-tk git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: better support MinGW. addeban2003-07-271-10/+15
| | | | | | | dir_config("kerberos") and with_config("pkg-config). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wronglymatz2003-07-262-4/+5
| | | | | | | removed method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e