summaryrefslogtreecommitdiff
path: root/ext/dl
AgeCommit message (Collapse)Author
2008-04-15* rubyio.h (rb_io_t): renamed from OpenFile.nobu
* ruby.h (struct RHash), file.c, gc.c, io.c, ext/dl/dl.c, ext/io/wait/wait.c, ext/pty/pty.c, ext/readline/readline.c, ext/socket/socket.c: ditto. * win32/win32.h: removed workaround for OpenFile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14* ext/dl/ptr.c (dlmem_each_i): typo fixed. a patch from IKOMAmatz
Yoshiki <ikoma@mb.i-chubu.ne.jp> in [ruby-dev:33776]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-11* gc.c (rb_newobj): prohibit call of rb_newobj() during gc.shyouhei
Submitted by Sylvain Joyeux [ruby-core:12099]. * ext/dl/ptr.c: do not use LONG2NUM() inside dlptr_free(). Slightly modified fix bassed on a patch by Sylvain Joyeux [ruby-core:12099] [ ruby-bugs-11859 ] [ ruby-bugs-11882 ] [ ruby-patches-13151 ]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-22* file.c (rb_file_s_rename): deleted code to get rid of a bug ofnobu
old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * 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/dl/ptr.c (rb_dlptr_inspect): ditto. [ruby-dev:31268] * ext/dl/sym.c (rb_dlsym_inspect): ditto. * ext/socket/getnameinfo.c: include stdio.h always. * ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name, folevariable_ole_type, folevariable_ole_type_detail, folevariable_value, folemethod_visible): missing return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-15 * ext/dl/lib/dl/win32.rb: seems that dl doesn't accept void argument.usa
fixed [ruby-bugs:PR#5489]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-17fixed the problem reported in [ruby-dev:30531].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-16* ext/dl/dl.c (rb_ary2cary): Fix a bug in type validation;knu
submitted by sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:30554]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-11* ext/dl/sym.c (rb_dlsym_inspect): Use "0x%x" rather for pointers.knu
This might not be very right but it is commonly used in other parts of the code; submitted by sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:30532]. * ext/dl/ptr.c (rb_dlptr_inspect): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-11* ext/dl/lib/dl/import.rb (DL::Importable::Internal::import,knu
DL::Importable::Internal::callback): Avoid race condition for an instance variable; submitted by sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:30530]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-11* ext/dl/mkcallback.rb (mkfunc): Make sure that a callbackknu
function is found in the function table before trying to call it; submitted by sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:30524]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-14* parse.y (parser_warning, parser_warn): some error message maymatz
contain format specifiers. a patch from Akinori MUSHA <knu at iDaemons.org>. [ruby-dev:29657] * ext/bigdecimal/bigdecimal.c (VpException): ditto. * ext/dl/handle.c (rb_dlhandle_initialize): ditto. * ext/gdbm/gdbm.c (rb_gdbm_fatal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-25* fixed the problems described in [ruby-dev:28665].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-16corrected the allocation size.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-29* ext/dl/dl.c (rb_io_to_ptr): abolish sizeof(FILE).akr
[ruby-dev:27317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-19* ext/dl/dl.c (rb_io_to_ptr): fix DragonFlyBSD support.matz
[ruby-dev:27151] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-12* ext/dl/dl.c (rb_io_to_ptr): merged a patch for DragonFly BSDmatz
from Takahiro Kambe <taca@back-street.net>. [ruby-dev:27023] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-15* ext/dl/sym.c (rb_dlsym_call): needs FREE_ARGS before return.ocean
fixed memory leak. [ruby-Bugs-2034] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08Data object is automatically converted to a PtrData object using to_ptr().ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08accept space characters at the end of a prototype.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07bugfix for typealias() in import.rb.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-28* exception error messages updated. [ruby-core:04497]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03bugfix.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21* ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers afternobu
all argument conversion. fixed: [ruby-dev:25271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-14devided the method DL::Types#encode_type into three methods.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25bugfix for [ruby-talk:121309].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25Use 'P' instead of 'p' in types.rb.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-24Improved encode_type() in types.rb for [ruby-talk:121175].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01* MANIFEST, ext/**/MANIFEST: removed.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-23Use NUM2INT to convert short values.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-27merged from HEAD.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11* configure.in (ieeefp.h), numeric.c: needed for finite() onnobu
Solaris. [ruby-core:01921] * file.c (rb_stat_inspect): adjust format specifier. * parse.c (arg_prepend): nodetype() is for debug use. * ruby.h (ISASCII, etc): cast to int to get rid of warning. * ruby.h (alloca.h): include even in GCC. [ruby-core:01925] * ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format specifier. * ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce, BigDecimal_divmod): use rb_assoc_new() to suppress memory usage. * ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto. * ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be volatile. * ext/iconv/iconv.c (iconv_convert): ensure actual parameter with format specifier. * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not define unless used. * ext/pty/pty.c (getDevice): get rid of warning. * ext/socket/socket.c (port_str, sock_s_getaddrinfo, sock_s_getnameinfo): FIX2INT() now returns long. * ext/socket/socket.c (init_inetsock_internal): uninitialized variable. * ext/syck/rubyext.c (syck_parser_assign_io): add prototype. * ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use ISDIGIT() instead of isdigit() to avoid warnings and for platforms which don't support non-ascii charater. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04* ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7usa
feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01Merged Tietew's patch of [ruby-dev:21991].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13Merge the patch of [ruby-ext:02242]. (Thanks, Masahiro Sakai)ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08Bugfix for DL::Types::encode_type.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08* ext/dl/sym.c: typo fix(lasterror -> last_error).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08Add DL.win32_last_error and DL.last_error.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23* eval.c (ruby_cleanup): initialize stack bottom for embedding.nobu
[ruby-dev:21686] * ext/dl/extconf.rb: move list of files to clean from DEPEND file, to get rid of macro redefinitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22--enable-dlstack is true in default.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22Bugfix for PR#1196ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-16consistent parentheses in assignment RHS.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 * ext/dl/dl.c (rb_dl_callback): use rb_block_proc() instead ofusa
rb_block_new(). * ext/win32ole/win32ole.c (ev_on_event): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06* gc.c (define_final): eliminate rb_f_lambda() call.matz
* class.c (rb_scan_args): ditto. * signal.c (sig_trap): ditto. * hash.c (rb_hash_initialize): ditto. * variable.c (rb_f_trace_var): ditto. * ext/dl/dl.c (rb_dl_callback): ditto. * ext/win32ole/win32ole.c (ev_on_event): ditto. * eval.c (ruby_cleanup): $SAFE is turned off in the finalization. Each END proc should preserve its own $SAFE level. [ruby-core:01119] * marshal.c (marshal_load): remove unused variable "hash". [ruby-core:01120] * hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860] * array.c (rb_ary_first): optional argument to retrieve first n elements. * array.c (rb_ary_last): optional argument to retrieve last n elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* eval.c (avalue_to_svalue): use rb_check_array_type() again.matz
Clarify how "to_ary" and "to_a" work. [ruby-talk:68155] * eval.c (svalue_to_avalue): ditto. * eval.c (svalue_to_mrhs): ditto. * eval.c (rb_eval): unary splat to use to_a, but we need a hack to exclude Object#to_a until it's removed. * object.c (rb_Array): check obj.respond_to?("to_a"). Currently all object respond_to "to_a", but Object#to_a will be removed. * range.c (Init_Range): undefine to_ary. * re.c (Init_Regexp): ditto. * regex.c (re_compile_pattern): do not warn if "-" is at the top or last of character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24security enhancement of dl library (need test).matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24Added rb_secure(4). (Thanks to Minero Aoki)ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-03* ext/dl/MANIFEST: Exclude .cvsignore. [found by: eban]knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20* typo fix.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-16-Wall cleanups (removed unused vars, no 'code has no effect' warnings)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-12* ext/dl/lib/dl/win32.rb: elimitate unnecessary "A" adding.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e