summaryrefslogtreecommitdiffstats
path: root/missing
Commit message (Collapse)AuthorAgeFilesLines
* * missing/vsnprintf.c (errno): [BUG] fixes a compilation yugui2009-05-221-1/+5
| | | | | | | error on SIZEOF_LONG > SIZEOF_INT. (BSD_vfprintf): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): support for 'z' modifier.nobu2009-05-211-27/+56
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, bignum.c, dln.c, error.c, gc.c, io.c, marshal.c,nobu2009-03-122-9/+9
| | | | | | | | | | numeric.c, pack.c, strftime.c, string.c, thread.c, transcode.c, transcode_data.h, util.c, variable.c, vm_dump.c, include/ruby/encoding.h, missing/crypt.c, missing/vsnprintf.c: suppress VC type warnings. [ruby-core:22726] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): commented out code which hasnobu2009-03-111-1/+1
| | | | | | | no effect at all. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, bignum.c, gc.c, numeric.c, string.c, util.c, insns.def,nobu2009-03-102-3/+3
| | | | | | | missing/crypt.c, missing/vsnprintf.c, : suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger thannobu2009-02-241-0/+5
| | | | | | | long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() becauseusa2009-02-201-4/+8
| | | | | | | | | | | | | | couldn't free the returned pointer from ruby_dtoa(). * missing/vsnprintf.c (cvt): receive buffer and use/return it instead of returning the pointer returned from BSD__dtoa(). * missing/vsnprintf.c (BSD_vfprintf): pass buf to cvt() as the buffer. [ruby-core:22184] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--with-arch): added new option to supportnobu2009-02-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | universal binary. replaced --enable-fat-binary option which didn't work actually. * configure.in (RUBY_FUNC_ATTRIBUTE): added conditional test. * configure.in (ac_cv_type_getgroups): decalared because getgroups() fills rest of the buffer with garbages on Rosetta. * configure.in (alloca): defines only for powerpc, but always create empty object to suppress ld warning. * configure.in (LIBRUBY_DLDFLAGS): set compatibility version with TEENY. * configure.in (CFLAGS, LDFLAGS): separates ARCH_FLAG. * configure.in (arch): renamed to "universal" from "fat". * Makefile.in (ARCH_FLAG): added. * include/ruby/defines.h (WORDS_BIGENDIAN): uses AC_APPLE_UNIVERSAL_BUILD. * missing/alloca.c (alloca): defines only if C_ALLOCA is defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): should support 't' formatmatz2009-02-041-0/+1
| | | | | | | modifier to handle PRIdPTRDIFF. thanks for the info from Kazuhiro NISHIYAMA. [ruby-core:21807] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/langinfo.c (nl_langinfo_codeset): accepts iso-8859nobu2009-02-021-3/+4
| | | | | | | fragment. [ruby-core:21757] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (MISSING): added langinfo on mingwnobu2009-01-151-2/+7
| | | | | | | | | | | | and mswin. * encoding.c (rb_locale_charmap): use environments on mingw and mswin. * missing/langinfo.c (nl_langinfo_codeset): MS-Windows Japanese environment uses Windows-31J derived from Shift_JIS, not EUC-JP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_charmap): fallback to codepage if nonobu2009-01-141-28/+41
| | | | | | | | | | locale is found. [ruby-core:21110] * missing/langinfo.c (nl_langinfo_codeset): returns NULL if no locale is found. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/langinfo.c (nl_langinfo_0): fixed typos for SJIS.nobu2009-01-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (cygwin): needs properly implemented nl_langinfo().nobu2009-01-051-0/+128
| | | | | | | | | | [ruby-core:21110] * missing/langinfo.c: added as suggested at [ruby-core:21015], from http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): fix for test_sprintf_comb.rb, bynobu2008-12-221-2/+8
| | | | | | | wanabe in [ruby-dev:36935]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD__sfvwrite): constified.nobu2008-10-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * x68/_dtos18.c: removed. Ruby no longer supports human68k.yugui2008-10-041-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * x68/_round.c: ditto. * x68/fconvert.c: ditto. * x68/select.c: ditto. * ext/Setup.x68: ditto. * missing/x68.c: ditto. * dln.c (dln_find_exe_r): removed human68k supports. (dln_find_1): ditto. * lib/mkmf.rb: ditto. * ext/extmk.rb (Init_ext): ditto. * ext/socket/socket.c (init_sock): ditto. * gc.c (GC_MALLOC_LIMIT): ditto. (rb_setjmp, rb_jmpbuf): ditto. (mark_current_machine_context): ditto. * include/ruby/defines.h (PATH_ENV): ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_path.rb: ditto. * LEGAL git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: removed strftime from AC_REPLACE_FUNCS().shugo2008-08-201-903/+0
| | | | | | | | | | * include/ruby/missing.h: removed prototype for strftime(). * missing/strftime.c: removed. * time.c (time_to_s): use rb_strftime() instead of strftime(3). (time_zone): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (load_transcoder): suppress warning.nobu2008-08-141-3/+3
| | | | | | | * missing/vsnprintf.c (BSD_vfprintf): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (struct __sbuf, FILE): use size_t.nobu2008-07-211-4/+5
| | | | | | | * sprintf.c (ruby__sfvwrite): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): remove unused variable.mame2008-07-021-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD__uqtoa): constified.nobu2008-07-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),nobu2008-07-011-2/+2
| | | | | | | | thread.c (eKillSignal, eTerminateSignal), missing/vsnprintf.c (BSD_vfprintf): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/acosh.c (atanh): should set ERANGE to errno if parameterusa2008-06-191-0/+9
| | | | | | | | is the boundary case. fixed [ruby-dev:35155] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tgamma and lgamma_r is not a error function.akr2008-06-152-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: massive spelling correction patch from Evan Farrarmatz2008-06-041-1/+1
| | | | | | <evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings on cygwin, mingw and mswin.nobu2008-06-011-6/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings with -Wwrite-string.nobu2008-05-311-13/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_each, enumerator_with_index): suppressnobu2008-04-221-5/+6
| | | | | | | | | | | | | | | | | | warnings. * pack.c (pack_unpack): ditto. * process.c (rb_syswait): ditto. * re.c (rb_reg_prepare_enc, rb_reg_prepare_re, rb_reg_adjust_startpos): ditto. * regparse.c (onig_name_to_group_numbers): ditto. * missing/vsnprintf.c (BSD_vfprintf): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c: include config.h before math.h. [ruby-dev:34075]mame2008-03-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/lgamma_r.c (loggamma): return 0 for 1 and 2.akr2008-03-061-0/+2
| | | | | | | | * test/ruby/test_math.rb: accept errors by functions under missing/. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): use lgamma_r if available.akr2008-02-091-1/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_cbrt): new method Math.cbrt.akr2008-02-091-0/+10
| | | | | | | | | * configure.in (cbrt): check for replacement functions. * missing/cbrt.c: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): add error check.akr2008-02-091-2/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/xlgamma_r.c (lgamma_r): return HUGE_VAL for non-positiveakr2008-02-091-4/+5
| | | | | | | integers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/lgamma_r.c (lgamma_r): use smaller argument for sin function.akr2008-02-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/lgamma_r.c (lgamma_r): some compilers don't permit dividingusa2008-02-071-1/+2
| | | | | | | | | | | by literal 0.0. use const variable instead. * {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and tgamma.obj. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_gamma): new method Math.gamma.akr2008-02-072-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | (math_lgamma): new method Math.lgamma. * include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA. (lgamma_r): declared unless HAVE_LGAMMA_R. * configure.in (tgamma): check for replacement funtions. (lgamma_r): ditto. * missing/tgamma.c: new file. based on gamma.c from "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook in C language) (Gijyutsu hyouron sha, Tokyo, 1991) by Haruhiko Okumura. * missing/lgamma_r.c: ditto. * LEGAL (missing/tgamma.c): describe as public domain. (missing/lgamma_r.c): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-061-1/+0
| | | | | | | string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtoul): locale independent strtoul is implemented toakr2008-01-021-184/+0
| | | | | | | | | | | | | | | | | | | | | | | | avoid "i".to_i(36) cause 0 under tr_TR locale. This is newly implemented, not a copy of missing/strtoul.c. * include/ruby/ruby.h (ruby_strtoul): declared. (STRTOUL): defined to use ruby_strtoul. * bignum.c, pack.c, ext/socket/socket.c: use STRTOUL. * configure.in (strtoul): don't check. * missing/strtoul.c: removed. * include/ruby/missing.h (strtoul): removed. * common.mk (strtoul.o): removed. * LEGAL (missing/strtoul.c): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strcasecmp.c: removed. Ruby don't use locale dependentakr2008-01-022-34/+0
| | | | | | | | | | | | | strcasecmp. * missing/strncasecmp.c: ditto. * configure.in: don't check strcasecmp and strncasecmp. * LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_VARTYPE): check if a variable is definednobu2007-12-141-30/+26
| | | | | | | | | | | and its type. * configure.in (timezone, altzone): check for recent cygwin. * missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c (isinf): don't define is the macro is defined.akr2007-11-131-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strtod.c: removed. [ruby-dev:31588]matz2007-08-221-271/+0
| | | | | | * LEGAL: updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_rename): deleted code to get rid of a bug ofnobu2007-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * include/ruby/intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/win32ole/win32ole.c (lcid_installed): ditto. * ext/socket/getnameinfo.c: include stdio.h always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c, missing/dup2.c, missing/strtod.c, missing/x68.c,nobu2007-06-105-5/+5
| | | | | | | missing/alloca.c: use "ruby/config.h". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby: moved public headers.nobu2007-06-102-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/{strlcat,strlcpy}.c, missing.h: new functions.usa2007-03-192-0/+142
| | | | | | | | | | | * LEGAL: add copyright notice about above files. * configure.in: check whether strlcat and strlcpy are exist or not. * {bcc32,win32,wince}/Makefile.sub: use above files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.eban2007-02-281-2/+3
| | | | | | | * missing/flock.c: workaround for MinGW. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (st_foreach_safe): fix prototype.usa2006-07-181-1/+67
| | | | | | | | | | * node.h (NODE_LMASK): bigger than long on LLP64. * missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64. all changes are derived from [ruby-dev:29045] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e