* io.c (io_fflush): DRY patch from /Christoph applied.
20 lines of code changed in:
Changed the regexp again to simplify code. See also [ruby-dev:16682].
3 lines of code changed in:
* lib/mkmf.rb (create_makefile): default FLAGS to empty strings.
7 lines of code changed in:
2002-03-29
2 lines of code changed in:
* lib/mkmf.rb (arg_config): should use Shellwords::shellwords like
ext/extmk.rb.in.
* lib/mkmf.rb (enable_config): default had priority over command
line options and configure_args.
* lib/mkmf.rb: support autoconf 2.53 style variables from
environment.
* lib/mkmf.rb: add directory options.
49 lines of code changed in:
* win32/README.win32: follow recent changes.
9 lines of code changed in:
Changed regexp for parsing break command '.*?+' to '.+'.
See also [ruby-dev:16652].
1 lines of code changed in:
* win32/Makefile.sub (config.status): reflect user defined $CC in
config.status.
6 lines of code changed in:
* ext/socket/socket.c (sock_addrinfo): should specify socktype
from outside.
* io.c (argf_binmode): should call next_argv() to initialize ARGF.
* io.c (argf_filename): ditto.
* io.c (argf_file): ditto.
51 lines of code changed in:
* ext/strscan/strscan.c: add taint check.
* ext/strscan/strscan.c: #getch/#get_byte should set regexp registers.
* ext/strscan/strscan.c: remove useless #include directive.
* ext/strscan/strscan.c: refactor struct strscanner.
179 lines of code changed in:
* io.c (READ_DATA_PENDING): configure.in has supported for uClibc,
so remove uClibc stuff.
5 lines of code changed in:
typo
1 lines of code changed in:
* io.c (rb_io_sysseek): new method based on a patch from Aristarkh
A Zagorodnikov <xm@bolotov-team.ru>. [new]
* io.c (READ_DATA_PENDING): use !feof(fp) for default behavior.
50 lines of code changed in:
change log update only.
2 lines of code changed in:
* lib/net/http.rb: HTTP.get accepts URI.
* lib/net/http.rb: add some HTTP 1.1 response codes.
292 lines of code changed in:
* doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.
* MANIFEST: remove doc/net/* entries.
6 lines of code changed in:
* ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.
4 lines of code changed in:
* configure.in (FILE_READPTR): check bufread instead of bufend for uClibc.
6 lines of code changed in:
.cvsignore: add autom4te*.cache.
1 lines of code changed in:
* parse.y (primary): while/until statement modifiers to "begin"
statement now work as "do .. while" even when begin statement
has "rescue" or "ensure" [new].
* parse.y (bodystmt): rescue/ensure is allowed at every bodies,
i.e. method bodies, begin bodies, class bodies[new], and module
bodies[new].
* ext/socket/socket.c (sock_addrinfo): should specify ai_socktype
for getaddrinfo hints.
* eval.c (rb_f_abort): embed aborting message into exception
object [new].
* eval.c (terminate_process): utility function for exit and abort.
186 lines of code changed in:
* win32/mkexports.rb: support VC++.NET.
5 lines of code changed in:
* ext/bigfloat/bigfloat.c: Fix the initializer's function name
according to the new library name. (pointed out by nobu)
8 lines of code changed in:
* bignum.c (rb_quad_pack): get rid of escape sequences.
* dln.c (dln_load, __VMS): ditto.
2 lines of code changed in:
lib/fileutils.rb added
1 lines of code changed in:
* lib/fileutils.rb: new file.
* lib/README: add fileutlis.rb.
* doc/NEWS: add fileutils.rb.
811 lines of code changed in:
* lib/pp.rb (pp): return nil like p.
10 lines of code changed in:
* ext/bigfloat/extconf.rb: Downcase the module name. (BigFloat.so
-> bigfloat.so)
* ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect
format not to look like an array. (pointed out by akr)
* ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash.
* ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load):
Support marshaling.
65 lines of code changed in:
* configure.in (FILE_READPTR): check _p for 4.4BSD.
5 lines of code changed in:
* configure.in (FILE_READPTR): new. for IO#gets improvement.
* io.c (READ_DATA_PENDING_PTR): ditto.
* io.c (remain_size): separated from read_all().
* io.c (read_all): argument chagend.
* io.c (appendline): new. get a line and append to string.
* io.c (swallow): new. swallow continuous line delimiters.
* io.c (rb_io_getline_fast): add delimiter argument.
* io.c (rb_io_getline): performance improvement.
239 lines of code changed in:
* ext/extmk.rb.in (arg_config): get rid of single quotes for autoconf 2.53.
6 lines of code changed in:
* regex.c (mbc_startpos_func): VC6 seems to be unable to
understand forward declaration for static variables.
16 lines of code changed in:
* dir.c (rb_push_glob): local variable 'maxnest' was
uninitialized.
6 lines of code changed in:
2002-03-25
2 lines of code changed in:
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be
allowed when $SAFE > 3.
* eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn
into THREAD_RUNNABLE on wakeup.
* eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the
list.
* eval.c (thgroup_list): ditto; by moving gid clearance from
rb_thread_cleanup().
* dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not
match "foo/bar".
* io.c (read_all): files on /proc filesystem with zero stat size,
may have contents.
* ext/socket/socket.c (tcp_s_gethostbyname): refactored.
* ext/socket/socket.c (sock_s_gethostbyname): ditto.
119 lines of code changed in:
* dln.c (dln_argv0): unused unless USE_DLN_A_OUT.
6 lines of code changed in:
* regex.c (mbc_startpos_func): shoud be static.
6 lines of code changed in:
D'oh! Convert CR+LF to LF.
0 lines of code changed in:
* util.c (push_element): avoid warning for djgpp.
6 lines of code changed in:
2002-03-22
2 lines of code changed in:
* ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.
6 lines of code changed in:
socket.c: oops, half-baked modifies were commited; backout
0 lines of code changed in:
add raccrt, strscan entry
8 lines of code changed in:
* the VMS support patch submitted by Akiyoshi, Masamichi
<Masamichi.Akiyoshi@jp.compaq.com> is merged.
* eval.c (exec_under): changing ruby_class is OK, but should not
alter cbase.
* eval.c (yield_under_i): ditto.
198 lines of code changed in:
racc runtime imported.
* lib/racc/parser.rb: new file.
* ext/racc/MANIFEST, cparse.c, depend, extconf.rb: new files.
* lib/README: add racc/parser.rb.
* ext/Setup*: add racc/cparse.
1265 lines of code changed in:
* strscan.c: remove useless #include directive
0 lines of code changed in:
import strscan.
675 lines of code changed in:
net/protocol.rb: Protocol#start should return self.
5 lines of code changed in:
* lib/resolv.rb: fix arguments to create exceptions.
Patch from matt@lickey.com. (ruby-bugs:PR#278)
7 lines of code changed in:
Synchronize with reality. Pick actually existent modules and get rid
of removed modules.
33 lines of code changed in:
Mention the import of BigFloat.
5 lines of code changed in:
BigFloat 1.1.8 has been imported. Add .cvsignore and MANIFEST.
5 lines of code changed in:
Initial revision
2 lines of code changed in:
Probably */depend should be added to this file too.
4 lines of code changed in:
* win32/Makefile.sub (config.status): fix install path (prefix).
5 lines of code changed in:
* ext/configsub.rb: latest autoconf style support.
5 lines of code changed in:
* mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb.
7 lines of code changed in:
* win32/config.status.in: no longer used.
0 lines of code changed in:
* win32/Makefile.sub (config.status): and use recent autoconf format.
* win32/config.status.in: no longer used.
5 lines of code changed in:
* win32/Makefile.sub (config.status): and use recent autoconf format.
80 lines of code changed in:
* win32/Makefile.sub: made variables configurable.
* win32/Makefile.sub (config.h): updates RUBY_PLATFORM from
Makefile.
* win32/Makefile.sub (config.status): ditto.
* win32/Makefile.sub (clean): separate ext and local clean up.
* win32/Makefile.sub (distclean): ditto.
174 lines of code changed in:
* variable.c (rb_const_list): a temporary table must be freed.
5 lines of code changed in:
* mkconfig.rb: don't touch rbconfig.rb if there is a trouble.
7 lines of code changed in:
2002-03-20
2 lines of code changed in:
too reverted.
1 lines of code changed in:
* eval.c (is_defined): should check receiver only once.
* eval.c (is_defined): should handle NODE_NEWLINE.
* file.c (rb_file_s_expand_path): memory leak fixed.
18 lines of code changed in:
* util.c (ruby_getcwd): the content of buf is uncertain and must
not be printed when getcwd(buf, size) has failed.
6 lines of code changed in:
* re.c (rb_reg_search): should clear last_match if pos is out of
string range.
* string.c (rb_str_index_m): ditto.
* string.c (rb_str_rindex): ditto.
* class.c (rb_define_class): should handle autoload.
* class.c (rb_define_module): ditto.
86 lines of code changed in:
* ext/stringio/stringio.c (check_modifiable): wrong declaration.
6 lines of code changed in:
* MANIFEST: add missing/fileblocks.c
1 lines of code changed in:
* ext/digest: add depend file.
* ext/digest/md5: ditto.
* ext/digest/rmd160: ditto.
* ext/digest/sha1: ditto.
* ext/digest/sha2: ditto.
* ext/iconv/MANIFEST: ditto.
* ext/stringio/MANIFEST: ditto.
* ext/syslog: ditto.
58 lines of code changed in:
* eval.c (rb_f_abort): should not bypass cleanup.
* ext/stringio/stringio.c (check_modifiable): void function.
9 lines of code changed in:
* ext/iconv/extconf.rb: workaround for GNU libiconv.
5 lines of code changed in:
* parse.y (parse_string): part of multi-byte sequence must not
match to paren.
* parse.y (parse_qstring): ditto.
* parse.y (parse_quotedwords): ditto.
* parse.y (str_extend): handle multi-byte characters.
33 lines of code changed in:
* enum.c (enum_find): catch a value before recycle.
* enum.c (enum_all): ditto.
* enum.c (enum_any): ditto.
* enum.c (enum_min): ditto.
* enum.c (enum_max): ditto.
28 lines of code changed in:
* enum.c (enum_inject): use the first iterated element as the
initial value when omitted.
* enum.c (inject_i): ditto.
* enum.c (Init_Enumerable): Enumerable#inject now takes variable
count arguments.
34 lines of code changed in:
added depend files in ext/iconv and ext/stringio.
6 lines of code changed in:
* ext/stringio/depend: added.
2 lines of code changed in:
* ext/iconv/depend: added.
2 lines of code changed in:
* missing/fileblocks.c: add for autoconf.
5 lines of code changed in:
* win32/win32.c (StartSockets): remove duplicated lines.
4 lines of code changed in:
2002-03-15
2 lines of code changed in:
* bignum.c, intern.h (rb_ull2big, rb_ll2big, rb_ull2inum, rb_ll2inum,
big2ull, rb_big2ull, rb_big2ll): use LONG_LONG macro instead of
long long.
* numeric.c, intern.h, ruby.h (rb_num2ll, rb_num2ull): ditto.
* ruby.h: use _I64_MAX and _I64_MIN if they are defined (for VC++).
48 lines of code changed in:
* ext/iconv/iconv.c: fixed document, Iconv#new is no longer an
iterator. thanks to Tanaka Akira <akr@m17n.org>.
10 lines of code changed in:
* ext/iconv: imported.
8 lines of code changed in:
Initial revision
742 lines of code changed in:
* configure.in: autoconf 2.53 support. use AC_LIBOBJ.
9 lines of code changed in:
* re.c (rb_reg_match): should clear $~ if operand is nil.
* re.c (rb_reg_match2): ditto.
* configure: merge Jonathan Baker's large file support patch
[ruby-talk:35316], with read_all patch in [ruby-talk:35470].
* eval.c (rb_f_abort): optional message argument that be printed
on termination. [new]
955 lines of code changed in:
* ext/stringio/stringio.c: fixed frozen string bug. ungetc no
longer raises on readonly stream unless modifies actually.
51 lines of code changed in:
* string.c (rb_str_subpat_set): must make str independent after
rb_reg_search() matched.
6 lines of code changed in:
typo
1 lines of code changed in:
2002-03-14
2 lines of code changed in:
* dir.c (rb_push_glob): avoid SEGV when no block given.
5 lines of code changed in:
2002-03-13
2 lines of code changed in:
* dir.c: FNM_PERIOD is obsoleted and FNM_DOTMATCH is introduced
instead, which has the opposite meaning of FNM_PERIOD.
* dir.c: Dir::glob now accepts optional FNM_* flags via the second
argument, whereas Dir::[] doesn't.
87 lines of code changed in:
* lib/getopts.rb: single_options can be nil[*], and is not not
optional. ([*]Pointed out by gotoken)
18 lines of code changed in:
2002-03-12
2 lines of code changed in:
* regex.c (re_compile_pattern): '\0111' should be '\011' plus '1',
since octal literals are formed by three digits at most.
* marshal.c (w_object): module inclusion using extend() should
also be detected.
* eval.c (rb_eval_cmd): cbase should not be NULL; it should be
either ruby_wrapper or Object.
* enum.c (enum_each_with_index): should return self.
* process.c (proc_setpgrp): should return value for non-void function.
* process.c (proc_getpgid): should raise exception if getpgid() return -1.
* string.c (rb_str_ljust): should return a duplicated string.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
9 lines of code changed in:
* lib/resolv.rb: don't complete domains for absolute FQNs.
35 lines of code changed in:
Remove the entries that have already been merged into the stable
branch.
[Note that the NEWS file on this branch should note the differences
from the latest snapshot of the stable branch]
0 lines of code changed in:
tsort description modifed.
2 lines of code changed in:
tsort library added.
4 lines of code changed in:
* lib/tsort.rb: new file.
295 lines of code changed in:
StringIO.
4 lines of code changed in:
2002-03-11
2 lines of code changed in:
StringIO
4 lines of code changed in:
Initial revision
887 lines of code changed in:
* marshal.c (w_object): module inclusion using extend() should
also be detected.
* eval.c (rb_eval_cmd): cbase should not be NULL; it should be
either ruby_wrapper or Object.
* enum.c (enum_each_with_index): should return self.
* process.c (proc_setpgrp): should return value for non-void function.
* process.c (proc_getpgid): should raise exception if getpgid() return -1.
* string.c (rb_str_ljust): should return a duplicated string.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
65 lines of code changed in:
* ext/socket/extconf.rb (have_struct_member): don't print checked
result.
9 lines of code changed in:
2002-03-08
2 lines of code changed in:
* eval.c (cvar_cbase): utility function to find innermost non
singleton cbase.
* eval.c (is_defined): adopt new cvar behavior.
* eval.c (rb_eval): ditto.
* eval.c (assign): ditto.
* class.c (rb_mod_clone): should not call rb_obj_clone(), since
Module does not provide "allocate".
* class.c (rb_singleton_class): should crate new singleton class
if obj is a class or module and attached object is different,
which means metaclass of singleton class is sought.
* time.c (time_s_alloc): now follows allocation framework.
* eval.c (rb_eval): should initialize outer class variables from
methods in singleton class definitions.
* eval.c (assign): ditto.
180 lines of code changed in:
* lib/resolv.rb: use its own thread group for background threads.
10 lines of code changed in:
* gc.c (rb_source_filename): added. holds unique strings for file
names with GC space.
* gc.c (rb_gc_mark): mark source file name.
* gc.c (gc_sweep): ditto.
* gc.c (Init_GC): initialize source file name table.
* intern.h (rb_source_filename): added.
* eval.c (rb_eval_string): use rb_source_filename().
* parse.y (yycompile): ditto.
* ruby.c (proc_options): ditto.
* ruby.c (load_file): ditto.
* ruby.c (ruby_script): ditto.
* ruby.c (ruby_prog_init): ditto.
82 lines of code changed in:
* dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.
7 lines of code changed in:
- Slightly fix one of the last entries. (stdin -> stdin or stdout)
- Fix indentation.
10 lines of code changed in:
* lib/getopts.rb: Rewrite to fix some bugs and complete features.
- Accept options with the colon in the first argument;
getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:").
- Do not discard the argument that caused an error.
- Do not discard '-', which commonly stands for stdin.
- Allow specifying a long option with a value using '='.
(command --long-option=value)
- Stop reading options when it meets a non-option argument.
74 lines of code changed in:
* ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug where
--with-xx-{include,lib} is ignored when --with-xx-dir is
specified.
11 lines of code changed in:
Make cvs ignore mkmf.log.
13 lines of code changed in:
fix method name.
1 lines of code changed in:
2002-03-01
2 lines of code changed in:
* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add const
qualifier only for uClibc.
13 lines of code changed in:
* ChangeLog: fixed the description of getacl.
1 lines of code changed in:
* lib/net/imap.rb: added document.
* lib/net/imap.rb (getquotaroot): new method.
* lib/net/imap.rb (setacl): remove the rights if the rights
parameter is nil.
* lib/net/imap.rb (getacl): return a MailboxACLItem object.
176 lines of code changed in: