Directory ext/gdbm/

Directory Created:
1999-08-13 06:37
Total Files:
Deleted Files:
Lines of Code:

Browse with ViewVC


Lines of Code

ext/gdbm/ Lines of Code


Author Changes Lines of Code Lines per Change
Totals 59 (100.0%) 2021 (100.0%) 34.2
matz 40 (67.8%) 1963 (97.1%) 49.0
akr 4 (6.8%) 25 (1.2%) 6.2
usa 1 (1.7%) 16 (0.8%) 16.0
eban 4 (6.8%) 7 (0.3%) 1.7
michal 2 (3.4%) 6 (0.3%) 3.0
nobu 2 (3.4%) 2 (0.1%) 1.0
knu 1 (1.7%) 2 (0.1%) 2.0
shyouhei 5 (8.5%) 0 (0.0%) 0.0

Most Recent Commits

shyouhei 2007-02-13 00:01

set svn:eol-style

0 lines of code changed in:

matz 2006-10-14 15:33

* parse.y (parser_warning, parser_warn): some error message may

contain format specifiers. a patch from Akinori MUSHA <knu at>. [ruby-dev:29657]

* regparse.c (onig_rb_warning, onig_rb_warn): ditto.

* ext/bigdecimal/bigdecimal.c (VpException): ditto.

* ext/dl/handle.c (rb_dlhandle_initialize): ditto.

* ext/gdbm/gdbm.c (rb_gdbm_fatal): ditto.

1 lines of code changed in:

matz 2006-09-20 01:30

* ext/gdbm/gdbm.c: add RDoc documentation. a patch from Peter

Adolphs <futzilogik at users dot sourceforge dot net>.


407 lines of code changed in:

matz 2006-09-02 15:42

* ruby.h (struct RArray): embed small arrays.

(RARRAY_LEN): defined for accessing array members.

(RARRAY_PTR): ditto.

* array.c: use RARRAY_LEN and RARRAY_PTR.

5 lines of code changed in:

matz 2006-08-31 11:30

* ruby.h (struct RString): embed small strings.

(RSTRING_LEN): defined for accessing string members.

(RSTRING_PTR): ditto.

* string.c: use RSTRING_LEN and RSTRING_PTR.

28 lines of code changed in:

akr 2006-06-25 10:42

add extconf.h.

1 lines of code changed in:

matz 2006-02-13 05:53

* parse.y (parser_parse_string): mention "regexp" in a error

message. a patch from Mauricio Fernandez <mfp at>


* eval.c (rb_f_autoload): check if ruby_cbase is nil (during

instance_eval for objects cannot have singleton classes,

e.g. fixnums and symbols). [ruby-dev:28178]

* gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while

invoking finalizers.

* gc.c (rb_gc_finalize_deferred): ditto.

* io.c (rb_write_error2): use fwrite(3) if rb_stderr is not

updated or is already freed. [ruby-dev:28313]

* eval.c (error_line): include the class name of a surrounding

method in error position description.

71 lines of code changed in:

matz 2006-02-03 10:15

* eval.c: unify ruby_class (for method definition) and ruby_cbase

(for constant reference).

* eval.c (rb_call0): use TMP_ALLOC() instead of allocating

a temporary array object.

* eval.c (eval): need not to protect $SAFE value.


* error.c (Init_Exception): change NameError to direct subclass of

Exception so that default rescue do not handle it silently.

* struct.c (rb_struct_select): update RDoc description.


* numeric.c (int_upto): return an enumerator if no block is

attached to the method.

* numeric.c (int_downto): ditto.

* numeric.c (int_dotimes): ditto.

* enum.c (enum_first): new method Enumerable#first to take first n

element from an enumerable.

* enum.c (enum_group_by): new method Enumerable#group_by that

groups enumerable values according to their block values.

2 lines of code changed in:

akr 2005-09-24 01:17

banish some warnings.

0 lines of code changed in:

usa 2005-06-20 09:17

* ext/dbm/dbm.c (fdbm_closed): new method DBM#closed?

* ext/gdbm/gdbm.c (fgdbm_closed): new method GDBM#closed?

* ext/sdbm/init.c (fsdbm_closed): new method SDBM#closed?

* test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb

(teardown): close all db objects before deleting data files.

* win32/win32.{ch} (unlink): hook runtime function to change

file attribute before unlinking.

merge from 1.8, see [ruby-dev:26360]

16 lines of code changed in:

akr 2005-06-04 06:59

* test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.

* test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.

0 lines of code changed in:

matz 2004-12-09 03:19

* ext/dbm/dbm.c (fdbm_select): [ruby-dev:25132]

* ext/sdbm/init.c: ditto.

* ext/gdbm/gdbm.c: ditto.

* eval.c (proc_invoke): merge Guy Decoux's argument preserve

patch in [ruby-core:03874].

37 lines of code changed in:

matz 2004-11-14 16:41

* string.c (rb_str_clear): avoid revealing NULL pointer.


* string.c (str_gsub): add paranoid check. [ruby-dev:24827]

* string.c (str_mod_check): check frozen status as well.


* lib/mathn.rb (Integer::gcd2): faster implementation by

<>. [ruby-talk:120232]

* ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string

pointer. [ruby-dev:24783]

2 lines of code changed in:

eban 2004-11-01 11:13

* MANIFEST, ext/**/MANIFEST: removed.

0 lines of code changed in:

matz 2004-06-11 14:33

* 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.

13 lines of code changed in:

matz 2004-05-08 09:12

* io.c (rb_f_open): open should not ignore block when "to_open"

method is used. [ruby-dev:23478]

* ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473]

1 lines of code changed in:

matz 2004-05-07 09:44

* parse.y (string_content): turn off NODE_NEWLINE flag to avoid

unnecessary line trace for inlined expression.

(ruby-bugs PR#1320)

* numeric.c (flo_to_s): tweak output string based to preserve

decimal point and to remove trailing zeros. [ruby-talk:97891]

* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM

search. [ruby-talk:97342]

* hash.c (rb_hash_equal): returns true if two hashes have same set

of key-value set. [ruby-talk:97559]

* hash.c (rb_hash_eql): returns true if two hashes are equal and

have same default values.

* string.c (rb_str_equal): always returns true or false, never

returns nil. [ruby-dev:23404]

17 lines of code changed in:

akr 2004-04-15 09:15

* ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,


(fgdbm_initialize): use specified read/write flag.

24 lines of code changed in:

matz 2003-10-16 18:47

consistent parentheses in assignment RHS.

1 lines of code changed in:

matz 2003-05-06 07:51

* object.c (rb_obj_methods): list singleton methods if recur

argument is false; list all methods otherwise.

* numeric.c (num_step): double epsilon to make "1.1.step(1.5,0.1)"

to work.

* ext/gdbm/gdbm.c (fgdbm_values_at): new method to replace


* ext/sdbm/init.c (fsdbm_values_at): ditto.

* ext/dbm/dbm.c (fdbm_values_at): ditto.

* ext/dbm/dbm.c (DBM::VERSION): defined.

* ext/gdbm/testgdbm.rb: replace select with values_at.

* ext/sdbm/testsdbm.rb: ditto.

* ext/dbm/testdbm.rb: ditto.

21 lines of code changed in:

(27 more)

Generated by StatSVN 0.3.2-SNAPSHOT