summaryrefslogtreecommitdiffstats
path: root/ext/zlib
Commit message (Collapse)AuthorAgeFilesLines
* * MANIFEST, ext/**/MANIFEST: removed.eban2004-11-011-4/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,matz2004-10-291-1/+7
| | | | | | | should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.matz2004-10-271-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-talk:117841] * ruby.h (FL_ABLE): nodes are not subject for flag operations. * io.c (ARGF_FORWARD): should have specified argv explicitly, since we no longer have frame->argv saved. [ruby-dev:24602] * string.c (RESIZE_CAPA): check string attribute before modifying capacity member of string structure. [ruby-dev:24594] * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain performance. [ruby-talk:117701] * sprintf.c (rb_f_sprintf): raise ArgumentError for extra arguments, unless (digit)$ style used. * io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in interpreter termination. [ruby-dev:24579] * eval.c (frame_free): Guy Decoux solved the leak problem. Thanks. [ruby-core:03549] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_append_input): clear klass for z->inputmatz2004-10-231-3/+11
| | | | | | | to avoid potential vulnerability. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_run): always use zstream_append_input()matz2004-10-221-9/+3
| | | | | | | to avoid SEGV. [ruby-dev:24568] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_shift_buffer): should restore classmatz2004-10-211-1/+4
| | | | | | | | | | | | | field of a buffer. [ruby-dev:24562] * eval.c (rb_alias): should warn on method discarding. [ruby-dev:24546] * ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal string buffer by clearing klass. [ruby-dev:24548] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_times): Array#* should return an instance ofmatz2004-10-191-0/+1
| | | | | | | | | | | | | | | the class of right operand. [ruby-dev:24526] * ext/zlib/zlib.c (zstream_detach_buffer): should not expose class-less object to Ruby world. [ruby-dev:24530] * eval.c (proc_dup): provide Proc#dup as well. [ruby-talk:116915] * eval.c (ruby_exec): stack marking position may be higher than expected. thanks to Guy Decoux. [ruby-core:03527] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): block string buffer modification duringmatz2004-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_io_fread() by freezing it temporarily. [ruby-dev:24479] * dir.c (rb_push_glob): block call at once the end of method. [ruby-dev:24487] * ext/enumerator/enumerator.c (enum_each_slice): remove rb_gc_force_recycle() to prevent potential SEGV. [ruby-dev:24499] * ext/zlib/zlib.c (zstream_expand_buffer): hide internal string buffer by clearing klass. [ruby-dev:24510] * ext/socket/socket.c (sock_s_getservbyaname): protocol string might be altered. [ruby-dev:24503] * string.c (rb_str_upto): check if return value from succ is a string. [ruby-dev:24504] * io.c (rb_io_popen): get mode string via rb_io_flags_mode() to avoid mode string modification. [ruby-dev:24454] * io.c (rb_io_getline_fast): should take delim as unsigned char to distinguish EOF and '\377'. [ruby-dev:24460] * io.c (rb_io_getline): add check for RS modification. [ruby-dev:24461] * enum.c (enum_sort_by): use qsort() directly instead using rb_iterate(). [ruby-dev:24462] * enum.c (enum_each_with_index): remove rb_gc_force_recycle() to prevent access to recycled object (via continuation for example). [ruby-dev:24463] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_read_raw): call readpartial at first.akr2004-09-191-8/+114
| | | | | | | (Zlib::GzipReader#readpartial): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: GzipReader#ungetc caused crc error.katsu2004-08-201-17/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.akr2004-08-061-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bitmatz2004-06-231-1/+1
| | | | | | | platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): use NUM2INT() instead of num2i32().matz2004-04-071-3/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_get_path): get path string via "to_path" method ifmatz2004-04-071-0/+2
| | | | | | | | | | | | path object is not a string. [Ruby2] * gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the exit finalizers. * io.c (rb_io_reopen): should use rb_io_check_io(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2004-03-282-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: documented, but needs more effort.gsinclair2004-02-211-7/+696
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn'takr2003-12-281-1/+1
| | | | | | | raise EOFError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stable version 1.8.1 released.matz2003-12-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (Init_zlib): define Zlib::GzipReader#each_line as an alias ↵katsu2003-11-061-0/+1
| | | | | | of Zlib::GzipReader#each. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_read_header): gz->z.input may be nil after ↵katsu2003-07-201-1/+1
| | | | | | finishing reading a gzip header. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***katsu2003-06-181-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/.cvsignore: new file (retry).aamine2003-05-061-0/+3
| | | | | | | * ext/zlib/.cvsignore: new file (retry). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/extconf.rb: bccwin32 is win32 too.nobu2003-04-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * zlib.c (rb_gzreader_getc): the return value of GzipReader#getc must be ↵katsu2003-04-061-1/+1
| | | | | | unsigned. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import Ruby/zlib from rough.katsu2003-03-284-0/+3749
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e