summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bug fix of WIN32OLE_VARIANT when variant type is VT_BYREF|VT_VARIANT.suke2007-01-263-9/+85
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,__conv_keyonly_optkeys): nagai2007-01-2611-17/+47
| | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): need to copy internalmatz2007-01-253-3/+24
| | | | | | structure on clone and dup. [ruby-dev:30192] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: removed a needless workaround.kou2007-01-242-8/+4
| | | | | | | approved by ko1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fixmatz2007-01-242-1/+6
| | | | | | regexp font-lock bug. [ruby-talk:235758] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == insteadmatz2007-01-232-1/+6
| | | | | | of ===. [ruby-dev:30176] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,usa2007-01-2314-4/+68
| | | | | | | setup.mak}: add --with-baseruby configure option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: fix errors in socket sample code.matz2007-01-223-5/+10
| | | | | | [ruby-core:09992] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_proc.c (method_receiver): add new method to get the boundmatz2007-01-202-0/+64
| | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WIN32OLE.codepage= accepts installed codepage.suke2007-01-203-20/+67
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adds a property, rexml:main-repo-version, which tracksser2007-01-200-0/+0
| | | | | | | | | | | | which version the Ruby repo is current with. This is temporary until I can get a better way of keeping the repos in sync. In particular, I can't easily just use the Ruby repo as an external resource (svn:externals), because then I can't use the Trac features that link into Subversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged from REXML main repository:ser2007-01-2013-83/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ------------------------------------------------------------------------ git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version 0.8.6.suke2007-01-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify WIN32OLERuntimeError message.suke2007-01-204-6/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move all test from ext/win32ole/tests test/win32olesuke2007-01-204-207/+153
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move some test from ext/win32ole/tests to test/win32olesuke2007-01-193-274/+204
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_VARIANT::Empty, WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.suke2007-01-194-9/+99
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* IN32OLE_VARIANT.new accepts nil as first argument for some VARIANT TYPE. fix ↵suke2007-01-184-21/+45
| | | | | | memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * some refactoring around yarvcore and proc.ko12007-01-1712-1686/+1650
| | | | | | | | | | | | | | | | | | | | | | | * 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). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (eval_search_super_klass): rename to search_super_klass() andko12007-01-163-2445/+2461
| | | | | | | | | use it by th_call_super(). * insns.def: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: fix ruby script path.ko12007-01-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (invoke_block): fix to specify self.ko12007-01-162-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * env.h: removedko12007-01-162-90/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_proc.c (rb_proc_new): added.ko12007-01-166-63/+72
| | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix memory leak of win32ole.suke2007-01-133-5/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * djgpp/config.status: wrongly revised file.nobu2007-01-131-77/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_replace): use ptr and len of orig instead ofnobu2007-01-093-8/+15
| | | | | | | shared. fixed: [ruby-dev:30116] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r11523@ruby: shyouhei | 2007-01-09 15:57:58 +0900shyouhei2007-01-093-18/+19
| | | | | | | | | | | * ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly convert uid/gid from VALUE. * ext/etc/etc.c (etc_getpwuid): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file): should not call fpath_check() with NULL.usa2007-01-092-1/+8
| | | | | | | fixed: [ruby-core:09867] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-01-09eban2007-01-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): use RSTRING_LEN().matz2007-01-082-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): String#upto from empty string makesmatz2007-01-082-1/+6
| | | | | | inifinite loop. [ruby-core:09864] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/doc removedsuke2007-01-071-294/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),ko12007-01-075-22/+61
| | | | | | | | | | | | | | | 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]). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: add a "compare" rule and fix MATZRUBY variableko12007-01-073-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some test. update comment for rdoc.suke2007-01-073-6/+45
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge RDoc updates from matzruby 11502, 11503, 11504drbrain2007-01-073-3/+165
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.1.tadf2007-01-072-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_fast, rb_io_getline): increase linenonobu2007-01-062-146/+182
| | | | | | | | | | 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore .a filesdrbrain2007-01-060-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (send) : fix to optimize send() with Symbol.ko12007-01-063-1/+16
| | | | | | | * yarvtest/test_method.rb : add another test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk : add PHONY dependency to some rulesko12007-01-062-9/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_read): fix wrong replacement. [ruby-dev:30070]matz2007-01-062-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def : support direct method dispatch with "send" or "funcall".ko12007-01-067-12/+138
| | | | | | | | | | | | | | | | 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 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_EMPTY.suke2007-01-053-1/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/run.rb : change option formatko12007-01-054-34/+34
| | | | | | | * common.mk : ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_app_pentomino.rb : use Array#dup instead ofko12007-01-057-254/+80
| | | | | | | | | | | | | | | | | 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 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvtest/yarvtest.rb : fix to compare resultsko12007-01-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, compile.h : add ADD_CALL_RECEIVER() macro.ko12007-01-056-17/+49
| | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/run_rite.rb : fix to use readlines instead ofko12007-01-052-1/+6
| | | | | | | read(...).lines (because 1.8 doesn't have String#lines). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e