* lib/open-uri.rb (OpenURI::OpenURI.open_uri): revert last change to conform RFC3986. [ruby-dev:30230]
0 lines of code changed in:
* test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator):
add new test. [ruby-core:10125]
17 lines of code changed in:
* lib/open-uri.rb (OpenURI::OpenURI.open_uri): use user and
password from URI unless http_basic_authentication is specified
explicitly. [ruby-core:10114]
9 lines of code changed in:
* 2007-01-31
3 lines of code changed in:
* ext/tk/sample/images/teapot.ppm: fix the broken file. [ruby-dev:30226]
25 lines of code changed in:
* string.c (rb_str_sub_bang): calling rb_str_modify() should be just
before actually modifying the string.
fixed: [ruby-dev:30211] (originally reported by zunda)
7 lines of code changed in:
* numeric.c (int_pred): add Integer#pred corresponding
Integer#succ. [RCR#5]
26 lines of code changed in:
* mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]
32 lines of code changed in:
* ext/tk/sample/tktextio.rb: 'hist_size' option causes error.
1 lines of code changed in:
* 2007-01-30
3 lines of code changed in:
* tool/compile.rb: replace YARVCore by VM class.
7 lines of code changed in:
* ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,
WIN32OLE_VARIANT#vartype.
* test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=,
WIN32OLE.locale.
* test/win32ole/test_win32ole_variant.rb: add test for
WIN32OLE_VARIANT#vartype.
178 lines of code changed in:
* tool/parse.rb: replace YARVCore by VM class.
http://d.hatena.ne.jp/ysano2005/20070128
9 lines of code changed in:
* 2007-01-28
3 lines of code changed in:
* ext/win32ole/win32ole.c: refactoring.
303 lines of code changed in:
* ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix.
WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY
when variant type is VT_ARRAY.
* test/win32ole/test_win32ole_variant.rb: add some test.
102 lines of code changed in:
* 2007-01-27
3 lines of code changed in:
bug fix of WIN32OLE_VARIANT when variant type is VT_BYREF|VT_VARIANT.
85 lines of code changed in:
* ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,__conv_keyonly_optkeys):
make them private [ruby-dev:30074].
* ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073].
* ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument.
* ext/tk/lib/tk/canvas.rb: clarify the including module name [ruby-dev:30080].
* ext/tk/lib/tk/scrollable.rb: change primary name of modules [ruby-dev:30080].
* ext/tk/lib/tkextlib/iwidgets/checkbox.rb: wrong number of arguments
[ruby-Bugs-7776].
* ext/tk/lib/tkextlib/iwidgets/radiobox.rb: ditto.
* ext/tk/lib/tkextlib/blt/tile/checkbutton.rb: change primary name of
class [ruby-dev:30080].
* ext/tk/lib/tkextlib/blt/tile/radiobutton.rb: ditto.
* ext/tk/ChangeLog.tkextlib: update.
* ext/tk/lib/tkextlib/version.rb: update.
47 lines of code changed in:
* enumerator.c (enumerator_init_copy): need to copy internal
structure on clone and dup. [ruby-dev:30192]
24 lines of code changed in:
* test/ruby/test_iterator.rb: removed a needless workaround.
approved by ko1.
4 lines of code changed in:
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix
regexp font-lock bug. [ruby-talk:235758]
6 lines of code changed in:
* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
of ===. [ruby-dev:30176]
6 lines of code changed in:
* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
setup.mak}: add --with-baseruby configure option.
68 lines of code changed in:
* ext/socket/socket.c: fix errors in socket sample code.
[ruby-core:09992]
10 lines of code changed in:
* eval_proc.c (method_receiver): add new method to get the bound
receiver of the method object. [ruby-talk:234949]
* eval_proc.c (method_name): new method to get the name of a
method.
* eval_proc.c (method_owner): a new method to get the class or
module that defines the method.
64 lines of code changed in:
WIN32OLE.codepage= accepts installed codepage.
67 lines of code changed in:
Merged from REXML main repository:
Fixes ticket:68.
NOTE that this involves an API change! Entity declarations in the doctype
now generate events that carry two, not one, arguments.
Implements ticket:15, using gwrite's suggestion. This allows Element to be
subclassed.
Two unrelated changes, because subversion is retarded and doesn't do
block-level commits:
1) Fixed a typo bug in previous change for ticket:15
2) Fixed namespaces handling in XPath and element.
***** Note that this is an API change!!! *****
Element.namespaces() now returns a hash of namespace mappings which are
relevant for that node.
Fixes a bug in multiple decodings
The changeset 1230:1231 was bad. The default behavior is *not* to use the
native REXML encodings by default, but rather to use ICONV by default. I know
that this will piss some people off, but defaulting to the pure Ruby version
isn't the correct solution, and it breaks other encodings, so I've reverted it.
* Fixes ticket:61 (xpath_parser)
* Fixes ticket:63 (UTF-16; UNILE decoding was bad)
* Cleans up some tests, removing opportunities for test corruption
* Improves parsing error messages a little
* Adds the ability to override the encoding detection in Source construction
* Fixes an edge case in Functions::string, where document nodes weren't
correctly converted
* Fixes Functions::string() for Element and Document nodes
* Fixes some problems in entity handling
Addresses ticket:66
Fixes ticket:71
Addresses ticket:78
NOTE: that this also fixes what is technically another bug in REXML. REXML's
XPath parser used to allow exponential notation in numbers. The XPath spec
is specific about what a number is, and scientific notation is not included.
Therefore, this has been fixed.
Cross-ported a fix for ticket:88 from CVS.
Fixes ticket:80
Documentation cleanup. Ticket:84
Applied Kou's fix for an un-trac'ed bug.
------------------------------------------------------------------------
142 lines of code changed in:
version 0.8.6.
1 lines of code changed in:
modify WIN32OLERuntimeError message.
34 lines of code changed in:
move all test from ext/win32ole/tests test/win32ole
153 lines of code changed in:
move some test from ext/win32ole/tests to test/win32ole
204 lines of code changed in:
add WIN32OLE_VARIANT::Empty, WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.
99 lines of code changed in:
IN32OLE_VARIANT.new accepts nil as first argument for some VARIANT TYPE. fix memory leak.
45 lines of code changed in:
* some refactoring around yarvcore and proc.
* eval_proc.c: renamed to proc.c.
* common.mk: ditto.
* yarvcore.h, yarvcore.c: rename or remove some global variables
removed: mYarvCore, mYarvInsns
renamed: cYarvISeq -> rb_cISeq,
cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding
::YarvCore module is removed and ::YarvCore::VM class becomes ::VM.
And change/remove some functions which added with YARV.
* compile.c: ditto.
* eval.c: ditto.
* iseq.c: ditto.
* vm.c: ditto.
* inits.c: rename Init_yarvcore to Init_vm.
* yarvcore.c, proc.c: move some functions and initialization
from yarvcore.c to proc.c.
* intern.h, proc.c: add global function rb_binding_new(void).
1649 lines of code changed in:
* vm.c (eval_search_super_klass): rename to search_super_klass() and
use it by th_call_super().
* insns.def: ditto.
2461 lines of code changed in:
* common.mk: fix ruby script path.
5 lines of code changed in:
* vm.c (invoke_block): fix to specify self.
8 lines of code changed in:
* env.h: removed
4 lines of code changed in:
* eval_proc.c (rb_proc_new): added.
* string.c (sym_to_proc): supported.
* vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support
rb_proc_new.
* yarvcore.c: add a test code.
72 lines of code changed in:
fix memory leak of win32ole.
22 lines of code changed in:
* djgpp/config.status: wrongly revised file.
0 lines of code changed in:
* array.c (rb_ary_replace): use ptr and len of orig instead of
shared. fixed: [ruby-dev:30116]
15 lines of code changed in:
r11523@ruby: shyouhei | 2007-01-09 15:57:58 +0900
* ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly
convert uid/gid from VALUE.
* ext/etc/etc.c (etc_getpwuid): ditto.
19 lines of code changed in:
* file.c (rb_find_file): should not call fpath_check() with NULL.
fixed: [ruby-core:09867]
8 lines of code changed in:
* 2007-01-09
3 lines of code changed in:
* string.c (rb_str_upto): use RSTRING_LEN().
3 lines of code changed in:
* string.c (rb_str_upto): String#upto from empty string makes
inifinite loop. [ruby-core:09864]
6 lines of code changed in:
ext/win32ole/doc removed
0 lines of code changed in:
* thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),
rb_thread_start_timer_thread()): added.
* thread_pthread.ci: add a native_thread_join() and move
rb_thread_reset_timer_thread() definition to thread.c.
* thread_win32.ci: ditto
* process.c: fix before_exec(), after_exec() to stop timer thread
(and restart timer thread if exec failed). and fix to reset
timer thread information when forked child process starts
(to fix [ruby-core:09822]).
61 lines of code changed in:
* common.mk: add a "compare" rule and fix MATZRUBY variable
12 lines of code changed in:
add some test. update comment for rdoc.
45 lines of code changed in:
Merge RDoc updates from matzruby 11502, 11503, 11504
165 lines of code changed in:
updated based on date2 4.0.1.
8 lines of code changed in:
* io.c (rb_io_getline_fast, rb_io_getline): increase lineno
when met the delimiter or EOF. fixed: [ruby-dev:30081]
* io.c (prepare_getline_args, rb_io_getline_1): split
preparation of arguments and reading. [ruby-dev:30085]
182 lines of code changed in:
* insns.def (send) : fix to optimize send() with Symbol.
* yarvtest/test_method.rb : add another test.
16 lines of code changed in:
* common.mk : add PHONY dependency to some rules
13 lines of code changed in:
* io.c (argf_read): fix wrong replacement. [ruby-dev:30070]
5 lines of code changed in:
* insns.def : support direct method dispatch with "send" or "funcall".
This means that "obj.send :m" skips "BasicObject#send" invocation
(method frame creation, etc) and "obj.m" invokes directly.
If you make backtrace, there are no enties of "send" method.
* compile.c (iseq_specialized_instruction) : fix to support above
* eval.c : ditto (remove "static" from rb_f_send and rb_f_funcall
* yarvcore.c : ditto (add a external IDs for compiler)
* yarvcore.h : ditto (add a VM_CALL_SEND_BIT macro)
* yarvtest/test_method.rb : add tests for above changes
* eval.c : remove unused "Kernel#send" declaration
138 lines of code changed in:
add WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_EMPTY.
12 lines of code changed in:
* benchmark/run.rb : change option format
* common.mk : ditto
34 lines of code changed in:
* benchmark/bm_app_pentomino.rb : use Array#dup instead of
Array#clone
* benchmark/bmx_temp.rb : removed
* benchmark/run.rb : use run.rb instead of run_rite.rb
* common.mk : ditto
* benchmark/run_rite.rb : removed
* common.mk : use $(srcdir)/test.rb to run a test program
with "make run"
* benchmark/bmx_temp.rb : removed and
set svn:ignore (bmx_*.rb) to benchmark/
* test.rb : set svn:ignore
80 lines of code changed in:
* yarvtest/yarvtest.rb : fix to compare results
5 lines of code changed in:
* compile.c, compile.h : add ADD_CALL_RECEIVER() macro.
* insns.def (send) : use GET_SELF() direct if FCALL.
* eval.c (rb_f_send) : check method dispatch type to permit
nvoking private method when dispatch type is FCALL/VCALL
* insns.def (opt_ltlt) : remove useless statement.
* vm.h : remove unused macros.
49 lines of code changed in:
* benchmark/run_rite.rb : fix to use readlines instead of
read(...).lines (because 1.8 doesn't have String#lines).
6 lines of code changed in:
* thread_win32.ci (rb_thread_reset_timer_thread) :
added ([ruby-dev:30086]).
12 lines of code changed in:
* common.mk : add .SUFFIXES rule
6 lines of code changed in:
* eval_method.h (rb_alias) : fix to check search result
5 lines of code changed in:
* eval_method.h (rb_add_method) : fix to check old_node
7 lines of code changed in:
* compile.c (iseq_compile_each, set_block_local_tbl) :
support NODE_LAMBDA (partly).
* sample/test.rb : restore test of NODE_LAMBDA
* test/ruby/test_lambda.rb : ditto
97 lines of code changed in:
* 2007-01-05
3 lines of code changed in:
* thread_pthread.ci (native_sleep): fix tv_nsec overflow.
8 lines of code changed in:
* common.mk : rename yarv-test-[all/each] to compare-test[/-each].
purpose of "compare-test" rule is to compare ruby (trunk) and
matzruby (branches/matzruby) binary in miniruby level. MATZRUBY
parameter means an path to miniruby of matzruby binary. to do this
comparison test, you should build matzruby branch.
* yarvtest/yarvtest.rb : fix to use command line option as
command names to be compared.
* yarvtest/runner.rb : remove a debug output.
137 lines of code changed in:
* common.mk : fix to use test.rb script in build directory.
($(srcdir)/test.rb -> test.rb)
10 lines of code changed in:
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
Arrays could not be modified in its each block. [ruby-dev:30063]
6 lines of code changed in:
* yarv_version.h : removed.
* common.mk : remove yarv_version.h from rules
* yarvcore.h (Init_yarvcore) : remove useless constants
10 lines of code changed in:
* ext/openssl/ossl_asn1.c (Init_ossl_asn1):
OpenSSL::ASN1::ASN1Data#value,#tag,#tag_class and
OpenSSL::ASN1::BitString#unused_bits should be public.
10 lines of code changed in:
* 2007-01-04
3 lines of code changed in:
* thread_pthread.ci : fix last changes around PTHREAD_STACK_MIN.
8 lines of code changed in:
* common.mk : restore changes
190 lines of code changed in:
* thread_pthread.ci : fix to skip using PTHREAD_STACK_MIN.
[ruby-dev:30063]
16 lines of code changed in:
5 lines of code changed in:
* 2007-01-03
3 lines of code changed in:
* io.c (rb_io_getline): lineno update condition was wrong.
[ruby-dev:30065]
* io.c (rb_io_getline_fast): ditto.
9 lines of code changed in:
* io.c (ruby_dup): start GC on ENOMEM as well.
5 lines of code changed in:
* 2007-01-02
3 lines of code changed in:
Fix to compile on yarv, ruby_errinfo -> rb_errinfo()
6 lines of code changed in:
* ext/tk/tcltklib.c : fix to compile on YARV
ruby_errinfo -> rb_errinfo(),
ruby_safe_level -> rb_safe_level().
47 lines of code changed in:
* test/drb/test_drbssl.rb : fix to skip drb tests
13 lines of code changed in: