katsu
34cdb70d14
added changelogs about zlib
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 14:51:53 +00:00
katsu
169ea1511c
This is a null commit to correct the previous log.
...
(zstream_run): In a particular situation, deflate/inflate will return Z_BUF_ERROR, even though another call is required by the zlib library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 14:40:09 +00:00
katsu
6262a99e9b
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 14:38:06 +00:00
why
d21bd1c06d
* ext/syck/rubyext.c (rb_syck_load_handler): merge key implemented.
...
* ext/syck/rubyext.c (transfer_find_i): removed use of String#=~ in favor
of Regexp#match.
* lib/yaml.rb: YAML::try_implicit returns.
* lib/yaml/rubytypes.rb: Regexps added for type matching.
* lib/yaml/emitter.rb: fix String + nil error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 01:06:00 +00:00
why
ae28f1b6b3
* ext/syck/gram.c: added grammar for certain empty sequence entries.
...
* ext/syck/handler.c, ext/syck/syck.c, ext/syck/syck.h: track bad anchors.
* ext/syck/token.c: added pause token, tag possible circular references.
* lib/yaml/rubytypes.rb: parsing YMD time as Date instance.
* ext/syck/rubyext.c: ditto. DomainType, PrivateType, BadAlias classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-17 16:55:54 +00:00
usa
77e941269f
* win32/win32.c (rb_w32_opendir): need to set errno. [ruby-talk:73761]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-17 12:30:15 +00:00
matz
f7afa61a0a
* eval.c: remove rb_cBlock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-17 03:12:28 +00:00
eban
ae6fd90c18
* numeric.c (rb_fix2uint): renamed from rb_fix2int on IA64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 09:10:17 +00:00
nobu
401805ec13
* eval.c (proc_invoke): format the message for localjump_error().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 08:03:03 +00:00
usa
51e7fc687e
* ext/dl/dl.c (rb_dl_callback): use rb_block_proc() instead of
...
rb_block_new().
* ext/win32ole/win32ole.c (ev_on_event): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 07:25:38 +00:00
matz
590a37880c
* eval.c (proc_alloc): re-unification of Block and Proc. Block
...
class is no longer available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 07:14:50 +00:00
eban
5fb3efb267
* bcc32/Makefile.sub: undefine HAVE_GETGROUPS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 05:44:22 +00:00
eban
4b0115beb5
* lib/rexml/quickpath.rb: escape '[' to avoid warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 05:03:03 +00:00
eban
8b684d1926
2003-06-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 04:53:10 +00:00
matz
aabb785197
* regex.c (calculate_must_string): should handle option_set
...
properly. [ruby-talk:73481]
* regex.c (re_compile_fastmap): a bug in flag manipulation.
[ruby-talk:73549]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 04:49:25 +00:00
ser
2403ad9e7d
REXML hadn't been tested with Ruby 1.8.0, which was really, really,
...
unbelievably stupid of me. There were a lot of warnings and some errors
that were caused by Block vs. Proc differences; these have been fixed.
REXML passes all of the tests under Ruby 1.8.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-15 18:31:16 +00:00
eban
4d33715fe4
2003-06-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-14 13:48:52 +00:00
matz
d616f6005c
* eval.c (method_arity): should handle NODE_BMETHOD and
...
NODE_DMETHOD. [ruby-core:01138]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-14 13:41:29 +00:00
shugo
e0a5ffa941
* lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber.
...
* lib/net/ftp.rb (putbinaryfile): rescue FTPPermError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-13 00:26:51 +00:00
nagai
2850b7c481
tk.rb : add 'no_create' option to widget initialize method.
...
It allows to create ruby objects for widgets created on Tcl/Tk.
(e.g. TkButton.new('widgetname'=>'.bbb', 'no_create'=>true) )
It is useful for some Tcl/Tk Mega Widgets.
MANIFEST, README : forgot to commit when added tkmacpkg.rb and tkwinpkg.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-12 22:13:13 +00:00
nagai
598e993018
tk.rb : widget configure returns self (for method call chain)
...
tkmacpkg.rb : Mac resource (not new but not included untill now)
tkwinpkg.rb : Win DDE and registry (not new but not included untill now)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-12 21:14:11 +00:00
why
e921ea2d78
* ext/syck/token.c: preserve newlines prepended to a block.
...
* ext/syck/implicit.c (syck_match_implicit): added !merge and !default.
* lib/yaml/constants.rb: remove '\z' escape.
* lib/yaml/emitter.rb: ensure reset of @seq_map shortcut flag.
* lib/yaml/encoding.rb: remove Unicode translation methods.
* lib/yaml/rubytypes.rb: improved round-tripping of Strings.
[ruby-core:1134]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 14:15:27 +00:00
eban
3079dcab4a
* sample/test.rb: add block to proc to avoid warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 07:51:10 +00:00
eban
e08f18becd
* lib/rexml/cdata.rb,lib/rexml/quickpath.rb,lib/rexml/parsers/baseparser.rb:
...
avoid warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 07:07:52 +00:00
eban
50e7c1c149
2003-06-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 06:43:29 +00:00
matz
77aa452192
* lib/irb/ruby-lex.rb: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 05:37:44 +00:00
matz
aec748ff13
* lib/irb/slex.rb: small cleanups. (ruby-bugs-ja PR#492)
...
* lib/irb/ruby-lex.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 05:36:35 +00:00
matz
373a59b95b
* lib/irb.rb (IRB::Irb::eval_input): warn and exit if $SAFE >=3
...
after input evaluation.
* lib/irb.rb (IRB::Irb::eval_input): untaint input string. now
irb works for levels 1 and 2.
* ext/syck/rubyext.c (syck_loader_transfer): should not use
rb_cProc directly, since type_proc may be Proc, Block, or
Method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 05:22:17 +00:00
ser
434e71244a
The versions on the import were messed up; I imported an untranslated
...
source tree. This fixes that.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 02:05:17 +00:00
ser
b5d9609df5
Added the REXML files to the MANIFEST.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 01:44:55 +00:00
ser
ea7a527a2a
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 01:31:01 +00:00
nagai
ca02190d88
fix : 100% CPU problem of Tk.mainloop
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 18:09:11 +00:00
nagai
1a28365c0a
renew Tk.mainloop
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 15:50:24 +00:00
eban
879d09b6f8
2003-06-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 13:22:15 +00:00
nobu
1fe598da35
* configure.in: checks presence of grp.h and setgroups().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 10:02:36 +00:00
nobu
31094808f9
* process.c (proc_getgroups, proc_setgroups): raise
...
NotImplementedError unless available. [ruby-talk:73014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 04:27:17 +00:00
uema2
32bd3c5679
* wince/setup.mak: set SUBSYSTEM in each platform.
...
* wince/stdlib.c: fix mblen() bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-08 04:38:06 +00:00
matz
9481face42
* parse.y (value_expr0): class and module statements should not be
...
warned for "void value expression". [ruby-talk:72989]
* gc.c (add_final): should determine type by respond_to?
* gc.c (define_final): ditto.
* io.c (rb_io_ctl): should not depend on respond_to?
* range.c (range_step): rb_check_string_type().
* process.c (proc_setgroups): new functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-07 15:34:31 +00:00
nobu
a4c37a4b7f
2003-06-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 11:34:28 +00:00
nobu
fb81dcb863
* eval.c (error_print): needs to be exception proof.
...
* eval.c (error_handle, rb_longjmp): bails out when exception
reentered. (ruby-bugs-ja:PR#487), [ruby-core:01119],
[ruby-core:01122]
* eval.c (Init_Proc): pre-allocates critical error objects.
* parse.y (cmd_brace_block, do_block, brace_block): initialize block
variables at the beginning of the block. [ruby-talk:72521]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 11:29:20 +00:00
matz
bad7546f15
* gc.c (define_final): eliminate rb_f_lambda() call.
...
* class.c (rb_scan_args): ditto.
* signal.c (sig_trap): ditto.
* hash.c (rb_hash_initialize): ditto.
* variable.c (rb_f_trace_var): ditto.
* ext/dl/dl.c (rb_dl_callback): ditto.
* ext/win32ole/win32ole.c (ev_on_event): ditto.
* eval.c (ruby_cleanup): $SAFE is turned off in the finalization.
Each END proc should preserve its own $SAFE level. [ruby-core:01119]
* marshal.c (marshal_load): remove unused variable "hash".
[ruby-core:01120]
* hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860]
* array.c (rb_ary_first): optional argument to retrieve first n
elements.
* array.c (rb_ary_last): optional argument to retrieve last n
elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 09:44:22 +00:00
matz
9e77e91a13
* eval.c (ruby_cleanup): $SAFE is turned off in the finalization.
...
Each END proc should preserve its own $SAFE level. [ruby-core:01119]
* marshal.c (marshal_load): remove unused variable "hash".
[ruby-core:01120]
* hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860]
* array.c (rb_ary_first): optional argument to retrieve first n
elements.
* array.c (rb_ary_last): optional argument to retrieve last n
elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 09:24:59 +00:00
aamine
1fa5c630cd
* lib/net/http.rb: define Net::HTTPResponse#to_ary for backward compatibility. [ruby-talk:72927]
...
* lib/net/protocol.rb: add warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 07:05:52 +00:00
why
56796022a6
* ext/syck/rubyext.c (syck_parser_mark): was a bit heavy on the GC.
...
* lib/yaml.rb (YAML::transfer): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 17:42:06 +00:00
uema2
b5d717afda
* wince/stdlib.c: add mblen().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 12:33:19 +00:00
usa
b1937a53e6
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(MISSING): link with missing/erf.c.
* missing.h (erf, erfc): fix prototype.
* missing/erf.c: new. [ruby-list:37753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 09:38:01 +00:00
eban
d9f893b70b
* ext/curses/curses.c (window_s_allocate,curses_finalize):
...
avoid VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 09:36:30 +00:00
eban
5fe3feca28
2003-06-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 06:42:17 +00:00
matz
c004ecfa1e
* math.c (math_erf,math_erfc): new function. [ruby-list:37753]
...
* eval.c (ruby_finalize): no longer need to turn off $DEBUG in the
finalizer. (ruby-bugs-ja PR#473)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 06:40:42 +00:00
why
bd368e9749
* ext/syck/rubyext.c: using GC nodes caused segfault. [ruby-core:1071]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 05:40:03 +00:00