aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * ruby.c (proc_options): removed "-*-" support for #! line.matz2002-05-231-0/+45
| | | | | | | | | | | | | * io.c (rb_io_s_sysopen): new method to get a raw file descriptor. [new] * ext/socket/socket.c (tcp_sysaccept): new method to return an accepted socket fd (integer). [new] * ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of a function.ttate2002-05-201-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of a few functions.ttate2002-05-201-7/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename PtrData::alloc and Struct#alloc to malloc respectively.ttate2002-05-205-20/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of the declaration of rb_str_cat2().ttate2002-05-204-48/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add DL::DLSTACK.ttate2002-05-154-60/+69
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cast to long from char, short and int in ASM_PUSH_XXXX.ttate2002-05-122-7/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl: enable dl's stack emulation for constructing function call.ttate2002-05-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enable dl's stack emulation for constructing function call.ttate2002-05-113-38/+122
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_s_quote): # also should be quoted.matz2002-05-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_try): should initialize exceptionsnobu2002-05-071-7/+10
| | | | | | | properly. (ruby-bugs-ja:PR#232) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.eban2002-05-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Catch the exception SystemExit in extconf.rb.ttate2002-05-011-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* L641: rb_float_new(*((float*)ptr)) -> rb_float_new(*((double*)ptr)).ttate2002-05-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/ptr.c: missing break in switch statements.ttate2002-04-262-14/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_mark): must check if ptr is NULLnobu2002-04-231-2/+3
| | | | | | | | | | first. [ruby-talk:38873] * lib/mkmf.rb (create_makefile): should print depend file when make is other than nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive insteadusa2002-04-231-1/+1
| | | | | | | | | | of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a sample which shows how to deal with C++ libraries.ttate2002-04-203-0/+97
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: cleanup for autoconf 2.5x.eban2002-04-191-1/+1
| | | | | | | | * configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW. * ext/extmk.rb, lib/mkmf.rb: get rid of "--def=". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.eban2002-04-191-9/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/ptr.c: remove rb_dlptr_cast().ttate2002-04-191-39/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* copied from ext/etc.nobu2002-04-184-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat inknu2002-04-1711-5224/+0
| | | | | | | favor of its forthcoming successor, BigDecimal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): should treat 'U' in character unit, not inmatz2002-04-151-1/+0
| | | | | | | | | | | | | byte unit. * error.c (exc_initialize): should clear backtrace information. * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd). * rubyio.h: remove FMODE_FDOPEN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Correct.ttate2002-04-141-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Edit the documentation.ttate2002-04-141-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* raise() -> rb_raise(). (Thanks Tetsuya Watanabe)ttate2002-04-113-19/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add DL::Importable::Internal::Struct#alloc.ttate2002-04-112-68/+53
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add dl.txt instead of README.ttate2002-04-112-8/+264
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove README and README.htmlttate2002-04-113-433/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support "unsigned short".ttate2002-04-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add "unsigned short".ttate2002-04-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* define alias "struct" and "union" in the module Importable.ttate2002-04-111-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add/Fix types.ttate2002-04-101-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Implement the substitution for structure members.ttate2002-04-101-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_obj_remove_instance_variable): raise NameError ifmatz2002-04-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified instance variable is not defined. * variable.c (generic_ivar_remove): modified to check ivar existence. * file.c (rb_file_s_extname): new method based on the proposal (and patch) from Mike Hall. [new] * eval.c (error_handle): default to 1 unless status is set. * eval.c (ruby_options): guard error_handle() with PROT_NONE. * eval.c (ruby_stop): ditto. * math.c (math_acosh): added. [new] * math.c (math_asinh): ditto. * math.c (math_atanh): ditto. * struct.c (rb_struct_each_pair): method added. [new] * class.c (rb_singleton_class): wrong condition; was creating unnecessary singleton class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (check_modifiable): performancenobu2002-04-091-4/+15
| | | | | | | | | | | | | | improvement. avoid calling rb_str_modify() twice. * ext/stringio/stringio.c (strio_ungetc): ditto. * ext/stringio/stringio.c (strio_putc): ditto. * ext/stringio/stringio.c (strio_write): ditto, and use rb_str_cat() as possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improve the prototype parser.ttate2002-04-051-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* "extern" and "[]" of the module Importable returns a symbol.ttate2002-04-051-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add dl/struct.rb.ttate2002-04-053-141/+288
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of ineffective encoding/decoding procedures.ttate2002-04-041-17/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)ttate2002-04-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bugfix (a few bugs seems to be remaining yet.)ttate2002-04-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Patch [ruby-dev:16747] (Thanks Nakada)ttate2002-04-042-22/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ext/dl/lib/dl/types.rb.ttate2002-04-032-68/+90
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Nakada's patch and define StringValuePtr for ruby-1.6.ttate2002-04-039-167/+174
| | | | | | | CV ---------------------------------------------------------------------- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.nobu2002-04-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add entries to each Setup.* and remove Changes files.ttate2002-04-025-166/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"ttate2002-04-021-2/+1
| | | | | | | in the debug phase. (Thanks Nakada) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ruby-dl.ttate2002-04-021-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e