Skip to content

Commit

Permalink
19991201
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Dec 1, 1999
1 parent 40517ec commit a3f2933
Show file tree
Hide file tree
Showing 13 changed files with 342 additions and 114 deletions.
29 changes: 29 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
Wed Dec 1 09:47:33 1999 Kazunori NISHI <[email protected]>

* string.c (rb_str_split_method): should increment end too.

Tue Nov 30 18:00:45 1999 Yukihiro Matsumoto <[email protected]>

* marshal.c: MARSHAL_MINOR incremented; format version is 4.2.

* marshal.c (w_object): distinguish class and module.

* marshal.c (w_object): save hash's default value.

* marshal.c (r_object): restore hash's default value.

Tue Nov 30 01:46:18 1999 Yukihiro Matsumoto <[email protected]>

* re.c (rb_reg_source): generated source string must be tainted if
regex is tainted.

* file.c (rb_file_s_basename): basename should not be tainted
unless the original path is tainted.

* file.c (rb_file_s_dirname): ditto.

Mon Nov 29 20:42:13 1999 Nobuyoshi Nakada <[email protected]>

* file.c (stat_new): Struct::Stat -> File::Stat; Stat is no longer
a Struct.

Mon Nov 29 15:28:52 1999 Yukihiro Matsumoto <[email protected]>

* variable.c (rb_path2class): evaluated value from path should be
Expand Down
2 changes: 1 addition & 1 deletion bignum.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef unsigned short USHORT;
#define BIGRAD (1L << BITSPERDIG)
#define DIGSPERINT ((unsigned int)(sizeof(long)/sizeof(short)))
#define BIGUP(x) ((unsigned long)(x) << BITSPERDIG)
#define BIGDN(x) (((x)<0) ? ~((~(x))>>BITSPERDIG) : (x)>>BITSPERDIG)
#define BIGDN(x) RSHIFT(x,BITSPERDIG)
#define BIGLO(x) ((USHORT)((x) & (BIGRAD-1)))

static VALUE
Expand Down
1 change: 1 addition & 0 deletions error.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ exc_to_s(exc)
VALUE mesg = rb_iv_get(exc, "mesg");

if (NIL_P(mesg)) return rb_class_path(CLASS_OF(exc));
if (OBJ_TAINTED(exc)) OBJ_TAINT(mesg);
return mesg;
}

Expand Down
6 changes: 3 additions & 3 deletions ext/tk/lib/tkentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def self.to_eval
def create_self
tk_call 'entry', @path
end
def scrollcommand(cmd)
configure 'scrollcommand', cmd
def xscrollcommand(cmd=Proc.new)
configure_cmd 'xscrollcommand', cmd
end

def delete(s, e=None)
Expand Down Expand Up @@ -45,7 +45,7 @@ def selection_adjust(index)
tk_send 'selection', 'adjust', index
end
def selection_clear
tk_send 'selection', 'clear', 'end'
tk_send 'selection', 'clear'
end
def selection_from(index)
tk_send 'selection', 'from', index
Expand Down
Loading

0 comments on commit a3f2933

Please sign in to comment.