nobu
7a07ffe479
* ext/extmk.rb (extract_makefile): extract previously collected
...
informations from existing Makefile.
* ext/socket/extconf.rb: check if getaddrinfo() works fine only when
wide-getaddrinfo option is not given. fixed: [ruby-dev:25422]
* ext/tk/extconf.rb: separate tkutil configuration.
* lib/mkmf.rb ($extmk): check if under ext directory.
* lib/mkmf.rb (Logging.postpone): allow recursive operation.
* lib/mkmf.rb (try_constant): make sure if really a constant, reduce
the number of times of compile.
* lib/mkmf.rb (have_macro, have_var, byte_order): new functions.
* lib/mkmf.rb (find_library): allow directory list with separators.
* lib/mkmf.rb (arg_config): manage provided configuration options.
* lib/mkmf.rb (dir_config): accept arrays of directory names as
default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 14:51:44 +00:00
ttate
93711e5bd3
added DL::Importer.sizeof().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 06:54:12 +00:00
akr
a9639c22ef
* ext/dl/dl.c (Init_dl): function declaration should precede
...
statements before C99.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 02:32:40 +00:00
ttate
41cd3d868d
added missing files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 14:01:22 +00:00
ttate
bda37095ca
added new files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 13:35:37 +00:00
ttate
4ae9132605
remove all files to replace ruby-dl with ruby-dl2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 13:29:49 +00:00
aamine
889ca023e3
* ext/ripper/lib/ripper/lexer.rb: last Lexer fix was incomplete; test all green.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 09:46:18 +00:00
aamine
6a24d7ed9b
* ext/ripper/lib/ripper/filter.rb: ripper/tokenizer -> ripper/lexer. [ruby-dev:25632]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 05:33:53 +00:00
nobu
0a1cd99af2
* ext/stringio/stringio.c (strio_close, strio_close_read, strio_close_write):
...
should return nil instead of self as well as IO. [ruby-dev:25623]
* ext/stringio/stringio.c (strio_extend, strio_putc): fill with zero
extended portion. [ruby-dev:25626]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 14:43:07 +00:00
ttate
e849cce8a0
bugfix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 14:38:31 +00:00
naruse
621f6c0b6f
* follow original utf8tbl.c,v 1.8
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:36:51 +00:00
naruse
c298b3fe14
* follow original config.h,v 1.7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:36:18 +00:00
naruse
cf84cf931a
* ext/nkf/nkf-utf8/nkf.c: follow nkf.c,v 1.57
...
support JISX0212
fixed: [Ruby-dev:25617]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:31:20 +00:00
nobu
729249159e
* ext/stringio/stringio.c (strio_truncate): should MEMZERO an extended
...
part. [ruby-dev:25618]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 14:53:36 +00:00
aamine
dee3740597
* ext/ripper/lib/ripper/tokenizer.rb -> lexer.rb.
...
* ext/ripper/lib/ripper/lexer.rb: new method Ripper.slice. [experimental]
* ext/ripper/lib/ripper/sexp.rb: new file. [experimental]
* ext/ripper/lib/ripper.rb: require ripper/lexer and ripper/sexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-01 18:32:40 +00:00
nobu
420a708098
* Makefile.in, configure.in: made EXTOUT configurable.
...
* ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style.
* lib/mkmf.rb: make extensions in depth order. [ruby-dev:25522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 15:19:27 +00:00
nagai
dbe83e69d8
* ext/tk/extconf.rb: add tkutil configuration step (remove old schema)
...
* ext/tk/depend: remove the information of tkutil
* ext/tk/make-tkutil: sub-part of Makefile to compile tkutil
* ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory
* ext/tk/tkutil/subconf.rb: configuration file for tkutil.c
* ext/tk/tkutil/depend: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 04:17:23 +00:00
nagai
75b202c933
* ext/tk/tcltklib.c: add invalid namespace check
...
* ext/tk/lib/multi-tk.rb: add invalid_namespace? method
* ext/tk/lib/remote-tk.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 04:14:50 +00:00
usa
ba492a05a5
* ext/tk/extconf.rb: support new tk scheme on bccwin32.
...
fixed: [ruby-dev:25546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-27 08:16:11 +00:00
usa
4b62150e0b
* ext/Setup*: remove tcltklib.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 05:15:02 +00:00
usa
e7d56fde5f
* ext/tk/extconf.rb: support new tk scheme on mswin32.
...
fixed: [ruby-dev:25535]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 03:49:26 +00:00
nagai
4116b8b0f5
* ext/tk: merge tcltklib for Ruby/Tk installation control
...
* ext/tcltklib: remove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 14:31:45 +00:00
nagai
17e40d68e0
* ext/tk/sample/vu/vu_demo.rb: rename from vu.rb; avoid the bug on
...
Windows version of Tcl/Tk. The trouble based on the bug occurs when
the script name (without extension) is a same name as a Tcl/Tk's
library file name (without extension) required in the script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 05:42:49 +00:00
nagai
10484e5c95
* ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remained
...
after scripts [ruby-dev:25479]: NULL current namespce when deleting
Tk interpreter [ruby-talk:126225]
* ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted
[ruby-talk:126360]
* ext/tcltklib/extconf.rb: add yet another native-thread check
* ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize
Ruby interpreter
* ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame
* ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag
doesn't return the created object [ruby-dev:25479]
* ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479]
* ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for
a command argument [ruby-dev:25479]
* ext/tk/lib/multi-tk.rb: ditto
* ext/tk/lib/tk/*.rb: ditto
* ext/tk/lib/tkextlib/*.rb: ditto
* ext/tk/sample/demos-jp/anilabel.rb: new demo script
* ext/tk/sample/demos-en/anilabel.rb: ditto
* ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix
[ruby-dev:25479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 05:09:22 +00:00
naruse
3eac379906
* ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_old
...
but NKF.guess1. fixed: [ruby-dev:25491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-24 07:10:44 +00:00
gotoyuzo
8d8c9f6cd1
* ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
...
GetOCSPReq at first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-22 20:28:02 +00:00
ocean
38e0c89c35
* ext/syck/rubyext.c (syck_parser_bufsize_set): avoid VC++ warning
...
"local variable 'size' used without having been initialized".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 15:39:22 +00:00
nobu
4d2f38b777
* ext/readline/readline.c: suppress warnings.
...
* lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command):
ditto.
* lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto.
* lib/irb/ext/history.rb (IRB::Context::eval_history): ditto.
* lib/irb/locale.rb (IRB::Locale::real_load): ditto.
* lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-16 22:09:29 +00:00
usa
d35f410761
* ext/zlib/zlib.c (zstream_end): should return value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-06 11:29:58 +00:00
gotoyuzo
72f2ca1117
* ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call
...
StringValue before GetSPKI. fixed: [ruby-dev:25359].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-31 19:24:11 +00:00
dave
a35058f9f9
Update kilmer template to use sections
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 02:16:33 +00:00
nobu
70a1eecdb9
* ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
...
variables. fixed: [ruby-list:40445]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 06:42:33 +00:00
nobu
1b9d66dfeb
* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
...
0xfe.
* ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 06:26:34 +00:00
nobu
83ef3cd8a6
* ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensure
...
freeing internal zstreams. fixed: [ruby-dev:25309]
* ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 04:36:21 +00:00
nagai
53c584d35d
* ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interp
...
* ext/tk/lib/multi-tk.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 11:04:21 +00:00
gotoyuzo
8768030bb6
* ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use
...
rb_hash_new to get exactly a Hash. fix [ruby-dev:25325].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 07:55:56 +00:00
nagai
0634c07610
* ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 14:30:14 +00:00
nobu
4bdc2a662d
* ext/syck/rubyext.c (syck_loader_transfer): check type conversion.
...
* ext/syck/rubyext.c (syck_parser_assign_io, rb_new_syck_node): duck
typing.
* ext/syck/rubyext.c (syck_parser_s_alloc, syck_parser_initialize):
allocation framework.
* ext/syck/rubyext.c (syck_emitter_s_alloc, syck_emitter_initialize):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:23:02 +00:00
nagai
532e34fcd2
* ext/tk/lib/tkextlib/blt.rb: add BLT extension support
...
* ext/tk/lib/tkextlib/blt/*.rb: ditto
* ext/tk/lib/tkextlib/blt/tile/*.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 16:23:30 +00:00
akr
4ff1561a8c
* rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
...
* io.c (io_check_tty): extracted function to set FMODE_LINEBUF and
FMODE_DUPLEX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 10:12:35 +00:00
nagai
13fde676fe
* ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and RELEASE_DATE
...
* ext/tcltklib/extconf.rb: ditto
* ext/tk/lib/tkutil.c: define Tk::RELEASE_DATE
* ext/tk/lib/tk.rb: define Tk::RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 04:17:03 +00:00
nobu
bf48e22869
* ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers after
...
all argument conversion. fixed: [ruby-dev:25271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 23:35:11 +00:00
gotoyuzo
8180c1bd50
* ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): use rb_str_new4
...
to avoid SEGV.
* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
ossl_asn1_decode_all): temporary value should be marked volatile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 13:09:26 +00:00
gotoyuzo
21d42dc45b
* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):
...
use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261]
* test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:44:17 +00:00
nagai
3019758857
* ext/tk/lib/tk/grid.rb: rescue bug of 'grid configure' on Tcl/Tk8.3-
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:12:40 +00:00
gotoyuzo
643dc13211
* lib/net/https.rb: delete descriptions about key_file and cert_file.
...
fixed: [ruby-dev:25243]
* ext/openssl/lib/net/telnets.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 05:46:45 +00:00
nagai
5cd1282f21
* ext/tk/lib/multi-tk.rb: supports new features of Tcl/Tk8.5a2
...
* ext/tk/lib/tk/clock.rb: ditto
* ext/tk/lib/tk/text.rb: ditto
* ext/tk/lib/tk/panedwindow.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 05:10:59 +00:00
nobu
9c016c18fc
* ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):
...
disallow interrupt by type conversion. fixed: [ruby-dev:25226]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 07:37:01 +00:00
nagai
cb2349d653
* ext/tk/lib/tk.rb: fix bug on setting up system encoding
...
* ext/tk/lib/tk/event.rb: fix error on require process
* ext/tk/lib/font.rb: fix abnormal termination error on Windows
* ext/tk/lib/tk/virtevent.rb: TkVirtualEvent::PreDefVirtEvent.new()
accepts event-sequence arguments
* ext/tk/lib/text.rb: fail to dump embedded images
* ext/tk/lib/text.rb: tag_nextrange and tag_prevrange returns wrong
types of values
* ext/tk/lib/texttag.rb: nextrange and prevrange returns wrong types of values
* ext/tk/lib/text.rb: add TkText::IndexModMethods module and
TkText::IndexString class to treat text index modifiers
* ext/tk/lib/texttag.rb: use TkText::IndexModMethods module
* ext/tk/lib/textmark.rb: ditto
* ext/tk/lib/textimage.rb: ditto
* ext/tk/lib/textwindow.rb: ditto
* ext/tk/lib/textimage.rb: wrong gravity of text mark for embedded image
* ext/tk/lib/textwindow.rb: wrong gravity of text mark for embedded window
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17 07:31:51 +00:00
gotoyuzo
67f4a393ba
* ext/openssl/ossl.c (ossl_raise): refine message format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 09:39:54 +00:00