* win32/win32.c (insert): fix prototype for ANSI C.
7 lines of code changed in:
ext/dl/ptr.c: missing break in switch statements.
36 lines of code changed in:
ANSI C requires a named argument before `...'
1 lines of code changed in:
* eval.c (rb_proc_new): make Proc from C function. [new]
* intern.h (rb_proc_new): prototype.
17 lines of code changed in:
2002-04-25
2 lines of code changed in:
* various files: macro fix-up by Michal Rokos.
47 lines of code changed in:
discarded unused parameter
4 lines of code changed in:
* eval.c (proc_to_proc): return self. [new]
* eval.c (block_pass): no need to convert if block is Proc.
21 lines of code changed in:
* configure.in: set size of the initial stack from
2MB to 32MB on MinGW/Cygwin.
6 lines of code changed in:
* numeric.c (num_step): try to reduce residual on Float operations.
34 lines of code changed in:
* gc.c (init_GC): typo fix(rb_exc_new -> rb_exc_new2).
1 lines of code changed in:
* io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.
* io.c (rb_io_mode_modenum): ditto.
* gc.c (rb_memerror): rename from mem_error, and exported.
* gc.c (Init_GC): pre-allocate NoMemoryError instance.
* object.c (convert_type): error message changed from "failed to
convert" to "cannot convert", since it does not try to convert
if an object does not respond to the converting method.
* eval.c (block_pass): convert Method to Proc using
rb_check_convert_type().
* object.c (rb_check_convert_type): always convert T_DATA
* eval.c (rb_thread_cleanup): should not terminate main_thread by
Fatal error.
* regex.c (is_in_list): need to not exclude NUL and NEWLINE.
* re.c (rb_reg_expr_str): wrong backslash escapement.
* re.c (rb_reg_expr_str): do not escape embedded space
characters.
* marshal.c (w_object): T_DATA process patch from Joel VanderWerf
<vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains
undocumented, and it will be removed when marshaling is
re-designed.
* marshal.c (r_object): ditto.
* numeric.c (num_step): Integer#step is moved to Numeric#step;
Fixnum#step is merged into this method.
* numeric.c (int_dotimes): Fixnum#times is merged.
* numeric.c (int_upto): Fixnum#upto is merged.
* numeric.c (int_downto): Fixnum#downto is merged.
485 lines of code changed in:
* ext/stringio/stringio.c (strio_mark): must check if ptr is NULL
first. [ruby-talk:38873]
* lib/mkmf.rb (create_makefile): should print depend file when
make is other than nmake.
15 lines of code changed in:
* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead
of `$(srcdir)/' when including depend file.
* lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend
file.
11 lines of code changed in:
* configure.in: AC_INIT should take no argument.
1 lines of code changed in:
Add a sample which shows how to deal with C++ libraries.
2 lines of code changed in:
* win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.
* win32/setup.mak: ditto.
10 lines of code changed in:
* configure.in: version 0.0 -> 1.7.2.
1 lines of code changed in:
* configure.in: cleanup for autoconf 2.5x.
* configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW.
* ext/extmk.rb, lib/mkmf.rb: get rid of "--def=".
16 lines of code changed in:
* win32/win32.c: include <mswsock.h> on __MINGW32__.
5 lines of code changed in:
2002-04-19
2 lines of code changed in:
* ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.
23 lines of code changed in:
* re.c (rb_reg_to_s): remove redundant shy group.
10 lines of code changed in:
* eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,
for example when terminated from signal handler.
* regex.c (re_compile_pattern): remove /p support.
* regex.h: ditto.
* parse.y (parse_regx): ditto.
96 lines of code changed in:
ext/dl/ptr.c: remove rb_dlptr_cast().
4 lines of code changed in:
2002-04-18
2 lines of code changed in:
* re.c (rb_reg_expr_str): should treat backslash specially in
escaping.
* io.c: complete off_t handling; missing argument for
fptr_finalize(); polished rb_scan_args call.
* dir.c: wrap multi-statment macro by do { } while (0)
* eval.c, numeric,c, sprintf.c, util.c: ditto.
* bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum,
Bignum, nor Float.
146 lines of code changed in:
* re.c (rb_reg_to_s): new function for Regexp#to_s.
46 lines of code changed in:
copied from ext/etc.
8 lines of code changed in:
modify document.
6 lines of code changed in:
* ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat in
favor of its forthcoming successor, BigDecimal.
5 lines of code changed in:
* eval.c (assign): convert mrhs to mvalue.
7 lines of code changed in:
2002-04-15
2 lines of code changed in:
* pack.c (pack_unpack): should treat 'U' in character unit, not in
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
18 lines of code changed in:
Correct.
8 lines of code changed in:
Edit the documentation.
7 lines of code changed in:
* struct.c (rb_struct_select): fix typo.
* io.c (io_write): check error if written data is less than
specified size to detect EPIPE.
12 lines of code changed in:
* configure.in: add check for initstate(3).
1 lines of code changed in:
* win32/Makefile.sub: use missing/acosh.c.
* win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH.
12 lines of code changed in:
2002-04-12
2 lines of code changed in:
/tmp/log
119 lines of code changed in:
should be HAVE_TANH
1 lines of code changed in:
* random.c (rand_init): add check for initstate(3).
* configure.in: ditto.
5 lines of code changed in:
* io.c (remain_size): IO#read returns "" if file.size == 0.
4 lines of code changed in:
2002-04-11
2 lines of code changed in:
* eval.c (assign): ruby_verbose should be surrounded by RTEST().
* object.c (rb_str2cstr): ditto.
* parse.y (void_expr): ditto.
* parse.y (void_stmts): ditto.
* variable.c (rb_ivar_get): ditto.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_get): ditto.
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link.
68 lines of code changed in:
raise() -> rb_raise(). (Thanks Tetsuya Watanabe)
19 lines of code changed in:
Add DL::Importable::Internal::Struct#alloc.
53 lines of code changed in:
Add dl.txt instead of README.
21 lines of code changed in:
remove README and README.html
12 lines of code changed in:
Support "unsigned short".
4 lines of code changed in:
Add "unsigned short".
4 lines of code changed in:
define alias "struct" and "union" in the module Importable.
7 lines of code changed in:
* lib/cgi/session.rb: support for multipart form.
5 lines of code changed in:
Add/Fix types.
3 lines of code changed in:
Implement the substitution for structure members.
6 lines of code changed in:
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link.
9 lines of code changed in:
* variable.c (rb_obj_remove_instance_variable): raise NameError if
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.
209 lines of code changed in:
* misc/ruby-mode.el (ruby-font-lock-keywords): fontify symbols for
unary operators and aset.
6 lines of code changed in:
* lib/mkmf.rb (try_link0): need expand macro in command, sync with
ext/extmk.rb.in.
* lib/mkmf.rb (try_cpp): ditto.
* lib/mkmf.rb (egrep_cpp): ditto.
12 lines of code changed in:
* ext/stringio/stringio.c (check_modifiable): performance
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.
29 lines of code changed in:
* re.c (match_select): fix index references and make
MatchData#select actually work.
6 lines of code changed in:
2002-04-08
2 lines of code changed in:
* 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.
11 lines of code changed in:
improve the prototype parser.
4 lines of code changed in:
"extern" and "[]" of the module Importable returns a symbol.
5 lines of code changed in:
Add dl/struct.rb.
346 lines of code changed in:
Get rid of ineffective encoding/decoding procedures.
52 lines of code changed in:
DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)
1 lines of code changed in:
bugfix (a few bugs seems to be remaining yet.)
1 lines of code changed in:
2002-04-04
2 lines of code changed in:
Patch [ruby-dev:16747] (Thanks Nakada)
16 lines of code changed in:
Add ext/dl/lib/dl/types.rb.
6 lines of code changed in:
Merge Nakada's patch and define StringValuePtr for ruby-1.6.
CV ----------------------------------------------------------------------
180 lines of code changed in:
* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
6 lines of code changed in:
Add entries to each Setup.* and remove Changes files.
8 lines of code changed in:
Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"
in the debug phase. (Thanks Nakada)
1 lines of code changed in:
Append a message for dl.
4 lines of code changed in:
Add ruby-dl.
7 lines of code changed in:
Add ruby-dl
1136 lines of code changed in:
2002-04-02
2 lines of code changed in:
* Makefile.in (CPPFLAGS): remove @includedir@.
* lib/mkmf.rb (create_makefile): ditto.
* ext/extmk.rb.in (create_makefile): ditto.
18 lines of code changed in:
* ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.
5 lines of code changed in:
mkmf.rb: files[0,1] == "." -> files[0,2] == "./"
1 lines of code changed in:
lib/mkmf.rb: install any files using $INSTALLFILES. (from [ruby-dev:16683])
92 lines of code changed in:
* io.c (rb_io_fptr_cleanup): need flush even when io will not be
closed.
* io.c (rb_io_initialize): was calling wrong function
rb_io_mode_flags().
23 lines of code changed in:
2002-04-01
2 lines of code changed in:
* ext/sdbm/init.c (each_pair): moved prototype before the
definition.
* ext/racc/cparse/cparse.c (call_scaniter): ditto.
10 lines of code changed in:
* re.c (match_setter): it's OK to assign nil to $~.
* io.c (rb_io_fptr_cleanup): do not close IO created by for_fd().
* io.c (rb_io_initialize): mark IO created by for_fd
* ext/socket/socket.c (bsock_s_for_fd): ditto.
41 lines of code changed in:
* ext/racc/cparse/cparse.c: prototype; call_scaniter().
* ext/sdbm/init.c: prototype; each_pair().
* ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(),
Nobu's patch at [ruby-dev:14483].
20 lines of code changed in: