February 2007 Commit Log

Number of Commits:
196
Number of Active Developers:
15
knu 2007-02-28 19:27

better error message

1 lines of code changed in:

knu 2007-02-28 19:24

* 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:

nobu 2007-02-28 18:05

* mkconfig.rb (patchlevel): read from version.h.

14 lines of code changed in:

eban 2007-02-28 13:47

* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.

1 lines of code changed in:

eban 2007-02-28 13:18

* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.

* missing/flock.c: workaround for MinGW.

9 lines of code changed in:

shyouhei 2007-02-28 12:55

* 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:

usa 2007-02-28 10:32

* 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:

usa 2007-02-28 10:26

* 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:

nobu 2007-02-28 02:33

* 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:

matz 2007-02-27 20:04

* 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:

usa 2007-02-27 17:30

* ChangeLog: add name of bug reporter.

1 lines of code changed in:

usa 2007-02-27 17:22

* 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:

shyouhei 2007-02-27 16:12

* mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']



* common.mk: new target dist



* distruby.rb: new file



64 lines of code changed in:

eban 2007-02-27 14:28

* 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:

eban 2007-02-27 14:27

* 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:

usa 2007-02-27 12:37

* common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h.

24 lines of code changed in:

knu 2007-02-27 11:35

* 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:

knu 2007-02-27 11:16

* lib/base64.rb (Base64::b64encode): Fix documentation; submitted

by David Symonds <dsymonds@gmail.com> in [ruby-core:10432].

6 lines of code changed in:

knu 2007-02-27 11:08

* 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:

matz 2007-02-27 10:19

* enum.c (enum_take): new method. [ruby-dev:30407]



* enum.c (enum_drop): ditto.

125 lines of code changed in:

ko1 2007-02-26 23:51

* 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:

eban 2007-02-26 17:29

* 2007-02-27

3 lines of code changed in:

aamine 2007-02-26 16:45

* test/ruby/test_optimization.rb: restore method before calling assert_equal.

34 lines of code changed in:

ko1 2007-02-25 17:29

* 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:

ko1 2007-02-25 16:58

* 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:

ko1 2007-02-25 03:48

* win32/Makefile.sub: enable -Zi (debug) option.



5 lines of code changed in:

ko1 2007-02-25 03:43

* 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:

ko1 2007-02-25 03:36

* thread.c (rb_thread_run): fix to ANSI style.



5 lines of code changed in:

aamine 2007-02-25 03:10

* bootstraptest/runner.rb: show source code in error message.

24 lines of code changed in:

ko1 2007-02-25 02:34

* 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:

aamine 2007-02-25 02:28

* bootstraptest/runner.rb: add lib/ to load path.

7 lines of code changed in:

nobu 2007-02-25 02:16

* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.

6 lines of code changed in:

aamine 2007-02-24 11:39

* common.mk: new target "btest", to run bootstraptests.

9 lines of code changed in:

nobu 2007-02-24 11:30

* 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:

aamine 2007-02-24 11:28

* bootstraptest/runner.rb: new option -v,--verbose.

11 lines of code changed in:

aamine 2007-02-24 10:56

* yarvtest/test_method.rb: removed (merged to bootstraptest).

* yarvtest/test_class.rb: ditto.

6 lines of code changed in:

nobu 2007-02-24 10:54

* thread.c (DEBUG_OUT): leave pointer size to runtime.

1 lines of code changed in:

aamine 2007-02-24 10:45

* bootstraptest/test_class.rb: new file.

* bootstraptest/test_method.rb: add tests.

250 lines of code changed in:

nobu 2007-02-24 10:44

* file.c (rb_thread_flock, rb_file_flock): use UBF feature.



26 lines of code changed in:

nobu 2007-02-24 10:43

* 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:

nobu 2007-02-24 10:41

* 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:

nobu 2007-02-24 10:39

* thread.c (rb_thread_debug): added runtime debugging flag.





37 lines of code changed in:

aamine 2007-02-24 09:45

* parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.

17 lines of code changed in:

aamine 2007-02-24 08:53

* bootstraptest/runner.rb: fix syntax error.

5 lines of code changed in:

aamine 2007-02-24 08:51

* bootstraptest/runner.rb: new option --help.

11 lines of code changed in:

aamine 2007-02-24 08:47

* 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:

usa 2007-02-24 08:31

* win32/win32.c (StartSocket): remove unnecessary code.

4 lines of code changed in:

matz 2007-02-24 08:05

* parse.y (struct local_vars): remove unused nofree member from

struct.



* parse.y (parser_free): ditto.

8 lines of code changed in:

shugo 2007-02-24 08:01

* 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:

aamine 2007-02-24 07:51

* parse.y (program): remove useless assignment to reduce warning.

4 lines of code changed in:

matz 2007-02-24 07:48

* parse.y (lambda): remove unused clause from the rule to stop

warning.

7 lines of code changed in:

shugo 2007-02-24 07:42

* lib/thread.rb: do not redefine Mutex#synchronize.

4 lines of code changed in:

shugo 2007-02-24 07:15

* lib/monitor.rb: rewritten using Mutex/ConditionVariable.

36 lines of code changed in:

ko1 2007-02-24 06:22

* 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:

ko1 2007-02-24 03:07

* 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:

ko1 2007-02-24 02:49

* test/testunit/test_testcase.rb: catch up with current instance

variable spec.



6 lines of code changed in:

ko1 2007-02-24 02:45

fix ChangeLog.

1 lines of code changed in:

ko1 2007-02-24 02:41

* common.mk: change vm_macro.def -> vm_macro.inc rule.



10 lines of code changed in:

aamine 2007-02-24 02:38

* 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:

suke 2007-02-23 23:39

* 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:

aamine 2007-02-23 10:38

* test/ruby/test_yield.rb: new test.

* yarvtest/test_yield.rb: removed (moved to test_yield.rb).

73 lines of code changed in:

usa 2007-02-23 10:33

* 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:

aamine 2007-02-23 10:13

* test/ruby/test_optimization.rb: new test (merges test_opts.rb).

* yarvtest/test_opts.rb: removed.

201 lines of code changed in:

aamine 2007-02-23 08:59

* 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:

usa 2007-02-23 07:59

* signal.c (sighandler): need to re-install sighandler on some

platforms.

9 lines of code changed in:

aamine 2007-02-23 07:41

* 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:

usa 2007-02-23 07:07

* win32/win32.c (set_pioinfo_extra): simplified.

22 lines of code changed in:

aamine 2007-02-23 06:23

* test/ruby/test_literal.rb: new test.

188 lines of code changed in:

knu 2007-02-23 04:44

fix credit

1 lines of code changed in:

knu 2007-02-23 04:42

* 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:

aamine 2007-02-23 04:25

* 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:

matz 2007-02-23 04:16

* parse.y: remove dyna_check_gen() prototype.

4 lines of code changed in:

matz 2007-02-23 03:49

* 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:

shugo 2007-02-23 02:56

* thread_pthread.ci (native_mutex_lock): do not call

pthread_mutex_trylock().

7 lines of code changed in:

aamine 2007-02-23 02:31

* dln.c: use dlopen on Mac OS X 10.3 or later.

18 lines of code changed in:

matz 2007-02-23 02:21

* 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:

knu 2007-02-21 14:30

* numeric.c (fix_equal): A bit more optimization.

6 lines of code changed in:

matz 2007-02-21 09:53

* 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:

nobu 2007-02-21 01:14

* eval_load.c (rb_require_safe): should restore safe level.

15 lines of code changed in:

suke 2007-02-20 13:25

* ext/win32ole/win32ole.c (installed_code_page_proc,

ole_variant2val): small refactoring.

11 lines of code changed in:

knu 2007-02-20 08:35

fix

2 lines of code changed in:

knu 2007-02-20 08:34

Update the distribution information.

17 lines of code changed in:

ko1 2007-02-20 07:16

* 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:

ko1 2007-02-20 07:11

* 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:

ko1 2007-02-20 07:07

* 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:

tadf 2007-02-19 17:30

just a minor change

1 lines of code changed in:

tadf 2007-02-19 17:16

just a minor change

4 lines of code changed in:

nobu 2007-02-19 14:15

* 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:

matz 2007-02-19 09:17

* 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:

nobu 2007-02-18 14:56

* ext/etc/etc.c (etc_getgrgid): missed to replace a macro.

5 lines of code changed in:

eban 2007-02-18 11:47

* 2007-02-18

3 lines of code changed in:

tadf 2007-02-18 11:34

updated based on date2 4.0.3.

14 lines of code changed in:

nobu 2007-02-18 05:11

* 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:

ko1 2007-02-16 13:36

* 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:

ko1 2007-02-16 13:00

* intern.h: add a prototype of rb_sym_to_s().



5 lines of code changed in:

matz 2007-02-16 12:12

* math.c (math_log): update document to mention second optional

argument for logarithm base.

8 lines of code changed in:

matz 2007-02-16 11:58

* parse.y (mrhs): need to append by arg_append().

[ruby-talk:239385]

9 lines of code changed in:

drbrain 2007-02-16 03:23

* 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:

usa 2007-02-15 12:50

* 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:

knu 2007-02-15 08:43

* 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:

ko1 2007-02-14 19:08

* vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to

ruby_vm_global_state_version.



9 lines of code changed in: