1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/tk/sample
matz a25fbe3b3e * encoding.c: provide basic features for M17N.
* parse.y: encoding aware parsing.

* parse.y (pragma_encoding): encoding specification pragma.

* parse.y (rb_intern3): encoding specified symbols.

* string.c (rb_str_length): length based on characters.  
  for older behavior, bytesize method added.

* string.c (rb_str_index_m): index based on characters.  rindex as
  well.

* string.c (succ_char): encoding aware succeeding string.

* string.c (rb_str_reverse): reverse based on characters.

* string.c (rb_str_inspect): encoding aware string description.

* string.c (rb_str_upcase_bang): encoding aware case conversion.
  downcase, capitalize, swapcase as well.

* string.c (rb_str_tr_bang): tr based on characters.  delete,
  squeeze, tr_s, count as well.

* string.c (rb_str_split_m): split based on characters.

* string.c (rb_str_each_line): encoding aware each_line.

* string.c (rb_str_each_char): added.  iteration based on
  characters.

* string.c (rb_str_strip_bang): encoding aware whitespace
  stripping.  lstrip, rstrip as well.

* string.c (rb_str_justify): encoding aware justifying (ljust,
  rjust, center).

* string.c (str_encoding): get encoding attribute from a string. 

* re.c (rb_reg_initialize): encoding aware regular expression

* sprintf.c (rb_str_format): formatting (i.e. length count) based
  on characters.

* io.c (rb_io_getc): getc to return one-character string.
  for older behavior, getbyte method added.

* ext/stringio/stringio.c (strio_getc): ditto.

* io.c (rb_io_ungetc): allow pushing arbitrary string at the
  current reading point.

* ext/stringio/stringio.c (strio_ungetc): ditto.

* ext/strscan/strscan.c: encoding support.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-25 03:29:39 +00:00
..
demos-en * ext/tk/tcltklib.c: make SEGV risk lower at exit. 2006-07-10 09:52:30 +00:00
demos-jp * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
images * ext/tk/sample/images/teapot.ppm: fix the broken file. [ruby-dev:30226] 2007-01-31 05:37:31 +00:00
msgs_rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
msgs_rb2 * renewal Ruby/Tk 2004-05-01 16:09:54 +00:00
msgs_tk * renewal Ruby/Tk 2004-05-01 16:09:54 +00:00
tcltklib * object.c (rb_mod_attr): make Module#attr to be an alias to 2006-07-20 17:36:36 +00:00
tkextlib * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
24hr_clock.rb * ext/tk/sample/24hr_clock.rb: a new example about handling of canvas items. 2005-11-15 07:51:30 +00:00
binding_sample.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
bindtag_sample.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
binstr_usage.rb * renewal Ruby/Tk 2004-05-01 16:09:54 +00:00
btn_with_frame.rb * renewal Ruby/Tk 2004-05-01 16:09:54 +00:00
cd_timer.rb * ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value 2005-03-14 10:42:46 +00:00
cmd_res_test.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
cmd_resource * ext/tk/lib/tk/image.rb: bug fix 2004-10-04 03:56:00 +00:00
editable_listbox.rb * ext/tk/lib/tk/itemconfig.rb: bug fix on 'itemconfiginfo' method, and 2006-11-06 06:56:37 +00:00
encstr_usage.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
irbtk.rb * ext/tk/tcltklib.c: enforce thread-check and exception-handling to 2005-03-02 07:06:52 +00:00
irbtkw.rbw * ext/tk/sample/irbtkw.rbw: fails to exit process. 2007-03-06 02:56:32 +00:00
iso2022-kr.txt * renewal Ruby/Tk 2004-05-01 16:09:54 +00:00
menubar1.rb * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support 2004-06-12 15:25:49 +00:00
menubar2.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
multi-ip_sample.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
multi-ip_sample2.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
optobj_sample.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
propagate.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
remote-ip_sample.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
remote-ip_sample2.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
resource.en * tcltklib.c (lib_mainloop_core): fixed signal-trap bug 2003-09-07 07:10:44 +00:00
resource.ja * tcltklib.c (lib_mainloop_core): fixed signal-trap bug 2003-09-07 07:10:44 +00:00
safe-tk.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
scrollframe.rb * ext/tk/lib/tkextlib/SUPPORT_STATUS: update to support libraries in 2005-12-11 14:59:49 +00:00
tkalignbox.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkballoonhelp.rb * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget 2006-01-12 02:56:11 +00:00
tkbiff.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkbrowse.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkcombobox.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkdialog.rb * (bug fix) TkEntry#delete 2003-08-02 05:04:30 +00:00
tkfrom.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkhello.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkline.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmenubutton.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmsgcat-load_rb.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmsgcat-load_rb2.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmsgcat-load_tk.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmulticolumnlist.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmultilistbox.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkmultilistframe.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkoptdb-safeTk.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkoptdb.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tkrttimer.rb * ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler 2005-03-10 10:13:30 +00:00
tktextframe.rb * ext/tk/lib/tk/*: untabify 2004-10-11 04:51:21 +00:00
tktextio.rb * ext/tk/sample/tktextio.rb: 'hist_size' option causes error. 2007-01-29 19:56:28 +00:00
tktimer.rb * (bug fix) TkEntry#delete 2003-08-02 05:04:30 +00:00
tktimer2.rb * bug fix 2003-07-30 07:15:00 +00:00
tktimer3.rb * (bug fix) TkEntry#delete 2003-08-02 05:04:30 +00:00
tktree.rb * ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize 2005-07-28 09:14:59 +00:00
tktree.tcl * add a new sample script 2004-05-16 21:43:37 +00:00