michal
3e1c383e45
io_seek()'s retval should be checked [ruby-core:03045]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 13:18:32 +00:00
michal
cdf40ecbd8
Fix indentation in time.c
...
Move stack-len info from main.c to gc.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 12:59:01 +00:00
matz
5199bf7529
* ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bit
...
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 09:19:14 +00:00
shugo
77574f0fa2
* lib/net/imap.rb: added new option --ssl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 08:38:15 +00:00
dave
417f9ec4aa
Fixed parsing of %r{} when generating source popup
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 16:47:31 +00:00
eban
8aa7a96238
2004-06-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 15:23:14 +00:00
ocean
42f00af5e3
* ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing
...
CR and LF. (doesn't depend on CR+LF) [ruby-dev:23694]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 15:21:03 +00:00
nobu
65e0e64656
* io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 15:00:36 +00:00
nobu
e99c018d87
* eval.c (return_jump, break_jump): raise unexpceted local jump
...
exception directly. [ruby-dev:23740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 14:59:25 +00:00
usa
a28006f959
* sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
...
* test/ruby/test_sprintf.rb (test_nan, test_inf): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 14:38:21 +00:00
suke
29904b93f4
* ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-
...
dLibraries().
* ext/win32ole/win32ole.c (ole_event_free): ditto.
* ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message
before CR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 12:22:01 +00:00
usa
ba5b04cd1b
* sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf with
...
"%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 10:28:12 +00:00
michal
03f3e5e994
Remove explicit NIL_P() checks since rb_cmpint() does it again in the exactly same manner.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 06:30:41 +00:00
eban
3469fd5a35
2004-06-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 04:24:48 +00:00
gotoyuzo
17cb00b6e5
* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create
...
empty pkey object if no argument is passed. [ruby-talk:103328]
* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto.
* ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p,
OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=,
OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=,
OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=.
* ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p,
OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=,
OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=,
OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=,
OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21 16:36:19 +00:00
usa
c89a62cd98
2004-06-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21 00:34:19 +00:00
usa
f43b8e20c0
* win32/win32.c (rb_w32_opendir): should set errno if error occurs
...
when calling OS API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21 00:27:39 +00:00
gotoyuzo
f9bdcf5495
* test/openssl/test_ssl.rb: use Process.kill to kill child process
...
instead of waiting for closing popen-ed IO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-20 15:57:40 +00:00
eban
86d21234a4
2004-06-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-20 12:51:55 +00:00
shugo
036219fbfb
* lib/net/ftp.rb (binary=): send TYPE commands only once.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-20 12:34:18 +00:00
shugo
9e9fdc1592
* lib/net/ftp.rb (binary=): send TYPE commands only once.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-20 12:15:07 +00:00
nobu
33b8591248
* eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): not
...
set $SAFE for methods defined from Proc. [ruby-dev:23697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-19 04:27:08 +00:00
nobu
934064ba5a
* eval.c (method_call): allow changing $SAFE. [ruby-dev:23713]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-19 04:24:34 +00:00
eban
eba13dbc04
2004-06-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-19 04:00:11 +00:00
kou
d9f9245ad3
* sample/rss/tdiary_plugin/rss-recent.rb: added more information.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 16:13:01 +00:00
nobu
960d79099f
* eval.c (eval): adjust indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 14:52:07 +00:00
nobu
658d8ea405
2004-06-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 14:16:32 +00:00
nobu
31764d62ce
* eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limit
...
safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 14:12:42 +00:00
eban
afa8c5c272
2004-06-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-17 08:20:30 +00:00
matz
9d1f9bd56b
* eval.c (rb_mod_freeze): prepare string representation before
...
freezing. [ruby-talk:103646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 14:21:34 +00:00
nobu
1135c41a5b
* array.c (rb_ary_pop): rdoc update for new usage. [ruby-core:03022]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 12:52:59 +00:00
michal
7a28fb146f
Add extend testcase for #first, #last, #shift, #unshift, #pop, #push methods.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 11:01:15 +00:00
nobu
07a45c21c0
* test/ruby/test_array.rb: use local variables instead of a global
...
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 09:20:36 +00:00
eban
5c64420683
2004-06-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:05:37 +00:00
nobu
856658ca9c
* array.c (ary_new): move alloc behind checks. [ruby-core:02982]
...
* array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push
and unshift.
* array.c (rb_ary_first, rb_ary_last): make shared array for result
array, and correct doc for Array#first(n) and Array#last(n)
* array.c (rb_ary_select): not accept any arg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:05:24 +00:00
nobu
6a5e63a715
* object.c (rb_class_inherited_p): singleton class inherits Class
...
rather than its object's class. [ruby-dev:23690]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:04:05 +00:00
nobu
83c917df38
* gc.c (stack_grow_direction): memoize the direction.
...
* gc.c (Init_stack): should always move to end of VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:01:32 +00:00
nagai
f895f94cce
* ext/tk/lib/tk.rb: bug fix (TkWindow#grab)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-15 03:12:40 +00:00
eban
60ed1ef3c0
2004-06-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-14 13:39:22 +00:00
nagai
3676a70e7b
* ext/tk/lib/remote-tk.rb: bug fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-14 09:25:06 +00:00
eban
db71ceb9c0
2004-06-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 15:40:29 +00:00
nagai
c0271cadd7
* ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
...
* ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
eliminate warning about instance variable access
* ext/tk/lib/tk/menubar.rb: improve supported menu_spec
* ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
* ext/tk/lib/tk/root.rb: add menu_spec support
* ext/tk/lib/tk/text.rb: bug fix
* ext/tk/lib/tk/toplevel.rb: add menu_spec support
* ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 15:25:49 +00:00
ocean
82593c058f
* dir.c: RDOC for File::FNM_CASEFOLD was missed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 05:18:23 +00:00
eban
53529eba90
2004-06-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 02:45:56 +00:00
eban
4fb0b08ffd
* configure.in (target_os): strip -gnu suffix on Linux.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 02:17:24 +00:00
matz
21606c6ec5
* array.c: remove #indexes, #indices.
...
* hash.c: ditto.
* ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning
from #select.
* ext/gdbm/gdbm.c: ditto.
* ext/sdbm/init.c: ditto.
* ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when
DB_VERSION_STRING is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-11 13:33:47 +00:00
eban
6ea8b50946
2004-06-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-10 13:48:46 +00:00
matz
c04dffe049
* ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().
...
[ruby-talk:103062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-10 13:39:52 +00:00
ser
bef1521876
This is the log for the *previous* commit, but CVS is bloody stupid.
...
* Added XPath expansion and abbreviation to Parsers::XPathParser
* Improved the look of Element.inspect
* Added xpath() to Element and Attribute, allowing the generation of a unique
xpath for nodes of these types. This method for the other nodes still need to be
done
* Made REXML::XPathParser#match public
First pass at validation support. Minimal RelaxNG support.
* The tree parser is now an independant parser, like the rest.
* The first basic RelaxNG support is in. It supports elements, attributes,
choice, sequence, oneOrMany, zeroOrMany, and optional.
Improved support for converting XPaths to strings.
* XPath wasn't parsing ")" correctly.
Validation improvements:
* Fixed text
* Fixed attributes in choices
* Fixed text in choices. This change improves handling of all events that occur
without an end step (which is most of them).
* Fixed a bunch of cases
* Added support for <group>
* Added support for <value>
Workin' in the coal mine, goin' down, down, down...
* Entirely rewrote the validation code; the finite state machine, while cool,
didn't survive the encounter with Interleave. It was getting sort of hacky,
too. The new mechanism is less elegant, but is basically still a FSM, and is
more flexible without having to add hacks to extend it. Large chunks of the
FSM may be reusable in other validation mechanisms.
* Added interleave support
* Added suppert for mixed
* Added Kou's patch to normalize attribute values passed through the SAX2 and
Stream parsers.
* Applied Kou's preceding-sibling patch, which fixes the order of the axe results
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-10 02:09:37 +00:00
ser
3289dfc78b
-
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-10 02:01:04 +00:00