--
Fix: change terminal's size on Widows when the window size is changed
* ext/readline/readline.c (readline_get): add rl_prep_terminal(1).
insited by jitte [ruby-list:43546]
--
use rl_prep_terminal only on Windows. [ruby-core:25009]
* ext/readline/readline.c (readline_readline): use rb_prep_terminal
only on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/digest/sha2/sha2.[ch]: Update to 1.0 RELEASE which fixes an
off-by-one bug in SHA-256 hashing. Reduce differences from
the original while at it. [Bug #1799]
--
* ext/digest/sha2/sha2.h (BYTE_ORDER): Define BYTE_ORDER as
necessary. [ruby-dev:39029]
--
* ext/digest/sha2/sha2.c (*_Final): typos.
--
* ext/digest/sha2/lib/sha2.eb: should require sha2.so.
--
* ext/digest/*/extconf.rb: inttypes.h and unistd.h need not be
checked here. [ruby-dev:39032]
--
* ext/digest/sha2/sha2.c: The ULL suffix is not supported by
pre-C99 compilers, so resurrect the ULL() macro to regain
portability. [ruby-dev:39032]
--
Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/readline/readline.c (Init_readline): use rl_catch_sigwinch only
when existing.
* ext/readline/extconf.rb: check existance of rl_catch_sigwinch, and
workaround for native Win32 readline port.
--
* ext/readline/readline.c (Init_readline): rl_catch_signals does
not exist on some platform like Mac OS X 10.5.
* ext/readline/extconf.rb: checks existance of rl_catch_signals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
Update ext/.document with extensions that appear to have documentation.
Fixes#1738.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): returns Inf if
exp is bigger than DBL_MANT_DIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):
splitting with regexp source string is obsolete. a patch from
Minwoo Lee at [ruby-core:23494].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dl/cptr.c (rb_dlptr_cmp): return signed value, and restrict
to Fixnum. [ruby-dev:38533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/win32ole/win32ole.c (foletypelib_name): should return
encoded name corresponding to WIN32OLE.codepage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Patch by Takahiro Kambe <taca AT back-street.net>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/stringio/stringio.c (strio_ungetbyte): encoding should not
be effective.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dl/lib/dl/func.rb (DL::Function#bound?): returns if already
bound to a block.
* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): block must be
given if arg is not bound. [ruby-dev:38404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check if
the argument is an instance of DL::CFunc.
* ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks
if DL::CFunc. [ruby-dev:38403].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): strips
spaces. based on a patch from Takashi Tamura in [ruby-dev:38398].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
with a tainted name of library.
Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.
* ext/dl/dl.c (rb_dlhandle_sym): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
passing tainted arguments to a C function.
Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.
* ext/dl/lib/dl/func.rb (DL::Function#check_safe_obj):
new method for checking #call's arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/sdbm/_sdbm.c: should include "ruby/defines.h" as well for
prototypes of compatibility functions on Win32 platform.
[ruby-core:22870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dbm/dbm.c (fdbm_initialize): Make the file variable
volatile, because FilePathValue() currently does not protect the
given variable from GC. (Probably it should)
* ext/sdbm/init.c (fsdbm_initialize): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should use
OPENSSL_free instead of free. a patch from Charlie Savage at
[ruby-core:22858].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because
OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol
name. [ruby-dev:38150]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* common.mk (main): split from exts and makes main program after
building exts with miniruby, to get rid of overwriting running
program. [ruby-core:22339]
* Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to
run script file.
* ext/extmk.rb (parse_args): added --command-output option which
creates script file to make main program.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/stringio/stringio.c (strio_ungetc): calculates new position
before reallocation. [Bug#1099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole.c (load_conv_function51932): fixed for the
case IMultiLanguage is not available. [ruby-dev:37950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/readline/readline.c (Init_readline): entry may be NULL.
[ruby-dev:37891]
--
change from assigned variable to called function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/nkf/nkf-utf8/nkf.c (nkf_buf_push): maybe a bug.
* ext/nkf/nkf-utf8/nkf.c (options): no need to support help option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/nkf/nkf-utf8/nkf.c: Update nkf to 2.0.9.
revert -s meaning as Shift_JIS, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in (darwin): get rid of strange settings issue of
apple gcc port, which searches /usr/local/include always but
/usr/local/lib not.
* ext/readline/readline.c (Init_readline): suppress warnings with
libedit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/curses/extconf.rb: check ncursesw earlier than ncurses to
support UTF-8 strings. non UTF-8 strings should be converted
explicitly. [ruby-core:21094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/extconf.rb (gai_strerror): checks if available and if
returns const pointer.
* ext/socket/getaddrinfo.c (gai_strerror): defines only if non
available. [ruby-core:21328]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e