Commit graph

7022 commits

Author SHA1 Message Date
ocean
399d08df01 * ext/syck/rubyext.c (syck_resolver_transfer): should be able to load
!ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159] (written
  by akira yamada)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 04:38:23 +00:00
eban
76421fa998 * 2006-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 04:14:25 +00:00
ocean
7e0fd1ecca * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in
ruby 1.8.3/1.8.4. [ruby-core:6115]

* lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
  be dumped properly. [ruby-core:7047]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 03:50:28 +00:00
ocean
9ee62cee66 * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted
Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 03:05:40 +00:00
ocean
e65879b309 * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed by
http://www.zlib.net/ has zdll.lib. [ruby-dev:28209]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 11:00:40 +00:00
eban
34ff509fcf * 2006-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 08:52:11 +00:00
ocean
c16cbe386a * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
(VisualC++6) so use -O2b2xg- if  $(MSC_VER) < 1400. [ruby-core:7040]

* lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder)
  [ruby-core:7075]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 05:27:43 +00:00
eban
c5249a6ff9 * 2006-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-07 06:45:14 +00:00
nobu
8ce7782614 * parse.y (singleton): get rid of segfault on syntax error.
fixed: [ruby-core:07070]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-07 06:41:24 +00:00
usa
9f982818d5 * 2006-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-06 02:28:14 +00:00
usa
b12d498a0a * win32/win32.c (ioinfo): revert previous commit. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-06 02:27:33 +00:00
usa
d3c219f912 * 2006-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 10:05:33 +00:00
usa
4f092ec3d0 * win32/win32.c (ioinfo): VC++8 support, forgotten to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 10:05:08 +00:00
ocean
5eb861ec37 no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 08:41:33 +00:00
eban
f53062e5ef * 2006-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 08:14:59 +00:00
ocean
73a71e19c8 * win32/win32.c (rb_w32_seekdir): should not segfault even if passed
the location which rb_w32_telldir didn't return. [ruby-core:7035]

* test/ruby/test_dir.rb: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 08:12:39 +00:00
(no author)
aa9b7a644a This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 08:12:39 +00:00
nobu
f9c6aa9f11 * eval.c (rb_thread_save_context): should not recycle scope object used
in a thread.  fixed: [ruby-dev:28177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31 13:57:36 +00:00
eban
661880e227 * 2005-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 17:50:43 +00:00
ser
f8d68a2482 All of the tickets and issues mentioned in this log can be found at:
http://www.germane-software.com/projects/rexml/ticket/#

where '#' is the issue or ticket number.

* Fixes ticket:3 (Issue38 in Roundup.) However, this needs further testing.
* Fixed a couple of bugs in the SAX2 parser, plus a bunch of other changes I
  don't remember.
* More XPath ordering testing added
* Fixed the documentation WRT the raw mode of text nodes (ticket:4)
* Fixes roundup issue 43: substring-after bug.
  See: http://www.germane-software.com/cgi-bin/roundup/rexml/issue43
* Fixed issue44, Element#xpath
* Patch submitted by an anonymous doner to allow parsing of Tempfiles.  I was
  hoping that, by now, that whole Source thing would have been changed to use
  duck typing and avoid this sort of issue... but in the meantime, the patch
  has been applied.
* Fixes ticket:30, XPath default namespace bug.  The fix was provided
  by Lucas Nussbaum.
* Aliases #size to #length, as per zdennis's request.
* Fixes typo from previous commit
* Fixes ticket #32 (and adds a unit test)
* Merges a user-contributed patch for issue #40
* Changes Date, Version, and Copyright to upper case, to avoid conflicts with
  the Date class.
* Minor, yet incomplete, documentation changes.
* Resolves issue #34 (SAX parser change makes it impossible to parse IO feeds.)
* Moves parser.source.position() to parser.position()
* Improves the build script (less work for me to package a distribution)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 16:35:45 +00:00
nobu
2ffedb5f29 * win32/Makefile.sub: VC++8 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 09:23:15 +00:00
nobu
5f0902a098 * gc.c (garbage_collect): mark objects refered from aborting threads.
[ruby-dev:28190]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 09:15:56 +00:00
eban
a7e62dd16b * dir.c (glob_helper): do not use TRUE for djgpp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 05:26:49 +00:00
usa
34664e81af * file.c (eaccess): workaround for VC++8 runtime.
* win32/win32.c (ioinfo): VC++8 support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 19:55:58 +00:00
akr
40d985b57b declare rb_gc_abort_threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 17:11:28 +00:00
akr
ea88f1d35e avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 16:19:44 +00:00
eban
f7314889cf * 2005-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 15:08:39 +00:00
nobu
d5639df795 * eval.c (rb_gc_mark_threads): leave unmarked threads which won't wake
up alone, and mark threads in the loading table.  [ruby-dev:28154]

* eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked
  threads.  [ruby-dev:28172]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 15:00:15 +00:00
eban
54d5c90e34 * 2005-12-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 08:07:55 +00:00
akr
48ad7164e7 * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of
"miniruby".  [ruby-dev:28140]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 08:05:26 +00:00
eban
13e2b0209b * 2005-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-27 04:48:13 +00:00
gotoyuzo
40761f5925 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_chech):
treat wildcard character in commonName. [ruby-dev:28121]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26 23:31:04 +00:00
nobu
89eb20764e * eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS,
NEW_VALIAS), parse.y (fitem): allow dynamic symbols to
  NODE_UNDEF and NODE_ALIAS.
  backported from trunk.  fixed: [ruby-dev:28105]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26 13:33:14 +00:00
eban
b56b457e45 * 2005-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26 09:51:57 +00:00
matz
ccf3fff6ed * eval.c (ev_const_get): fixed a bug in constant reference during
instance_eval.  [yarv-dev:707]

* eval.c (ev_const_defined): ditto.

* lib/yaml.rb (YAML::add_domain_type): typo fixed.  a patch from
  Joel VanderWerf <vjoel at path.berkeley.edu>.
  [ruby-talk:165285] [ruby-core:6995]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26 08:18:33 +00:00
matz
0594128b55 * stable version 1.8.4 released.
* ext/digest/sha2/sha2.c (ULL): support AIX C.  a patch from
  Kailden <kailden at gmail.com>.  [ruby-core:06984]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-24 09:58:57 +00:00
matz
d7d0ed4d6f * version.h: 2005-12-22 (1.8.4 preview3)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-22 07:28:59 +00:00
matz
2be9ea9ce1 * array.c: document fix - remove reference of obsoleted
select usage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-22 07:08:51 +00:00
akr
35d8b850a3 (rb_f_test): fix document. [ruby-dev:28087]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-21 09:20:15 +00:00
ocean
dc2f377889 * file.c (w32_io_info): should return handle because FileIndex is
valid only while file is open. [ruby-dev:28088]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-21 07:53:55 +00:00
eban
8e30020ca8 * 2005-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-21 06:10:16 +00:00
akr
3144d2a492 * lib/pathname.rb (test_kernel_open): use File.identical?.
[ruby-talk:171804]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-21 05:54:08 +00:00
nobu
f1f2012312 * eval.c (eval_under_i): evaluate source in caller's frame.
[ruby-dev:28076]

* eval.c (rb_call_super): use original method name on exception.
  [ruby-dev:28078]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-20 13:41:47 +00:00
ocean
534d30887d * ext/syck/rubyext.c: fixed GC problem (backported HEAD 1.55 - 1.62)
[ruby-dev:27839]

* ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
  NULL or not before S_FREE.

* st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
  in gram.c to insert node from rb_syck_bad_anchor_handler into
  SyckParser's hash table. if GC occurs in st_insert, it's not under
  SyckParser's mark system yet. so RString can be released wrongly.
  [ruby-dev:28057]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-20 04:13:26 +00:00
why
3b7777959a * ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibility
with previous Ruby versions, documents are no longer headless.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-20 03:56:05 +00:00
eban
b57667bfb9 * 2005-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-19 17:35:37 +00:00
akr
aa9cab871c * io.c (rb_f_backquote): fix a GC problem on
IA64 with gcc 4.0.3 20051216 (prerelease) -O3.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-19 17:11:20 +00:00
nobu
07844461de * 2005-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-19 15:30:11 +00:00
nobu
29b836ff24 * parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-19 14:33:11 +00:00
eban
c9d8e7d8bc * 2005-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-17 08:47:04 +00:00