better error message
1 lines of code changed in:
* ext/digest/digest.c (get_digest_base_metadata): Allow inheriting
Digest::Base subclasses, which was unintentionally made
impossible while restructuring Digest classes.
14 lines of code changed in:
* mkconfig.rb (patchlevel): read from version.h.
14 lines of code changed in:
* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.
1 lines of code changed in:
* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.
* missing/flock.c: workaround for MinGW.
9 lines of code changed in:
* pack.c (pack_unpack): properly ignore non-base64 octets such as
UTF-8 encoded BOMs; submitted by SOUMA Yutaka <holon@radastery.jp>
to fix [ruby-core:10437]
21 lines of code changed in:
* ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.
they are already checked at configure.
reported by KOBAYASHI Yasuhiro [ruby-list:43225]
6 lines of code changed in:
* lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc)
should be the first elements of library paths list.
reported by KOBAYASHI Yasuhiro [ruby-list:43225]
12 lines of code changed in:
* Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): system
specific thread model.
* compile.h, regint.h, vm.h, array.c: removed unnecessary #include.
77 lines of code changed in:
* enum.c (take_i): small cosmetic / documentation patch from
Tadashi Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:30446]
7 lines of code changed in:
* ChangeLog: add name of bug reporter.
1 lines of code changed in:
* test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use
target_os instead. [ruby-list:43225]
9 lines of code changed in:
* mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']
* common.mk: new target dist
* distruby.rb: new file
64 lines of code changed in:
* configure.in (--enable-auto-image-base): avoid the neccessity to
rebase the shared libs as much as possible;
submitted by Corinna Vinschen <spam at vinschen.de> in
[ruby-talk:240964].
8 lines of code changed in:
* util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
* configure.in (ac_cv_func_setrlimit): workaround for djgpp.
10 lines of code changed in:
* common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h.
24 lines of code changed in:
* ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,
rb_nkf_guess2): Silence warnings regarding char * vs. unsigned
char * mismatch; submitted by Lyle Johnson
<lyle.johnson@gmail.com> in [ruby-core:10416].
12 lines of code changed in:
* lib/base64.rb (Base64::b64encode): Fix documentation; submitted
by David Symonds <dsymonds@gmail.com> in [ruby-core:10432].
6 lines of code changed in:
* ext/bigdecimal/bigdecimal.c (BigDecimal_load): Silence warnings
regarding char * vs. unsigned char * mismatch; submitted by Lyle
Johnson <lyle.johnson@gmail.com> in [ruby-core:10416].
* ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto.
* ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto.
* ext/digest/digest.c (rb_digest_base_finish,
rb_digest_base_update): Ditto.
19 lines of code changed in:
* enum.c (enum_take): new method. [ruby-dev:30407]
* enum.c (enum_drop): ditto.
125 lines of code changed in:
* yarvcore.h, vm.h: rename th_invoke_yield() to th_yield().
* blockinlining.c: ditto.
* eval.c: ditto.
* vm.c, insns.def: rename th_invoke_yield_cfunc()
to th_yield_with_cfunc().
* yarvcore.h, yarvcore.c: rename theYarvVM to ruby_current_vm and
yarvCurrentThread to ruby_current_thread. remove yarvVMArray.
40 lines of code changed in:
* 2007-02-27
3 lines of code changed in:
* test/ruby/test_optimization.rb: restore method before calling assert_equal.
34 lines of code changed in:
* yarvcore.h: add rb_thread_t#top_wrapper, top_self.
* eval_load.c (rb_load): support eval in wrapper module
(load(file, true)).
* eval.c: ditto.
* eval_jump.h: ditto.
* iseq.c: ditto.
* vm.c: ditto.
* yarvcore.c: ditto.
* insns.def: add a empty line.
70 lines of code changed in:
* common.mk: change "gdb" rule. You can debug miniruby with
$(srcdir)/test.rb on gdb by this rule (type "make gdb").
If you write break points to "breakpoints.gdb" on $srcdir,
gdb runs with this file.
16 lines of code changed in:
* win32/Makefile.sub: enable -Zi (debug) option.
5 lines of code changed in:
* ruby.h: define RUBY_VM macro and remove NATIVETHREAD* macros.
* intern.h: ditto.
* signal.c (posix_signal): remove unused function
posix_nativethread_signal().
11 lines of code changed in:
* thread.c (rb_thread_run): fix to ANSI style.
5 lines of code changed in:
* bootstraptest/runner.rb: show source code in error message.
24 lines of code changed in:
* yarvcore.h:
rename:
rb_iseq_t#file_name -> filename
rb_iseq_t#local_tbl -> local_table
add:
rb_iseq_t#local_table_size
* compile.c: separate local_table_size and local_size
(local variable size)
* blockinlining.c: apply above rename.
* compile.h: ditto.
* eval.c: ditto.
* iseq.c: ditto.
* proc.c: ditto.
* vm.c: ditto.
* vm_dump.c: ditto.
136 lines of code changed in:
* bootstraptest/runner.rb: add lib/ to load path.
7 lines of code changed in:
* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
6 lines of code changed in:
* common.mk: new target "btest", to run bootstraptests.
9 lines of code changed in:
* file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):
renamed from OpenFile.
* ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h,
ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c,
ext/readline/readline.c, ext/socket/socket.c: ditto.
176 lines of code changed in:
* bootstraptest/runner.rb: new option -v,--verbose.
11 lines of code changed in:
* yarvtest/test_method.rb: removed (merged to bootstraptest).
* yarvtest/test_class.rb: ditto.
6 lines of code changed in:
* thread.c (DEBUG_OUT): leave pointer size to runtime.
1 lines of code changed in:
* bootstraptest/test_class.rb: new file.
* bootstraptest/test_method.rb: add tests.
250 lines of code changed in:
* file.c (rb_thread_flock, rb_file_flock): use UBF feature.
26 lines of code changed in:
* process.c (rb_waitpid_blocking, rb_waitpid): use UBF feature.
* thread_win32.ci (rb_w32_wait_events_blocking): blocking version.
* win32/win32.c (waitpid): use rb_w32_wait_events_blocking().
52 lines of code changed in:
* intern.h (rb_thread_blocking_region): add prototype.
* thread.c (BLOCKING_REGION): restore previous UBF.
* thread.c (rb_thread_blocking_region): default UBF to interrupt
in system dependent way by RB_UBF_DFL.
+ ubf_select() on posix system
+ ubf_handle() on Win32
+ none on cygwin
40 lines of code changed in:
* thread.c (rb_thread_debug): added runtime debugging flag.
37 lines of code changed in:
* parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.
17 lines of code changed in:
* bootstraptest/runner.rb: fix syntax error.
5 lines of code changed in:
* bootstraptest/runner.rb: new option --help.
11 lines of code changed in:
* bootstraptest: new test suite.
* bootstraptest/runner.rb: new file.
* bootstraptest/test_literal.rb: new file.
* bootstraptest/test_method.rb: new file.
573 lines of code changed in:
* win32/win32.c (StartSocket): remove unnecessary code.
4 lines of code changed in:
* parse.y (struct local_vars): remove unused nofree member from
struct.
* parse.y (parser_free): ditto.
8 lines of code changed in:
* lib/thread.rb (ConditionVariable#broadcast): use Mutex
instead of Thread.exclusive.
* lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
before calling Mutex#unlock.
17 lines of code changed in:
* parse.y (program): remove useless assignment to reduce warning.
4 lines of code changed in:
* parse.y (lambda): remove unused clause from the rule to stop
warning.
7 lines of code changed in:
* lib/thread.rb: do not redefine Mutex#synchronize.
4 lines of code changed in:
* lib/monitor.rb: rewritten using Mutex/ConditionVariable.
36 lines of code changed in:
* lib/soap/mapping/factory.rb: catch up with spec changes (return
Symbols instead of Strings).
* lib/soap/mapping/mapping.rb: ditto.
9 lines of code changed in:
* parse.y, node.h, compile.c: change node tree structure. a purpose
of this change is to unify argument structure of method and block.
this change prohibits duplicate block parameter name.
new argument infromation:
NODE_ARGS [m: int, o: NODE_OPT_ARG, ->]
NODE_ARGS_AUX [r: ID, b: ID, ->]
NODE_ARGS_AUX [Pst: id, Plen: int, init: NODE*]
optarg information:
NODE_OPT_ARGS [idx, expr, ->]
* vm_macro.def: ditto.
* gc.c: ditto.
* iseq.c: ditto.
* compile.h: fix debug function name.
* test/ripper/test_scanner_events.rb: |_,_,foo| -> |_1,_2,foo|
* test/ruby/test_lambda.rb: disalbe test temporarily.
251 lines of code changed in:
* test/testunit/test_testcase.rb: catch up with current instance
variable spec.
6 lines of code changed in:
fix ChangeLog.
1 lines of code changed in:
* common.mk: change vm_macro.def -> vm_macro.inc rule.
10 lines of code changed in:
* ext/racc/cparse/cparse.c (cparse_params_mark): remove useless rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405]
5 lines of code changed in:
* ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array,
WIN32OLE_VARIANT#value=, refactoring.
* test/win32ole/test_win32ole_variant.rb: add some test for
WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=.
456 lines of code changed in:
* test/ruby/test_yield.rb: new test.
* yarvtest/test_yield.rb: removed (moved to test_yield.rb).
73 lines of code changed in:
* thread.c (rb_thread_polling): check interrupts here.
* thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and
now receive multiple event handles.
* win32/win32.c (wait_events, rb_w32_main_context): removed.
* thread_win32.ci (rb_w32_wait_events): new function.
* thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move
from win32/win32.c to thread_win32.ci, and use w32_wait_events().
61 lines of code changed in:
* test/ruby/test_optimization.rb: new test (merges test_opts.rb).
* yarvtest/test_opts.rb: removed.
201 lines of code changed in:
* test/ruby/test_assignment.rb: merge yarvtest/test_massign.
* yarvtest/test_massign.rb: removed (merged to test_assignment.rb).
94 lines of code changed in:
* signal.c (sighandler): need to re-install sighandler on some
platforms.
9 lines of code changed in:
* test/ruby/test_primitive.rb: new test.
* yarvtest/test_bin.rb: removed (altered by test/ruby/test_{literal,primitive}.rb).
397 lines of code changed in:
* win32/win32.c (set_pioinfo_extra): simplified.
22 lines of code changed in:
* test/ruby/test_literal.rb: new test.
188 lines of code changed in:
fix credit
1 lines of code changed in:
* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the
Content-Length parameter optional for responses in
xmlrpc/client.rb; suggested by Daniel Berger
<Daniel.Berger@qwest.com> and approved by the maintainer.
* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime
support to xmlrpc; approved by the maintainer.
12 lines of code changed in:
* parse.y (lambda): add ripper event. This fixes bus error on "make test-all".
* ext/ripper/extconf.rb: do not stop build.
18 lines of code changed in:
* parse.y: remove dyna_check_gen() prototype.
4 lines of code changed in:
* parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h,
object.c, string.c, variable.c, vm_macro.def: revert private
instance variable feature, which is postponed until next major
release.
* marshal.c: TYPE_SYMBOL2 removed; MARSHAL_MINOR reverted back to
8th version.
25 lines of code changed in:
* thread_pthread.ci (native_mutex_lock): do not call
pthread_mutex_trylock().
7 lines of code changed in:
* dln.c: use dlopen on Mac OS X 10.3 or later.
18 lines of code changed in:
* string.c (rb_str_ord): need not to check string length; ord
returns a codepoint for the first character in the string.
8 lines of code changed in:
* numeric.c (fix_equal): A bit more optimization.
6 lines of code changed in:
* numeric.c (fix_equal): remove FIX2LONG() to optimize. suggested
in http://t-a-w.blogspot.com/2007/02/making-ruby-faster.html.
[ruby-talk:240223]
* numeric.c (fix_cmp): ditto.
15 lines of code changed in:
* eval_load.c (rb_require_safe): should restore safe level.
15 lines of code changed in:
* ext/win32ole/win32ole.c (installed_code_page_proc,
ole_variant2val): small refactoring.
11 lines of code changed in:
fix
2 lines of code changed in:
Update the distribution information.
17 lines of code changed in:
* eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to
vm.c from eval.c. change th_call_super() to static function.
12 lines of code changed in:
* test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
another thread close IO object which current thread is blocking with.
7 lines of code changed in:
* thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if
errno is not 0 and EBADF.
13 lines of code changed in:
just a minor change
1 lines of code changed in:
just a minor change
4 lines of code changed in:
* configure.in (RUBY_REPLACE_TYPE): cache convertible type info.
* intern.h (rb_detach_process): use rb_pid_t instead of pid_t.
* ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT):
defaulted to conversion using long.
58 lines of code changed in:
* ext/socket/socket.c (unix_peeraddr): wrong syscall name in error
message for #peeraddr. a patch from Sam Roberts
<sroberts at uniserve.com>. [ruby-core:10366]
10 lines of code changed in:
* ext/etc/etc.c (etc_getgrgid): missed to replace a macro.
5 lines of code changed in:
* 2007-02-18
3 lines of code changed in:
updated based on date2 4.0.3.
14 lines of code changed in:
* configure.in (pid_t, uid_t, gid_t): check if defined.
* intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use
rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376]
* ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM,
NUM2GIDT): moved to configure.in.
234 lines of code changed in:
* object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id.
* test/testunit/test_testcase.rb: fix to use instance_variable_get()
to access @_result.
12 lines of code changed in:
* intern.h: add a prototype of rb_sym_to_s().
5 lines of code changed in:
* math.c (math_log): update document to mention second optional
argument for logarithm base.
8 lines of code changed in:
* parse.y (mrhs): need to append by arg_append().
[ruby-talk:239385]
9 lines of code changed in:
* lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
<hgs at dmu.ac.uk> from [ruby-core:10135]
* lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite.
15 lines of code changed in:
* win32/win32.c (get_pioinfo_extra): new function for VC++8 SP1
workaround. [ruby-core:10259]
* win32/win32.c (NtInitialize): call above function.
59 lines of code changed in:
* lib/uri/generic.rb (URI::Generic::userinfo): Considering how
`scheme://user:@...', `scheme://:password@...' and
`scheme://:@...' are parsed, an empty user name or password
should be allowed and represented as it is.
13 lines of code changed in:
* vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to
ruby_vm_global_state_version.
9 lines of code changed in: