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:

ko1 2007-02-14 17:53

* test/fileutils/test_fileutils.rb (check_singleton): fix to use

symbole instead of string.

* test/io/nonblock/test_flush.rb: enable tests.

* test/xmlrpc/test_webrick_server.rb: ditto.



10 lines of code changed in:

ko1 2007-02-14 17:50

* lib/delegate.rb: catch up with class local variable (@_v) spec.

* lib/singleton.rb: ditto.



29 lines of code changed in:

suke 2007-02-14 14:57

* ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not

support VT_I8, VT_UI8.



9 lines of code changed in:

ko1 2007-02-14 14:13

* configure.in: change stack limit to 2MB from 32MB.

* win32/Makefile.sub: ditto.



8 lines of code changed in:

knu 2007-02-14 13:45

* ext/digest/lib/digest.rb (Digest::self.const_missing): Drop

autoloads for sha2 classes in favor of handling in

const_missing(), to work around a problem exposed on OS X.

16 lines of code changed in:

ko1 2007-02-14 13:24

* thread_pthread.ci (native_thread_create): adjust 4KB (page size)

alignment. (missed at last commit)



4 lines of code changed in:

ko1 2007-02-14 13:15

* thread_pthread.ci (native_thread_create): adjust 4KB (page size)

alignment.

* thread_pthread.ci (CHECK_ERR): call rb_bug()

instead of printf() and exit().



11 lines of code changed in:

matz 2007-02-14 09:10

* lib/date/format.rb (Date::Format::Bag::method_missing): need not

to use instance variables corresponding each method; use Hash

instead.

15 lines of code changed in:

matz 2007-02-14 05:57

* re.c (reg_operand): allow symbols to be operands for regular

expression matches.



* string.c (Init_String): allow Symbol#===.



* lib/date/format.rb (Date::Format::Bag::to_hash): string

added prefixes.

42 lines of code changed in:

ko1 2007-02-14 05:02

* thread.c (do_select): fix to iterate select().

on cygwin/mswin32, iterate in unblocking region.

* thread.c (rb_thread_select): don't iterate on this function.

(iterate in do_select).



85 lines of code changed in:

ko1 2007-02-14 03:42

* thread.c (set_unblock_function): fix function interface.



9 lines of code changed in:

ko1 2007-02-14 03:19

* eval_load.c, yarvcore.h: use rb_vm_t#loaded_features instead of

rb_features (global variable).

* yarvcore.c: mark rb_vm_t#loaded_features.



26 lines of code changed in:

matz 2007-02-14 01:08

* compile.c (defined_expr): no longer distinguish ordinary local

variables and in-block local variables in defined? value.

6 lines of code changed in:

matz 2007-02-14 00:44

* parse.y (struct local_vars): no need to warn out-of-scope

variables; remove dnames member from struct.

5 lines of code changed in:

matz 2007-02-14 00:41

* parse.y: RVarmap no longer used as yytype; removed.



* parse.y (dyna_push_gen): no longer need return value.



* parse.y (dyna_pop_gen): no longer need argument.



* parse.y (local_push_gen): initialize nofree.

30 lines of code changed in:

matz 2007-02-13 19:21

* lib/uri/generic.rb (URI::Generic::userinfo): should support

empty password. [ruby-core:10290]



* lib/uri/generic.rb (URI::Generic::set_password): password can be

cleared by nil. [ruby-core:10290]

12 lines of code changed in:

matz 2007-02-13 17:15

* lib/date/format.rb (Date::Format::Bag::method_missing): add

prefix to avoid making t class-local instance variable.

6 lines of code changed in:

matz 2007-02-13 16:31

* ext/socket/socket.c (init_unixsock): path may contain NUL for

abstract unix sockets. [ruby-core:10288]

10 lines of code changed in:

eban 2007-02-13 07:20

* 2007-02-13

3 lines of code changed in:

knu 2007-02-13 07:06

* io.c (rb_f_syscall): Fix buffer overflow with syscall

arguments. [ruby-bugs:PR#8541]

7 lines of code changed in:

shyouhei 2007-02-13 00:01

set svn:eol-style

13317 lines of code changed in:

suke 2007-02-12 06:00

* ext/win32ole/win32ole.c (ole_variant2val): support VT_I8, VT_UI8.

33 lines of code changed in:

kou 2007-02-12 03:52

* lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightses

-> dc_rights_list. dc_rightses still exists for backward

compatibility. [ruby-core:8350]

* test/rss/test_maker_dc.rb: added tests for dc_rights_list.

26 lines of code changed in:

suke 2007-02-11 14:45

* ext/win32ole/win32ole.c (ole_ptrtype2val): ole_type, ole_type_detail

should not return "VARIANT,VARIANT".

9 lines of code changed in:

kou 2007-02-11 14:12

* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#initialize):

kept backward compatibility.

10 lines of code changed in:

kou 2007-02-11 14:11

* lib/rss/parser.rb (RSS::ListenerMixin::start_else_element): used

const_defined? instead of constants.include?.

6 lines of code changed in:

suke 2007-02-11 10:53

* ext/win32ole/win32ole.c (ole_val2olevariantdata):

WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY.



* test/win32ole/test_win32ole_variant.rb: ditto.



* ext/win32ole/win32ole.c: small refactoring.

106 lines of code changed in:

knu 2007-02-10 23:46

20070211

3 lines of code changed in:

knu 2007-02-10 23:46

* lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse

a quoted-string in a Content-Disposition value.

7 lines of code changed in:

suke 2007-02-10 12:29

* ext/win32ole/win32ole.c: add WIN32OLE#ole_query_interface.

thanks to Mikael Pahmp.



* test/win32ole/test_win32ole.rb: ditto.

63 lines of code changed in:

nobu 2007-02-10 09:47

* common.mk: targets which depend on yarvcore.h now depend on

rubysig.h too.



* yarvcore.h (rb_vm_t): use rb_atomic_t instead of int.

15 lines of code changed in:

eban 2007-02-09 16:49

* 2007-02-10

3 lines of code changed in:

nagai 2007-02-09 16:30

* ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd,

__conv_keyonly_opts).

7 lines of code changed in:

ko1 2007-02-09 04:42

* thread_win32.ci (w32_show_error_message): renamed to w32_error.

this function do rb_bug().



* thread_win32.ci (w32_set_event, w32_reset_event, w32_close_handle,

w32_resume_thread): added. fix to use these functions instead calling

win32api directly.



* thread_win32.ci (w32_create_thread): create suspend thread

(caller must call w32_resume_thread()).



75 lines of code changed in:

ko1 2007-02-09 03:07

* test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.

5 lines of code changed in:

ko1 2007-02-08 21:24

* thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1):

move cleanup function to thread_start_func_2().

* thread.c, thread_pthread.ci, thread_win32.ci:

add more destruct functions.

(native_thread_destroy() and native_mutex_destroy())

* thread_pthread.ci, thread_pthread.h: make native_mutex_* functions

(check error, etc), it's not macro any more.

* thread_win32.ci (thread_start_func_1): store some values before

running thread (to release these after running thread).

* thread_win32.ci (native_thread_create): fix spaces.



124 lines of code changed in:

suke 2007-02-08 14:48

* ext/win32ole/win32ole.c (ole_set_safe_array, ole_variant2val,

ole_val_ary2variant_ary): fix WIN32OLE_VARIANT.new bug when

1st argument is empty array, and when 2nd argument is

VT_ARRAY|VT_BYREF.



* test/win32ole/test_win32ole_variant.rb: ditto.



100 lines of code changed in:

ko1 2007-02-08 14:38

* yarvtest/yarvtest.rb: check target command names.

8 lines of code changed in:

ko1 2007-02-08 14:32

* test/ruby/test_clone.rb: fix to current spec

(Module should not be occur many times in ancestors).



6 lines of code changed in:

ko1 2007-02-08 14:28

* test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo)

should be false.

* ChangeLog: fix last messages.



19 lines of code changed in:

ko1 2007-02-08 14:24

* test/ruby/test_module.rb: fix to use Symbol instead of String

28 lines of code changed in:

ko1 2007-02-08 14:03

* test/ruby/marshaltestlib.rb: eval(sym) -> eval(sym.to_s)

6 lines of code changed in:

suke 2007-02-08 14:00

* test/win32ole/test_propertyputref.rb (setup): fix typo.



* test/win32ole/test_win32ole_event.rb: should not use

InternetExplorer.gohome to test.

31 lines of code changed in:

ko1 2007-02-08 13:06

* thread.c (GVL_UNLOCK_RANGE): rename to BLOCKING_REGION().

* thread.c (rb_thread_run_parallel): rename to

rb_thread_blocking_region().



16 lines of code changed in:

ko1 2007-02-08 12:51

* yarvcore.h, thread.c: fix to use pthread on cygwin.

* yarvcore.h, thread.c: move GVL_UNLOCK_BEGIN() and GVL_UNLOCK_END()

from yarvcore.h to thread.c.

* thread.c: change GVL_UNLOCK_RANGE() arguments

(adding ubf as 2nd argument).

* thread.c: fix to use polling in select on cygwin and mswin32.

* thread.c, thread_pthread.ci, thread_win32.ci, yarvcore.h:

rename:

* rb_thread_t#interrupt_function -> unblock_function

* rb_interrupt_function_t -> rb_unblock_function

* some interrupt function name -> ubf_*

* yarv_* -> *



181 lines of code changed in:

ko1 2007-02-08 09:18

* common.mk: fix to use RUNRUBY instead of BASERUBY if possible.

* common.mk ($(INSNS) rule): remove $(PROGRAM) first.



15 lines of code changed in:

matz 2007-02-08 08:19

* lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single

unescaped ampersand. a patch from Tietew

<tietew+ruby-dev at tietew.net> in [ruby-dev:30292].

fixed: [ruby-dev:30289]

12 lines of code changed in:

ko1 2007-02-08 07:48

* process.c: fix to use rb_status_line_set/get/clear().

* eval_intern.h: fix line break.



26 lines of code changed in:

ko1 2007-02-08 07:37

* blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,

eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,

thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,

vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:

fix typo (rb_thead_t -> rb_thread_t).



* eval_intern.h: remove unused definitions.



* common.mk: fix around vm_opts.h path

and remove harmful argument passed to insns2vm.rb.



243 lines of code changed in:

nobu 2007-02-07 15:25

* eval.c (specific_eval): suppress warning.

4 lines of code changed in:

nobu 2007-02-07 15:25

* thread_win32.h: undefine _WIN32 on cygwin. [ruby-dev:30303]

11 lines of code changed in:

ko1 2007-02-07 14:44

* eval_intern.h: remove UNSUPPORTED() macro.

* thread.c: fix to define Continuation methods

(they only do rb_notimplement()).



16 lines of code changed in:

ko1 2007-02-07 14:38

* eval_intern.h, yarvcore.h: remove unused macro definition.



4 lines of code changed in:

ko1 2007-02-07 14:34

* eval.c: fixed to use ANSI function style.



18 lines of code changed in:

ko1 2007-02-07 02:25

* this commit is a result of refactoring. only renaming functions,

moving definitions place, add/remove prototypes, deleting

unused variables and removing yarv.h.

This commit doesn't change any behavior of ruby/vm.

* yarv.h, common.mk: remove yarv.h (contents are moved to yarvcore.h).

* error.c, eval_intern.h: include yarvcore.h instead yarv.h

* rename some functions:

* debug.[ch]: debug_*() -> ruby_debug_*()

* iseq.c: iseq_*() -> rb_iseq_*(), ruby_iseq_disasm()

* iseq.c: node_name() -> ruby_node_name()

* vm.c: yarv_check_redefinition_opt_method() ->

rb_vm_check_redefinition_opt_method()

* some refactoring with checking -Wall.

* array.c: remove rb_ary_ptr() (unused) and remove unused

local variables.

* object.c: add a prototype of rb_mod_module_exec().

* eval_intern.h (ruby_cref): set it inline.

* eval_load.c (rb_load), yarvcore.c: yarv_load() -> rb_load_internal().

* parse.y: add a prototype of rb_parse_in_eval() (in eval.c).

* process.c: add a prototype of rb_thread_stop_timer_thread() (in thread.c).

* thread.c: remove raw_gets() function (unused) and fix some format

mismatch (format mismatchs have remained yet. this is todo).

* thread.c (rb_thread_wait_fd_rw): fix typo on label name.

* thread_pthread.ci: comment out codes with USE_THREAD_CACHE.

* vm.c (rb_svar, rb_backref_get, rb_backref_get,

rb_lastline_get, rb_lastline_set) : moved from yarvcore.c.

* vm.c (yarv_init_redefined_flag): add a prototype and rename

yarv_opt_method_table to vm_opt_method_table.

* vm.c (rb_thread_eval): moved from yarvcore.c.

* yarvcore.c: remove unused global variables and fix to use nsdr().



294 lines of code changed in:

ko1 2007-02-06 20:00

* blockinlining.c, compile.c, compile.h, error.c, eval.c,

eval_intern.h, eval_jump.h, eval_load.c, eval_method.h,

eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c,

process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci,

vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def,

yarv.h, yarvcore.h, yarvcore.c: change type and macro names:

* yarv_*_t -> rb_*_t

* yarv_*_struct -> rb_*_struct

* yarv_tag -> rb_vm_tag

* YARV_* -> RUBY_VM_*

* proc.c, vm.c: move functions about env object creation

from proc.c to vm.c.

* proc.c, yarvcore.c: fix rb_cVM initialization place.

* inits.c: change Init_ISeq() order (after Init_VM).

* ruby.h, proc.c: change declaration place of rb_cEnv

from proc.c to ruby.c.



820 lines of code changed in:

usa 2007-02-06 16:13

* 2007-02-07

3 lines of code changed in:

naruse 2007-02-06 16:08

* ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}:

imported nkf 2007-01-28.

* Fixed: can't decode MIME encode JIS string.

* Fixed: Fullwitdh-halfwidth conversion.

* Support DoCoMo's and Softbank's EMOJI

* Support CP932, CP5022x, eucJP-ms UDC

* Support UTF-32 encoding

* Support beyond BMP

[ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144]

236 lines of code changed in:

kou 2007-02-06 12:38

* lib/rss/rss.rb, lib/rss/parser.rb: followed current Ruby

specification. [ruby-dev:30274]

8 lines of code changed in:

kou 2007-02-06 12:33

* lib/rss/rss.rb, lib/rss/parser.rb: removed needless code for

backward compatibility.

6 lines of code changed in:

shugo 2007-02-06 10:45

* lib/net/ftp.rb: moved fixes for EPIPE to the correct

place. [ruby-core:10204]

19 lines of code changed in:

ko1 2007-02-06 08:41

* vm_opts.h: set properties:

svn:keywords: Author Date Id Revision

svn:eol-style: native



53 lines of code changed in:

matz 2007-02-06 08:02

* variable.c (ivar_i): need to support class local instance

variables.

6 lines of code changed in:

ko1 2007-02-06 07:50

* compile.c (iseq_compile_each): fix setting is_local flag.

* yarvtest/test_class.rb: add a test for class local isntance variable.



28 lines of code changed in:

ko1 2007-02-06 06:22

* compile.c, insns.def: remove (get|set)instancevariable2 and add a

operand is_local to (get|set)instancevariable.

* yarvtest/test_class.rb: add a test for class local instance variable.

* parse.y (rb_decompose_ivar2): remove unused variable oid.

* tool/insns2vm.rb: remove needless require.



51 lines of code changed in:

shugo 2007-02-06 03:19

* lib/net/ftp.rb: check the control connection on EPIPE.

Thanks, Simon Williams. [ruby-core:9547]

19 lines of code changed in:

ko1 2007-02-06 03:06

* complement last commit.

* common.mk (*.inc): use VPATH.

* vm_opts.h: renamed from vm_opts.h.base.



76 lines of code changed in:

nobu 2007-02-06 02:03

* common.mk (*.inc): use VPATH.



* vm_opts.h: renamed from vm_opts.h.base.



* tool/insns2vm.rb: use vm_opts.h in VPATH.

204 lines of code changed in:

ko1 2007-02-05 19:50

* proc.c: support Binding#eval.

* yarvtest/test_eval.rb: add a test for above change.



234 lines of code changed in:

ko1 2007-02-05 19:31

* proc.c: refactoring (remove K&R style, move Binding stuffs from

Init_Proc() to Init_Binding()).



29 lines of code changed in:

ko1 2007-02-05 17:22

* intern.h: prepare rb_last_status_get() and rb_last_status_set().

Use these functions instead of rb_last_status ([ruby-dev:30264]).

* process.c: define above functions.

* ext/pty/pty.c: use above functins.

* io.c (pipe_finalize): ditto.

* process.c: ditto.



34 lines of code changed in:

ko1 2007-02-05 13:28

* ruby.h: add a prototype of rb_id2str().



5 lines of code changed in:

ko1 2007-02-05 13:21

* eval_thread.c, common.mk: remove eval_thread.c.

* yarvcore.c: rename cYarvThread to rb_cThread.

* gc.c: remove YARV_* prefix.

* gc.h: add an include guard and prototype of rb_gc_set_stack_end().

* inits.c: fix to ANSI prototype style and reorder Init_*().

* io.c (pipe_finalize): TODO: comment out last_status.

* process.c, yarvcore.h: fix to use yarv_vm_t#last_status instead of

rb_last_status and make last_status_get() to access $?.

* yarvcore.c (vm_mark): mark yarv_vm_t#last_status.

* ruby.h: add declarations of rb_cISeq and rb_cVM.

* thread.c: move eval_thread.c codes to thread.c and remove yarv_*

function prefix.

* thread.c (thread_start_func_2): use yarv_thread_t#first_func if

it is not null.

* vm.c: fix copyright year.

* yarvcore.c (Init_vm): rename to Init_VM().



574 lines of code changed in:

matz 2007-02-04 20:17

* parse.y (rb_compose_ivar2): function to create a new ivar2

symbol from a symbol and a class. back-ported from matzruby.



* parse.y (rb_decompose_ivar2): reverse function of

rb_compose_ivar2().



* marshal.c (w_symbol): support class local instance variables.



* marshal.c (r_object0): ditto.



* compile.c (defined_expr): ditto.



* compile.c (iseq_compile_each): ditto.



* insns.def: add two new instructions: getinstancevariable2 and

setinstancevariable2.

281 lines of code changed in:

matz 2007-02-04 20:15

* insns.def (setclassvariable): remove unnecessary operand.



* compile.c (iseq_compile_each): ditto.



* common.mk (insns_info.inc): add dependency for insns_info.inc.

16 lines of code changed in:

matz 2007-02-04 20:12

* eval.c (rb_frame_callee): check if prev_cfp can be accessible.

a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in

[ruby-dev:30252]. solves [ruby-dev:30200] and [ruby-core:9856].

16 lines of code changed in:

kou 2007-02-04 12:36

* test/rss/rss-assertions.rb: removed needless code for backward compatibility.

5 lines of code changed in:

eban 2007-02-03 19:01

* 2007-02-04

3 lines of code changed in:

knu 2007-02-03 18:24

* lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debug

print.

5 lines of code changed in:

suke 2007-02-03 06:41

* ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):

fix the bug of WIN32OLE_VARIANT.new when variant type is

VT_ARRAY.



* ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT.



* test/win32ole/test_win32ole.rb: add some test.



* test/win32ole/test_win32ole_variant.rb: ditto.

234 lines of code changed in:

nobu 2007-02-02 19:35

* common.mk (runruby, benchmark, benchmark-each, tbench): use

PROGRAM for the file to be built.

12 lines of code changed in:

nobu 2007-02-02 19:23

* Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.

32 lines of code changed in:

nobu 2007-02-02 18:36

* lib/mkmf.rb (create_makefile): make object files depend on

extconf.h even if depend file exists.

6 lines of code changed in:

nobu 2007-02-02 17:26

* call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,

eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c,

insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y,

range.c, regenc.h, ruby.h, signal.c, thread.c, thread_win32.ci,

vm.c, vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:

fixed indents and non-C90 comments.

186 lines of code changed in:

nobu 2007-02-02 16:50

* proc.c (yarv_proc_alloc): needs return.

5 lines of code changed in:

eban 2007-02-02 16:24

* 2007-02-03

3 lines of code changed in:

nobu 2007-02-02 16:21

* *.def, proc.c, vm_opts.h.base, template/*: set properties.

2850 lines of code changed in:

matz 2007-02-02 15:41

* common.mk (bin): add more dependency. a patch from Tadashi

Saito <shiba at mail2.accsnet.ne.jp>. [ruby-dev:30245]

29 lines of code changed in:

matz 2007-02-02 14:19

* ruby.h (SYMBOL_P): make Symbol immediate again for performance.



* string.c: redesign symbol methods.



* parse.y (rb_id2str): store Strings for operator symbols.

[ruby-dev:30235]

153 lines of code changed in:

matz 2007-02-02 11:24

* parse.y (assignable_gen): no need to generate NODE_CVDECL.



* compile.c (iseq_compile_each): no NODE_CVDECL.

9 lines of code changed in:

matz 2007-02-02 10:47

* vm.c (eval_get_cvar_base): destination for class variable access

is now strictly innermost surrounding class or module. warned

if accessed from toplevel.



* variable.c (rb_cvar_get): new class variable look-up scheme:

1) look up in the class. 2) if the class is singleton attached

to a class (i.e. metaclass) then start look up in the attached

class and its ancestors. 3) otherwise, look-up in ancestors of

the class.



* eval.c (cvar_cbase): destination for class variable access is

the class/module that holds the method, or cbase outside of

methods.

52 lines of code changed in:

matz 2007-02-02 10:45

* insns.def (setclassvariable): remove warn argument.

5 lines of code changed in:

matz 2007-02-02 10:41

* variable.c (rb_cvar_set): remove warn argument.

9 lines of code changed in:

matz 2007-02-02 10:39

* common.mk (compile.$(OBJEXT)): add config.h to vm.c and

compile.c.

7 lines of code changed in:

matz 2007-02-02 10:32

* eval.c: remove duplicated global variables rb_cProc and

rb_cBinding. [ruby-dev:30242]

9 lines of code changed in:

January 2007 »

Generated by StatSVN 0.3.2-SNAPSHOT